Imported Upstream version 1.7.2
[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.2.
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.2'
574 PACKAGE_STRING='evas 1.7.2'
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.2 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.2:";;
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.2
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.2, 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.2'
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* | netbsdelf*-gnu)
6957   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6958     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
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   linux* | k*bsd*-gnu | gnu*)
10085     link_all_deplibs=no
10086     ;;
10087   esac
10088
10089   ld_shlibs=yes
10090
10091   # On some targets, GNU ld is compatible enough with the native linker
10092   # that we're better off using the native interface for both.
10093   lt_use_gnu_ld_interface=no
10094   if test "$with_gnu_ld" = yes; then
10095     case $host_os in
10096       aix*)
10097         # The AIX port of GNU ld has always aspired to compatibility
10098         # with the native linker.  However, as the warning in the GNU ld
10099         # block says, versions before 2.19.5* couldn't really create working
10100         # shared libraries, regardless of the interface used.
10101         case `$LD -v 2>&1` in
10102           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10103           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10104           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10105           *)
10106             lt_use_gnu_ld_interface=yes
10107             ;;
10108         esac
10109         ;;
10110       *)
10111         lt_use_gnu_ld_interface=yes
10112         ;;
10113     esac
10114   fi
10115
10116   if test "$lt_use_gnu_ld_interface" = yes; then
10117     # If archive_cmds runs LD, not CC, wlarc should be empty
10118     wlarc='${wl}'
10119
10120     # Set some defaults for GNU ld with shared library support. These
10121     # are reset later if shared libraries are not supported. Putting them
10122     # here allows them to be overridden if necessary.
10123     runpath_var=LD_RUN_PATH
10124     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10125     export_dynamic_flag_spec='${wl}--export-dynamic'
10126     # ancient GNU ld didn't support --whole-archive et. al.
10127     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10128       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10129     else
10130       whole_archive_flag_spec=
10131     fi
10132     supports_anon_versioning=no
10133     case `$LD -v 2>&1` in
10134       *GNU\ gold*) supports_anon_versioning=yes ;;
10135       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10136       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10137       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10138       *\ 2.11.*) ;; # other 2.11 versions
10139       *) supports_anon_versioning=yes ;;
10140     esac
10141
10142     # See if GNU ld supports shared libraries.
10143     case $host_os in
10144     aix[3-9]*)
10145       # On AIX/PPC, the GNU linker is very broken
10146       if test "$host_cpu" != ia64; then
10147         ld_shlibs=no
10148         cat <<_LT_EOF 1>&2
10149
10150 *** Warning: the GNU linker, at least up to release 2.19, is reported
10151 *** to be unable to reliably create shared libraries on AIX.
10152 *** Therefore, libtool is disabling shared libraries support.  If you
10153 *** really care for shared libraries, you may want to install binutils
10154 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10155 *** You will then need to restart the configuration process.
10156
10157 _LT_EOF
10158       fi
10159       ;;
10160
10161     amigaos*)
10162       case $host_cpu in
10163       powerpc)
10164             # see comment about AmigaOS4 .so support
10165             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10166             archive_expsym_cmds=''
10167         ;;
10168       m68k)
10169             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10170             hardcode_libdir_flag_spec='-L$libdir'
10171             hardcode_minus_L=yes
10172         ;;
10173       esac
10174       ;;
10175
10176     beos*)
10177       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10178         allow_undefined_flag=unsupported
10179         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10180         # support --undefined.  This deserves some investigation.  FIXME
10181         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10182       else
10183         ld_shlibs=no
10184       fi
10185       ;;
10186
10187     cygwin* | mingw* | pw32* | cegcc*)
10188       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10189       # as there is no search path for DLLs.
10190       hardcode_libdir_flag_spec='-L$libdir'
10191       export_dynamic_flag_spec='${wl}--export-all-symbols'
10192       allow_undefined_flag=unsupported
10193       always_export_symbols=no
10194       enable_shared_with_static_runtimes=yes
10195       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
10196       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10197
10198       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10199         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10200         # If the export-symbols file already is a .def file (1st line
10201         # is EXPORTS), use it as is; otherwise, prepend...
10202         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10203           cp $export_symbols $output_objdir/$soname.def;
10204         else
10205           echo EXPORTS > $output_objdir/$soname.def;
10206           cat $export_symbols >> $output_objdir/$soname.def;
10207         fi~
10208         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10209       else
10210         ld_shlibs=no
10211       fi
10212       ;;
10213
10214     haiku*)
10215       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10216       link_all_deplibs=yes
10217       ;;
10218
10219     interix[3-9]*)
10220       hardcode_direct=no
10221       hardcode_shlibpath_var=no
10222       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10223       export_dynamic_flag_spec='${wl}-E'
10224       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10225       # Instead, shared libraries are loaded at an image base (0x10000000 by
10226       # default) and relocated if they conflict, which is a slow very memory
10227       # consuming and fragmenting process.  To avoid this, we pick a random,
10228       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10229       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10230       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10231       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10232       ;;
10233
10234     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10235       tmp_diet=no
10236       if test "$host_os" = linux-dietlibc; then
10237         case $cc_basename in
10238           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
10239         esac
10240       fi
10241       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10242          && test "$tmp_diet" = no
10243       then
10244         tmp_addflag=' $pic_flag'
10245         tmp_sharedflag='-shared'
10246         case $cc_basename,$host_cpu in
10247         pgcc*)                          # Portland Group C compiler
10248           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10249           tmp_addflag=' $pic_flag'
10250           ;;
10251         pgf77* | pgf90* | pgf95* | pgfortran*)
10252                                         # Portland Group f77 and f90 compilers
10253           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10254           tmp_addflag=' $pic_flag -Mnomain' ;;
10255         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10256           tmp_addflag=' -i_dynamic' ;;
10257         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
10258           tmp_addflag=' -i_dynamic -nofor_main' ;;
10259         ifc* | ifort*)                  # Intel Fortran compiler
10260           tmp_addflag=' -nofor_main' ;;
10261         lf95*)                          # Lahey Fortran 8.1
10262           whole_archive_flag_spec=
10263           tmp_sharedflag='--shared' ;;
10264         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10265           tmp_sharedflag='-qmkshrobj'
10266           tmp_addflag= ;;
10267         nvcc*)  # Cuda Compiler Driver 2.2
10268           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10269           compiler_needs_object=yes
10270           ;;
10271         esac
10272         case `$CC -V 2>&1 | sed 5q` in
10273         *Sun\ C*)                       # Sun C 5.9
10274           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10275           compiler_needs_object=yes
10276           tmp_sharedflag='-G' ;;
10277         *Sun\ F*)                       # Sun Fortran 8.3
10278           tmp_sharedflag='-G' ;;
10279         esac
10280         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10281
10282         if test "x$supports_anon_versioning" = xyes; then
10283           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10284             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10285             echo "local: *; };" >> $output_objdir/$libname.ver~
10286             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10287         fi
10288
10289         case $cc_basename in
10290         xlf* | bgf* | bgxlf* | mpixlf*)
10291           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10292           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10293           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10294           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10295           if test "x$supports_anon_versioning" = xyes; then
10296             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10297               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10298               echo "local: *; };" >> $output_objdir/$libname.ver~
10299               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10300           fi
10301           ;;
10302         esac
10303       else
10304         ld_shlibs=no
10305       fi
10306       ;;
10307
10308     netbsd* | netbsdelf*-gnu)
10309       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10310         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10311         wlarc=
10312       else
10313         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10314         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10315       fi
10316       ;;
10317
10318     solaris*)
10319       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10320         ld_shlibs=no
10321         cat <<_LT_EOF 1>&2
10322
10323 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10324 *** create shared libraries on Solaris systems.  Therefore, libtool
10325 *** is disabling shared libraries support.  We urge you to upgrade GNU
10326 *** binutils to release 2.9.1 or newer.  Another option is to modify
10327 *** your PATH or compiler configuration so that the native linker is
10328 *** used, and then restart.
10329
10330 _LT_EOF
10331       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10332         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10333         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10334       else
10335         ld_shlibs=no
10336       fi
10337       ;;
10338
10339     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10340       case `$LD -v 2>&1` in
10341         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10342         ld_shlibs=no
10343         cat <<_LT_EOF 1>&2
10344
10345 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10346 *** reliably create shared libraries on SCO systems.  Therefore, libtool
10347 *** is disabling shared libraries support.  We urge you to upgrade GNU
10348 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10349 *** your PATH or compiler configuration so that the native linker is
10350 *** used, and then restart.
10351
10352 _LT_EOF
10353         ;;
10354         *)
10355           # For security reasons, it is highly recommended that you always
10356           # use absolute paths for naming shared libraries, and exclude the
10357           # DT_RUNPATH tag from executables and libraries.  But doing so
10358           # requires that you compile everything twice, which is a pain.
10359           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10360             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10361             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10362             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10363           else
10364             ld_shlibs=no
10365           fi
10366         ;;
10367       esac
10368       ;;
10369
10370     sunos4*)
10371       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10372       wlarc=
10373       hardcode_direct=yes
10374       hardcode_shlibpath_var=no
10375       ;;
10376
10377     *)
10378       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10379         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10380         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10381       else
10382         ld_shlibs=no
10383       fi
10384       ;;
10385     esac
10386
10387     if test "$ld_shlibs" = no; then
10388       runpath_var=
10389       hardcode_libdir_flag_spec=
10390       export_dynamic_flag_spec=
10391       whole_archive_flag_spec=
10392     fi
10393   else
10394     # PORTME fill in a description of your system's linker (not GNU ld)
10395     case $host_os in
10396     aix3*)
10397       allow_undefined_flag=unsupported
10398       always_export_symbols=yes
10399       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
10400       # Note: this linker hardcodes the directories in LIBPATH if there
10401       # are no directories specified by -L.
10402       hardcode_minus_L=yes
10403       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10404         # Neither direct hardcoding nor static linking is supported with a
10405         # broken collect2.
10406         hardcode_direct=unsupported
10407       fi
10408       ;;
10409
10410     aix[4-9]*)
10411       if test "$host_cpu" = ia64; then
10412         # On IA64, the linker does run time linking by default, so we don't
10413         # have to do anything special.
10414         aix_use_runtimelinking=no
10415         exp_sym_flag='-Bexport'
10416         no_entry_flag=""
10417       else
10418         # If we're using GNU nm, then we don't want the "-C" option.
10419         # -C means demangle to AIX nm, but means don't demangle with GNU nm
10420         # Also, AIX nm treats weak defined symbols like other global
10421         # defined symbols, whereas GNU nm marks them as "W".
10422         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10423           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10424         else
10425           export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10426         fi
10427         aix_use_runtimelinking=no
10428
10429         # Test if we are trying to use run time linking or normal
10430         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10431         # need to do runtime linking.
10432         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10433           for ld_flag in $LDFLAGS; do
10434           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10435             aix_use_runtimelinking=yes
10436             break
10437           fi
10438           done
10439           ;;
10440         esac
10441
10442         exp_sym_flag='-bexport'
10443         no_entry_flag='-bnoentry'
10444       fi
10445
10446       # When large executables or shared objects are built, AIX ld can
10447       # have problems creating the table of contents.  If linking a library
10448       # or program results in "error TOC overflow" add -mminimal-toc to
10449       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10450       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10451
10452       archive_cmds=''
10453       hardcode_direct=yes
10454       hardcode_direct_absolute=yes
10455       hardcode_libdir_separator=':'
10456       link_all_deplibs=yes
10457       file_list_spec='${wl}-f,'
10458
10459       if test "$GCC" = yes; then
10460         case $host_os in aix4.[012]|aix4.[012].*)
10461         # We only want to do this on AIX 4.2 and lower, the check
10462         # below for broken collect2 doesn't work under 4.3+
10463           collect2name=`${CC} -print-prog-name=collect2`
10464           if test -f "$collect2name" &&
10465            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10466           then
10467           # We have reworked collect2
10468           :
10469           else
10470           # We have old collect2
10471           hardcode_direct=unsupported
10472           # It fails to find uninstalled libraries when the uninstalled
10473           # path is not listed in the libpath.  Setting hardcode_minus_L
10474           # to unsupported forces relinking
10475           hardcode_minus_L=yes
10476           hardcode_libdir_flag_spec='-L$libdir'
10477           hardcode_libdir_separator=
10478           fi
10479           ;;
10480         esac
10481         shared_flag='-shared'
10482         if test "$aix_use_runtimelinking" = yes; then
10483           shared_flag="$shared_flag "'${wl}-G'
10484         fi
10485         link_all_deplibs=no
10486       else
10487         # not using gcc
10488         if test "$host_cpu" = ia64; then
10489         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10490         # chokes on -Wl,-G. The following line is correct:
10491           shared_flag='-G'
10492         else
10493           if test "$aix_use_runtimelinking" = yes; then
10494             shared_flag='${wl}-G'
10495           else
10496             shared_flag='${wl}-bM:SRE'
10497           fi
10498         fi
10499       fi
10500
10501       export_dynamic_flag_spec='${wl}-bexpall'
10502       # It seems that -bexpall does not export symbols beginning with
10503       # underscore (_), so it is better to generate a list of symbols to export.
10504       always_export_symbols=yes
10505       if test "$aix_use_runtimelinking" = yes; then
10506         # Warning - without using the other runtime loading flags (-brtl),
10507         # -berok will link without error, but may produce a broken library.
10508         allow_undefined_flag='-berok'
10509         # Determine the default libpath from the value encoded in an
10510         # empty executable.
10511         if test "${lt_cv_aix_libpath+set}" = set; then
10512   aix_libpath=$lt_cv_aix_libpath
10513 else
10514   if ${lt_cv_aix_libpath_+:} false; then :
10515   $as_echo_n "(cached) " >&6
10516 else
10517   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10518 /* end confdefs.h.  */
10519
10520 int
10521 main ()
10522 {
10523
10524   ;
10525   return 0;
10526 }
10527 _ACEOF
10528 if ac_fn_c_try_link "$LINENO"; then :
10529
10530   lt_aix_libpath_sed='
10531       /Import File Strings/,/^$/ {
10532           /^0/ {
10533               s/^0  *\([^ ]*\) *$/\1/
10534               p
10535           }
10536       }'
10537   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10538   # Check for a 64-bit object if we didn't find anything.
10539   if test -z "$lt_cv_aix_libpath_"; then
10540     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10541   fi
10542 fi
10543 rm -f core conftest.err conftest.$ac_objext \
10544     conftest$ac_exeext conftest.$ac_ext
10545   if test -z "$lt_cv_aix_libpath_"; then
10546     lt_cv_aix_libpath_="/usr/lib:/lib"
10547   fi
10548
10549 fi
10550
10551   aix_libpath=$lt_cv_aix_libpath_
10552 fi
10553
10554         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10555         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10556       else
10557         if test "$host_cpu" = ia64; then
10558           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10559           allow_undefined_flag="-z nodefs"
10560           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
10561         else
10562          # Determine the default libpath from the value encoded in an
10563          # empty executable.
10564          if test "${lt_cv_aix_libpath+set}" = set; then
10565   aix_libpath=$lt_cv_aix_libpath
10566 else
10567   if ${lt_cv_aix_libpath_+:} false; then :
10568   $as_echo_n "(cached) " >&6
10569 else
10570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10571 /* end confdefs.h.  */
10572
10573 int
10574 main ()
10575 {
10576
10577   ;
10578   return 0;
10579 }
10580 _ACEOF
10581 if ac_fn_c_try_link "$LINENO"; then :
10582
10583   lt_aix_libpath_sed='
10584       /Import File Strings/,/^$/ {
10585           /^0/ {
10586               s/^0  *\([^ ]*\) *$/\1/
10587               p
10588           }
10589       }'
10590   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10591   # Check for a 64-bit object if we didn't find anything.
10592   if test -z "$lt_cv_aix_libpath_"; then
10593     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10594   fi
10595 fi
10596 rm -f core conftest.err conftest.$ac_objext \
10597     conftest$ac_exeext conftest.$ac_ext
10598   if test -z "$lt_cv_aix_libpath_"; then
10599     lt_cv_aix_libpath_="/usr/lib:/lib"
10600   fi
10601
10602 fi
10603
10604   aix_libpath=$lt_cv_aix_libpath_
10605 fi
10606
10607          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10608           # Warning - without using the other run time loading flags,
10609           # -berok will link without error, but may produce a broken library.
10610           no_undefined_flag=' ${wl}-bernotok'
10611           allow_undefined_flag=' ${wl}-berok'
10612           if test "$with_gnu_ld" = yes; then
10613             # We only use this code for GNU lds that support --whole-archive.
10614             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10615           else
10616             # Exported symbols can be pulled into shared objects from archives
10617             whole_archive_flag_spec='$convenience'
10618           fi
10619           archive_cmds_need_lc=yes
10620           # This is similar to how AIX traditionally builds its shared libraries.
10621           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10622         fi
10623       fi
10624       ;;
10625
10626     amigaos*)
10627       case $host_cpu in
10628       powerpc)
10629             # see comment about AmigaOS4 .so support
10630             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10631             archive_expsym_cmds=''
10632         ;;
10633       m68k)
10634             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10635             hardcode_libdir_flag_spec='-L$libdir'
10636             hardcode_minus_L=yes
10637         ;;
10638       esac
10639       ;;
10640
10641     bsdi[45]*)
10642       export_dynamic_flag_spec=-rdynamic
10643       ;;
10644
10645     cygwin* | mingw* | pw32* | cegcc*)
10646       # When not using gcc, we currently assume that we are using
10647       # Microsoft Visual C++.
10648       # hardcode_libdir_flag_spec is actually meaningless, as there is
10649       # no search path for DLLs.
10650       case $cc_basename in
10651       cl*)
10652         # Native MSVC
10653         hardcode_libdir_flag_spec=' '
10654         allow_undefined_flag=unsupported
10655         always_export_symbols=yes
10656         file_list_spec='@'
10657         # Tell ltmain to make .lib files, not .a files.
10658         libext=lib
10659         # Tell ltmain to make .dll files, not .so files.
10660         shrext_cmds=".dll"
10661         # FIXME: Setting linknames here is a bad hack.
10662         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10663         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10664             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10665           else
10666             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10667           fi~
10668           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10669           linknames='
10670         # The linker will not automatically build a static lib if we build a DLL.
10671         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10672         enable_shared_with_static_runtimes=yes
10673         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10674         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10675         # Don't use ranlib
10676         old_postinstall_cmds='chmod 644 $oldlib'
10677         postlink_cmds='lt_outputfile="@OUTPUT@"~
10678           lt_tool_outputfile="@TOOL_OUTPUT@"~
10679           case $lt_outputfile in
10680             *.exe|*.EXE) ;;
10681             *)
10682               lt_outputfile="$lt_outputfile.exe"
10683               lt_tool_outputfile="$lt_tool_outputfile.exe"
10684               ;;
10685           esac~
10686           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10687             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10688             $RM "$lt_outputfile.manifest";
10689           fi'
10690         ;;
10691       *)
10692         # Assume MSVC wrapper
10693         hardcode_libdir_flag_spec=' '
10694         allow_undefined_flag=unsupported
10695         # Tell ltmain to make .lib files, not .a files.
10696         libext=lib
10697         # Tell ltmain to make .dll files, not .so files.
10698         shrext_cmds=".dll"
10699         # FIXME: Setting linknames here is a bad hack.
10700         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10701         # The linker will automatically build a .lib file if we build a DLL.
10702         old_archive_from_new_cmds='true'
10703         # FIXME: Should let the user specify the lib program.
10704         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10705         enable_shared_with_static_runtimes=yes
10706         ;;
10707       esac
10708       ;;
10709
10710     darwin* | rhapsody*)
10711
10712
10713   archive_cmds_need_lc=no
10714   hardcode_direct=no
10715   hardcode_automatic=yes
10716   hardcode_shlibpath_var=unsupported
10717   if test "$lt_cv_ld_force_load" = "yes"; then
10718     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10719
10720   else
10721     whole_archive_flag_spec=''
10722   fi
10723   link_all_deplibs=yes
10724   allow_undefined_flag="$_lt_dar_allow_undefined"
10725   case $cc_basename in
10726      ifort*) _lt_dar_can_shared=yes ;;
10727      *) _lt_dar_can_shared=$GCC ;;
10728   esac
10729   if test "$_lt_dar_can_shared" = "yes"; then
10730     output_verbose_link_cmd=func_echo_all
10731     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10732     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10733     archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10734     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
10735
10736   else
10737   ld_shlibs=no
10738   fi
10739
10740       ;;
10741
10742     dgux*)
10743       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10744       hardcode_libdir_flag_spec='-L$libdir'
10745       hardcode_shlibpath_var=no
10746       ;;
10747
10748     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10749     # support.  Future versions do this automatically, but an explicit c++rt0.o
10750     # does not break anything, and helps significantly (at the cost of a little
10751     # extra space).
10752     freebsd2.2*)
10753       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10754       hardcode_libdir_flag_spec='-R$libdir'
10755       hardcode_direct=yes
10756       hardcode_shlibpath_var=no
10757       ;;
10758
10759     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10760     freebsd2.*)
10761       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10762       hardcode_direct=yes
10763       hardcode_minus_L=yes
10764       hardcode_shlibpath_var=no
10765       ;;
10766
10767     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10768     freebsd* | dragonfly*)
10769       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10770       hardcode_libdir_flag_spec='-R$libdir'
10771       hardcode_direct=yes
10772       hardcode_shlibpath_var=no
10773       ;;
10774
10775     hpux9*)
10776       if test "$GCC" = yes; then
10777         archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10778       else
10779         archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10780       fi
10781       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10782       hardcode_libdir_separator=:
10783       hardcode_direct=yes
10784
10785       # hardcode_minus_L: Not really in the search PATH,
10786       # but as the default location of the library.
10787       hardcode_minus_L=yes
10788       export_dynamic_flag_spec='${wl}-E'
10789       ;;
10790
10791     hpux10*)
10792       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10793         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10794       else
10795         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10796       fi
10797       if test "$with_gnu_ld" = no; then
10798         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10799         hardcode_libdir_separator=:
10800         hardcode_direct=yes
10801         hardcode_direct_absolute=yes
10802         export_dynamic_flag_spec='${wl}-E'
10803         # hardcode_minus_L: Not really in the search PATH,
10804         # but as the default location of the library.
10805         hardcode_minus_L=yes
10806       fi
10807       ;;
10808
10809     hpux11*)
10810       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10811         case $host_cpu in
10812         hppa*64*)
10813           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10814           ;;
10815         ia64*)
10816           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10817           ;;
10818         *)
10819           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10820           ;;
10821         esac
10822       else
10823         case $host_cpu in
10824         hppa*64*)
10825           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10826           ;;
10827         ia64*)
10828           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10829           ;;
10830         *)
10831
10832           # Older versions of the 11.00 compiler do not understand -b yet
10833           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10834           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10835 $as_echo_n "checking if $CC understands -b... " >&6; }
10836 if ${lt_cv_prog_compiler__b+:} false; then :
10837   $as_echo_n "(cached) " >&6
10838 else
10839   lt_cv_prog_compiler__b=no
10840    save_LDFLAGS="$LDFLAGS"
10841    LDFLAGS="$LDFLAGS -b"
10842    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10843    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10844      # The linker can only warn and ignore the option if not recognized
10845      # So say no if there are warnings
10846      if test -s conftest.err; then
10847        # Append any errors to the config.log.
10848        cat conftest.err 1>&5
10849        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10850        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10851        if diff conftest.exp conftest.er2 >/dev/null; then
10852          lt_cv_prog_compiler__b=yes
10853        fi
10854      else
10855        lt_cv_prog_compiler__b=yes
10856      fi
10857    fi
10858    $RM -r conftest*
10859    LDFLAGS="$save_LDFLAGS"
10860
10861 fi
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10863 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10864
10865 if test x"$lt_cv_prog_compiler__b" = xyes; then
10866     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10867 else
10868     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10869 fi
10870
10871           ;;
10872         esac
10873       fi
10874       if test "$with_gnu_ld" = no; then
10875         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10876         hardcode_libdir_separator=:
10877
10878         case $host_cpu in
10879         hppa*64*|ia64*)
10880           hardcode_direct=no
10881           hardcode_shlibpath_var=no
10882           ;;
10883         *)
10884           hardcode_direct=yes
10885           hardcode_direct_absolute=yes
10886           export_dynamic_flag_spec='${wl}-E'
10887
10888           # hardcode_minus_L: Not really in the search PATH,
10889           # but as the default location of the library.
10890           hardcode_minus_L=yes
10891           ;;
10892         esac
10893       fi
10894       ;;
10895
10896     irix5* | irix6* | nonstopux*)
10897       if test "$GCC" = yes; then
10898         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10899         # Try to use the -exported_symbol ld option, if it does not
10900         # work, assume that -exports_file does not work either and
10901         # implicitly export all symbols.
10902         # This should be the same for all languages, so no per-tag cache variable.
10903         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10904 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10905 if ${lt_cv_irix_exported_symbol+:} false; then :
10906   $as_echo_n "(cached) " >&6
10907 else
10908   save_LDFLAGS="$LDFLAGS"
10909            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10910            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10911 /* end confdefs.h.  */
10912 int foo (void) { return 0; }
10913 _ACEOF
10914 if ac_fn_c_try_link "$LINENO"; then :
10915   lt_cv_irix_exported_symbol=yes
10916 else
10917   lt_cv_irix_exported_symbol=no
10918 fi
10919 rm -f core conftest.err conftest.$ac_objext \
10920     conftest$ac_exeext conftest.$ac_ext
10921            LDFLAGS="$save_LDFLAGS"
10922 fi
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10924 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10925         if test "$lt_cv_irix_exported_symbol" = yes; then
10926           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10927         fi
10928       else
10929         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10930         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10931       fi
10932       archive_cmds_need_lc='no'
10933       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10934       hardcode_libdir_separator=:
10935       inherit_rpath=yes
10936       link_all_deplibs=yes
10937       ;;
10938
10939     netbsd* | netbsdelf*-gnu)
10940       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10941         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10942       else
10943         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10944       fi
10945       hardcode_libdir_flag_spec='-R$libdir'
10946       hardcode_direct=yes
10947       hardcode_shlibpath_var=no
10948       ;;
10949
10950     newsos6)
10951       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10952       hardcode_direct=yes
10953       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10954       hardcode_libdir_separator=:
10955       hardcode_shlibpath_var=no
10956       ;;
10957
10958     *nto* | *qnx*)
10959       ;;
10960
10961     openbsd*)
10962       if test -f /usr/libexec/ld.so; then
10963         hardcode_direct=yes
10964         hardcode_shlibpath_var=no
10965         hardcode_direct_absolute=yes
10966         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10967           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10968           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10969           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10970           export_dynamic_flag_spec='${wl}-E'
10971         else
10972           case $host_os in
10973            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10974              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10975              hardcode_libdir_flag_spec='-R$libdir'
10976              ;;
10977            *)
10978              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10979              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10980              ;;
10981           esac
10982         fi
10983       else
10984         ld_shlibs=no
10985       fi
10986       ;;
10987
10988     os2*)
10989       hardcode_libdir_flag_spec='-L$libdir'
10990       hardcode_minus_L=yes
10991       allow_undefined_flag=unsupported
10992       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10993       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10994       ;;
10995
10996     osf3*)
10997       if test "$GCC" = yes; then
10998         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10999         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11000       else
11001         allow_undefined_flag=' -expect_unresolved \*'
11002         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11003       fi
11004       archive_cmds_need_lc='no'
11005       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11006       hardcode_libdir_separator=:
11007       ;;
11008
11009     osf4* | osf5*)      # as osf3* with the addition of -msym flag
11010       if test "$GCC" = yes; then
11011         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11012         archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11013         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11014       else
11015         allow_undefined_flag=' -expect_unresolved \*'
11016         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11017         archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
11018         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
11019
11020         # Both c and cxx compiler support -rpath directly
11021         hardcode_libdir_flag_spec='-rpath $libdir'
11022       fi
11023       archive_cmds_need_lc='no'
11024       hardcode_libdir_separator=:
11025       ;;
11026
11027     solaris*)
11028       no_undefined_flag=' -z defs'
11029       if test "$GCC" = yes; then
11030         wlarc='${wl}'
11031         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11032         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11033           $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11034       else
11035         case `$CC -V 2>&1` in
11036         *"Compilers 5.0"*)
11037           wlarc=''
11038           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11039           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11040           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11041           ;;
11042         *)
11043           wlarc='${wl}'
11044           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11045           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11046           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11047           ;;
11048         esac
11049       fi
11050       hardcode_libdir_flag_spec='-R$libdir'
11051       hardcode_shlibpath_var=no
11052       case $host_os in
11053       solaris2.[0-5] | solaris2.[0-5].*) ;;
11054       *)
11055         # The compiler driver will combine and reorder linker options,
11056         # but understands `-z linker_flag'.  GCC discards it without `$wl',
11057         # but is careful enough not to reorder.
11058         # Supported since Solaris 2.6 (maybe 2.5.1?)
11059         if test "$GCC" = yes; then
11060           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11061         else
11062           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11063         fi
11064         ;;
11065       esac
11066       link_all_deplibs=yes
11067       ;;
11068
11069     sunos4*)
11070       if test "x$host_vendor" = xsequent; then
11071         # Use $CC to link under sequent, because it throws in some extra .o
11072         # files that make .init and .fini sections work.
11073         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11074       else
11075         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11076       fi
11077       hardcode_libdir_flag_spec='-L$libdir'
11078       hardcode_direct=yes
11079       hardcode_minus_L=yes
11080       hardcode_shlibpath_var=no
11081       ;;
11082
11083     sysv4)
11084       case $host_vendor in
11085         sni)
11086           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11087           hardcode_direct=yes # is this really true???
11088         ;;
11089         siemens)
11090           ## LD is ld it makes a PLAMLIB
11091           ## CC just makes a GrossModule.
11092           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11093           reload_cmds='$CC -r -o $output$reload_objs'
11094           hardcode_direct=no
11095         ;;
11096         motorola)
11097           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11098           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11099         ;;
11100       esac
11101       runpath_var='LD_RUN_PATH'
11102       hardcode_shlibpath_var=no
11103       ;;
11104
11105     sysv4.3*)
11106       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11107       hardcode_shlibpath_var=no
11108       export_dynamic_flag_spec='-Bexport'
11109       ;;
11110
11111     sysv4*MP*)
11112       if test -d /usr/nec; then
11113         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11114         hardcode_shlibpath_var=no
11115         runpath_var=LD_RUN_PATH
11116         hardcode_runpath_var=yes
11117         ld_shlibs=yes
11118       fi
11119       ;;
11120
11121     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11122       no_undefined_flag='${wl}-z,text'
11123       archive_cmds_need_lc=no
11124       hardcode_shlibpath_var=no
11125       runpath_var='LD_RUN_PATH'
11126
11127       if test "$GCC" = yes; then
11128         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11129         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11130       else
11131         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11132         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11133       fi
11134       ;;
11135
11136     sysv5* | sco3.2v5* | sco5v6*)
11137       # Note: We can NOT use -z defs as we might desire, because we do not
11138       # link with -lc, and that would cause any symbols used from libc to
11139       # always be unresolved, which means just about no library would
11140       # ever link correctly.  If we're not using GNU ld we use -z text
11141       # though, which does catch some bad symbols but isn't as heavy-handed
11142       # as -z defs.
11143       no_undefined_flag='${wl}-z,text'
11144       allow_undefined_flag='${wl}-z,nodefs'
11145       archive_cmds_need_lc=no
11146       hardcode_shlibpath_var=no
11147       hardcode_libdir_flag_spec='${wl}-R,$libdir'
11148       hardcode_libdir_separator=':'
11149       link_all_deplibs=yes
11150       export_dynamic_flag_spec='${wl}-Bexport'
11151       runpath_var='LD_RUN_PATH'
11152
11153       if test "$GCC" = yes; then
11154         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11155         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11156       else
11157         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11158         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11159       fi
11160       ;;
11161
11162     uts4*)
11163       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11164       hardcode_libdir_flag_spec='-L$libdir'
11165       hardcode_shlibpath_var=no
11166       ;;
11167
11168     *)
11169       ld_shlibs=no
11170       ;;
11171     esac
11172
11173     if test x$host_vendor = xsni; then
11174       case $host in
11175       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11176         export_dynamic_flag_spec='${wl}-Blargedynsym'
11177         ;;
11178       esac
11179     fi
11180   fi
11181
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11183 $as_echo "$ld_shlibs" >&6; }
11184 test "$ld_shlibs" = no && can_build_shared=no
11185
11186 with_gnu_ld=$with_gnu_ld
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202 #
11203 # Do we need to explicitly link libc?
11204 #
11205 case "x$archive_cmds_need_lc" in
11206 x|xyes)
11207   # Assume -lc should be added
11208   archive_cmds_need_lc=yes
11209
11210   if test "$enable_shared" = yes && test "$GCC" = yes; then
11211     case $archive_cmds in
11212     *'~'*)
11213       # FIXME: we may have to deal with multi-command sequences.
11214       ;;
11215     '$CC '*)
11216       # Test whether the compiler implicitly links with -lc since on some
11217       # systems, -lgcc has to come before -lc. If gcc already passes -lc
11218       # to ld, don't add -lc before -lgcc.
11219       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11220 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11221 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11222   $as_echo_n "(cached) " >&6
11223 else
11224   $RM conftest*
11225         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11226
11227         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11228   (eval $ac_compile) 2>&5
11229   ac_status=$?
11230   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11231   test $ac_status = 0; } 2>conftest.err; then
11232           soname=conftest
11233           lib=conftest
11234           libobjs=conftest.$ac_objext
11235           deplibs=
11236           wl=$lt_prog_compiler_wl
11237           pic_flag=$lt_prog_compiler_pic
11238           compiler_flags=-v
11239           linker_flags=-v
11240           verstring=
11241           output_objdir=.
11242           libname=conftest
11243           lt_save_allow_undefined_flag=$allow_undefined_flag
11244           allow_undefined_flag=
11245           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11246   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11247   ac_status=$?
11248   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11249   test $ac_status = 0; }
11250           then
11251             lt_cv_archive_cmds_need_lc=no
11252           else
11253             lt_cv_archive_cmds_need_lc=yes
11254           fi
11255           allow_undefined_flag=$lt_save_allow_undefined_flag
11256         else
11257           cat conftest.err 1>&5
11258         fi
11259         $RM conftest*
11260
11261 fi
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11263 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11264       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11265       ;;
11266     esac
11267   fi
11268   ;;
11269 esac
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
11419
11420
11421
11422   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11423 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11424
11425 if test "$GCC" = yes; then
11426   case $host_os in
11427     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11428     *) lt_awk_arg="/^libraries:/" ;;
11429   esac
11430   case $host_os in
11431     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11432     *) lt_sed_strip_eq="s,=/,/,g" ;;
11433   esac
11434   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11435   case $lt_search_path_spec in
11436   *\;*)
11437     # if the path contains ";" then we assume it to be the separator
11438     # otherwise default to the standard path separator (i.e. ":") - it is
11439     # assumed that no part of a normal pathname contains ";" but that should
11440     # okay in the real world where ";" in dirpaths is itself problematic.
11441     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11442     ;;
11443   *)
11444     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11445     ;;
11446   esac
11447   # Ok, now we have the path, separated by spaces, we can step through it
11448   # and add multilib dir if necessary.
11449   lt_tmp_lt_search_path_spec=
11450   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11451   for lt_sys_path in $lt_search_path_spec; do
11452     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11453       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11454     else
11455       test -d "$lt_sys_path" && \
11456         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11457     fi
11458   done
11459   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11460 BEGIN {RS=" "; FS="/|\n";} {
11461   lt_foo="";
11462   lt_count=0;
11463   for (lt_i = NF; lt_i > 0; lt_i--) {
11464     if ($lt_i != "" && $lt_i != ".") {
11465       if ($lt_i == "..") {
11466         lt_count++;
11467       } else {
11468         if (lt_count == 0) {
11469           lt_foo="/" $lt_i lt_foo;
11470         } else {
11471           lt_count--;
11472         }
11473       }
11474     }
11475   }
11476   if (lt_foo != "") { lt_freq[lt_foo]++; }
11477   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11478 }'`
11479   # AWK program above erroneously prepends '/' to C:/dos/paths
11480   # for these hosts.
11481   case $host_os in
11482     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11483       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11484   esac
11485   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11486 else
11487   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11488 fi
11489 library_names_spec=
11490 libname_spec='lib$name'
11491 soname_spec=
11492 shrext_cmds=".so"
11493 postinstall_cmds=
11494 postuninstall_cmds=
11495 finish_cmds=
11496 finish_eval=
11497 shlibpath_var=
11498 shlibpath_overrides_runpath=unknown
11499 version_type=none
11500 dynamic_linker="$host_os ld.so"
11501 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11502 need_lib_prefix=unknown
11503 hardcode_into_libs=no
11504
11505 # when you set need_version to no, make sure it does not cause -set_version
11506 # flags to be left without arguments
11507 need_version=unknown
11508
11509 case $host_os in
11510 aix3*)
11511   version_type=linux # correct to gnu/linux during the next big refactor
11512   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11513   shlibpath_var=LIBPATH
11514
11515   # AIX 3 has no versioning support, so we append a major version to the name.
11516   soname_spec='${libname}${release}${shared_ext}$major'
11517   ;;
11518
11519 aix[4-9]*)
11520   version_type=linux # correct to gnu/linux during the next big refactor
11521   need_lib_prefix=no
11522   need_version=no
11523   hardcode_into_libs=yes
11524   if test "$host_cpu" = ia64; then
11525     # AIX 5 supports IA64
11526     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11527     shlibpath_var=LD_LIBRARY_PATH
11528   else
11529     # With GCC up to 2.95.x, collect2 would create an import file
11530     # for dependence libraries.  The import file would start with
11531     # the line `#! .'.  This would cause the generated library to
11532     # depend on `.', always an invalid library.  This was fixed in
11533     # development snapshots of GCC prior to 3.0.
11534     case $host_os in
11535       aix4 | aix4.[01] | aix4.[01].*)
11536       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11537            echo ' yes '
11538            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11539         :
11540       else
11541         can_build_shared=no
11542       fi
11543       ;;
11544     esac
11545     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11546     # soname into executable. Probably we can add versioning support to
11547     # collect2, so additional links can be useful in future.
11548     if test "$aix_use_runtimelinking" = yes; then
11549       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11550       # instead of lib<name>.a to let people know that these are not
11551       # typical AIX shared libraries.
11552       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11553     else
11554       # We preserve .a as extension for shared libraries through AIX4.2
11555       # and later when we are not doing run time linking.
11556       library_names_spec='${libname}${release}.a $libname.a'
11557       soname_spec='${libname}${release}${shared_ext}$major'
11558     fi
11559     shlibpath_var=LIBPATH
11560   fi
11561   ;;
11562
11563 amigaos*)
11564   case $host_cpu in
11565   powerpc)
11566     # Since July 2007 AmigaOS4 officially supports .so libraries.
11567     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11568     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11569     ;;
11570   m68k)
11571     library_names_spec='$libname.ixlibrary $libname.a'
11572     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11573     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11574     ;;
11575   esac
11576   ;;
11577
11578 beos*)
11579   library_names_spec='${libname}${shared_ext}'
11580   dynamic_linker="$host_os ld.so"
11581   shlibpath_var=LIBRARY_PATH
11582   ;;
11583
11584 bsdi[45]*)
11585   version_type=linux # correct to gnu/linux during the next big refactor
11586   need_version=no
11587   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11588   soname_spec='${libname}${release}${shared_ext}$major'
11589   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11590   shlibpath_var=LD_LIBRARY_PATH
11591   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11592   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11593   # the default ld.so.conf also contains /usr/contrib/lib and
11594   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11595   # libtool to hard-code these into programs
11596   ;;
11597
11598 cygwin* | mingw* | pw32* | cegcc*)
11599   version_type=windows
11600   shrext_cmds=".dll"
11601   need_version=no
11602   need_lib_prefix=no
11603
11604   case $GCC,$cc_basename in
11605   yes,*)
11606     # gcc
11607     library_names_spec='$libname.dll.a'
11608     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11609     postinstall_cmds='base_file=`basename \${file}`~
11610       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11611       dldir=$destdir/`dirname \$dlpath`~
11612       test -d \$dldir || mkdir -p \$dldir~
11613       $install_prog $dir/$dlname \$dldir/$dlname~
11614       chmod a+x \$dldir/$dlname~
11615       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11616         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11617       fi'
11618     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11619       dlpath=$dir/\$dldll~
11620        $RM \$dlpath'
11621     shlibpath_overrides_runpath=yes
11622
11623     case $host_os in
11624     cygwin*)
11625       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11626       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11627
11628       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11629       ;;
11630     mingw* | cegcc*)
11631       # MinGW DLLs use traditional 'lib' prefix
11632       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11633       ;;
11634     pw32*)
11635       # pw32 DLLs use 'pw' prefix rather than 'lib'
11636       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11637       ;;
11638     esac
11639     dynamic_linker='Win32 ld.exe'
11640     ;;
11641
11642   *,cl*)
11643     # Native MSVC
11644     libname_spec='$name'
11645     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11646     library_names_spec='${libname}.dll.lib'
11647
11648     case $build_os in
11649     mingw*)
11650       sys_lib_search_path_spec=
11651       lt_save_ifs=$IFS
11652       IFS=';'
11653       for lt_path in $LIB
11654       do
11655         IFS=$lt_save_ifs
11656         # Let DOS variable expansion print the short 8.3 style file name.
11657         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11658         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11659       done
11660       IFS=$lt_save_ifs
11661       # Convert to MSYS style.
11662       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11663       ;;
11664     cygwin*)
11665       # Convert to unix form, then to dos form, then back to unix form
11666       # but this time dos style (no spaces!) so that the unix form looks
11667       # like /cygdrive/c/PROGRA~1:/cygdr...
11668       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11669       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11670       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11671       ;;
11672     *)
11673       sys_lib_search_path_spec="$LIB"
11674       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11675         # It is most probably a Windows format PATH.
11676         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11677       else
11678         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11679       fi
11680       # FIXME: find the short name or the path components, as spaces are
11681       # common. (e.g. "Program Files" -> "PROGRA~1")
11682       ;;
11683     esac
11684
11685     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11686     postinstall_cmds='base_file=`basename \${file}`~
11687       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11688       dldir=$destdir/`dirname \$dlpath`~
11689       test -d \$dldir || mkdir -p \$dldir~
11690       $install_prog $dir/$dlname \$dldir/$dlname'
11691     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11692       dlpath=$dir/\$dldll~
11693        $RM \$dlpath'
11694     shlibpath_overrides_runpath=yes
11695     dynamic_linker='Win32 link.exe'
11696     ;;
11697
11698   *)
11699     # Assume MSVC wrapper
11700     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11701     dynamic_linker='Win32 ld.exe'
11702     ;;
11703   esac
11704   # FIXME: first we should search . and the directory the executable is in
11705   shlibpath_var=PATH
11706   ;;
11707
11708 darwin* | rhapsody*)
11709   dynamic_linker="$host_os dyld"
11710   version_type=darwin
11711   need_lib_prefix=no
11712   need_version=no
11713   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11714   soname_spec='${libname}${release}${major}$shared_ext'
11715   shlibpath_overrides_runpath=yes
11716   shlibpath_var=DYLD_LIBRARY_PATH
11717   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11718
11719   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11720   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11721   ;;
11722
11723 dgux*)
11724   version_type=linux # correct to gnu/linux during the next big refactor
11725   need_lib_prefix=no
11726   need_version=no
11727   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11728   soname_spec='${libname}${release}${shared_ext}$major'
11729   shlibpath_var=LD_LIBRARY_PATH
11730   ;;
11731
11732 freebsd* | dragonfly*)
11733   # DragonFly does not have aout.  When/if they implement a new
11734   # versioning mechanism, adjust this.
11735   if test -x /usr/bin/objformat; then
11736     objformat=`/usr/bin/objformat`
11737   else
11738     case $host_os in
11739     freebsd[23].*) objformat=aout ;;
11740     *) objformat=elf ;;
11741     esac
11742   fi
11743   version_type=freebsd-$objformat
11744   case $version_type in
11745     freebsd-elf*)
11746       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11747       need_version=no
11748       need_lib_prefix=no
11749       ;;
11750     freebsd-*)
11751       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11752       need_version=yes
11753       ;;
11754   esac
11755   shlibpath_var=LD_LIBRARY_PATH
11756   case $host_os in
11757   freebsd2.*)
11758     shlibpath_overrides_runpath=yes
11759     ;;
11760   freebsd3.[01]* | freebsdelf3.[01]*)
11761     shlibpath_overrides_runpath=yes
11762     hardcode_into_libs=yes
11763     ;;
11764   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11765   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11766     shlibpath_overrides_runpath=no
11767     hardcode_into_libs=yes
11768     ;;
11769   *) # from 4.6 on, and DragonFly
11770     shlibpath_overrides_runpath=yes
11771     hardcode_into_libs=yes
11772     ;;
11773   esac
11774   ;;
11775
11776 gnu*)
11777   version_type=linux # correct to gnu/linux during the next big refactor
11778   need_lib_prefix=no
11779   need_version=no
11780   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11781   soname_spec='${libname}${release}${shared_ext}$major'
11782   shlibpath_var=LD_LIBRARY_PATH
11783   shlibpath_overrides_runpath=no
11784   hardcode_into_libs=yes
11785   ;;
11786
11787 haiku*)
11788   version_type=linux # correct to gnu/linux during the next big refactor
11789   need_lib_prefix=no
11790   need_version=no
11791   dynamic_linker="$host_os runtime_loader"
11792   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11793   soname_spec='${libname}${release}${shared_ext}$major'
11794   shlibpath_var=LIBRARY_PATH
11795   shlibpath_overrides_runpath=yes
11796   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11797   hardcode_into_libs=yes
11798   ;;
11799
11800 hpux9* | hpux10* | hpux11*)
11801   # Give a soname corresponding to the major version so that dld.sl refuses to
11802   # link against other versions.
11803   version_type=sunos
11804   need_lib_prefix=no
11805   need_version=no
11806   case $host_cpu in
11807   ia64*)
11808     shrext_cmds='.so'
11809     hardcode_into_libs=yes
11810     dynamic_linker="$host_os dld.so"
11811     shlibpath_var=LD_LIBRARY_PATH
11812     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11813     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11814     soname_spec='${libname}${release}${shared_ext}$major'
11815     if test "X$HPUX_IA64_MODE" = X32; then
11816       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11817     else
11818       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11819     fi
11820     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11821     ;;
11822   hppa*64*)
11823     shrext_cmds='.sl'
11824     hardcode_into_libs=yes
11825     dynamic_linker="$host_os dld.sl"
11826     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11827     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11828     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11829     soname_spec='${libname}${release}${shared_ext}$major'
11830     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11831     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11832     ;;
11833   *)
11834     shrext_cmds='.sl'
11835     dynamic_linker="$host_os dld.sl"
11836     shlibpath_var=SHLIB_PATH
11837     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11838     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11839     soname_spec='${libname}${release}${shared_ext}$major'
11840     ;;
11841   esac
11842   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11843   postinstall_cmds='chmod 555 $lib'
11844   # or fails outright, so override atomically:
11845   install_override_mode=555
11846   ;;
11847
11848 interix[3-9]*)
11849   version_type=linux # correct to gnu/linux during the next big refactor
11850   need_lib_prefix=no
11851   need_version=no
11852   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11853   soname_spec='${libname}${release}${shared_ext}$major'
11854   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11855   shlibpath_var=LD_LIBRARY_PATH
11856   shlibpath_overrides_runpath=no
11857   hardcode_into_libs=yes
11858   ;;
11859
11860 irix5* | irix6* | nonstopux*)
11861   case $host_os in
11862     nonstopux*) version_type=nonstopux ;;
11863     *)
11864         if test "$lt_cv_prog_gnu_ld" = yes; then
11865                 version_type=linux # correct to gnu/linux during the next big refactor
11866         else
11867                 version_type=irix
11868         fi ;;
11869   esac
11870   need_lib_prefix=no
11871   need_version=no
11872   soname_spec='${libname}${release}${shared_ext}$major'
11873   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11874   case $host_os in
11875   irix5* | nonstopux*)
11876     libsuff= shlibsuff=
11877     ;;
11878   *)
11879     case $LD in # libtool.m4 will add one of these switches to LD
11880     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11881       libsuff= shlibsuff= libmagic=32-bit;;
11882     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11883       libsuff=32 shlibsuff=N32 libmagic=N32;;
11884     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11885       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11886     *) libsuff= shlibsuff= libmagic=never-match;;
11887     esac
11888     ;;
11889   esac
11890   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11891   shlibpath_overrides_runpath=no
11892   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11893   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11894   hardcode_into_libs=yes
11895   ;;
11896
11897 # No shared lib support for Linux oldld, aout, or coff.
11898 linux*oldld* | linux*aout* | linux*coff*)
11899   dynamic_linker=no
11900   ;;
11901
11902 # This must be glibc/ELF.
11903 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11904   version_type=linux # correct to gnu/linux during the next big refactor
11905   need_lib_prefix=no
11906   need_version=no
11907   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11908   soname_spec='${libname}${release}${shared_ext}$major'
11909   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11910   shlibpath_var=LD_LIBRARY_PATH
11911   shlibpath_overrides_runpath=no
11912
11913   # Some binutils ld are patched to set DT_RUNPATH
11914   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11915   $as_echo_n "(cached) " >&6
11916 else
11917   lt_cv_shlibpath_overrides_runpath=no
11918     save_LDFLAGS=$LDFLAGS
11919     save_libdir=$libdir
11920     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11921          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11922     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11923 /* end confdefs.h.  */
11924
11925 int
11926 main ()
11927 {
11928
11929   ;
11930   return 0;
11931 }
11932 _ACEOF
11933 if ac_fn_c_try_link "$LINENO"; then :
11934   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11935   lt_cv_shlibpath_overrides_runpath=yes
11936 fi
11937 fi
11938 rm -f core conftest.err conftest.$ac_objext \
11939     conftest$ac_exeext conftest.$ac_ext
11940     LDFLAGS=$save_LDFLAGS
11941     libdir=$save_libdir
11942
11943 fi
11944
11945   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11946
11947   # This implies no fast_install, which is unacceptable.
11948   # Some rework will be needed to allow for fast_install
11949   # before this can be enabled.
11950   hardcode_into_libs=yes
11951
11952   # Append ld.so.conf contents to the search path
11953   if test -f /etc/ld.so.conf; then
11954     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11955     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
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 netbsdelf*-gnu)
11968   version_type=linux
11969   need_lib_prefix=no
11970   need_version=no
11971   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11972   soname_spec='${libname}${release}${shared_ext}$major'
11973   shlibpath_var=LD_LIBRARY_PATH
11974   shlibpath_overrides_runpath=no
11975   hardcode_into_libs=yes
11976   dynamic_linker='NetBSD ld.elf_so'
11977   ;;
11978
11979 netbsd*)
11980   version_type=sunos
11981   need_lib_prefix=no
11982   need_version=no
11983   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11984     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11985     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11986     dynamic_linker='NetBSD (a.out) ld.so'
11987   else
11988     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11989     soname_spec='${libname}${release}${shared_ext}$major'
11990     dynamic_linker='NetBSD ld.elf_so'
11991   fi
11992   shlibpath_var=LD_LIBRARY_PATH
11993   shlibpath_overrides_runpath=yes
11994   hardcode_into_libs=yes
11995   ;;
11996
11997 newsos6)
11998   version_type=linux # correct to gnu/linux during the next big refactor
11999   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12000   shlibpath_var=LD_LIBRARY_PATH
12001   shlibpath_overrides_runpath=yes
12002   ;;
12003
12004 *nto* | *qnx*)
12005   version_type=qnx
12006   need_lib_prefix=no
12007   need_version=no
12008   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12009   soname_spec='${libname}${release}${shared_ext}$major'
12010   shlibpath_var=LD_LIBRARY_PATH
12011   shlibpath_overrides_runpath=no
12012   hardcode_into_libs=yes
12013   dynamic_linker='ldqnx.so'
12014   ;;
12015
12016 openbsd*)
12017   version_type=sunos
12018   sys_lib_dlsearch_path_spec="/usr/lib"
12019   need_lib_prefix=no
12020   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12021   case $host_os in
12022     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
12023     *)                          need_version=no  ;;
12024   esac
12025   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12026   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12027   shlibpath_var=LD_LIBRARY_PATH
12028   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12029     case $host_os in
12030       openbsd2.[89] | openbsd2.[89].*)
12031         shlibpath_overrides_runpath=no
12032         ;;
12033       *)
12034         shlibpath_overrides_runpath=yes
12035         ;;
12036       esac
12037   else
12038     shlibpath_overrides_runpath=yes
12039   fi
12040   ;;
12041
12042 os2*)
12043   libname_spec='$name'
12044   shrext_cmds=".dll"
12045   need_lib_prefix=no
12046   library_names_spec='$libname${shared_ext} $libname.a'
12047   dynamic_linker='OS/2 ld.exe'
12048   shlibpath_var=LIBPATH
12049   ;;
12050
12051 osf3* | osf4* | osf5*)
12052   version_type=osf
12053   need_lib_prefix=no
12054   need_version=no
12055   soname_spec='${libname}${release}${shared_ext}$major'
12056   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12057   shlibpath_var=LD_LIBRARY_PATH
12058   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12059   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12060   ;;
12061
12062 rdos*)
12063   dynamic_linker=no
12064   ;;
12065
12066 solaris*)
12067   version_type=linux # correct to gnu/linux during the next big refactor
12068   need_lib_prefix=no
12069   need_version=no
12070   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12071   soname_spec='${libname}${release}${shared_ext}$major'
12072   shlibpath_var=LD_LIBRARY_PATH
12073   shlibpath_overrides_runpath=yes
12074   hardcode_into_libs=yes
12075   # ldd complains unless libraries are executable
12076   postinstall_cmds='chmod +x $lib'
12077   ;;
12078
12079 sunos4*)
12080   version_type=sunos
12081   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12082   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12083   shlibpath_var=LD_LIBRARY_PATH
12084   shlibpath_overrides_runpath=yes
12085   if test "$with_gnu_ld" = yes; then
12086     need_lib_prefix=no
12087   fi
12088   need_version=yes
12089   ;;
12090
12091 sysv4 | sysv4.3*)
12092   version_type=linux # correct to gnu/linux during the next big refactor
12093   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12094   soname_spec='${libname}${release}${shared_ext}$major'
12095   shlibpath_var=LD_LIBRARY_PATH
12096   case $host_vendor in
12097     sni)
12098       shlibpath_overrides_runpath=no
12099       need_lib_prefix=no
12100       runpath_var=LD_RUN_PATH
12101       ;;
12102     siemens)
12103       need_lib_prefix=no
12104       ;;
12105     motorola)
12106       need_lib_prefix=no
12107       need_version=no
12108       shlibpath_overrides_runpath=no
12109       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12110       ;;
12111   esac
12112   ;;
12113
12114 sysv4*MP*)
12115   if test -d /usr/nec ;then
12116     version_type=linux # correct to gnu/linux during the next big refactor
12117     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12118     soname_spec='$libname${shared_ext}.$major'
12119     shlibpath_var=LD_LIBRARY_PATH
12120   fi
12121   ;;
12122
12123 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12124   version_type=freebsd-elf
12125   need_lib_prefix=no
12126   need_version=no
12127   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12128   soname_spec='${libname}${release}${shared_ext}$major'
12129   shlibpath_var=LD_LIBRARY_PATH
12130   shlibpath_overrides_runpath=yes
12131   hardcode_into_libs=yes
12132   if test "$with_gnu_ld" = yes; then
12133     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12134   else
12135     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12136     case $host_os in
12137       sco3.2v5*)
12138         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12139         ;;
12140     esac
12141   fi
12142   sys_lib_dlsearch_path_spec='/usr/lib'
12143   ;;
12144
12145 tpf*)
12146   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12147   version_type=linux # correct to gnu/linux during the next big refactor
12148   need_lib_prefix=no
12149   need_version=no
12150   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12151   shlibpath_var=LD_LIBRARY_PATH
12152   shlibpath_overrides_runpath=no
12153   hardcode_into_libs=yes
12154   ;;
12155
12156 uts4*)
12157   version_type=linux # correct to gnu/linux during the next big refactor
12158   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12159   soname_spec='${libname}${release}${shared_ext}$major'
12160   shlibpath_var=LD_LIBRARY_PATH
12161   ;;
12162
12163 *)
12164   dynamic_linker=no
12165   ;;
12166 esac
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12168 $as_echo "$dynamic_linker" >&6; }
12169 test "$dynamic_linker" = no && can_build_shared=no
12170
12171 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12172 if test "$GCC" = yes; then
12173   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12174 fi
12175
12176 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12177   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12178 fi
12179 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12180   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12181 fi
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
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12275 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12276 hardcode_action=
12277 if test -n "$hardcode_libdir_flag_spec" ||
12278    test -n "$runpath_var" ||
12279    test "X$hardcode_automatic" = "Xyes" ; then
12280
12281   # We can hardcode non-existent directories.
12282   if test "$hardcode_direct" != no &&
12283      # If the only mechanism to avoid hardcoding is shlibpath_var, we
12284      # have to relink, otherwise we might link with an installed library
12285      # when we should be linking with a yet-to-be-installed one
12286      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12287      test "$hardcode_minus_L" != no; then
12288     # Linking always hardcodes the temporary library directory.
12289     hardcode_action=relink
12290   else
12291     # We can link without hardcoding, and we can hardcode nonexisting dirs.
12292     hardcode_action=immediate
12293   fi
12294 else
12295   # We cannot hardcode anything, or else we can only hardcode existing
12296   # directories.
12297   hardcode_action=unsupported
12298 fi
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12300 $as_echo "$hardcode_action" >&6; }
12301
12302 if test "$hardcode_action" = relink ||
12303    test "$inherit_rpath" = yes; then
12304   # Fast installation is not supported
12305   enable_fast_install=no
12306 elif test "$shlibpath_overrides_runpath" = yes ||
12307      test "$enable_shared" = no; then
12308   # Fast installation is not necessary
12309   enable_fast_install=needless
12310 fi
12311
12312
12313
12314
12315
12316
12317   if test "x$enable_dlopen" != xyes; then
12318   enable_dlopen=unknown
12319   enable_dlopen_self=unknown
12320   enable_dlopen_self_static=unknown
12321 else
12322   lt_cv_dlopen=no
12323   lt_cv_dlopen_libs=
12324
12325   case $host_os in
12326   beos*)
12327     lt_cv_dlopen="load_add_on"
12328     lt_cv_dlopen_libs=
12329     lt_cv_dlopen_self=yes
12330     ;;
12331
12332   mingw* | pw32* | cegcc*)
12333     lt_cv_dlopen="LoadLibrary"
12334     lt_cv_dlopen_libs=
12335     ;;
12336
12337   cygwin*)
12338     lt_cv_dlopen="dlopen"
12339     lt_cv_dlopen_libs=
12340     ;;
12341
12342   darwin*)
12343   # if libdl is installed we need to link against it
12344     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12345 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12346 if ${ac_cv_lib_dl_dlopen+:} false; then :
12347   $as_echo_n "(cached) " >&6
12348 else
12349   ac_check_lib_save_LIBS=$LIBS
12350 LIBS="-ldl  $LIBS"
12351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12352 /* end confdefs.h.  */
12353
12354 /* Override any GCC internal prototype to avoid an error.
12355    Use char because int might match the return type of a GCC
12356    builtin and then its argument prototype would still apply.  */
12357 #ifdef __cplusplus
12358 extern "C"
12359 #endif
12360 char dlopen ();
12361 int
12362 main ()
12363 {
12364 return dlopen ();
12365   ;
12366   return 0;
12367 }
12368 _ACEOF
12369 if ac_fn_c_try_link "$LINENO"; then :
12370   ac_cv_lib_dl_dlopen=yes
12371 else
12372   ac_cv_lib_dl_dlopen=no
12373 fi
12374 rm -f core conftest.err conftest.$ac_objext \
12375     conftest$ac_exeext conftest.$ac_ext
12376 LIBS=$ac_check_lib_save_LIBS
12377 fi
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12379 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12380 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12381   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12382 else
12383
12384     lt_cv_dlopen="dyld"
12385     lt_cv_dlopen_libs=
12386     lt_cv_dlopen_self=yes
12387
12388 fi
12389
12390     ;;
12391
12392   *)
12393     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12394 if test "x$ac_cv_func_shl_load" = xyes; then :
12395   lt_cv_dlopen="shl_load"
12396 else
12397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12398 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12399 if ${ac_cv_lib_dld_shl_load+:} false; then :
12400   $as_echo_n "(cached) " >&6
12401 else
12402   ac_check_lib_save_LIBS=$LIBS
12403 LIBS="-ldld  $LIBS"
12404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12405 /* end confdefs.h.  */
12406
12407 /* Override any GCC internal prototype to avoid an error.
12408    Use char because int might match the return type of a GCC
12409    builtin and then its argument prototype would still apply.  */
12410 #ifdef __cplusplus
12411 extern "C"
12412 #endif
12413 char shl_load ();
12414 int
12415 main ()
12416 {
12417 return shl_load ();
12418   ;
12419   return 0;
12420 }
12421 _ACEOF
12422 if ac_fn_c_try_link "$LINENO"; then :
12423   ac_cv_lib_dld_shl_load=yes
12424 else
12425   ac_cv_lib_dld_shl_load=no
12426 fi
12427 rm -f core conftest.err conftest.$ac_objext \
12428     conftest$ac_exeext conftest.$ac_ext
12429 LIBS=$ac_check_lib_save_LIBS
12430 fi
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12432 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12433 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12434   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12435 else
12436   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12437 if test "x$ac_cv_func_dlopen" = xyes; then :
12438   lt_cv_dlopen="dlopen"
12439 else
12440   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12441 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12442 if ${ac_cv_lib_dl_dlopen+:} false; then :
12443   $as_echo_n "(cached) " >&6
12444 else
12445   ac_check_lib_save_LIBS=$LIBS
12446 LIBS="-ldl  $LIBS"
12447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12448 /* end confdefs.h.  */
12449
12450 /* Override any GCC internal prototype to avoid an error.
12451    Use char because int might match the return type of a GCC
12452    builtin and then its argument prototype would still apply.  */
12453 #ifdef __cplusplus
12454 extern "C"
12455 #endif
12456 char dlopen ();
12457 int
12458 main ()
12459 {
12460 return dlopen ();
12461   ;
12462   return 0;
12463 }
12464 _ACEOF
12465 if ac_fn_c_try_link "$LINENO"; then :
12466   ac_cv_lib_dl_dlopen=yes
12467 else
12468   ac_cv_lib_dl_dlopen=no
12469 fi
12470 rm -f core conftest.err conftest.$ac_objext \
12471     conftest$ac_exeext conftest.$ac_ext
12472 LIBS=$ac_check_lib_save_LIBS
12473 fi
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12475 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12476 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12477   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12478 else
12479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12480 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12481 if ${ac_cv_lib_svld_dlopen+:} false; then :
12482   $as_echo_n "(cached) " >&6
12483 else
12484   ac_check_lib_save_LIBS=$LIBS
12485 LIBS="-lsvld  $LIBS"
12486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12487 /* end confdefs.h.  */
12488
12489 /* Override any GCC internal prototype to avoid an error.
12490    Use char because int might match the return type of a GCC
12491    builtin and then its argument prototype would still apply.  */
12492 #ifdef __cplusplus
12493 extern "C"
12494 #endif
12495 char dlopen ();
12496 int
12497 main ()
12498 {
12499 return dlopen ();
12500   ;
12501   return 0;
12502 }
12503 _ACEOF
12504 if ac_fn_c_try_link "$LINENO"; then :
12505   ac_cv_lib_svld_dlopen=yes
12506 else
12507   ac_cv_lib_svld_dlopen=no
12508 fi
12509 rm -f core conftest.err conftest.$ac_objext \
12510     conftest$ac_exeext conftest.$ac_ext
12511 LIBS=$ac_check_lib_save_LIBS
12512 fi
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12514 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12515 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12516   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12517 else
12518   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12519 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12520 if ${ac_cv_lib_dld_dld_link+:} false; then :
12521   $as_echo_n "(cached) " >&6
12522 else
12523   ac_check_lib_save_LIBS=$LIBS
12524 LIBS="-ldld  $LIBS"
12525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12526 /* end confdefs.h.  */
12527
12528 /* Override any GCC internal prototype to avoid an error.
12529    Use char because int might match the return type of a GCC
12530    builtin and then its argument prototype would still apply.  */
12531 #ifdef __cplusplus
12532 extern "C"
12533 #endif
12534 char dld_link ();
12535 int
12536 main ()
12537 {
12538 return dld_link ();
12539   ;
12540   return 0;
12541 }
12542 _ACEOF
12543 if ac_fn_c_try_link "$LINENO"; then :
12544   ac_cv_lib_dld_dld_link=yes
12545 else
12546   ac_cv_lib_dld_dld_link=no
12547 fi
12548 rm -f core conftest.err conftest.$ac_objext \
12549     conftest$ac_exeext conftest.$ac_ext
12550 LIBS=$ac_check_lib_save_LIBS
12551 fi
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12553 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12554 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12555   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12556 fi
12557
12558
12559 fi
12560
12561
12562 fi
12563
12564
12565 fi
12566
12567
12568 fi
12569
12570
12571 fi
12572
12573     ;;
12574   esac
12575
12576   if test "x$lt_cv_dlopen" != xno; then
12577     enable_dlopen=yes
12578   else
12579     enable_dlopen=no
12580   fi
12581
12582   case $lt_cv_dlopen in
12583   dlopen)
12584     save_CPPFLAGS="$CPPFLAGS"
12585     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12586
12587     save_LDFLAGS="$LDFLAGS"
12588     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12589
12590     save_LIBS="$LIBS"
12591     LIBS="$lt_cv_dlopen_libs $LIBS"
12592
12593     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12594 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12595 if ${lt_cv_dlopen_self+:} false; then :
12596   $as_echo_n "(cached) " >&6
12597 else
12598           if test "$cross_compiling" = yes; then :
12599   lt_cv_dlopen_self=cross
12600 else
12601   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12602   lt_status=$lt_dlunknown
12603   cat > conftest.$ac_ext <<_LT_EOF
12604 #line $LINENO "configure"
12605 #include "confdefs.h"
12606
12607 #if HAVE_DLFCN_H
12608 #include <dlfcn.h>
12609 #endif
12610
12611 #include <stdio.h>
12612
12613 #ifdef RTLD_GLOBAL
12614 #  define LT_DLGLOBAL           RTLD_GLOBAL
12615 #else
12616 #  ifdef DL_GLOBAL
12617 #    define LT_DLGLOBAL         DL_GLOBAL
12618 #  else
12619 #    define LT_DLGLOBAL         0
12620 #  endif
12621 #endif
12622
12623 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12624    find out it does not work in some platform. */
12625 #ifndef LT_DLLAZY_OR_NOW
12626 #  ifdef RTLD_LAZY
12627 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12628 #  else
12629 #    ifdef DL_LAZY
12630 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12631 #    else
12632 #      ifdef RTLD_NOW
12633 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12634 #      else
12635 #        ifdef DL_NOW
12636 #          define LT_DLLAZY_OR_NOW      DL_NOW
12637 #        else
12638 #          define LT_DLLAZY_OR_NOW      0
12639 #        endif
12640 #      endif
12641 #    endif
12642 #  endif
12643 #endif
12644
12645 /* When -fvisbility=hidden is used, assume the code has been annotated
12646    correspondingly for the symbols needed.  */
12647 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12648 int fnord () __attribute__((visibility("default")));
12649 #endif
12650
12651 int fnord () { return 42; }
12652 int main ()
12653 {
12654   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12655   int status = $lt_dlunknown;
12656
12657   if (self)
12658     {
12659       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12660       else
12661         {
12662           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12663           else puts (dlerror ());
12664         }
12665       /* dlclose (self); */
12666     }
12667   else
12668     puts (dlerror ());
12669
12670   return status;
12671 }
12672 _LT_EOF
12673   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12674   (eval $ac_link) 2>&5
12675   ac_status=$?
12676   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12677   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12678     (./conftest; exit; ) >&5 2>/dev/null
12679     lt_status=$?
12680     case x$lt_status in
12681       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12682       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12683       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12684     esac
12685   else :
12686     # compilation failed
12687     lt_cv_dlopen_self=no
12688   fi
12689 fi
12690 rm -fr conftest*
12691
12692
12693 fi
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12695 $as_echo "$lt_cv_dlopen_self" >&6; }
12696
12697     if test "x$lt_cv_dlopen_self" = xyes; then
12698       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12699       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12700 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12701 if ${lt_cv_dlopen_self_static+:} false; then :
12702   $as_echo_n "(cached) " >&6
12703 else
12704           if test "$cross_compiling" = yes; then :
12705   lt_cv_dlopen_self_static=cross
12706 else
12707   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12708   lt_status=$lt_dlunknown
12709   cat > conftest.$ac_ext <<_LT_EOF
12710 #line $LINENO "configure"
12711 #include "confdefs.h"
12712
12713 #if HAVE_DLFCN_H
12714 #include <dlfcn.h>
12715 #endif
12716
12717 #include <stdio.h>
12718
12719 #ifdef RTLD_GLOBAL
12720 #  define LT_DLGLOBAL           RTLD_GLOBAL
12721 #else
12722 #  ifdef DL_GLOBAL
12723 #    define LT_DLGLOBAL         DL_GLOBAL
12724 #  else
12725 #    define LT_DLGLOBAL         0
12726 #  endif
12727 #endif
12728
12729 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12730    find out it does not work in some platform. */
12731 #ifndef LT_DLLAZY_OR_NOW
12732 #  ifdef RTLD_LAZY
12733 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12734 #  else
12735 #    ifdef DL_LAZY
12736 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12737 #    else
12738 #      ifdef RTLD_NOW
12739 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12740 #      else
12741 #        ifdef DL_NOW
12742 #          define LT_DLLAZY_OR_NOW      DL_NOW
12743 #        else
12744 #          define LT_DLLAZY_OR_NOW      0
12745 #        endif
12746 #      endif
12747 #    endif
12748 #  endif
12749 #endif
12750
12751 /* When -fvisbility=hidden is used, assume the code has been annotated
12752    correspondingly for the symbols needed.  */
12753 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12754 int fnord () __attribute__((visibility("default")));
12755 #endif
12756
12757 int fnord () { return 42; }
12758 int main ()
12759 {
12760   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12761   int status = $lt_dlunknown;
12762
12763   if (self)
12764     {
12765       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12766       else
12767         {
12768           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12769           else puts (dlerror ());
12770         }
12771       /* dlclose (self); */
12772     }
12773   else
12774     puts (dlerror ());
12775
12776   return status;
12777 }
12778 _LT_EOF
12779   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12780   (eval $ac_link) 2>&5
12781   ac_status=$?
12782   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12783   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12784     (./conftest; exit; ) >&5 2>/dev/null
12785     lt_status=$?
12786     case x$lt_status in
12787       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12788       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12789       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12790     esac
12791   else :
12792     # compilation failed
12793     lt_cv_dlopen_self_static=no
12794   fi
12795 fi
12796 rm -fr conftest*
12797
12798
12799 fi
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12801 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12802     fi
12803
12804     CPPFLAGS="$save_CPPFLAGS"
12805     LDFLAGS="$save_LDFLAGS"
12806     LIBS="$save_LIBS"
12807     ;;
12808   esac
12809
12810   case $lt_cv_dlopen_self in
12811   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12812   *) enable_dlopen_self=unknown ;;
12813   esac
12814
12815   case $lt_cv_dlopen_self_static in
12816   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12817   *) enable_dlopen_self_static=unknown ;;
12818   esac
12819 fi
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837 striplib=
12838 old_striplib=
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12840 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12841 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12842   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12843   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12845 $as_echo "yes" >&6; }
12846 else
12847 # FIXME - insert some real tests, host_os isn't really good enough
12848   case $host_os in
12849   darwin*)
12850     if test -n "$STRIP" ; then
12851       striplib="$STRIP -x"
12852       old_striplib="$STRIP -S"
12853       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12854 $as_echo "yes" >&6; }
12855     else
12856       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12857 $as_echo "no" >&6; }
12858     fi
12859     ;;
12860   *)
12861     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12862 $as_echo "no" >&6; }
12863     ;;
12864   esac
12865 fi
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878   # Report which library types will actually be built
12879   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12880 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12882 $as_echo "$can_build_shared" >&6; }
12883
12884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12885 $as_echo_n "checking whether to build shared libraries... " >&6; }
12886   test "$can_build_shared" = "no" && enable_shared=no
12887
12888   # On AIX, shared libraries and static libraries use the same namespace, and
12889   # are all built from PIC.
12890   case $host_os in
12891   aix3*)
12892     test "$enable_shared" = yes && enable_static=no
12893     if test -n "$RANLIB"; then
12894       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12895       postinstall_cmds='$RANLIB $lib'
12896     fi
12897     ;;
12898
12899   aix[4-9]*)
12900     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12901       test "$enable_shared" = yes && enable_static=no
12902     fi
12903     ;;
12904   esac
12905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12906 $as_echo "$enable_shared" >&6; }
12907
12908   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12909 $as_echo_n "checking whether to build static libraries... " >&6; }
12910   # Make sure either enable_shared or enable_static is yes.
12911   test "$enable_shared" = yes || enable_static=yes
12912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12913 $as_echo "$enable_static" >&6; }
12914
12915
12916
12917
12918 fi
12919 ac_ext=c
12920 ac_cpp='$CPP $CPPFLAGS'
12921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12924
12925 CC="$lt_save_CC"
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941         ac_config_commands="$ac_config_commands libtool"
12942
12943
12944
12945
12946 # Only expand once:
12947
12948
12949
12950 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12951 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12952
12953
12954
12955 cat >>confdefs.h <<_ACEOF
12956 #define VMAJ 1
12957 _ACEOF
12958
12959
12960 cat >>confdefs.h <<_ACEOF
12961 #define VMIN 7
12962 _ACEOF
12963
12964
12965 cat >>confdefs.h <<_ACEOF
12966 #define VMIC 2
12967 _ACEOF
12968
12969
12970 cat >>confdefs.h <<_ACEOF
12971 #define VREV 0
12972 _ACEOF
12973
12974 version_info="8:2:7"
12975 release_info=""
12976
12977
12978 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12979 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12980 VMAJ=1
12981
12982
12983 ### Needed information
12984
12985
12986
12987
12988 case "$host_os" in
12989    mingw32ce*)
12990       MODULE_ARCH="$host_os-$host_cpu"
12991       ;;
12992    *)
12993       MODULE_ARCH="$host_os-$host_cpu-1.7.2"
12994       ;;
12995 esac
12996
12997
12998 cat >>confdefs.h <<_ACEOF
12999 #define MODULE_ARCH "$MODULE_ARCH"
13000 _ACEOF
13001
13002
13003 want_fontconfig="auto"
13004 want_fribidi="auto"
13005 want_harfbuzz="auto"
13006 want_pixman="no"
13007 want_evas_cserve="yes"
13008 want_evas_cserve2="yes"
13009
13010 want_evas_engine_buffer="yes"
13011 want_evas_engine_software_xlib="no"
13012 want_evas_engine_software_xcb="no"
13013 want_evas_engine_software_gdi="no"
13014 want_evas_engine_software_ddraw="no"
13015 want_evas_engine_software_8_x11="no"
13016 want_evas_engine_software_16_x11="no"
13017 want_evas_engine_software_16_wince="no"
13018 want_evas_engine_software_16_sdl="no"
13019 want_evas_engine_gl_xlib="no"
13020 want_evas_engine_gl_xcb="no"
13021 want_evas_engine_gl_sdl="no"
13022 want_evas_engine_gl_cocoa="no"
13023 want_evas_engine_direct3d="no"
13024 want_evas_engine_fb="no"
13025 want_evas_engine_directfb="no"
13026 want_evas_engine_psl1ght="no"
13027 want_evas_engine_wayland_shm="no"
13028 want_evas_engine_wayland_egl="no"
13029
13030 want_evas_image_loader_edb="yes"
13031 want_evas_image_loader_eet="yes"
13032 want_evas_image_loader_gif="yes"
13033 want_evas_image_loader_jpeg="yes"
13034 want_evas_image_loader_pmaps="yes"
13035 want_evas_image_loader_png="yes"
13036 want_evas_image_loader_svg="yes"
13037 want_evas_image_loader_tiff="yes"
13038 want_evas_image_loader_xpm="yes"
13039 want_evas_image_loader_bmp="yes"
13040 want_evas_image_loader_tga="yes"
13041 want_evas_image_loader_wbmp="yes"
13042 want_evas_image_loader_ico="yes"
13043 want_evas_image_loader_psd="yes"
13044 want_evas_image_loader_generic="yes"
13045
13046 want_evas_font_loader_eet="yes"
13047
13048 case "$host_os" in
13049    mingw32ce*)
13050       want_fontconfig="no"
13051       want_evas_engine_software_16_wince="yes"
13052       want_evas_image_loader_edb="no"
13053       want_evas_image_loader_gif="no"
13054       want_evas_image_loader_svg="no"
13055       want_evas_image_loader_tiff="no"
13056       ;;
13057    mingw*)
13058       want_evas_engine_software_gdi="yes"
13059       want_evas_engine_software_ddraw="yes"
13060       want_evas_engine_direct3d="yes"
13061       want_evas_image_loader_edb="no"
13062       want_evas_image_loader_svg="no"
13063       ;;
13064    darwin*)
13065       want_evas_engine_software_xlib="auto"
13066       want_evas_engine_gl_cocoa="auto"
13067       ;;
13068    *)
13069       want_evas_engine_software_xlib="auto"
13070       want_evas_engine_gl_xlib="auto"
13071       want_evas_engine_software_xcb="no"
13072       want_evas_engine_gl_xcb="no"
13073       want_evas_engine_fb="auto"
13074       want_evas_engine_wayland_shm="auto"
13075       want_evas_engine_wayland_egl="auto"
13076 ### no - not ready/usable/complete
13077 #      want_evas_engine_software_8_x11="auto"
13078 #      want_evas_engine_software_16_x11="auto"
13079       ;;
13080 esac
13081
13082 case "$host_vendor" in
13083   ps3*)
13084       want_evas_engine_psl1ght="static"
13085       ;;
13086 esac
13087
13088 requirement_evas=""
13089
13090
13091 ### Additional options to configure
13092
13093 # when used, that option makes configure script fails when
13094 # a requirement is selected, but not met.
13095 use_strict="no"
13096 # Check whether --enable-strict was given.
13097 if test "${enable_strict+set}" = set; then :
13098   enableval=$enable_strict; use_strict="yes"
13099 else
13100   use_strict="no"
13101 fi
13102
13103
13104 # Simple X11 build/link
13105 # Check whether --enable-simple-x11 was given.
13106 if test "${enable_simple_x11+set}" = set; then :
13107   enableval=$enable_simple_x11;
13108     if test "x${enableval}" = "xyes" ; then
13109        want_evas_simple_x11="yes"
13110     else
13111        want_evas_simple_x11="no"
13112     fi
13113
13114 fi
13115
13116
13117
13118 ### Checks for programs
13119
13120
13121     ac_ext=m
13122 ac_cpp='$OBJCPP $CPPFLAGS'
13123 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13124 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13125 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
13126 if test -n "$ac_tool_prefix"; then
13127   for ac_prog in gcc objcc objc cc CC
13128   do
13129     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13130 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13132 $as_echo_n "checking for $ac_word... " >&6; }
13133 if ${ac_cv_prog_OBJC+:} false; then :
13134   $as_echo_n "(cached) " >&6
13135 else
13136   if test -n "$OBJC"; then
13137   ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
13138 else
13139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13140 for as_dir in $PATH
13141 do
13142   IFS=$as_save_IFS
13143   test -z "$as_dir" && as_dir=.
13144     for ac_exec_ext in '' $ac_executable_extensions; do
13145   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13146     ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
13147     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13148     break 2
13149   fi
13150 done
13151   done
13152 IFS=$as_save_IFS
13153
13154 fi
13155 fi
13156 OBJC=$ac_cv_prog_OBJC
13157 if test -n "$OBJC"; then
13158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
13159 $as_echo "$OBJC" >&6; }
13160 else
13161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13162 $as_echo "no" >&6; }
13163 fi
13164
13165
13166     test -n "$OBJC" && break
13167   done
13168 fi
13169 if test -z "$OBJC"; then
13170   ac_ct_OBJC=$OBJC
13171   for ac_prog in gcc objcc objc cc CC
13172 do
13173   # Extract the first word of "$ac_prog", so it can be a program name with args.
13174 set dummy $ac_prog; ac_word=$2
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13176 $as_echo_n "checking for $ac_word... " >&6; }
13177 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
13178   $as_echo_n "(cached) " >&6
13179 else
13180   if test -n "$ac_ct_OBJC"; then
13181   ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
13182 else
13183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13184 for as_dir in $PATH
13185 do
13186   IFS=$as_save_IFS
13187   test -z "$as_dir" && as_dir=.
13188     for ac_exec_ext in '' $ac_executable_extensions; do
13189   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13190     ac_cv_prog_ac_ct_OBJC="$ac_prog"
13191     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13192     break 2
13193   fi
13194 done
13195   done
13196 IFS=$as_save_IFS
13197
13198 fi
13199 fi
13200 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
13201 if test -n "$ac_ct_OBJC"; then
13202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
13203 $as_echo "$ac_ct_OBJC" >&6; }
13204 else
13205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13206 $as_echo "no" >&6; }
13207 fi
13208
13209
13210   test -n "$ac_ct_OBJC" && break
13211 done
13212
13213   if test "x$ac_ct_OBJC" = x; then
13214     OBJC="gcc"
13215   else
13216     case $cross_compiling:$ac_tool_warned in
13217 yes:)
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13220 ac_tool_warned=yes ;;
13221 esac
13222     OBJC=$ac_ct_OBJC
13223   fi
13224 fi
13225
13226 # Provide some information about the compiler.
13227 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
13228 set X $ac_compile
13229 ac_compiler=$2
13230 for ac_option in --version -v -V -qversion; do
13231   { { ac_try="$ac_compiler $ac_option >&5"
13232 case "(($ac_try" in
13233   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13234   *) ac_try_echo=$ac_try;;
13235 esac
13236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13237 $as_echo "$ac_try_echo"; } >&5
13238   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13239   ac_status=$?
13240   if test -s conftest.err; then
13241     sed '10a\
13242 ... rest of stderr output deleted ...
13243          10q' conftest.err >conftest.er1
13244     cat conftest.er1 >&5
13245   fi
13246   rm -f conftest.er1 conftest.err
13247   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13248   test $ac_status = 0; }
13249 done
13250
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
13252 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
13253 if ${ac_cv_objc_compiler_gnu+:} false; then :
13254   $as_echo_n "(cached) " >&6
13255 else
13256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13257 /* end confdefs.h.  */
13258
13259 int
13260 main ()
13261 {
13262 #ifndef __GNUC__
13263        choke me
13264 #endif
13265
13266   ;
13267   return 0;
13268 }
13269 _ACEOF
13270 if ac_fn_objc_try_compile "$LINENO"; then :
13271   ac_compiler_gnu=yes
13272 else
13273   ac_compiler_gnu=no
13274 fi
13275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13276 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
13277
13278 fi
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
13280 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
13281 if test $ac_compiler_gnu = yes; then
13282   GOBJC=yes
13283 else
13284   GOBJC=
13285 fi
13286 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
13287 ac_save_OBJCFLAGS=$OBJCFLAGS
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
13289 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
13290 if ${ac_cv_prog_objc_g+:} false; then :
13291   $as_echo_n "(cached) " >&6
13292 else
13293   ac_save_objc_werror_flag=$ac_objc_werror_flag
13294    ac_objc_werror_flag=yes
13295    ac_cv_prog_objc_g=no
13296    OBJCFLAGS="-g"
13297    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13298 /* end confdefs.h.  */
13299
13300 int
13301 main ()
13302 {
13303
13304   ;
13305   return 0;
13306 }
13307 _ACEOF
13308 if ac_fn_objc_try_compile "$LINENO"; then :
13309   ac_cv_prog_objc_g=yes
13310 else
13311   OBJCFLAGS=""
13312       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13313 /* end confdefs.h.  */
13314
13315 int
13316 main ()
13317 {
13318
13319   ;
13320   return 0;
13321 }
13322 _ACEOF
13323 if ac_fn_objc_try_compile "$LINENO"; then :
13324
13325 else
13326   ac_objc_werror_flag=$ac_save_objc_werror_flag
13327          OBJCFLAGS="-g"
13328          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13329 /* end confdefs.h.  */
13330
13331 int
13332 main ()
13333 {
13334
13335   ;
13336   return 0;
13337 }
13338 _ACEOF
13339 if ac_fn_objc_try_compile "$LINENO"; then :
13340   ac_cv_prog_objc_g=yes
13341 fi
13342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13343 fi
13344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13345 fi
13346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13347    ac_objc_werror_flag=$ac_save_objc_werror_flag
13348 fi
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
13350 $as_echo "$ac_cv_prog_objc_g" >&6; }
13351 if test "$ac_test_OBJCFLAGS" = set; then
13352   OBJCFLAGS=$ac_save_OBJCFLAGS
13353 elif test $ac_cv_prog_objc_g = yes; then
13354   if test "$GOBJC" = yes; then
13355     OBJCFLAGS="-g -O2"
13356   else
13357     OBJCFLAGS="-g"
13358   fi
13359 else
13360   if test "$GOBJC" = yes; then
13361     OBJCFLAGS="-O2"
13362   else
13363     OBJCFLAGS=
13364   fi
13365 fi
13366 ac_ext=c
13367 ac_cpp='$CPP $CPPFLAGS'
13368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13371
13372 depcc="$OBJC" am_compiler_list='gcc3 gcc'
13373
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13375 $as_echo_n "checking dependency style of $depcc... " >&6; }
13376 if ${am_cv_OBJC_dependencies_compiler_type+:} false; then :
13377   $as_echo_n "(cached) " >&6
13378 else
13379   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13380   # We make a subdir and do the tests there.  Otherwise we can end up
13381   # making bogus files that we don't know about and never remove.  For
13382   # instance it was reported that on HP-UX the gcc test will end up
13383   # making a dummy file named `D' -- because `-MD' means `put the output
13384   # in D'.
13385   rm -rf conftest.dir
13386   mkdir conftest.dir
13387   # Copy depcomp to subdir because otherwise we won't find it if we're
13388   # using a relative directory.
13389   cp "$am_depcomp" conftest.dir
13390   cd conftest.dir
13391   # We will build objects and dependencies in a subdirectory because
13392   # it helps to detect inapplicable dependency modes.  For instance
13393   # both Tru64's cc and ICC support -MD to output dependencies as a
13394   # side effect of compilation, but ICC will put the dependencies in
13395   # the current directory while Tru64 will put them in the object
13396   # directory.
13397   mkdir sub
13398
13399   am_cv_OBJC_dependencies_compiler_type=none
13400   if test "$am_compiler_list" = ""; then
13401      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13402   fi
13403   am__universal=false
13404
13405
13406   for depmode in $am_compiler_list; do
13407     # Setup a source with many dependencies, because some compilers
13408     # like to wrap large dependency lists on column 80 (with \), and
13409     # we should not choose a depcomp mode which is confused by this.
13410     #
13411     # We need to recreate these files for each test, as the compiler may
13412     # overwrite some of them when testing with obscure command lines.
13413     # This happens at least with the AIX C compiler.
13414     : > sub/conftest.c
13415     for i in 1 2 3 4 5 6; do
13416       echo '#include "conftst'$i'.h"' >> sub/conftest.c
13417       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13418       # Solaris 8's {/usr,}/bin/sh.
13419       touch sub/conftst$i.h
13420     done
13421     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13422
13423     # We check with `-c' and `-o' for the sake of the "dashmstdout"
13424     # mode.  It turns out that the SunPro C++ compiler does not properly
13425     # handle `-M -o', and we need to detect this.  Also, some Intel
13426     # versions had trouble with output in subdirs
13427     am__obj=sub/conftest.${OBJEXT-o}
13428     am__minus_obj="-o $am__obj"
13429     case $depmode in
13430     gcc)
13431       # This depmode causes a compiler race in universal mode.
13432       test "$am__universal" = false || continue
13433       ;;
13434     nosideeffect)
13435       # after this tag, mechanisms are not by side-effect, so they'll
13436       # only be used when explicitly requested
13437       if test "x$enable_dependency_tracking" = xyes; then
13438         continue
13439       else
13440         break
13441       fi
13442       ;;
13443     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13444       # This compiler won't grok `-c -o', but also, the minuso test has
13445       # not run yet.  These depmodes are late enough in the game, and
13446       # so weak that their functioning should not be impacted.
13447       am__obj=conftest.${OBJEXT-o}
13448       am__minus_obj=
13449       ;;
13450     none) break ;;
13451     esac
13452     if depmode=$depmode \
13453        source=sub/conftest.c object=$am__obj \
13454        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13455        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13456          >/dev/null 2>conftest.err &&
13457        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13458        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13459        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13460        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13461       # icc doesn't choke on unknown options, it will just issue warnings
13462       # or remarks (even with -Werror).  So we grep stderr for any message
13463       # that says an option was ignored or not supported.
13464       # When given -MP, icc 7.0 and 7.1 complain thusly:
13465       #   icc: Command line warning: ignoring option '-M'; no argument required
13466       # The diagnosis changed in icc 8.0:
13467       #   icc: Command line remark: option '-MP' not supported
13468       if (grep 'ignoring option' conftest.err ||
13469           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13470         am_cv_OBJC_dependencies_compiler_type=$depmode
13471         break
13472       fi
13473     fi
13474   done
13475
13476   cd ..
13477   rm -rf conftest.dir
13478 else
13479   am_cv_OBJC_dependencies_compiler_type=none
13480 fi
13481
13482 fi
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
13484 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
13485 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
13486
13487  if
13488   test "x$enable_dependency_tracking" != xno \
13489   && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
13490   am__fastdepOBJC_TRUE=
13491   am__fastdepOBJC_FALSE='#'
13492 else
13493   am__fastdepOBJC_TRUE='#'
13494   am__fastdepOBJC_FALSE=
13495 fi
13496
13497
13498
13499 depcc="$OBJC" am_compiler_list='gcc3 gcc'
13500
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13502 $as_echo_n "checking dependency style of $depcc... " >&6; }
13503 if ${am_cv_OBJC_dependencies_compiler_type+:} false; then :
13504   $as_echo_n "(cached) " >&6
13505 else
13506   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13507   # We make a subdir and do the tests there.  Otherwise we can end up
13508   # making bogus files that we don't know about and never remove.  For
13509   # instance it was reported that on HP-UX the gcc test will end up
13510   # making a dummy file named `D' -- because `-MD' means `put the output
13511   # in D'.
13512   rm -rf conftest.dir
13513   mkdir conftest.dir
13514   # Copy depcomp to subdir because otherwise we won't find it if we're
13515   # using a relative directory.
13516   cp "$am_depcomp" conftest.dir
13517   cd conftest.dir
13518   # We will build objects and dependencies in a subdirectory because
13519   # it helps to detect inapplicable dependency modes.  For instance
13520   # both Tru64's cc and ICC support -MD to output dependencies as a
13521   # side effect of compilation, but ICC will put the dependencies in
13522   # the current directory while Tru64 will put them in the object
13523   # directory.
13524   mkdir sub
13525
13526   am_cv_OBJC_dependencies_compiler_type=none
13527   if test "$am_compiler_list" = ""; then
13528      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13529   fi
13530   am__universal=false
13531
13532
13533   for depmode in $am_compiler_list; do
13534     # Setup a source with many dependencies, because some compilers
13535     # like to wrap large dependency lists on column 80 (with \), and
13536     # we should not choose a depcomp mode which is confused by this.
13537     #
13538     # We need to recreate these files for each test, as the compiler may
13539     # overwrite some of them when testing with obscure command lines.
13540     # This happens at least with the AIX C compiler.
13541     : > sub/conftest.c
13542     for i in 1 2 3 4 5 6; do
13543       echo '#include "conftst'$i'.h"' >> sub/conftest.c
13544       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13545       # Solaris 8's {/usr,}/bin/sh.
13546       touch sub/conftst$i.h
13547     done
13548     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13549
13550     # We check with `-c' and `-o' for the sake of the "dashmstdout"
13551     # mode.  It turns out that the SunPro C++ compiler does not properly
13552     # handle `-M -o', and we need to detect this.  Also, some Intel
13553     # versions had trouble with output in subdirs
13554     am__obj=sub/conftest.${OBJEXT-o}
13555     am__minus_obj="-o $am__obj"
13556     case $depmode in
13557     gcc)
13558       # This depmode causes a compiler race in universal mode.
13559       test "$am__universal" = false || continue
13560       ;;
13561     nosideeffect)
13562       # after this tag, mechanisms are not by side-effect, so they'll
13563       # only be used when explicitly requested
13564       if test "x$enable_dependency_tracking" = xyes; then
13565         continue
13566       else
13567         break
13568       fi
13569       ;;
13570     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13571       # This compiler won't grok `-c -o', but also, the minuso test has
13572       # not run yet.  These depmodes are late enough in the game, and
13573       # so weak that their functioning should not be impacted.
13574       am__obj=conftest.${OBJEXT-o}
13575       am__minus_obj=
13576       ;;
13577     none) break ;;
13578     esac
13579     if depmode=$depmode \
13580        source=sub/conftest.c object=$am__obj \
13581        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13582        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13583          >/dev/null 2>conftest.err &&
13584        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13585        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13586        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13587        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13588       # icc doesn't choke on unknown options, it will just issue warnings
13589       # or remarks (even with -Werror).  So we grep stderr for any message
13590       # that says an option was ignored or not supported.
13591       # When given -MP, icc 7.0 and 7.1 complain thusly:
13592       #   icc: Command line warning: ignoring option '-M'; no argument required
13593       # The diagnosis changed in icc 8.0:
13594       #   icc: Command line remark: option '-MP' not supported
13595       if (grep 'ignoring option' conftest.err ||
13596           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13597         am_cv_OBJC_dependencies_compiler_type=$depmode
13598         break
13599       fi
13600     fi
13601   done
13602
13603   cd ..
13604   rm -rf conftest.dir
13605 else
13606   am_cv_OBJC_dependencies_compiler_type=none
13607 fi
13608
13609 fi
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
13611 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
13612 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
13613
13614  if
13615   test "x$enable_dependency_tracking" != xno \
13616   && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
13617   am__fastdepOBJC_TRUE=
13618   am__fastdepOBJC_FALSE='#'
13619 else
13620   am__fastdepOBJC_TRUE='#'
13621   am__fastdepOBJC_FALSE=
13622 fi
13623
13624
13625
13626
13627
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the Objective C compiler works" >&5
13629 $as_echo_n "checking whether the Objective C compiler works... " >&6; }
13630 if ${rw_cv_prog_objc_works+:} false; then :
13631   $as_echo_n "(cached) " >&6
13632 else
13633   ac_ext=m
13634 ac_cpp='$OBJCPP $CPPFLAGS'
13635 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13636 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13637 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
13638
13639                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13640 /* end confdefs.h.  */
13641
13642 int
13643 main ()
13644 {
13645
13646   ;
13647   return 0;
13648 }
13649 _ACEOF
13650 if ac_fn_objc_try_link "$LINENO"; then :
13651   rw_cv_prog_objc_works=yes
13652 else
13653   rw_cv_prog_objc_works=no
13654 fi
13655 rm -f core conftest.err conftest.$ac_objext \
13656     conftest$ac_exeext conftest.$ac_ext
13657                 ac_ext=c
13658 ac_cpp='$CPP $CPPFLAGS'
13659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13662
13663 fi
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rw_cv_prog_objc_works" >&5
13665 $as_echo "$rw_cv_prog_objc_works" >&6; }
13666
13667
13668 ac_ext=cpp
13669 ac_cpp='$CXXCPP $CPPFLAGS'
13670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13673 if test -z "$CXX"; then
13674   if test -n "$CCC"; then
13675     CXX=$CCC
13676   else
13677     if test -n "$ac_tool_prefix"; then
13678   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13679   do
13680     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13681 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13683 $as_echo_n "checking for $ac_word... " >&6; }
13684 if ${ac_cv_prog_CXX+:} false; then :
13685   $as_echo_n "(cached) " >&6
13686 else
13687   if test -n "$CXX"; then
13688   ac_cv_prog_CXX="$CXX" # Let the user override the test.
13689 else
13690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13691 for as_dir in $PATH
13692 do
13693   IFS=$as_save_IFS
13694   test -z "$as_dir" && as_dir=.
13695     for ac_exec_ext in '' $ac_executable_extensions; do
13696   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13697     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13698     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13699     break 2
13700   fi
13701 done
13702   done
13703 IFS=$as_save_IFS
13704
13705 fi
13706 fi
13707 CXX=$ac_cv_prog_CXX
13708 if test -n "$CXX"; then
13709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13710 $as_echo "$CXX" >&6; }
13711 else
13712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13713 $as_echo "no" >&6; }
13714 fi
13715
13716
13717     test -n "$CXX" && break
13718   done
13719 fi
13720 if test -z "$CXX"; then
13721   ac_ct_CXX=$CXX
13722   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13723 do
13724   # Extract the first word of "$ac_prog", so it can be a program name with args.
13725 set dummy $ac_prog; ac_word=$2
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13727 $as_echo_n "checking for $ac_word... " >&6; }
13728 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
13729   $as_echo_n "(cached) " >&6
13730 else
13731   if test -n "$ac_ct_CXX"; then
13732   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13733 else
13734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13735 for as_dir in $PATH
13736 do
13737   IFS=$as_save_IFS
13738   test -z "$as_dir" && as_dir=.
13739     for ac_exec_ext in '' $ac_executable_extensions; do
13740   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13741     ac_cv_prog_ac_ct_CXX="$ac_prog"
13742     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13743     break 2
13744   fi
13745 done
13746   done
13747 IFS=$as_save_IFS
13748
13749 fi
13750 fi
13751 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13752 if test -n "$ac_ct_CXX"; then
13753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13754 $as_echo "$ac_ct_CXX" >&6; }
13755 else
13756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13757 $as_echo "no" >&6; }
13758 fi
13759
13760
13761   test -n "$ac_ct_CXX" && break
13762 done
13763
13764   if test "x$ac_ct_CXX" = x; then
13765     CXX="g++"
13766   else
13767     case $cross_compiling:$ac_tool_warned in
13768 yes:)
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13770 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13771 ac_tool_warned=yes ;;
13772 esac
13773     CXX=$ac_ct_CXX
13774   fi
13775 fi
13776
13777   fi
13778 fi
13779 # Provide some information about the compiler.
13780 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13781 set X $ac_compile
13782 ac_compiler=$2
13783 for ac_option in --version -v -V -qversion; do
13784   { { ac_try="$ac_compiler $ac_option >&5"
13785 case "(($ac_try" in
13786   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13787   *) ac_try_echo=$ac_try;;
13788 esac
13789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13790 $as_echo "$ac_try_echo"; } >&5
13791   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13792   ac_status=$?
13793   if test -s conftest.err; then
13794     sed '10a\
13795 ... rest of stderr output deleted ...
13796          10q' conftest.err >conftest.er1
13797     cat conftest.er1 >&5
13798   fi
13799   rm -f conftest.er1 conftest.err
13800   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13801   test $ac_status = 0; }
13802 done
13803
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13805 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13806 if ${ac_cv_cxx_compiler_gnu+:} false; then :
13807   $as_echo_n "(cached) " >&6
13808 else
13809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13810 /* end confdefs.h.  */
13811
13812 int
13813 main ()
13814 {
13815 #ifndef __GNUC__
13816        choke me
13817 #endif
13818
13819   ;
13820   return 0;
13821 }
13822 _ACEOF
13823 if ac_fn_cxx_try_compile "$LINENO"; then :
13824   ac_compiler_gnu=yes
13825 else
13826   ac_compiler_gnu=no
13827 fi
13828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13829 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13830
13831 fi
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13833 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13834 if test $ac_compiler_gnu = yes; then
13835   GXX=yes
13836 else
13837   GXX=
13838 fi
13839 ac_test_CXXFLAGS=${CXXFLAGS+set}
13840 ac_save_CXXFLAGS=$CXXFLAGS
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13842 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13843 if ${ac_cv_prog_cxx_g+:} false; then :
13844   $as_echo_n "(cached) " >&6
13845 else
13846   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13847    ac_cxx_werror_flag=yes
13848    ac_cv_prog_cxx_g=no
13849    CXXFLAGS="-g"
13850    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13851 /* end confdefs.h.  */
13852
13853 int
13854 main ()
13855 {
13856
13857   ;
13858   return 0;
13859 }
13860 _ACEOF
13861 if ac_fn_cxx_try_compile "$LINENO"; then :
13862   ac_cv_prog_cxx_g=yes
13863 else
13864   CXXFLAGS=""
13865       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13866 /* end confdefs.h.  */
13867
13868 int
13869 main ()
13870 {
13871
13872   ;
13873   return 0;
13874 }
13875 _ACEOF
13876 if ac_fn_cxx_try_compile "$LINENO"; then :
13877
13878 else
13879   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13880          CXXFLAGS="-g"
13881          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13882 /* end confdefs.h.  */
13883
13884 int
13885 main ()
13886 {
13887
13888   ;
13889   return 0;
13890 }
13891 _ACEOF
13892 if ac_fn_cxx_try_compile "$LINENO"; then :
13893   ac_cv_prog_cxx_g=yes
13894 fi
13895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13896 fi
13897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13898 fi
13899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13900    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13901 fi
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13903 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13904 if test "$ac_test_CXXFLAGS" = set; then
13905   CXXFLAGS=$ac_save_CXXFLAGS
13906 elif test $ac_cv_prog_cxx_g = yes; then
13907   if test "$GXX" = yes; then
13908     CXXFLAGS="-g -O2"
13909   else
13910     CXXFLAGS="-g"
13911   fi
13912 else
13913   if test "$GXX" = yes; then
13914     CXXFLAGS="-O2"
13915   else
13916     CXXFLAGS=
13917   fi
13918 fi
13919 ac_ext=c
13920 ac_cpp='$CPP $CPPFLAGS'
13921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13924
13925 depcc="$CXX"  am_compiler_list=
13926
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13928 $as_echo_n "checking dependency style of $depcc... " >&6; }
13929 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
13930   $as_echo_n "(cached) " >&6
13931 else
13932   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13933   # We make a subdir and do the tests there.  Otherwise we can end up
13934   # making bogus files that we don't know about and never remove.  For
13935   # instance it was reported that on HP-UX the gcc test will end up
13936   # making a dummy file named `D' -- because `-MD' means `put the output
13937   # in D'.
13938   rm -rf conftest.dir
13939   mkdir conftest.dir
13940   # Copy depcomp to subdir because otherwise we won't find it if we're
13941   # using a relative directory.
13942   cp "$am_depcomp" conftest.dir
13943   cd conftest.dir
13944   # We will build objects and dependencies in a subdirectory because
13945   # it helps to detect inapplicable dependency modes.  For instance
13946   # both Tru64's cc and ICC support -MD to output dependencies as a
13947   # side effect of compilation, but ICC will put the dependencies in
13948   # the current directory while Tru64 will put them in the object
13949   # directory.
13950   mkdir sub
13951
13952   am_cv_CXX_dependencies_compiler_type=none
13953   if test "$am_compiler_list" = ""; then
13954      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13955   fi
13956   am__universal=false
13957   case " $depcc " in #(
13958      *\ -arch\ *\ -arch\ *) am__universal=true ;;
13959      esac
13960
13961   for depmode in $am_compiler_list; do
13962     # Setup a source with many dependencies, because some compilers
13963     # like to wrap large dependency lists on column 80 (with \), and
13964     # we should not choose a depcomp mode which is confused by this.
13965     #
13966     # We need to recreate these files for each test, as the compiler may
13967     # overwrite some of them when testing with obscure command lines.
13968     # This happens at least with the AIX C compiler.
13969     : > sub/conftest.c
13970     for i in 1 2 3 4 5 6; do
13971       echo '#include "conftst'$i'.h"' >> sub/conftest.c
13972       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13973       # Solaris 8's {/usr,}/bin/sh.
13974       touch sub/conftst$i.h
13975     done
13976     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13977
13978     # We check with `-c' and `-o' for the sake of the "dashmstdout"
13979     # mode.  It turns out that the SunPro C++ compiler does not properly
13980     # handle `-M -o', and we need to detect this.  Also, some Intel
13981     # versions had trouble with output in subdirs
13982     am__obj=sub/conftest.${OBJEXT-o}
13983     am__minus_obj="-o $am__obj"
13984     case $depmode in
13985     gcc)
13986       # This depmode causes a compiler race in universal mode.
13987       test "$am__universal" = false || continue
13988       ;;
13989     nosideeffect)
13990       # after this tag, mechanisms are not by side-effect, so they'll
13991       # only be used when explicitly requested
13992       if test "x$enable_dependency_tracking" = xyes; then
13993         continue
13994       else
13995         break
13996       fi
13997       ;;
13998     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13999       # This compiler won't grok `-c -o', but also, the minuso test has
14000       # not run yet.  These depmodes are late enough in the game, and
14001       # so weak that their functioning should not be impacted.
14002       am__obj=conftest.${OBJEXT-o}
14003       am__minus_obj=
14004       ;;
14005     none) break ;;
14006     esac
14007     if depmode=$depmode \
14008        source=sub/conftest.c object=$am__obj \
14009        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14010        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14011          >/dev/null 2>conftest.err &&
14012        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14013        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14014        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14015        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14016       # icc doesn't choke on unknown options, it will just issue warnings
14017       # or remarks (even with -Werror).  So we grep stderr for any message
14018       # that says an option was ignored or not supported.
14019       # When given -MP, icc 7.0 and 7.1 complain thusly:
14020       #   icc: Command line warning: ignoring option '-M'; no argument required
14021       # The diagnosis changed in icc 8.0:
14022       #   icc: Command line remark: option '-MP' not supported
14023       if (grep 'ignoring option' conftest.err ||
14024           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14025         am_cv_CXX_dependencies_compiler_type=$depmode
14026         break
14027       fi
14028     fi
14029   done
14030
14031   cd ..
14032   rm -rf conftest.dir
14033 else
14034   am_cv_CXX_dependencies_compiler_type=none
14035 fi
14036
14037 fi
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
14039 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
14040 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
14041
14042  if
14043   test "x$enable_dependency_tracking" != xno \
14044   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
14045   am__fastdepCXX_TRUE=
14046   am__fastdepCXX_FALSE='#'
14047 else
14048   am__fastdepCXX_TRUE='#'
14049   am__fastdepCXX_FALSE=
14050 fi
14051
14052
14053
14054
14055 func_stripname_cnf ()
14056 {
14057   case ${2} in
14058   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14059   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14060   esac
14061 } # func_stripname_cnf
14062
14063       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14064     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14065     (test "X$CXX" != "Xg++"))) ; then
14066   ac_ext=cpp
14067 ac_cpp='$CXXCPP $CPPFLAGS'
14068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14072 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14073 if test -z "$CXXCPP"; then
14074   if ${ac_cv_prog_CXXCPP+:} false; then :
14075   $as_echo_n "(cached) " >&6
14076 else
14077       # Double quotes because CXXCPP needs to be expanded
14078     for CXXCPP in "$CXX -E" "/lib/cpp"
14079     do
14080       ac_preproc_ok=false
14081 for ac_cxx_preproc_warn_flag in '' yes
14082 do
14083   # Use a header file that comes with gcc, so configuring glibc
14084   # with a fresh cross-compiler works.
14085   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14086   # <limits.h> exists even on freestanding compilers.
14087   # On the NeXT, cc -E runs the code through the compiler's parser,
14088   # not just through cpp. "Syntax error" is here to catch this case.
14089   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14090 /* end confdefs.h.  */
14091 #ifdef __STDC__
14092 # include <limits.h>
14093 #else
14094 # include <assert.h>
14095 #endif
14096                      Syntax error
14097 _ACEOF
14098 if ac_fn_cxx_try_cpp "$LINENO"; then :
14099
14100 else
14101   # Broken: fails on valid input.
14102 continue
14103 fi
14104 rm -f conftest.err conftest.i conftest.$ac_ext
14105
14106   # OK, works on sane cases.  Now check whether nonexistent headers
14107   # can be detected and how.
14108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14109 /* end confdefs.h.  */
14110 #include <ac_nonexistent.h>
14111 _ACEOF
14112 if ac_fn_cxx_try_cpp "$LINENO"; then :
14113   # Broken: success on invalid input.
14114 continue
14115 else
14116   # Passes both tests.
14117 ac_preproc_ok=:
14118 break
14119 fi
14120 rm -f conftest.err conftest.i conftest.$ac_ext
14121
14122 done
14123 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14124 rm -f conftest.i conftest.err conftest.$ac_ext
14125 if $ac_preproc_ok; then :
14126   break
14127 fi
14128
14129     done
14130     ac_cv_prog_CXXCPP=$CXXCPP
14131
14132 fi
14133   CXXCPP=$ac_cv_prog_CXXCPP
14134 else
14135   ac_cv_prog_CXXCPP=$CXXCPP
14136 fi
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14138 $as_echo "$CXXCPP" >&6; }
14139 ac_preproc_ok=false
14140 for ac_cxx_preproc_warn_flag in '' yes
14141 do
14142   # Use a header file that comes with gcc, so configuring glibc
14143   # with a fresh cross-compiler works.
14144   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14145   # <limits.h> exists even on freestanding compilers.
14146   # On the NeXT, cc -E runs the code through the compiler's parser,
14147   # not just through cpp. "Syntax error" is here to catch this case.
14148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14149 /* end confdefs.h.  */
14150 #ifdef __STDC__
14151 # include <limits.h>
14152 #else
14153 # include <assert.h>
14154 #endif
14155                      Syntax error
14156 _ACEOF
14157 if ac_fn_cxx_try_cpp "$LINENO"; then :
14158
14159 else
14160   # Broken: fails on valid input.
14161 continue
14162 fi
14163 rm -f conftest.err conftest.i conftest.$ac_ext
14164
14165   # OK, works on sane cases.  Now check whether nonexistent headers
14166   # can be detected and how.
14167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14168 /* end confdefs.h.  */
14169 #include <ac_nonexistent.h>
14170 _ACEOF
14171 if ac_fn_cxx_try_cpp "$LINENO"; then :
14172   # Broken: success on invalid input.
14173 continue
14174 else
14175   # Passes both tests.
14176 ac_preproc_ok=:
14177 break
14178 fi
14179 rm -f conftest.err conftest.i conftest.$ac_ext
14180
14181 done
14182 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14183 rm -f conftest.i conftest.err conftest.$ac_ext
14184 if $ac_preproc_ok; then :
14185
14186 else
14187   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14189 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14190 See \`config.log' for more details" "$LINENO" 5; }
14191 fi
14192
14193 ac_ext=c
14194 ac_cpp='$CPP $CPPFLAGS'
14195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14198
14199 else
14200   _lt_caught_CXX_error=yes
14201 fi
14202
14203 ac_ext=cpp
14204 ac_cpp='$CXXCPP $CPPFLAGS'
14205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14208
14209 archive_cmds_need_lc_CXX=no
14210 allow_undefined_flag_CXX=
14211 always_export_symbols_CXX=no
14212 archive_expsym_cmds_CXX=
14213 compiler_needs_object_CXX=no
14214 export_dynamic_flag_spec_CXX=
14215 hardcode_direct_CXX=no
14216 hardcode_direct_absolute_CXX=no
14217 hardcode_libdir_flag_spec_CXX=
14218 hardcode_libdir_separator_CXX=
14219 hardcode_minus_L_CXX=no
14220 hardcode_shlibpath_var_CXX=unsupported
14221 hardcode_automatic_CXX=no
14222 inherit_rpath_CXX=no
14223 module_cmds_CXX=
14224 module_expsym_cmds_CXX=
14225 link_all_deplibs_CXX=unknown
14226 old_archive_cmds_CXX=$old_archive_cmds
14227 reload_flag_CXX=$reload_flag
14228 reload_cmds_CXX=$reload_cmds
14229 no_undefined_flag_CXX=
14230 whole_archive_flag_spec_CXX=
14231 enable_shared_with_static_runtimes_CXX=no
14232
14233 # Source file extension for C++ test sources.
14234 ac_ext=cpp
14235
14236 # Object file extension for compiled C++ test sources.
14237 objext=o
14238 objext_CXX=$objext
14239
14240 # No sense in running all these tests if we already determined that
14241 # the CXX compiler isn't working.  Some variables (like enable_shared)
14242 # are currently assumed to apply to all compilers on this platform,
14243 # and will be corrupted by setting them based on a non-working compiler.
14244 if test "$_lt_caught_CXX_error" != yes; then
14245   # Code to be used in simple compile tests
14246   lt_simple_compile_test_code="int some_variable = 0;"
14247
14248   # Code to be used in simple link tests
14249   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14250
14251   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14252
14253
14254
14255
14256
14257
14258 # If no C compiler was specified, use CC.
14259 LTCC=${LTCC-"$CC"}
14260
14261 # If no C compiler flags were specified, use CFLAGS.
14262 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14263
14264 # Allow CC to be a program name with arguments.
14265 compiler=$CC
14266
14267
14268   # save warnings/boilerplate of simple test code
14269   ac_outfile=conftest.$ac_objext
14270 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14271 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14272 _lt_compiler_boilerplate=`cat conftest.err`
14273 $RM conftest*
14274
14275   ac_outfile=conftest.$ac_objext
14276 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14277 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14278 _lt_linker_boilerplate=`cat conftest.err`
14279 $RM -r conftest*
14280
14281
14282   # Allow CC to be a program name with arguments.
14283   lt_save_CC=$CC
14284   lt_save_CFLAGS=$CFLAGS
14285   lt_save_LD=$LD
14286   lt_save_GCC=$GCC
14287   GCC=$GXX
14288   lt_save_with_gnu_ld=$with_gnu_ld
14289   lt_save_path_LD=$lt_cv_path_LD
14290   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14291     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14292   else
14293     $as_unset lt_cv_prog_gnu_ld
14294   fi
14295   if test -n "${lt_cv_path_LDCXX+set}"; then
14296     lt_cv_path_LD=$lt_cv_path_LDCXX
14297   else
14298     $as_unset lt_cv_path_LD
14299   fi
14300   test -z "${LDCXX+set}" || LD=$LDCXX
14301   CC=${CXX-"c++"}
14302   CFLAGS=$CXXFLAGS
14303   compiler=$CC
14304   compiler_CXX=$CC
14305   for cc_temp in $compiler""; do
14306   case $cc_temp in
14307     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14308     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14309     \-*) ;;
14310     *) break;;
14311   esac
14312 done
14313 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14314
14315
14316   if test -n "$compiler"; then
14317     # We don't want -fno-exception when compiling C++ code, so set the
14318     # no_builtin_flag separately
14319     if test "$GXX" = yes; then
14320       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14321     else
14322       lt_prog_compiler_no_builtin_flag_CXX=
14323     fi
14324
14325     if test "$GXX" = yes; then
14326       # Set up default GNU C++ configuration
14327
14328
14329
14330 # Check whether --with-gnu-ld was given.
14331 if test "${with_gnu_ld+set}" = set; then :
14332   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14333 else
14334   with_gnu_ld=no
14335 fi
14336
14337 ac_prog=ld
14338 if test "$GCC" = yes; then
14339   # Check if gcc -print-prog-name=ld gives a path.
14340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14341 $as_echo_n "checking for ld used by $CC... " >&6; }
14342   case $host in
14343   *-*-mingw*)
14344     # gcc leaves a trailing carriage return which upsets mingw
14345     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14346   *)
14347     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14348   esac
14349   case $ac_prog in
14350     # Accept absolute paths.
14351     [\\/]* | ?:[\\/]*)
14352       re_direlt='/[^/][^/]*/\.\./'
14353       # Canonicalize the pathname of ld
14354       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14355       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14356         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14357       done
14358       test -z "$LD" && LD="$ac_prog"
14359       ;;
14360   "")
14361     # If it fails, then pretend we aren't using GCC.
14362     ac_prog=ld
14363     ;;
14364   *)
14365     # If it is relative, then search for the first ld in PATH.
14366     with_gnu_ld=unknown
14367     ;;
14368   esac
14369 elif test "$with_gnu_ld" = yes; then
14370   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14371 $as_echo_n "checking for GNU ld... " >&6; }
14372 else
14373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14374 $as_echo_n "checking for non-GNU ld... " >&6; }
14375 fi
14376 if ${lt_cv_path_LD+:} false; then :
14377   $as_echo_n "(cached) " >&6
14378 else
14379   if test -z "$LD"; then
14380   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14381   for ac_dir in $PATH; do
14382     IFS="$lt_save_ifs"
14383     test -z "$ac_dir" && ac_dir=.
14384     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14385       lt_cv_path_LD="$ac_dir/$ac_prog"
14386       # Check to see if the program is GNU ld.  I'd rather use --version,
14387       # but apparently some variants of GNU ld only accept -v.
14388       # Break only if it was the GNU/non-GNU ld that we prefer.
14389       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14390       *GNU* | *'with BFD'*)
14391         test "$with_gnu_ld" != no && break
14392         ;;
14393       *)
14394         test "$with_gnu_ld" != yes && break
14395         ;;
14396       esac
14397     fi
14398   done
14399   IFS="$lt_save_ifs"
14400 else
14401   lt_cv_path_LD="$LD" # Let the user override the test with a path.
14402 fi
14403 fi
14404
14405 LD="$lt_cv_path_LD"
14406 if test -n "$LD"; then
14407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14408 $as_echo "$LD" >&6; }
14409 else
14410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14411 $as_echo "no" >&6; }
14412 fi
14413 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14415 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14416 if ${lt_cv_prog_gnu_ld+:} false; then :
14417   $as_echo_n "(cached) " >&6
14418 else
14419   # I'd rather use --version here, but apparently some GNU lds only accept -v.
14420 case `$LD -v 2>&1 </dev/null` in
14421 *GNU* | *'with BFD'*)
14422   lt_cv_prog_gnu_ld=yes
14423   ;;
14424 *)
14425   lt_cv_prog_gnu_ld=no
14426   ;;
14427 esac
14428 fi
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14430 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14431 with_gnu_ld=$lt_cv_prog_gnu_ld
14432
14433
14434
14435
14436
14437
14438
14439       # Check if GNU C++ uses GNU ld as the underlying linker, since the
14440       # archiving commands below assume that GNU ld is being used.
14441       if test "$with_gnu_ld" = yes; then
14442         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14443         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14444
14445         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14446         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14447
14448         # If archive_cmds runs LD, not CC, wlarc should be empty
14449         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14450         #     investigate it a little bit more. (MM)
14451         wlarc='${wl}'
14452
14453         # ancient GNU ld didn't support --whole-archive et. al.
14454         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14455           $GREP 'no-whole-archive' > /dev/null; then
14456           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14457         else
14458           whole_archive_flag_spec_CXX=
14459         fi
14460       else
14461         with_gnu_ld=no
14462         wlarc=
14463
14464         # A generic and very simple default shared library creation
14465         # command for GNU C++ for the case where it uses the native
14466         # linker, instead of GNU ld.  If possible, this setting should
14467         # overridden to take advantage of the native linker features on
14468         # the platform it is being used on.
14469         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14470       fi
14471
14472       # Commands to make compiler produce verbose output that lists
14473       # what "hidden" libraries, object files and flags are used when
14474       # linking a shared library.
14475       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14476
14477     else
14478       GXX=no
14479       with_gnu_ld=no
14480       wlarc=
14481     fi
14482
14483     # PORTME: fill in a description of your system's C++ link characteristics
14484     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14485 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14486     ld_shlibs_CXX=yes
14487     case $host_os in
14488       aix3*)
14489         # FIXME: insert proper C++ library support
14490         ld_shlibs_CXX=no
14491         ;;
14492       aix[4-9]*)
14493         if test "$host_cpu" = ia64; then
14494           # On IA64, the linker does run time linking by default, so we don't
14495           # have to do anything special.
14496           aix_use_runtimelinking=no
14497           exp_sym_flag='-Bexport'
14498           no_entry_flag=""
14499         else
14500           aix_use_runtimelinking=no
14501
14502           # Test if we are trying to use run time linking or normal
14503           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14504           # need to do runtime linking.
14505           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14506             for ld_flag in $LDFLAGS; do
14507               case $ld_flag in
14508               *-brtl*)
14509                 aix_use_runtimelinking=yes
14510                 break
14511                 ;;
14512               esac
14513             done
14514             ;;
14515           esac
14516
14517           exp_sym_flag='-bexport'
14518           no_entry_flag='-bnoentry'
14519         fi
14520
14521         # When large executables or shared objects are built, AIX ld can
14522         # have problems creating the table of contents.  If linking a library
14523         # or program results in "error TOC overflow" add -mminimal-toc to
14524         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14525         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14526
14527         archive_cmds_CXX=''
14528         hardcode_direct_CXX=yes
14529         hardcode_direct_absolute_CXX=yes
14530         hardcode_libdir_separator_CXX=':'
14531         link_all_deplibs_CXX=yes
14532         file_list_spec_CXX='${wl}-f,'
14533
14534         if test "$GXX" = yes; then
14535           case $host_os in aix4.[012]|aix4.[012].*)
14536           # We only want to do this on AIX 4.2 and lower, the check
14537           # below for broken collect2 doesn't work under 4.3+
14538           collect2name=`${CC} -print-prog-name=collect2`
14539           if test -f "$collect2name" &&
14540              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14541           then
14542             # We have reworked collect2
14543             :
14544           else
14545             # We have old collect2
14546             hardcode_direct_CXX=unsupported
14547             # It fails to find uninstalled libraries when the uninstalled
14548             # path is not listed in the libpath.  Setting hardcode_minus_L
14549             # to unsupported forces relinking
14550             hardcode_minus_L_CXX=yes
14551             hardcode_libdir_flag_spec_CXX='-L$libdir'
14552             hardcode_libdir_separator_CXX=
14553           fi
14554           esac
14555           shared_flag='-shared'
14556           if test "$aix_use_runtimelinking" = yes; then
14557             shared_flag="$shared_flag "'${wl}-G'
14558           fi
14559         else
14560           # not using gcc
14561           if test "$host_cpu" = ia64; then
14562           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14563           # chokes on -Wl,-G. The following line is correct:
14564           shared_flag='-G'
14565           else
14566             if test "$aix_use_runtimelinking" = yes; then
14567               shared_flag='${wl}-G'
14568             else
14569               shared_flag='${wl}-bM:SRE'
14570             fi
14571           fi
14572         fi
14573
14574         export_dynamic_flag_spec_CXX='${wl}-bexpall'
14575         # It seems that -bexpall does not export symbols beginning with
14576         # underscore (_), so it is better to generate a list of symbols to
14577         # export.
14578         always_export_symbols_CXX=yes
14579         if test "$aix_use_runtimelinking" = yes; then
14580           # Warning - without using the other runtime loading flags (-brtl),
14581           # -berok will link without error, but may produce a broken library.
14582           allow_undefined_flag_CXX='-berok'
14583           # Determine the default libpath from the value encoded in an empty
14584           # executable.
14585           if test "${lt_cv_aix_libpath+set}" = set; then
14586   aix_libpath=$lt_cv_aix_libpath
14587 else
14588   if ${lt_cv_aix_libpath__CXX+:} false; then :
14589   $as_echo_n "(cached) " >&6
14590 else
14591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14592 /* end confdefs.h.  */
14593
14594 int
14595 main ()
14596 {
14597
14598   ;
14599   return 0;
14600 }
14601 _ACEOF
14602 if ac_fn_cxx_try_link "$LINENO"; then :
14603
14604   lt_aix_libpath_sed='
14605       /Import File Strings/,/^$/ {
14606           /^0/ {
14607               s/^0  *\([^ ]*\) *$/\1/
14608               p
14609           }
14610       }'
14611   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14612   # Check for a 64-bit object if we didn't find anything.
14613   if test -z "$lt_cv_aix_libpath__CXX"; then
14614     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14615   fi
14616 fi
14617 rm -f core conftest.err conftest.$ac_objext \
14618     conftest$ac_exeext conftest.$ac_ext
14619   if test -z "$lt_cv_aix_libpath__CXX"; then
14620     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14621   fi
14622
14623 fi
14624
14625   aix_libpath=$lt_cv_aix_libpath__CXX
14626 fi
14627
14628           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14629
14630           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14631         else
14632           if test "$host_cpu" = ia64; then
14633             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14634             allow_undefined_flag_CXX="-z nodefs"
14635             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
14636           else
14637             # Determine the default libpath from the value encoded in an
14638             # empty executable.
14639             if test "${lt_cv_aix_libpath+set}" = set; then
14640   aix_libpath=$lt_cv_aix_libpath
14641 else
14642   if ${lt_cv_aix_libpath__CXX+:} false; then :
14643   $as_echo_n "(cached) " >&6
14644 else
14645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14646 /* end confdefs.h.  */
14647
14648 int
14649 main ()
14650 {
14651
14652   ;
14653   return 0;
14654 }
14655 _ACEOF
14656 if ac_fn_cxx_try_link "$LINENO"; then :
14657
14658   lt_aix_libpath_sed='
14659       /Import File Strings/,/^$/ {
14660           /^0/ {
14661               s/^0  *\([^ ]*\) *$/\1/
14662               p
14663           }
14664       }'
14665   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14666   # Check for a 64-bit object if we didn't find anything.
14667   if test -z "$lt_cv_aix_libpath__CXX"; then
14668     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14669   fi
14670 fi
14671 rm -f core conftest.err conftest.$ac_objext \
14672     conftest$ac_exeext conftest.$ac_ext
14673   if test -z "$lt_cv_aix_libpath__CXX"; then
14674     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14675   fi
14676
14677 fi
14678
14679   aix_libpath=$lt_cv_aix_libpath__CXX
14680 fi
14681
14682             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14683             # Warning - without using the other run time loading flags,
14684             # -berok will link without error, but may produce a broken library.
14685             no_undefined_flag_CXX=' ${wl}-bernotok'
14686             allow_undefined_flag_CXX=' ${wl}-berok'
14687             if test "$with_gnu_ld" = yes; then
14688               # We only use this code for GNU lds that support --whole-archive.
14689               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14690             else
14691               # Exported symbols can be pulled into shared objects from archives
14692               whole_archive_flag_spec_CXX='$convenience'
14693             fi
14694             archive_cmds_need_lc_CXX=yes
14695             # This is similar to how AIX traditionally builds its shared
14696             # libraries.
14697             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14698           fi
14699         fi
14700         ;;
14701
14702       beos*)
14703         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14704           allow_undefined_flag_CXX=unsupported
14705           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14706           # support --undefined.  This deserves some investigation.  FIXME
14707           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14708         else
14709           ld_shlibs_CXX=no
14710         fi
14711         ;;
14712
14713       chorus*)
14714         case $cc_basename in
14715           *)
14716           # FIXME: insert proper C++ library support
14717           ld_shlibs_CXX=no
14718           ;;
14719         esac
14720         ;;
14721
14722       cygwin* | mingw* | pw32* | cegcc*)
14723         case $GXX,$cc_basename in
14724         ,cl* | no,cl*)
14725           # Native MSVC
14726           # hardcode_libdir_flag_spec is actually meaningless, as there is
14727           # no search path for DLLs.
14728           hardcode_libdir_flag_spec_CXX=' '
14729           allow_undefined_flag_CXX=unsupported
14730           always_export_symbols_CXX=yes
14731           file_list_spec_CXX='@'
14732           # Tell ltmain to make .lib files, not .a files.
14733           libext=lib
14734           # Tell ltmain to make .dll files, not .so files.
14735           shrext_cmds=".dll"
14736           # FIXME: Setting linknames here is a bad hack.
14737           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
14738           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14739               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
14740             else
14741               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
14742             fi~
14743             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14744             linknames='
14745           # The linker will not automatically build a static lib if we build a DLL.
14746           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14747           enable_shared_with_static_runtimes_CXX=yes
14748           # Don't use ranlib
14749           old_postinstall_cmds_CXX='chmod 644 $oldlib'
14750           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14751             lt_tool_outputfile="@TOOL_OUTPUT@"~
14752             case $lt_outputfile in
14753               *.exe|*.EXE) ;;
14754               *)
14755                 lt_outputfile="$lt_outputfile.exe"
14756                 lt_tool_outputfile="$lt_tool_outputfile.exe"
14757                 ;;
14758             esac~
14759             func_to_tool_file "$lt_outputfile"~
14760             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
14761               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14762               $RM "$lt_outputfile.manifest";
14763             fi'
14764           ;;
14765         *)
14766           # g++
14767           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14768           # as there is no search path for DLLs.
14769           hardcode_libdir_flag_spec_CXX='-L$libdir'
14770           export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
14771           allow_undefined_flag_CXX=unsupported
14772           always_export_symbols_CXX=no
14773           enable_shared_with_static_runtimes_CXX=yes
14774
14775           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14776             archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14777             # If the export-symbols file already is a .def file (1st line
14778             # is EXPORTS), use it as is; otherwise, prepend...
14779             archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14780               cp $export_symbols $output_objdir/$soname.def;
14781             else
14782               echo EXPORTS > $output_objdir/$soname.def;
14783               cat $export_symbols >> $output_objdir/$soname.def;
14784             fi~
14785             $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14786           else
14787             ld_shlibs_CXX=no
14788           fi
14789           ;;
14790         esac
14791         ;;
14792       darwin* | rhapsody*)
14793
14794
14795   archive_cmds_need_lc_CXX=no
14796   hardcode_direct_CXX=no
14797   hardcode_automatic_CXX=yes
14798   hardcode_shlibpath_var_CXX=unsupported
14799   if test "$lt_cv_ld_force_load" = "yes"; then
14800     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
14801
14802   else
14803     whole_archive_flag_spec_CXX=''
14804   fi
14805   link_all_deplibs_CXX=yes
14806   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14807   case $cc_basename in
14808      ifort*) _lt_dar_can_shared=yes ;;
14809      *) _lt_dar_can_shared=$GCC ;;
14810   esac
14811   if test "$_lt_dar_can_shared" = "yes"; then
14812     output_verbose_link_cmd=func_echo_all
14813     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
14814     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14815     archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
14816     module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
14817        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14818       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
14819       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
14820     fi
14821
14822   else
14823   ld_shlibs_CXX=no
14824   fi
14825
14826         ;;
14827
14828       dgux*)
14829         case $cc_basename in
14830           ec++*)
14831             # FIXME: insert proper C++ library support
14832             ld_shlibs_CXX=no
14833             ;;
14834           ghcx*)
14835             # Green Hills C++ Compiler
14836             # FIXME: insert proper C++ library support
14837             ld_shlibs_CXX=no
14838             ;;
14839           *)
14840             # FIXME: insert proper C++ library support
14841             ld_shlibs_CXX=no
14842             ;;
14843         esac
14844         ;;
14845
14846       freebsd2.*)
14847         # C++ shared libraries reported to be fairly broken before
14848         # switch to ELF
14849         ld_shlibs_CXX=no
14850         ;;
14851
14852       freebsd-elf*)
14853         archive_cmds_need_lc_CXX=no
14854         ;;
14855
14856       freebsd* | dragonfly*)
14857         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14858         # conventions
14859         ld_shlibs_CXX=yes
14860         ;;
14861
14862       gnu*)
14863         ;;
14864
14865       haiku*)
14866         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14867         link_all_deplibs_CXX=yes
14868         ;;
14869
14870       hpux9*)
14871         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14872         hardcode_libdir_separator_CXX=:
14873         export_dynamic_flag_spec_CXX='${wl}-E'
14874         hardcode_direct_CXX=yes
14875         hardcode_minus_L_CXX=yes # Not in the search PATH,
14876                                              # but as the default
14877                                              # location of the library.
14878
14879         case $cc_basename in
14880           CC*)
14881             # FIXME: insert proper C++ library support
14882             ld_shlibs_CXX=no
14883             ;;
14884           aCC*)
14885             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14886             # Commands to make compiler produce verbose output that lists
14887             # what "hidden" libraries, object files and flags are used when
14888             # linking a shared library.
14889             #
14890             # There doesn't appear to be a way to prevent this compiler from
14891             # explicitly linking system object files so we need to strip them
14892             # from the output so that they don't get included in the library
14893             # dependencies.
14894             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14895             ;;
14896           *)
14897             if test "$GXX" = yes; then
14898               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14899             else
14900               # FIXME: insert proper C++ library support
14901               ld_shlibs_CXX=no
14902             fi
14903             ;;
14904         esac
14905         ;;
14906
14907       hpux10*|hpux11*)
14908         if test $with_gnu_ld = no; then
14909           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14910           hardcode_libdir_separator_CXX=:
14911
14912           case $host_cpu in
14913             hppa*64*|ia64*)
14914               ;;
14915             *)
14916               export_dynamic_flag_spec_CXX='${wl}-E'
14917               ;;
14918           esac
14919         fi
14920         case $host_cpu in
14921           hppa*64*|ia64*)
14922             hardcode_direct_CXX=no
14923             hardcode_shlibpath_var_CXX=no
14924             ;;
14925           *)
14926             hardcode_direct_CXX=yes
14927             hardcode_direct_absolute_CXX=yes
14928             hardcode_minus_L_CXX=yes # Not in the search PATH,
14929                                                  # but as the default
14930                                                  # location of the library.
14931             ;;
14932         esac
14933
14934         case $cc_basename in
14935           CC*)
14936             # FIXME: insert proper C++ library support
14937             ld_shlibs_CXX=no
14938             ;;
14939           aCC*)
14940             case $host_cpu in
14941               hppa*64*)
14942                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14943                 ;;
14944               ia64*)
14945                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14946                 ;;
14947               *)
14948                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14949                 ;;
14950             esac
14951             # Commands to make compiler produce verbose output that lists
14952             # what "hidden" libraries, object files and flags are used when
14953             # linking a shared library.
14954             #
14955             # There doesn't appear to be a way to prevent this compiler from
14956             # explicitly linking system object files so we need to strip them
14957             # from the output so that they don't get included in the library
14958             # dependencies.
14959             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14960             ;;
14961           *)
14962             if test "$GXX" = yes; then
14963               if test $with_gnu_ld = no; then
14964                 case $host_cpu in
14965                   hppa*64*)
14966                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14967                     ;;
14968                   ia64*)
14969                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14970                     ;;
14971                   *)
14972                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14973                     ;;
14974                 esac
14975               fi
14976             else
14977               # FIXME: insert proper C++ library support
14978               ld_shlibs_CXX=no
14979             fi
14980             ;;
14981         esac
14982         ;;
14983
14984       interix[3-9]*)
14985         hardcode_direct_CXX=no
14986         hardcode_shlibpath_var_CXX=no
14987         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14988         export_dynamic_flag_spec_CXX='${wl}-E'
14989         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14990         # Instead, shared libraries are loaded at an image base (0x10000000 by
14991         # default) and relocated if they conflict, which is a slow very memory
14992         # consuming and fragmenting process.  To avoid this, we pick a random,
14993         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14994         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14995         archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14996         archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14997         ;;
14998       irix5* | irix6*)
14999         case $cc_basename in
15000           CC*)
15001             # SGI C++
15002             archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15003
15004             # Archives containing C++ object files must be created using
15005             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
15006             # necessary to make sure instantiated templates are included
15007             # in the archive.
15008             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15009             ;;
15010           *)
15011             if test "$GXX" = yes; then
15012               if test "$with_gnu_ld" = no; then
15013                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15014               else
15015                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
15016               fi
15017             fi
15018             link_all_deplibs_CXX=yes
15019             ;;
15020         esac
15021         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15022         hardcode_libdir_separator_CXX=:
15023         inherit_rpath_CXX=yes
15024         ;;
15025
15026       linux* | k*bsd*-gnu | kopensolaris*-gnu)
15027         case $cc_basename in
15028           KCC*)
15029             # Kuck and Associates, Inc. (KAI) C++ Compiler
15030
15031             # KCC will only create a shared library if the output file
15032             # ends with ".so" (or ".sl" for HP-UX), so rename the library
15033             # to its proper name (with version) after linking.
15034             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
15035             archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
15036             # Commands to make compiler produce verbose output that lists
15037             # what "hidden" libraries, object files and flags are used when
15038             # linking a shared library.
15039             #
15040             # There doesn't appear to be a way to prevent this compiler from
15041             # explicitly linking system object files so we need to strip them
15042             # from the output so that they don't get included in the library
15043             # dependencies.
15044             output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15045
15046             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15047             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15048
15049             # Archives containing C++ object files must be created using
15050             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15051             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15052             ;;
15053           icpc* | ecpc* )
15054             # Intel C++
15055             with_gnu_ld=yes
15056             # version 8.0 and above of icpc choke on multiply defined symbols
15057             # if we add $predep_objects and $postdep_objects, however 7.1 and
15058             # earlier do not add the objects themselves.
15059             case `$CC -V 2>&1` in
15060               *"Version 7."*)
15061                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15062                 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15063                 ;;
15064               *)  # Version 8.0 or newer
15065                 tmp_idyn=
15066                 case $host_cpu in
15067                   ia64*) tmp_idyn=' -i_dynamic';;
15068                 esac
15069                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15070                 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15071                 ;;
15072             esac
15073             archive_cmds_need_lc_CXX=no
15074             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15075             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15076             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15077             ;;
15078           pgCC* | pgcpp*)
15079             # Portland Group C++ compiler
15080             case `$CC -V` in
15081             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15082               prelink_cmds_CXX='tpldir=Template.dir~
15083                 rm -rf $tpldir~
15084                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15085                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15086               old_archive_cmds_CXX='tpldir=Template.dir~
15087                 rm -rf $tpldir~
15088                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15089                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15090                 $RANLIB $oldlib'
15091               archive_cmds_CXX='tpldir=Template.dir~
15092                 rm -rf $tpldir~
15093                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15094                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15095               archive_expsym_cmds_CXX='tpldir=Template.dir~
15096                 rm -rf $tpldir~
15097                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15098                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
15099               ;;
15100             *) # Version 6 and above use weak symbols
15101               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15102               archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
15103               ;;
15104             esac
15105
15106             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15107             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15108             whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
15109             ;;
15110           cxx*)
15111             # Compaq C++
15112             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15113             archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
15114
15115             runpath_var=LD_RUN_PATH
15116             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15117             hardcode_libdir_separator_CXX=:
15118
15119             # Commands to make compiler produce verbose output that lists
15120             # what "hidden" libraries, object files and flags are used when
15121             # linking a shared library.
15122             #
15123             # There doesn't appear to be a way to prevent this compiler from
15124             # explicitly linking system object files so we need to strip them
15125             # from the output so that they don't get included in the library
15126             # dependencies.
15127             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
15128             ;;
15129           xl* | mpixl* | bgxl*)
15130             # IBM XL 8.0 on PPC, with GNU ld
15131             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15132             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15133             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15134             if test "x$supports_anon_versioning" = xyes; then
15135               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15136                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15137                 echo "local: *; };" >> $output_objdir/$libname.ver~
15138                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15139             fi
15140             ;;
15141           *)
15142             case `$CC -V 2>&1 | sed 5q` in
15143             *Sun\ C*)
15144               # Sun C++ 5.9
15145               no_undefined_flag_CXX=' -zdefs'
15146               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15147               archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
15148               hardcode_libdir_flag_spec_CXX='-R$libdir'
15149               whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
15150               compiler_needs_object_CXX=yes
15151
15152               # Not sure whether something based on
15153               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15154               # would be better.
15155               output_verbose_link_cmd='func_echo_all'
15156
15157               # Archives containing C++ object files must be created using
15158               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15159               # necessary to make sure instantiated templates are included
15160               # in the archive.
15161               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15162               ;;
15163             esac
15164             ;;
15165         esac
15166         ;;
15167
15168       lynxos*)
15169         # FIXME: insert proper C++ library support
15170         ld_shlibs_CXX=no
15171         ;;
15172
15173       m88k*)
15174         # FIXME: insert proper C++ library support
15175         ld_shlibs_CXX=no
15176         ;;
15177
15178       mvs*)
15179         case $cc_basename in
15180           cxx*)
15181             # FIXME: insert proper C++ library support
15182             ld_shlibs_CXX=no
15183             ;;
15184           *)
15185             # FIXME: insert proper C++ library support
15186             ld_shlibs_CXX=no
15187             ;;
15188         esac
15189         ;;
15190
15191       netbsd*)
15192         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15193           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15194           wlarc=
15195           hardcode_libdir_flag_spec_CXX='-R$libdir'
15196           hardcode_direct_CXX=yes
15197           hardcode_shlibpath_var_CXX=no
15198         fi
15199         # Workaround some broken pre-1.5 toolchains
15200         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15201         ;;
15202
15203       *nto* | *qnx*)
15204         ld_shlibs_CXX=yes
15205         ;;
15206
15207       openbsd2*)
15208         # C++ shared libraries are fairly broken
15209         ld_shlibs_CXX=no
15210         ;;
15211
15212       openbsd*)
15213         if test -f /usr/libexec/ld.so; then
15214           hardcode_direct_CXX=yes
15215           hardcode_shlibpath_var_CXX=no
15216           hardcode_direct_absolute_CXX=yes
15217           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15218           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15219           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15220             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15221             export_dynamic_flag_spec_CXX='${wl}-E'
15222             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15223           fi
15224           output_verbose_link_cmd=func_echo_all
15225         else
15226           ld_shlibs_CXX=no
15227         fi
15228         ;;
15229
15230       osf3* | osf4* | osf5*)
15231         case $cc_basename in
15232           KCC*)
15233             # Kuck and Associates, Inc. (KAI) C++ Compiler
15234
15235             # KCC will only create a shared library if the output file
15236             # ends with ".so" (or ".sl" for HP-UX), so rename the library
15237             # to its proper name (with version) after linking.
15238             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
15239
15240             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15241             hardcode_libdir_separator_CXX=:
15242
15243             # Archives containing C++ object files must be created using
15244             # the KAI C++ compiler.
15245             case $host in
15246               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15247               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15248             esac
15249             ;;
15250           RCC*)
15251             # Rational C++ 2.4.1
15252             # FIXME: insert proper C++ library support
15253             ld_shlibs_CXX=no
15254             ;;
15255           cxx*)
15256             case $host in
15257               osf3*)
15258                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15259                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15260                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15261                 ;;
15262               *)
15263                 allow_undefined_flag_CXX=' -expect_unresolved \*'
15264                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15265                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15266                   echo "-hidden">> $lib.exp~
15267                   $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
15268                   $RM $lib.exp'
15269                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15270                 ;;
15271             esac
15272
15273             hardcode_libdir_separator_CXX=:
15274
15275             # Commands to make compiler produce verbose output that lists
15276             # what "hidden" libraries, object files and flags are used when
15277             # linking a shared library.
15278             #
15279             # There doesn't appear to be a way to prevent this compiler from
15280             # explicitly linking system object files so we need to strip them
15281             # from the output so that they don't get included in the library
15282             # dependencies.
15283             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15284             ;;
15285           *)
15286             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15287               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15288               case $host in
15289                 osf3*)
15290                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15291                   ;;
15292                 *)
15293                   archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15294                   ;;
15295               esac
15296
15297               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15298               hardcode_libdir_separator_CXX=:
15299
15300               # Commands to make compiler produce verbose output that lists
15301               # what "hidden" libraries, object files and flags are used when
15302               # linking a shared library.
15303               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15304
15305             else
15306               # FIXME: insert proper C++ library support
15307               ld_shlibs_CXX=no
15308             fi
15309             ;;
15310         esac
15311         ;;
15312
15313       psos*)
15314         # FIXME: insert proper C++ library support
15315         ld_shlibs_CXX=no
15316         ;;
15317
15318       sunos4*)
15319         case $cc_basename in
15320           CC*)
15321             # Sun C++ 4.x
15322             # FIXME: insert proper C++ library support
15323             ld_shlibs_CXX=no
15324             ;;
15325           lcc*)
15326             # Lucid
15327             # FIXME: insert proper C++ library support
15328             ld_shlibs_CXX=no
15329             ;;
15330           *)
15331             # FIXME: insert proper C++ library support
15332             ld_shlibs_CXX=no
15333             ;;
15334         esac
15335         ;;
15336
15337       solaris*)
15338         case $cc_basename in
15339           CC* | sunCC*)
15340             # Sun C++ 4.2, 5.x and Centerline C++
15341             archive_cmds_need_lc_CXX=yes
15342             no_undefined_flag_CXX=' -zdefs'
15343             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15344             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15345               $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15346
15347             hardcode_libdir_flag_spec_CXX='-R$libdir'
15348             hardcode_shlibpath_var_CXX=no
15349             case $host_os in
15350               solaris2.[0-5] | solaris2.[0-5].*) ;;
15351               *)
15352                 # The compiler driver will combine and reorder linker options,
15353                 # but understands `-z linker_flag'.
15354                 # Supported since Solaris 2.6 (maybe 2.5.1?)
15355                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15356                 ;;
15357             esac
15358             link_all_deplibs_CXX=yes
15359
15360             output_verbose_link_cmd='func_echo_all'
15361
15362             # Archives containing C++ object files must be created using
15363             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15364             # necessary to make sure instantiated templates are included
15365             # in the archive.
15366             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15367             ;;
15368           gcx*)
15369             # Green Hills C++ Compiler
15370             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15371
15372             # The C++ compiler must be used to create the archive.
15373             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15374             ;;
15375           *)
15376             # GNU C++ compiler with Solaris linker
15377             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15378               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15379               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15380                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15381                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15382                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15383
15384                 # Commands to make compiler produce verbose output that lists
15385                 # what "hidden" libraries, object files and flags are used when
15386                 # linking a shared library.
15387                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15388               else
15389                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15390                 # platform.
15391                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15392                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15393                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15394
15395                 # Commands to make compiler produce verbose output that lists
15396                 # what "hidden" libraries, object files and flags are used when
15397                 # linking a shared library.
15398                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15399               fi
15400
15401               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15402               case $host_os in
15403                 solaris2.[0-5] | solaris2.[0-5].*) ;;
15404                 *)
15405                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15406                   ;;
15407               esac
15408             fi
15409             ;;
15410         esac
15411         ;;
15412
15413     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15414       no_undefined_flag_CXX='${wl}-z,text'
15415       archive_cmds_need_lc_CXX=no
15416       hardcode_shlibpath_var_CXX=no
15417       runpath_var='LD_RUN_PATH'
15418
15419       case $cc_basename in
15420         CC*)
15421           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15422           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15423           ;;
15424         *)
15425           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15426           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15427           ;;
15428       esac
15429       ;;
15430
15431       sysv5* | sco3.2v5* | sco5v6*)
15432         # Note: We can NOT use -z defs as we might desire, because we do not
15433         # link with -lc, and that would cause any symbols used from libc to
15434         # always be unresolved, which means just about no library would
15435         # ever link correctly.  If we're not using GNU ld we use -z text
15436         # though, which does catch some bad symbols but isn't as heavy-handed
15437         # as -z defs.
15438         no_undefined_flag_CXX='${wl}-z,text'
15439         allow_undefined_flag_CXX='${wl}-z,nodefs'
15440         archive_cmds_need_lc_CXX=no
15441         hardcode_shlibpath_var_CXX=no
15442         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
15443         hardcode_libdir_separator_CXX=':'
15444         link_all_deplibs_CXX=yes
15445         export_dynamic_flag_spec_CXX='${wl}-Bexport'
15446         runpath_var='LD_RUN_PATH'
15447
15448         case $cc_basename in
15449           CC*)
15450             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15451             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15452             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15453               '"$old_archive_cmds_CXX"
15454             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15455               '"$reload_cmds_CXX"
15456             ;;
15457           *)
15458             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15459             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15460             ;;
15461         esac
15462       ;;
15463
15464       tandem*)
15465         case $cc_basename in
15466           NCC*)
15467             # NonStop-UX NCC 3.20
15468             # FIXME: insert proper C++ library support
15469             ld_shlibs_CXX=no
15470             ;;
15471           *)
15472             # FIXME: insert proper C++ library support
15473             ld_shlibs_CXX=no
15474             ;;
15475         esac
15476         ;;
15477
15478       vxworks*)
15479         # FIXME: insert proper C++ library support
15480         ld_shlibs_CXX=no
15481         ;;
15482
15483       *)
15484         # FIXME: insert proper C++ library support
15485         ld_shlibs_CXX=no
15486         ;;
15487     esac
15488
15489     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15490 $as_echo "$ld_shlibs_CXX" >&6; }
15491     test "$ld_shlibs_CXX" = no && can_build_shared=no
15492
15493     GCC_CXX="$GXX"
15494     LD_CXX="$LD"
15495
15496     ## CAVEAT EMPTOR:
15497     ## There is no encapsulation within the following macros, do not change
15498     ## the running order or otherwise move them around unless you know exactly
15499     ## what you are doing...
15500     # Dependencies to place before and after the object being linked:
15501 predep_objects_CXX=
15502 postdep_objects_CXX=
15503 predeps_CXX=
15504 postdeps_CXX=
15505 compiler_lib_search_path_CXX=
15506
15507 cat > conftest.$ac_ext <<_LT_EOF
15508 class Foo
15509 {
15510 public:
15511   Foo (void) { a = 0; }
15512 private:
15513   int a;
15514 };
15515 _LT_EOF
15516
15517
15518 _lt_libdeps_save_CFLAGS=$CFLAGS
15519 case "$CC $CFLAGS " in #(
15520 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15521 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15522 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15523 esac
15524
15525 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15526   (eval $ac_compile) 2>&5
15527   ac_status=$?
15528   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15529   test $ac_status = 0; }; then
15530   # Parse the compiler output and extract the necessary
15531   # objects, libraries and library flags.
15532
15533   # Sentinel used to keep track of whether or not we are before
15534   # the conftest object file.
15535   pre_test_object_deps_done=no
15536
15537   for p in `eval "$output_verbose_link_cmd"`; do
15538     case ${prev}${p} in
15539
15540     -L* | -R* | -l*)
15541        # Some compilers place space between "-{L,R}" and the path.
15542        # Remove the space.
15543        if test $p = "-L" ||
15544           test $p = "-R"; then
15545          prev=$p
15546          continue
15547        fi
15548
15549        # Expand the sysroot to ease extracting the directories later.
15550        if test -z "$prev"; then
15551          case $p in
15552          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15553          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15554          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15555          esac
15556        fi
15557        case $p in
15558        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15559        esac
15560        if test "$pre_test_object_deps_done" = no; then
15561          case ${prev} in
15562          -L | -R)
15563            # Internal compiler library paths should come after those
15564            # provided the user.  The postdeps already come after the
15565            # user supplied libs so there is no need to process them.
15566            if test -z "$compiler_lib_search_path_CXX"; then
15567              compiler_lib_search_path_CXX="${prev}${p}"
15568            else
15569              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15570            fi
15571            ;;
15572          # The "-l" case would never come before the object being
15573          # linked, so don't bother handling this case.
15574          esac
15575        else
15576          if test -z "$postdeps_CXX"; then
15577            postdeps_CXX="${prev}${p}"
15578          else
15579            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15580          fi
15581        fi
15582        prev=
15583        ;;
15584
15585     *.lto.$objext) ;; # Ignore GCC LTO objects
15586     *.$objext)
15587        # This assumes that the test object file only shows up
15588        # once in the compiler output.
15589        if test "$p" = "conftest.$objext"; then
15590          pre_test_object_deps_done=yes
15591          continue
15592        fi
15593
15594        if test "$pre_test_object_deps_done" = no; then
15595          if test -z "$predep_objects_CXX"; then
15596            predep_objects_CXX="$p"
15597          else
15598            predep_objects_CXX="$predep_objects_CXX $p"
15599          fi
15600        else
15601          if test -z "$postdep_objects_CXX"; then
15602            postdep_objects_CXX="$p"
15603          else
15604            postdep_objects_CXX="$postdep_objects_CXX $p"
15605          fi
15606        fi
15607        ;;
15608
15609     *) ;; # Ignore the rest.
15610
15611     esac
15612   done
15613
15614   # Clean up.
15615   rm -f a.out a.exe
15616 else
15617   echo "libtool.m4: error: problem compiling CXX test program"
15618 fi
15619
15620 $RM -f confest.$objext
15621 CFLAGS=$_lt_libdeps_save_CFLAGS
15622
15623 # PORTME: override above test on systems where it is broken
15624 case $host_os in
15625 interix[3-9]*)
15626   # Interix 3.5 installs completely hosed .la files for C++, so rather than
15627   # hack all around it, let's just trust "g++" to DTRT.
15628   predep_objects_CXX=
15629   postdep_objects_CXX=
15630   postdeps_CXX=
15631   ;;
15632
15633 linux*)
15634   case `$CC -V 2>&1 | sed 5q` in
15635   *Sun\ C*)
15636     # Sun C++ 5.9
15637
15638     # The more standards-conforming stlport4 library is
15639     # incompatible with the Cstd library. Avoid specifying
15640     # it if it's in CXXFLAGS. Ignore libCrun as
15641     # -library=stlport4 depends on it.
15642     case " $CXX $CXXFLAGS " in
15643     *" -library=stlport4 "*)
15644       solaris_use_stlport4=yes
15645       ;;
15646     esac
15647
15648     if test "$solaris_use_stlport4" != yes; then
15649       postdeps_CXX='-library=Cstd -library=Crun'
15650     fi
15651     ;;
15652   esac
15653   ;;
15654
15655 solaris*)
15656   case $cc_basename in
15657   CC* | sunCC*)
15658     # The more standards-conforming stlport4 library is
15659     # incompatible with the Cstd library. Avoid specifying
15660     # it if it's in CXXFLAGS. Ignore libCrun as
15661     # -library=stlport4 depends on it.
15662     case " $CXX $CXXFLAGS " in
15663     *" -library=stlport4 "*)
15664       solaris_use_stlport4=yes
15665       ;;
15666     esac
15667
15668     # Adding this requires a known-good setup of shared libraries for
15669     # Sun compiler versions before 5.6, else PIC objects from an old
15670     # archive will be linked into the output, leading to subtle bugs.
15671     if test "$solaris_use_stlport4" != yes; then
15672       postdeps_CXX='-library=Cstd -library=Crun'
15673     fi
15674     ;;
15675   esac
15676   ;;
15677 esac
15678
15679
15680 case " $postdeps_CXX " in
15681 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15682 esac
15683  compiler_lib_search_dirs_CXX=
15684 if test -n "${compiler_lib_search_path_CXX}"; then
15685  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15686 fi
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718     lt_prog_compiler_wl_CXX=
15719 lt_prog_compiler_pic_CXX=
15720 lt_prog_compiler_static_CXX=
15721
15722
15723   # C++ specific cases for pic, static, wl, etc.
15724   if test "$GXX" = yes; then
15725     lt_prog_compiler_wl_CXX='-Wl,'
15726     lt_prog_compiler_static_CXX='-static'
15727
15728     case $host_os in
15729     aix*)
15730       # All AIX code is PIC.
15731       if test "$host_cpu" = ia64; then
15732         # AIX 5 now supports IA64 processor
15733         lt_prog_compiler_static_CXX='-Bstatic'
15734       fi
15735       ;;
15736
15737     amigaos*)
15738       case $host_cpu in
15739       powerpc)
15740             # see comment about AmigaOS4 .so support
15741             lt_prog_compiler_pic_CXX='-fPIC'
15742         ;;
15743       m68k)
15744             # FIXME: we need at least 68020 code to build shared libraries, but
15745             # adding the `-m68020' flag to GCC prevents building anything better,
15746             # like `-m68040'.
15747             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15748         ;;
15749       esac
15750       ;;
15751
15752     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15753       # PIC is the default for these OSes.
15754       ;;
15755     mingw* | cygwin* | os2* | pw32* | cegcc*)
15756       # This hack is so that the source file can tell whether it is being
15757       # built for inclusion in a dll (and should export symbols for example).
15758       # Although the cygwin gcc ignores -fPIC, still need this for old-style
15759       # (--disable-auto-import) libraries
15760       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15761       ;;
15762     darwin* | rhapsody*)
15763       # PIC is the default on this platform
15764       # Common symbols not allowed in MH_DYLIB files
15765       lt_prog_compiler_pic_CXX='-fno-common'
15766       ;;
15767     *djgpp*)
15768       # DJGPP does not support shared libraries at all
15769       lt_prog_compiler_pic_CXX=
15770       ;;
15771     haiku*)
15772       # PIC is the default for Haiku.
15773       # The "-static" flag exists, but is broken.
15774       lt_prog_compiler_static_CXX=
15775       ;;
15776     interix[3-9]*)
15777       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15778       # Instead, we relocate shared libraries at runtime.
15779       ;;
15780     sysv4*MP*)
15781       if test -d /usr/nec; then
15782         lt_prog_compiler_pic_CXX=-Kconform_pic
15783       fi
15784       ;;
15785     hpux*)
15786       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15787       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
15788       # sets the default TLS model and affects inlining.
15789       case $host_cpu in
15790       hppa*64*)
15791         ;;
15792       *)
15793         lt_prog_compiler_pic_CXX='-fPIC'
15794         ;;
15795       esac
15796       ;;
15797     *qnx* | *nto*)
15798       # QNX uses GNU C++, but need to define -shared option too, otherwise
15799       # it will coredump.
15800       lt_prog_compiler_pic_CXX='-fPIC -shared'
15801       ;;
15802     *)
15803       lt_prog_compiler_pic_CXX='-fPIC'
15804       ;;
15805     esac
15806   else
15807     case $host_os in
15808       aix[4-9]*)
15809         # All AIX code is PIC.
15810         if test "$host_cpu" = ia64; then
15811           # AIX 5 now supports IA64 processor
15812           lt_prog_compiler_static_CXX='-Bstatic'
15813         else
15814           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15815         fi
15816         ;;
15817       chorus*)
15818         case $cc_basename in
15819         cxch68*)
15820           # Green Hills C++ Compiler
15821           # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
15822           ;;
15823         esac
15824         ;;
15825       mingw* | cygwin* | os2* | pw32* | cegcc*)
15826         # This hack is so that the source file can tell whether it is being
15827         # built for inclusion in a dll (and should export symbols for example).
15828         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15829         ;;
15830       dgux*)
15831         case $cc_basename in
15832           ec++*)
15833             lt_prog_compiler_pic_CXX='-KPIC'
15834             ;;
15835           ghcx*)
15836             # Green Hills C++ Compiler
15837             lt_prog_compiler_pic_CXX='-pic'
15838             ;;
15839           *)
15840             ;;
15841         esac
15842         ;;
15843       freebsd* | dragonfly*)
15844         # FreeBSD uses GNU C++
15845         ;;
15846       hpux9* | hpux10* | hpux11*)
15847         case $cc_basename in
15848           CC*)
15849             lt_prog_compiler_wl_CXX='-Wl,'
15850             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15851             if test "$host_cpu" != ia64; then
15852               lt_prog_compiler_pic_CXX='+Z'
15853             fi
15854             ;;
15855           aCC*)
15856             lt_prog_compiler_wl_CXX='-Wl,'
15857             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15858             case $host_cpu in
15859             hppa*64*|ia64*)
15860               # +Z the default
15861               ;;
15862             *)
15863               lt_prog_compiler_pic_CXX='+Z'
15864               ;;
15865             esac
15866             ;;
15867           *)
15868             ;;
15869         esac
15870         ;;
15871       interix*)
15872         # This is c89, which is MS Visual C++ (no shared libs)
15873         # Anyone wants to do a port?
15874         ;;
15875       irix5* | irix6* | nonstopux*)
15876         case $cc_basename in
15877           CC*)
15878             lt_prog_compiler_wl_CXX='-Wl,'
15879             lt_prog_compiler_static_CXX='-non_shared'
15880             # CC pic flag -KPIC is the default.
15881             ;;
15882           *)
15883             ;;
15884         esac
15885         ;;
15886       linux* | k*bsd*-gnu | kopensolaris*-gnu)
15887         case $cc_basename in
15888           KCC*)
15889             # KAI C++ Compiler
15890             lt_prog_compiler_wl_CXX='--backend -Wl,'
15891             lt_prog_compiler_pic_CXX='-fPIC'
15892             ;;
15893           ecpc* )
15894             # old Intel C++ for x86_64 which still supported -KPIC.
15895             lt_prog_compiler_wl_CXX='-Wl,'
15896             lt_prog_compiler_pic_CXX='-KPIC'
15897             lt_prog_compiler_static_CXX='-static'
15898             ;;
15899           icpc* )
15900             # Intel C++, used to be incompatible with GCC.
15901             # ICC 10 doesn't accept -KPIC any more.
15902             lt_prog_compiler_wl_CXX='-Wl,'
15903             lt_prog_compiler_pic_CXX='-fPIC'
15904             lt_prog_compiler_static_CXX='-static'
15905             ;;
15906           pgCC* | pgcpp*)
15907             # Portland Group C++ compiler
15908             lt_prog_compiler_wl_CXX='-Wl,'
15909             lt_prog_compiler_pic_CXX='-fpic'
15910             lt_prog_compiler_static_CXX='-Bstatic'
15911             ;;
15912           cxx*)
15913             # Compaq C++
15914             # Make sure the PIC flag is empty.  It appears that all Alpha
15915             # Linux and Compaq Tru64 Unix objects are PIC.
15916             lt_prog_compiler_pic_CXX=
15917             lt_prog_compiler_static_CXX='-non_shared'
15918             ;;
15919           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15920             # IBM XL 8.0, 9.0 on PPC and BlueGene
15921             lt_prog_compiler_wl_CXX='-Wl,'
15922             lt_prog_compiler_pic_CXX='-qpic'
15923             lt_prog_compiler_static_CXX='-qstaticlink'
15924             ;;
15925           *)
15926             case `$CC -V 2>&1 | sed 5q` in
15927             *Sun\ C*)
15928               # Sun C++ 5.9
15929               lt_prog_compiler_pic_CXX='-KPIC'
15930               lt_prog_compiler_static_CXX='-Bstatic'
15931               lt_prog_compiler_wl_CXX='-Qoption ld '
15932               ;;
15933             esac
15934             ;;
15935         esac
15936         ;;
15937       lynxos*)
15938         ;;
15939       m88k*)
15940         ;;
15941       mvs*)
15942         case $cc_basename in
15943           cxx*)
15944             lt_prog_compiler_pic_CXX='-W c,exportall'
15945             ;;
15946           *)
15947             ;;
15948         esac
15949         ;;
15950       netbsd* | netbsdelf*-gnu)
15951         ;;
15952       *qnx* | *nto*)
15953         # QNX uses GNU C++, but need to define -shared option too, otherwise
15954         # it will coredump.
15955         lt_prog_compiler_pic_CXX='-fPIC -shared'
15956         ;;
15957       osf3* | osf4* | osf5*)
15958         case $cc_basename in
15959           KCC*)
15960             lt_prog_compiler_wl_CXX='--backend -Wl,'
15961             ;;
15962           RCC*)
15963             # Rational C++ 2.4.1
15964             lt_prog_compiler_pic_CXX='-pic'
15965             ;;
15966           cxx*)
15967             # Digital/Compaq C++
15968             lt_prog_compiler_wl_CXX='-Wl,'
15969             # Make sure the PIC flag is empty.  It appears that all Alpha
15970             # Linux and Compaq Tru64 Unix objects are PIC.
15971             lt_prog_compiler_pic_CXX=
15972             lt_prog_compiler_static_CXX='-non_shared'
15973             ;;
15974           *)
15975             ;;
15976         esac
15977         ;;
15978       psos*)
15979         ;;
15980       solaris*)
15981         case $cc_basename in
15982           CC* | sunCC*)
15983             # Sun C++ 4.2, 5.x and Centerline C++
15984             lt_prog_compiler_pic_CXX='-KPIC'
15985             lt_prog_compiler_static_CXX='-Bstatic'
15986             lt_prog_compiler_wl_CXX='-Qoption ld '
15987             ;;
15988           gcx*)
15989             # Green Hills C++ Compiler
15990             lt_prog_compiler_pic_CXX='-PIC'
15991             ;;
15992           *)
15993             ;;
15994         esac
15995         ;;
15996       sunos4*)
15997         case $cc_basename in
15998           CC*)
15999             # Sun C++ 4.x
16000             lt_prog_compiler_pic_CXX='-pic'
16001             lt_prog_compiler_static_CXX='-Bstatic'
16002             ;;
16003           lcc*)
16004             # Lucid
16005             lt_prog_compiler_pic_CXX='-pic'
16006             ;;
16007           *)
16008             ;;
16009         esac
16010         ;;
16011       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16012         case $cc_basename in
16013           CC*)
16014             lt_prog_compiler_wl_CXX='-Wl,'
16015             lt_prog_compiler_pic_CXX='-KPIC'
16016             lt_prog_compiler_static_CXX='-Bstatic'
16017             ;;
16018         esac
16019         ;;
16020       tandem*)
16021         case $cc_basename in
16022           NCC*)
16023             # NonStop-UX NCC 3.20
16024             lt_prog_compiler_pic_CXX='-KPIC'
16025             ;;
16026           *)
16027             ;;
16028         esac
16029         ;;
16030       vxworks*)
16031         ;;
16032       *)
16033         lt_prog_compiler_can_build_shared_CXX=no
16034         ;;
16035     esac
16036   fi
16037
16038 case $host_os in
16039   # For platforms which do not support PIC, -DPIC is meaningless:
16040   *djgpp*)
16041     lt_prog_compiler_pic_CXX=
16042     ;;
16043   *)
16044     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16045     ;;
16046 esac
16047
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16049 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16050 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
16051   $as_echo_n "(cached) " >&6
16052 else
16053   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16054 fi
16055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16056 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16057 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16058
16059 #
16060 # Check to make sure the PIC flag actually works.
16061 #
16062 if test -n "$lt_prog_compiler_pic_CXX"; then
16063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16064 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16065 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
16066   $as_echo_n "(cached) " >&6
16067 else
16068   lt_cv_prog_compiler_pic_works_CXX=no
16069    ac_outfile=conftest.$ac_objext
16070    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16071    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16072    # Insert the option either (1) after the last *FLAGS variable, or
16073    # (2) before a word containing "conftest.", or (3) at the end.
16074    # Note that $ac_compile itself does not contain backslashes and begins
16075    # with a dollar sign (not a hyphen), so the echo should work correctly.
16076    # The option is referenced via a variable to avoid confusing sed.
16077    lt_compile=`echo "$ac_compile" | $SED \
16078    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16079    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16080    -e 's:$: $lt_compiler_flag:'`
16081    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16082    (eval "$lt_compile" 2>conftest.err)
16083    ac_status=$?
16084    cat conftest.err >&5
16085    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16086    if (exit $ac_status) && test -s "$ac_outfile"; then
16087      # The compiler can only warn and ignore the option if not recognized
16088      # So say no if there are warnings other than the usual output.
16089      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16090      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16091      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16092        lt_cv_prog_compiler_pic_works_CXX=yes
16093      fi
16094    fi
16095    $RM conftest*
16096
16097 fi
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16099 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16100
16101 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16102     case $lt_prog_compiler_pic_CXX in
16103      "" | " "*) ;;
16104      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16105      esac
16106 else
16107     lt_prog_compiler_pic_CXX=
16108      lt_prog_compiler_can_build_shared_CXX=no
16109 fi
16110
16111 fi
16112
16113
16114
16115
16116
16117 #
16118 # Check to make sure the static flag actually works.
16119 #
16120 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16122 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16123 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16124   $as_echo_n "(cached) " >&6
16125 else
16126   lt_cv_prog_compiler_static_works_CXX=no
16127    save_LDFLAGS="$LDFLAGS"
16128    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16129    echo "$lt_simple_link_test_code" > conftest.$ac_ext
16130    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16131      # The linker can only warn and ignore the option if not recognized
16132      # So say no if there are warnings
16133      if test -s conftest.err; then
16134        # Append any errors to the config.log.
16135        cat conftest.err 1>&5
16136        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16137        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16138        if diff conftest.exp conftest.er2 >/dev/null; then
16139          lt_cv_prog_compiler_static_works_CXX=yes
16140        fi
16141      else
16142        lt_cv_prog_compiler_static_works_CXX=yes
16143      fi
16144    fi
16145    $RM -r conftest*
16146    LDFLAGS="$save_LDFLAGS"
16147
16148 fi
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16150 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16151
16152 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16153     :
16154 else
16155     lt_prog_compiler_static_CXX=
16156 fi
16157
16158
16159
16160
16161     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16162 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16163 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16164   $as_echo_n "(cached) " >&6
16165 else
16166   lt_cv_prog_compiler_c_o_CXX=no
16167    $RM -r conftest 2>/dev/null
16168    mkdir conftest
16169    cd conftest
16170    mkdir out
16171    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16172
16173    lt_compiler_flag="-o out/conftest2.$ac_objext"
16174    # Insert the option either (1) after the last *FLAGS variable, or
16175    # (2) before a word containing "conftest.", or (3) at the end.
16176    # Note that $ac_compile itself does not contain backslashes and begins
16177    # with a dollar sign (not a hyphen), so the echo should work correctly.
16178    lt_compile=`echo "$ac_compile" | $SED \
16179    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16180    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16181    -e 's:$: $lt_compiler_flag:'`
16182    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16183    (eval "$lt_compile" 2>out/conftest.err)
16184    ac_status=$?
16185    cat out/conftest.err >&5
16186    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187    if (exit $ac_status) && test -s out/conftest2.$ac_objext
16188    then
16189      # The compiler can only warn and ignore the option if not recognized
16190      # So say no if there are warnings
16191      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16192      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16193      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16194        lt_cv_prog_compiler_c_o_CXX=yes
16195      fi
16196    fi
16197    chmod u+w . 2>&5
16198    $RM conftest*
16199    # SGI C++ compiler will create directory out/ii_files/ for
16200    # template instantiation
16201    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16202    $RM out/* && rmdir out
16203    cd ..
16204    $RM -r conftest
16205    $RM conftest*
16206
16207 fi
16208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16209 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16210
16211
16212
16213     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16214 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16215 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16216   $as_echo_n "(cached) " >&6
16217 else
16218   lt_cv_prog_compiler_c_o_CXX=no
16219    $RM -r conftest 2>/dev/null
16220    mkdir conftest
16221    cd conftest
16222    mkdir out
16223    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16224
16225    lt_compiler_flag="-o out/conftest2.$ac_objext"
16226    # Insert the option either (1) after the last *FLAGS variable, or
16227    # (2) before a word containing "conftest.", or (3) at the end.
16228    # Note that $ac_compile itself does not contain backslashes and begins
16229    # with a dollar sign (not a hyphen), so the echo should work correctly.
16230    lt_compile=`echo "$ac_compile" | $SED \
16231    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16232    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16233    -e 's:$: $lt_compiler_flag:'`
16234    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16235    (eval "$lt_compile" 2>out/conftest.err)
16236    ac_status=$?
16237    cat out/conftest.err >&5
16238    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16239    if (exit $ac_status) && test -s out/conftest2.$ac_objext
16240    then
16241      # The compiler can only warn and ignore the option if not recognized
16242      # So say no if there are warnings
16243      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16244      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16245      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16246        lt_cv_prog_compiler_c_o_CXX=yes
16247      fi
16248    fi
16249    chmod u+w . 2>&5
16250    $RM conftest*
16251    # SGI C++ compiler will create directory out/ii_files/ for
16252    # template instantiation
16253    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16254    $RM out/* && rmdir out
16255    cd ..
16256    $RM -r conftest
16257    $RM conftest*
16258
16259 fi
16260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16261 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16262
16263
16264
16265
16266 hard_links="nottested"
16267 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16268   # do not overwrite the value of need_locks provided by the user
16269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16270 $as_echo_n "checking if we can lock with hard links... " >&6; }
16271   hard_links=yes
16272   $RM conftest*
16273   ln conftest.a conftest.b 2>/dev/null && hard_links=no
16274   touch conftest.a
16275   ln conftest.a conftest.b 2>&5 || hard_links=no
16276   ln conftest.a conftest.b 2>/dev/null && hard_links=no
16277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16278 $as_echo "$hard_links" >&6; }
16279   if test "$hard_links" = no; then
16280     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16281 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16282     need_locks=warn
16283   fi
16284 else
16285   need_locks=no
16286 fi
16287
16288
16289
16290     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16291 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16292
16293   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16294   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16295   case $host_os in
16296   aix[4-9]*)
16297     # If we're using GNU nm, then we don't want the "-C" option.
16298     # -C means demangle to AIX nm, but means don't demangle with GNU nm
16299     # Also, AIX nm treats weak defined symbols like other global defined
16300     # symbols, whereas GNU nm marks them as "W".
16301     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16302       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
16303     else
16304       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
16305     fi
16306     ;;
16307   pw32*)
16308     export_symbols_cmds_CXX="$ltdll_cmds"
16309     ;;
16310   cygwin* | mingw* | cegcc*)
16311     case $cc_basename in
16312     cl*)
16313       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
16314       ;;
16315     *)
16316       export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
16317       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16318       ;;
16319     esac
16320     ;;
16321   linux* | k*bsd*-gnu | gnu*)
16322     link_all_deplibs_CXX=no
16323     ;;
16324   *)
16325     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16326     ;;
16327   esac
16328
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16330 $as_echo "$ld_shlibs_CXX" >&6; }
16331 test "$ld_shlibs_CXX" = no && can_build_shared=no
16332
16333 with_gnu_ld_CXX=$with_gnu_ld
16334
16335
16336
16337
16338
16339
16340 #
16341 # Do we need to explicitly link libc?
16342 #
16343 case "x$archive_cmds_need_lc_CXX" in
16344 x|xyes)
16345   # Assume -lc should be added
16346   archive_cmds_need_lc_CXX=yes
16347
16348   if test "$enable_shared" = yes && test "$GCC" = yes; then
16349     case $archive_cmds_CXX in
16350     *'~'*)
16351       # FIXME: we may have to deal with multi-command sequences.
16352       ;;
16353     '$CC '*)
16354       # Test whether the compiler implicitly links with -lc since on some
16355       # systems, -lgcc has to come before -lc. If gcc already passes -lc
16356       # to ld, don't add -lc before -lgcc.
16357       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16358 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16359 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16360   $as_echo_n "(cached) " >&6
16361 else
16362   $RM conftest*
16363         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16364
16365         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16366   (eval $ac_compile) 2>&5
16367   ac_status=$?
16368   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16369   test $ac_status = 0; } 2>conftest.err; then
16370           soname=conftest
16371           lib=conftest
16372           libobjs=conftest.$ac_objext
16373           deplibs=
16374           wl=$lt_prog_compiler_wl_CXX
16375           pic_flag=$lt_prog_compiler_pic_CXX
16376           compiler_flags=-v
16377           linker_flags=-v
16378           verstring=
16379           output_objdir=.
16380           libname=conftest
16381           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16382           allow_undefined_flag_CXX=
16383           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16384   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16385   ac_status=$?
16386   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16387   test $ac_status = 0; }
16388           then
16389             lt_cv_archive_cmds_need_lc_CXX=no
16390           else
16391             lt_cv_archive_cmds_need_lc_CXX=yes
16392           fi
16393           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16394         else
16395           cat conftest.err 1>&5
16396         fi
16397         $RM conftest*
16398
16399 fi
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16401 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16402       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16403       ;;
16404     esac
16405   fi
16406   ;;
16407 esac
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
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16471 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16472
16473 library_names_spec=
16474 libname_spec='lib$name'
16475 soname_spec=
16476 shrext_cmds=".so"
16477 postinstall_cmds=
16478 postuninstall_cmds=
16479 finish_cmds=
16480 finish_eval=
16481 shlibpath_var=
16482 shlibpath_overrides_runpath=unknown
16483 version_type=none
16484 dynamic_linker="$host_os ld.so"
16485 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16486 need_lib_prefix=unknown
16487 hardcode_into_libs=no
16488
16489 # when you set need_version to no, make sure it does not cause -set_version
16490 # flags to be left without arguments
16491 need_version=unknown
16492
16493 case $host_os in
16494 aix3*)
16495   version_type=linux # correct to gnu/linux during the next big refactor
16496   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16497   shlibpath_var=LIBPATH
16498
16499   # AIX 3 has no versioning support, so we append a major version to the name.
16500   soname_spec='${libname}${release}${shared_ext}$major'
16501   ;;
16502
16503 aix[4-9]*)
16504   version_type=linux # correct to gnu/linux during the next big refactor
16505   need_lib_prefix=no
16506   need_version=no
16507   hardcode_into_libs=yes
16508   if test "$host_cpu" = ia64; then
16509     # AIX 5 supports IA64
16510     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16511     shlibpath_var=LD_LIBRARY_PATH
16512   else
16513     # With GCC up to 2.95.x, collect2 would create an import file
16514     # for dependence libraries.  The import file would start with
16515     # the line `#! .'.  This would cause the generated library to
16516     # depend on `.', always an invalid library.  This was fixed in
16517     # development snapshots of GCC prior to 3.0.
16518     case $host_os in
16519       aix4 | aix4.[01] | aix4.[01].*)
16520       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16521            echo ' yes '
16522            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
16523         :
16524       else
16525         can_build_shared=no
16526       fi
16527       ;;
16528     esac
16529     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16530     # soname into executable. Probably we can add versioning support to
16531     # collect2, so additional links can be useful in future.
16532     if test "$aix_use_runtimelinking" = yes; then
16533       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16534       # instead of lib<name>.a to let people know that these are not
16535       # typical AIX shared libraries.
16536       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16537     else
16538       # We preserve .a as extension for shared libraries through AIX4.2
16539       # and later when we are not doing run time linking.
16540       library_names_spec='${libname}${release}.a $libname.a'
16541       soname_spec='${libname}${release}${shared_ext}$major'
16542     fi
16543     shlibpath_var=LIBPATH
16544   fi
16545   ;;
16546
16547 amigaos*)
16548   case $host_cpu in
16549   powerpc)
16550     # Since July 2007 AmigaOS4 officially supports .so libraries.
16551     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16552     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16553     ;;
16554   m68k)
16555     library_names_spec='$libname.ixlibrary $libname.a'
16556     # Create ${libname}_ixlibrary.a entries in /sys/libs.
16557     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
16558     ;;
16559   esac
16560   ;;
16561
16562 beos*)
16563   library_names_spec='${libname}${shared_ext}'
16564   dynamic_linker="$host_os ld.so"
16565   shlibpath_var=LIBRARY_PATH
16566   ;;
16567
16568 bsdi[45]*)
16569   version_type=linux # correct to gnu/linux during the next big refactor
16570   need_version=no
16571   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16572   soname_spec='${libname}${release}${shared_ext}$major'
16573   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16574   shlibpath_var=LD_LIBRARY_PATH
16575   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16576   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16577   # the default ld.so.conf also contains /usr/contrib/lib and
16578   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16579   # libtool to hard-code these into programs
16580   ;;
16581
16582 cygwin* | mingw* | pw32* | cegcc*)
16583   version_type=windows
16584   shrext_cmds=".dll"
16585   need_version=no
16586   need_lib_prefix=no
16587
16588   case $GCC,$cc_basename in
16589   yes,*)
16590     # gcc
16591     library_names_spec='$libname.dll.a'
16592     # DLL is installed to $(libdir)/../bin by postinstall_cmds
16593     postinstall_cmds='base_file=`basename \${file}`~
16594       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16595       dldir=$destdir/`dirname \$dlpath`~
16596       test -d \$dldir || mkdir -p \$dldir~
16597       $install_prog $dir/$dlname \$dldir/$dlname~
16598       chmod a+x \$dldir/$dlname~
16599       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16600         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16601       fi'
16602     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16603       dlpath=$dir/\$dldll~
16604        $RM \$dlpath'
16605     shlibpath_overrides_runpath=yes
16606
16607     case $host_os in
16608     cygwin*)
16609       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16610       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16611
16612       ;;
16613     mingw* | cegcc*)
16614       # MinGW DLLs use traditional 'lib' prefix
16615       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16616       ;;
16617     pw32*)
16618       # pw32 DLLs use 'pw' prefix rather than 'lib'
16619       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16620       ;;
16621     esac
16622     dynamic_linker='Win32 ld.exe'
16623     ;;
16624
16625   *,cl*)
16626     # Native MSVC
16627     libname_spec='$name'
16628     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16629     library_names_spec='${libname}.dll.lib'
16630
16631     case $build_os in
16632     mingw*)
16633       sys_lib_search_path_spec=
16634       lt_save_ifs=$IFS
16635       IFS=';'
16636       for lt_path in $LIB
16637       do
16638         IFS=$lt_save_ifs
16639         # Let DOS variable expansion print the short 8.3 style file name.
16640         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16641         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16642       done
16643       IFS=$lt_save_ifs
16644       # Convert to MSYS style.
16645       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16646       ;;
16647     cygwin*)
16648       # Convert to unix form, then to dos form, then back to unix form
16649       # but this time dos style (no spaces!) so that the unix form looks
16650       # like /cygdrive/c/PROGRA~1:/cygdr...
16651       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16652       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16653       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16654       ;;
16655     *)
16656       sys_lib_search_path_spec="$LIB"
16657       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16658         # It is most probably a Windows format PATH.
16659         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16660       else
16661         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16662       fi
16663       # FIXME: find the short name or the path components, as spaces are
16664       # common. (e.g. "Program Files" -> "PROGRA~1")
16665       ;;
16666     esac
16667
16668     # DLL is installed to $(libdir)/../bin by postinstall_cmds
16669     postinstall_cmds='base_file=`basename \${file}`~
16670       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16671       dldir=$destdir/`dirname \$dlpath`~
16672       test -d \$dldir || mkdir -p \$dldir~
16673       $install_prog $dir/$dlname \$dldir/$dlname'
16674     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16675       dlpath=$dir/\$dldll~
16676        $RM \$dlpath'
16677     shlibpath_overrides_runpath=yes
16678     dynamic_linker='Win32 link.exe'
16679     ;;
16680
16681   *)
16682     # Assume MSVC wrapper
16683     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16684     dynamic_linker='Win32 ld.exe'
16685     ;;
16686   esac
16687   # FIXME: first we should search . and the directory the executable is in
16688   shlibpath_var=PATH
16689   ;;
16690
16691 darwin* | rhapsody*)
16692   dynamic_linker="$host_os dyld"
16693   version_type=darwin
16694   need_lib_prefix=no
16695   need_version=no
16696   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16697   soname_spec='${libname}${release}${major}$shared_ext'
16698   shlibpath_overrides_runpath=yes
16699   shlibpath_var=DYLD_LIBRARY_PATH
16700   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16701
16702   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16703   ;;
16704
16705 dgux*)
16706   version_type=linux # correct to gnu/linux during the next big refactor
16707   need_lib_prefix=no
16708   need_version=no
16709   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16710   soname_spec='${libname}${release}${shared_ext}$major'
16711   shlibpath_var=LD_LIBRARY_PATH
16712   ;;
16713
16714 freebsd* | dragonfly*)
16715   # DragonFly does not have aout.  When/if they implement a new
16716   # versioning mechanism, adjust this.
16717   if test -x /usr/bin/objformat; then
16718     objformat=`/usr/bin/objformat`
16719   else
16720     case $host_os in
16721     freebsd[23].*) objformat=aout ;;
16722     *) objformat=elf ;;
16723     esac
16724   fi
16725   version_type=freebsd-$objformat
16726   case $version_type in
16727     freebsd-elf*)
16728       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16729       need_version=no
16730       need_lib_prefix=no
16731       ;;
16732     freebsd-*)
16733       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16734       need_version=yes
16735       ;;
16736   esac
16737   shlibpath_var=LD_LIBRARY_PATH
16738   case $host_os in
16739   freebsd2.*)
16740     shlibpath_overrides_runpath=yes
16741     ;;
16742   freebsd3.[01]* | freebsdelf3.[01]*)
16743     shlibpath_overrides_runpath=yes
16744     hardcode_into_libs=yes
16745     ;;
16746   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16747   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16748     shlibpath_overrides_runpath=no
16749     hardcode_into_libs=yes
16750     ;;
16751   *) # from 4.6 on, and DragonFly
16752     shlibpath_overrides_runpath=yes
16753     hardcode_into_libs=yes
16754     ;;
16755   esac
16756   ;;
16757
16758 gnu*)
16759   version_type=linux # correct to gnu/linux during the next big refactor
16760   need_lib_prefix=no
16761   need_version=no
16762   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16763   soname_spec='${libname}${release}${shared_ext}$major'
16764   shlibpath_var=LD_LIBRARY_PATH
16765   shlibpath_overrides_runpath=no
16766   hardcode_into_libs=yes
16767   ;;
16768
16769 haiku*)
16770   version_type=linux # correct to gnu/linux during the next big refactor
16771   need_lib_prefix=no
16772   need_version=no
16773   dynamic_linker="$host_os runtime_loader"
16774   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16775   soname_spec='${libname}${release}${shared_ext}$major'
16776   shlibpath_var=LIBRARY_PATH
16777   shlibpath_overrides_runpath=yes
16778   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16779   hardcode_into_libs=yes
16780   ;;
16781
16782 hpux9* | hpux10* | hpux11*)
16783   # Give a soname corresponding to the major version so that dld.sl refuses to
16784   # link against other versions.
16785   version_type=sunos
16786   need_lib_prefix=no
16787   need_version=no
16788   case $host_cpu in
16789   ia64*)
16790     shrext_cmds='.so'
16791     hardcode_into_libs=yes
16792     dynamic_linker="$host_os dld.so"
16793     shlibpath_var=LD_LIBRARY_PATH
16794     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16795     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16796     soname_spec='${libname}${release}${shared_ext}$major'
16797     if test "X$HPUX_IA64_MODE" = X32; then
16798       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16799     else
16800       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16801     fi
16802     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16803     ;;
16804   hppa*64*)
16805     shrext_cmds='.sl'
16806     hardcode_into_libs=yes
16807     dynamic_linker="$host_os dld.sl"
16808     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16809     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16810     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16811     soname_spec='${libname}${release}${shared_ext}$major'
16812     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16813     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16814     ;;
16815   *)
16816     shrext_cmds='.sl'
16817     dynamic_linker="$host_os dld.sl"
16818     shlibpath_var=SHLIB_PATH
16819     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16820     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16821     soname_spec='${libname}${release}${shared_ext}$major'
16822     ;;
16823   esac
16824   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16825   postinstall_cmds='chmod 555 $lib'
16826   # or fails outright, so override atomically:
16827   install_override_mode=555
16828   ;;
16829
16830 interix[3-9]*)
16831   version_type=linux # correct to gnu/linux during the next big refactor
16832   need_lib_prefix=no
16833   need_version=no
16834   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16835   soname_spec='${libname}${release}${shared_ext}$major'
16836   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16837   shlibpath_var=LD_LIBRARY_PATH
16838   shlibpath_overrides_runpath=no
16839   hardcode_into_libs=yes
16840   ;;
16841
16842 irix5* | irix6* | nonstopux*)
16843   case $host_os in
16844     nonstopux*) version_type=nonstopux ;;
16845     *)
16846         if test "$lt_cv_prog_gnu_ld" = yes; then
16847                 version_type=linux # correct to gnu/linux during the next big refactor
16848         else
16849                 version_type=irix
16850         fi ;;
16851   esac
16852   need_lib_prefix=no
16853   need_version=no
16854   soname_spec='${libname}${release}${shared_ext}$major'
16855   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16856   case $host_os in
16857   irix5* | nonstopux*)
16858     libsuff= shlibsuff=
16859     ;;
16860   *)
16861     case $LD in # libtool.m4 will add one of these switches to LD
16862     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16863       libsuff= shlibsuff= libmagic=32-bit;;
16864     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16865       libsuff=32 shlibsuff=N32 libmagic=N32;;
16866     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16867       libsuff=64 shlibsuff=64 libmagic=64-bit;;
16868     *) libsuff= shlibsuff= libmagic=never-match;;
16869     esac
16870     ;;
16871   esac
16872   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16873   shlibpath_overrides_runpath=no
16874   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16875   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16876   hardcode_into_libs=yes
16877   ;;
16878
16879 # No shared lib support for Linux oldld, aout, or coff.
16880 linux*oldld* | linux*aout* | linux*coff*)
16881   dynamic_linker=no
16882   ;;
16883
16884 # This must be glibc/ELF.
16885 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16886   version_type=linux # correct to gnu/linux during the next big refactor
16887   need_lib_prefix=no
16888   need_version=no
16889   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16890   soname_spec='${libname}${release}${shared_ext}$major'
16891   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16892   shlibpath_var=LD_LIBRARY_PATH
16893   shlibpath_overrides_runpath=no
16894
16895   # Some binutils ld are patched to set DT_RUNPATH
16896   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16897   $as_echo_n "(cached) " >&6
16898 else
16899   lt_cv_shlibpath_overrides_runpath=no
16900     save_LDFLAGS=$LDFLAGS
16901     save_libdir=$libdir
16902     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16903          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16904     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16905 /* end confdefs.h.  */
16906
16907 int
16908 main ()
16909 {
16910
16911   ;
16912   return 0;
16913 }
16914 _ACEOF
16915 if ac_fn_cxx_try_link "$LINENO"; then :
16916   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16917   lt_cv_shlibpath_overrides_runpath=yes
16918 fi
16919 fi
16920 rm -f core conftest.err conftest.$ac_objext \
16921     conftest$ac_exeext conftest.$ac_ext
16922     LDFLAGS=$save_LDFLAGS
16923     libdir=$save_libdir
16924
16925 fi
16926
16927   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16928
16929   # This implies no fast_install, which is unacceptable.
16930   # Some rework will be needed to allow for fast_install
16931   # before this can be enabled.
16932   hardcode_into_libs=yes
16933
16934   # Append ld.so.conf contents to the search path
16935   if test -f /etc/ld.so.conf; then
16936     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
16937     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16938   fi
16939
16940   # We used to test for /lib/ld.so.1 and disable shared libraries on
16941   # powerpc, because MkLinux only supported shared libraries with the
16942   # GNU dynamic linker.  Since this was broken with cross compilers,
16943   # most powerpc-linux boxes support dynamic linking these days and
16944   # people can always --disable-shared, the test was removed, and we
16945   # assume the GNU/Linux dynamic linker is in use.
16946   dynamic_linker='GNU/Linux ld.so'
16947   ;;
16948
16949 netbsdelf*-gnu)
16950   version_type=linux
16951   need_lib_prefix=no
16952   need_version=no
16953   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16954   soname_spec='${libname}${release}${shared_ext}$major'
16955   shlibpath_var=LD_LIBRARY_PATH
16956   shlibpath_overrides_runpath=no
16957   hardcode_into_libs=yes
16958   dynamic_linker='NetBSD ld.elf_so'
16959   ;;
16960
16961 netbsd*)
16962   version_type=sunos
16963   need_lib_prefix=no
16964   need_version=no
16965   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16966     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16967     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16968     dynamic_linker='NetBSD (a.out) ld.so'
16969   else
16970     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16971     soname_spec='${libname}${release}${shared_ext}$major'
16972     dynamic_linker='NetBSD ld.elf_so'
16973   fi
16974   shlibpath_var=LD_LIBRARY_PATH
16975   shlibpath_overrides_runpath=yes
16976   hardcode_into_libs=yes
16977   ;;
16978
16979 newsos6)
16980   version_type=linux # correct to gnu/linux during the next big refactor
16981   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16982   shlibpath_var=LD_LIBRARY_PATH
16983   shlibpath_overrides_runpath=yes
16984   ;;
16985
16986 *nto* | *qnx*)
16987   version_type=qnx
16988   need_lib_prefix=no
16989   need_version=no
16990   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16991   soname_spec='${libname}${release}${shared_ext}$major'
16992   shlibpath_var=LD_LIBRARY_PATH
16993   shlibpath_overrides_runpath=no
16994   hardcode_into_libs=yes
16995   dynamic_linker='ldqnx.so'
16996   ;;
16997
16998 openbsd*)
16999   version_type=sunos
17000   sys_lib_dlsearch_path_spec="/usr/lib"
17001   need_lib_prefix=no
17002   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17003   case $host_os in
17004     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
17005     *)                          need_version=no  ;;
17006   esac
17007   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17008   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17009   shlibpath_var=LD_LIBRARY_PATH
17010   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17011     case $host_os in
17012       openbsd2.[89] | openbsd2.[89].*)
17013         shlibpath_overrides_runpath=no
17014         ;;
17015       *)
17016         shlibpath_overrides_runpath=yes
17017         ;;
17018       esac
17019   else
17020     shlibpath_overrides_runpath=yes
17021   fi
17022   ;;
17023
17024 os2*)
17025   libname_spec='$name'
17026   shrext_cmds=".dll"
17027   need_lib_prefix=no
17028   library_names_spec='$libname${shared_ext} $libname.a'
17029   dynamic_linker='OS/2 ld.exe'
17030   shlibpath_var=LIBPATH
17031   ;;
17032
17033 osf3* | osf4* | osf5*)
17034   version_type=osf
17035   need_lib_prefix=no
17036   need_version=no
17037   soname_spec='${libname}${release}${shared_ext}$major'
17038   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17039   shlibpath_var=LD_LIBRARY_PATH
17040   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17041   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17042   ;;
17043
17044 rdos*)
17045   dynamic_linker=no
17046   ;;
17047
17048 solaris*)
17049   version_type=linux # correct to gnu/linux during the next big refactor
17050   need_lib_prefix=no
17051   need_version=no
17052   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17053   soname_spec='${libname}${release}${shared_ext}$major'
17054   shlibpath_var=LD_LIBRARY_PATH
17055   shlibpath_overrides_runpath=yes
17056   hardcode_into_libs=yes
17057   # ldd complains unless libraries are executable
17058   postinstall_cmds='chmod +x $lib'
17059   ;;
17060
17061 sunos4*)
17062   version_type=sunos
17063   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17064   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17065   shlibpath_var=LD_LIBRARY_PATH
17066   shlibpath_overrides_runpath=yes
17067   if test "$with_gnu_ld" = yes; then
17068     need_lib_prefix=no
17069   fi
17070   need_version=yes
17071   ;;
17072
17073 sysv4 | sysv4.3*)
17074   version_type=linux # correct to gnu/linux during the next big refactor
17075   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17076   soname_spec='${libname}${release}${shared_ext}$major'
17077   shlibpath_var=LD_LIBRARY_PATH
17078   case $host_vendor in
17079     sni)
17080       shlibpath_overrides_runpath=no
17081       need_lib_prefix=no
17082       runpath_var=LD_RUN_PATH
17083       ;;
17084     siemens)
17085       need_lib_prefix=no
17086       ;;
17087     motorola)
17088       need_lib_prefix=no
17089       need_version=no
17090       shlibpath_overrides_runpath=no
17091       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17092       ;;
17093   esac
17094   ;;
17095
17096 sysv4*MP*)
17097   if test -d /usr/nec ;then
17098     version_type=linux # correct to gnu/linux during the next big refactor
17099     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17100     soname_spec='$libname${shared_ext}.$major'
17101     shlibpath_var=LD_LIBRARY_PATH
17102   fi
17103   ;;
17104
17105 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17106   version_type=freebsd-elf
17107   need_lib_prefix=no
17108   need_version=no
17109   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17110   soname_spec='${libname}${release}${shared_ext}$major'
17111   shlibpath_var=LD_LIBRARY_PATH
17112   shlibpath_overrides_runpath=yes
17113   hardcode_into_libs=yes
17114   if test "$with_gnu_ld" = yes; then
17115     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17116   else
17117     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17118     case $host_os in
17119       sco3.2v5*)
17120         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17121         ;;
17122     esac
17123   fi
17124   sys_lib_dlsearch_path_spec='/usr/lib'
17125   ;;
17126
17127 tpf*)
17128   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
17129   version_type=linux # correct to gnu/linux during the next big refactor
17130   need_lib_prefix=no
17131   need_version=no
17132   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17133   shlibpath_var=LD_LIBRARY_PATH
17134   shlibpath_overrides_runpath=no
17135   hardcode_into_libs=yes
17136   ;;
17137
17138 uts4*)
17139   version_type=linux # correct to gnu/linux during the next big refactor
17140   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17141   soname_spec='${libname}${release}${shared_ext}$major'
17142   shlibpath_var=LD_LIBRARY_PATH
17143   ;;
17144
17145 *)
17146   dynamic_linker=no
17147   ;;
17148 esac
17149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17150 $as_echo "$dynamic_linker" >&6; }
17151 test "$dynamic_linker" = no && can_build_shared=no
17152
17153 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17154 if test "$GCC" = yes; then
17155   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17156 fi
17157
17158 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17159   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17160 fi
17161 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17162   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17163 fi
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17203 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17204 hardcode_action_CXX=
17205 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17206    test -n "$runpath_var_CXX" ||
17207    test "X$hardcode_automatic_CXX" = "Xyes" ; then
17208
17209   # We can hardcode non-existent directories.
17210   if test "$hardcode_direct_CXX" != no &&
17211      # If the only mechanism to avoid hardcoding is shlibpath_var, we
17212      # have to relink, otherwise we might link with an installed library
17213      # when we should be linking with a yet-to-be-installed one
17214      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17215      test "$hardcode_minus_L_CXX" != no; then
17216     # Linking always hardcodes the temporary library directory.
17217     hardcode_action_CXX=relink
17218   else
17219     # We can link without hardcoding, and we can hardcode nonexisting dirs.
17220     hardcode_action_CXX=immediate
17221   fi
17222 else
17223   # We cannot hardcode anything, or else we can only hardcode existing
17224   # directories.
17225   hardcode_action_CXX=unsupported
17226 fi
17227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17228 $as_echo "$hardcode_action_CXX" >&6; }
17229
17230 if test "$hardcode_action_CXX" = relink ||
17231    test "$inherit_rpath_CXX" = yes; then
17232   # Fast installation is not supported
17233   enable_fast_install=no
17234 elif test "$shlibpath_overrides_runpath" = yes ||
17235      test "$enable_shared" = no; then
17236   # Fast installation is not necessary
17237   enable_fast_install=needless
17238 fi
17239
17240
17241
17242
17243
17244
17245
17246   fi # test -n "$compiler"
17247
17248   CC=$lt_save_CC
17249   CFLAGS=$lt_save_CFLAGS
17250   LDCXX=$LD
17251   LD=$lt_save_LD
17252   GCC=$lt_save_GCC
17253   with_gnu_ld=$lt_save_with_gnu_ld
17254   lt_cv_path_LDCXX=$lt_cv_path_LD
17255   lt_cv_path_LD=$lt_save_path_LD
17256   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17257   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17258 fi # test "$_lt_caught_CXX_error" != yes
17259
17260 ac_ext=c
17261 ac_cpp='$CPP $CPPFLAGS'
17262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17265
17266
17267 ac_ext=c
17268 ac_cpp='$CPP $CPPFLAGS'
17269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17272 if test -n "$ac_tool_prefix"; then
17273   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
17274 set dummy ${ac_tool_prefix}gcc; ac_word=$2
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17276 $as_echo_n "checking for $ac_word... " >&6; }
17277 if ${ac_cv_prog_CC+:} false; then :
17278   $as_echo_n "(cached) " >&6
17279 else
17280   if test -n "$CC"; then
17281   ac_cv_prog_CC="$CC" # Let the user override the test.
17282 else
17283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17284 for as_dir in $PATH
17285 do
17286   IFS=$as_save_IFS
17287   test -z "$as_dir" && as_dir=.
17288     for ac_exec_ext in '' $ac_executable_extensions; do
17289   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17290     ac_cv_prog_CC="${ac_tool_prefix}gcc"
17291     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17292     break 2
17293   fi
17294 done
17295   done
17296 IFS=$as_save_IFS
17297
17298 fi
17299 fi
17300 CC=$ac_cv_prog_CC
17301 if test -n "$CC"; then
17302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17303 $as_echo "$CC" >&6; }
17304 else
17305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17306 $as_echo "no" >&6; }
17307 fi
17308
17309
17310 fi
17311 if test -z "$ac_cv_prog_CC"; then
17312   ac_ct_CC=$CC
17313   # Extract the first word of "gcc", so it can be a program name with args.
17314 set dummy gcc; ac_word=$2
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17316 $as_echo_n "checking for $ac_word... " >&6; }
17317 if ${ac_cv_prog_ac_ct_CC+:} false; then :
17318   $as_echo_n "(cached) " >&6
17319 else
17320   if test -n "$ac_ct_CC"; then
17321   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
17322 else
17323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17324 for as_dir in $PATH
17325 do
17326   IFS=$as_save_IFS
17327   test -z "$as_dir" && as_dir=.
17328     for ac_exec_ext in '' $ac_executable_extensions; do
17329   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17330     ac_cv_prog_ac_ct_CC="gcc"
17331     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17332     break 2
17333   fi
17334 done
17335   done
17336 IFS=$as_save_IFS
17337
17338 fi
17339 fi
17340 ac_ct_CC=$ac_cv_prog_ac_ct_CC
17341 if test -n "$ac_ct_CC"; then
17342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
17343 $as_echo "$ac_ct_CC" >&6; }
17344 else
17345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17346 $as_echo "no" >&6; }
17347 fi
17348
17349   if test "x$ac_ct_CC" = x; then
17350     CC=""
17351   else
17352     case $cross_compiling:$ac_tool_warned in
17353 yes:)
17354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17356 ac_tool_warned=yes ;;
17357 esac
17358     CC=$ac_ct_CC
17359   fi
17360 else
17361   CC="$ac_cv_prog_CC"
17362 fi
17363
17364 if test -z "$CC"; then
17365           if test -n "$ac_tool_prefix"; then
17366     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
17367 set dummy ${ac_tool_prefix}cc; ac_word=$2
17368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17369 $as_echo_n "checking for $ac_word... " >&6; }
17370 if ${ac_cv_prog_CC+:} false; then :
17371   $as_echo_n "(cached) " >&6
17372 else
17373   if test -n "$CC"; then
17374   ac_cv_prog_CC="$CC" # Let the user override the test.
17375 else
17376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17377 for as_dir in $PATH
17378 do
17379   IFS=$as_save_IFS
17380   test -z "$as_dir" && as_dir=.
17381     for ac_exec_ext in '' $ac_executable_extensions; do
17382   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17383     ac_cv_prog_CC="${ac_tool_prefix}cc"
17384     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17385     break 2
17386   fi
17387 done
17388   done
17389 IFS=$as_save_IFS
17390
17391 fi
17392 fi
17393 CC=$ac_cv_prog_CC
17394 if test -n "$CC"; then
17395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17396 $as_echo "$CC" >&6; }
17397 else
17398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17399 $as_echo "no" >&6; }
17400 fi
17401
17402
17403   fi
17404 fi
17405 if test -z "$CC"; then
17406   # Extract the first word of "cc", so it can be a program name with args.
17407 set dummy cc; ac_word=$2
17408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17409 $as_echo_n "checking for $ac_word... " >&6; }
17410 if ${ac_cv_prog_CC+:} false; then :
17411   $as_echo_n "(cached) " >&6
17412 else
17413   if test -n "$CC"; then
17414   ac_cv_prog_CC="$CC" # Let the user override the test.
17415 else
17416   ac_prog_rejected=no
17417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17418 for as_dir in $PATH
17419 do
17420   IFS=$as_save_IFS
17421   test -z "$as_dir" && as_dir=.
17422     for ac_exec_ext in '' $ac_executable_extensions; do
17423   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17424     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
17425        ac_prog_rejected=yes
17426        continue
17427      fi
17428     ac_cv_prog_CC="cc"
17429     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17430     break 2
17431   fi
17432 done
17433   done
17434 IFS=$as_save_IFS
17435
17436 if test $ac_prog_rejected = yes; then
17437   # We found a bogon in the path, so make sure we never use it.
17438   set dummy $ac_cv_prog_CC
17439   shift
17440   if test $# != 0; then
17441     # We chose a different compiler from the bogus one.
17442     # However, it has the same basename, so the bogon will be chosen
17443     # first if we set CC to just the basename; use the full file name.
17444     shift
17445     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
17446   fi
17447 fi
17448 fi
17449 fi
17450 CC=$ac_cv_prog_CC
17451 if test -n "$CC"; then
17452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17453 $as_echo "$CC" >&6; }
17454 else
17455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17456 $as_echo "no" >&6; }
17457 fi
17458
17459
17460 fi
17461 if test -z "$CC"; then
17462   if test -n "$ac_tool_prefix"; then
17463   for ac_prog in cl.exe
17464   do
17465     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17466 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17468 $as_echo_n "checking for $ac_word... " >&6; }
17469 if ${ac_cv_prog_CC+:} false; then :
17470   $as_echo_n "(cached) " >&6
17471 else
17472   if test -n "$CC"; then
17473   ac_cv_prog_CC="$CC" # Let the user override the test.
17474 else
17475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17476 for as_dir in $PATH
17477 do
17478   IFS=$as_save_IFS
17479   test -z "$as_dir" && as_dir=.
17480     for ac_exec_ext in '' $ac_executable_extensions; do
17481   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17482     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
17483     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17484     break 2
17485   fi
17486 done
17487   done
17488 IFS=$as_save_IFS
17489
17490 fi
17491 fi
17492 CC=$ac_cv_prog_CC
17493 if test -n "$CC"; then
17494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17495 $as_echo "$CC" >&6; }
17496 else
17497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17498 $as_echo "no" >&6; }
17499 fi
17500
17501
17502     test -n "$CC" && break
17503   done
17504 fi
17505 if test -z "$CC"; then
17506   ac_ct_CC=$CC
17507   for ac_prog in cl.exe
17508 do
17509   # Extract the first word of "$ac_prog", so it can be a program name with args.
17510 set dummy $ac_prog; ac_word=$2
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17512 $as_echo_n "checking for $ac_word... " >&6; }
17513 if ${ac_cv_prog_ac_ct_CC+:} false; then :
17514   $as_echo_n "(cached) " >&6
17515 else
17516   if test -n "$ac_ct_CC"; then
17517   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
17518 else
17519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17520 for as_dir in $PATH
17521 do
17522   IFS=$as_save_IFS
17523   test -z "$as_dir" && as_dir=.
17524     for ac_exec_ext in '' $ac_executable_extensions; do
17525   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17526     ac_cv_prog_ac_ct_CC="$ac_prog"
17527     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17528     break 2
17529   fi
17530 done
17531   done
17532 IFS=$as_save_IFS
17533
17534 fi
17535 fi
17536 ac_ct_CC=$ac_cv_prog_ac_ct_CC
17537 if test -n "$ac_ct_CC"; then
17538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
17539 $as_echo "$ac_ct_CC" >&6; }
17540 else
17541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17542 $as_echo "no" >&6; }
17543 fi
17544
17545
17546   test -n "$ac_ct_CC" && break
17547 done
17548
17549   if test "x$ac_ct_CC" = x; then
17550     CC=""
17551   else
17552     case $cross_compiling:$ac_tool_warned in
17553 yes:)
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17556 ac_tool_warned=yes ;;
17557 esac
17558     CC=$ac_ct_CC
17559   fi
17560 fi
17561
17562 fi
17563
17564
17565 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17567 as_fn_error $? "no acceptable C compiler found in \$PATH
17568 See \`config.log' for more details" "$LINENO" 5; }
17569
17570 # Provide some information about the compiler.
17571 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
17572 set X $ac_compile
17573 ac_compiler=$2
17574 for ac_option in --version -v -V -qversion; do
17575   { { ac_try="$ac_compiler $ac_option >&5"
17576 case "(($ac_try" in
17577   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17578   *) ac_try_echo=$ac_try;;
17579 esac
17580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17581 $as_echo "$ac_try_echo"; } >&5
17582   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
17583   ac_status=$?
17584   if test -s conftest.err; then
17585     sed '10a\
17586 ... rest of stderr output deleted ...
17587          10q' conftest.err >conftest.er1
17588     cat conftest.er1 >&5
17589   fi
17590   rm -f conftest.er1 conftest.err
17591   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17592   test $ac_status = 0; }
17593 done
17594
17595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
17596 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
17597 if ${ac_cv_c_compiler_gnu+:} false; then :
17598   $as_echo_n "(cached) " >&6
17599 else
17600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17601 /* end confdefs.h.  */
17602
17603 int
17604 main ()
17605 {
17606 #ifndef __GNUC__
17607        choke me
17608 #endif
17609
17610   ;
17611   return 0;
17612 }
17613 _ACEOF
17614 if ac_fn_c_try_compile "$LINENO"; then :
17615   ac_compiler_gnu=yes
17616 else
17617   ac_compiler_gnu=no
17618 fi
17619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17620 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17621
17622 fi
17623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
17624 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
17625 if test $ac_compiler_gnu = yes; then
17626   GCC=yes
17627 else
17628   GCC=
17629 fi
17630 ac_test_CFLAGS=${CFLAGS+set}
17631 ac_save_CFLAGS=$CFLAGS
17632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17633 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17634 if ${ac_cv_prog_cc_g+:} false; then :
17635   $as_echo_n "(cached) " >&6
17636 else
17637   ac_save_c_werror_flag=$ac_c_werror_flag
17638    ac_c_werror_flag=yes
17639    ac_cv_prog_cc_g=no
17640    CFLAGS="-g"
17641    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17642 /* end confdefs.h.  */
17643
17644 int
17645 main ()
17646 {
17647
17648   ;
17649   return 0;
17650 }
17651 _ACEOF
17652 if ac_fn_c_try_compile "$LINENO"; then :
17653   ac_cv_prog_cc_g=yes
17654 else
17655   CFLAGS=""
17656       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17657 /* end confdefs.h.  */
17658
17659 int
17660 main ()
17661 {
17662
17663   ;
17664   return 0;
17665 }
17666 _ACEOF
17667 if ac_fn_c_try_compile "$LINENO"; then :
17668
17669 else
17670   ac_c_werror_flag=$ac_save_c_werror_flag
17671          CFLAGS="-g"
17672          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17673 /* end confdefs.h.  */
17674
17675 int
17676 main ()
17677 {
17678
17679   ;
17680   return 0;
17681 }
17682 _ACEOF
17683 if ac_fn_c_try_compile "$LINENO"; then :
17684   ac_cv_prog_cc_g=yes
17685 fi
17686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17687 fi
17688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17689 fi
17690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17691    ac_c_werror_flag=$ac_save_c_werror_flag
17692 fi
17693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17694 $as_echo "$ac_cv_prog_cc_g" >&6; }
17695 if test "$ac_test_CFLAGS" = set; then
17696   CFLAGS=$ac_save_CFLAGS
17697 elif test $ac_cv_prog_cc_g = yes; then
17698   if test "$GCC" = yes; then
17699     CFLAGS="-g -O2"
17700   else
17701     CFLAGS="-g"
17702   fi
17703 else
17704   if test "$GCC" = yes; then
17705     CFLAGS="-O2"
17706   else
17707     CFLAGS=
17708   fi
17709 fi
17710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17711 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17712 if ${ac_cv_prog_cc_c89+:} false; then :
17713   $as_echo_n "(cached) " >&6
17714 else
17715   ac_cv_prog_cc_c89=no
17716 ac_save_CC=$CC
17717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17718 /* end confdefs.h.  */
17719 #include <stdarg.h>
17720 #include <stdio.h>
17721 #include <sys/types.h>
17722 #include <sys/stat.h>
17723 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
17724 struct buf { int x; };
17725 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17726 static char *e (p, i)
17727      char **p;
17728      int i;
17729 {
17730   return p[i];
17731 }
17732 static char *f (char * (*g) (char **, int), char **p, ...)
17733 {
17734   char *s;
17735   va_list v;
17736   va_start (v,p);
17737   s = g (p, va_arg (v,int));
17738   va_end (v);
17739   return s;
17740 }
17741
17742 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
17743    function prototypes and stuff, but not '\xHH' hex character constants.
17744    These don't provoke an error unfortunately, instead are silently treated
17745    as 'x'.  The following induces an error, until -std is added to get
17746    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
17747    array size at least.  It's necessary to write '\x00'==0 to get something
17748    that's true only with -std.  */
17749 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17750
17751 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17752    inside strings and character constants.  */
17753 #define FOO(x) 'x'
17754 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17755
17756 int test (int i, double x);
17757 struct s1 {int (*f) (int a);};
17758 struct s2 {int (*f) (double a);};
17759 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17760 int argc;
17761 char **argv;
17762 int
17763 main ()
17764 {
17765 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
17766   ;
17767   return 0;
17768 }
17769 _ACEOF
17770 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17771         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17772 do
17773   CC="$ac_save_CC $ac_arg"
17774   if ac_fn_c_try_compile "$LINENO"; then :
17775   ac_cv_prog_cc_c89=$ac_arg
17776 fi
17777 rm -f core conftest.err conftest.$ac_objext
17778   test "x$ac_cv_prog_cc_c89" != "xno" && break
17779 done
17780 rm -f conftest.$ac_ext
17781 CC=$ac_save_CC
17782
17783 fi
17784 # AC_CACHE_VAL
17785 case "x$ac_cv_prog_cc_c89" in
17786   x)
17787     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17788 $as_echo "none needed" >&6; } ;;
17789   xno)
17790     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17791 $as_echo "unsupported" >&6; } ;;
17792   *)
17793     CC="$CC $ac_cv_prog_cc_c89"
17794     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17795 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17796 esac
17797 if test "x$ac_cv_prog_cc_c89" != xno; then :
17798
17799 fi
17800
17801 ac_ext=c
17802 ac_cpp='$CPP $CPPFLAGS'
17803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17806
17807 depcc="$CC"   am_compiler_list=
17808
17809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17810 $as_echo_n "checking dependency style of $depcc... " >&6; }
17811 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
17812   $as_echo_n "(cached) " >&6
17813 else
17814   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17815   # We make a subdir and do the tests there.  Otherwise we can end up
17816   # making bogus files that we don't know about and never remove.  For
17817   # instance it was reported that on HP-UX the gcc test will end up
17818   # making a dummy file named `D' -- because `-MD' means `put the output
17819   # in D'.
17820   rm -rf conftest.dir
17821   mkdir conftest.dir
17822   # Copy depcomp to subdir because otherwise we won't find it if we're
17823   # using a relative directory.
17824   cp "$am_depcomp" conftest.dir
17825   cd conftest.dir
17826   # We will build objects and dependencies in a subdirectory because
17827   # it helps to detect inapplicable dependency modes.  For instance
17828   # both Tru64's cc and ICC support -MD to output dependencies as a
17829   # side effect of compilation, but ICC will put the dependencies in
17830   # the current directory while Tru64 will put them in the object
17831   # directory.
17832   mkdir sub
17833
17834   am_cv_CC_dependencies_compiler_type=none
17835   if test "$am_compiler_list" = ""; then
17836      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17837   fi
17838   am__universal=false
17839   case " $depcc " in #(
17840      *\ -arch\ *\ -arch\ *) am__universal=true ;;
17841      esac
17842
17843   for depmode in $am_compiler_list; do
17844     # Setup a source with many dependencies, because some compilers
17845     # like to wrap large dependency lists on column 80 (with \), and
17846     # we should not choose a depcomp mode which is confused by this.
17847     #
17848     # We need to recreate these files for each test, as the compiler may
17849     # overwrite some of them when testing with obscure command lines.
17850     # This happens at least with the AIX C compiler.
17851     : > sub/conftest.c
17852     for i in 1 2 3 4 5 6; do
17853       echo '#include "conftst'$i'.h"' >> sub/conftest.c
17854       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
17855       # Solaris 8's {/usr,}/bin/sh.
17856       touch sub/conftst$i.h
17857     done
17858     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17859
17860     # We check with `-c' and `-o' for the sake of the "dashmstdout"
17861     # mode.  It turns out that the SunPro C++ compiler does not properly
17862     # handle `-M -o', and we need to detect this.  Also, some Intel
17863     # versions had trouble with output in subdirs
17864     am__obj=sub/conftest.${OBJEXT-o}
17865     am__minus_obj="-o $am__obj"
17866     case $depmode in
17867     gcc)
17868       # This depmode causes a compiler race in universal mode.
17869       test "$am__universal" = false || continue
17870       ;;
17871     nosideeffect)
17872       # after this tag, mechanisms are not by side-effect, so they'll
17873       # only be used when explicitly requested
17874       if test "x$enable_dependency_tracking" = xyes; then
17875         continue
17876       else
17877         break
17878       fi
17879       ;;
17880     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
17881       # This compiler won't grok `-c -o', but also, the minuso test has
17882       # not run yet.  These depmodes are late enough in the game, and
17883       # so weak that their functioning should not be impacted.
17884       am__obj=conftest.${OBJEXT-o}
17885       am__minus_obj=
17886       ;;
17887     none) break ;;
17888     esac
17889     if depmode=$depmode \
17890        source=sub/conftest.c object=$am__obj \
17891        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
17892        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
17893          >/dev/null 2>conftest.err &&
17894        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
17895        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
17896        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
17897        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
17898       # icc doesn't choke on unknown options, it will just issue warnings
17899       # or remarks (even with -Werror).  So we grep stderr for any message
17900       # that says an option was ignored or not supported.
17901       # When given -MP, icc 7.0 and 7.1 complain thusly:
17902       #   icc: Command line warning: ignoring option '-M'; no argument required
17903       # The diagnosis changed in icc 8.0:
17904       #   icc: Command line remark: option '-MP' not supported
17905       if (grep 'ignoring option' conftest.err ||
17906           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17907         am_cv_CC_dependencies_compiler_type=$depmode
17908         break
17909       fi
17910     fi
17911   done
17912
17913   cd ..
17914   rm -rf conftest.dir
17915 else
17916   am_cv_CC_dependencies_compiler_type=none
17917 fi
17918
17919 fi
17920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
17921 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
17922 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
17923
17924  if
17925   test "x$enable_dependency_tracking" != xno \
17926   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
17927   am__fastdepCC_TRUE=
17928   am__fastdepCC_FALSE='#'
17929 else
17930   am__fastdepCC_TRUE='#'
17931   am__fastdepCC_FALSE=
17932 fi
17933
17934
17935
17936 # pkg-config
17937
17938
17939
17940
17941
17942
17943
17944 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17945         if test -n "$ac_tool_prefix"; then
17946   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17947 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17949 $as_echo_n "checking for $ac_word... " >&6; }
17950 if ${ac_cv_path_PKG_CONFIG+:} false; then :
17951   $as_echo_n "(cached) " >&6
17952 else
17953   case $PKG_CONFIG in
17954   [\\/]* | ?:[\\/]*)
17955   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17956   ;;
17957   *)
17958   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17959 for as_dir in $PATH
17960 do
17961   IFS=$as_save_IFS
17962   test -z "$as_dir" && as_dir=.
17963     for ac_exec_ext in '' $ac_executable_extensions; do
17964   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17965     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17966     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17967     break 2
17968   fi
17969 done
17970   done
17971 IFS=$as_save_IFS
17972
17973   ;;
17974 esac
17975 fi
17976 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17977 if test -n "$PKG_CONFIG"; then
17978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17979 $as_echo "$PKG_CONFIG" >&6; }
17980 else
17981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17982 $as_echo "no" >&6; }
17983 fi
17984
17985
17986 fi
17987 if test -z "$ac_cv_path_PKG_CONFIG"; then
17988   ac_pt_PKG_CONFIG=$PKG_CONFIG
17989   # Extract the first word of "pkg-config", so it can be a program name with args.
17990 set dummy pkg-config; ac_word=$2
17991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17992 $as_echo_n "checking for $ac_word... " >&6; }
17993 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
17994   $as_echo_n "(cached) " >&6
17995 else
17996   case $ac_pt_PKG_CONFIG in
17997   [\\/]* | ?:[\\/]*)
17998   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17999   ;;
18000   *)
18001   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18002 for as_dir in $PATH
18003 do
18004   IFS=$as_save_IFS
18005   test -z "$as_dir" && as_dir=.
18006     for ac_exec_ext in '' $ac_executable_extensions; do
18007   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18008     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18009     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18010     break 2
18011   fi
18012 done
18013   done
18014 IFS=$as_save_IFS
18015
18016   ;;
18017 esac
18018 fi
18019 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18020 if test -n "$ac_pt_PKG_CONFIG"; then
18021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18022 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18023 else
18024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18025 $as_echo "no" >&6; }
18026 fi
18027
18028   if test "x$ac_pt_PKG_CONFIG" = x; then
18029     PKG_CONFIG=""
18030   else
18031     case $cross_compiling:$ac_tool_warned in
18032 yes:)
18033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18034 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18035 ac_tool_warned=yes ;;
18036 esac
18037     PKG_CONFIG=$ac_pt_PKG_CONFIG
18038   fi
18039 else
18040   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18041 fi
18042
18043 fi
18044 if test -n "$PKG_CONFIG"; then
18045         _pkg_min_version=0.9.0
18046         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18047 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18048         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18049                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18050 $as_echo "yes" >&6; }
18051         else
18052                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18053 $as_echo "no" >&6; }
18054                 PKG_CONFIG=""
18055         fi
18056 fi
18057
18058 # Check whether pkg-config supports Requires.private
18059 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
18060    pkgconfig_requires_private="Requires.private"
18061 else
18062    pkgconfig_requires_private="Requires"
18063 fi
18064
18065
18066 # doxygen program for documentation building
18067
18068
18069 # Check whether --enable-doc was given.
18070 if test "${enable_doc+set}" = set; then :
18071   enableval=$enable_doc;
18072     if test "x${enableval}" = "xyes" ; then
18073        efl_enable_doc="yes"
18074     else
18075        efl_enable_doc="no"
18076     fi
18077
18078 else
18079   efl_enable_doc="yes"
18080 fi
18081
18082
18083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
18084 $as_echo_n "checking whether to build documentation... " >&6; }
18085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
18086 $as_echo "${efl_enable_doc}" >&6; }
18087
18088 if test "x${efl_enable_doc}" = "xyes" ; then
18089
18090
18091    efl_doxygen="doxygen"
18092
18093
18094 # Check whether --with-doxygen was given.
18095 if test "${with_doxygen+set}" = set; then :
18096   withval=$with_doxygen;
18097       efl_doxygen=${withval}
18098        # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
18099 set dummy ${efl_doxygen}; ac_word=$2
18100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18101 $as_echo_n "checking for $ac_word... " >&6; }
18102 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
18103   $as_echo_n "(cached) " >&6
18104 else
18105   if test -n "$efl_have_doxygen"; then
18106   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
18107 else
18108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18109 for as_dir in $PATH
18110 do
18111   IFS=$as_save_IFS
18112   test -z "$as_dir" && as_dir=.
18113     for ac_exec_ext in '' $ac_executable_extensions; do
18114   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18115     ac_cv_prog_efl_have_doxygen="yes"
18116     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18117     break 2
18118   fi
18119 done
18120   done
18121 IFS=$as_save_IFS
18122
18123   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
18124 fi
18125 fi
18126 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
18127 if test -n "$efl_have_doxygen"; then
18128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
18129 $as_echo "$efl_have_doxygen" >&6; }
18130 else
18131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18132 $as_echo "no" >&6; }
18133 fi
18134
18135
18136        if test "x${efl_have_doxygen}" = "xno" ; then
18137           echo "WARNING:"
18138           echo "The doxygen program you specified:"
18139           echo "${efl_doxygen}"
18140           echo "was not found.  Please check the path and make sure "
18141           echo "the program exists and is executable."
18142           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
18143 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
18144        fi
18145
18146 else
18147   # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
18148 set dummy ${efl_doxygen}; ac_word=$2
18149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18150 $as_echo_n "checking for $ac_word... " >&6; }
18151 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
18152   $as_echo_n "(cached) " >&6
18153 else
18154   if test -n "$efl_have_doxygen"; then
18155   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
18156 else
18157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18158 for as_dir in $PATH
18159 do
18160   IFS=$as_save_IFS
18161   test -z "$as_dir" && as_dir=.
18162     for ac_exec_ext in '' $ac_executable_extensions; do
18163   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18164     ac_cv_prog_efl_have_doxygen="yes"
18165     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18166     break 2
18167   fi
18168 done
18169   done
18170 IFS=$as_save_IFS
18171
18172   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
18173 fi
18174 fi
18175 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
18176 if test -n "$efl_have_doxygen"; then
18177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
18178 $as_echo "$efl_have_doxygen" >&6; }
18179 else
18180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18181 $as_echo "no" >&6; }
18182 fi
18183
18184
18185        if test "x${efl_have_doxygen}" = "xno" ; then
18186           echo "WARNING:"
18187           echo "The doxygen program was not found in your execute path."
18188           echo "You may have doxygen installed somewhere not covered by your path."
18189           echo ""
18190           echo "If this is the case make sure you have the packages installed, AND"
18191           echo "that the doxygen program is in your execute path (see your"
18192           echo "shell manual page on setting the \$PATH environment variable), OR"
18193           echo "alternatively, specify the program to use with --with-doxygen."
18194           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
18195 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
18196        fi
18197
18198 fi
18199
18200 fi
18201
18202
18203
18204 if ! test "x${efl_have_doxygen}" = "xyes" ; then
18205    efl_enable_doc="no"
18206 fi
18207
18208  if test "x${efl_enable_doc}" = "xyes"; then
18209   EFL_BUILD_DOC_TRUE=
18210   EFL_BUILD_DOC_FALSE='#'
18211 else
18212   EFL_BUILD_DOC_TRUE='#'
18213   EFL_BUILD_DOC_FALSE=
18214 fi
18215
18216
18217 if test "x${efl_enable_doc}" = "xyes" ; then
18218   build_doc="yes"
18219 else
18220   build_doc="no"
18221 fi
18222
18223
18224
18225
18226 ### Checks for libraries
18227
18228 # Evil library for compilation on Windows CE
18229
18230 case "$host_os" in
18231    mingw*)
18232
18233 pkg_failed=no
18234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
18235 $as_echo_n "checking for EVIL... " >&6; }
18236
18237 if test -n "$EVIL_CFLAGS"; then
18238     pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
18239  elif test -n "$PKG_CONFIG"; then
18240     if test -n "$PKG_CONFIG" && \
18241     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
18242   ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
18243   ac_status=$?
18244   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18245   test $ac_status = 0; }; then
18246   pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.0.0" 2>/dev/null`
18247                       test "x$?" != "x0" && pkg_failed=yes
18248 else
18249   pkg_failed=yes
18250 fi
18251  else
18252     pkg_failed=untried
18253 fi
18254 if test -n "$EVIL_LIBS"; then
18255     pkg_cv_EVIL_LIBS="$EVIL_LIBS"
18256  elif test -n "$PKG_CONFIG"; then
18257     if test -n "$PKG_CONFIG" && \
18258     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
18259   ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
18260   ac_status=$?
18261   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18262   test $ac_status = 0; }; then
18263   pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.0.0" 2>/dev/null`
18264                       test "x$?" != "x0" && pkg_failed=yes
18265 else
18266   pkg_failed=yes
18267 fi
18268  else
18269     pkg_failed=untried
18270 fi
18271
18272
18273
18274 if test $pkg_failed = yes; then
18275         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18276 $as_echo "no" >&6; }
18277
18278 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18279         _pkg_short_errors_supported=yes
18280 else
18281         _pkg_short_errors_supported=no
18282 fi
18283         if test $_pkg_short_errors_supported = yes; then
18284                 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evil >= 1.0.0" 2>&1`
18285         else
18286                 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evil >= 1.0.0" 2>&1`
18287         fi
18288         # Put the nasty error message in config.log where it belongs
18289         echo "$EVIL_PKG_ERRORS" >&5
18290
18291         as_fn_error $? "Package requirements (evil >= 1.0.0) were not met:
18292
18293 $EVIL_PKG_ERRORS
18294
18295 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18296 installed software in a non-standard prefix.
18297
18298 Alternatively, you may set the environment variables EVIL_CFLAGS
18299 and EVIL_LIBS to avoid the need to call pkg-config.
18300 See the pkg-config man page for more details." "$LINENO" 5
18301 elif test $pkg_failed = untried; then
18302         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18303 $as_echo "no" >&6; }
18304         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18306 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
18307 is in your PATH or set the PKG_CONFIG environment variable to the full
18308 path to pkg-config.
18309
18310 Alternatively, you may set the environment variables EVIL_CFLAGS
18311 and EVIL_LIBS to avoid the need to call pkg-config.
18312 See the pkg-config man page for more details.
18313
18314 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18315 See \`config.log' for more details" "$LINENO" 5; }
18316 else
18317         EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
18318         EVIL_LIBS=$pkg_cv_EVIL_LIBS
18319         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18320 $as_echo "yes" >&6; }
18321
18322 fi
18323
18324 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
18325
18326       requirement_evas="evil ${requirement_evas}"
18327    ;;
18328 esac
18329
18330 ### Checks for portability layer
18331
18332
18333 pkg_failed=no
18334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXOTIC" >&5
18335 $as_echo_n "checking for EXOTIC... " >&6; }
18336
18337 if test -n "$EXOTIC_CFLAGS"; then
18338     pkg_cv_EXOTIC_CFLAGS="$EXOTIC_CFLAGS"
18339  elif test -n "$PKG_CONFIG"; then
18340     if test -n "$PKG_CONFIG" && \
18341     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
18342   ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
18343   ac_status=$?
18344   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18345   test $ac_status = 0; }; then
18346   pkg_cv_EXOTIC_CFLAGS=`$PKG_CONFIG --cflags "exotic" 2>/dev/null`
18347                       test "x$?" != "x0" && pkg_failed=yes
18348 else
18349   pkg_failed=yes
18350 fi
18351  else
18352     pkg_failed=untried
18353 fi
18354 if test -n "$EXOTIC_LIBS"; then
18355     pkg_cv_EXOTIC_LIBS="$EXOTIC_LIBS"
18356  elif test -n "$PKG_CONFIG"; then
18357     if test -n "$PKG_CONFIG" && \
18358     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
18359   ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
18360   ac_status=$?
18361   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18362   test $ac_status = 0; }; then
18363   pkg_cv_EXOTIC_LIBS=`$PKG_CONFIG --libs "exotic" 2>/dev/null`
18364                       test "x$?" != "x0" && pkg_failed=yes
18365 else
18366   pkg_failed=yes
18367 fi
18368  else
18369     pkg_failed=untried
18370 fi
18371
18372
18373
18374 if test $pkg_failed = yes; then
18375         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18376 $as_echo "no" >&6; }
18377
18378 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18379         _pkg_short_errors_supported=yes
18380 else
18381         _pkg_short_errors_supported=no
18382 fi
18383         if test $_pkg_short_errors_supported = yes; then
18384                 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "exotic" 2>&1`
18385         else
18386                 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "exotic" 2>&1`
18387         fi
18388         # Put the nasty error message in config.log where it belongs
18389         echo "$EXOTIC_PKG_ERRORS" >&5
18390
18391         enable_exotic="no"
18392 elif test $pkg_failed = untried; then
18393         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18394 $as_echo "no" >&6; }
18395         enable_exotic="no"
18396 else
18397         EXOTIC_CFLAGS=$pkg_cv_EXOTIC_CFLAGS
18398         EXOTIC_LIBS=$pkg_cv_EXOTIC_LIBS
18399         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18400 $as_echo "yes" >&6; }
18401         enable_exotic="yes"
18402 fi
18403
18404 if test "x${enable_exotic}" = "xyes"; then
18405     requirement_evas="exotic ${requirement_evas}"
18406
18407
18408 $as_echo "#define HAVE_EXOTIC 1" >>confdefs.h
18409
18410 fi
18411  if test "x${enable_exotic}" = "xyes"; then
18412   EVAS_HAVE_EXOTIC_TRUE=
18413   EVAS_HAVE_EXOTIC_FALSE='#'
18414 else
18415   EVAS_HAVE_EXOTIC_TRUE='#'
18416   EVAS_HAVE_EXOTIC_FALSE=
18417 fi
18418
18419
18420 ## strong dependencies
18421
18422 # Eina
18423
18424 pkg_failed=no
18425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EINA" >&5
18426 $as_echo_n "checking for EINA... " >&6; }
18427
18428 if test -n "$EINA_CFLAGS"; then
18429     pkg_cv_EINA_CFLAGS="$EINA_CFLAGS"
18430  elif test -n "$PKG_CONFIG"; then
18431     if test -n "$PKG_CONFIG" && \
18432     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.6.0\""; } >&5
18433   ($PKG_CONFIG --exists --print-errors "eina >= 1.6.0") 2>&5
18434   ac_status=$?
18435   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18436   test $ac_status = 0; }; then
18437   pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.6.0" 2>/dev/null`
18438                       test "x$?" != "x0" && pkg_failed=yes
18439 else
18440   pkg_failed=yes
18441 fi
18442  else
18443     pkg_failed=untried
18444 fi
18445 if test -n "$EINA_LIBS"; then
18446     pkg_cv_EINA_LIBS="$EINA_LIBS"
18447  elif test -n "$PKG_CONFIG"; then
18448     if test -n "$PKG_CONFIG" && \
18449     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.6.0\""; } >&5
18450   ($PKG_CONFIG --exists --print-errors "eina >= 1.6.0") 2>&5
18451   ac_status=$?
18452   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18453   test $ac_status = 0; }; then
18454   pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina >= 1.6.0" 2>/dev/null`
18455                       test "x$?" != "x0" && pkg_failed=yes
18456 else
18457   pkg_failed=yes
18458 fi
18459  else
18460     pkg_failed=untried
18461 fi
18462
18463
18464
18465 if test $pkg_failed = yes; then
18466         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18467 $as_echo "no" >&6; }
18468
18469 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18470         _pkg_short_errors_supported=yes
18471 else
18472         _pkg_short_errors_supported=no
18473 fi
18474         if test $_pkg_short_errors_supported = yes; then
18475                 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eina >= 1.6.0" 2>&1`
18476         else
18477                 EINA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eina >= 1.6.0" 2>&1`
18478         fi
18479         # Put the nasty error message in config.log where it belongs
18480         echo "$EINA_PKG_ERRORS" >&5
18481
18482         as_fn_error $? "Package requirements (eina >= 1.6.0) were not met:
18483
18484 $EINA_PKG_ERRORS
18485
18486 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18487 installed software in a non-standard prefix.
18488
18489 Alternatively, you may set the environment variables EINA_CFLAGS
18490 and EINA_LIBS to avoid the need to call pkg-config.
18491 See the pkg-config man page for more details." "$LINENO" 5
18492 elif test $pkg_failed = untried; then
18493         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18494 $as_echo "no" >&6; }
18495         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18496 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18497 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
18498 is in your PATH or set the PKG_CONFIG environment variable to the full
18499 path to pkg-config.
18500
18501 Alternatively, you may set the environment variables EINA_CFLAGS
18502 and EINA_LIBS to avoid the need to call pkg-config.
18503 See the pkg-config man page for more details.
18504
18505 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18506 See \`config.log' for more details" "$LINENO" 5; }
18507 else
18508         EINA_CFLAGS=$pkg_cv_EINA_CFLAGS
18509         EINA_LIBS=$pkg_cv_EINA_LIBS
18510         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18511 $as_echo "yes" >&6; }
18512
18513 fi
18514 CPPFLAGS_SAVE="$CPPFLAGS"
18515 CPPFLAGS="$CPPFLAGS $EINA_CFLAGS"
18516 # The cast to long int works around a bug in the HP C Compiler
18517 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18518 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18519 # This bug is HP SR number 8606223364.
18520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of Eina_Unicode" >&5
18521 $as_echo_n "checking size of Eina_Unicode... " >&6; }
18522 if ${ac_cv_sizeof_Eina_Unicode+:} false; then :
18523   $as_echo_n "(cached) " >&6
18524 else
18525   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (Eina_Unicode))" "ac_cv_sizeof_Eina_Unicode"        "#include <Eina.h>
18526 "; then :
18527
18528 else
18529   if test "$ac_cv_type_Eina_Unicode" = yes; then
18530      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18531 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18532 as_fn_error 77 "cannot compute sizeof (Eina_Unicode)
18533 See \`config.log' for more details" "$LINENO" 5; }
18534    else
18535      ac_cv_sizeof_Eina_Unicode=0
18536    fi
18537 fi
18538
18539 fi
18540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_Eina_Unicode" >&5
18541 $as_echo "$ac_cv_sizeof_Eina_Unicode" >&6; }
18542
18543
18544
18545 cat >>confdefs.h <<_ACEOF
18546 #define SIZEOF_EINA_UNICODE $ac_cv_sizeof_Eina_Unicode
18547 _ACEOF
18548
18549
18550 CPPFLAGS="$CPPFLAGS_SAVE"
18551
18552 # Freetype
18553
18554 pkg_failed=no
18555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
18556 $as_echo_n "checking for FREETYPE... " >&6; }
18557
18558 if test -n "$FREETYPE_CFLAGS"; then
18559     pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
18560  elif test -n "$PKG_CONFIG"; then
18561     if test -n "$PKG_CONFIG" && \
18562     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 9.3.0\""; } >&5
18563   ($PKG_CONFIG --exists --print-errors "freetype2 >= 9.3.0") 2>&5
18564   ac_status=$?
18565   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18566   test $ac_status = 0; }; then
18567   pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2 >= 9.3.0" 2>/dev/null`
18568                       test "x$?" != "x0" && pkg_failed=yes
18569 else
18570   pkg_failed=yes
18571 fi
18572  else
18573     pkg_failed=untried
18574 fi
18575 if test -n "$FREETYPE_LIBS"; then
18576     pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
18577  elif test -n "$PKG_CONFIG"; then
18578     if test -n "$PKG_CONFIG" && \
18579     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 9.3.0\""; } >&5
18580   ($PKG_CONFIG --exists --print-errors "freetype2 >= 9.3.0") 2>&5
18581   ac_status=$?
18582   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18583   test $ac_status = 0; }; then
18584   pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2 >= 9.3.0" 2>/dev/null`
18585                       test "x$?" != "x0" && pkg_failed=yes
18586 else
18587   pkg_failed=yes
18588 fi
18589  else
18590     pkg_failed=untried
18591 fi
18592
18593
18594
18595 if test $pkg_failed = yes; then
18596         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18597 $as_echo "no" >&6; }
18598
18599 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18600         _pkg_short_errors_supported=yes
18601 else
18602         _pkg_short_errors_supported=no
18603 fi
18604         if test $_pkg_short_errors_supported = yes; then
18605                 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freetype2 >= 9.3.0" 2>&1`
18606         else
18607                 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freetype2 >= 9.3.0" 2>&1`
18608         fi
18609         # Put the nasty error message in config.log where it belongs
18610         echo "$FREETYPE_PKG_ERRORS" >&5
18611
18612         as_fn_error $? "Package requirements (freetype2 >= 9.3.0) were not met:
18613
18614 $FREETYPE_PKG_ERRORS
18615
18616 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18617 installed software in a non-standard prefix.
18618
18619 Alternatively, you may set the environment variables FREETYPE_CFLAGS
18620 and FREETYPE_LIBS to avoid the need to call pkg-config.
18621 See the pkg-config man page for more details." "$LINENO" 5
18622 elif test $pkg_failed = untried; then
18623         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18624 $as_echo "no" >&6; }
18625         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18627 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
18628 is in your PATH or set the PKG_CONFIG environment variable to the full
18629 path to pkg-config.
18630
18631 Alternatively, you may set the environment variables FREETYPE_CFLAGS
18632 and FREETYPE_LIBS to avoid the need to call pkg-config.
18633 See the pkg-config man page for more details.
18634
18635 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18636 See \`config.log' for more details" "$LINENO" 5; }
18637 else
18638         FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
18639         FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
18640         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18641 $as_echo "yes" >&6; }
18642
18643 fi
18644
18645 requirement_evas="freetype2 eina >= 1.6.0 ${requirement_evas}"
18646
18647 ## optional dependencies
18648
18649 # FontConfig
18650 have_fontconfig="no"
18651 # Check whether --enable-fontconfig was given.
18652 if test "${enable_fontconfig+set}" = set; then :
18653   enableval=$enable_fontconfig;
18654     if test "x${enableval}" = "xyes" ; then
18655        want_fontconfig="yes"
18656     else
18657        want_fontconfig="no"
18658     fi
18659
18660 fi
18661
18662
18663
18664 if test "x${want_fontconfig}" = "xyes" -o "x${want_fontconfig}" = "xauto" ; then
18665
18666 pkg_failed=no
18667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FONTCONFIG" >&5
18668 $as_echo_n "checking for FONTCONFIG... " >&6; }
18669
18670 if test -n "$FONTCONFIG_CFLAGS"; then
18671     pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
18672  elif test -n "$PKG_CONFIG"; then
18673     if test -n "$PKG_CONFIG" && \
18674     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.0\""; } >&5
18675   ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5
18676   ac_status=$?
18677   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18678   test $ac_status = 0; }; then
18679   pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.5.0" 2>/dev/null`
18680                       test "x$?" != "x0" && pkg_failed=yes
18681 else
18682   pkg_failed=yes
18683 fi
18684  else
18685     pkg_failed=untried
18686 fi
18687 if test -n "$FONTCONFIG_LIBS"; then
18688     pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
18689  elif test -n "$PKG_CONFIG"; then
18690     if test -n "$PKG_CONFIG" && \
18691     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.0\""; } >&5
18692   ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5
18693   ac_status=$?
18694   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18695   test $ac_status = 0; }; then
18696   pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.5.0" 2>/dev/null`
18697                       test "x$?" != "x0" && pkg_failed=yes
18698 else
18699   pkg_failed=yes
18700 fi
18701  else
18702     pkg_failed=untried
18703 fi
18704
18705
18706
18707 if test $pkg_failed = yes; then
18708         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18709 $as_echo "no" >&6; }
18710
18711 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18712         _pkg_short_errors_supported=yes
18713 else
18714         _pkg_short_errors_supported=no
18715 fi
18716         if test $_pkg_short_errors_supported = yes; then
18717                 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fontconfig >= 2.5.0" 2>&1`
18718         else
18719                 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fontconfig >= 2.5.0" 2>&1`
18720         fi
18721         # Put the nasty error message in config.log where it belongs
18722         echo "$FONTCONFIG_PKG_ERRORS" >&5
18723
18724
18725        if test "x${want_fontconfig}" = "xyes" -a "x${use_strict}" = "xyes" ; then
18726           as_fn_error $? "Fontconfig not found (strict dependencies checking)" "$LINENO" 5
18727        fi
18728
18729 elif test $pkg_failed = untried; then
18730         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18731 $as_echo "no" >&6; }
18732
18733        if test "x${want_fontconfig}" = "xyes" -a "x${use_strict}" = "xyes" ; then
18734           as_fn_error $? "Fontconfig not found (strict dependencies checking)" "$LINENO" 5
18735        fi
18736
18737 else
18738         FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
18739         FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
18740         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18741 $as_echo "yes" >&6; }
18742
18743        have_fontconfig="yes"
18744
18745 $as_echo "#define HAVE_FONTCONFIG 1" >>confdefs.h
18746
18747        requirement_evas="fontconfig ${requirement_evas}"
18748
18749 fi
18750 fi
18751
18752 # linebreak
18753 have_linebreak="no"
18754 want_linebreak="yes"
18755 # Check whether --enable-liblinebreak was given.
18756 if test "${enable_liblinebreak+set}" = set; then :
18757   enableval=$enable_liblinebreak;
18758     if test "x${enableval}" = "xyes" ; then
18759        want_linebreak="yes"
18760     else
18761        want_linebreak="no"
18762     fi
18763
18764 fi
18765
18766
18767
18768  if test "x${want_linebreak}" = "xyes"; then
18769   EVAS_USE_LINEBREAK_TRUE=
18770   EVAS_USE_LINEBREAK_FALSE='#'
18771 else
18772   EVAS_USE_LINEBREAK_TRUE='#'
18773   EVAS_USE_LINEBREAK_FALSE=
18774 fi
18775
18776 if test "x${want_linebreak}" = "xyes" ; then
18777    have_linebreak="yes"
18778    LINEBREAK_CFLAGS='-I$(top_srcdir)/src/static_deps/liblinebreak'
18779    LINEBREAK_LIBS='$(top_builddir)/src/static_deps/liblinebreak/liblinebreak.la'
18780
18781
18782
18783 $as_echo "#define HAVE_LINEBREAK 1" >>confdefs.h
18784
18785 else
18786    have_linebreak="no"
18787 fi
18788
18789 # fribidi support
18790 have_fribidi="no"
18791 # Check whether --enable-fribidi was given.
18792 if test "${enable_fribidi+set}" = set; then :
18793   enableval=$enable_fribidi;
18794     if test "x${enableval}" = "xyes" ; then
18795        want_fribidi="yes"
18796     else
18797        want_fribidi="no"
18798     fi
18799
18800 fi
18801
18802
18803 if test "x${want_fribidi}" = "xyes" -o "x${want_fribidi}" = "xauto" ; then
18804
18805 pkg_failed=no
18806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FRIBIDI" >&5
18807 $as_echo_n "checking for FRIBIDI... " >&6; }
18808
18809 if test -n "$FRIBIDI_CFLAGS"; then
18810     pkg_cv_FRIBIDI_CFLAGS="$FRIBIDI_CFLAGS"
18811  elif test -n "$PKG_CONFIG"; then
18812     if test -n "$PKG_CONFIG" && \
18813     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi >= 0.19.2\""; } >&5
18814   ($PKG_CONFIG --exists --print-errors "fribidi >= 0.19.2") 2>&5
18815   ac_status=$?
18816   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18817   test $ac_status = 0; }; then
18818   pkg_cv_FRIBIDI_CFLAGS=`$PKG_CONFIG --cflags "fribidi >= 0.19.2" 2>/dev/null`
18819                       test "x$?" != "x0" && pkg_failed=yes
18820 else
18821   pkg_failed=yes
18822 fi
18823  else
18824     pkg_failed=untried
18825 fi
18826 if test -n "$FRIBIDI_LIBS"; then
18827     pkg_cv_FRIBIDI_LIBS="$FRIBIDI_LIBS"
18828  elif test -n "$PKG_CONFIG"; then
18829     if test -n "$PKG_CONFIG" && \
18830     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi >= 0.19.2\""; } >&5
18831   ($PKG_CONFIG --exists --print-errors "fribidi >= 0.19.2") 2>&5
18832   ac_status=$?
18833   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18834   test $ac_status = 0; }; then
18835   pkg_cv_FRIBIDI_LIBS=`$PKG_CONFIG --libs "fribidi >= 0.19.2" 2>/dev/null`
18836                       test "x$?" != "x0" && pkg_failed=yes
18837 else
18838   pkg_failed=yes
18839 fi
18840  else
18841     pkg_failed=untried
18842 fi
18843
18844
18845
18846 if test $pkg_failed = yes; then
18847         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18848 $as_echo "no" >&6; }
18849
18850 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18851         _pkg_short_errors_supported=yes
18852 else
18853         _pkg_short_errors_supported=no
18854 fi
18855         if test $_pkg_short_errors_supported = yes; then
18856                 FRIBIDI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fribidi >= 0.19.2" 2>&1`
18857         else
18858                 FRIBIDI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fribidi >= 0.19.2" 2>&1`
18859         fi
18860         # Put the nasty error message in config.log where it belongs
18861         echo "$FRIBIDI_PKG_ERRORS" >&5
18862
18863
18864        if test "x$want_fribidi" = "xyes" -a "x$use_strict" = "xyes" ; then
18865           as_fn_error $? "Fribidi not found (strict dependencies checking)" "$LINENO" 5
18866        fi
18867
18868 elif test $pkg_failed = untried; then
18869         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18870 $as_echo "no" >&6; }
18871
18872        if test "x$want_fribidi" = "xyes" -a "x$use_strict" = "xyes" ; then
18873           as_fn_error $? "Fribidi not found (strict dependencies checking)" "$LINENO" 5
18874        fi
18875
18876 else
18877         FRIBIDI_CFLAGS=$pkg_cv_FRIBIDI_CFLAGS
18878         FRIBIDI_LIBS=$pkg_cv_FRIBIDI_LIBS
18879         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18880 $as_echo "yes" >&6; }
18881
18882        have_fribidi="yes"
18883
18884 $as_echo "#define HAVE_FRIBIDI 1" >>confdefs.h
18885
18886        requirement_evas="fribidi ${requirement_evas}"
18887        CPPFLAGS_SAVE="$CPPFLAGS"
18888        CPPFLAGS="$CPPFLAGS $FRIBIDI_CFLAGS"
18889        # The cast to long int works around a bug in the HP C Compiler
18890 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18891 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18892 # This bug is HP SR number 8606223364.
18893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of FriBidiChar" >&5
18894 $as_echo_n "checking size of FriBidiChar... " >&6; }
18895 if ${ac_cv_sizeof_FriBidiChar+:} false; then :
18896   $as_echo_n "(cached) " >&6
18897 else
18898   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (FriBidiChar))" "ac_cv_sizeof_FriBidiChar"        "#include <fribidi/fribidi.h>
18899 "; then :
18900
18901 else
18902   if test "$ac_cv_type_FriBidiChar" = yes; then
18903      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18905 as_fn_error 77 "cannot compute sizeof (FriBidiChar)
18906 See \`config.log' for more details" "$LINENO" 5; }
18907    else
18908      ac_cv_sizeof_FriBidiChar=0
18909    fi
18910 fi
18911
18912 fi
18913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_FriBidiChar" >&5
18914 $as_echo "$ac_cv_sizeof_FriBidiChar" >&6; }
18915
18916
18917
18918 cat >>confdefs.h <<_ACEOF
18919 #define SIZEOF_FRIBIDICHAR $ac_cv_sizeof_FriBidiChar
18920 _ACEOF
18921
18922
18923        CPPFLAGS="$CPPFLAGS_SAVE"
18924
18925 fi
18926 fi
18927
18928 if test "x${have_fribidi}" = "xno"; then
18929   HAS_BIDI=0
18930 fi
18931
18932 # harfbuzz support
18933 have_harfbuzz="no"
18934 have_harfbuzz_ft="no"
18935 # Check whether --enable-harfbuzz was given.
18936 if test "${enable_harfbuzz+set}" = set; then :
18937   enableval=$enable_harfbuzz;
18938     if test "x${enableval}" = "xyes" ; then
18939        want_harfbuzz="yes"
18940     else
18941        want_harfbuzz="no"
18942     fi
18943
18944 fi
18945
18946
18947 if test "x${want_harfbuzz}" = "xyes" -o "x${want_harfbuzz}" = "xauto" ; then
18948
18949 pkg_failed=no
18950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HARFBUZZ" >&5
18951 $as_echo_n "checking for HARFBUZZ... " >&6; }
18952
18953 if test -n "$HARFBUZZ_CFLAGS"; then
18954     pkg_cv_HARFBUZZ_CFLAGS="$HARFBUZZ_CFLAGS"
18955  elif test -n "$PKG_CONFIG"; then
18956     if test -n "$PKG_CONFIG" && \
18957     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"harfbuzz >= 0.9.0\""; } >&5
18958   ($PKG_CONFIG --exists --print-errors "harfbuzz >= 0.9.0") 2>&5
18959   ac_status=$?
18960   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18961   test $ac_status = 0; }; then
18962   pkg_cv_HARFBUZZ_CFLAGS=`$PKG_CONFIG --cflags "harfbuzz >= 0.9.0" 2>/dev/null`
18963                       test "x$?" != "x0" && pkg_failed=yes
18964 else
18965   pkg_failed=yes
18966 fi
18967  else
18968     pkg_failed=untried
18969 fi
18970 if test -n "$HARFBUZZ_LIBS"; then
18971     pkg_cv_HARFBUZZ_LIBS="$HARFBUZZ_LIBS"
18972  elif test -n "$PKG_CONFIG"; then
18973     if test -n "$PKG_CONFIG" && \
18974     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"harfbuzz >= 0.9.0\""; } >&5
18975   ($PKG_CONFIG --exists --print-errors "harfbuzz >= 0.9.0") 2>&5
18976   ac_status=$?
18977   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18978   test $ac_status = 0; }; then
18979   pkg_cv_HARFBUZZ_LIBS=`$PKG_CONFIG --libs "harfbuzz >= 0.9.0" 2>/dev/null`
18980                       test "x$?" != "x0" && pkg_failed=yes
18981 else
18982   pkg_failed=yes
18983 fi
18984  else
18985     pkg_failed=untried
18986 fi
18987
18988
18989
18990 if test $pkg_failed = yes; then
18991         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18992 $as_echo "no" >&6; }
18993
18994 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18995         _pkg_short_errors_supported=yes
18996 else
18997         _pkg_short_errors_supported=no
18998 fi
18999         if test $_pkg_short_errors_supported = yes; then
19000                 HARFBUZZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "harfbuzz >= 0.9.0" 2>&1`
19001         else
19002                 HARFBUZZ_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "harfbuzz >= 0.9.0" 2>&1`
19003         fi
19004         # Put the nasty error message in config.log where it belongs
19005         echo "$HARFBUZZ_PKG_ERRORS" >&5
19006
19007
19008        if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then
19009           as_fn_error $? "Harfbuzz not found (strict dependencies checking)" "$LINENO" 5
19010        fi
19011
19012 elif test $pkg_failed = untried; then
19013         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19014 $as_echo "no" >&6; }
19015
19016        if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then
19017           as_fn_error $? "Harfbuzz not found (strict dependencies checking)" "$LINENO" 5
19018        fi
19019
19020 else
19021         HARFBUZZ_CFLAGS=$pkg_cv_HARFBUZZ_CFLAGS
19022         HARFBUZZ_LIBS=$pkg_cv_HARFBUZZ_LIBS
19023         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19024 $as_echo "yes" >&6; }
19025
19026        have_harfbuzz="yes"
19027        requirement_evas="harfbuzz ${requirement_evas}"
19028
19029 fi
19030    if test "x$have_harfbuzz" = "xyes" ; then
19031
19032       CPPFLAGS_SAVE="$CPPFLAGS"
19033       CPPFLAGS="$CPPFLAGS $HARFBUZZ_CFLAGS $FREETYPE_CFLAGS"
19034 # must have for usage with harfbuzz although harfbuzz may not have it.
19035
19036       ac_fn_c_check_header_mongrel "$LINENO" "hb-ft.h" "ac_cv_header_hb_ft_h" "$ac_includes_default"
19037 if test "x$ac_cv_header_hb_ft_h" = xyes; then :
19038
19039            have_harfbuzz_ft="yes"
19040            #Depend on harfbuzz ft for harfbuzz support
19041
19042 $as_echo "#define HAVE_HARFBUZZ 1" >>confdefs.h
19043
19044
19045 else
19046
19047            if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then
19048               as_fn_error $? "Harfbuzz-ft not found (strict dependencies checking)" "$LINENO" 5
19049            fi
19050            have_harfbuzz="no"
19051
19052 fi
19053
19054
19055       CPPFLAGS="$CPPFLAGS_SAVE"
19056    fi
19057 fi
19058
19059 if test "x${have_harfbuzz}" = "xno"; then
19060   HAS_HARFBUZZ=0
19061 fi
19062
19063 # Pixman
19064 have_pixman="no"
19065 # Check whether --enable-pixman was given.
19066 if test "${enable_pixman+set}" = set; then :
19067   enableval=$enable_pixman;
19068     if test "x${enableval}" = "xyes" ; then
19069        want_pixman="yes"
19070     else
19071        want_pixman="no"
19072     fi
19073
19074 fi
19075
19076
19077
19078 if test "x${want_pixman}" = "xyes" -o "x${want_pixman}" = "xauto" ; then
19079
19080 pkg_failed=no
19081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PIXMAN" >&5
19082 $as_echo_n "checking for PIXMAN... " >&6; }
19083
19084 if test -n "$PIXMAN_CFLAGS"; then
19085     pkg_cv_PIXMAN_CFLAGS="$PIXMAN_CFLAGS"
19086  elif test -n "$PKG_CONFIG"; then
19087     if test -n "$PKG_CONFIG" && \
19088     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5
19089   ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5
19090   ac_status=$?
19091   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19092   test $ac_status = 0; }; then
19093   pkg_cv_PIXMAN_CFLAGS=`$PKG_CONFIG --cflags "pixman-1" 2>/dev/null`
19094                       test "x$?" != "x0" && pkg_failed=yes
19095 else
19096   pkg_failed=yes
19097 fi
19098  else
19099     pkg_failed=untried
19100 fi
19101 if test -n "$PIXMAN_LIBS"; then
19102     pkg_cv_PIXMAN_LIBS="$PIXMAN_LIBS"
19103  elif test -n "$PKG_CONFIG"; then
19104     if test -n "$PKG_CONFIG" && \
19105     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5
19106   ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5
19107   ac_status=$?
19108   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19109   test $ac_status = 0; }; then
19110   pkg_cv_PIXMAN_LIBS=`$PKG_CONFIG --libs "pixman-1" 2>/dev/null`
19111                       test "x$?" != "x0" && pkg_failed=yes
19112 else
19113   pkg_failed=yes
19114 fi
19115  else
19116     pkg_failed=untried
19117 fi
19118
19119
19120
19121 if test $pkg_failed = yes; then
19122         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19123 $as_echo "no" >&6; }
19124
19125 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19126         _pkg_short_errors_supported=yes
19127 else
19128         _pkg_short_errors_supported=no
19129 fi
19130         if test $_pkg_short_errors_supported = yes; then
19131                 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pixman-1" 2>&1`
19132         else
19133                 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pixman-1" 2>&1`
19134         fi
19135         # Put the nasty error message in config.log where it belongs
19136         echo "$PIXMAN_PKG_ERRORS" >&5
19137
19138
19139        if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then
19140           as_fn_error $? "Pixman not found (strict dependencies checking)" "$LINENO" 5
19141        fi
19142
19143 elif test $pkg_failed = untried; then
19144         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19145 $as_echo "no" >&6; }
19146
19147        if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then
19148           as_fn_error $? "Pixman not found (strict dependencies checking)" "$LINENO" 5
19149        fi
19150
19151 else
19152         PIXMAN_CFLAGS=$pkg_cv_PIXMAN_CFLAGS
19153         PIXMAN_LIBS=$pkg_cv_PIXMAN_LIBS
19154         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19155 $as_echo "yes" >&6; }
19156
19157        have_pixman="yes"
19158
19159 $as_echo "#define HAVE_PIXMAN 1" >>confdefs.h
19160
19161        requirement_evas="pixman-1 ${requirement_evas}"
19162
19163 fi
19164 fi
19165
19166 have_pixman_font="no"
19167 # Check whether --enable-pixman-font was given.
19168 if test "${enable_pixman_font+set}" = set; then :
19169   enableval=$enable_pixman_font;
19170     have_pixman_font="yes"
19171
19172 $as_echo "#define PIXMAN_FONT 1" >>confdefs.h
19173
19174
19175
19176 fi
19177
19178
19179 have_pixman_rect="no"
19180 # Check whether --enable-pixman-rect was given.
19181 if test "${enable_pixman_rect+set}" = set; then :
19182   enableval=$enable_pixman_rect;
19183     have_pixman_rect="yes"
19184
19185 $as_echo "#define PIXMAN_RECT 1" >>confdefs.h
19186
19187
19188
19189 fi
19190
19191
19192 have_pixman_line="no"
19193 # Check whether --enable-pixman-line was given.
19194 if test "${enable_pixman_line+set}" = set; then :
19195   enableval=$enable_pixman_line;
19196     have_pixman_line="yes"
19197
19198 $as_echo "#define PIXMAN_LINE 1" >>confdefs.h
19199
19200
19201
19202 fi
19203
19204
19205 have_pixman_poly="no"
19206 # Check whether --enable-pixman-poly was given.
19207 if test "${enable_pixman_poly+set}" = set; then :
19208   enableval=$enable_pixman_poly;
19209     have_pixman_poly="yes"
19210
19211 $as_echo "#define PIXMAN_POLY 1" >>confdefs.h
19212
19213
19214
19215 fi
19216
19217
19218 have_pixman_image="no"
19219 # Check whether --enable-pixman-image was given.
19220 if test "${enable_pixman_image+set}" = set; then :
19221   enableval=$enable_pixman_image;
19222     have_pixman_image="yes"
19223
19224 $as_echo "#define PIXMAN_IMAGE 1" >>confdefs.h
19225
19226
19227
19228 fi
19229
19230
19231 have_pixman_image_scale_sample="no"
19232 # Check whether --enable-pixman-image-scale-sample was given.
19233 if test "${enable_pixman_image_scale_sample+set}" = set; then :
19234   enableval=$enable_pixman_image_scale_sample;
19235     have_pixman_image_scale_sample="yes"
19236
19237 $as_echo "#define PIXMAN_IMAGE_SCALE_SAMPLE 1" >>confdefs.h
19238
19239
19240
19241 fi
19242
19243
19244 have_tile_rotate="no"
19245 # Check whether --enable-tile-rotate was given.
19246 if test "${enable_tile_rotate+set}" = set; then :
19247   enableval=$enable_tile_rotate;
19248     have_tile_rotate="yes"
19249
19250 $as_echo "#define TILE_ROTATE 1" >>confdefs.h
19251
19252
19253
19254 fi
19255
19256
19257 ### Checks for header files
19258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19259 $as_echo_n "checking for ANSI C header files... " >&6; }
19260 if ${ac_cv_header_stdc+:} false; then :
19261   $as_echo_n "(cached) " >&6
19262 else
19263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19264 /* end confdefs.h.  */
19265 #include <stdlib.h>
19266 #include <stdarg.h>
19267 #include <string.h>
19268 #include <float.h>
19269
19270 int
19271 main ()
19272 {
19273
19274   ;
19275   return 0;
19276 }
19277 _ACEOF
19278 if ac_fn_c_try_compile "$LINENO"; then :
19279   ac_cv_header_stdc=yes
19280 else
19281   ac_cv_header_stdc=no
19282 fi
19283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19284
19285 if test $ac_cv_header_stdc = yes; then
19286   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19287   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19288 /* end confdefs.h.  */
19289 #include <string.h>
19290
19291 _ACEOF
19292 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19293   $EGREP "memchr" >/dev/null 2>&1; then :
19294
19295 else
19296   ac_cv_header_stdc=no
19297 fi
19298 rm -f conftest*
19299
19300 fi
19301
19302 if test $ac_cv_header_stdc = yes; then
19303   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19305 /* end confdefs.h.  */
19306 #include <stdlib.h>
19307
19308 _ACEOF
19309 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19310   $EGREP "free" >/dev/null 2>&1; then :
19311
19312 else
19313   ac_cv_header_stdc=no
19314 fi
19315 rm -f conftest*
19316
19317 fi
19318
19319 if test $ac_cv_header_stdc = yes; then
19320   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19321   if test "$cross_compiling" = yes; then :
19322   :
19323 else
19324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19325 /* end confdefs.h.  */
19326 #include <ctype.h>
19327 #include <stdlib.h>
19328 #if ((' ' & 0x0FF) == 0x020)
19329 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19330 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19331 #else
19332 # define ISLOWER(c) \
19333                    (('a' <= (c) && (c) <= 'i') \
19334                      || ('j' <= (c) && (c) <= 'r') \
19335                      || ('s' <= (c) && (c) <= 'z'))
19336 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19337 #endif
19338
19339 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19340 int
19341 main ()
19342 {
19343   int i;
19344   for (i = 0; i < 256; i++)
19345     if (XOR (islower (i), ISLOWER (i))
19346         || toupper (i) != TOUPPER (i))
19347       return 2;
19348   return 0;
19349 }
19350 _ACEOF
19351 if ac_fn_c_try_run "$LINENO"; then :
19352
19353 else
19354   ac_cv_header_stdc=no
19355 fi
19356 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19357   conftest.$ac_objext conftest.beam conftest.$ac_ext
19358 fi
19359
19360 fi
19361 fi
19362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19363 $as_echo "$ac_cv_header_stdc" >&6; }
19364 if test $ac_cv_header_stdc = yes; then
19365
19366 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19367
19368 fi
19369
19370 for ac_header in unistd.h stdint.h sys/param.h netinet/in.h sys/mman.h
19371 do :
19372   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19373 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19374 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19375   cat >>confdefs.h <<_ACEOF
19376 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19377 _ACEOF
19378
19379 fi
19380
19381 done
19382
19383
19384
19385 default_max="4096"
19386 ac_ext=c
19387 ac_cpp='$CPP $CPPFLAGS'
19388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19391
19392
19393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
19394 $as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
19395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19396 /* end confdefs.h.  */
19397
19398 #include <limits.h>
19399
19400 int
19401 main ()
19402 {
19403
19404 int i = PATH_MAX;
19405
19406   ;
19407   return 0;
19408 }
19409 _ACEOF
19410 if ac_fn_c_try_compile "$LINENO"; then :
19411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19412 $as_echo "yes" >&6; }
19413 else
19414
19415
19416 cat >>confdefs.h <<_ACEOF
19417 #define PATH_MAX ${default_max}
19418 _ACEOF
19419
19420     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
19421 $as_echo "no: using ${default_max}" >&6; }
19422
19423 fi
19424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19425
19426 ac_ext=c
19427 ac_cpp='$CPP $CPPFLAGS'
19428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19431
19432
19433
19434
19435 ### Checks for types
19436 ac_fn_c_check_type "$LINENO" "struct sigaction" "ac_cv_type_struct_sigaction" "#include <signal.h>
19437 "
19438 if test "x$ac_cv_type_struct_sigaction" = xyes; then :
19439
19440 cat >>confdefs.h <<_ACEOF
19441 #define HAVE_STRUCT_SIGACTION 1
19442 _ACEOF
19443
19444
19445 fi
19446
19447
19448
19449 ### Checks for structures
19450
19451
19452 ### Checks for compiler characteristics
19453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
19454 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
19455 if ${ac_cv_c_const+:} false; then :
19456   $as_echo_n "(cached) " >&6
19457 else
19458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19459 /* end confdefs.h.  */
19460
19461 int
19462 main ()
19463 {
19464 /* FIXME: Include the comments suggested by Paul. */
19465 #ifndef __cplusplus
19466   /* Ultrix mips cc rejects this.  */
19467   typedef int charset[2];
19468   const charset cs;
19469   /* SunOS 4.1.1 cc rejects this.  */
19470   char const *const *pcpcc;
19471   char **ppc;
19472   /* NEC SVR4.0.2 mips cc rejects this.  */
19473   struct point {int x, y;};
19474   static struct point const zero = {0,0};
19475   /* AIX XL C 1.02.0.0 rejects this.
19476      It does not let you subtract one const X* pointer from another in
19477      an arm of an if-expression whose if-part is not a constant
19478      expression */
19479   const char *g = "string";
19480   pcpcc = &g + (g ? g-g : 0);
19481   /* HPUX 7.0 cc rejects these. */
19482   ++pcpcc;
19483   ppc = (char**) pcpcc;
19484   pcpcc = (char const *const *) ppc;
19485   { /* SCO 3.2v4 cc rejects this.  */
19486     char *t;
19487     char const *s = 0 ? (char *) 0 : (char const *) 0;
19488
19489     *t++ = 0;
19490     if (s) return 0;
19491   }
19492   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
19493     int x[] = {25, 17};
19494     const int *foo = &x[0];
19495     ++foo;
19496   }
19497   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19498     typedef const int *iptr;
19499     iptr p = 0;
19500     ++p;
19501   }
19502   { /* AIX XL C 1.02.0.0 rejects this saying
19503        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19504     struct s { int j; const int *ap[3]; };
19505     struct s *b; b->j = 5;
19506   }
19507   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19508     const int foo = 10;
19509     if (!foo) return 0;
19510   }
19511   return !cs[0] && !zero.x;
19512 #endif
19513
19514   ;
19515   return 0;
19516 }
19517 _ACEOF
19518 if ac_fn_c_try_compile "$LINENO"; then :
19519   ac_cv_c_const=yes
19520 else
19521   ac_cv_c_const=no
19522 fi
19523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19524 fi
19525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
19526 $as_echo "$ac_cv_c_const" >&6; }
19527 if test $ac_cv_c_const = no; then
19528
19529 $as_echo "#define const /**/" >>confdefs.h
19530
19531 fi
19532
19533  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
19534 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
19535 if ${ac_cv_c_bigendian+:} false; then :
19536   $as_echo_n "(cached) " >&6
19537 else
19538   ac_cv_c_bigendian=unknown
19539     # See if we're dealing with a universal compiler.
19540     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19541 /* end confdefs.h.  */
19542 #ifndef __APPLE_CC__
19543                not a universal capable compiler
19544              #endif
19545              typedef int dummy;
19546
19547 _ACEOF
19548 if ac_fn_c_try_compile "$LINENO"; then :
19549
19550         # Check for potential -arch flags.  It is not universal unless
19551         # there are at least two -arch flags with different values.
19552         ac_arch=
19553         ac_prev=
19554         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
19555          if test -n "$ac_prev"; then
19556            case $ac_word in
19557              i?86 | x86_64 | ppc | ppc64)
19558                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
19559                  ac_arch=$ac_word
19560                else
19561                  ac_cv_c_bigendian=universal
19562                  break
19563                fi
19564                ;;
19565            esac
19566            ac_prev=
19567          elif test "x$ac_word" = "x-arch"; then
19568            ac_prev=arch
19569          fi
19570        done
19571 fi
19572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19573     if test $ac_cv_c_bigendian = unknown; then
19574       # See if sys/param.h defines the BYTE_ORDER macro.
19575       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19576 /* end confdefs.h.  */
19577 #include <sys/types.h>
19578              #include <sys/param.h>
19579
19580 int
19581 main ()
19582 {
19583 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
19584                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
19585                      && LITTLE_ENDIAN)
19586               bogus endian macros
19587              #endif
19588
19589   ;
19590   return 0;
19591 }
19592 _ACEOF
19593 if ac_fn_c_try_compile "$LINENO"; then :
19594   # It does; now see whether it defined to BIG_ENDIAN or not.
19595          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19596 /* end confdefs.h.  */
19597 #include <sys/types.h>
19598                 #include <sys/param.h>
19599
19600 int
19601 main ()
19602 {
19603 #if BYTE_ORDER != BIG_ENDIAN
19604                  not big endian
19605                 #endif
19606
19607   ;
19608   return 0;
19609 }
19610 _ACEOF
19611 if ac_fn_c_try_compile "$LINENO"; then :
19612   ac_cv_c_bigendian=yes
19613 else
19614   ac_cv_c_bigendian=no
19615 fi
19616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19617 fi
19618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19619     fi
19620     if test $ac_cv_c_bigendian = unknown; then
19621       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
19622       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19623 /* end confdefs.h.  */
19624 #include <limits.h>
19625
19626 int
19627 main ()
19628 {
19629 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
19630               bogus endian macros
19631              #endif
19632
19633   ;
19634   return 0;
19635 }
19636 _ACEOF
19637 if ac_fn_c_try_compile "$LINENO"; then :
19638   # It does; now see whether it defined to _BIG_ENDIAN or not.
19639          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19640 /* end confdefs.h.  */
19641 #include <limits.h>
19642
19643 int
19644 main ()
19645 {
19646 #ifndef _BIG_ENDIAN
19647                  not big endian
19648                 #endif
19649
19650   ;
19651   return 0;
19652 }
19653 _ACEOF
19654 if ac_fn_c_try_compile "$LINENO"; then :
19655   ac_cv_c_bigendian=yes
19656 else
19657   ac_cv_c_bigendian=no
19658 fi
19659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19660 fi
19661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19662     fi
19663     if test $ac_cv_c_bigendian = unknown; then
19664       # Compile a test program.
19665       if test "$cross_compiling" = yes; then :
19666   # Try to guess by grepping values from an object file.
19667          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19668 /* end confdefs.h.  */
19669 short int ascii_mm[] =
19670                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
19671                 short int ascii_ii[] =
19672                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
19673                 int use_ascii (int i) {
19674                   return ascii_mm[i] + ascii_ii[i];
19675                 }
19676                 short int ebcdic_ii[] =
19677                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
19678                 short int ebcdic_mm[] =
19679                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
19680                 int use_ebcdic (int i) {
19681                   return ebcdic_mm[i] + ebcdic_ii[i];
19682                 }
19683                 extern int foo;
19684
19685 int
19686 main ()
19687 {
19688 return use_ascii (foo) == use_ebcdic (foo);
19689   ;
19690   return 0;
19691 }
19692 _ACEOF
19693 if ac_fn_c_try_compile "$LINENO"; then :
19694   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
19695               ac_cv_c_bigendian=yes
19696             fi
19697             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
19698               if test "$ac_cv_c_bigendian" = unknown; then
19699                 ac_cv_c_bigendian=no
19700               else
19701                 # finding both strings is unlikely to happen, but who knows?
19702                 ac_cv_c_bigendian=unknown
19703               fi
19704             fi
19705 fi
19706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19707 else
19708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19709 /* end confdefs.h.  */
19710 $ac_includes_default
19711 int
19712 main ()
19713 {
19714
19715              /* Are we little or big endian?  From Harbison&Steele.  */
19716              union
19717              {
19718                long int l;
19719                char c[sizeof (long int)];
19720              } u;
19721              u.l = 1;
19722              return u.c[sizeof (long int) - 1] == 1;
19723
19724   ;
19725   return 0;
19726 }
19727 _ACEOF
19728 if ac_fn_c_try_run "$LINENO"; then :
19729   ac_cv_c_bigendian=no
19730 else
19731   ac_cv_c_bigendian=yes
19732 fi
19733 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19734   conftest.$ac_objext conftest.beam conftest.$ac_ext
19735 fi
19736
19737     fi
19738 fi
19739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
19740 $as_echo "$ac_cv_c_bigendian" >&6; }
19741  case $ac_cv_c_bigendian in #(
19742    yes)
19743      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
19744 ;; #(
19745    no)
19746       ;; #(
19747    universal)
19748
19749 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
19750
19751      ;; #(
19752    *)
19753      as_fn_error $? "unknown endianness
19754  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
19755  esac
19756
19757    case $ac_cv_prog_cc_stdc in #(
19758   no) :
19759     ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
19760   *) :
19761     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
19762 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
19763 if ${ac_cv_prog_cc_c99+:} false; then :
19764   $as_echo_n "(cached) " >&6
19765 else
19766   ac_cv_prog_cc_c99=no
19767 ac_save_CC=$CC
19768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19769 /* end confdefs.h.  */
19770 #include <stdarg.h>
19771 #include <stdbool.h>
19772 #include <stdlib.h>
19773 #include <wchar.h>
19774 #include <stdio.h>
19775
19776 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
19777 #define debug(...) fprintf (stderr, __VA_ARGS__)
19778 #define showlist(...) puts (#__VA_ARGS__)
19779 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
19780 static void
19781 test_varargs_macros (void)
19782 {
19783   int x = 1234;
19784   int y = 5678;
19785   debug ("Flag");
19786   debug ("X = %d\n", x);
19787   showlist (The first, second, and third items.);
19788   report (x>y, "x is %d but y is %d", x, y);
19789 }
19790
19791 // Check long long types.
19792 #define BIG64 18446744073709551615ull
19793 #define BIG32 4294967295ul
19794 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
19795 #if !BIG_OK
19796   your preprocessor is broken;
19797 #endif
19798 #if BIG_OK
19799 #else
19800   your preprocessor is broken;
19801 #endif
19802 static long long int bignum = -9223372036854775807LL;
19803 static unsigned long long int ubignum = BIG64;
19804
19805 struct incomplete_array
19806 {
19807   int datasize;
19808   double data[];
19809 };
19810
19811 struct named_init {
19812   int number;
19813   const wchar_t *name;
19814   double average;
19815 };
19816
19817 typedef const char *ccp;
19818
19819 static inline int
19820 test_restrict (ccp restrict text)
19821 {
19822   // See if C++-style comments work.
19823   // Iterate through items via the restricted pointer.
19824   // Also check for declarations in for loops.
19825   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
19826     continue;
19827   return 0;
19828 }
19829
19830 // Check varargs and va_copy.
19831 static void
19832 test_varargs (const char *format, ...)
19833 {
19834   va_list args;
19835   va_start (args, format);
19836   va_list args_copy;
19837   va_copy (args_copy, args);
19838
19839   const char *str;
19840   int number;
19841   float fnumber;
19842
19843   while (*format)
19844     {
19845       switch (*format++)
19846         {
19847         case 's': // string
19848           str = va_arg (args_copy, const char *);
19849           break;
19850         case 'd': // int
19851           number = va_arg (args_copy, int);
19852           break;
19853         case 'f': // float
19854           fnumber = va_arg (args_copy, double);
19855           break;
19856         default:
19857           break;
19858         }
19859     }
19860   va_end (args_copy);
19861   va_end (args);
19862 }
19863
19864 int
19865 main ()
19866 {
19867
19868   // Check bool.
19869   _Bool success = false;
19870
19871   // Check restrict.
19872   if (test_restrict ("String literal") == 0)
19873     success = true;
19874   char *restrict newvar = "Another string";
19875
19876   // Check varargs.
19877   test_varargs ("s, d' f .", "string", 65, 34.234);
19878   test_varargs_macros ();
19879
19880   // Check flexible array members.
19881   struct incomplete_array *ia =
19882     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
19883   ia->datasize = 10;
19884   for (int i = 0; i < ia->datasize; ++i)
19885     ia->data[i] = i * 1.234;
19886
19887   // Check named initializers.
19888   struct named_init ni = {
19889     .number = 34,
19890     .name = L"Test wide string",
19891     .average = 543.34343,
19892   };
19893
19894   ni.number = 58;
19895
19896   int dynamic_array[ni.number];
19897   dynamic_array[ni.number - 1] = 543;
19898
19899   // work around unused variable warnings
19900   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
19901           || dynamic_array[ni.number - 1] != 543);
19902
19903   ;
19904   return 0;
19905 }
19906 _ACEOF
19907 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
19908 do
19909   CC="$ac_save_CC $ac_arg"
19910   if ac_fn_c_try_compile "$LINENO"; then :
19911   ac_cv_prog_cc_c99=$ac_arg
19912 fi
19913 rm -f core conftest.err conftest.$ac_objext
19914   test "x$ac_cv_prog_cc_c99" != "xno" && break
19915 done
19916 rm -f conftest.$ac_ext
19917 CC=$ac_save_CC
19918
19919 fi
19920 # AC_CACHE_VAL
19921 case "x$ac_cv_prog_cc_c99" in
19922   x)
19923     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
19924 $as_echo "none needed" >&6; } ;;
19925   xno)
19926     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
19927 $as_echo "unsupported" >&6; } ;;
19928   *)
19929     CC="$CC $ac_cv_prog_cc_c99"
19930     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
19931 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
19932 esac
19933 if test "x$ac_cv_prog_cc_c99" != xno; then :
19934   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
19935 else
19936   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
19937 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
19938 if ${ac_cv_prog_cc_c89+:} false; then :
19939   $as_echo_n "(cached) " >&6
19940 else
19941   ac_cv_prog_cc_c89=no
19942 ac_save_CC=$CC
19943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19944 /* end confdefs.h.  */
19945 #include <stdarg.h>
19946 #include <stdio.h>
19947 #include <sys/types.h>
19948 #include <sys/stat.h>
19949 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
19950 struct buf { int x; };
19951 FILE * (*rcsopen) (struct buf *, struct stat *, int);
19952 static char *e (p, i)
19953      char **p;
19954      int i;
19955 {
19956   return p[i];
19957 }
19958 static char *f (char * (*g) (char **, int), char **p, ...)
19959 {
19960   char *s;
19961   va_list v;
19962   va_start (v,p);
19963   s = g (p, va_arg (v,int));
19964   va_end (v);
19965   return s;
19966 }
19967
19968 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
19969    function prototypes and stuff, but not '\xHH' hex character constants.
19970    These don't provoke an error unfortunately, instead are silently treated
19971    as 'x'.  The following induces an error, until -std is added to get
19972    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
19973    array size at least.  It's necessary to write '\x00'==0 to get something
19974    that's true only with -std.  */
19975 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
19976
19977 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
19978    inside strings and character constants.  */
19979 #define FOO(x) 'x'
19980 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
19981
19982 int test (int i, double x);
19983 struct s1 {int (*f) (int a);};
19984 struct s2 {int (*f) (double a);};
19985 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
19986 int argc;
19987 char **argv;
19988 int
19989 main ()
19990 {
19991 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
19992   ;
19993   return 0;
19994 }
19995 _ACEOF
19996 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
19997         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
19998 do
19999   CC="$ac_save_CC $ac_arg"
20000   if ac_fn_c_try_compile "$LINENO"; then :
20001   ac_cv_prog_cc_c89=$ac_arg
20002 fi
20003 rm -f core conftest.err conftest.$ac_objext
20004   test "x$ac_cv_prog_cc_c89" != "xno" && break
20005 done
20006 rm -f conftest.$ac_ext
20007 CC=$ac_save_CC
20008
20009 fi
20010 # AC_CACHE_VAL
20011 case "x$ac_cv_prog_cc_c89" in
20012   x)
20013     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
20014 $as_echo "none needed" >&6; } ;;
20015   xno)
20016     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
20017 $as_echo "unsupported" >&6; } ;;
20018   *)
20019     CC="$CC $ac_cv_prog_cc_c89"
20020     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
20021 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
20022 esac
20023 if test "x$ac_cv_prog_cc_c89" != xno; then :
20024   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
20025 else
20026   ac_cv_prog_cc_stdc=no
20027 fi
20028
20029 fi
20030  ;;
20031 esac
20032   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
20033 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
20034   if ${ac_cv_prog_cc_stdc+:} false; then :
20035   $as_echo_n "(cached) " >&6
20036 fi
20037
20038   case $ac_cv_prog_cc_stdc in #(
20039   no) :
20040     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
20041 $as_echo "unsupported" >&6; } ;; #(
20042   '') :
20043     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
20044 $as_echo "none needed" >&6; } ;; #(
20045   *) :
20046     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
20047 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
20048 esac
20049
20050
20051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__ ((unused))" >&5
20052 $as_echo_n "checking for __attribute__ ((unused))... " >&6; }
20053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20054 /* end confdefs.h.  */
20055
20056 void foo(int x __attribute__ ((unused))) {}
20057
20058 int
20059 main ()
20060 {
20061
20062
20063   ;
20064   return 0;
20065 }
20066 _ACEOF
20067 if ac_fn_c_try_compile "$LINENO"; then :
20068   have_attribute_unused="yes"
20069 else
20070   have_attribute_unused="no"
20071 fi
20072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_unused}" >&5
20074 $as_echo "${have_attribute_unused}" >&6; }
20075
20076 if test "x${have_attribute_unused}" = "xyes" ; then
20077
20078 $as_echo "#define __UNUSED__ __attribute__ ((unused))" >>confdefs.h
20079
20080 else
20081
20082 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
20083
20084 fi
20085
20086
20087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__ ((vector))" >&5
20088 $as_echo_n "checking for __attribute__ ((vector))... " >&6; }
20089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20090 /* end confdefs.h.  */
20091
20092 typedef int v4si __attribute__ ((vector_size (16)));
20093
20094 int
20095 main ()
20096 {
20097
20098 if (sizeof(v4si) == 16)
20099   return 0;
20100 else
20101   return -1;
20102
20103   ;
20104   return 0;
20105 }
20106 _ACEOF
20107 if ac_fn_c_try_compile "$LINENO"; then :
20108   have_attribute_vector="yes"
20109 else
20110   have_attribute_vector="no"
20111 fi
20112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_vector}" >&5
20114 $as_echo "${have_attribute_vector}" >&6; }
20115
20116 if test "x${have_attribute_vector}" = "xyes" ; then
20117
20118 $as_echo "#define HAVE_GCC_ATTRIBUTE_VECTOR 1" >>confdefs.h
20119
20120 fi
20121
20122
20123
20124 have_attribute_forceinline="no"
20125
20126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __forceinline" >&5
20127 $as_echo_n "checking for __forceinline... " >&6; }
20128
20129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20130 /* end confdefs.h.  */
20131
20132 #include <windows.h>
20133 static __forceinline void foo(void) {}
20134
20135 int
20136 main ()
20137 {
20138
20139
20140   ;
20141   return 0;
20142 }
20143 _ACEOF
20144 if ac_fn_c_try_compile "$LINENO"; then :
20145
20146     have_attribute_always_inline="yes"
20147     have_attribute_forceinline="yes"
20148
20149 else
20150   have_attribute_always_inline="no"
20151 fi
20152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20153
20154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_always_inline}" >&5
20155 $as_echo "${have_attribute_always_inline}" >&6; }
20156
20157 if test "x${have_attribute_always_inline}" = "xno" ; then
20158    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__ ((__always_inline__))" >&5
20159 $as_echo_n "checking for __attribute__ ((__always_inline__))... " >&6; }
20160    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20161 /* end confdefs.h.  */
20162
20163 static __attribute__((__always_inline__)) inline void foo(void) {}
20164
20165 int
20166 main ()
20167 {
20168
20169
20170   ;
20171   return 0;
20172 }
20173 _ACEOF
20174 if ac_fn_c_try_compile "$LINENO"; then :
20175   have_attribute_always_inline="yes"
20176 else
20177   have_attribute_always_inline="no"
20178 fi
20179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20180    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_always_inline}" >&5
20181 $as_echo "${have_attribute_always_inline}" >&6; }
20182 fi
20183
20184 if test "x${have_attribute_always_inline}" = "xyes" ; then
20185    if test "x${have_attribute_forceinline}" = "xyes" ; then
20186
20187 $as_echo "#define EFL_ALWAYS_INLINE __forceinline" >>confdefs.h
20188
20189    else
20190
20191 $as_echo "#define EFL_ALWAYS_INLINE __attribute__ ((__always_inline__)) inline" >>confdefs.h
20192
20193    fi
20194 else
20195
20196 $as_echo "#define EFL_ALWAYS_INLINE static inline" >>confdefs.h
20197
20198 fi
20199
20200
20201
20202 ### Checks for linker characteristics
20203 lt_enable_auto_import=""
20204 case "${host_os}" in
20205    mingw*)
20206
20207 $as_echo "#define EFL_EVAS_BUILD 1" >>confdefs.h
20208
20209       lt_enable_auto_import="-Wl,--enable-auto-import"
20210    ;;
20211 esac
20212
20213
20214
20215 ### Checks for library functions
20216
20217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
20218 $as_echo_n "checking for library containing strerror... " >&6; }
20219 if ${ac_cv_search_strerror+:} false; then :
20220   $as_echo_n "(cached) " >&6
20221 else
20222   ac_func_search_save_LIBS=$LIBS
20223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20224 /* end confdefs.h.  */
20225
20226 /* Override any GCC internal prototype to avoid an error.
20227    Use char because int might match the return type of a GCC
20228    builtin and then its argument prototype would still apply.  */
20229 #ifdef __cplusplus
20230 extern "C"
20231 #endif
20232 char strerror ();
20233 int
20234 main ()
20235 {
20236 return strerror ();
20237   ;
20238   return 0;
20239 }
20240 _ACEOF
20241 for ac_lib in '' cposix; do
20242   if test -z "$ac_lib"; then
20243     ac_res="none required"
20244   else
20245     ac_res=-l$ac_lib
20246     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20247   fi
20248   if ac_fn_c_try_link "$LINENO"; then :
20249   ac_cv_search_strerror=$ac_res
20250 fi
20251 rm -f core conftest.err conftest.$ac_objext \
20252     conftest$ac_exeext
20253   if ${ac_cv_search_strerror+:} false; then :
20254   break
20255 fi
20256 done
20257 if ${ac_cv_search_strerror+:} false; then :
20258
20259 else
20260   ac_cv_search_strerror=no
20261 fi
20262 rm conftest.$ac_ext
20263 LIBS=$ac_func_search_save_LIBS
20264 fi
20265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
20266 $as_echo "$ac_cv_search_strerror" >&6; }
20267 ac_res=$ac_cv_search_strerror
20268 if test "$ac_res" != no; then :
20269   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20270
20271 fi
20272
20273 for ac_func in siglongjmp
20274 do :
20275   ac_fn_c_check_func "$LINENO" "siglongjmp" "ac_cv_func_siglongjmp"
20276 if test "x$ac_cv_func_siglongjmp" = xyes; then :
20277   cat >>confdefs.h <<_ACEOF
20278 #define HAVE_SIGLONGJMP 1
20279 _ACEOF
20280
20281 fi
20282 done
20283
20284
20285 # alloca
20286 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
20287 if test "x$ac_cv_type_size_t" = xyes; then :
20288
20289 else
20290
20291 cat >>confdefs.h <<_ACEOF
20292 #define size_t unsigned int
20293 _ACEOF
20294
20295 fi
20296
20297 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
20298 # for constant arguments.  Useless!
20299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
20300 $as_echo_n "checking for working alloca.h... " >&6; }
20301 if ${ac_cv_working_alloca_h+:} false; then :
20302   $as_echo_n "(cached) " >&6
20303 else
20304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20305 /* end confdefs.h.  */
20306 #include <alloca.h>
20307 int
20308 main ()
20309 {
20310 char *p = (char *) alloca (2 * sizeof (int));
20311                           if (p) return 0;
20312   ;
20313   return 0;
20314 }
20315 _ACEOF
20316 if ac_fn_c_try_link "$LINENO"; then :
20317   ac_cv_working_alloca_h=yes
20318 else
20319   ac_cv_working_alloca_h=no
20320 fi
20321 rm -f core conftest.err conftest.$ac_objext \
20322     conftest$ac_exeext conftest.$ac_ext
20323 fi
20324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
20325 $as_echo "$ac_cv_working_alloca_h" >&6; }
20326 if test $ac_cv_working_alloca_h = yes; then
20327
20328 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
20329
20330 fi
20331
20332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
20333 $as_echo_n "checking for alloca... " >&6; }
20334 if ${ac_cv_func_alloca_works+:} false; then :
20335   $as_echo_n "(cached) " >&6
20336 else
20337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20338 /* end confdefs.h.  */
20339 #ifdef __GNUC__
20340 # define alloca __builtin_alloca
20341 #else
20342 # ifdef _MSC_VER
20343 #  include <malloc.h>
20344 #  define alloca _alloca
20345 # else
20346 #  ifdef HAVE_ALLOCA_H
20347 #   include <alloca.h>
20348 #  else
20349 #   ifdef _AIX
20350  #pragma alloca
20351 #   else
20352 #    ifndef alloca /* predefined by HP cc +Olibcalls */
20353 void *alloca (size_t);
20354 #    endif
20355 #   endif
20356 #  endif
20357 # endif
20358 #endif
20359
20360 int
20361 main ()
20362 {
20363 char *p = (char *) alloca (1);
20364                                     if (p) return 0;
20365   ;
20366   return 0;
20367 }
20368 _ACEOF
20369 if ac_fn_c_try_link "$LINENO"; then :
20370   ac_cv_func_alloca_works=yes
20371 else
20372   ac_cv_func_alloca_works=no
20373 fi
20374 rm -f core conftest.err conftest.$ac_objext \
20375     conftest$ac_exeext conftest.$ac_ext
20376 fi
20377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
20378 $as_echo "$ac_cv_func_alloca_works" >&6; }
20379
20380 if test $ac_cv_func_alloca_works = yes; then
20381
20382 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
20383
20384 else
20385   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
20386 # that cause trouble.  Some versions do not even contain alloca or
20387 # contain a buggy version.  If you still want to use their alloca,
20388 # use ar to extract alloca.o from them instead of compiling alloca.c.
20389
20390 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
20391
20392 $as_echo "#define C_ALLOCA 1" >>confdefs.h
20393
20394
20395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
20396 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
20397 if ${ac_cv_os_cray+:} false; then :
20398   $as_echo_n "(cached) " >&6
20399 else
20400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20401 /* end confdefs.h.  */
20402 #if defined CRAY && ! defined CRAY2
20403 webecray
20404 #else
20405 wenotbecray
20406 #endif
20407
20408 _ACEOF
20409 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20410   $EGREP "webecray" >/dev/null 2>&1; then :
20411   ac_cv_os_cray=yes
20412 else
20413   ac_cv_os_cray=no
20414 fi
20415 rm -f conftest*
20416
20417 fi
20418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
20419 $as_echo "$ac_cv_os_cray" >&6; }
20420 if test $ac_cv_os_cray = yes; then
20421   for ac_func in _getb67 GETB67 getb67; do
20422     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20423 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20424 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20425
20426 cat >>confdefs.h <<_ACEOF
20427 #define CRAY_STACKSEG_END $ac_func
20428 _ACEOF
20429
20430     break
20431 fi
20432
20433   done
20434 fi
20435
20436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
20437 $as_echo_n "checking stack direction for C alloca... " >&6; }
20438 if ${ac_cv_c_stack_direction+:} false; then :
20439   $as_echo_n "(cached) " >&6
20440 else
20441   if test "$cross_compiling" = yes; then :
20442   ac_cv_c_stack_direction=0
20443 else
20444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20445 /* end confdefs.h.  */
20446 $ac_includes_default
20447 int
20448 find_stack_direction ()
20449 {
20450   static char *addr = 0;
20451   auto char dummy;
20452   if (addr == 0)
20453     {
20454       addr = &dummy;
20455       return find_stack_direction ();
20456     }
20457   else
20458     return (&dummy > addr) ? 1 : -1;
20459 }
20460
20461 int
20462 main ()
20463 {
20464   return find_stack_direction () < 0;
20465 }
20466 _ACEOF
20467 if ac_fn_c_try_run "$LINENO"; then :
20468   ac_cv_c_stack_direction=1
20469 else
20470   ac_cv_c_stack_direction=-1
20471 fi
20472 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20473   conftest.$ac_objext conftest.beam conftest.$ac_ext
20474 fi
20475
20476 fi
20477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
20478 $as_echo "$ac_cv_c_stack_direction" >&6; }
20479 cat >>confdefs.h <<_ACEOF
20480 #define STACK_DIRECTION $ac_cv_c_stack_direction
20481 _ACEOF
20482
20483
20484 fi
20485
20486
20487 # fnmatch
20488
20489
20490 ac_fn_c_check_header_mongrel "$LINENO" "fnmatch.h" "ac_cv_header_fnmatch_h" "$ac_includes_default"
20491 if test "x$ac_cv_header_fnmatch_h" = xyes; then :
20492   _efl_have_fnmatch="yes"
20493 else
20494   _efl_have_fnmatch="no"
20495 fi
20496
20497
20498
20499 if test "x${_efl_have_fnmatch}" = "xyes" ; then
20500    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fnmatch" >&5
20501 $as_echo_n "checking for library containing fnmatch... " >&6; }
20502 if ${ac_cv_search_fnmatch+:} false; then :
20503   $as_echo_n "(cached) " >&6
20504 else
20505   ac_func_search_save_LIBS=$LIBS
20506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20507 /* end confdefs.h.  */
20508
20509 /* Override any GCC internal prototype to avoid an error.
20510    Use char because int might match the return type of a GCC
20511    builtin and then its argument prototype would still apply.  */
20512 #ifdef __cplusplus
20513 extern "C"
20514 #endif
20515 char fnmatch ();
20516 int
20517 main ()
20518 {
20519 return fnmatch ();
20520   ;
20521   return 0;
20522 }
20523 _ACEOF
20524 for ac_lib in '' fnmatch evil exotic iberty; do
20525   if test -z "$ac_lib"; then
20526     ac_res="none required"
20527   else
20528     ac_res=-l$ac_lib
20529     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20530   fi
20531   if ac_fn_c_try_link "$LINENO"; then :
20532   ac_cv_search_fnmatch=$ac_res
20533 fi
20534 rm -f core conftest.err conftest.$ac_objext \
20535     conftest$ac_exeext
20536   if ${ac_cv_search_fnmatch+:} false; then :
20537   break
20538 fi
20539 done
20540 if ${ac_cv_search_fnmatch+:} false; then :
20541
20542 else
20543   ac_cv_search_fnmatch=no
20544 fi
20545 rm conftest.$ac_ext
20546 LIBS=$ac_func_search_save_LIBS
20547 fi
20548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fnmatch" >&5
20549 $as_echo "$ac_cv_search_fnmatch" >&6; }
20550 ac_res=$ac_cv_search_fnmatch
20551 if test "$ac_res" != no; then :
20552   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20553   _efl_have_fnmatch="yes"
20554 else
20555   _efl_have_fnmatch="no"
20556 fi
20557
20558 fi
20559
20560 EFL_FNMATCH_LIBS=""
20561
20562 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
20563    EFL_FNMATCH_LIBS=${ac_cv_search_fnmatch}
20564 fi
20565
20566
20567
20568 if test "x$_efl_have_fnmatch" = "xyes"; then :
20569
20570 else
20571   as_fn_error $? "Cannot find fnmatch()" "$LINENO" 5
20572 fi
20573
20574
20575
20576 # dlopen
20577 dlopen_libs=""
20578 case "$host_os" in
20579   mingw32ce*)
20580 # managed by evil
20581     $as_echo "#define HAVE_DLSYM 1" >>confdefs.h
20582
20583   ;;
20584   mingw*)
20585 # nothing on mingw platform
20586   ;;
20587   *)
20588     for ac_func in dlsym
20589 do :
20590   ac_fn_c_check_func "$LINENO" "dlsym" "ac_cv_func_dlsym"
20591 if test "x$ac_cv_func_dlsym" = xyes; then :
20592   cat >>confdefs.h <<_ACEOF
20593 #define HAVE_DLSYM 1
20594 _ACEOF
20595  res=yes
20596 else
20597   res=no
20598 fi
20599 done
20600
20601     if test "x$res" = "xyes"; then
20602       $as_echo "#define HAVE_DLSYM 1" >>confdefs.h
20603
20604     else
20605       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
20606 $as_echo_n "checking for dlsym in -ldl... " >&6; }
20607 if ${ac_cv_lib_dl_dlsym+:} false; then :
20608   $as_echo_n "(cached) " >&6
20609 else
20610   ac_check_lib_save_LIBS=$LIBS
20611 LIBS="-ldl  $LIBS"
20612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20613 /* end confdefs.h.  */
20614
20615 /* Override any GCC internal prototype to avoid an error.
20616    Use char because int might match the return type of a GCC
20617    builtin and then its argument prototype would still apply.  */
20618 #ifdef __cplusplus
20619 extern "C"
20620 #endif
20621 char dlsym ();
20622 int
20623 main ()
20624 {
20625 return dlsym ();
20626   ;
20627   return 0;
20628 }
20629 _ACEOF
20630 if ac_fn_c_try_link "$LINENO"; then :
20631   ac_cv_lib_dl_dlsym=yes
20632 else
20633   ac_cv_lib_dl_dlsym=no
20634 fi
20635 rm -f core conftest.err conftest.$ac_objext \
20636     conftest$ac_exeext conftest.$ac_ext
20637 LIBS=$ac_check_lib_save_LIBS
20638 fi
20639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
20640 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
20641 if test "x$ac_cv_lib_dl_dlsym" = xyes; then :
20642   res=yes
20643 else
20644   res=no
20645 fi
20646
20647       if test "x$res" = "xyes"; then
20648         dlopen_libs=-ldl
20649         $as_echo "#define HAVE_DLSYM 1" >>confdefs.h
20650
20651       else
20652         want_evas_engine_gl_xlib="no"
20653         want_evas_engine_gl_xcb="no"
20654         want_evas_engine_gl_sdl="no"
20655       fi
20656     fi
20657 esac
20658
20659
20660 res=no
20661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround in -lm" >&5
20662 $as_echo_n "checking for lround in -lm... " >&6; }
20663 if ${ac_cv_lib_m_lround+:} false; then :
20664   $as_echo_n "(cached) " >&6
20665 else
20666   ac_check_lib_save_LIBS=$LIBS
20667 LIBS="-lm  $LIBS"
20668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20669 /* end confdefs.h.  */
20670
20671 /* Override any GCC internal prototype to avoid an error.
20672    Use char because int might match the return type of a GCC
20673    builtin and then its argument prototype would still apply.  */
20674 #ifdef __cplusplus
20675 extern "C"
20676 #endif
20677 char lround ();
20678 int
20679 main ()
20680 {
20681 return lround ();
20682   ;
20683   return 0;
20684 }
20685 _ACEOF
20686 if ac_fn_c_try_link "$LINENO"; then :
20687   ac_cv_lib_m_lround=yes
20688 else
20689   ac_cv_lib_m_lround=no
20690 fi
20691 rm -f core conftest.err conftest.$ac_objext \
20692     conftest$ac_exeext conftest.$ac_ext
20693 LIBS=$ac_check_lib_save_LIBS
20694 fi
20695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lround" >&5
20696 $as_echo "$ac_cv_lib_m_lround" >&6; }
20697 if test "x$ac_cv_lib_m_lround" = xyes; then :
20698   res=yes
20699 else
20700   res=no
20701 fi
20702
20703 if test "x$res" = "xyes"; then
20704
20705 $as_echo "#define HAVE_LROUND 1" >>confdefs.h
20706
20707 fi
20708
20709 if test "x${want_evas_image_loader_generic}" = "xyes" ; then
20710
20711 _efl_have_shm_open="no"
20712
20713
20714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in libc" >&5
20715 $as_echo_n "checking for shm_open in libc... " >&6; }
20716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20717 /* end confdefs.h.  */
20718
20719 #include <sys/mman.h>
20720 #include <sys/stat.h>        /* For mode constants */
20721 #include <fcntl.h>           /* For O_* constants */
20722
20723 int
20724 main ()
20725 {
20726
20727 int fd;
20728
20729 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
20730
20731   ;
20732   return 0;
20733 }
20734 _ACEOF
20735 if ac_fn_c_try_link "$LINENO"; then :
20736   _efl_have_shm_open="yes"
20737 else
20738   _efl_have_shm_open="no"
20739 fi
20740 rm -f core conftest.err conftest.$ac_objext \
20741     conftest$ac_exeext conftest.$ac_ext
20742
20743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
20744 $as_echo "${_efl_have_shm_open}" >&6; }
20745
20746 if test "x${_efl_have_shm_open}" = "xno" ; then
20747    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in librt" >&5
20748 $as_echo_n "checking for shm_open in librt... " >&6; }
20749
20750    LIBS_save="${LIBS}"
20751    LIBS="${LIBS} -lrt"
20752    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20753 /* end confdefs.h.  */
20754
20755 #include <sys/mman.h>
20756 #include <sys/stat.h>        /* For mode constants */
20757 #include <fcntl.h>           /* For O_* constants */
20758
20759 int
20760 main ()
20761 {
20762
20763 int fd;
20764
20765 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
20766
20767   ;
20768   return 0;
20769 }
20770 _ACEOF
20771 if ac_fn_c_try_link "$LINENO"; then :
20772
20773        EFL_SHM_OPEN_LIBS="-lrt"
20774        _efl_have_shm_open="yes"
20775
20776 else
20777   _efl_have_shm_open="no"
20778 fi
20779 rm -f core conftest.err conftest.$ac_objext \
20780     conftest$ac_exeext conftest.$ac_ext
20781
20782    LIBS="${LIBS_save}"
20783
20784    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
20785 $as_echo "${_efl_have_shm_open}" >&6; }
20786 fi
20787
20788
20789
20790 if test "x${_efl_have_shm_open}" = "xyes" ; then
20791
20792 $as_echo "#define HAVE_SHM_OPEN 1" >>confdefs.h
20793
20794 fi
20795
20796 if test "x${_efl_have_shm_open}" = "xyes"; then :
20797
20798 fi
20799
20800
20801 fi
20802
20803 # (shm_open (for cache server)
20804 # Check whether --enable-evas-cserve was given.
20805 if test "${enable_evas_cserve+set}" = set; then :
20806   enableval=$enable_evas_cserve;
20807     if test "x${enableval}" = "xyes" ; then
20808        want_evas_cserve="yes"
20809     else
20810        want_evas_cserve="no"
20811     fi
20812
20813 fi
20814
20815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared cache server and support" >&5
20816 $as_echo_n "checking whether to build shared cache server and support... " >&6; }
20817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_evas_cserve}" >&5
20818 $as_echo "${want_evas_cserve}" >&6; }
20819
20820 # (shm_open (for cache server)
20821 # Check whether --enable-evas-cserve2 was given.
20822 if test "${enable_evas_cserve2+set}" = set; then :
20823   enableval=$enable_evas_cserve2;
20824     if test "x${enableval}" = "xyes" ; then
20825        want_evas_cserve2="yes"
20826     else
20827        want_evas_cserve2="no"
20828     fi
20829
20830 fi
20831
20832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared cache server 2 and support" >&5
20833 $as_echo_n "checking whether to build shared cache server 2 and support... " >&6; }
20834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_evas_cserve2}" >&5
20835 $as_echo "${want_evas_cserve2}" >&6; }
20836
20837 # cserve2 only works on Linux so far.
20838 if test "x${want_evas_cserve2}" = "xyes" ; then
20839    for ac_header in sys/epoll.h sys/inotify.h sys/signalfd.h
20840 do :
20841   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20842 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20843 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20844   cat >>confdefs.h <<_ACEOF
20845 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20846 _ACEOF
20847
20848 else
20849
20850        want_evas_cserve2="no"
20851
20852
20853 fi
20854
20855 done
20856
20857 fi
20858
20859 if test "x${want_evas_cserve2}" = "xyes"; then
20860    want_evas_cserve="no"
20861 fi
20862
20863 shm_open_libs=""
20864 if test "x${want_evas_cserve}" = "xyes" -o "x${want_evas_cserve2}" = "xyes" ; then
20865
20866 _efl_have_shm_open="no"
20867
20868
20869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in libc" >&5
20870 $as_echo_n "checking for shm_open in libc... " >&6; }
20871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20872 /* end confdefs.h.  */
20873
20874 #include <sys/mman.h>
20875 #include <sys/stat.h>        /* For mode constants */
20876 #include <fcntl.h>           /* For O_* constants */
20877
20878 int
20879 main ()
20880 {
20881
20882 int fd;
20883
20884 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
20885
20886   ;
20887   return 0;
20888 }
20889 _ACEOF
20890 if ac_fn_c_try_link "$LINENO"; then :
20891   _efl_have_shm_open="yes"
20892 else
20893   _efl_have_shm_open="no"
20894 fi
20895 rm -f core conftest.err conftest.$ac_objext \
20896     conftest$ac_exeext conftest.$ac_ext
20897
20898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
20899 $as_echo "${_efl_have_shm_open}" >&6; }
20900
20901 if test "x${_efl_have_shm_open}" = "xno" ; then
20902    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in librt" >&5
20903 $as_echo_n "checking for shm_open in librt... " >&6; }
20904
20905    LIBS_save="${LIBS}"
20906    LIBS="${LIBS} -lrt"
20907    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20908 /* end confdefs.h.  */
20909
20910 #include <sys/mman.h>
20911 #include <sys/stat.h>        /* For mode constants */
20912 #include <fcntl.h>           /* For O_* constants */
20913
20914 int
20915 main ()
20916 {
20917
20918 int fd;
20919
20920 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
20921
20922   ;
20923   return 0;
20924 }
20925 _ACEOF
20926 if ac_fn_c_try_link "$LINENO"; then :
20927
20928        EFL_SHM_OPEN_LIBS="-lrt"
20929        _efl_have_shm_open="yes"
20930
20931 else
20932   _efl_have_shm_open="no"
20933 fi
20934 rm -f core conftest.err conftest.$ac_objext \
20935     conftest$ac_exeext conftest.$ac_ext
20936
20937    LIBS="${LIBS_save}"
20938
20939    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
20940 $as_echo "${_efl_have_shm_open}" >&6; }
20941 fi
20942
20943
20944
20945 if test "x${_efl_have_shm_open}" = "xyes" ; then
20946
20947 $as_echo "#define HAVE_SHM_OPEN 1" >>confdefs.h
20948
20949 fi
20950
20951 if test "x${_efl_have_shm_open}" = "xyes"; then :
20952
20953        shm_open_libs=${EFL_SHM_OPEN_LIBS}
20954
20955 else
20956
20957        want_evas_cserve="no"
20958        want_evas_cserve2="no"
20959
20960 fi
20961
20962
20963 fi
20964
20965
20966 if test "x${want_evas_cserve}" = "xyes" ; then
20967
20968 $as_echo "#define EVAS_CSERVE 1" >>confdefs.h
20969
20970 fi
20971
20972  if test "x${want_evas_cserve}" = "xyes"; then
20973   EVAS_CSERVE_TRUE=
20974   EVAS_CSERVE_FALSE='#'
20975 else
20976   EVAS_CSERVE_TRUE='#'
20977   EVAS_CSERVE_FALSE=
20978 fi
20979
20980
20981 if test "x${want_evas_cserve2}" = "xyes" ; then
20982
20983 $as_echo "#define EVAS_CSERVE2 1" >>confdefs.h
20984
20985 fi
20986
20987  if test "x${want_evas_cserve2}" = "xyes"; then
20988   EVAS_CSERVE2_TRUE=
20989   EVAS_CSERVE2_FALSE='#'
20990 else
20991   EVAS_CSERVE2_TRUE='#'
20992   EVAS_CSERVE2_FALSE=
20993 fi
20994
20995
20996
20997
20998 #######################################
20999 ## GL force flavor gles
21000 gl_flavor_gles="no"
21001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build GLES flavor of GL" >&5
21002 $as_echo_n "checking whether to build GLES flavor of GL... " >&6; }
21003 # Check whether --enable-gl-flavor-gles was given.
21004 if test "${enable_gl_flavor_gles+set}" = set; then :
21005   enableval=$enable_gl_flavor_gles;
21006       if test "x$enableval" = "xyes" ; then
21007         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21008 $as_echo "yes" >&6; }
21009         gl_flavor_gles="yes"
21010       else
21011         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21012 $as_echo "no" >&6; }
21013         gl_flavor_gles="no"
21014       fi
21015
21016 else
21017
21018       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21019 $as_echo "no" >&6; }
21020       gl_flavor_gles="no"
21021
21022
21023 fi
21024
21025
21026 #######################################
21027 ## GLES variety sgx
21028 gles_variety_sgx="no"
21029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build GLES variety for SGX" >&5
21030 $as_echo_n "checking whether to build GLES variety for SGX... " >&6; }
21031 # Check whether --enable-gles-variety-sgx was given.
21032 if test "${enable_gles_variety_sgx+set}" = set; then :
21033   enableval=$enable_gles_variety_sgx;
21034       if test "x$enableval" = "xyes" ; then
21035         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21036 $as_echo "yes" >&6; }
21037
21038 $as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
21039
21040         gles_variety_sgx="yes"
21041       else
21042         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21043 $as_echo "no" >&6; }
21044         gles_variety_sgx="no"
21045       fi
21046
21047 else
21048
21049       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21050 $as_echo "no" >&6; }
21051       gles_variety_sgx="no"
21052
21053
21054 fi
21055
21056
21057 #######################################
21058 ## GLES variety s3c6410
21059 gles_variety_s3c6410="no"
21060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build GLES variety for s3c6410" >&5
21061 $as_echo_n "checking whether to build GLES variety for s3c6410... " >&6; }
21062 # Check whether --enable-gles-variety-s3c6410 was given.
21063 if test "${enable_gles_variety_s3c6410+set}" = set; then :
21064   enableval=$enable_gles_variety_s3c6410;
21065       if test "x$enableval" = "xyes" ; then
21066         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21067 $as_echo "yes" >&6; }
21068
21069 $as_echo "#define GLES_VARIETY_S3C6410 1" >>confdefs.h
21070
21071         gles_variety_s3c6410="yes"
21072       else
21073         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21074 $as_echo "no" >&6; }
21075         gles_variety_s3c6410="no"
21076       fi
21077
21078 else
21079
21080       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21081 $as_echo "no" >&6; }
21082       gles_variety_s3c6410="no"
21083
21084
21085 fi
21086
21087
21088 if test "x$gl_flavor_gles" = "xyes"; then
21089   eng=""
21090   if test "x$gles_variety_sgx" = "xyes"; then eng="x"$eng; fi
21091   if test "x$gles_variety_s3c6410" = "xyes"; then eng="x"$eng; fi
21092   if test "x$eng" = "xx"; then
21093     eng=""
21094   else
21095      as_fn_error $? "Please enable just 1 OpenGL-ES flavor. Choices are:
21096           --enable-gles-variety-sgx (Most GL-ES2 GPUs with shader compiler)
21097           --enable-gles-variety-s3c6410 (s3c6410 with offline shader compiler)
21098         You will also need to enable the OpenGL engine for X11 with:
21099           --enable-gl-xlib or --enable-gl-xcb
21100        " "$LINENO" 5
21101   fi
21102 fi
21103
21104 #####################################################################
21105 ## Engines
21106
21107
21108
21109
21110 want_engine="${want_evas_engine_buffer}"
21111 want_static_engine="no"
21112 have_engine="no"
21113 have_evas_engine_buffer="no"
21114
21115 # Check whether --enable-buffer was given.
21116 if test "${enable_buffer+set}" = set; then :
21117   enableval=$enable_buffer;
21118     if test "x${enableval}" = "xyes" ; then
21119        want_engine="yes"
21120     else
21121        if test "x${enableval}" = "xstatic" ; then
21122           want_engine="static"
21123        else
21124           want_engine="no"
21125        fi
21126     fi
21127
21128 fi
21129
21130
21131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Buffer rendering backend" >&5
21132 $as_echo_n "checking whether to enable Buffer rendering backend... " >&6; }
21133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21134 $as_echo "${want_engine}" >&6; }
21135
21136 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21137
21138
21139 have_dep="yes"
21140 evas_engine_buffer_cflags=""
21141 evas_engine_buffer_libs=""
21142
21143
21144
21145
21146 if test "x${have_dep}" = "xyes" ; then
21147   have_engine="yes"
21148 else
21149   have_engine="no"
21150 fi
21151
21152
21153 fi
21154
21155 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21156    as_fn_error $? "Buffer dependencies not found (strict dependencies checking)" "$LINENO" 5
21157 fi
21158
21159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Buffer rendering backend will be built" >&5
21160 $as_echo_n "checking whether Buffer rendering backend will be built... " >&6; }
21161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21162 $as_echo "${have_engine}" >&6; }
21163
21164 if test "x${have_engine}" = "xyes" ; then
21165    if test "x${want_engine}" = "xstatic" ; then
21166       have_evas_engine_buffer="static"
21167       want_static_engine="yes"
21168    else
21169       have_evas_engine_buffer="yes"
21170    fi
21171 fi
21172
21173 if test "x${have_engine}" = "xyes" ; then
21174
21175 $as_echo "#define BUILD_ENGINE_BUFFER 1" >>confdefs.h
21176
21177 fi
21178
21179  if test "x${have_engine}" = "xyes"; then
21180   BUILD_ENGINE_BUFFER_TRUE=
21181   BUILD_ENGINE_BUFFER_FALSE='#'
21182 else
21183   BUILD_ENGINE_BUFFER_TRUE='#'
21184   BUILD_ENGINE_BUFFER_FALSE=
21185 fi
21186
21187
21188 if test "x${want_static_engine}" = "xyes" ; then
21189
21190 $as_echo "#define EVAS_STATIC_BUILD_BUFFER 1" >>confdefs.h
21191
21192    have_static_module="yes"
21193 fi
21194
21195  if test "x${want_static_engine}" = "xyes"; then
21196   EVAS_STATIC_BUILD_BUFFER_TRUE=
21197   EVAS_STATIC_BUILD_BUFFER_FALSE='#'
21198 else
21199   EVAS_STATIC_BUILD_BUFFER_TRUE='#'
21200   EVAS_STATIC_BUILD_BUFFER_FALSE=
21201 fi
21202
21203
21204
21205
21206
21207
21208
21209
21210
21211
21212 want_engine="${want_evas_engine_software_gdi}"
21213 want_static_engine="no"
21214 have_engine="no"
21215 have_evas_engine_software_gdi="no"
21216
21217 # Check whether --enable-software-gdi was given.
21218 if test "${enable_software_gdi+set}" = set; then :
21219   enableval=$enable_software_gdi;
21220     if test "x${enableval}" = "xyes" ; then
21221        want_engine="yes"
21222     else
21223        if test "x${enableval}" = "xstatic" ; then
21224           want_engine="static"
21225        else
21226           want_engine="no"
21227        fi
21228     fi
21229
21230 fi
21231
21232
21233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software GDI rendering backend" >&5
21234 $as_echo_n "checking whether to enable Software GDI rendering backend... " >&6; }
21235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21236 $as_echo "${want_engine}" >&6; }
21237
21238 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21239
21240
21241 have_dep="no"
21242 evas_engine_software_gdi_cflags=""
21243 evas_engine_software_gdi_libs=""
21244
21245 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
21246 if test "x$ac_cv_header_windows_h" = xyes; then :
21247
21248     have_dep="yes"
21249     evas_engine_software_gdi_libs="-lgdi32"
21250
21251
21252 fi
21253
21254
21255
21256
21257
21258
21259 if test "x${have_dep}" = "xyes" ; then
21260   have_engine="yes"
21261 else
21262   have_engine="no"
21263 fi
21264
21265
21266 fi
21267
21268 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21269    as_fn_error $? "Software GDI dependencies not found (strict dependencies checking)" "$LINENO" 5
21270 fi
21271
21272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software GDI rendering backend will be built" >&5
21273 $as_echo_n "checking whether Software GDI rendering backend will be built... " >&6; }
21274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21275 $as_echo "${have_engine}" >&6; }
21276
21277 if test "x${have_engine}" = "xyes" ; then
21278    if test "x${want_engine}" = "xstatic" ; then
21279       have_evas_engine_software_gdi="static"
21280       want_static_engine="yes"
21281    else
21282       have_evas_engine_software_gdi="yes"
21283    fi
21284 fi
21285
21286 if test "x${have_engine}" = "xyes" ; then
21287
21288 $as_echo "#define BUILD_ENGINE_SOFTWARE_GDI 1" >>confdefs.h
21289
21290 fi
21291
21292  if test "x${have_engine}" = "xyes"; then
21293   BUILD_ENGINE_SOFTWARE_GDI_TRUE=
21294   BUILD_ENGINE_SOFTWARE_GDI_FALSE='#'
21295 else
21296   BUILD_ENGINE_SOFTWARE_GDI_TRUE='#'
21297   BUILD_ENGINE_SOFTWARE_GDI_FALSE=
21298 fi
21299
21300
21301 if test "x${want_static_engine}" = "xyes" ; then
21302
21303 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_GDI 1" >>confdefs.h
21304
21305    have_static_module="yes"
21306 fi
21307
21308  if test "x${want_static_engine}" = "xyes"; then
21309   EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE=
21310   EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE='#'
21311 else
21312   EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE='#'
21313   EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE=
21314 fi
21315
21316
21317
21318
21319
21320
21321
21322
21323
21324
21325 want_engine="${want_evas_engine_software_ddraw}"
21326 want_static_engine="no"
21327 have_engine="no"
21328 have_evas_engine_software_ddraw="no"
21329
21330 # Check whether --enable-software-ddraw was given.
21331 if test "${enable_software_ddraw+set}" = set; then :
21332   enableval=$enable_software_ddraw;
21333     if test "x${enableval}" = "xyes" ; then
21334        want_engine="yes"
21335     else
21336        if test "x${enableval}" = "xstatic" ; then
21337           want_engine="static"
21338        else
21339           want_engine="no"
21340        fi
21341     fi
21342
21343 fi
21344
21345
21346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software DirectDraw rendering backend" >&5
21347 $as_echo_n "checking whether to enable Software DirectDraw rendering backend... " >&6; }
21348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21349 $as_echo "${want_engine}" >&6; }
21350
21351 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21352
21353
21354 have_dep="no"
21355 evas_engine_software_ddraw_cflags=""
21356 evas_engine_software_ddraw_libs=""
21357
21358 ac_fn_c_check_header_mongrel "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "$ac_includes_default"
21359 if test "x$ac_cv_header_ddraw_h" = xyes; then :
21360
21361     have_dep="yes"
21362     evas_engine_software_ddraw_libs="-lddraw"
21363
21364
21365 fi
21366
21367
21368
21369
21370
21371
21372 if test "x${have_dep}" = "xyes" ; then
21373   have_engine="yes"
21374 else
21375   have_engine="no"
21376 fi
21377
21378
21379 fi
21380
21381 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21382    as_fn_error $? "Software DirectDraw dependencies not found (strict dependencies checking)" "$LINENO" 5
21383 fi
21384
21385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software DirectDraw rendering backend will be built" >&5
21386 $as_echo_n "checking whether Software DirectDraw rendering backend will be built... " >&6; }
21387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21388 $as_echo "${have_engine}" >&6; }
21389
21390 if test "x${have_engine}" = "xyes" ; then
21391    if test "x${want_engine}" = "xstatic" ; then
21392       have_evas_engine_software_ddraw="static"
21393       want_static_engine="yes"
21394    else
21395       have_evas_engine_software_ddraw="yes"
21396    fi
21397 fi
21398
21399 if test "x${have_engine}" = "xyes" ; then
21400
21401 $as_echo "#define BUILD_ENGINE_SOFTWARE_DDRAW 1" >>confdefs.h
21402
21403 fi
21404
21405  if test "x${have_engine}" = "xyes"; then
21406   BUILD_ENGINE_SOFTWARE_DDRAW_TRUE=
21407   BUILD_ENGINE_SOFTWARE_DDRAW_FALSE='#'
21408 else
21409   BUILD_ENGINE_SOFTWARE_DDRAW_TRUE='#'
21410   BUILD_ENGINE_SOFTWARE_DDRAW_FALSE=
21411 fi
21412
21413
21414 if test "x${want_static_engine}" = "xyes" ; then
21415
21416 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_DDRAW 1" >>confdefs.h
21417
21418    have_static_module="yes"
21419 fi
21420
21421  if test "x${want_static_engine}" = "xyes"; then
21422   EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE=
21423   EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE='#'
21424 else
21425   EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE='#'
21426   EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE=
21427 fi
21428
21429
21430
21431
21432
21433
21434
21435
21436
21437
21438 want_engine="${want_evas_engine_direct3d}"
21439 want_static_engine="no"
21440 have_engine="no"
21441 have_evas_engine_direct3d="no"
21442
21443 # Check whether --enable-direct3d was given.
21444 if test "${enable_direct3d+set}" = set; then :
21445   enableval=$enable_direct3d;
21446     if test "x${enableval}" = "xyes" ; then
21447        want_engine="yes"
21448     else
21449        if test "x${enableval}" = "xstatic" ; then
21450           want_engine="static"
21451        else
21452           want_engine="no"
21453        fi
21454     fi
21455
21456 fi
21457
21458
21459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Direct3D rendering backend" >&5
21460 $as_echo_n "checking whether to enable Direct3D rendering backend... " >&6; }
21461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21462 $as_echo "${want_engine}" >&6; }
21463
21464 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21465
21466
21467 evas_engine_direct3d_cflags=""
21468 evas_engine_direct3d_libs=""
21469
21470 for ac_header in d3d9.h d3dx9.h
21471 do :
21472   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21473 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21474 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21475   cat >>confdefs.h <<_ACEOF
21476 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21477 _ACEOF
21478
21479     have_dep="yes"
21480     evas_engine_direct3d_libs="-ld3d9 -ld3dx9 -lgdi32"
21481
21482 else
21483   have_dep="no"; break
21484
21485 fi
21486
21487 done
21488
21489
21490
21491
21492
21493 if test "x${have_dep}" = "xyes" ; then
21494   have_engine="yes"
21495 else
21496   have_engine="no"
21497 fi
21498
21499
21500 fi
21501
21502 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21503    as_fn_error $? "Direct3D dependencies not found (strict dependencies checking)" "$LINENO" 5
21504 fi
21505
21506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Direct3D rendering backend will be built" >&5
21507 $as_echo_n "checking whether Direct3D rendering backend will be built... " >&6; }
21508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21509 $as_echo "${have_engine}" >&6; }
21510
21511 if test "x${have_engine}" = "xyes" ; then
21512    if test "x${want_engine}" = "xstatic" ; then
21513       have_evas_engine_direct3d="static"
21514       want_static_engine="yes"
21515    else
21516       have_evas_engine_direct3d="yes"
21517    fi
21518 fi
21519
21520 if test "x${have_engine}" = "xyes" ; then
21521
21522 $as_echo "#define BUILD_ENGINE_DIRECT3D 1" >>confdefs.h
21523
21524 fi
21525
21526  if test "x${have_engine}" = "xyes"; then
21527   BUILD_ENGINE_DIRECT3D_TRUE=
21528   BUILD_ENGINE_DIRECT3D_FALSE='#'
21529 else
21530   BUILD_ENGINE_DIRECT3D_TRUE='#'
21531   BUILD_ENGINE_DIRECT3D_FALSE=
21532 fi
21533
21534
21535 if test "x${want_static_engine}" = "xyes" ; then
21536
21537 $as_echo "#define EVAS_STATIC_BUILD_DIRECT3D 1" >>confdefs.h
21538
21539    have_static_module="yes"
21540 fi
21541
21542  if test "x${want_static_engine}" = "xyes"; then
21543   EVAS_STATIC_BUILD_DIRECT3D_TRUE=
21544   EVAS_STATIC_BUILD_DIRECT3D_FALSE='#'
21545 else
21546   EVAS_STATIC_BUILD_DIRECT3D_TRUE='#'
21547   EVAS_STATIC_BUILD_DIRECT3D_FALSE=
21548 fi
21549
21550
21551
21552
21553
21554
21555
21556
21557
21558
21559 want_engine="${want_evas_engine_psl1ght}"
21560 want_static_engine="no"
21561 have_engine="no"
21562 have_evas_engine_psl1ght="no"
21563
21564 # Check whether --enable-psl1ght was given.
21565 if test "${enable_psl1ght+set}" = set; then :
21566   enableval=$enable_psl1ght;
21567     if test "x${enableval}" = "xyes" ; then
21568        want_engine="yes"
21569     else
21570        if test "x${enableval}" = "xstatic" ; then
21571           want_engine="static"
21572        else
21573           want_engine="no"
21574        fi
21575     fi
21576
21577 fi
21578
21579
21580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PSL1GHT rendering backend" >&5
21581 $as_echo_n "checking whether to enable PSL1GHT rendering backend... " >&6; }
21582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21583 $as_echo "${want_engine}" >&6; }
21584
21585 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21586
21587
21588 have_dep="no"
21589 evas_engine_psl1ght_cflags=""
21590 evas_engine_psl1ght_libs=""
21591
21592 ac_fn_c_check_header_mongrel "$LINENO" "rsx/rsx.h" "ac_cv_header_rsx_rsx_h" "$ac_includes_default"
21593 if test "x$ac_cv_header_rsx_rsx_h" = xyes; then :
21594   have_dep="yes"
21595 fi
21596
21597
21598
21599
21600
21601
21602 if test "x${have_dep}" = "xyes" ; then
21603   have_engine="yes"
21604 else
21605   have_engine="no"
21606 fi
21607
21608
21609 fi
21610
21611 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21612    as_fn_error $? "PSL1GHT dependencies not found (strict dependencies checking)" "$LINENO" 5
21613 fi
21614
21615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PSL1GHT rendering backend will be built" >&5
21616 $as_echo_n "checking whether PSL1GHT rendering backend will be built... " >&6; }
21617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21618 $as_echo "${have_engine}" >&6; }
21619
21620 if test "x${have_engine}" = "xyes" ; then
21621    if test "x${want_engine}" = "xstatic" ; then
21622       have_evas_engine_psl1ght="static"
21623       want_static_engine="yes"
21624    else
21625       have_evas_engine_psl1ght="yes"
21626    fi
21627 fi
21628
21629 if test "x${have_engine}" = "xyes" ; then
21630
21631 $as_echo "#define BUILD_ENGINE_PSL1GHT 1" >>confdefs.h
21632
21633 fi
21634
21635  if test "x${have_engine}" = "xyes"; then
21636   BUILD_ENGINE_PSL1GHT_TRUE=
21637   BUILD_ENGINE_PSL1GHT_FALSE='#'
21638 else
21639   BUILD_ENGINE_PSL1GHT_TRUE='#'
21640   BUILD_ENGINE_PSL1GHT_FALSE=
21641 fi
21642
21643
21644 if test "x${want_static_engine}" = "xyes" ; then
21645
21646 $as_echo "#define EVAS_STATIC_BUILD_PSL1GHT 1" >>confdefs.h
21647
21648    have_static_module="yes"
21649 fi
21650
21651  if test "x${want_static_engine}" = "xyes"; then
21652   EVAS_STATIC_BUILD_PSL1GHT_TRUE=
21653   EVAS_STATIC_BUILD_PSL1GHT_FALSE='#'
21654 else
21655   EVAS_STATIC_BUILD_PSL1GHT_TRUE='#'
21656   EVAS_STATIC_BUILD_PSL1GHT_FALSE=
21657 fi
21658
21659
21660
21661
21662
21663
21664
21665
21666
21667
21668 want_engine="${want_evas_engine_gl_sdl}"
21669 want_static_engine="no"
21670 have_engine="no"
21671 have_evas_engine_gl_sdl="no"
21672
21673 # Check whether --enable-gl-sdl was given.
21674 if test "${enable_gl_sdl+set}" = set; then :
21675   enableval=$enable_gl_sdl;
21676     if test "x${enableval}" = "xyes" ; then
21677        want_engine="yes"
21678     else
21679        if test "x${enableval}" = "xstatic" ; then
21680           want_engine="static"
21681        else
21682           want_engine="no"
21683        fi
21684     fi
21685
21686 fi
21687
21688
21689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL SDL rendering backend" >&5
21690 $as_echo_n "checking whether to enable OpenGL SDL rendering backend... " >&6; }
21691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21692 $as_echo "${want_engine}" >&6; }
21693
21694 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21695
21696
21697 requirement=""
21698 have_dep="no"
21699 evas_engine_gl_sdl_cflags=""
21700 evas_engine_gl_sdl_libs=""
21701
21702
21703 pkg_failed=no
21704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
21705 $as_echo_n "checking for SDL... " >&6; }
21706
21707 if test -n "$SDL_CFLAGS"; then
21708     pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
21709  elif test -n "$PKG_CONFIG"; then
21710     if test -n "$PKG_CONFIG" && \
21711     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
21712   ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
21713   ac_status=$?
21714   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21715   test $ac_status = 0; }; then
21716   pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl >= 1.2.0" 2>/dev/null`
21717                       test "x$?" != "x0" && pkg_failed=yes
21718 else
21719   pkg_failed=yes
21720 fi
21721  else
21722     pkg_failed=untried
21723 fi
21724 if test -n "$SDL_LIBS"; then
21725     pkg_cv_SDL_LIBS="$SDL_LIBS"
21726  elif test -n "$PKG_CONFIG"; then
21727     if test -n "$PKG_CONFIG" && \
21728     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
21729   ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
21730   ac_status=$?
21731   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21732   test $ac_status = 0; }; then
21733   pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl >= 1.2.0" 2>/dev/null`
21734                       test "x$?" != "x0" && pkg_failed=yes
21735 else
21736   pkg_failed=yes
21737 fi
21738  else
21739     pkg_failed=untried
21740 fi
21741
21742
21743
21744 if test $pkg_failed = yes; then
21745         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21746 $as_echo "no" >&6; }
21747
21748 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21749         _pkg_short_errors_supported=yes
21750 else
21751         _pkg_short_errors_supported=no
21752 fi
21753         if test $_pkg_short_errors_supported = yes; then
21754                 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sdl >= 1.2.0" 2>&1`
21755         else
21756                 SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sdl >= 1.2.0" 2>&1`
21757         fi
21758         # Put the nasty error message in config.log where it belongs
21759         echo "$SDL_PKG_ERRORS" >&5
21760
21761         as_fn_error $? "Package requirements (sdl >= 1.2.0) were not met:
21762
21763 $SDL_PKG_ERRORS
21764
21765 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21766 installed software in a non-standard prefix.
21767
21768 Alternatively, you may set the environment variables SDL_CFLAGS
21769 and SDL_LIBS to avoid the need to call pkg-config.
21770 See the pkg-config man page for more details." "$LINENO" 5
21771 elif test $pkg_failed = untried; then
21772         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21773 $as_echo "no" >&6; }
21774         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21775 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21776 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
21777 is in your PATH or set the PKG_CONFIG environment variable to the full
21778 path to pkg-config.
21779
21780 Alternatively, you may set the environment variables SDL_CFLAGS
21781 and SDL_LIBS to avoid the need to call pkg-config.
21782 See the pkg-config man page for more details.
21783
21784 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21785 See \`config.log' for more details" "$LINENO" 5; }
21786 else
21787         SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
21788         SDL_LIBS=$pkg_cv_SDL_LIBS
21789         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21790 $as_echo "yes" >&6; }
21791
21792     have_dep="yes"
21793     requirement="sdl"
21794     evas_engine_gl_sdl_cflags="${SDL_CFLAGS}"
21795     evas_engine_gl_sdl_libs="${SDL_LIBS}"
21796
21797
21798 fi
21799
21800 gl_pt_lib="";
21801 have_gl_pt="no"
21802
21803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_create() is supported" >&5
21804 $as_echo_n "checking whether pthread_create() is supported... " >&6; }
21805 CFLAGS_save="${CFLAGS}"
21806 CFLAGS="${CFLAGS} -pthread"
21807 LIBS_save="${LIBS}"
21808 LIBS="${LIBS} -pthread"
21809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21810 /* end confdefs.h.  */
21811
21812 #include <pthread.h>
21813
21814 int
21815 main ()
21816 {
21817
21818 pthread_create(NULL, NULL, NULL, NULL);
21819
21820   ;
21821   return 0;
21822 }
21823 _ACEOF
21824 if ac_fn_c_try_link "$LINENO"; then :
21825   have_gl_pt="yes"
21826 else
21827   have_gl_pt="no"
21828 fi
21829 rm -f core conftest.err conftest.$ac_objext \
21830     conftest$ac_exeext conftest.$ac_ext
21831 CFLAGS=${CFLAGS_save}
21832 LIBS=${LIBS_save}
21833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_gl_pt}" >&5
21834 $as_echo "${have_gl_pt}" >&6; }
21835
21836 if test "x$have_gl_pt" = "xyes" ; then
21837    gl_pt_lib=" -pthread"
21838 fi
21839
21840 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
21841 #include <GL/gl.h>
21842 #include <GL/glext.h>
21843
21844 "
21845 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
21846   have_dep="yes"
21847 else
21848   have_dep="no"
21849 fi
21850
21851
21852
21853 if test "x$gl_flavor_gles" = "xyes" ; then
21854   have_dep=no
21855 fi
21856
21857 if test "x${have_dep}" = "xyes" ; then
21858    evas_engine_gl_sdl_cflags="${SDL_CFLAGS}"
21859    evas_engine_gl_sdl_libs="${SDL_LIBS} -lGL -lm $gl_pt_lib"
21860    evas_engine_gl_common_libs="-lGL -lm $gl_pt_lib"
21861 else
21862    ac_fn_c_check_header_compile "$LINENO" "SDL/SDL_opengles.h" "ac_cv_header_SDL_SDL_opengles_h" "
21863 #include <SDL/SDL_opengles.h>
21864 #include <EGL/egl.h>
21865
21866 "
21867 if test "x$ac_cv_header_SDL_SDL_opengles_h" = xyes; then :
21868   have_egl="yes"
21869 else
21870   have_egl="no"
21871 fi
21872
21873
21874    if test "x${have_egl}" = "xyes" ; then
21875       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
21876 $as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
21877 if ${ac_cv_lib_GLESv2_glTexImage2D+:} false; then :
21878   $as_echo_n "(cached) " >&6
21879 else
21880   ac_check_lib_save_LIBS=$LIBS
21881 LIBS="-lGLESv2 -lEGL -lm $gl_pt_lib $LIBS"
21882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21883 /* end confdefs.h.  */
21884
21885 /* Override any GCC internal prototype to avoid an error.
21886    Use char because int might match the return type of a GCC
21887    builtin and then its argument prototype would still apply.  */
21888 #ifdef __cplusplus
21889 extern "C"
21890 #endif
21891 char glTexImage2D ();
21892 int
21893 main ()
21894 {
21895 return glTexImage2D ();
21896   ;
21897   return 0;
21898 }
21899 _ACEOF
21900 if ac_fn_c_try_link "$LINENO"; then :
21901   ac_cv_lib_GLESv2_glTexImage2D=yes
21902 else
21903   ac_cv_lib_GLESv2_glTexImage2D=no
21904 fi
21905 rm -f core conftest.err conftest.$ac_objext \
21906     conftest$ac_exeext conftest.$ac_ext
21907 LIBS=$ac_check_lib_save_LIBS
21908 fi
21909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
21910 $as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
21911 if test "x$ac_cv_lib_GLESv2_glTexImage2D" = xyes; then :
21912   have_glesv2="yes"
21913 fi
21914
21915       if test "x${have_glesv2}" = "xyes" ; then
21916          evas_engine_gl_sdl_cflags="${SDL_CFLAGS}"
21917          evas_engine_gl_sdl_libs="${SDL_LIBS} -lGLESv2 -lEGL -lm $gl_pt_lib"
21918          evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
21919          have_dep="yes"
21920
21921 $as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
21922
21923          gles_variety_sgx="yes"
21924       fi
21925    fi
21926 fi
21927
21928
21929
21930
21931 if test "x${want_engine}" = "xstatic" ; then
21932    requirement_evas="${requirement} ${requirement_evas}"
21933 fi
21934
21935 if test "x${have_dep}" = "xyes" ; then
21936   have_engine="yes"
21937 else
21938   have_engine="no"
21939 fi
21940
21941
21942 fi
21943
21944 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21945    as_fn_error $? "OpenGL SDL dependencies not found (strict dependencies checking)" "$LINENO" 5
21946 fi
21947
21948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL SDL rendering backend will be built" >&5
21949 $as_echo_n "checking whether OpenGL SDL rendering backend will be built... " >&6; }
21950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21951 $as_echo "${have_engine}" >&6; }
21952
21953 if test "x${have_engine}" = "xyes" ; then
21954    if test "x${want_engine}" = "xstatic" ; then
21955       have_evas_engine_gl_sdl="static"
21956       want_static_engine="yes"
21957    else
21958       have_evas_engine_gl_sdl="yes"
21959    fi
21960 fi
21961
21962 if test "x${have_engine}" = "xyes" ; then
21963
21964 $as_echo "#define BUILD_ENGINE_GL_SDL 1" >>confdefs.h
21965
21966 fi
21967
21968  if test "x${have_engine}" = "xyes"; then
21969   BUILD_ENGINE_GL_SDL_TRUE=
21970   BUILD_ENGINE_GL_SDL_FALSE='#'
21971 else
21972   BUILD_ENGINE_GL_SDL_TRUE='#'
21973   BUILD_ENGINE_GL_SDL_FALSE=
21974 fi
21975
21976
21977 if test "x${want_static_engine}" = "xyes" ; then
21978
21979 $as_echo "#define EVAS_STATIC_BUILD_GL_SDL 1" >>confdefs.h
21980
21981    have_static_module="yes"
21982 fi
21983
21984  if test "x${want_static_engine}" = "xyes"; then
21985   EVAS_STATIC_BUILD_GL_SDL_TRUE=
21986   EVAS_STATIC_BUILD_GL_SDL_FALSE='#'
21987 else
21988   EVAS_STATIC_BUILD_GL_SDL_TRUE='#'
21989   EVAS_STATIC_BUILD_GL_SDL_FALSE=
21990 fi
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001 want_engine="${want_evas_engine_gl_cocoa}"
22002 want_static_engine="no"
22003 have_engine="no"
22004 have_evas_engine_gl_cocoa="no"
22005
22006 # Check whether --enable-gl-cocoa was given.
22007 if test "${enable_gl_cocoa+set}" = set; then :
22008   enableval=$enable_gl_cocoa;
22009     if test "x${enableval}" = "xyes" ; then
22010        want_engine="yes"
22011     else
22012        if test "x${enableval}" = "xstatic" ; then
22013           want_engine="static"
22014        else
22015           want_engine="no"
22016        fi
22017     fi
22018
22019 fi
22020
22021
22022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL Cocoa rendering backend" >&5
22023 $as_echo_n "checking whether to enable OpenGL Cocoa rendering backend... " >&6; }
22024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22025 $as_echo "${want_engine}" >&6; }
22026
22027 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
22028
22029
22030 evas_engine_gl_cocoa_cflags=""
22031 evas_engine_gl_cocoa_libs=""
22032
22033 ac_ext=m
22034 ac_cpp='$OBJCPP $CPPFLAGS'
22035 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22036 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22037 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
22038
22039
22040 LIBS_save="$LIBS"
22041 LIBS="$LIBS -framework Cocoa"
22042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22043 /* end confdefs.h.  */
22044
22045 #include <Cocoa/Cocoa.h>
22046
22047 int
22048 main ()
22049 {
22050
22051 NSWindow *window;
22052 window = [[NSWindow alloc]
22053            initWithContentRect:NSMakeRect(0, 0, 1, 1)
22054            styleMask:(NSTitledWindowMask)
22055            backing:NSBackingStoreBuffered
22056            defer:NO
22057            screen:nil
22058          ];
22059
22060   ;
22061   return 0;
22062 }
22063 _ACEOF
22064 if ac_fn_objc_try_link "$LINENO"; then :
22065
22066     have_dep="yes"
22067     evas_engine_gl_cocoa_libs="-framework Cocoa"
22068
22069 else
22070   have_dep="no"
22071 fi
22072 rm -f core conftest.err conftest.$ac_objext \
22073     conftest$ac_exeext conftest.$ac_ext
22074 LIBS="$LIBS_save"
22075
22076 ac_ext=c
22077 ac_cpp='$CPP $CPPFLAGS'
22078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22081
22082
22083 if test "x${have_dep}" = "xyes" ; then
22084
22085 pkg_failed=no
22086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
22087 $as_echo_n "checking for GL_EET... " >&6; }
22088
22089 if test -n "$GL_EET_CFLAGS"; then
22090     pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
22091  elif test -n "$PKG_CONFIG"; then
22092     if test -n "$PKG_CONFIG" && \
22093     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
22094   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
22095   ac_status=$?
22096   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22097   test $ac_status = 0; }; then
22098   pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
22099                       test "x$?" != "x0" && pkg_failed=yes
22100 else
22101   pkg_failed=yes
22102 fi
22103  else
22104     pkg_failed=untried
22105 fi
22106 if test -n "$GL_EET_LIBS"; then
22107     pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
22108  elif test -n "$PKG_CONFIG"; then
22109     if test -n "$PKG_CONFIG" && \
22110     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
22111   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
22112   ac_status=$?
22113   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22114   test $ac_status = 0; }; then
22115   pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
22116                       test "x$?" != "x0" && pkg_failed=yes
22117 else
22118   pkg_failed=yes
22119 fi
22120  else
22121     pkg_failed=untried
22122 fi
22123
22124
22125
22126 if test $pkg_failed = yes; then
22127         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22128 $as_echo "no" >&6; }
22129
22130 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22131         _pkg_short_errors_supported=yes
22132 else
22133         _pkg_short_errors_supported=no
22134 fi
22135         if test $_pkg_short_errors_supported = yes; then
22136                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
22137         else
22138                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
22139         fi
22140         # Put the nasty error message in config.log where it belongs
22141         echo "$GL_EET_PKG_ERRORS" >&5
22142
22143         have_dep="no"
22144 elif test $pkg_failed = untried; then
22145         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22146 $as_echo "no" >&6; }
22147         have_dep="no"
22148 else
22149         GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
22150         GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
22151         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22152 $as_echo "yes" >&6; }
22153         have_dep="yes"
22154 fi
22155 fi
22156
22157
22158
22159
22160 if test "x${have_dep}" = "xyes" ; then
22161   have_engine="yes"
22162 else
22163   have_engine="no"
22164 fi
22165
22166
22167 fi
22168
22169 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
22170    as_fn_error $? "OpenGL Cocoa dependencies not found (strict dependencies checking)" "$LINENO" 5
22171 fi
22172
22173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL Cocoa rendering backend will be built" >&5
22174 $as_echo_n "checking whether OpenGL Cocoa rendering backend will be built... " >&6; }
22175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
22176 $as_echo "${have_engine}" >&6; }
22177
22178 if test "x${have_engine}" = "xyes" ; then
22179    if test "x${want_engine}" = "xstatic" ; then
22180       have_evas_engine_gl_cocoa="static"
22181       want_static_engine="yes"
22182    else
22183       have_evas_engine_gl_cocoa="yes"
22184    fi
22185 fi
22186
22187 if test "x${have_engine}" = "xyes" ; then
22188
22189 $as_echo "#define BUILD_ENGINE_GL_COCOA 1" >>confdefs.h
22190
22191 fi
22192
22193  if test "x${have_engine}" = "xyes"; then
22194   BUILD_ENGINE_GL_COCOA_TRUE=
22195   BUILD_ENGINE_GL_COCOA_FALSE='#'
22196 else
22197   BUILD_ENGINE_GL_COCOA_TRUE='#'
22198   BUILD_ENGINE_GL_COCOA_FALSE=
22199 fi
22200
22201
22202 if test "x${want_static_engine}" = "xyes" ; then
22203
22204 $as_echo "#define EVAS_STATIC_BUILD_GL_COCOA 1" >>confdefs.h
22205
22206    have_static_module="yes"
22207 fi
22208
22209  if test "x${want_static_engine}" = "xyes"; then
22210   EVAS_STATIC_BUILD_GL_COCOA_TRUE=
22211   EVAS_STATIC_BUILD_GL_COCOA_FALSE='#'
22212 else
22213   EVAS_STATIC_BUILD_GL_COCOA_TRUE='#'
22214   EVAS_STATIC_BUILD_GL_COCOA_FALSE=
22215 fi
22216
22217
22218
22219
22220
22221
22222
22223
22224
22225
22226 want_engine="${want_evas_engine_fb}"
22227 want_static_engine="no"
22228 have_engine="no"
22229 have_evas_engine_fb="no"
22230
22231 # Check whether --enable-fb was given.
22232 if test "${enable_fb+set}" = set; then :
22233   enableval=$enable_fb;
22234     if test "x${enableval}" = "xyes" ; then
22235        want_engine="yes"
22236     else
22237        if test "x${enableval}" = "xstatic" ; then
22238           want_engine="static"
22239        else
22240           want_engine="no"
22241        fi
22242     fi
22243
22244 fi
22245
22246
22247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Framebuffer rendering backend" >&5
22248 $as_echo_n "checking whether to enable Framebuffer rendering backend... " >&6; }
22249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22250 $as_echo "${want_engine}" >&6; }
22251
22252 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
22253
22254
22255 have_dep="no"
22256 evas_engine_fb_cflags=""
22257 evas_engine_fb_libs=""
22258
22259 ac_fn_c_check_header_mongrel "$LINENO" "linux/fb.h" "ac_cv_header_linux_fb_h" "$ac_includes_default"
22260 if test "x$ac_cv_header_linux_fb_h" = xyes; then :
22261   have_dep="yes"
22262 fi
22263
22264
22265
22266
22267
22268
22269 if test "x${have_dep}" = "xyes" ; then
22270   have_engine="yes"
22271 else
22272   have_engine="no"
22273 fi
22274
22275
22276 fi
22277
22278 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
22279    as_fn_error $? "Framebuffer dependencies not found (strict dependencies checking)" "$LINENO" 5
22280 fi
22281
22282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Framebuffer rendering backend will be built" >&5
22283 $as_echo_n "checking whether Framebuffer rendering backend will be built... " >&6; }
22284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
22285 $as_echo "${have_engine}" >&6; }
22286
22287 if test "x${have_engine}" = "xyes" ; then
22288    if test "x${want_engine}" = "xstatic" ; then
22289       have_evas_engine_fb="static"
22290       want_static_engine="yes"
22291    else
22292       have_evas_engine_fb="yes"
22293    fi
22294 fi
22295
22296 if test "x${have_engine}" = "xyes" ; then
22297
22298 $as_echo "#define BUILD_ENGINE_FB 1" >>confdefs.h
22299
22300 fi
22301
22302  if test "x${have_engine}" = "xyes"; then
22303   BUILD_ENGINE_FB_TRUE=
22304   BUILD_ENGINE_FB_FALSE='#'
22305 else
22306   BUILD_ENGINE_FB_TRUE='#'
22307   BUILD_ENGINE_FB_FALSE=
22308 fi
22309
22310
22311 if test "x${want_static_engine}" = "xyes" ; then
22312
22313 $as_echo "#define EVAS_STATIC_BUILD_FB 1" >>confdefs.h
22314
22315    have_static_module="yes"
22316 fi
22317
22318  if test "x${want_static_engine}" = "xyes"; then
22319   EVAS_STATIC_BUILD_FB_TRUE=
22320   EVAS_STATIC_BUILD_FB_FALSE='#'
22321 else
22322   EVAS_STATIC_BUILD_FB_TRUE='#'
22323   EVAS_STATIC_BUILD_FB_FALSE=
22324 fi
22325
22326
22327
22328
22329
22330
22331
22332
22333
22334
22335 want_engine="${want_evas_engine_directfb}"
22336 want_static_engine="no"
22337 have_engine="no"
22338 have_evas_engine_directfb="no"
22339
22340 # Check whether --enable-directfb was given.
22341 if test "${enable_directfb+set}" = set; then :
22342   enableval=$enable_directfb;
22343     if test "x${enableval}" = "xyes" ; then
22344        want_engine="yes"
22345     else
22346        if test "x${enableval}" = "xstatic" ; then
22347           want_engine="static"
22348        else
22349           want_engine="no"
22350        fi
22351     fi
22352
22353 fi
22354
22355
22356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable DirectFB rendering backend" >&5
22357 $as_echo_n "checking whether to enable DirectFB rendering backend... " >&6; }
22358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22359 $as_echo "${want_engine}" >&6; }
22360
22361 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
22362
22363
22364 requirement=""
22365 have_dep="no"
22366 evas_engine_directfb_cflags=""
22367 evas_engine_directfb_libs=""
22368
22369
22370 pkg_failed=no
22371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
22372 $as_echo_n "checking for DIRECTFB... " >&6; }
22373
22374 if test -n "$DIRECTFB_CFLAGS"; then
22375     pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
22376  elif test -n "$PKG_CONFIG"; then
22377     if test -n "$PKG_CONFIG" && \
22378     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5
22379   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5
22380   ac_status=$?
22381   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22382   test $ac_status = 0; }; then
22383   pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.16" 2>/dev/null`
22384                       test "x$?" != "x0" && pkg_failed=yes
22385 else
22386   pkg_failed=yes
22387 fi
22388  else
22389     pkg_failed=untried
22390 fi
22391 if test -n "$DIRECTFB_LIBS"; then
22392     pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
22393  elif test -n "$PKG_CONFIG"; then
22394     if test -n "$PKG_CONFIG" && \
22395     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5
22396   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5
22397   ac_status=$?
22398   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22399   test $ac_status = 0; }; then
22400   pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.16" 2>/dev/null`
22401                       test "x$?" != "x0" && pkg_failed=yes
22402 else
22403   pkg_failed=yes
22404 fi
22405  else
22406     pkg_failed=untried
22407 fi
22408
22409
22410
22411 if test $pkg_failed = yes; then
22412         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22413 $as_echo "no" >&6; }
22414
22415 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22416         _pkg_short_errors_supported=yes
22417 else
22418         _pkg_short_errors_supported=no
22419 fi
22420         if test $_pkg_short_errors_supported = yes; then
22421                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "directfb >= 0.9.16" 2>&1`
22422         else
22423                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "directfb >= 0.9.16" 2>&1`
22424         fi
22425         # Put the nasty error message in config.log where it belongs
22426         echo "$DIRECTFB_PKG_ERRORS" >&5
22427
22428         as_fn_error $? "Package requirements (directfb >= 0.9.16) were not met:
22429
22430 $DIRECTFB_PKG_ERRORS
22431
22432 Consider adjusting the PKG_CONFIG_PATH environment variable if you
22433 installed software in a non-standard prefix.
22434
22435 Alternatively, you may set the environment variables DIRECTFB_CFLAGS
22436 and DIRECTFB_LIBS to avoid the need to call pkg-config.
22437 See the pkg-config man page for more details." "$LINENO" 5
22438 elif test $pkg_failed = untried; then
22439         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22440 $as_echo "no" >&6; }
22441         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22443 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
22444 is in your PATH or set the PKG_CONFIG environment variable to the full
22445 path to pkg-config.
22446
22447 Alternatively, you may set the environment variables DIRECTFB_CFLAGS
22448 and DIRECTFB_LIBS to avoid the need to call pkg-config.
22449 See the pkg-config man page for more details.
22450
22451 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22452 See \`config.log' for more details" "$LINENO" 5; }
22453 else
22454         DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
22455         DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
22456         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22457 $as_echo "yes" >&6; }
22458
22459     have_dep="yes"
22460     requirement="directfb"
22461     evas_engine_directfb_cflags="${DIRECTFB_CFLAGS}"
22462     evas_engine_directfb_libs="${DIRECTFB_LIBS}"
22463
22464
22465 fi
22466
22467
22468
22469
22470 if test "x${want_engine}" = "xstatic" ; then
22471    requirement_evas="${requirement} ${requirement_evas}"
22472 fi
22473
22474 if test "x${have_dep}" = "xyes" ; then
22475   have_engine="yes"
22476 else
22477   have_engine="no"
22478 fi
22479
22480
22481 fi
22482
22483 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
22484    as_fn_error $? "DirectFB dependencies not found (strict dependencies checking)" "$LINENO" 5
22485 fi
22486
22487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether DirectFB rendering backend will be built" >&5
22488 $as_echo_n "checking whether DirectFB rendering backend will be built... " >&6; }
22489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
22490 $as_echo "${have_engine}" >&6; }
22491
22492 if test "x${have_engine}" = "xyes" ; then
22493    if test "x${want_engine}" = "xstatic" ; then
22494       have_evas_engine_directfb="static"
22495       want_static_engine="yes"
22496    else
22497       have_evas_engine_directfb="yes"
22498    fi
22499 fi
22500
22501 if test "x${have_engine}" = "xyes" ; then
22502
22503 $as_echo "#define BUILD_ENGINE_DIRECTFB 1" >>confdefs.h
22504
22505 fi
22506
22507  if test "x${have_engine}" = "xyes"; then
22508   BUILD_ENGINE_DIRECTFB_TRUE=
22509   BUILD_ENGINE_DIRECTFB_FALSE='#'
22510 else
22511   BUILD_ENGINE_DIRECTFB_TRUE='#'
22512   BUILD_ENGINE_DIRECTFB_FALSE=
22513 fi
22514
22515
22516 if test "x${want_static_engine}" = "xyes" ; then
22517
22518 $as_echo "#define EVAS_STATIC_BUILD_DIRECTFB 1" >>confdefs.h
22519
22520    have_static_module="yes"
22521 fi
22522
22523  if test "x${want_static_engine}" = "xyes"; then
22524   EVAS_STATIC_BUILD_DIRECTFB_TRUE=
22525   EVAS_STATIC_BUILD_DIRECTFB_FALSE='#'
22526 else
22527   EVAS_STATIC_BUILD_DIRECTFB_TRUE='#'
22528   EVAS_STATIC_BUILD_DIRECTFB_FALSE=
22529 fi
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540 want_engine="${want_evas_engine_software_8_x11}"
22541 want_static_engine="no"
22542 have_engine="no"
22543 have_evas_engine_software_8_x11="no"
22544
22545 # Check whether --enable-software-8-x11 was given.
22546 if test "${enable_software_8_x11+set}" = set; then :
22547   enableval=$enable_software_8_x11;
22548     if test "x${enableval}" = "xyes" ; then
22549        want_engine="yes"
22550     else
22551        if test "x${enableval}" = "xstatic" ; then
22552           want_engine="static"
22553        else
22554           want_engine="no"
22555        fi
22556     fi
22557
22558 fi
22559
22560
22561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software X11 8 bits grayscale rendering backend" >&5
22562 $as_echo_n "checking whether to enable Software X11 8 bits grayscale rendering backend... " >&6; }
22563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22564 $as_echo "${want_engine}" >&6; }
22565
22566 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
22567
22568
22569 have_dep="no"
22570 evas_engine_software_8_x11_cflags=""
22571 evas_engine_software_8_x11_libs=""
22572
22573
22574 pkg_failed=no
22575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB" >&5
22576 $as_echo_n "checking for XCB... " >&6; }
22577
22578 if test -n "$XCB_CFLAGS"; then
22579     pkg_cv_XCB_CFLAGS="$XCB_CFLAGS"
22580  elif test -n "$PKG_CONFIG"; then
22581     if test -n "$PKG_CONFIG" && \
22582     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
22583   ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
22584   ac_status=$?
22585   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22586   test $ac_status = 0; }; then
22587   pkg_cv_XCB_CFLAGS=`$PKG_CONFIG --cflags "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
22588                       test "x$?" != "x0" && pkg_failed=yes
22589 else
22590   pkg_failed=yes
22591 fi
22592  else
22593     pkg_failed=untried
22594 fi
22595 if test -n "$XCB_LIBS"; then
22596     pkg_cv_XCB_LIBS="$XCB_LIBS"
22597  elif test -n "$PKG_CONFIG"; then
22598     if test -n "$PKG_CONFIG" && \
22599     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
22600   ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
22601   ac_status=$?
22602   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22603   test $ac_status = 0; }; then
22604   pkg_cv_XCB_LIBS=`$PKG_CONFIG --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
22605                       test "x$?" != "x0" && pkg_failed=yes
22606 else
22607   pkg_failed=yes
22608 fi
22609  else
22610     pkg_failed=untried
22611 fi
22612
22613
22614
22615 if test $pkg_failed = yes; then
22616         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22617 $as_echo "no" >&6; }
22618
22619 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22620         _pkg_short_errors_supported=yes
22621 else
22622         _pkg_short_errors_supported=no
22623 fi
22624         if test $_pkg_short_errors_supported = yes; then
22625                 XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
22626         else
22627                 XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
22628         fi
22629         # Put the nasty error message in config.log where it belongs
22630         echo "$XCB_PKG_ERRORS" >&5
22631
22632
22633     have_dep="no"
22634
22635
22636 elif test $pkg_failed = untried; then
22637         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22638 $as_echo "no" >&6; }
22639
22640     have_dep="no"
22641
22642
22643 else
22644         XCB_CFLAGS=$pkg_cv_XCB_CFLAGS
22645         XCB_LIBS=$pkg_cv_XCB_LIBS
22646         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22647 $as_echo "yes" >&6; }
22648
22649     have_dep="yes"
22650     requirement="xcb xcb-shm xcb-image pixman-1"
22651     evas_engine_software_8_x11_cflags="${XCB_CFLAGS}"
22652     evas_engine_software_8_x11_libs="${XCB_LIBS}"
22653
22654 fi
22655
22656
22657
22658
22659 if test "x${want_engine}" = "xstatic" ; then
22660    requirement_evas="${requirement} ${requirement_evas}"
22661 fi
22662
22663 if test "x${have_dep}" = "xyes" ; then
22664   have_engine="yes"
22665 else
22666   have_engine="no"
22667 fi
22668
22669
22670 fi
22671
22672 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
22673    as_fn_error $? "Software X11 8 bits grayscale dependencies not found (strict dependencies checking)" "$LINENO" 5
22674 fi
22675
22676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software X11 8 bits grayscale rendering backend will be built" >&5
22677 $as_echo_n "checking whether Software X11 8 bits grayscale rendering backend will be built... " >&6; }
22678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
22679 $as_echo "${have_engine}" >&6; }
22680
22681 if test "x${have_engine}" = "xyes" ; then
22682    if test "x${want_engine}" = "xstatic" ; then
22683       have_evas_engine_software_8_x11="static"
22684       want_static_engine="yes"
22685    else
22686       have_evas_engine_software_8_x11="yes"
22687    fi
22688 fi
22689
22690 if test "x${have_engine}" = "xyes" ; then
22691
22692 $as_echo "#define BUILD_ENGINE_SOFTWARE_8_X11 1" >>confdefs.h
22693
22694 fi
22695
22696  if test "x${have_engine}" = "xyes"; then
22697   BUILD_ENGINE_SOFTWARE_8_X11_TRUE=
22698   BUILD_ENGINE_SOFTWARE_8_X11_FALSE='#'
22699 else
22700   BUILD_ENGINE_SOFTWARE_8_X11_TRUE='#'
22701   BUILD_ENGINE_SOFTWARE_8_X11_FALSE=
22702 fi
22703
22704
22705 if test "x${want_static_engine}" = "xyes" ; then
22706
22707 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_8_X11 1" >>confdefs.h
22708
22709    have_static_module="yes"
22710 fi
22711
22712  if test "x${want_static_engine}" = "xyes"; then
22713   EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE=
22714   EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE='#'
22715 else
22716   EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE='#'
22717   EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE=
22718 fi
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729 want_engine="${want_evas_engine_software_16_x11}"
22730 want_static_engine="no"
22731 have_engine="no"
22732 have_evas_engine_software_16_x11="no"
22733
22734 # Check whether --enable-software-16-x11 was given.
22735 if test "${enable_software_16_x11+set}" = set; then :
22736   enableval=$enable_software_16_x11;
22737     if test "x${enableval}" = "xyes" ; then
22738        want_engine="yes"
22739     else
22740        if test "x${enableval}" = "xstatic" ; then
22741           want_engine="static"
22742        else
22743           want_engine="no"
22744        fi
22745     fi
22746
22747 fi
22748
22749
22750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software X11 16 bits rendering backend" >&5
22751 $as_echo_n "checking whether to enable Software X11 16 bits rendering backend... " >&6; }
22752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22753 $as_echo "${want_engine}" >&6; }
22754
22755 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
22756
22757
22758 have_dep="no"
22759 evas_engine_software_16_x11_cflags=""
22760 evas_engine_software_16_x11_libs=""
22761
22762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
22763 $as_echo_n "checking for X... " >&6; }
22764
22765
22766 # Check whether --with-x was given.
22767 if test "${with_x+set}" = set; then :
22768   withval=$with_x;
22769 fi
22770
22771 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
22772 if test "x$with_x" = xno; then
22773   # The user explicitly disabled X.
22774   have_x=disabled
22775 else
22776   case $x_includes,$x_libraries in #(
22777     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
22778     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
22779   $as_echo_n "(cached) " >&6
22780 else
22781   # One or both of the vars are not set, and there is no cached value.
22782 ac_x_includes=no ac_x_libraries=no
22783 rm -f -r conftest.dir
22784 if mkdir conftest.dir; then
22785   cd conftest.dir
22786   cat >Imakefile <<'_ACEOF'
22787 incroot:
22788         @echo incroot='${INCROOT}'
22789 usrlibdir:
22790         @echo usrlibdir='${USRLIBDIR}'
22791 libdir:
22792         @echo libdir='${LIBDIR}'
22793 _ACEOF
22794   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
22795     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
22796     for ac_var in incroot usrlibdir libdir; do
22797       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
22798     done
22799     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
22800     for ac_extension in a so sl dylib la dll; do
22801       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
22802          test -f "$ac_im_libdir/libX11.$ac_extension"; then
22803         ac_im_usrlibdir=$ac_im_libdir; break
22804       fi
22805     done
22806     # Screen out bogus values from the imake configuration.  They are
22807     # bogus both because they are the default anyway, and because
22808     # using them would break gcc on systems where it needs fixed includes.
22809     case $ac_im_incroot in
22810         /usr/include) ac_x_includes= ;;
22811         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
22812     esac
22813     case $ac_im_usrlibdir in
22814         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
22815         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
22816     esac
22817   fi
22818   cd ..
22819   rm -f -r conftest.dir
22820 fi
22821
22822 # Standard set of common directories for X headers.
22823 # Check X11 before X11Rn because it is often a symlink to the current release.
22824 ac_x_header_dirs='
22825 /usr/X11/include
22826 /usr/X11R7/include
22827 /usr/X11R6/include
22828 /usr/X11R5/include
22829 /usr/X11R4/include
22830
22831 /usr/include/X11
22832 /usr/include/X11R7
22833 /usr/include/X11R6
22834 /usr/include/X11R5
22835 /usr/include/X11R4
22836
22837 /usr/local/X11/include
22838 /usr/local/X11R7/include
22839 /usr/local/X11R6/include
22840 /usr/local/X11R5/include
22841 /usr/local/X11R4/include
22842
22843 /usr/local/include/X11
22844 /usr/local/include/X11R7
22845 /usr/local/include/X11R6
22846 /usr/local/include/X11R5
22847 /usr/local/include/X11R4
22848
22849 /usr/X386/include
22850 /usr/x386/include
22851 /usr/XFree86/include/X11
22852
22853 /usr/include
22854 /usr/local/include
22855 /usr/unsupported/include
22856 /usr/athena/include
22857 /usr/local/x11r5/include
22858 /usr/lpp/Xamples/include
22859
22860 /usr/openwin/include
22861 /usr/openwin/share/include'
22862
22863 if test "$ac_x_includes" = no; then
22864   # Guess where to find include files, by looking for Xlib.h.
22865   # First, try using that file with no special directory specified.
22866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22867 /* end confdefs.h.  */
22868 #include <X11/Xlib.h>
22869 _ACEOF
22870 if ac_fn_c_try_cpp "$LINENO"; then :
22871   # We can compile using X headers with no special include directory.
22872 ac_x_includes=
22873 else
22874   for ac_dir in $ac_x_header_dirs; do
22875   if test -r "$ac_dir/X11/Xlib.h"; then
22876     ac_x_includes=$ac_dir
22877     break
22878   fi
22879 done
22880 fi
22881 rm -f conftest.err conftest.i conftest.$ac_ext
22882 fi # $ac_x_includes = no
22883
22884 if test "$ac_x_libraries" = no; then
22885   # Check for the libraries.
22886   # See if we find them without any special options.
22887   # Don't add to $LIBS permanently.
22888   ac_save_LIBS=$LIBS
22889   LIBS="-lX11 $LIBS"
22890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22891 /* end confdefs.h.  */
22892 #include <X11/Xlib.h>
22893 int
22894 main ()
22895 {
22896 XrmInitialize ()
22897   ;
22898   return 0;
22899 }
22900 _ACEOF
22901 if ac_fn_c_try_link "$LINENO"; then :
22902   LIBS=$ac_save_LIBS
22903 # We can link X programs with no special library path.
22904 ac_x_libraries=
22905 else
22906   LIBS=$ac_save_LIBS
22907 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
22908 do
22909   # Don't even attempt the hair of trying to link an X program!
22910   for ac_extension in a so sl dylib la dll; do
22911     if test -r "$ac_dir/libX11.$ac_extension"; then
22912       ac_x_libraries=$ac_dir
22913       break 2
22914     fi
22915   done
22916 done
22917 fi
22918 rm -f core conftest.err conftest.$ac_objext \
22919     conftest$ac_exeext conftest.$ac_ext
22920 fi # $ac_x_libraries = no
22921
22922 case $ac_x_includes,$ac_x_libraries in #(
22923   no,* | *,no | *\'*)
22924     # Didn't find X, or a directory has "'" in its name.
22925     ac_cv_have_x="have_x=no";; #(
22926   *)
22927     # Record where we found X for the cache.
22928     ac_cv_have_x="have_x=yes\
22929         ac_x_includes='$ac_x_includes'\
22930         ac_x_libraries='$ac_x_libraries'"
22931 esac
22932 fi
22933 ;; #(
22934     *) have_x=yes;;
22935   esac
22936   eval "$ac_cv_have_x"
22937 fi # $with_x != no
22938
22939 if test "$have_x" != yes; then
22940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
22941 $as_echo "$have_x" >&6; }
22942   no_x=yes
22943 else
22944   # If each of the values was on the command line, it overrides each guess.
22945   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
22946   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
22947   # Update the cache value to reflect the command line values.
22948   ac_cv_have_x="have_x=yes\
22949         ac_x_includes='$x_includes'\
22950         ac_x_libraries='$x_libraries'"
22951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
22952 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
22953 fi
22954
22955 if test "$no_x" = yes; then
22956   # Not all programs may use this symbol, but it does not hurt to define it.
22957
22958 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
22959
22960   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22961 else
22962   if test -n "$x_includes"; then
22963     X_CFLAGS="$X_CFLAGS -I$x_includes"
22964   fi
22965
22966   # It would also be nice to do this for all -L options, not just this one.
22967   if test -n "$x_libraries"; then
22968     X_LIBS="$X_LIBS -L$x_libraries"
22969     # For Solaris; some versions of Sun CC require a space after -R and
22970     # others require no space.  Words are not sufficient . . . .
22971     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
22972 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
22973     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22974     ac_xsave_c_werror_flag=$ac_c_werror_flag
22975     ac_c_werror_flag=yes
22976     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22977 /* end confdefs.h.  */
22978
22979 int
22980 main ()
22981 {
22982
22983   ;
22984   return 0;
22985 }
22986 _ACEOF
22987 if ac_fn_c_try_link "$LINENO"; then :
22988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22989 $as_echo "no" >&6; }
22990        X_LIBS="$X_LIBS -R$x_libraries"
22991 else
22992   LIBS="$ac_xsave_LIBS -R $x_libraries"
22993        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22994 /* end confdefs.h.  */
22995
22996 int
22997 main ()
22998 {
22999
23000   ;
23001   return 0;
23002 }
23003 _ACEOF
23004 if ac_fn_c_try_link "$LINENO"; then :
23005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23006 $as_echo "yes" >&6; }
23007           X_LIBS="$X_LIBS -R $x_libraries"
23008 else
23009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
23010 $as_echo "neither works" >&6; }
23011 fi
23012 rm -f core conftest.err conftest.$ac_objext \
23013     conftest$ac_exeext conftest.$ac_ext
23014 fi
23015 rm -f core conftest.err conftest.$ac_objext \
23016     conftest$ac_exeext conftest.$ac_ext
23017     ac_c_werror_flag=$ac_xsave_c_werror_flag
23018     LIBS=$ac_xsave_LIBS
23019   fi
23020
23021   # Check for system-dependent libraries X programs must link with.
23022   # Do this before checking for the system-independent R6 libraries
23023   # (-lICE), since we may need -lsocket or whatever for X linking.
23024
23025   if test "$ISC" = yes; then
23026     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23027   else
23028     # Martyn Johnson says this is needed for Ultrix, if the X
23029     # libraries were built with DECnet support.  And Karl Berry says
23030     # the Alpha needs dnet_stub (dnet does not exist).
23031     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23032     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23033 /* end confdefs.h.  */
23034
23035 /* Override any GCC internal prototype to avoid an error.
23036    Use char because int might match the return type of a GCC
23037    builtin and then its argument prototype would still apply.  */
23038 #ifdef __cplusplus
23039 extern "C"
23040 #endif
23041 char XOpenDisplay ();
23042 int
23043 main ()
23044 {
23045 return XOpenDisplay ();
23046   ;
23047   return 0;
23048 }
23049 _ACEOF
23050 if ac_fn_c_try_link "$LINENO"; then :
23051
23052 else
23053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
23054 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
23055 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
23056   $as_echo_n "(cached) " >&6
23057 else
23058   ac_check_lib_save_LIBS=$LIBS
23059 LIBS="-ldnet  $LIBS"
23060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23061 /* end confdefs.h.  */
23062
23063 /* Override any GCC internal prototype to avoid an error.
23064    Use char because int might match the return type of a GCC
23065    builtin and then its argument prototype would still apply.  */
23066 #ifdef __cplusplus
23067 extern "C"
23068 #endif
23069 char dnet_ntoa ();
23070 int
23071 main ()
23072 {
23073 return dnet_ntoa ();
23074   ;
23075   return 0;
23076 }
23077 _ACEOF
23078 if ac_fn_c_try_link "$LINENO"; then :
23079   ac_cv_lib_dnet_dnet_ntoa=yes
23080 else
23081   ac_cv_lib_dnet_dnet_ntoa=no
23082 fi
23083 rm -f core conftest.err conftest.$ac_objext \
23084     conftest$ac_exeext conftest.$ac_ext
23085 LIBS=$ac_check_lib_save_LIBS
23086 fi
23087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23088 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
23089 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
23090   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23091 fi
23092
23093     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23094       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
23095 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
23096 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
23097   $as_echo_n "(cached) " >&6
23098 else
23099   ac_check_lib_save_LIBS=$LIBS
23100 LIBS="-ldnet_stub  $LIBS"
23101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23102 /* end confdefs.h.  */
23103
23104 /* Override any GCC internal prototype to avoid an error.
23105    Use char because int might match the return type of a GCC
23106    builtin and then its argument prototype would still apply.  */
23107 #ifdef __cplusplus
23108 extern "C"
23109 #endif
23110 char dnet_ntoa ();
23111 int
23112 main ()
23113 {
23114 return dnet_ntoa ();
23115   ;
23116   return 0;
23117 }
23118 _ACEOF
23119 if ac_fn_c_try_link "$LINENO"; then :
23120   ac_cv_lib_dnet_stub_dnet_ntoa=yes
23121 else
23122   ac_cv_lib_dnet_stub_dnet_ntoa=no
23123 fi
23124 rm -f core conftest.err conftest.$ac_objext \
23125     conftest$ac_exeext conftest.$ac_ext
23126 LIBS=$ac_check_lib_save_LIBS
23127 fi
23128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23129 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
23130 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
23131   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23132 fi
23133
23134     fi
23135 fi
23136 rm -f core conftest.err conftest.$ac_objext \
23137     conftest$ac_exeext conftest.$ac_ext
23138     LIBS="$ac_xsave_LIBS"
23139
23140     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23141     # to get the SysV transport functions.
23142     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23143     # needs -lnsl.
23144     # The nsl library prevents programs from opening the X display
23145     # on Irix 5.2, according to T.E. Dickey.
23146     # The functions gethostbyname, getservbyname, and inet_addr are
23147     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23148     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
23149 if test "x$ac_cv_func_gethostbyname" = xyes; then :
23150
23151 fi
23152
23153     if test $ac_cv_func_gethostbyname = no; then
23154       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
23155 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
23156 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
23157   $as_echo_n "(cached) " >&6
23158 else
23159   ac_check_lib_save_LIBS=$LIBS
23160 LIBS="-lnsl  $LIBS"
23161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23162 /* end confdefs.h.  */
23163
23164 /* Override any GCC internal prototype to avoid an error.
23165    Use char because int might match the return type of a GCC
23166    builtin and then its argument prototype would still apply.  */
23167 #ifdef __cplusplus
23168 extern "C"
23169 #endif
23170 char gethostbyname ();
23171 int
23172 main ()
23173 {
23174 return gethostbyname ();
23175   ;
23176   return 0;
23177 }
23178 _ACEOF
23179 if ac_fn_c_try_link "$LINENO"; then :
23180   ac_cv_lib_nsl_gethostbyname=yes
23181 else
23182   ac_cv_lib_nsl_gethostbyname=no
23183 fi
23184 rm -f core conftest.err conftest.$ac_objext \
23185     conftest$ac_exeext conftest.$ac_ext
23186 LIBS=$ac_check_lib_save_LIBS
23187 fi
23188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
23189 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
23190 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
23191   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23192 fi
23193
23194       if test $ac_cv_lib_nsl_gethostbyname = no; then
23195         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
23196 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
23197 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
23198   $as_echo_n "(cached) " >&6
23199 else
23200   ac_check_lib_save_LIBS=$LIBS
23201 LIBS="-lbsd  $LIBS"
23202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23203 /* end confdefs.h.  */
23204
23205 /* Override any GCC internal prototype to avoid an error.
23206    Use char because int might match the return type of a GCC
23207    builtin and then its argument prototype would still apply.  */
23208 #ifdef __cplusplus
23209 extern "C"
23210 #endif
23211 char gethostbyname ();
23212 int
23213 main ()
23214 {
23215 return gethostbyname ();
23216   ;
23217   return 0;
23218 }
23219 _ACEOF
23220 if ac_fn_c_try_link "$LINENO"; then :
23221   ac_cv_lib_bsd_gethostbyname=yes
23222 else
23223   ac_cv_lib_bsd_gethostbyname=no
23224 fi
23225 rm -f core conftest.err conftest.$ac_objext \
23226     conftest$ac_exeext conftest.$ac_ext
23227 LIBS=$ac_check_lib_save_LIBS
23228 fi
23229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
23230 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
23231 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
23232   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23233 fi
23234
23235       fi
23236     fi
23237
23238     # lieder@skyler.mavd.honeywell.com says without -lsocket,
23239     # socket/setsockopt and other routines are undefined under SCO ODT
23240     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
23241     # on later versions), says Simon Leinen: it contains gethostby*
23242     # variants that don't use the name server (or something).  -lsocket
23243     # must be given before -lnsl if both are needed.  We assume that
23244     # if connect needs -lnsl, so does gethostbyname.
23245     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
23246 if test "x$ac_cv_func_connect" = xyes; then :
23247
23248 fi
23249
23250     if test $ac_cv_func_connect = no; then
23251       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
23252 $as_echo_n "checking for connect in -lsocket... " >&6; }
23253 if ${ac_cv_lib_socket_connect+:} false; then :
23254   $as_echo_n "(cached) " >&6
23255 else
23256   ac_check_lib_save_LIBS=$LIBS
23257 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23259 /* end confdefs.h.  */
23260
23261 /* Override any GCC internal prototype to avoid an error.
23262    Use char because int might match the return type of a GCC
23263    builtin and then its argument prototype would still apply.  */
23264 #ifdef __cplusplus
23265 extern "C"
23266 #endif
23267 char connect ();
23268 int
23269 main ()
23270 {
23271 return connect ();
23272   ;
23273   return 0;
23274 }
23275 _ACEOF
23276 if ac_fn_c_try_link "$LINENO"; then :
23277   ac_cv_lib_socket_connect=yes
23278 else
23279   ac_cv_lib_socket_connect=no
23280 fi
23281 rm -f core conftest.err conftest.$ac_objext \
23282     conftest$ac_exeext conftest.$ac_ext
23283 LIBS=$ac_check_lib_save_LIBS
23284 fi
23285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
23286 $as_echo "$ac_cv_lib_socket_connect" >&6; }
23287 if test "x$ac_cv_lib_socket_connect" = xyes; then :
23288   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23289 fi
23290
23291     fi
23292
23293     # Guillermo Gomez says -lposix is necessary on A/UX.
23294     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
23295 if test "x$ac_cv_func_remove" = xyes; then :
23296
23297 fi
23298
23299     if test $ac_cv_func_remove = no; then
23300       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
23301 $as_echo_n "checking for remove in -lposix... " >&6; }
23302 if ${ac_cv_lib_posix_remove+:} false; then :
23303   $as_echo_n "(cached) " >&6
23304 else
23305   ac_check_lib_save_LIBS=$LIBS
23306 LIBS="-lposix  $LIBS"
23307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23308 /* end confdefs.h.  */
23309
23310 /* Override any GCC internal prototype to avoid an error.
23311    Use char because int might match the return type of a GCC
23312    builtin and then its argument prototype would still apply.  */
23313 #ifdef __cplusplus
23314 extern "C"
23315 #endif
23316 char remove ();
23317 int
23318 main ()
23319 {
23320 return remove ();
23321   ;
23322   return 0;
23323 }
23324 _ACEOF
23325 if ac_fn_c_try_link "$LINENO"; then :
23326   ac_cv_lib_posix_remove=yes
23327 else
23328   ac_cv_lib_posix_remove=no
23329 fi
23330 rm -f core conftest.err conftest.$ac_objext \
23331     conftest$ac_exeext conftest.$ac_ext
23332 LIBS=$ac_check_lib_save_LIBS
23333 fi
23334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
23335 $as_echo "$ac_cv_lib_posix_remove" >&6; }
23336 if test "x$ac_cv_lib_posix_remove" = xyes; then :
23337   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23338 fi
23339
23340     fi
23341
23342     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23343     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
23344 if test "x$ac_cv_func_shmat" = xyes; then :
23345
23346 fi
23347
23348     if test $ac_cv_func_shmat = no; then
23349       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
23350 $as_echo_n "checking for shmat in -lipc... " >&6; }
23351 if ${ac_cv_lib_ipc_shmat+:} false; then :
23352   $as_echo_n "(cached) " >&6
23353 else
23354   ac_check_lib_save_LIBS=$LIBS
23355 LIBS="-lipc  $LIBS"
23356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23357 /* end confdefs.h.  */
23358
23359 /* Override any GCC internal prototype to avoid an error.
23360    Use char because int might match the return type of a GCC
23361    builtin and then its argument prototype would still apply.  */
23362 #ifdef __cplusplus
23363 extern "C"
23364 #endif
23365 char shmat ();
23366 int
23367 main ()
23368 {
23369 return shmat ();
23370   ;
23371   return 0;
23372 }
23373 _ACEOF
23374 if ac_fn_c_try_link "$LINENO"; then :
23375   ac_cv_lib_ipc_shmat=yes
23376 else
23377   ac_cv_lib_ipc_shmat=no
23378 fi
23379 rm -f core conftest.err conftest.$ac_objext \
23380     conftest$ac_exeext conftest.$ac_ext
23381 LIBS=$ac_check_lib_save_LIBS
23382 fi
23383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
23384 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
23385 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
23386   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23387 fi
23388
23389     fi
23390   fi
23391
23392   # Check for libraries that X11R6 Xt/Xaw programs need.
23393   ac_save_LDFLAGS=$LDFLAGS
23394   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23395   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23396   # check for ICE first), but we must link in the order -lSM -lICE or
23397   # we get undefined symbols.  So assume we have SM if we have ICE.
23398   # These have to be linked with before -lX11, unlike the other
23399   # libraries we check for below, so use a different variable.
23400   # John Interrante, Karl Berry
23401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
23402 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
23403 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
23404   $as_echo_n "(cached) " >&6
23405 else
23406   ac_check_lib_save_LIBS=$LIBS
23407 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23409 /* end confdefs.h.  */
23410
23411 /* Override any GCC internal prototype to avoid an error.
23412    Use char because int might match the return type of a GCC
23413    builtin and then its argument prototype would still apply.  */
23414 #ifdef __cplusplus
23415 extern "C"
23416 #endif
23417 char IceConnectionNumber ();
23418 int
23419 main ()
23420 {
23421 return IceConnectionNumber ();
23422   ;
23423   return 0;
23424 }
23425 _ACEOF
23426 if ac_fn_c_try_link "$LINENO"; then :
23427   ac_cv_lib_ICE_IceConnectionNumber=yes
23428 else
23429   ac_cv_lib_ICE_IceConnectionNumber=no
23430 fi
23431 rm -f core conftest.err conftest.$ac_objext \
23432     conftest$ac_exeext conftest.$ac_ext
23433 LIBS=$ac_check_lib_save_LIBS
23434 fi
23435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23436 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
23437 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
23438   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23439 fi
23440
23441   LDFLAGS=$ac_save_LDFLAGS
23442
23443 fi
23444
23445
23446 ac_fn_c_check_header_mongrel "$LINENO" "X11/X.h" "ac_cv_header_X11_X_h" "$ac_includes_default"
23447 if test "x$ac_cv_header_X11_X_h" = xyes; then :
23448   have_dep="yes"
23449 fi
23450
23451
23452
23453 if test "x${have_dep}" = "xyes" ; then
23454    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateImage in -lX11" >&5
23455 $as_echo_n "checking for XCreateImage in -lX11... " >&6; }
23456 if ${ac_cv_lib_X11_XCreateImage+:} false; then :
23457   $as_echo_n "(cached) " >&6
23458 else
23459   ac_check_lib_save_LIBS=$LIBS
23460 LIBS="-lX11  $LIBS"
23461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23462 /* end confdefs.h.  */
23463
23464 /* Override any GCC internal prototype to avoid an error.
23465    Use char because int might match the return type of a GCC
23466    builtin and then its argument prototype would still apply.  */
23467 #ifdef __cplusplus
23468 extern "C"
23469 #endif
23470 char XCreateImage ();
23471 int
23472 main ()
23473 {
23474 return XCreateImage ();
23475   ;
23476   return 0;
23477 }
23478 _ACEOF
23479 if ac_fn_c_try_link "$LINENO"; then :
23480   ac_cv_lib_X11_XCreateImage=yes
23481 else
23482   ac_cv_lib_X11_XCreateImage=no
23483 fi
23484 rm -f core conftest.err conftest.$ac_objext \
23485     conftest$ac_exeext conftest.$ac_ext
23486 LIBS=$ac_check_lib_save_LIBS
23487 fi
23488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateImage" >&5
23489 $as_echo "$ac_cv_lib_X11_XCreateImage" >&6; }
23490 if test "x$ac_cv_lib_X11_XCreateImage" = xyes; then :
23491   have_dep="yes"
23492 else
23493   have_dep="no"
23494 fi
23495
23496 fi
23497
23498 if test "x${have_dep}" = "xyes" ; then
23499    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmCreateImage in -lXext" >&5
23500 $as_echo_n "checking for XShmCreateImage in -lXext... " >&6; }
23501 if ${ac_cv_lib_Xext_XShmCreateImage+:} false; then :
23502   $as_echo_n "(cached) " >&6
23503 else
23504   ac_check_lib_save_LIBS=$LIBS
23505 LIBS="-lXext  $LIBS"
23506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23507 /* end confdefs.h.  */
23508
23509 /* Override any GCC internal prototype to avoid an error.
23510    Use char because int might match the return type of a GCC
23511    builtin and then its argument prototype would still apply.  */
23512 #ifdef __cplusplus
23513 extern "C"
23514 #endif
23515 char XShmCreateImage ();
23516 int
23517 main ()
23518 {
23519 return XShmCreateImage ();
23520   ;
23521   return 0;
23522 }
23523 _ACEOF
23524 if ac_fn_c_try_link "$LINENO"; then :
23525   ac_cv_lib_Xext_XShmCreateImage=yes
23526 else
23527   ac_cv_lib_Xext_XShmCreateImage=no
23528 fi
23529 rm -f core conftest.err conftest.$ac_objext \
23530     conftest$ac_exeext conftest.$ac_ext
23531 LIBS=$ac_check_lib_save_LIBS
23532 fi
23533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmCreateImage" >&5
23534 $as_echo "$ac_cv_lib_Xext_XShmCreateImage" >&6; }
23535 if test "x$ac_cv_lib_Xext_XShmCreateImage" = xyes; then :
23536   have_dep="yes"
23537 else
23538   have_dep="no"
23539 fi
23540
23541 fi
23542
23543 if test "x${have_dep}" = "xyes" ; then
23544    if test "xno" = "xyes" ; then
23545       x_libs="${x_libs} -lX11 -lXext"
23546    else
23547       x_dir=${x_dir:-/usr/X11R6}
23548       x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
23549       x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
23550    fi
23551    evas_engine_software_16_x11_cflags="${x_cflags}"
23552    evas_engine_software_16_x11_libs="${x_libs}"
23553 fi
23554
23555
23556
23557
23558 if test "x${have_dep}" = "xyes" ; then
23559   have_engine="yes"
23560 else
23561   have_engine="no"
23562 fi
23563
23564
23565 fi
23566
23567 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23568    as_fn_error $? "Software X11 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5
23569 fi
23570
23571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software X11 16 bits rendering backend will be built" >&5
23572 $as_echo_n "checking whether Software X11 16 bits rendering backend will be built... " >&6; }
23573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
23574 $as_echo "${have_engine}" >&6; }
23575
23576 if test "x${have_engine}" = "xyes" ; then
23577    if test "x${want_engine}" = "xstatic" ; then
23578       have_evas_engine_software_16_x11="static"
23579       want_static_engine="yes"
23580    else
23581       have_evas_engine_software_16_x11="yes"
23582    fi
23583 fi
23584
23585 if test "x${have_engine}" = "xyes" ; then
23586
23587 $as_echo "#define BUILD_ENGINE_SOFTWARE_16_X11 1" >>confdefs.h
23588
23589 fi
23590
23591  if test "x${have_engine}" = "xyes"; then
23592   BUILD_ENGINE_SOFTWARE_16_X11_TRUE=
23593   BUILD_ENGINE_SOFTWARE_16_X11_FALSE='#'
23594 else
23595   BUILD_ENGINE_SOFTWARE_16_X11_TRUE='#'
23596   BUILD_ENGINE_SOFTWARE_16_X11_FALSE=
23597 fi
23598
23599
23600 if test "x${want_static_engine}" = "xyes" ; then
23601
23602 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16_X11 1" >>confdefs.h
23603
23604    have_static_module="yes"
23605 fi
23606
23607  if test "x${want_static_engine}" = "xyes"; then
23608   EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE=
23609   EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE='#'
23610 else
23611   EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE='#'
23612   EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE=
23613 fi
23614
23615
23616
23617
23618
23619
23620
23621
23622
23623
23624 want_engine="${want_evas_engine_software_16_wince}"
23625 want_static_engine="no"
23626 have_engine="no"
23627 have_evas_engine_software_16_wince="no"
23628
23629 # Check whether --enable-software-16-wince was given.
23630 if test "${enable_software_16_wince+set}" = set; then :
23631   enableval=$enable_software_16_wince;
23632     if test "x${enableval}" = "xyes" ; then
23633        want_engine="yes"
23634     else
23635        if test "x${enableval}" = "xstatic" ; then
23636           want_engine="static"
23637        else
23638           want_engine="no"
23639        fi
23640     fi
23641
23642 fi
23643
23644
23645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software Windows CE 16 bits rendering backend" >&5
23646 $as_echo_n "checking whether to enable Software Windows CE 16 bits rendering backend... " >&6; }
23647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
23648 $as_echo "${want_engine}" >&6; }
23649
23650 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
23651
23652
23653 have_dep="yes"
23654 evas_engine_software_16_wince_cflags=""
23655 evas_engine_software_16_wince_libs=""
23656
23657
23658
23659
23660 if test "x${have_dep}" = "xyes" ; then
23661   have_engine="yes"
23662 else
23663   have_engine="no"
23664 fi
23665
23666
23667 fi
23668
23669 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23670    as_fn_error $? "Software Windows CE 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5
23671 fi
23672
23673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software Windows CE 16 bits rendering backend will be built" >&5
23674 $as_echo_n "checking whether Software Windows CE 16 bits rendering backend will be built... " >&6; }
23675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
23676 $as_echo "${have_engine}" >&6; }
23677
23678 if test "x${have_engine}" = "xyes" ; then
23679    if test "x${want_engine}" = "xstatic" ; then
23680       have_evas_engine_software_16_wince="static"
23681       want_static_engine="yes"
23682    else
23683       have_evas_engine_software_16_wince="yes"
23684    fi
23685 fi
23686
23687 if test "x${have_engine}" = "xyes" ; then
23688
23689 $as_echo "#define BUILD_ENGINE_SOFTWARE_16_WINCE 1" >>confdefs.h
23690
23691 fi
23692
23693  if test "x${have_engine}" = "xyes"; then
23694   BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE=
23695   BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE='#'
23696 else
23697   BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE='#'
23698   BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE=
23699 fi
23700
23701
23702 if test "x${want_static_engine}" = "xyes" ; then
23703
23704 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16_WINCE 1" >>confdefs.h
23705
23706    have_static_module="yes"
23707 fi
23708
23709  if test "x${want_static_engine}" = "xyes"; then
23710   EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE=
23711   EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE='#'
23712 else
23713   EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE='#'
23714   EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE=
23715 fi
23716
23717
23718
23719
23720
23721
23722
23723
23724
23725
23726 want_engine="${want_evas_engine_software_16_sdl}"
23727 want_static_engine="no"
23728 have_engine="no"
23729 have_evas_engine_software_16_sdl="no"
23730
23731 # Check whether --enable-software-16-sdl was given.
23732 if test "${enable_software_16_sdl+set}" = set; then :
23733   enableval=$enable_software_16_sdl;
23734     if test "x${enableval}" = "xyes" ; then
23735        want_engine="yes"
23736     else
23737        if test "x${enableval}" = "xstatic" ; then
23738           want_engine="static"
23739        else
23740           want_engine="no"
23741        fi
23742     fi
23743
23744 fi
23745
23746
23747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software SDL 16 bits rendering backend" >&5
23748 $as_echo_n "checking whether to enable Software SDL 16 bits rendering backend... " >&6; }
23749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
23750 $as_echo "${want_engine}" >&6; }
23751
23752 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
23753
23754
23755 requirement=""
23756 have_dep="no"
23757 evas_engine_software_16_sdl_cflags=""
23758 evas_engine_software_16_sdl_libs=""
23759
23760
23761 pkg_failed=no
23762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
23763 $as_echo_n "checking for SDL... " >&6; }
23764
23765 if test -n "$SDL_CFLAGS"; then
23766     pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
23767  elif test -n "$PKG_CONFIG"; then
23768     if test -n "$PKG_CONFIG" && \
23769     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
23770   ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
23771   ac_status=$?
23772   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23773   test $ac_status = 0; }; then
23774   pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl >= 1.2.0" 2>/dev/null`
23775                       test "x$?" != "x0" && pkg_failed=yes
23776 else
23777   pkg_failed=yes
23778 fi
23779  else
23780     pkg_failed=untried
23781 fi
23782 if test -n "$SDL_LIBS"; then
23783     pkg_cv_SDL_LIBS="$SDL_LIBS"
23784  elif test -n "$PKG_CONFIG"; then
23785     if test -n "$PKG_CONFIG" && \
23786     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
23787   ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
23788   ac_status=$?
23789   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23790   test $ac_status = 0; }; then
23791   pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl >= 1.2.0" 2>/dev/null`
23792                       test "x$?" != "x0" && pkg_failed=yes
23793 else
23794   pkg_failed=yes
23795 fi
23796  else
23797     pkg_failed=untried
23798 fi
23799
23800
23801
23802 if test $pkg_failed = yes; then
23803         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23804 $as_echo "no" >&6; }
23805
23806 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23807         _pkg_short_errors_supported=yes
23808 else
23809         _pkg_short_errors_supported=no
23810 fi
23811         if test $_pkg_short_errors_supported = yes; then
23812                 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sdl >= 1.2.0" 2>&1`
23813         else
23814                 SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sdl >= 1.2.0" 2>&1`
23815         fi
23816         # Put the nasty error message in config.log where it belongs
23817         echo "$SDL_PKG_ERRORS" >&5
23818
23819         as_fn_error $? "Package requirements (sdl >= 1.2.0) were not met:
23820
23821 $SDL_PKG_ERRORS
23822
23823 Consider adjusting the PKG_CONFIG_PATH environment variable if you
23824 installed software in a non-standard prefix.
23825
23826 Alternatively, you may set the environment variables SDL_CFLAGS
23827 and SDL_LIBS to avoid the need to call pkg-config.
23828 See the pkg-config man page for more details." "$LINENO" 5
23829 elif test $pkg_failed = untried; then
23830         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23831 $as_echo "no" >&6; }
23832         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23834 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
23835 is in your PATH or set the PKG_CONFIG environment variable to the full
23836 path to pkg-config.
23837
23838 Alternatively, you may set the environment variables SDL_CFLAGS
23839 and SDL_LIBS to avoid the need to call pkg-config.
23840 See the pkg-config man page for more details.
23841
23842 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23843 See \`config.log' for more details" "$LINENO" 5; }
23844 else
23845         SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
23846         SDL_LIBS=$pkg_cv_SDL_LIBS
23847         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23848 $as_echo "yes" >&6; }
23849
23850     have_dep="yes"
23851     requirement="sdl"
23852     evas_engine_software_16_sdl_cflags="${SDL_CFLAGS}"
23853     evas_engine_software_16_sdl_libs="${SDL_LIBS}"
23854
23855
23856 fi
23857
23858
23859
23860
23861 if test "x${want_engine}" = "xstatic" ; then
23862    requirement_evas="${requirement} ${requirement_evas}"
23863 fi
23864
23865 if test "x${have_dep}" = "xyes" ; then
23866   have_engine="yes"
23867 else
23868   have_engine="no"
23869 fi
23870
23871
23872 fi
23873
23874 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23875    as_fn_error $? "Software SDL 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5
23876 fi
23877
23878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software SDL 16 bits rendering backend will be built" >&5
23879 $as_echo_n "checking whether Software SDL 16 bits rendering backend will be built... " >&6; }
23880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
23881 $as_echo "${have_engine}" >&6; }
23882
23883 if test "x${have_engine}" = "xyes" ; then
23884    if test "x${want_engine}" = "xstatic" ; then
23885       have_evas_engine_software_16_sdl="static"
23886       want_static_engine="yes"
23887    else
23888       have_evas_engine_software_16_sdl="yes"
23889    fi
23890 fi
23891
23892 if test "x${have_engine}" = "xyes" ; then
23893
23894 $as_echo "#define BUILD_ENGINE_SOFTWARE_16_SDL 1" >>confdefs.h
23895
23896 fi
23897
23898  if test "x${have_engine}" = "xyes"; then
23899   BUILD_ENGINE_SOFTWARE_16_SDL_TRUE=
23900   BUILD_ENGINE_SOFTWARE_16_SDL_FALSE='#'
23901 else
23902   BUILD_ENGINE_SOFTWARE_16_SDL_TRUE='#'
23903   BUILD_ENGINE_SOFTWARE_16_SDL_FALSE=
23904 fi
23905
23906
23907 if test "x${want_static_engine}" = "xyes" ; then
23908
23909 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16_SDL 1" >>confdefs.h
23910
23911    have_static_module="yes"
23912 fi
23913
23914  if test "x${want_static_engine}" = "xyes"; then
23915   EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE=
23916   EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE='#'
23917 else
23918   EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE='#'
23919   EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE=
23920 fi
23921
23922
23923
23924
23925
23926
23927
23928
23929
23930
23931 want_engine="${want_evas_engine_wayland_shm}"
23932 want_static_engine="no"
23933 have_engine="no"
23934 have_evas_engine_wayland_shm="no"
23935
23936 # Check whether --enable-wayland-shm was given.
23937 if test "${enable_wayland_shm+set}" = set; then :
23938   enableval=$enable_wayland_shm;
23939     if test "x${enableval}" = "xyes" ; then
23940        want_engine="yes"
23941     else
23942        if test "x${enableval}" = "xstatic" ; then
23943           want_engine="static"
23944        else
23945           want_engine="no"
23946        fi
23947     fi
23948
23949 fi
23950
23951
23952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Wayland Shm rendering backend" >&5
23953 $as_echo_n "checking whether to enable Wayland Shm rendering backend... " >&6; }
23954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
23955 $as_echo "${want_engine}" >&6; }
23956
23957 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
23958
23959
23960 have_dep="yes"
23961 evas_engine_wayland_shm_cflags=""
23962 evas_engine_wayland_shm_libs=""
23963
23964
23965
23966
23967 if test "x${have_dep}" = "xyes" ; then
23968   have_engine="yes"
23969 else
23970   have_engine="no"
23971 fi
23972
23973
23974 fi
23975
23976 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23977    as_fn_error $? "Wayland Shm dependencies not found (strict dependencies checking)" "$LINENO" 5
23978 fi
23979
23980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Wayland Shm rendering backend will be built" >&5
23981 $as_echo_n "checking whether Wayland Shm rendering backend will be built... " >&6; }
23982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
23983 $as_echo "${have_engine}" >&6; }
23984
23985 if test "x${have_engine}" = "xyes" ; then
23986    if test "x${want_engine}" = "xstatic" ; then
23987       have_evas_engine_wayland_shm="static"
23988       want_static_engine="yes"
23989    else
23990       have_evas_engine_wayland_shm="yes"
23991    fi
23992 fi
23993
23994 if test "x${have_engine}" = "xyes" ; then
23995
23996 $as_echo "#define BUILD_ENGINE_WAYLAND_SHM 1" >>confdefs.h
23997
23998 fi
23999
24000  if test "x${have_engine}" = "xyes"; then
24001   BUILD_ENGINE_WAYLAND_SHM_TRUE=
24002   BUILD_ENGINE_WAYLAND_SHM_FALSE='#'
24003 else
24004   BUILD_ENGINE_WAYLAND_SHM_TRUE='#'
24005   BUILD_ENGINE_WAYLAND_SHM_FALSE=
24006 fi
24007
24008
24009 if test "x${want_static_engine}" = "xyes" ; then
24010
24011 $as_echo "#define EVAS_STATIC_BUILD_WAYLAND_SHM 1" >>confdefs.h
24012
24013    have_static_module="yes"
24014 fi
24015
24016  if test "x${want_static_engine}" = "xyes"; then
24017   EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE=
24018   EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE='#'
24019 else
24020   EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE='#'
24021   EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE=
24022 fi
24023
24024
24025
24026
24027
24028
24029
24030
24031
24032
24033 want_engine="${want_evas_engine_wayland_egl}"
24034 want_static_engine="no"
24035 have_engine="no"
24036 have_evas_engine_wayland_egl="no"
24037
24038 # Check whether --enable-wayland-egl was given.
24039 if test "${enable_wayland_egl+set}" = set; then :
24040   enableval=$enable_wayland_egl;
24041     if test "x${enableval}" = "xyes" ; then
24042        want_engine="yes"
24043     else
24044        if test "x${enableval}" = "xstatic" ; then
24045           want_engine="static"
24046        else
24047           want_engine="no"
24048        fi
24049     fi
24050
24051 fi
24052
24053
24054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Wayland Egl rendering backend" >&5
24055 $as_echo_n "checking whether to enable Wayland Egl rendering backend... " >&6; }
24056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
24057 $as_echo "${want_engine}" >&6; }
24058
24059 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
24060
24061
24062 requirement=""
24063 have_dep="no"
24064 evas_engine_wayland_egl_cflags=""
24065 evas_engine_wayland_egl_libs=""
24066
24067
24068 pkg_failed=no
24069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND_EGL" >&5
24070 $as_echo_n "checking for WAYLAND_EGL... " >&6; }
24071
24072 if test -n "$WAYLAND_EGL_CFLAGS"; then
24073     pkg_cv_WAYLAND_EGL_CFLAGS="$WAYLAND_EGL_CFLAGS"
24074  elif test -n "$PKG_CONFIG"; then
24075     if test -n "$PKG_CONFIG" && \
24076     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl >= 7.10 glesv2 gl wayland-client wayland-egl\""; } >&5
24077   ($PKG_CONFIG --exists --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl") 2>&5
24078   ac_status=$?
24079   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24080   test $ac_status = 0; }; then
24081   pkg_cv_WAYLAND_EGL_CFLAGS=`$PKG_CONFIG --cflags "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>/dev/null`
24082                       test "x$?" != "x0" && pkg_failed=yes
24083 else
24084   pkg_failed=yes
24085 fi
24086  else
24087     pkg_failed=untried
24088 fi
24089 if test -n "$WAYLAND_EGL_LIBS"; then
24090     pkg_cv_WAYLAND_EGL_LIBS="$WAYLAND_EGL_LIBS"
24091  elif test -n "$PKG_CONFIG"; then
24092     if test -n "$PKG_CONFIG" && \
24093     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl >= 7.10 glesv2 gl wayland-client wayland-egl\""; } >&5
24094   ($PKG_CONFIG --exists --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl") 2>&5
24095   ac_status=$?
24096   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24097   test $ac_status = 0; }; then
24098   pkg_cv_WAYLAND_EGL_LIBS=`$PKG_CONFIG --libs "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>/dev/null`
24099                       test "x$?" != "x0" && pkg_failed=yes
24100 else
24101   pkg_failed=yes
24102 fi
24103  else
24104     pkg_failed=untried
24105 fi
24106
24107
24108
24109 if test $pkg_failed = yes; then
24110         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24111 $as_echo "no" >&6; }
24112
24113 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24114         _pkg_short_errors_supported=yes
24115 else
24116         _pkg_short_errors_supported=no
24117 fi
24118         if test $_pkg_short_errors_supported = yes; then
24119                 WAYLAND_EGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>&1`
24120         else
24121                 WAYLAND_EGL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>&1`
24122         fi
24123         # Put the nasty error message in config.log where it belongs
24124         echo "$WAYLAND_EGL_PKG_ERRORS" >&5
24125
24126
24127     have_dep="no"
24128
24129
24130 elif test $pkg_failed = untried; then
24131         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24132 $as_echo "no" >&6; }
24133
24134     have_dep="no"
24135
24136
24137 else
24138         WAYLAND_EGL_CFLAGS=$pkg_cv_WAYLAND_EGL_CFLAGS
24139         WAYLAND_EGL_LIBS=$pkg_cv_WAYLAND_EGL_LIBS
24140         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24141 $as_echo "yes" >&6; }
24142
24143     have_dep="yes"
24144     requirement="egl >= 7.10 glesv2 gl wayland-client wayland-egl"
24145     evas_engine_wayland_egl_cflags="${WAYLAND_EGL_CFLAGS}"
24146     evas_engine_wayland_egl_libs="${WAYLAND_EGL_LIBS}"
24147
24148 fi
24149
24150 if test "x${have_dep}" = "xyes" ; then
24151
24152 pkg_failed=no
24153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
24154 $as_echo_n "checking for GL_EET... " >&6; }
24155
24156 if test -n "$GL_EET_CFLAGS"; then
24157     pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
24158  elif test -n "$PKG_CONFIG"; then
24159     if test -n "$PKG_CONFIG" && \
24160     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
24161   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
24162   ac_status=$?
24163   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24164   test $ac_status = 0; }; then
24165   pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
24166                       test "x$?" != "x0" && pkg_failed=yes
24167 else
24168   pkg_failed=yes
24169 fi
24170  else
24171     pkg_failed=untried
24172 fi
24173 if test -n "$GL_EET_LIBS"; then
24174     pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
24175  elif test -n "$PKG_CONFIG"; then
24176     if test -n "$PKG_CONFIG" && \
24177     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
24178   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
24179   ac_status=$?
24180   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24181   test $ac_status = 0; }; then
24182   pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
24183                       test "x$?" != "x0" && pkg_failed=yes
24184 else
24185   pkg_failed=yes
24186 fi
24187  else
24188     pkg_failed=untried
24189 fi
24190
24191
24192
24193 if test $pkg_failed = yes; then
24194         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24195 $as_echo "no" >&6; }
24196
24197 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24198         _pkg_short_errors_supported=yes
24199 else
24200         _pkg_short_errors_supported=no
24201 fi
24202         if test $_pkg_short_errors_supported = yes; then
24203                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
24204         else
24205                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
24206         fi
24207         # Put the nasty error message in config.log where it belongs
24208         echo "$GL_EET_PKG_ERRORS" >&5
24209
24210         have_dep="no"
24211 elif test $pkg_failed = untried; then
24212         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24213 $as_echo "no" >&6; }
24214         have_dep="no"
24215 else
24216         GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
24217         GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
24218         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24219 $as_echo "yes" >&6; }
24220         have_dep="yes"
24221 fi
24222       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
24223 $as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
24224 if ${ac_cv_lib_GLESv2_glTexImage2D+:} false; then :
24225   $as_echo_n "(cached) " >&6
24226 else
24227   ac_check_lib_save_LIBS=$LIBS
24228 LIBS="-lGLESv2 -lEGL -lm $LIBS"
24229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24230 /* end confdefs.h.  */
24231
24232 /* Override any GCC internal prototype to avoid an error.
24233    Use char because int might match the return type of a GCC
24234    builtin and then its argument prototype would still apply.  */
24235 #ifdef __cplusplus
24236 extern "C"
24237 #endif
24238 char glTexImage2D ();
24239 int
24240 main ()
24241 {
24242 return glTexImage2D ();
24243   ;
24244   return 0;
24245 }
24246 _ACEOF
24247 if ac_fn_c_try_link "$LINENO"; then :
24248   ac_cv_lib_GLESv2_glTexImage2D=yes
24249 else
24250   ac_cv_lib_GLESv2_glTexImage2D=no
24251 fi
24252 rm -f core conftest.err conftest.$ac_objext \
24253     conftest$ac_exeext conftest.$ac_ext
24254 LIBS=$ac_check_lib_save_LIBS
24255 fi
24256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
24257 $as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
24258 if test "x$ac_cv_lib_GLESv2_glTexImage2D" = xyes; then :
24259   have_glesv2="yes"
24260 fi
24261
24262       if test "x${have_glesv2}" = "xyes" ; then
24263          evas_engine_wayland_egl_cflags="${WAYLAND_EGL_CFLAGS}"
24264          evas_engine_wayland_egl_libs="${WAYLAND_EGL_LIBS} -lGL -lGLESv2 -lEGL"
24265       fi
24266 fi
24267
24268
24269
24270
24271 if test "x${want_engine}" = "xstatic" ; then
24272    requirement_evas="${requirement} ${requirement_evas}"
24273 fi
24274
24275 if test "x${have_dep}" = "xyes" ; then
24276   have_engine="yes"
24277 else
24278   have_engine="no"
24279 fi
24280
24281
24282 fi
24283
24284 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
24285    as_fn_error $? "Wayland Egl dependencies not found (strict dependencies checking)" "$LINENO" 5
24286 fi
24287
24288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Wayland Egl rendering backend will be built" >&5
24289 $as_echo_n "checking whether Wayland Egl rendering backend will be built... " >&6; }
24290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
24291 $as_echo "${have_engine}" >&6; }
24292
24293 if test "x${have_engine}" = "xyes" ; then
24294    if test "x${want_engine}" = "xstatic" ; then
24295       have_evas_engine_wayland_egl="static"
24296       want_static_engine="yes"
24297    else
24298       have_evas_engine_wayland_egl="yes"
24299    fi
24300 fi
24301
24302 if test "x${have_engine}" = "xyes" ; then
24303
24304 $as_echo "#define BUILD_ENGINE_WAYLAND_EGL 1" >>confdefs.h
24305
24306 fi
24307
24308  if test "x${have_engine}" = "xyes"; then
24309   BUILD_ENGINE_WAYLAND_EGL_TRUE=
24310   BUILD_ENGINE_WAYLAND_EGL_FALSE='#'
24311 else
24312   BUILD_ENGINE_WAYLAND_EGL_TRUE='#'
24313   BUILD_ENGINE_WAYLAND_EGL_FALSE=
24314 fi
24315
24316
24317 if test "x${want_static_engine}" = "xyes" ; then
24318
24319 $as_echo "#define EVAS_STATIC_BUILD_WAYLAND_EGL 1" >>confdefs.h
24320
24321    have_static_module="yes"
24322 fi
24323
24324  if test "x${want_static_engine}" = "xyes"; then
24325   EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE=
24326   EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE='#'
24327 else
24328   EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE='#'
24329   EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE=
24330 fi
24331
24332
24333
24334
24335
24336
24337
24338 # SDL primitive
24339 sdl_primitive="no"
24340
24341 # Check whether --enable-sdl-primitive was given.
24342 if test "${enable_sdl_primitive+set}" = set; then :
24343   enableval=$enable_sdl_primitive; sdl_primitive=${enableval}
24344
24345 fi
24346
24347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use SDL primitive when possible" >&5
24348 $as_echo_n "checking whether to use SDL primitive when possible... " >&6; }
24349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sdl_primitive}" >&5
24350 $as_echo "${sdl_primitive}" >&6; }
24351
24352 if test "x${sdl_primitive}" = "xyes" ; then
24353
24354 $as_echo "#define ENGINE_SDL_PRIMITIVE 1" >>confdefs.h
24355
24356 fi
24357
24358 # if software generic need to be build as part of libevas.so
24359 have_static_software_generic="no"
24360 # Check whether --enable-static-software-generic was given.
24361 if test "${enable_static_software_generic+set}" = set; then :
24362   enableval=$enable_static_software_generic; have_static_software_generic=${enableval}
24363
24364 fi
24365
24366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to build software generic engine as part of libevas" >&5
24367 $as_echo_n "checking Whether to build software generic engine as part of libevas... " >&6; }
24368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_static_software_generic}" >&5
24369 $as_echo "${have_static_software_generic}" >&6; }
24370
24371 if test "x${have_static_module}" = "xyes" -a "x${have_static_software_generic}" = "xno"; then
24372    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Forcing --enable-static-software-generic as engines must be compiled statically" >&5
24373 $as_echo "$as_me: WARNING: Forcing --enable-static-software-generic as engines must be compiled statically" >&2;}
24374    have_static_software_generic="yes"
24375 fi
24376
24377  if test "x${have_static_software_generic}" = "xyes"; then
24378   EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE=
24379   EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE='#'
24380 else
24381   EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE='#'
24382   EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE=
24383 fi
24384
24385 if test "x${have_static_software_generic}" = "xyes"; then
24386
24387 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_GENERIC 1" >>confdefs.h
24388
24389 fi
24390
24391
24392 ######## Software Engine ########
24393 have_evas_engine_software_x11="no"
24394 have_evas_engine_software_xcb="no"
24395 have_evas_engine_software_xlib="no"
24396 build_software_xcb=
24397
24398 ## XCB Checks ##
24399 want_xcb="no"
24400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Software XCB Engine" >&5
24401 $as_echo_n "checking whether to build Software XCB Engine... " >&6; }
24402 # Check whether --enable-software-xcb was given.
24403 if test "${enable_software_xcb+set}" = set; then :
24404   enableval=$enable_software_xcb; want_xcb=$enableval
24405
24406 fi
24407
24408 if test "x$want_xcb" != "xno" ; then
24409
24410
24411
24412 want_engine="${want_evas_engine_software_xcb}"
24413 want_static_engine="no"
24414 have_engine="no"
24415 have_evas_engine_software_xcb="no"
24416
24417 # Check whether --enable-software-xcb was given.
24418 if test "${enable_software_xcb+set}" = set; then :
24419   enableval=$enable_software_xcb;
24420     if test "x${enableval}" = "xyes" ; then
24421        want_engine="yes"
24422     else
24423        if test "x${enableval}" = "xstatic" ; then
24424           want_engine="static"
24425        else
24426           want_engine="no"
24427        fi
24428     fi
24429
24430 fi
24431
24432
24433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software XCB rendering backend" >&5
24434 $as_echo_n "checking whether to enable Software XCB rendering backend... " >&6; }
24435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
24436 $as_echo "${want_engine}" >&6; }
24437
24438 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
24439
24440
24441 requirement=""
24442 have_dep="no"
24443 evas_engine_software_xcb_cflags=""
24444 evas_engine_software_xcb_libs=""
24445
24446
24447 pkg_failed=no
24448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB" >&5
24449 $as_echo_n "checking for XCB... " >&6; }
24450
24451 if test -n "$XCB_CFLAGS"; then
24452     pkg_cv_XCB_CFLAGS="$XCB_CFLAGS"
24453  elif test -n "$PKG_CONFIG"; then
24454     if test -n "$PKG_CONFIG" && \
24455     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
24456   ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
24457   ac_status=$?
24458   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24459   test $ac_status = 0; }; then
24460   pkg_cv_XCB_CFLAGS=`$PKG_CONFIG --cflags "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
24461                       test "x$?" != "x0" && pkg_failed=yes
24462 else
24463   pkg_failed=yes
24464 fi
24465  else
24466     pkg_failed=untried
24467 fi
24468 if test -n "$XCB_LIBS"; then
24469     pkg_cv_XCB_LIBS="$XCB_LIBS"
24470  elif test -n "$PKG_CONFIG"; then
24471     if test -n "$PKG_CONFIG" && \
24472     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
24473   ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
24474   ac_status=$?
24475   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24476   test $ac_status = 0; }; then
24477   pkg_cv_XCB_LIBS=`$PKG_CONFIG --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
24478                       test "x$?" != "x0" && pkg_failed=yes
24479 else
24480   pkg_failed=yes
24481 fi
24482  else
24483     pkg_failed=untried
24484 fi
24485
24486
24487
24488 if test $pkg_failed = yes; then
24489         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24490 $as_echo "no" >&6; }
24491
24492 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24493         _pkg_short_errors_supported=yes
24494 else
24495         _pkg_short_errors_supported=no
24496 fi
24497         if test $_pkg_short_errors_supported = yes; then
24498                 XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
24499         else
24500                 XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
24501         fi
24502         # Put the nasty error message in config.log where it belongs
24503         echo "$XCB_PKG_ERRORS" >&5
24504
24505
24506     have_dep="no"
24507
24508
24509 elif test $pkg_failed = untried; then
24510         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24511 $as_echo "no" >&6; }
24512
24513     have_dep="no"
24514
24515
24516 else
24517         XCB_CFLAGS=$pkg_cv_XCB_CFLAGS
24518         XCB_LIBS=$pkg_cv_XCB_LIBS
24519         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24520 $as_echo "yes" >&6; }
24521
24522     have_dep="yes"
24523     requirement="xcb xcb-shm xcb-image pixman-1"
24524     evas_engine_software_xcb_cflags="${XCB_CFLAGS}"
24525     evas_engine_software_xcb_libs="${XCB_LIBS}"
24526
24527 fi
24528
24529
24530
24531
24532 if test "x${want_engine}" = "xstatic" ; then
24533    requirement_evas="${requirement} ${requirement_evas}"
24534 fi
24535
24536 if test "x${have_dep}" = "xyes" ; then
24537   have_engine="yes"
24538 else
24539   have_engine="no"
24540 fi
24541
24542
24543 fi
24544
24545 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
24546    as_fn_error $? "Software XCB dependencies not found (strict dependencies checking)" "$LINENO" 5
24547 fi
24548
24549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software XCB rendering backend will be built" >&5
24550 $as_echo_n "checking whether Software XCB rendering backend will be built... " >&6; }
24551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
24552 $as_echo "${have_engine}" >&6; }
24553
24554 if test "x${have_engine}" = "xyes" ; then
24555    if test "x${want_engine}" = "xstatic" ; then
24556       have_evas_engine_software_xcb="static"
24557       want_static_engine="yes"
24558    else
24559       have_evas_engine_software_xcb="yes"
24560    fi
24561 fi
24562
24563 if test "x${have_engine}" = "xyes" ; then
24564
24565 $as_echo "#define BUILD_ENGINE_SOFTWARE_XCB 1" >>confdefs.h
24566
24567 fi
24568
24569  if test "x${have_engine}" = "xyes"; then
24570   BUILD_ENGINE_SOFTWARE_XCB_TRUE=
24571   BUILD_ENGINE_SOFTWARE_XCB_FALSE='#'
24572 else
24573   BUILD_ENGINE_SOFTWARE_XCB_TRUE='#'
24574   BUILD_ENGINE_SOFTWARE_XCB_FALSE=
24575 fi
24576
24577
24578 if test "x${want_static_engine}" = "xyes" ; then
24579
24580 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_XCB 1" >>confdefs.h
24581
24582    have_static_module="yes"
24583 fi
24584
24585  if test "x${want_static_engine}" = "xyes"; then
24586   EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE=
24587   EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE='#'
24588 else
24589   EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE='#'
24590   EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE=
24591 fi
24592
24593
24594
24595
24596
24597
24598   if test "x$have_evas_engine_software_xcb" != "xno" ; then
24599     build_software_xcb="yes"
24600     have_evas_engine_software_x11="yes"
24601
24602 cat >>confdefs.h <<_ACEOF
24603 #define BUILD_ENGINE_SOFTWARE_X11 1
24604 _ACEOF
24605
24606
24607 cat >>confdefs.h <<_ACEOF
24608 #define BUILD_ENGINE_SOFTWARE_XCB 1
24609 _ACEOF
24610
24611   fi
24612 else
24613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24614 $as_echo "no" >&6; }
24615   build_software_xcb="no"
24616 fi
24617
24618 ## If we are not building XCB, then we can build XLib ##
24619
24620 if test "x$build_software_xcb" = "xno" ; then
24621
24622
24623
24624 want_engine="${want_evas_engine_software_xlib}"
24625 want_static_engine="no"
24626 have_engine="no"
24627 have_evas_engine_software_xlib="no"
24628
24629 # Check whether --enable-software-xlib was given.
24630 if test "${enable_software_xlib+set}" = set; then :
24631   enableval=$enable_software_xlib;
24632     if test "x${enableval}" = "xyes" ; then
24633        want_engine="yes"
24634     else
24635        if test "x${enableval}" = "xstatic" ; then
24636           want_engine="static"
24637        else
24638           want_engine="no"
24639        fi
24640     fi
24641
24642 fi
24643
24644
24645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software Xlib rendering backend" >&5
24646 $as_echo_n "checking whether to enable Software Xlib rendering backend... " >&6; }
24647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
24648 $as_echo "${want_engine}" >&6; }
24649
24650 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
24651
24652
24653 have_dep="no"
24654 evas_engine_software_xlib_cflags=""
24655 evas_engine_software_xlib_libs=""
24656
24657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24658 $as_echo_n "checking for X... " >&6; }
24659
24660
24661 # Check whether --with-x was given.
24662 if test "${with_x+set}" = set; then :
24663   withval=$with_x;
24664 fi
24665
24666 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24667 if test "x$with_x" = xno; then
24668   # The user explicitly disabled X.
24669   have_x=disabled
24670 else
24671   case $x_includes,$x_libraries in #(
24672     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
24673     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
24674   $as_echo_n "(cached) " >&6
24675 else
24676   # One or both of the vars are not set, and there is no cached value.
24677 ac_x_includes=no ac_x_libraries=no
24678 rm -f -r conftest.dir
24679 if mkdir conftest.dir; then
24680   cd conftest.dir
24681   cat >Imakefile <<'_ACEOF'
24682 incroot:
24683         @echo incroot='${INCROOT}'
24684 usrlibdir:
24685         @echo usrlibdir='${USRLIBDIR}'
24686 libdir:
24687         @echo libdir='${LIBDIR}'
24688 _ACEOF
24689   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24690     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24691     for ac_var in incroot usrlibdir libdir; do
24692       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24693     done
24694     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24695     for ac_extension in a so sl dylib la dll; do
24696       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24697          test -f "$ac_im_libdir/libX11.$ac_extension"; then
24698         ac_im_usrlibdir=$ac_im_libdir; break
24699       fi
24700     done
24701     # Screen out bogus values from the imake configuration.  They are
24702     # bogus both because they are the default anyway, and because
24703     # using them would break gcc on systems where it needs fixed includes.
24704     case $ac_im_incroot in
24705         /usr/include) ac_x_includes= ;;
24706         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24707     esac
24708     case $ac_im_usrlibdir in
24709         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24710         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24711     esac
24712   fi
24713   cd ..
24714   rm -f -r conftest.dir
24715 fi
24716
24717 # Standard set of common directories for X headers.
24718 # Check X11 before X11Rn because it is often a symlink to the current release.
24719 ac_x_header_dirs='
24720 /usr/X11/include
24721 /usr/X11R7/include
24722 /usr/X11R6/include
24723 /usr/X11R5/include
24724 /usr/X11R4/include
24725
24726 /usr/include/X11
24727 /usr/include/X11R7
24728 /usr/include/X11R6
24729 /usr/include/X11R5
24730 /usr/include/X11R4
24731
24732 /usr/local/X11/include
24733 /usr/local/X11R7/include
24734 /usr/local/X11R6/include
24735 /usr/local/X11R5/include
24736 /usr/local/X11R4/include
24737
24738 /usr/local/include/X11
24739 /usr/local/include/X11R7
24740 /usr/local/include/X11R6
24741 /usr/local/include/X11R5
24742 /usr/local/include/X11R4
24743
24744 /usr/X386/include
24745 /usr/x386/include
24746 /usr/XFree86/include/X11
24747
24748 /usr/include
24749 /usr/local/include
24750 /usr/unsupported/include
24751 /usr/athena/include
24752 /usr/local/x11r5/include
24753 /usr/lpp/Xamples/include
24754
24755 /usr/openwin/include
24756 /usr/openwin/share/include'
24757
24758 if test "$ac_x_includes" = no; then
24759   # Guess where to find include files, by looking for Xlib.h.
24760   # First, try using that file with no special directory specified.
24761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24762 /* end confdefs.h.  */
24763 #include <X11/Xlib.h>
24764 _ACEOF
24765 if ac_fn_c_try_cpp "$LINENO"; then :
24766   # We can compile using X headers with no special include directory.
24767 ac_x_includes=
24768 else
24769   for ac_dir in $ac_x_header_dirs; do
24770   if test -r "$ac_dir/X11/Xlib.h"; then
24771     ac_x_includes=$ac_dir
24772     break
24773   fi
24774 done
24775 fi
24776 rm -f conftest.err conftest.i conftest.$ac_ext
24777 fi # $ac_x_includes = no
24778
24779 if test "$ac_x_libraries" = no; then
24780   # Check for the libraries.
24781   # See if we find them without any special options.
24782   # Don't add to $LIBS permanently.
24783   ac_save_LIBS=$LIBS
24784   LIBS="-lX11 $LIBS"
24785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24786 /* end confdefs.h.  */
24787 #include <X11/Xlib.h>
24788 int
24789 main ()
24790 {
24791 XrmInitialize ()
24792   ;
24793   return 0;
24794 }
24795 _ACEOF
24796 if ac_fn_c_try_link "$LINENO"; then :
24797   LIBS=$ac_save_LIBS
24798 # We can link X programs with no special library path.
24799 ac_x_libraries=
24800 else
24801   LIBS=$ac_save_LIBS
24802 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24803 do
24804   # Don't even attempt the hair of trying to link an X program!
24805   for ac_extension in a so sl dylib la dll; do
24806     if test -r "$ac_dir/libX11.$ac_extension"; then
24807       ac_x_libraries=$ac_dir
24808       break 2
24809     fi
24810   done
24811 done
24812 fi
24813 rm -f core conftest.err conftest.$ac_objext \
24814     conftest$ac_exeext conftest.$ac_ext
24815 fi # $ac_x_libraries = no
24816
24817 case $ac_x_includes,$ac_x_libraries in #(
24818   no,* | *,no | *\'*)
24819     # Didn't find X, or a directory has "'" in its name.
24820     ac_cv_have_x="have_x=no";; #(
24821   *)
24822     # Record where we found X for the cache.
24823     ac_cv_have_x="have_x=yes\
24824         ac_x_includes='$ac_x_includes'\
24825         ac_x_libraries='$ac_x_libraries'"
24826 esac
24827 fi
24828 ;; #(
24829     *) have_x=yes;;
24830   esac
24831   eval "$ac_cv_have_x"
24832 fi # $with_x != no
24833
24834 if test "$have_x" != yes; then
24835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24836 $as_echo "$have_x" >&6; }
24837   no_x=yes
24838 else
24839   # If each of the values was on the command line, it overrides each guess.
24840   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24841   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24842   # Update the cache value to reflect the command line values.
24843   ac_cv_have_x="have_x=yes\
24844         ac_x_includes='$x_includes'\
24845         ac_x_libraries='$x_libraries'"
24846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24847 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24848 fi
24849
24850 if test "$no_x" = yes; then
24851   # Not all programs may use this symbol, but it does not hurt to define it.
24852
24853 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24854
24855   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24856 else
24857   if test -n "$x_includes"; then
24858     X_CFLAGS="$X_CFLAGS -I$x_includes"
24859   fi
24860
24861   # It would also be nice to do this for all -L options, not just this one.
24862   if test -n "$x_libraries"; then
24863     X_LIBS="$X_LIBS -L$x_libraries"
24864     # For Solaris; some versions of Sun CC require a space after -R and
24865     # others require no space.  Words are not sufficient . . . .
24866     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24867 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24868     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24869     ac_xsave_c_werror_flag=$ac_c_werror_flag
24870     ac_c_werror_flag=yes
24871     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24872 /* end confdefs.h.  */
24873
24874 int
24875 main ()
24876 {
24877
24878   ;
24879   return 0;
24880 }
24881 _ACEOF
24882 if ac_fn_c_try_link "$LINENO"; then :
24883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24884 $as_echo "no" >&6; }
24885        X_LIBS="$X_LIBS -R$x_libraries"
24886 else
24887   LIBS="$ac_xsave_LIBS -R $x_libraries"
24888        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24889 /* end confdefs.h.  */
24890
24891 int
24892 main ()
24893 {
24894
24895   ;
24896   return 0;
24897 }
24898 _ACEOF
24899 if ac_fn_c_try_link "$LINENO"; then :
24900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24901 $as_echo "yes" >&6; }
24902           X_LIBS="$X_LIBS -R $x_libraries"
24903 else
24904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
24905 $as_echo "neither works" >&6; }
24906 fi
24907 rm -f core conftest.err conftest.$ac_objext \
24908     conftest$ac_exeext conftest.$ac_ext
24909 fi
24910 rm -f core conftest.err conftest.$ac_objext \
24911     conftest$ac_exeext conftest.$ac_ext
24912     ac_c_werror_flag=$ac_xsave_c_werror_flag
24913     LIBS=$ac_xsave_LIBS
24914   fi
24915
24916   # Check for system-dependent libraries X programs must link with.
24917   # Do this before checking for the system-independent R6 libraries
24918   # (-lICE), since we may need -lsocket or whatever for X linking.
24919
24920   if test "$ISC" = yes; then
24921     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24922   else
24923     # Martyn Johnson says this is needed for Ultrix, if the X
24924     # libraries were built with DECnet support.  And Karl Berry says
24925     # the Alpha needs dnet_stub (dnet does not exist).
24926     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24927     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24928 /* end confdefs.h.  */
24929
24930 /* Override any GCC internal prototype to avoid an error.
24931    Use char because int might match the return type of a GCC
24932    builtin and then its argument prototype would still apply.  */
24933 #ifdef __cplusplus
24934 extern "C"
24935 #endif
24936 char XOpenDisplay ();
24937 int
24938 main ()
24939 {
24940 return XOpenDisplay ();
24941   ;
24942   return 0;
24943 }
24944 _ACEOF
24945 if ac_fn_c_try_link "$LINENO"; then :
24946
24947 else
24948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
24949 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
24950 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
24951   $as_echo_n "(cached) " >&6
24952 else
24953   ac_check_lib_save_LIBS=$LIBS
24954 LIBS="-ldnet  $LIBS"
24955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24956 /* end confdefs.h.  */
24957
24958 /* Override any GCC internal prototype to avoid an error.
24959    Use char because int might match the return type of a GCC
24960    builtin and then its argument prototype would still apply.  */
24961 #ifdef __cplusplus
24962 extern "C"
24963 #endif
24964 char dnet_ntoa ();
24965 int
24966 main ()
24967 {
24968 return dnet_ntoa ();
24969   ;
24970   return 0;
24971 }
24972 _ACEOF
24973 if ac_fn_c_try_link "$LINENO"; then :
24974   ac_cv_lib_dnet_dnet_ntoa=yes
24975 else
24976   ac_cv_lib_dnet_dnet_ntoa=no
24977 fi
24978 rm -f core conftest.err conftest.$ac_objext \
24979     conftest$ac_exeext conftest.$ac_ext
24980 LIBS=$ac_check_lib_save_LIBS
24981 fi
24982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24983 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
24984 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
24985   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24986 fi
24987
24988     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24989       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
24990 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
24991 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
24992   $as_echo_n "(cached) " >&6
24993 else
24994   ac_check_lib_save_LIBS=$LIBS
24995 LIBS="-ldnet_stub  $LIBS"
24996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24997 /* end confdefs.h.  */
24998
24999 /* Override any GCC internal prototype to avoid an error.
25000    Use char because int might match the return type of a GCC
25001    builtin and then its argument prototype would still apply.  */
25002 #ifdef __cplusplus
25003 extern "C"
25004 #endif
25005 char dnet_ntoa ();
25006 int
25007 main ()
25008 {
25009 return dnet_ntoa ();
25010   ;
25011   return 0;
25012 }
25013 _ACEOF
25014 if ac_fn_c_try_link "$LINENO"; then :
25015   ac_cv_lib_dnet_stub_dnet_ntoa=yes
25016 else
25017   ac_cv_lib_dnet_stub_dnet_ntoa=no
25018 fi
25019 rm -f core conftest.err conftest.$ac_objext \
25020     conftest$ac_exeext conftest.$ac_ext
25021 LIBS=$ac_check_lib_save_LIBS
25022 fi
25023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25024 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25025 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
25026   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25027 fi
25028
25029     fi
25030 fi
25031 rm -f core conftest.err conftest.$ac_objext \
25032     conftest$ac_exeext conftest.$ac_ext
25033     LIBS="$ac_xsave_LIBS"
25034
25035     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25036     # to get the SysV transport functions.
25037     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25038     # needs -lnsl.
25039     # The nsl library prevents programs from opening the X display
25040     # on Irix 5.2, according to T.E. Dickey.
25041     # The functions gethostbyname, getservbyname, and inet_addr are
25042     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25043     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25044 if test "x$ac_cv_func_gethostbyname" = xyes; then :
25045
25046 fi
25047
25048     if test $ac_cv_func_gethostbyname = no; then
25049       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25050 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25051 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
25052   $as_echo_n "(cached) " >&6
25053 else
25054   ac_check_lib_save_LIBS=$LIBS
25055 LIBS="-lnsl  $LIBS"
25056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25057 /* end confdefs.h.  */
25058
25059 /* Override any GCC internal prototype to avoid an error.
25060    Use char because int might match the return type of a GCC
25061    builtin and then its argument prototype would still apply.  */
25062 #ifdef __cplusplus
25063 extern "C"
25064 #endif
25065 char gethostbyname ();
25066 int
25067 main ()
25068 {
25069 return gethostbyname ();
25070   ;
25071   return 0;
25072 }
25073 _ACEOF
25074 if ac_fn_c_try_link "$LINENO"; then :
25075   ac_cv_lib_nsl_gethostbyname=yes
25076 else
25077   ac_cv_lib_nsl_gethostbyname=no
25078 fi
25079 rm -f core conftest.err conftest.$ac_objext \
25080     conftest$ac_exeext conftest.$ac_ext
25081 LIBS=$ac_check_lib_save_LIBS
25082 fi
25083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25084 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25085 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
25086   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25087 fi
25088
25089       if test $ac_cv_lib_nsl_gethostbyname = no; then
25090         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25091 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25092 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
25093   $as_echo_n "(cached) " >&6
25094 else
25095   ac_check_lib_save_LIBS=$LIBS
25096 LIBS="-lbsd  $LIBS"
25097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25098 /* end confdefs.h.  */
25099
25100 /* Override any GCC internal prototype to avoid an error.
25101    Use char because int might match the return type of a GCC
25102    builtin and then its argument prototype would still apply.  */
25103 #ifdef __cplusplus
25104 extern "C"
25105 #endif
25106 char gethostbyname ();
25107 int
25108 main ()
25109 {
25110 return gethostbyname ();
25111   ;
25112   return 0;
25113 }
25114 _ACEOF
25115 if ac_fn_c_try_link "$LINENO"; then :
25116   ac_cv_lib_bsd_gethostbyname=yes
25117 else
25118   ac_cv_lib_bsd_gethostbyname=no
25119 fi
25120 rm -f core conftest.err conftest.$ac_objext \
25121     conftest$ac_exeext conftest.$ac_ext
25122 LIBS=$ac_check_lib_save_LIBS
25123 fi
25124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25125 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25126 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
25127   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25128 fi
25129
25130       fi
25131     fi
25132
25133     # lieder@skyler.mavd.honeywell.com says without -lsocket,
25134     # socket/setsockopt and other routines are undefined under SCO ODT
25135     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
25136     # on later versions), says Simon Leinen: it contains gethostby*
25137     # variants that don't use the name server (or something).  -lsocket
25138     # must be given before -lnsl if both are needed.  We assume that
25139     # if connect needs -lnsl, so does gethostbyname.
25140     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
25141 if test "x$ac_cv_func_connect" = xyes; then :
25142
25143 fi
25144
25145     if test $ac_cv_func_connect = no; then
25146       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25147 $as_echo_n "checking for connect in -lsocket... " >&6; }
25148 if ${ac_cv_lib_socket_connect+:} false; then :
25149   $as_echo_n "(cached) " >&6
25150 else
25151   ac_check_lib_save_LIBS=$LIBS
25152 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25154 /* end confdefs.h.  */
25155
25156 /* Override any GCC internal prototype to avoid an error.
25157    Use char because int might match the return type of a GCC
25158    builtin and then its argument prototype would still apply.  */
25159 #ifdef __cplusplus
25160 extern "C"
25161 #endif
25162 char connect ();
25163 int
25164 main ()
25165 {
25166 return connect ();
25167   ;
25168   return 0;
25169 }
25170 _ACEOF
25171 if ac_fn_c_try_link "$LINENO"; then :
25172   ac_cv_lib_socket_connect=yes
25173 else
25174   ac_cv_lib_socket_connect=no
25175 fi
25176 rm -f core conftest.err conftest.$ac_objext \
25177     conftest$ac_exeext conftest.$ac_ext
25178 LIBS=$ac_check_lib_save_LIBS
25179 fi
25180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25181 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25182 if test "x$ac_cv_lib_socket_connect" = xyes; then :
25183   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25184 fi
25185
25186     fi
25187
25188     # Guillermo Gomez says -lposix is necessary on A/UX.
25189     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
25190 if test "x$ac_cv_func_remove" = xyes; then :
25191
25192 fi
25193
25194     if test $ac_cv_func_remove = no; then
25195       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25196 $as_echo_n "checking for remove in -lposix... " >&6; }
25197 if ${ac_cv_lib_posix_remove+:} false; then :
25198   $as_echo_n "(cached) " >&6
25199 else
25200   ac_check_lib_save_LIBS=$LIBS
25201 LIBS="-lposix  $LIBS"
25202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25203 /* end confdefs.h.  */
25204
25205 /* Override any GCC internal prototype to avoid an error.
25206    Use char because int might match the return type of a GCC
25207    builtin and then its argument prototype would still apply.  */
25208 #ifdef __cplusplus
25209 extern "C"
25210 #endif
25211 char remove ();
25212 int
25213 main ()
25214 {
25215 return remove ();
25216   ;
25217   return 0;
25218 }
25219 _ACEOF
25220 if ac_fn_c_try_link "$LINENO"; then :
25221   ac_cv_lib_posix_remove=yes
25222 else
25223   ac_cv_lib_posix_remove=no
25224 fi
25225 rm -f core conftest.err conftest.$ac_objext \
25226     conftest$ac_exeext conftest.$ac_ext
25227 LIBS=$ac_check_lib_save_LIBS
25228 fi
25229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25230 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25231 if test "x$ac_cv_lib_posix_remove" = xyes; then :
25232   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25233 fi
25234
25235     fi
25236
25237     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25238     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25239 if test "x$ac_cv_func_shmat" = xyes; then :
25240
25241 fi
25242
25243     if test $ac_cv_func_shmat = no; then
25244       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25245 $as_echo_n "checking for shmat in -lipc... " >&6; }
25246 if ${ac_cv_lib_ipc_shmat+:} false; then :
25247   $as_echo_n "(cached) " >&6
25248 else
25249   ac_check_lib_save_LIBS=$LIBS
25250 LIBS="-lipc  $LIBS"
25251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25252 /* end confdefs.h.  */
25253
25254 /* Override any GCC internal prototype to avoid an error.
25255    Use char because int might match the return type of a GCC
25256    builtin and then its argument prototype would still apply.  */
25257 #ifdef __cplusplus
25258 extern "C"
25259 #endif
25260 char shmat ();
25261 int
25262 main ()
25263 {
25264 return shmat ();
25265   ;
25266   return 0;
25267 }
25268 _ACEOF
25269 if ac_fn_c_try_link "$LINENO"; then :
25270   ac_cv_lib_ipc_shmat=yes
25271 else
25272   ac_cv_lib_ipc_shmat=no
25273 fi
25274 rm -f core conftest.err conftest.$ac_objext \
25275     conftest$ac_exeext conftest.$ac_ext
25276 LIBS=$ac_check_lib_save_LIBS
25277 fi
25278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25279 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25280 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
25281   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25282 fi
25283
25284     fi
25285   fi
25286
25287   # Check for libraries that X11R6 Xt/Xaw programs need.
25288   ac_save_LDFLAGS=$LDFLAGS
25289   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25290   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25291   # check for ICE first), but we must link in the order -lSM -lICE or
25292   # we get undefined symbols.  So assume we have SM if we have ICE.
25293   # These have to be linked with before -lX11, unlike the other
25294   # libraries we check for below, so use a different variable.
25295   # John Interrante, Karl Berry
25296   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25297 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25298 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
25299   $as_echo_n "(cached) " >&6
25300 else
25301   ac_check_lib_save_LIBS=$LIBS
25302 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25304 /* end confdefs.h.  */
25305
25306 /* Override any GCC internal prototype to avoid an error.
25307    Use char because int might match the return type of a GCC
25308    builtin and then its argument prototype would still apply.  */
25309 #ifdef __cplusplus
25310 extern "C"
25311 #endif
25312 char IceConnectionNumber ();
25313 int
25314 main ()
25315 {
25316 return IceConnectionNumber ();
25317   ;
25318   return 0;
25319 }
25320 _ACEOF
25321 if ac_fn_c_try_link "$LINENO"; then :
25322   ac_cv_lib_ICE_IceConnectionNumber=yes
25323 else
25324   ac_cv_lib_ICE_IceConnectionNumber=no
25325 fi
25326 rm -f core conftest.err conftest.$ac_objext \
25327     conftest$ac_exeext conftest.$ac_ext
25328 LIBS=$ac_check_lib_save_LIBS
25329 fi
25330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25331 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25332 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
25333   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25334 fi
25335
25336   LDFLAGS=$ac_save_LDFLAGS
25337
25338 fi
25339
25340
25341 ac_fn_c_check_header_mongrel "$LINENO" "X11/X.h" "ac_cv_header_X11_X_h" "$ac_includes_default"
25342 if test "x$ac_cv_header_X11_X_h" = xyes; then :
25343   have_dep="yes"
25344 fi
25345
25346
25347
25348 if test "x${have_dep}" = "xyes" ; then
25349    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateImage in -lX11" >&5
25350 $as_echo_n "checking for XCreateImage in -lX11... " >&6; }
25351 if ${ac_cv_lib_X11_XCreateImage+:} false; then :
25352   $as_echo_n "(cached) " >&6
25353 else
25354   ac_check_lib_save_LIBS=$LIBS
25355 LIBS="-lX11  $LIBS"
25356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25357 /* end confdefs.h.  */
25358
25359 /* Override any GCC internal prototype to avoid an error.
25360    Use char because int might match the return type of a GCC
25361    builtin and then its argument prototype would still apply.  */
25362 #ifdef __cplusplus
25363 extern "C"
25364 #endif
25365 char XCreateImage ();
25366 int
25367 main ()
25368 {
25369 return XCreateImage ();
25370   ;
25371   return 0;
25372 }
25373 _ACEOF
25374 if ac_fn_c_try_link "$LINENO"; then :
25375   ac_cv_lib_X11_XCreateImage=yes
25376 else
25377   ac_cv_lib_X11_XCreateImage=no
25378 fi
25379 rm -f core conftest.err conftest.$ac_objext \
25380     conftest$ac_exeext conftest.$ac_ext
25381 LIBS=$ac_check_lib_save_LIBS
25382 fi
25383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateImage" >&5
25384 $as_echo "$ac_cv_lib_X11_XCreateImage" >&6; }
25385 if test "x$ac_cv_lib_X11_XCreateImage" = xyes; then :
25386   have_dep="yes"
25387 else
25388   have_dep="no"
25389 fi
25390
25391 fi
25392
25393 if test "x${have_dep}" = "xyes" ; then
25394    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmCreateImage in -lXext" >&5
25395 $as_echo_n "checking for XShmCreateImage in -lXext... " >&6; }
25396 if ${ac_cv_lib_Xext_XShmCreateImage+:} false; then :
25397   $as_echo_n "(cached) " >&6
25398 else
25399   ac_check_lib_save_LIBS=$LIBS
25400 LIBS="-lXext  $LIBS"
25401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25402 /* end confdefs.h.  */
25403
25404 /* Override any GCC internal prototype to avoid an error.
25405    Use char because int might match the return type of a GCC
25406    builtin and then its argument prototype would still apply.  */
25407 #ifdef __cplusplus
25408 extern "C"
25409 #endif
25410 char XShmCreateImage ();
25411 int
25412 main ()
25413 {
25414 return XShmCreateImage ();
25415   ;
25416   return 0;
25417 }
25418 _ACEOF
25419 if ac_fn_c_try_link "$LINENO"; then :
25420   ac_cv_lib_Xext_XShmCreateImage=yes
25421 else
25422   ac_cv_lib_Xext_XShmCreateImage=no
25423 fi
25424 rm -f core conftest.err conftest.$ac_objext \
25425     conftest$ac_exeext conftest.$ac_ext
25426 LIBS=$ac_check_lib_save_LIBS
25427 fi
25428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmCreateImage" >&5
25429 $as_echo "$ac_cv_lib_Xext_XShmCreateImage" >&6; }
25430 if test "x$ac_cv_lib_Xext_XShmCreateImage" = xyes; then :
25431   have_dep="yes"
25432 else
25433   have_dep="no"
25434 fi
25435
25436 fi
25437
25438 if test "x${have_dep}" = "xyes" ; then
25439    if test "xno" = "xyes" ; then
25440       x_libs="${x_libs} -lX11 -lXext"
25441    else
25442       x_dir=${x_dir:-/usr/X11R6}
25443       x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
25444       x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
25445    fi
25446    evas_engine_software_xlib_cflags="${x_cflags}"
25447    evas_engine_software_xlib_libs="${x_libs}"
25448 fi
25449
25450
25451
25452
25453 if test "x${have_dep}" = "xyes" ; then
25454   have_engine="yes"
25455 else
25456   have_engine="no"
25457 fi
25458
25459
25460 fi
25461
25462 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
25463    as_fn_error $? "Software Xlib dependencies not found (strict dependencies checking)" "$LINENO" 5
25464 fi
25465
25466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software Xlib rendering backend will be built" >&5
25467 $as_echo_n "checking whether Software Xlib rendering backend will be built... " >&6; }
25468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
25469 $as_echo "${have_engine}" >&6; }
25470
25471 if test "x${have_engine}" = "xyes" ; then
25472    if test "x${want_engine}" = "xstatic" ; then
25473       have_evas_engine_software_xlib="static"
25474       want_static_engine="yes"
25475    else
25476       have_evas_engine_software_xlib="yes"
25477    fi
25478 fi
25479
25480 if test "x${have_engine}" = "xyes" ; then
25481
25482 $as_echo "#define BUILD_ENGINE_SOFTWARE_XLIB 1" >>confdefs.h
25483
25484 fi
25485
25486  if test "x${have_engine}" = "xyes"; then
25487   BUILD_ENGINE_SOFTWARE_XLIB_TRUE=
25488   BUILD_ENGINE_SOFTWARE_XLIB_FALSE='#'
25489 else
25490   BUILD_ENGINE_SOFTWARE_XLIB_TRUE='#'
25491   BUILD_ENGINE_SOFTWARE_XLIB_FALSE=
25492 fi
25493
25494
25495 if test "x${want_static_engine}" = "xyes" ; then
25496
25497 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_XLIB 1" >>confdefs.h
25498
25499    have_static_module="yes"
25500 fi
25501
25502  if test "x${want_static_engine}" = "xyes"; then
25503   EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE=
25504   EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE='#'
25505 else
25506   EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE='#'
25507   EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE=
25508 fi
25509
25510
25511
25512
25513
25514
25515   # if software_x11 is available, define everything needed for X11
25516   if test "x$have_evas_engine_software_xlib" != "xno" ; then
25517     have_evas_engine_software_x11="yes"
25518
25519 cat >>confdefs.h <<_ACEOF
25520 #define BUILD_ENGINE_SOFTWARE_X11 1
25521 _ACEOF
25522
25523
25524 cat >>confdefs.h <<_ACEOF
25525 #define BUILD_ENGINE_SOFTWARE_XLIB 1
25526 _ACEOF
25527
25528   fi
25529 else
25530   have_evas_engine_software_xlib="no"
25531 fi
25532
25533 if test "x$have_evas_engine_software_xlib" = "xstatic" -o "x$have_evas_engine_software_xcb" = "xstatic"; then
25534
25535 cat >>confdefs.h <<_ACEOF
25536 #define EVAS_STATIC_BUILD_SOFTWARE_X11 1
25537 _ACEOF
25538
25539 fi
25540
25541
25542
25543
25544  if test "x${have_evas_engine_software_xlib}" != "xno"; then
25545   BUILD_ENGINE_SOFTWARE_XLIB_TRUE=
25546   BUILD_ENGINE_SOFTWARE_XLIB_FALSE='#'
25547 else
25548   BUILD_ENGINE_SOFTWARE_XLIB_TRUE='#'
25549   BUILD_ENGINE_SOFTWARE_XLIB_FALSE=
25550 fi
25551
25552  if test "x${have_evas_engine_software_xcb}" != "xno"; then
25553   BUILD_ENGINE_SOFTWARE_XCB_TRUE=
25554   BUILD_ENGINE_SOFTWARE_XCB_FALSE='#'
25555 else
25556   BUILD_ENGINE_SOFTWARE_XCB_TRUE='#'
25557   BUILD_ENGINE_SOFTWARE_XCB_FALSE=
25558 fi
25559
25560  if test "x${have_evas_engine_software_x11}" != "xno"; then
25561   BUILD_ENGINE_SOFTWARE_X11_TRUE=
25562   BUILD_ENGINE_SOFTWARE_X11_FALSE='#'
25563 else
25564   BUILD_ENGINE_SOFTWARE_X11_TRUE='#'
25565   BUILD_ENGINE_SOFTWARE_X11_FALSE=
25566 fi
25567
25568
25569  if test "x${have_evas_engine_software_xcb}" = "xstatic" -o "x${have_evas_engine_software_xlib}" = "xstatic"; then
25570   EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE=
25571   EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE='#'
25572 else
25573   EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE='#'
25574   EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE=
25575 fi
25576
25577  if test "x${have_evas_engine_software_xlib}" = "xstatic"; then
25578   EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE=
25579   EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE='#'
25580 else
25581   EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE='#'
25582   EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE=
25583 fi
25584
25585  if test "x${have_evas_engine_software_xcb}" = "xstatic"; then
25586   EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE=
25587   EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE='#'
25588 else
25589   EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE='#'
25590   EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE=
25591 fi
25592
25593
25594
25595
25596
25597 ######## OpenGL Engine ########
25598 have_evas_engine_gl_x11="no"
25599 have_evas_engine_gl_xcb="no"
25600 build_gl_xcb="no"
25601
25602 ## XCB Checks ##
25603 want_gl_xcb="no"
25604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build OpenGL XCB Engine" >&5
25605 $as_echo_n "checking whether to build OpenGL XCB Engine... " >&6; }
25606 # Check whether --enable-gl-xcb was given.
25607 if test "${enable_gl_xcb+set}" = set; then :
25608   enableval=$enable_gl_xcb; want_gl_xcb=$enableval
25609
25610 fi
25611
25612 if test "x$want_gl_xcb" = "xyes" ; then
25613
25614
25615
25616 want_engine="${want_evas_engine_gl_xcb}"
25617 want_static_engine="no"
25618 have_engine="no"
25619 have_evas_engine_gl_xcb="no"
25620
25621 # Check whether --enable-gl-xcb was given.
25622 if test "${enable_gl_xcb+set}" = set; then :
25623   enableval=$enable_gl_xcb;
25624     if test "x${enableval}" = "xyes" ; then
25625        want_engine="yes"
25626     else
25627        if test "x${enableval}" = "xstatic" ; then
25628           want_engine="static"
25629        else
25630           want_engine="no"
25631        fi
25632     fi
25633
25634 fi
25635
25636
25637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL XCB rendering backend" >&5
25638 $as_echo_n "checking whether to enable OpenGL XCB rendering backend... " >&6; }
25639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
25640 $as_echo "${want_engine}" >&6; }
25641
25642 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
25643
25644
25645 evas_engine_gl_xcb_cflags=""
25646 evas_engine_gl_xcb_libs=""
25647
25648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
25649 $as_echo_n "checking for X... " >&6; }
25650
25651
25652 # Check whether --with-x was given.
25653 if test "${with_x+set}" = set; then :
25654   withval=$with_x;
25655 fi
25656
25657 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
25658 if test "x$with_x" = xno; then
25659   # The user explicitly disabled X.
25660   have_x=disabled
25661 else
25662   case $x_includes,$x_libraries in #(
25663     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
25664     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
25665   $as_echo_n "(cached) " >&6
25666 else
25667   # One or both of the vars are not set, and there is no cached value.
25668 ac_x_includes=no ac_x_libraries=no
25669 rm -f -r conftest.dir
25670 if mkdir conftest.dir; then
25671   cd conftest.dir
25672   cat >Imakefile <<'_ACEOF'
25673 incroot:
25674         @echo incroot='${INCROOT}'
25675 usrlibdir:
25676         @echo usrlibdir='${USRLIBDIR}'
25677 libdir:
25678         @echo libdir='${LIBDIR}'
25679 _ACEOF
25680   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
25681     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
25682     for ac_var in incroot usrlibdir libdir; do
25683       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
25684     done
25685     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
25686     for ac_extension in a so sl dylib la dll; do
25687       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
25688          test -f "$ac_im_libdir/libX11.$ac_extension"; then
25689         ac_im_usrlibdir=$ac_im_libdir; break
25690       fi
25691     done
25692     # Screen out bogus values from the imake configuration.  They are
25693     # bogus both because they are the default anyway, and because
25694     # using them would break gcc on systems where it needs fixed includes.
25695     case $ac_im_incroot in
25696         /usr/include) ac_x_includes= ;;
25697         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
25698     esac
25699     case $ac_im_usrlibdir in
25700         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
25701         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
25702     esac
25703   fi
25704   cd ..
25705   rm -f -r conftest.dir
25706 fi
25707
25708 # Standard set of common directories for X headers.
25709 # Check X11 before X11Rn because it is often a symlink to the current release.
25710 ac_x_header_dirs='
25711 /usr/X11/include
25712 /usr/X11R7/include
25713 /usr/X11R6/include
25714 /usr/X11R5/include
25715 /usr/X11R4/include
25716
25717 /usr/include/X11
25718 /usr/include/X11R7
25719 /usr/include/X11R6
25720 /usr/include/X11R5
25721 /usr/include/X11R4
25722
25723 /usr/local/X11/include
25724 /usr/local/X11R7/include
25725 /usr/local/X11R6/include
25726 /usr/local/X11R5/include
25727 /usr/local/X11R4/include
25728
25729 /usr/local/include/X11
25730 /usr/local/include/X11R7
25731 /usr/local/include/X11R6
25732 /usr/local/include/X11R5
25733 /usr/local/include/X11R4
25734
25735 /usr/X386/include
25736 /usr/x386/include
25737 /usr/XFree86/include/X11
25738
25739 /usr/include
25740 /usr/local/include
25741 /usr/unsupported/include
25742 /usr/athena/include
25743 /usr/local/x11r5/include
25744 /usr/lpp/Xamples/include
25745
25746 /usr/openwin/include
25747 /usr/openwin/share/include'
25748
25749 if test "$ac_x_includes" = no; then
25750   # Guess where to find include files, by looking for Xlib.h.
25751   # First, try using that file with no special directory specified.
25752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25753 /* end confdefs.h.  */
25754 #include <X11/Xlib.h>
25755 _ACEOF
25756 if ac_fn_c_try_cpp "$LINENO"; then :
25757   # We can compile using X headers with no special include directory.
25758 ac_x_includes=
25759 else
25760   for ac_dir in $ac_x_header_dirs; do
25761   if test -r "$ac_dir/X11/Xlib.h"; then
25762     ac_x_includes=$ac_dir
25763     break
25764   fi
25765 done
25766 fi
25767 rm -f conftest.err conftest.i conftest.$ac_ext
25768 fi # $ac_x_includes = no
25769
25770 if test "$ac_x_libraries" = no; then
25771   # Check for the libraries.
25772   # See if we find them without any special options.
25773   # Don't add to $LIBS permanently.
25774   ac_save_LIBS=$LIBS
25775   LIBS="-lX11 $LIBS"
25776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25777 /* end confdefs.h.  */
25778 #include <X11/Xlib.h>
25779 int
25780 main ()
25781 {
25782 XrmInitialize ()
25783   ;
25784   return 0;
25785 }
25786 _ACEOF
25787 if ac_fn_c_try_link "$LINENO"; then :
25788   LIBS=$ac_save_LIBS
25789 # We can link X programs with no special library path.
25790 ac_x_libraries=
25791 else
25792   LIBS=$ac_save_LIBS
25793 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25794 do
25795   # Don't even attempt the hair of trying to link an X program!
25796   for ac_extension in a so sl dylib la dll; do
25797     if test -r "$ac_dir/libX11.$ac_extension"; then
25798       ac_x_libraries=$ac_dir
25799       break 2
25800     fi
25801   done
25802 done
25803 fi
25804 rm -f core conftest.err conftest.$ac_objext \
25805     conftest$ac_exeext conftest.$ac_ext
25806 fi # $ac_x_libraries = no
25807
25808 case $ac_x_includes,$ac_x_libraries in #(
25809   no,* | *,no | *\'*)
25810     # Didn't find X, or a directory has "'" in its name.
25811     ac_cv_have_x="have_x=no";; #(
25812   *)
25813     # Record where we found X for the cache.
25814     ac_cv_have_x="have_x=yes\
25815         ac_x_includes='$ac_x_includes'\
25816         ac_x_libraries='$ac_x_libraries'"
25817 esac
25818 fi
25819 ;; #(
25820     *) have_x=yes;;
25821   esac
25822   eval "$ac_cv_have_x"
25823 fi # $with_x != no
25824
25825 if test "$have_x" != yes; then
25826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
25827 $as_echo "$have_x" >&6; }
25828   no_x=yes
25829 else
25830   # If each of the values was on the command line, it overrides each guess.
25831   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
25832   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
25833   # Update the cache value to reflect the command line values.
25834   ac_cv_have_x="have_x=yes\
25835         ac_x_includes='$x_includes'\
25836         ac_x_libraries='$x_libraries'"
25837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
25838 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
25839 fi
25840
25841 if test "$no_x" = yes; then
25842   # Not all programs may use this symbol, but it does not hurt to define it.
25843
25844 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
25845
25846   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
25847 else
25848   if test -n "$x_includes"; then
25849     X_CFLAGS="$X_CFLAGS -I$x_includes"
25850   fi
25851
25852   # It would also be nice to do this for all -L options, not just this one.
25853   if test -n "$x_libraries"; then
25854     X_LIBS="$X_LIBS -L$x_libraries"
25855     # For Solaris; some versions of Sun CC require a space after -R and
25856     # others require no space.  Words are not sufficient . . . .
25857     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
25858 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
25859     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
25860     ac_xsave_c_werror_flag=$ac_c_werror_flag
25861     ac_c_werror_flag=yes
25862     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25863 /* end confdefs.h.  */
25864
25865 int
25866 main ()
25867 {
25868
25869   ;
25870   return 0;
25871 }
25872 _ACEOF
25873 if ac_fn_c_try_link "$LINENO"; then :
25874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25875 $as_echo "no" >&6; }
25876        X_LIBS="$X_LIBS -R$x_libraries"
25877 else
25878   LIBS="$ac_xsave_LIBS -R $x_libraries"
25879        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25880 /* end confdefs.h.  */
25881
25882 int
25883 main ()
25884 {
25885
25886   ;
25887   return 0;
25888 }
25889 _ACEOF
25890 if ac_fn_c_try_link "$LINENO"; then :
25891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25892 $as_echo "yes" >&6; }
25893           X_LIBS="$X_LIBS -R $x_libraries"
25894 else
25895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
25896 $as_echo "neither works" >&6; }
25897 fi
25898 rm -f core conftest.err conftest.$ac_objext \
25899     conftest$ac_exeext conftest.$ac_ext
25900 fi
25901 rm -f core conftest.err conftest.$ac_objext \
25902     conftest$ac_exeext conftest.$ac_ext
25903     ac_c_werror_flag=$ac_xsave_c_werror_flag
25904     LIBS=$ac_xsave_LIBS
25905   fi
25906
25907   # Check for system-dependent libraries X programs must link with.
25908   # Do this before checking for the system-independent R6 libraries
25909   # (-lICE), since we may need -lsocket or whatever for X linking.
25910
25911   if test "$ISC" = yes; then
25912     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25913   else
25914     # Martyn Johnson says this is needed for Ultrix, if the X
25915     # libraries were built with DECnet support.  And Karl Berry says
25916     # the Alpha needs dnet_stub (dnet does not exist).
25917     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25918     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25919 /* end confdefs.h.  */
25920
25921 /* Override any GCC internal prototype to avoid an error.
25922    Use char because int might match the return type of a GCC
25923    builtin and then its argument prototype would still apply.  */
25924 #ifdef __cplusplus
25925 extern "C"
25926 #endif
25927 char XOpenDisplay ();
25928 int
25929 main ()
25930 {
25931 return XOpenDisplay ();
25932   ;
25933   return 0;
25934 }
25935 _ACEOF
25936 if ac_fn_c_try_link "$LINENO"; then :
25937
25938 else
25939   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25940 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25941 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
25942   $as_echo_n "(cached) " >&6
25943 else
25944   ac_check_lib_save_LIBS=$LIBS
25945 LIBS="-ldnet  $LIBS"
25946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25947 /* end confdefs.h.  */
25948
25949 /* Override any GCC internal prototype to avoid an error.
25950    Use char because int might match the return type of a GCC
25951    builtin and then its argument prototype would still apply.  */
25952 #ifdef __cplusplus
25953 extern "C"
25954 #endif
25955 char dnet_ntoa ();
25956 int
25957 main ()
25958 {
25959 return dnet_ntoa ();
25960   ;
25961   return 0;
25962 }
25963 _ACEOF
25964 if ac_fn_c_try_link "$LINENO"; then :
25965   ac_cv_lib_dnet_dnet_ntoa=yes
25966 else
25967   ac_cv_lib_dnet_dnet_ntoa=no
25968 fi
25969 rm -f core conftest.err conftest.$ac_objext \
25970     conftest$ac_exeext conftest.$ac_ext
25971 LIBS=$ac_check_lib_save_LIBS
25972 fi
25973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25974 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25975 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
25976   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25977 fi
25978
25979     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25980       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25981 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25982 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
25983   $as_echo_n "(cached) " >&6
25984 else
25985   ac_check_lib_save_LIBS=$LIBS
25986 LIBS="-ldnet_stub  $LIBS"
25987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25988 /* end confdefs.h.  */
25989
25990 /* Override any GCC internal prototype to avoid an error.
25991    Use char because int might match the return type of a GCC
25992    builtin and then its argument prototype would still apply.  */
25993 #ifdef __cplusplus
25994 extern "C"
25995 #endif
25996 char dnet_ntoa ();
25997 int
25998 main ()
25999 {
26000 return dnet_ntoa ();
26001   ;
26002   return 0;
26003 }
26004 _ACEOF
26005 if ac_fn_c_try_link "$LINENO"; then :
26006   ac_cv_lib_dnet_stub_dnet_ntoa=yes
26007 else
26008   ac_cv_lib_dnet_stub_dnet_ntoa=no
26009 fi
26010 rm -f core conftest.err conftest.$ac_objext \
26011     conftest$ac_exeext conftest.$ac_ext
26012 LIBS=$ac_check_lib_save_LIBS
26013 fi
26014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26015 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
26016 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
26017   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
26018 fi
26019
26020     fi
26021 fi
26022 rm -f core conftest.err conftest.$ac_objext \
26023     conftest$ac_exeext conftest.$ac_ext
26024     LIBS="$ac_xsave_LIBS"
26025
26026     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26027     # to get the SysV transport functions.
26028     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26029     # needs -lnsl.
26030     # The nsl library prevents programs from opening the X display
26031     # on Irix 5.2, according to T.E. Dickey.
26032     # The functions gethostbyname, getservbyname, and inet_addr are
26033     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26034     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
26035 if test "x$ac_cv_func_gethostbyname" = xyes; then :
26036
26037 fi
26038
26039     if test $ac_cv_func_gethostbyname = no; then
26040       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
26041 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
26042 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
26043   $as_echo_n "(cached) " >&6
26044 else
26045   ac_check_lib_save_LIBS=$LIBS
26046 LIBS="-lnsl  $LIBS"
26047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26048 /* end confdefs.h.  */
26049
26050 /* Override any GCC internal prototype to avoid an error.
26051    Use char because int might match the return type of a GCC
26052    builtin and then its argument prototype would still apply.  */
26053 #ifdef __cplusplus
26054 extern "C"
26055 #endif
26056 char gethostbyname ();
26057 int
26058 main ()
26059 {
26060 return gethostbyname ();
26061   ;
26062   return 0;
26063 }
26064 _ACEOF
26065 if ac_fn_c_try_link "$LINENO"; then :
26066   ac_cv_lib_nsl_gethostbyname=yes
26067 else
26068   ac_cv_lib_nsl_gethostbyname=no
26069 fi
26070 rm -f core conftest.err conftest.$ac_objext \
26071     conftest$ac_exeext conftest.$ac_ext
26072 LIBS=$ac_check_lib_save_LIBS
26073 fi
26074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
26075 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
26076 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
26077   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
26078 fi
26079
26080       if test $ac_cv_lib_nsl_gethostbyname = no; then
26081         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
26082 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
26083 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
26084   $as_echo_n "(cached) " >&6
26085 else
26086   ac_check_lib_save_LIBS=$LIBS
26087 LIBS="-lbsd  $LIBS"
26088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26089 /* end confdefs.h.  */
26090
26091 /* Override any GCC internal prototype to avoid an error.
26092    Use char because int might match the return type of a GCC
26093    builtin and then its argument prototype would still apply.  */
26094 #ifdef __cplusplus
26095 extern "C"
26096 #endif
26097 char gethostbyname ();
26098 int
26099 main ()
26100 {
26101 return gethostbyname ();
26102   ;
26103   return 0;
26104 }
26105 _ACEOF
26106 if ac_fn_c_try_link "$LINENO"; then :
26107   ac_cv_lib_bsd_gethostbyname=yes
26108 else
26109   ac_cv_lib_bsd_gethostbyname=no
26110 fi
26111 rm -f core conftest.err conftest.$ac_objext \
26112     conftest$ac_exeext conftest.$ac_ext
26113 LIBS=$ac_check_lib_save_LIBS
26114 fi
26115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
26116 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
26117 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
26118   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
26119 fi
26120
26121       fi
26122     fi
26123
26124     # lieder@skyler.mavd.honeywell.com says without -lsocket,
26125     # socket/setsockopt and other routines are undefined under SCO ODT
26126     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
26127     # on later versions), says Simon Leinen: it contains gethostby*
26128     # variants that don't use the name server (or something).  -lsocket
26129     # must be given before -lnsl if both are needed.  We assume that
26130     # if connect needs -lnsl, so does gethostbyname.
26131     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
26132 if test "x$ac_cv_func_connect" = xyes; then :
26133
26134 fi
26135
26136     if test $ac_cv_func_connect = no; then
26137       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
26138 $as_echo_n "checking for connect in -lsocket... " >&6; }
26139 if ${ac_cv_lib_socket_connect+:} false; then :
26140   $as_echo_n "(cached) " >&6
26141 else
26142   ac_check_lib_save_LIBS=$LIBS
26143 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
26144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26145 /* end confdefs.h.  */
26146
26147 /* Override any GCC internal prototype to avoid an error.
26148    Use char because int might match the return type of a GCC
26149    builtin and then its argument prototype would still apply.  */
26150 #ifdef __cplusplus
26151 extern "C"
26152 #endif
26153 char connect ();
26154 int
26155 main ()
26156 {
26157 return connect ();
26158   ;
26159   return 0;
26160 }
26161 _ACEOF
26162 if ac_fn_c_try_link "$LINENO"; then :
26163   ac_cv_lib_socket_connect=yes
26164 else
26165   ac_cv_lib_socket_connect=no
26166 fi
26167 rm -f core conftest.err conftest.$ac_objext \
26168     conftest$ac_exeext conftest.$ac_ext
26169 LIBS=$ac_check_lib_save_LIBS
26170 fi
26171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
26172 $as_echo "$ac_cv_lib_socket_connect" >&6; }
26173 if test "x$ac_cv_lib_socket_connect" = xyes; then :
26174   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
26175 fi
26176
26177     fi
26178
26179     # Guillermo Gomez says -lposix is necessary on A/UX.
26180     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
26181 if test "x$ac_cv_func_remove" = xyes; then :
26182
26183 fi
26184
26185     if test $ac_cv_func_remove = no; then
26186       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
26187 $as_echo_n "checking for remove in -lposix... " >&6; }
26188 if ${ac_cv_lib_posix_remove+:} false; then :
26189   $as_echo_n "(cached) " >&6
26190 else
26191   ac_check_lib_save_LIBS=$LIBS
26192 LIBS="-lposix  $LIBS"
26193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26194 /* end confdefs.h.  */
26195
26196 /* Override any GCC internal prototype to avoid an error.
26197    Use char because int might match the return type of a GCC
26198    builtin and then its argument prototype would still apply.  */
26199 #ifdef __cplusplus
26200 extern "C"
26201 #endif
26202 char remove ();
26203 int
26204 main ()
26205 {
26206 return remove ();
26207   ;
26208   return 0;
26209 }
26210 _ACEOF
26211 if ac_fn_c_try_link "$LINENO"; then :
26212   ac_cv_lib_posix_remove=yes
26213 else
26214   ac_cv_lib_posix_remove=no
26215 fi
26216 rm -f core conftest.err conftest.$ac_objext \
26217     conftest$ac_exeext conftest.$ac_ext
26218 LIBS=$ac_check_lib_save_LIBS
26219 fi
26220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
26221 $as_echo "$ac_cv_lib_posix_remove" >&6; }
26222 if test "x$ac_cv_lib_posix_remove" = xyes; then :
26223   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
26224 fi
26225
26226     fi
26227
26228     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26229     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
26230 if test "x$ac_cv_func_shmat" = xyes; then :
26231
26232 fi
26233
26234     if test $ac_cv_func_shmat = no; then
26235       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
26236 $as_echo_n "checking for shmat in -lipc... " >&6; }
26237 if ${ac_cv_lib_ipc_shmat+:} false; then :
26238   $as_echo_n "(cached) " >&6
26239 else
26240   ac_check_lib_save_LIBS=$LIBS
26241 LIBS="-lipc  $LIBS"
26242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26243 /* end confdefs.h.  */
26244
26245 /* Override any GCC internal prototype to avoid an error.
26246    Use char because int might match the return type of a GCC
26247    builtin and then its argument prototype would still apply.  */
26248 #ifdef __cplusplus
26249 extern "C"
26250 #endif
26251 char shmat ();
26252 int
26253 main ()
26254 {
26255 return shmat ();
26256   ;
26257   return 0;
26258 }
26259 _ACEOF
26260 if ac_fn_c_try_link "$LINENO"; then :
26261   ac_cv_lib_ipc_shmat=yes
26262 else
26263   ac_cv_lib_ipc_shmat=no
26264 fi
26265 rm -f core conftest.err conftest.$ac_objext \
26266     conftest$ac_exeext conftest.$ac_ext
26267 LIBS=$ac_check_lib_save_LIBS
26268 fi
26269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
26270 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
26271 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
26272   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
26273 fi
26274
26275     fi
26276   fi
26277
26278   # Check for libraries that X11R6 Xt/Xaw programs need.
26279   ac_save_LDFLAGS=$LDFLAGS
26280   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
26281   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26282   # check for ICE first), but we must link in the order -lSM -lICE or
26283   # we get undefined symbols.  So assume we have SM if we have ICE.
26284   # These have to be linked with before -lX11, unlike the other
26285   # libraries we check for below, so use a different variable.
26286   # John Interrante, Karl Berry
26287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
26288 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
26289 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
26290   $as_echo_n "(cached) " >&6
26291 else
26292   ac_check_lib_save_LIBS=$LIBS
26293 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
26294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26295 /* end confdefs.h.  */
26296
26297 /* Override any GCC internal prototype to avoid an error.
26298    Use char because int might match the return type of a GCC
26299    builtin and then its argument prototype would still apply.  */
26300 #ifdef __cplusplus
26301 extern "C"
26302 #endif
26303 char IceConnectionNumber ();
26304 int
26305 main ()
26306 {
26307 return IceConnectionNumber ();
26308   ;
26309   return 0;
26310 }
26311 _ACEOF
26312 if ac_fn_c_try_link "$LINENO"; then :
26313   ac_cv_lib_ICE_IceConnectionNumber=yes
26314 else
26315   ac_cv_lib_ICE_IceConnectionNumber=no
26316 fi
26317 rm -f core conftest.err conftest.$ac_objext \
26318     conftest$ac_exeext conftest.$ac_ext
26319 LIBS=$ac_check_lib_save_LIBS
26320 fi
26321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26322 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
26323 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
26324   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
26325 fi
26326
26327   LDFLAGS=$ac_save_LDFLAGS
26328
26329 fi
26330
26331
26332 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
26333 #include <GL/gl.h>
26334 #include <GL/glext.h>
26335 #include <GL/glx.h>
26336
26337 "
26338 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
26339   have_dep="yes"
26340 else
26341   have_dep="no"
26342 fi
26343
26344
26345
26346 gl_pt_lib="";
26347 have_gl_pt="no"
26348
26349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_create() is supported" >&5
26350 $as_echo_n "checking whether pthread_create() is supported... " >&6; }
26351 CFLAGS_save="${CFLAGS}"
26352 CFLAGS="${CFLAGS} -pthread"
26353 LIBS_save="${LIBS}"
26354 LIBS="${LIBS} -pthread"
26355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26356 /* end confdefs.h.  */
26357
26358 #include <pthread.h>
26359
26360 int
26361 main ()
26362 {
26363
26364 pthread_create(NULL, NULL, NULL, NULL);
26365
26366   ;
26367   return 0;
26368 }
26369 _ACEOF
26370 if ac_fn_c_try_link "$LINENO"; then :
26371   have_gl_pt="yes"
26372 else
26373   have_gl_pt="no"
26374 fi
26375 rm -f core conftest.err conftest.$ac_objext \
26376     conftest$ac_exeext conftest.$ac_ext
26377 CFLAGS=${CFLAGS_save}
26378 LIBS=${LIBS_save}
26379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_gl_pt}" >&5
26380 $as_echo "${have_gl_pt}" >&6; }
26381
26382 if test "x$have_gl_pt" = "xyes" ; then
26383    gl_pt_lib=" -pthread"
26384 fi
26385
26386 if test "x${have_dep}" = "xyes" ; then
26387    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateColormap in -lX11" >&5
26388 $as_echo_n "checking for XCreateColormap in -lX11... " >&6; }
26389 if ${ac_cv_lib_X11_XCreateColormap+:} false; then :
26390   $as_echo_n "(cached) " >&6
26391 else
26392   ac_check_lib_save_LIBS=$LIBS
26393 LIBS="-lX11  $LIBS"
26394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26395 /* end confdefs.h.  */
26396
26397 /* Override any GCC internal prototype to avoid an error.
26398    Use char because int might match the return type of a GCC
26399    builtin and then its argument prototype would still apply.  */
26400 #ifdef __cplusplus
26401 extern "C"
26402 #endif
26403 char XCreateColormap ();
26404 int
26405 main ()
26406 {
26407 return XCreateColormap ();
26408   ;
26409   return 0;
26410 }
26411 _ACEOF
26412 if ac_fn_c_try_link "$LINENO"; then :
26413   ac_cv_lib_X11_XCreateColormap=yes
26414 else
26415   ac_cv_lib_X11_XCreateColormap=no
26416 fi
26417 rm -f core conftest.err conftest.$ac_objext \
26418     conftest$ac_exeext conftest.$ac_ext
26419 LIBS=$ac_check_lib_save_LIBS
26420 fi
26421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateColormap" >&5
26422 $as_echo "$ac_cv_lib_X11_XCreateColormap" >&6; }
26423 if test "x$ac_cv_lib_X11_XCreateColormap" = xyes; then :
26424   have_dep="yes"
26425 else
26426   have_dep="no"
26427 fi
26428
26429 fi
26430
26431 if test "x${have_dep}" = "xyes" ; then
26432    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreatePicture in -lXrender" >&5
26433 $as_echo_n "checking for XRenderCreatePicture in -lXrender... " >&6; }
26434 if ${ac_cv_lib_Xrender_XRenderCreatePicture+:} false; then :
26435   $as_echo_n "(cached) " >&6
26436 else
26437   ac_check_lib_save_LIBS=$LIBS
26438 LIBS="-lXrender  $LIBS"
26439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26440 /* end confdefs.h.  */
26441
26442 /* Override any GCC internal prototype to avoid an error.
26443    Use char because int might match the return type of a GCC
26444    builtin and then its argument prototype would still apply.  */
26445 #ifdef __cplusplus
26446 extern "C"
26447 #endif
26448 char XRenderCreatePicture ();
26449 int
26450 main ()
26451 {
26452 return XRenderCreatePicture ();
26453   ;
26454   return 0;
26455 }
26456 _ACEOF
26457 if ac_fn_c_try_link "$LINENO"; then :
26458   ac_cv_lib_Xrender_XRenderCreatePicture=yes
26459 else
26460   ac_cv_lib_Xrender_XRenderCreatePicture=no
26461 fi
26462 rm -f core conftest.err conftest.$ac_objext \
26463     conftest$ac_exeext conftest.$ac_ext
26464 LIBS=$ac_check_lib_save_LIBS
26465 fi
26466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreatePicture" >&5
26467 $as_echo "$ac_cv_lib_Xrender_XRenderCreatePicture" >&6; }
26468 if test "x$ac_cv_lib_Xrender_XRenderCreatePicture" = xyes; then :
26469   have_dep="yes"
26470 else
26471   have_dep="no"
26472 fi
26473
26474 fi
26475
26476 if test "x${have_dep}" = "xyes" ; then
26477    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glXCreateContext in -lGL" >&5
26478 $as_echo_n "checking for glXCreateContext in -lGL... " >&6; }
26479 if ${ac_cv_lib_GL_glXCreateContext+:} false; then :
26480   $as_echo_n "(cached) " >&6
26481 else
26482   ac_check_lib_save_LIBS=$LIBS
26483 LIBS="-lGL -lX11 -lXext -lXrender -lm $gl_pt_lib $LIBS"
26484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26485 /* end confdefs.h.  */
26486
26487 /* Override any GCC internal prototype to avoid an error.
26488    Use char because int might match the return type of a GCC
26489    builtin and then its argument prototype would still apply.  */
26490 #ifdef __cplusplus
26491 extern "C"
26492 #endif
26493 char glXCreateContext ();
26494 int
26495 main ()
26496 {
26497 return glXCreateContext ();
26498   ;
26499   return 0;
26500 }
26501 _ACEOF
26502 if ac_fn_c_try_link "$LINENO"; then :
26503   ac_cv_lib_GL_glXCreateContext=yes
26504 else
26505   ac_cv_lib_GL_glXCreateContext=no
26506 fi
26507 rm -f core conftest.err conftest.$ac_objext \
26508     conftest$ac_exeext conftest.$ac_ext
26509 LIBS=$ac_check_lib_save_LIBS
26510 fi
26511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glXCreateContext" >&5
26512 $as_echo "$ac_cv_lib_GL_glXCreateContext" >&6; }
26513 if test "x$ac_cv_lib_GL_glXCreateContext" = xyes; then :
26514   have_dep="yes"
26515 else
26516   have_dep="no"
26517 fi
26518
26519 fi
26520
26521
26522 pkg_failed=no
26523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_GL" >&5
26524 $as_echo_n "checking for XCB_GL... " >&6; }
26525
26526 if test -n "$XCB_GL_CFLAGS"; then
26527     pkg_cv_XCB_GL_CFLAGS="$XCB_GL_CFLAGS"
26528  elif test -n "$PKG_CONFIG"; then
26529     if test -n "$PKG_CONFIG" && \
26530     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-glx xcb-render xcb-renderutil\""; } >&5
26531   ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil") 2>&5
26532   ac_status=$?
26533   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26534   test $ac_status = 0; }; then
26535   pkg_cv_XCB_GL_CFLAGS=`$PKG_CONFIG --cflags "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>/dev/null`
26536                       test "x$?" != "x0" && pkg_failed=yes
26537 else
26538   pkg_failed=yes
26539 fi
26540  else
26541     pkg_failed=untried
26542 fi
26543 if test -n "$XCB_GL_LIBS"; then
26544     pkg_cv_XCB_GL_LIBS="$XCB_GL_LIBS"
26545  elif test -n "$PKG_CONFIG"; then
26546     if test -n "$PKG_CONFIG" && \
26547     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-glx xcb-render xcb-renderutil\""; } >&5
26548   ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil") 2>&5
26549   ac_status=$?
26550   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26551   test $ac_status = 0; }; then
26552   pkg_cv_XCB_GL_LIBS=`$PKG_CONFIG --libs "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>/dev/null`
26553                       test "x$?" != "x0" && pkg_failed=yes
26554 else
26555   pkg_failed=yes
26556 fi
26557  else
26558     pkg_failed=untried
26559 fi
26560
26561
26562
26563 if test $pkg_failed = yes; then
26564         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26565 $as_echo "no" >&6; }
26566
26567 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26568         _pkg_short_errors_supported=yes
26569 else
26570         _pkg_short_errors_supported=no
26571 fi
26572         if test $_pkg_short_errors_supported = yes; then
26573                 XCB_GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>&1`
26574         else
26575                 XCB_GL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>&1`
26576         fi
26577         # Put the nasty error message in config.log where it belongs
26578         echo "$XCB_GL_PKG_ERRORS" >&5
26579
26580
26581     have_dep="no"
26582
26583
26584 elif test $pkg_failed = untried; then
26585         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26586 $as_echo "no" >&6; }
26587
26588     have_dep="no"
26589
26590
26591 else
26592         XCB_GL_CFLAGS=$pkg_cv_XCB_GL_CFLAGS
26593         XCB_GL_LIBS=$pkg_cv_XCB_GL_LIBS
26594         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26595 $as_echo "yes" >&6; }
26596
26597     have_dep="yes"
26598     requirement="x11-xcb xcb xcb-glx xcb-render xcb-renderutil"
26599     evas_engine_gl_xcb_cflags="${XCB_GL_CFLAGS}"
26600     evas_engine_gl_xcb_libs="${XCB_GL_LIBS}"
26601
26602 fi
26603
26604 if test "x$gl_flavor_gles" = "xyes" ; then
26605   have_dep=no
26606 fi
26607
26608 if test "x${have_dep}" = "xyes" ; then
26609
26610 pkg_failed=no
26611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
26612 $as_echo_n "checking for GL_EET... " >&6; }
26613
26614 if test -n "$GL_EET_CFLAGS"; then
26615     pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
26616  elif test -n "$PKG_CONFIG"; then
26617     if test -n "$PKG_CONFIG" && \
26618     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
26619   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
26620   ac_status=$?
26621   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26622   test $ac_status = 0; }; then
26623   pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
26624                       test "x$?" != "x0" && pkg_failed=yes
26625 else
26626   pkg_failed=yes
26627 fi
26628  else
26629     pkg_failed=untried
26630 fi
26631 if test -n "$GL_EET_LIBS"; then
26632     pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
26633  elif test -n "$PKG_CONFIG"; then
26634     if test -n "$PKG_CONFIG" && \
26635     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
26636   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
26637   ac_status=$?
26638   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26639   test $ac_status = 0; }; then
26640   pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
26641                       test "x$?" != "x0" && pkg_failed=yes
26642 else
26643   pkg_failed=yes
26644 fi
26645  else
26646     pkg_failed=untried
26647 fi
26648
26649
26650
26651 if test $pkg_failed = yes; then
26652         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26653 $as_echo "no" >&6; }
26654
26655 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26656         _pkg_short_errors_supported=yes
26657 else
26658         _pkg_short_errors_supported=no
26659 fi
26660         if test $_pkg_short_errors_supported = yes; then
26661                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
26662         else
26663                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
26664         fi
26665         # Put the nasty error message in config.log where it belongs
26666         echo "$GL_EET_PKG_ERRORS" >&5
26667
26668         have_dep="no"
26669 elif test $pkg_failed = untried; then
26670         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26671 $as_echo "no" >&6; }
26672         have_dep="no"
26673 else
26674         GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
26675         GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
26676         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26677 $as_echo "yes" >&6; }
26678         have_dep="yes"
26679 fi
26680    if test "x${have_dep}" = "xyes" ; then
26681       if test "xno" = "xyes" ; then
26682          x_libs="${x_libs} -lX11 -lXext -lXrender"
26683       else
26684          x_dir=${x_dir:-/usr/X11R6}
26685          x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
26686          x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
26687       fi
26688    evas_engine_gl_xcb_cflags="-I/usr/include ${XCB_GL_CFLAGS} ${x_cflags}"
26689    evas_engine_gl_xcb_libs="${XCB_GL_LIBS} ${x_libs} -lGL $gl_pt_lib"
26690    evas_engine_gl_common_libs="-lGL $gl_pt_lib"
26691    fi
26692 else
26693    if test "xno" = "xyes" ; then
26694       x_libs="${x_libs} -lX11 -lXext -lXrender"
26695    else
26696       x_dir=${x_dir:-/usr/X11R6}
26697       x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
26698       x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
26699    fi
26700    ac_fn_c_check_header_compile "$LINENO" "GLES2/gl2.h" "ac_cv_header_GLES2_gl2_h" "
26701 #include <GLES2/gl2.h>
26702 #include <GLES2/gl2ext.h>
26703 #include <EGL/egl.h>
26704
26705 "
26706 if test "x$ac_cv_header_GLES2_gl2_h" = xyes; then :
26707   have_egl="yes"
26708 else
26709   have_egl="no"
26710 fi
26711
26712
26713    if test "x${have_egl}" = "xyes" ; then
26714       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
26715 $as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
26716 if ${ac_cv_lib_GLESv2_glTexImage2D+:} false; then :
26717   $as_echo_n "(cached) " >&6
26718 else
26719   ac_check_lib_save_LIBS=$LIBS
26720 LIBS="-lGLESv2 -lEGL ${x_libs} -lm $gl_pt_lib $LIBS"
26721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26722 /* end confdefs.h.  */
26723
26724 /* Override any GCC internal prototype to avoid an error.
26725    Use char because int might match the return type of a GCC
26726    builtin and then its argument prototype would still apply.  */
26727 #ifdef __cplusplus
26728 extern "C"
26729 #endif
26730 char glTexImage2D ();
26731 int
26732 main ()
26733 {
26734 return glTexImage2D ();
26735   ;
26736   return 0;
26737 }
26738 _ACEOF
26739 if ac_fn_c_try_link "$LINENO"; then :
26740   ac_cv_lib_GLESv2_glTexImage2D=yes
26741 else
26742   ac_cv_lib_GLESv2_glTexImage2D=no
26743 fi
26744 rm -f core conftest.err conftest.$ac_objext \
26745     conftest$ac_exeext conftest.$ac_ext
26746 LIBS=$ac_check_lib_save_LIBS
26747 fi
26748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
26749 $as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
26750 if test "x$ac_cv_lib_GLESv2_glTexImage2D" = xyes; then :
26751   have_glesv2="yes"
26752 fi
26753
26754       if test "x${have_glesv2}" = "xyes" ; then
26755
26756 pkg_failed=no
26757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
26758 $as_echo_n "checking for GL_EET... " >&6; }
26759
26760 if test -n "$GL_EET_CFLAGS"; then
26761     pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
26762  elif test -n "$PKG_CONFIG"; then
26763     if test -n "$PKG_CONFIG" && \
26764     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
26765   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
26766   ac_status=$?
26767   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26768   test $ac_status = 0; }; then
26769   pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
26770                       test "x$?" != "x0" && pkg_failed=yes
26771 else
26772   pkg_failed=yes
26773 fi
26774  else
26775     pkg_failed=untried
26776 fi
26777 if test -n "$GL_EET_LIBS"; then
26778     pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
26779  elif test -n "$PKG_CONFIG"; then
26780     if test -n "$PKG_CONFIG" && \
26781     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
26782   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
26783   ac_status=$?
26784   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26785   test $ac_status = 0; }; then
26786   pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
26787                       test "x$?" != "x0" && pkg_failed=yes
26788 else
26789   pkg_failed=yes
26790 fi
26791  else
26792     pkg_failed=untried
26793 fi
26794
26795
26796
26797 if test $pkg_failed = yes; then
26798         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26799 $as_echo "no" >&6; }
26800
26801 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26802         _pkg_short_errors_supported=yes
26803 else
26804         _pkg_short_errors_supported=no
26805 fi
26806         if test $_pkg_short_errors_supported = yes; then
26807                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
26808         else
26809                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
26810         fi
26811         # Put the nasty error message in config.log where it belongs
26812         echo "$GL_EET_PKG_ERRORS" >&5
26813
26814         have_dep="no"
26815 elif test $pkg_failed = untried; then
26816         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26817 $as_echo "no" >&6; }
26818         have_dep="no"
26819 else
26820         GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
26821         GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
26822         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26823 $as_echo "yes" >&6; }
26824         have_dep="yes"
26825 fi
26826          if test "x${have_dep}" = "xyes" ; then
26827             evas_engine_gl_xcb_cflags="${XCB_GL_CFLAGS} ${x_cflags}"
26828             evas_engine_gl_xcb_libs="${XCB_GL_LIBS} ${x_libs} -lGLESv2 -lEGL -lm $gl_pt_lib"
26829             evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
26830             have_dep="yes"
26831
26832 $as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
26833
26834             gles_variety_sgx="yes"
26835          fi
26836       fi
26837    fi
26838 fi
26839
26840
26841
26842
26843 if test "x${have_dep}" = "xyes" ; then
26844   have_engine="yes"
26845 else
26846   have_engine="no"
26847 fi
26848
26849
26850 fi
26851
26852 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
26853    as_fn_error $? "OpenGL XCB dependencies not found (strict dependencies checking)" "$LINENO" 5
26854 fi
26855
26856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL XCB rendering backend will be built" >&5
26857 $as_echo_n "checking whether OpenGL XCB rendering backend will be built... " >&6; }
26858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
26859 $as_echo "${have_engine}" >&6; }
26860
26861 if test "x${have_engine}" = "xyes" ; then
26862    if test "x${want_engine}" = "xstatic" ; then
26863       have_evas_engine_gl_xcb="static"
26864       want_static_engine="yes"
26865    else
26866       have_evas_engine_gl_xcb="yes"
26867    fi
26868 fi
26869
26870 if test "x${have_engine}" = "xyes" ; then
26871
26872 $as_echo "#define BUILD_ENGINE_GL_XCB 1" >>confdefs.h
26873
26874 fi
26875
26876  if test "x${have_engine}" = "xyes"; then
26877   BUILD_ENGINE_GL_XCB_TRUE=
26878   BUILD_ENGINE_GL_XCB_FALSE='#'
26879 else
26880   BUILD_ENGINE_GL_XCB_TRUE='#'
26881   BUILD_ENGINE_GL_XCB_FALSE=
26882 fi
26883
26884
26885 if test "x${want_static_engine}" = "xyes" ; then
26886
26887 $as_echo "#define EVAS_STATIC_BUILD_GL_XCB 1" >>confdefs.h
26888
26889    have_static_module="yes"
26890 fi
26891
26892  if test "x${want_static_engine}" = "xyes"; then
26893   EVAS_STATIC_BUILD_GL_XCB_TRUE=
26894   EVAS_STATIC_BUILD_GL_XCB_FALSE='#'
26895 else
26896   EVAS_STATIC_BUILD_GL_XCB_TRUE='#'
26897   EVAS_STATIC_BUILD_GL_XCB_FALSE=
26898 fi
26899
26900
26901
26902
26903
26904
26905   if test "x$have_evas_engine_gl_xcb" != "xno" ; then
26906     build_gl_xcb="yes"
26907     have_evas_engine_gl_x11="yes"
26908
26909 $as_echo "#define BUILD_ENGINE_GL_X11 1" >>confdefs.h
26910
26911
26912 $as_echo "#define BUILD_ENGINE_GL_XCB 1" >>confdefs.h
26913
26914     if test "x$have_evas_engine_gl_xcb" = "xstatic" ; then
26915
26916 $as_echo "#define EVAS_STATIC_BUILD_GL_X11 1" >>confdefs.h
26917
26918     fi
26919   fi
26920
26921 else
26922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26923 $as_echo "no" >&6; }
26924   build_gl_xcb="no"
26925 fi
26926
26927 ## If we are not building XCB, then we can build XLib ##
26928
26929 if test "x$build_gl_xcb" = "xno" ; then
26930
26931
26932
26933 want_engine="${want_evas_engine_gl_xlib}"
26934 want_static_engine="no"
26935 have_engine="no"
26936 have_evas_engine_gl_xlib="no"
26937
26938 # Check whether --enable-gl-xlib was given.
26939 if test "${enable_gl_xlib+set}" = set; then :
26940   enableval=$enable_gl_xlib;
26941     if test "x${enableval}" = "xyes" ; then
26942        want_engine="yes"
26943     else
26944        if test "x${enableval}" = "xstatic" ; then
26945           want_engine="static"
26946        else
26947           want_engine="no"
26948        fi
26949     fi
26950
26951 fi
26952
26953
26954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL XLib rendering backend" >&5
26955 $as_echo_n "checking whether to enable OpenGL XLib rendering backend... " >&6; }
26956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
26957 $as_echo "${want_engine}" >&6; }
26958
26959 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
26960
26961
26962 evas_engine_gl_xlib_cflags=""
26963 evas_engine_gl_xlib_libs=""
26964
26965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
26966 $as_echo_n "checking for X... " >&6; }
26967
26968
26969 # Check whether --with-x was given.
26970 if test "${with_x+set}" = set; then :
26971   withval=$with_x;
26972 fi
26973
26974 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
26975 if test "x$with_x" = xno; then
26976   # The user explicitly disabled X.
26977   have_x=disabled
26978 else
26979   case $x_includes,$x_libraries in #(
26980     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
26981     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
26982   $as_echo_n "(cached) " >&6
26983 else
26984   # One or both of the vars are not set, and there is no cached value.
26985 ac_x_includes=no ac_x_libraries=no
26986 rm -f -r conftest.dir
26987 if mkdir conftest.dir; then
26988   cd conftest.dir
26989   cat >Imakefile <<'_ACEOF'
26990 incroot:
26991         @echo incroot='${INCROOT}'
26992 usrlibdir:
26993         @echo usrlibdir='${USRLIBDIR}'
26994 libdir:
26995         @echo libdir='${LIBDIR}'
26996 _ACEOF
26997   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
26998     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
26999     for ac_var in incroot usrlibdir libdir; do
27000       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
27001     done
27002     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
27003     for ac_extension in a so sl dylib la dll; do
27004       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
27005          test -f "$ac_im_libdir/libX11.$ac_extension"; then
27006         ac_im_usrlibdir=$ac_im_libdir; break
27007       fi
27008     done
27009     # Screen out bogus values from the imake configuration.  They are
27010     # bogus both because they are the default anyway, and because
27011     # using them would break gcc on systems where it needs fixed includes.
27012     case $ac_im_incroot in
27013         /usr/include) ac_x_includes= ;;
27014         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
27015     esac
27016     case $ac_im_usrlibdir in
27017         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
27018         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
27019     esac
27020   fi
27021   cd ..
27022   rm -f -r conftest.dir
27023 fi
27024
27025 # Standard set of common directories for X headers.
27026 # Check X11 before X11Rn because it is often a symlink to the current release.
27027 ac_x_header_dirs='
27028 /usr/X11/include
27029 /usr/X11R7/include
27030 /usr/X11R6/include
27031 /usr/X11R5/include
27032 /usr/X11R4/include
27033
27034 /usr/include/X11
27035 /usr/include/X11R7
27036 /usr/include/X11R6
27037 /usr/include/X11R5
27038 /usr/include/X11R4
27039
27040 /usr/local/X11/include
27041 /usr/local/X11R7/include
27042 /usr/local/X11R6/include
27043 /usr/local/X11R5/include
27044 /usr/local/X11R4/include
27045
27046 /usr/local/include/X11
27047 /usr/local/include/X11R7
27048 /usr/local/include/X11R6
27049 /usr/local/include/X11R5
27050 /usr/local/include/X11R4
27051
27052 /usr/X386/include
27053 /usr/x386/include
27054 /usr/XFree86/include/X11
27055
27056 /usr/include
27057 /usr/local/include
27058 /usr/unsupported/include
27059 /usr/athena/include
27060 /usr/local/x11r5/include
27061 /usr/lpp/Xamples/include
27062
27063 /usr/openwin/include
27064 /usr/openwin/share/include'
27065
27066 if test "$ac_x_includes" = no; then
27067   # Guess where to find include files, by looking for Xlib.h.
27068   # First, try using that file with no special directory specified.
27069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27070 /* end confdefs.h.  */
27071 #include <X11/Xlib.h>
27072 _ACEOF
27073 if ac_fn_c_try_cpp "$LINENO"; then :
27074   # We can compile using X headers with no special include directory.
27075 ac_x_includes=
27076 else
27077   for ac_dir in $ac_x_header_dirs; do
27078   if test -r "$ac_dir/X11/Xlib.h"; then
27079     ac_x_includes=$ac_dir
27080     break
27081   fi
27082 done
27083 fi
27084 rm -f conftest.err conftest.i conftest.$ac_ext
27085 fi # $ac_x_includes = no
27086
27087 if test "$ac_x_libraries" = no; then
27088   # Check for the libraries.
27089   # See if we find them without any special options.
27090   # Don't add to $LIBS permanently.
27091   ac_save_LIBS=$LIBS
27092   LIBS="-lX11 $LIBS"
27093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27094 /* end confdefs.h.  */
27095 #include <X11/Xlib.h>
27096 int
27097 main ()
27098 {
27099 XrmInitialize ()
27100   ;
27101   return 0;
27102 }
27103 _ACEOF
27104 if ac_fn_c_try_link "$LINENO"; then :
27105   LIBS=$ac_save_LIBS
27106 # We can link X programs with no special library path.
27107 ac_x_libraries=
27108 else
27109   LIBS=$ac_save_LIBS
27110 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
27111 do
27112   # Don't even attempt the hair of trying to link an X program!
27113   for ac_extension in a so sl dylib la dll; do
27114     if test -r "$ac_dir/libX11.$ac_extension"; then
27115       ac_x_libraries=$ac_dir
27116       break 2
27117     fi
27118   done
27119 done
27120 fi
27121 rm -f core conftest.err conftest.$ac_objext \
27122     conftest$ac_exeext conftest.$ac_ext
27123 fi # $ac_x_libraries = no
27124
27125 case $ac_x_includes,$ac_x_libraries in #(
27126   no,* | *,no | *\'*)
27127     # Didn't find X, or a directory has "'" in its name.
27128     ac_cv_have_x="have_x=no";; #(
27129   *)
27130     # Record where we found X for the cache.
27131     ac_cv_have_x="have_x=yes\
27132         ac_x_includes='$ac_x_includes'\
27133         ac_x_libraries='$ac_x_libraries'"
27134 esac
27135 fi
27136 ;; #(
27137     *) have_x=yes;;
27138   esac
27139   eval "$ac_cv_have_x"
27140 fi # $with_x != no
27141
27142 if test "$have_x" != yes; then
27143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
27144 $as_echo "$have_x" >&6; }
27145   no_x=yes
27146 else
27147   # If each of the values was on the command line, it overrides each guess.
27148   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
27149   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
27150   # Update the cache value to reflect the command line values.
27151   ac_cv_have_x="have_x=yes\
27152         ac_x_includes='$x_includes'\
27153         ac_x_libraries='$x_libraries'"
27154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
27155 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
27156 fi
27157
27158 if test "$no_x" = yes; then
27159   # Not all programs may use this symbol, but it does not hurt to define it.
27160
27161 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
27162
27163   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
27164 else
27165   if test -n "$x_includes"; then
27166     X_CFLAGS="$X_CFLAGS -I$x_includes"
27167   fi
27168
27169   # It would also be nice to do this for all -L options, not just this one.
27170   if test -n "$x_libraries"; then
27171     X_LIBS="$X_LIBS -L$x_libraries"
27172     # For Solaris; some versions of Sun CC require a space after -R and
27173     # others require no space.  Words are not sufficient . . . .
27174     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
27175 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
27176     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
27177     ac_xsave_c_werror_flag=$ac_c_werror_flag
27178     ac_c_werror_flag=yes
27179     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27180 /* end confdefs.h.  */
27181
27182 int
27183 main ()
27184 {
27185
27186   ;
27187   return 0;
27188 }
27189 _ACEOF
27190 if ac_fn_c_try_link "$LINENO"; then :
27191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27192 $as_echo "no" >&6; }
27193        X_LIBS="$X_LIBS -R$x_libraries"
27194 else
27195   LIBS="$ac_xsave_LIBS -R $x_libraries"
27196        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27197 /* end confdefs.h.  */
27198
27199 int
27200 main ()
27201 {
27202
27203   ;
27204   return 0;
27205 }
27206 _ACEOF
27207 if ac_fn_c_try_link "$LINENO"; then :
27208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27209 $as_echo "yes" >&6; }
27210           X_LIBS="$X_LIBS -R $x_libraries"
27211 else
27212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
27213 $as_echo "neither works" >&6; }
27214 fi
27215 rm -f core conftest.err conftest.$ac_objext \
27216     conftest$ac_exeext conftest.$ac_ext
27217 fi
27218 rm -f core conftest.err conftest.$ac_objext \
27219     conftest$ac_exeext conftest.$ac_ext
27220     ac_c_werror_flag=$ac_xsave_c_werror_flag
27221     LIBS=$ac_xsave_LIBS
27222   fi
27223
27224   # Check for system-dependent libraries X programs must link with.
27225   # Do this before checking for the system-independent R6 libraries
27226   # (-lICE), since we may need -lsocket or whatever for X linking.
27227
27228   if test "$ISC" = yes; then
27229     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
27230   else
27231     # Martyn Johnson says this is needed for Ultrix, if the X
27232     # libraries were built with DECnet support.  And Karl Berry says
27233     # the Alpha needs dnet_stub (dnet does not exist).
27234     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
27235     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27236 /* end confdefs.h.  */
27237
27238 /* Override any GCC internal prototype to avoid an error.
27239    Use char because int might match the return type of a GCC
27240    builtin and then its argument prototype would still apply.  */
27241 #ifdef __cplusplus
27242 extern "C"
27243 #endif
27244 char XOpenDisplay ();
27245 int
27246 main ()
27247 {
27248 return XOpenDisplay ();
27249   ;
27250   return 0;
27251 }
27252 _ACEOF
27253 if ac_fn_c_try_link "$LINENO"; then :
27254
27255 else
27256   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
27257 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
27258 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
27259   $as_echo_n "(cached) " >&6
27260 else
27261   ac_check_lib_save_LIBS=$LIBS
27262 LIBS="-ldnet  $LIBS"
27263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27264 /* end confdefs.h.  */
27265
27266 /* Override any GCC internal prototype to avoid an error.
27267    Use char because int might match the return type of a GCC
27268    builtin and then its argument prototype would still apply.  */
27269 #ifdef __cplusplus
27270 extern "C"
27271 #endif
27272 char dnet_ntoa ();
27273 int
27274 main ()
27275 {
27276 return dnet_ntoa ();
27277   ;
27278   return 0;
27279 }
27280 _ACEOF
27281 if ac_fn_c_try_link "$LINENO"; then :
27282   ac_cv_lib_dnet_dnet_ntoa=yes
27283 else
27284   ac_cv_lib_dnet_dnet_ntoa=no
27285 fi
27286 rm -f core conftest.err conftest.$ac_objext \
27287     conftest$ac_exeext conftest.$ac_ext
27288 LIBS=$ac_check_lib_save_LIBS
27289 fi
27290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
27291 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
27292 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
27293   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
27294 fi
27295
27296     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
27297       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
27298 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
27299 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
27300   $as_echo_n "(cached) " >&6
27301 else
27302   ac_check_lib_save_LIBS=$LIBS
27303 LIBS="-ldnet_stub  $LIBS"
27304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27305 /* end confdefs.h.  */
27306
27307 /* Override any GCC internal prototype to avoid an error.
27308    Use char because int might match the return type of a GCC
27309    builtin and then its argument prototype would still apply.  */
27310 #ifdef __cplusplus
27311 extern "C"
27312 #endif
27313 char dnet_ntoa ();
27314 int
27315 main ()
27316 {
27317 return dnet_ntoa ();
27318   ;
27319   return 0;
27320 }
27321 _ACEOF
27322 if ac_fn_c_try_link "$LINENO"; then :
27323   ac_cv_lib_dnet_stub_dnet_ntoa=yes
27324 else
27325   ac_cv_lib_dnet_stub_dnet_ntoa=no
27326 fi
27327 rm -f core conftest.err conftest.$ac_objext \
27328     conftest$ac_exeext conftest.$ac_ext
27329 LIBS=$ac_check_lib_save_LIBS
27330 fi
27331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
27332 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
27333 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
27334   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
27335 fi
27336
27337     fi
27338 fi
27339 rm -f core conftest.err conftest.$ac_objext \
27340     conftest$ac_exeext conftest.$ac_ext
27341     LIBS="$ac_xsave_LIBS"
27342
27343     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
27344     # to get the SysV transport functions.
27345     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
27346     # needs -lnsl.
27347     # The nsl library prevents programs from opening the X display
27348     # on Irix 5.2, according to T.E. Dickey.
27349     # The functions gethostbyname, getservbyname, and inet_addr are
27350     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
27351     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
27352 if test "x$ac_cv_func_gethostbyname" = xyes; then :
27353
27354 fi
27355
27356     if test $ac_cv_func_gethostbyname = no; then
27357       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
27358 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
27359 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
27360   $as_echo_n "(cached) " >&6
27361 else
27362   ac_check_lib_save_LIBS=$LIBS
27363 LIBS="-lnsl  $LIBS"
27364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27365 /* end confdefs.h.  */
27366
27367 /* Override any GCC internal prototype to avoid an error.
27368    Use char because int might match the return type of a GCC
27369    builtin and then its argument prototype would still apply.  */
27370 #ifdef __cplusplus
27371 extern "C"
27372 #endif
27373 char gethostbyname ();
27374 int
27375 main ()
27376 {
27377 return gethostbyname ();
27378   ;
27379   return 0;
27380 }
27381 _ACEOF
27382 if ac_fn_c_try_link "$LINENO"; then :
27383   ac_cv_lib_nsl_gethostbyname=yes
27384 else
27385   ac_cv_lib_nsl_gethostbyname=no
27386 fi
27387 rm -f core conftest.err conftest.$ac_objext \
27388     conftest$ac_exeext conftest.$ac_ext
27389 LIBS=$ac_check_lib_save_LIBS
27390 fi
27391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
27392 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
27393 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
27394   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
27395 fi
27396
27397       if test $ac_cv_lib_nsl_gethostbyname = no; then
27398         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
27399 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
27400 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
27401   $as_echo_n "(cached) " >&6
27402 else
27403   ac_check_lib_save_LIBS=$LIBS
27404 LIBS="-lbsd  $LIBS"
27405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27406 /* end confdefs.h.  */
27407
27408 /* Override any GCC internal prototype to avoid an error.
27409    Use char because int might match the return type of a GCC
27410    builtin and then its argument prototype would still apply.  */
27411 #ifdef __cplusplus
27412 extern "C"
27413 #endif
27414 char gethostbyname ();
27415 int
27416 main ()
27417 {
27418 return gethostbyname ();
27419   ;
27420   return 0;
27421 }
27422 _ACEOF
27423 if ac_fn_c_try_link "$LINENO"; then :
27424   ac_cv_lib_bsd_gethostbyname=yes
27425 else
27426   ac_cv_lib_bsd_gethostbyname=no
27427 fi
27428 rm -f core conftest.err conftest.$ac_objext \
27429     conftest$ac_exeext conftest.$ac_ext
27430 LIBS=$ac_check_lib_save_LIBS
27431 fi
27432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
27433 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
27434 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
27435   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
27436 fi
27437
27438       fi
27439     fi
27440
27441     # lieder@skyler.mavd.honeywell.com says without -lsocket,
27442     # socket/setsockopt and other routines are undefined under SCO ODT
27443     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
27444     # on later versions), says Simon Leinen: it contains gethostby*
27445     # variants that don't use the name server (or something).  -lsocket
27446     # must be given before -lnsl if both are needed.  We assume that
27447     # if connect needs -lnsl, so does gethostbyname.
27448     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
27449 if test "x$ac_cv_func_connect" = xyes; then :
27450
27451 fi
27452
27453     if test $ac_cv_func_connect = no; then
27454       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
27455 $as_echo_n "checking for connect in -lsocket... " >&6; }
27456 if ${ac_cv_lib_socket_connect+:} false; then :
27457   $as_echo_n "(cached) " >&6
27458 else
27459   ac_check_lib_save_LIBS=$LIBS
27460 LIBS="-lsocket $X_EXTRA_LIBS $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 connect ();
27471 int
27472 main ()
27473 {
27474 return connect ();
27475   ;
27476   return 0;
27477 }
27478 _ACEOF
27479 if ac_fn_c_try_link "$LINENO"; then :
27480   ac_cv_lib_socket_connect=yes
27481 else
27482   ac_cv_lib_socket_connect=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_socket_connect" >&5
27489 $as_echo "$ac_cv_lib_socket_connect" >&6; }
27490 if test "x$ac_cv_lib_socket_connect" = xyes; then :
27491   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
27492 fi
27493
27494     fi
27495
27496     # Guillermo Gomez says -lposix is necessary on A/UX.
27497     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
27498 if test "x$ac_cv_func_remove" = xyes; then :
27499
27500 fi
27501
27502     if test $ac_cv_func_remove = no; then
27503       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
27504 $as_echo_n "checking for remove in -lposix... " >&6; }
27505 if ${ac_cv_lib_posix_remove+:} false; then :
27506   $as_echo_n "(cached) " >&6
27507 else
27508   ac_check_lib_save_LIBS=$LIBS
27509 LIBS="-lposix  $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 remove ();
27520 int
27521 main ()
27522 {
27523 return remove ();
27524   ;
27525   return 0;
27526 }
27527 _ACEOF
27528 if ac_fn_c_try_link "$LINENO"; then :
27529   ac_cv_lib_posix_remove=yes
27530 else
27531   ac_cv_lib_posix_remove=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_posix_remove" >&5
27538 $as_echo "$ac_cv_lib_posix_remove" >&6; }
27539 if test "x$ac_cv_lib_posix_remove" = xyes; then :
27540   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
27541 fi
27542
27543     fi
27544
27545     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
27546     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
27547 if test "x$ac_cv_func_shmat" = xyes; then :
27548
27549 fi
27550
27551     if test $ac_cv_func_shmat = no; then
27552       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
27553 $as_echo_n "checking for shmat in -lipc... " >&6; }
27554 if ${ac_cv_lib_ipc_shmat+:} false; then :
27555   $as_echo_n "(cached) " >&6
27556 else
27557   ac_check_lib_save_LIBS=$LIBS
27558 LIBS="-lipc  $LIBS"
27559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27560 /* end confdefs.h.  */
27561
27562 /* Override any GCC internal prototype to avoid an error.
27563    Use char because int might match the return type of a GCC
27564    builtin and then its argument prototype would still apply.  */
27565 #ifdef __cplusplus
27566 extern "C"
27567 #endif
27568 char shmat ();
27569 int
27570 main ()
27571 {
27572 return shmat ();
27573   ;
27574   return 0;
27575 }
27576 _ACEOF
27577 if ac_fn_c_try_link "$LINENO"; then :
27578   ac_cv_lib_ipc_shmat=yes
27579 else
27580   ac_cv_lib_ipc_shmat=no
27581 fi
27582 rm -f core conftest.err conftest.$ac_objext \
27583     conftest$ac_exeext conftest.$ac_ext
27584 LIBS=$ac_check_lib_save_LIBS
27585 fi
27586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
27587 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
27588 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
27589   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
27590 fi
27591
27592     fi
27593   fi
27594
27595   # Check for libraries that X11R6 Xt/Xaw programs need.
27596   ac_save_LDFLAGS=$LDFLAGS
27597   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
27598   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27599   # check for ICE first), but we must link in the order -lSM -lICE or
27600   # we get undefined symbols.  So assume we have SM if we have ICE.
27601   # These have to be linked with before -lX11, unlike the other
27602   # libraries we check for below, so use a different variable.
27603   # John Interrante, Karl Berry
27604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
27605 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
27606 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
27607   $as_echo_n "(cached) " >&6
27608 else
27609   ac_check_lib_save_LIBS=$LIBS
27610 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
27611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27612 /* end confdefs.h.  */
27613
27614 /* Override any GCC internal prototype to avoid an error.
27615    Use char because int might match the return type of a GCC
27616    builtin and then its argument prototype would still apply.  */
27617 #ifdef __cplusplus
27618 extern "C"
27619 #endif
27620 char IceConnectionNumber ();
27621 int
27622 main ()
27623 {
27624 return IceConnectionNumber ();
27625   ;
27626   return 0;
27627 }
27628 _ACEOF
27629 if ac_fn_c_try_link "$LINENO"; then :
27630   ac_cv_lib_ICE_IceConnectionNumber=yes
27631 else
27632   ac_cv_lib_ICE_IceConnectionNumber=no
27633 fi
27634 rm -f core conftest.err conftest.$ac_objext \
27635     conftest$ac_exeext conftest.$ac_ext
27636 LIBS=$ac_check_lib_save_LIBS
27637 fi
27638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27639 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
27640 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
27641   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
27642 fi
27643
27644   LDFLAGS=$ac_save_LDFLAGS
27645
27646 fi
27647
27648
27649 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27650 #include <GL/gl.h>
27651 #include <GL/glext.h>
27652 #include <GL/glx.h>
27653 #include <X11/Xlib.h>
27654 #include <X11/Xatom.h>
27655 #include <X11/Xutil.h>
27656 #include <X11/extensions/Xrender.h>
27657 #include <X11/Xresource.h>
27658
27659 "
27660 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
27661   have_dep="yes"
27662 else
27663   have_dep="no"
27664 fi
27665
27666
27667
27668 gl_pt_lib="";
27669 have_gl_pt="no"
27670
27671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_create() is supported" >&5
27672 $as_echo_n "checking whether pthread_create() is supported... " >&6; }
27673 CFLAGS_save="${CFLAGS}"
27674 CFLAGS="${CFLAGS} -pthread"
27675 LIBS_save="${LIBS}"
27676 LIBS="${LIBS} -pthread"
27677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27678 /* end confdefs.h.  */
27679
27680 #include <pthread.h>
27681
27682 int
27683 main ()
27684 {
27685
27686 pthread_create(NULL, NULL, NULL, NULL);
27687
27688   ;
27689   return 0;
27690 }
27691 _ACEOF
27692 if ac_fn_c_try_link "$LINENO"; then :
27693   have_gl_pt="yes"
27694 else
27695   have_gl_pt="no"
27696 fi
27697 rm -f core conftest.err conftest.$ac_objext \
27698     conftest$ac_exeext conftest.$ac_ext
27699 CFLAGS=${CFLAGS_save}
27700 LIBS=${LIBS_save}
27701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_gl_pt}" >&5
27702 $as_echo "${have_gl_pt}" >&6; }
27703
27704 if test "x$have_gl_pt" = "xyes" ; then
27705    gl_pt_lib=" -pthread"
27706 fi
27707
27708 if test "x${have_dep}" = "xyes" ; then
27709    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateColormap in -lX11" >&5
27710 $as_echo_n "checking for XCreateColormap in -lX11... " >&6; }
27711 if ${ac_cv_lib_X11_XCreateColormap+:} false; then :
27712   $as_echo_n "(cached) " >&6
27713 else
27714   ac_check_lib_save_LIBS=$LIBS
27715 LIBS="-lX11  $LIBS"
27716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27717 /* end confdefs.h.  */
27718
27719 /* Override any GCC internal prototype to avoid an error.
27720    Use char because int might match the return type of a GCC
27721    builtin and then its argument prototype would still apply.  */
27722 #ifdef __cplusplus
27723 extern "C"
27724 #endif
27725 char XCreateColormap ();
27726 int
27727 main ()
27728 {
27729 return XCreateColormap ();
27730   ;
27731   return 0;
27732 }
27733 _ACEOF
27734 if ac_fn_c_try_link "$LINENO"; then :
27735   ac_cv_lib_X11_XCreateColormap=yes
27736 else
27737   ac_cv_lib_X11_XCreateColormap=no
27738 fi
27739 rm -f core conftest.err conftest.$ac_objext \
27740     conftest$ac_exeext conftest.$ac_ext
27741 LIBS=$ac_check_lib_save_LIBS
27742 fi
27743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateColormap" >&5
27744 $as_echo "$ac_cv_lib_X11_XCreateColormap" >&6; }
27745 if test "x$ac_cv_lib_X11_XCreateColormap" = xyes; then :
27746   have_dep="yes"
27747 else
27748   have_dep="no"
27749 fi
27750
27751 fi
27752
27753 if test "x${have_dep}" = "xyes" ; then
27754    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreatePicture in -lXrender" >&5
27755 $as_echo_n "checking for XRenderCreatePicture in -lXrender... " >&6; }
27756 if ${ac_cv_lib_Xrender_XRenderCreatePicture+:} false; then :
27757   $as_echo_n "(cached) " >&6
27758 else
27759   ac_check_lib_save_LIBS=$LIBS
27760 LIBS="-lXrender  $LIBS"
27761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27762 /* end confdefs.h.  */
27763
27764 /* Override any GCC internal prototype to avoid an error.
27765    Use char because int might match the return type of a GCC
27766    builtin and then its argument prototype would still apply.  */
27767 #ifdef __cplusplus
27768 extern "C"
27769 #endif
27770 char XRenderCreatePicture ();
27771 int
27772 main ()
27773 {
27774 return XRenderCreatePicture ();
27775   ;
27776   return 0;
27777 }
27778 _ACEOF
27779 if ac_fn_c_try_link "$LINENO"; then :
27780   ac_cv_lib_Xrender_XRenderCreatePicture=yes
27781 else
27782   ac_cv_lib_Xrender_XRenderCreatePicture=no
27783 fi
27784 rm -f core conftest.err conftest.$ac_objext \
27785     conftest$ac_exeext conftest.$ac_ext
27786 LIBS=$ac_check_lib_save_LIBS
27787 fi
27788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreatePicture" >&5
27789 $as_echo "$ac_cv_lib_Xrender_XRenderCreatePicture" >&6; }
27790 if test "x$ac_cv_lib_Xrender_XRenderCreatePicture" = xyes; then :
27791   have_dep="yes"
27792 else
27793   have_dep="no"
27794 fi
27795
27796 fi
27797
27798 if test "x${have_dep}" = "xyes" ; then
27799    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glXCreateContext in -lGL" >&5
27800 $as_echo_n "checking for glXCreateContext in -lGL... " >&6; }
27801 if ${ac_cv_lib_GL_glXCreateContext+:} false; then :
27802   $as_echo_n "(cached) " >&6
27803 else
27804   ac_check_lib_save_LIBS=$LIBS
27805 LIBS="-lGL -lX11 -lXext -lXrender -lm $gl_pt_lib $LIBS"
27806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27807 /* end confdefs.h.  */
27808
27809 /* Override any GCC internal prototype to avoid an error.
27810    Use char because int might match the return type of a GCC
27811    builtin and then its argument prototype would still apply.  */
27812 #ifdef __cplusplus
27813 extern "C"
27814 #endif
27815 char glXCreateContext ();
27816 int
27817 main ()
27818 {
27819 return glXCreateContext ();
27820   ;
27821   return 0;
27822 }
27823 _ACEOF
27824 if ac_fn_c_try_link "$LINENO"; then :
27825   ac_cv_lib_GL_glXCreateContext=yes
27826 else
27827   ac_cv_lib_GL_glXCreateContext=no
27828 fi
27829 rm -f core conftest.err conftest.$ac_objext \
27830     conftest$ac_exeext conftest.$ac_ext
27831 LIBS=$ac_check_lib_save_LIBS
27832 fi
27833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glXCreateContext" >&5
27834 $as_echo "$ac_cv_lib_GL_glXCreateContext" >&6; }
27835 if test "x$ac_cv_lib_GL_glXCreateContext" = xyes; then :
27836   have_dep="yes"
27837 else
27838   have_dep="no"
27839 fi
27840
27841 fi
27842
27843 if test "x$gl_flavor_gles" = "xyes" ; then
27844   have_dep=no
27845 fi
27846
27847 if test "x${have_dep}" = "xyes" ; then
27848
27849 pkg_failed=no
27850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
27851 $as_echo_n "checking for GL_EET... " >&6; }
27852
27853 if test -n "$GL_EET_CFLAGS"; then
27854     pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
27855  elif test -n "$PKG_CONFIG"; then
27856     if test -n "$PKG_CONFIG" && \
27857     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
27858   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
27859   ac_status=$?
27860   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27861   test $ac_status = 0; }; then
27862   pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
27863                       test "x$?" != "x0" && pkg_failed=yes
27864 else
27865   pkg_failed=yes
27866 fi
27867  else
27868     pkg_failed=untried
27869 fi
27870 if test -n "$GL_EET_LIBS"; then
27871     pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
27872  elif test -n "$PKG_CONFIG"; then
27873     if test -n "$PKG_CONFIG" && \
27874     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
27875   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
27876   ac_status=$?
27877   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27878   test $ac_status = 0; }; then
27879   pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
27880                       test "x$?" != "x0" && pkg_failed=yes
27881 else
27882   pkg_failed=yes
27883 fi
27884  else
27885     pkg_failed=untried
27886 fi
27887
27888
27889
27890 if test $pkg_failed = yes; then
27891         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27892 $as_echo "no" >&6; }
27893
27894 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27895         _pkg_short_errors_supported=yes
27896 else
27897         _pkg_short_errors_supported=no
27898 fi
27899         if test $_pkg_short_errors_supported = yes; then
27900                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
27901         else
27902                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
27903         fi
27904         # Put the nasty error message in config.log where it belongs
27905         echo "$GL_EET_PKG_ERRORS" >&5
27906
27907         have_dep="no"
27908 elif test $pkg_failed = untried; then
27909         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27910 $as_echo "no" >&6; }
27911         have_dep="no"
27912 else
27913         GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
27914         GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
27915         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27916 $as_echo "yes" >&6; }
27917         have_dep="yes"
27918 fi
27919    if test "x${have_dep}" = "xyes" ; then
27920       if test "xno" = "xyes" ; then
27921          x_libs="${x_libs} -lX11 -lXext -lXrender"
27922       else
27923          x_dir=${x_dir:-/usr/X11R6}
27924          x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
27925          x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
27926       fi
27927    evas_engine_gl_xlib_cflags="-I/usr/include ${x_cflags}"
27928    evas_engine_gl_xlib_libs="${x_libs} -lGL $gl_pt_lib"
27929    evas_engine_gl_common_libs="-lGL $gl_pt_lib"
27930    fi
27931 else
27932    if test "xno" = "xyes" ; then
27933       x_libs="${x_libs} -lX11 -lXext -lXrender"
27934    else
27935       x_dir=${x_dir:-/usr/X11R6}
27936       x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
27937       x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
27938    fi
27939    ac_fn_c_check_header_compile "$LINENO" "GLES2/gl2.h" "ac_cv_header_GLES2_gl2_h" "
27940 #include <GLES2/gl2.h>
27941 #include <GLES2/gl2ext.h>
27942 #include <EGL/egl.h>
27943 #include <X11/Xlib.h>
27944 #include <X11/Xatom.h>
27945 #include <X11/Xutil.h>
27946 #include <X11/extensions/Xrender.h>
27947 #include <X11/Xresource.h>
27948
27949 "
27950 if test "x$ac_cv_header_GLES2_gl2_h" = xyes; then :
27951   have_egl="yes"
27952 else
27953   have_egl="no"
27954 fi
27955
27956
27957    if test "x${have_egl}" = "xyes" ; then
27958       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
27959 $as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
27960 if ${ac_cv_lib_GLESv2_glTexImage2D+:} false; then :
27961   $as_echo_n "(cached) " >&6
27962 else
27963   ac_check_lib_save_LIBS=$LIBS
27964 LIBS="-lGLESv2 -lEGL ${x_libs} -lm $gl_pt_lib $LIBS"
27965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27966 /* end confdefs.h.  */
27967
27968 /* Override any GCC internal prototype to avoid an error.
27969    Use char because int might match the return type of a GCC
27970    builtin and then its argument prototype would still apply.  */
27971 #ifdef __cplusplus
27972 extern "C"
27973 #endif
27974 char glTexImage2D ();
27975 int
27976 main ()
27977 {
27978 return glTexImage2D ();
27979   ;
27980   return 0;
27981 }
27982 _ACEOF
27983 if ac_fn_c_try_link "$LINENO"; then :
27984   ac_cv_lib_GLESv2_glTexImage2D=yes
27985 else
27986   ac_cv_lib_GLESv2_glTexImage2D=no
27987 fi
27988 rm -f core conftest.err conftest.$ac_objext \
27989     conftest$ac_exeext conftest.$ac_ext
27990 LIBS=$ac_check_lib_save_LIBS
27991 fi
27992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
27993 $as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
27994 if test "x$ac_cv_lib_GLESv2_glTexImage2D" = xyes; then :
27995   have_glesv2="yes"
27996 fi
27997
27998       if test "x${have_glesv2}" = "xyes" ; then
27999
28000 pkg_failed=no
28001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
28002 $as_echo_n "checking for GL_EET... " >&6; }
28003
28004 if test -n "$GL_EET_CFLAGS"; then
28005     pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
28006  elif test -n "$PKG_CONFIG"; then
28007     if test -n "$PKG_CONFIG" && \
28008     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
28009   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
28010   ac_status=$?
28011   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28012   test $ac_status = 0; }; then
28013   pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
28014                       test "x$?" != "x0" && pkg_failed=yes
28015 else
28016   pkg_failed=yes
28017 fi
28018  else
28019     pkg_failed=untried
28020 fi
28021 if test -n "$GL_EET_LIBS"; then
28022     pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
28023  elif test -n "$PKG_CONFIG"; then
28024     if test -n "$PKG_CONFIG" && \
28025     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
28026   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
28027   ac_status=$?
28028   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28029   test $ac_status = 0; }; then
28030   pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
28031                       test "x$?" != "x0" && pkg_failed=yes
28032 else
28033   pkg_failed=yes
28034 fi
28035  else
28036     pkg_failed=untried
28037 fi
28038
28039
28040
28041 if test $pkg_failed = yes; then
28042         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28043 $as_echo "no" >&6; }
28044
28045 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28046         _pkg_short_errors_supported=yes
28047 else
28048         _pkg_short_errors_supported=no
28049 fi
28050         if test $_pkg_short_errors_supported = yes; then
28051                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
28052         else
28053                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
28054         fi
28055         # Put the nasty error message in config.log where it belongs
28056         echo "$GL_EET_PKG_ERRORS" >&5
28057
28058         have_dep="no"
28059 elif test $pkg_failed = untried; then
28060         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28061 $as_echo "no" >&6; }
28062         have_dep="no"
28063 else
28064         GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
28065         GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
28066         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28067 $as_echo "yes" >&6; }
28068         have_dep="yes"
28069 fi
28070          if test "x${have_dep}" = "xyes" ; then
28071             evas_engine_gl_xlib_cflags="${x_cflags}"
28072             evas_engine_gl_xlib_libs="${x_libs} -lGLESv2 -lEGL -lm $gl_pt_lib"
28073             evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
28074             have_dep="yes"
28075
28076 $as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
28077
28078             gles_variety_sgx="yes"
28079          fi
28080       fi
28081    fi
28082 fi
28083
28084
28085
28086
28087
28088 if test "x${have_dep}" = "xyes" ; then
28089   have_engine="yes"
28090 else
28091   have_engine="no"
28092 fi
28093
28094
28095 fi
28096
28097 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28098    as_fn_error $? "OpenGL XLib dependencies not found (strict dependencies checking)" "$LINENO" 5
28099 fi
28100
28101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL XLib rendering backend will be built" >&5
28102 $as_echo_n "checking whether OpenGL XLib rendering backend will be built... " >&6; }
28103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
28104 $as_echo "${have_engine}" >&6; }
28105
28106 if test "x${have_engine}" = "xyes" ; then
28107    if test "x${want_engine}" = "xstatic" ; then
28108       have_evas_engine_gl_xlib="static"
28109       want_static_engine="yes"
28110    else
28111       have_evas_engine_gl_xlib="yes"
28112    fi
28113 fi
28114
28115 if test "x${have_engine}" = "xyes" ; then
28116
28117 $as_echo "#define BUILD_ENGINE_GL_XLIB 1" >>confdefs.h
28118
28119 fi
28120
28121  if test "x${have_engine}" = "xyes"; then
28122   BUILD_ENGINE_GL_XLIB_TRUE=
28123   BUILD_ENGINE_GL_XLIB_FALSE='#'
28124 else
28125   BUILD_ENGINE_GL_XLIB_TRUE='#'
28126   BUILD_ENGINE_GL_XLIB_FALSE=
28127 fi
28128
28129
28130 if test "x${want_static_engine}" = "xyes" ; then
28131
28132 $as_echo "#define EVAS_STATIC_BUILD_GL_XLIB 1" >>confdefs.h
28133
28134    have_static_module="yes"
28135 fi
28136
28137  if test "x${want_static_engine}" = "xyes"; then
28138   EVAS_STATIC_BUILD_GL_XLIB_TRUE=
28139   EVAS_STATIC_BUILD_GL_XLIB_FALSE='#'
28140 else
28141   EVAS_STATIC_BUILD_GL_XLIB_TRUE='#'
28142   EVAS_STATIC_BUILD_GL_XLIB_FALSE=
28143 fi
28144
28145
28146
28147
28148
28149
28150   if test "x$have_evas_engine_gl_xlib" != "xno" ; then
28151     have_evas_engine_gl_x11="yes"
28152
28153 cat >>confdefs.h <<_ACEOF
28154 #define BUILD_ENGINE_GL_X11 1
28155 _ACEOF
28156
28157
28158 cat >>confdefs.h <<_ACEOF
28159 #define BUILD_ENGINE_GL_XLIB 1
28160 _ACEOF
28161
28162     if test "x$have_evas_engine_gl_xlib" = "xstatic" ; then
28163
28164 cat >>confdefs.h <<_ACEOF
28165 #define EVAS_STATIC_BUILD_GL_X11 1
28166 _ACEOF
28167
28168     fi
28169   fi
28170 else
28171   have_evas_engine_gl_xlib="no"
28172 fi
28173
28174
28175  if test "x${have_evas_engine_gl_xlib}" != "xno"; then
28176   BUILD_ENGINE_GL_XLIB_TRUE=
28177   BUILD_ENGINE_GL_XLIB_FALSE='#'
28178 else
28179   BUILD_ENGINE_GL_XLIB_TRUE='#'
28180   BUILD_ENGINE_GL_XLIB_FALSE=
28181 fi
28182
28183  if test "x${have_evas_engine_gl_xcb}" != "xno"; then
28184   BUILD_ENGINE_GL_XCB_TRUE=
28185   BUILD_ENGINE_GL_XCB_FALSE='#'
28186 else
28187   BUILD_ENGINE_GL_XCB_TRUE='#'
28188   BUILD_ENGINE_GL_XCB_FALSE=
28189 fi
28190
28191  if test "x${have_evas_engine_gl_x11}" != "xno"; then
28192   BUILD_ENGINE_GL_X11_TRUE=
28193   BUILD_ENGINE_GL_X11_FALSE='#'
28194 else
28195   BUILD_ENGINE_GL_X11_TRUE='#'
28196   BUILD_ENGINE_GL_X11_FALSE=
28197 fi
28198
28199
28200  if test "x${have_evas_engine_gl_xcb}" = "xstatic" -o "x${have_evas_engine_gl_xlib}" = "xstatic"; then
28201   EVAS_STATIC_BUILD_GL_X11_TRUE=
28202   EVAS_STATIC_BUILD_GL_X11_FALSE='#'
28203 else
28204   EVAS_STATIC_BUILD_GL_X11_TRUE='#'
28205   EVAS_STATIC_BUILD_GL_X11_FALSE=
28206 fi
28207
28208  if test "x${have_evas_engine_gl_xlib}" = "xstatic"; then
28209   EVAS_STATIC_BUILD_GL_XLIB_TRUE=
28210   EVAS_STATIC_BUILD_GL_XLIB_FALSE='#'
28211 else
28212   EVAS_STATIC_BUILD_GL_XLIB_TRUE='#'
28213   EVAS_STATIC_BUILD_GL_XLIB_FALSE=
28214 fi
28215
28216  if test "x${have_evas_engine_gl_xcb}" = "xstatic"; then
28217   EVAS_STATIC_BUILD_GL_XCB_TRUE=
28218   EVAS_STATIC_BUILD_GL_XCB_FALSE='#'
28219 else
28220   EVAS_STATIC_BUILD_GL_XCB_TRUE='#'
28221   EVAS_STATIC_BUILD_GL_XCB_FALSE=
28222 fi
28223
28224
28225
28226
28227 # common gl
28228 have_evas_engine_gl_common="no"
28229 have_static_evas_engine_gl_common="no"
28230 if test "x$have_evas_engine_gl_xlib" = "xyes" \
28231    || test "x$have_evas_engine_gl_xcb" = "xyes" \
28232    || test "x$have_evas_engine_gl_sdl" = "xyes" \
28233    || test "x$have_evas_engine_gl_cocoa" = "xyes" \
28234    || test "x$have_evas_engine_wayland_egl" = "xyes"; then
28235    have_evas_engine_gl_common="yes"
28236 fi
28237 if test "x$have_evas_engine_gl_xlib" = "xstatic" \
28238    || test "x$have_evas_engine_gl_xcb" = "xstatic" \
28239    || test "x$have_evas_engine_gl_sdl" = "xstatic" \
28240    || test "x$have_evas_engine_gl_cocoa" = "xstatic" \
28241    || test "x$have_evas_engine_wayland_egl" = "xstatic"; then
28242    have_evas_engine_gl_common="yes"
28243    have_static_evas_engine_gl_common="yes"
28244 fi
28245
28246 if test "x$have_evas_engine_gl_common" = "xyes"; then
28247    evas_engine_gl_common_libs=""
28248
28249 $as_echo "#define BUILD_ENGINE_GL_COMMON 1" >>confdefs.h
28250
28251 fi
28252
28253
28254
28255  if test "x$have_evas_engine_gl_common" = "xyes"; then
28256   BUILD_ENGINE_GL_COMMON_TRUE=
28257   BUILD_ENGINE_GL_COMMON_FALSE='#'
28258 else
28259   BUILD_ENGINE_GL_COMMON_TRUE='#'
28260   BUILD_ENGINE_GL_COMMON_FALSE=
28261 fi
28262
28263
28264  if test "x${have_static_evas_engine_gl_common}" = "xyes"; then
28265   EVAS_STATIC_BUILD_GL_COMMON_TRUE=
28266   EVAS_STATIC_BUILD_GL_COMMON_FALSE='#'
28267 else
28268   EVAS_STATIC_BUILD_GL_COMMON_TRUE='#'
28269   EVAS_STATIC_BUILD_GL_COMMON_FALSE=
28270 fi
28271
28272 if test "x${have_static_evas_engine_gl_common}" = "xyes"; then
28273
28274 $as_echo "#define EVAS_STATIC_BUILD_GL_COMMON 1" >>confdefs.h
28275
28276 fi
28277
28278 # gl_sdl
28279 if test "x$have_evas_engine_gl_sdl" = "xyes" || test "x$have_evas_engine_gl_sdl" = "xstatic" ; then
28280    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>
28281 "
28282 if test "x$ac_cv_have_decl_SDL_GL_CONTEXT_MAJOR_VERSION" = xyes; then :
28283
28284 $as_echo "#define HAVE_SDL_GL_CONTEXT_VERSION 1" >>confdefs.h
28285
28286 fi
28287
28288 fi
28289
28290 if test "x$gl_flavor_gles" = "xyes"; then
28291    ac_fn_c_check_decl "$LINENO" "SDL_OPENGLES" "ac_cv_have_decl_SDL_OPENGLES" "#include <SDL/SDL_video.h>
28292 "
28293 if test "x$ac_cv_have_decl_SDL_OPENGLES" = xyes; then :
28294
28295 $as_echo "#define HAVE_SDL_FLAG_OPENGLES 1" >>confdefs.h
28296
28297 fi
28298
28299 fi
28300
28301 # if software 16 x11 is enabled - build software_16 (the generic 16bit
28302 # engine). later enable it fb_16 or other "16" bit engines are enabled.
28303 have_evas_engine_software_16="no"
28304 if test "x$have_evas_engine_software_16_x11" = "xyes" -o "x$have_evas_engine_software_16_x11" = "xstatic"; then
28305    have_evas_engine_software_16="yes"
28306 fi
28307 if test "x$have_evas_engine_software_16_sdl" = "xyes" -o "x$have_evas_engine_software_16_sdl" = "xstatic"; then
28308    have_evas_engine_software_16="yes"
28309 fi
28310 if test "x$have_evas_engine_software_16_wince" = "xyes" -o "x$have_evas_engine_software_16_wince" = "xstatic"; then
28311    have_evas_engine_software_16="yes"
28312 fi
28313  if test "x$have_evas_engine_software_16" = "xyes"; then
28314   BUILD_ENGINE_SOFTWARE_16_TRUE=
28315   BUILD_ENGINE_SOFTWARE_16_FALSE='#'
28316 else
28317   BUILD_ENGINE_SOFTWARE_16_TRUE='#'
28318   BUILD_ENGINE_SOFTWARE_16_FALSE=
28319 fi
28320
28321
28322 # if software 16 need to be build as part of libevas.so
28323 have_static_software_16="no"
28324 # Check whether --enable-static-software-16 was given.
28325 if test "${enable_static_software_16+set}" = set; then :
28326   enableval=$enable_static_software_16; have_static_software_16=${enableval}
28327
28328 fi
28329
28330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to build software 16 engine as part of libevas" >&5
28331 $as_echo_n "checking Whether to build software 16 engine as part of libevas... " >&6; }
28332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_static_software_16}" >&5
28333 $as_echo "${have_static_software_16}" >&6; }
28334
28335  if test "x${have_static_software_16}" = "xyes"; then
28336   EVAS_STATIC_BUILD_SOFTWARE_16_TRUE=
28337   EVAS_STATIC_BUILD_SOFTWARE_16_FALSE='#'
28338 else
28339   EVAS_STATIC_BUILD_SOFTWARE_16_TRUE='#'
28340   EVAS_STATIC_BUILD_SOFTWARE_16_FALSE=
28341 fi
28342
28343 if test "x${have_static_software_16}" = "xyes"; then
28344
28345 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16 1" >>confdefs.h
28346
28347 fi
28348
28349 # if software 8 x11 is enabled - build software_8 (the generic 8bit
28350 # engine).
28351 have_evas_engine_software_8="no"
28352 if test "x$have_evas_engine_software_8_x11" = "xyes" -o "x$have_evas_engine_software_8_x11" = "xstatic"; then
28353    have_evas_engine_software_8="yes"
28354 fi
28355  if test "x$have_evas_engine_software_8" = "xyes"; then
28356   BUILD_ENGINE_SOFTWARE_8_TRUE=
28357   BUILD_ENGINE_SOFTWARE_8_FALSE='#'
28358 else
28359   BUILD_ENGINE_SOFTWARE_8_TRUE='#'
28360   BUILD_ENGINE_SOFTWARE_8_FALSE=
28361 fi
28362
28363
28364 # if software 8 need to be build as part of libevas.so
28365 have_static_software_8="no"
28366 # Check whether --enable-static-software-8 was given.
28367 if test "${enable_static_software_8+set}" = set; then :
28368   enableval=$enable_static_software_8; have_static_software_8=${enableval}
28369
28370 fi
28371
28372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to build software 8 engine as part of libevas" >&5
28373 $as_echo_n "checking Whether to build software 8 engine as part of libevas... " >&6; }
28374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_static_software_8}" >&5
28375 $as_echo "${have_static_software_8}" >&6; }
28376
28377  if test "x${have_static_software_8}" = "xyes"; then
28378   EVAS_STATIC_BUILD_SOFTWARE_8_TRUE=
28379   EVAS_STATIC_BUILD_SOFTWARE_8_FALSE='#'
28380 else
28381   EVAS_STATIC_BUILD_SOFTWARE_8_TRUE='#'
28382   EVAS_STATIC_BUILD_SOFTWARE_8_FALSE=
28383 fi
28384
28385 if test "x${have_static_software_8}" = "xyes"; then
28386
28387 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_8 1" >>confdefs.h
28388
28389 fi
28390
28391 #####################################################################
28392 ## Image loaders
28393
28394
28395
28396
28397
28398
28399 want_loader="${want_evas_image_loader_edb}"
28400 want_static_loader="no"
28401 have_loader="no"
28402 have_evas_image_loader_edb="no"
28403
28404 # Check whether --enable-image-loader-edb was given.
28405 if test "${enable_image_loader_edb+set}" = set; then :
28406   enableval=$enable_image_loader_edb;
28407     if test "x${enableval}" = "xyes" ; then
28408        want_loader="yes"
28409     else
28410        if test "x${enableval}" = "xstatic" ; then
28411           want_loader="static"
28412        else
28413           want_loader="no"
28414        fi
28415     fi
28416
28417
28418 fi
28419
28420
28421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Edb image loader" >&5
28422 $as_echo_n "checking whether to enable Edb image loader... " >&6; }
28423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28424 $as_echo "${want_loader}" >&6; }
28425
28426 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
28427
28428
28429 requirement=""
28430 have_dep="no"
28431 evas_image_loader_edb_cflags=""
28432 evas_image_loader_edb_libs=""
28433
28434
28435 pkg_failed=no
28436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDB" >&5
28437 $as_echo_n "checking for EDB... " >&6; }
28438
28439 if test -n "$EDB_CFLAGS"; then
28440     pkg_cv_EDB_CFLAGS="$EDB_CFLAGS"
28441  elif test -n "$PKG_CONFIG"; then
28442     if test -n "$PKG_CONFIG" && \
28443     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edb\""; } >&5
28444   ($PKG_CONFIG --exists --print-errors "edb") 2>&5
28445   ac_status=$?
28446   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28447   test $ac_status = 0; }; then
28448   pkg_cv_EDB_CFLAGS=`$PKG_CONFIG --cflags "edb" 2>/dev/null`
28449                       test "x$?" != "x0" && pkg_failed=yes
28450 else
28451   pkg_failed=yes
28452 fi
28453  else
28454     pkg_failed=untried
28455 fi
28456 if test -n "$EDB_LIBS"; then
28457     pkg_cv_EDB_LIBS="$EDB_LIBS"
28458  elif test -n "$PKG_CONFIG"; then
28459     if test -n "$PKG_CONFIG" && \
28460     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edb\""; } >&5
28461   ($PKG_CONFIG --exists --print-errors "edb") 2>&5
28462   ac_status=$?
28463   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28464   test $ac_status = 0; }; then
28465   pkg_cv_EDB_LIBS=`$PKG_CONFIG --libs "edb" 2>/dev/null`
28466                       test "x$?" != "x0" && pkg_failed=yes
28467 else
28468   pkg_failed=yes
28469 fi
28470  else
28471     pkg_failed=untried
28472 fi
28473
28474
28475
28476 if test $pkg_failed = yes; then
28477         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28478 $as_echo "no" >&6; }
28479
28480 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28481         _pkg_short_errors_supported=yes
28482 else
28483         _pkg_short_errors_supported=no
28484 fi
28485         if test $_pkg_short_errors_supported = yes; then
28486                 EDB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "edb" 2>&1`
28487         else
28488                 EDB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "edb" 2>&1`
28489         fi
28490         # Put the nasty error message in config.log where it belongs
28491         echo "$EDB_PKG_ERRORS" >&5
28492
28493         have_dep="no"
28494 elif test $pkg_failed = untried; then
28495         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28496 $as_echo "no" >&6; }
28497         have_dep="no"
28498 else
28499         EDB_CFLAGS=$pkg_cv_EDB_CFLAGS
28500         EDB_LIBS=$pkg_cv_EDB_LIBS
28501         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28502 $as_echo "yes" >&6; }
28503         have_dep="yes" requirement="edb"
28504 fi
28505 evas_image_loader_edb_cflags="${EDB_CFLAGS}"
28506 evas_image_loader_edb_libs="${EDB_LIBS}"
28507
28508
28509
28510
28511 if test "x${want_loader}" = "xstatic" ; then
28512    requirement_evas="${requirement} ${requirement_evas}"
28513 fi
28514
28515 if test "x${have_dep}" = "xyes" ; then
28516   have_loader="yes"
28517 else
28518   have_loader="no"
28519 fi
28520
28521
28522 fi
28523
28524 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28525    as_fn_error $? "Edb dependencies not found (strict dependencies checking)" "$LINENO" 5
28526 fi
28527
28528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Edb image loader will be built" >&5
28529 $as_echo_n "checking whether Edb image loader will be built... " >&6; }
28530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
28531 $as_echo "${have_loader}" >&6; }
28532
28533 if test "x${have_loader}" = "xyes" ; then
28534    if test "x${want_loader}" = "xstatic" ; then
28535       have_evas_image_loader_edb="static"
28536       want_static_loader="yes"
28537    else
28538       have_evas_image_loader_edb="yes"
28539    fi
28540 fi
28541
28542 if test "x${have_loader}" = "xyes" ; then
28543
28544 $as_echo "#define BUILD_LOADER_EDB 1" >>confdefs.h
28545
28546 fi
28547
28548  if test "x${have_loader}" = "xyes"; then
28549   BUILD_LOADER_EDB_TRUE=
28550   BUILD_LOADER_EDB_FALSE='#'
28551 else
28552   BUILD_LOADER_EDB_TRUE='#'
28553   BUILD_LOADER_EDB_FALSE=
28554 fi
28555
28556
28557 if test "x${want_static_loader}" = "xyes" ; then
28558
28559 $as_echo "#define EVAS_STATIC_BUILD_EDB 1" >>confdefs.h
28560
28561    have_static_module="yes"
28562 fi
28563
28564  if test "x${want_static_loader}" = "xyes"; then
28565   EVAS_STATIC_BUILD_EDB_TRUE=
28566   EVAS_STATIC_BUILD_EDB_FALSE='#'
28567 else
28568   EVAS_STATIC_BUILD_EDB_TRUE='#'
28569   EVAS_STATIC_BUILD_EDB_FALSE=
28570 fi
28571
28572
28573
28574
28575
28576
28577
28578
28579
28580
28581
28582
28583 want_loader="${want_evas_image_loader_eet}"
28584 want_static_loader="no"
28585 have_loader="no"
28586 have_evas_image_loader_eet="no"
28587
28588 # Check whether --enable-image-loader-eet was given.
28589 if test "${enable_image_loader_eet+set}" = set; then :
28590   enableval=$enable_image_loader_eet;
28591     if test "x${enableval}" = "xyes" ; then
28592        want_loader="yes"
28593     else
28594        if test "x${enableval}" = "xstatic" ; then
28595           want_loader="static"
28596        else
28597           want_loader="no"
28598        fi
28599     fi
28600
28601
28602 fi
28603
28604
28605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Eet image loader" >&5
28606 $as_echo_n "checking whether to enable Eet image loader... " >&6; }
28607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28608 $as_echo "${want_loader}" >&6; }
28609
28610 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
28611
28612
28613 requirement=""
28614 have_dep="no"
28615 evas_image_loader_eet_cflags=""
28616 evas_image_loader_eet_libs=""
28617
28618
28619 pkg_failed=no
28620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EET" >&5
28621 $as_echo_n "checking for EET... " >&6; }
28622
28623 if test -n "$EET_CFLAGS"; then
28624     pkg_cv_EET_CFLAGS="$EET_CFLAGS"
28625  elif test -n "$PKG_CONFIG"; then
28626     if test -n "$PKG_CONFIG" && \
28627     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
28628   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
28629   ac_status=$?
28630   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28631   test $ac_status = 0; }; then
28632   pkg_cv_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.0" 2>/dev/null`
28633                       test "x$?" != "x0" && pkg_failed=yes
28634 else
28635   pkg_failed=yes
28636 fi
28637  else
28638     pkg_failed=untried
28639 fi
28640 if test -n "$EET_LIBS"; then
28641     pkg_cv_EET_LIBS="$EET_LIBS"
28642  elif test -n "$PKG_CONFIG"; then
28643     if test -n "$PKG_CONFIG" && \
28644     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
28645   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
28646   ac_status=$?
28647   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28648   test $ac_status = 0; }; then
28649   pkg_cv_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.0" 2>/dev/null`
28650                       test "x$?" != "x0" && pkg_failed=yes
28651 else
28652   pkg_failed=yes
28653 fi
28654  else
28655     pkg_failed=untried
28656 fi
28657
28658
28659
28660 if test $pkg_failed = yes; then
28661         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28662 $as_echo "no" >&6; }
28663
28664 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28665         _pkg_short_errors_supported=yes
28666 else
28667         _pkg_short_errors_supported=no
28668 fi
28669         if test $_pkg_short_errors_supported = yes; then
28670                 EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.0" 2>&1`
28671         else
28672                 EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.0" 2>&1`
28673         fi
28674         # Put the nasty error message in config.log where it belongs
28675         echo "$EET_PKG_ERRORS" >&5
28676
28677         have_dep="no"
28678 elif test $pkg_failed = untried; then
28679         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28680 $as_echo "no" >&6; }
28681         have_dep="no"
28682 else
28683         EET_CFLAGS=$pkg_cv_EET_CFLAGS
28684         EET_LIBS=$pkg_cv_EET_LIBS
28685         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28686 $as_echo "yes" >&6; }
28687         have_dep="yes" requirement="eet >= 1.4.0"
28688 fi
28689 evas_image_loader_eet_cflags="${EET_CFLAGS}"
28690 evas_image_loader_eet_libs="${EET_LIBS}"
28691
28692
28693
28694
28695 if test "x${want_loader}" = "xstatic" ; then
28696    requirement_evas="${requirement} ${requirement_evas}"
28697 fi
28698
28699 if test "x${have_dep}" = "xyes" ; then
28700   have_loader="yes"
28701 else
28702   have_loader="no"
28703 fi
28704
28705
28706 fi
28707
28708 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28709    as_fn_error $? "Eet dependencies not found (strict dependencies checking)" "$LINENO" 5
28710 fi
28711
28712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Eet image loader will be built" >&5
28713 $as_echo_n "checking whether Eet image loader will be built... " >&6; }
28714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
28715 $as_echo "${have_loader}" >&6; }
28716
28717 if test "x${have_loader}" = "xyes" ; then
28718    if test "x${want_loader}" = "xstatic" ; then
28719       have_evas_image_loader_eet="static"
28720       want_static_loader="yes"
28721    else
28722       have_evas_image_loader_eet="yes"
28723    fi
28724 fi
28725
28726 if test "x${have_loader}" = "xyes" ; then
28727
28728 $as_echo "#define BUILD_LOADER_EET 1" >>confdefs.h
28729
28730 fi
28731
28732  if test "x${have_loader}" = "xyes"; then
28733   BUILD_LOADER_EET_TRUE=
28734   BUILD_LOADER_EET_FALSE='#'
28735 else
28736   BUILD_LOADER_EET_TRUE='#'
28737   BUILD_LOADER_EET_FALSE=
28738 fi
28739
28740
28741 if test "x${want_static_loader}" = "xyes" ; then
28742
28743 $as_echo "#define EVAS_STATIC_BUILD_EET 1" >>confdefs.h
28744
28745    have_static_module="yes"
28746 fi
28747
28748  if test "x${want_static_loader}" = "xyes"; then
28749   EVAS_STATIC_BUILD_EET_TRUE=
28750   EVAS_STATIC_BUILD_EET_FALSE='#'
28751 else
28752   EVAS_STATIC_BUILD_EET_TRUE='#'
28753   EVAS_STATIC_BUILD_EET_FALSE=
28754 fi
28755
28756
28757
28758
28759
28760
28761
28762
28763
28764 want_loader="${want_evas_font_loader_eet}"
28765 have_evas_font_loader_eet="no"
28766
28767 # Check whether --enable-font-loader-eet was given.
28768 if test "${enable_font_loader_eet+set}" = set; then :
28769   enableval=$enable_font_loader_eet; want_loader=${enableval}
28770
28771 fi
28772
28773
28774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Eet font loader" >&5
28775 $as_echo_n "checking whether to enable Eet font loader... " >&6; }
28776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28777 $as_echo "${want_loader}" >&6; }
28778
28779 if test "x$want_loader" = "xyes" -o "x$want_loader" = "xauto"; then
28780
28781 pkg_failed=no
28782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EET" >&5
28783 $as_echo_n "checking for EET... " >&6; }
28784
28785 if test -n "$EET_CFLAGS"; then
28786     pkg_cv_EET_CFLAGS="$EET_CFLAGS"
28787  elif test -n "$PKG_CONFIG"; then
28788     if test -n "$PKG_CONFIG" && \
28789     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
28790   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
28791   ac_status=$?
28792   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28793   test $ac_status = 0; }; then
28794   pkg_cv_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.0" 2>/dev/null`
28795                       test "x$?" != "x0" && pkg_failed=yes
28796 else
28797   pkg_failed=yes
28798 fi
28799  else
28800     pkg_failed=untried
28801 fi
28802 if test -n "$EET_LIBS"; then
28803     pkg_cv_EET_LIBS="$EET_LIBS"
28804  elif test -n "$PKG_CONFIG"; then
28805     if test -n "$PKG_CONFIG" && \
28806     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
28807   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
28808   ac_status=$?
28809   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28810   test $ac_status = 0; }; then
28811   pkg_cv_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.0" 2>/dev/null`
28812                       test "x$?" != "x0" && pkg_failed=yes
28813 else
28814   pkg_failed=yes
28815 fi
28816  else
28817     pkg_failed=untried
28818 fi
28819
28820
28821
28822 if test $pkg_failed = yes; then
28823         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28824 $as_echo "no" >&6; }
28825
28826 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28827         _pkg_short_errors_supported=yes
28828 else
28829         _pkg_short_errors_supported=no
28830 fi
28831         if test $_pkg_short_errors_supported = yes; then
28832                 EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.0" 2>&1`
28833         else
28834                 EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.0" 2>&1`
28835         fi
28836         # Put the nasty error message in config.log where it belongs
28837         echo "$EET_PKG_ERRORS" >&5
28838
28839         have_evas_font_loader_eet="no"
28840 elif test $pkg_failed = untried; then
28841         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28842 $as_echo "no" >&6; }
28843         have_evas_font_loader_eet="no"
28844 else
28845         EET_CFLAGS=$pkg_cv_EET_CFLAGS
28846         EET_LIBS=$pkg_cv_EET_LIBS
28847         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28848 $as_echo "yes" >&6; }
28849         have_evas_font_loader_eet="yes"
28850 fi
28851 fi
28852
28853 if test "x${have_evas_font_loader_eet}" = "xno" -a "x$want_loader" = "xyes" -a "x$use_strict" = "xyes" ; then
28854    as_fn_error $? "Eet dependencies not found (strict dependencies checking)" "$LINENO" 5
28855 fi
28856
28857 if test "x$have_evas_font_loader_eet" = "xyes" ; then
28858
28859 $as_echo "#define BUILD_FONT_LOADER_EET 1" >>confdefs.h
28860
28861    requirement_evas="eet >= 1.6.0 ${requirement_evas}"
28862 fi
28863
28864
28865
28866
28867
28868
28869
28870
28871
28872
28873
28874 want_loader="${want_evas_image_loader_gif}"
28875 want_static_loader="no"
28876 have_loader="no"
28877 have_evas_image_loader_gif="no"
28878
28879 # Check whether --enable-image-loader-gif was given.
28880 if test "${enable_image_loader_gif+set}" = set; then :
28881   enableval=$enable_image_loader_gif;
28882     if test "x${enableval}" = "xyes" ; then
28883        want_loader="yes"
28884     else
28885        if test "x${enableval}" = "xstatic" ; then
28886           want_loader="static"
28887        else
28888           want_loader="no"
28889        fi
28890     fi
28891
28892
28893 fi
28894
28895
28896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Gif image loader" >&5
28897 $as_echo_n "checking whether to enable Gif image loader... " >&6; }
28898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28899 $as_echo "${want_loader}" >&6; }
28900
28901 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
28902
28903
28904 have_dep="no"
28905 evas_image_loader_gif_cflags=""
28906 evas_image_loader_gif_libs=""
28907
28908 ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default"
28909 if test "x$ac_cv_header_gif_lib_h" = xyes; then :
28910   have_dep="yes"
28911 fi
28912
28913
28914
28915 if test "x${have_dep}"  = "xyes" ; then
28916    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DGifOpenFileName in -lgif" >&5
28917 $as_echo_n "checking for DGifOpenFileName in -lgif... " >&6; }
28918 if ${ac_cv_lib_gif_DGifOpenFileName+:} false; then :
28919   $as_echo_n "(cached) " >&6
28920 else
28921   ac_check_lib_save_LIBS=$LIBS
28922 LIBS="-lgif  $LIBS"
28923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28924 /* end confdefs.h.  */
28925
28926 /* Override any GCC internal prototype to avoid an error.
28927    Use char because int might match the return type of a GCC
28928    builtin and then its argument prototype would still apply.  */
28929 #ifdef __cplusplus
28930 extern "C"
28931 #endif
28932 char DGifOpenFileName ();
28933 int
28934 main ()
28935 {
28936 return DGifOpenFileName ();
28937   ;
28938   return 0;
28939 }
28940 _ACEOF
28941 if ac_fn_c_try_link "$LINENO"; then :
28942   ac_cv_lib_gif_DGifOpenFileName=yes
28943 else
28944   ac_cv_lib_gif_DGifOpenFileName=no
28945 fi
28946 rm -f core conftest.err conftest.$ac_objext \
28947     conftest$ac_exeext conftest.$ac_ext
28948 LIBS=$ac_check_lib_save_LIBS
28949 fi
28950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_DGifOpenFileName" >&5
28951 $as_echo "$ac_cv_lib_gif_DGifOpenFileName" >&6; }
28952 if test "x$ac_cv_lib_gif_DGifOpenFileName" = xyes; then :
28953
28954        evas_image_loader_gif_libs="-lgif"
28955
28956 else
28957   have_dep="no"
28958
28959 fi
28960
28961
28962    if test "x${have_dep}"  = "xno" ; then
28963       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DGifOpenFileName in -lungif" >&5
28964 $as_echo_n "checking for DGifOpenFileName in -lungif... " >&6; }
28965 if ${ac_cv_lib_ungif_DGifOpenFileName+:} false; then :
28966   $as_echo_n "(cached) " >&6
28967 else
28968   ac_check_lib_save_LIBS=$LIBS
28969 LIBS="-lungif  $LIBS"
28970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28971 /* end confdefs.h.  */
28972
28973 /* Override any GCC internal prototype to avoid an error.
28974    Use char because int might match the return type of a GCC
28975    builtin and then its argument prototype would still apply.  */
28976 #ifdef __cplusplus
28977 extern "C"
28978 #endif
28979 char DGifOpenFileName ();
28980 int
28981 main ()
28982 {
28983 return DGifOpenFileName ();
28984   ;
28985   return 0;
28986 }
28987 _ACEOF
28988 if ac_fn_c_try_link "$LINENO"; then :
28989   ac_cv_lib_ungif_DGifOpenFileName=yes
28990 else
28991   ac_cv_lib_ungif_DGifOpenFileName=no
28992 fi
28993 rm -f core conftest.err conftest.$ac_objext \
28994     conftest$ac_exeext conftest.$ac_ext
28995 LIBS=$ac_check_lib_save_LIBS
28996 fi
28997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_DGifOpenFileName" >&5
28998 $as_echo "$ac_cv_lib_ungif_DGifOpenFileName" >&6; }
28999 if test "x$ac_cv_lib_ungif_DGifOpenFileName" = xyes; then :
29000
29001           have_dep="yes"
29002           evas_image_loader_gif_libs="-lungif"
29003
29004
29005 fi
29006
29007    fi
29008 fi
29009
29010
29011
29012
29013 if test "x${have_dep}" = "xyes" ; then
29014   have_loader="yes"
29015 else
29016   have_loader="no"
29017 fi
29018
29019
29020 fi
29021
29022 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29023    as_fn_error $? "Gif dependencies not found (strict dependencies checking)" "$LINENO" 5
29024 fi
29025
29026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Gif image loader will be built" >&5
29027 $as_echo_n "checking whether Gif image loader will be built... " >&6; }
29028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29029 $as_echo "${have_loader}" >&6; }
29030
29031 if test "x${have_loader}" = "xyes" ; then
29032    if test "x${want_loader}" = "xstatic" ; then
29033       have_evas_image_loader_gif="static"
29034       want_static_loader="yes"
29035    else
29036       have_evas_image_loader_gif="yes"
29037    fi
29038 fi
29039
29040 if test "x${have_loader}" = "xyes" ; then
29041
29042 $as_echo "#define BUILD_LOADER_GIF 1" >>confdefs.h
29043
29044 fi
29045
29046  if test "x${have_loader}" = "xyes"; then
29047   BUILD_LOADER_GIF_TRUE=
29048   BUILD_LOADER_GIF_FALSE='#'
29049 else
29050   BUILD_LOADER_GIF_TRUE='#'
29051   BUILD_LOADER_GIF_FALSE=
29052 fi
29053
29054
29055 if test "x${want_static_loader}" = "xyes" ; then
29056
29057 $as_echo "#define EVAS_STATIC_BUILD_GIF 1" >>confdefs.h
29058
29059    have_static_module="yes"
29060 fi
29061
29062  if test "x${want_static_loader}" = "xyes"; then
29063   EVAS_STATIC_BUILD_GIF_TRUE=
29064   EVAS_STATIC_BUILD_GIF_FALSE='#'
29065 else
29066   EVAS_STATIC_BUILD_GIF_TRUE='#'
29067   EVAS_STATIC_BUILD_GIF_FALSE=
29068 fi
29069
29070
29071
29072
29073
29074
29075
29076 have_evas_image_saver_jpeg="no"
29077
29078
29079
29080
29081
29082 want_loader="${want_evas_image_loader_jpeg}"
29083 want_static_loader="no"
29084 have_loader="no"
29085 have_evas_image_loader_jpeg="no"
29086
29087 # Check whether --enable-image-loader-jpeg was given.
29088 if test "${enable_image_loader_jpeg+set}" = set; then :
29089   enableval=$enable_image_loader_jpeg;
29090     if test "x${enableval}" = "xyes" ; then
29091        want_loader="yes"
29092     else
29093        if test "x${enableval}" = "xstatic" ; then
29094           want_loader="static"
29095        else
29096           want_loader="no"
29097        fi
29098     fi
29099
29100
29101 fi
29102
29103
29104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Jpeg image loader" >&5
29105 $as_echo_n "checking whether to enable Jpeg image loader... " >&6; }
29106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29107 $as_echo "${want_loader}" >&6; }
29108
29109 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29110
29111
29112 have_dep="no"
29113 evas_image_loader_jpeg_cflags=""
29114 evas_image_loader_jpeg_libs=""
29115
29116 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
29117 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
29118   have_dep="yes"
29119 fi
29120
29121
29122
29123 if test "x${have_dep}"  = "xyes" ; then
29124    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_CreateDecompress in -ljpeg" >&5
29125 $as_echo_n "checking for jpeg_CreateDecompress in -ljpeg... " >&6; }
29126 if ${ac_cv_lib_jpeg_jpeg_CreateDecompress+:} false; then :
29127   $as_echo_n "(cached) " >&6
29128 else
29129   ac_check_lib_save_LIBS=$LIBS
29130 LIBS="-ljpeg  $LIBS"
29131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29132 /* end confdefs.h.  */
29133
29134 /* Override any GCC internal prototype to avoid an error.
29135    Use char because int might match the return type of a GCC
29136    builtin and then its argument prototype would still apply.  */
29137 #ifdef __cplusplus
29138 extern "C"
29139 #endif
29140 char jpeg_CreateDecompress ();
29141 int
29142 main ()
29143 {
29144 return jpeg_CreateDecompress ();
29145   ;
29146   return 0;
29147 }
29148 _ACEOF
29149 if ac_fn_c_try_link "$LINENO"; then :
29150   ac_cv_lib_jpeg_jpeg_CreateDecompress=yes
29151 else
29152   ac_cv_lib_jpeg_jpeg_CreateDecompress=no
29153 fi
29154 rm -f core conftest.err conftest.$ac_objext \
29155     conftest$ac_exeext conftest.$ac_ext
29156 LIBS=$ac_check_lib_save_LIBS
29157 fi
29158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_CreateDecompress" >&5
29159 $as_echo "$ac_cv_lib_jpeg_jpeg_CreateDecompress" >&6; }
29160 if test "x$ac_cv_lib_jpeg_jpeg_CreateDecompress" = xyes; then :
29161
29162        evas_image_loader_jpeg_libs="-ljpeg"
29163        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29164 /* end confdefs.h.  */
29165
29166 #include <stdio.h>
29167 #include <jpeglib.h>
29168 #include <setjmp.h>
29169
29170 int
29171 main ()
29172 {
29173
29174 struct jpeg_decompress_struct decomp;
29175 decomp.region_x = 0;
29176
29177   ;
29178   return 0;
29179 }
29180 _ACEOF
29181 if ac_fn_c_try_compile "$LINENO"; then :
29182   have_jpeg_region="yes"
29183 else
29184   have_jpeg_region="no"
29185 fi
29186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29187
29188 else
29189   have_dep="no"
29190
29191 fi
29192
29193    if test "x${have_jpeg_region}" = "xyes" ; then
29194
29195 $as_echo "#define BUILD_LOADER_JPEG_REGION 1" >>confdefs.h
29196
29197    fi
29198 fi
29199
29200
29201
29202
29203 if test "x${have_dep}" = "xyes" ; then
29204   have_loader="yes"
29205 else
29206   have_loader="no"
29207 fi
29208
29209
29210 fi
29211
29212 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29213    as_fn_error $? "Jpeg dependencies not found (strict dependencies checking)" "$LINENO" 5
29214 fi
29215
29216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Jpeg image loader will be built" >&5
29217 $as_echo_n "checking whether Jpeg image loader will be built... " >&6; }
29218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29219 $as_echo "${have_loader}" >&6; }
29220
29221 if test "x${have_loader}" = "xyes" ; then
29222    if test "x${want_loader}" = "xstatic" ; then
29223       have_evas_image_loader_jpeg="static"
29224       want_static_loader="yes"
29225    else
29226       have_evas_image_loader_jpeg="yes"
29227    fi
29228 fi
29229
29230 if test "x${have_loader}" = "xyes" ; then
29231
29232 $as_echo "#define BUILD_LOADER_JPEG 1" >>confdefs.h
29233
29234 fi
29235
29236  if test "x${have_loader}" = "xyes"; then
29237   BUILD_LOADER_JPEG_TRUE=
29238   BUILD_LOADER_JPEG_FALSE='#'
29239 else
29240   BUILD_LOADER_JPEG_TRUE='#'
29241   BUILD_LOADER_JPEG_FALSE=
29242 fi
29243
29244
29245 if test "x${want_static_loader}" = "xyes" ; then
29246
29247 $as_echo "#define EVAS_STATIC_BUILD_JPEG 1" >>confdefs.h
29248
29249    have_static_module="yes"
29250 fi
29251
29252  if test "x${want_static_loader}" = "xyes"; then
29253   EVAS_STATIC_BUILD_JPEG_TRUE=
29254   EVAS_STATIC_BUILD_JPEG_FALSE='#'
29255 else
29256   EVAS_STATIC_BUILD_JPEG_TRUE='#'
29257   EVAS_STATIC_BUILD_JPEG_FALSE=
29258 fi
29259
29260
29261
29262
29263
29264
29265
29266 case "$host_os" in
29267    mingw*)
29268       ;;
29269    *)
29270       if test "x${have_evas_image_loader_jpeg}" = "xyes" ; then
29271
29272 $as_echo "#define EVAS_BUILD_SAVER_JPEG 1" >>confdefs.h
29273
29274          have_evas_image_saver_jpeg="yes"
29275       fi
29276       ;;
29277 esac
29278  if test "x${have_evas_image_saver_jpeg}" = "xyes"; then
29279   BUILD_SAVER_JPEG_TRUE=
29280   BUILD_SAVER_JPEG_FALSE='#'
29281 else
29282   BUILD_SAVER_JPEG_TRUE='#'
29283   BUILD_SAVER_JPEG_FALSE=
29284 fi
29285
29286
29287
29288
29289
29290
29291
29292 want_loader="${want_evas_image_loader_pmaps}"
29293 want_static_loader="no"
29294 have_loader="no"
29295 have_evas_image_loader_pmaps="no"
29296
29297 # Check whether --enable-image-loader-pmaps was given.
29298 if test "${enable_image_loader_pmaps+set}" = set; then :
29299   enableval=$enable_image_loader_pmaps;
29300     if test "x${enableval}" = "xyes" ; then
29301        want_loader="yes"
29302     else
29303        if test "x${enableval}" = "xstatic" ; then
29304           want_loader="static"
29305        else
29306           want_loader="no"
29307        fi
29308     fi
29309
29310
29311 fi
29312
29313
29314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PMAPS image loader" >&5
29315 $as_echo_n "checking whether to enable PMAPS image loader... " >&6; }
29316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29317 $as_echo "${want_loader}" >&6; }
29318
29319 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29320
29321
29322 have_dep="yes"
29323 evas_image_loader_pmaps_cflags=""
29324 evas_image_loader_pmaps_libs=""
29325
29326
29327
29328
29329 if test "x${have_dep}" = "xyes" ; then
29330   have_loader="yes"
29331 else
29332   have_loader="no"
29333 fi
29334
29335
29336 fi
29337
29338 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29339    as_fn_error $? "PMAPS dependencies not found (strict dependencies checking)" "$LINENO" 5
29340 fi
29341
29342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PMAPS image loader will be built" >&5
29343 $as_echo_n "checking whether PMAPS image loader will be built... " >&6; }
29344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29345 $as_echo "${have_loader}" >&6; }
29346
29347 if test "x${have_loader}" = "xyes" ; then
29348    if test "x${want_loader}" = "xstatic" ; then
29349       have_evas_image_loader_pmaps="static"
29350       want_static_loader="yes"
29351    else
29352       have_evas_image_loader_pmaps="yes"
29353    fi
29354 fi
29355
29356 if test "x${have_loader}" = "xyes" ; then
29357
29358 $as_echo "#define BUILD_LOADER_PMAPS 1" >>confdefs.h
29359
29360 fi
29361
29362  if test "x${have_loader}" = "xyes"; then
29363   BUILD_LOADER_PMAPS_TRUE=
29364   BUILD_LOADER_PMAPS_FALSE='#'
29365 else
29366   BUILD_LOADER_PMAPS_TRUE='#'
29367   BUILD_LOADER_PMAPS_FALSE=
29368 fi
29369
29370
29371 if test "x${want_static_loader}" = "xyes" ; then
29372
29373 $as_echo "#define EVAS_STATIC_BUILD_PMAPS 1" >>confdefs.h
29374
29375    have_static_module="yes"
29376 fi
29377
29378  if test "x${want_static_loader}" = "xyes"; then
29379   EVAS_STATIC_BUILD_PMAPS_TRUE=
29380   EVAS_STATIC_BUILD_PMAPS_FALSE='#'
29381 else
29382   EVAS_STATIC_BUILD_PMAPS_TRUE='#'
29383   EVAS_STATIC_BUILD_PMAPS_FALSE=
29384 fi
29385
29386
29387
29388
29389
29390
29391
29392
29393
29394
29395
29396
29397 want_loader="${want_evas_image_loader_png}"
29398 want_static_loader="no"
29399 have_loader="no"
29400 have_evas_image_loader_png="no"
29401
29402 # Check whether --enable-image-loader-png was given.
29403 if test "${enable_image_loader_png+set}" = set; then :
29404   enableval=$enable_image_loader_png;
29405     if test "x${enableval}" = "xyes" ; then
29406        want_loader="yes"
29407     else
29408        if test "x${enableval}" = "xstatic" ; then
29409           want_loader="static"
29410        else
29411           want_loader="no"
29412        fi
29413     fi
29414
29415
29416 fi
29417
29418
29419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PNG image loader" >&5
29420 $as_echo_n "checking whether to enable PNG image loader... " >&6; }
29421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29422 $as_echo "${want_loader}" >&6; }
29423
29424 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29425
29426
29427 requirement=""
29428 have_dep="no"
29429 evas_image_loader_png_cflags=""
29430 evas_image_loader_png_libs=""
29431
29432
29433 pkg_failed=no
29434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
29435 $as_echo_n "checking for PNG... " >&6; }
29436
29437 if test -n "$PNG_CFLAGS"; then
29438     pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
29439  elif test -n "$PKG_CONFIG"; then
29440     if test -n "$PKG_CONFIG" && \
29441     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.2.10\""; } >&5
29442   ($PKG_CONFIG --exists --print-errors "libpng >= 1.2.10") 2>&5
29443   ac_status=$?
29444   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29445   test $ac_status = 0; }; then
29446   pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng >= 1.2.10" 2>/dev/null`
29447                       test "x$?" != "x0" && pkg_failed=yes
29448 else
29449   pkg_failed=yes
29450 fi
29451  else
29452     pkg_failed=untried
29453 fi
29454 if test -n "$PNG_LIBS"; then
29455     pkg_cv_PNG_LIBS="$PNG_LIBS"
29456  elif test -n "$PKG_CONFIG"; then
29457     if test -n "$PKG_CONFIG" && \
29458     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.2.10\""; } >&5
29459   ($PKG_CONFIG --exists --print-errors "libpng >= 1.2.10") 2>&5
29460   ac_status=$?
29461   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29462   test $ac_status = 0; }; then
29463   pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng >= 1.2.10" 2>/dev/null`
29464                       test "x$?" != "x0" && pkg_failed=yes
29465 else
29466   pkg_failed=yes
29467 fi
29468  else
29469     pkg_failed=untried
29470 fi
29471
29472
29473
29474 if test $pkg_failed = yes; then
29475         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29476 $as_echo "no" >&6; }
29477
29478 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29479         _pkg_short_errors_supported=yes
29480 else
29481         _pkg_short_errors_supported=no
29482 fi
29483         if test $_pkg_short_errors_supported = yes; then
29484                 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpng >= 1.2.10" 2>&1`
29485         else
29486                 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpng >= 1.2.10" 2>&1`
29487         fi
29488         # Put the nasty error message in config.log where it belongs
29489         echo "$PNG_PKG_ERRORS" >&5
29490
29491         have_dep="no"
29492 elif test $pkg_failed = untried; then
29493         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29494 $as_echo "no" >&6; }
29495         have_dep="no"
29496 else
29497         PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
29498         PNG_LIBS=$pkg_cv_PNG_LIBS
29499         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29500 $as_echo "yes" >&6; }
29501         have_dep="yes" requirement="libpng"
29502 fi
29503
29504 if test "x${have_dep}" = "xno" ; then
29505
29506 pkg_failed=no
29507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
29508 $as_echo_n "checking for PNG... " >&6; }
29509
29510 if test -n "$PNG_CFLAGS"; then
29511     pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
29512  elif test -n "$PKG_CONFIG"; then
29513     if test -n "$PKG_CONFIG" && \
29514     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng15\""; } >&5
29515   ($PKG_CONFIG --exists --print-errors "libpng15") 2>&5
29516   ac_status=$?
29517   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29518   test $ac_status = 0; }; then
29519   pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng15" 2>/dev/null`
29520                       test "x$?" != "x0" && pkg_failed=yes
29521 else
29522   pkg_failed=yes
29523 fi
29524  else
29525     pkg_failed=untried
29526 fi
29527 if test -n "$PNG_LIBS"; then
29528     pkg_cv_PNG_LIBS="$PNG_LIBS"
29529  elif test -n "$PKG_CONFIG"; then
29530     if test -n "$PKG_CONFIG" && \
29531     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng15\""; } >&5
29532   ($PKG_CONFIG --exists --print-errors "libpng15") 2>&5
29533   ac_status=$?
29534   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29535   test $ac_status = 0; }; then
29536   pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng15" 2>/dev/null`
29537                       test "x$?" != "x0" && pkg_failed=yes
29538 else
29539   pkg_failed=yes
29540 fi
29541  else
29542     pkg_failed=untried
29543 fi
29544
29545
29546
29547 if test $pkg_failed = yes; then
29548         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29549 $as_echo "no" >&6; }
29550
29551 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29552         _pkg_short_errors_supported=yes
29553 else
29554         _pkg_short_errors_supported=no
29555 fi
29556         if test $_pkg_short_errors_supported = yes; then
29557                 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpng15" 2>&1`
29558         else
29559                 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpng15" 2>&1`
29560         fi
29561         # Put the nasty error message in config.log where it belongs
29562         echo "$PNG_PKG_ERRORS" >&5
29563
29564         have_dep="no"
29565 elif test $pkg_failed = untried; then
29566         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29567 $as_echo "no" >&6; }
29568         have_dep="no"
29569 else
29570         PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
29571         PNG_LIBS=$pkg_cv_PNG_LIBS
29572         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29573 $as_echo "yes" >&6; }
29574         have_dep="yes" requirement="libpng15"
29575 fi
29576 fi
29577
29578 if test "x${have_dep}" = "xno" ; then
29579
29580 pkg_failed=no
29581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
29582 $as_echo_n "checking for PNG... " >&6; }
29583
29584 if test -n "$PNG_CFLAGS"; then
29585     pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
29586  elif test -n "$PKG_CONFIG"; then
29587     if test -n "$PKG_CONFIG" && \
29588     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng14\""; } >&5
29589   ($PKG_CONFIG --exists --print-errors "libpng14") 2>&5
29590   ac_status=$?
29591   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29592   test $ac_status = 0; }; then
29593   pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng14" 2>/dev/null`
29594                       test "x$?" != "x0" && pkg_failed=yes
29595 else
29596   pkg_failed=yes
29597 fi
29598  else
29599     pkg_failed=untried
29600 fi
29601 if test -n "$PNG_LIBS"; then
29602     pkg_cv_PNG_LIBS="$PNG_LIBS"
29603  elif test -n "$PKG_CONFIG"; then
29604     if test -n "$PKG_CONFIG" && \
29605     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng14\""; } >&5
29606   ($PKG_CONFIG --exists --print-errors "libpng14") 2>&5
29607   ac_status=$?
29608   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29609   test $ac_status = 0; }; then
29610   pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng14" 2>/dev/null`
29611                       test "x$?" != "x0" && pkg_failed=yes
29612 else
29613   pkg_failed=yes
29614 fi
29615  else
29616     pkg_failed=untried
29617 fi
29618
29619
29620
29621 if test $pkg_failed = yes; then
29622         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29623 $as_echo "no" >&6; }
29624
29625 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29626         _pkg_short_errors_supported=yes
29627 else
29628         _pkg_short_errors_supported=no
29629 fi
29630         if test $_pkg_short_errors_supported = yes; then
29631                 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpng14" 2>&1`
29632         else
29633                 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpng14" 2>&1`
29634         fi
29635         # Put the nasty error message in config.log where it belongs
29636         echo "$PNG_PKG_ERRORS" >&5
29637
29638         have_dep="no"
29639 elif test $pkg_failed = untried; then
29640         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29641 $as_echo "no" >&6; }
29642         have_dep="no"
29643 else
29644         PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
29645         PNG_LIBS=$pkg_cv_PNG_LIBS
29646         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29647 $as_echo "yes" >&6; }
29648         have_dep="yes" requirement="libpng14"
29649 fi
29650 fi
29651
29652 if test "x${have_dep}" = "xno" ; then
29653
29654 pkg_failed=no
29655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
29656 $as_echo_n "checking for PNG... " >&6; }
29657
29658 if test -n "$PNG_CFLAGS"; then
29659     pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
29660  elif test -n "$PKG_CONFIG"; then
29661     if test -n "$PKG_CONFIG" && \
29662     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng12 >= 1.2.10\""; } >&5
29663   ($PKG_CONFIG --exists --print-errors "libpng12 >= 1.2.10") 2>&5
29664   ac_status=$?
29665   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29666   test $ac_status = 0; }; then
29667   pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng12 >= 1.2.10" 2>/dev/null`
29668                       test "x$?" != "x0" && pkg_failed=yes
29669 else
29670   pkg_failed=yes
29671 fi
29672  else
29673     pkg_failed=untried
29674 fi
29675 if test -n "$PNG_LIBS"; then
29676     pkg_cv_PNG_LIBS="$PNG_LIBS"
29677  elif test -n "$PKG_CONFIG"; then
29678     if test -n "$PKG_CONFIG" && \
29679     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng12 >= 1.2.10\""; } >&5
29680   ($PKG_CONFIG --exists --print-errors "libpng12 >= 1.2.10") 2>&5
29681   ac_status=$?
29682   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29683   test $ac_status = 0; }; then
29684   pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng12 >= 1.2.10" 2>/dev/null`
29685                       test "x$?" != "x0" && pkg_failed=yes
29686 else
29687   pkg_failed=yes
29688 fi
29689  else
29690     pkg_failed=untried
29691 fi
29692
29693
29694
29695 if test $pkg_failed = yes; then
29696         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29697 $as_echo "no" >&6; }
29698
29699 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29700         _pkg_short_errors_supported=yes
29701 else
29702         _pkg_short_errors_supported=no
29703 fi
29704         if test $_pkg_short_errors_supported = yes; then
29705                 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpng12 >= 1.2.10" 2>&1`
29706         else
29707                 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpng12 >= 1.2.10" 2>&1`
29708         fi
29709         # Put the nasty error message in config.log where it belongs
29710         echo "$PNG_PKG_ERRORS" >&5
29711
29712         have_dep="no"
29713 elif test $pkg_failed = untried; then
29714         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29715 $as_echo "no" >&6; }
29716         have_dep="no"
29717 else
29718         PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
29719         PNG_LIBS=$pkg_cv_PNG_LIBS
29720         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29721 $as_echo "yes" >&6; }
29722         have_dep="yes" requirement="libpng12"
29723 fi
29724 fi
29725
29726 evas_image_loader_png_cflags="${PNG_CFLAGS}"
29727 evas_image_loader_png_libs="${PNG_LIBS}"
29728
29729
29730
29731
29732 if test "x${want_loader}" = "xstatic" ; then
29733    requirement_evas="${requirement} ${requirement_evas}"
29734 fi
29735
29736 if test "x${have_dep}" = "xyes" ; then
29737   have_loader="yes"
29738 else
29739   have_loader="no"
29740 fi
29741
29742
29743 fi
29744
29745 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29746    as_fn_error $? "PNG dependencies not found (strict dependencies checking)" "$LINENO" 5
29747 fi
29748
29749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PNG image loader will be built" >&5
29750 $as_echo_n "checking whether PNG image loader will be built... " >&6; }
29751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29752 $as_echo "${have_loader}" >&6; }
29753
29754 if test "x${have_loader}" = "xyes" ; then
29755    if test "x${want_loader}" = "xstatic" ; then
29756       have_evas_image_loader_png="static"
29757       want_static_loader="yes"
29758    else
29759       have_evas_image_loader_png="yes"
29760    fi
29761 fi
29762
29763 if test "x${have_loader}" = "xyes" ; then
29764
29765 $as_echo "#define BUILD_LOADER_PNG 1" >>confdefs.h
29766
29767 fi
29768
29769  if test "x${have_loader}" = "xyes"; then
29770   BUILD_LOADER_PNG_TRUE=
29771   BUILD_LOADER_PNG_FALSE='#'
29772 else
29773   BUILD_LOADER_PNG_TRUE='#'
29774   BUILD_LOADER_PNG_FALSE=
29775 fi
29776
29777
29778 if test "x${want_static_loader}" = "xyes" ; then
29779
29780 $as_echo "#define EVAS_STATIC_BUILD_PNG 1" >>confdefs.h
29781
29782    have_static_module="yes"
29783 fi
29784
29785  if test "x${want_static_loader}" = "xyes"; then
29786   EVAS_STATIC_BUILD_PNG_TRUE=
29787   EVAS_STATIC_BUILD_PNG_FALSE='#'
29788 else
29789   EVAS_STATIC_BUILD_PNG_TRUE='#'
29790   EVAS_STATIC_BUILD_PNG_FALSE=
29791 fi
29792
29793
29794
29795
29796
29797
29798
29799
29800
29801
29802
29803
29804 want_loader="${want_evas_image_loader_svg}"
29805 want_static_loader="no"
29806 have_loader="no"
29807 have_evas_image_loader_svg="no"
29808
29809 # Check whether --enable-image-loader-svg was given.
29810 if test "${enable_image_loader_svg+set}" = set; then :
29811   enableval=$enable_image_loader_svg;
29812     if test "x${enableval}" = "xyes" ; then
29813        want_loader="yes"
29814     else
29815        if test "x${enableval}" = "xstatic" ; then
29816           want_loader="static"
29817        else
29818           want_loader="no"
29819        fi
29820     fi
29821
29822
29823 fi
29824
29825
29826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable SVG image loader" >&5
29827 $as_echo_n "checking whether to enable SVG image loader... " >&6; }
29828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29829 $as_echo "${want_loader}" >&6; }
29830
29831 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29832
29833
29834 requirement=""
29835 have_esvg="no"
29836 evas_image_loader_svg_cflags=""
29837 evas_image_loader_svg_libs=""
29838
29839
29840 pkg_failed=no
29841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SVG" >&5
29842 $as_echo_n "checking for SVG... " >&6; }
29843
29844 if test -n "$SVG_CFLAGS"; then
29845     pkg_cv_SVG_CFLAGS="$SVG_CFLAGS"
29846  elif test -n "$PKG_CONFIG"; then
29847     if test -n "$PKG_CONFIG" && \
29848     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"esvg >= 0.0.16\""; } >&5
29849   ($PKG_CONFIG --exists --print-errors "esvg >= 0.0.16") 2>&5
29850   ac_status=$?
29851   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29852   test $ac_status = 0; }; then
29853   pkg_cv_SVG_CFLAGS=`$PKG_CONFIG --cflags "esvg >= 0.0.16" 2>/dev/null`
29854                       test "x$?" != "x0" && pkg_failed=yes
29855 else
29856   pkg_failed=yes
29857 fi
29858  else
29859     pkg_failed=untried
29860 fi
29861 if test -n "$SVG_LIBS"; then
29862     pkg_cv_SVG_LIBS="$SVG_LIBS"
29863  elif test -n "$PKG_CONFIG"; then
29864     if test -n "$PKG_CONFIG" && \
29865     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"esvg >= 0.0.16\""; } >&5
29866   ($PKG_CONFIG --exists --print-errors "esvg >= 0.0.16") 2>&5
29867   ac_status=$?
29868   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29869   test $ac_status = 0; }; then
29870   pkg_cv_SVG_LIBS=`$PKG_CONFIG --libs "esvg >= 0.0.16" 2>/dev/null`
29871                       test "x$?" != "x0" && pkg_failed=yes
29872 else
29873   pkg_failed=yes
29874 fi
29875  else
29876     pkg_failed=untried
29877 fi
29878
29879
29880
29881 if test $pkg_failed = yes; then
29882         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29883 $as_echo "no" >&6; }
29884
29885 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29886         _pkg_short_errors_supported=yes
29887 else
29888         _pkg_short_errors_supported=no
29889 fi
29890         if test $_pkg_short_errors_supported = yes; then
29891                 SVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "esvg >= 0.0.16" 2>&1`
29892         else
29893                 SVG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "esvg >= 0.0.16" 2>&1`
29894         fi
29895         # Put the nasty error message in config.log where it belongs
29896         echo "$SVG_PKG_ERRORS" >&5
29897
29898         have_dep="no"
29899 elif test $pkg_failed = untried; then
29900         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29901 $as_echo "no" >&6; }
29902         have_dep="no"
29903 else
29904         SVG_CFLAGS=$pkg_cv_SVG_CFLAGS
29905         SVG_LIBS=$pkg_cv_SVG_LIBS
29906         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29907 $as_echo "yes" >&6; }
29908         have_dep="yes" have_esvg="yes" requirement="esvg"
29909 fi
29910
29911 if test "x${have_dep}" = "xyes" ; then
29912    evas_image_loader_svg_cflags="${SVG_CFLAGS}"
29913    evas_image_loader_svg_libs="${SVG_LIBS}"
29914 fi
29915
29916
29917
29918
29919 if test "x${want_loader}" = "xstatic" ; then
29920    requirement_evas="${requirement} ${requirement_evas}"
29921 fi
29922
29923 if test "x${have_dep}" = "xyes" ; then
29924   have_loader="yes"
29925 else
29926   have_loader="no"
29927 fi
29928
29929
29930 fi
29931
29932 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29933    as_fn_error $? "SVG dependencies not found (strict dependencies checking)" "$LINENO" 5
29934 fi
29935
29936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether SVG image loader will be built" >&5
29937 $as_echo_n "checking whether SVG image loader will be built... " >&6; }
29938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29939 $as_echo "${have_loader}" >&6; }
29940
29941 if test "x${have_loader}" = "xyes" ; then
29942    if test "x${want_loader}" = "xstatic" ; then
29943       have_evas_image_loader_svg="static"
29944       want_static_loader="yes"
29945    else
29946       have_evas_image_loader_svg="yes"
29947    fi
29948 fi
29949
29950 if test "x${have_loader}" = "xyes" ; then
29951
29952 $as_echo "#define BUILD_LOADER_SVG 1" >>confdefs.h
29953
29954 fi
29955
29956  if test "x${have_loader}" = "xyes"; then
29957   BUILD_LOADER_SVG_TRUE=
29958   BUILD_LOADER_SVG_FALSE='#'
29959 else
29960   BUILD_LOADER_SVG_TRUE='#'
29961   BUILD_LOADER_SVG_FALSE=
29962 fi
29963
29964
29965 if test "x${want_static_loader}" = "xyes" ; then
29966
29967 $as_echo "#define EVAS_STATIC_BUILD_SVG 1" >>confdefs.h
29968
29969    have_static_module="yes"
29970 fi
29971
29972  if test "x${want_static_loader}" = "xyes"; then
29973   EVAS_STATIC_BUILD_SVG_TRUE=
29974   EVAS_STATIC_BUILD_SVG_FALSE='#'
29975 else
29976   EVAS_STATIC_BUILD_SVG_TRUE='#'
29977   EVAS_STATIC_BUILD_SVG_FALSE=
29978 fi
29979
29980
29981
29982
29983
29984
29985
29986
29987
29988
29989
29990
29991 want_loader="${want_evas_image_loader_tiff}"
29992 want_static_loader="no"
29993 have_loader="no"
29994 have_evas_image_loader_tiff="no"
29995
29996 # Check whether --enable-image-loader-tiff was given.
29997 if test "${enable_image_loader_tiff+set}" = set; then :
29998   enableval=$enable_image_loader_tiff;
29999     if test "x${enableval}" = "xyes" ; then
30000        want_loader="yes"
30001     else
30002        if test "x${enableval}" = "xstatic" ; then
30003           want_loader="static"
30004        else
30005           want_loader="no"
30006        fi
30007     fi
30008
30009
30010 fi
30011
30012
30013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Tiff image loader" >&5
30014 $as_echo_n "checking whether to enable Tiff image loader... " >&6; }
30015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30016 $as_echo "${want_loader}" >&6; }
30017
30018 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30019
30020
30021 have_dep="no"
30022 evas_image_loader_tiff_cflags=""
30023 evas_image_loader_tiff_libs=""
30024
30025 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
30026 if test "x$ac_cv_header_tiffio_h" = xyes; then :
30027   have_dep="yes"
30028 fi
30029
30030
30031
30032 if test "x${have_dep}"  = "xyes" ; then
30033    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFReadScanline in -ltiff" >&5
30034 $as_echo_n "checking for TIFFReadScanline in -ltiff... " >&6; }
30035 if ${ac_cv_lib_tiff_TIFFReadScanline+:} false; then :
30036   $as_echo_n "(cached) " >&6
30037 else
30038   ac_check_lib_save_LIBS=$LIBS
30039 LIBS="-ltiff  $LIBS"
30040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30041 /* end confdefs.h.  */
30042
30043 /* Override any GCC internal prototype to avoid an error.
30044    Use char because int might match the return type of a GCC
30045    builtin and then its argument prototype would still apply.  */
30046 #ifdef __cplusplus
30047 extern "C"
30048 #endif
30049 char TIFFReadScanline ();
30050 int
30051 main ()
30052 {
30053 return TIFFReadScanline ();
30054   ;
30055   return 0;
30056 }
30057 _ACEOF
30058 if ac_fn_c_try_link "$LINENO"; then :
30059   ac_cv_lib_tiff_TIFFReadScanline=yes
30060 else
30061   ac_cv_lib_tiff_TIFFReadScanline=no
30062 fi
30063 rm -f core conftest.err conftest.$ac_objext \
30064     conftest$ac_exeext conftest.$ac_ext
30065 LIBS=$ac_check_lib_save_LIBS
30066 fi
30067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFReadScanline" >&5
30068 $as_echo "$ac_cv_lib_tiff_TIFFReadScanline" >&6; }
30069 if test "x$ac_cv_lib_tiff_TIFFReadScanline" = xyes; then :
30070
30071        evas_image_loader_tiff_libs="-ltiff"
30072
30073 else
30074   have_dep="no"
30075
30076 fi
30077
30078
30079    if test "x${have_dep}"  = "xno" ; then
30080       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFReadScanline in -ltiff" >&5
30081 $as_echo_n "checking for TIFFReadScanline in -ltiff... " >&6; }
30082 if ${ac_cv_lib_tiff_TIFFReadScanline+:} false; then :
30083   $as_echo_n "(cached) " >&6
30084 else
30085   ac_check_lib_save_LIBS=$LIBS
30086 LIBS="-ltiff  $LIBS"
30087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30088 /* end confdefs.h.  */
30089
30090 /* Override any GCC internal prototype to avoid an error.
30091    Use char because int might match the return type of a GCC
30092    builtin and then its argument prototype would still apply.  */
30093 #ifdef __cplusplus
30094 extern "C"
30095 #endif
30096 char TIFFReadScanline ();
30097 int
30098 main ()
30099 {
30100 return TIFFReadScanline ();
30101   ;
30102   return 0;
30103 }
30104 _ACEOF
30105 if ac_fn_c_try_link "$LINENO"; then :
30106   ac_cv_lib_tiff_TIFFReadScanline=yes
30107 else
30108   ac_cv_lib_tiff_TIFFReadScanline=no
30109 fi
30110 rm -f core conftest.err conftest.$ac_objext \
30111     conftest$ac_exeext conftest.$ac_ext
30112 LIBS=$ac_check_lib_save_LIBS
30113 fi
30114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFReadScanline" >&5
30115 $as_echo "$ac_cv_lib_tiff_TIFFReadScanline" >&6; }
30116 if test "x$ac_cv_lib_tiff_TIFFReadScanline" = xyes; then :
30117
30118           have_dep="yes"
30119           evas_image_loader_tiff_libs="-ltiff -ljpeg -lz -lm"
30120
30121
30122 fi
30123
30124    fi
30125
30126    if test "x${have_dep}"  = "xno" ; then
30127       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFReadScanline in -ltiff34" >&5
30128 $as_echo_n "checking for TIFFReadScanline in -ltiff34... " >&6; }
30129 if ${ac_cv_lib_tiff34_TIFFReadScanline+:} false; then :
30130   $as_echo_n "(cached) " >&6
30131 else
30132   ac_check_lib_save_LIBS=$LIBS
30133 LIBS="-ltiff34  $LIBS"
30134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30135 /* end confdefs.h.  */
30136
30137 /* Override any GCC internal prototype to avoid an error.
30138    Use char because int might match the return type of a GCC
30139    builtin and then its argument prototype would still apply.  */
30140 #ifdef __cplusplus
30141 extern "C"
30142 #endif
30143 char TIFFReadScanline ();
30144 int
30145 main ()
30146 {
30147 return TIFFReadScanline ();
30148   ;
30149   return 0;
30150 }
30151 _ACEOF
30152 if ac_fn_c_try_link "$LINENO"; then :
30153   ac_cv_lib_tiff34_TIFFReadScanline=yes
30154 else
30155   ac_cv_lib_tiff34_TIFFReadScanline=no
30156 fi
30157 rm -f core conftest.err conftest.$ac_objext \
30158     conftest$ac_exeext conftest.$ac_ext
30159 LIBS=$ac_check_lib_save_LIBS
30160 fi
30161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff34_TIFFReadScanline" >&5
30162 $as_echo "$ac_cv_lib_tiff34_TIFFReadScanline" >&6; }
30163 if test "x$ac_cv_lib_tiff34_TIFFReadScanline" = xyes; then :
30164
30165           have_dep="yes"
30166           evas_image_loader_tiff_libs="-ltiff34 -ljpeg -lz -lm"
30167
30168
30169 fi
30170
30171    fi
30172 fi
30173
30174
30175
30176
30177 if test "x${have_dep}" = "xyes" ; then
30178   have_loader="yes"
30179 else
30180   have_loader="no"
30181 fi
30182
30183
30184 fi
30185
30186 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30187    as_fn_error $? "Tiff dependencies not found (strict dependencies checking)" "$LINENO" 5
30188 fi
30189
30190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Tiff image loader will be built" >&5
30191 $as_echo_n "checking whether Tiff image loader will be built... " >&6; }
30192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30193 $as_echo "${have_loader}" >&6; }
30194
30195 if test "x${have_loader}" = "xyes" ; then
30196    if test "x${want_loader}" = "xstatic" ; then
30197       have_evas_image_loader_tiff="static"
30198       want_static_loader="yes"
30199    else
30200       have_evas_image_loader_tiff="yes"
30201    fi
30202 fi
30203
30204 if test "x${have_loader}" = "xyes" ; then
30205
30206 $as_echo "#define BUILD_LOADER_TIFF 1" >>confdefs.h
30207
30208 fi
30209
30210  if test "x${have_loader}" = "xyes"; then
30211   BUILD_LOADER_TIFF_TRUE=
30212   BUILD_LOADER_TIFF_FALSE='#'
30213 else
30214   BUILD_LOADER_TIFF_TRUE='#'
30215   BUILD_LOADER_TIFF_FALSE=
30216 fi
30217
30218
30219 if test "x${want_static_loader}" = "xyes" ; then
30220
30221 $as_echo "#define EVAS_STATIC_BUILD_TIFF 1" >>confdefs.h
30222
30223    have_static_module="yes"
30224 fi
30225
30226  if test "x${want_static_loader}" = "xyes"; then
30227   EVAS_STATIC_BUILD_TIFF_TRUE=
30228   EVAS_STATIC_BUILD_TIFF_FALSE='#'
30229 else
30230   EVAS_STATIC_BUILD_TIFF_TRUE='#'
30231   EVAS_STATIC_BUILD_TIFF_FALSE=
30232 fi
30233
30234
30235
30236
30237
30238
30239
30240
30241
30242
30243
30244
30245 want_loader="${want_evas_image_loader_xpm}"
30246 want_static_loader="no"
30247 have_loader="no"
30248 have_evas_image_loader_xpm="no"
30249
30250 # Check whether --enable-image-loader-xpm was given.
30251 if test "${enable_image_loader_xpm+set}" = set; then :
30252   enableval=$enable_image_loader_xpm;
30253     if test "x${enableval}" = "xyes" ; then
30254        want_loader="yes"
30255     else
30256        if test "x${enableval}" = "xstatic" ; then
30257           want_loader="static"
30258        else
30259           want_loader="no"
30260        fi
30261     fi
30262
30263
30264 fi
30265
30266
30267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable XPM image loader" >&5
30268 $as_echo_n "checking whether to enable XPM image loader... " >&6; }
30269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30270 $as_echo "${want_loader}" >&6; }
30271
30272 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30273
30274
30275 have_dep="yes"
30276 evas_image_loader_xpm_cflags=""
30277 evas_image_loader_xpm_libs=""
30278
30279
30280
30281
30282 if test "x${have_dep}" = "xyes" ; then
30283   have_loader="yes"
30284 else
30285   have_loader="no"
30286 fi
30287
30288
30289 fi
30290
30291 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30292    as_fn_error $? "XPM dependencies not found (strict dependencies checking)" "$LINENO" 5
30293 fi
30294
30295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XPM image loader will be built" >&5
30296 $as_echo_n "checking whether XPM image loader will be built... " >&6; }
30297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30298 $as_echo "${have_loader}" >&6; }
30299
30300 if test "x${have_loader}" = "xyes" ; then
30301    if test "x${want_loader}" = "xstatic" ; then
30302       have_evas_image_loader_xpm="static"
30303       want_static_loader="yes"
30304    else
30305       have_evas_image_loader_xpm="yes"
30306    fi
30307 fi
30308
30309 if test "x${have_loader}" = "xyes" ; then
30310
30311 $as_echo "#define BUILD_LOADER_XPM 1" >>confdefs.h
30312
30313 fi
30314
30315  if test "x${have_loader}" = "xyes"; then
30316   BUILD_LOADER_XPM_TRUE=
30317   BUILD_LOADER_XPM_FALSE='#'
30318 else
30319   BUILD_LOADER_XPM_TRUE='#'
30320   BUILD_LOADER_XPM_FALSE=
30321 fi
30322
30323
30324 if test "x${want_static_loader}" = "xyes" ; then
30325
30326 $as_echo "#define EVAS_STATIC_BUILD_XPM 1" >>confdefs.h
30327
30328    have_static_module="yes"
30329 fi
30330
30331  if test "x${want_static_loader}" = "xyes"; then
30332   EVAS_STATIC_BUILD_XPM_TRUE=
30333   EVAS_STATIC_BUILD_XPM_FALSE='#'
30334 else
30335   EVAS_STATIC_BUILD_XPM_TRUE='#'
30336   EVAS_STATIC_BUILD_XPM_FALSE=
30337 fi
30338
30339
30340
30341
30342
30343
30344
30345
30346
30347
30348
30349
30350 want_loader="${want_evas_image_loader_bmp}"
30351 want_static_loader="no"
30352 have_loader="no"
30353 have_evas_image_loader_bmp="no"
30354
30355 # Check whether --enable-image-loader-bmp was given.
30356 if test "${enable_image_loader_bmp+set}" = set; then :
30357   enableval=$enable_image_loader_bmp;
30358     if test "x${enableval}" = "xyes" ; then
30359        want_loader="yes"
30360     else
30361        if test "x${enableval}" = "xstatic" ; then
30362           want_loader="static"
30363        else
30364           want_loader="no"
30365        fi
30366     fi
30367
30368
30369 fi
30370
30371
30372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable BMP image loader" >&5
30373 $as_echo_n "checking whether to enable BMP image loader... " >&6; }
30374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30375 $as_echo "${want_loader}" >&6; }
30376
30377 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30378
30379
30380 have_dep="yes"
30381 evas_image_loader_bmp_cflags=""
30382 evas_image_loader_bmp_libs=""
30383
30384
30385
30386
30387 if test "x${have_dep}" = "xyes" ; then
30388   have_loader="yes"
30389 else
30390   have_loader="no"
30391 fi
30392
30393
30394 fi
30395
30396 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30397    as_fn_error $? "BMP dependencies not found (strict dependencies checking)" "$LINENO" 5
30398 fi
30399
30400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether BMP image loader will be built" >&5
30401 $as_echo_n "checking whether BMP image loader will be built... " >&6; }
30402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30403 $as_echo "${have_loader}" >&6; }
30404
30405 if test "x${have_loader}" = "xyes" ; then
30406    if test "x${want_loader}" = "xstatic" ; then
30407       have_evas_image_loader_bmp="static"
30408       want_static_loader="yes"
30409    else
30410       have_evas_image_loader_bmp="yes"
30411    fi
30412 fi
30413
30414 if test "x${have_loader}" = "xyes" ; then
30415
30416 $as_echo "#define BUILD_LOADER_BMP 1" >>confdefs.h
30417
30418 fi
30419
30420  if test "x${have_loader}" = "xyes"; then
30421   BUILD_LOADER_BMP_TRUE=
30422   BUILD_LOADER_BMP_FALSE='#'
30423 else
30424   BUILD_LOADER_BMP_TRUE='#'
30425   BUILD_LOADER_BMP_FALSE=
30426 fi
30427
30428
30429 if test "x${want_static_loader}" = "xyes" ; then
30430
30431 $as_echo "#define EVAS_STATIC_BUILD_BMP 1" >>confdefs.h
30432
30433    have_static_module="yes"
30434 fi
30435
30436  if test "x${want_static_loader}" = "xyes"; then
30437   EVAS_STATIC_BUILD_BMP_TRUE=
30438   EVAS_STATIC_BUILD_BMP_FALSE='#'
30439 else
30440   EVAS_STATIC_BUILD_BMP_TRUE='#'
30441   EVAS_STATIC_BUILD_BMP_FALSE=
30442 fi
30443
30444
30445
30446
30447
30448
30449
30450
30451
30452
30453
30454
30455 want_loader="${want_evas_image_loader_tga}"
30456 want_static_loader="no"
30457 have_loader="no"
30458 have_evas_image_loader_tga="no"
30459
30460 # Check whether --enable-image-loader-tga was given.
30461 if test "${enable_image_loader_tga+set}" = set; then :
30462   enableval=$enable_image_loader_tga;
30463     if test "x${enableval}" = "xyes" ; then
30464        want_loader="yes"
30465     else
30466        if test "x${enableval}" = "xstatic" ; then
30467           want_loader="static"
30468        else
30469           want_loader="no"
30470        fi
30471     fi
30472
30473
30474 fi
30475
30476
30477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable TGA image loader" >&5
30478 $as_echo_n "checking whether to enable TGA image loader... " >&6; }
30479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30480 $as_echo "${want_loader}" >&6; }
30481
30482 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30483
30484
30485 have_dep="yes"
30486 evas_image_loader_tga_cflags=""
30487 evas_image_loader_tga_libs=""
30488
30489
30490
30491
30492 if test "x${have_dep}" = "xyes" ; then
30493   have_loader="yes"
30494 else
30495   have_loader="no"
30496 fi
30497
30498
30499 fi
30500
30501 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30502    as_fn_error $? "TGA dependencies not found (strict dependencies checking)" "$LINENO" 5
30503 fi
30504
30505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether TGA image loader will be built" >&5
30506 $as_echo_n "checking whether TGA image loader will be built... " >&6; }
30507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30508 $as_echo "${have_loader}" >&6; }
30509
30510 if test "x${have_loader}" = "xyes" ; then
30511    if test "x${want_loader}" = "xstatic" ; then
30512       have_evas_image_loader_tga="static"
30513       want_static_loader="yes"
30514    else
30515       have_evas_image_loader_tga="yes"
30516    fi
30517 fi
30518
30519 if test "x${have_loader}" = "xyes" ; then
30520
30521 $as_echo "#define BUILD_LOADER_TGA 1" >>confdefs.h
30522
30523 fi
30524
30525  if test "x${have_loader}" = "xyes"; then
30526   BUILD_LOADER_TGA_TRUE=
30527   BUILD_LOADER_TGA_FALSE='#'
30528 else
30529   BUILD_LOADER_TGA_TRUE='#'
30530   BUILD_LOADER_TGA_FALSE=
30531 fi
30532
30533
30534 if test "x${want_static_loader}" = "xyes" ; then
30535
30536 $as_echo "#define EVAS_STATIC_BUILD_TGA 1" >>confdefs.h
30537
30538    have_static_module="yes"
30539 fi
30540
30541  if test "x${want_static_loader}" = "xyes"; then
30542   EVAS_STATIC_BUILD_TGA_TRUE=
30543   EVAS_STATIC_BUILD_TGA_FALSE='#'
30544 else
30545   EVAS_STATIC_BUILD_TGA_TRUE='#'
30546   EVAS_STATIC_BUILD_TGA_FALSE=
30547 fi
30548
30549
30550
30551
30552
30553
30554
30555
30556
30557
30558
30559
30560 want_loader="${want_evas_image_loader_wbmp}"
30561 want_static_loader="no"
30562 have_loader="no"
30563 have_evas_image_loader_wbmp="no"
30564
30565 # Check whether --enable-image-loader-wbmp was given.
30566 if test "${enable_image_loader_wbmp+set}" = set; then :
30567   enableval=$enable_image_loader_wbmp;
30568     if test "x${enableval}" = "xyes" ; then
30569        want_loader="yes"
30570     else
30571        if test "x${enableval}" = "xstatic" ; then
30572           want_loader="static"
30573        else
30574           want_loader="no"
30575        fi
30576     fi
30577
30578
30579 fi
30580
30581
30582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable WBMP image loader" >&5
30583 $as_echo_n "checking whether to enable WBMP image loader... " >&6; }
30584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30585 $as_echo "${want_loader}" >&6; }
30586
30587 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30588
30589
30590 have_dep="yes"
30591 evas_image_loader_wbmp_cflags=""
30592 evas_image_loader_wbmp_libs=""
30593
30594
30595
30596
30597 if test "x${have_dep}" = "xyes" ; then
30598   have_loader="yes"
30599 else
30600   have_loader="no"
30601 fi
30602
30603
30604 fi
30605
30606 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30607    as_fn_error $? "WBMP dependencies not found (strict dependencies checking)" "$LINENO" 5
30608 fi
30609
30610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether WBMP image loader will be built" >&5
30611 $as_echo_n "checking whether WBMP image loader will be built... " >&6; }
30612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30613 $as_echo "${have_loader}" >&6; }
30614
30615 if test "x${have_loader}" = "xyes" ; then
30616    if test "x${want_loader}" = "xstatic" ; then
30617       have_evas_image_loader_wbmp="static"
30618       want_static_loader="yes"
30619    else
30620       have_evas_image_loader_wbmp="yes"
30621    fi
30622 fi
30623
30624 if test "x${have_loader}" = "xyes" ; then
30625
30626 $as_echo "#define BUILD_LOADER_WBMP 1" >>confdefs.h
30627
30628 fi
30629
30630  if test "x${have_loader}" = "xyes"; then
30631   BUILD_LOADER_WBMP_TRUE=
30632   BUILD_LOADER_WBMP_FALSE='#'
30633 else
30634   BUILD_LOADER_WBMP_TRUE='#'
30635   BUILD_LOADER_WBMP_FALSE=
30636 fi
30637
30638
30639 if test "x${want_static_loader}" = "xyes" ; then
30640
30641 $as_echo "#define EVAS_STATIC_BUILD_WBMP 1" >>confdefs.h
30642
30643    have_static_module="yes"
30644 fi
30645
30646  if test "x${want_static_loader}" = "xyes"; then
30647   EVAS_STATIC_BUILD_WBMP_TRUE=
30648   EVAS_STATIC_BUILD_WBMP_FALSE='#'
30649 else
30650   EVAS_STATIC_BUILD_WBMP_TRUE='#'
30651   EVAS_STATIC_BUILD_WBMP_FALSE=
30652 fi
30653
30654
30655
30656
30657
30658
30659
30660
30661
30662
30663
30664
30665 want_loader="${want_evas_image_loader_ico}"
30666 want_static_loader="no"
30667 have_loader="no"
30668 have_evas_image_loader_ico="no"
30669
30670 # Check whether --enable-image-loader-ico was given.
30671 if test "${enable_image_loader_ico+set}" = set; then :
30672   enableval=$enable_image_loader_ico;
30673     if test "x${enableval}" = "xyes" ; then
30674        want_loader="yes"
30675     else
30676        if test "x${enableval}" = "xstatic" ; then
30677           want_loader="static"
30678        else
30679           want_loader="no"
30680        fi
30681     fi
30682
30683
30684 fi
30685
30686
30687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ICO image loader" >&5
30688 $as_echo_n "checking whether to enable ICO image loader... " >&6; }
30689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30690 $as_echo "${want_loader}" >&6; }
30691
30692 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30693
30694
30695 have_dep="yes"
30696 evas_image_loader_ico_cflags=""
30697 evas_image_loader_ico_libs=""
30698
30699
30700
30701
30702 if test "x${have_dep}" = "xyes" ; then
30703   have_loader="yes"
30704 else
30705   have_loader="no"
30706 fi
30707
30708
30709 fi
30710
30711 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30712    as_fn_error $? "ICO dependencies not found (strict dependencies checking)" "$LINENO" 5
30713 fi
30714
30715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ICO image loader will be built" >&5
30716 $as_echo_n "checking whether ICO image loader will be built... " >&6; }
30717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30718 $as_echo "${have_loader}" >&6; }
30719
30720 if test "x${have_loader}" = "xyes" ; then
30721    if test "x${want_loader}" = "xstatic" ; then
30722       have_evas_image_loader_ico="static"
30723       want_static_loader="yes"
30724    else
30725       have_evas_image_loader_ico="yes"
30726    fi
30727 fi
30728
30729 if test "x${have_loader}" = "xyes" ; then
30730
30731 $as_echo "#define BUILD_LOADER_ICO 1" >>confdefs.h
30732
30733 fi
30734
30735  if test "x${have_loader}" = "xyes"; then
30736   BUILD_LOADER_ICO_TRUE=
30737   BUILD_LOADER_ICO_FALSE='#'
30738 else
30739   BUILD_LOADER_ICO_TRUE='#'
30740   BUILD_LOADER_ICO_FALSE=
30741 fi
30742
30743
30744 if test "x${want_static_loader}" = "xyes" ; then
30745
30746 $as_echo "#define EVAS_STATIC_BUILD_ICO 1" >>confdefs.h
30747
30748    have_static_module="yes"
30749 fi
30750
30751  if test "x${want_static_loader}" = "xyes"; then
30752   EVAS_STATIC_BUILD_ICO_TRUE=
30753   EVAS_STATIC_BUILD_ICO_FALSE='#'
30754 else
30755   EVAS_STATIC_BUILD_ICO_TRUE='#'
30756   EVAS_STATIC_BUILD_ICO_FALSE=
30757 fi
30758
30759
30760
30761
30762
30763
30764
30765
30766
30767
30768
30769
30770 want_loader="${want_evas_image_loader_psd}"
30771 want_static_loader="no"
30772 have_loader="no"
30773 have_evas_image_loader_psd="no"
30774
30775 # Check whether --enable-image-loader-psd was given.
30776 if test "${enable_image_loader_psd+set}" = set; then :
30777   enableval=$enable_image_loader_psd;
30778     if test "x${enableval}" = "xyes" ; then
30779        want_loader="yes"
30780     else
30781        if test "x${enableval}" = "xstatic" ; then
30782           want_loader="static"
30783        else
30784           want_loader="no"
30785        fi
30786     fi
30787
30788
30789 fi
30790
30791
30792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PSD image loader" >&5
30793 $as_echo_n "checking whether to enable PSD image loader... " >&6; }
30794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30795 $as_echo "${want_loader}" >&6; }
30796
30797 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30798
30799
30800 have_dep="yes"
30801 evas_image_loader_psd_cflags=""
30802 evas_image_loader_psd_libs=""
30803
30804
30805
30806
30807 if test "x${have_dep}" = "xyes" ; then
30808   have_loader="yes"
30809 else
30810   have_loader="no"
30811 fi
30812
30813
30814 fi
30815
30816 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30817    as_fn_error $? "PSD dependencies not found (strict dependencies checking)" "$LINENO" 5
30818 fi
30819
30820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PSD image loader will be built" >&5
30821 $as_echo_n "checking whether PSD image loader will be built... " >&6; }
30822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30823 $as_echo "${have_loader}" >&6; }
30824
30825 if test "x${have_loader}" = "xyes" ; then
30826    if test "x${want_loader}" = "xstatic" ; then
30827       have_evas_image_loader_psd="static"
30828       want_static_loader="yes"
30829    else
30830       have_evas_image_loader_psd="yes"
30831    fi
30832 fi
30833
30834 if test "x${have_loader}" = "xyes" ; then
30835
30836 $as_echo "#define BUILD_LOADER_PSD 1" >>confdefs.h
30837
30838 fi
30839
30840  if test "x${have_loader}" = "xyes"; then
30841   BUILD_LOADER_PSD_TRUE=
30842   BUILD_LOADER_PSD_FALSE='#'
30843 else
30844   BUILD_LOADER_PSD_TRUE='#'
30845   BUILD_LOADER_PSD_FALSE=
30846 fi
30847
30848
30849 if test "x${want_static_loader}" = "xyes" ; then
30850
30851 $as_echo "#define EVAS_STATIC_BUILD_PSD 1" >>confdefs.h
30852
30853    have_static_module="yes"
30854 fi
30855
30856  if test "x${want_static_loader}" = "xyes"; then
30857   EVAS_STATIC_BUILD_PSD_TRUE=
30858   EVAS_STATIC_BUILD_PSD_FALSE='#'
30859 else
30860   EVAS_STATIC_BUILD_PSD_TRUE='#'
30861   EVAS_STATIC_BUILD_PSD_FALSE=
30862 fi
30863
30864
30865
30866
30867
30868
30869
30870
30871
30872
30873
30874
30875 want_loader="${want_evas_image_loader_generic}"
30876 want_static_loader="no"
30877 have_loader="no"
30878 have_evas_image_loader_generic="no"
30879
30880 # Check whether --enable-image-loader-generic was given.
30881 if test "${enable_image_loader_generic+set}" = set; then :
30882   enableval=$enable_image_loader_generic;
30883     if test "x${enableval}" = "xyes" ; then
30884        want_loader="yes"
30885     else
30886        if test "x${enableval}" = "xstatic" ; then
30887           want_loader="static"
30888        else
30889           want_loader="no"
30890        fi
30891     fi
30892
30893
30894 fi
30895
30896
30897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable GENERIC image loader" >&5
30898 $as_echo_n "checking whether to enable GENERIC image loader... " >&6; }
30899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30900 $as_echo "${want_loader}" >&6; }
30901
30902 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30903
30904
30905 have_dep="yes"
30906 evas_image_loader_generic_cflags=""
30907 evas_image_loader_generic_libs=""
30908
30909
30910
30911
30912 if test "x${have_dep}" = "xyes" ; then
30913   have_loader="yes"
30914 else
30915   have_loader="no"
30916 fi
30917
30918
30919 fi
30920
30921 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30922    as_fn_error $? "GENERIC dependencies not found (strict dependencies checking)" "$LINENO" 5
30923 fi
30924
30925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GENERIC image loader will be built" >&5
30926 $as_echo_n "checking whether GENERIC image loader will be built... " >&6; }
30927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30928 $as_echo "${have_loader}" >&6; }
30929
30930 if test "x${have_loader}" = "xyes" ; then
30931    if test "x${want_loader}" = "xstatic" ; then
30932       have_evas_image_loader_generic="static"
30933       want_static_loader="yes"
30934    else
30935       have_evas_image_loader_generic="yes"
30936    fi
30937 fi
30938
30939 if test "x${have_loader}" = "xyes" ; then
30940
30941 $as_echo "#define BUILD_LOADER_GENERIC 1" >>confdefs.h
30942
30943 fi
30944
30945  if test "x${have_loader}" = "xyes"; then
30946   BUILD_LOADER_GENERIC_TRUE=
30947   BUILD_LOADER_GENERIC_FALSE='#'
30948 else
30949   BUILD_LOADER_GENERIC_TRUE='#'
30950   BUILD_LOADER_GENERIC_FALSE=
30951 fi
30952
30953
30954 if test "x${want_static_loader}" = "xyes" ; then
30955
30956 $as_echo "#define EVAS_STATIC_BUILD_GENERIC 1" >>confdefs.h
30957
30958    have_static_module="yes"
30959 fi
30960
30961  if test "x${want_static_loader}" = "xyes"; then
30962   EVAS_STATIC_BUILD_GENERIC_TRUE=
30963   EVAS_STATIC_BUILD_GENERIC_FALSE='#'
30964 else
30965   EVAS_STATIC_BUILD_GENERIC_TRUE='#'
30966   EVAS_STATIC_BUILD_GENERIC_FALSE=
30967 fi
30968
30969
30970
30971
30972
30973
30974
30975 #####################################################################
30976 ## Cpu based optimizations
30977
30978 #######################################
30979 ## PTHREADS
30980 pthread_cflags=""
30981 pthread_libs=""
30982 build_pthreads="no"
30983 has_pthreads="no"
30984 need_pthreads="no"
30985 # basic pthread support
30986 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
30987 if test "x$ac_cv_header_pthread_h" = xyes; then :
30988
30989    has_pthreads="yes"
30990
30991 else
30992
30993    has_pthreads="no"
30994
30995
30996 fi
30997
30998
30999
31000 # sched_getaffinity pthread_attr_setaffinity_np
31001 for ac_header in pthread.h sched.h
31002 do :
31003   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
31004 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
31005 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
31006   cat >>confdefs.h <<_ACEOF
31007 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
31008 _ACEOF
31009
31010     CFLAGS_save="${CFLAGS}"
31011     CFLAGS="${CFLAGS} -pthread"
31012     LIBS_save="${LIBS}"
31013     LIBS="${LIBS} -pthread"
31014     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31015 /* end confdefs.h.  */
31016
31017 #include <pthread.h>
31018 #include <sched.h>
31019
31020 int
31021 main ()
31022 {
31023
31024 pthread_attr_setaffinity_np(NULL, 0, NULL);
31025 pthread_barrier_wait(NULL);
31026
31027   ;
31028   return 0;
31029 }
31030 _ACEOF
31031 if ac_fn_c_try_link "$LINENO"; then :
31032   build_pthreads="yes"
31033 else
31034   build_pthreads="no"
31035 fi
31036 rm -f core conftest.err conftest.$ac_objext \
31037     conftest$ac_exeext conftest.$ac_ext
31038    CFLAGS=${CFLAGS_save}
31039    LIBS=${LIBS_save}
31040
31041 else
31042   build_pthreads="no"
31043 fi
31044
31045 done
31046
31047
31048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_attr_setaffinity_np() and pthread_barrier_wait() are supported" >&5
31049 $as_echo_n "checking whether pthread_attr_setaffinity_np() and pthread_barrier_wait() are supported... " >&6; }
31050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${build_pthreads}" >&5
31051 $as_echo "${build_pthreads}" >&6; }
31052
31053 #######################################
31054 ## Pthread
31055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build pthread code" >&5
31056 $as_echo_n "checking whether to build pthread code... " >&6; }
31057 # Check whether --enable-pthreads was given.
31058 if test "${enable_pthreads+set}" = set; then :
31059   enableval=$enable_pthreads;
31060     if test "x$enableval" = "xyes" ; then
31061       if test "x$build_pthreads" = "xyes"; then
31062         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31063 $as_echo "yes" >&6; }
31064
31065 $as_echo "#define BUILD_PTHREAD 1" >>confdefs.h
31066
31067         build_pthreads="yes"
31068         need_pthreads="yes"
31069       else
31070         if "x$use_strict" = "xyes"; then
31071           as_fn_error $? "pthreads headers or functions not found (strict dependencies checking)" "$LINENO" 5
31072         else
31073           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: pthread headers or functions not found" >&5
31074 $as_echo "no: pthread headers or functions not found" >&6; }
31075         fi
31076       fi
31077     else
31078       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31079 $as_echo "no" >&6; }
31080       build_pthreads="no"
31081     fi
31082
31083 else
31084
31085     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_pthreads" >&5
31086 $as_echo "$build_pthreads" >&6; }
31087     if test "x$build_pthreads" = "xyes" ; then
31088
31089 $as_echo "#define BUILD_PTHREAD 1" >>confdefs.h
31090
31091       need_pthreads="yes"
31092     fi
31093
31094
31095 fi
31096
31097
31098 #######################################
31099 ## Pipe Renderer
31100 build_pipe_render="no"
31101
31102 # Let disable pipe render strongly as it doesn't massively improve performance, but
31103 # just hammer more watt for a few more percent. The code is kept as the understanding
31104 # is that with an async pipeline things will be better.
31105 #
31106 #AC_MSG_CHECKING(whether to build Threaded Pipe Rendering support)
31107 #AC_ARG_ENABLE(pipe-render,
31108 #  AC_HELP_STRING([--enable-pipe-render], [enable threaded pipe rendering support]),
31109 #  [ build_pipe_render=$enableval ]
31110 #)
31111 #AC_MSG_RESULT($build_pipe_render)
31112
31113 #AC_MSG_CHECKING(whether we can build Threaded Pipe Rendering support)
31114 #if test \( "x$build_pipe_render" = "xyes" -o "x$build_pipe_render" = "xauto" \); then
31115 #  AC_MSG_RESULT(yes)
31116 #  AC_DEFINE(BUILD_PIPE_RENDER, 1, [Build pipe render support])
31117 #  build_pipe_render="yes"
31118 #  need_pthreads="yes"
31119 #else
31120 #  AC_MSG_RESULT(no)
31121 #  build_pipe_render="no"
31122 #fi
31123
31124 #######################################
31125 ## Async events
31126 build_async_events="auto"
31127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Async Events support" >&5
31128 $as_echo_n "checking whether to build Async Events support... " >&6; }
31129 # Check whether --enable-async-events was given.
31130 if test "${enable_async_events+set}" = set; then :
31131   enableval=$enable_async_events;  build_async_events=$enableval
31132
31133 fi
31134
31135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_async_events" >&5
31136 $as_echo "$build_async_events" >&6; }
31137
31138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build Async Events support" >&5
31139 $as_echo_n "checking whether we can build Async Events support... " >&6; }
31140 if test "x$build_async_events" = "xyes" || test "x$build_async_events" = "xauto" ; then
31141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31142 $as_echo "yes" >&6; }
31143
31144 $as_echo "#define BUILD_ASYNC_EVENTS 1" >>confdefs.h
31145
31146   build_async_events="yes"
31147 else
31148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31149 $as_echo "no" >&6; }
31150   build_async_events="no"
31151 fi
31152
31153 #######################################
31154 ## Async image preload
31155 build_async_preload="auto"
31156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Async Image Preload support" >&5
31157 $as_echo_n "checking whether to build Async Image Preload support... " >&6; }
31158 # Check whether --enable-async-preload was given.
31159 if test "${enable_async_preload+set}" = set; then :
31160   enableval=$enable_async_preload;  build_async_preload=$enableval
31161
31162 fi
31163
31164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_async_preload" >&5
31165 $as_echo "$build_async_preload" >&6; }
31166
31167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build Async Image Preload support" >&5
31168 $as_echo_n "checking whether we can build Async Image Preload support... " >&6; }
31169 if test \( "x$build_async_preload" = "xyes" -o "x$build_async_preload" = "xauto" \) -a "x$build_async_events" = "xyes"; then
31170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31171 $as_echo "yes" >&6; }
31172
31173 $as_echo "#define BUILD_ASYNC_PRELOAD 1" >>confdefs.h
31174
31175   build_async_preload="yes"
31176   need_pthreads="yes"
31177 else
31178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31179 $as_echo "no" >&6; }
31180   build_async_preload="no"
31181 fi
31182
31183 #######################################
31184 ## Link with pthread if needed
31185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we should link with pthread" >&5
31186 $as_echo_n "checking whether we should link with pthread... " >&6; }
31187 if test "x$need_pthreads" = "xyes"; then
31188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31189 $as_echo "yes" >&6; }
31190   pthread_cflags="-pthread"
31191   pthread_libs="-pthread"
31192 else
31193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31194 $as_echo "no" >&6; }
31195 fi
31196
31197 #######################################
31198 ## MMX
31199 build_cpu_mmx="no"
31200 case $host_cpu in
31201   i*86)
31202     build_cpu_mmx="yes"
31203     ;;
31204   x86_64)
31205     build_cpu_mmx="yes"
31206     ;;
31207   amd64)
31208     build_cpu_mmx="yes"
31209     ;;
31210 esac
31211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build mmx code" >&5
31212 $as_echo_n "checking whether to build mmx code... " >&6; }
31213 # Check whether --enable-cpu-mmx was given.
31214 if test "${enable_cpu_mmx+set}" = set; then :
31215   enableval=$enable_cpu_mmx;
31216       if test "x$enableval" = "xyes" ; then
31217         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31218 $as_echo "yes" >&6; }
31219
31220 $as_echo "#define BUILD_MMX 1" >>confdefs.h
31221
31222         build_cpu_mmx="yes"
31223       else
31224         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31225 $as_echo "no" >&6; }
31226         build_cpu_mmx="no"
31227       fi
31228
31229 else
31230
31231     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_mmx" >&5
31232 $as_echo "$build_cpu_mmx" >&6; }
31233     if test "x$build_cpu_mmx" = "xyes" ; then
31234
31235 $as_echo "#define BUILD_MMX 1" >>confdefs.h
31236
31237     fi
31238
31239
31240 fi
31241
31242
31243 #######################################
31244 ## SSE
31245 build_cpu_sse="no"
31246 case $host_cpu in
31247   i*86)
31248     build_cpu_sse="yes"
31249     ;;
31250   x86_64)
31251     build_cpu_sse="yes"
31252     ;;
31253   amd64)
31254     build_cpu_sse="yes"
31255     ;;
31256 esac
31257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build sse code" >&5
31258 $as_echo_n "checking whether to build sse code... " >&6; }
31259 # Check whether --enable-cpu-sse was given.
31260 if test "${enable_cpu_sse+set}" = set; then :
31261   enableval=$enable_cpu_sse;
31262       if test "x$enableval" = "xyes" ; then
31263         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31264 $as_echo "yes" >&6; }
31265
31266 $as_echo "#define BUILD_SSE 1" >>confdefs.h
31267
31268         build_cpu_sse="yes"
31269       else
31270         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31271 $as_echo "no" >&6; }
31272         build_cpu_sse="no"
31273       fi
31274
31275 else
31276
31277     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_sse" >&5
31278 $as_echo "$build_cpu_sse" >&6; }
31279     if test "x$build_cpu_sse" = "xyes" ; then
31280
31281 $as_echo "#define BUILD_SSE 1" >>confdefs.h
31282
31283     fi
31284
31285
31286 fi
31287
31288
31289 #######################################
31290 ## SSE3
31291 build_cpu_sse3="no"
31292 case $host_cpu in
31293   i*86)
31294     build_cpu_sse3="yes"
31295     ;;
31296   x86_64)
31297     build_cpu_sse3="yes"
31298     ;;
31299   amd64)
31300     build_cpu_sse3="yes"
31301     ;;
31302 esac
31303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build sse3 code" >&5
31304 $as_echo_n "checking whether to build sse3 code... " >&6; }
31305 # Check whether --enable-cpu-sse3 was given.
31306 if test "${enable_cpu_sse3+set}" = set; then :
31307   enableval=$enable_cpu_sse3;
31308       if test "x$enableval" = "xyes" ; then
31309         ac_fn_c_check_header_mongrel "$LINENO" "immintrin.h" "ac_cv_header_immintrin_h" "$ac_includes_default"
31310 if test "x$ac_cv_header_immintrin_h" = xyes; then :
31311
31312             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31313 $as_echo "yes" >&6; }
31314
31315 $as_echo "#define BUILD_SSE3 1" >>confdefs.h
31316
31317             build_cpu_sse3="yes"
31318
31319 else
31320
31321             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31322 $as_echo "no" >&6; }
31323             build_cpu_sse3="no"
31324
31325 fi
31326
31327
31328       else
31329         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31330 $as_echo "no" >&6; }
31331         build_cpu_sse3="no"
31332       fi
31333
31334 else
31335
31336     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_sse3" >&5
31337 $as_echo "$build_cpu_sse3" >&6; }
31338     if test "x$build_cpu_sse3" = "xyes" ; then
31339       ac_fn_c_check_header_mongrel "$LINENO" "immintrin.h" "ac_cv_header_immintrin_h" "$ac_includes_default"
31340 if test "x$ac_cv_header_immintrin_h" = xyes; then :
31341
31342           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31343 $as_echo "yes" >&6; }
31344
31345 $as_echo "#define BUILD_SSE3 1" >>confdefs.h
31346
31347           build_cpu_sse3="yes"
31348
31349 else
31350
31351           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31352 $as_echo "no" >&6; }
31353           build_cpu_sse3="no"
31354
31355 fi
31356
31357
31358     fi
31359
31360
31361 fi
31362
31363
31364
31365 # as a big warning flag to anyone doing stuff like this...
31366 # NEVER EVER EVER EVER put **OPTIMIZATION** flags in
31367 # build flags in makefiles (from configure or anywhere else)
31368 # EVER as this screws your ability to build 1 binary and
31369 # cover ALL x86 arch's. This is the HEIGHT of WRONG. If the
31370 # person building choses to add optimization flags themselves
31371 # and decide the minimum baseline cpu arch is X then that's
31372 # their business, but NEVER should it be done here. NEVER.
31373 # I now have to do this due to the way this sse3 code was done - using
31374 # intrinsics and "functions" (opcodes) and types that only compile *IF*
31375 # you compile with -msse3. this ALSO tries to optimize REGULAR c code
31376 # with sse3 asm.. and this breaks things so badly. so... sse3 will be
31377 # off until further notice for 32bit x86.
31378 EVAS_SSE3_CFLAGS=" "
31379 if test "x$build_cpu_sse3" = "xyes" ; then
31380     EVAS_SSE3_CFLAGS="-msse3 "
31381 #   CFLAGS="${CFLAGS} ${EVAS_SSE3_CFLAGS}"
31382 fi
31383
31384
31385
31386
31387 #######################################
31388 ## ALTIVEC
31389 build_cpu_altivec="no"
31390 case $host_cpu in
31391   *power* | *ppc*)
31392     build_cpu_altivec="auto"
31393     ;;
31394 esac
31395 altivec_cflags=""
31396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build altivec code" >&5
31397 $as_echo_n "checking whether to build altivec code... " >&6; }
31398 # Check whether --enable-cpu-altivec was given.
31399 if test "${enable_cpu_altivec+set}" = set; then :
31400   enableval=$enable_cpu_altivec;  build_cpu_altivec=$enableval
31401 else
31402
31403     if test ! "x$build_cpu_altivec" = "xauto"; then
31404       build_cpu_altivec="no"
31405     fi
31406
31407
31408 fi
31409
31410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_altivec" >&5
31411 $as_echo "$build_cpu_altivec" >&6; }
31412
31413 if test "x$build_cpu_altivec" = "xyes"; then
31414    ac_fn_c_check_header_mongrel "$LINENO" "altivec.h" "ac_cv_header_altivec_h" "$ac_includes_default"
31415 if test "x$ac_cv_header_altivec_h" = xyes; then :
31416
31417
31418 $as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
31419
31420
31421 $as_echo "#define HAVE_ALTIVEC_H 1" >>confdefs.h
31422
31423         build_cpu_altivec="yes"
31424
31425 else
31426
31427        save_CFLAGS=$CFLAGS
31428        save_CPPFLAGS=$CPPFLAGS
31429        CFLAGS=$CFLAGS" -maltivec"
31430        CPPFLAGS=$CPPFLAGS" -maltivec"
31431        unset ac_cv_header_altivec_h
31432        ac_fn_c_check_header_mongrel "$LINENO" "altivec.h" "ac_cv_header_altivec_h" "$ac_includes_default"
31433 if test "x$ac_cv_header_altivec_h" = xyes; then :
31434
31435
31436 $as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
31437
31438
31439 $as_echo "#define HAVE_ALTIVEC_H 1" >>confdefs.h
31440
31441             build_cpu_altivec="yes"
31442
31443 else
31444
31445             if test "x$build_cpu_altivec" = "xyes" -a "x$use_strict" = "xyes" ; then
31446               as_fn_error $? "Altivec not found (strict dependencies checking)" "$LINENO" 5
31447             fi
31448             build_cpu_altivec="no"
31449
31450
31451 fi
31452
31453
31454        CFLAGS=$save_CFLAGS
31455        CPPFLAGS=$save_CPPFLAGS
31456
31457
31458 fi
31459
31460
31461 fi
31462
31463 if test "x$build_cpu_altivec" = "xyes"; then
31464    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use altivec compiler flag" >&5
31465 $as_echo_n "checking whether to use altivec compiler flag... " >&6; }
31466    if test "x$GCC" = "xyes"; then
31467       if echo "int main(){return 0;}" | ${CPP} -faltivec - > /dev/null 2>&1; then
31468          altivec_cflags="-faltivec"
31469
31470 $as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
31471
31472       elif echo "int main(){return 0;}" | ${CPP} -maltivec - > /dev/null 2>&1; then
31473          altivec_cflags="-maltivec"
31474
31475 $as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
31476
31477       fi
31478    fi
31479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $altivec_cflags" >&5
31480 $as_echo "$altivec_cflags" >&6; }
31481    CFLAGS="$CFLAGS $altivec_cflags"
31482 fi
31483
31484 #######################################
31485 ## NEON
31486 build_cpu_neon="no"
31487 case $host_cpu in
31488   arm*)
31489     build_cpu_neon="yes"
31490     ;;
31491 esac
31492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build neon code" >&5
31493 $as_echo_n "checking whether to build neon code... " >&6; }
31494 # Check whether --enable-cpu-neon was given.
31495 if test "${enable_cpu_neon+set}" = set; then :
31496   enableval=$enable_cpu_neon;
31497      if test "x$enableval" = "xyes" ; then
31498        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31499 /* end confdefs.h.  */
31500
31501 int
31502 main ()
31503 {
31504 asm volatile (".fpu neon\nvqadd.u8 d0, d1, d0\n")
31505   ;
31506   return 0;
31507 }
31508 _ACEOF
31509 if ac_fn_c_try_compile "$LINENO"; then :
31510
31511           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31512 $as_echo "yes" >&6; }
31513
31514 $as_echo "#define BUILD_NEON 1" >>confdefs.h
31515
31516           build_cpu_neon="yes"
31517
31518 else
31519
31520           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31521 $as_echo "no" >&6; }
31522           build_cpu_neon="no"
31523
31524 fi
31525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31526       else
31527         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31528 $as_echo "no" >&6; }
31529         build_cpu_neon="no"
31530       fi
31531
31532 else
31533
31534     if test "x$build_cpu_neon" = "xyes" ; then
31535        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31536 /* end confdefs.h.  */
31537 #include <arm_neon.h>
31538 int
31539 main ()
31540 {
31541 asm volatile ("vqadd.u8 d0, d1, d0\n")
31542   ;
31543   return 0;
31544 }
31545 _ACEOF
31546 if ac_fn_c_try_compile "$LINENO"; then :
31547
31548           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31549 $as_echo "yes" >&6; }
31550
31551 $as_echo "#define BUILD_NEON 1" >>confdefs.h
31552
31553           build_cpu_neon="yes"
31554
31555 else
31556
31557           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31558 $as_echo "no" >&6; }
31559           build_cpu_neon="no"
31560
31561 fi
31562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31563     fi
31564
31565
31566 fi
31567
31568
31569 #######################################
31570 ## C
31571 build_cpu_c="yes"
31572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build c code" >&5
31573 $as_echo_n "checking whether to build c code... " >&6; }
31574 # Check whether --enable-cpu-c was given.
31575 if test "${enable_cpu_c+set}" = set; then :
31576   enableval=$enable_cpu_c;
31577       if test "x$enableval" = "xyes" ; then
31578         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31579 $as_echo "yes" >&6; }
31580
31581 $as_echo "#define BUILD_C 1" >>confdefs.h
31582
31583         build_cpu_c="yes"
31584       else
31585         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31586 $as_echo "no" >&6; }
31587         build_cpu_c="no"
31588       fi
31589
31590 else
31591
31592       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_c" >&5
31593 $as_echo "$build_cpu_c" >&6; }
31594       if test "x$build_cpu_c" = "xyes" ; then
31595
31596 $as_echo "#define BUILD_C 1" >>confdefs.h
31597
31598       fi
31599
31600
31601 fi
31602
31603
31604 #######################################
31605 ## MAGIC_DEBUG
31606 want_evas_magic_debug="yes"
31607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to check magic for evas object" >&5
31608 $as_echo_n "checking whether to check magic for evas object... " >&6; }
31609 # Check whether --enable-evas-magic-debug was given.
31610 if test "${enable_evas_magic_debug+set}" = set; then :
31611   enableval=$enable_evas_magic_debug;  want_evas_magic_debug="$enableval"
31612
31613 fi
31614
31615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_evas_magic_debug" >&5
31616 $as_echo "$want_evas_magic_debug" >&6; }
31617
31618  if test "x$want_evas_magic_debug" = "xyes"; then
31619   EVAS_MAGIC_DEBUG_TRUE=
31620   EVAS_MAGIC_DEBUG_FALSE='#'
31621 else
31622   EVAS_MAGIC_DEBUG_TRUE='#'
31623   EVAS_MAGIC_DEBUG_FALSE=
31624 fi
31625
31626 if test "x$want_evas_magic_debug" = "xyes"; then
31627
31628 $as_echo "#define EVAS_MAGIC_DEBUG 1" >>confdefs.h
31629
31630 fi
31631
31632 #####################################################################
31633 ## ARGB engine options
31634
31635 #######################################
31636 ## Nearest sampling scaler
31637
31638
31639 # Check whether --enable-scale-sample was given.
31640 if test "${enable_scale_sample+set}" = set; then :
31641   enableval=$enable_scale_sample;
31642     if test "x${enableval}" = "xyes" ; then
31643        _efl_enable_scaler_option_scale_sample="yes"
31644     else
31645        _efl_enable_scaler_option_scale_sample="no"
31646     fi
31647
31648 else
31649   _efl_enable_scaler_option_scale_sample="yes"
31650 fi
31651
31652
31653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build sampling scaler" >&5
31654 $as_echo_n "checking whether to build sampling scaler... " >&6; }
31655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_scaler_option_scale_sample}" >&5
31656 $as_echo "${_efl_enable_scaler_option_scale_sample}" >&6; }
31657
31658 if test "x${_efl_enable_scaler_option_scale_sample}" = "xyes" ; then
31659
31660 $as_echo "#define BUILD_SCALE_SAMPLE 1" >>confdefs.h
31661
31662 fi
31663
31664 if test "x${_efl_enable_scaler_option_scale_sample}" = "xyes" ; then
31665    scaler_sample="yes"
31666 else
31667    scaler_sample="no"
31668 fi
31669
31670
31671
31672
31673 ## Smooth super and sub sampling scaler
31674
31675
31676 # Check whether --enable-scale-smooth was given.
31677 if test "${enable_scale_smooth+set}" = set; then :
31678   enableval=$enable_scale_smooth;
31679     if test "x${enableval}" = "xyes" ; then
31680        _efl_enable_scaler_option_scale_smooth="yes"
31681     else
31682        _efl_enable_scaler_option_scale_smooth="no"
31683     fi
31684
31685 else
31686   _efl_enable_scaler_option_scale_smooth="yes"
31687 fi
31688
31689
31690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build smooth scaler" >&5
31691 $as_echo_n "checking whether to build smooth scaler... " >&6; }
31692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_scaler_option_scale_smooth}" >&5
31693 $as_echo "${_efl_enable_scaler_option_scale_smooth}" >&6; }
31694
31695 if test "x${_efl_enable_scaler_option_scale_smooth}" = "xyes" ; then
31696
31697 $as_echo "#define BUILD_SCALE_SMOOTH 1" >>confdefs.h
31698
31699 fi
31700
31701 if test "x${_efl_enable_scaler_option_scale_smooth}" = "xyes" ; then
31702    scaler_smooth="yes"
31703 else
31704    scaler_smooth="no"
31705 fi
31706
31707
31708
31709
31710
31711 #######################################
31712 ## YUV -> ARGB converter
31713 conv_yuv="no"
31714 conv_yuv="yes"
31715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build yuv converter code" >&5
31716 $as_echo_n "checking whether to build yuv converter code... " >&6; }
31717 # Check whether --enable-convert-yuv was given.
31718 if test "${enable_convert_yuv+set}" = set; then :
31719   enableval=$enable_convert_yuv;
31720       if test "x$enableval" = "xyes" ; then
31721         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31722 $as_echo "yes" >&6; }
31723
31724 $as_echo "#define BUILD_CONVERT_YUV 1" >>confdefs.h
31725
31726         conv_yuv="yes"
31727       else
31728         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31729 $as_echo "no" >&6; }
31730         conv_yuv="no"
31731       fi
31732
31733 else
31734
31735       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_yuv" >&5
31736 $as_echo "$conv_yuv" >&6; }
31737       if test "x$conv_yuv" = "xyes" ; then
31738
31739 $as_echo "#define BUILD_CONVERT_YUV 1" >>confdefs.h
31740
31741       fi
31742
31743
31744 fi
31745
31746
31747 #####################################################################
31748 ## Output rendering features
31749
31750 #######################################
31751 ## Small dither mask instead of big one (lower quality)
31752
31753
31754 # Check whether --enable-small-dither-mask was given.
31755 if test "${enable_small_dither_mask+set}" = set; then :
31756   enableval=$enable_small_dither_mask;
31757     if test "x${enableval}" = "xyes" ; then
31758        _efl_enable_dither_option_small_dither_mask="yes"
31759     else
31760        _efl_enable_dither_option_small_dither_mask="no"
31761     fi
31762
31763 else
31764   _efl_enable_dither_option_small_dither_mask="no"
31765 fi
31766
31767
31768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build small dither mask" >&5
31769 $as_echo_n "checking whether to build small dither mask... " >&6; }
31770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_dither_option_small_dither_mask}" >&5
31771 $as_echo "${_efl_enable_dither_option_small_dither_mask}" >&6; }
31772
31773 if test "x${_efl_enable_dither_option_small_dither_mask}" = "xyes" ; then
31774
31775 $as_echo "#define BUILD_SMALL_DITHER_MASK 1" >>confdefs.h
31776
31777 fi
31778
31779 if test "x${_efl_enable_dither_option_small_dither_mask}" = "xyes" ; then
31780    conv_small_dither="yes"
31781 else
31782    conv_small_dither="no"
31783 fi
31784
31785
31786
31787
31788 ## Alternate Line dither mask instead of big one (lower quality - but fastest)
31789
31790
31791 # Check whether --enable-line-dither-mask was given.
31792 if test "${enable_line_dither_mask+set}" = set; then :
31793   enableval=$enable_line_dither_mask;
31794     if test "x${enableval}" = "xyes" ; then
31795        _efl_enable_dither_option_line_dither_mask="yes"
31796     else
31797        _efl_enable_dither_option_line_dither_mask="no"
31798     fi
31799
31800 else
31801   _efl_enable_dither_option_line_dither_mask="no"
31802 fi
31803
31804
31805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build line dither mask" >&5
31806 $as_echo_n "checking whether to build line dither mask... " >&6; }
31807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_dither_option_line_dither_mask}" >&5
31808 $as_echo "${_efl_enable_dither_option_line_dither_mask}" >&6; }
31809
31810 if test "x${_efl_enable_dither_option_line_dither_mask}" = "xyes" ; then
31811
31812 $as_echo "#define BUILD_LINE_DITHER_MASK 1" >>confdefs.h
31813
31814 fi
31815
31816 if test "x${_efl_enable_dither_option_line_dither_mask}" = "xyes" ; then
31817    conv_line_dither="yes"
31818 else
31819    conv_line_dither="no"
31820 fi
31821
31822
31823
31824
31825 ## No dither mask at all for 16bpp
31826
31827
31828 # Check whether --enable-no-dither-mask was given.
31829 if test "${enable_no_dither_mask+set}" = set; then :
31830   enableval=$enable_no_dither_mask;
31831     if test "x${enableval}" = "xyes" ; then
31832        _efl_enable_dither_option_no_dither_mask="yes"
31833     else
31834        _efl_enable_dither_option_no_dither_mask="no"
31835     fi
31836
31837 else
31838   _efl_enable_dither_option_no_dither_mask="no"
31839 fi
31840
31841
31842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build conversion to 16bpp without dither mask" >&5
31843 $as_echo_n "checking whether to build conversion to 16bpp without dither mask... " >&6; }
31844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_dither_option_no_dither_mask}" >&5
31845 $as_echo "${_efl_enable_dither_option_no_dither_mask}" >&6; }
31846
31847 if test "x${_efl_enable_dither_option_no_dither_mask}" = "xyes" ; then
31848
31849 $as_echo "#define BUILD_NO_DITHER_MASK 1" >>confdefs.h
31850
31851 fi
31852
31853 if test "x${_efl_enable_dither_option_no_dither_mask}" = "xyes" ; then
31854    conv_no_dither="yes"
31855 else
31856    conv_no_dither="no"
31857 fi
31858
31859
31860
31861
31862
31863 #######################################
31864 ## Convert to 8bpp RGB 332
31865
31866
31867 conv_8_rgb_332="no"
31868
31869
31870   # Check whether --enable-convert-8-rgb-332 was given.
31871 if test "${enable_convert_8_rgb_332+set}" = set; then :
31872   enableval=$enable_convert_8_rgb_332;  conv_8_rgb_332=$enableval
31873 else
31874    conv_8_rgb_332=yes
31875
31876 fi
31877
31878
31879
31880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 332 converter code" >&5
31881 $as_echo_n "checking whether to build 8bpp RGB 332 converter code... " >&6; }
31882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_332" >&5
31883 $as_echo "$conv_8_rgb_332" >&6; }
31884
31885 if test "x$conv_8_rgb_332" = "xyes" ; then
31886
31887 $as_echo "#define BUILD_CONVERT_8_RGB_332 1" >>confdefs.h
31888
31889 fi
31890
31891
31892
31893
31894
31895 ## Convert to 8bpp RGB 666
31896
31897
31898 conv_8_rgb_666="no"
31899
31900
31901   # Check whether --enable-convert-8-rgb-666 was given.
31902 if test "${enable_convert_8_rgb_666+set}" = set; then :
31903   enableval=$enable_convert_8_rgb_666;  conv_8_rgb_666=$enableval
31904 else
31905    conv_8_rgb_666=yes
31906
31907 fi
31908
31909
31910
31911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 666 converter code" >&5
31912 $as_echo_n "checking whether to build 8bpp RGB 666 converter code... " >&6; }
31913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_666" >&5
31914 $as_echo "$conv_8_rgb_666" >&6; }
31915
31916 if test "x$conv_8_rgb_666" = "xyes" ; then
31917
31918 $as_echo "#define BUILD_CONVERT_8_RGB_666 1" >>confdefs.h
31919
31920 fi
31921
31922
31923
31924
31925
31926 ## Convert to 8bpp RGB 232
31927
31928
31929 conv_8_rgb_232="no"
31930
31931
31932   # Check whether --enable-convert-8-rgb-232 was given.
31933 if test "${enable_convert_8_rgb_232+set}" = set; then :
31934   enableval=$enable_convert_8_rgb_232;  conv_8_rgb_232=$enableval
31935 else
31936    conv_8_rgb_232=yes
31937
31938 fi
31939
31940
31941
31942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 232 converter code" >&5
31943 $as_echo_n "checking whether to build 8bpp RGB 232 converter code... " >&6; }
31944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_232" >&5
31945 $as_echo "$conv_8_rgb_232" >&6; }
31946
31947 if test "x$conv_8_rgb_232" = "xyes" ; then
31948
31949 $as_echo "#define BUILD_CONVERT_8_RGB_232 1" >>confdefs.h
31950
31951 fi
31952
31953
31954
31955
31956
31957 ## Convert to 8bpp RGB 222
31958
31959
31960 conv_8_rgb_222="no"
31961
31962
31963   # Check whether --enable-convert-8-rgb-222 was given.
31964 if test "${enable_convert_8_rgb_222+set}" = set; then :
31965   enableval=$enable_convert_8_rgb_222;  conv_8_rgb_222=$enableval
31966 else
31967    conv_8_rgb_222=yes
31968
31969 fi
31970
31971
31972
31973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 222 converter code" >&5
31974 $as_echo_n "checking whether to build 8bpp RGB 222 converter code... " >&6; }
31975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_222" >&5
31976 $as_echo "$conv_8_rgb_222" >&6; }
31977
31978 if test "x$conv_8_rgb_222" = "xyes" ; then
31979
31980 $as_echo "#define BUILD_CONVERT_8_RGB_222 1" >>confdefs.h
31981
31982 fi
31983
31984
31985
31986
31987
31988 ## Convert to 8bpp RGB 221
31989
31990
31991 conv_8_rgb_221="no"
31992
31993
31994   # Check whether --enable-convert-8-rgb-221 was given.
31995 if test "${enable_convert_8_rgb_221+set}" = set; then :
31996   enableval=$enable_convert_8_rgb_221;  conv_8_rgb_221=$enableval
31997 else
31998    conv_8_rgb_221=yes
31999
32000 fi
32001
32002
32003
32004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 221 converter code" >&5
32005 $as_echo_n "checking whether to build 8bpp RGB 221 converter code... " >&6; }
32006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_221" >&5
32007 $as_echo "$conv_8_rgb_221" >&6; }
32008
32009 if test "x$conv_8_rgb_221" = "xyes" ; then
32010
32011 $as_echo "#define BUILD_CONVERT_8_RGB_221 1" >>confdefs.h
32012
32013 fi
32014
32015
32016
32017
32018
32019 ## Convert to 8bpp RGB 121
32020
32021
32022 conv_8_rgb_121="no"
32023
32024
32025   # Check whether --enable-convert-8-rgb-121 was given.
32026 if test "${enable_convert_8_rgb_121+set}" = set; then :
32027   enableval=$enable_convert_8_rgb_121;  conv_8_rgb_121=$enableval
32028 else
32029    conv_8_rgb_121=yes
32030
32031 fi
32032
32033
32034
32035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 121 converter code" >&5
32036 $as_echo_n "checking whether to build 8bpp RGB 121 converter code... " >&6; }
32037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_121" >&5
32038 $as_echo "$conv_8_rgb_121" >&6; }
32039
32040 if test "x$conv_8_rgb_121" = "xyes" ; then
32041
32042 $as_echo "#define BUILD_CONVERT_8_RGB_121 1" >>confdefs.h
32043
32044 fi
32045
32046
32047
32048
32049
32050 ## Convert to 8bpp RGB 111
32051
32052
32053 conv_8_rgb_111="no"
32054
32055
32056   # Check whether --enable-convert-8-rgb-111 was given.
32057 if test "${enable_convert_8_rgb_111+set}" = set; then :
32058   enableval=$enable_convert_8_rgb_111;  conv_8_rgb_111=$enableval
32059 else
32060    conv_8_rgb_111=yes
32061
32062 fi
32063
32064
32065
32066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 111 converter code" >&5
32067 $as_echo_n "checking whether to build 8bpp RGB 111 converter code... " >&6; }
32068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_111" >&5
32069 $as_echo "$conv_8_rgb_111" >&6; }
32070
32071 if test "x$conv_8_rgb_111" = "xyes" ; then
32072
32073 $as_echo "#define BUILD_CONVERT_8_RGB_111 1" >>confdefs.h
32074
32075 fi
32076
32077
32078
32079
32080
32081 ## Convert to 16bpp RGB 565
32082
32083
32084 conv_16_rgb_565="no"
32085
32086
32087   # Check whether --enable-convert-16-rgb-565 was given.
32088 if test "${enable_convert_16_rgb_565+set}" = set; then :
32089   enableval=$enable_convert_16_rgb_565;  conv_16_rgb_565=$enableval
32090 else
32091    conv_16_rgb_565=yes
32092
32093 fi
32094
32095
32096
32097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB 565 converter code" >&5
32098 $as_echo_n "checking whether to build 16bpp RGB 565 converter code... " >&6; }
32099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_565" >&5
32100 $as_echo "$conv_16_rgb_565" >&6; }
32101
32102 if test "x$conv_16_rgb_565" = "xyes" ; then
32103
32104 $as_echo "#define BUILD_CONVERT_16_RGB_565 1" >>confdefs.h
32105
32106 fi
32107
32108
32109
32110
32111
32112 ## Convert to 16bpp BGR 565
32113
32114
32115 conv_16_bgr_565="no"
32116
32117
32118   # Check whether --enable-convert-16-bgr-565 was given.
32119 if test "${enable_convert_16_bgr_565+set}" = set; then :
32120   enableval=$enable_convert_16_bgr_565;  conv_16_bgr_565=$enableval
32121 else
32122    conv_16_bgr_565=yes
32123
32124 fi
32125
32126
32127
32128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp BGR 565 converter code" >&5
32129 $as_echo_n "checking whether to build 16bpp BGR 565 converter code... " >&6; }
32130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_bgr_565" >&5
32131 $as_echo "$conv_16_bgr_565" >&6; }
32132
32133 if test "x$conv_16_bgr_565" = "xyes" ; then
32134
32135 $as_echo "#define BUILD_CONVERT_16_BGR_565 1" >>confdefs.h
32136
32137 fi
32138
32139
32140
32141
32142
32143 ## Convert to 16bpp RGB 555
32144
32145
32146 conv_16_rgb_555="no"
32147
32148
32149   # Check whether --enable-convert-16-rgb-555 was given.
32150 if test "${enable_convert_16_rgb_555+set}" = set; then :
32151   enableval=$enable_convert_16_rgb_555;  conv_16_rgb_555=$enableval
32152 else
32153    conv_16_rgb_555=yes
32154
32155 fi
32156
32157
32158
32159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB 555 converter code" >&5
32160 $as_echo_n "checking whether to build 16bpp RGB 555 converter code... " >&6; }
32161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_555" >&5
32162 $as_echo "$conv_16_rgb_555" >&6; }
32163
32164 if test "x$conv_16_rgb_555" = "xyes" ; then
32165
32166 $as_echo "#define BUILD_CONVERT_16_RGB_555 1" >>confdefs.h
32167
32168 fi
32169
32170
32171
32172
32173
32174 ## Convert to 16bpp RGB 444
32175
32176
32177 conv_16_rgb_444="no"
32178
32179
32180   # Check whether --enable-convert-16-rgb-444 was given.
32181 if test "${enable_convert_16_rgb_444+set}" = set; then :
32182   enableval=$enable_convert_16_rgb_444;  conv_16_rgb_444=$enableval
32183 else
32184    conv_16_rgb_444=yes
32185
32186 fi
32187
32188
32189
32190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB 444 converter code" >&5
32191 $as_echo_n "checking whether to build 16bpp RGB 444 converter code... " >&6; }
32192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_444" >&5
32193 $as_echo "$conv_16_rgb_444" >&6; }
32194
32195 if test "x$conv_16_rgb_444" = "xyes" ; then
32196
32197 $as_echo "#define BUILD_CONVERT_16_RGB_444 1" >>confdefs.h
32198
32199 fi
32200
32201
32202
32203
32204
32205
32206 #######################################
32207 ## Convert to 16bpp RGB 565 (444 ipaq)
32208 conv_16_rgb_ipq="yes"
32209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp 565 (444 ipaq) converter code" >&5
32210 $as_echo_n "checking whether to build 16bpp 565 (444 ipaq) converter code... " >&6; }
32211 # Check whether --enable-convert-16-rgb-ipq was given.
32212 if test "${enable_convert_16_rgb_ipq+set}" = set; then :
32213   enableval=$enable_convert_16_rgb_ipq;
32214       if test "x$enableval" = "xyes" ; then
32215
32216 $as_echo "#define BUILD_CONVERT_16_RGB_454645 1" >>confdefs.h
32217
32218         conv_16_rgb_ipq="yes"
32219       else
32220         conv_16_rgb_ipq="no"
32221       fi
32222
32223 else
32224
32225       if test "x$conv_16_rgb_ipq" = "xyes" ; then
32226
32227 $as_echo "#define BUILD_CONVERT_16_RGB_454645 1" >>confdefs.h
32228
32229       fi
32230
32231
32232 fi
32233
32234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_ipq" >&5
32235 $as_echo "$conv_16_rgb_ipq" >&6; }
32236
32237 #######################################
32238 ## Convert to 16bpp RGB with rotation of 0
32239
32240
32241 conv_16_rgb_rot_0="no"
32242
32243
32244   # Check whether --enable-convert-16-rgb-rot-0 was given.
32245 if test "${enable_convert_16_rgb_rot_0+set}" = set; then :
32246   enableval=$enable_convert_16_rgb_rot_0;  conv_16_rgb_rot_0=$enableval
32247 else
32248    conv_16_rgb_rot_0=yes
32249
32250 fi
32251
32252
32253
32254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 0 converter code" >&5
32255 $as_echo_n "checking whether to build 16bpp RGB rotation 0 converter code... " >&6; }
32256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_0" >&5
32257 $as_echo "$conv_16_rgb_rot_0" >&6; }
32258
32259 if test "x$conv_16_rgb_rot_0" = "xyes" ; then
32260
32261 $as_echo "#define BUILD_CONVERT_16_RGB_ROT0 1" >>confdefs.h
32262
32263 fi
32264
32265
32266
32267
32268
32269 ## Convert to 16bpp RGB with rotation of 180
32270
32271
32272 conv_16_rgb_rot_180="no"
32273
32274
32275   # Check whether --enable-convert-16-rgb-rot-180 was given.
32276 if test "${enable_convert_16_rgb_rot_180+set}" = set; then :
32277   enableval=$enable_convert_16_rgb_rot_180;  conv_16_rgb_rot_180=$enableval
32278 else
32279    conv_16_rgb_rot_180=yes
32280
32281 fi
32282
32283
32284
32285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 180 converter code" >&5
32286 $as_echo_n "checking whether to build 16bpp RGB rotation 180 converter code... " >&6; }
32287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_180" >&5
32288 $as_echo "$conv_16_rgb_rot_180" >&6; }
32289
32290 if test "x$conv_16_rgb_rot_180" = "xyes" ; then
32291
32292 $as_echo "#define BUILD_CONVERT_16_RGB_ROT180 1" >>confdefs.h
32293
32294 fi
32295
32296
32297
32298
32299
32300 ## Convert to 16bpp RGB with rotation of 270
32301
32302
32303 conv_16_rgb_rot_270="no"
32304
32305
32306   # Check whether --enable-convert-16-rgb-rot-270 was given.
32307 if test "${enable_convert_16_rgb_rot_270+set}" = set; then :
32308   enableval=$enable_convert_16_rgb_rot_270;  conv_16_rgb_rot_270=$enableval
32309 else
32310    conv_16_rgb_rot_270=yes
32311
32312 fi
32313
32314
32315
32316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 270 converter code" >&5
32317 $as_echo_n "checking whether to build 16bpp RGB rotation 270 converter code... " >&6; }
32318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_270" >&5
32319 $as_echo "$conv_16_rgb_rot_270" >&6; }
32320
32321 if test "x$conv_16_rgb_rot_270" = "xyes" ; then
32322
32323 $as_echo "#define BUILD_CONVERT_16_RGB_ROT270 1" >>confdefs.h
32324
32325 fi
32326
32327
32328
32329
32330
32331 ## Convert to 16bpp RGB with rotation of 90
32332
32333
32334 conv_16_rgb_rot_90="no"
32335
32336
32337   # Check whether --enable-convert-16-rgb-rot-90 was given.
32338 if test "${enable_convert_16_rgb_rot_90+set}" = set; then :
32339   enableval=$enable_convert_16_rgb_rot_90;  conv_16_rgb_rot_90=$enableval
32340 else
32341    conv_16_rgb_rot_90=yes
32342
32343 fi
32344
32345
32346
32347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 90 converter code" >&5
32348 $as_echo_n "checking whether to build 16bpp RGB rotation 90 converter code... " >&6; }
32349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_90" >&5
32350 $as_echo "$conv_16_rgb_rot_90" >&6; }
32351
32352 if test "x$conv_16_rgb_rot_90" = "xyes" ; then
32353
32354 $as_echo "#define BUILD_CONVERT_16_RGB_ROT90 1" >>confdefs.h
32355
32356 fi
32357
32358
32359
32360
32361
32362
32363 #######################################
32364 ## Convert to 24bpp RGB 888
32365
32366
32367 conv_24_rgb_888="no"
32368
32369
32370   # Check whether --enable-convert-24-rgb-888 was given.
32371 if test "${enable_convert_24_rgb_888+set}" = set; then :
32372   enableval=$enable_convert_24_rgb_888;  conv_24_rgb_888=$enableval
32373 else
32374    conv_24_rgb_888=yes
32375
32376 fi
32377
32378
32379
32380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 24bpp RGB 888 converter code" >&5
32381 $as_echo_n "checking whether to build 24bpp RGB 888 converter code... " >&6; }
32382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_24_rgb_888" >&5
32383 $as_echo "$conv_24_rgb_888" >&6; }
32384
32385 if test "x$conv_24_rgb_888" = "xyes" ; then
32386
32387 $as_echo "#define BUILD_CONVERT_24_RGB_888 1" >>confdefs.h
32388
32389 fi
32390
32391
32392
32393
32394
32395 ## Convert to 24bpp BGR 888
32396
32397
32398 conv_24_bgr_888="no"
32399
32400
32401   # Check whether --enable-convert-24-bgr-888 was given.
32402 if test "${enable_convert_24_bgr_888+set}" = set; then :
32403   enableval=$enable_convert_24_bgr_888;  conv_24_bgr_888=$enableval
32404 else
32405    conv_24_bgr_888=yes
32406
32407 fi
32408
32409
32410
32411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 24bpp BGR 888 converter code" >&5
32412 $as_echo_n "checking whether to build 24bpp BGR 888 converter code... " >&6; }
32413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_24_bgr_888" >&5
32414 $as_echo "$conv_24_bgr_888" >&6; }
32415
32416 if test "x$conv_24_bgr_888" = "xyes" ; then
32417
32418 $as_echo "#define BUILD_CONVERT_24_BGR_888 1" >>confdefs.h
32419
32420 fi
32421
32422
32423
32424
32425
32426 ## Convert to 32bpp RGB 8888
32427
32428
32429 conv_32_rgb_8888="no"
32430
32431
32432   # Check whether --enable-convert-32-rgb-8888 was given.
32433 if test "${enable_convert_32_rgb_8888+set}" = set; then :
32434   enableval=$enable_convert_32_rgb_8888;  conv_32_rgb_8888=$enableval
32435 else
32436    conv_32_rgb_8888=yes
32437
32438 fi
32439
32440
32441
32442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB 8888 converter code" >&5
32443 $as_echo_n "checking whether to build 32bpp RGB 8888 converter code... " >&6; }
32444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_8888" >&5
32445 $as_echo "$conv_32_rgb_8888" >&6; }
32446
32447 if test "x$conv_32_rgb_8888" = "xyes" ; then
32448
32449 $as_echo "#define BUILD_CONVERT_32_RGB_8888 1" >>confdefs.h
32450
32451 fi
32452
32453
32454
32455
32456
32457 ## Convert to 32bpp RGBX 8888
32458
32459
32460 conv_32_rgbx_8888="no"
32461
32462
32463   # Check whether --enable-convert-32-rgbx-8888 was given.
32464 if test "${enable_convert_32_rgbx_8888+set}" = set; then :
32465   enableval=$enable_convert_32_rgbx_8888;  conv_32_rgbx_8888=$enableval
32466 else
32467    conv_32_rgbx_8888=yes
32468
32469 fi
32470
32471
32472
32473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGBX 8888 converter code" >&5
32474 $as_echo_n "checking whether to build 32bpp RGBX 8888 converter code... " >&6; }
32475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgbx_8888" >&5
32476 $as_echo "$conv_32_rgbx_8888" >&6; }
32477
32478 if test "x$conv_32_rgbx_8888" = "xyes" ; then
32479
32480 $as_echo "#define BUILD_CONVERT_32_RGBX_8888 1" >>confdefs.h
32481
32482 fi
32483
32484
32485
32486
32487
32488 ## Convert to 32bpp BGR 8888
32489
32490
32491 conv_32_bgr_8888="no"
32492
32493
32494   # Check whether --enable-convert-32-bgr-8888 was given.
32495 if test "${enable_convert_32_bgr_8888+set}" = set; then :
32496   enableval=$enable_convert_32_bgr_8888;  conv_32_bgr_8888=$enableval
32497 else
32498    conv_32_bgr_8888=yes
32499
32500 fi
32501
32502
32503
32504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp BGR 8888 converter code" >&5
32505 $as_echo_n "checking whether to build 32bpp BGR 8888 converter code... " >&6; }
32506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_bgr_8888" >&5
32507 $as_echo "$conv_32_bgr_8888" >&6; }
32508
32509 if test "x$conv_32_bgr_8888" = "xyes" ; then
32510
32511 $as_echo "#define BUILD_CONVERT_32_BGR_8888 1" >>confdefs.h
32512
32513 fi
32514
32515
32516
32517
32518
32519 ## Convert to 32bpp BGRX 8888
32520
32521
32522 conv_32_bgrx_8888="no"
32523
32524
32525   # Check whether --enable-convert-32-bgrx-8888 was given.
32526 if test "${enable_convert_32_bgrx_8888+set}" = set; then :
32527   enableval=$enable_convert_32_bgrx_8888;  conv_32_bgrx_8888=$enableval
32528 else
32529    conv_32_bgrx_8888=yes
32530
32531 fi
32532
32533
32534
32535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp BGRX 8888 converter code" >&5
32536 $as_echo_n "checking whether to build 32bpp BGRX 8888 converter code... " >&6; }
32537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_bgrx_8888" >&5
32538 $as_echo "$conv_32_bgrx_8888" >&6; }
32539
32540 if test "x$conv_32_bgrx_8888" = "xyes" ; then
32541
32542 $as_echo "#define BUILD_CONVERT_32_BGRX_8888 1" >>confdefs.h
32543
32544 fi
32545
32546
32547
32548
32549
32550
32551 #######################################
32552 ## Convert to 24bpp RGB 666 (666 ezx)
32553 conv_24_rgb_ezx="yes"
32554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 24bpp 666 (666 ezx) converter code" >&5
32555 $as_echo_n "checking whether to build 24bpp 666 (666 ezx) converter code... " >&6; }
32556 # Check whether --enable-convert-24-rgb-ezx was given.
32557 if test "${enable_convert_24_rgb_ezx+set}" = set; then :
32558   enableval=$enable_convert_24_rgb_ezx;
32559       if test "x$enableval" = "xyes" ; then
32560
32561 $as_echo "#define BUILD_CONVERT_24_RGB_666 1" >>confdefs.h
32562
32563         conv_24_rgb_ezx="yes"
32564       else
32565         conv_24_rgb_ezx="no"
32566       fi
32567
32568 else
32569
32570       if test "x$conv_24_rgb_ezx" = "xyes" ; then
32571
32572 $as_echo "#define BUILD_CONVERT_24_RGB_666 1" >>confdefs.h
32573
32574       fi
32575
32576
32577 fi
32578
32579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_24_rgb_ezx" >&5
32580 $as_echo "$conv_24_rgb_ezx" >&6; }
32581
32582 #######################################
32583 ## Convert to 32bpp RGB 666 (666 ezx)
32584 conv_32_rgb_ezx="yes"
32585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp 666 (666 ezx) converter code" >&5
32586 $as_echo_n "checking whether to build 32bpp 666 (666 ezx) converter code... " >&6; }
32587 # Check whether --enable-convert-32-rgb-ezx was given.
32588 if test "${enable_convert_32_rgb_ezx+set}" = set; then :
32589   enableval=$enable_convert_32_rgb_ezx;
32590       if test "x$enableval" = "xyes" ; then
32591
32592 $as_echo "#define BUILD_CONVERT_32_RGB_666 1" >>confdefs.h
32593
32594         conv_32_rgb_ezx="yes"
32595       else
32596         conv_32_rgb_ezx="no"
32597       fi
32598
32599 else
32600
32601       if test "x$conv_32_rgb_ezx" = "xyes" ; then
32602
32603 $as_echo "#define BUILD_CONVERT_32_RGB_666 1" >>confdefs.h
32604
32605       fi
32606
32607
32608 fi
32609
32610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_ezx" >&5
32611 $as_echo "$conv_32_rgb_ezx" >&6; }
32612
32613 #######################################
32614 ## Convert to 32bpp RGB with rotation of 0
32615
32616
32617 conv_32_rgb_rot_0="no"
32618
32619
32620   # Check whether --enable-convert-32-rgb-rot-0 was given.
32621 if test "${enable_convert_32_rgb_rot_0+set}" = set; then :
32622   enableval=$enable_convert_32_rgb_rot_0;  conv_32_rgb_rot_0=$enableval
32623 else
32624    conv_32_rgb_rot_0=yes
32625
32626 fi
32627
32628
32629
32630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 0 converter code" >&5
32631 $as_echo_n "checking whether to build 32bpp RGB rotation 0 converter code... " >&6; }
32632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_0" >&5
32633 $as_echo "$conv_32_rgb_rot_0" >&6; }
32634
32635 if test "x$conv_32_rgb_rot_0" = "xyes" ; then
32636
32637 $as_echo "#define BUILD_CONVERT_32_RGB_ROT0 1" >>confdefs.h
32638
32639 fi
32640
32641
32642
32643
32644
32645 ## Convert to 32bpp RGB with rotation of 180
32646
32647
32648 conv_32_rgb_rot_180="no"
32649
32650
32651   # Check whether --enable-convert-32-rgb-rot-180 was given.
32652 if test "${enable_convert_32_rgb_rot_180+set}" = set; then :
32653   enableval=$enable_convert_32_rgb_rot_180;  conv_32_rgb_rot_180=$enableval
32654 else
32655    conv_32_rgb_rot_180=yes
32656
32657 fi
32658
32659
32660
32661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 180 converter code" >&5
32662 $as_echo_n "checking whether to build 32bpp RGB rotation 180 converter code... " >&6; }
32663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_180" >&5
32664 $as_echo "$conv_32_rgb_rot_180" >&6; }
32665
32666 if test "x$conv_32_rgb_rot_180" = "xyes" ; then
32667
32668 $as_echo "#define BUILD_CONVERT_32_RGB_ROT180 1" >>confdefs.h
32669
32670 fi
32671
32672
32673
32674
32675
32676 ## Convert to 32bpp RGB with rotation of 270
32677
32678
32679 conv_32_rgb_rot_270="no"
32680
32681
32682   # Check whether --enable-convert-32-rgb-rot-270 was given.
32683 if test "${enable_convert_32_rgb_rot_270+set}" = set; then :
32684   enableval=$enable_convert_32_rgb_rot_270;  conv_32_rgb_rot_270=$enableval
32685 else
32686    conv_32_rgb_rot_270=yes
32687
32688 fi
32689
32690
32691
32692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 270 converter code" >&5
32693 $as_echo_n "checking whether to build 32bpp RGB rotation 270 converter code... " >&6; }
32694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_270" >&5
32695 $as_echo "$conv_32_rgb_rot_270" >&6; }
32696
32697 if test "x$conv_32_rgb_rot_270" = "xyes" ; then
32698
32699 $as_echo "#define BUILD_CONVERT_32_RGB_ROT270 1" >>confdefs.h
32700
32701 fi
32702
32703
32704
32705
32706
32707 ## Convert to 32bpp RGB with rotation of 90
32708
32709
32710 conv_32_rgb_rot_90="no"
32711
32712
32713   # Check whether --enable-convert-32-rgb-rot-90 was given.
32714 if test "${enable_convert_32_rgb_rot_90+set}" = set; then :
32715   enableval=$enable_convert_32_rgb_rot_90;  conv_32_rgb_rot_90=$enableval
32716 else
32717    conv_32_rgb_rot_90=yes
32718
32719 fi
32720
32721
32722
32723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 90 converter code" >&5
32724 $as_echo_n "checking whether to build 32bpp RGB rotation 90 converter code... " >&6; }
32725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_90" >&5
32726 $as_echo "$conv_32_rgb_rot_90" >&6; }
32727
32728 if test "x$conv_32_rgb_rot_90" = "xyes" ; then
32729
32730 $as_echo "#define BUILD_CONVERT_32_RGB_ROT90 1" >>confdefs.h
32731
32732 fi
32733
32734
32735
32736
32737
32738
32739 #######################################
32740 ## Convert to 8bpp grayscale with 256 value, no palette
32741
32742
32743 conv_8_gry_1="no"
32744
32745
32746   # Check whether --enable-convert-8-gry-1 was given.
32747 if test "${enable_convert_8_gry_1+set}" = set; then :
32748   enableval=$enable_convert_8_gry_1;  conv_8_gry_1=$enableval
32749 else
32750    conv_8_gry_1=yes
32751
32752 fi
32753
32754
32755
32756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp GRY 1 converter code" >&5
32757 $as_echo_n "checking whether to build 8bpp GRY 1 converter code... " >&6; }
32758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_gry_1" >&5
32759 $as_echo "$conv_8_gry_1" >&6; }
32760
32761 if test "x$conv_8_gry_1" = "xyes" ; then
32762
32763 $as_echo "#define BUILD_CONVERT_8_GRY_1 1" >>confdefs.h
32764
32765 fi
32766
32767
32768
32769
32770
32771 ## Convert to 8bpp grayscale with 16 value, no palette
32772
32773
32774 conv_8_gry_16="no"
32775
32776
32777   # Check whether --enable-convert-8-gry-16 was given.
32778 if test "${enable_convert_8_gry_16+set}" = set; then :
32779   enableval=$enable_convert_8_gry_16;  conv_8_gry_16=$enableval
32780 else
32781    conv_8_gry_16=yes
32782
32783 fi
32784
32785
32786
32787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp GRY 16 converter code" >&5
32788 $as_echo_n "checking whether to build 8bpp GRY 16 converter code... " >&6; }
32789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_gry_16" >&5
32790 $as_echo "$conv_8_gry_16" >&6; }
32791
32792 if test "x$conv_8_gry_16" = "xyes" ; then
32793
32794 $as_echo "#define BUILD_CONVERT_8_GRY_16 1" >>confdefs.h
32795
32796 fi
32797
32798
32799
32800
32801
32802
32803 #######################################
32804 ## Convert to 8bpp grayscale, 64-palette
32805 conv_8_grayscale_64="yes"
32806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp grayscale 64-palette converter code" >&5
32807 $as_echo_n "checking whether to build 8bpp grayscale 64-palette converter code... " >&6; }
32808 # Check whether --enable-convert-8-grayscale-64 was given.
32809 if test "${enable_convert_8_grayscale_64+set}" = set; then :
32810   enableval=$enable_convert_8_grayscale_64;
32811      if test "x$enableval" = "xyes"; then
32812
32813 $as_echo "#define BUILD_CONVERT_8_GRAYSCALE_64 1" >>confdefs.h
32814
32815        conv_8_grayscale_64="yes"
32816      else
32817        conv_8_grayscale_64="no"
32818      fi
32819
32820 else
32821
32822      if test "x$conv_8_grayscale_64" = "xyes"; then
32823
32824 $as_echo "#define BUILD_CONVERT_8_GRAYSCALE_64 1" >>confdefs.h
32825
32826      fi
32827
32828
32829 fi
32830
32831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_grayscale_64" >&5
32832 $as_echo "$conv_8_grayscale_64" >&6; }
32833
32834 ## valgrind
32835 want_valgrind="no"
32836 have_valgrind="no"
32837
32838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build with valgrind" >&5
32839 $as_echo_n "checking whether to enable build with valgrind... " >&6; }
32840 # Check whether --enable-valgrind was given.
32841 if test "${enable_valgrind+set}" = set; then :
32842   enableval=$enable_valgrind;  want_valgrind=$enableval
32843
32844 fi
32845
32846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_valgrind" >&5
32847 $as_echo "$want_valgrind" >&6; }
32848
32849 if test x$want_valgrind = "xyes"; then
32850
32851 pkg_failed=no
32852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
32853 $as_echo_n "checking for VALGRIND... " >&6; }
32854
32855 if test -n "$VALGRIND_CFLAGS"; then
32856     pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
32857  elif test -n "$PKG_CONFIG"; then
32858     if test -n "$PKG_CONFIG" && \
32859     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= 2.4.0\""; } >&5
32860   ($PKG_CONFIG --exists --print-errors "valgrind >= 2.4.0") 2>&5
32861   ac_status=$?
32862   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32863   test $ac_status = 0; }; then
32864   pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= 2.4.0" 2>/dev/null`
32865                       test "x$?" != "x0" && pkg_failed=yes
32866 else
32867   pkg_failed=yes
32868 fi
32869  else
32870     pkg_failed=untried
32871 fi
32872 if test -n "$VALGRIND_LIBS"; then
32873     pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
32874  elif test -n "$PKG_CONFIG"; then
32875     if test -n "$PKG_CONFIG" && \
32876     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= 2.4.0\""; } >&5
32877   ($PKG_CONFIG --exists --print-errors "valgrind >= 2.4.0") 2>&5
32878   ac_status=$?
32879   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32880   test $ac_status = 0; }; then
32881   pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= 2.4.0" 2>/dev/null`
32882                       test "x$?" != "x0" && pkg_failed=yes
32883 else
32884   pkg_failed=yes
32885 fi
32886  else
32887     pkg_failed=untried
32888 fi
32889
32890
32891
32892 if test $pkg_failed = yes; then
32893         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32894 $as_echo "no" >&6; }
32895
32896 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32897         _pkg_short_errors_supported=yes
32898 else
32899         _pkg_short_errors_supported=no
32900 fi
32901         if test $_pkg_short_errors_supported = yes; then
32902                 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "valgrind >= 2.4.0" 2>&1`
32903         else
32904                 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "valgrind >= 2.4.0" 2>&1`
32905         fi
32906         # Put the nasty error message in config.log where it belongs
32907         echo "$VALGRIND_PKG_ERRORS" >&5
32908
32909
32910       if test "x$want_valgrind" = "xyes" -a "x$use_strict" = "xyes" ; then
32911         as_fn_error $? "Valgrind not found (strict dependencies checking)" "$LINENO" 5
32912       fi
32913
32914
32915 elif test $pkg_failed = untried; then
32916         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32917 $as_echo "no" >&6; }
32918
32919       if test "x$want_valgrind" = "xyes" -a "x$use_strict" = "xyes" ; then
32920         as_fn_error $? "Valgrind not found (strict dependencies checking)" "$LINENO" 5
32921       fi
32922
32923
32924 else
32925         VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
32926         VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
32927         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32928 $as_echo "yes" >&6; }
32929
32930
32931 $as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
32932
32933       have_valgrind=yes
32934       requirement_evas="valgrind ${requirement_evas}"
32935
32936 fi
32937 fi
32938
32939 ## Examples
32940
32941 install_examples="yes"
32942 # Check whether --enable-install-examples was given.
32943 if test "${enable_install_examples+set}" = set; then :
32944   enableval=$enable_install_examples;
32945     if test "x${enableval}" = "xyes" ; then
32946        install_examples="yes"
32947     else
32948        install_examples="no"
32949     fi
32950
32951 else
32952   install_examples="yes"
32953 fi
32954
32955  if test "x${install_examples}" = "xyes"; then
32956   INSTALL_EXAMPLES_TRUE=
32957   INSTALL_EXAMPLES_FALSE='#'
32958 else
32959   INSTALL_EXAMPLES_TRUE='#'
32960   INSTALL_EXAMPLES_FALSE=
32961 fi
32962
32963
32964 build_examples="no"
32965 # Check whether --enable-build-examples was given.
32966 if test "${enable_build_examples+set}" = set; then :
32967   enableval=$enable_build_examples;
32968     if test "x${enableval}" = "xyes" ; then
32969        build_examples="yes"
32970        # put in here the dependencies for Evas' examples. they are
32971        # meant to be 'real world' usage examples, thus one will be
32972        # using higher level libraries on these programs
32973
32974 pkg_failed=no
32975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_EVAS" >&5
32976 $as_echo_n "checking for ECORE_EVAS... " >&6; }
32977
32978 if test -n "$ECORE_EVAS_CFLAGS"; then
32979     pkg_cv_ECORE_EVAS_CFLAGS="$ECORE_EVAS_CFLAGS"
32980  elif test -n "$PKG_CONFIG"; then
32981     if test -n "$PKG_CONFIG" && \
32982     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas ecore\""; } >&5
32983   ($PKG_CONFIG --exists --print-errors "ecore-evas ecore") 2>&5
32984   ac_status=$?
32985   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32986   test $ac_status = 0; }; then
32987   pkg_cv_ECORE_EVAS_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas ecore" 2>/dev/null`
32988                       test "x$?" != "x0" && pkg_failed=yes
32989 else
32990   pkg_failed=yes
32991 fi
32992  else
32993     pkg_failed=untried
32994 fi
32995 if test -n "$ECORE_EVAS_LIBS"; then
32996     pkg_cv_ECORE_EVAS_LIBS="$ECORE_EVAS_LIBS"
32997  elif test -n "$PKG_CONFIG"; then
32998     if test -n "$PKG_CONFIG" && \
32999     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas ecore\""; } >&5
33000   ($PKG_CONFIG --exists --print-errors "ecore-evas ecore") 2>&5
33001   ac_status=$?
33002   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33003   test $ac_status = 0; }; then
33004   pkg_cv_ECORE_EVAS_LIBS=`$PKG_CONFIG --libs "ecore-evas ecore" 2>/dev/null`
33005                       test "x$?" != "x0" && pkg_failed=yes
33006 else
33007   pkg_failed=yes
33008 fi
33009  else
33010     pkg_failed=untried
33011 fi
33012
33013
33014
33015 if test $pkg_failed = yes; then
33016         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33017 $as_echo "no" >&6; }
33018
33019 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33020         _pkg_short_errors_supported=yes
33021 else
33022         _pkg_short_errors_supported=no
33023 fi
33024         if test $_pkg_short_errors_supported = yes; then
33025                 ECORE_EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-evas ecore" 2>&1`
33026         else
33027                 ECORE_EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-evas ecore" 2>&1`
33028         fi
33029         # Put the nasty error message in config.log where it belongs
33030         echo "$ECORE_EVAS_PKG_ERRORS" >&5
33031
33032         build_examples="no"
33033 elif test $pkg_failed = untried; then
33034         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33035 $as_echo "no" >&6; }
33036         build_examples="no"
33037 else
33038         ECORE_EVAS_CFLAGS=$pkg_cv_ECORE_EVAS_CFLAGS
33039         ECORE_EVAS_LIBS=$pkg_cv_ECORE_EVAS_LIBS
33040         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33041 $as_echo "yes" >&6; }
33042
33043 fi
33044
33045 pkg_failed=no
33046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE" >&5
33047 $as_echo_n "checking for EDJE... " >&6; }
33048
33049 if test -n "$EDJE_CFLAGS"; then
33050     pkg_cv_EDJE_CFLAGS="$EDJE_CFLAGS"
33051  elif test -n "$PKG_CONFIG"; then
33052     if test -n "$PKG_CONFIG" && \
33053     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje\""; } >&5
33054   ($PKG_CONFIG --exists --print-errors "edje") 2>&5
33055   ac_status=$?
33056   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33057   test $ac_status = 0; }; then
33058   pkg_cv_EDJE_CFLAGS=`$PKG_CONFIG --cflags "edje" 2>/dev/null`
33059                       test "x$?" != "x0" && pkg_failed=yes
33060 else
33061   pkg_failed=yes
33062 fi
33063  else
33064     pkg_failed=untried
33065 fi
33066 if test -n "$EDJE_LIBS"; then
33067     pkg_cv_EDJE_LIBS="$EDJE_LIBS"
33068  elif test -n "$PKG_CONFIG"; then
33069     if test -n "$PKG_CONFIG" && \
33070     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje\""; } >&5
33071   ($PKG_CONFIG --exists --print-errors "edje") 2>&5
33072   ac_status=$?
33073   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33074   test $ac_status = 0; }; then
33075   pkg_cv_EDJE_LIBS=`$PKG_CONFIG --libs "edje" 2>/dev/null`
33076                       test "x$?" != "x0" && pkg_failed=yes
33077 else
33078   pkg_failed=yes
33079 fi
33080  else
33081     pkg_failed=untried
33082 fi
33083
33084
33085
33086 if test $pkg_failed = yes; then
33087         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33088 $as_echo "no" >&6; }
33089
33090 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33091         _pkg_short_errors_supported=yes
33092 else
33093         _pkg_short_errors_supported=no
33094 fi
33095         if test $_pkg_short_errors_supported = yes; then
33096                 EDJE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "edje" 2>&1`
33097         else
33098                 EDJE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "edje" 2>&1`
33099         fi
33100         # Put the nasty error message in config.log where it belongs
33101         echo "$EDJE_PKG_ERRORS" >&5
33102
33103         build_examples="no"
33104 elif test $pkg_failed = untried; then
33105         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33106 $as_echo "no" >&6; }
33107         build_examples="no"
33108 else
33109         EDJE_CFLAGS=$pkg_cv_EDJE_CFLAGS
33110         EDJE_LIBS=$pkg_cv_EDJE_LIBS
33111         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33112 $as_echo "yes" >&6; }
33113         edje_cc=$($PKG_CONFIG --variable=prefix edje)/bin/edje_cc
33114 fi
33115
33116     else
33117        build_examples="no"
33118     fi
33119
33120 else
33121   build_examples="no"
33122 fi
33123
33124  if test "x${build_examples}" = "xyes"; then
33125   BUILD_EXAMPLES_TRUE=
33126   BUILD_EXAMPLES_FALSE='#'
33127 else
33128   BUILD_EXAMPLES_TRUE='#'
33129   BUILD_EXAMPLES_FALSE=
33130 fi
33131
33132
33133 ## Unit tests, coverage
33134
33135
33136
33137
33138 # Check whether --enable-tests was given.
33139 if test "${enable_tests+set}" = set; then :
33140   enableval=$enable_tests;
33141     if test "x${enableval}" = "xyes" ; then
33142        _efl_enable_tests="yes"
33143     else
33144        _efl_enable_tests="no"
33145     fi
33146
33147 else
33148   _efl_enable_tests="no"
33149 fi
33150
33151
33152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests are built" >&5
33153 $as_echo_n "checking whether tests are built... " >&6; }
33154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_tests}" >&5
33155 $as_echo "${_efl_enable_tests}" >&6; }
33156
33157
33158
33159 if test "x${_efl_enable_tests}" = "xyes" ; then
33160
33161 pkg_failed=no
33162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
33163 $as_echo_n "checking for CHECK... " >&6; }
33164
33165 if test -n "$CHECK_CFLAGS"; then
33166     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
33167  elif test -n "$PKG_CONFIG"; then
33168     if test -n "$PKG_CONFIG" && \
33169     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
33170   ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
33171   ac_status=$?
33172   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33173   test $ac_status = 0; }; then
33174   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.5" 2>/dev/null`
33175                       test "x$?" != "x0" && pkg_failed=yes
33176 else
33177   pkg_failed=yes
33178 fi
33179  else
33180     pkg_failed=untried
33181 fi
33182 if test -n "$CHECK_LIBS"; then
33183     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
33184  elif test -n "$PKG_CONFIG"; then
33185     if test -n "$PKG_CONFIG" && \
33186     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
33187   ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
33188   ac_status=$?
33189   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33190   test $ac_status = 0; }; then
33191   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.5" 2>/dev/null`
33192                       test "x$?" != "x0" && pkg_failed=yes
33193 else
33194   pkg_failed=yes
33195 fi
33196  else
33197     pkg_failed=untried
33198 fi
33199
33200
33201
33202 if test $pkg_failed = yes; then
33203         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33204 $as_echo "no" >&6; }
33205
33206 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33207         _pkg_short_errors_supported=yes
33208 else
33209         _pkg_short_errors_supported=no
33210 fi
33211         if test $_pkg_short_errors_supported = yes; then
33212                 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.5" 2>&1`
33213         else
33214                 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.5" 2>&1`
33215         fi
33216         # Put the nasty error message in config.log where it belongs
33217         echo "$CHECK_PKG_ERRORS" >&5
33218
33219         _efl_enable_tests="no"
33220 elif test $pkg_failed = untried; then
33221         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33222 $as_echo "no" >&6; }
33223         _efl_enable_tests="no"
33224 else
33225         CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
33226         CHECK_LIBS=$pkg_cv_CHECK_LIBS
33227         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33228 $as_echo "yes" >&6; }
33229         dummy="yes"
33230 fi
33231 fi
33232 if test "x${_efl_enable_tests}" = "xyes" ; then
33233
33234 $as_echo "#define HAVE_TESTS 1" >>confdefs.h
33235
33236 fi
33237
33238  if test "x${_efl_enable_tests}" = "xyes"; then
33239   EFL_ENABLE_TESTS_TRUE=
33240   EFL_ENABLE_TESTS_FALSE='#'
33241 else
33242   EFL_ENABLE_TESTS_TRUE='#'
33243   EFL_ENABLE_TESTS_FALSE=
33244 fi
33245
33246
33247 if test "x$_efl_enable_tests" = "xyes"; then :
33248   enable_tests="yes"
33249 else
33250   enable_tests="no"
33251 fi
33252
33253
33254
33255
33256
33257 # Check whether --enable-coverage was given.
33258 if test "${enable_coverage+set}" = set; then :
33259   enableval=$enable_coverage;
33260     if test "x${enableval}" = "xyes" ; then
33261        _efl_enable_coverage="yes"
33262     else
33263        _efl_enable_coverage="no"
33264     fi
33265
33266 else
33267   _efl_enable_coverage="no"
33268 fi
33269
33270
33271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use profiling instrumentation" >&5
33272 $as_echo_n "checking whether to use profiling instrumentation... " >&6; }
33273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_efl_enable_coverage" >&5
33274 $as_echo "$_efl_enable_coverage" >&6; }
33275
33276
33277 if test "x$_efl_enable_coverage" = "xyes" && test ! "x${enable_tests}" = "xyes" ; then
33278    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&5
33279 $as_echo "$as_me: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&2;}
33280    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Run configure with --enable-tests" >&5
33281 $as_echo "$as_me: WARNING: Run configure with --enable-tests" >&2;}
33282    _efl_enable_coverage="no"
33283 fi
33284
33285 if test "x$_efl_enable_coverage" = "xyes" ; then
33286    # Extract the first word of "lcov", so it can be a program name with args.
33287 set dummy lcov; ac_word=$2
33288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33289 $as_echo_n "checking for $ac_word... " >&6; }
33290 if ${ac_cv_prog_have_lcov+:} false; then :
33291   $as_echo_n "(cached) " >&6
33292 else
33293   if test -n "$have_lcov"; then
33294   ac_cv_prog_have_lcov="$have_lcov" # Let the user override the test.
33295 else
33296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33297 for as_dir in $PATH
33298 do
33299   IFS=$as_save_IFS
33300   test -z "$as_dir" && as_dir=.
33301     for ac_exec_ext in '' $ac_executable_extensions; do
33302   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33303     ac_cv_prog_have_lcov="yes"
33304     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33305     break 2
33306   fi
33307 done
33308   done
33309 IFS=$as_save_IFS
33310
33311   test -z "$ac_cv_prog_have_lcov" && ac_cv_prog_have_lcov="no"
33312 fi
33313 fi
33314 have_lcov=$ac_cv_prog_have_lcov
33315 if test -n "$have_lcov"; then
33316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_lcov" >&5
33317 $as_echo "$have_lcov" >&6; }
33318 else
33319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33320 $as_echo "no" >&6; }
33321 fi
33322
33323
33324    if test "x$have_lcov" = "xyes" ; then
33325       EFL_COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
33326       EFL_COVERAGE_LIBS="-lgcov"
33327 # remove any optimisation flag and force debug symbols
33328       EFL_DEBUG_CFLAGS="-g -O0 -DDEBUG"
33329    else
33330       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: lcov is not found, disable profiling instrumentation" >&5
33331 $as_echo "$as_me: WARNING: lcov is not found, disable profiling instrumentation" >&2;}
33332       _efl_enable_coverage="no"
33333    fi
33334 fi
33335
33336
33337
33338
33339  if test "x${_efl_enable_coverage}" = "xyes"; then
33340   EFL_ENABLE_COVERAGE_TRUE=
33341   EFL_ENABLE_COVERAGE_FALSE='#'
33342 else
33343   EFL_ENABLE_COVERAGE_TRUE='#'
33344   EFL_ENABLE_COVERAGE_FALSE=
33345 fi
33346
33347
33348 if test "x$_efl_enable_coverage" = "xyes"; then :
33349   enable_coverage="yes"
33350 else
33351   enable_coverage="no"
33352 fi
33353
33354 EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_COVERAGE_CFLAGS} ${EXOTIC_CFLAGS}"
33355 EVAS_LIBS="${EVAS_LIBS} ${EFL_COVERAGE_LIBS} ${EXOTIC_LIBS}"
33356 if test "x$enable_coverage" = "xyes" ; then
33357    EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_DEBUG_CFLAGS}"
33358 fi
33359
33360
33361
33362
33363 # General CFLAGS
33364
33365 EVAS_GENERAL_CFLAGS="${EINA_CFLAGS}"
33366 EVAS_GENERAL_LIBS="${EINA_LIBS}"
33367
33368
33369
33370 #####################################################################
33371 ## Fill in flags
33372
33373
33374
33375
33376
33377
33378
33379 #####################################################################
33380 ## Output
33381
33382 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"
33383
33384 cat >confcache <<\_ACEOF
33385 # This file is a shell script that caches the results of configure
33386 # tests run on this system so they can be shared between configure
33387 # scripts and configure runs, see configure's option --config-cache.
33388 # It is not useful on other systems.  If it contains results you don't
33389 # want to keep, you may remove or edit it.
33390 #
33391 # config.status only pays attention to the cache file if you give it
33392 # the --recheck option to rerun configure.
33393 #
33394 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33395 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33396 # following values.
33397
33398 _ACEOF
33399
33400 # The following way of writing the cache mishandles newlines in values,
33401 # but we know of no workaround that is simple, portable, and efficient.
33402 # So, we kill variables containing newlines.
33403 # Ultrix sh set writes to stderr and can't be redirected directly,
33404 # and sets the high bit in the cache file unless we assign to the vars.
33405 (
33406   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
33407     eval ac_val=\$$ac_var
33408     case $ac_val in #(
33409     *${as_nl}*)
33410       case $ac_var in #(
33411       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
33412 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
33413       esac
33414       case $ac_var in #(
33415       _ | IFS | as_nl) ;; #(
33416       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
33417       *) { eval $ac_var=; unset $ac_var;} ;;
33418       esac ;;
33419     esac
33420   done
33421
33422   (set) 2>&1 |
33423     case $as_nl`(ac_space=' '; set) 2>&1` in #(
33424     *${as_nl}ac_space=\ *)
33425       # `set' does not quote correctly, so add quotes: double-quote
33426       # substitution turns \\\\ into \\, and sed turns \\ into \.
33427       sed -n \
33428         "s/'/'\\\\''/g;
33429           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33430       ;; #(
33431     *)
33432       # `set' quotes correctly as required by POSIX, so do not add quotes.
33433       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
33434       ;;
33435     esac |
33436     sort
33437 ) |
33438   sed '
33439      /^ac_cv_env_/b end
33440      t clear
33441      :clear
33442      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33443      t end
33444      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33445      :end' >>confcache
33446 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
33447   if test -w "$cache_file"; then
33448     if test "x$cache_file" != "x/dev/null"; then
33449       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
33450 $as_echo "$as_me: updating cache $cache_file" >&6;}
33451       if test ! -f "$cache_file" || test -h "$cache_file"; then
33452         cat confcache >"$cache_file"
33453       else
33454         case $cache_file in #(
33455         */* | ?:*)
33456           mv -f confcache "$cache_file"$$ &&
33457           mv -f "$cache_file"$$ "$cache_file" ;; #(
33458         *)
33459           mv -f confcache "$cache_file" ;;
33460         esac
33461       fi
33462     fi
33463   else
33464     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
33465 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
33466   fi
33467 fi
33468 rm -f confcache
33469
33470 test "x$prefix" = xNONE && prefix=$ac_default_prefix
33471 # Let make expand exec_prefix.
33472 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33473
33474 DEFS=-DHAVE_CONFIG_H
33475
33476 ac_libobjs=
33477 ac_ltlibobjs=
33478 U=
33479 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33480   # 1. Remove the extension, and $U if already installed.
33481   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
33482   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
33483   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
33484   #    will be set to the directory where LIBOBJS objects are built.
33485   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
33486   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
33487 done
33488 LIBOBJS=$ac_libobjs
33489
33490 LTLIBOBJS=$ac_ltlibobjs
33491
33492
33493  if test -n "$EXEEXT"; then
33494   am__EXEEXT_TRUE=
33495   am__EXEEXT_FALSE='#'
33496 else
33497   am__EXEEXT_TRUE='#'
33498   am__EXEEXT_FALSE=
33499 fi
33500
33501 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
33502   as_fn_error $? "conditional \"AMDEP\" was never defined.
33503 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33504 fi
33505 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33506   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
33507 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33508 fi
33509 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
33510   as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
33511 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33512 fi
33513 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
33514   as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
33515 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33516 fi
33517 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
33518   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
33519 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33520 fi
33521 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33522   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
33523 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33524 fi
33525 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
33526   as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
33527 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33528 fi
33529 if test -z "${EVAS_HAVE_EXOTIC_TRUE}" && test -z "${EVAS_HAVE_EXOTIC_FALSE}"; then
33530   as_fn_error $? "conditional \"EVAS_HAVE_EXOTIC\" was never defined.
33531 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33532 fi
33533 if test -z "${EVAS_USE_LINEBREAK_TRUE}" && test -z "${EVAS_USE_LINEBREAK_FALSE}"; then
33534   as_fn_error $? "conditional \"EVAS_USE_LINEBREAK\" was never defined.
33535 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33536 fi
33537
33538 if test -z "${EVAS_CSERVE_TRUE}" && test -z "${EVAS_CSERVE_FALSE}"; then
33539   as_fn_error $? "conditional \"EVAS_CSERVE\" was never defined.
33540 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33541 fi
33542 if test -z "${EVAS_CSERVE2_TRUE}" && test -z "${EVAS_CSERVE2_FALSE}"; then
33543   as_fn_error $? "conditional \"EVAS_CSERVE2\" was never defined.
33544 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33545 fi
33546 if test -z "${BUILD_ENGINE_BUFFER_TRUE}" && test -z "${BUILD_ENGINE_BUFFER_FALSE}"; then
33547   as_fn_error $? "conditional \"BUILD_ENGINE_BUFFER\" was never defined.
33548 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33549 fi
33550 if test -z "${EVAS_STATIC_BUILD_BUFFER_TRUE}" && test -z "${EVAS_STATIC_BUILD_BUFFER_FALSE}"; then
33551   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_BUFFER\" was never defined.
33552 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33553 fi
33554 if test -z "${BUILD_ENGINE_SOFTWARE_GDI_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_GDI_FALSE}"; then
33555   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_GDI\" was never defined.
33556 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33557 fi
33558 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE}"; then
33559   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_GDI\" was never defined.
33560 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33561 fi
33562 if test -z "${BUILD_ENGINE_SOFTWARE_DDRAW_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_DDRAW_FALSE}"; then
33563   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_DDRAW\" was never defined.
33564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33565 fi
33566 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE}"; then
33567   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_DDRAW\" was never defined.
33568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33569 fi
33570 if test -z "${BUILD_ENGINE_DIRECT3D_TRUE}" && test -z "${BUILD_ENGINE_DIRECT3D_FALSE}"; then
33571   as_fn_error $? "conditional \"BUILD_ENGINE_DIRECT3D\" was never defined.
33572 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33573 fi
33574 if test -z "${EVAS_STATIC_BUILD_DIRECT3D_TRUE}" && test -z "${EVAS_STATIC_BUILD_DIRECT3D_FALSE}"; then
33575   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_DIRECT3D\" was never defined.
33576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33577 fi
33578 if test -z "${BUILD_ENGINE_PSL1GHT_TRUE}" && test -z "${BUILD_ENGINE_PSL1GHT_FALSE}"; then
33579   as_fn_error $? "conditional \"BUILD_ENGINE_PSL1GHT\" was never defined.
33580 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33581 fi
33582 if test -z "${EVAS_STATIC_BUILD_PSL1GHT_TRUE}" && test -z "${EVAS_STATIC_BUILD_PSL1GHT_FALSE}"; then
33583   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PSL1GHT\" was never defined.
33584 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33585 fi
33586 if test -z "${BUILD_ENGINE_GL_SDL_TRUE}" && test -z "${BUILD_ENGINE_GL_SDL_FALSE}"; then
33587   as_fn_error $? "conditional \"BUILD_ENGINE_GL_SDL\" was never defined.
33588 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33589 fi
33590 if test -z "${EVAS_STATIC_BUILD_GL_SDL_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_SDL_FALSE}"; then
33591   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_SDL\" was never defined.
33592 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33593 fi
33594 if test -z "${BUILD_ENGINE_GL_COCOA_TRUE}" && test -z "${BUILD_ENGINE_GL_COCOA_FALSE}"; then
33595   as_fn_error $? "conditional \"BUILD_ENGINE_GL_COCOA\" was never defined.
33596 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33597 fi
33598 if test -z "${EVAS_STATIC_BUILD_GL_COCOA_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_COCOA_FALSE}"; then
33599   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_COCOA\" was never defined.
33600 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33601 fi
33602 if test -z "${BUILD_ENGINE_FB_TRUE}" && test -z "${BUILD_ENGINE_FB_FALSE}"; then
33603   as_fn_error $? "conditional \"BUILD_ENGINE_FB\" was never defined.
33604 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33605 fi
33606 if test -z "${EVAS_STATIC_BUILD_FB_TRUE}" && test -z "${EVAS_STATIC_BUILD_FB_FALSE}"; then
33607   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_FB\" was never defined.
33608 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33609 fi
33610 if test -z "${BUILD_ENGINE_DIRECTFB_TRUE}" && test -z "${BUILD_ENGINE_DIRECTFB_FALSE}"; then
33611   as_fn_error $? "conditional \"BUILD_ENGINE_DIRECTFB\" was never defined.
33612 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33613 fi
33614 if test -z "${EVAS_STATIC_BUILD_DIRECTFB_TRUE}" && test -z "${EVAS_STATIC_BUILD_DIRECTFB_FALSE}"; then
33615   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_DIRECTFB\" was never defined.
33616 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33617 fi
33618 if test -z "${BUILD_ENGINE_SOFTWARE_8_X11_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_8_X11_FALSE}"; then
33619   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_8_X11\" was never defined.
33620 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33621 fi
33622 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE}"; then
33623   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_8_X11\" was never defined.
33624 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33625 fi
33626 if test -z "${BUILD_ENGINE_SOFTWARE_16_X11_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_X11_FALSE}"; then
33627   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16_X11\" was never defined.
33628 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33629 fi
33630 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE}"; then
33631   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_X11\" was never defined.
33632 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33633 fi
33634 if test -z "${BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE}"; then
33635   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16_WINCE\" was never defined.
33636 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33637 fi
33638 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE}"; then
33639   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_WINCE\" was never defined.
33640 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33641 fi
33642 if test -z "${BUILD_ENGINE_SOFTWARE_16_SDL_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_SDL_FALSE}"; then
33643   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16_SDL\" was never defined.
33644 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33645 fi
33646 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE}"; then
33647   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_SDL\" was never defined.
33648 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33649 fi
33650 if test -z "${BUILD_ENGINE_WAYLAND_SHM_TRUE}" && test -z "${BUILD_ENGINE_WAYLAND_SHM_FALSE}"; then
33651   as_fn_error $? "conditional \"BUILD_ENGINE_WAYLAND_SHM\" was never defined.
33652 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33653 fi
33654 if test -z "${EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE}" && test -z "${EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE}"; then
33655   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_WAYLAND_SHM\" was never defined.
33656 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33657 fi
33658 if test -z "${BUILD_ENGINE_WAYLAND_EGL_TRUE}" && test -z "${BUILD_ENGINE_WAYLAND_EGL_FALSE}"; then
33659   as_fn_error $? "conditional \"BUILD_ENGINE_WAYLAND_EGL\" was never defined.
33660 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33661 fi
33662 if test -z "${EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE}" && test -z "${EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE}"; then
33663   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_WAYLAND_EGL\" was never defined.
33664 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33665 fi
33666 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE}"; then
33667   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_GENERIC\" was never defined.
33668 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33669 fi
33670 if test -z "${BUILD_ENGINE_SOFTWARE_XCB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XCB_FALSE}"; then
33671   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XCB\" was never defined.
33672 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33673 fi
33674 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE}"; then
33675   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XCB\" was never defined.
33676 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33677 fi
33678 if test -z "${BUILD_ENGINE_SOFTWARE_XLIB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XLIB_FALSE}"; then
33679   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XLIB\" was never defined.
33680 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33681 fi
33682 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE}"; then
33683   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XLIB\" was never defined.
33684 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33685 fi
33686 if test -z "${BUILD_ENGINE_SOFTWARE_XLIB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XLIB_FALSE}"; then
33687   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XLIB\" was never defined.
33688 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33689 fi
33690 if test -z "${BUILD_ENGINE_SOFTWARE_XCB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XCB_FALSE}"; then
33691   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XCB\" was never defined.
33692 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33693 fi
33694 if test -z "${BUILD_ENGINE_SOFTWARE_X11_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_X11_FALSE}"; then
33695   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_X11\" was never defined.
33696 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33697 fi
33698 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE}"; then
33699   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_X11\" was never defined.
33700 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33701 fi
33702 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE}"; then
33703   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XLIB\" was never defined.
33704 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33705 fi
33706 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE}"; then
33707   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XCB\" was never defined.
33708 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33709 fi
33710 if test -z "${BUILD_ENGINE_GL_XCB_TRUE}" && test -z "${BUILD_ENGINE_GL_XCB_FALSE}"; then
33711   as_fn_error $? "conditional \"BUILD_ENGINE_GL_XCB\" was never defined.
33712 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33713 fi
33714 if test -z "${EVAS_STATIC_BUILD_GL_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XCB_FALSE}"; then
33715   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XCB\" was never defined.
33716 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33717 fi
33718 if test -z "${BUILD_ENGINE_GL_XLIB_TRUE}" && test -z "${BUILD_ENGINE_GL_XLIB_FALSE}"; then
33719   as_fn_error $? "conditional \"BUILD_ENGINE_GL_XLIB\" was never defined.
33720 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33721 fi
33722 if test -z "${EVAS_STATIC_BUILD_GL_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XLIB_FALSE}"; then
33723   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XLIB\" was never defined.
33724 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33725 fi
33726 if test -z "${BUILD_ENGINE_GL_XLIB_TRUE}" && test -z "${BUILD_ENGINE_GL_XLIB_FALSE}"; then
33727   as_fn_error $? "conditional \"BUILD_ENGINE_GL_XLIB\" was never defined.
33728 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33729 fi
33730 if test -z "${BUILD_ENGINE_GL_XCB_TRUE}" && test -z "${BUILD_ENGINE_GL_XCB_FALSE}"; then
33731   as_fn_error $? "conditional \"BUILD_ENGINE_GL_XCB\" was never defined.
33732 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33733 fi
33734 if test -z "${BUILD_ENGINE_GL_X11_TRUE}" && test -z "${BUILD_ENGINE_GL_X11_FALSE}"; then
33735   as_fn_error $? "conditional \"BUILD_ENGINE_GL_X11\" was never defined.
33736 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33737 fi
33738 if test -z "${EVAS_STATIC_BUILD_GL_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_X11_FALSE}"; then
33739   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_X11\" was never defined.
33740 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33741 fi
33742 if test -z "${EVAS_STATIC_BUILD_GL_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XLIB_FALSE}"; then
33743   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XLIB\" was never defined.
33744 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33745 fi
33746 if test -z "${EVAS_STATIC_BUILD_GL_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XCB_FALSE}"; then
33747   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XCB\" was never defined.
33748 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33749 fi
33750 if test -z "${BUILD_ENGINE_GL_COMMON_TRUE}" && test -z "${BUILD_ENGINE_GL_COMMON_FALSE}"; then
33751   as_fn_error $? "conditional \"BUILD_ENGINE_GL_COMMON\" was never defined.
33752 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33753 fi
33754 if test -z "${EVAS_STATIC_BUILD_GL_COMMON_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_COMMON_FALSE}"; then
33755   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_COMMON\" was never defined.
33756 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33757 fi
33758 if test -z "${BUILD_ENGINE_SOFTWARE_16_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_FALSE}"; then
33759   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16\" was never defined.
33760 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33761 fi
33762 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_FALSE}"; then
33763   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16\" was never defined.
33764 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33765 fi
33766 if test -z "${BUILD_ENGINE_SOFTWARE_8_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_8_FALSE}"; then
33767   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_8\" was never defined.
33768 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33769 fi
33770 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_FALSE}"; then
33771   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_8\" was never defined.
33772 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33773 fi
33774 if test -z "${BUILD_LOADER_EDB_TRUE}" && test -z "${BUILD_LOADER_EDB_FALSE}"; then
33775   as_fn_error $? "conditional \"BUILD_LOADER_EDB\" was never defined.
33776 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33777 fi
33778 if test -z "${EVAS_STATIC_BUILD_EDB_TRUE}" && test -z "${EVAS_STATIC_BUILD_EDB_FALSE}"; then
33779   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_EDB\" was never defined.
33780 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33781 fi
33782 if test -z "${BUILD_LOADER_EET_TRUE}" && test -z "${BUILD_LOADER_EET_FALSE}"; then
33783   as_fn_error $? "conditional \"BUILD_LOADER_EET\" was never defined.
33784 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33785 fi
33786 if test -z "${EVAS_STATIC_BUILD_EET_TRUE}" && test -z "${EVAS_STATIC_BUILD_EET_FALSE}"; then
33787   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_EET\" was never defined.
33788 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33789 fi
33790 if test -z "${BUILD_LOADER_GIF_TRUE}" && test -z "${BUILD_LOADER_GIF_FALSE}"; then
33791   as_fn_error $? "conditional \"BUILD_LOADER_GIF\" was never defined.
33792 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33793 fi
33794 if test -z "${EVAS_STATIC_BUILD_GIF_TRUE}" && test -z "${EVAS_STATIC_BUILD_GIF_FALSE}"; then
33795   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GIF\" was never defined.
33796 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33797 fi
33798 if test -z "${BUILD_LOADER_JPEG_TRUE}" && test -z "${BUILD_LOADER_JPEG_FALSE}"; then
33799   as_fn_error $? "conditional \"BUILD_LOADER_JPEG\" was never defined.
33800 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33801 fi
33802 if test -z "${EVAS_STATIC_BUILD_JPEG_TRUE}" && test -z "${EVAS_STATIC_BUILD_JPEG_FALSE}"; then
33803   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_JPEG\" was never defined.
33804 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33805 fi
33806 if test -z "${BUILD_SAVER_JPEG_TRUE}" && test -z "${BUILD_SAVER_JPEG_FALSE}"; then
33807   as_fn_error $? "conditional \"BUILD_SAVER_JPEG\" was never defined.
33808 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33809 fi
33810 if test -z "${BUILD_LOADER_PMAPS_TRUE}" && test -z "${BUILD_LOADER_PMAPS_FALSE}"; then
33811   as_fn_error $? "conditional \"BUILD_LOADER_PMAPS\" was never defined.
33812 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33813 fi
33814 if test -z "${EVAS_STATIC_BUILD_PMAPS_TRUE}" && test -z "${EVAS_STATIC_BUILD_PMAPS_FALSE}"; then
33815   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PMAPS\" was never defined.
33816 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33817 fi
33818 if test -z "${BUILD_LOADER_PNG_TRUE}" && test -z "${BUILD_LOADER_PNG_FALSE}"; then
33819   as_fn_error $? "conditional \"BUILD_LOADER_PNG\" was never defined.
33820 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33821 fi
33822 if test -z "${EVAS_STATIC_BUILD_PNG_TRUE}" && test -z "${EVAS_STATIC_BUILD_PNG_FALSE}"; then
33823   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PNG\" was never defined.
33824 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33825 fi
33826 if test -z "${BUILD_LOADER_SVG_TRUE}" && test -z "${BUILD_LOADER_SVG_FALSE}"; then
33827   as_fn_error $? "conditional \"BUILD_LOADER_SVG\" was never defined.
33828 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33829 fi
33830 if test -z "${EVAS_STATIC_BUILD_SVG_TRUE}" && test -z "${EVAS_STATIC_BUILD_SVG_FALSE}"; then
33831   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SVG\" was never defined.
33832 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33833 fi
33834 if test -z "${BUILD_LOADER_TIFF_TRUE}" && test -z "${BUILD_LOADER_TIFF_FALSE}"; then
33835   as_fn_error $? "conditional \"BUILD_LOADER_TIFF\" was never defined.
33836 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33837 fi
33838 if test -z "${EVAS_STATIC_BUILD_TIFF_TRUE}" && test -z "${EVAS_STATIC_BUILD_TIFF_FALSE}"; then
33839   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_TIFF\" was never defined.
33840 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33841 fi
33842 if test -z "${BUILD_LOADER_XPM_TRUE}" && test -z "${BUILD_LOADER_XPM_FALSE}"; then
33843   as_fn_error $? "conditional \"BUILD_LOADER_XPM\" was never defined.
33844 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33845 fi
33846 if test -z "${EVAS_STATIC_BUILD_XPM_TRUE}" && test -z "${EVAS_STATIC_BUILD_XPM_FALSE}"; then
33847   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_XPM\" was never defined.
33848 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33849 fi
33850 if test -z "${BUILD_LOADER_BMP_TRUE}" && test -z "${BUILD_LOADER_BMP_FALSE}"; then
33851   as_fn_error $? "conditional \"BUILD_LOADER_BMP\" was never defined.
33852 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33853 fi
33854 if test -z "${EVAS_STATIC_BUILD_BMP_TRUE}" && test -z "${EVAS_STATIC_BUILD_BMP_FALSE}"; then
33855   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_BMP\" was never defined.
33856 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33857 fi
33858 if test -z "${BUILD_LOADER_TGA_TRUE}" && test -z "${BUILD_LOADER_TGA_FALSE}"; then
33859   as_fn_error $? "conditional \"BUILD_LOADER_TGA\" was never defined.
33860 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33861 fi
33862 if test -z "${EVAS_STATIC_BUILD_TGA_TRUE}" && test -z "${EVAS_STATIC_BUILD_TGA_FALSE}"; then
33863   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_TGA\" was never defined.
33864 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33865 fi
33866 if test -z "${BUILD_LOADER_WBMP_TRUE}" && test -z "${BUILD_LOADER_WBMP_FALSE}"; then
33867   as_fn_error $? "conditional \"BUILD_LOADER_WBMP\" was never defined.
33868 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33869 fi
33870 if test -z "${EVAS_STATIC_BUILD_WBMP_TRUE}" && test -z "${EVAS_STATIC_BUILD_WBMP_FALSE}"; then
33871   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_WBMP\" was never defined.
33872 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33873 fi
33874 if test -z "${BUILD_LOADER_ICO_TRUE}" && test -z "${BUILD_LOADER_ICO_FALSE}"; then
33875   as_fn_error $? "conditional \"BUILD_LOADER_ICO\" was never defined.
33876 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33877 fi
33878 if test -z "${EVAS_STATIC_BUILD_ICO_TRUE}" && test -z "${EVAS_STATIC_BUILD_ICO_FALSE}"; then
33879   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_ICO\" was never defined.
33880 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33881 fi
33882 if test -z "${BUILD_LOADER_PSD_TRUE}" && test -z "${BUILD_LOADER_PSD_FALSE}"; then
33883   as_fn_error $? "conditional \"BUILD_LOADER_PSD\" was never defined.
33884 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33885 fi
33886 if test -z "${EVAS_STATIC_BUILD_PSD_TRUE}" && test -z "${EVAS_STATIC_BUILD_PSD_FALSE}"; then
33887   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PSD\" was never defined.
33888 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33889 fi
33890 if test -z "${BUILD_LOADER_GENERIC_TRUE}" && test -z "${BUILD_LOADER_GENERIC_FALSE}"; then
33891   as_fn_error $? "conditional \"BUILD_LOADER_GENERIC\" was never defined.
33892 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33893 fi
33894 if test -z "${EVAS_STATIC_BUILD_GENERIC_TRUE}" && test -z "${EVAS_STATIC_BUILD_GENERIC_FALSE}"; then
33895   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GENERIC\" was never defined.
33896 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33897 fi
33898 if test -z "${EVAS_MAGIC_DEBUG_TRUE}" && test -z "${EVAS_MAGIC_DEBUG_FALSE}"; then
33899   as_fn_error $? "conditional \"EVAS_MAGIC_DEBUG\" was never defined.
33900 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33901 fi
33902 if test -z "${INSTALL_EXAMPLES_TRUE}" && test -z "${INSTALL_EXAMPLES_FALSE}"; then
33903   as_fn_error $? "conditional \"INSTALL_EXAMPLES\" was never defined.
33904 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33905 fi
33906 if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
33907   as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
33908 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33909 fi
33910 if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
33911   as_fn_error $? "conditional \"EFL_ENABLE_TESTS\" was never defined.
33912 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33913 fi
33914 if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then
33915   as_fn_error $? "conditional \"EFL_ENABLE_COVERAGE\" was never defined.
33916 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33917 fi
33918
33919 : "${CONFIG_STATUS=./config.status}"
33920 ac_write_fail=0
33921 ac_clean_files_save=$ac_clean_files
33922 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33923 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
33924 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
33925 as_write_fail=0
33926 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
33927 #! $SHELL
33928 # Generated by $as_me.
33929 # Run this file to recreate the current configuration.
33930 # Compiler output produced by configure, useful for debugging
33931 # configure, is in config.log if it exists.
33932
33933 debug=false
33934 ac_cs_recheck=false
33935 ac_cs_silent=false
33936
33937 SHELL=\${CONFIG_SHELL-$SHELL}
33938 export SHELL
33939 _ASEOF
33940 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
33941 ## -------------------- ##
33942 ## M4sh Initialization. ##
33943 ## -------------------- ##
33944
33945 # Be more Bourne compatible
33946 DUALCASE=1; export DUALCASE # for MKS sh
33947 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
33948   emulate sh
33949   NULLCMD=:
33950   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
33951   # is contrary to our usage.  Disable this feature.
33952   alias -g '${1+"$@"}'='"$@"'
33953   setopt NO_GLOB_SUBST
33954 else
33955   case `(set -o) 2>/dev/null` in #(
33956   *posix*) :
33957     set -o posix ;; #(
33958   *) :
33959      ;;
33960 esac
33961 fi
33962
33963
33964 as_nl='
33965 '
33966 export as_nl
33967 # Printing a long string crashes Solaris 7 /usr/bin/printf.
33968 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
33969 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
33970 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
33971 # Prefer a ksh shell builtin over an external printf program on Solaris,
33972 # but without wasting forks for bash or zsh.
33973 if test -z "$BASH_VERSION$ZSH_VERSION" \
33974     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
33975   as_echo='print -r --'
33976   as_echo_n='print -rn --'
33977 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
33978   as_echo='printf %s\n'
33979   as_echo_n='printf %s'
33980 else
33981   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
33982     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
33983     as_echo_n='/usr/ucb/echo -n'
33984   else
33985     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
33986     as_echo_n_body='eval
33987       arg=$1;
33988       case $arg in #(
33989       *"$as_nl"*)
33990         expr "X$arg" : "X\\(.*\\)$as_nl";
33991         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
33992       esac;
33993       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
33994     '
33995     export as_echo_n_body
33996     as_echo_n='sh -c $as_echo_n_body as_echo'
33997   fi
33998   export as_echo_body
33999   as_echo='sh -c $as_echo_body as_echo'
34000 fi
34001
34002 # The user is always right.
34003 if test "${PATH_SEPARATOR+set}" != set; then
34004   PATH_SEPARATOR=:
34005   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
34006     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
34007       PATH_SEPARATOR=';'
34008   }
34009 fi
34010
34011
34012 # IFS
34013 # We need space, tab and new line, in precisely that order.  Quoting is
34014 # there to prevent editors from complaining about space-tab.
34015 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
34016 # splitting by setting IFS to empty value.)
34017 IFS=" ""        $as_nl"
34018
34019 # Find who we are.  Look in the path if we contain no directory separator.
34020 as_myself=
34021 case $0 in #((
34022   *[\\/]* ) as_myself=$0 ;;
34023   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34024 for as_dir in $PATH
34025 do
34026   IFS=$as_save_IFS
34027   test -z "$as_dir" && as_dir=.
34028     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
34029   done
34030 IFS=$as_save_IFS
34031
34032      ;;
34033 esac
34034 # We did not find ourselves, most probably we were run as `sh COMMAND'
34035 # in which case we are not to be found in the path.
34036 if test "x$as_myself" = x; then
34037   as_myself=$0
34038 fi
34039 if test ! -f "$as_myself"; then
34040   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
34041   exit 1
34042 fi
34043
34044 # Unset variables that we do not need and which cause bugs (e.g. in
34045 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
34046 # suppresses any "Segmentation fault" message there.  '((' could
34047 # trigger a bug in pdksh 5.2.14.
34048 for as_var in BASH_ENV ENV MAIL MAILPATH
34049 do eval test x\${$as_var+set} = xset \
34050   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
34051 done
34052 PS1='$ '
34053 PS2='> '
34054 PS4='+ '
34055
34056 # NLS nuisances.
34057 LC_ALL=C
34058 export LC_ALL
34059 LANGUAGE=C
34060 export LANGUAGE
34061
34062 # CDPATH.
34063 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
34064
34065
34066 # as_fn_error STATUS ERROR [LINENO LOG_FD]
34067 # ----------------------------------------
34068 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
34069 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
34070 # script with STATUS, using 1 if that was 0.
34071 as_fn_error ()
34072 {
34073   as_status=$1; test $as_status -eq 0 && as_status=1
34074   if test "$4"; then
34075     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
34076     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
34077   fi
34078   $as_echo "$as_me: error: $2" >&2
34079   as_fn_exit $as_status
34080 } # as_fn_error
34081
34082
34083 # as_fn_set_status STATUS
34084 # -----------------------
34085 # Set $? to STATUS, without forking.
34086 as_fn_set_status ()
34087 {
34088   return $1
34089 } # as_fn_set_status
34090
34091 # as_fn_exit STATUS
34092 # -----------------
34093 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
34094 as_fn_exit ()
34095 {
34096   set +e
34097   as_fn_set_status $1
34098   exit $1
34099 } # as_fn_exit
34100
34101 # as_fn_unset VAR
34102 # ---------------
34103 # Portably unset VAR.
34104 as_fn_unset ()
34105 {
34106   { eval $1=; unset $1;}
34107 }
34108 as_unset=as_fn_unset
34109 # as_fn_append VAR VALUE
34110 # ----------------------
34111 # Append the text in VALUE to the end of the definition contained in VAR. Take
34112 # advantage of any shell optimizations that allow amortized linear growth over
34113 # repeated appends, instead of the typical quadratic growth present in naive
34114 # implementations.
34115 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
34116   eval 'as_fn_append ()
34117   {
34118     eval $1+=\$2
34119   }'
34120 else
34121   as_fn_append ()
34122   {
34123     eval $1=\$$1\$2
34124   }
34125 fi # as_fn_append
34126
34127 # as_fn_arith ARG...
34128 # ------------------
34129 # Perform arithmetic evaluation on the ARGs, and store the result in the
34130 # global $as_val. Take advantage of shells that can avoid forks. The arguments
34131 # must be portable across $(()) and expr.
34132 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
34133   eval 'as_fn_arith ()
34134   {
34135     as_val=$(( $* ))
34136   }'
34137 else
34138   as_fn_arith ()
34139   {
34140     as_val=`expr "$@" || test $? -eq 1`
34141   }
34142 fi # as_fn_arith
34143
34144
34145 if expr a : '\(a\)' >/dev/null 2>&1 &&
34146    test "X`expr 00001 : '.*\(...\)'`" = X001; then
34147   as_expr=expr
34148 else
34149   as_expr=false
34150 fi
34151
34152 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
34153   as_basename=basename
34154 else
34155   as_basename=false
34156 fi
34157
34158 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
34159   as_dirname=dirname
34160 else
34161   as_dirname=false
34162 fi
34163
34164 as_me=`$as_basename -- "$0" ||
34165 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34166          X"$0" : 'X\(//\)$' \| \
34167          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
34168 $as_echo X/"$0" |
34169     sed '/^.*\/\([^/][^/]*\)\/*$/{
34170             s//\1/
34171             q
34172           }
34173           /^X\/\(\/\/\)$/{
34174             s//\1/
34175             q
34176           }
34177           /^X\/\(\/\).*/{
34178             s//\1/
34179             q
34180           }
34181           s/.*/./; q'`
34182
34183 # Avoid depending upon Character Ranges.
34184 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34185 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34186 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34187 as_cr_digits='0123456789'
34188 as_cr_alnum=$as_cr_Letters$as_cr_digits
34189
34190 ECHO_C= ECHO_N= ECHO_T=
34191 case `echo -n x` in #(((((
34192 -n*)
34193   case `echo 'xy\c'` in
34194   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
34195   xy)  ECHO_C='\c';;
34196   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
34197        ECHO_T=' ';;
34198   esac;;
34199 *)
34200   ECHO_N='-n';;
34201 esac
34202
34203 rm -f conf$$ conf$$.exe conf$$.file
34204 if test -d conf$$.dir; then
34205   rm -f conf$$.dir/conf$$.file
34206 else
34207   rm -f conf$$.dir
34208   mkdir conf$$.dir 2>/dev/null
34209 fi
34210 if (echo >conf$$.file) 2>/dev/null; then
34211   if ln -s conf$$.file conf$$ 2>/dev/null; then
34212     as_ln_s='ln -s'
34213     # ... but there are two gotchas:
34214     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
34215     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
34216     # In both cases, we have to default to `cp -p'.
34217     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
34218       as_ln_s='cp -p'
34219   elif ln conf$$.file conf$$ 2>/dev/null; then
34220     as_ln_s=ln
34221   else
34222     as_ln_s='cp -p'
34223   fi
34224 else
34225   as_ln_s='cp -p'
34226 fi
34227 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
34228 rmdir conf$$.dir 2>/dev/null
34229
34230
34231 # as_fn_mkdir_p
34232 # -------------
34233 # Create "$as_dir" as a directory, including parents if necessary.
34234 as_fn_mkdir_p ()
34235 {
34236
34237   case $as_dir in #(
34238   -*) as_dir=./$as_dir;;
34239   esac
34240   test -d "$as_dir" || eval $as_mkdir_p || {
34241     as_dirs=
34242     while :; do
34243       case $as_dir in #(
34244       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
34245       *) as_qdir=$as_dir;;
34246       esac
34247       as_dirs="'$as_qdir' $as_dirs"
34248       as_dir=`$as_dirname -- "$as_dir" ||
34249 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34250          X"$as_dir" : 'X\(//\)[^/]' \| \
34251          X"$as_dir" : 'X\(//\)$' \| \
34252          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34253 $as_echo X"$as_dir" |
34254     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34255             s//\1/
34256             q
34257           }
34258           /^X\(\/\/\)[^/].*/{
34259             s//\1/
34260             q
34261           }
34262           /^X\(\/\/\)$/{
34263             s//\1/
34264             q
34265           }
34266           /^X\(\/\).*/{
34267             s//\1/
34268             q
34269           }
34270           s/.*/./; q'`
34271       test -d "$as_dir" && break
34272     done
34273     test -z "$as_dirs" || eval "mkdir $as_dirs"
34274   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
34275
34276
34277 } # as_fn_mkdir_p
34278 if mkdir -p . 2>/dev/null; then
34279   as_mkdir_p='mkdir -p "$as_dir"'
34280 else
34281   test -d ./-p && rmdir ./-p
34282   as_mkdir_p=false
34283 fi
34284
34285 if test -x / >/dev/null 2>&1; then
34286   as_test_x='test -x'
34287 else
34288   if ls -dL / >/dev/null 2>&1; then
34289     as_ls_L_option=L
34290   else
34291     as_ls_L_option=
34292   fi
34293   as_test_x='
34294     eval sh -c '\''
34295       if test -d "$1"; then
34296         test -d "$1/.";
34297       else
34298         case $1 in #(
34299         -*)set "./$1";;
34300         esac;
34301         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
34302         ???[sx]*):;;*)false;;esac;fi
34303     '\'' sh
34304   '
34305 fi
34306 as_executable_p=$as_test_x
34307
34308 # Sed expression to map a string onto a valid CPP name.
34309 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
34310
34311 # Sed expression to map a string onto a valid variable name.
34312 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
34313
34314
34315 exec 6>&1
34316 ## ----------------------------------- ##
34317 ## Main body of $CONFIG_STATUS script. ##
34318 ## ----------------------------------- ##
34319 _ASEOF
34320 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
34321
34322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34323 # Save the log message, to keep $0 and so on meaningful, and to
34324 # report actual input values of CONFIG_FILES etc. instead of their
34325 # values after options handling.
34326 ac_log="
34327 This file was extended by evas $as_me 1.7.2, which was
34328 generated by GNU Autoconf 2.68.  Invocation command line was
34329
34330   CONFIG_FILES    = $CONFIG_FILES
34331   CONFIG_HEADERS  = $CONFIG_HEADERS
34332   CONFIG_LINKS    = $CONFIG_LINKS
34333   CONFIG_COMMANDS = $CONFIG_COMMANDS
34334   $ $0 $@
34335
34336 on `(hostname || uname -n) 2>/dev/null | sed 1q`
34337 "
34338
34339 _ACEOF
34340
34341 case $ac_config_files in *"
34342 "*) set x $ac_config_files; shift; ac_config_files=$*;;
34343 esac
34344
34345 case $ac_config_headers in *"
34346 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
34347 esac
34348
34349
34350 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34351 # Files that config.status was made for.
34352 config_files="$ac_config_files"
34353 config_headers="$ac_config_headers"
34354 config_commands="$ac_config_commands"
34355
34356 _ACEOF
34357
34358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34359 ac_cs_usage="\
34360 \`$as_me' instantiates files and other configuration actions
34361 from templates according to the current configuration.  Unless the files
34362 and actions are specified as TAGs, all are instantiated by default.
34363
34364 Usage: $0 [OPTION]... [TAG]...
34365
34366   -h, --help       print this help, then exit
34367   -V, --version    print version number and configuration settings, then exit
34368       --config     print configuration, then exit
34369   -q, --quiet, --silent
34370                    do not print progress messages
34371   -d, --debug      don't remove temporary files
34372       --recheck    update $as_me by reconfiguring in the same conditions
34373       --file=FILE[:TEMPLATE]
34374                    instantiate the configuration file FILE
34375       --header=FILE[:TEMPLATE]
34376                    instantiate the configuration header FILE
34377
34378 Configuration files:
34379 $config_files
34380
34381 Configuration headers:
34382 $config_headers
34383
34384 Configuration commands:
34385 $config_commands
34386
34387 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
34388
34389 _ACEOF
34390 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34391 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
34392 ac_cs_version="\\
34393 evas config.status 1.7.2
34394 configured by $0, generated by GNU Autoconf 2.68,
34395   with options \\"\$ac_cs_config\\"
34396
34397 Copyright (C) 2010 Free Software Foundation, Inc.
34398 This config.status script is free software; the Free Software Foundation
34399 gives unlimited permission to copy, distribute and modify it."
34400
34401 ac_pwd='$ac_pwd'
34402 srcdir='$srcdir'
34403 INSTALL='$INSTALL'
34404 MKDIR_P='$MKDIR_P'
34405 AWK='$AWK'
34406 test -n "\$AWK" || AWK=awk
34407 _ACEOF
34408
34409 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34410 # The default lists apply if the user does not specify any file.
34411 ac_need_defaults=:
34412 while test $# != 0
34413 do
34414   case $1 in
34415   --*=?*)
34416     ac_option=`expr "X$1" : 'X\([^=]*\)='`
34417     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
34418     ac_shift=:
34419     ;;
34420   --*=)
34421     ac_option=`expr "X$1" : 'X\([^=]*\)='`
34422     ac_optarg=
34423     ac_shift=:
34424     ;;
34425   *)
34426     ac_option=$1
34427     ac_optarg=$2
34428     ac_shift=shift
34429     ;;
34430   esac
34431
34432   case $ac_option in
34433   # Handling of the options.
34434   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
34435     ac_cs_recheck=: ;;
34436   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
34437     $as_echo "$ac_cs_version"; exit ;;
34438   --config | --confi | --conf | --con | --co | --c )
34439     $as_echo "$ac_cs_config"; exit ;;
34440   --debug | --debu | --deb | --de | --d | -d )
34441     debug=: ;;
34442   --file | --fil | --fi | --f )
34443     $ac_shift
34444     case $ac_optarg in
34445     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
34446     '') as_fn_error $? "missing file argument" ;;
34447     esac
34448     as_fn_append CONFIG_FILES " '$ac_optarg'"
34449     ac_need_defaults=false;;
34450   --header | --heade | --head | --hea )
34451     $ac_shift
34452     case $ac_optarg in
34453     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
34454     esac
34455     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
34456     ac_need_defaults=false;;
34457   --he | --h)
34458     # Conflict between --help and --header
34459     as_fn_error $? "ambiguous option: \`$1'
34460 Try \`$0 --help' for more information.";;
34461   --help | --hel | -h )
34462     $as_echo "$ac_cs_usage"; exit ;;
34463   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
34464   | -silent | --silent | --silen | --sile | --sil | --si | --s)
34465     ac_cs_silent=: ;;
34466
34467   # This is an error.
34468   -*) as_fn_error $? "unrecognized option: \`$1'
34469 Try \`$0 --help' for more information." ;;
34470
34471   *) as_fn_append ac_config_targets " $1"
34472      ac_need_defaults=false ;;
34473
34474   esac
34475   shift
34476 done
34477
34478 ac_configure_extra_args=
34479
34480 if $ac_cs_silent; then
34481   exec 6>/dev/null
34482   ac_configure_extra_args="$ac_configure_extra_args --silent"
34483 fi
34484
34485 _ACEOF
34486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34487 if \$ac_cs_recheck; then
34488   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34489   shift
34490   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
34491   CONFIG_SHELL='$SHELL'
34492   export CONFIG_SHELL
34493   exec "\$@"
34494 fi
34495
34496 _ACEOF
34497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34498 exec 5>>config.log
34499 {
34500   echo
34501   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34502 ## Running $as_me. ##
34503 _ASBOX
34504   $as_echo "$ac_log"
34505 } >&5
34506
34507 _ACEOF
34508 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34509 #
34510 # INIT-COMMANDS
34511 #
34512 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
34513
34514
34515 # The HP-UX ksh and POSIX shell print the target directory to stdout
34516 # if CDPATH is set.
34517 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
34518
34519 sed_quote_subst='$sed_quote_subst'
34520 double_quote_subst='$double_quote_subst'
34521 delay_variable_subst='$delay_variable_subst'
34522 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
34523 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
34524 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
34525 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
34526 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
34527 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
34528 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
34529 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
34530 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
34531 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
34532 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
34533 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
34534 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
34535 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
34536 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
34537 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
34538 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
34539 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
34540 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
34541 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
34542 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
34543 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
34544 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
34545 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
34546 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
34547 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
34548 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
34549 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
34550 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
34551 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
34552 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
34553 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
34554 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
34555 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
34556 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
34557 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
34558 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
34559 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
34560 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
34561 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
34562 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
34563 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
34564 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
34565 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
34566 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
34567 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
34568 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
34569 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
34570 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
34571 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
34572 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
34573 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
34574 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
34575 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
34576 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
34577 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
34578 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
34579 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"`'
34580 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
34581 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
34582 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
34583 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
34584 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
34585 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
34586 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
34587 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
34588 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
34589 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
34590 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
34591 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
34592 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
34593 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
34594 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
34595 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
34596 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
34597 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
34598 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
34599 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
34600 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
34601 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
34602 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
34603 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
34604 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
34605 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
34606 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
34607 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
34608 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
34609 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
34610 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
34611 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
34612 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
34613 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
34614 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
34615 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
34616 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
34617 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
34618 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
34619 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
34620 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
34621 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
34622 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
34623 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
34624 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
34625 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
34626 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
34627 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
34628 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
34629 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
34630 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
34631 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
34632 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
34633 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
34634 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
34635 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
34636 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
34637 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
34638 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
34639 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
34640 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
34641 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
34642 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
34643 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
34644 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
34645 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
34646 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
34647 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
34648 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
34649 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
34650 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
34651 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
34652 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
34653 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
34654 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
34655 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
34656 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
34657 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
34658 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
34659 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
34660 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
34661 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34662 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34663 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
34664 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
34665 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
34666 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
34667 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
34668 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
34669 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
34670 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
34671 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
34672 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
34673 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
34674 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
34675 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34676 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34677 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34678 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34679 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34680 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34681 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
34682 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
34683 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
34684 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
34685 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
34686 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
34687 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
34688 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
34689 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
34690 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
34691 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
34692 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
34693 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
34694 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34695 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
34696 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
34697 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34698 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34699 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
34700 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
34701 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
34702 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
34703 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
34704 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
34705 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
34706 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
34707
34708 LTCC='$LTCC'
34709 LTCFLAGS='$LTCFLAGS'
34710 compiler='$compiler_DEFAULT'
34711
34712 # A function that is used when there is no print builtin or printf.
34713 func_fallback_echo ()
34714 {
34715   eval 'cat <<_LTECHO_EOF
34716 \$1
34717 _LTECHO_EOF'
34718 }
34719
34720 # Quote evaled strings.
34721 for var in AS \
34722 DLLTOOL \
34723 OBJDUMP \
34724 SHELL \
34725 ECHO \
34726 PATH_SEPARATOR \
34727 SED \
34728 GREP \
34729 EGREP \
34730 FGREP \
34731 LD \
34732 NM \
34733 LN_S \
34734 lt_SP2NL \
34735 lt_NL2SP \
34736 reload_flag \
34737 deplibs_check_method \
34738 file_magic_cmd \
34739 file_magic_glob \
34740 want_nocaseglob \
34741 sharedlib_from_linklib_cmd \
34742 AR \
34743 AR_FLAGS \
34744 archiver_list_spec \
34745 STRIP \
34746 RANLIB \
34747 CC \
34748 CFLAGS \
34749 compiler \
34750 lt_cv_sys_global_symbol_pipe \
34751 lt_cv_sys_global_symbol_to_cdecl \
34752 lt_cv_sys_global_symbol_to_c_name_address \
34753 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
34754 nm_file_list_spec \
34755 lt_prog_compiler_no_builtin_flag \
34756 lt_prog_compiler_pic \
34757 lt_prog_compiler_wl \
34758 lt_prog_compiler_static \
34759 lt_cv_prog_compiler_c_o \
34760 need_locks \
34761 MANIFEST_TOOL \
34762 DSYMUTIL \
34763 NMEDIT \
34764 LIPO \
34765 OTOOL \
34766 OTOOL64 \
34767 shrext_cmds \
34768 export_dynamic_flag_spec \
34769 whole_archive_flag_spec \
34770 compiler_needs_object \
34771 with_gnu_ld \
34772 allow_undefined_flag \
34773 no_undefined_flag \
34774 hardcode_libdir_flag_spec \
34775 hardcode_libdir_separator \
34776 exclude_expsyms \
34777 include_expsyms \
34778 file_list_spec \
34779 variables_saved_for_relink \
34780 libname_spec \
34781 library_names_spec \
34782 soname_spec \
34783 install_override_mode \
34784 finish_eval \
34785 old_striplib \
34786 striplib \
34787 compiler_lib_search_dirs \
34788 predep_objects \
34789 postdep_objects \
34790 predeps \
34791 postdeps \
34792 compiler_lib_search_path \
34793 LD_CXX \
34794 reload_flag_CXX \
34795 compiler_CXX \
34796 lt_prog_compiler_no_builtin_flag_CXX \
34797 lt_prog_compiler_pic_CXX \
34798 lt_prog_compiler_wl_CXX \
34799 lt_prog_compiler_static_CXX \
34800 lt_cv_prog_compiler_c_o_CXX \
34801 export_dynamic_flag_spec_CXX \
34802 whole_archive_flag_spec_CXX \
34803 compiler_needs_object_CXX \
34804 with_gnu_ld_CXX \
34805 allow_undefined_flag_CXX \
34806 no_undefined_flag_CXX \
34807 hardcode_libdir_flag_spec_CXX \
34808 hardcode_libdir_separator_CXX \
34809 exclude_expsyms_CXX \
34810 include_expsyms_CXX \
34811 file_list_spec_CXX \
34812 compiler_lib_search_dirs_CXX \
34813 predep_objects_CXX \
34814 postdep_objects_CXX \
34815 predeps_CXX \
34816 postdeps_CXX \
34817 compiler_lib_search_path_CXX; do
34818     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
34819     *[\\\\\\\`\\"\\\$]*)
34820       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
34821       ;;
34822     *)
34823       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34824       ;;
34825     esac
34826 done
34827
34828 # Double-quote double-evaled strings.
34829 for var in reload_cmds \
34830 old_postinstall_cmds \
34831 old_postuninstall_cmds \
34832 old_archive_cmds \
34833 extract_expsyms_cmds \
34834 old_archive_from_new_cmds \
34835 old_archive_from_expsyms_cmds \
34836 archive_cmds \
34837 archive_expsym_cmds \
34838 module_cmds \
34839 module_expsym_cmds \
34840 export_symbols_cmds \
34841 prelink_cmds \
34842 postlink_cmds \
34843 postinstall_cmds \
34844 postuninstall_cmds \
34845 finish_cmds \
34846 sys_lib_search_path_spec \
34847 sys_lib_dlsearch_path_spec \
34848 reload_cmds_CXX \
34849 old_archive_cmds_CXX \
34850 old_archive_from_new_cmds_CXX \
34851 old_archive_from_expsyms_cmds_CXX \
34852 archive_cmds_CXX \
34853 archive_expsym_cmds_CXX \
34854 module_cmds_CXX \
34855 module_expsym_cmds_CXX \
34856 export_symbols_cmds_CXX \
34857 prelink_cmds_CXX \
34858 postlink_cmds_CXX; do
34859     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
34860     *[\\\\\\\`\\"\\\$]*)
34861       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
34862       ;;
34863     *)
34864       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34865       ;;
34866     esac
34867 done
34868
34869 ac_aux_dir='$ac_aux_dir'
34870 xsi_shell='$xsi_shell'
34871 lt_shell_append='$lt_shell_append'
34872
34873 # See if we are running on zsh, and set the options which allow our
34874 # commands through without removal of \ escapes INIT.
34875 if test -n "\${ZSH_VERSION+set}" ; then
34876    setopt NO_GLOB_SUBST
34877 fi
34878
34879
34880     PACKAGE='$PACKAGE'
34881     VERSION='$VERSION'
34882     TIMESTAMP='$TIMESTAMP'
34883     RM='$RM'
34884     ofile='$ofile'
34885
34886
34887
34888
34889
34890
34891 _ACEOF
34892
34893 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34894
34895 # Handling of arguments.
34896 for ac_config_target in $ac_config_targets
34897 do
34898   case $ac_config_target in
34899     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
34900     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
34901     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
34902     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
34903     "evas-directfb.pc") CONFIG_FILES="$CONFIG_FILES evas-directfb.pc" ;;
34904     "evas-fb.pc") CONFIG_FILES="$CONFIG_FILES evas-fb.pc" ;;
34905     "evas-opengl-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-opengl-x11.pc" ;;
34906     "evas-opengl-sdl.pc") CONFIG_FILES="$CONFIG_FILES evas-opengl-sdl.pc" ;;
34907     "evas-opengl-cocoa.pc") CONFIG_FILES="$CONFIG_FILES evas-opengl-cocoa.pc" ;;
34908     "evas-software-buffer.pc") CONFIG_FILES="$CONFIG_FILES evas-software-buffer.pc" ;;
34909     "evas-software-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-software-x11.pc" ;;
34910     "evas-software-8-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-software-8-x11.pc" ;;
34911     "evas-software-16-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-software-16-x11.pc" ;;
34912     "evas-software-gdi.pc") CONFIG_FILES="$CONFIG_FILES evas-software-gdi.pc" ;;
34913     "evas-software-ddraw.pc") CONFIG_FILES="$CONFIG_FILES evas-software-ddraw.pc" ;;
34914     "evas-direct3d.pc") CONFIG_FILES="$CONFIG_FILES evas-direct3d.pc" ;;
34915     "evas-software-16-wince.pc") CONFIG_FILES="$CONFIG_FILES evas-software-16-wince.pc" ;;
34916     "evas-software-sdl.pc") CONFIG_FILES="$CONFIG_FILES evas-software-sdl.pc" ;;
34917     "evas-psl1ght.pc") CONFIG_FILES="$CONFIG_FILES evas-psl1ght.pc" ;;
34918     "evas-wayland-shm.pc") CONFIG_FILES="$CONFIG_FILES evas-wayland-shm.pc" ;;
34919     "evas-wayland-egl.pc") CONFIG_FILES="$CONFIG_FILES evas-wayland-egl.pc" ;;
34920     "evas.pc") CONFIG_FILES="$CONFIG_FILES evas.pc" ;;
34921     "doc/evas.dox") CONFIG_FILES="$CONFIG_FILES doc/evas.dox" ;;
34922     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
34923     "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
34924     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
34925     "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
34926     "src/bin/loaders/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/Makefile" ;;
34927     "src/bin/loaders/jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/jpeg/Makefile" ;;
34928     "src/bin/loaders/png/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/png/Makefile" ;;
34929     "src/bin/loaders/eet/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/eet/Makefile" ;;
34930     "src/bin/loaders/tiff/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/tiff/Makefile" ;;
34931     "src/bin/loaders/xpm/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/xpm/Makefile" ;;
34932     "src/bin/loaders/bmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/bmp/Makefile" ;;
34933     "src/bin/loaders/ico/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/ico/Makefile" ;;
34934     "src/bin/loaders/tga/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/tga/Makefile" ;;
34935     "src/bin/loaders/pmaps/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/pmaps/Makefile" ;;
34936     "src/bin/loaders/wbmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/wbmp/Makefile" ;;
34937     "src/bin/loaders/psd/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/psd/Makefile" ;;
34938     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
34939     "src/lib/canvas/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/canvas/Makefile" ;;
34940     "src/lib/file/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/file/Makefile" ;;
34941     "src/lib/cache/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cache/Makefile" ;;
34942     "src/lib/cache2/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cache2/Makefile" ;;
34943     "src/lib/cserve/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cserve/Makefile" ;;
34944     "src/lib/cserve2/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cserve2/Makefile" ;;
34945     "src/lib/engines/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/Makefile" ;;
34946     "src/lib/engines/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/Makefile" ;;
34947     "src/lib/engines/common/evas_op_add/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_add/Makefile" ;;
34948     "src/lib/engines/common/evas_op_blend/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_blend/Makefile" ;;
34949     "src/lib/engines/common/evas_op_copy/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_copy/Makefile" ;;
34950     "src/lib/engines/common/evas_op_mask/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_mask/Makefile" ;;
34951     "src/lib/engines/common/evas_op_mul/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_mul/Makefile" ;;
34952     "src/lib/engines/common/evas_op_sub/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_sub/Makefile" ;;
34953     "src/lib/engines/common_8/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common_8/Makefile" ;;
34954     "src/lib/engines/common_16/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common_16/Makefile" ;;
34955     "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
34956     "src/modules/engines/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/Makefile" ;;
34957     "src/modules/engines/software_generic/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_generic/Makefile" ;;
34958     "src/modules/engines/software_gdi/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_gdi/Makefile" ;;
34959     "src/modules/engines/software_ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_ddraw/Makefile" ;;
34960     "src/modules/engines/direct3d/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/direct3d/Makefile" ;;
34961     "src/modules/engines/software_16_wince/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16_wince/Makefile" ;;
34962     "src/modules/engines/software_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_x11/Makefile" ;;
34963     "src/modules/engines/fb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/fb/Makefile" ;;
34964     "src/modules/engines/buffer/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/buffer/Makefile" ;;
34965     "src/modules/engines/directfb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/directfb/Makefile" ;;
34966     "src/modules/engines/gl_common/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_common/Makefile" ;;
34967     "src/modules/engines/gl_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_x11/Makefile" ;;
34968     "src/modules/engines/gl_sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_sdl/Makefile" ;;
34969     "src/modules/engines/gl_cocoa/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_cocoa/Makefile" ;;
34970     "src/modules/engines/psl1ght/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/psl1ght/Makefile" ;;
34971     "src/modules/engines/software_8/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_8/Makefile" ;;
34972     "src/modules/engines/software_8_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_8_x11/Makefile" ;;
34973     "src/modules/engines/software_16/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16/Makefile" ;;
34974     "src/modules/engines/software_16_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16_x11/Makefile" ;;
34975     "src/modules/engines/software_16_sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16_sdl/Makefile" ;;
34976     "src/modules/engines/wayland_shm/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/wayland_shm/Makefile" ;;
34977     "src/modules/engines/wayland_egl/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/wayland_egl/Makefile" ;;
34978     "src/modules/loaders/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/Makefile" ;;
34979     "src/modules/loaders/edb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/edb/Makefile" ;;
34980     "src/modules/loaders/eet/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/eet/Makefile" ;;
34981     "src/modules/loaders/gif/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/gif/Makefile" ;;
34982     "src/modules/loaders/jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/jpeg/Makefile" ;;
34983     "src/modules/loaders/png/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/png/Makefile" ;;
34984     "src/modules/loaders/tiff/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/tiff/Makefile" ;;
34985     "src/modules/loaders/xpm/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/xpm/Makefile" ;;
34986     "src/modules/loaders/bmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/bmp/Makefile" ;;
34987     "src/modules/loaders/ico/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/ico/Makefile" ;;
34988     "src/modules/loaders/tga/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/tga/Makefile" ;;
34989     "src/modules/loaders/svg/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/svg/Makefile" ;;
34990     "src/modules/loaders/pmaps/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/pmaps/Makefile" ;;
34991     "src/modules/loaders/wbmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/wbmp/Makefile" ;;
34992     "src/modules/loaders/psd/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/psd/Makefile" ;;
34993     "src/modules/loaders/generic/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/generic/Makefile" ;;
34994     "src/modules/savers/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/Makefile" ;;
34995     "src/modules/savers/edb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/edb/Makefile" ;;
34996     "src/modules/savers/eet/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/eet/Makefile" ;;
34997     "src/modules/savers/jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/jpeg/Makefile" ;;
34998     "src/modules/savers/png/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/png/Makefile" ;;
34999     "src/modules/savers/tiff/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/tiff/Makefile" ;;
35000     "src/static_deps/Makefile") CONFIG_FILES="$CONFIG_FILES src/static_deps/Makefile" ;;
35001     "src/static_deps/liblinebreak/Makefile") CONFIG_FILES="$CONFIG_FILES src/static_deps/liblinebreak/Makefile" ;;
35002     "src/lib/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/include/Makefile" ;;
35003     "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
35004     "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
35005     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
35006     "evas.spec") CONFIG_FILES="$CONFIG_FILES evas.spec" ;;
35007
35008   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
35009   esac
35010 done
35011
35012
35013 # If the user did not use the arguments to specify the items to instantiate,
35014 # then the envvar interface is used.  Set only those that are not.
35015 # We use the long form for the default assignment because of an extremely
35016 # bizarre bug on SunOS 4.1.3.
35017 if $ac_need_defaults; then
35018   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35019   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35020   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35021 fi
35022
35023 # Have a temporary directory for convenience.  Make it in the build tree
35024 # simply because there is no reason against having it here, and in addition,
35025 # creating and moving files from /tmp can sometimes cause problems.
35026 # Hook for its removal unless debugging.
35027 # Note that there is a small window in which the directory will not be cleaned:
35028 # after its creation but before its name has been assigned to `$tmp'.
35029 $debug ||
35030 {
35031   tmp= ac_tmp=
35032   trap 'exit_status=$?
35033   : "${ac_tmp:=$tmp}"
35034   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
35035 ' 0
35036   trap 'as_fn_exit 1' 1 2 13 15
35037 }
35038 # Create a (secure) tmp directory for tmp files.
35039
35040 {
35041   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
35042   test -d "$tmp"
35043 }  ||
35044 {
35045   tmp=./conf$$-$RANDOM
35046   (umask 077 && mkdir "$tmp")
35047 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
35048 ac_tmp=$tmp
35049
35050 # Set up the scripts for CONFIG_FILES section.
35051 # No need to generate them if there are no CONFIG_FILES.
35052 # This happens for instance with `./config.status config.h'.
35053 if test -n "$CONFIG_FILES"; then
35054
35055
35056 ac_cr=`echo X | tr X '\015'`
35057 # On cygwin, bash can eat \r inside `` if the user requested igncr.
35058 # But we know of no other shell where ac_cr would be empty at this
35059 # point, so we can use a bashism as a fallback.
35060 if test "x$ac_cr" = x; then
35061   eval ac_cr=\$\'\\r\'
35062 fi
35063 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
35064 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
35065   ac_cs_awk_cr='\\r'
35066 else
35067   ac_cs_awk_cr=$ac_cr
35068 fi
35069
35070 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
35071 _ACEOF
35072
35073
35074 {
35075   echo "cat >conf$$subs.awk <<_ACEOF" &&
35076   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
35077   echo "_ACEOF"
35078 } >conf$$subs.sh ||
35079   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
35080 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
35081 ac_delim='%!_!# '
35082 for ac_last_try in false false false false false :; do
35083   . ./conf$$subs.sh ||
35084     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
35085
35086   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
35087   if test $ac_delim_n = $ac_delim_num; then
35088     break
35089   elif $ac_last_try; then
35090     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
35091   else
35092     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
35093   fi
35094 done
35095 rm -f conf$$subs.sh
35096
35097 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35098 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
35099 _ACEOF
35100 sed -n '
35101 h
35102 s/^/S["/; s/!.*/"]=/
35103 p
35104 g
35105 s/^[^!]*!//
35106 :repl
35107 t repl
35108 s/'"$ac_delim"'$//
35109 t delim
35110 :nl
35111 h
35112 s/\(.\{148\}\)..*/\1/
35113 t more1
35114 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
35115 p
35116 n
35117 b repl
35118 :more1
35119 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
35120 p
35121 g
35122 s/.\{148\}//
35123 t nl
35124 :delim
35125 h
35126 s/\(.\{148\}\)..*/\1/
35127 t more2
35128 s/["\\]/\\&/g; s/^/"/; s/$/"/
35129 p
35130 b
35131 :more2
35132 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
35133 p
35134 g
35135 s/.\{148\}//
35136 t delim
35137 ' <conf$$subs.awk | sed '
35138 /^[^""]/{
35139   N
35140   s/\n//
35141 }
35142 ' >>$CONFIG_STATUS || ac_write_fail=1
35143 rm -f conf$$subs.awk
35144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35145 _ACAWK
35146 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
35147   for (key in S) S_is_set[key] = 1
35148   FS = "\a"
35149
35150 }
35151 {
35152   line = $ 0
35153   nfields = split(line, field, "@")
35154   substed = 0
35155   len = length(field[1])
35156   for (i = 2; i < nfields; i++) {
35157     key = field[i]
35158     keylen = length(key)
35159     if (S_is_set[key]) {
35160       value = S[key]
35161       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
35162       len += length(value) + length(field[++i])
35163       substed = 1
35164     } else
35165       len += 1 + keylen
35166   }
35167
35168   print line
35169 }
35170
35171 _ACAWK
35172 _ACEOF
35173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35174 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
35175   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
35176 else
35177   cat
35178 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
35179   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
35180 _ACEOF
35181
35182 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
35183 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
35184 # trailing colons and then remove the whole line if VPATH becomes empty
35185 # (actually we leave an empty line to preserve line numbers).
35186 if test "x$srcdir" = x.; then
35187   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
35188 h
35189 s///
35190 s/^/:/
35191 s/[      ]*$/:/
35192 s/:\$(srcdir):/:/g
35193 s/:\${srcdir}:/:/g
35194 s/:@srcdir@:/:/g
35195 s/^:*//
35196 s/:*$//
35197 x
35198 s/\(=[   ]*\).*/\1/
35199 G
35200 s/\n//
35201 s/^[^=]*=[       ]*$//
35202 }'
35203 fi
35204
35205 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35206 fi # test -n "$CONFIG_FILES"
35207
35208 # Set up the scripts for CONFIG_HEADERS section.
35209 # No need to generate them if there are no CONFIG_HEADERS.
35210 # This happens for instance with `./config.status Makefile'.
35211 if test -n "$CONFIG_HEADERS"; then
35212 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
35213 BEGIN {
35214 _ACEOF
35215
35216 # Transform confdefs.h into an awk script `defines.awk', embedded as
35217 # here-document in config.status, that substitutes the proper values into
35218 # config.h.in to produce config.h.
35219
35220 # Create a delimiter string that does not exist in confdefs.h, to ease
35221 # handling of long lines.
35222 ac_delim='%!_!# '
35223 for ac_last_try in false false :; do
35224   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
35225   if test -z "$ac_tt"; then
35226     break
35227   elif $ac_last_try; then
35228     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
35229   else
35230     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
35231   fi
35232 done
35233
35234 # For the awk script, D is an array of macro values keyed by name,
35235 # likewise P contains macro parameters if any.  Preserve backslash
35236 # newline sequences.
35237
35238 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
35239 sed -n '
35240 s/.\{148\}/&'"$ac_delim"'/g
35241 t rset
35242 :rset
35243 s/^[     ]*#[    ]*define[       ][      ]*/ /
35244 t def
35245 d
35246 :def
35247 s/\\$//
35248 t bsnl
35249 s/["\\]/\\&/g
35250 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
35251 D["\1"]=" \3"/p
35252 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
35253 d
35254 :bsnl
35255 s/["\\]/\\&/g
35256 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
35257 D["\1"]=" \3\\\\\\n"\\/p
35258 t cont
35259 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
35260 t cont
35261 d
35262 :cont
35263 n
35264 s/.\{148\}/&'"$ac_delim"'/g
35265 t clear
35266 :clear
35267 s/\\$//
35268 t bsnlc
35269 s/["\\]/\\&/g; s/^/"/; s/$/"/p
35270 d
35271 :bsnlc
35272 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
35273 b cont
35274 ' <confdefs.h | sed '
35275 s/'"$ac_delim"'/"\\\
35276 "/g' >>$CONFIG_STATUS || ac_write_fail=1
35277
35278 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35279   for (key in D) D_is_set[key] = 1
35280   FS = "\a"
35281 }
35282 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
35283   line = \$ 0
35284   split(line, arg, " ")
35285   if (arg[1] == "#") {
35286     defundef = arg[2]
35287     mac1 = arg[3]
35288   } else {
35289     defundef = substr(arg[1], 2)
35290     mac1 = arg[2]
35291   }
35292   split(mac1, mac2, "(") #)
35293   macro = mac2[1]
35294   prefix = substr(line, 1, index(line, defundef) - 1)
35295   if (D_is_set[macro]) {
35296     # Preserve the white space surrounding the "#".
35297     print prefix "define", macro P[macro] D[macro]
35298     next
35299   } else {
35300     # Replace #undef with comments.  This is necessary, for example,
35301     # in the case of _POSIX_SOURCE, which is predefined and required
35302     # on some systems where configure will not decide to define it.
35303     if (defundef == "undef") {
35304       print "/*", prefix defundef, macro, "*/"
35305       next
35306     }
35307   }
35308 }
35309 { print }
35310 _ACAWK
35311 _ACEOF
35312 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35313   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
35314 fi # test -n "$CONFIG_HEADERS"
35315
35316
35317 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
35318 shift
35319 for ac_tag
35320 do
35321   case $ac_tag in
35322   :[FHLC]) ac_mode=$ac_tag; continue;;
35323   esac
35324   case $ac_mode$ac_tag in
35325   :[FHL]*:*);;
35326   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
35327   :[FH]-) ac_tag=-:-;;
35328   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
35329   esac
35330   ac_save_IFS=$IFS
35331   IFS=:
35332   set x $ac_tag
35333   IFS=$ac_save_IFS
35334   shift
35335   ac_file=$1
35336   shift
35337
35338   case $ac_mode in
35339   :L) ac_source=$1;;
35340   :[FH])
35341     ac_file_inputs=
35342     for ac_f
35343     do
35344       case $ac_f in
35345       -) ac_f="$ac_tmp/stdin";;
35346       *) # Look for the file first in the build tree, then in the source tree
35347          # (if the path is not absolute).  The absolute path cannot be DOS-style,
35348          # because $ac_f cannot contain `:'.
35349          test -f "$ac_f" ||
35350            case $ac_f in
35351            [\\/$]*) false;;
35352            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
35353            esac ||
35354            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
35355       esac
35356       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
35357       as_fn_append ac_file_inputs " '$ac_f'"
35358     done
35359
35360     # Let's still pretend it is `configure' which instantiates (i.e., don't
35361     # use $as_me), people would be surprised to read:
35362     #    /* config.h.  Generated by config.status.  */
35363     configure_input='Generated from '`
35364           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
35365         `' by configure.'
35366     if test x"$ac_file" != x-; then
35367       configure_input="$ac_file.  $configure_input"
35368       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
35369 $as_echo "$as_me: creating $ac_file" >&6;}
35370     fi
35371     # Neutralize special characters interpreted by sed in replacement strings.
35372     case $configure_input in #(
35373     *\&* | *\|* | *\\* )
35374        ac_sed_conf_input=`$as_echo "$configure_input" |
35375        sed 's/[\\\\&|]/\\\\&/g'`;; #(
35376     *) ac_sed_conf_input=$configure_input;;
35377     esac
35378
35379     case $ac_tag in
35380     *:-:* | *:-) cat >"$ac_tmp/stdin" \
35381       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
35382     esac
35383     ;;
35384   esac
35385
35386   ac_dir=`$as_dirname -- "$ac_file" ||
35387 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35388          X"$ac_file" : 'X\(//\)[^/]' \| \
35389          X"$ac_file" : 'X\(//\)$' \| \
35390          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
35391 $as_echo X"$ac_file" |
35392     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35393             s//\1/
35394             q
35395           }
35396           /^X\(\/\/\)[^/].*/{
35397             s//\1/
35398             q
35399           }
35400           /^X\(\/\/\)$/{
35401             s//\1/
35402             q
35403           }
35404           /^X\(\/\).*/{
35405             s//\1/
35406             q
35407           }
35408           s/.*/./; q'`
35409   as_dir="$ac_dir"; as_fn_mkdir_p
35410   ac_builddir=.
35411
35412 case "$ac_dir" in
35413 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
35414 *)
35415   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
35416   # A ".." for each directory in $ac_dir_suffix.
35417   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
35418   case $ac_top_builddir_sub in
35419   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
35420   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
35421   esac ;;
35422 esac
35423 ac_abs_top_builddir=$ac_pwd
35424 ac_abs_builddir=$ac_pwd$ac_dir_suffix
35425 # for backward compatibility:
35426 ac_top_builddir=$ac_top_build_prefix
35427
35428 case $srcdir in
35429   .)  # We are building in place.
35430     ac_srcdir=.
35431     ac_top_srcdir=$ac_top_builddir_sub
35432     ac_abs_top_srcdir=$ac_pwd ;;
35433   [\\/]* | ?:[\\/]* )  # Absolute name.
35434     ac_srcdir=$srcdir$ac_dir_suffix;
35435     ac_top_srcdir=$srcdir
35436     ac_abs_top_srcdir=$srcdir ;;
35437   *) # Relative name.
35438     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
35439     ac_top_srcdir=$ac_top_build_prefix$srcdir
35440     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
35441 esac
35442 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
35443
35444
35445   case $ac_mode in
35446   :F)
35447   #
35448   # CONFIG_FILE
35449   #
35450
35451   case $INSTALL in
35452   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
35453   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
35454   esac
35455   ac_MKDIR_P=$MKDIR_P
35456   case $MKDIR_P in
35457   [\\/$]* | ?:[\\/]* ) ;;
35458   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
35459   esac
35460 _ACEOF
35461
35462 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35463 # If the template does not know about datarootdir, expand it.
35464 # FIXME: This hack should be removed a few years after 2.60.
35465 ac_datarootdir_hack=; ac_datarootdir_seen=
35466 ac_sed_dataroot='
35467 /datarootdir/ {
35468   p
35469   q
35470 }
35471 /@datadir@/p
35472 /@docdir@/p
35473 /@infodir@/p
35474 /@localedir@/p
35475 /@mandir@/p'
35476 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
35477 *datarootdir*) ac_datarootdir_seen=yes;;
35478 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
35479   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
35480 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
35481 _ACEOF
35482 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35483   ac_datarootdir_hack='
35484   s&@datadir@&$datadir&g
35485   s&@docdir@&$docdir&g
35486   s&@infodir@&$infodir&g
35487   s&@localedir@&$localedir&g
35488   s&@mandir@&$mandir&g
35489   s&\\\${datarootdir}&$datarootdir&g' ;;
35490 esac
35491 _ACEOF
35492
35493 # Neutralize VPATH when `$srcdir' = `.'.
35494 # Shell code in configure.ac might set extrasub.
35495 # FIXME: do we really want to maintain this feature?
35496 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35497 ac_sed_extra="$ac_vpsub
35498 $extrasub
35499 _ACEOF
35500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35501 :t
35502 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
35503 s|@configure_input@|$ac_sed_conf_input|;t t
35504 s&@top_builddir@&$ac_top_builddir_sub&;t t
35505 s&@top_build_prefix@&$ac_top_build_prefix&;t t
35506 s&@srcdir@&$ac_srcdir&;t t
35507 s&@abs_srcdir@&$ac_abs_srcdir&;t t
35508 s&@top_srcdir@&$ac_top_srcdir&;t t
35509 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
35510 s&@builddir@&$ac_builddir&;t t
35511 s&@abs_builddir@&$ac_abs_builddir&;t t
35512 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
35513 s&@INSTALL@&$ac_INSTALL&;t t
35514 s&@MKDIR_P@&$ac_MKDIR_P&;t t
35515 $ac_datarootdir_hack
35516 "
35517 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
35518   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
35519
35520 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
35521   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
35522   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
35523       "$ac_tmp/out"`; test -z "$ac_out"; } &&
35524   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
35525 which seems to be undefined.  Please make sure it is defined" >&5
35526 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
35527 which seems to be undefined.  Please make sure it is defined" >&2;}
35528
35529   rm -f "$ac_tmp/stdin"
35530   case $ac_file in
35531   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
35532   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
35533   esac \
35534   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
35535  ;;
35536   :H)
35537   #
35538   # CONFIG_HEADER
35539   #
35540   if test x"$ac_file" != x-; then
35541     {
35542       $as_echo "/* $configure_input  */" \
35543       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
35544     } >"$ac_tmp/config.h" \
35545       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
35546     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
35547       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
35548 $as_echo "$as_me: $ac_file is unchanged" >&6;}
35549     else
35550       rm -f "$ac_file"
35551       mv "$ac_tmp/config.h" "$ac_file" \
35552         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
35553     fi
35554   else
35555     $as_echo "/* $configure_input  */" \
35556       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
35557       || as_fn_error $? "could not create -" "$LINENO" 5
35558   fi
35559 # Compute "$ac_file"'s index in $config_headers.
35560 _am_arg="$ac_file"
35561 _am_stamp_count=1
35562 for _am_header in $config_headers :; do
35563   case $_am_header in
35564     $_am_arg | $_am_arg:* )
35565       break ;;
35566     * )
35567       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
35568   esac
35569 done
35570 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
35571 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35572          X"$_am_arg" : 'X\(//\)[^/]' \| \
35573          X"$_am_arg" : 'X\(//\)$' \| \
35574          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
35575 $as_echo X"$_am_arg" |
35576     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35577             s//\1/
35578             q
35579           }
35580           /^X\(\/\/\)[^/].*/{
35581             s//\1/
35582             q
35583           }
35584           /^X\(\/\/\)$/{
35585             s//\1/
35586             q
35587           }
35588           /^X\(\/\).*/{
35589             s//\1/
35590             q
35591           }
35592           s/.*/./; q'`/stamp-h$_am_stamp_count
35593  ;;
35594
35595   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
35596 $as_echo "$as_me: executing $ac_file commands" >&6;}
35597  ;;
35598   esac
35599
35600
35601   case $ac_file$ac_mode in
35602     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
35603   # Autoconf 2.62 quotes --file arguments for eval, but not when files
35604   # are listed without --file.  Let's play safe and only enable the eval
35605   # if we detect the quoting.
35606   case $CONFIG_FILES in
35607   *\'*) eval set x "$CONFIG_FILES" ;;
35608   *)   set x $CONFIG_FILES ;;
35609   esac
35610   shift
35611   for mf
35612   do
35613     # Strip MF so we end up with the name of the file.
35614     mf=`echo "$mf" | sed -e 's/:.*$//'`
35615     # Check whether this is an Automake generated Makefile or not.
35616     # We used to match only the files named `Makefile.in', but
35617     # some people rename them; so instead we look at the file content.
35618     # Grep'ing the first line is not enough: some people post-process
35619     # each Makefile.in and add a new line on top of each file to say so.
35620     # Grep'ing the whole file is not good either: AIX grep has a line
35621     # limit of 2048, but all sed's we know have understand at least 4000.
35622     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
35623       dirpart=`$as_dirname -- "$mf" ||
35624 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35625          X"$mf" : 'X\(//\)[^/]' \| \
35626          X"$mf" : 'X\(//\)$' \| \
35627          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
35628 $as_echo X"$mf" |
35629     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35630             s//\1/
35631             q
35632           }
35633           /^X\(\/\/\)[^/].*/{
35634             s//\1/
35635             q
35636           }
35637           /^X\(\/\/\)$/{
35638             s//\1/
35639             q
35640           }
35641           /^X\(\/\).*/{
35642             s//\1/
35643             q
35644           }
35645           s/.*/./; q'`
35646     else
35647       continue
35648     fi
35649     # Extract the definition of DEPDIR, am__include, and am__quote
35650     # from the Makefile without running `make'.
35651     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
35652     test -z "$DEPDIR" && continue
35653     am__include=`sed -n 's/^am__include = //p' < "$mf"`
35654     test -z "am__include" && continue
35655     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
35656     # When using ansi2knr, U may be empty or an underscore; expand it
35657     U=`sed -n 's/^U = //p' < "$mf"`
35658     # Find all dependency output files, they are included files with
35659     # $(DEPDIR) in their names.  We invoke sed twice because it is the
35660     # simplest approach to changing $(DEPDIR) to its actual value in the
35661     # expansion.
35662     for file in `sed -n "
35663       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
35664          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
35665       # Make sure the directory exists.
35666       test -f "$dirpart/$file" && continue
35667       fdir=`$as_dirname -- "$file" ||
35668 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35669          X"$file" : 'X\(//\)[^/]' \| \
35670          X"$file" : 'X\(//\)$' \| \
35671          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
35672 $as_echo X"$file" |
35673     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35674             s//\1/
35675             q
35676           }
35677           /^X\(\/\/\)[^/].*/{
35678             s//\1/
35679             q
35680           }
35681           /^X\(\/\/\)$/{
35682             s//\1/
35683             q
35684           }
35685           /^X\(\/\).*/{
35686             s//\1/
35687             q
35688           }
35689           s/.*/./; q'`
35690       as_dir=$dirpart/$fdir; as_fn_mkdir_p
35691       # echo "creating $dirpart/$file"
35692       echo '# dummy' > "$dirpart/$file"
35693     done
35694   done
35695 }
35696  ;;
35697     "libtool":C)
35698
35699     # See if we are running on zsh, and set the options which allow our
35700     # commands through without removal of \ escapes.
35701     if test -n "${ZSH_VERSION+set}" ; then
35702       setopt NO_GLOB_SUBST
35703     fi
35704
35705     cfgfile="${ofile}T"
35706     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
35707     $RM "$cfgfile"
35708
35709     cat <<_LT_EOF >> "$cfgfile"
35710 #! $SHELL
35711
35712 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
35713 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
35714 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
35715 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
35716 #
35717 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
35718 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
35719 #                 Foundation, Inc.
35720 #   Written by Gordon Matzigkeit, 1996
35721 #
35722 #   This file is part of GNU Libtool.
35723 #
35724 # GNU Libtool is free software; you can redistribute it and/or
35725 # modify it under the terms of the GNU General Public License as
35726 # published by the Free Software Foundation; either version 2 of
35727 # the License, or (at your option) any later version.
35728 #
35729 # As a special exception to the GNU General Public License,
35730 # if you distribute this file as part of a program or library that
35731 # is built using GNU Libtool, you may include this file under the
35732 # same distribution terms that you use for the rest of that program.
35733 #
35734 # GNU Libtool is distributed in the hope that it will be useful,
35735 # but WITHOUT ANY WARRANTY; without even the implied warranty of
35736 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
35737 # GNU General Public License for more details.
35738 #
35739 # You should have received a copy of the GNU General Public License
35740 # along with GNU Libtool; see the file COPYING.  If not, a copy
35741 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
35742 # obtained by writing to the Free Software Foundation, Inc.,
35743 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
35744
35745
35746 # The names of the tagged configurations supported by this script.
35747 available_tags="CXX "
35748
35749 # ### BEGIN LIBTOOL CONFIG
35750
35751 # Assembler program.
35752 AS=$lt_AS
35753
35754 # DLL creation program.
35755 DLLTOOL=$lt_DLLTOOL
35756
35757 # Object dumper program.
35758 OBJDUMP=$lt_OBJDUMP
35759
35760 # Which release of libtool.m4 was used?
35761 macro_version=$macro_version
35762 macro_revision=$macro_revision
35763
35764 # Whether or not to build shared libraries.
35765 build_libtool_libs=$enable_shared
35766
35767 # Whether or not to build static libraries.
35768 build_old_libs=$enable_static
35769
35770 # What type of objects to build.
35771 pic_mode=$pic_mode
35772
35773 # Whether or not to optimize for fast installation.
35774 fast_install=$enable_fast_install
35775
35776 # Shell to use when invoking shell scripts.
35777 SHELL=$lt_SHELL
35778
35779 # An echo program that protects backslashes.
35780 ECHO=$lt_ECHO
35781
35782 # The PATH separator for the build system.
35783 PATH_SEPARATOR=$lt_PATH_SEPARATOR
35784
35785 # The host system.
35786 host_alias=$host_alias
35787 host=$host
35788 host_os=$host_os
35789
35790 # The build system.
35791 build_alias=$build_alias
35792 build=$build
35793 build_os=$build_os
35794
35795 # A sed program that does not truncate output.
35796 SED=$lt_SED
35797
35798 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
35799 Xsed="\$SED -e 1s/^X//"
35800
35801 # A grep program that handles long lines.
35802 GREP=$lt_GREP
35803
35804 # An ERE matcher.
35805 EGREP=$lt_EGREP
35806
35807 # A literal string matcher.
35808 FGREP=$lt_FGREP
35809
35810 # A BSD- or MS-compatible name lister.
35811 NM=$lt_NM
35812
35813 # Whether we need soft or hard links.
35814 LN_S=$lt_LN_S
35815
35816 # What is the maximum length of a command?
35817 max_cmd_len=$max_cmd_len
35818
35819 # Object file suffix (normally "o").
35820 objext=$ac_objext
35821
35822 # Executable file suffix (normally "").
35823 exeext=$exeext
35824
35825 # whether the shell understands "unset".
35826 lt_unset=$lt_unset
35827
35828 # turn spaces into newlines.
35829 SP2NL=$lt_lt_SP2NL
35830
35831 # turn newlines into spaces.
35832 NL2SP=$lt_lt_NL2SP
35833
35834 # convert \$build file names to \$host format.
35835 to_host_file_cmd=$lt_cv_to_host_file_cmd
35836
35837 # convert \$build files to toolchain format.
35838 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
35839
35840 # Method to check whether dependent libraries are shared objects.
35841 deplibs_check_method=$lt_deplibs_check_method
35842
35843 # Command to use when deplibs_check_method = "file_magic".
35844 file_magic_cmd=$lt_file_magic_cmd
35845
35846 # How to find potential files when deplibs_check_method = "file_magic".
35847 file_magic_glob=$lt_file_magic_glob
35848
35849 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
35850 want_nocaseglob=$lt_want_nocaseglob
35851
35852 # Command to associate shared and link libraries.
35853 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
35854
35855 # The archiver.
35856 AR=$lt_AR
35857
35858 # Flags to create an archive.
35859 AR_FLAGS=$lt_AR_FLAGS
35860
35861 # How to feed a file listing to the archiver.
35862 archiver_list_spec=$lt_archiver_list_spec
35863
35864 # A symbol stripping program.
35865 STRIP=$lt_STRIP
35866
35867 # Commands used to install an old-style archive.
35868 RANLIB=$lt_RANLIB
35869 old_postinstall_cmds=$lt_old_postinstall_cmds
35870 old_postuninstall_cmds=$lt_old_postuninstall_cmds
35871
35872 # Whether to use a lock for old archive extraction.
35873 lock_old_archive_extraction=$lock_old_archive_extraction
35874
35875 # A C compiler.
35876 LTCC=$lt_CC
35877
35878 # LTCC compiler flags.
35879 LTCFLAGS=$lt_CFLAGS
35880
35881 # Take the output of nm and produce a listing of raw symbols and C names.
35882 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
35883
35884 # Transform the output of nm in a proper C declaration.
35885 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
35886
35887 # Transform the output of nm in a C name address pair.
35888 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
35889
35890 # Transform the output of nm in a C name address pair when lib prefix is needed.
35891 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
35892
35893 # Specify filename containing input files for \$NM.
35894 nm_file_list_spec=$lt_nm_file_list_spec
35895
35896 # The root where to search for dependent libraries,and in which our libraries should be installed.
35897 lt_sysroot=$lt_sysroot
35898
35899 # The name of the directory that contains temporary libtool files.
35900 objdir=$objdir
35901
35902 # Used to examine libraries when file_magic_cmd begins with "file".
35903 MAGIC_CMD=$MAGIC_CMD
35904
35905 # Must we lock files when doing compilation?
35906 need_locks=$lt_need_locks
35907
35908 # Manifest tool.
35909 MANIFEST_TOOL=$lt_MANIFEST_TOOL
35910
35911 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
35912 DSYMUTIL=$lt_DSYMUTIL
35913
35914 # Tool to change global to local symbols on Mac OS X.
35915 NMEDIT=$lt_NMEDIT
35916
35917 # Tool to manipulate fat objects and archives on Mac OS X.
35918 LIPO=$lt_LIPO
35919
35920 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
35921 OTOOL=$lt_OTOOL
35922
35923 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
35924 OTOOL64=$lt_OTOOL64
35925
35926 # Old archive suffix (normally "a").
35927 libext=$libext
35928
35929 # Shared library suffix (normally ".so").
35930 shrext_cmds=$lt_shrext_cmds
35931
35932 # The commands to extract the exported symbol list from a shared archive.
35933 extract_expsyms_cmds=$lt_extract_expsyms_cmds
35934
35935 # Variables whose values should be saved in libtool wrapper scripts and
35936 # restored at link time.
35937 variables_saved_for_relink=$lt_variables_saved_for_relink
35938
35939 # Do we need the "lib" prefix for modules?
35940 need_lib_prefix=$need_lib_prefix
35941
35942 # Do we need a version for libraries?
35943 need_version=$need_version
35944
35945 # Library versioning type.
35946 version_type=$version_type
35947
35948 # Shared library runtime path variable.
35949 runpath_var=$runpath_var
35950
35951 # Shared library path variable.
35952 shlibpath_var=$shlibpath_var
35953
35954 # Is shlibpath searched before the hard-coded library search path?
35955 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
35956
35957 # Format of library name prefix.
35958 libname_spec=$lt_libname_spec
35959
35960 # List of archive names.  First name is the real one, the rest are links.
35961 # The last name is the one that the linker finds with -lNAME
35962 library_names_spec=$lt_library_names_spec
35963
35964 # The coded name of the library, if different from the real name.
35965 soname_spec=$lt_soname_spec
35966
35967 # Permission mode override for installation of shared libraries.
35968 install_override_mode=$lt_install_override_mode
35969
35970 # Command to use after installation of a shared archive.
35971 postinstall_cmds=$lt_postinstall_cmds
35972
35973 # Command to use after uninstallation of a shared archive.
35974 postuninstall_cmds=$lt_postuninstall_cmds
35975
35976 # Commands used to finish a libtool library installation in a directory.
35977 finish_cmds=$lt_finish_cmds
35978
35979 # As "finish_cmds", except a single script fragment to be evaled but
35980 # not shown.
35981 finish_eval=$lt_finish_eval
35982
35983 # Whether we should hardcode library paths into libraries.
35984 hardcode_into_libs=$hardcode_into_libs
35985
35986 # Compile-time system search path for libraries.
35987 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
35988
35989 # Run-time system search path for libraries.
35990 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
35991
35992 # Whether dlopen is supported.
35993 dlopen_support=$enable_dlopen
35994
35995 # Whether dlopen of programs is supported.
35996 dlopen_self=$enable_dlopen_self
35997
35998 # Whether dlopen of statically linked programs is supported.
35999 dlopen_self_static=$enable_dlopen_self_static
36000
36001 # Commands to strip libraries.
36002 old_striplib=$lt_old_striplib
36003 striplib=$lt_striplib
36004
36005
36006 # The linker used to build libraries.
36007 LD=$lt_LD
36008
36009 # How to create reloadable object files.
36010 reload_flag=$lt_reload_flag
36011 reload_cmds=$lt_reload_cmds
36012
36013 # Commands used to build an old-style archive.
36014 old_archive_cmds=$lt_old_archive_cmds
36015
36016 # A language specific compiler.
36017 CC=$lt_compiler
36018
36019 # Is the compiler the GNU compiler?
36020 with_gcc=$GCC
36021
36022 # Compiler flag to turn off builtin functions.
36023 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
36024
36025 # Additional compiler flags for building library objects.
36026 pic_flag=$lt_lt_prog_compiler_pic
36027
36028 # How to pass a linker flag through the compiler.
36029 wl=$lt_lt_prog_compiler_wl
36030
36031 # Compiler flag to prevent dynamic linking.
36032 link_static_flag=$lt_lt_prog_compiler_static
36033
36034 # Does compiler simultaneously support -c and -o options?
36035 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
36036
36037 # Whether or not to add -lc for building shared libraries.
36038 build_libtool_need_lc=$archive_cmds_need_lc
36039
36040 # Whether or not to disallow shared libs when runtime libs are static.
36041 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
36042
36043 # Compiler flag to allow reflexive dlopens.
36044 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
36045
36046 # Compiler flag to generate shared objects directly from archives.
36047 whole_archive_flag_spec=$lt_whole_archive_flag_spec
36048
36049 # Whether the compiler copes with passing no objects directly.
36050 compiler_needs_object=$lt_compiler_needs_object
36051
36052 # Create an old-style archive from a shared archive.
36053 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
36054
36055 # Create a temporary old-style archive to link instead of a shared archive.
36056 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
36057
36058 # Commands used to build a shared archive.
36059 archive_cmds=$lt_archive_cmds
36060 archive_expsym_cmds=$lt_archive_expsym_cmds
36061
36062 # Commands used to build a loadable module if different from building
36063 # a shared archive.
36064 module_cmds=$lt_module_cmds
36065 module_expsym_cmds=$lt_module_expsym_cmds
36066
36067 # Whether we are building with GNU ld or not.
36068 with_gnu_ld=$lt_with_gnu_ld
36069
36070 # Flag that allows shared libraries with undefined symbols to be built.
36071 allow_undefined_flag=$lt_allow_undefined_flag
36072
36073 # Flag that enforces no undefined symbols.
36074 no_undefined_flag=$lt_no_undefined_flag
36075
36076 # Flag to hardcode \$libdir into a binary during linking.
36077 # This must work even if \$libdir does not exist
36078 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
36079
36080 # Whether we need a single "-rpath" flag with a separated argument.
36081 hardcode_libdir_separator=$lt_hardcode_libdir_separator
36082
36083 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36084 # DIR into the resulting binary.
36085 hardcode_direct=$hardcode_direct
36086
36087 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36088 # DIR into the resulting binary and the resulting library dependency is
36089 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
36090 # library is relocated.
36091 hardcode_direct_absolute=$hardcode_direct_absolute
36092
36093 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
36094 # into the resulting binary.
36095 hardcode_minus_L=$hardcode_minus_L
36096
36097 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
36098 # into the resulting binary.
36099 hardcode_shlibpath_var=$hardcode_shlibpath_var
36100
36101 # Set to "yes" if building a shared library automatically hardcodes DIR
36102 # into the library and all subsequent libraries and executables linked
36103 # against it.
36104 hardcode_automatic=$hardcode_automatic
36105
36106 # Set to yes if linker adds runtime paths of dependent libraries
36107 # to runtime path list.
36108 inherit_rpath=$inherit_rpath
36109
36110 # Whether libtool must link a program against all its dependency libraries.
36111 link_all_deplibs=$link_all_deplibs
36112
36113 # Set to "yes" if exported symbols are required.
36114 always_export_symbols=$always_export_symbols
36115
36116 # The commands to list exported symbols.
36117 export_symbols_cmds=$lt_export_symbols_cmds
36118
36119 # Symbols that should not be listed in the preloaded symbols.
36120 exclude_expsyms=$lt_exclude_expsyms
36121
36122 # Symbols that must always be exported.
36123 include_expsyms=$lt_include_expsyms
36124
36125 # Commands necessary for linking programs (against libraries) with templates.
36126 prelink_cmds=$lt_prelink_cmds
36127
36128 # Commands necessary for finishing linking programs.
36129 postlink_cmds=$lt_postlink_cmds
36130
36131 # Specify filename containing input files.
36132 file_list_spec=$lt_file_list_spec
36133
36134 # How to hardcode a shared library path into an executable.
36135 hardcode_action=$hardcode_action
36136
36137 # The directories searched by this compiler when creating a shared library.
36138 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
36139
36140 # Dependencies to place before and after the objects being linked to
36141 # create a shared library.
36142 predep_objects=$lt_predep_objects
36143 postdep_objects=$lt_postdep_objects
36144 predeps=$lt_predeps
36145 postdeps=$lt_postdeps
36146
36147 # The library search path used internally by the compiler when linking
36148 # a shared library.
36149 compiler_lib_search_path=$lt_compiler_lib_search_path
36150
36151 # ### END LIBTOOL CONFIG
36152
36153 _LT_EOF
36154
36155   case $host_os in
36156   aix3*)
36157     cat <<\_LT_EOF >> "$cfgfile"
36158 # AIX sometimes has problems with the GCC collect2 program.  For some
36159 # reason, if we set the COLLECT_NAMES environment variable, the problems
36160 # vanish in a puff of smoke.
36161 if test "X${COLLECT_NAMES+set}" != Xset; then
36162   COLLECT_NAMES=
36163   export COLLECT_NAMES
36164 fi
36165 _LT_EOF
36166     ;;
36167   esac
36168
36169
36170 ltmain="$ac_aux_dir/ltmain.sh"
36171
36172
36173   # We use sed instead of cat because bash on DJGPP gets confused if
36174   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
36175   # text mode, it properly converts lines to CR/LF.  This bash problem
36176   # is reportedly fixed, but why not run on old versions too?
36177   sed '$q' "$ltmain" >> "$cfgfile" \
36178      || (rm -f "$cfgfile"; exit 1)
36179
36180   if test x"$xsi_shell" = xyes; then
36181   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
36182 func_dirname ()\
36183 {\
36184 \    case ${1} in\
36185 \      */*) func_dirname_result="${1%/*}${2}" ;;\
36186 \      *  ) func_dirname_result="${3}" ;;\
36187 \    esac\
36188 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
36189   && mv -f "$cfgfile.tmp" "$cfgfile" \
36190     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36191 test 0 -eq $? || _lt_function_replace_fail=:
36192
36193
36194   sed -e '/^func_basename ()$/,/^} # func_basename /c\
36195 func_basename ()\
36196 {\
36197 \    func_basename_result="${1##*/}"\
36198 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
36199   && mv -f "$cfgfile.tmp" "$cfgfile" \
36200     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36201 test 0 -eq $? || _lt_function_replace_fail=:
36202
36203
36204   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
36205 func_dirname_and_basename ()\
36206 {\
36207 \    case ${1} in\
36208 \      */*) func_dirname_result="${1%/*}${2}" ;;\
36209 \      *  ) func_dirname_result="${3}" ;;\
36210 \    esac\
36211 \    func_basename_result="${1##*/}"\
36212 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
36213   && mv -f "$cfgfile.tmp" "$cfgfile" \
36214     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36215 test 0 -eq $? || _lt_function_replace_fail=:
36216
36217
36218   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
36219 func_stripname ()\
36220 {\
36221 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
36222 \    # positional parameters, so assign one to ordinary parameter first.\
36223 \    func_stripname_result=${3}\
36224 \    func_stripname_result=${func_stripname_result#"${1}"}\
36225 \    func_stripname_result=${func_stripname_result%"${2}"}\
36226 } # Extended-shell func_stripname 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_split_long_opt ()$/,/^} # func_split_long_opt /c\
36233 func_split_long_opt ()\
36234 {\
36235 \    func_split_long_opt_name=${1%%=*}\
36236 \    func_split_long_opt_arg=${1#*=}\
36237 } # Extended-shell func_split_long_opt 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   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
36244 func_split_short_opt ()\
36245 {\
36246 \    func_split_short_opt_arg=${1#??}\
36247 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
36248 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
36249   && mv -f "$cfgfile.tmp" "$cfgfile" \
36250     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36251 test 0 -eq $? || _lt_function_replace_fail=:
36252
36253
36254   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
36255 func_lo2o ()\
36256 {\
36257 \    case ${1} in\
36258 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
36259 \      *)    func_lo2o_result=${1} ;;\
36260 \    esac\
36261 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
36262   && mv -f "$cfgfile.tmp" "$cfgfile" \
36263     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36264 test 0 -eq $? || _lt_function_replace_fail=:
36265
36266
36267   sed -e '/^func_xform ()$/,/^} # func_xform /c\
36268 func_xform ()\
36269 {\
36270     func_xform_result=${1%.*}.lo\
36271 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
36272   && mv -f "$cfgfile.tmp" "$cfgfile" \
36273     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36274 test 0 -eq $? || _lt_function_replace_fail=:
36275
36276
36277   sed -e '/^func_arith ()$/,/^} # func_arith /c\
36278 func_arith ()\
36279 {\
36280     func_arith_result=$(( $* ))\
36281 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
36282   && mv -f "$cfgfile.tmp" "$cfgfile" \
36283     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36284 test 0 -eq $? || _lt_function_replace_fail=:
36285
36286
36287   sed -e '/^func_len ()$/,/^} # func_len /c\
36288 func_len ()\
36289 {\
36290     func_len_result=${#1}\
36291 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
36292   && mv -f "$cfgfile.tmp" "$cfgfile" \
36293     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36294 test 0 -eq $? || _lt_function_replace_fail=:
36295
36296 fi
36297
36298 if test x"$lt_shell_append" = xyes; then
36299   sed -e '/^func_append ()$/,/^} # func_append /c\
36300 func_append ()\
36301 {\
36302     eval "${1}+=\\${2}"\
36303 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
36304   && mv -f "$cfgfile.tmp" "$cfgfile" \
36305     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36306 test 0 -eq $? || _lt_function_replace_fail=:
36307
36308
36309   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
36310 func_append_quoted ()\
36311 {\
36312 \    func_quote_for_eval "${2}"\
36313 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
36314 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
36315   && mv -f "$cfgfile.tmp" "$cfgfile" \
36316     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36317 test 0 -eq $? || _lt_function_replace_fail=:
36318
36319
36320   # Save a `func_append' function call where possible by direct use of '+='
36321   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
36322     && mv -f "$cfgfile.tmp" "$cfgfile" \
36323       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36324   test 0 -eq $? || _lt_function_replace_fail=:
36325 else
36326   # Save a `func_append' function call even when '+=' is not available
36327   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
36328     && mv -f "$cfgfile.tmp" "$cfgfile" \
36329       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36330   test 0 -eq $? || _lt_function_replace_fail=:
36331 fi
36332
36333 if test x"$_lt_function_replace_fail" = x":"; then
36334   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
36335 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
36336 fi
36337
36338
36339    mv -f "$cfgfile" "$ofile" ||
36340     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
36341   chmod +x "$ofile"
36342
36343
36344     cat <<_LT_EOF >> "$ofile"
36345
36346 # ### BEGIN LIBTOOL TAG CONFIG: CXX
36347
36348 # The linker used to build libraries.
36349 LD=$lt_LD_CXX
36350
36351 # How to create reloadable object files.
36352 reload_flag=$lt_reload_flag_CXX
36353 reload_cmds=$lt_reload_cmds_CXX
36354
36355 # Commands used to build an old-style archive.
36356 old_archive_cmds=$lt_old_archive_cmds_CXX
36357
36358 # A language specific compiler.
36359 CC=$lt_compiler_CXX
36360
36361 # Is the compiler the GNU compiler?
36362 with_gcc=$GCC_CXX
36363
36364 # Compiler flag to turn off builtin functions.
36365 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
36366
36367 # Additional compiler flags for building library objects.
36368 pic_flag=$lt_lt_prog_compiler_pic_CXX
36369
36370 # How to pass a linker flag through the compiler.
36371 wl=$lt_lt_prog_compiler_wl_CXX
36372
36373 # Compiler flag to prevent dynamic linking.
36374 link_static_flag=$lt_lt_prog_compiler_static_CXX
36375
36376 # Does compiler simultaneously support -c and -o options?
36377 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
36378
36379 # Whether or not to add -lc for building shared libraries.
36380 build_libtool_need_lc=$archive_cmds_need_lc_CXX
36381
36382 # Whether or not to disallow shared libs when runtime libs are static.
36383 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
36384
36385 # Compiler flag to allow reflexive dlopens.
36386 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
36387
36388 # Compiler flag to generate shared objects directly from archives.
36389 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
36390
36391 # Whether the compiler copes with passing no objects directly.
36392 compiler_needs_object=$lt_compiler_needs_object_CXX
36393
36394 # Create an old-style archive from a shared archive.
36395 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
36396
36397 # Create a temporary old-style archive to link instead of a shared archive.
36398 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
36399
36400 # Commands used to build a shared archive.
36401 archive_cmds=$lt_archive_cmds_CXX
36402 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
36403
36404 # Commands used to build a loadable module if different from building
36405 # a shared archive.
36406 module_cmds=$lt_module_cmds_CXX
36407 module_expsym_cmds=$lt_module_expsym_cmds_CXX
36408
36409 # Whether we are building with GNU ld or not.
36410 with_gnu_ld=$lt_with_gnu_ld_CXX
36411
36412 # Flag that allows shared libraries with undefined symbols to be built.
36413 allow_undefined_flag=$lt_allow_undefined_flag_CXX
36414
36415 # Flag that enforces no undefined symbols.
36416 no_undefined_flag=$lt_no_undefined_flag_CXX
36417
36418 # Flag to hardcode \$libdir into a binary during linking.
36419 # This must work even if \$libdir does not exist
36420 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
36421
36422 # Whether we need a single "-rpath" flag with a separated argument.
36423 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
36424
36425 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36426 # DIR into the resulting binary.
36427 hardcode_direct=$hardcode_direct_CXX
36428
36429 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36430 # DIR into the resulting binary and the resulting library dependency is
36431 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
36432 # library is relocated.
36433 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
36434
36435 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
36436 # into the resulting binary.
36437 hardcode_minus_L=$hardcode_minus_L_CXX
36438
36439 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
36440 # into the resulting binary.
36441 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
36442
36443 # Set to "yes" if building a shared library automatically hardcodes DIR
36444 # into the library and all subsequent libraries and executables linked
36445 # against it.
36446 hardcode_automatic=$hardcode_automatic_CXX
36447
36448 # Set to yes if linker adds runtime paths of dependent libraries
36449 # to runtime path list.
36450 inherit_rpath=$inherit_rpath_CXX
36451
36452 # Whether libtool must link a program against all its dependency libraries.
36453 link_all_deplibs=$link_all_deplibs_CXX
36454
36455 # Set to "yes" if exported symbols are required.
36456 always_export_symbols=$always_export_symbols_CXX
36457
36458 # The commands to list exported symbols.
36459 export_symbols_cmds=$lt_export_symbols_cmds_CXX
36460
36461 # Symbols that should not be listed in the preloaded symbols.
36462 exclude_expsyms=$lt_exclude_expsyms_CXX
36463
36464 # Symbols that must always be exported.
36465 include_expsyms=$lt_include_expsyms_CXX
36466
36467 # Commands necessary for linking programs (against libraries) with templates.
36468 prelink_cmds=$lt_prelink_cmds_CXX
36469
36470 # Commands necessary for finishing linking programs.
36471 postlink_cmds=$lt_postlink_cmds_CXX
36472
36473 # Specify filename containing input files.
36474 file_list_spec=$lt_file_list_spec_CXX
36475
36476 # How to hardcode a shared library path into an executable.
36477 hardcode_action=$hardcode_action_CXX
36478
36479 # The directories searched by this compiler when creating a shared library.
36480 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
36481
36482 # Dependencies to place before and after the objects being linked to
36483 # create a shared library.
36484 predep_objects=$lt_predep_objects_CXX
36485 postdep_objects=$lt_postdep_objects_CXX
36486 predeps=$lt_predeps_CXX
36487 postdeps=$lt_postdeps_CXX
36488
36489 # The library search path used internally by the compiler when linking
36490 # a shared library.
36491 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
36492
36493 # ### END LIBTOOL TAG CONFIG: CXX
36494 _LT_EOF
36495
36496  ;;
36497
36498   esac
36499 done # for ac_tag
36500
36501
36502 as_fn_exit 0
36503 _ACEOF
36504 ac_clean_files=$ac_clean_files_save
36505
36506 test $ac_write_fail = 0 ||
36507   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
36508
36509
36510 # configure is writing to config.log, and then calls config.status.
36511 # config.status does its own redirection, appending to config.log.
36512 # Unfortunately, on DOS this fails, as config.log is still kept open
36513 # by configure, so config.status won't be able to write to it; its
36514 # output is simply discarded.  So we exec the FD to /dev/null,
36515 # effectively closing config.log, so it can be properly (re)opened and
36516 # appended to by config.status.  When coming back to configure, we
36517 # need to make the FD available again.
36518 if test "$no_create" != yes; then
36519   ac_cs_success=:
36520   ac_config_status_args=
36521   test "$silent" = yes &&
36522     ac_config_status_args="$ac_config_status_args --quiet"
36523   exec 5>/dev/null
36524   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36525   exec 5>>config.log
36526   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36527   # would make configure fail if this is the last instruction.
36528   $ac_cs_success || as_fn_exit 1
36529 fi
36530 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
36531   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
36532 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
36533 fi
36534
36535
36536 #####################################################################
36537 ## Sanity Checks
36538
36539 if test "x$build_pthreads" = "xno" ; then
36540   if test "x$build_pipe_render" = "xyes" ; then
36541     echo "ERROR: PThreads off, but pipe rendering on. Pipe rendering"
36542     echo "  needs thread support."
36543     exit 1
36544   fi
36545 fi
36546
36547 if test "x${has_pthreads}" = "xno" ; then
36548   if test "x$build_async_preload" = "xyes" ; then
36549     echo "ERROR: PThreads off, but Async Preload on. Async Preload"
36550     echo "  needs thread support."
36551     exit 1
36552   fi
36553 fi
36554
36555 #####################################################################
36556 ## Info
36557
36558 echo
36559 echo
36560 echo
36561 echo "------------------------------------------------------------------------"
36562 echo "$PACKAGE $VERSION"
36563 echo "------------------------------------------------------------------------"
36564 echo
36565 echo "Configuration Options Summary:"
36566 echo
36567 echo "Engines:"
36568 echo "  Software Memory Buffer.....: $have_evas_engine_buffer"
36569 echo "  Software X11...............: $have_evas_engine_software_x11 (Xlib: $have_evas_engine_software_xlib) (XCB: $have_evas_engine_software_xcb)"
36570 echo $ECHO_N "  OpenGL X11.................: $have_evas_engine_gl_x11 (Xlib: $have_evas_engine_gl_xlib) (XCB: $have_evas_engine_gl_xcb) $ECHO_C"
36571 if test "x$have_evas_engine_gl_x11" = "xyes"; then
36572   echo "(GLES: $gl_flavor_gles) (SGX: $gles_variety_sgx) (s3c6410: $gles_variety_s3c6410)"
36573 else
36574   echo
36575 fi
36576 echo "  Software GDI...............: $have_evas_engine_software_gdi"
36577 echo "  Software DirectDraw........: $have_evas_engine_software_ddraw"
36578 echo "  Direct3d...................: $have_evas_engine_direct3d"
36579 echo "  OpenGL SDL.................: $have_evas_engine_gl_sdl $ECHO_C"
36580 if test "x$have_evas_engine_gl_sdl" = "xyes"; then
36581   echo "(GLES: $gl_flavor_gles) (SGX: $gles_variety_sgx) (s3c6410: $gles_variety_s3c6410)"
36582 else
36583   echo
36584 fi
36585 echo "  OpenGL Cocoa...............: $have_evas_engine_gl_cocoa"
36586 echo "  Software Framebuffer.......: $have_evas_engine_fb"
36587 echo "  DirectFB...................: $have_evas_engine_directfb"
36588 echo "  PSL1GHT....................: $have_evas_engine_psl1ght"
36589 echo "  Software 8bit grayscale....: $have_evas_engine_software_8"
36590 # FIXME: kill software 16bit
36591 echo "  Software 16bit ............: $have_evas_engine_software_16"
36592 echo "  Software 16bit X11.........: $have_evas_engine_software_16_x11"
36593 echo "  Software 16bit WinCE.......: $have_evas_engine_software_16_wince"
36594 echo "  Software 16bit SDL.........: $have_evas_engine_software_16_sdl (primitive: $sdl_primitive)"
36595 echo "  Wayland Shm................: $have_evas_engine_wayland_shm"
36596 echo "  Wayland Egl................: $have_evas_engine_wayland_egl"
36597 echo
36598 echo "Image Loaders:"
36599 echo "  BMP.....................: $have_evas_image_loader_bmp"
36600 echo "  EDB.....................: $have_evas_image_loader_edb"
36601 echo "  EET.....................: $have_evas_image_loader_eet"
36602 echo "  GENERIC.................: $have_evas_image_loader_generic"
36603 echo "  GIF.....................: $have_evas_image_loader_gif"
36604 echo "  ICO.....................: $have_evas_image_loader_ico"
36605 echo "  JPEG....................: $have_evas_image_loader_jpeg (region: $have_jpeg_region)"
36606 echo "  PMAPS...................: $have_evas_image_loader_pmaps"
36607 echo "  PNG.....................: $have_evas_image_loader_png"
36608 echo "  PSD.....................: $have_evas_image_loader_psd"
36609 echo "  SVG.....................: $have_evas_image_loader_svg"
36610 echo "  TGA.....................: $have_evas_image_loader_tga"
36611 echo "  TIFF....................: $have_evas_image_loader_tiff"
36612 echo "  WBMP....................: $have_evas_image_loader_wbmp"
36613 echo "  XPM.....................: $have_evas_image_loader_xpm"
36614 echo
36615 echo "Font Sourcing Systems:"
36616 echo "  EET.....................: $have_evas_font_loader_eet"
36617 echo
36618 echo "Font Searching Systems:"
36619 echo "  Fontconfig..............: $have_fontconfig"
36620 echo
36621 echo "Font Rendering Helpers:"
36622 echo "  Fribidi.................: $have_fribidi"
36623 echo "  Harfbuzz................: $have_harfbuzz"
36624 echo "  liblinebreak............: $have_linebreak"
36625 # FIXME: add non freetype2 font engine support
36626 # FIXME: make freetype2 optional
36627 echo
36628 echo "CPU Specific Extensions:"
36629 echo "  Fallback C Code.........: $build_cpu_c"
36630 echo "  MMX.....................: $build_cpu_mmx"
36631 echo "  SSE.....................: $build_cpu_sse"
36632 echo "  SSE3....................: $build_cpu_sse3"
36633 echo "  ALTIVEC.................: $build_cpu_altivec"
36634 echo "  NEON....................: $build_cpu_neon"
36635 echo "  Thread Support..........: $build_pthreads"
36636 echo
36637 echo "Features:"
36638 echo "  MAGIC_DEBUG.............: $want_evas_magic_debug"
36639 echo "  Cache Server............: $want_evas_cserve"
36640 echo "  Cache Server 2..........: $want_evas_cserve2"
36641 echo
36642 echo "  Threaded Pipe Rendering.: $build_pipe_render"
36643 echo "  Async Events............: $build_async_events"
36644 echo "  Async Image Preload.....: $build_async_preload"
36645 echo
36646 echo "  Pixman..................: $have_pixman"
36647 echo "  Pixman Fonts............: $have_pixman_font"
36648 echo "  Pixman Rects............: $have_pixman_rect"
36649 echo "  Pixman Lines............: $have_pixman_line"
36650 echo "  Pixman Polygons.........: $have_pixman_poly"
36651 echo "  Pixman Images...........: $have_pixman_image"
36652 echo "  Pixman Image ScaleSample: $have_pixman_image_scale_sample"
36653 echo
36654 echo "  Tiled 32BPP rotate......: $have_tile_rotate"
36655 echo
36656 echo "ARGB Software Engine Options:"
36657 echo "  Sampling Scaler.........: $scaler_sample"
36658 echo "  Smooth Scaler...........: $scaler_smooth"
36659 # FIXME: add an mmx scaler routine
36660 echo "  YUV Converter...........: $conv_yuv"
36661 # FIXME: add more YUV format and colorvariant support
36662 echo
36663 echo "ARGB Conversion Options:"
36664 echo "  Smaller Dither Mask.....: $conv_small_dither"
36665 echo "  Line Dither Mask........: $conv_line_dither"
36666 echo "  No Dither Mask for 16bpp: $conv_no_dither"
36667 echo "  8bpp RGB 332............: $conv_8_rgb_332"
36668 echo "  8bpp RGB 666............: $conv_8_rgb_666"
36669 echo "  8bpp RGB 232............: $conv_8_rgb_232"
36670 echo "  8bpp RGB 222............: $conv_8_rgb_222"
36671 echo "  8bpp RGB 221............: $conv_8_rgb_221"
36672 echo "  8bpp RGB 121............: $conv_8_rgb_121"
36673 echo "  8bpp RGB 111............: $conv_8_rgb_111"
36674 echo "  8bpp Grayscale (256)....: $conv_8_gry_1"
36675 echo "  8bpp Grayscale (16).....: $conv_8_gry_16"
36676 echo "  8bpp Grayscale 64-pal...: $conv_8_grayscale_64"
36677 # FIXME: add grayscale and B&W support to standard x converters
36678 echo "  16bpp RGB 565...........: $conv_16_rgb_565"
36679 echo "  16bpp BGR 565...........: $conv_16_bgr_565"
36680 echo "  16bpp RGB 555...........: $conv_16_rgb_555"
36681 echo "  16bpp RGB 444...........: $conv_16_rgb_444"
36682 echo "  16bpp RGB 565 (444 ipaq): $conv_16_rgb_ipq"
36683 # FIXME: add 555 (444 ipaq) support
36684 # FIXME: add 30bpp support
36685 # FIXME: add palletted support (ugh!)
36686 # FIXME: add 8bpp and below rotation
36687 echo "  16bpp Rotation 0........: $conv_16_rgb_rot_0"
36688 echo "  16bpp Rotation 90.......: $conv_16_rgb_rot_90"
36689 echo "  16bpp Rotation 180......: $conv_16_rgb_rot_180"
36690 echo "  16bpp Rotation 270......: $conv_16_rgb_rot_270"
36691 echo "  24bpp RGB 888...........: $conv_24_rgb_888"
36692 echo "  24bpp BGR 888...........: $conv_24_bgr_888"
36693 echo "  24bpp RGB 666 (666 ezx).: $conv_24_rgb_ezx"
36694 # FIXME: add 24bpp rotation
36695 echo "  32bpp RGB 8888..........: $conv_32_rgb_8888"
36696 echo "  32bpp RGBX 8888.........: $conv_32_rgbx_8888"
36697 echo "  32bpp BGR 8888..........: $conv_32_bgr_8888"
36698 echo "  32bpp BGRX 8888.........: $conv_32_bgrx_8888"
36699 echo "  32bpp RGB 666 (666 ezx).: $conv_32_rgb_ezx"
36700 echo "  32bpp Rotation 0........: $conv_32_rgb_rot_0"
36701 echo "  32bpp Rotation 90.......: $conv_32_rgb_rot_90"
36702 echo "  32bpp Rotation 180......: $conv_32_rgb_rot_180"
36703 echo "  32bpp Rotation 270......: $conv_32_rgb_rot_270"
36704 echo
36705 echo "Documentation.............: ${build_doc}"
36706 echo "Examples..................: install:${install_examples} build:${build_examples}"
36707 if test "x${enable_tests}" = "xyes" ; then
36708    echo "Tests.....................: ${enable_tests} (make check)"
36709 else
36710    echo "Tests.....................: ${enable_tests}"
36711 fi
36712 if test "x${enable_coverage}" = "xyes" ; then
36713    echo "Coverage..................: ${enable_coverage} (make coverage)"
36714 else
36715    echo "Coverage..................: ${enable_coverage}"
36716 fi
36717 echo
36718 echo "Compilation............: make (or gmake)"
36719 echo "  CPPFLAGS.............: $CPPFLAGS"
36720 echo "  CFLAGS...............: $CFLAGS"
36721 echo "  CXXFLAGS.............: $CXXFLAGS"
36722 echo "  LDFLAGS..............: $LDFLAGS"
36723 echo
36724 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
36725 echo "  prefix...............: $prefix"
36726 echo
36727 if test "x${have_static_module}" = "xyes" ; then
36728 echo -e "\0033\01331;31mWarning\0033\01331;0m: You are trying to link statically one or more modules to Evas."
36729 echo "         You must know what you are doing, or else you will have a lot of"
36730 echo "         problems. And Kenny will be killed."
36731 echo "         Think about that."
36732 echo
36733 fi