Imported Upstream version 1.7.8
[platform/upstream/evas.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for evas 1.7.8.
4 #
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138   # into an infinite loop, continuously re-executing ourselves.
139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140     _as_can_reexec=no; export _as_can_reexec;
141     # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159   fi
160   # We don't want this to propagate to other subprocesses.
161           { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164   emulate sh
165   NULLCMD=:
166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167   # is contrary to our usage.  Disable this feature.
168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
178 "
179   as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
202
203   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207     PATH=/empty FPATH=/empty; export PATH FPATH
208     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210   if (eval "$as_required") 2>/dev/null; then :
211   as_have_required=yes
212 else
213   as_have_required=no
214 fi
215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222   IFS=$as_save_IFS
223   test -z "$as_dir" && as_dir=.
224   as_found=:
225   case $as_dir in #(
226          /*)
227            for as_base in sh bash ksh sh5; do
228              # Try only shells that exist, to save several forks.
229              as_shell=$as_dir/$as_base
230              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   CONFIG_SHELL=$as_shell as_have_required=yes
233                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234   break 2
235 fi
236 fi
237            done;;
238        esac
239   as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243   CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248       if test "x$CONFIG_SHELL" != x; then :
249   export CONFIG_SHELL
250              # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258   *v*x* | *x*v* ) as_opts=-vx ;;
259   *v* ) as_opts=-v ;;
260   *x* ) as_opts=-x ;;
261   * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270     if test x$as_have_required = xno; then :
271   $as_echo "$0: This script requires a shell more modern than all"
272   $as_echo "$0: the shells that I found on your system."
273   if test x${ZSH_VERSION+set} = xset ; then
274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276   else
277     $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: enlightenment-devel@lists.sourceforge.net about your
279 $0: system, including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
282   fi
283   exit 1
284 fi
285 fi
286 fi
287 SHELL=${CONFIG_SHELL-/bin/sh}
288 export SHELL
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
292
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
296 # as_fn_unset VAR
297 # ---------------
298 # Portably unset VAR.
299 as_fn_unset ()
300 {
301   { eval $1=; unset $1;}
302 }
303 as_unset=as_fn_unset
304
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
308 as_fn_set_status ()
309 {
310   return $1
311 } # as_fn_set_status
312
313 # as_fn_exit STATUS
314 # -----------------
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 as_fn_exit ()
317 {
318   set +e
319   as_fn_set_status $1
320   exit $1
321 } # as_fn_exit
322
323 # as_fn_mkdir_p
324 # -------------
325 # Create "$as_dir" as a directory, including parents if necessary.
326 as_fn_mkdir_p ()
327 {
328
329   case $as_dir in #(
330   -*) as_dir=./$as_dir;;
331   esac
332   test -d "$as_dir" || eval $as_mkdir_p || {
333     as_dirs=
334     while :; do
335       case $as_dir in #(
336       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337       *) as_qdir=$as_dir;;
338       esac
339       as_dirs="'$as_qdir' $as_dirs"
340       as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342          X"$as_dir" : 'X\(//\)[^/]' \| \
343          X"$as_dir" : 'X\(//\)$' \| \
344          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347             s//\1/
348             q
349           }
350           /^X\(\/\/\)[^/].*/{
351             s//\1/
352             q
353           }
354           /^X\(\/\/\)$/{
355             s//\1/
356             q
357           }
358           /^X\(\/\).*/{
359             s//\1/
360             q
361           }
362           s/.*/./; q'`
363       test -d "$as_dir" && break
364     done
365     test -z "$as_dirs" || eval "mkdir $as_dirs"
366   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369 } # as_fn_mkdir_p
370
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
375 {
376   test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
383 # implementations.
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385   eval 'as_fn_append ()
386   {
387     eval $1+=\$2
388   }'
389 else
390   as_fn_append ()
391   {
392     eval $1=\$$1\$2
393   }
394 fi # as_fn_append
395
396 # as_fn_arith ARG...
397 # ------------------
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402   eval 'as_fn_arith ()
403   {
404     as_val=$(( $* ))
405   }'
406 else
407   as_fn_arith ()
408   {
409     as_val=`expr "$@" || test $? -eq 1`
410   }
411 fi # as_fn_arith
412
413
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
419 as_fn_error ()
420 {
421   as_status=$1; test $as_status -eq 0 && as_status=1
422   if test "$4"; then
423     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425   fi
426   $as_echo "$as_me: error: $2" >&2
427   as_fn_exit $as_status
428 } # as_fn_error
429
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431    test "X`expr 00001 : '.*\(...\)'`" = X001; then
432   as_expr=expr
433 else
434   as_expr=false
435 fi
436
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438   as_basename=basename
439 else
440   as_basename=false
441 fi
442
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444   as_dirname=dirname
445 else
446   as_dirname=false
447 fi
448
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451          X"$0" : 'X\(//\)$' \| \
452          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453 $as_echo X/"$0" |
454     sed '/^.*\/\([^/][^/]*\)\/*$/{
455             s//\1/
456             q
457           }
458           /^X\/\(\/\/\)$/{
459             s//\1/
460             q
461           }
462           /^X\/\(\/\).*/{
463             s//\1/
464             q
465           }
466           s/.*/./; q'`
467
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476   as_lineno_1=$LINENO as_lineno_1a=$LINENO
477   as_lineno_2=$LINENO as_lineno_2a=$LINENO
478   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481   sed -n '
482     p
483     /[$]LINENO/=
484   ' <$as_myself |
485     sed '
486       s/[$]LINENO.*/&-/
487       t lineno
488       b
489       :lineno
490       N
491       :loop
492       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493       t loop
494       s/-\n.*//
495     ' >$as_me.lineno &&
496   chmod +x "$as_me.lineno" ||
497     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500   # already done that, so ensure we don't try to do so again and fall
501   # in an infinite loop.  This has already happened in practice.
502   _as_can_reexec=no; export _as_can_reexec
503   # Don't try to exec as it changes $[0], causing all sort of problems
504   # (the dirname of $[0] is not the place where we might find the
505   # original and so on.  Autoconf is especially sensitive to this).
506   . "./$as_me.lineno"
507   # Exit status is that of the last command.
508   exit
509 }
510
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
513 -n*)
514   case `echo 'xy\c'` in
515   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
516   xy)  ECHO_C='\c';;
517   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518        ECHO_T=' ';;
519   esac;;
520 *)
521   ECHO_N='-n';;
522 esac
523
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526   rm -f conf$$.dir/conf$$.file
527 else
528   rm -f conf$$.dir
529   mkdir conf$$.dir 2>/dev/null
530 fi
531 if (echo >conf$$.file) 2>/dev/null; then
532   if ln -s conf$$.file conf$$ 2>/dev/null; then
533     as_ln_s='ln -s'
534     # ... but there are two gotchas:
535     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537     # In both cases, we have to default to `cp -pR'.
538     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539       as_ln_s='cp -pR'
540   elif ln conf$$.file conf$$ 2>/dev/null; then
541     as_ln_s=ln
542   else
543     as_ln_s='cp -pR'
544   fi
545 else
546   as_ln_s='cp -pR'
547 fi
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
550
551 if mkdir -p . 2>/dev/null; then
552   as_mkdir_p='mkdir -p "$as_dir"'
553 else
554   test -d ./-p && rmdir ./-p
555   as_mkdir_p=false
556 fi
557
558 as_test_x='test -x'
559 as_executable_p=as_fn_executable_p
560
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567 SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570 test -n "$DJDIR" || exec 7<&0 </dev/null
571 exec 6>&1
572
573 # Name of the host.
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578 #
579 # Initializations.
580 #
581 ac_default_prefix=/usr/local
582 ac_clean_files=
583 ac_config_libobj_dir=.
584 LIBOBJS=
585 cross_compiling=no
586 subdirs=
587 MFLAGS=
588 MAKEFLAGS=
589
590 # Identity of this package.
591 PACKAGE_NAME='evas'
592 PACKAGE_TARNAME='evas'
593 PACKAGE_VERSION='1.7.8'
594 PACKAGE_STRING='evas 1.7.8'
595 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
596 PACKAGE_URL=''
597
598 ac_unique_file="configure.ac"
599 # Factoring default headers for most tests.
600 ac_includes_default="\
601 #include <stdio.h>
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
604 #endif
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
607 #endif
608 #ifdef STDC_HEADERS
609 # include <stdlib.h>
610 # include <stddef.h>
611 #else
612 # ifdef HAVE_STDLIB_H
613 #  include <stdlib.h>
614 # endif
615 #endif
616 #ifdef HAVE_STRING_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 #  include <memory.h>
619 # endif
620 # include <string.h>
621 #endif
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
624 #endif
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
627 #endif
628 #ifdef HAVE_STDINT_H
629 # include <stdint.h>
630 #endif
631 #ifdef HAVE_UNISTD_H
632 # include <unistd.h>
633 #endif"
634
635 ac_subst_vars='am__EXEEXT_FALSE
636 am__EXEEXT_TRUE
637 LTLIBOBJS
638 LIBOBJS
639 requirement_evas
640 pthread_libs
641 pthread_cflags
642 altivec_cflags
643 EVAS_GENERAL_LIBS
644 EVAS_GENERAL_CFLAGS
645 EVAS_LIBS
646 EVAS_CFLAGS
647 EFL_ENABLE_COVERAGE_FALSE
648 EFL_ENABLE_COVERAGE_TRUE
649 EFL_COVERAGE_LIBS
650 EFL_COVERAGE_CFLAGS
651 have_lcov
652 EFL_ENABLE_TESTS_FALSE
653 EFL_ENABLE_TESTS_TRUE
654 CHECK_LIBS
655 CHECK_CFLAGS
656 BUILD_EXAMPLES_FALSE
657 BUILD_EXAMPLES_TRUE
658 edje_cc
659 EDJE_LIBS
660 EDJE_CFLAGS
661 ECORE_EVAS_LIBS
662 ECORE_EVAS_CFLAGS
663 INSTALL_EXAMPLES_FALSE
664 INSTALL_EXAMPLES_TRUE
665 VALGRIND_LIBS
666 VALGRIND_CFLAGS
667 EVAS_MAGIC_DEBUG_FALSE
668 EVAS_MAGIC_DEBUG_TRUE
669 EVAS_SSE3_CFLAGS
670 EVAS_STATIC_BUILD_GENERIC_FALSE
671 EVAS_STATIC_BUILD_GENERIC_TRUE
672 BUILD_LOADER_GENERIC_FALSE
673 BUILD_LOADER_GENERIC_TRUE
674 evas_image_loader_generic_libs
675 evas_image_loader_generic_cflags
676 EVAS_STATIC_BUILD_PSD_FALSE
677 EVAS_STATIC_BUILD_PSD_TRUE
678 BUILD_LOADER_PSD_FALSE
679 BUILD_LOADER_PSD_TRUE
680 evas_image_loader_psd_libs
681 evas_image_loader_psd_cflags
682 EVAS_STATIC_BUILD_ICO_FALSE
683 EVAS_STATIC_BUILD_ICO_TRUE
684 BUILD_LOADER_ICO_FALSE
685 BUILD_LOADER_ICO_TRUE
686 evas_image_loader_ico_libs
687 evas_image_loader_ico_cflags
688 EVAS_STATIC_BUILD_WBMP_FALSE
689 EVAS_STATIC_BUILD_WBMP_TRUE
690 BUILD_LOADER_WBMP_FALSE
691 BUILD_LOADER_WBMP_TRUE
692 evas_image_loader_wbmp_libs
693 evas_image_loader_wbmp_cflags
694 EVAS_STATIC_BUILD_TGA_FALSE
695 EVAS_STATIC_BUILD_TGA_TRUE
696 BUILD_LOADER_TGA_FALSE
697 BUILD_LOADER_TGA_TRUE
698 evas_image_loader_tga_libs
699 evas_image_loader_tga_cflags
700 EVAS_STATIC_BUILD_BMP_FALSE
701 EVAS_STATIC_BUILD_BMP_TRUE
702 BUILD_LOADER_BMP_FALSE
703 BUILD_LOADER_BMP_TRUE
704 evas_image_loader_bmp_libs
705 evas_image_loader_bmp_cflags
706 EVAS_STATIC_BUILD_XPM_FALSE
707 EVAS_STATIC_BUILD_XPM_TRUE
708 BUILD_LOADER_XPM_FALSE
709 BUILD_LOADER_XPM_TRUE
710 evas_image_loader_xpm_libs
711 evas_image_loader_xpm_cflags
712 EVAS_STATIC_BUILD_TIFF_FALSE
713 EVAS_STATIC_BUILD_TIFF_TRUE
714 BUILD_LOADER_TIFF_FALSE
715 BUILD_LOADER_TIFF_TRUE
716 evas_image_loader_tiff_libs
717 evas_image_loader_tiff_cflags
718 EVAS_STATIC_BUILD_SVG_FALSE
719 EVAS_STATIC_BUILD_SVG_TRUE
720 BUILD_LOADER_SVG_FALSE
721 BUILD_LOADER_SVG_TRUE
722 evas_image_loader_svg_libs
723 evas_image_loader_svg_cflags
724 SVG_LIBS
725 SVG_CFLAGS
726 EVAS_STATIC_BUILD_PNG_FALSE
727 EVAS_STATIC_BUILD_PNG_TRUE
728 BUILD_LOADER_PNG_FALSE
729 BUILD_LOADER_PNG_TRUE
730 evas_image_loader_png_libs
731 evas_image_loader_png_cflags
732 PNG_LIBS
733 PNG_CFLAGS
734 EVAS_STATIC_BUILD_PMAPS_FALSE
735 EVAS_STATIC_BUILD_PMAPS_TRUE
736 BUILD_LOADER_PMAPS_FALSE
737 BUILD_LOADER_PMAPS_TRUE
738 evas_image_loader_pmaps_libs
739 evas_image_loader_pmaps_cflags
740 BUILD_SAVER_JPEG_FALSE
741 BUILD_SAVER_JPEG_TRUE
742 EVAS_STATIC_BUILD_JPEG_FALSE
743 EVAS_STATIC_BUILD_JPEG_TRUE
744 BUILD_LOADER_JPEG_FALSE
745 BUILD_LOADER_JPEG_TRUE
746 evas_image_loader_jpeg_libs
747 evas_image_loader_jpeg_cflags
748 EVAS_STATIC_BUILD_GIF_FALSE
749 EVAS_STATIC_BUILD_GIF_TRUE
750 BUILD_LOADER_GIF_FALSE
751 BUILD_LOADER_GIF_TRUE
752 evas_image_loader_gif_libs
753 evas_image_loader_gif_cflags
754 EVAS_STATIC_BUILD_EET_FALSE
755 EVAS_STATIC_BUILD_EET_TRUE
756 BUILD_LOADER_EET_FALSE
757 BUILD_LOADER_EET_TRUE
758 evas_image_loader_eet_libs
759 evas_image_loader_eet_cflags
760 EET_LIBS
761 EET_CFLAGS
762 EVAS_STATIC_BUILD_EDB_FALSE
763 EVAS_STATIC_BUILD_EDB_TRUE
764 BUILD_LOADER_EDB_FALSE
765 BUILD_LOADER_EDB_TRUE
766 evas_image_loader_edb_libs
767 evas_image_loader_edb_cflags
768 EDB_LIBS
769 EDB_CFLAGS
770 EVAS_STATIC_BUILD_SOFTWARE_8_FALSE
771 EVAS_STATIC_BUILD_SOFTWARE_8_TRUE
772 BUILD_ENGINE_SOFTWARE_8_FALSE
773 BUILD_ENGINE_SOFTWARE_8_TRUE
774 EVAS_STATIC_BUILD_SOFTWARE_16_FALSE
775 EVAS_STATIC_BUILD_SOFTWARE_16_TRUE
776 BUILD_ENGINE_SOFTWARE_16_FALSE
777 BUILD_ENGINE_SOFTWARE_16_TRUE
778 EVAS_STATIC_BUILD_GL_COMMON_FALSE
779 EVAS_STATIC_BUILD_GL_COMMON_TRUE
780 BUILD_ENGINE_GL_COMMON_FALSE
781 BUILD_ENGINE_GL_COMMON_TRUE
782 evas_engine_gl_common_libs
783 have_evas_engine_gl_x11
784 EVAS_STATIC_BUILD_GL_X11_FALSE
785 EVAS_STATIC_BUILD_GL_X11_TRUE
786 BUILD_ENGINE_GL_X11_FALSE
787 BUILD_ENGINE_GL_X11_TRUE
788 have_evas_engine_gl_xlib
789 EVAS_STATIC_BUILD_GL_XLIB_FALSE
790 EVAS_STATIC_BUILD_GL_XLIB_TRUE
791 BUILD_ENGINE_GL_XLIB_FALSE
792 BUILD_ENGINE_GL_XLIB_TRUE
793 evas_engine_gl_xlib_libs
794 evas_engine_gl_xlib_cflags
795 have_evas_engine_gl_xcb
796 EVAS_STATIC_BUILD_GL_XCB_FALSE
797 EVAS_STATIC_BUILD_GL_XCB_TRUE
798 BUILD_ENGINE_GL_XCB_FALSE
799 BUILD_ENGINE_GL_XCB_TRUE
800 evas_engine_gl_xcb_libs
801 evas_engine_gl_xcb_cflags
802 XCB_GL_LIBS
803 XCB_GL_CFLAGS
804 have_evas_engine_software_x11
805 EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE
806 EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE
807 BUILD_ENGINE_SOFTWARE_X11_FALSE
808 BUILD_ENGINE_SOFTWARE_X11_TRUE
809 have_evas_engine_software_xlib
810 have_evas_engine_software_xcb
811 EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE
812 EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE
813 BUILD_ENGINE_SOFTWARE_XLIB_FALSE
814 BUILD_ENGINE_SOFTWARE_XLIB_TRUE
815 evas_engine_software_xlib_libs
816 evas_engine_software_xlib_cflags
817 EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE
818 EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE
819 BUILD_ENGINE_SOFTWARE_XCB_FALSE
820 BUILD_ENGINE_SOFTWARE_XCB_TRUE
821 evas_engine_software_xcb_libs
822 evas_engine_software_xcb_cflags
823 EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE
824 EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE
825 EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE
826 EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE
827 BUILD_ENGINE_WAYLAND_EGL_FALSE
828 BUILD_ENGINE_WAYLAND_EGL_TRUE
829 evas_engine_wayland_egl_libs
830 evas_engine_wayland_egl_cflags
831 WAYLAND_EGL_LIBS
832 WAYLAND_EGL_CFLAGS
833 EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE
834 EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE
835 BUILD_ENGINE_WAYLAND_SHM_FALSE
836 BUILD_ENGINE_WAYLAND_SHM_TRUE
837 evas_engine_wayland_shm_libs
838 evas_engine_wayland_shm_cflags
839 EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE
840 EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE
841 BUILD_ENGINE_SOFTWARE_16_SDL_FALSE
842 BUILD_ENGINE_SOFTWARE_16_SDL_TRUE
843 evas_engine_software_16_sdl_libs
844 evas_engine_software_16_sdl_cflags
845 EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE
846 EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE
847 BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE
848 BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE
849 evas_engine_software_16_wince_libs
850 evas_engine_software_16_wince_cflags
851 EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE
852 EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE
853 BUILD_ENGINE_SOFTWARE_16_X11_FALSE
854 BUILD_ENGINE_SOFTWARE_16_X11_TRUE
855 evas_engine_software_16_x11_libs
856 evas_engine_software_16_x11_cflags
857 X_EXTRA_LIBS
858 X_LIBS
859 X_PRE_LIBS
860 X_CFLAGS
861 XMKMF
862 EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE
863 EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE
864 BUILD_ENGINE_SOFTWARE_8_X11_FALSE
865 BUILD_ENGINE_SOFTWARE_8_X11_TRUE
866 evas_engine_software_8_x11_libs
867 evas_engine_software_8_x11_cflags
868 XCB_LIBS
869 XCB_CFLAGS
870 EVAS_STATIC_BUILD_DIRECTFB_FALSE
871 EVAS_STATIC_BUILD_DIRECTFB_TRUE
872 BUILD_ENGINE_DIRECTFB_FALSE
873 BUILD_ENGINE_DIRECTFB_TRUE
874 evas_engine_directfb_libs
875 evas_engine_directfb_cflags
876 DIRECTFB_LIBS
877 DIRECTFB_CFLAGS
878 EVAS_STATIC_BUILD_FB_FALSE
879 EVAS_STATIC_BUILD_FB_TRUE
880 BUILD_ENGINE_FB_FALSE
881 BUILD_ENGINE_FB_TRUE
882 evas_engine_fb_libs
883 evas_engine_fb_cflags
884 EVAS_STATIC_BUILD_GL_COCOA_FALSE
885 EVAS_STATIC_BUILD_GL_COCOA_TRUE
886 BUILD_ENGINE_GL_COCOA_FALSE
887 BUILD_ENGINE_GL_COCOA_TRUE
888 evas_engine_gl_cocoa_libs
889 evas_engine_gl_cocoa_cflags
890 GL_EET_LIBS
891 GL_EET_CFLAGS
892 EVAS_STATIC_BUILD_GL_SDL_FALSE
893 EVAS_STATIC_BUILD_GL_SDL_TRUE
894 BUILD_ENGINE_GL_SDL_FALSE
895 BUILD_ENGINE_GL_SDL_TRUE
896 evas_engine_gl_sdl_libs
897 evas_engine_gl_sdl_cflags
898 SDL_LIBS
899 SDL_CFLAGS
900 EVAS_STATIC_BUILD_PSL1GHT_FALSE
901 EVAS_STATIC_BUILD_PSL1GHT_TRUE
902 BUILD_ENGINE_PSL1GHT_FALSE
903 BUILD_ENGINE_PSL1GHT_TRUE
904 evas_engine_psl1ght_libs
905 evas_engine_psl1ght_cflags
906 EVAS_STATIC_BUILD_DIRECT3D_FALSE
907 EVAS_STATIC_BUILD_DIRECT3D_TRUE
908 BUILD_ENGINE_DIRECT3D_FALSE
909 BUILD_ENGINE_DIRECT3D_TRUE
910 evas_engine_direct3d_libs
911 evas_engine_direct3d_cflags
912 EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE
913 EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE
914 BUILD_ENGINE_SOFTWARE_DDRAW_FALSE
915 BUILD_ENGINE_SOFTWARE_DDRAW_TRUE
916 evas_engine_software_ddraw_libs
917 evas_engine_software_ddraw_cflags
918 EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE
919 EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE
920 BUILD_ENGINE_SOFTWARE_GDI_FALSE
921 BUILD_ENGINE_SOFTWARE_GDI_TRUE
922 evas_engine_software_gdi_libs
923 evas_engine_software_gdi_cflags
924 EVAS_STATIC_BUILD_BUFFER_FALSE
925 EVAS_STATIC_BUILD_BUFFER_TRUE
926 BUILD_ENGINE_BUFFER_FALSE
927 BUILD_ENGINE_BUFFER_TRUE
928 evas_engine_buffer_libs
929 evas_engine_buffer_cflags
930 EVAS_CSERVE2_FALSE
931 EVAS_CSERVE2_TRUE
932 EVAS_CSERVE_FALSE
933 EVAS_CSERVE_TRUE
934 shm_open_libs
935 EFL_SHM_OPEN_LIBS
936 dlopen_libs
937 EFL_FNMATCH_LIBS
938 ALLOCA
939 lt_enable_auto_import
940 PIXMAN_LIBS
941 PIXMAN_CFLAGS
942 HARFBUZZ_LIBS
943 HARFBUZZ_CFLAGS
944 FRIBIDI_LIBS
945 FRIBIDI_CFLAGS
946 LINEBREAK_LIBS
947 LINEBREAK_CFLAGS
948 EVAS_USE_LINEBREAK_FALSE
949 EVAS_USE_LINEBREAK_TRUE
950 FONTCONFIG_LIBS
951 FONTCONFIG_CFLAGS
952 FREETYPE_LIBS
953 FREETYPE_CFLAGS
954 EINA_LIBS
955 EINA_CFLAGS
956 EVAS_HAVE_EXOTIC_FALSE
957 EVAS_HAVE_EXOTIC_TRUE
958 EXOTIC_LIBS
959 EXOTIC_CFLAGS
960 EVIL_LIBS
961 EVIL_CFLAGS
962 EFL_BUILD_DOC_FALSE
963 EFL_BUILD_DOC_TRUE
964 efl_doxygen
965 efl_have_doxygen
966 pkgconfig_requires_private
967 PKG_CONFIG_LIBDIR
968 PKG_CONFIG_PATH
969 PKG_CONFIG
970 CXXCPP
971 am__fastdepCXX_FALSE
972 am__fastdepCXX_TRUE
973 CXXDEPMODE
974 ac_ct_CXX
975 CXXFLAGS
976 CXX
977 am__fastdepOBJC_FALSE
978 am__fastdepOBJC_TRUE
979 OBJCDEPMODE
980 ac_ct_OBJC
981 OBJCFLAGS
982 OBJC
983 MODULE_ARCH
984 VMAJ
985 release_info
986 version_info
987 OTOOL64
988 OTOOL
989 LIPO
990 NMEDIT
991 DSYMUTIL
992 MANIFEST_TOOL
993 RANLIB
994 ac_ct_AR
995 AR
996 LN_S
997 NM
998 ac_ct_DUMPBIN
999 DUMPBIN
1000 LD
1001 FGREP
1002 SED
1003 LIBTOOL
1004 OBJDUMP
1005 DLLTOOL
1006 AS
1007 host_os
1008 host_vendor
1009 host_cpu
1010 host
1011 build_os
1012 build_vendor
1013 build_cpu
1014 build
1015 EGREP
1016 GREP
1017 CPP
1018 am__fastdepCC_FALSE
1019 am__fastdepCC_TRUE
1020 CCDEPMODE
1021 am__nodep
1022 AMDEPBACKSLASH
1023 AMDEP_FALSE
1024 AMDEP_TRUE
1025 am__quote
1026 am__include
1027 DEPDIR
1028 OBJEXT
1029 EXEEXT
1030 ac_ct_CC
1031 CPPFLAGS
1032 LDFLAGS
1033 CFLAGS
1034 CC
1035 AM_BACKSLASH
1036 AM_DEFAULT_VERBOSITY
1037 AM_DEFAULT_V
1038 AM_V
1039 am__untar
1040 am__tar
1041 AMTAR
1042 am__leading_dot
1043 SET_MAKE
1044 AWK
1045 mkdir_p
1046 MKDIR_P
1047 INSTALL_STRIP_PROGRAM
1048 STRIP
1049 install_sh
1050 MAKEINFO
1051 AUTOHEADER
1052 AUTOMAKE
1053 AUTOCONF
1054 ACLOCAL
1055 VERSION
1056 PACKAGE
1057 CYGPATH_W
1058 am__isrc
1059 INSTALL_DATA
1060 INSTALL_SCRIPT
1061 INSTALL_PROGRAM
1062 target_alias
1063 host_alias
1064 build_alias
1065 LIBS
1066 ECHO_T
1067 ECHO_N
1068 ECHO_C
1069 DEFS
1070 mandir
1071 localedir
1072 libdir
1073 psdir
1074 pdfdir
1075 dvidir
1076 htmldir
1077 infodir
1078 docdir
1079 oldincludedir
1080 includedir
1081 localstatedir
1082 sharedstatedir
1083 sysconfdir
1084 datadir
1085 datarootdir
1086 libexecdir
1087 sbindir
1088 bindir
1089 program_transform_name
1090 prefix
1091 exec_prefix
1092 PACKAGE_URL
1093 PACKAGE_BUGREPORT
1094 PACKAGE_STRING
1095 PACKAGE_VERSION
1096 PACKAGE_TARNAME
1097 PACKAGE_NAME
1098 PATH_SEPARATOR
1099 SHELL'
1100 ac_subst_files=''
1101 ac_user_opts='
1102 enable_option_checking
1103 enable_silent_rules
1104 enable_dependency_tracking
1105 enable_shared
1106 enable_static
1107 with_pic
1108 enable_fast_install
1109 with_gnu_ld
1110 with_sysroot
1111 enable_libtool_lock
1112 enable_strict
1113 enable_simple_x11
1114 enable_doc
1115 with_doxygen
1116 enable_fontconfig
1117 enable_liblinebreak
1118 enable_fribidi
1119 enable_harfbuzz
1120 enable_pixman
1121 enable_pixman_font
1122 enable_pixman_rect
1123 enable_pixman_line
1124 enable_pixman_poly
1125 enable_pixman_image
1126 enable_pixman_image_scale_sample
1127 enable_tile_rotate
1128 enable_evas_cserve
1129 enable_evas_cserve2
1130 enable_gl_flavor_gles
1131 enable_gles_variety_sgx
1132 enable_gles_variety_s3c6410
1133 enable_buffer
1134 enable_software_gdi
1135 enable_software_ddraw
1136 enable_direct3d
1137 enable_psl1ght
1138 enable_gl_sdl
1139 enable_gl_cocoa
1140 enable_fb
1141 enable_directfb
1142 enable_software_8_x11
1143 enable_software_16_x11
1144 with_x
1145 enable_software_16_wince
1146 enable_software_16_sdl
1147 enable_wayland_shm
1148 enable_wayland_egl
1149 enable_sdl_primitive
1150 enable_static_software_generic
1151 enable_software_xcb
1152 enable_software_xlib
1153 enable_gl_xcb
1154 enable_gl_xlib
1155 enable_static_software_16
1156 enable_static_software_8
1157 enable_image_loader_edb
1158 enable_image_loader_eet
1159 enable_font_loader_eet
1160 enable_image_loader_gif
1161 enable_image_loader_jpeg
1162 enable_image_loader_pmaps
1163 enable_image_loader_png
1164 enable_image_loader_svg
1165 enable_image_loader_tiff
1166 enable_image_loader_xpm
1167 enable_image_loader_bmp
1168 enable_image_loader_tga
1169 enable_image_loader_wbmp
1170 enable_image_loader_ico
1171 enable_image_loader_psd
1172 enable_image_loader_generic
1173 enable_pthreads
1174 enable_async_events
1175 enable_async_preload
1176 enable_cpu_mmx
1177 enable_cpu_sse
1178 enable_cpu_sse3
1179 enable_cpu_altivec
1180 enable_cpu_neon
1181 enable_cpu_c
1182 enable_evas_magic_debug
1183 enable_scale_sample
1184 enable_scale_smooth
1185 enable_convert_yuv
1186 enable_small_dither_mask
1187 enable_line_dither_mask
1188 enable_no_dither_mask
1189 enable_convert_8_rgb_332
1190 enable_convert_8_rgb_666
1191 enable_convert_8_rgb_232
1192 enable_convert_8_rgb_222
1193 enable_convert_8_rgb_221
1194 enable_convert_8_rgb_121
1195 enable_convert_8_rgb_111
1196 enable_convert_16_rgb_565
1197 enable_convert_16_bgr_565
1198 enable_convert_16_rgb_555
1199 enable_convert_16_rgb_444
1200 enable_convert_16_rgb_ipq
1201 enable_convert_16_rgb_rot_0
1202 enable_convert_16_rgb_rot_180
1203 enable_convert_16_rgb_rot_270
1204 enable_convert_16_rgb_rot_90
1205 enable_convert_24_rgb_888
1206 enable_convert_24_bgr_888
1207 enable_convert_32_rgb_8888
1208 enable_convert_32_rgbx_8888
1209 enable_convert_32_bgr_8888
1210 enable_convert_32_bgrx_8888
1211 enable_convert_24_rgb_ezx
1212 enable_convert_32_rgb_ezx
1213 enable_convert_32_rgb_rot_0
1214 enable_convert_32_rgb_rot_180
1215 enable_convert_32_rgb_rot_270
1216 enable_convert_32_rgb_rot_90
1217 enable_convert_8_gry_1
1218 enable_convert_8_gry_16
1219 enable_convert_8_grayscale_64
1220 enable_valgrind
1221 enable_install_examples
1222 enable_build_examples
1223 enable_tests
1224 enable_coverage
1225 '
1226       ac_precious_vars='build_alias
1227 host_alias
1228 target_alias
1229 CC
1230 CFLAGS
1231 LDFLAGS
1232 LIBS
1233 CPPFLAGS
1234 CPP
1235 OBJC
1236 OBJCFLAGS
1237 CXX
1238 CXXFLAGS
1239 CCC
1240 CXXCPP
1241 PKG_CONFIG
1242 PKG_CONFIG_PATH
1243 PKG_CONFIG_LIBDIR
1244 EVIL_CFLAGS
1245 EVIL_LIBS
1246 EXOTIC_CFLAGS
1247 EXOTIC_LIBS
1248 EINA_CFLAGS
1249 EINA_LIBS
1250 FREETYPE_CFLAGS
1251 FREETYPE_LIBS
1252 FONTCONFIG_CFLAGS
1253 FONTCONFIG_LIBS
1254 FRIBIDI_CFLAGS
1255 FRIBIDI_LIBS
1256 HARFBUZZ_CFLAGS
1257 HARFBUZZ_LIBS
1258 PIXMAN_CFLAGS
1259 PIXMAN_LIBS
1260 SDL_CFLAGS
1261 SDL_LIBS
1262 GL_EET_CFLAGS
1263 GL_EET_LIBS
1264 DIRECTFB_CFLAGS
1265 DIRECTFB_LIBS
1266 XCB_CFLAGS
1267 XCB_LIBS
1268 XMKMF
1269 WAYLAND_EGL_CFLAGS
1270 WAYLAND_EGL_LIBS
1271 XCB_GL_CFLAGS
1272 XCB_GL_LIBS
1273 EDB_CFLAGS
1274 EDB_LIBS
1275 EET_CFLAGS
1276 EET_LIBS
1277 PNG_CFLAGS
1278 PNG_LIBS
1279 SVG_CFLAGS
1280 SVG_LIBS
1281 VALGRIND_CFLAGS
1282 VALGRIND_LIBS
1283 ECORE_EVAS_CFLAGS
1284 ECORE_EVAS_LIBS
1285 EDJE_CFLAGS
1286 EDJE_LIBS
1287 CHECK_CFLAGS
1288 CHECK_LIBS'
1289
1290
1291 # Initialize some variables set by options.
1292 ac_init_help=
1293 ac_init_version=false
1294 ac_unrecognized_opts=
1295 ac_unrecognized_sep=
1296 # The variables have the same names as the options, with
1297 # dashes changed to underlines.
1298 cache_file=/dev/null
1299 exec_prefix=NONE
1300 no_create=
1301 no_recursion=
1302 prefix=NONE
1303 program_prefix=NONE
1304 program_suffix=NONE
1305 program_transform_name=s,x,x,
1306 silent=
1307 site=
1308 srcdir=
1309 verbose=
1310 x_includes=NONE
1311 x_libraries=NONE
1312
1313 # Installation directory options.
1314 # These are left unexpanded so users can "make install exec_prefix=/foo"
1315 # and all the variables that are supposed to be based on exec_prefix
1316 # by default will actually change.
1317 # Use braces instead of parens because sh, perl, etc. also accept them.
1318 # (The list follows the same order as the GNU Coding Standards.)
1319 bindir='${exec_prefix}/bin'
1320 sbindir='${exec_prefix}/sbin'
1321 libexecdir='${exec_prefix}/libexec'
1322 datarootdir='${prefix}/share'
1323 datadir='${datarootdir}'
1324 sysconfdir='${prefix}/etc'
1325 sharedstatedir='${prefix}/com'
1326 localstatedir='${prefix}/var'
1327 includedir='${prefix}/include'
1328 oldincludedir='/usr/include'
1329 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1330 infodir='${datarootdir}/info'
1331 htmldir='${docdir}'
1332 dvidir='${docdir}'
1333 pdfdir='${docdir}'
1334 psdir='${docdir}'
1335 libdir='${exec_prefix}/lib'
1336 localedir='${datarootdir}/locale'
1337 mandir='${datarootdir}/man'
1338
1339 ac_prev=
1340 ac_dashdash=
1341 for ac_option
1342 do
1343   # If the previous option needs an argument, assign it.
1344   if test -n "$ac_prev"; then
1345     eval $ac_prev=\$ac_option
1346     ac_prev=
1347     continue
1348   fi
1349
1350   case $ac_option in
1351   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1352   *=)   ac_optarg= ;;
1353   *)    ac_optarg=yes ;;
1354   esac
1355
1356   # Accept the important Cygnus configure options, so we can diagnose typos.
1357
1358   case $ac_dashdash$ac_option in
1359   --)
1360     ac_dashdash=yes ;;
1361
1362   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1363     ac_prev=bindir ;;
1364   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1365     bindir=$ac_optarg ;;
1366
1367   -build | --build | --buil | --bui | --bu)
1368     ac_prev=build_alias ;;
1369   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1370     build_alias=$ac_optarg ;;
1371
1372   -cache-file | --cache-file | --cache-fil | --cache-fi \
1373   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1374     ac_prev=cache_file ;;
1375   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1376   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1377     cache_file=$ac_optarg ;;
1378
1379   --config-cache | -C)
1380     cache_file=config.cache ;;
1381
1382   -datadir | --datadir | --datadi | --datad)
1383     ac_prev=datadir ;;
1384   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1385     datadir=$ac_optarg ;;
1386
1387   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1388   | --dataroo | --dataro | --datar)
1389     ac_prev=datarootdir ;;
1390   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1391   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1392     datarootdir=$ac_optarg ;;
1393
1394   -disable-* | --disable-*)
1395     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1396     # Reject names that are not valid shell variable names.
1397     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1398       as_fn_error $? "invalid feature name: $ac_useropt"
1399     ac_useropt_orig=$ac_useropt
1400     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1401     case $ac_user_opts in
1402       *"
1403 "enable_$ac_useropt"
1404 "*) ;;
1405       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1406          ac_unrecognized_sep=', ';;
1407     esac
1408     eval enable_$ac_useropt=no ;;
1409
1410   -docdir | --docdir | --docdi | --doc | --do)
1411     ac_prev=docdir ;;
1412   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1413     docdir=$ac_optarg ;;
1414
1415   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1416     ac_prev=dvidir ;;
1417   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1418     dvidir=$ac_optarg ;;
1419
1420   -enable-* | --enable-*)
1421     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1422     # Reject names that are not valid shell variable names.
1423     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1424       as_fn_error $? "invalid feature name: $ac_useropt"
1425     ac_useropt_orig=$ac_useropt
1426     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1427     case $ac_user_opts in
1428       *"
1429 "enable_$ac_useropt"
1430 "*) ;;
1431       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1432          ac_unrecognized_sep=', ';;
1433     esac
1434     eval enable_$ac_useropt=\$ac_optarg ;;
1435
1436   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1437   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1438   | --exec | --exe | --ex)
1439     ac_prev=exec_prefix ;;
1440   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1441   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1442   | --exec=* | --exe=* | --ex=*)
1443     exec_prefix=$ac_optarg ;;
1444
1445   -gas | --gas | --ga | --g)
1446     # Obsolete; use --with-gas.
1447     with_gas=yes ;;
1448
1449   -help | --help | --hel | --he | -h)
1450     ac_init_help=long ;;
1451   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1452     ac_init_help=recursive ;;
1453   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1454     ac_init_help=short ;;
1455
1456   -host | --host | --hos | --ho)
1457     ac_prev=host_alias ;;
1458   -host=* | --host=* | --hos=* | --ho=*)
1459     host_alias=$ac_optarg ;;
1460
1461   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1462     ac_prev=htmldir ;;
1463   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1464   | --ht=*)
1465     htmldir=$ac_optarg ;;
1466
1467   -includedir | --includedir | --includedi | --included | --include \
1468   | --includ | --inclu | --incl | --inc)
1469     ac_prev=includedir ;;
1470   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1471   | --includ=* | --inclu=* | --incl=* | --inc=*)
1472     includedir=$ac_optarg ;;
1473
1474   -infodir | --infodir | --infodi | --infod | --info | --inf)
1475     ac_prev=infodir ;;
1476   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1477     infodir=$ac_optarg ;;
1478
1479   -libdir | --libdir | --libdi | --libd)
1480     ac_prev=libdir ;;
1481   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1482     libdir=$ac_optarg ;;
1483
1484   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1485   | --libexe | --libex | --libe)
1486     ac_prev=libexecdir ;;
1487   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1488   | --libexe=* | --libex=* | --libe=*)
1489     libexecdir=$ac_optarg ;;
1490
1491   -localedir | --localedir | --localedi | --localed | --locale)
1492     ac_prev=localedir ;;
1493   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1494     localedir=$ac_optarg ;;
1495
1496   -localstatedir | --localstatedir | --localstatedi | --localstated \
1497   | --localstate | --localstat | --localsta | --localst | --locals)
1498     ac_prev=localstatedir ;;
1499   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1500   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1501     localstatedir=$ac_optarg ;;
1502
1503   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1504     ac_prev=mandir ;;
1505   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1506     mandir=$ac_optarg ;;
1507
1508   -nfp | --nfp | --nf)
1509     # Obsolete; use --without-fp.
1510     with_fp=no ;;
1511
1512   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1513   | --no-cr | --no-c | -n)
1514     no_create=yes ;;
1515
1516   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1517   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1518     no_recursion=yes ;;
1519
1520   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1521   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1522   | --oldin | --oldi | --old | --ol | --o)
1523     ac_prev=oldincludedir ;;
1524   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1525   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1526   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1527     oldincludedir=$ac_optarg ;;
1528
1529   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1530     ac_prev=prefix ;;
1531   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1532     prefix=$ac_optarg ;;
1533
1534   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1535   | --program-pre | --program-pr | --program-p)
1536     ac_prev=program_prefix ;;
1537   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1538   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1539     program_prefix=$ac_optarg ;;
1540
1541   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1542   | --program-suf | --program-su | --program-s)
1543     ac_prev=program_suffix ;;
1544   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1545   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1546     program_suffix=$ac_optarg ;;
1547
1548   -program-transform-name | --program-transform-name \
1549   | --program-transform-nam | --program-transform-na \
1550   | --program-transform-n | --program-transform- \
1551   | --program-transform | --program-transfor \
1552   | --program-transfo | --program-transf \
1553   | --program-trans | --program-tran \
1554   | --progr-tra | --program-tr | --program-t)
1555     ac_prev=program_transform_name ;;
1556   -program-transform-name=* | --program-transform-name=* \
1557   | --program-transform-nam=* | --program-transform-na=* \
1558   | --program-transform-n=* | --program-transform-=* \
1559   | --program-transform=* | --program-transfor=* \
1560   | --program-transfo=* | --program-transf=* \
1561   | --program-trans=* | --program-tran=* \
1562   | --progr-tra=* | --program-tr=* | --program-t=*)
1563     program_transform_name=$ac_optarg ;;
1564
1565   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1566     ac_prev=pdfdir ;;
1567   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1568     pdfdir=$ac_optarg ;;
1569
1570   -psdir | --psdir | --psdi | --psd | --ps)
1571     ac_prev=psdir ;;
1572   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1573     psdir=$ac_optarg ;;
1574
1575   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1576   | -silent | --silent | --silen | --sile | --sil)
1577     silent=yes ;;
1578
1579   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1580     ac_prev=sbindir ;;
1581   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1582   | --sbi=* | --sb=*)
1583     sbindir=$ac_optarg ;;
1584
1585   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1586   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1587   | --sharedst | --shareds | --shared | --share | --shar \
1588   | --sha | --sh)
1589     ac_prev=sharedstatedir ;;
1590   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1591   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1592   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1593   | --sha=* | --sh=*)
1594     sharedstatedir=$ac_optarg ;;
1595
1596   -site | --site | --sit)
1597     ac_prev=site ;;
1598   -site=* | --site=* | --sit=*)
1599     site=$ac_optarg ;;
1600
1601   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1602     ac_prev=srcdir ;;
1603   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1604     srcdir=$ac_optarg ;;
1605
1606   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1607   | --syscon | --sysco | --sysc | --sys | --sy)
1608     ac_prev=sysconfdir ;;
1609   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1610   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1611     sysconfdir=$ac_optarg ;;
1612
1613   -target | --target | --targe | --targ | --tar | --ta | --t)
1614     ac_prev=target_alias ;;
1615   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1616     target_alias=$ac_optarg ;;
1617
1618   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1619     verbose=yes ;;
1620
1621   -version | --version | --versio | --versi | --vers | -V)
1622     ac_init_version=: ;;
1623
1624   -with-* | --with-*)
1625     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1626     # Reject names that are not valid shell variable names.
1627     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1628       as_fn_error $? "invalid package name: $ac_useropt"
1629     ac_useropt_orig=$ac_useropt
1630     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1631     case $ac_user_opts in
1632       *"
1633 "with_$ac_useropt"
1634 "*) ;;
1635       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1636          ac_unrecognized_sep=', ';;
1637     esac
1638     eval with_$ac_useropt=\$ac_optarg ;;
1639
1640   -without-* | --without-*)
1641     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1642     # Reject names that are not valid shell variable names.
1643     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1644       as_fn_error $? "invalid package name: $ac_useropt"
1645     ac_useropt_orig=$ac_useropt
1646     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1647     case $ac_user_opts in
1648       *"
1649 "with_$ac_useropt"
1650 "*) ;;
1651       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1652          ac_unrecognized_sep=', ';;
1653     esac
1654     eval with_$ac_useropt=no ;;
1655
1656   --x)
1657     # Obsolete; use --with-x.
1658     with_x=yes ;;
1659
1660   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1661   | --x-incl | --x-inc | --x-in | --x-i)
1662     ac_prev=x_includes ;;
1663   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1664   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1665     x_includes=$ac_optarg ;;
1666
1667   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1668   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1669     ac_prev=x_libraries ;;
1670   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1671   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1672     x_libraries=$ac_optarg ;;
1673
1674   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1675 Try \`$0 --help' for more information"
1676     ;;
1677
1678   *=*)
1679     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1680     # Reject names that are not valid shell variable names.
1681     case $ac_envvar in #(
1682       '' | [0-9]* | *[!_$as_cr_alnum]* )
1683       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1684     esac
1685     eval $ac_envvar=\$ac_optarg
1686     export $ac_envvar ;;
1687
1688   *)
1689     # FIXME: should be removed in autoconf 3.0.
1690     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1691     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1692       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1693     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1694     ;;
1695
1696   esac
1697 done
1698
1699 if test -n "$ac_prev"; then
1700   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1701   as_fn_error $? "missing argument to $ac_option"
1702 fi
1703
1704 if test -n "$ac_unrecognized_opts"; then
1705   case $enable_option_checking in
1706     no) ;;
1707     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1708     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1709   esac
1710 fi
1711
1712 # Check all directory arguments for consistency.
1713 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1714                 datadir sysconfdir sharedstatedir localstatedir includedir \
1715                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1716                 libdir localedir mandir
1717 do
1718   eval ac_val=\$$ac_var
1719   # Remove trailing slashes.
1720   case $ac_val in
1721     */ )
1722       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1723       eval $ac_var=\$ac_val;;
1724   esac
1725   # Be sure to have absolute directory names.
1726   case $ac_val in
1727     [\\/$]* | ?:[\\/]* )  continue;;
1728     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1729   esac
1730   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1731 done
1732
1733 # There might be people who depend on the old broken behavior: `$host'
1734 # used to hold the argument of --host etc.
1735 # FIXME: To remove some day.
1736 build=$build_alias
1737 host=$host_alias
1738 target=$target_alias
1739
1740 # FIXME: To remove some day.
1741 if test "x$host_alias" != x; then
1742   if test "x$build_alias" = x; then
1743     cross_compiling=maybe
1744   elif test "x$build_alias" != "x$host_alias"; then
1745     cross_compiling=yes
1746   fi
1747 fi
1748
1749 ac_tool_prefix=
1750 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1751
1752 test "$silent" = yes && exec 6>/dev/null
1753
1754
1755 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1756 ac_ls_di=`ls -di .` &&
1757 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1758   as_fn_error $? "working directory cannot be determined"
1759 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1760   as_fn_error $? "pwd does not report name of working directory"
1761
1762
1763 # Find the source files, if location was not specified.
1764 if test -z "$srcdir"; then
1765   ac_srcdir_defaulted=yes
1766   # Try the directory containing this script, then the parent directory.
1767   ac_confdir=`$as_dirname -- "$as_myself" ||
1768 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1769          X"$as_myself" : 'X\(//\)[^/]' \| \
1770          X"$as_myself" : 'X\(//\)$' \| \
1771          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1772 $as_echo X"$as_myself" |
1773     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1774             s//\1/
1775             q
1776           }
1777           /^X\(\/\/\)[^/].*/{
1778             s//\1/
1779             q
1780           }
1781           /^X\(\/\/\)$/{
1782             s//\1/
1783             q
1784           }
1785           /^X\(\/\).*/{
1786             s//\1/
1787             q
1788           }
1789           s/.*/./; q'`
1790   srcdir=$ac_confdir
1791   if test ! -r "$srcdir/$ac_unique_file"; then
1792     srcdir=..
1793   fi
1794 else
1795   ac_srcdir_defaulted=no
1796 fi
1797 if test ! -r "$srcdir/$ac_unique_file"; then
1798   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1799   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1800 fi
1801 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1802 ac_abs_confdir=`(
1803         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1804         pwd)`
1805 # When building in place, set srcdir=.
1806 if test "$ac_abs_confdir" = "$ac_pwd"; then
1807   srcdir=.
1808 fi
1809 # Remove unnecessary trailing slashes from srcdir.
1810 # Double slashes in file names in object file debugging info
1811 # mess up M-x gdb in Emacs.
1812 case $srcdir in
1813 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1814 esac
1815 for ac_var in $ac_precious_vars; do
1816   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1817   eval ac_env_${ac_var}_value=\$${ac_var}
1818   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1819   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1820 done
1821
1822 #
1823 # Report the --help message.
1824 #
1825 if test "$ac_init_help" = "long"; then
1826   # Omit some internal or obsolete options to make the list less imposing.
1827   # This message is too long to be a string in the A/UX 3.1 sh.
1828   cat <<_ACEOF
1829 \`configure' configures evas 1.7.8 to adapt to many kinds of systems.
1830
1831 Usage: $0 [OPTION]... [VAR=VALUE]...
1832
1833 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1834 VAR=VALUE.  See below for descriptions of some of the useful variables.
1835
1836 Defaults for the options are specified in brackets.
1837
1838 Configuration:
1839   -h, --help              display this help and exit
1840       --help=short        display options specific to this package
1841       --help=recursive    display the short help of all the included packages
1842   -V, --version           display version information and exit
1843   -q, --quiet, --silent   do not print \`checking ...' messages
1844       --cache-file=FILE   cache test results in FILE [disabled]
1845   -C, --config-cache      alias for \`--cache-file=config.cache'
1846   -n, --no-create         do not create output files
1847       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1848
1849 Installation directories:
1850   --prefix=PREFIX         install architecture-independent files in PREFIX
1851                           [$ac_default_prefix]
1852   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1853                           [PREFIX]
1854
1855 By default, \`make install' will install all the files in
1856 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1857 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1858 for instance \`--prefix=\$HOME'.
1859
1860 For better control, use the options below.
1861
1862 Fine tuning of the installation directories:
1863   --bindir=DIR            user executables [EPREFIX/bin]
1864   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1865   --libexecdir=DIR        program executables [EPREFIX/libexec]
1866   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1867   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1868   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1869   --libdir=DIR            object code libraries [EPREFIX/lib]
1870   --includedir=DIR        C header files [PREFIX/include]
1871   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1872   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1873   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1874   --infodir=DIR           info documentation [DATAROOTDIR/info]
1875   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1876   --mandir=DIR            man documentation [DATAROOTDIR/man]
1877   --docdir=DIR            documentation root [DATAROOTDIR/doc/evas]
1878   --htmldir=DIR           html documentation [DOCDIR]
1879   --dvidir=DIR            dvi documentation [DOCDIR]
1880   --pdfdir=DIR            pdf documentation [DOCDIR]
1881   --psdir=DIR             ps documentation [DOCDIR]
1882 _ACEOF
1883
1884   cat <<\_ACEOF
1885
1886 Program names:
1887   --program-prefix=PREFIX            prepend PREFIX to installed program names
1888   --program-suffix=SUFFIX            append SUFFIX to installed program names
1889   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1890
1891 X features:
1892   --x-includes=DIR    X include files are in DIR
1893   --x-libraries=DIR   X library files are in DIR
1894
1895 System types:
1896   --build=BUILD     configure for building on BUILD [guessed]
1897   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1898 _ACEOF
1899 fi
1900
1901 if test -n "$ac_init_help"; then
1902   case $ac_init_help in
1903      short | recursive ) echo "Configuration of evas 1.7.8:";;
1904    esac
1905   cat <<\_ACEOF
1906
1907 Optional Features:
1908   --disable-option-checking  ignore unrecognized --enable/--with options
1909   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1910   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1911   --enable-silent-rules   less verbose build output (undo: "make V=1")
1912   --disable-silent-rules  verbose build output (undo: "make V=0")
1913   --enable-dependency-tracking
1914                           do not reject slow dependency extractors
1915   --disable-dependency-tracking
1916                           speeds up one-time build
1917   --enable-shared[=PKGS]  build shared libraries [default=yes]
1918   --enable-static[=PKGS]  build static libraries [default=yes]
1919   --enable-fast-install[=PKGS]
1920                           optimize for fast installation [default=yes]
1921   --disable-libtool-lock  avoid locking (might break parallel builds)
1922   --enable-strict         enable strict checking mode. [default==disabled]
1923   --enable-simple-x11     enable simple x11 linking
1924   --disable-doc           Disable documentation build [default=enabled]
1925   --disable-fontconfig    disable fontconfig for finding fonts.
1926                           [default=enabled]
1927   --disable-liblinebreak  disable linking against liblinebreak.
1928                           [default=enabled]
1929   --disable-fribidi       disable bidirectional text support.
1930                           [default=enabled]
1931   --disable-harfbuzz      disable complex text shaping and layouting support.
1932                           [default=enabled]
1933   --enable-pixman         enable pixman for software rendering.
1934                           [default=enabled]
1935   --enable-pixman-font    Allow pixman to render fonts
1936   --enable-pixman-rect    Allow pixman to render rects
1937   --enable-pixman-line    Allow pixman to render lines
1938   --enable-pixman-poly    Allow pixman to render polys
1939   --enable-pixman-image   Allow pixman to render images
1940   --enable-pixman-image-scale-sample
1941                           Allow pixman to render sampled scaled images
1942   --enable-tile-rotate    Enable tiled rotate algorithm
1943   --disable-evas-cserve   disable shared cache server support.
1944                           [default=enabled]
1945   --disable-evas-cserve2  disable shared cache server 2 support.
1946                           [default=enabled]
1947   --enable-gl-flavor-gles enable gles flavor of gl instead of standard
1948   --enable-gles-variety-sgx
1949                           GLES variety SGX 3D unit
1950   --enable-gles-variety-s3c6410
1951                           GLES variety s3c6410 3D unit
1952   --enable-buffer         enable Buffer rendering backend
1953   --enable-software-gdi   enable Software GDI rendering backend
1954   --enable-software-ddraw enable Software DirectDraw rendering backend
1955   --enable-direct3d       enable Direct3D rendering backend
1956   --enable-psl1ght        enable PSL1GHT rendering backend
1957   --enable-gl-sdl         enable OpenGL SDL rendering backend
1958   --enable-gl-cocoa       enable OpenGL Cocoa rendering backend
1959   --enable-fb             enable Framebuffer rendering backend
1960   --enable-directfb       enable DirectFB rendering backend
1961   --enable-software-8-x11 enable Software X11 8 bits grayscale rendering
1962                           backend
1963   --enable-software-16-x11
1964                           enable Software X11 16 bits rendering backend
1965   --enable-software-16-wince
1966                           enable Software Windows CE 16 bits rendering backend
1967   --enable-software-16-sdl
1968                           enable Software SDL 16 bits rendering backend
1969   --enable-wayland-shm    enable Wayland Shm rendering backend
1970   --enable-wayland-egl    enable Wayland Egl rendering backend
1971   --enable-sdl-primitive
1972   --enable-static-software-generic
1973                           Build software generic engine as part of libevas
1974   --enable-software-xcb   enable Software XCB Engine. [default=disabled]
1975   --enable-software-xcb   enable Software XCB rendering backend
1976   --enable-software-xlib  enable Software Xlib rendering backend
1977   --enable-gl-xcb         enable OpenGL XCB Engine. [default=disabled]
1978   --enable-gl-xcb         enable OpenGL XCB rendering backend
1979   --enable-gl-xlib        enable OpenGL XLib rendering backend
1980   --enable-static-software-16
1981                           Build software 16 engine as part of libevas
1982   --enable-static-software-8
1983                           Build software 8 engine as part of libevas
1984   --enable-image-loader-edb
1985                           enable Edb image loader
1986   --enable-image-loader-eet
1987                           enable Eet image loader
1988   --disable-font-loader-eet
1989                           disable EET font loader. [[default=enabled]]
1990   --enable-image-loader-gif
1991                           enable Gif image loader
1992   --enable-image-loader-jpeg
1993                           enable Jpeg image loader
1994   --enable-image-loader-pmaps
1995                           enable PMAPS image loader
1996   --enable-image-loader-png
1997                           enable PNG image loader
1998   --enable-image-loader-svg
1999                           enable SVG image loader
2000   --enable-image-loader-tiff
2001                           enable Tiff image loader
2002   --enable-image-loader-xpm
2003                           enable XPM image loader
2004   --enable-image-loader-bmp
2005                           enable BMP image loader
2006   --enable-image-loader-tga
2007                           enable TGA image loader
2008   --enable-image-loader-wbmp
2009                           enable WBMP image loader
2010   --enable-image-loader-ico
2011                           enable ICO image loader
2012   --enable-image-loader-psd
2013                           enable PSD image loader
2014   --enable-image-loader-generic
2015                           enable GENERIC image loader
2016   --enable-pthreads       enable threaded rendering
2017   --enable-async-events   enable async events support
2018   --enable-async-preload  enable async image preloading support
2019   --enable-cpu-mmx        enable mmx code
2020   --enable-cpu-sse        enable sse code
2021   --enable-cpu-sse3       enable sse3 code
2022   --enable-cpu-altivec    enable altivec code
2023   --enable-cpu-neon       build neon code, the code will be checked at run
2024                           time to see if the CPU supports it
2025   --enable-cpu-c          enable C code
2026   --disable-evas-magic-debug
2027                           disable MAGIC_DEBUG check when people pass in wrong
2028                           object type. [[default=enabled]]
2029   --disable-scale-sample  disable sampling scaler code [default=enabled]
2030   --disable-scale-smooth  disable smooth scaler code [default=enabled]
2031   --enable-convert-yuv    enable yuv converter code
2032   --enable-small-dither-mask
2033                           enable small dither mask [default=disabled]
2034   --enable-line-dither-mask
2035                           enable line dither mask [default=disabled]
2036   --enable-no-dither-mask enable conversion to 16bpp without dither mask
2037                           [default=disabled]
2038   --disable-convert-8-rgb-332
2039                           disable the 8bpp RGB 332 converter code
2040   --disable-convert-8-rgb-666
2041                           disable the 8bpp RGB 666 converter code
2042   --disable-convert-8-rgb-232
2043                           disable the 8bpp RGB 232 converter code
2044   --disable-convert-8-rgb-222
2045                           disable the 8bpp RGB 222 converter code
2046   --disable-convert-8-rgb-221
2047                           disable the 8bpp RGB 221 converter code
2048   --disable-convert-8-rgb-121
2049                           disable the 8bpp RGB 121 converter code
2050   --disable-convert-8-rgb-111
2051                           disable the 8bpp RGB 111 converter code
2052   --disable-convert-16-rgb-565
2053                           disable the 16bpp RGB 565 converter code
2054   --disable-convert-16-bgr-565
2055                           disable the 16bpp BGR 565 converter code
2056   --disable-convert-16-rgb-555
2057                           disable the 16bpp RGB 555 converter code
2058   --disable-convert-16-rgb-444
2059                           disable the 16bpp RGB 444 converter code
2060   --disable-convert-16-rgb-ipq
2061                           disable 16bpp 565 (444 ipaq) converter code
2062   --disable-convert-16-rgb-rot-0
2063                           disable the 16bpp RGB rotation 0 converter code
2064   --disable-convert-16-rgb-rot-180
2065                           disable the 16bpp RGB rotation 180 converter code
2066   --disable-convert-16-rgb-rot-270
2067                           disable the 16bpp RGB rotation 270 converter code
2068   --disable-convert-16-rgb-rot-90
2069                           disable the 16bpp RGB rotation 90 converter code
2070   --disable-convert-24-rgb-888
2071                           disable the 24bpp RGB 888 converter code
2072   --disable-convert-24-bgr-888
2073                           disable the 24bpp BGR 888 converter code
2074   --disable-convert-32-rgb-8888
2075                           disable the 32bpp RGB 8888 converter code
2076   --disable-convert-32-rgbx-8888
2077                           disable the 32bpp RGBX 8888 converter code
2078   --disable-convert-32-bgr-8888
2079                           disable the 32bpp BGR 8888 converter code
2080   --disable-convert-32-bgrx-8888
2081                           disable the 32bpp BGRX 8888 converter code
2082   --disable-convert-24-rgb-ezx
2083                           disable 24bpp 666 (666 ezx) converter code
2084   --disable-convert-32-rgb-ezx
2085                           disable 32bpp 666 (666 ezx) converter code
2086   --disable-convert-32-rgb-rot-0
2087                           disable the 32bpp RGB rotation 0 converter code
2088   --disable-convert-32-rgb-rot-180
2089                           disable the 32bpp RGB rotation 180 converter code
2090   --disable-convert-32-rgb-rot-270
2091                           disable the 32bpp RGB rotation 270 converter code
2092   --disable-convert-32-rgb-rot-90
2093                           disable the 32bpp RGB rotation 90 converter code
2094   --disable-convert-8-gry-1
2095                           disable the 8bpp GRY 1 converter code
2096   --disable-convert-8-gry-16
2097                           disable the 8bpp GRY 16 converter code
2098   --disable-convert-8-grayscale-64
2099                           disable 8bpp grayscale 64-palette converter code
2100   --enable-valgrind       enable valgrind fixes to stop false reports
2101   --disable-install-examples
2102                           disable installing examples (compiled or just
2103                           source). [default==enabled]
2104   --enable-build-examples enable building examples (this requires extra
2105                           denpendencies. if you don't have them installed yet,
2106                           don't build with this option or it will fail. build
2107                           again when you have it, overriding the previous
2108                           installation). [default==disabled]
2109   --enable-tests          enable tests [default=disabled]
2110   --enable-coverage       enable coverage profiling instrumentation
2111                           [default=disabled]
2112
2113 Optional Packages:
2114   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
2115   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
2116   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
2117                           both]
2118   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
2119   --with-sysroot=DIR Search for dependent libraries within DIR
2120                         (or the compiler's sysroot if not specified).
2121   --with-doxygen=FILE     doxygen program to use [default=doxygen]
2122   --with-x                use the X Window System
2123
2124 Some influential environment variables:
2125   CC          C compiler command
2126   CFLAGS      C compiler flags
2127   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
2128               nonstandard directory <lib dir>
2129   LIBS        libraries to pass to the linker, e.g. -l<library>
2130   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2131               you have headers in a nonstandard directory <include dir>
2132   CPP         C preprocessor
2133   OBJC        Objective C compiler command
2134   OBJCFLAGS   Objective C compiler flags
2135   CXX         C++ compiler command
2136   CXXFLAGS    C++ compiler flags
2137   CXXCPP      C++ preprocessor
2138   PKG_CONFIG  path to pkg-config utility
2139   PKG_CONFIG_PATH
2140               directories to add to pkg-config's search path
2141   PKG_CONFIG_LIBDIR
2142               path overriding pkg-config's built-in search path
2143   EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
2144   EVIL_LIBS   linker flags for EVIL, overriding pkg-config
2145   EXOTIC_CFLAGS
2146               C compiler flags for EXOTIC, overriding pkg-config
2147   EXOTIC_LIBS linker flags for EXOTIC, overriding pkg-config
2148   EINA_CFLAGS C compiler flags for EINA, overriding pkg-config
2149   EINA_LIBS   linker flags for EINA, overriding pkg-config
2150   FREETYPE_CFLAGS
2151               C compiler flags for FREETYPE, overriding pkg-config
2152   FREETYPE_LIBS
2153               linker flags for FREETYPE, overriding pkg-config
2154   FONTCONFIG_CFLAGS
2155               C compiler flags for FONTCONFIG, overriding pkg-config
2156   FONTCONFIG_LIBS
2157               linker flags for FONTCONFIG, overriding pkg-config
2158   FRIBIDI_CFLAGS
2159               C compiler flags for FRIBIDI, overriding pkg-config
2160   FRIBIDI_LIBS
2161               linker flags for FRIBIDI, overriding pkg-config
2162   HARFBUZZ_CFLAGS
2163               C compiler flags for HARFBUZZ, overriding pkg-config
2164   HARFBUZZ_LIBS
2165               linker flags for HARFBUZZ, overriding pkg-config
2166   PIXMAN_CFLAGS
2167               C compiler flags for PIXMAN, overriding pkg-config
2168   PIXMAN_LIBS linker flags for PIXMAN, overriding pkg-config
2169   SDL_CFLAGS  C compiler flags for SDL, overriding pkg-config
2170   SDL_LIBS    linker flags for SDL, overriding pkg-config
2171   GL_EET_CFLAGS
2172               C compiler flags for GL_EET, overriding pkg-config
2173   GL_EET_LIBS linker flags for GL_EET, overriding pkg-config
2174   DIRECTFB_CFLAGS
2175               C compiler flags for DIRECTFB, overriding pkg-config
2176   DIRECTFB_LIBS
2177               linker flags for DIRECTFB, overriding pkg-config
2178   XCB_CFLAGS  C compiler flags for XCB, overriding pkg-config
2179   XCB_LIBS    linker flags for XCB, overriding pkg-config
2180   XMKMF       Path to xmkmf, Makefile generator for X Window System
2181   WAYLAND_EGL_CFLAGS
2182               C compiler flags for WAYLAND_EGL, overriding pkg-config
2183   WAYLAND_EGL_LIBS
2184               linker flags for WAYLAND_EGL, overriding pkg-config
2185   XCB_GL_CFLAGS
2186               C compiler flags for XCB_GL, overriding pkg-config
2187   XCB_GL_LIBS linker flags for XCB_GL, overriding pkg-config
2188   EDB_CFLAGS  C compiler flags for EDB, overriding pkg-config
2189   EDB_LIBS    linker flags for EDB, overriding pkg-config
2190   EET_CFLAGS  C compiler flags for EET, overriding pkg-config
2191   EET_LIBS    linker flags for EET, overriding pkg-config
2192   PNG_CFLAGS  C compiler flags for PNG, overriding pkg-config
2193   PNG_LIBS    linker flags for PNG, overriding pkg-config
2194   SVG_CFLAGS  C compiler flags for SVG, overriding pkg-config
2195   SVG_LIBS    linker flags for SVG, overriding pkg-config
2196   VALGRIND_CFLAGS
2197               C compiler flags for VALGRIND, overriding pkg-config
2198   VALGRIND_LIBS
2199               linker flags for VALGRIND, overriding pkg-config
2200   ECORE_EVAS_CFLAGS
2201               C compiler flags for ECORE_EVAS, overriding pkg-config
2202   ECORE_EVAS_LIBS
2203               linker flags for ECORE_EVAS, overriding pkg-config
2204   EDJE_CFLAGS C compiler flags for EDJE, overriding pkg-config
2205   EDJE_LIBS   linker flags for EDJE, overriding pkg-config
2206   CHECK_CFLAGS
2207               C compiler flags for CHECK, overriding pkg-config
2208   CHECK_LIBS  linker flags for CHECK, overriding pkg-config
2209
2210 Use these variables to override the choices made by `configure' or to help
2211 it to find libraries and programs with nonstandard names/locations.
2212
2213 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
2214 _ACEOF
2215 ac_status=$?
2216 fi
2217
2218 if test "$ac_init_help" = "recursive"; then
2219   # If there are subdirs, report their specific --help.
2220   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2221     test -d "$ac_dir" ||
2222       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2223       continue
2224     ac_builddir=.
2225
2226 case "$ac_dir" in
2227 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2228 *)
2229   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2230   # A ".." for each directory in $ac_dir_suffix.
2231   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2232   case $ac_top_builddir_sub in
2233   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2234   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2235   esac ;;
2236 esac
2237 ac_abs_top_builddir=$ac_pwd
2238 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2239 # for backward compatibility:
2240 ac_top_builddir=$ac_top_build_prefix
2241
2242 case $srcdir in
2243   .)  # We are building in place.
2244     ac_srcdir=.
2245     ac_top_srcdir=$ac_top_builddir_sub
2246     ac_abs_top_srcdir=$ac_pwd ;;
2247   [\\/]* | ?:[\\/]* )  # Absolute name.
2248     ac_srcdir=$srcdir$ac_dir_suffix;
2249     ac_top_srcdir=$srcdir
2250     ac_abs_top_srcdir=$srcdir ;;
2251   *) # Relative name.
2252     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2253     ac_top_srcdir=$ac_top_build_prefix$srcdir
2254     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2255 esac
2256 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2257
2258     cd "$ac_dir" || { ac_status=$?; continue; }
2259     # Check for guested configure.
2260     if test -f "$ac_srcdir/configure.gnu"; then
2261       echo &&
2262       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2263     elif test -f "$ac_srcdir/configure"; then
2264       echo &&
2265       $SHELL "$ac_srcdir/configure" --help=recursive
2266     else
2267       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2268     fi || ac_status=$?
2269     cd "$ac_pwd" || { ac_status=$?; break; }
2270   done
2271 fi
2272
2273 test -n "$ac_init_help" && exit $ac_status
2274 if $ac_init_version; then
2275   cat <<\_ACEOF
2276 evas configure 1.7.8
2277 generated by GNU Autoconf 2.69
2278
2279 Copyright (C) 2012 Free Software Foundation, Inc.
2280 This configure script is free software; the Free Software Foundation
2281 gives unlimited permission to copy, distribute and modify it.
2282 _ACEOF
2283   exit
2284 fi
2285
2286 ## ------------------------ ##
2287 ## Autoconf initialization. ##
2288 ## ------------------------ ##
2289
2290 # ac_fn_c_try_compile LINENO
2291 # --------------------------
2292 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2293 ac_fn_c_try_compile ()
2294 {
2295   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2296   rm -f conftest.$ac_objext
2297   if { { ac_try="$ac_compile"
2298 case "(($ac_try" in
2299   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2300   *) ac_try_echo=$ac_try;;
2301 esac
2302 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2303 $as_echo "$ac_try_echo"; } >&5
2304   (eval "$ac_compile") 2>conftest.err
2305   ac_status=$?
2306   if test -s conftest.err; then
2307     grep -v '^ *+' conftest.err >conftest.er1
2308     cat conftest.er1 >&5
2309     mv -f conftest.er1 conftest.err
2310   fi
2311   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2312   test $ac_status = 0; } && {
2313          test -z "$ac_c_werror_flag" ||
2314          test ! -s conftest.err
2315        } && test -s conftest.$ac_objext; then :
2316   ac_retval=0
2317 else
2318   $as_echo "$as_me: failed program was:" >&5
2319 sed 's/^/| /' conftest.$ac_ext >&5
2320
2321         ac_retval=1
2322 fi
2323   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2324   as_fn_set_status $ac_retval
2325
2326 } # ac_fn_c_try_compile
2327
2328 # ac_fn_c_try_cpp LINENO
2329 # ----------------------
2330 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2331 ac_fn_c_try_cpp ()
2332 {
2333   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2334   if { { ac_try="$ac_cpp conftest.$ac_ext"
2335 case "(($ac_try" in
2336   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2337   *) ac_try_echo=$ac_try;;
2338 esac
2339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2340 $as_echo "$ac_try_echo"; } >&5
2341   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2342   ac_status=$?
2343   if test -s conftest.err; then
2344     grep -v '^ *+' conftest.err >conftest.er1
2345     cat conftest.er1 >&5
2346     mv -f conftest.er1 conftest.err
2347   fi
2348   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2349   test $ac_status = 0; } > conftest.i && {
2350          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2351          test ! -s conftest.err
2352        }; then :
2353   ac_retval=0
2354 else
2355   $as_echo "$as_me: failed program was:" >&5
2356 sed 's/^/| /' conftest.$ac_ext >&5
2357
2358     ac_retval=1
2359 fi
2360   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2361   as_fn_set_status $ac_retval
2362
2363 } # ac_fn_c_try_cpp
2364
2365 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2366 # -------------------------------------------------------
2367 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2368 # the include files in INCLUDES and setting the cache variable VAR
2369 # accordingly.
2370 ac_fn_c_check_header_mongrel ()
2371 {
2372   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2373   if eval \${$3+:} false; then :
2374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2375 $as_echo_n "checking for $2... " >&6; }
2376 if eval \${$3+:} false; then :
2377   $as_echo_n "(cached) " >&6
2378 fi
2379 eval ac_res=\$$3
2380                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2381 $as_echo "$ac_res" >&6; }
2382 else
2383   # Is the header compilable?
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2385 $as_echo_n "checking $2 usability... " >&6; }
2386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2387 /* end confdefs.h.  */
2388 $4
2389 #include <$2>
2390 _ACEOF
2391 if ac_fn_c_try_compile "$LINENO"; then :
2392   ac_header_compiler=yes
2393 else
2394   ac_header_compiler=no
2395 fi
2396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2398 $as_echo "$ac_header_compiler" >&6; }
2399
2400 # Is the header present?
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2402 $as_echo_n "checking $2 presence... " >&6; }
2403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2404 /* end confdefs.h.  */
2405 #include <$2>
2406 _ACEOF
2407 if ac_fn_c_try_cpp "$LINENO"; then :
2408   ac_header_preproc=yes
2409 else
2410   ac_header_preproc=no
2411 fi
2412 rm -f conftest.err conftest.i conftest.$ac_ext
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2414 $as_echo "$ac_header_preproc" >&6; }
2415
2416 # So?  What about this header?
2417 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2418   yes:no: )
2419     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2420 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2421     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2422 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2423     ;;
2424   no:yes:* )
2425     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2426 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2427     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2428 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2429     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2430 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2431     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2432 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2433     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2434 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2435 ( $as_echo "## -------------------------------------------------------- ##
2436 ## Report this to enlightenment-devel@lists.sourceforge.net ##
2437 ## -------------------------------------------------------- ##"
2438      ) | sed "s/^/$as_me: WARNING:     /" >&2
2439     ;;
2440 esac
2441   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2442 $as_echo_n "checking for $2... " >&6; }
2443 if eval \${$3+:} false; then :
2444   $as_echo_n "(cached) " >&6
2445 else
2446   eval "$3=\$ac_header_compiler"
2447 fi
2448 eval ac_res=\$$3
2449                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2450 $as_echo "$ac_res" >&6; }
2451 fi
2452   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2453
2454 } # ac_fn_c_check_header_mongrel
2455
2456 # ac_fn_c_try_run LINENO
2457 # ----------------------
2458 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2459 # that executables *can* be run.
2460 ac_fn_c_try_run ()
2461 {
2462   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2463   if { { ac_try="$ac_link"
2464 case "(($ac_try" in
2465   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2466   *) ac_try_echo=$ac_try;;
2467 esac
2468 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2469 $as_echo "$ac_try_echo"; } >&5
2470   (eval "$ac_link") 2>&5
2471   ac_status=$?
2472   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2473   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2474   { { case "(($ac_try" in
2475   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2476   *) ac_try_echo=$ac_try;;
2477 esac
2478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2479 $as_echo "$ac_try_echo"; } >&5
2480   (eval "$ac_try") 2>&5
2481   ac_status=$?
2482   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2483   test $ac_status = 0; }; }; then :
2484   ac_retval=0
2485 else
2486   $as_echo "$as_me: program exited with status $ac_status" >&5
2487        $as_echo "$as_me: failed program was:" >&5
2488 sed 's/^/| /' conftest.$ac_ext >&5
2489
2490        ac_retval=$ac_status
2491 fi
2492   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2493   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2494   as_fn_set_status $ac_retval
2495
2496 } # ac_fn_c_try_run
2497
2498 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2499 # -------------------------------------------------------
2500 # Tests whether HEADER exists and can be compiled using the include files in
2501 # INCLUDES, setting the cache variable VAR accordingly.
2502 ac_fn_c_check_header_compile ()
2503 {
2504   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2506 $as_echo_n "checking for $2... " >&6; }
2507 if eval \${$3+:} false; then :
2508   $as_echo_n "(cached) " >&6
2509 else
2510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2511 /* end confdefs.h.  */
2512 $4
2513 #include <$2>
2514 _ACEOF
2515 if ac_fn_c_try_compile "$LINENO"; then :
2516   eval "$3=yes"
2517 else
2518   eval "$3=no"
2519 fi
2520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2521 fi
2522 eval ac_res=\$$3
2523                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2524 $as_echo "$ac_res" >&6; }
2525   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2526
2527 } # ac_fn_c_check_header_compile
2528
2529 # ac_fn_c_try_link LINENO
2530 # -----------------------
2531 # Try to link conftest.$ac_ext, and return whether this succeeded.
2532 ac_fn_c_try_link ()
2533 {
2534   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2535   rm -f conftest.$ac_objext conftest$ac_exeext
2536   if { { ac_try="$ac_link"
2537 case "(($ac_try" in
2538   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2539   *) ac_try_echo=$ac_try;;
2540 esac
2541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2542 $as_echo "$ac_try_echo"; } >&5
2543   (eval "$ac_link") 2>conftest.err
2544   ac_status=$?
2545   if test -s conftest.err; then
2546     grep -v '^ *+' conftest.err >conftest.er1
2547     cat conftest.er1 >&5
2548     mv -f conftest.er1 conftest.err
2549   fi
2550   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2551   test $ac_status = 0; } && {
2552          test -z "$ac_c_werror_flag" ||
2553          test ! -s conftest.err
2554        } && test -s conftest$ac_exeext && {
2555          test "$cross_compiling" = yes ||
2556          test -x conftest$ac_exeext
2557        }; then :
2558   ac_retval=0
2559 else
2560   $as_echo "$as_me: failed program was:" >&5
2561 sed 's/^/| /' conftest.$ac_ext >&5
2562
2563         ac_retval=1
2564 fi
2565   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2566   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2567   # interfere with the next link command; also delete a directory that is
2568   # left behind by Apple's compiler.  We do this before executing the actions.
2569   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2570   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2571   as_fn_set_status $ac_retval
2572
2573 } # ac_fn_c_try_link
2574
2575 # ac_fn_c_check_func LINENO FUNC VAR
2576 # ----------------------------------
2577 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2578 ac_fn_c_check_func ()
2579 {
2580   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2582 $as_echo_n "checking for $2... " >&6; }
2583 if eval \${$3+:} false; then :
2584   $as_echo_n "(cached) " >&6
2585 else
2586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2587 /* end confdefs.h.  */
2588 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2589    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2590 #define $2 innocuous_$2
2591
2592 /* System header to define __stub macros and hopefully few prototypes,
2593     which can conflict with char $2 (); below.
2594     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2595     <limits.h> exists even on freestanding compilers.  */
2596
2597 #ifdef __STDC__
2598 # include <limits.h>
2599 #else
2600 # include <assert.h>
2601 #endif
2602
2603 #undef $2
2604
2605 /* Override any GCC internal prototype to avoid an error.
2606    Use char because int might match the return type of a GCC
2607    builtin and then its argument prototype would still apply.  */
2608 #ifdef __cplusplus
2609 extern "C"
2610 #endif
2611 char $2 ();
2612 /* The GNU C library defines this for functions which it implements
2613     to always fail with ENOSYS.  Some functions are actually named
2614     something starting with __ and the normal name is an alias.  */
2615 #if defined __stub_$2 || defined __stub___$2
2616 choke me
2617 #endif
2618
2619 int
2620 main ()
2621 {
2622 return $2 ();
2623   ;
2624   return 0;
2625 }
2626 _ACEOF
2627 if ac_fn_c_try_link "$LINENO"; then :
2628   eval "$3=yes"
2629 else
2630   eval "$3=no"
2631 fi
2632 rm -f core conftest.err conftest.$ac_objext \
2633     conftest$ac_exeext conftest.$ac_ext
2634 fi
2635 eval ac_res=\$$3
2636                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2637 $as_echo "$ac_res" >&6; }
2638   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2639
2640 } # ac_fn_c_check_func
2641
2642 # ac_fn_objc_try_compile LINENO
2643 # -----------------------------
2644 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2645 ac_fn_objc_try_compile ()
2646 {
2647   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2648   rm -f conftest.$ac_objext
2649   if { { ac_try="$ac_compile"
2650 case "(($ac_try" in
2651   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2652   *) ac_try_echo=$ac_try;;
2653 esac
2654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2655 $as_echo "$ac_try_echo"; } >&5
2656   (eval "$ac_compile") 2>conftest.err
2657   ac_status=$?
2658   if test -s conftest.err; then
2659     grep -v '^ *+' conftest.err >conftest.er1
2660     cat conftest.er1 >&5
2661     mv -f conftest.er1 conftest.err
2662   fi
2663   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2664   test $ac_status = 0; } && {
2665          test -z "$ac_objc_werror_flag" ||
2666          test ! -s conftest.err
2667        } && test -s conftest.$ac_objext; then :
2668   ac_retval=0
2669 else
2670   $as_echo "$as_me: failed program was:" >&5
2671 sed 's/^/| /' conftest.$ac_ext >&5
2672
2673         ac_retval=1
2674 fi
2675   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2676   as_fn_set_status $ac_retval
2677
2678 } # ac_fn_objc_try_compile
2679
2680 # ac_fn_objc_try_link LINENO
2681 # --------------------------
2682 # Try to link conftest.$ac_ext, and return whether this succeeded.
2683 ac_fn_objc_try_link ()
2684 {
2685   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2686   rm -f conftest.$ac_objext conftest$ac_exeext
2687   if { { ac_try="$ac_link"
2688 case "(($ac_try" in
2689   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2690   *) ac_try_echo=$ac_try;;
2691 esac
2692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2693 $as_echo "$ac_try_echo"; } >&5
2694   (eval "$ac_link") 2>conftest.err
2695   ac_status=$?
2696   if test -s conftest.err; then
2697     grep -v '^ *+' conftest.err >conftest.er1
2698     cat conftest.er1 >&5
2699     mv -f conftest.er1 conftest.err
2700   fi
2701   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2702   test $ac_status = 0; } && {
2703          test -z "$ac_objc_werror_flag" ||
2704          test ! -s conftest.err
2705        } && test -s conftest$ac_exeext && {
2706          test "$cross_compiling" = yes ||
2707          test -x conftest$ac_exeext
2708        }; then :
2709   ac_retval=0
2710 else
2711   $as_echo "$as_me: failed program was:" >&5
2712 sed 's/^/| /' conftest.$ac_ext >&5
2713
2714         ac_retval=1
2715 fi
2716   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2717   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2718   # interfere with the next link command; also delete a directory that is
2719   # left behind by Apple's compiler.  We do this before executing the actions.
2720   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2721   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2722   as_fn_set_status $ac_retval
2723
2724 } # ac_fn_objc_try_link
2725
2726 # ac_fn_cxx_try_compile LINENO
2727 # ----------------------------
2728 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2729 ac_fn_cxx_try_compile ()
2730 {
2731   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2732   rm -f conftest.$ac_objext
2733   if { { ac_try="$ac_compile"
2734 case "(($ac_try" in
2735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2736   *) ac_try_echo=$ac_try;;
2737 esac
2738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2739 $as_echo "$ac_try_echo"; } >&5
2740   (eval "$ac_compile") 2>conftest.err
2741   ac_status=$?
2742   if test -s conftest.err; then
2743     grep -v '^ *+' conftest.err >conftest.er1
2744     cat conftest.er1 >&5
2745     mv -f conftest.er1 conftest.err
2746   fi
2747   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2748   test $ac_status = 0; } && {
2749          test -z "$ac_cxx_werror_flag" ||
2750          test ! -s conftest.err
2751        } && test -s conftest.$ac_objext; then :
2752   ac_retval=0
2753 else
2754   $as_echo "$as_me: failed program was:" >&5
2755 sed 's/^/| /' conftest.$ac_ext >&5
2756
2757         ac_retval=1
2758 fi
2759   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2760   as_fn_set_status $ac_retval
2761
2762 } # ac_fn_cxx_try_compile
2763
2764 # ac_fn_cxx_try_cpp LINENO
2765 # ------------------------
2766 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2767 ac_fn_cxx_try_cpp ()
2768 {
2769   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2770   if { { ac_try="$ac_cpp conftest.$ac_ext"
2771 case "(($ac_try" in
2772   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2773   *) ac_try_echo=$ac_try;;
2774 esac
2775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2776 $as_echo "$ac_try_echo"; } >&5
2777   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2778   ac_status=$?
2779   if test -s conftest.err; then
2780     grep -v '^ *+' conftest.err >conftest.er1
2781     cat conftest.er1 >&5
2782     mv -f conftest.er1 conftest.err
2783   fi
2784   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2785   test $ac_status = 0; } > conftest.i && {
2786          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2787          test ! -s conftest.err
2788        }; then :
2789   ac_retval=0
2790 else
2791   $as_echo "$as_me: failed program was:" >&5
2792 sed 's/^/| /' conftest.$ac_ext >&5
2793
2794     ac_retval=1
2795 fi
2796   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2797   as_fn_set_status $ac_retval
2798
2799 } # ac_fn_cxx_try_cpp
2800
2801 # ac_fn_cxx_try_link LINENO
2802 # -------------------------
2803 # Try to link conftest.$ac_ext, and return whether this succeeded.
2804 ac_fn_cxx_try_link ()
2805 {
2806   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2807   rm -f conftest.$ac_objext conftest$ac_exeext
2808   if { { ac_try="$ac_link"
2809 case "(($ac_try" in
2810   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2811   *) ac_try_echo=$ac_try;;
2812 esac
2813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2814 $as_echo "$ac_try_echo"; } >&5
2815   (eval "$ac_link") 2>conftest.err
2816   ac_status=$?
2817   if test -s conftest.err; then
2818     grep -v '^ *+' conftest.err >conftest.er1
2819     cat conftest.er1 >&5
2820     mv -f conftest.er1 conftest.err
2821   fi
2822   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2823   test $ac_status = 0; } && {
2824          test -z "$ac_cxx_werror_flag" ||
2825          test ! -s conftest.err
2826        } && test -s conftest$ac_exeext && {
2827          test "$cross_compiling" = yes ||
2828          test -x conftest$ac_exeext
2829        }; then :
2830   ac_retval=0
2831 else
2832   $as_echo "$as_me: failed program was:" >&5
2833 sed 's/^/| /' conftest.$ac_ext >&5
2834
2835         ac_retval=1
2836 fi
2837   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2838   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2839   # interfere with the next link command; also delete a directory that is
2840   # left behind by Apple's compiler.  We do this before executing the actions.
2841   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2842   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2843   as_fn_set_status $ac_retval
2844
2845 } # ac_fn_cxx_try_link
2846
2847 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2848 # --------------------------------------------
2849 # Tries to find the compile-time value of EXPR in a program that includes
2850 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2851 # computed
2852 ac_fn_c_compute_int ()
2853 {
2854   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2855   if test "$cross_compiling" = yes; then
2856     # Depending upon the size, compute the lo and hi bounds.
2857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2858 /* end confdefs.h.  */
2859 $4
2860 int
2861 main ()
2862 {
2863 static int test_array [1 - 2 * !(($2) >= 0)];
2864 test_array [0] = 0;
2865 return test_array [0];
2866
2867   ;
2868   return 0;
2869 }
2870 _ACEOF
2871 if ac_fn_c_try_compile "$LINENO"; then :
2872   ac_lo=0 ac_mid=0
2873   while :; do
2874     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2875 /* end confdefs.h.  */
2876 $4
2877 int
2878 main ()
2879 {
2880 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2881 test_array [0] = 0;
2882 return test_array [0];
2883
2884   ;
2885   return 0;
2886 }
2887 _ACEOF
2888 if ac_fn_c_try_compile "$LINENO"; then :
2889   ac_hi=$ac_mid; break
2890 else
2891   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2892                         if test $ac_lo -le $ac_mid; then
2893                           ac_lo= ac_hi=
2894                           break
2895                         fi
2896                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2897 fi
2898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2899   done
2900 else
2901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2902 /* end confdefs.h.  */
2903 $4
2904 int
2905 main ()
2906 {
2907 static int test_array [1 - 2 * !(($2) < 0)];
2908 test_array [0] = 0;
2909 return test_array [0];
2910
2911   ;
2912   return 0;
2913 }
2914 _ACEOF
2915 if ac_fn_c_try_compile "$LINENO"; then :
2916   ac_hi=-1 ac_mid=-1
2917   while :; do
2918     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2919 /* end confdefs.h.  */
2920 $4
2921 int
2922 main ()
2923 {
2924 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2925 test_array [0] = 0;
2926 return test_array [0];
2927
2928   ;
2929   return 0;
2930 }
2931 _ACEOF
2932 if ac_fn_c_try_compile "$LINENO"; then :
2933   ac_lo=$ac_mid; break
2934 else
2935   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2936                         if test $ac_mid -le $ac_hi; then
2937                           ac_lo= ac_hi=
2938                           break
2939                         fi
2940                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2941 fi
2942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2943   done
2944 else
2945   ac_lo= ac_hi=
2946 fi
2947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2948 fi
2949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2950 # Binary search between lo and hi bounds.
2951 while test "x$ac_lo" != "x$ac_hi"; do
2952   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2954 /* end confdefs.h.  */
2955 $4
2956 int
2957 main ()
2958 {
2959 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2960 test_array [0] = 0;
2961 return test_array [0];
2962
2963   ;
2964   return 0;
2965 }
2966 _ACEOF
2967 if ac_fn_c_try_compile "$LINENO"; then :
2968   ac_hi=$ac_mid
2969 else
2970   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2971 fi
2972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2973 done
2974 case $ac_lo in #((
2975 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2976 '') ac_retval=1 ;;
2977 esac
2978   else
2979     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2980 /* end confdefs.h.  */
2981 $4
2982 static long int longval () { return $2; }
2983 static unsigned long int ulongval () { return $2; }
2984 #include <stdio.h>
2985 #include <stdlib.h>
2986 int
2987 main ()
2988 {
2989
2990   FILE *f = fopen ("conftest.val", "w");
2991   if (! f)
2992     return 1;
2993   if (($2) < 0)
2994     {
2995       long int i = longval ();
2996       if (i != ($2))
2997         return 1;
2998       fprintf (f, "%ld", i);
2999     }
3000   else
3001     {
3002       unsigned long int i = ulongval ();
3003       if (i != ($2))
3004         return 1;
3005       fprintf (f, "%lu", i);
3006     }
3007   /* Do not output a trailing newline, as this causes \r\n confusion
3008      on some platforms.  */
3009   return ferror (f) || fclose (f) != 0;
3010
3011   ;
3012   return 0;
3013 }
3014 _ACEOF
3015 if ac_fn_c_try_run "$LINENO"; then :
3016   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3017 else
3018   ac_retval=1
3019 fi
3020 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3021   conftest.$ac_objext conftest.beam conftest.$ac_ext
3022 rm -f conftest.val
3023
3024   fi
3025   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3026   as_fn_set_status $ac_retval
3027
3028 } # ac_fn_c_compute_int
3029
3030 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3031 # -------------------------------------------
3032 # Tests whether TYPE exists after having included INCLUDES, setting cache
3033 # variable VAR accordingly.
3034 ac_fn_c_check_type ()
3035 {
3036   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3038 $as_echo_n "checking for $2... " >&6; }
3039 if eval \${$3+:} false; then :
3040   $as_echo_n "(cached) " >&6
3041 else
3042   eval "$3=no"
3043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3044 /* end confdefs.h.  */
3045 $4
3046 int
3047 main ()
3048 {
3049 if (sizeof ($2))
3050          return 0;
3051   ;
3052   return 0;
3053 }
3054 _ACEOF
3055 if ac_fn_c_try_compile "$LINENO"; then :
3056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3057 /* end confdefs.h.  */
3058 $4
3059 int
3060 main ()
3061 {
3062 if (sizeof (($2)))
3063             return 0;
3064   ;
3065   return 0;
3066 }
3067 _ACEOF
3068 if ac_fn_c_try_compile "$LINENO"; then :
3069
3070 else
3071   eval "$3=yes"
3072 fi
3073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3074 fi
3075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3076 fi
3077 eval ac_res=\$$3
3078                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3079 $as_echo "$ac_res" >&6; }
3080   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3081
3082 } # ac_fn_c_check_type
3083
3084 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
3085 # ---------------------------------------------
3086 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
3087 # accordingly.
3088 ac_fn_c_check_decl ()
3089 {
3090   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3091   as_decl_name=`echo $2|sed 's/ *(.*//'`
3092   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
3093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
3094 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
3095 if eval \${$3+:} false; then :
3096   $as_echo_n "(cached) " >&6
3097 else
3098   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3099 /* end confdefs.h.  */
3100 $4
3101 int
3102 main ()
3103 {
3104 #ifndef $as_decl_name
3105 #ifdef __cplusplus
3106   (void) $as_decl_use;
3107 #else
3108   (void) $as_decl_name;
3109 #endif
3110 #endif
3111
3112   ;
3113   return 0;
3114 }
3115 _ACEOF
3116 if ac_fn_c_try_compile "$LINENO"; then :
3117   eval "$3=yes"
3118 else
3119   eval "$3=no"
3120 fi
3121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3122 fi
3123 eval ac_res=\$$3
3124                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3125 $as_echo "$ac_res" >&6; }
3126   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3127
3128 } # ac_fn_c_check_decl
3129 cat >config.log <<_ACEOF
3130 This file contains any messages produced by compilers while
3131 running configure, to aid debugging if configure makes a mistake.
3132
3133 It was created by evas $as_me 1.7.8, which was
3134 generated by GNU Autoconf 2.69.  Invocation command line was
3135
3136   $ $0 $@
3137
3138 _ACEOF
3139 exec 5>>config.log
3140 {
3141 cat <<_ASUNAME
3142 ## --------- ##
3143 ## Platform. ##
3144 ## --------- ##
3145
3146 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3147 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3148 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3149 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3150 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3151
3152 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3153 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
3154
3155 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
3156 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
3157 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3158 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
3159 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
3160 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
3161 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
3162
3163 _ASUNAME
3164
3165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3166 for as_dir in $PATH
3167 do
3168   IFS=$as_save_IFS
3169   test -z "$as_dir" && as_dir=.
3170     $as_echo "PATH: $as_dir"
3171   done
3172 IFS=$as_save_IFS
3173
3174 } >&5
3175
3176 cat >&5 <<_ACEOF
3177
3178
3179 ## ----------- ##
3180 ## Core tests. ##
3181 ## ----------- ##
3182
3183 _ACEOF
3184
3185
3186 # Keep a trace of the command line.
3187 # Strip out --no-create and --no-recursion so they do not pile up.
3188 # Strip out --silent because we don't want to record it for future runs.
3189 # Also quote any args containing shell meta-characters.
3190 # Make two passes to allow for proper duplicate-argument suppression.
3191 ac_configure_args=
3192 ac_configure_args0=
3193 ac_configure_args1=
3194 ac_must_keep_next=false
3195 for ac_pass in 1 2
3196 do
3197   for ac_arg
3198   do
3199     case $ac_arg in
3200     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3201     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3202     | -silent | --silent | --silen | --sile | --sil)
3203       continue ;;
3204     *\'*)
3205       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3206     esac
3207     case $ac_pass in
3208     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3209     2)
3210       as_fn_append ac_configure_args1 " '$ac_arg'"
3211       if test $ac_must_keep_next = true; then
3212         ac_must_keep_next=false # Got value, back to normal.
3213       else
3214         case $ac_arg in
3215           *=* | --config-cache | -C | -disable-* | --disable-* \
3216           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3217           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3218           | -with-* | --with-* | -without-* | --without-* | --x)
3219             case "$ac_configure_args0 " in
3220               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3221             esac
3222             ;;
3223           -* ) ac_must_keep_next=true ;;
3224         esac
3225       fi
3226       as_fn_append ac_configure_args " '$ac_arg'"
3227       ;;
3228     esac
3229   done
3230 done
3231 { ac_configure_args0=; unset ac_configure_args0;}
3232 { ac_configure_args1=; unset ac_configure_args1;}
3233
3234 # When interrupted or exit'd, cleanup temporary files, and complete
3235 # config.log.  We remove comments because anyway the quotes in there
3236 # would cause problems or look ugly.
3237 # WARNING: Use '\'' to represent an apostrophe within the trap.
3238 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3239 trap 'exit_status=$?
3240   # Save into config.log some information that might help in debugging.
3241   {
3242     echo
3243
3244     $as_echo "## ---------------- ##
3245 ## Cache variables. ##
3246 ## ---------------- ##"
3247     echo
3248     # The following way of writing the cache mishandles newlines in values,
3249 (
3250   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3251     eval ac_val=\$$ac_var
3252     case $ac_val in #(
3253     *${as_nl}*)
3254       case $ac_var in #(
3255       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3256 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3257       esac
3258       case $ac_var in #(
3259       _ | IFS | as_nl) ;; #(
3260       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3261       *) { eval $ac_var=; unset $ac_var;} ;;
3262       esac ;;
3263     esac
3264   done
3265   (set) 2>&1 |
3266     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3267     *${as_nl}ac_space=\ *)
3268       sed -n \
3269         "s/'\''/'\''\\\\'\'''\''/g;
3270           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3271       ;; #(
3272     *)
3273       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3274       ;;
3275     esac |
3276     sort
3277 )
3278     echo
3279
3280     $as_echo "## ----------------- ##
3281 ## Output variables. ##
3282 ## ----------------- ##"
3283     echo
3284     for ac_var in $ac_subst_vars
3285     do
3286       eval ac_val=\$$ac_var
3287       case $ac_val in
3288       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3289       esac
3290       $as_echo "$ac_var='\''$ac_val'\''"
3291     done | sort
3292     echo
3293
3294     if test -n "$ac_subst_files"; then
3295       $as_echo "## ------------------- ##
3296 ## File substitutions. ##
3297 ## ------------------- ##"
3298       echo
3299       for ac_var in $ac_subst_files
3300       do
3301         eval ac_val=\$$ac_var
3302         case $ac_val in
3303         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3304         esac
3305         $as_echo "$ac_var='\''$ac_val'\''"
3306       done | sort
3307       echo
3308     fi
3309
3310     if test -s confdefs.h; then
3311       $as_echo "## ----------- ##
3312 ## confdefs.h. ##
3313 ## ----------- ##"
3314       echo
3315       cat confdefs.h
3316       echo
3317     fi
3318     test "$ac_signal" != 0 &&
3319       $as_echo "$as_me: caught signal $ac_signal"
3320     $as_echo "$as_me: exit $exit_status"
3321   } >&5
3322   rm -f core *.core core.conftest.* &&
3323     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3324     exit $exit_status
3325 ' 0
3326 for ac_signal in 1 2 13 15; do
3327   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3328 done
3329 ac_signal=0
3330
3331 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3332 rm -f -r conftest* confdefs.h
3333
3334 $as_echo "/* confdefs.h */" > confdefs.h
3335
3336 # Predefined preprocessor variables.
3337
3338 cat >>confdefs.h <<_ACEOF
3339 #define PACKAGE_NAME "$PACKAGE_NAME"
3340 _ACEOF
3341
3342 cat >>confdefs.h <<_ACEOF
3343 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3344 _ACEOF
3345
3346 cat >>confdefs.h <<_ACEOF
3347 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3348 _ACEOF
3349
3350 cat >>confdefs.h <<_ACEOF
3351 #define PACKAGE_STRING "$PACKAGE_STRING"
3352 _ACEOF
3353
3354 cat >>confdefs.h <<_ACEOF
3355 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3356 _ACEOF
3357
3358 cat >>confdefs.h <<_ACEOF
3359 #define PACKAGE_URL "$PACKAGE_URL"
3360 _ACEOF
3361
3362
3363 # Let the site file select an alternate cache file if it wants to.
3364 # Prefer an explicitly selected file to automatically selected ones.
3365 ac_site_file1=NONE
3366 ac_site_file2=NONE
3367 if test -n "$CONFIG_SITE"; then
3368   # We do not want a PATH search for config.site.
3369   case $CONFIG_SITE in #((
3370     -*)  ac_site_file1=./$CONFIG_SITE;;
3371     */*) ac_site_file1=$CONFIG_SITE;;
3372     *)   ac_site_file1=./$CONFIG_SITE;;
3373   esac
3374 elif test "x$prefix" != xNONE; then
3375   ac_site_file1=$prefix/share/config.site
3376   ac_site_file2=$prefix/etc/config.site
3377 else
3378   ac_site_file1=$ac_default_prefix/share/config.site
3379   ac_site_file2=$ac_default_prefix/etc/config.site
3380 fi
3381 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3382 do
3383   test "x$ac_site_file" = xNONE && continue
3384   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3385     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3386 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3387     sed 's/^/| /' "$ac_site_file" >&5
3388     . "$ac_site_file" \
3389       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3390 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3391 as_fn_error $? "failed to load site script $ac_site_file
3392 See \`config.log' for more details" "$LINENO" 5; }
3393   fi
3394 done
3395
3396 if test -r "$cache_file"; then
3397   # Some versions of bash will fail to source /dev/null (special files
3398   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
3399   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3400     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3401 $as_echo "$as_me: loading cache $cache_file" >&6;}
3402     case $cache_file in
3403       [\\/]* | ?:[\\/]* ) . "$cache_file";;
3404       *)                      . "./$cache_file";;
3405     esac
3406   fi
3407 else
3408   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3409 $as_echo "$as_me: creating cache $cache_file" >&6;}
3410   >$cache_file
3411 fi
3412
3413 # Check that the precious variables saved in the cache have kept the same
3414 # value.
3415 ac_cache_corrupted=false
3416 for ac_var in $ac_precious_vars; do
3417   eval ac_old_set=\$ac_cv_env_${ac_var}_set
3418   eval ac_new_set=\$ac_env_${ac_var}_set
3419   eval ac_old_val=\$ac_cv_env_${ac_var}_value
3420   eval ac_new_val=\$ac_env_${ac_var}_value
3421   case $ac_old_set,$ac_new_set in
3422     set,)
3423       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3424 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3425       ac_cache_corrupted=: ;;
3426     ,set)
3427       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3428 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3429       ac_cache_corrupted=: ;;
3430     ,);;
3431     *)
3432       if test "x$ac_old_val" != "x$ac_new_val"; then
3433         # differences in whitespace do not lead to failure.
3434         ac_old_val_w=`echo x $ac_old_val`
3435         ac_new_val_w=`echo x $ac_new_val`
3436         if test "$ac_old_val_w" != "$ac_new_val_w"; then
3437           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3438 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3439           ac_cache_corrupted=:
3440         else
3441           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3442 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3443           eval $ac_var=\$ac_old_val
3444         fi
3445         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
3446 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
3447         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
3448 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
3449       fi;;
3450   esac
3451   # Pass precious variables to config.status.
3452   if test "$ac_new_set" = set; then
3453     case $ac_new_val in
3454     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3455     *) ac_arg=$ac_var=$ac_new_val ;;
3456     esac
3457     case " $ac_configure_args " in
3458       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3459       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3460     esac
3461   fi
3462 done
3463 if $ac_cache_corrupted; then
3464   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3466   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3467 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3468   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3469 fi
3470 ## -------------------- ##
3471 ## Main body of script. ##
3472 ## -------------------- ##
3473
3474 ac_ext=c
3475 ac_cpp='$CPP $CPPFLAGS'
3476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3479
3480
3481
3482
3483
3484
3485 ac_config_headers="$ac_config_headers config.h"
3486
3487
3488
3489
3490 am__api_version='1.13'
3491
3492 ac_aux_dir=
3493 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3494   if test -f "$ac_dir/install-sh"; then
3495     ac_aux_dir=$ac_dir
3496     ac_install_sh="$ac_aux_dir/install-sh -c"
3497     break
3498   elif test -f "$ac_dir/install.sh"; then
3499     ac_aux_dir=$ac_dir
3500     ac_install_sh="$ac_aux_dir/install.sh -c"
3501     break
3502   elif test -f "$ac_dir/shtool"; then
3503     ac_aux_dir=$ac_dir
3504     ac_install_sh="$ac_aux_dir/shtool install -c"
3505     break
3506   fi
3507 done
3508 if test -z "$ac_aux_dir"; then
3509   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3510 fi
3511
3512 # These three variables are undocumented and unsupported,
3513 # and are intended to be withdrawn in a future Autoconf release.
3514 # They can cause serious problems if a builder's source tree is in a directory
3515 # whose full name contains unusual characters.
3516 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3517 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3518 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3519
3520
3521 # Find a good install program.  We prefer a C program (faster),
3522 # so one script is as good as another.  But avoid the broken or
3523 # incompatible versions:
3524 # SysV /etc/install, /usr/sbin/install
3525 # SunOS /usr/etc/install
3526 # IRIX /sbin/install
3527 # AIX /bin/install
3528 # AmigaOS /C/install, which installs bootblocks on floppy discs
3529 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3530 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3531 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3532 # OS/2's system install, which has a completely different semantic
3533 # ./install, which can be erroneously created by make from ./install.sh.
3534 # Reject install programs that cannot install multiple files.
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3536 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3537 if test -z "$INSTALL"; then
3538 if ${ac_cv_path_install+:} false; then :
3539   $as_echo_n "(cached) " >&6
3540 else
3541   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3542 for as_dir in $PATH
3543 do
3544   IFS=$as_save_IFS
3545   test -z "$as_dir" && as_dir=.
3546     # Account for people who put trailing slashes in PATH elements.
3547 case $as_dir/ in #((
3548   ./ | .// | /[cC]/* | \
3549   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3550   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3551   /usr/ucb/* ) ;;
3552   *)
3553     # OSF1 and SCO ODT 3.0 have their own names for install.
3554     # Don't use installbsd from OSF since it installs stuff as root
3555     # by default.
3556     for ac_prog in ginstall scoinst install; do
3557       for ac_exec_ext in '' $ac_executable_extensions; do
3558         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3559           if test $ac_prog = install &&
3560             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3561             # AIX install.  It has an incompatible calling convention.
3562             :
3563           elif test $ac_prog = install &&
3564             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3565             # program-specific install script used by HP pwplus--don't use.
3566             :
3567           else
3568             rm -rf conftest.one conftest.two conftest.dir
3569             echo one > conftest.one
3570             echo two > conftest.two
3571             mkdir conftest.dir
3572             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3573               test -s conftest.one && test -s conftest.two &&
3574               test -s conftest.dir/conftest.one &&
3575               test -s conftest.dir/conftest.two
3576             then
3577               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3578               break 3
3579             fi
3580           fi
3581         fi
3582       done
3583     done
3584     ;;
3585 esac
3586
3587   done
3588 IFS=$as_save_IFS
3589
3590 rm -rf conftest.one conftest.two conftest.dir
3591
3592 fi
3593   if test "${ac_cv_path_install+set}" = set; then
3594     INSTALL=$ac_cv_path_install
3595   else
3596     # As a last resort, use the slow shell script.  Don't cache a
3597     # value for INSTALL within a source directory, because that will
3598     # break other packages using the cache if that directory is
3599     # removed, or if the value is a relative name.
3600     INSTALL=$ac_install_sh
3601   fi
3602 fi
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3604 $as_echo "$INSTALL" >&6; }
3605
3606 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3607 # It thinks the first close brace ends the variable substitution.
3608 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3609
3610 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3611
3612 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3613
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3615 $as_echo_n "checking whether build environment is sane... " >&6; }
3616 # Reject unsafe characters in $srcdir or the absolute working directory
3617 # name.  Accept space and tab only in the latter.
3618 am_lf='
3619 '
3620 case `pwd` in
3621   *[\\\"\#\$\&\'\`$am_lf]*)
3622     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3623 esac
3624 case $srcdir in
3625   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3626     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3627 esac
3628
3629 # Do 'set' in a subshell so we don't clobber the current shell's
3630 # arguments.  Must try -L first in case configure is actually a
3631 # symlink; some systems play weird games with the mod time of symlinks
3632 # (eg FreeBSD returns the mod time of the symlink's containing
3633 # directory).
3634 if (
3635    am_has_slept=no
3636    for am_try in 1 2; do
3637      echo "timestamp, slept: $am_has_slept" > conftest.file
3638      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3639      if test "$*" = "X"; then
3640         # -L didn't work.
3641         set X `ls -t "$srcdir/configure" conftest.file`
3642      fi
3643      if test "$*" != "X $srcdir/configure conftest.file" \
3644         && test "$*" != "X conftest.file $srcdir/configure"; then
3645
3646         # If neither matched, then we have a broken ls.  This can happen
3647         # if, for instance, CONFIG_SHELL is bash and it inherits a
3648         # broken ls alias from the environment.  This has actually
3649         # happened.  Such a system could not be considered "sane".
3650         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3651   alias in your environment" "$LINENO" 5
3652      fi
3653      if test "$2" = conftest.file || test $am_try -eq 2; then
3654        break
3655      fi
3656      # Just in case.
3657      sleep 1
3658      am_has_slept=yes
3659    done
3660    test "$2" = conftest.file
3661    )
3662 then
3663    # Ok.
3664    :
3665 else
3666    as_fn_error $? "newly created file is older than distributed files!
3667 Check your system clock" "$LINENO" 5
3668 fi
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3670 $as_echo "yes" >&6; }
3671 # If we didn't sleep, we still need to ensure time stamps of config.status and
3672 # generated files are strictly newer.
3673 am_sleep_pid=
3674 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3675   ( sleep 1 ) &
3676   am_sleep_pid=$!
3677 fi
3678
3679 rm -f conftest.file
3680
3681 test "$program_prefix" != NONE &&
3682   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3683 # Use a double $ so make ignores it.
3684 test "$program_suffix" != NONE &&
3685   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3686 # Double any \ or $.
3687 # By default was `s,x,x', remove it if useless.
3688 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3689 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3690
3691 # expand $ac_aux_dir to an absolute path
3692 am_aux_dir=`cd $ac_aux_dir && pwd`
3693
3694 if test x"${MISSING+set}" != xset; then
3695   case $am_aux_dir in
3696   *\ * | *\     *)
3697     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3698   *)
3699     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3700   esac
3701 fi
3702 # Use eval to expand $SHELL
3703 if eval "$MISSING --is-lightweight"; then
3704   am_missing_run="$MISSING "
3705 else
3706   am_missing_run=
3707   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3708 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3709 fi
3710
3711 if test x"${install_sh}" != xset; then
3712   case $am_aux_dir in
3713   *\ * | *\     *)
3714     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3715   *)
3716     install_sh="\${SHELL} $am_aux_dir/install-sh"
3717   esac
3718 fi
3719
3720 # Installed binaries are usually stripped using 'strip' when the user
3721 # run "make install-strip".  However 'strip' might not be the right
3722 # tool to use in cross-compilation environments, therefore Automake
3723 # will honor the 'STRIP' environment variable to overrule this program.
3724 if test "$cross_compiling" != no; then
3725   if test -n "$ac_tool_prefix"; then
3726   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3727 set dummy ${ac_tool_prefix}strip; ac_word=$2
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3729 $as_echo_n "checking for $ac_word... " >&6; }
3730 if ${ac_cv_prog_STRIP+:} false; then :
3731   $as_echo_n "(cached) " >&6
3732 else
3733   if test -n "$STRIP"; then
3734   ac_cv_prog_STRIP="$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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3743     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3744     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3745     break 2
3746   fi
3747 done
3748   done
3749 IFS=$as_save_IFS
3750
3751 fi
3752 fi
3753 STRIP=$ac_cv_prog_STRIP
3754 if test -n "$STRIP"; then
3755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3756 $as_echo "$STRIP" >&6; }
3757 else
3758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3759 $as_echo "no" >&6; }
3760 fi
3761
3762
3763 fi
3764 if test -z "$ac_cv_prog_STRIP"; then
3765   ac_ct_STRIP=$STRIP
3766   # Extract the first word of "strip", so it can be a program name with args.
3767 set dummy strip; ac_word=$2
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3769 $as_echo_n "checking for $ac_word... " >&6; }
3770 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3771   $as_echo_n "(cached) " >&6
3772 else
3773   if test -n "$ac_ct_STRIP"; then
3774   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3775 else
3776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3777 for as_dir in $PATH
3778 do
3779   IFS=$as_save_IFS
3780   test -z "$as_dir" && as_dir=.
3781     for ac_exec_ext in '' $ac_executable_extensions; do
3782   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3783     ac_cv_prog_ac_ct_STRIP="strip"
3784     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3785     break 2
3786   fi
3787 done
3788   done
3789 IFS=$as_save_IFS
3790
3791 fi
3792 fi
3793 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3794 if test -n "$ac_ct_STRIP"; then
3795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3796 $as_echo "$ac_ct_STRIP" >&6; }
3797 else
3798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3799 $as_echo "no" >&6; }
3800 fi
3801
3802   if test "x$ac_ct_STRIP" = x; then
3803     STRIP=":"
3804   else
3805     case $cross_compiling:$ac_tool_warned in
3806 yes:)
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3808 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3809 ac_tool_warned=yes ;;
3810 esac
3811     STRIP=$ac_ct_STRIP
3812   fi
3813 else
3814   STRIP="$ac_cv_prog_STRIP"
3815 fi
3816
3817 fi
3818 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3819
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3821 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3822 if test -z "$MKDIR_P"; then
3823   if ${ac_cv_path_mkdir+:} false; then :
3824   $as_echo_n "(cached) " >&6
3825 else
3826   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3827 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3828 do
3829   IFS=$as_save_IFS
3830   test -z "$as_dir" && as_dir=.
3831     for ac_prog in mkdir gmkdir; do
3832          for ac_exec_ext in '' $ac_executable_extensions; do
3833            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3834            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3835              'mkdir (GNU coreutils) '* | \
3836              'mkdir (coreutils) '* | \
3837              'mkdir (fileutils) '4.1*)
3838                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3839                break 3;;
3840            esac
3841          done
3842        done
3843   done
3844 IFS=$as_save_IFS
3845
3846 fi
3847
3848   test -d ./--version && rmdir ./--version
3849   if test "${ac_cv_path_mkdir+set}" = set; then
3850     MKDIR_P="$ac_cv_path_mkdir -p"
3851   else
3852     # As a last resort, use the slow shell script.  Don't cache a
3853     # value for MKDIR_P within a source directory, because that will
3854     # break other packages using the cache if that directory is
3855     # removed, or if the value is a relative name.
3856     MKDIR_P="$ac_install_sh -d"
3857   fi
3858 fi
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3860 $as_echo "$MKDIR_P" >&6; }
3861
3862 for ac_prog in gawk mawk nawk awk
3863 do
3864   # Extract the first word of "$ac_prog", so it can be a program name with args.
3865 set dummy $ac_prog; ac_word=$2
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3867 $as_echo_n "checking for $ac_word... " >&6; }
3868 if ${ac_cv_prog_AWK+:} false; then :
3869   $as_echo_n "(cached) " >&6
3870 else
3871   if test -n "$AWK"; then
3872   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3873 else
3874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3875 for as_dir in $PATH
3876 do
3877   IFS=$as_save_IFS
3878   test -z "$as_dir" && as_dir=.
3879     for ac_exec_ext in '' $ac_executable_extensions; do
3880   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3881     ac_cv_prog_AWK="$ac_prog"
3882     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3883     break 2
3884   fi
3885 done
3886   done
3887 IFS=$as_save_IFS
3888
3889 fi
3890 fi
3891 AWK=$ac_cv_prog_AWK
3892 if test -n "$AWK"; then
3893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3894 $as_echo "$AWK" >&6; }
3895 else
3896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3897 $as_echo "no" >&6; }
3898 fi
3899
3900
3901   test -n "$AWK" && break
3902 done
3903
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3905 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3906 set x ${MAKE-make}
3907 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3908 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3909   $as_echo_n "(cached) " >&6
3910 else
3911   cat >conftest.make <<\_ACEOF
3912 SHELL = /bin/sh
3913 all:
3914         @echo '@@@%%%=$(MAKE)=@@@%%%'
3915 _ACEOF
3916 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3917 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3918   *@@@%%%=?*=@@@%%%*)
3919     eval ac_cv_prog_make_${ac_make}_set=yes;;
3920   *)
3921     eval ac_cv_prog_make_${ac_make}_set=no;;
3922 esac
3923 rm -f conftest.make
3924 fi
3925 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3927 $as_echo "yes" >&6; }
3928   SET_MAKE=
3929 else
3930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3931 $as_echo "no" >&6; }
3932   SET_MAKE="MAKE=${MAKE-make}"
3933 fi
3934
3935 rm -rf .tst 2>/dev/null
3936 mkdir .tst 2>/dev/null
3937 if test -d .tst; then
3938   am__leading_dot=.
3939 else
3940   am__leading_dot=_
3941 fi
3942 rmdir .tst 2>/dev/null
3943
3944 # Check whether --enable-silent-rules was given.
3945 if test "${enable_silent_rules+set}" = set; then :
3946   enableval=$enable_silent_rules;
3947 fi
3948
3949 case $enable_silent_rules in # (((
3950   yes) AM_DEFAULT_VERBOSITY=0;;
3951    no) AM_DEFAULT_VERBOSITY=1;;
3952     *) AM_DEFAULT_VERBOSITY=1;;
3953 esac
3954 am_make=${MAKE-make}
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3956 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3957 if ${am_cv_make_support_nested_variables+:} false; then :
3958   $as_echo_n "(cached) " >&6
3959 else
3960   if $as_echo 'TRUE=$(BAR$(V))
3961 BAR0=false
3962 BAR1=true
3963 V=1
3964 am__doit:
3965         @$(TRUE)
3966 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3967   am_cv_make_support_nested_variables=yes
3968 else
3969   am_cv_make_support_nested_variables=no
3970 fi
3971 fi
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3973 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3974 if test $am_cv_make_support_nested_variables = yes; then
3975     AM_V='$(V)'
3976   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3977 else
3978   AM_V=$AM_DEFAULT_VERBOSITY
3979   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3980 fi
3981 AM_BACKSLASH='\'
3982
3983 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3984   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3985   # is not polluted with repeated "-I."
3986   am__isrc=' -I$(srcdir)'
3987   # test to see if srcdir already configured
3988   if test -f $srcdir/config.status; then
3989     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3990   fi
3991 fi
3992
3993 # test whether we have cygpath
3994 if test -z "$CYGPATH_W"; then
3995   if (cygpath --version) >/dev/null 2>/dev/null; then
3996     CYGPATH_W='cygpath -w'
3997   else
3998     CYGPATH_W=echo
3999   fi
4000 fi
4001
4002
4003 # Define the identity of the package.
4004  PACKAGE='evas'
4005  VERSION='1.7.8'
4006
4007
4008 cat >>confdefs.h <<_ACEOF
4009 #define PACKAGE "$PACKAGE"
4010 _ACEOF
4011
4012
4013 cat >>confdefs.h <<_ACEOF
4014 #define VERSION "$VERSION"
4015 _ACEOF
4016
4017 # Some tools Automake needs.
4018
4019 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4020
4021
4022 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4023
4024
4025 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4026
4027
4028 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4029
4030
4031 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4032
4033 # For better backward compatibility.  To be removed once Automake 1.9.x
4034 # dies out for good.  For more background, see:
4035 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4036 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4037 mkdir_p='$(MKDIR_P)'
4038
4039 # We need awk for the "check" target.  The system "awk" is bad on
4040 # some platforms.
4041 # Always define AMTAR for backward compatibility.  Yes, it's still used
4042 # in the wild :-(  We should find a proper way to deprecate it ...
4043 AMTAR='$${TAR-tar}'
4044
4045
4046 # We'll loop over all known methods to create a tar archive until one works.
4047 _am_tools='gnutar  pax cpio none'
4048
4049 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4050
4051
4052
4053
4054
4055
4056 # Check whether --enable-silent-rules was given.
4057 if test "${enable_silent_rules+set}" = set; then :
4058   enableval=$enable_silent_rules;
4059 fi
4060
4061 case $enable_silent_rules in # (((
4062   yes) AM_DEFAULT_VERBOSITY=0;;
4063    no) AM_DEFAULT_VERBOSITY=1;;
4064     *) AM_DEFAULT_VERBOSITY=0;;
4065 esac
4066 am_make=${MAKE-make}
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4068 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4069 if ${am_cv_make_support_nested_variables+:} false; then :
4070   $as_echo_n "(cached) " >&6
4071 else
4072   if $as_echo 'TRUE=$(BAR$(V))
4073 BAR0=false
4074 BAR1=true
4075 V=1
4076 am__doit:
4077         @$(TRUE)
4078 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4079   am_cv_make_support_nested_variables=yes
4080 else
4081   am_cv_make_support_nested_variables=no
4082 fi
4083 fi
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4085 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4086 if test $am_cv_make_support_nested_variables = yes; then
4087     AM_V='$(V)'
4088   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4089 else
4090   AM_V=$AM_DEFAULT_VERBOSITY
4091   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4092 fi
4093 AM_BACKSLASH='\'
4094
4095
4096 DEPDIR="${am__leading_dot}deps"
4097
4098 ac_config_commands="$ac_config_commands depfiles"
4099
4100
4101 am_make=${MAKE-make}
4102 cat > confinc << 'END'
4103 am__doit:
4104         @echo this is the am__doit target
4105 .PHONY: am__doit
4106 END
4107 # If we don't find an include directive, just comment out the code.
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4109 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4110 am__include="#"
4111 am__quote=
4112 _am_result=none
4113 # First try GNU make style include.
4114 echo "include confinc" > confmf
4115 # Ignore all kinds of additional output from 'make'.
4116 case `$am_make -s -f confmf 2> /dev/null` in #(
4117 *the\ am__doit\ target*)
4118   am__include=include
4119   am__quote=
4120   _am_result=GNU
4121   ;;
4122 esac
4123 # Now try BSD make style include.
4124 if test "$am__include" = "#"; then
4125    echo '.include "confinc"' > confmf
4126    case `$am_make -s -f confmf 2> /dev/null` in #(
4127    *the\ am__doit\ target*)
4128      am__include=.include
4129      am__quote="\""
4130      _am_result=BSD
4131      ;;
4132    esac
4133 fi
4134
4135
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4137 $as_echo "$_am_result" >&6; }
4138 rm -f confinc confmf
4139
4140 # Check whether --enable-dependency-tracking was given.
4141 if test "${enable_dependency_tracking+set}" = set; then :
4142   enableval=$enable_dependency_tracking;
4143 fi
4144
4145 if test "x$enable_dependency_tracking" != xno; then
4146   am_depcomp="$ac_aux_dir/depcomp"
4147   AMDEPBACKSLASH='\'
4148   am__nodep='_no'
4149 fi
4150  if test "x$enable_dependency_tracking" != xno; then
4151   AMDEP_TRUE=
4152   AMDEP_FALSE='#'
4153 else
4154   AMDEP_TRUE='#'
4155   AMDEP_FALSE=
4156 fi
4157
4158
4159 ac_ext=c
4160 ac_cpp='$CPP $CPPFLAGS'
4161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4164 if test -n "$ac_tool_prefix"; then
4165   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4166 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4168 $as_echo_n "checking for $ac_word... " >&6; }
4169 if ${ac_cv_prog_CC+:} false; then :
4170   $as_echo_n "(cached) " >&6
4171 else
4172   if test -n "$CC"; then
4173   ac_cv_prog_CC="$CC" # Let the user override the test.
4174 else
4175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4176 for as_dir in $PATH
4177 do
4178   IFS=$as_save_IFS
4179   test -z "$as_dir" && as_dir=.
4180     for ac_exec_ext in '' $ac_executable_extensions; do
4181   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4182     ac_cv_prog_CC="${ac_tool_prefix}gcc"
4183     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4184     break 2
4185   fi
4186 done
4187   done
4188 IFS=$as_save_IFS
4189
4190 fi
4191 fi
4192 CC=$ac_cv_prog_CC
4193 if test -n "$CC"; then
4194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4195 $as_echo "$CC" >&6; }
4196 else
4197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4198 $as_echo "no" >&6; }
4199 fi
4200
4201
4202 fi
4203 if test -z "$ac_cv_prog_CC"; then
4204   ac_ct_CC=$CC
4205   # Extract the first word of "gcc", so it can be a program name with args.
4206 set dummy gcc; ac_word=$2
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4208 $as_echo_n "checking for $ac_word... " >&6; }
4209 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4210   $as_echo_n "(cached) " >&6
4211 else
4212   if test -n "$ac_ct_CC"; then
4213   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4214 else
4215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4216 for as_dir in $PATH
4217 do
4218   IFS=$as_save_IFS
4219   test -z "$as_dir" && as_dir=.
4220     for ac_exec_ext in '' $ac_executable_extensions; do
4221   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4222     ac_cv_prog_ac_ct_CC="gcc"
4223     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4224     break 2
4225   fi
4226 done
4227   done
4228 IFS=$as_save_IFS
4229
4230 fi
4231 fi
4232 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4233 if test -n "$ac_ct_CC"; then
4234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4235 $as_echo "$ac_ct_CC" >&6; }
4236 else
4237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4238 $as_echo "no" >&6; }
4239 fi
4240
4241   if test "x$ac_ct_CC" = x; then
4242     CC=""
4243   else
4244     case $cross_compiling:$ac_tool_warned in
4245 yes:)
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4247 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4248 ac_tool_warned=yes ;;
4249 esac
4250     CC=$ac_ct_CC
4251   fi
4252 else
4253   CC="$ac_cv_prog_CC"
4254 fi
4255
4256 if test -z "$CC"; then
4257           if test -n "$ac_tool_prefix"; then
4258     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4259 set dummy ${ac_tool_prefix}cc; ac_word=$2
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4261 $as_echo_n "checking for $ac_word... " >&6; }
4262 if ${ac_cv_prog_CC+:} false; then :
4263   $as_echo_n "(cached) " >&6
4264 else
4265   if test -n "$CC"; then
4266   ac_cv_prog_CC="$CC" # Let the user override the test.
4267 else
4268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4269 for as_dir in $PATH
4270 do
4271   IFS=$as_save_IFS
4272   test -z "$as_dir" && as_dir=.
4273     for ac_exec_ext in '' $ac_executable_extensions; do
4274   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4275     ac_cv_prog_CC="${ac_tool_prefix}cc"
4276     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4277     break 2
4278   fi
4279 done
4280   done
4281 IFS=$as_save_IFS
4282
4283 fi
4284 fi
4285 CC=$ac_cv_prog_CC
4286 if test -n "$CC"; then
4287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4288 $as_echo "$CC" >&6; }
4289 else
4290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4291 $as_echo "no" >&6; }
4292 fi
4293
4294
4295   fi
4296 fi
4297 if test -z "$CC"; then
4298   # Extract the first word of "cc", so it can be a program name with args.
4299 set dummy cc; ac_word=$2
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4301 $as_echo_n "checking for $ac_word... " >&6; }
4302 if ${ac_cv_prog_CC+:} false; then :
4303   $as_echo_n "(cached) " >&6
4304 else
4305   if test -n "$CC"; then
4306   ac_cv_prog_CC="$CC" # Let the user override the test.
4307 else
4308   ac_prog_rejected=no
4309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4310 for as_dir in $PATH
4311 do
4312   IFS=$as_save_IFS
4313   test -z "$as_dir" && as_dir=.
4314     for ac_exec_ext in '' $ac_executable_extensions; do
4315   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4316     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4317        ac_prog_rejected=yes
4318        continue
4319      fi
4320     ac_cv_prog_CC="cc"
4321     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4322     break 2
4323   fi
4324 done
4325   done
4326 IFS=$as_save_IFS
4327
4328 if test $ac_prog_rejected = yes; then
4329   # We found a bogon in the path, so make sure we never use it.
4330   set dummy $ac_cv_prog_CC
4331   shift
4332   if test $# != 0; then
4333     # We chose a different compiler from the bogus one.
4334     # However, it has the same basename, so the bogon will be chosen
4335     # first if we set CC to just the basename; use the full file name.
4336     shift
4337     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4338   fi
4339 fi
4340 fi
4341 fi
4342 CC=$ac_cv_prog_CC
4343 if test -n "$CC"; then
4344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4345 $as_echo "$CC" >&6; }
4346 else
4347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4348 $as_echo "no" >&6; }
4349 fi
4350
4351
4352 fi
4353 if test -z "$CC"; then
4354   if test -n "$ac_tool_prefix"; then
4355   for ac_prog in cl.exe
4356   do
4357     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4358 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4360 $as_echo_n "checking for $ac_word... " >&6; }
4361 if ${ac_cv_prog_CC+:} false; then :
4362   $as_echo_n "(cached) " >&6
4363 else
4364   if test -n "$CC"; then
4365   ac_cv_prog_CC="$CC" # Let the user override the test.
4366 else
4367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368 for as_dir in $PATH
4369 do
4370   IFS=$as_save_IFS
4371   test -z "$as_dir" && as_dir=.
4372     for ac_exec_ext in '' $ac_executable_extensions; do
4373   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4374     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4375     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4376     break 2
4377   fi
4378 done
4379   done
4380 IFS=$as_save_IFS
4381
4382 fi
4383 fi
4384 CC=$ac_cv_prog_CC
4385 if test -n "$CC"; then
4386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4387 $as_echo "$CC" >&6; }
4388 else
4389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4390 $as_echo "no" >&6; }
4391 fi
4392
4393
4394     test -n "$CC" && break
4395   done
4396 fi
4397 if test -z "$CC"; then
4398   ac_ct_CC=$CC
4399   for ac_prog in cl.exe
4400 do
4401   # Extract the first word of "$ac_prog", so it can be a program name with args.
4402 set dummy $ac_prog; ac_word=$2
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4406   $as_echo_n "(cached) " >&6
4407 else
4408   if test -n "$ac_ct_CC"; then
4409   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4410 else
4411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4412 for as_dir in $PATH
4413 do
4414   IFS=$as_save_IFS
4415   test -z "$as_dir" && as_dir=.
4416     for ac_exec_ext in '' $ac_executable_extensions; do
4417   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4418     ac_cv_prog_ac_ct_CC="$ac_prog"
4419     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4420     break 2
4421   fi
4422 done
4423   done
4424 IFS=$as_save_IFS
4425
4426 fi
4427 fi
4428 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4429 if test -n "$ac_ct_CC"; then
4430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4431 $as_echo "$ac_ct_CC" >&6; }
4432 else
4433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434 $as_echo "no" >&6; }
4435 fi
4436
4437
4438   test -n "$ac_ct_CC" && break
4439 done
4440
4441   if test "x$ac_ct_CC" = x; then
4442     CC=""
4443   else
4444     case $cross_compiling:$ac_tool_warned in
4445 yes:)
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4448 ac_tool_warned=yes ;;
4449 esac
4450     CC=$ac_ct_CC
4451   fi
4452 fi
4453
4454 fi
4455
4456
4457 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4458 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4459 as_fn_error $? "no acceptable C compiler found in \$PATH
4460 See \`config.log' for more details" "$LINENO" 5; }
4461
4462 # Provide some information about the compiler.
4463 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4464 set X $ac_compile
4465 ac_compiler=$2
4466 for ac_option in --version -v -V -qversion; do
4467   { { ac_try="$ac_compiler $ac_option >&5"
4468 case "(($ac_try" in
4469   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4470   *) ac_try_echo=$ac_try;;
4471 esac
4472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4473 $as_echo "$ac_try_echo"; } >&5
4474   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4475   ac_status=$?
4476   if test -s conftest.err; then
4477     sed '10a\
4478 ... rest of stderr output deleted ...
4479          10q' conftest.err >conftest.er1
4480     cat conftest.er1 >&5
4481   fi
4482   rm -f conftest.er1 conftest.err
4483   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4484   test $ac_status = 0; }
4485 done
4486
4487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4488 /* end confdefs.h.  */
4489
4490 int
4491 main ()
4492 {
4493
4494   ;
4495   return 0;
4496 }
4497 _ACEOF
4498 ac_clean_files_save=$ac_clean_files
4499 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4500 # Try to create an executable without -o first, disregard a.out.
4501 # It will help us diagnose broken compilers, and finding out an intuition
4502 # of exeext.
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4504 $as_echo_n "checking whether the C compiler works... " >&6; }
4505 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4506
4507 # The possible output files:
4508 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4509
4510 ac_rmfiles=
4511 for ac_file in $ac_files
4512 do
4513   case $ac_file in
4514     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4515     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4516   esac
4517 done
4518 rm -f $ac_rmfiles
4519
4520 if { { ac_try="$ac_link_default"
4521 case "(($ac_try" in
4522   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4523   *) ac_try_echo=$ac_try;;
4524 esac
4525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4526 $as_echo "$ac_try_echo"; } >&5
4527   (eval "$ac_link_default") 2>&5
4528   ac_status=$?
4529   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4530   test $ac_status = 0; }; then :
4531   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4532 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4533 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
4534 # so that the user can short-circuit this test for compilers unknown to
4535 # Autoconf.
4536 for ac_file in $ac_files ''
4537 do
4538   test -f "$ac_file" || continue
4539   case $ac_file in
4540     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4541         ;;
4542     [ab].out )
4543         # We found the default executable, but exeext='' is most
4544         # certainly right.
4545         break;;
4546     *.* )
4547         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4548         then :; else
4549            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4550         fi
4551         # We set ac_cv_exeext here because the later test for it is not
4552         # safe: cross compilers may not add the suffix if given an `-o'
4553         # argument, so we may need to know it at that point already.
4554         # Even if this section looks crufty: it has the advantage of
4555         # actually working.
4556         break;;
4557     * )
4558         break;;
4559   esac
4560 done
4561 test "$ac_cv_exeext" = no && ac_cv_exeext=
4562
4563 else
4564   ac_file=''
4565 fi
4566 if test -z "$ac_file"; then :
4567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4568 $as_echo "no" >&6; }
4569 $as_echo "$as_me: failed program was:" >&5
4570 sed 's/^/| /' conftest.$ac_ext >&5
4571
4572 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4573 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4574 as_fn_error 77 "C compiler cannot create executables
4575 See \`config.log' for more details" "$LINENO" 5; }
4576 else
4577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4578 $as_echo "yes" >&6; }
4579 fi
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4581 $as_echo_n "checking for C compiler default output file name... " >&6; }
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4583 $as_echo "$ac_file" >&6; }
4584 ac_exeext=$ac_cv_exeext
4585
4586 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4587 ac_clean_files=$ac_clean_files_save
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4589 $as_echo_n "checking for suffix of executables... " >&6; }
4590 if { { ac_try="$ac_link"
4591 case "(($ac_try" in
4592   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4593   *) ac_try_echo=$ac_try;;
4594 esac
4595 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4596 $as_echo "$ac_try_echo"; } >&5
4597   (eval "$ac_link") 2>&5
4598   ac_status=$?
4599   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4600   test $ac_status = 0; }; then :
4601   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4602 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4603 # work properly (i.e., refer to `conftest.exe'), while it won't with
4604 # `rm'.
4605 for ac_file in conftest.exe conftest conftest.*; do
4606   test -f "$ac_file" || continue
4607   case $ac_file in
4608     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4609     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4610           break;;
4611     * ) break;;
4612   esac
4613 done
4614 else
4615   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4616 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4617 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4618 See \`config.log' for more details" "$LINENO" 5; }
4619 fi
4620 rm -f conftest conftest$ac_cv_exeext
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4622 $as_echo "$ac_cv_exeext" >&6; }
4623
4624 rm -f conftest.$ac_ext
4625 EXEEXT=$ac_cv_exeext
4626 ac_exeext=$EXEEXT
4627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4628 /* end confdefs.h.  */
4629 #include <stdio.h>
4630 int
4631 main ()
4632 {
4633 FILE *f = fopen ("conftest.out", "w");
4634  return ferror (f) || fclose (f) != 0;
4635
4636   ;
4637   return 0;
4638 }
4639 _ACEOF
4640 ac_clean_files="$ac_clean_files conftest.out"
4641 # Check that the compiler produces executables we can run.  If not, either
4642 # the compiler is broken, or we cross compile.
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4644 $as_echo_n "checking whether we are cross compiling... " >&6; }
4645 if test "$cross_compiling" != yes; then
4646   { { ac_try="$ac_link"
4647 case "(($ac_try" in
4648   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4649   *) ac_try_echo=$ac_try;;
4650 esac
4651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4652 $as_echo "$ac_try_echo"; } >&5
4653   (eval "$ac_link") 2>&5
4654   ac_status=$?
4655   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4656   test $ac_status = 0; }
4657   if { ac_try='./conftest$ac_cv_exeext'
4658   { { case "(($ac_try" in
4659   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4660   *) ac_try_echo=$ac_try;;
4661 esac
4662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4663 $as_echo "$ac_try_echo"; } >&5
4664   (eval "$ac_try") 2>&5
4665   ac_status=$?
4666   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4667   test $ac_status = 0; }; }; then
4668     cross_compiling=no
4669   else
4670     if test "$cross_compiling" = maybe; then
4671         cross_compiling=yes
4672     else
4673         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4674 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4675 as_fn_error $? "cannot run C compiled programs.
4676 If you meant to cross compile, use \`--host'.
4677 See \`config.log' for more details" "$LINENO" 5; }
4678     fi
4679   fi
4680 fi
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4682 $as_echo "$cross_compiling" >&6; }
4683
4684 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4685 ac_clean_files=$ac_clean_files_save
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4687 $as_echo_n "checking for suffix of object files... " >&6; }
4688 if ${ac_cv_objext+:} false; then :
4689   $as_echo_n "(cached) " >&6
4690 else
4691   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4692 /* end confdefs.h.  */
4693
4694 int
4695 main ()
4696 {
4697
4698   ;
4699   return 0;
4700 }
4701 _ACEOF
4702 rm -f conftest.o conftest.obj
4703 if { { ac_try="$ac_compile"
4704 case "(($ac_try" in
4705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4706   *) ac_try_echo=$ac_try;;
4707 esac
4708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4709 $as_echo "$ac_try_echo"; } >&5
4710   (eval "$ac_compile") 2>&5
4711   ac_status=$?
4712   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4713   test $ac_status = 0; }; then :
4714   for ac_file in conftest.o conftest.obj conftest.*; do
4715   test -f "$ac_file" || continue;
4716   case $ac_file in
4717     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4718     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4719        break;;
4720   esac
4721 done
4722 else
4723   $as_echo "$as_me: failed program was:" >&5
4724 sed 's/^/| /' conftest.$ac_ext >&5
4725
4726 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4727 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4728 as_fn_error $? "cannot compute suffix of object files: cannot compile
4729 See \`config.log' for more details" "$LINENO" 5; }
4730 fi
4731 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4732 fi
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4734 $as_echo "$ac_cv_objext" >&6; }
4735 OBJEXT=$ac_cv_objext
4736 ac_objext=$OBJEXT
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4738 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4739 if ${ac_cv_c_compiler_gnu+:} false; then :
4740   $as_echo_n "(cached) " >&6
4741 else
4742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4743 /* end confdefs.h.  */
4744
4745 int
4746 main ()
4747 {
4748 #ifndef __GNUC__
4749        choke me
4750 #endif
4751
4752   ;
4753   return 0;
4754 }
4755 _ACEOF
4756 if ac_fn_c_try_compile "$LINENO"; then :
4757   ac_compiler_gnu=yes
4758 else
4759   ac_compiler_gnu=no
4760 fi
4761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4762 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4763
4764 fi
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4766 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4767 if test $ac_compiler_gnu = yes; then
4768   GCC=yes
4769 else
4770   GCC=
4771 fi
4772 ac_test_CFLAGS=${CFLAGS+set}
4773 ac_save_CFLAGS=$CFLAGS
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4775 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4776 if ${ac_cv_prog_cc_g+:} false; then :
4777   $as_echo_n "(cached) " >&6
4778 else
4779   ac_save_c_werror_flag=$ac_c_werror_flag
4780    ac_c_werror_flag=yes
4781    ac_cv_prog_cc_g=no
4782    CFLAGS="-g"
4783    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4784 /* end confdefs.h.  */
4785
4786 int
4787 main ()
4788 {
4789
4790   ;
4791   return 0;
4792 }
4793 _ACEOF
4794 if ac_fn_c_try_compile "$LINENO"; then :
4795   ac_cv_prog_cc_g=yes
4796 else
4797   CFLAGS=""
4798       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4799 /* end confdefs.h.  */
4800
4801 int
4802 main ()
4803 {
4804
4805   ;
4806   return 0;
4807 }
4808 _ACEOF
4809 if ac_fn_c_try_compile "$LINENO"; then :
4810
4811 else
4812   ac_c_werror_flag=$ac_save_c_werror_flag
4813          CFLAGS="-g"
4814          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4815 /* end confdefs.h.  */
4816
4817 int
4818 main ()
4819 {
4820
4821   ;
4822   return 0;
4823 }
4824 _ACEOF
4825 if ac_fn_c_try_compile "$LINENO"; then :
4826   ac_cv_prog_cc_g=yes
4827 fi
4828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4829 fi
4830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4831 fi
4832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4833    ac_c_werror_flag=$ac_save_c_werror_flag
4834 fi
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4836 $as_echo "$ac_cv_prog_cc_g" >&6; }
4837 if test "$ac_test_CFLAGS" = set; then
4838   CFLAGS=$ac_save_CFLAGS
4839 elif test $ac_cv_prog_cc_g = yes; then
4840   if test "$GCC" = yes; then
4841     CFLAGS="-g -O2"
4842   else
4843     CFLAGS="-g"
4844   fi
4845 else
4846   if test "$GCC" = yes; then
4847     CFLAGS="-O2"
4848   else
4849     CFLAGS=
4850   fi
4851 fi
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4853 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4854 if ${ac_cv_prog_cc_c89+:} false; then :
4855   $as_echo_n "(cached) " >&6
4856 else
4857   ac_cv_prog_cc_c89=no
4858 ac_save_CC=$CC
4859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4860 /* end confdefs.h.  */
4861 #include <stdarg.h>
4862 #include <stdio.h>
4863 struct stat;
4864 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4865 struct buf { int x; };
4866 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4867 static char *e (p, i)
4868      char **p;
4869      int i;
4870 {
4871   return p[i];
4872 }
4873 static char *f (char * (*g) (char **, int), char **p, ...)
4874 {
4875   char *s;
4876   va_list v;
4877   va_start (v,p);
4878   s = g (p, va_arg (v,int));
4879   va_end (v);
4880   return s;
4881 }
4882
4883 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4884    function prototypes and stuff, but not '\xHH' hex character constants.
4885    These don't provoke an error unfortunately, instead are silently treated
4886    as 'x'.  The following induces an error, until -std is added to get
4887    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4888    array size at least.  It's necessary to write '\x00'==0 to get something
4889    that's true only with -std.  */
4890 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4891
4892 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4893    inside strings and character constants.  */
4894 #define FOO(x) 'x'
4895 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4896
4897 int test (int i, double x);
4898 struct s1 {int (*f) (int a);};
4899 struct s2 {int (*f) (double a);};
4900 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4901 int argc;
4902 char **argv;
4903 int
4904 main ()
4905 {
4906 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4907   ;
4908   return 0;
4909 }
4910 _ACEOF
4911 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4912         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4913 do
4914   CC="$ac_save_CC $ac_arg"
4915   if ac_fn_c_try_compile "$LINENO"; then :
4916   ac_cv_prog_cc_c89=$ac_arg
4917 fi
4918 rm -f core conftest.err conftest.$ac_objext
4919   test "x$ac_cv_prog_cc_c89" != "xno" && break
4920 done
4921 rm -f conftest.$ac_ext
4922 CC=$ac_save_CC
4923
4924 fi
4925 # AC_CACHE_VAL
4926 case "x$ac_cv_prog_cc_c89" in
4927   x)
4928     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4929 $as_echo "none needed" >&6; } ;;
4930   xno)
4931     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4932 $as_echo "unsupported" >&6; } ;;
4933   *)
4934     CC="$CC $ac_cv_prog_cc_c89"
4935     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4936 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4937 esac
4938 if test "x$ac_cv_prog_cc_c89" != xno; then :
4939
4940 fi
4941
4942 ac_ext=c
4943 ac_cpp='$CPP $CPPFLAGS'
4944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4947
4948 depcc="$CC"   am_compiler_list=
4949
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4951 $as_echo_n "checking dependency style of $depcc... " >&6; }
4952 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4953   $as_echo_n "(cached) " >&6
4954 else
4955   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4956   # We make a subdir and do the tests there.  Otherwise we can end up
4957   # making bogus files that we don't know about and never remove.  For
4958   # instance it was reported that on HP-UX the gcc test will end up
4959   # making a dummy file named 'D' -- because '-MD' means "put the output
4960   # in D".
4961   rm -rf conftest.dir
4962   mkdir conftest.dir
4963   # Copy depcomp to subdir because otherwise we won't find it if we're
4964   # using a relative directory.
4965   cp "$am_depcomp" conftest.dir
4966   cd conftest.dir
4967   # We will build objects and dependencies in a subdirectory because
4968   # it helps to detect inapplicable dependency modes.  For instance
4969   # both Tru64's cc and ICC support -MD to output dependencies as a
4970   # side effect of compilation, but ICC will put the dependencies in
4971   # the current directory while Tru64 will put them in the object
4972   # directory.
4973   mkdir sub
4974
4975   am_cv_CC_dependencies_compiler_type=none
4976   if test "$am_compiler_list" = ""; then
4977      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4978   fi
4979   am__universal=false
4980   case " $depcc " in #(
4981      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4982      esac
4983
4984   for depmode in $am_compiler_list; do
4985     # Setup a source with many dependencies, because some compilers
4986     # like to wrap large dependency lists on column 80 (with \), and
4987     # we should not choose a depcomp mode which is confused by this.
4988     #
4989     # We need to recreate these files for each test, as the compiler may
4990     # overwrite some of them when testing with obscure command lines.
4991     # This happens at least with the AIX C compiler.
4992     : > sub/conftest.c
4993     for i in 1 2 3 4 5 6; do
4994       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4995       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4996       # Solaris 10 /bin/sh.
4997       echo '/* dummy */' > sub/conftst$i.h
4998     done
4999     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5000
5001     # We check with '-c' and '-o' for the sake of the "dashmstdout"
5002     # mode.  It turns out that the SunPro C++ compiler does not properly
5003     # handle '-M -o', and we need to detect this.  Also, some Intel
5004     # versions had trouble with output in subdirs.
5005     am__obj=sub/conftest.${OBJEXT-o}
5006     am__minus_obj="-o $am__obj"
5007     case $depmode in
5008     gcc)
5009       # This depmode causes a compiler race in universal mode.
5010       test "$am__universal" = false || continue
5011       ;;
5012     nosideeffect)
5013       # After this tag, mechanisms are not by side-effect, so they'll
5014       # only be used when explicitly requested.
5015       if test "x$enable_dependency_tracking" = xyes; then
5016         continue
5017       else
5018         break
5019       fi
5020       ;;
5021     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5022       # This compiler won't grok '-c -o', but also, the minuso test has
5023       # not run yet.  These depmodes are late enough in the game, and
5024       # so weak that their functioning should not be impacted.
5025       am__obj=conftest.${OBJEXT-o}
5026       am__minus_obj=
5027       ;;
5028     none) break ;;
5029     esac
5030     if depmode=$depmode \
5031        source=sub/conftest.c object=$am__obj \
5032        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5033        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5034          >/dev/null 2>conftest.err &&
5035        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5036        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5037        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5038        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5039       # icc doesn't choke on unknown options, it will just issue warnings
5040       # or remarks (even with -Werror).  So we grep stderr for any message
5041       # that says an option was ignored or not supported.
5042       # When given -MP, icc 7.0 and 7.1 complain thusly:
5043       #   icc: Command line warning: ignoring option '-M'; no argument required
5044       # The diagnosis changed in icc 8.0:
5045       #   icc: Command line remark: option '-MP' not supported
5046       if (grep 'ignoring option' conftest.err ||
5047           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5048         am_cv_CC_dependencies_compiler_type=$depmode
5049         break
5050       fi
5051     fi
5052   done
5053
5054   cd ..
5055   rm -rf conftest.dir
5056 else
5057   am_cv_CC_dependencies_compiler_type=none
5058 fi
5059
5060 fi
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5062 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5063 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5064
5065  if
5066   test "x$enable_dependency_tracking" != xno \
5067   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5068   am__fastdepCC_TRUE=
5069   am__fastdepCC_FALSE='#'
5070 else
5071   am__fastdepCC_TRUE='#'
5072   am__fastdepCC_FALSE=
5073 fi
5074
5075
5076
5077 ac_ext=c
5078 ac_cpp='$CPP $CPPFLAGS'
5079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5083 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5084 # On Suns, sometimes $CPP names a directory.
5085 if test -n "$CPP" && test -d "$CPP"; then
5086   CPP=
5087 fi
5088 if test -z "$CPP"; then
5089   if ${ac_cv_prog_CPP+:} false; then :
5090   $as_echo_n "(cached) " >&6
5091 else
5092       # Double quotes because CPP needs to be expanded
5093     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5094     do
5095       ac_preproc_ok=false
5096 for ac_c_preproc_warn_flag in '' yes
5097 do
5098   # Use a header file that comes with gcc, so configuring glibc
5099   # with a fresh cross-compiler works.
5100   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5101   # <limits.h> exists even on freestanding compilers.
5102   # On the NeXT, cc -E runs the code through the compiler's parser,
5103   # not just through cpp. "Syntax error" is here to catch this case.
5104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5105 /* end confdefs.h.  */
5106 #ifdef __STDC__
5107 # include <limits.h>
5108 #else
5109 # include <assert.h>
5110 #endif
5111                      Syntax error
5112 _ACEOF
5113 if ac_fn_c_try_cpp "$LINENO"; then :
5114
5115 else
5116   # Broken: fails on valid input.
5117 continue
5118 fi
5119 rm -f conftest.err conftest.i conftest.$ac_ext
5120
5121   # OK, works on sane cases.  Now check whether nonexistent headers
5122   # can be detected and how.
5123   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5124 /* end confdefs.h.  */
5125 #include <ac_nonexistent.h>
5126 _ACEOF
5127 if ac_fn_c_try_cpp "$LINENO"; then :
5128   # Broken: success on invalid input.
5129 continue
5130 else
5131   # Passes both tests.
5132 ac_preproc_ok=:
5133 break
5134 fi
5135 rm -f conftest.err conftest.i conftest.$ac_ext
5136
5137 done
5138 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5139 rm -f conftest.i conftest.err conftest.$ac_ext
5140 if $ac_preproc_ok; then :
5141   break
5142 fi
5143
5144     done
5145     ac_cv_prog_CPP=$CPP
5146
5147 fi
5148   CPP=$ac_cv_prog_CPP
5149 else
5150   ac_cv_prog_CPP=$CPP
5151 fi
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5153 $as_echo "$CPP" >&6; }
5154 ac_preproc_ok=false
5155 for ac_c_preproc_warn_flag in '' yes
5156 do
5157   # Use a header file that comes with gcc, so configuring glibc
5158   # with a fresh cross-compiler works.
5159   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5160   # <limits.h> exists even on freestanding compilers.
5161   # On the NeXT, cc -E runs the code through the compiler's parser,
5162   # not just through cpp. "Syntax error" is here to catch this case.
5163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5164 /* end confdefs.h.  */
5165 #ifdef __STDC__
5166 # include <limits.h>
5167 #else
5168 # include <assert.h>
5169 #endif
5170                      Syntax error
5171 _ACEOF
5172 if ac_fn_c_try_cpp "$LINENO"; then :
5173
5174 else
5175   # Broken: fails on valid input.
5176 continue
5177 fi
5178 rm -f conftest.err conftest.i conftest.$ac_ext
5179
5180   # OK, works on sane cases.  Now check whether nonexistent headers
5181   # can be detected and how.
5182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5183 /* end confdefs.h.  */
5184 #include <ac_nonexistent.h>
5185 _ACEOF
5186 if ac_fn_c_try_cpp "$LINENO"; then :
5187   # Broken: success on invalid input.
5188 continue
5189 else
5190   # Passes both tests.
5191 ac_preproc_ok=:
5192 break
5193 fi
5194 rm -f conftest.err conftest.i conftest.$ac_ext
5195
5196 done
5197 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5198 rm -f conftest.i conftest.err conftest.$ac_ext
5199 if $ac_preproc_ok; then :
5200
5201 else
5202   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5204 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5205 See \`config.log' for more details" "$LINENO" 5; }
5206 fi
5207
5208 ac_ext=c
5209 ac_cpp='$CPP $CPPFLAGS'
5210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5213
5214
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5216 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5217 if ${ac_cv_path_GREP+:} false; then :
5218   $as_echo_n "(cached) " >&6
5219 else
5220   if test -z "$GREP"; then
5221   ac_path_GREP_found=false
5222   # Loop through the user's path and test for each of PROGNAME-LIST
5223   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5224 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5225 do
5226   IFS=$as_save_IFS
5227   test -z "$as_dir" && as_dir=.
5228     for ac_prog in grep ggrep; do
5229     for ac_exec_ext in '' $ac_executable_extensions; do
5230       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5231       as_fn_executable_p "$ac_path_GREP" || continue
5232 # Check for GNU ac_path_GREP and select it if it is found.
5233   # Check for GNU $ac_path_GREP
5234 case `"$ac_path_GREP" --version 2>&1` in
5235 *GNU*)
5236   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5237 *)
5238   ac_count=0
5239   $as_echo_n 0123456789 >"conftest.in"
5240   while :
5241   do
5242     cat "conftest.in" "conftest.in" >"conftest.tmp"
5243     mv "conftest.tmp" "conftest.in"
5244     cp "conftest.in" "conftest.nl"
5245     $as_echo 'GREP' >> "conftest.nl"
5246     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5247     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5248     as_fn_arith $ac_count + 1 && ac_count=$as_val
5249     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5250       # Best one so far, save it but keep looking for a better one
5251       ac_cv_path_GREP="$ac_path_GREP"
5252       ac_path_GREP_max=$ac_count
5253     fi
5254     # 10*(2^10) chars as input seems more than enough
5255     test $ac_count -gt 10 && break
5256   done
5257   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5258 esac
5259
5260       $ac_path_GREP_found && break 3
5261     done
5262   done
5263   done
5264 IFS=$as_save_IFS
5265   if test -z "$ac_cv_path_GREP"; then
5266     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5267   fi
5268 else
5269   ac_cv_path_GREP=$GREP
5270 fi
5271
5272 fi
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5274 $as_echo "$ac_cv_path_GREP" >&6; }
5275  GREP="$ac_cv_path_GREP"
5276
5277
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5279 $as_echo_n "checking for egrep... " >&6; }
5280 if ${ac_cv_path_EGREP+:} false; then :
5281   $as_echo_n "(cached) " >&6
5282 else
5283   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5284    then ac_cv_path_EGREP="$GREP -E"
5285    else
5286      if test -z "$EGREP"; then
5287   ac_path_EGREP_found=false
5288   # Loop through the user's path and test for each of PROGNAME-LIST
5289   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5290 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5291 do
5292   IFS=$as_save_IFS
5293   test -z "$as_dir" && as_dir=.
5294     for ac_prog in egrep; do
5295     for ac_exec_ext in '' $ac_executable_extensions; do
5296       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5297       as_fn_executable_p "$ac_path_EGREP" || continue
5298 # Check for GNU ac_path_EGREP and select it if it is found.
5299   # Check for GNU $ac_path_EGREP
5300 case `"$ac_path_EGREP" --version 2>&1` in
5301 *GNU*)
5302   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5303 *)
5304   ac_count=0
5305   $as_echo_n 0123456789 >"conftest.in"
5306   while :
5307   do
5308     cat "conftest.in" "conftest.in" >"conftest.tmp"
5309     mv "conftest.tmp" "conftest.in"
5310     cp "conftest.in" "conftest.nl"
5311     $as_echo 'EGREP' >> "conftest.nl"
5312     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5313     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5314     as_fn_arith $ac_count + 1 && ac_count=$as_val
5315     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5316       # Best one so far, save it but keep looking for a better one
5317       ac_cv_path_EGREP="$ac_path_EGREP"
5318       ac_path_EGREP_max=$ac_count
5319     fi
5320     # 10*(2^10) chars as input seems more than enough
5321     test $ac_count -gt 10 && break
5322   done
5323   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5324 esac
5325
5326       $ac_path_EGREP_found && break 3
5327     done
5328   done
5329   done
5330 IFS=$as_save_IFS
5331   if test -z "$ac_cv_path_EGREP"; then
5332     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5333   fi
5334 else
5335   ac_cv_path_EGREP=$EGREP
5336 fi
5337
5338    fi
5339 fi
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5341 $as_echo "$ac_cv_path_EGREP" >&6; }
5342  EGREP="$ac_cv_path_EGREP"
5343
5344
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5346 $as_echo_n "checking for ANSI C header files... " >&6; }
5347 if ${ac_cv_header_stdc+:} false; then :
5348   $as_echo_n "(cached) " >&6
5349 else
5350   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5351 /* end confdefs.h.  */
5352 #include <stdlib.h>
5353 #include <stdarg.h>
5354 #include <string.h>
5355 #include <float.h>
5356
5357 int
5358 main ()
5359 {
5360
5361   ;
5362   return 0;
5363 }
5364 _ACEOF
5365 if ac_fn_c_try_compile "$LINENO"; then :
5366   ac_cv_header_stdc=yes
5367 else
5368   ac_cv_header_stdc=no
5369 fi
5370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5371
5372 if test $ac_cv_header_stdc = yes; then
5373   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5375 /* end confdefs.h.  */
5376 #include <string.h>
5377
5378 _ACEOF
5379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5380   $EGREP "memchr" >/dev/null 2>&1; then :
5381
5382 else
5383   ac_cv_header_stdc=no
5384 fi
5385 rm -f conftest*
5386
5387 fi
5388
5389 if test $ac_cv_header_stdc = yes; then
5390   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5392 /* end confdefs.h.  */
5393 #include <stdlib.h>
5394
5395 _ACEOF
5396 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5397   $EGREP "free" >/dev/null 2>&1; then :
5398
5399 else
5400   ac_cv_header_stdc=no
5401 fi
5402 rm -f conftest*
5403
5404 fi
5405
5406 if test $ac_cv_header_stdc = yes; then
5407   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5408   if test "$cross_compiling" = yes; then :
5409   :
5410 else
5411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5412 /* end confdefs.h.  */
5413 #include <ctype.h>
5414 #include <stdlib.h>
5415 #if ((' ' & 0x0FF) == 0x020)
5416 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5417 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5418 #else
5419 # define ISLOWER(c) \
5420                    (('a' <= (c) && (c) <= 'i') \
5421                      || ('j' <= (c) && (c) <= 'r') \
5422                      || ('s' <= (c) && (c) <= 'z'))
5423 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5424 #endif
5425
5426 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5427 int
5428 main ()
5429 {
5430   int i;
5431   for (i = 0; i < 256; i++)
5432     if (XOR (islower (i), ISLOWER (i))
5433         || toupper (i) != TOUPPER (i))
5434       return 2;
5435   return 0;
5436 }
5437 _ACEOF
5438 if ac_fn_c_try_run "$LINENO"; then :
5439
5440 else
5441   ac_cv_header_stdc=no
5442 fi
5443 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5444   conftest.$ac_objext conftest.beam conftest.$ac_ext
5445 fi
5446
5447 fi
5448 fi
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5450 $as_echo "$ac_cv_header_stdc" >&6; }
5451 if test $ac_cv_header_stdc = yes; then
5452
5453 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5454
5455 fi
5456
5457 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5458 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5459                   inttypes.h stdint.h unistd.h
5460 do :
5461   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5462 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5463 "
5464 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5465   cat >>confdefs.h <<_ACEOF
5466 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5467 _ACEOF
5468
5469 fi
5470
5471 done
5472
5473
5474
5475   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5476 if test "x$ac_cv_header_minix_config_h" = xyes; then :
5477   MINIX=yes
5478 else
5479   MINIX=
5480 fi
5481
5482
5483   if test "$MINIX" = yes; then
5484
5485 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5486
5487
5488 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5489
5490
5491 $as_echo "#define _MINIX 1" >>confdefs.h
5492
5493   fi
5494
5495
5496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5497 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5498 if ${ac_cv_safe_to_define___extensions__+:} false; then :
5499   $as_echo_n "(cached) " >&6
5500 else
5501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5502 /* end confdefs.h.  */
5503
5504 #         define __EXTENSIONS__ 1
5505           $ac_includes_default
5506 int
5507 main ()
5508 {
5509
5510   ;
5511   return 0;
5512 }
5513 _ACEOF
5514 if ac_fn_c_try_compile "$LINENO"; then :
5515   ac_cv_safe_to_define___extensions__=yes
5516 else
5517   ac_cv_safe_to_define___extensions__=no
5518 fi
5519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5520 fi
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5522 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5523   test $ac_cv_safe_to_define___extensions__ = yes &&
5524     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5525
5526   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5527
5528   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5529
5530   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5531
5532   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5533
5534
5535
5536
5537 # Make sure we can run config.sub.
5538 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5539   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5540
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5542 $as_echo_n "checking build system type... " >&6; }
5543 if ${ac_cv_build+:} false; then :
5544   $as_echo_n "(cached) " >&6
5545 else
5546   ac_build_alias=$build_alias
5547 test "x$ac_build_alias" = x &&
5548   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5549 test "x$ac_build_alias" = x &&
5550   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5551 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5552   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5553
5554 fi
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5556 $as_echo "$ac_cv_build" >&6; }
5557 case $ac_cv_build in
5558 *-*-*) ;;
5559 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5560 esac
5561 build=$ac_cv_build
5562 ac_save_IFS=$IFS; IFS='-'
5563 set x $ac_cv_build
5564 shift
5565 build_cpu=$1
5566 build_vendor=$2
5567 shift; shift
5568 # Remember, the first character of IFS is used to create $*,
5569 # except with old shells:
5570 build_os=$*
5571 IFS=$ac_save_IFS
5572 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5573
5574
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5576 $as_echo_n "checking host system type... " >&6; }
5577 if ${ac_cv_host+:} false; then :
5578   $as_echo_n "(cached) " >&6
5579 else
5580   if test "x$host_alias" = x; then
5581   ac_cv_host=$ac_cv_build
5582 else
5583   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5584     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5585 fi
5586
5587 fi
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5589 $as_echo "$ac_cv_host" >&6; }
5590 case $ac_cv_host in
5591 *-*-*) ;;
5592 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5593 esac
5594 host=$ac_cv_host
5595 ac_save_IFS=$IFS; IFS='-'
5596 set x $ac_cv_host
5597 shift
5598 host_cpu=$1
5599 host_vendor=$2
5600 shift; shift
5601 # Remember, the first character of IFS is used to create $*,
5602 # except with old shells:
5603 host_os=$*
5604 IFS=$ac_save_IFS
5605 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5606
5607
5608 enable_win32_dll=yes
5609
5610 case $host in
5611 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
5612   if test -n "$ac_tool_prefix"; then
5613   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5614 set dummy ${ac_tool_prefix}as; ac_word=$2
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5616 $as_echo_n "checking for $ac_word... " >&6; }
5617 if ${ac_cv_prog_AS+:} false; then :
5618   $as_echo_n "(cached) " >&6
5619 else
5620   if test -n "$AS"; then
5621   ac_cv_prog_AS="$AS" # Let the user override the test.
5622 else
5623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5624 for as_dir in $PATH
5625 do
5626   IFS=$as_save_IFS
5627   test -z "$as_dir" && as_dir=.
5628     for ac_exec_ext in '' $ac_executable_extensions; do
5629   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5630     ac_cv_prog_AS="${ac_tool_prefix}as"
5631     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5632     break 2
5633   fi
5634 done
5635   done
5636 IFS=$as_save_IFS
5637
5638 fi
5639 fi
5640 AS=$ac_cv_prog_AS
5641 if test -n "$AS"; then
5642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5643 $as_echo "$AS" >&6; }
5644 else
5645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5646 $as_echo "no" >&6; }
5647 fi
5648
5649
5650 fi
5651 if test -z "$ac_cv_prog_AS"; then
5652   ac_ct_AS=$AS
5653   # Extract the first word of "as", so it can be a program name with args.
5654 set dummy as; ac_word=$2
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5656 $as_echo_n "checking for $ac_word... " >&6; }
5657 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5658   $as_echo_n "(cached) " >&6
5659 else
5660   if test -n "$ac_ct_AS"; then
5661   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5662 else
5663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5664 for as_dir in $PATH
5665 do
5666   IFS=$as_save_IFS
5667   test -z "$as_dir" && as_dir=.
5668     for ac_exec_ext in '' $ac_executable_extensions; do
5669   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5670     ac_cv_prog_ac_ct_AS="as"
5671     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5672     break 2
5673   fi
5674 done
5675   done
5676 IFS=$as_save_IFS
5677
5678 fi
5679 fi
5680 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5681 if test -n "$ac_ct_AS"; then
5682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5683 $as_echo "$ac_ct_AS" >&6; }
5684 else
5685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5686 $as_echo "no" >&6; }
5687 fi
5688
5689   if test "x$ac_ct_AS" = x; then
5690     AS="false"
5691   else
5692     case $cross_compiling:$ac_tool_warned in
5693 yes:)
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5695 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5696 ac_tool_warned=yes ;;
5697 esac
5698     AS=$ac_ct_AS
5699   fi
5700 else
5701   AS="$ac_cv_prog_AS"
5702 fi
5703
5704   if test -n "$ac_tool_prefix"; then
5705   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5706 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5708 $as_echo_n "checking for $ac_word... " >&6; }
5709 if ${ac_cv_prog_DLLTOOL+:} false; then :
5710   $as_echo_n "(cached) " >&6
5711 else
5712   if test -n "$DLLTOOL"; then
5713   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5714 else
5715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5716 for as_dir in $PATH
5717 do
5718   IFS=$as_save_IFS
5719   test -z "$as_dir" && as_dir=.
5720     for ac_exec_ext in '' $ac_executable_extensions; do
5721   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5722     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5723     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5724     break 2
5725   fi
5726 done
5727   done
5728 IFS=$as_save_IFS
5729
5730 fi
5731 fi
5732 DLLTOOL=$ac_cv_prog_DLLTOOL
5733 if test -n "$DLLTOOL"; then
5734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5735 $as_echo "$DLLTOOL" >&6; }
5736 else
5737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5738 $as_echo "no" >&6; }
5739 fi
5740
5741
5742 fi
5743 if test -z "$ac_cv_prog_DLLTOOL"; then
5744   ac_ct_DLLTOOL=$DLLTOOL
5745   # Extract the first word of "dlltool", so it can be a program name with args.
5746 set dummy dlltool; ac_word=$2
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5748 $as_echo_n "checking for $ac_word... " >&6; }
5749 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5750   $as_echo_n "(cached) " >&6
5751 else
5752   if test -n "$ac_ct_DLLTOOL"; then
5753   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5754 else
5755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5756 for as_dir in $PATH
5757 do
5758   IFS=$as_save_IFS
5759   test -z "$as_dir" && as_dir=.
5760     for ac_exec_ext in '' $ac_executable_extensions; do
5761   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5762     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5763     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5764     break 2
5765   fi
5766 done
5767   done
5768 IFS=$as_save_IFS
5769
5770 fi
5771 fi
5772 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5773 if test -n "$ac_ct_DLLTOOL"; then
5774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5775 $as_echo "$ac_ct_DLLTOOL" >&6; }
5776 else
5777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5778 $as_echo "no" >&6; }
5779 fi
5780
5781   if test "x$ac_ct_DLLTOOL" = x; then
5782     DLLTOOL="false"
5783   else
5784     case $cross_compiling:$ac_tool_warned in
5785 yes:)
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5787 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5788 ac_tool_warned=yes ;;
5789 esac
5790     DLLTOOL=$ac_ct_DLLTOOL
5791   fi
5792 else
5793   DLLTOOL="$ac_cv_prog_DLLTOOL"
5794 fi
5795
5796   if test -n "$ac_tool_prefix"; then
5797   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5798 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5800 $as_echo_n "checking for $ac_word... " >&6; }
5801 if ${ac_cv_prog_OBJDUMP+:} false; then :
5802   $as_echo_n "(cached) " >&6
5803 else
5804   if test -n "$OBJDUMP"; then
5805   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5806 else
5807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5808 for as_dir in $PATH
5809 do
5810   IFS=$as_save_IFS
5811   test -z "$as_dir" && as_dir=.
5812     for ac_exec_ext in '' $ac_executable_extensions; do
5813   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5814     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5815     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5816     break 2
5817   fi
5818 done
5819   done
5820 IFS=$as_save_IFS
5821
5822 fi
5823 fi
5824 OBJDUMP=$ac_cv_prog_OBJDUMP
5825 if test -n "$OBJDUMP"; then
5826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5827 $as_echo "$OBJDUMP" >&6; }
5828 else
5829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5830 $as_echo "no" >&6; }
5831 fi
5832
5833
5834 fi
5835 if test -z "$ac_cv_prog_OBJDUMP"; then
5836   ac_ct_OBJDUMP=$OBJDUMP
5837   # Extract the first word of "objdump", so it can be a program name with args.
5838 set dummy objdump; ac_word=$2
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5840 $as_echo_n "checking for $ac_word... " >&6; }
5841 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5842   $as_echo_n "(cached) " >&6
5843 else
5844   if test -n "$ac_ct_OBJDUMP"; then
5845   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5846 else
5847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5848 for as_dir in $PATH
5849 do
5850   IFS=$as_save_IFS
5851   test -z "$as_dir" && as_dir=.
5852     for ac_exec_ext in '' $ac_executable_extensions; do
5853   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5854     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5855     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5856     break 2
5857   fi
5858 done
5859   done
5860 IFS=$as_save_IFS
5861
5862 fi
5863 fi
5864 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5865 if test -n "$ac_ct_OBJDUMP"; then
5866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5867 $as_echo "$ac_ct_OBJDUMP" >&6; }
5868 else
5869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5870 $as_echo "no" >&6; }
5871 fi
5872
5873   if test "x$ac_ct_OBJDUMP" = x; then
5874     OBJDUMP="false"
5875   else
5876     case $cross_compiling:$ac_tool_warned in
5877 yes:)
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5879 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5880 ac_tool_warned=yes ;;
5881 esac
5882     OBJDUMP=$ac_ct_OBJDUMP
5883   fi
5884 else
5885   OBJDUMP="$ac_cv_prog_OBJDUMP"
5886 fi
5887
5888   ;;
5889 esac
5890
5891 test -z "$AS" && AS=as
5892
5893
5894
5895
5896
5897 test -z "$DLLTOOL" && DLLTOOL=dlltool
5898
5899
5900
5901
5902
5903 test -z "$OBJDUMP" && OBJDUMP=objdump
5904
5905
5906
5907
5908
5909
5910
5911 case `pwd` in
5912   *\ * | *\     *)
5913     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5914 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5915 esac
5916
5917
5918
5919 macro_version='2.4.2'
5920 macro_revision='1.3337'
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934 ltmain="$ac_aux_dir/ltmain.sh"
5935
5936 # Backslashify metacharacters that are still active within
5937 # double-quoted strings.
5938 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5939
5940 # Same as above, but do not quote variable references.
5941 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5942
5943 # Sed substitution to delay expansion of an escaped shell variable in a
5944 # double_quote_subst'ed string.
5945 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5946
5947 # Sed substitution to delay expansion of an escaped single quote.
5948 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5949
5950 # Sed substitution to avoid accidental globbing in evaled expressions
5951 no_glob_subst='s/\*/\\\*/g'
5952
5953 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5954 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5955 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5956
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5958 $as_echo_n "checking how to print strings... " >&6; }
5959 # Test print first, because it will be a builtin if present.
5960 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5961    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5962   ECHO='print -r --'
5963 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5964   ECHO='printf %s\n'
5965 else
5966   # Use this function as a fallback that always works.
5967   func_fallback_echo ()
5968   {
5969     eval 'cat <<_LTECHO_EOF
5970 $1
5971 _LTECHO_EOF'
5972   }
5973   ECHO='func_fallback_echo'
5974 fi
5975
5976 # func_echo_all arg...
5977 # Invoke $ECHO with all args, space-separated.
5978 func_echo_all ()
5979 {
5980     $ECHO ""
5981 }
5982
5983 case "$ECHO" in
5984   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5985 $as_echo "printf" >&6; } ;;
5986   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5987 $as_echo "print -r" >&6; } ;;
5988   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5989 $as_echo "cat" >&6; } ;;
5990 esac
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6006 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6007 if ${ac_cv_path_SED+:} false; then :
6008   $as_echo_n "(cached) " >&6
6009 else
6010             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6011      for ac_i in 1 2 3 4 5 6 7; do
6012        ac_script="$ac_script$as_nl$ac_script"
6013      done
6014      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6015      { ac_script=; unset ac_script;}
6016      if test -z "$SED"; then
6017   ac_path_SED_found=false
6018   # Loop through the user's path and test for each of PROGNAME-LIST
6019   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6020 for as_dir in $PATH
6021 do
6022   IFS=$as_save_IFS
6023   test -z "$as_dir" && as_dir=.
6024     for ac_prog in sed gsed; do
6025     for ac_exec_ext in '' $ac_executable_extensions; do
6026       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6027       as_fn_executable_p "$ac_path_SED" || continue
6028 # Check for GNU ac_path_SED and select it if it is found.
6029   # Check for GNU $ac_path_SED
6030 case `"$ac_path_SED" --version 2>&1` in
6031 *GNU*)
6032   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6033 *)
6034   ac_count=0
6035   $as_echo_n 0123456789 >"conftest.in"
6036   while :
6037   do
6038     cat "conftest.in" "conftest.in" >"conftest.tmp"
6039     mv "conftest.tmp" "conftest.in"
6040     cp "conftest.in" "conftest.nl"
6041     $as_echo '' >> "conftest.nl"
6042     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6043     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6044     as_fn_arith $ac_count + 1 && ac_count=$as_val
6045     if test $ac_count -gt ${ac_path_SED_max-0}; then
6046       # Best one so far, save it but keep looking for a better one
6047       ac_cv_path_SED="$ac_path_SED"
6048       ac_path_SED_max=$ac_count
6049     fi
6050     # 10*(2^10) chars as input seems more than enough
6051     test $ac_count -gt 10 && break
6052   done
6053   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6054 esac
6055
6056       $ac_path_SED_found && break 3
6057     done
6058   done
6059   done
6060 IFS=$as_save_IFS
6061   if test -z "$ac_cv_path_SED"; then
6062     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6063   fi
6064 else
6065   ac_cv_path_SED=$SED
6066 fi
6067
6068 fi
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6070 $as_echo "$ac_cv_path_SED" >&6; }
6071  SED="$ac_cv_path_SED"
6072   rm -f conftest.sed
6073
6074 test -z "$SED" && SED=sed
6075 Xsed="$SED -e 1s/^X//"
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6088 $as_echo_n "checking for fgrep... " >&6; }
6089 if ${ac_cv_path_FGREP+:} false; then :
6090   $as_echo_n "(cached) " >&6
6091 else
6092   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6093    then ac_cv_path_FGREP="$GREP -F"
6094    else
6095      if test -z "$FGREP"; then
6096   ac_path_FGREP_found=false
6097   # Loop through the user's path and test for each of PROGNAME-LIST
6098   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6099 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6100 do
6101   IFS=$as_save_IFS
6102   test -z "$as_dir" && as_dir=.
6103     for ac_prog in fgrep; do
6104     for ac_exec_ext in '' $ac_executable_extensions; do
6105       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6106       as_fn_executable_p "$ac_path_FGREP" || continue
6107 # Check for GNU ac_path_FGREP and select it if it is found.
6108   # Check for GNU $ac_path_FGREP
6109 case `"$ac_path_FGREP" --version 2>&1` in
6110 *GNU*)
6111   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6112 *)
6113   ac_count=0
6114   $as_echo_n 0123456789 >"conftest.in"
6115   while :
6116   do
6117     cat "conftest.in" "conftest.in" >"conftest.tmp"
6118     mv "conftest.tmp" "conftest.in"
6119     cp "conftest.in" "conftest.nl"
6120     $as_echo 'FGREP' >> "conftest.nl"
6121     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6122     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6123     as_fn_arith $ac_count + 1 && ac_count=$as_val
6124     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6125       # Best one so far, save it but keep looking for a better one
6126       ac_cv_path_FGREP="$ac_path_FGREP"
6127       ac_path_FGREP_max=$ac_count
6128     fi
6129     # 10*(2^10) chars as input seems more than enough
6130     test $ac_count -gt 10 && break
6131   done
6132   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6133 esac
6134
6135       $ac_path_FGREP_found && break 3
6136     done
6137   done
6138   done
6139 IFS=$as_save_IFS
6140   if test -z "$ac_cv_path_FGREP"; then
6141     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6142   fi
6143 else
6144   ac_cv_path_FGREP=$FGREP
6145 fi
6146
6147    fi
6148 fi
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6150 $as_echo "$ac_cv_path_FGREP" >&6; }
6151  FGREP="$ac_cv_path_FGREP"
6152
6153
6154 test -z "$GREP" && GREP=grep
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174 # Check whether --with-gnu-ld was given.
6175 if test "${with_gnu_ld+set}" = set; then :
6176   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6177 else
6178   with_gnu_ld=no
6179 fi
6180
6181 ac_prog=ld
6182 if test "$GCC" = yes; then
6183   # Check if gcc -print-prog-name=ld gives a path.
6184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6185 $as_echo_n "checking for ld used by $CC... " >&6; }
6186   case $host in
6187   *-*-mingw*)
6188     # gcc leaves a trailing carriage return which upsets mingw
6189     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6190   *)
6191     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6192   esac
6193   case $ac_prog in
6194     # Accept absolute paths.
6195     [\\/]* | ?:[\\/]*)
6196       re_direlt='/[^/][^/]*/\.\./'
6197       # Canonicalize the pathname of ld
6198       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6199       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6200         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6201       done
6202       test -z "$LD" && LD="$ac_prog"
6203       ;;
6204   "")
6205     # If it fails, then pretend we aren't using GCC.
6206     ac_prog=ld
6207     ;;
6208   *)
6209     # If it is relative, then search for the first ld in PATH.
6210     with_gnu_ld=unknown
6211     ;;
6212   esac
6213 elif test "$with_gnu_ld" = yes; then
6214   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6215 $as_echo_n "checking for GNU ld... " >&6; }
6216 else
6217   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6218 $as_echo_n "checking for non-GNU ld... " >&6; }
6219 fi
6220 if ${lt_cv_path_LD+:} false; then :
6221   $as_echo_n "(cached) " >&6
6222 else
6223   if test -z "$LD"; then
6224   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6225   for ac_dir in $PATH; do
6226     IFS="$lt_save_ifs"
6227     test -z "$ac_dir" && ac_dir=.
6228     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6229       lt_cv_path_LD="$ac_dir/$ac_prog"
6230       # Check to see if the program is GNU ld.  I'd rather use --version,
6231       # but apparently some variants of GNU ld only accept -v.
6232       # Break only if it was the GNU/non-GNU ld that we prefer.
6233       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6234       *GNU* | *'with BFD'*)
6235         test "$with_gnu_ld" != no && break
6236         ;;
6237       *)
6238         test "$with_gnu_ld" != yes && break
6239         ;;
6240       esac
6241     fi
6242   done
6243   IFS="$lt_save_ifs"
6244 else
6245   lt_cv_path_LD="$LD" # Let the user override the test with a path.
6246 fi
6247 fi
6248
6249 LD="$lt_cv_path_LD"
6250 if test -n "$LD"; then
6251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6252 $as_echo "$LD" >&6; }
6253 else
6254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6255 $as_echo "no" >&6; }
6256 fi
6257 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6259 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6260 if ${lt_cv_prog_gnu_ld+:} false; then :
6261   $as_echo_n "(cached) " >&6
6262 else
6263   # I'd rather use --version here, but apparently some GNU lds only accept -v.
6264 case `$LD -v 2>&1 </dev/null` in
6265 *GNU* | *'with BFD'*)
6266   lt_cv_prog_gnu_ld=yes
6267   ;;
6268 *)
6269   lt_cv_prog_gnu_ld=no
6270   ;;
6271 esac
6272 fi
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6274 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6275 with_gnu_ld=$lt_cv_prog_gnu_ld
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6286 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6287 if ${lt_cv_path_NM+:} false; then :
6288   $as_echo_n "(cached) " >&6
6289 else
6290   if test -n "$NM"; then
6291   # Let the user override the test.
6292   lt_cv_path_NM="$NM"
6293 else
6294   lt_nm_to_check="${ac_tool_prefix}nm"
6295   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6296     lt_nm_to_check="$lt_nm_to_check nm"
6297   fi
6298   for lt_tmp_nm in $lt_nm_to_check; do
6299     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6300     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6301       IFS="$lt_save_ifs"
6302       test -z "$ac_dir" && ac_dir=.
6303       tmp_nm="$ac_dir/$lt_tmp_nm"
6304       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6305         # Check to see if the nm accepts a BSD-compat flag.
6306         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6307         #   nm: unknown option "B" ignored
6308         # Tru64's nm complains that /dev/null is an invalid object file
6309         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6310         */dev/null* | *'Invalid file or object type'*)
6311           lt_cv_path_NM="$tmp_nm -B"
6312           break
6313           ;;
6314         *)
6315           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6316           */dev/null*)
6317             lt_cv_path_NM="$tmp_nm -p"
6318             break
6319             ;;
6320           *)
6321             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6322             continue # so that we can try to find one that supports BSD flags
6323             ;;
6324           esac
6325           ;;
6326         esac
6327       fi
6328     done
6329     IFS="$lt_save_ifs"
6330   done
6331   : ${lt_cv_path_NM=no}
6332 fi
6333 fi
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6335 $as_echo "$lt_cv_path_NM" >&6; }
6336 if test "$lt_cv_path_NM" != "no"; then
6337   NM="$lt_cv_path_NM"
6338 else
6339   # Didn't find any BSD compatible name lister, look for dumpbin.
6340   if test -n "$DUMPBIN"; then :
6341     # Let the user override the test.
6342   else
6343     if test -n "$ac_tool_prefix"; then
6344   for ac_prog in dumpbin "link -dump"
6345   do
6346     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6347 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6349 $as_echo_n "checking for $ac_word... " >&6; }
6350 if ${ac_cv_prog_DUMPBIN+:} false; then :
6351   $as_echo_n "(cached) " >&6
6352 else
6353   if test -n "$DUMPBIN"; then
6354   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6355 else
6356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6357 for as_dir in $PATH
6358 do
6359   IFS=$as_save_IFS
6360   test -z "$as_dir" && as_dir=.
6361     for ac_exec_ext in '' $ac_executable_extensions; do
6362   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6363     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6364     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6365     break 2
6366   fi
6367 done
6368   done
6369 IFS=$as_save_IFS
6370
6371 fi
6372 fi
6373 DUMPBIN=$ac_cv_prog_DUMPBIN
6374 if test -n "$DUMPBIN"; then
6375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6376 $as_echo "$DUMPBIN" >&6; }
6377 else
6378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6379 $as_echo "no" >&6; }
6380 fi
6381
6382
6383     test -n "$DUMPBIN" && break
6384   done
6385 fi
6386 if test -z "$DUMPBIN"; then
6387   ac_ct_DUMPBIN=$DUMPBIN
6388   for ac_prog in dumpbin "link -dump"
6389 do
6390   # Extract the first word of "$ac_prog", so it can be a program name with args.
6391 set dummy $ac_prog; ac_word=$2
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6393 $as_echo_n "checking for $ac_word... " >&6; }
6394 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6395   $as_echo_n "(cached) " >&6
6396 else
6397   if test -n "$ac_ct_DUMPBIN"; then
6398   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6399 else
6400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6401 for as_dir in $PATH
6402 do
6403   IFS=$as_save_IFS
6404   test -z "$as_dir" && as_dir=.
6405     for ac_exec_ext in '' $ac_executable_extensions; do
6406   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6407     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6408     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6409     break 2
6410   fi
6411 done
6412   done
6413 IFS=$as_save_IFS
6414
6415 fi
6416 fi
6417 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6418 if test -n "$ac_ct_DUMPBIN"; then
6419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6420 $as_echo "$ac_ct_DUMPBIN" >&6; }
6421 else
6422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6423 $as_echo "no" >&6; }
6424 fi
6425
6426
6427   test -n "$ac_ct_DUMPBIN" && break
6428 done
6429
6430   if test "x$ac_ct_DUMPBIN" = x; then
6431     DUMPBIN=":"
6432   else
6433     case $cross_compiling:$ac_tool_warned in
6434 yes:)
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6437 ac_tool_warned=yes ;;
6438 esac
6439     DUMPBIN=$ac_ct_DUMPBIN
6440   fi
6441 fi
6442
6443     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6444     *COFF*)
6445       DUMPBIN="$DUMPBIN -symbols"
6446       ;;
6447     *)
6448       DUMPBIN=:
6449       ;;
6450     esac
6451   fi
6452
6453   if test "$DUMPBIN" != ":"; then
6454     NM="$DUMPBIN"
6455   fi
6456 fi
6457 test -z "$NM" && NM=nm
6458
6459
6460
6461
6462
6463
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6465 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6466 if ${lt_cv_nm_interface+:} false; then :
6467   $as_echo_n "(cached) " >&6
6468 else
6469   lt_cv_nm_interface="BSD nm"
6470   echo "int some_variable = 0;" > conftest.$ac_ext
6471   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6472   (eval "$ac_compile" 2>conftest.err)
6473   cat conftest.err >&5
6474   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6475   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6476   cat conftest.err >&5
6477   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6478   cat conftest.out >&5
6479   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6480     lt_cv_nm_interface="MS dumpbin"
6481   fi
6482   rm -f conftest*
6483 fi
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6485 $as_echo "$lt_cv_nm_interface" >&6; }
6486
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6488 $as_echo_n "checking whether ln -s works... " >&6; }
6489 LN_S=$as_ln_s
6490 if test "$LN_S" = "ln -s"; then
6491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6492 $as_echo "yes" >&6; }
6493 else
6494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6495 $as_echo "no, using $LN_S" >&6; }
6496 fi
6497
6498 # find the maximum length of command line arguments
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6500 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6501 if ${lt_cv_sys_max_cmd_len+:} false; then :
6502   $as_echo_n "(cached) " >&6
6503 else
6504     i=0
6505   teststring="ABCD"
6506
6507   case $build_os in
6508   msdosdjgpp*)
6509     # On DJGPP, this test can blow up pretty badly due to problems in libc
6510     # (any single argument exceeding 2000 bytes causes a buffer overrun
6511     # during glob expansion).  Even if it were fixed, the result of this
6512     # check would be larger than it should be.
6513     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6514     ;;
6515
6516   gnu*)
6517     # Under GNU Hurd, this test is not required because there is
6518     # no limit to the length of command line arguments.
6519     # Libtool will interpret -1 as no limit whatsoever
6520     lt_cv_sys_max_cmd_len=-1;
6521     ;;
6522
6523   cygwin* | mingw* | cegcc*)
6524     # On Win9x/ME, this test blows up -- it succeeds, but takes
6525     # about 5 minutes as the teststring grows exponentially.
6526     # Worse, since 9x/ME are not pre-emptively multitasking,
6527     # you end up with a "frozen" computer, even though with patience
6528     # the test eventually succeeds (with a max line length of 256k).
6529     # Instead, let's just punt: use the minimum linelength reported by
6530     # all of the supported platforms: 8192 (on NT/2K/XP).
6531     lt_cv_sys_max_cmd_len=8192;
6532     ;;
6533
6534   mint*)
6535     # On MiNT this can take a long time and run out of memory.
6536     lt_cv_sys_max_cmd_len=8192;
6537     ;;
6538
6539   amigaos*)
6540     # On AmigaOS with pdksh, this test takes hours, literally.
6541     # So we just punt and use a minimum line length of 8192.
6542     lt_cv_sys_max_cmd_len=8192;
6543     ;;
6544
6545   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6546     # This has been around since 386BSD, at least.  Likely further.
6547     if test -x /sbin/sysctl; then
6548       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6549     elif test -x /usr/sbin/sysctl; then
6550       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6551     else
6552       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6553     fi
6554     # And add a safety zone
6555     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6556     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6557     ;;
6558
6559   interix*)
6560     # We know the value 262144 and hardcode it with a safety zone (like BSD)
6561     lt_cv_sys_max_cmd_len=196608
6562     ;;
6563
6564   os2*)
6565     # The test takes a long time on OS/2.
6566     lt_cv_sys_max_cmd_len=8192
6567     ;;
6568
6569   osf*)
6570     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6571     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6572     # nice to cause kernel panics so lets avoid the loop below.
6573     # First set a reasonable default.
6574     lt_cv_sys_max_cmd_len=16384
6575     #
6576     if test -x /sbin/sysconfig; then
6577       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6578         *1*) lt_cv_sys_max_cmd_len=-1 ;;
6579       esac
6580     fi
6581     ;;
6582   sco3.2v5*)
6583     lt_cv_sys_max_cmd_len=102400
6584     ;;
6585   sysv5* | sco5v6* | sysv4.2uw2*)
6586     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6587     if test -n "$kargmax"; then
6588       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6589     else
6590       lt_cv_sys_max_cmd_len=32768
6591     fi
6592     ;;
6593   *)
6594     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6595     if test -n "$lt_cv_sys_max_cmd_len"; then
6596       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6597       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6598     else
6599       # Make teststring a little bigger before we do anything with it.
6600       # a 1K string should be a reasonable start.
6601       for i in 1 2 3 4 5 6 7 8 ; do
6602         teststring=$teststring$teststring
6603       done
6604       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6605       # If test is not a shell built-in, we'll probably end up computing a
6606       # maximum length that is only half of the actual maximum length, but
6607       # we can't tell.
6608       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6609                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6610               test $i != 17 # 1/2 MB should be enough
6611       do
6612         i=`expr $i + 1`
6613         teststring=$teststring$teststring
6614       done
6615       # Only check the string length outside the loop.
6616       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6617       teststring=
6618       # Add a significant safety factor because C++ compilers can tack on
6619       # massive amounts of additional arguments before passing them to the
6620       # linker.  It appears as though 1/2 is a usable value.
6621       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6622     fi
6623     ;;
6624   esac
6625
6626 fi
6627
6628 if test -n $lt_cv_sys_max_cmd_len ; then
6629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6630 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6631 else
6632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6633 $as_echo "none" >&6; }
6634 fi
6635 max_cmd_len=$lt_cv_sys_max_cmd_len
6636
6637
6638
6639
6640
6641
6642 : ${CP="cp -f"}
6643 : ${MV="mv -f"}
6644 : ${RM="rm -f"}
6645
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6647 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6648 # Try some XSI features
6649 xsi_shell=no
6650 ( _lt_dummy="a/b/c"
6651   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6652       = c,a/b,b/c, \
6653     && eval 'test $(( 1 + 1 )) -eq 2 \
6654     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6655   && xsi_shell=yes
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6657 $as_echo "$xsi_shell" >&6; }
6658
6659
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6661 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6662 lt_shell_append=no
6663 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6664     >/dev/null 2>&1 \
6665   && lt_shell_append=yes
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6667 $as_echo "$lt_shell_append" >&6; }
6668
6669
6670 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6671   lt_unset=unset
6672 else
6673   lt_unset=false
6674 fi
6675
6676
6677
6678
6679
6680 # test EBCDIC or ASCII
6681 case `echo X|tr X '\101'` in
6682  A) # ASCII based system
6683     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6684   lt_SP2NL='tr \040 \012'
6685   lt_NL2SP='tr \015\012 \040\040'
6686   ;;
6687  *) # EBCDIC based system
6688   lt_SP2NL='tr \100 \n'
6689   lt_NL2SP='tr \r\n \100\100'
6690   ;;
6691 esac
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6702 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6703 if ${lt_cv_to_host_file_cmd+:} false; then :
6704   $as_echo_n "(cached) " >&6
6705 else
6706   case $host in
6707   *-*-mingw* )
6708     case $build in
6709       *-*-mingw* ) # actually msys
6710         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6711         ;;
6712       *-*-cygwin* )
6713         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6714         ;;
6715       * ) # otherwise, assume *nix
6716         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6717         ;;
6718     esac
6719     ;;
6720   *-*-cygwin* )
6721     case $build in
6722       *-*-mingw* ) # actually msys
6723         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6724         ;;
6725       *-*-cygwin* )
6726         lt_cv_to_host_file_cmd=func_convert_file_noop
6727         ;;
6728       * ) # otherwise, assume *nix
6729         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6730         ;;
6731     esac
6732     ;;
6733   * ) # unhandled hosts (and "normal" native builds)
6734     lt_cv_to_host_file_cmd=func_convert_file_noop
6735     ;;
6736 esac
6737
6738 fi
6739
6740 to_host_file_cmd=$lt_cv_to_host_file_cmd
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6742 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6743
6744
6745
6746
6747
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6749 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6750 if ${lt_cv_to_tool_file_cmd+:} false; then :
6751   $as_echo_n "(cached) " >&6
6752 else
6753   #assume ordinary cross tools, or native build.
6754 lt_cv_to_tool_file_cmd=func_convert_file_noop
6755 case $host in
6756   *-*-mingw* )
6757     case $build in
6758       *-*-mingw* ) # actually msys
6759         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6760         ;;
6761     esac
6762     ;;
6763 esac
6764
6765 fi
6766
6767 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6769 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6770
6771
6772
6773
6774
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6776 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6777 if ${lt_cv_ld_reload_flag+:} false; then :
6778   $as_echo_n "(cached) " >&6
6779 else
6780   lt_cv_ld_reload_flag='-r'
6781 fi
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6783 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6784 reload_flag=$lt_cv_ld_reload_flag
6785 case $reload_flag in
6786 "" | " "*) ;;
6787 *) reload_flag=" $reload_flag" ;;
6788 esac
6789 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6790 case $host_os in
6791   cygwin* | mingw* | pw32* | cegcc*)
6792     if test "$GCC" != yes; then
6793       reload_cmds=false
6794     fi
6795     ;;
6796   darwin*)
6797     if test "$GCC" = yes; then
6798       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6799     else
6800       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6801     fi
6802     ;;
6803 esac
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813 if test -n "$ac_tool_prefix"; then
6814   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6815 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6817 $as_echo_n "checking for $ac_word... " >&6; }
6818 if ${ac_cv_prog_OBJDUMP+:} false; then :
6819   $as_echo_n "(cached) " >&6
6820 else
6821   if test -n "$OBJDUMP"; then
6822   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6823 else
6824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6825 for as_dir in $PATH
6826 do
6827   IFS=$as_save_IFS
6828   test -z "$as_dir" && as_dir=.
6829     for ac_exec_ext in '' $ac_executable_extensions; do
6830   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6831     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6832     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6833     break 2
6834   fi
6835 done
6836   done
6837 IFS=$as_save_IFS
6838
6839 fi
6840 fi
6841 OBJDUMP=$ac_cv_prog_OBJDUMP
6842 if test -n "$OBJDUMP"; then
6843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6844 $as_echo "$OBJDUMP" >&6; }
6845 else
6846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6847 $as_echo "no" >&6; }
6848 fi
6849
6850
6851 fi
6852 if test -z "$ac_cv_prog_OBJDUMP"; then
6853   ac_ct_OBJDUMP=$OBJDUMP
6854   # Extract the first word of "objdump", so it can be a program name with args.
6855 set dummy objdump; ac_word=$2
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6857 $as_echo_n "checking for $ac_word... " >&6; }
6858 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6859   $as_echo_n "(cached) " >&6
6860 else
6861   if test -n "$ac_ct_OBJDUMP"; then
6862   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6863 else
6864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6865 for as_dir in $PATH
6866 do
6867   IFS=$as_save_IFS
6868   test -z "$as_dir" && as_dir=.
6869     for ac_exec_ext in '' $ac_executable_extensions; do
6870   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6871     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6872     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6873     break 2
6874   fi
6875 done
6876   done
6877 IFS=$as_save_IFS
6878
6879 fi
6880 fi
6881 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6882 if test -n "$ac_ct_OBJDUMP"; then
6883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6884 $as_echo "$ac_ct_OBJDUMP" >&6; }
6885 else
6886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6887 $as_echo "no" >&6; }
6888 fi
6889
6890   if test "x$ac_ct_OBJDUMP" = x; then
6891     OBJDUMP="false"
6892   else
6893     case $cross_compiling:$ac_tool_warned in
6894 yes:)
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6897 ac_tool_warned=yes ;;
6898 esac
6899     OBJDUMP=$ac_ct_OBJDUMP
6900   fi
6901 else
6902   OBJDUMP="$ac_cv_prog_OBJDUMP"
6903 fi
6904
6905 test -z "$OBJDUMP" && OBJDUMP=objdump
6906
6907
6908
6909
6910
6911
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6913 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6914 if ${lt_cv_deplibs_check_method+:} false; then :
6915   $as_echo_n "(cached) " >&6
6916 else
6917   lt_cv_file_magic_cmd='$MAGIC_CMD'
6918 lt_cv_file_magic_test_file=
6919 lt_cv_deplibs_check_method='unknown'
6920 # Need to set the preceding variable on all platforms that support
6921 # interlibrary dependencies.
6922 # 'none' -- dependencies not supported.
6923 # `unknown' -- same as none, but documents that we really don't know.
6924 # 'pass_all' -- all dependencies passed with no checks.
6925 # 'test_compile' -- check by making test program.
6926 # 'file_magic [[regex]]' -- check by looking for files in library path
6927 # which responds to the $file_magic_cmd with a given extended regex.
6928 # If you have `file' or equivalent on your system and you're not sure
6929 # whether `pass_all' will *always* work, you probably want this one.
6930
6931 case $host_os in
6932 aix[4-9]*)
6933   lt_cv_deplibs_check_method=pass_all
6934   ;;
6935
6936 beos*)
6937   lt_cv_deplibs_check_method=pass_all
6938   ;;
6939
6940 bsdi[45]*)
6941   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6942   lt_cv_file_magic_cmd='/usr/bin/file -L'
6943   lt_cv_file_magic_test_file=/shlib/libc.so
6944   ;;
6945
6946 cygwin*)
6947   # func_win32_libid is a shell function defined in ltmain.sh
6948   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6949   lt_cv_file_magic_cmd='func_win32_libid'
6950   ;;
6951
6952 mingw* | pw32*)
6953   # Base MSYS/MinGW do not provide the 'file' command needed by
6954   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6955   # unless we find 'file', for example because we are cross-compiling.
6956   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6957   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6958     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6959     lt_cv_file_magic_cmd='func_win32_libid'
6960   else
6961     # Keep this pattern in sync with the one in func_win32_libid.
6962     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6963     lt_cv_file_magic_cmd='$OBJDUMP -f'
6964   fi
6965   ;;
6966
6967 cegcc*)
6968   # use the weaker test based on 'objdump'. See mingw*.
6969   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6970   lt_cv_file_magic_cmd='$OBJDUMP -f'
6971   ;;
6972
6973 darwin* | rhapsody*)
6974   lt_cv_deplibs_check_method=pass_all
6975   ;;
6976
6977 freebsd* | dragonfly*)
6978   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6979     case $host_cpu in
6980     i*86 )
6981       # Not sure whether the presence of OpenBSD here was a mistake.
6982       # Let's accept both of them until this is cleared up.
6983       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6984       lt_cv_file_magic_cmd=/usr/bin/file
6985       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6986       ;;
6987     esac
6988   else
6989     lt_cv_deplibs_check_method=pass_all
6990   fi
6991   ;;
6992
6993 gnu*)
6994   lt_cv_deplibs_check_method=pass_all
6995   ;;
6996
6997 haiku*)
6998   lt_cv_deplibs_check_method=pass_all
6999   ;;
7000
7001 hpux10.20* | hpux11*)
7002   lt_cv_file_magic_cmd=/usr/bin/file
7003   case $host_cpu in
7004   ia64*)
7005     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7006     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7007     ;;
7008   hppa*64*)
7009     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
7010     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7011     ;;
7012   *)
7013     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7014     lt_cv_file_magic_test_file=/usr/lib/libc.sl
7015     ;;
7016   esac
7017   ;;
7018
7019 interix[3-9]*)
7020   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7021   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7022   ;;
7023
7024 irix5* | irix6* | nonstopux*)
7025   case $LD in
7026   *-32|*"-32 ") libmagic=32-bit;;
7027   *-n32|*"-n32 ") libmagic=N32;;
7028   *-64|*"-64 ") libmagic=64-bit;;
7029   *) libmagic=never-match;;
7030   esac
7031   lt_cv_deplibs_check_method=pass_all
7032   ;;
7033
7034 # This must be glibc/ELF.
7035 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7036   lt_cv_deplibs_check_method=pass_all
7037   ;;
7038
7039 netbsd*)
7040   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7041     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7042   else
7043     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7044   fi
7045   ;;
7046
7047 newos6*)
7048   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7049   lt_cv_file_magic_cmd=/usr/bin/file
7050   lt_cv_file_magic_test_file=/usr/lib/libnls.so
7051   ;;
7052
7053 *nto* | *qnx*)
7054   lt_cv_deplibs_check_method=pass_all
7055   ;;
7056
7057 openbsd*)
7058   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7059     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7060   else
7061     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7062   fi
7063   ;;
7064
7065 osf3* | osf4* | osf5*)
7066   lt_cv_deplibs_check_method=pass_all
7067   ;;
7068
7069 rdos*)
7070   lt_cv_deplibs_check_method=pass_all
7071   ;;
7072
7073 solaris*)
7074   lt_cv_deplibs_check_method=pass_all
7075   ;;
7076
7077 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7078   lt_cv_deplibs_check_method=pass_all
7079   ;;
7080
7081 sysv4 | sysv4.3*)
7082   case $host_vendor in
7083   motorola)
7084     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
7085     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7086     ;;
7087   ncr)
7088     lt_cv_deplibs_check_method=pass_all
7089     ;;
7090   sequent)
7091     lt_cv_file_magic_cmd='/bin/file'
7092     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7093     ;;
7094   sni)
7095     lt_cv_file_magic_cmd='/bin/file'
7096     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7097     lt_cv_file_magic_test_file=/lib/libc.so
7098     ;;
7099   siemens)
7100     lt_cv_deplibs_check_method=pass_all
7101     ;;
7102   pc)
7103     lt_cv_deplibs_check_method=pass_all
7104     ;;
7105   esac
7106   ;;
7107
7108 tpf*)
7109   lt_cv_deplibs_check_method=pass_all
7110   ;;
7111 esac
7112
7113 fi
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7115 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7116
7117 file_magic_glob=
7118 want_nocaseglob=no
7119 if test "$build" = "$host"; then
7120   case $host_os in
7121   mingw* | pw32*)
7122     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7123       want_nocaseglob=yes
7124     else
7125       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7126     fi
7127     ;;
7128   esac
7129 fi
7130
7131 file_magic_cmd=$lt_cv_file_magic_cmd
7132 deplibs_check_method=$lt_cv_deplibs_check_method
7133 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156 if test -n "$ac_tool_prefix"; then
7157   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7158 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7160 $as_echo_n "checking for $ac_word... " >&6; }
7161 if ${ac_cv_prog_DLLTOOL+:} false; then :
7162   $as_echo_n "(cached) " >&6
7163 else
7164   if test -n "$DLLTOOL"; then
7165   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7166 else
7167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7168 for as_dir in $PATH
7169 do
7170   IFS=$as_save_IFS
7171   test -z "$as_dir" && as_dir=.
7172     for ac_exec_ext in '' $ac_executable_extensions; do
7173   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7174     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7175     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7176     break 2
7177   fi
7178 done
7179   done
7180 IFS=$as_save_IFS
7181
7182 fi
7183 fi
7184 DLLTOOL=$ac_cv_prog_DLLTOOL
7185 if test -n "$DLLTOOL"; then
7186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7187 $as_echo "$DLLTOOL" >&6; }
7188 else
7189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7190 $as_echo "no" >&6; }
7191 fi
7192
7193
7194 fi
7195 if test -z "$ac_cv_prog_DLLTOOL"; then
7196   ac_ct_DLLTOOL=$DLLTOOL
7197   # Extract the first word of "dlltool", so it can be a program name with args.
7198 set dummy dlltool; ac_word=$2
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7200 $as_echo_n "checking for $ac_word... " >&6; }
7201 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7202   $as_echo_n "(cached) " >&6
7203 else
7204   if test -n "$ac_ct_DLLTOOL"; then
7205   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7206 else
7207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7208 for as_dir in $PATH
7209 do
7210   IFS=$as_save_IFS
7211   test -z "$as_dir" && as_dir=.
7212     for ac_exec_ext in '' $ac_executable_extensions; do
7213   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7214     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7215     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7216     break 2
7217   fi
7218 done
7219   done
7220 IFS=$as_save_IFS
7221
7222 fi
7223 fi
7224 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7225 if test -n "$ac_ct_DLLTOOL"; then
7226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7227 $as_echo "$ac_ct_DLLTOOL" >&6; }
7228 else
7229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7230 $as_echo "no" >&6; }
7231 fi
7232
7233   if test "x$ac_ct_DLLTOOL" = x; then
7234     DLLTOOL="false"
7235   else
7236     case $cross_compiling:$ac_tool_warned in
7237 yes:)
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7239 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7240 ac_tool_warned=yes ;;
7241 esac
7242     DLLTOOL=$ac_ct_DLLTOOL
7243   fi
7244 else
7245   DLLTOOL="$ac_cv_prog_DLLTOOL"
7246 fi
7247
7248 test -z "$DLLTOOL" && DLLTOOL=dlltool
7249
7250
7251
7252
7253
7254
7255
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7257 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7258 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7259   $as_echo_n "(cached) " >&6
7260 else
7261   lt_cv_sharedlib_from_linklib_cmd='unknown'
7262
7263 case $host_os in
7264 cygwin* | mingw* | pw32* | cegcc*)
7265   # two different shell functions defined in ltmain.sh
7266   # decide which to use based on capabilities of $DLLTOOL
7267   case `$DLLTOOL --help 2>&1` in
7268   *--identify-strict*)
7269     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7270     ;;
7271   *)
7272     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7273     ;;
7274   esac
7275   ;;
7276 *)
7277   # fallback: assume linklib IS sharedlib
7278   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7279   ;;
7280 esac
7281
7282 fi
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7284 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7285 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7286 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7287
7288
7289
7290
7291
7292
7293
7294 if test -n "$ac_tool_prefix"; then
7295   for ac_prog in ar
7296   do
7297     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7298 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7300 $as_echo_n "checking for $ac_word... " >&6; }
7301 if ${ac_cv_prog_AR+:} false; then :
7302   $as_echo_n "(cached) " >&6
7303 else
7304   if test -n "$AR"; then
7305   ac_cv_prog_AR="$AR" # Let the user override the test.
7306 else
7307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7308 for as_dir in $PATH
7309 do
7310   IFS=$as_save_IFS
7311   test -z "$as_dir" && as_dir=.
7312     for ac_exec_ext in '' $ac_executable_extensions; do
7313   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7314     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7315     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7316     break 2
7317   fi
7318 done
7319   done
7320 IFS=$as_save_IFS
7321
7322 fi
7323 fi
7324 AR=$ac_cv_prog_AR
7325 if test -n "$AR"; then
7326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7327 $as_echo "$AR" >&6; }
7328 else
7329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7330 $as_echo "no" >&6; }
7331 fi
7332
7333
7334     test -n "$AR" && break
7335   done
7336 fi
7337 if test -z "$AR"; then
7338   ac_ct_AR=$AR
7339   for ac_prog in ar
7340 do
7341   # Extract the first word of "$ac_prog", so it can be a program name with args.
7342 set dummy $ac_prog; ac_word=$2
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7344 $as_echo_n "checking for $ac_word... " >&6; }
7345 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7346   $as_echo_n "(cached) " >&6
7347 else
7348   if test -n "$ac_ct_AR"; then
7349   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7350 else
7351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7352 for as_dir in $PATH
7353 do
7354   IFS=$as_save_IFS
7355   test -z "$as_dir" && as_dir=.
7356     for ac_exec_ext in '' $ac_executable_extensions; do
7357   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7358     ac_cv_prog_ac_ct_AR="$ac_prog"
7359     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7360     break 2
7361   fi
7362 done
7363   done
7364 IFS=$as_save_IFS
7365
7366 fi
7367 fi
7368 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7369 if test -n "$ac_ct_AR"; then
7370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7371 $as_echo "$ac_ct_AR" >&6; }
7372 else
7373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7374 $as_echo "no" >&6; }
7375 fi
7376
7377
7378   test -n "$ac_ct_AR" && break
7379 done
7380
7381   if test "x$ac_ct_AR" = x; then
7382     AR="false"
7383   else
7384     case $cross_compiling:$ac_tool_warned in
7385 yes:)
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7388 ac_tool_warned=yes ;;
7389 esac
7390     AR=$ac_ct_AR
7391   fi
7392 fi
7393
7394 : ${AR=ar}
7395 : ${AR_FLAGS=cru}
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7408 $as_echo_n "checking for archiver @FILE support... " >&6; }
7409 if ${lt_cv_ar_at_file+:} false; then :
7410   $as_echo_n "(cached) " >&6
7411 else
7412   lt_cv_ar_at_file=no
7413    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7414 /* end confdefs.h.  */
7415
7416 int
7417 main ()
7418 {
7419
7420   ;
7421   return 0;
7422 }
7423 _ACEOF
7424 if ac_fn_c_try_compile "$LINENO"; then :
7425   echo conftest.$ac_objext > conftest.lst
7426       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7427       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7428   (eval $lt_ar_try) 2>&5
7429   ac_status=$?
7430   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7431   test $ac_status = 0; }
7432       if test "$ac_status" -eq 0; then
7433         # Ensure the archiver fails upon bogus file names.
7434         rm -f conftest.$ac_objext libconftest.a
7435         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7436   (eval $lt_ar_try) 2>&5
7437   ac_status=$?
7438   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7439   test $ac_status = 0; }
7440         if test "$ac_status" -ne 0; then
7441           lt_cv_ar_at_file=@
7442         fi
7443       fi
7444       rm -f conftest.* libconftest.a
7445
7446 fi
7447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7448
7449 fi
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7451 $as_echo "$lt_cv_ar_at_file" >&6; }
7452
7453 if test "x$lt_cv_ar_at_file" = xno; then
7454   archiver_list_spec=
7455 else
7456   archiver_list_spec=$lt_cv_ar_at_file
7457 fi
7458
7459
7460
7461
7462
7463
7464
7465 if test -n "$ac_tool_prefix"; then
7466   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7467 set dummy ${ac_tool_prefix}strip; ac_word=$2
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7469 $as_echo_n "checking for $ac_word... " >&6; }
7470 if ${ac_cv_prog_STRIP+:} false; then :
7471   $as_echo_n "(cached) " >&6
7472 else
7473   if test -n "$STRIP"; then
7474   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7475 else
7476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7477 for as_dir in $PATH
7478 do
7479   IFS=$as_save_IFS
7480   test -z "$as_dir" && as_dir=.
7481     for ac_exec_ext in '' $ac_executable_extensions; do
7482   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7483     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7484     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7485     break 2
7486   fi
7487 done
7488   done
7489 IFS=$as_save_IFS
7490
7491 fi
7492 fi
7493 STRIP=$ac_cv_prog_STRIP
7494 if test -n "$STRIP"; then
7495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7496 $as_echo "$STRIP" >&6; }
7497 else
7498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7499 $as_echo "no" >&6; }
7500 fi
7501
7502
7503 fi
7504 if test -z "$ac_cv_prog_STRIP"; then
7505   ac_ct_STRIP=$STRIP
7506   # Extract the first word of "strip", so it can be a program name with args.
7507 set dummy strip; ac_word=$2
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7509 $as_echo_n "checking for $ac_word... " >&6; }
7510 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7511   $as_echo_n "(cached) " >&6
7512 else
7513   if test -n "$ac_ct_STRIP"; then
7514   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7515 else
7516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7517 for as_dir in $PATH
7518 do
7519   IFS=$as_save_IFS
7520   test -z "$as_dir" && as_dir=.
7521     for ac_exec_ext in '' $ac_executable_extensions; do
7522   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7523     ac_cv_prog_ac_ct_STRIP="strip"
7524     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7525     break 2
7526   fi
7527 done
7528   done
7529 IFS=$as_save_IFS
7530
7531 fi
7532 fi
7533 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7534 if test -n "$ac_ct_STRIP"; then
7535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7536 $as_echo "$ac_ct_STRIP" >&6; }
7537 else
7538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7539 $as_echo "no" >&6; }
7540 fi
7541
7542   if test "x$ac_ct_STRIP" = x; then
7543     STRIP=":"
7544   else
7545     case $cross_compiling:$ac_tool_warned in
7546 yes:)
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7548 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7549 ac_tool_warned=yes ;;
7550 esac
7551     STRIP=$ac_ct_STRIP
7552   fi
7553 else
7554   STRIP="$ac_cv_prog_STRIP"
7555 fi
7556
7557 test -z "$STRIP" && STRIP=:
7558
7559
7560
7561
7562
7563
7564 if test -n "$ac_tool_prefix"; then
7565   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7566 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7568 $as_echo_n "checking for $ac_word... " >&6; }
7569 if ${ac_cv_prog_RANLIB+:} false; then :
7570   $as_echo_n "(cached) " >&6
7571 else
7572   if test -n "$RANLIB"; then
7573   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7574 else
7575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7576 for as_dir in $PATH
7577 do
7578   IFS=$as_save_IFS
7579   test -z "$as_dir" && as_dir=.
7580     for ac_exec_ext in '' $ac_executable_extensions; do
7581   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7582     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7583     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7584     break 2
7585   fi
7586 done
7587   done
7588 IFS=$as_save_IFS
7589
7590 fi
7591 fi
7592 RANLIB=$ac_cv_prog_RANLIB
7593 if test -n "$RANLIB"; then
7594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7595 $as_echo "$RANLIB" >&6; }
7596 else
7597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7598 $as_echo "no" >&6; }
7599 fi
7600
7601
7602 fi
7603 if test -z "$ac_cv_prog_RANLIB"; then
7604   ac_ct_RANLIB=$RANLIB
7605   # Extract the first word of "ranlib", so it can be a program name with args.
7606 set dummy ranlib; ac_word=$2
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7608 $as_echo_n "checking for $ac_word... " >&6; }
7609 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7610   $as_echo_n "(cached) " >&6
7611 else
7612   if test -n "$ac_ct_RANLIB"; then
7613   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7614 else
7615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7616 for as_dir in $PATH
7617 do
7618   IFS=$as_save_IFS
7619   test -z "$as_dir" && as_dir=.
7620     for ac_exec_ext in '' $ac_executable_extensions; do
7621   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7622     ac_cv_prog_ac_ct_RANLIB="ranlib"
7623     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7624     break 2
7625   fi
7626 done
7627   done
7628 IFS=$as_save_IFS
7629
7630 fi
7631 fi
7632 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7633 if test -n "$ac_ct_RANLIB"; then
7634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7635 $as_echo "$ac_ct_RANLIB" >&6; }
7636 else
7637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7638 $as_echo "no" >&6; }
7639 fi
7640
7641   if test "x$ac_ct_RANLIB" = x; then
7642     RANLIB=":"
7643   else
7644     case $cross_compiling:$ac_tool_warned in
7645 yes:)
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7647 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7648 ac_tool_warned=yes ;;
7649 esac
7650     RANLIB=$ac_ct_RANLIB
7651   fi
7652 else
7653   RANLIB="$ac_cv_prog_RANLIB"
7654 fi
7655
7656 test -z "$RANLIB" && RANLIB=:
7657
7658
7659
7660
7661
7662
7663 # Determine commands to create old-style static archives.
7664 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7665 old_postinstall_cmds='chmod 644 $oldlib'
7666 old_postuninstall_cmds=
7667
7668 if test -n "$RANLIB"; then
7669   case $host_os in
7670   openbsd*)
7671     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7672     ;;
7673   *)
7674     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7675     ;;
7676   esac
7677   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7678 fi
7679
7680 case $host_os in
7681   darwin*)
7682     lock_old_archive_extraction=yes ;;
7683   *)
7684     lock_old_archive_extraction=no ;;
7685 esac
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725 # If no C compiler was specified, use CC.
7726 LTCC=${LTCC-"$CC"}
7727
7728 # If no C compiler flags were specified, use CFLAGS.
7729 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7730
7731 # Allow CC to be a program name with arguments.
7732 compiler=$CC
7733
7734
7735 # Check for command to grab the raw symbol name followed by C symbol from nm.
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7737 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7738 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7739   $as_echo_n "(cached) " >&6
7740 else
7741
7742 # These are sane defaults that work on at least a few old systems.
7743 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7744
7745 # Character class describing NM global symbol codes.
7746 symcode='[BCDEGRST]'
7747
7748 # Regexp to match symbols that can be accessed directly from C.
7749 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7750
7751 # Define system-specific variables.
7752 case $host_os in
7753 aix*)
7754   symcode='[BCDT]'
7755   ;;
7756 cygwin* | mingw* | pw32* | cegcc*)
7757   symcode='[ABCDGISTW]'
7758   ;;
7759 hpux*)
7760   if test "$host_cpu" = ia64; then
7761     symcode='[ABCDEGRST]'
7762   fi
7763   ;;
7764 irix* | nonstopux*)
7765   symcode='[BCDEGRST]'
7766   ;;
7767 osf*)
7768   symcode='[BCDEGQRST]'
7769   ;;
7770 solaris*)
7771   symcode='[BDRT]'
7772   ;;
7773 sco3.2v5*)
7774   symcode='[DT]'
7775   ;;
7776 sysv4.2uw2*)
7777   symcode='[DT]'
7778   ;;
7779 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7780   symcode='[ABDT]'
7781   ;;
7782 sysv4)
7783   symcode='[DFNSTU]'
7784   ;;
7785 esac
7786
7787 # If we're using GNU nm, then use its standard symbol codes.
7788 case `$NM -V 2>&1` in
7789 *GNU* | *'with BFD'*)
7790   symcode='[ABCDGIRSTW]' ;;
7791 esac
7792
7793 # Transform an extracted symbol line into a proper C declaration.
7794 # Some systems (esp. on ia64) link data and code symbols differently,
7795 # so use this general approach.
7796 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7797
7798 # Transform an extracted symbol line into symbol name and symbol address
7799 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7800 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
7801
7802 # Handle CRLF in mingw tool chain
7803 opt_cr=
7804 case $build_os in
7805 mingw*)
7806   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7807   ;;
7808 esac
7809
7810 # Try without a prefix underscore, then with it.
7811 for ac_symprfx in "" "_"; do
7812
7813   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7814   symxfrm="\\1 $ac_symprfx\\2 \\2"
7815
7816   # Write the raw and C identifiers.
7817   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7818     # Fake it for dumpbin and say T for any non-static function
7819     # and D for any global variable.
7820     # Also find C++ and __fastcall symbols from MSVC++,
7821     # which start with @ or ?.
7822     lt_cv_sys_global_symbol_pipe="$AWK '"\
7823 "     {last_section=section; section=\$ 3};"\
7824 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7825 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7826 "     \$ 0!~/External *\|/{next};"\
7827 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7828 "     {if(hide[section]) next};"\
7829 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7830 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7831 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7832 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7833 "     ' prfx=^$ac_symprfx"
7834   else
7835     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7836   fi
7837   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7838
7839   # Check to see that the pipe works correctly.
7840   pipe_works=no
7841
7842   rm -f conftest*
7843   cat > conftest.$ac_ext <<_LT_EOF
7844 #ifdef __cplusplus
7845 extern "C" {
7846 #endif
7847 char nm_test_var;
7848 void nm_test_func(void);
7849 void nm_test_func(void){}
7850 #ifdef __cplusplus
7851 }
7852 #endif
7853 int main(){nm_test_var='a';nm_test_func();return(0);}
7854 _LT_EOF
7855
7856   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7857   (eval $ac_compile) 2>&5
7858   ac_status=$?
7859   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7860   test $ac_status = 0; }; then
7861     # Now try to grab the symbols.
7862     nlist=conftest.nm
7863     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7864   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7865   ac_status=$?
7866   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7867   test $ac_status = 0; } && test -s "$nlist"; then
7868       # Try sorting and uniquifying the output.
7869       if sort "$nlist" | uniq > "$nlist"T; then
7870         mv -f "$nlist"T "$nlist"
7871       else
7872         rm -f "$nlist"T
7873       fi
7874
7875       # Make sure that we snagged all the symbols we need.
7876       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7877         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7878           cat <<_LT_EOF > conftest.$ac_ext
7879 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7880 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7881 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7882    relocations are performed -- see ld's documentation on pseudo-relocs.  */
7883 # define LT_DLSYM_CONST
7884 #elif defined(__osf__)
7885 /* This system does not cope well with relocations in const data.  */
7886 # define LT_DLSYM_CONST
7887 #else
7888 # define LT_DLSYM_CONST const
7889 #endif
7890
7891 #ifdef __cplusplus
7892 extern "C" {
7893 #endif
7894
7895 _LT_EOF
7896           # Now generate the symbol file.
7897           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7898
7899           cat <<_LT_EOF >> conftest.$ac_ext
7900
7901 /* The mapping between symbol names and symbols.  */
7902 LT_DLSYM_CONST struct {
7903   const char *name;
7904   void       *address;
7905 }
7906 lt__PROGRAM__LTX_preloaded_symbols[] =
7907 {
7908   { "@PROGRAM@", (void *) 0 },
7909 _LT_EOF
7910           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7911           cat <<\_LT_EOF >> conftest.$ac_ext
7912   {0, (void *) 0}
7913 };
7914
7915 /* This works around a problem in FreeBSD linker */
7916 #ifdef FREEBSD_WORKAROUND
7917 static const void *lt_preloaded_setup() {
7918   return lt__PROGRAM__LTX_preloaded_symbols;
7919 }
7920 #endif
7921
7922 #ifdef __cplusplus
7923 }
7924 #endif
7925 _LT_EOF
7926           # Now try linking the two files.
7927           mv conftest.$ac_objext conftstm.$ac_objext
7928           lt_globsym_save_LIBS=$LIBS
7929           lt_globsym_save_CFLAGS=$CFLAGS
7930           LIBS="conftstm.$ac_objext"
7931           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7932           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7933   (eval $ac_link) 2>&5
7934   ac_status=$?
7935   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7936   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7937             pipe_works=yes
7938           fi
7939           LIBS=$lt_globsym_save_LIBS
7940           CFLAGS=$lt_globsym_save_CFLAGS
7941         else
7942           echo "cannot find nm_test_func in $nlist" >&5
7943         fi
7944       else
7945         echo "cannot find nm_test_var in $nlist" >&5
7946       fi
7947     else
7948       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7949     fi
7950   else
7951     echo "$progname: failed program was:" >&5
7952     cat conftest.$ac_ext >&5
7953   fi
7954   rm -rf conftest* conftst*
7955
7956   # Do not use the global_symbol_pipe unless it works.
7957   if test "$pipe_works" = yes; then
7958     break
7959   else
7960     lt_cv_sys_global_symbol_pipe=
7961   fi
7962 done
7963
7964 fi
7965
7966 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7967   lt_cv_sys_global_symbol_to_cdecl=
7968 fi
7969 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7971 $as_echo "failed" >&6; }
7972 else
7973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7974 $as_echo "ok" >&6; }
7975 fi
7976
7977 # Response file support.
7978 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7979   nm_file_list_spec='@'
7980 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7981   nm_file_list_spec='@'
7982 fi
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8011 $as_echo_n "checking for sysroot... " >&6; }
8012
8013 # Check whether --with-sysroot was given.
8014 if test "${with_sysroot+set}" = set; then :
8015   withval=$with_sysroot;
8016 else
8017   with_sysroot=no
8018 fi
8019
8020
8021 lt_sysroot=
8022 case ${with_sysroot} in #(
8023  yes)
8024    if test "$GCC" = yes; then
8025      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8026    fi
8027    ;; #(
8028  /*)
8029    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8030    ;; #(
8031  no|'')
8032    ;; #(
8033  *)
8034    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
8035 $as_echo "${with_sysroot}" >&6; }
8036    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8037    ;;
8038 esac
8039
8040  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8041 $as_echo "${lt_sysroot:-no}" >&6; }
8042
8043
8044
8045
8046
8047 # Check whether --enable-libtool-lock was given.
8048 if test "${enable_libtool_lock+set}" = set; then :
8049   enableval=$enable_libtool_lock;
8050 fi
8051
8052 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8053
8054 # Some flags need to be propagated to the compiler or linker for good
8055 # libtool support.
8056 case $host in
8057 ia64-*-hpux*)
8058   # Find out which ABI we are using.
8059   echo 'int i;' > conftest.$ac_ext
8060   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8061   (eval $ac_compile) 2>&5
8062   ac_status=$?
8063   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8064   test $ac_status = 0; }; then
8065     case `/usr/bin/file conftest.$ac_objext` in
8066       *ELF-32*)
8067         HPUX_IA64_MODE="32"
8068         ;;
8069       *ELF-64*)
8070         HPUX_IA64_MODE="64"
8071         ;;
8072     esac
8073   fi
8074   rm -rf conftest*
8075   ;;
8076 *-*-irix6*)
8077   # Find out which ABI we are using.
8078   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8079   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8080   (eval $ac_compile) 2>&5
8081   ac_status=$?
8082   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8083   test $ac_status = 0; }; then
8084     if test "$lt_cv_prog_gnu_ld" = yes; then
8085       case `/usr/bin/file conftest.$ac_objext` in
8086         *32-bit*)
8087           LD="${LD-ld} -melf32bsmip"
8088           ;;
8089         *N32*)
8090           LD="${LD-ld} -melf32bmipn32"
8091           ;;
8092         *64-bit*)
8093           LD="${LD-ld} -melf64bmip"
8094         ;;
8095       esac
8096     else
8097       case `/usr/bin/file conftest.$ac_objext` in
8098         *32-bit*)
8099           LD="${LD-ld} -32"
8100           ;;
8101         *N32*)
8102           LD="${LD-ld} -n32"
8103           ;;
8104         *64-bit*)
8105           LD="${LD-ld} -64"
8106           ;;
8107       esac
8108     fi
8109   fi
8110   rm -rf conftest*
8111   ;;
8112
8113 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8114 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8115   # Find out which ABI we are using.
8116   echo 'int i;' > conftest.$ac_ext
8117   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8118   (eval $ac_compile) 2>&5
8119   ac_status=$?
8120   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8121   test $ac_status = 0; }; then
8122     case `/usr/bin/file conftest.o` in
8123       *32-bit*)
8124         case $host in
8125           x86_64-*kfreebsd*-gnu)
8126             LD="${LD-ld} -m elf_i386_fbsd"
8127             ;;
8128           x86_64-*linux*)
8129             LD="${LD-ld} -m elf_i386"
8130             ;;
8131           ppc64-*linux*|powerpc64-*linux*)
8132             LD="${LD-ld} -m elf32ppclinux"
8133             ;;
8134           s390x-*linux*)
8135             LD="${LD-ld} -m elf_s390"
8136             ;;
8137           sparc64-*linux*)
8138             LD="${LD-ld} -m elf32_sparc"
8139             ;;
8140         esac
8141         ;;
8142       *64-bit*)
8143         case $host in
8144           x86_64-*kfreebsd*-gnu)
8145             LD="${LD-ld} -m elf_x86_64_fbsd"
8146             ;;
8147           x86_64-*linux*)
8148             LD="${LD-ld} -m elf_x86_64"
8149             ;;
8150           ppc*-*linux*|powerpc*-*linux*)
8151             LD="${LD-ld} -m elf64ppc"
8152             ;;
8153           s390*-*linux*|s390*-*tpf*)
8154             LD="${LD-ld} -m elf64_s390"
8155             ;;
8156           sparc*-*linux*)
8157             LD="${LD-ld} -m elf64_sparc"
8158             ;;
8159         esac
8160         ;;
8161     esac
8162   fi
8163   rm -rf conftest*
8164   ;;
8165
8166 *-*-sco3.2v5*)
8167   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8168   SAVE_CFLAGS="$CFLAGS"
8169   CFLAGS="$CFLAGS -belf"
8170   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8171 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8172 if ${lt_cv_cc_needs_belf+:} false; then :
8173   $as_echo_n "(cached) " >&6
8174 else
8175   ac_ext=c
8176 ac_cpp='$CPP $CPPFLAGS'
8177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8180
8181      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8182 /* end confdefs.h.  */
8183
8184 int
8185 main ()
8186 {
8187
8188   ;
8189   return 0;
8190 }
8191 _ACEOF
8192 if ac_fn_c_try_link "$LINENO"; then :
8193   lt_cv_cc_needs_belf=yes
8194 else
8195   lt_cv_cc_needs_belf=no
8196 fi
8197 rm -f core conftest.err conftest.$ac_objext \
8198     conftest$ac_exeext conftest.$ac_ext
8199      ac_ext=c
8200 ac_cpp='$CPP $CPPFLAGS'
8201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8204
8205 fi
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8207 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8208   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8209     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8210     CFLAGS="$SAVE_CFLAGS"
8211   fi
8212   ;;
8213 *-*solaris*)
8214   # Find out which ABI we are using.
8215   echo 'int i;' > conftest.$ac_ext
8216   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8217   (eval $ac_compile) 2>&5
8218   ac_status=$?
8219   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8220   test $ac_status = 0; }; then
8221     case `/usr/bin/file conftest.o` in
8222     *64-bit*)
8223       case $lt_cv_prog_gnu_ld in
8224       yes*)
8225         case $host in
8226         i?86-*-solaris*)
8227           LD="${LD-ld} -m elf_x86_64"
8228           ;;
8229         sparc*-*-solaris*)
8230           LD="${LD-ld} -m elf64_sparc"
8231           ;;
8232         esac
8233         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8234         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8235           LD="${LD-ld}_sol2"
8236         fi
8237         ;;
8238       *)
8239         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8240           LD="${LD-ld} -64"
8241         fi
8242         ;;
8243       esac
8244       ;;
8245     esac
8246   fi
8247   rm -rf conftest*
8248   ;;
8249 esac
8250
8251 need_locks="$enable_libtool_lock"
8252
8253 if test -n "$ac_tool_prefix"; then
8254   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8255 set dummy ${ac_tool_prefix}mt; ac_word=$2
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8257 $as_echo_n "checking for $ac_word... " >&6; }
8258 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8259   $as_echo_n "(cached) " >&6
8260 else
8261   if test -n "$MANIFEST_TOOL"; then
8262   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8263 else
8264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8265 for as_dir in $PATH
8266 do
8267   IFS=$as_save_IFS
8268   test -z "$as_dir" && as_dir=.
8269     for ac_exec_ext in '' $ac_executable_extensions; do
8270   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8271     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8272     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8273     break 2
8274   fi
8275 done
8276   done
8277 IFS=$as_save_IFS
8278
8279 fi
8280 fi
8281 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8282 if test -n "$MANIFEST_TOOL"; then
8283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8284 $as_echo "$MANIFEST_TOOL" >&6; }
8285 else
8286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8287 $as_echo "no" >&6; }
8288 fi
8289
8290
8291 fi
8292 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8293   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8294   # Extract the first word of "mt", so it can be a program name with args.
8295 set dummy mt; ac_word=$2
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8297 $as_echo_n "checking for $ac_word... " >&6; }
8298 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8299   $as_echo_n "(cached) " >&6
8300 else
8301   if test -n "$ac_ct_MANIFEST_TOOL"; then
8302   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8303 else
8304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8305 for as_dir in $PATH
8306 do
8307   IFS=$as_save_IFS
8308   test -z "$as_dir" && as_dir=.
8309     for ac_exec_ext in '' $ac_executable_extensions; do
8310   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8311     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8312     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8313     break 2
8314   fi
8315 done
8316   done
8317 IFS=$as_save_IFS
8318
8319 fi
8320 fi
8321 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8322 if test -n "$ac_ct_MANIFEST_TOOL"; then
8323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8324 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8325 else
8326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8327 $as_echo "no" >&6; }
8328 fi
8329
8330   if test "x$ac_ct_MANIFEST_TOOL" = x; then
8331     MANIFEST_TOOL=":"
8332   else
8333     case $cross_compiling:$ac_tool_warned in
8334 yes:)
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8336 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8337 ac_tool_warned=yes ;;
8338 esac
8339     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8340   fi
8341 else
8342   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8343 fi
8344
8345 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8347 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8348 if ${lt_cv_path_mainfest_tool+:} false; then :
8349   $as_echo_n "(cached) " >&6
8350 else
8351   lt_cv_path_mainfest_tool=no
8352   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8353   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8354   cat conftest.err >&5
8355   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8356     lt_cv_path_mainfest_tool=yes
8357   fi
8358   rm -f conftest*
8359 fi
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8361 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8362 if test "x$lt_cv_path_mainfest_tool" != xyes; then
8363   MANIFEST_TOOL=:
8364 fi
8365
8366
8367
8368
8369
8370
8371   case $host_os in
8372     rhapsody* | darwin*)
8373     if test -n "$ac_tool_prefix"; then
8374   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8375 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8377 $as_echo_n "checking for $ac_word... " >&6; }
8378 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8379   $as_echo_n "(cached) " >&6
8380 else
8381   if test -n "$DSYMUTIL"; then
8382   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8383 else
8384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8385 for as_dir in $PATH
8386 do
8387   IFS=$as_save_IFS
8388   test -z "$as_dir" && as_dir=.
8389     for ac_exec_ext in '' $ac_executable_extensions; do
8390   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8391     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8392     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8393     break 2
8394   fi
8395 done
8396   done
8397 IFS=$as_save_IFS
8398
8399 fi
8400 fi
8401 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8402 if test -n "$DSYMUTIL"; then
8403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8404 $as_echo "$DSYMUTIL" >&6; }
8405 else
8406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8407 $as_echo "no" >&6; }
8408 fi
8409
8410
8411 fi
8412 if test -z "$ac_cv_prog_DSYMUTIL"; then
8413   ac_ct_DSYMUTIL=$DSYMUTIL
8414   # Extract the first word of "dsymutil", so it can be a program name with args.
8415 set dummy dsymutil; ac_word=$2
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8417 $as_echo_n "checking for $ac_word... " >&6; }
8418 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8419   $as_echo_n "(cached) " >&6
8420 else
8421   if test -n "$ac_ct_DSYMUTIL"; then
8422   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8423 else
8424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8425 for as_dir in $PATH
8426 do
8427   IFS=$as_save_IFS
8428   test -z "$as_dir" && as_dir=.
8429     for ac_exec_ext in '' $ac_executable_extensions; do
8430   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8431     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8432     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8433     break 2
8434   fi
8435 done
8436   done
8437 IFS=$as_save_IFS
8438
8439 fi
8440 fi
8441 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8442 if test -n "$ac_ct_DSYMUTIL"; then
8443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8444 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8445 else
8446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8447 $as_echo "no" >&6; }
8448 fi
8449
8450   if test "x$ac_ct_DSYMUTIL" = x; then
8451     DSYMUTIL=":"
8452   else
8453     case $cross_compiling:$ac_tool_warned in
8454 yes:)
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8457 ac_tool_warned=yes ;;
8458 esac
8459     DSYMUTIL=$ac_ct_DSYMUTIL
8460   fi
8461 else
8462   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8463 fi
8464
8465     if test -n "$ac_tool_prefix"; then
8466   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8467 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8469 $as_echo_n "checking for $ac_word... " >&6; }
8470 if ${ac_cv_prog_NMEDIT+:} false; then :
8471   $as_echo_n "(cached) " >&6
8472 else
8473   if test -n "$NMEDIT"; then
8474   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8475 else
8476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8477 for as_dir in $PATH
8478 do
8479   IFS=$as_save_IFS
8480   test -z "$as_dir" && as_dir=.
8481     for ac_exec_ext in '' $ac_executable_extensions; do
8482   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8483     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8484     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8485     break 2
8486   fi
8487 done
8488   done
8489 IFS=$as_save_IFS
8490
8491 fi
8492 fi
8493 NMEDIT=$ac_cv_prog_NMEDIT
8494 if test -n "$NMEDIT"; then
8495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8496 $as_echo "$NMEDIT" >&6; }
8497 else
8498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8499 $as_echo "no" >&6; }
8500 fi
8501
8502
8503 fi
8504 if test -z "$ac_cv_prog_NMEDIT"; then
8505   ac_ct_NMEDIT=$NMEDIT
8506   # Extract the first word of "nmedit", so it can be a program name with args.
8507 set dummy nmedit; ac_word=$2
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8509 $as_echo_n "checking for $ac_word... " >&6; }
8510 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8511   $as_echo_n "(cached) " >&6
8512 else
8513   if test -n "$ac_ct_NMEDIT"; then
8514   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8515 else
8516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8517 for as_dir in $PATH
8518 do
8519   IFS=$as_save_IFS
8520   test -z "$as_dir" && as_dir=.
8521     for ac_exec_ext in '' $ac_executable_extensions; do
8522   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8523     ac_cv_prog_ac_ct_NMEDIT="nmedit"
8524     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8525     break 2
8526   fi
8527 done
8528   done
8529 IFS=$as_save_IFS
8530
8531 fi
8532 fi
8533 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8534 if test -n "$ac_ct_NMEDIT"; then
8535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8536 $as_echo "$ac_ct_NMEDIT" >&6; }
8537 else
8538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8539 $as_echo "no" >&6; }
8540 fi
8541
8542   if test "x$ac_ct_NMEDIT" = x; then
8543     NMEDIT=":"
8544   else
8545     case $cross_compiling:$ac_tool_warned in
8546 yes:)
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8548 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8549 ac_tool_warned=yes ;;
8550 esac
8551     NMEDIT=$ac_ct_NMEDIT
8552   fi
8553 else
8554   NMEDIT="$ac_cv_prog_NMEDIT"
8555 fi
8556
8557     if test -n "$ac_tool_prefix"; then
8558   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8559 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8561 $as_echo_n "checking for $ac_word... " >&6; }
8562 if ${ac_cv_prog_LIPO+:} false; then :
8563   $as_echo_n "(cached) " >&6
8564 else
8565   if test -n "$LIPO"; then
8566   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8567 else
8568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8569 for as_dir in $PATH
8570 do
8571   IFS=$as_save_IFS
8572   test -z "$as_dir" && as_dir=.
8573     for ac_exec_ext in '' $ac_executable_extensions; do
8574   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8575     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8576     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8577     break 2
8578   fi
8579 done
8580   done
8581 IFS=$as_save_IFS
8582
8583 fi
8584 fi
8585 LIPO=$ac_cv_prog_LIPO
8586 if test -n "$LIPO"; then
8587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8588 $as_echo "$LIPO" >&6; }
8589 else
8590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8591 $as_echo "no" >&6; }
8592 fi
8593
8594
8595 fi
8596 if test -z "$ac_cv_prog_LIPO"; then
8597   ac_ct_LIPO=$LIPO
8598   # Extract the first word of "lipo", so it can be a program name with args.
8599 set dummy lipo; ac_word=$2
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8601 $as_echo_n "checking for $ac_word... " >&6; }
8602 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8603   $as_echo_n "(cached) " >&6
8604 else
8605   if test -n "$ac_ct_LIPO"; then
8606   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8607 else
8608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8609 for as_dir in $PATH
8610 do
8611   IFS=$as_save_IFS
8612   test -z "$as_dir" && as_dir=.
8613     for ac_exec_ext in '' $ac_executable_extensions; do
8614   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8615     ac_cv_prog_ac_ct_LIPO="lipo"
8616     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8617     break 2
8618   fi
8619 done
8620   done
8621 IFS=$as_save_IFS
8622
8623 fi
8624 fi
8625 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8626 if test -n "$ac_ct_LIPO"; then
8627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8628 $as_echo "$ac_ct_LIPO" >&6; }
8629 else
8630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8631 $as_echo "no" >&6; }
8632 fi
8633
8634   if test "x$ac_ct_LIPO" = x; then
8635     LIPO=":"
8636   else
8637     case $cross_compiling:$ac_tool_warned in
8638 yes:)
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8641 ac_tool_warned=yes ;;
8642 esac
8643     LIPO=$ac_ct_LIPO
8644   fi
8645 else
8646   LIPO="$ac_cv_prog_LIPO"
8647 fi
8648
8649     if test -n "$ac_tool_prefix"; then
8650   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8651 set dummy ${ac_tool_prefix}otool; ac_word=$2
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8653 $as_echo_n "checking for $ac_word... " >&6; }
8654 if ${ac_cv_prog_OTOOL+:} false; then :
8655   $as_echo_n "(cached) " >&6
8656 else
8657   if test -n "$OTOOL"; then
8658   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8659 else
8660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8661 for as_dir in $PATH
8662 do
8663   IFS=$as_save_IFS
8664   test -z "$as_dir" && as_dir=.
8665     for ac_exec_ext in '' $ac_executable_extensions; do
8666   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8667     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8668     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8669     break 2
8670   fi
8671 done
8672   done
8673 IFS=$as_save_IFS
8674
8675 fi
8676 fi
8677 OTOOL=$ac_cv_prog_OTOOL
8678 if test -n "$OTOOL"; then
8679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8680 $as_echo "$OTOOL" >&6; }
8681 else
8682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8683 $as_echo "no" >&6; }
8684 fi
8685
8686
8687 fi
8688 if test -z "$ac_cv_prog_OTOOL"; then
8689   ac_ct_OTOOL=$OTOOL
8690   # Extract the first word of "otool", so it can be a program name with args.
8691 set dummy otool; ac_word=$2
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8693 $as_echo_n "checking for $ac_word... " >&6; }
8694 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8695   $as_echo_n "(cached) " >&6
8696 else
8697   if test -n "$ac_ct_OTOOL"; then
8698   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8699 else
8700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8701 for as_dir in $PATH
8702 do
8703   IFS=$as_save_IFS
8704   test -z "$as_dir" && as_dir=.
8705     for ac_exec_ext in '' $ac_executable_extensions; do
8706   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8707     ac_cv_prog_ac_ct_OTOOL="otool"
8708     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8709     break 2
8710   fi
8711 done
8712   done
8713 IFS=$as_save_IFS
8714
8715 fi
8716 fi
8717 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8718 if test -n "$ac_ct_OTOOL"; then
8719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8720 $as_echo "$ac_ct_OTOOL" >&6; }
8721 else
8722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8723 $as_echo "no" >&6; }
8724 fi
8725
8726   if test "x$ac_ct_OTOOL" = x; then
8727     OTOOL=":"
8728   else
8729     case $cross_compiling:$ac_tool_warned in
8730 yes:)
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8732 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8733 ac_tool_warned=yes ;;
8734 esac
8735     OTOOL=$ac_ct_OTOOL
8736   fi
8737 else
8738   OTOOL="$ac_cv_prog_OTOOL"
8739 fi
8740
8741     if test -n "$ac_tool_prefix"; then
8742   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8743 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8745 $as_echo_n "checking for $ac_word... " >&6; }
8746 if ${ac_cv_prog_OTOOL64+:} false; then :
8747   $as_echo_n "(cached) " >&6
8748 else
8749   if test -n "$OTOOL64"; then
8750   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8751 else
8752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8753 for as_dir in $PATH
8754 do
8755   IFS=$as_save_IFS
8756   test -z "$as_dir" && as_dir=.
8757     for ac_exec_ext in '' $ac_executable_extensions; do
8758   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8759     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8760     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8761     break 2
8762   fi
8763 done
8764   done
8765 IFS=$as_save_IFS
8766
8767 fi
8768 fi
8769 OTOOL64=$ac_cv_prog_OTOOL64
8770 if test -n "$OTOOL64"; then
8771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8772 $as_echo "$OTOOL64" >&6; }
8773 else
8774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8775 $as_echo "no" >&6; }
8776 fi
8777
8778
8779 fi
8780 if test -z "$ac_cv_prog_OTOOL64"; then
8781   ac_ct_OTOOL64=$OTOOL64
8782   # Extract the first word of "otool64", so it can be a program name with args.
8783 set dummy otool64; ac_word=$2
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8785 $as_echo_n "checking for $ac_word... " >&6; }
8786 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8787   $as_echo_n "(cached) " >&6
8788 else
8789   if test -n "$ac_ct_OTOOL64"; then
8790   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8791 else
8792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8793 for as_dir in $PATH
8794 do
8795   IFS=$as_save_IFS
8796   test -z "$as_dir" && as_dir=.
8797     for ac_exec_ext in '' $ac_executable_extensions; do
8798   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8799     ac_cv_prog_ac_ct_OTOOL64="otool64"
8800     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8801     break 2
8802   fi
8803 done
8804   done
8805 IFS=$as_save_IFS
8806
8807 fi
8808 fi
8809 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8810 if test -n "$ac_ct_OTOOL64"; then
8811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8812 $as_echo "$ac_ct_OTOOL64" >&6; }
8813 else
8814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8815 $as_echo "no" >&6; }
8816 fi
8817
8818   if test "x$ac_ct_OTOOL64" = x; then
8819     OTOOL64=":"
8820   else
8821     case $cross_compiling:$ac_tool_warned in
8822 yes:)
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8825 ac_tool_warned=yes ;;
8826 esac
8827     OTOOL64=$ac_ct_OTOOL64
8828   fi
8829 else
8830   OTOOL64="$ac_cv_prog_OTOOL64"
8831 fi
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8860 $as_echo_n "checking for -single_module linker flag... " >&6; }
8861 if ${lt_cv_apple_cc_single_mod+:} false; then :
8862   $as_echo_n "(cached) " >&6
8863 else
8864   lt_cv_apple_cc_single_mod=no
8865       if test -z "${LT_MULTI_MODULE}"; then
8866         # By default we will add the -single_module flag. You can override
8867         # by either setting the environment variable LT_MULTI_MODULE
8868         # non-empty at configure time, or by adding -multi_module to the
8869         # link flags.
8870         rm -rf libconftest.dylib*
8871         echo "int foo(void){return 1;}" > conftest.c
8872         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8873 -dynamiclib -Wl,-single_module conftest.c" >&5
8874         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8875           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8876         _lt_result=$?
8877         # If there is a non-empty error log, and "single_module"
8878         # appears in it, assume the flag caused a linker warning
8879         if test -s conftest.err && $GREP single_module conftest.err; then
8880           cat conftest.err >&5
8881         # Otherwise, if the output was created with a 0 exit code from
8882         # the compiler, it worked.
8883         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8884           lt_cv_apple_cc_single_mod=yes
8885         else
8886           cat conftest.err >&5
8887         fi
8888         rm -rf libconftest.dylib*
8889         rm -f conftest.*
8890       fi
8891 fi
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8893 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8894
8895     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8896 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8897 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8898   $as_echo_n "(cached) " >&6
8899 else
8900   lt_cv_ld_exported_symbols_list=no
8901       save_LDFLAGS=$LDFLAGS
8902       echo "_main" > conftest.sym
8903       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8904       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8905 /* end confdefs.h.  */
8906
8907 int
8908 main ()
8909 {
8910
8911   ;
8912   return 0;
8913 }
8914 _ACEOF
8915 if ac_fn_c_try_link "$LINENO"; then :
8916   lt_cv_ld_exported_symbols_list=yes
8917 else
8918   lt_cv_ld_exported_symbols_list=no
8919 fi
8920 rm -f core conftest.err conftest.$ac_objext \
8921     conftest$ac_exeext conftest.$ac_ext
8922         LDFLAGS="$save_LDFLAGS"
8923
8924 fi
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8926 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8927
8928     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8929 $as_echo_n "checking for -force_load linker flag... " >&6; }
8930 if ${lt_cv_ld_force_load+:} false; then :
8931   $as_echo_n "(cached) " >&6
8932 else
8933   lt_cv_ld_force_load=no
8934       cat > conftest.c << _LT_EOF
8935 int forced_loaded() { return 2;}
8936 _LT_EOF
8937       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8938       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8939       echo "$AR cru libconftest.a conftest.o" >&5
8940       $AR cru libconftest.a conftest.o 2>&5
8941       echo "$RANLIB libconftest.a" >&5
8942       $RANLIB libconftest.a 2>&5
8943       cat > conftest.c << _LT_EOF
8944 int main() { return 0;}
8945 _LT_EOF
8946       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8947       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8948       _lt_result=$?
8949       if test -s conftest.err && $GREP force_load conftest.err; then
8950         cat conftest.err >&5
8951       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8952         lt_cv_ld_force_load=yes
8953       else
8954         cat conftest.err >&5
8955       fi
8956         rm -f conftest.err libconftest.a conftest conftest.c
8957         rm -rf conftest.dSYM
8958
8959 fi
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8961 $as_echo "$lt_cv_ld_force_load" >&6; }
8962     case $host_os in
8963     rhapsody* | darwin1.[012])
8964       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8965     darwin1.*)
8966       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8967     darwin*) # darwin 5.x on
8968       # if running on 10.5 or later, the deployment target defaults
8969       # to the OS version, if on x86, and 10.4, the deployment
8970       # target defaults to 10.4. Don't you love it?
8971       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8972         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8973           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8974         10.[012]*)
8975           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8976         10.*)
8977           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8978       esac
8979     ;;
8980   esac
8981     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8982       _lt_dar_single_mod='$single_module'
8983     fi
8984     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8985       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8986     else
8987       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8988     fi
8989     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8990       _lt_dsymutil='~$DSYMUTIL $lib || :'
8991     else
8992       _lt_dsymutil=
8993     fi
8994     ;;
8995   esac
8996
8997 for ac_header in dlfcn.h
8998 do :
8999   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9000 "
9001 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9002   cat >>confdefs.h <<_ACEOF
9003 #define HAVE_DLFCN_H 1
9004 _ACEOF
9005
9006 fi
9007
9008 done
9009
9010
9011
9012
9013
9014 # Set options
9015
9016
9017
9018         enable_dlopen=no
9019
9020
9021
9022             # Check whether --enable-shared was given.
9023 if test "${enable_shared+set}" = set; then :
9024   enableval=$enable_shared; p=${PACKAGE-default}
9025     case $enableval in
9026     yes) enable_shared=yes ;;
9027     no) enable_shared=no ;;
9028     *)
9029       enable_shared=no
9030       # Look at the argument we got.  We use all the common list separators.
9031       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9032       for pkg in $enableval; do
9033         IFS="$lt_save_ifs"
9034         if test "X$pkg" = "X$p"; then
9035           enable_shared=yes
9036         fi
9037       done
9038       IFS="$lt_save_ifs"
9039       ;;
9040     esac
9041 else
9042   enable_shared=yes
9043 fi
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053   # Check whether --enable-static was given.
9054 if test "${enable_static+set}" = set; then :
9055   enableval=$enable_static; p=${PACKAGE-default}
9056     case $enableval in
9057     yes) enable_static=yes ;;
9058     no) enable_static=no ;;
9059     *)
9060      enable_static=no
9061       # Look at the argument we got.  We use all the common list separators.
9062       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9063       for pkg in $enableval; do
9064         IFS="$lt_save_ifs"
9065         if test "X$pkg" = "X$p"; then
9066           enable_static=yes
9067         fi
9068       done
9069       IFS="$lt_save_ifs"
9070       ;;
9071     esac
9072 else
9073   enable_static=yes
9074 fi
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085 # Check whether --with-pic was given.
9086 if test "${with_pic+set}" = set; then :
9087   withval=$with_pic; lt_p=${PACKAGE-default}
9088     case $withval in
9089     yes|no) pic_mode=$withval ;;
9090     *)
9091       pic_mode=default
9092       # Look at the argument we got.  We use all the common list separators.
9093       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9094       for lt_pkg in $withval; do
9095         IFS="$lt_save_ifs"
9096         if test "X$lt_pkg" = "X$lt_p"; then
9097           pic_mode=yes
9098         fi
9099       done
9100       IFS="$lt_save_ifs"
9101       ;;
9102     esac
9103 else
9104   pic_mode=default
9105 fi
9106
9107
9108 test -z "$pic_mode" && pic_mode=default
9109
9110
9111
9112
9113
9114
9115
9116   # Check whether --enable-fast-install was given.
9117 if test "${enable_fast_install+set}" = set; then :
9118   enableval=$enable_fast_install; p=${PACKAGE-default}
9119     case $enableval in
9120     yes) enable_fast_install=yes ;;
9121     no) enable_fast_install=no ;;
9122     *)
9123       enable_fast_install=no
9124       # Look at the argument we got.  We use all the common list separators.
9125       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9126       for pkg in $enableval; do
9127         IFS="$lt_save_ifs"
9128         if test "X$pkg" = "X$p"; then
9129           enable_fast_install=yes
9130         fi
9131       done
9132       IFS="$lt_save_ifs"
9133       ;;
9134     esac
9135 else
9136   enable_fast_install=yes
9137 fi
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149 # This can be used to rebuild libtool when needed
9150 LIBTOOL_DEPS="$ltmain"
9151
9152 # Always use our own libtool.
9153 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184 test -z "$LN_S" && LN_S="ln -s"
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199 if test -n "${ZSH_VERSION+set}" ; then
9200    setopt NO_GLOB_SUBST
9201 fi
9202
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9204 $as_echo_n "checking for objdir... " >&6; }
9205 if ${lt_cv_objdir+:} false; then :
9206   $as_echo_n "(cached) " >&6
9207 else
9208   rm -f .libs 2>/dev/null
9209 mkdir .libs 2>/dev/null
9210 if test -d .libs; then
9211   lt_cv_objdir=.libs
9212 else
9213   # MS-DOS does not allow filenames that begin with a dot.
9214   lt_cv_objdir=_libs
9215 fi
9216 rmdir .libs 2>/dev/null
9217 fi
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9219 $as_echo "$lt_cv_objdir" >&6; }
9220 objdir=$lt_cv_objdir
9221
9222
9223
9224
9225
9226 cat >>confdefs.h <<_ACEOF
9227 #define LT_OBJDIR "$lt_cv_objdir/"
9228 _ACEOF
9229
9230
9231
9232
9233 case $host_os in
9234 aix3*)
9235   # AIX sometimes has problems with the GCC collect2 program.  For some
9236   # reason, if we set the COLLECT_NAMES environment variable, the problems
9237   # vanish in a puff of smoke.
9238   if test "X${COLLECT_NAMES+set}" != Xset; then
9239     COLLECT_NAMES=
9240     export COLLECT_NAMES
9241   fi
9242   ;;
9243 esac
9244
9245 # Global variables:
9246 ofile=libtool
9247 can_build_shared=yes
9248
9249 # All known linkers require a `.a' archive for static linking (except MSVC,
9250 # which needs '.lib').
9251 libext=a
9252
9253 with_gnu_ld="$lt_cv_prog_gnu_ld"
9254
9255 old_CC="$CC"
9256 old_CFLAGS="$CFLAGS"
9257
9258 # Set sane defaults for various variables
9259 test -z "$CC" && CC=cc
9260 test -z "$LTCC" && LTCC=$CC
9261 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9262 test -z "$LD" && LD=ld
9263 test -z "$ac_objext" && ac_objext=o
9264
9265 for cc_temp in $compiler""; do
9266   case $cc_temp in
9267     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9268     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9269     \-*) ;;
9270     *) break;;
9271   esac
9272 done
9273 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9274
9275
9276 # Only perform the check for file, if the check method requires it
9277 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9278 case $deplibs_check_method in
9279 file_magic*)
9280   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9281     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9282 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9283 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9284   $as_echo_n "(cached) " >&6
9285 else
9286   case $MAGIC_CMD in
9287 [\\/*] |  ?:[\\/]*)
9288   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9289   ;;
9290 *)
9291   lt_save_MAGIC_CMD="$MAGIC_CMD"
9292   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9293   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9294   for ac_dir in $ac_dummy; do
9295     IFS="$lt_save_ifs"
9296     test -z "$ac_dir" && ac_dir=.
9297     if test -f $ac_dir/${ac_tool_prefix}file; then
9298       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9299       if test -n "$file_magic_test_file"; then
9300         case $deplibs_check_method in
9301         "file_magic "*)
9302           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9303           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9304           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9305             $EGREP "$file_magic_regex" > /dev/null; then
9306             :
9307           else
9308             cat <<_LT_EOF 1>&2
9309
9310 *** Warning: the command libtool uses to detect shared libraries,
9311 *** $file_magic_cmd, produces output that libtool cannot recognize.
9312 *** The result is that libtool may fail to recognize shared libraries
9313 *** as such.  This will affect the creation of libtool libraries that
9314 *** depend on shared libraries, but programs linked with such libtool
9315 *** libraries will work regardless of this problem.  Nevertheless, you
9316 *** may want to report the problem to your system manager and/or to
9317 *** bug-libtool@gnu.org
9318
9319 _LT_EOF
9320           fi ;;
9321         esac
9322       fi
9323       break
9324     fi
9325   done
9326   IFS="$lt_save_ifs"
9327   MAGIC_CMD="$lt_save_MAGIC_CMD"
9328   ;;
9329 esac
9330 fi
9331
9332 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9333 if test -n "$MAGIC_CMD"; then
9334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9335 $as_echo "$MAGIC_CMD" >&6; }
9336 else
9337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9338 $as_echo "no" >&6; }
9339 fi
9340
9341
9342
9343
9344
9345 if test -z "$lt_cv_path_MAGIC_CMD"; then
9346   if test -n "$ac_tool_prefix"; then
9347     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9348 $as_echo_n "checking for file... " >&6; }
9349 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9350   $as_echo_n "(cached) " >&6
9351 else
9352   case $MAGIC_CMD in
9353 [\\/*] |  ?:[\\/]*)
9354   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9355   ;;
9356 *)
9357   lt_save_MAGIC_CMD="$MAGIC_CMD"
9358   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9359   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9360   for ac_dir in $ac_dummy; do
9361     IFS="$lt_save_ifs"
9362     test -z "$ac_dir" && ac_dir=.
9363     if test -f $ac_dir/file; then
9364       lt_cv_path_MAGIC_CMD="$ac_dir/file"
9365       if test -n "$file_magic_test_file"; then
9366         case $deplibs_check_method in
9367         "file_magic "*)
9368           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9369           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9370           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9371             $EGREP "$file_magic_regex" > /dev/null; then
9372             :
9373           else
9374             cat <<_LT_EOF 1>&2
9375
9376 *** Warning: the command libtool uses to detect shared libraries,
9377 *** $file_magic_cmd, produces output that libtool cannot recognize.
9378 *** The result is that libtool may fail to recognize shared libraries
9379 *** as such.  This will affect the creation of libtool libraries that
9380 *** depend on shared libraries, but programs linked with such libtool
9381 *** libraries will work regardless of this problem.  Nevertheless, you
9382 *** may want to report the problem to your system manager and/or to
9383 *** bug-libtool@gnu.org
9384
9385 _LT_EOF
9386           fi ;;
9387         esac
9388       fi
9389       break
9390     fi
9391   done
9392   IFS="$lt_save_ifs"
9393   MAGIC_CMD="$lt_save_MAGIC_CMD"
9394   ;;
9395 esac
9396 fi
9397
9398 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9399 if test -n "$MAGIC_CMD"; then
9400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9401 $as_echo "$MAGIC_CMD" >&6; }
9402 else
9403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9404 $as_echo "no" >&6; }
9405 fi
9406
9407
9408   else
9409     MAGIC_CMD=:
9410   fi
9411 fi
9412
9413   fi
9414   ;;
9415 esac
9416
9417 # Use C for the default configuration in the libtool script
9418
9419 lt_save_CC="$CC"
9420 ac_ext=c
9421 ac_cpp='$CPP $CPPFLAGS'
9422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9425
9426
9427 # Source file extension for C test sources.
9428 ac_ext=c
9429
9430 # Object file extension for compiled C test sources.
9431 objext=o
9432 objext=$objext
9433
9434 # Code to be used in simple compile tests
9435 lt_simple_compile_test_code="int some_variable = 0;"
9436
9437 # Code to be used in simple link tests
9438 lt_simple_link_test_code='int main(){return(0);}'
9439
9440
9441
9442
9443
9444
9445
9446 # If no C compiler was specified, use CC.
9447 LTCC=${LTCC-"$CC"}
9448
9449 # If no C compiler flags were specified, use CFLAGS.
9450 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9451
9452 # Allow CC to be a program name with arguments.
9453 compiler=$CC
9454
9455 # Save the default compiler, since it gets overwritten when the other
9456 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9457 compiler_DEFAULT=$CC
9458
9459 # save warnings/boilerplate of simple test code
9460 ac_outfile=conftest.$ac_objext
9461 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9462 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9463 _lt_compiler_boilerplate=`cat conftest.err`
9464 $RM conftest*
9465
9466 ac_outfile=conftest.$ac_objext
9467 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9468 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9469 _lt_linker_boilerplate=`cat conftest.err`
9470 $RM -r conftest*
9471
9472
9473 if test -n "$compiler"; then
9474
9475 lt_prog_compiler_no_builtin_flag=
9476
9477 if test "$GCC" = yes; then
9478   case $cc_basename in
9479   nvcc*)
9480     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9481   *)
9482     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9483   esac
9484
9485   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9486 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9487 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9488   $as_echo_n "(cached) " >&6
9489 else
9490   lt_cv_prog_compiler_rtti_exceptions=no
9491    ac_outfile=conftest.$ac_objext
9492    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9493    lt_compiler_flag="-fno-rtti -fno-exceptions"
9494    # Insert the option either (1) after the last *FLAGS variable, or
9495    # (2) before a word containing "conftest.", or (3) at the end.
9496    # Note that $ac_compile itself does not contain backslashes and begins
9497    # with a dollar sign (not a hyphen), so the echo should work correctly.
9498    # The option is referenced via a variable to avoid confusing sed.
9499    lt_compile=`echo "$ac_compile" | $SED \
9500    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9501    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9502    -e 's:$: $lt_compiler_flag:'`
9503    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9504    (eval "$lt_compile" 2>conftest.err)
9505    ac_status=$?
9506    cat conftest.err >&5
9507    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9508    if (exit $ac_status) && test -s "$ac_outfile"; then
9509      # The compiler can only warn and ignore the option if not recognized
9510      # So say no if there are warnings other than the usual output.
9511      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9512      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9513      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9514        lt_cv_prog_compiler_rtti_exceptions=yes
9515      fi
9516    fi
9517    $RM conftest*
9518
9519 fi
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9521 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9522
9523 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9524     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9525 else
9526     :
9527 fi
9528
9529 fi
9530
9531
9532
9533
9534
9535
9536   lt_prog_compiler_wl=
9537 lt_prog_compiler_pic=
9538 lt_prog_compiler_static=
9539
9540
9541   if test "$GCC" = yes; then
9542     lt_prog_compiler_wl='-Wl,'
9543     lt_prog_compiler_static='-static'
9544
9545     case $host_os in
9546       aix*)
9547       # All AIX code is PIC.
9548       if test "$host_cpu" = ia64; then
9549         # AIX 5 now supports IA64 processor
9550         lt_prog_compiler_static='-Bstatic'
9551       fi
9552       ;;
9553
9554     amigaos*)
9555       case $host_cpu in
9556       powerpc)
9557             # see comment about AmigaOS4 .so support
9558             lt_prog_compiler_pic='-fPIC'
9559         ;;
9560       m68k)
9561             # FIXME: we need at least 68020 code to build shared libraries, but
9562             # adding the `-m68020' flag to GCC prevents building anything better,
9563             # like `-m68040'.
9564             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9565         ;;
9566       esac
9567       ;;
9568
9569     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9570       # PIC is the default for these OSes.
9571       ;;
9572
9573     mingw* | cygwin* | pw32* | os2* | cegcc*)
9574       # This hack is so that the source file can tell whether it is being
9575       # built for inclusion in a dll (and should export symbols for example).
9576       # Although the cygwin gcc ignores -fPIC, still need this for old-style
9577       # (--disable-auto-import) libraries
9578       lt_prog_compiler_pic='-DDLL_EXPORT'
9579       ;;
9580
9581     darwin* | rhapsody*)
9582       # PIC is the default on this platform
9583       # Common symbols not allowed in MH_DYLIB files
9584       lt_prog_compiler_pic='-fno-common'
9585       ;;
9586
9587     haiku*)
9588       # PIC is the default for Haiku.
9589       # The "-static" flag exists, but is broken.
9590       lt_prog_compiler_static=
9591       ;;
9592
9593     hpux*)
9594       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9595       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9596       # sets the default TLS model and affects inlining.
9597       case $host_cpu in
9598       hppa*64*)
9599         # +Z the default
9600         ;;
9601       *)
9602         lt_prog_compiler_pic='-fPIC'
9603         ;;
9604       esac
9605       ;;
9606
9607     interix[3-9]*)
9608       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9609       # Instead, we relocate shared libraries at runtime.
9610       ;;
9611
9612     msdosdjgpp*)
9613       # Just because we use GCC doesn't mean we suddenly get shared libraries
9614       # on systems that don't support them.
9615       lt_prog_compiler_can_build_shared=no
9616       enable_shared=no
9617       ;;
9618
9619     *nto* | *qnx*)
9620       # QNX uses GNU C++, but need to define -shared option too, otherwise
9621       # it will coredump.
9622       lt_prog_compiler_pic='-fPIC -shared'
9623       ;;
9624
9625     sysv4*MP*)
9626       if test -d /usr/nec; then
9627         lt_prog_compiler_pic=-Kconform_pic
9628       fi
9629       ;;
9630
9631     *)
9632       lt_prog_compiler_pic='-fPIC'
9633       ;;
9634     esac
9635
9636     case $cc_basename in
9637     nvcc*) # Cuda Compiler Driver 2.2
9638       lt_prog_compiler_wl='-Xlinker '
9639       if test -n "$lt_prog_compiler_pic"; then
9640         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9641       fi
9642       ;;
9643     esac
9644   else
9645     # PORTME Check for flag to pass linker flags through the system compiler.
9646     case $host_os in
9647     aix*)
9648       lt_prog_compiler_wl='-Wl,'
9649       if test "$host_cpu" = ia64; then
9650         # AIX 5 now supports IA64 processor
9651         lt_prog_compiler_static='-Bstatic'
9652       else
9653         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9654       fi
9655       ;;
9656
9657     mingw* | cygwin* | pw32* | os2* | cegcc*)
9658       # This hack is so that the source file can tell whether it is being
9659       # built for inclusion in a dll (and should export symbols for example).
9660       lt_prog_compiler_pic='-DDLL_EXPORT'
9661       ;;
9662
9663     hpux9* | hpux10* | hpux11*)
9664       lt_prog_compiler_wl='-Wl,'
9665       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9666       # not for PA HP-UX.
9667       case $host_cpu in
9668       hppa*64*|ia64*)
9669         # +Z the default
9670         ;;
9671       *)
9672         lt_prog_compiler_pic='+Z'
9673         ;;
9674       esac
9675       # Is there a better lt_prog_compiler_static that works with the bundled CC?
9676       lt_prog_compiler_static='${wl}-a ${wl}archive'
9677       ;;
9678
9679     irix5* | irix6* | nonstopux*)
9680       lt_prog_compiler_wl='-Wl,'
9681       # PIC (with -KPIC) is the default.
9682       lt_prog_compiler_static='-non_shared'
9683       ;;
9684
9685     linux* | k*bsd*-gnu | kopensolaris*-gnu)
9686       case $cc_basename in
9687       # old Intel for x86_64 which still supported -KPIC.
9688       ecc*)
9689         lt_prog_compiler_wl='-Wl,'
9690         lt_prog_compiler_pic='-KPIC'
9691         lt_prog_compiler_static='-static'
9692         ;;
9693       # icc used to be incompatible with GCC.
9694       # ICC 10 doesn't accept -KPIC any more.
9695       icc* | ifort*)
9696         lt_prog_compiler_wl='-Wl,'
9697         lt_prog_compiler_pic='-fPIC'
9698         lt_prog_compiler_static='-static'
9699         ;;
9700       # Lahey Fortran 8.1.
9701       lf95*)
9702         lt_prog_compiler_wl='-Wl,'
9703         lt_prog_compiler_pic='--shared'
9704         lt_prog_compiler_static='--static'
9705         ;;
9706       nagfor*)
9707         # NAG Fortran compiler
9708         lt_prog_compiler_wl='-Wl,-Wl,,'
9709         lt_prog_compiler_pic='-PIC'
9710         lt_prog_compiler_static='-Bstatic'
9711         ;;
9712       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9713         # Portland Group compilers (*not* the Pentium gcc compiler,
9714         # which looks to be a dead project)
9715         lt_prog_compiler_wl='-Wl,'
9716         lt_prog_compiler_pic='-fpic'
9717         lt_prog_compiler_static='-Bstatic'
9718         ;;
9719       ccc*)
9720         lt_prog_compiler_wl='-Wl,'
9721         # All Alpha code is PIC.
9722         lt_prog_compiler_static='-non_shared'
9723         ;;
9724       xl* | bgxl* | bgf* | mpixl*)
9725         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9726         lt_prog_compiler_wl='-Wl,'
9727         lt_prog_compiler_pic='-qpic'
9728         lt_prog_compiler_static='-qstaticlink'
9729         ;;
9730       *)
9731         case `$CC -V 2>&1 | sed 5q` in
9732         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9733           # Sun Fortran 8.3 passes all unrecognized flags to the linker
9734           lt_prog_compiler_pic='-KPIC'
9735           lt_prog_compiler_static='-Bstatic'
9736           lt_prog_compiler_wl=''
9737           ;;
9738         *Sun\ F* | *Sun*Fortran*)
9739           lt_prog_compiler_pic='-KPIC'
9740           lt_prog_compiler_static='-Bstatic'
9741           lt_prog_compiler_wl='-Qoption ld '
9742           ;;
9743         *Sun\ C*)
9744           # Sun C 5.9
9745           lt_prog_compiler_pic='-KPIC'
9746           lt_prog_compiler_static='-Bstatic'
9747           lt_prog_compiler_wl='-Wl,'
9748           ;;
9749         *Intel*\ [CF]*Compiler*)
9750           lt_prog_compiler_wl='-Wl,'
9751           lt_prog_compiler_pic='-fPIC'
9752           lt_prog_compiler_static='-static'
9753           ;;
9754         *Portland\ Group*)
9755           lt_prog_compiler_wl='-Wl,'
9756           lt_prog_compiler_pic='-fpic'
9757           lt_prog_compiler_static='-Bstatic'
9758           ;;
9759         esac
9760         ;;
9761       esac
9762       ;;
9763
9764     newsos6)
9765       lt_prog_compiler_pic='-KPIC'
9766       lt_prog_compiler_static='-Bstatic'
9767       ;;
9768
9769     *nto* | *qnx*)
9770       # QNX uses GNU C++, but need to define -shared option too, otherwise
9771       # it will coredump.
9772       lt_prog_compiler_pic='-fPIC -shared'
9773       ;;
9774
9775     osf3* | osf4* | osf5*)
9776       lt_prog_compiler_wl='-Wl,'
9777       # All OSF/1 code is PIC.
9778       lt_prog_compiler_static='-non_shared'
9779       ;;
9780
9781     rdos*)
9782       lt_prog_compiler_static='-non_shared'
9783       ;;
9784
9785     solaris*)
9786       lt_prog_compiler_pic='-KPIC'
9787       lt_prog_compiler_static='-Bstatic'
9788       case $cc_basename in
9789       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9790         lt_prog_compiler_wl='-Qoption ld ';;
9791       *)
9792         lt_prog_compiler_wl='-Wl,';;
9793       esac
9794       ;;
9795
9796     sunos4*)
9797       lt_prog_compiler_wl='-Qoption ld '
9798       lt_prog_compiler_pic='-PIC'
9799       lt_prog_compiler_static='-Bstatic'
9800       ;;
9801
9802     sysv4 | sysv4.2uw2* | sysv4.3*)
9803       lt_prog_compiler_wl='-Wl,'
9804       lt_prog_compiler_pic='-KPIC'
9805       lt_prog_compiler_static='-Bstatic'
9806       ;;
9807
9808     sysv4*MP*)
9809       if test -d /usr/nec ;then
9810         lt_prog_compiler_pic='-Kconform_pic'
9811         lt_prog_compiler_static='-Bstatic'
9812       fi
9813       ;;
9814
9815     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9816       lt_prog_compiler_wl='-Wl,'
9817       lt_prog_compiler_pic='-KPIC'
9818       lt_prog_compiler_static='-Bstatic'
9819       ;;
9820
9821     unicos*)
9822       lt_prog_compiler_wl='-Wl,'
9823       lt_prog_compiler_can_build_shared=no
9824       ;;
9825
9826     uts4*)
9827       lt_prog_compiler_pic='-pic'
9828       lt_prog_compiler_static='-Bstatic'
9829       ;;
9830
9831     *)
9832       lt_prog_compiler_can_build_shared=no
9833       ;;
9834     esac
9835   fi
9836
9837 case $host_os in
9838   # For platforms which do not support PIC, -DPIC is meaningless:
9839   *djgpp*)
9840     lt_prog_compiler_pic=
9841     ;;
9842   *)
9843     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9844     ;;
9845 esac
9846
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9848 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9849 if ${lt_cv_prog_compiler_pic+:} false; then :
9850   $as_echo_n "(cached) " >&6
9851 else
9852   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9853 fi
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9855 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9856 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9857
9858 #
9859 # Check to make sure the PIC flag actually works.
9860 #
9861 if test -n "$lt_prog_compiler_pic"; then
9862   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9863 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9864 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9865   $as_echo_n "(cached) " >&6
9866 else
9867   lt_cv_prog_compiler_pic_works=no
9868    ac_outfile=conftest.$ac_objext
9869    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9870    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9871    # Insert the option either (1) after the last *FLAGS variable, or
9872    # (2) before a word containing "conftest.", or (3) at the end.
9873    # Note that $ac_compile itself does not contain backslashes and begins
9874    # with a dollar sign (not a hyphen), so the echo should work correctly.
9875    # The option is referenced via a variable to avoid confusing sed.
9876    lt_compile=`echo "$ac_compile" | $SED \
9877    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9878    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9879    -e 's:$: $lt_compiler_flag:'`
9880    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9881    (eval "$lt_compile" 2>conftest.err)
9882    ac_status=$?
9883    cat conftest.err >&5
9884    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9885    if (exit $ac_status) && test -s "$ac_outfile"; then
9886      # The compiler can only warn and ignore the option if not recognized
9887      # So say no if there are warnings other than the usual output.
9888      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9889      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9890      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9891        lt_cv_prog_compiler_pic_works=yes
9892      fi
9893    fi
9894    $RM conftest*
9895
9896 fi
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9898 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9899
9900 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9901     case $lt_prog_compiler_pic in
9902      "" | " "*) ;;
9903      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9904      esac
9905 else
9906     lt_prog_compiler_pic=
9907      lt_prog_compiler_can_build_shared=no
9908 fi
9909
9910 fi
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922 #
9923 # Check to make sure the static flag actually works.
9924 #
9925 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9927 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9928 if ${lt_cv_prog_compiler_static_works+:} false; then :
9929   $as_echo_n "(cached) " >&6
9930 else
9931   lt_cv_prog_compiler_static_works=no
9932    save_LDFLAGS="$LDFLAGS"
9933    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9934    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9935    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9936      # The linker can only warn and ignore the option if not recognized
9937      # So say no if there are warnings
9938      if test -s conftest.err; then
9939        # Append any errors to the config.log.
9940        cat conftest.err 1>&5
9941        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9942        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9943        if diff conftest.exp conftest.er2 >/dev/null; then
9944          lt_cv_prog_compiler_static_works=yes
9945        fi
9946      else
9947        lt_cv_prog_compiler_static_works=yes
9948      fi
9949    fi
9950    $RM -r conftest*
9951    LDFLAGS="$save_LDFLAGS"
9952
9953 fi
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9955 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9956
9957 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9958     :
9959 else
9960     lt_prog_compiler_static=
9961 fi
9962
9963
9964
9965
9966
9967
9968
9969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9970 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9971 if ${lt_cv_prog_compiler_c_o+:} false; then :
9972   $as_echo_n "(cached) " >&6
9973 else
9974   lt_cv_prog_compiler_c_o=no
9975    $RM -r conftest 2>/dev/null
9976    mkdir conftest
9977    cd conftest
9978    mkdir out
9979    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9980
9981    lt_compiler_flag="-o out/conftest2.$ac_objext"
9982    # Insert the option either (1) after the last *FLAGS variable, or
9983    # (2) before a word containing "conftest.", or (3) at the end.
9984    # Note that $ac_compile itself does not contain backslashes and begins
9985    # with a dollar sign (not a hyphen), so the echo should work correctly.
9986    lt_compile=`echo "$ac_compile" | $SED \
9987    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9988    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9989    -e 's:$: $lt_compiler_flag:'`
9990    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9991    (eval "$lt_compile" 2>out/conftest.err)
9992    ac_status=$?
9993    cat out/conftest.err >&5
9994    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9995    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9996    then
9997      # The compiler can only warn and ignore the option if not recognized
9998      # So say no if there are warnings
9999      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10000      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10001      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10002        lt_cv_prog_compiler_c_o=yes
10003      fi
10004    fi
10005    chmod u+w . 2>&5
10006    $RM conftest*
10007    # SGI C++ compiler will create directory out/ii_files/ for
10008    # template instantiation
10009    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10010    $RM out/* && rmdir out
10011    cd ..
10012    $RM -r conftest
10013    $RM conftest*
10014
10015 fi
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10017 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10018
10019
10020
10021
10022
10023
10024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10025 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10026 if ${lt_cv_prog_compiler_c_o+:} false; then :
10027   $as_echo_n "(cached) " >&6
10028 else
10029   lt_cv_prog_compiler_c_o=no
10030    $RM -r conftest 2>/dev/null
10031    mkdir conftest
10032    cd conftest
10033    mkdir out
10034    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10035
10036    lt_compiler_flag="-o out/conftest2.$ac_objext"
10037    # Insert the option either (1) after the last *FLAGS variable, or
10038    # (2) before a word containing "conftest.", or (3) at the end.
10039    # Note that $ac_compile itself does not contain backslashes and begins
10040    # with a dollar sign (not a hyphen), so the echo should work correctly.
10041    lt_compile=`echo "$ac_compile" | $SED \
10042    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10043    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10044    -e 's:$: $lt_compiler_flag:'`
10045    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10046    (eval "$lt_compile" 2>out/conftest.err)
10047    ac_status=$?
10048    cat out/conftest.err >&5
10049    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10051    then
10052      # The compiler can only warn and ignore the option if not recognized
10053      # So say no if there are warnings
10054      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10055      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10056      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10057        lt_cv_prog_compiler_c_o=yes
10058      fi
10059    fi
10060    chmod u+w . 2>&5
10061    $RM conftest*
10062    # SGI C++ compiler will create directory out/ii_files/ for
10063    # template instantiation
10064    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10065    $RM out/* && rmdir out
10066    cd ..
10067    $RM -r conftest
10068    $RM conftest*
10069
10070 fi
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10072 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10073
10074
10075
10076
10077 hard_links="nottested"
10078 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10079   # do not overwrite the value of need_locks provided by the user
10080   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10081 $as_echo_n "checking if we can lock with hard links... " >&6; }
10082   hard_links=yes
10083   $RM conftest*
10084   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10085   touch conftest.a
10086   ln conftest.a conftest.b 2>&5 || hard_links=no
10087   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10089 $as_echo "$hard_links" >&6; }
10090   if test "$hard_links" = no; then
10091     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10092 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10093     need_locks=warn
10094   fi
10095 else
10096   need_locks=no
10097 fi
10098
10099
10100
10101
10102
10103
10104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10105 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10106
10107   runpath_var=
10108   allow_undefined_flag=
10109   always_export_symbols=no
10110   archive_cmds=
10111   archive_expsym_cmds=
10112   compiler_needs_object=no
10113   enable_shared_with_static_runtimes=no
10114   export_dynamic_flag_spec=
10115   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10116   hardcode_automatic=no
10117   hardcode_direct=no
10118   hardcode_direct_absolute=no
10119   hardcode_libdir_flag_spec=
10120   hardcode_libdir_separator=
10121   hardcode_minus_L=no
10122   hardcode_shlibpath_var=unsupported
10123   inherit_rpath=no
10124   link_all_deplibs=unknown
10125   module_cmds=
10126   module_expsym_cmds=
10127   old_archive_from_new_cmds=
10128   old_archive_from_expsyms_cmds=
10129   thread_safe_flag_spec=
10130   whole_archive_flag_spec=
10131   # include_expsyms should be a list of space-separated symbols to be *always*
10132   # included in the symbol list
10133   include_expsyms=
10134   # exclude_expsyms can be an extended regexp of symbols to exclude
10135   # it will be wrapped by ` (' and `)$', so one must not match beginning or
10136   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10137   # as well as any symbol that contains `d'.
10138   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10139   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10140   # platforms (ab)use it in PIC code, but their linkers get confused if
10141   # the symbol is explicitly referenced.  Since portable code cannot
10142   # rely on this symbol name, it's probably fine to never include it in
10143   # preloaded symbol tables.
10144   # Exclude shared library initialization/finalization symbols.
10145   extract_expsyms_cmds=
10146
10147   case $host_os in
10148   cygwin* | mingw* | pw32* | cegcc*)
10149     # FIXME: the MSVC++ port hasn't been tested in a loooong time
10150     # When not using gcc, we currently assume that we are using
10151     # Microsoft Visual C++.
10152     if test "$GCC" != yes; then
10153       with_gnu_ld=no
10154     fi
10155     ;;
10156   interix*)
10157     # we just hope/assume this is gcc and not c89 (= MSVC++)
10158     with_gnu_ld=yes
10159     ;;
10160   openbsd*)
10161     with_gnu_ld=no
10162     ;;
10163   esac
10164
10165   ld_shlibs=yes
10166
10167   # On some targets, GNU ld is compatible enough with the native linker
10168   # that we're better off using the native interface for both.
10169   lt_use_gnu_ld_interface=no
10170   if test "$with_gnu_ld" = yes; then
10171     case $host_os in
10172       aix*)
10173         # The AIX port of GNU ld has always aspired to compatibility
10174         # with the native linker.  However, as the warning in the GNU ld
10175         # block says, versions before 2.19.5* couldn't really create working
10176         # shared libraries, regardless of the interface used.
10177         case `$LD -v 2>&1` in
10178           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10179           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10180           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10181           *)
10182             lt_use_gnu_ld_interface=yes
10183             ;;
10184         esac
10185         ;;
10186       *)
10187         lt_use_gnu_ld_interface=yes
10188         ;;
10189     esac
10190   fi
10191
10192   if test "$lt_use_gnu_ld_interface" = yes; then
10193     # If archive_cmds runs LD, not CC, wlarc should be empty
10194     wlarc='${wl}'
10195
10196     # Set some defaults for GNU ld with shared library support. These
10197     # are reset later if shared libraries are not supported. Putting them
10198     # here allows them to be overridden if necessary.
10199     runpath_var=LD_RUN_PATH
10200     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10201     export_dynamic_flag_spec='${wl}--export-dynamic'
10202     # ancient GNU ld didn't support --whole-archive et. al.
10203     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10204       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10205     else
10206       whole_archive_flag_spec=
10207     fi
10208     supports_anon_versioning=no
10209     case `$LD -v 2>&1` in
10210       *GNU\ gold*) supports_anon_versioning=yes ;;
10211       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10212       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10213       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10214       *\ 2.11.*) ;; # other 2.11 versions
10215       *) supports_anon_versioning=yes ;;
10216     esac
10217
10218     # See if GNU ld supports shared libraries.
10219     case $host_os in
10220     aix[3-9]*)
10221       # On AIX/PPC, the GNU linker is very broken
10222       if test "$host_cpu" != ia64; then
10223         ld_shlibs=no
10224         cat <<_LT_EOF 1>&2
10225
10226 *** Warning: the GNU linker, at least up to release 2.19, is reported
10227 *** to be unable to reliably create shared libraries on AIX.
10228 *** Therefore, libtool is disabling shared libraries support.  If you
10229 *** really care for shared libraries, you may want to install binutils
10230 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10231 *** You will then need to restart the configuration process.
10232
10233 _LT_EOF
10234       fi
10235       ;;
10236
10237     amigaos*)
10238       case $host_cpu in
10239       powerpc)
10240             # see comment about AmigaOS4 .so support
10241             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10242             archive_expsym_cmds=''
10243         ;;
10244       m68k)
10245             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10246             hardcode_libdir_flag_spec='-L$libdir'
10247             hardcode_minus_L=yes
10248         ;;
10249       esac
10250       ;;
10251
10252     beos*)
10253       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10254         allow_undefined_flag=unsupported
10255         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10256         # support --undefined.  This deserves some investigation.  FIXME
10257         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10258       else
10259         ld_shlibs=no
10260       fi
10261       ;;
10262
10263     cygwin* | mingw* | pw32* | cegcc*)
10264       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10265       # as there is no search path for DLLs.
10266       hardcode_libdir_flag_spec='-L$libdir'
10267       export_dynamic_flag_spec='${wl}--export-all-symbols'
10268       allow_undefined_flag=unsupported
10269       always_export_symbols=no
10270       enable_shared_with_static_runtimes=yes
10271       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
10272       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10273
10274       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10275         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10276         # If the export-symbols file already is a .def file (1st line
10277         # is EXPORTS), use it as is; otherwise, prepend...
10278         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10279           cp $export_symbols $output_objdir/$soname.def;
10280         else
10281           echo EXPORTS > $output_objdir/$soname.def;
10282           cat $export_symbols >> $output_objdir/$soname.def;
10283         fi~
10284         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10285       else
10286         ld_shlibs=no
10287       fi
10288       ;;
10289
10290     haiku*)
10291       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10292       link_all_deplibs=yes
10293       ;;
10294
10295     interix[3-9]*)
10296       hardcode_direct=no
10297       hardcode_shlibpath_var=no
10298       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10299       export_dynamic_flag_spec='${wl}-E'
10300       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10301       # Instead, shared libraries are loaded at an image base (0x10000000 by
10302       # default) and relocated if they conflict, which is a slow very memory
10303       # consuming and fragmenting process.  To avoid this, we pick a random,
10304       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10305       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10306       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10307       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10308       ;;
10309
10310     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10311       tmp_diet=no
10312       if test "$host_os" = linux-dietlibc; then
10313         case $cc_basename in
10314           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
10315         esac
10316       fi
10317       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10318          && test "$tmp_diet" = no
10319       then
10320         tmp_addflag=' $pic_flag'
10321         tmp_sharedflag='-shared'
10322         case $cc_basename,$host_cpu in
10323         pgcc*)                          # Portland Group C compiler
10324           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10325           tmp_addflag=' $pic_flag'
10326           ;;
10327         pgf77* | pgf90* | pgf95* | pgfortran*)
10328                                         # Portland Group f77 and f90 compilers
10329           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10330           tmp_addflag=' $pic_flag -Mnomain' ;;
10331         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10332           tmp_addflag=' -i_dynamic' ;;
10333         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
10334           tmp_addflag=' -i_dynamic -nofor_main' ;;
10335         ifc* | ifort*)                  # Intel Fortran compiler
10336           tmp_addflag=' -nofor_main' ;;
10337         lf95*)                          # Lahey Fortran 8.1
10338           whole_archive_flag_spec=
10339           tmp_sharedflag='--shared' ;;
10340         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10341           tmp_sharedflag='-qmkshrobj'
10342           tmp_addflag= ;;
10343         nvcc*)  # Cuda Compiler Driver 2.2
10344           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10345           compiler_needs_object=yes
10346           ;;
10347         esac
10348         case `$CC -V 2>&1 | sed 5q` in
10349         *Sun\ C*)                       # Sun C 5.9
10350           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10351           compiler_needs_object=yes
10352           tmp_sharedflag='-G' ;;
10353         *Sun\ F*)                       # Sun Fortran 8.3
10354           tmp_sharedflag='-G' ;;
10355         esac
10356         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10357
10358         if test "x$supports_anon_versioning" = xyes; then
10359           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10360             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10361             echo "local: *; };" >> $output_objdir/$libname.ver~
10362             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10363         fi
10364
10365         case $cc_basename in
10366         xlf* | bgf* | bgxlf* | mpixlf*)
10367           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10368           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10369           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10370           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10371           if test "x$supports_anon_versioning" = xyes; then
10372             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10373               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10374               echo "local: *; };" >> $output_objdir/$libname.ver~
10375               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10376           fi
10377           ;;
10378         esac
10379       else
10380         ld_shlibs=no
10381       fi
10382       ;;
10383
10384     netbsd*)
10385       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10386         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10387         wlarc=
10388       else
10389         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10390         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10391       fi
10392       ;;
10393
10394     solaris*)
10395       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10396         ld_shlibs=no
10397         cat <<_LT_EOF 1>&2
10398
10399 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10400 *** create shared libraries on Solaris systems.  Therefore, libtool
10401 *** is disabling shared libraries support.  We urge you to upgrade GNU
10402 *** binutils to release 2.9.1 or newer.  Another option is to modify
10403 *** your PATH or compiler configuration so that the native linker is
10404 *** used, and then restart.
10405
10406 _LT_EOF
10407       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10408         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10409         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10410       else
10411         ld_shlibs=no
10412       fi
10413       ;;
10414
10415     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10416       case `$LD -v 2>&1` in
10417         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10418         ld_shlibs=no
10419         cat <<_LT_EOF 1>&2
10420
10421 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10422 *** reliably create shared libraries on SCO systems.  Therefore, libtool
10423 *** is disabling shared libraries support.  We urge you to upgrade GNU
10424 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10425 *** your PATH or compiler configuration so that the native linker is
10426 *** used, and then restart.
10427
10428 _LT_EOF
10429         ;;
10430         *)
10431           # For security reasons, it is highly recommended that you always
10432           # use absolute paths for naming shared libraries, and exclude the
10433           # DT_RUNPATH tag from executables and libraries.  But doing so
10434           # requires that you compile everything twice, which is a pain.
10435           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10436             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10437             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10438             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10439           else
10440             ld_shlibs=no
10441           fi
10442         ;;
10443       esac
10444       ;;
10445
10446     sunos4*)
10447       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10448       wlarc=
10449       hardcode_direct=yes
10450       hardcode_shlibpath_var=no
10451       ;;
10452
10453     *)
10454       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10455         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10456         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10457       else
10458         ld_shlibs=no
10459       fi
10460       ;;
10461     esac
10462
10463     if test "$ld_shlibs" = no; then
10464       runpath_var=
10465       hardcode_libdir_flag_spec=
10466       export_dynamic_flag_spec=
10467       whole_archive_flag_spec=
10468     fi
10469   else
10470     # PORTME fill in a description of your system's linker (not GNU ld)
10471     case $host_os in
10472     aix3*)
10473       allow_undefined_flag=unsupported
10474       always_export_symbols=yes
10475       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
10476       # Note: this linker hardcodes the directories in LIBPATH if there
10477       # are no directories specified by -L.
10478       hardcode_minus_L=yes
10479       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10480         # Neither direct hardcoding nor static linking is supported with a
10481         # broken collect2.
10482         hardcode_direct=unsupported
10483       fi
10484       ;;
10485
10486     aix[4-9]*)
10487       if test "$host_cpu" = ia64; then
10488         # On IA64, the linker does run time linking by default, so we don't
10489         # have to do anything special.
10490         aix_use_runtimelinking=no
10491         exp_sym_flag='-Bexport'
10492         no_entry_flag=""
10493       else
10494         # If we're using GNU nm, then we don't want the "-C" option.
10495         # -C means demangle to AIX nm, but means don't demangle with GNU nm
10496         # Also, AIX nm treats weak defined symbols like other global
10497         # defined symbols, whereas GNU nm marks them as "W".
10498         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10499           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10500         else
10501           export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10502         fi
10503         aix_use_runtimelinking=no
10504
10505         # Test if we are trying to use run time linking or normal
10506         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10507         # need to do runtime linking.
10508         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10509           for ld_flag in $LDFLAGS; do
10510           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10511             aix_use_runtimelinking=yes
10512             break
10513           fi
10514           done
10515           ;;
10516         esac
10517
10518         exp_sym_flag='-bexport'
10519         no_entry_flag='-bnoentry'
10520       fi
10521
10522       # When large executables or shared objects are built, AIX ld can
10523       # have problems creating the table of contents.  If linking a library
10524       # or program results in "error TOC overflow" add -mminimal-toc to
10525       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10526       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10527
10528       archive_cmds=''
10529       hardcode_direct=yes
10530       hardcode_direct_absolute=yes
10531       hardcode_libdir_separator=':'
10532       link_all_deplibs=yes
10533       file_list_spec='${wl}-f,'
10534
10535       if test "$GCC" = yes; then
10536         case $host_os in aix4.[012]|aix4.[012].*)
10537         # We only want to do this on AIX 4.2 and lower, the check
10538         # below for broken collect2 doesn't work under 4.3+
10539           collect2name=`${CC} -print-prog-name=collect2`
10540           if test -f "$collect2name" &&
10541            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10542           then
10543           # We have reworked collect2
10544           :
10545           else
10546           # We have old collect2
10547           hardcode_direct=unsupported
10548           # It fails to find uninstalled libraries when the uninstalled
10549           # path is not listed in the libpath.  Setting hardcode_minus_L
10550           # to unsupported forces relinking
10551           hardcode_minus_L=yes
10552           hardcode_libdir_flag_spec='-L$libdir'
10553           hardcode_libdir_separator=
10554           fi
10555           ;;
10556         esac
10557         shared_flag='-shared'
10558         if test "$aix_use_runtimelinking" = yes; then
10559           shared_flag="$shared_flag "'${wl}-G'
10560         fi
10561       else
10562         # not using gcc
10563         if test "$host_cpu" = ia64; then
10564         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10565         # chokes on -Wl,-G. The following line is correct:
10566           shared_flag='-G'
10567         else
10568           if test "$aix_use_runtimelinking" = yes; then
10569             shared_flag='${wl}-G'
10570           else
10571             shared_flag='${wl}-bM:SRE'
10572           fi
10573         fi
10574       fi
10575
10576       export_dynamic_flag_spec='${wl}-bexpall'
10577       # It seems that -bexpall does not export symbols beginning with
10578       # underscore (_), so it is better to generate a list of symbols to export.
10579       always_export_symbols=yes
10580       if test "$aix_use_runtimelinking" = yes; then
10581         # Warning - without using the other runtime loading flags (-brtl),
10582         # -berok will link without error, but may produce a broken library.
10583         allow_undefined_flag='-berok'
10584         # Determine the default libpath from the value encoded in an
10585         # empty executable.
10586         if test "${lt_cv_aix_libpath+set}" = set; then
10587   aix_libpath=$lt_cv_aix_libpath
10588 else
10589   if ${lt_cv_aix_libpath_+:} false; then :
10590   $as_echo_n "(cached) " >&6
10591 else
10592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10593 /* end confdefs.h.  */
10594
10595 int
10596 main ()
10597 {
10598
10599   ;
10600   return 0;
10601 }
10602 _ACEOF
10603 if ac_fn_c_try_link "$LINENO"; then :
10604
10605   lt_aix_libpath_sed='
10606       /Import File Strings/,/^$/ {
10607           /^0/ {
10608               s/^0  *\([^ ]*\) *$/\1/
10609               p
10610           }
10611       }'
10612   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10613   # Check for a 64-bit object if we didn't find anything.
10614   if test -z "$lt_cv_aix_libpath_"; then
10615     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10616   fi
10617 fi
10618 rm -f core conftest.err conftest.$ac_objext \
10619     conftest$ac_exeext conftest.$ac_ext
10620   if test -z "$lt_cv_aix_libpath_"; then
10621     lt_cv_aix_libpath_="/usr/lib:/lib"
10622   fi
10623
10624 fi
10625
10626   aix_libpath=$lt_cv_aix_libpath_
10627 fi
10628
10629         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10630         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10631       else
10632         if test "$host_cpu" = ia64; then
10633           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10634           allow_undefined_flag="-z nodefs"
10635           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
10636         else
10637          # Determine the default libpath from the value encoded in an
10638          # empty executable.
10639          if test "${lt_cv_aix_libpath+set}" = set; then
10640   aix_libpath=$lt_cv_aix_libpath
10641 else
10642   if ${lt_cv_aix_libpath_+:} false; then :
10643   $as_echo_n "(cached) " >&6
10644 else
10645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10646 /* end confdefs.h.  */
10647
10648 int
10649 main ()
10650 {
10651
10652   ;
10653   return 0;
10654 }
10655 _ACEOF
10656 if ac_fn_c_try_link "$LINENO"; then :
10657
10658   lt_aix_libpath_sed='
10659       /Import File Strings/,/^$/ {
10660           /^0/ {
10661               s/^0  *\([^ ]*\) *$/\1/
10662               p
10663           }
10664       }'
10665   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10666   # Check for a 64-bit object if we didn't find anything.
10667   if test -z "$lt_cv_aix_libpath_"; then
10668     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10669   fi
10670 fi
10671 rm -f core conftest.err conftest.$ac_objext \
10672     conftest$ac_exeext conftest.$ac_ext
10673   if test -z "$lt_cv_aix_libpath_"; then
10674     lt_cv_aix_libpath_="/usr/lib:/lib"
10675   fi
10676
10677 fi
10678
10679   aix_libpath=$lt_cv_aix_libpath_
10680 fi
10681
10682          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10683           # Warning - without using the other run time loading flags,
10684           # -berok will link without error, but may produce a broken library.
10685           no_undefined_flag=' ${wl}-bernotok'
10686           allow_undefined_flag=' ${wl}-berok'
10687           if test "$with_gnu_ld" = yes; then
10688             # We only use this code for GNU lds that support --whole-archive.
10689             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10690           else
10691             # Exported symbols can be pulled into shared objects from archives
10692             whole_archive_flag_spec='$convenience'
10693           fi
10694           archive_cmds_need_lc=yes
10695           # This is similar to how AIX traditionally builds its shared libraries.
10696           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10697         fi
10698       fi
10699       ;;
10700
10701     amigaos*)
10702       case $host_cpu in
10703       powerpc)
10704             # see comment about AmigaOS4 .so support
10705             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10706             archive_expsym_cmds=''
10707         ;;
10708       m68k)
10709             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10710             hardcode_libdir_flag_spec='-L$libdir'
10711             hardcode_minus_L=yes
10712         ;;
10713       esac
10714       ;;
10715
10716     bsdi[45]*)
10717       export_dynamic_flag_spec=-rdynamic
10718       ;;
10719
10720     cygwin* | mingw* | pw32* | cegcc*)
10721       # When not using gcc, we currently assume that we are using
10722       # Microsoft Visual C++.
10723       # hardcode_libdir_flag_spec is actually meaningless, as there is
10724       # no search path for DLLs.
10725       case $cc_basename in
10726       cl*)
10727         # Native MSVC
10728         hardcode_libdir_flag_spec=' '
10729         allow_undefined_flag=unsupported
10730         always_export_symbols=yes
10731         file_list_spec='@'
10732         # Tell ltmain to make .lib files, not .a files.
10733         libext=lib
10734         # Tell ltmain to make .dll files, not .so files.
10735         shrext_cmds=".dll"
10736         # FIXME: Setting linknames here is a bad hack.
10737         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10738         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10739             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10740           else
10741             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10742           fi~
10743           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10744           linknames='
10745         # The linker will not automatically build a static lib if we build a DLL.
10746         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10747         enable_shared_with_static_runtimes=yes
10748         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10749         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10750         # Don't use ranlib
10751         old_postinstall_cmds='chmod 644 $oldlib'
10752         postlink_cmds='lt_outputfile="@OUTPUT@"~
10753           lt_tool_outputfile="@TOOL_OUTPUT@"~
10754           case $lt_outputfile in
10755             *.exe|*.EXE) ;;
10756             *)
10757               lt_outputfile="$lt_outputfile.exe"
10758               lt_tool_outputfile="$lt_tool_outputfile.exe"
10759               ;;
10760           esac~
10761           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10762             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10763             $RM "$lt_outputfile.manifest";
10764           fi'
10765         ;;
10766       *)
10767         # Assume MSVC wrapper
10768         hardcode_libdir_flag_spec=' '
10769         allow_undefined_flag=unsupported
10770         # Tell ltmain to make .lib files, not .a files.
10771         libext=lib
10772         # Tell ltmain to make .dll files, not .so files.
10773         shrext_cmds=".dll"
10774         # FIXME: Setting linknames here is a bad hack.
10775         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10776         # The linker will automatically build a .lib file if we build a DLL.
10777         old_archive_from_new_cmds='true'
10778         # FIXME: Should let the user specify the lib program.
10779         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10780         enable_shared_with_static_runtimes=yes
10781         ;;
10782       esac
10783       ;;
10784
10785     darwin* | rhapsody*)
10786
10787
10788   archive_cmds_need_lc=no
10789   hardcode_direct=no
10790   hardcode_automatic=yes
10791   hardcode_shlibpath_var=unsupported
10792   if test "$lt_cv_ld_force_load" = "yes"; then
10793     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10794
10795   else
10796     whole_archive_flag_spec=''
10797   fi
10798   link_all_deplibs=yes
10799   allow_undefined_flag="$_lt_dar_allow_undefined"
10800   case $cc_basename in
10801      ifort*) _lt_dar_can_shared=yes ;;
10802      *) _lt_dar_can_shared=$GCC ;;
10803   esac
10804   if test "$_lt_dar_can_shared" = "yes"; then
10805     output_verbose_link_cmd=func_echo_all
10806     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10807     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10808     archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10809     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
10810
10811   else
10812   ld_shlibs=no
10813   fi
10814
10815       ;;
10816
10817     dgux*)
10818       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10819       hardcode_libdir_flag_spec='-L$libdir'
10820       hardcode_shlibpath_var=no
10821       ;;
10822
10823     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10824     # support.  Future versions do this automatically, but an explicit c++rt0.o
10825     # does not break anything, and helps significantly (at the cost of a little
10826     # extra space).
10827     freebsd2.2*)
10828       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10829       hardcode_libdir_flag_spec='-R$libdir'
10830       hardcode_direct=yes
10831       hardcode_shlibpath_var=no
10832       ;;
10833
10834     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10835     freebsd2.*)
10836       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10837       hardcode_direct=yes
10838       hardcode_minus_L=yes
10839       hardcode_shlibpath_var=no
10840       ;;
10841
10842     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10843     freebsd* | dragonfly*)
10844       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10845       hardcode_libdir_flag_spec='-R$libdir'
10846       hardcode_direct=yes
10847       hardcode_shlibpath_var=no
10848       ;;
10849
10850     hpux9*)
10851       if test "$GCC" = yes; then
10852         archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10853       else
10854         archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10855       fi
10856       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10857       hardcode_libdir_separator=:
10858       hardcode_direct=yes
10859
10860       # hardcode_minus_L: Not really in the search PATH,
10861       # but as the default location of the library.
10862       hardcode_minus_L=yes
10863       export_dynamic_flag_spec='${wl}-E'
10864       ;;
10865
10866     hpux10*)
10867       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10868         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10869       else
10870         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10871       fi
10872       if test "$with_gnu_ld" = no; then
10873         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10874         hardcode_libdir_separator=:
10875         hardcode_direct=yes
10876         hardcode_direct_absolute=yes
10877         export_dynamic_flag_spec='${wl}-E'
10878         # hardcode_minus_L: Not really in the search PATH,
10879         # but as the default location of the library.
10880         hardcode_minus_L=yes
10881       fi
10882       ;;
10883
10884     hpux11*)
10885       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10886         case $host_cpu in
10887         hppa*64*)
10888           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10889           ;;
10890         ia64*)
10891           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10892           ;;
10893         *)
10894           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10895           ;;
10896         esac
10897       else
10898         case $host_cpu in
10899         hppa*64*)
10900           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10901           ;;
10902         ia64*)
10903           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10904           ;;
10905         *)
10906
10907           # Older versions of the 11.00 compiler do not understand -b yet
10908           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10909           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10910 $as_echo_n "checking if $CC understands -b... " >&6; }
10911 if ${lt_cv_prog_compiler__b+:} false; then :
10912   $as_echo_n "(cached) " >&6
10913 else
10914   lt_cv_prog_compiler__b=no
10915    save_LDFLAGS="$LDFLAGS"
10916    LDFLAGS="$LDFLAGS -b"
10917    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10918    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10919      # The linker can only warn and ignore the option if not recognized
10920      # So say no if there are warnings
10921      if test -s conftest.err; then
10922        # Append any errors to the config.log.
10923        cat conftest.err 1>&5
10924        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10925        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10926        if diff conftest.exp conftest.er2 >/dev/null; then
10927          lt_cv_prog_compiler__b=yes
10928        fi
10929      else
10930        lt_cv_prog_compiler__b=yes
10931      fi
10932    fi
10933    $RM -r conftest*
10934    LDFLAGS="$save_LDFLAGS"
10935
10936 fi
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10938 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10939
10940 if test x"$lt_cv_prog_compiler__b" = xyes; then
10941     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10942 else
10943     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10944 fi
10945
10946           ;;
10947         esac
10948       fi
10949       if test "$with_gnu_ld" = no; then
10950         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10951         hardcode_libdir_separator=:
10952
10953         case $host_cpu in
10954         hppa*64*|ia64*)
10955           hardcode_direct=no
10956           hardcode_shlibpath_var=no
10957           ;;
10958         *)
10959           hardcode_direct=yes
10960           hardcode_direct_absolute=yes
10961           export_dynamic_flag_spec='${wl}-E'
10962
10963           # hardcode_minus_L: Not really in the search PATH,
10964           # but as the default location of the library.
10965           hardcode_minus_L=yes
10966           ;;
10967         esac
10968       fi
10969       ;;
10970
10971     irix5* | irix6* | nonstopux*)
10972       if test "$GCC" = yes; then
10973         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10974         # Try to use the -exported_symbol ld option, if it does not
10975         # work, assume that -exports_file does not work either and
10976         # implicitly export all symbols.
10977         # This should be the same for all languages, so no per-tag cache variable.
10978         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10979 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10980 if ${lt_cv_irix_exported_symbol+:} false; then :
10981   $as_echo_n "(cached) " >&6
10982 else
10983   save_LDFLAGS="$LDFLAGS"
10984            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10985            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10986 /* end confdefs.h.  */
10987 int foo (void) { return 0; }
10988 _ACEOF
10989 if ac_fn_c_try_link "$LINENO"; then :
10990   lt_cv_irix_exported_symbol=yes
10991 else
10992   lt_cv_irix_exported_symbol=no
10993 fi
10994 rm -f core conftest.err conftest.$ac_objext \
10995     conftest$ac_exeext conftest.$ac_ext
10996            LDFLAGS="$save_LDFLAGS"
10997 fi
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10999 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11000         if test "$lt_cv_irix_exported_symbol" = yes; then
11001           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
11002         fi
11003       else
11004         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11005         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
11006       fi
11007       archive_cmds_need_lc='no'
11008       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11009       hardcode_libdir_separator=:
11010       inherit_rpath=yes
11011       link_all_deplibs=yes
11012       ;;
11013
11014     netbsd*)
11015       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11016         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11017       else
11018         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11019       fi
11020       hardcode_libdir_flag_spec='-R$libdir'
11021       hardcode_direct=yes
11022       hardcode_shlibpath_var=no
11023       ;;
11024
11025     newsos6)
11026       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11027       hardcode_direct=yes
11028       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11029       hardcode_libdir_separator=:
11030       hardcode_shlibpath_var=no
11031       ;;
11032
11033     *nto* | *qnx*)
11034       ;;
11035
11036     openbsd*)
11037       if test -f /usr/libexec/ld.so; then
11038         hardcode_direct=yes
11039         hardcode_shlibpath_var=no
11040         hardcode_direct_absolute=yes
11041         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11042           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11043           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11044           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11045           export_dynamic_flag_spec='${wl}-E'
11046         else
11047           case $host_os in
11048            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11049              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11050              hardcode_libdir_flag_spec='-R$libdir'
11051              ;;
11052            *)
11053              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11054              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11055              ;;
11056           esac
11057         fi
11058       else
11059         ld_shlibs=no
11060       fi
11061       ;;
11062
11063     os2*)
11064       hardcode_libdir_flag_spec='-L$libdir'
11065       hardcode_minus_L=yes
11066       allow_undefined_flag=unsupported
11067       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
11068       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11069       ;;
11070
11071     osf3*)
11072       if test "$GCC" = yes; then
11073         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11074         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11075       else
11076         allow_undefined_flag=' -expect_unresolved \*'
11077         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11078       fi
11079       archive_cmds_need_lc='no'
11080       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11081       hardcode_libdir_separator=:
11082       ;;
11083
11084     osf4* | osf5*)      # as osf3* with the addition of -msym flag
11085       if test "$GCC" = yes; then
11086         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11087         archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11088         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11089       else
11090         allow_undefined_flag=' -expect_unresolved \*'
11091         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11092         archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
11093         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
11094
11095         # Both c and cxx compiler support -rpath directly
11096         hardcode_libdir_flag_spec='-rpath $libdir'
11097       fi
11098       archive_cmds_need_lc='no'
11099       hardcode_libdir_separator=:
11100       ;;
11101
11102     solaris*)
11103       no_undefined_flag=' -z defs'
11104       if test "$GCC" = yes; then
11105         wlarc='${wl}'
11106         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11107         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11108           $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11109       else
11110         case `$CC -V 2>&1` in
11111         *"Compilers 5.0"*)
11112           wlarc=''
11113           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11114           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11115           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11116           ;;
11117         *)
11118           wlarc='${wl}'
11119           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11120           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11121           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11122           ;;
11123         esac
11124       fi
11125       hardcode_libdir_flag_spec='-R$libdir'
11126       hardcode_shlibpath_var=no
11127       case $host_os in
11128       solaris2.[0-5] | solaris2.[0-5].*) ;;
11129       *)
11130         # The compiler driver will combine and reorder linker options,
11131         # but understands `-z linker_flag'.  GCC discards it without `$wl',
11132         # but is careful enough not to reorder.
11133         # Supported since Solaris 2.6 (maybe 2.5.1?)
11134         if test "$GCC" = yes; then
11135           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11136         else
11137           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11138         fi
11139         ;;
11140       esac
11141       link_all_deplibs=yes
11142       ;;
11143
11144     sunos4*)
11145       if test "x$host_vendor" = xsequent; then
11146         # Use $CC to link under sequent, because it throws in some extra .o
11147         # files that make .init and .fini sections work.
11148         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11149       else
11150         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11151       fi
11152       hardcode_libdir_flag_spec='-L$libdir'
11153       hardcode_direct=yes
11154       hardcode_minus_L=yes
11155       hardcode_shlibpath_var=no
11156       ;;
11157
11158     sysv4)
11159       case $host_vendor in
11160         sni)
11161           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11162           hardcode_direct=yes # is this really true???
11163         ;;
11164         siemens)
11165           ## LD is ld it makes a PLAMLIB
11166           ## CC just makes a GrossModule.
11167           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11168           reload_cmds='$CC -r -o $output$reload_objs'
11169           hardcode_direct=no
11170         ;;
11171         motorola)
11172           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11173           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11174         ;;
11175       esac
11176       runpath_var='LD_RUN_PATH'
11177       hardcode_shlibpath_var=no
11178       ;;
11179
11180     sysv4.3*)
11181       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11182       hardcode_shlibpath_var=no
11183       export_dynamic_flag_spec='-Bexport'
11184       ;;
11185
11186     sysv4*MP*)
11187       if test -d /usr/nec; then
11188         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11189         hardcode_shlibpath_var=no
11190         runpath_var=LD_RUN_PATH
11191         hardcode_runpath_var=yes
11192         ld_shlibs=yes
11193       fi
11194       ;;
11195
11196     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11197       no_undefined_flag='${wl}-z,text'
11198       archive_cmds_need_lc=no
11199       hardcode_shlibpath_var=no
11200       runpath_var='LD_RUN_PATH'
11201
11202       if test "$GCC" = yes; then
11203         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11204         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11205       else
11206         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11207         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11208       fi
11209       ;;
11210
11211     sysv5* | sco3.2v5* | sco5v6*)
11212       # Note: We can NOT use -z defs as we might desire, because we do not
11213       # link with -lc, and that would cause any symbols used from libc to
11214       # always be unresolved, which means just about no library would
11215       # ever link correctly.  If we're not using GNU ld we use -z text
11216       # though, which does catch some bad symbols but isn't as heavy-handed
11217       # as -z defs.
11218       no_undefined_flag='${wl}-z,text'
11219       allow_undefined_flag='${wl}-z,nodefs'
11220       archive_cmds_need_lc=no
11221       hardcode_shlibpath_var=no
11222       hardcode_libdir_flag_spec='${wl}-R,$libdir'
11223       hardcode_libdir_separator=':'
11224       link_all_deplibs=yes
11225       export_dynamic_flag_spec='${wl}-Bexport'
11226       runpath_var='LD_RUN_PATH'
11227
11228       if test "$GCC" = yes; then
11229         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11230         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11231       else
11232         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11233         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11234       fi
11235       ;;
11236
11237     uts4*)
11238       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11239       hardcode_libdir_flag_spec='-L$libdir'
11240       hardcode_shlibpath_var=no
11241       ;;
11242
11243     *)
11244       ld_shlibs=no
11245       ;;
11246     esac
11247
11248     if test x$host_vendor = xsni; then
11249       case $host in
11250       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11251         export_dynamic_flag_spec='${wl}-Blargedynsym'
11252         ;;
11253       esac
11254     fi
11255   fi
11256
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11258 $as_echo "$ld_shlibs" >&6; }
11259 test "$ld_shlibs" = no && can_build_shared=no
11260
11261 with_gnu_ld=$with_gnu_ld
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277 #
11278 # Do we need to explicitly link libc?
11279 #
11280 case "x$archive_cmds_need_lc" in
11281 x|xyes)
11282   # Assume -lc should be added
11283   archive_cmds_need_lc=yes
11284
11285   if test "$enable_shared" = yes && test "$GCC" = yes; then
11286     case $archive_cmds in
11287     *'~'*)
11288       # FIXME: we may have to deal with multi-command sequences.
11289       ;;
11290     '$CC '*)
11291       # Test whether the compiler implicitly links with -lc since on some
11292       # systems, -lgcc has to come before -lc. If gcc already passes -lc
11293       # to ld, don't add -lc before -lgcc.
11294       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11295 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11296 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11297   $as_echo_n "(cached) " >&6
11298 else
11299   $RM conftest*
11300         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11301
11302         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11303   (eval $ac_compile) 2>&5
11304   ac_status=$?
11305   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11306   test $ac_status = 0; } 2>conftest.err; then
11307           soname=conftest
11308           lib=conftest
11309           libobjs=conftest.$ac_objext
11310           deplibs=
11311           wl=$lt_prog_compiler_wl
11312           pic_flag=$lt_prog_compiler_pic
11313           compiler_flags=-v
11314           linker_flags=-v
11315           verstring=
11316           output_objdir=.
11317           libname=conftest
11318           lt_save_allow_undefined_flag=$allow_undefined_flag
11319           allow_undefined_flag=
11320           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11321   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11322   ac_status=$?
11323   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11324   test $ac_status = 0; }
11325           then
11326             lt_cv_archive_cmds_need_lc=no
11327           else
11328             lt_cv_archive_cmds_need_lc=yes
11329           fi
11330           allow_undefined_flag=$lt_save_allow_undefined_flag
11331         else
11332           cat conftest.err 1>&5
11333         fi
11334         $RM conftest*
11335
11336 fi
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11338 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11339       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11340       ;;
11341     esac
11342   fi
11343   ;;
11344 esac
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
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11498 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11499
11500 if test "$GCC" = yes; then
11501   case $host_os in
11502     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11503     *) lt_awk_arg="/^libraries:/" ;;
11504   esac
11505   case $host_os in
11506     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11507     *) lt_sed_strip_eq="s,=/,/,g" ;;
11508   esac
11509   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11510   case $lt_search_path_spec in
11511   *\;*)
11512     # if the path contains ";" then we assume it to be the separator
11513     # otherwise default to the standard path separator (i.e. ":") - it is
11514     # assumed that no part of a normal pathname contains ";" but that should
11515     # okay in the real world where ";" in dirpaths is itself problematic.
11516     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11517     ;;
11518   *)
11519     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11520     ;;
11521   esac
11522   # Ok, now we have the path, separated by spaces, we can step through it
11523   # and add multilib dir if necessary.
11524   lt_tmp_lt_search_path_spec=
11525   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11526   for lt_sys_path in $lt_search_path_spec; do
11527     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11528       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11529     else
11530       test -d "$lt_sys_path" && \
11531         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11532     fi
11533   done
11534   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11535 BEGIN {RS=" "; FS="/|\n";} {
11536   lt_foo="";
11537   lt_count=0;
11538   for (lt_i = NF; lt_i > 0; lt_i--) {
11539     if ($lt_i != "" && $lt_i != ".") {
11540       if ($lt_i == "..") {
11541         lt_count++;
11542       } else {
11543         if (lt_count == 0) {
11544           lt_foo="/" $lt_i lt_foo;
11545         } else {
11546           lt_count--;
11547         }
11548       }
11549     }
11550   }
11551   if (lt_foo != "") { lt_freq[lt_foo]++; }
11552   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11553 }'`
11554   # AWK program above erroneously prepends '/' to C:/dos/paths
11555   # for these hosts.
11556   case $host_os in
11557     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11558       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11559   esac
11560   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11561 else
11562   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11563 fi
11564 library_names_spec=
11565 libname_spec='lib$name'
11566 soname_spec=
11567 shrext_cmds=".so"
11568 postinstall_cmds=
11569 postuninstall_cmds=
11570 finish_cmds=
11571 finish_eval=
11572 shlibpath_var=
11573 shlibpath_overrides_runpath=unknown
11574 version_type=none
11575 dynamic_linker="$host_os ld.so"
11576 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11577 need_lib_prefix=unknown
11578 hardcode_into_libs=no
11579
11580 # when you set need_version to no, make sure it does not cause -set_version
11581 # flags to be left without arguments
11582 need_version=unknown
11583
11584 case $host_os in
11585 aix3*)
11586   version_type=linux # correct to gnu/linux during the next big refactor
11587   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11588   shlibpath_var=LIBPATH
11589
11590   # AIX 3 has no versioning support, so we append a major version to the name.
11591   soname_spec='${libname}${release}${shared_ext}$major'
11592   ;;
11593
11594 aix[4-9]*)
11595   version_type=linux # correct to gnu/linux during the next big refactor
11596   need_lib_prefix=no
11597   need_version=no
11598   hardcode_into_libs=yes
11599   if test "$host_cpu" = ia64; then
11600     # AIX 5 supports IA64
11601     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11602     shlibpath_var=LD_LIBRARY_PATH
11603   else
11604     # With GCC up to 2.95.x, collect2 would create an import file
11605     # for dependence libraries.  The import file would start with
11606     # the line `#! .'.  This would cause the generated library to
11607     # depend on `.', always an invalid library.  This was fixed in
11608     # development snapshots of GCC prior to 3.0.
11609     case $host_os in
11610       aix4 | aix4.[01] | aix4.[01].*)
11611       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11612            echo ' yes '
11613            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11614         :
11615       else
11616         can_build_shared=no
11617       fi
11618       ;;
11619     esac
11620     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11621     # soname into executable. Probably we can add versioning support to
11622     # collect2, so additional links can be useful in future.
11623     if test "$aix_use_runtimelinking" = yes; then
11624       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11625       # instead of lib<name>.a to let people know that these are not
11626       # typical AIX shared libraries.
11627       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11628     else
11629       # We preserve .a as extension for shared libraries through AIX4.2
11630       # and later when we are not doing run time linking.
11631       library_names_spec='${libname}${release}.a $libname.a'
11632       soname_spec='${libname}${release}${shared_ext}$major'
11633     fi
11634     shlibpath_var=LIBPATH
11635   fi
11636   ;;
11637
11638 amigaos*)
11639   case $host_cpu in
11640   powerpc)
11641     # Since July 2007 AmigaOS4 officially supports .so libraries.
11642     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11643     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11644     ;;
11645   m68k)
11646     library_names_spec='$libname.ixlibrary $libname.a'
11647     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11648     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11649     ;;
11650   esac
11651   ;;
11652
11653 beos*)
11654   library_names_spec='${libname}${shared_ext}'
11655   dynamic_linker="$host_os ld.so"
11656   shlibpath_var=LIBRARY_PATH
11657   ;;
11658
11659 bsdi[45]*)
11660   version_type=linux # correct to gnu/linux during the next big refactor
11661   need_version=no
11662   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11663   soname_spec='${libname}${release}${shared_ext}$major'
11664   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11665   shlibpath_var=LD_LIBRARY_PATH
11666   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11667   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11668   # the default ld.so.conf also contains /usr/contrib/lib and
11669   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11670   # libtool to hard-code these into programs
11671   ;;
11672
11673 cygwin* | mingw* | pw32* | cegcc*)
11674   version_type=windows
11675   shrext_cmds=".dll"
11676   need_version=no
11677   need_lib_prefix=no
11678
11679   case $GCC,$cc_basename in
11680   yes,*)
11681     # gcc
11682     library_names_spec='$libname.dll.a'
11683     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11684     postinstall_cmds='base_file=`basename \${file}`~
11685       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11686       dldir=$destdir/`dirname \$dlpath`~
11687       test -d \$dldir || mkdir -p \$dldir~
11688       $install_prog $dir/$dlname \$dldir/$dlname~
11689       chmod a+x \$dldir/$dlname~
11690       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11691         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11692       fi'
11693     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11694       dlpath=$dir/\$dldll~
11695        $RM \$dlpath'
11696     shlibpath_overrides_runpath=yes
11697
11698     case $host_os in
11699     cygwin*)
11700       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11701       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11702
11703       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11704       ;;
11705     mingw* | cegcc*)
11706       # MinGW DLLs use traditional 'lib' prefix
11707       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11708       ;;
11709     pw32*)
11710       # pw32 DLLs use 'pw' prefix rather than 'lib'
11711       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11712       ;;
11713     esac
11714     dynamic_linker='Win32 ld.exe'
11715     ;;
11716
11717   *,cl*)
11718     # Native MSVC
11719     libname_spec='$name'
11720     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11721     library_names_spec='${libname}.dll.lib'
11722
11723     case $build_os in
11724     mingw*)
11725       sys_lib_search_path_spec=
11726       lt_save_ifs=$IFS
11727       IFS=';'
11728       for lt_path in $LIB
11729       do
11730         IFS=$lt_save_ifs
11731         # Let DOS variable expansion print the short 8.3 style file name.
11732         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11733         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11734       done
11735       IFS=$lt_save_ifs
11736       # Convert to MSYS style.
11737       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11738       ;;
11739     cygwin*)
11740       # Convert to unix form, then to dos form, then back to unix form
11741       # but this time dos style (no spaces!) so that the unix form looks
11742       # like /cygdrive/c/PROGRA~1:/cygdr...
11743       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11744       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11745       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11746       ;;
11747     *)
11748       sys_lib_search_path_spec="$LIB"
11749       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11750         # It is most probably a Windows format PATH.
11751         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11752       else
11753         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11754       fi
11755       # FIXME: find the short name or the path components, as spaces are
11756       # common. (e.g. "Program Files" -> "PROGRA~1")
11757       ;;
11758     esac
11759
11760     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11761     postinstall_cmds='base_file=`basename \${file}`~
11762       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11763       dldir=$destdir/`dirname \$dlpath`~
11764       test -d \$dldir || mkdir -p \$dldir~
11765       $install_prog $dir/$dlname \$dldir/$dlname'
11766     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11767       dlpath=$dir/\$dldll~
11768        $RM \$dlpath'
11769     shlibpath_overrides_runpath=yes
11770     dynamic_linker='Win32 link.exe'
11771     ;;
11772
11773   *)
11774     # Assume MSVC wrapper
11775     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11776     dynamic_linker='Win32 ld.exe'
11777     ;;
11778   esac
11779   # FIXME: first we should search . and the directory the executable is in
11780   shlibpath_var=PATH
11781   ;;
11782
11783 darwin* | rhapsody*)
11784   dynamic_linker="$host_os dyld"
11785   version_type=darwin
11786   need_lib_prefix=no
11787   need_version=no
11788   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11789   soname_spec='${libname}${release}${major}$shared_ext'
11790   shlibpath_overrides_runpath=yes
11791   shlibpath_var=DYLD_LIBRARY_PATH
11792   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11793
11794   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11795   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11796   ;;
11797
11798 dgux*)
11799   version_type=linux # correct to gnu/linux during the next big refactor
11800   need_lib_prefix=no
11801   need_version=no
11802   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11803   soname_spec='${libname}${release}${shared_ext}$major'
11804   shlibpath_var=LD_LIBRARY_PATH
11805   ;;
11806
11807 freebsd* | dragonfly*)
11808   # DragonFly does not have aout.  When/if they implement a new
11809   # versioning mechanism, adjust this.
11810   if test -x /usr/bin/objformat; then
11811     objformat=`/usr/bin/objformat`
11812   else
11813     case $host_os in
11814     freebsd[23].*) objformat=aout ;;
11815     *) objformat=elf ;;
11816     esac
11817   fi
11818   version_type=freebsd-$objformat
11819   case $version_type in
11820     freebsd-elf*)
11821       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11822       need_version=no
11823       need_lib_prefix=no
11824       ;;
11825     freebsd-*)
11826       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11827       need_version=yes
11828       ;;
11829   esac
11830   shlibpath_var=LD_LIBRARY_PATH
11831   case $host_os in
11832   freebsd2.*)
11833     shlibpath_overrides_runpath=yes
11834     ;;
11835   freebsd3.[01]* | freebsdelf3.[01]*)
11836     shlibpath_overrides_runpath=yes
11837     hardcode_into_libs=yes
11838     ;;
11839   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11840   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11841     shlibpath_overrides_runpath=no
11842     hardcode_into_libs=yes
11843     ;;
11844   *) # from 4.6 on, and DragonFly
11845     shlibpath_overrides_runpath=yes
11846     hardcode_into_libs=yes
11847     ;;
11848   esac
11849   ;;
11850
11851 gnu*)
11852   version_type=linux # correct to gnu/linux during the next big refactor
11853   need_lib_prefix=no
11854   need_version=no
11855   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11856   soname_spec='${libname}${release}${shared_ext}$major'
11857   shlibpath_var=LD_LIBRARY_PATH
11858   shlibpath_overrides_runpath=no
11859   hardcode_into_libs=yes
11860   ;;
11861
11862 haiku*)
11863   version_type=linux # correct to gnu/linux during the next big refactor
11864   need_lib_prefix=no
11865   need_version=no
11866   dynamic_linker="$host_os runtime_loader"
11867   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11868   soname_spec='${libname}${release}${shared_ext}$major'
11869   shlibpath_var=LIBRARY_PATH
11870   shlibpath_overrides_runpath=yes
11871   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11872   hardcode_into_libs=yes
11873   ;;
11874
11875 hpux9* | hpux10* | hpux11*)
11876   # Give a soname corresponding to the major version so that dld.sl refuses to
11877   # link against other versions.
11878   version_type=sunos
11879   need_lib_prefix=no
11880   need_version=no
11881   case $host_cpu in
11882   ia64*)
11883     shrext_cmds='.so'
11884     hardcode_into_libs=yes
11885     dynamic_linker="$host_os dld.so"
11886     shlibpath_var=LD_LIBRARY_PATH
11887     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11888     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11889     soname_spec='${libname}${release}${shared_ext}$major'
11890     if test "X$HPUX_IA64_MODE" = X32; then
11891       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11892     else
11893       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11894     fi
11895     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11896     ;;
11897   hppa*64*)
11898     shrext_cmds='.sl'
11899     hardcode_into_libs=yes
11900     dynamic_linker="$host_os dld.sl"
11901     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11902     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11903     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11904     soname_spec='${libname}${release}${shared_ext}$major'
11905     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11906     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11907     ;;
11908   *)
11909     shrext_cmds='.sl'
11910     dynamic_linker="$host_os dld.sl"
11911     shlibpath_var=SHLIB_PATH
11912     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11913     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11914     soname_spec='${libname}${release}${shared_ext}$major'
11915     ;;
11916   esac
11917   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11918   postinstall_cmds='chmod 555 $lib'
11919   # or fails outright, so override atomically:
11920   install_override_mode=555
11921   ;;
11922
11923 interix[3-9]*)
11924   version_type=linux # correct to gnu/linux during the next big refactor
11925   need_lib_prefix=no
11926   need_version=no
11927   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11928   soname_spec='${libname}${release}${shared_ext}$major'
11929   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11930   shlibpath_var=LD_LIBRARY_PATH
11931   shlibpath_overrides_runpath=no
11932   hardcode_into_libs=yes
11933   ;;
11934
11935 irix5* | irix6* | nonstopux*)
11936   case $host_os in
11937     nonstopux*) version_type=nonstopux ;;
11938     *)
11939         if test "$lt_cv_prog_gnu_ld" = yes; then
11940                 version_type=linux # correct to gnu/linux during the next big refactor
11941         else
11942                 version_type=irix
11943         fi ;;
11944   esac
11945   need_lib_prefix=no
11946   need_version=no
11947   soname_spec='${libname}${release}${shared_ext}$major'
11948   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11949   case $host_os in
11950   irix5* | nonstopux*)
11951     libsuff= shlibsuff=
11952     ;;
11953   *)
11954     case $LD in # libtool.m4 will add one of these switches to LD
11955     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11956       libsuff= shlibsuff= libmagic=32-bit;;
11957     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11958       libsuff=32 shlibsuff=N32 libmagic=N32;;
11959     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11960       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11961     *) libsuff= shlibsuff= libmagic=never-match;;
11962     esac
11963     ;;
11964   esac
11965   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11966   shlibpath_overrides_runpath=no
11967   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11968   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11969   hardcode_into_libs=yes
11970   ;;
11971
11972 # No shared lib support for Linux oldld, aout, or coff.
11973 linux*oldld* | linux*aout* | linux*coff*)
11974   dynamic_linker=no
11975   ;;
11976
11977 # This must be glibc/ELF.
11978 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11979   version_type=linux # correct to gnu/linux during the next big refactor
11980   need_lib_prefix=no
11981   need_version=no
11982   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11983   soname_spec='${libname}${release}${shared_ext}$major'
11984   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11985   shlibpath_var=LD_LIBRARY_PATH
11986   shlibpath_overrides_runpath=no
11987
11988   # Some binutils ld are patched to set DT_RUNPATH
11989   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11990   $as_echo_n "(cached) " >&6
11991 else
11992   lt_cv_shlibpath_overrides_runpath=no
11993     save_LDFLAGS=$LDFLAGS
11994     save_libdir=$libdir
11995     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11996          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11997     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11998 /* end confdefs.h.  */
11999
12000 int
12001 main ()
12002 {
12003
12004   ;
12005   return 0;
12006 }
12007 _ACEOF
12008 if ac_fn_c_try_link "$LINENO"; then :
12009   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12010   lt_cv_shlibpath_overrides_runpath=yes
12011 fi
12012 fi
12013 rm -f core conftest.err conftest.$ac_objext \
12014     conftest$ac_exeext conftest.$ac_ext
12015     LDFLAGS=$save_LDFLAGS
12016     libdir=$save_libdir
12017
12018 fi
12019
12020   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12021
12022   # This implies no fast_install, which is unacceptable.
12023   # Some rework will be needed to allow for fast_install
12024   # before this can be enabled.
12025   hardcode_into_libs=yes
12026
12027   # Add ABI-specific directories to the system library path.
12028   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
12029
12030   # Append ld.so.conf contents to the search path
12031   if test -f /etc/ld.so.conf; then
12032     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
12033     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12034
12035   fi
12036
12037   # We used to test for /lib/ld.so.1 and disable shared libraries on
12038   # powerpc, because MkLinux only supported shared libraries with the
12039   # GNU dynamic linker.  Since this was broken with cross compilers,
12040   # most powerpc-linux boxes support dynamic linking these days and
12041   # people can always --disable-shared, the test was removed, and we
12042   # assume the GNU/Linux dynamic linker is in use.
12043   dynamic_linker='GNU/Linux ld.so'
12044   ;;
12045
12046 netbsd*)
12047   version_type=sunos
12048   need_lib_prefix=no
12049   need_version=no
12050   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12051     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12052     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12053     dynamic_linker='NetBSD (a.out) ld.so'
12054   else
12055     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12056     soname_spec='${libname}${release}${shared_ext}$major'
12057     dynamic_linker='NetBSD ld.elf_so'
12058   fi
12059   shlibpath_var=LD_LIBRARY_PATH
12060   shlibpath_overrides_runpath=yes
12061   hardcode_into_libs=yes
12062   ;;
12063
12064 newsos6)
12065   version_type=linux # correct to gnu/linux during the next big refactor
12066   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12067   shlibpath_var=LD_LIBRARY_PATH
12068   shlibpath_overrides_runpath=yes
12069   ;;
12070
12071 *nto* | *qnx*)
12072   version_type=qnx
12073   need_lib_prefix=no
12074   need_version=no
12075   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12076   soname_spec='${libname}${release}${shared_ext}$major'
12077   shlibpath_var=LD_LIBRARY_PATH
12078   shlibpath_overrides_runpath=no
12079   hardcode_into_libs=yes
12080   dynamic_linker='ldqnx.so'
12081   ;;
12082
12083 openbsd*)
12084   version_type=sunos
12085   sys_lib_dlsearch_path_spec="/usr/lib"
12086   need_lib_prefix=no
12087   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12088   case $host_os in
12089     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
12090     *)                          need_version=no  ;;
12091   esac
12092   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12093   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12094   shlibpath_var=LD_LIBRARY_PATH
12095   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12096     case $host_os in
12097       openbsd2.[89] | openbsd2.[89].*)
12098         shlibpath_overrides_runpath=no
12099         ;;
12100       *)
12101         shlibpath_overrides_runpath=yes
12102         ;;
12103       esac
12104   else
12105     shlibpath_overrides_runpath=yes
12106   fi
12107   ;;
12108
12109 os2*)
12110   libname_spec='$name'
12111   shrext_cmds=".dll"
12112   need_lib_prefix=no
12113   library_names_spec='$libname${shared_ext} $libname.a'
12114   dynamic_linker='OS/2 ld.exe'
12115   shlibpath_var=LIBPATH
12116   ;;
12117
12118 osf3* | osf4* | osf5*)
12119   version_type=osf
12120   need_lib_prefix=no
12121   need_version=no
12122   soname_spec='${libname}${release}${shared_ext}$major'
12123   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12124   shlibpath_var=LD_LIBRARY_PATH
12125   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12126   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12127   ;;
12128
12129 rdos*)
12130   dynamic_linker=no
12131   ;;
12132
12133 solaris*)
12134   version_type=linux # correct to gnu/linux during the next big refactor
12135   need_lib_prefix=no
12136   need_version=no
12137   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12138   soname_spec='${libname}${release}${shared_ext}$major'
12139   shlibpath_var=LD_LIBRARY_PATH
12140   shlibpath_overrides_runpath=yes
12141   hardcode_into_libs=yes
12142   # ldd complains unless libraries are executable
12143   postinstall_cmds='chmod +x $lib'
12144   ;;
12145
12146 sunos4*)
12147   version_type=sunos
12148   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12149   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12150   shlibpath_var=LD_LIBRARY_PATH
12151   shlibpath_overrides_runpath=yes
12152   if test "$with_gnu_ld" = yes; then
12153     need_lib_prefix=no
12154   fi
12155   need_version=yes
12156   ;;
12157
12158 sysv4 | sysv4.3*)
12159   version_type=linux # correct to gnu/linux during the next big refactor
12160   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12161   soname_spec='${libname}${release}${shared_ext}$major'
12162   shlibpath_var=LD_LIBRARY_PATH
12163   case $host_vendor in
12164     sni)
12165       shlibpath_overrides_runpath=no
12166       need_lib_prefix=no
12167       runpath_var=LD_RUN_PATH
12168       ;;
12169     siemens)
12170       need_lib_prefix=no
12171       ;;
12172     motorola)
12173       need_lib_prefix=no
12174       need_version=no
12175       shlibpath_overrides_runpath=no
12176       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12177       ;;
12178   esac
12179   ;;
12180
12181 sysv4*MP*)
12182   if test -d /usr/nec ;then
12183     version_type=linux # correct to gnu/linux during the next big refactor
12184     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12185     soname_spec='$libname${shared_ext}.$major'
12186     shlibpath_var=LD_LIBRARY_PATH
12187   fi
12188   ;;
12189
12190 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12191   version_type=freebsd-elf
12192   need_lib_prefix=no
12193   need_version=no
12194   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12195   soname_spec='${libname}${release}${shared_ext}$major'
12196   shlibpath_var=LD_LIBRARY_PATH
12197   shlibpath_overrides_runpath=yes
12198   hardcode_into_libs=yes
12199   if test "$with_gnu_ld" = yes; then
12200     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12201   else
12202     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12203     case $host_os in
12204       sco3.2v5*)
12205         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12206         ;;
12207     esac
12208   fi
12209   sys_lib_dlsearch_path_spec='/usr/lib'
12210   ;;
12211
12212 tpf*)
12213   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12214   version_type=linux # correct to gnu/linux during the next big refactor
12215   need_lib_prefix=no
12216   need_version=no
12217   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12218   shlibpath_var=LD_LIBRARY_PATH
12219   shlibpath_overrides_runpath=no
12220   hardcode_into_libs=yes
12221   ;;
12222
12223 uts4*)
12224   version_type=linux # correct to gnu/linux during the next big refactor
12225   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12226   soname_spec='${libname}${release}${shared_ext}$major'
12227   shlibpath_var=LD_LIBRARY_PATH
12228   ;;
12229
12230 *)
12231   dynamic_linker=no
12232   ;;
12233 esac
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12235 $as_echo "$dynamic_linker" >&6; }
12236 test "$dynamic_linker" = no && can_build_shared=no
12237
12238 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12239 if test "$GCC" = yes; then
12240   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12241 fi
12242
12243 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12244   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12245 fi
12246 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12247   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12248 fi
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
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12342 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12343 hardcode_action=
12344 if test -n "$hardcode_libdir_flag_spec" ||
12345    test -n "$runpath_var" ||
12346    test "X$hardcode_automatic" = "Xyes" ; then
12347
12348   # We can hardcode non-existent directories.
12349   if test "$hardcode_direct" != no &&
12350      # If the only mechanism to avoid hardcoding is shlibpath_var, we
12351      # have to relink, otherwise we might link with an installed library
12352      # when we should be linking with a yet-to-be-installed one
12353      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12354      test "$hardcode_minus_L" != no; then
12355     # Linking always hardcodes the temporary library directory.
12356     hardcode_action=relink
12357   else
12358     # We can link without hardcoding, and we can hardcode nonexisting dirs.
12359     hardcode_action=immediate
12360   fi
12361 else
12362   # We cannot hardcode anything, or else we can only hardcode existing
12363   # directories.
12364   hardcode_action=unsupported
12365 fi
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12367 $as_echo "$hardcode_action" >&6; }
12368
12369 if test "$hardcode_action" = relink ||
12370    test "$inherit_rpath" = yes; then
12371   # Fast installation is not supported
12372   enable_fast_install=no
12373 elif test "$shlibpath_overrides_runpath" = yes ||
12374      test "$enable_shared" = no; then
12375   # Fast installation is not necessary
12376   enable_fast_install=needless
12377 fi
12378
12379
12380
12381
12382
12383
12384   if test "x$enable_dlopen" != xyes; then
12385   enable_dlopen=unknown
12386   enable_dlopen_self=unknown
12387   enable_dlopen_self_static=unknown
12388 else
12389   lt_cv_dlopen=no
12390   lt_cv_dlopen_libs=
12391
12392   case $host_os in
12393   beos*)
12394     lt_cv_dlopen="load_add_on"
12395     lt_cv_dlopen_libs=
12396     lt_cv_dlopen_self=yes
12397     ;;
12398
12399   mingw* | pw32* | cegcc*)
12400     lt_cv_dlopen="LoadLibrary"
12401     lt_cv_dlopen_libs=
12402     ;;
12403
12404   cygwin*)
12405     lt_cv_dlopen="dlopen"
12406     lt_cv_dlopen_libs=
12407     ;;
12408
12409   darwin*)
12410   # if libdl is installed we need to link against it
12411     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12412 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12413 if ${ac_cv_lib_dl_dlopen+:} false; then :
12414   $as_echo_n "(cached) " >&6
12415 else
12416   ac_check_lib_save_LIBS=$LIBS
12417 LIBS="-ldl  $LIBS"
12418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12419 /* end confdefs.h.  */
12420
12421 /* Override any GCC internal prototype to avoid an error.
12422    Use char because int might match the return type of a GCC
12423    builtin and then its argument prototype would still apply.  */
12424 #ifdef __cplusplus
12425 extern "C"
12426 #endif
12427 char dlopen ();
12428 int
12429 main ()
12430 {
12431 return dlopen ();
12432   ;
12433   return 0;
12434 }
12435 _ACEOF
12436 if ac_fn_c_try_link "$LINENO"; then :
12437   ac_cv_lib_dl_dlopen=yes
12438 else
12439   ac_cv_lib_dl_dlopen=no
12440 fi
12441 rm -f core conftest.err conftest.$ac_objext \
12442     conftest$ac_exeext conftest.$ac_ext
12443 LIBS=$ac_check_lib_save_LIBS
12444 fi
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12446 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12447 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12448   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12449 else
12450
12451     lt_cv_dlopen="dyld"
12452     lt_cv_dlopen_libs=
12453     lt_cv_dlopen_self=yes
12454
12455 fi
12456
12457     ;;
12458
12459   *)
12460     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12461 if test "x$ac_cv_func_shl_load" = xyes; then :
12462   lt_cv_dlopen="shl_load"
12463 else
12464   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12465 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12466 if ${ac_cv_lib_dld_shl_load+:} false; then :
12467   $as_echo_n "(cached) " >&6
12468 else
12469   ac_check_lib_save_LIBS=$LIBS
12470 LIBS="-ldld  $LIBS"
12471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12472 /* end confdefs.h.  */
12473
12474 /* Override any GCC internal prototype to avoid an error.
12475    Use char because int might match the return type of a GCC
12476    builtin and then its argument prototype would still apply.  */
12477 #ifdef __cplusplus
12478 extern "C"
12479 #endif
12480 char shl_load ();
12481 int
12482 main ()
12483 {
12484 return shl_load ();
12485   ;
12486   return 0;
12487 }
12488 _ACEOF
12489 if ac_fn_c_try_link "$LINENO"; then :
12490   ac_cv_lib_dld_shl_load=yes
12491 else
12492   ac_cv_lib_dld_shl_load=no
12493 fi
12494 rm -f core conftest.err conftest.$ac_objext \
12495     conftest$ac_exeext conftest.$ac_ext
12496 LIBS=$ac_check_lib_save_LIBS
12497 fi
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12499 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12500 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12501   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12502 else
12503   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12504 if test "x$ac_cv_func_dlopen" = xyes; then :
12505   lt_cv_dlopen="dlopen"
12506 else
12507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12508 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12509 if ${ac_cv_lib_dl_dlopen+:} false; then :
12510   $as_echo_n "(cached) " >&6
12511 else
12512   ac_check_lib_save_LIBS=$LIBS
12513 LIBS="-ldl  $LIBS"
12514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12515 /* end confdefs.h.  */
12516
12517 /* Override any GCC internal prototype to avoid an error.
12518    Use char because int might match the return type of a GCC
12519    builtin and then its argument prototype would still apply.  */
12520 #ifdef __cplusplus
12521 extern "C"
12522 #endif
12523 char dlopen ();
12524 int
12525 main ()
12526 {
12527 return dlopen ();
12528   ;
12529   return 0;
12530 }
12531 _ACEOF
12532 if ac_fn_c_try_link "$LINENO"; then :
12533   ac_cv_lib_dl_dlopen=yes
12534 else
12535   ac_cv_lib_dl_dlopen=no
12536 fi
12537 rm -f core conftest.err conftest.$ac_objext \
12538     conftest$ac_exeext conftest.$ac_ext
12539 LIBS=$ac_check_lib_save_LIBS
12540 fi
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12542 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12543 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12544   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12545 else
12546   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12547 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12548 if ${ac_cv_lib_svld_dlopen+:} false; then :
12549   $as_echo_n "(cached) " >&6
12550 else
12551   ac_check_lib_save_LIBS=$LIBS
12552 LIBS="-lsvld  $LIBS"
12553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12554 /* end confdefs.h.  */
12555
12556 /* Override any GCC internal prototype to avoid an error.
12557    Use char because int might match the return type of a GCC
12558    builtin and then its argument prototype would still apply.  */
12559 #ifdef __cplusplus
12560 extern "C"
12561 #endif
12562 char dlopen ();
12563 int
12564 main ()
12565 {
12566 return dlopen ();
12567   ;
12568   return 0;
12569 }
12570 _ACEOF
12571 if ac_fn_c_try_link "$LINENO"; then :
12572   ac_cv_lib_svld_dlopen=yes
12573 else
12574   ac_cv_lib_svld_dlopen=no
12575 fi
12576 rm -f core conftest.err conftest.$ac_objext \
12577     conftest$ac_exeext conftest.$ac_ext
12578 LIBS=$ac_check_lib_save_LIBS
12579 fi
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12581 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12582 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12583   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12584 else
12585   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12586 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12587 if ${ac_cv_lib_dld_dld_link+:} false; then :
12588   $as_echo_n "(cached) " >&6
12589 else
12590   ac_check_lib_save_LIBS=$LIBS
12591 LIBS="-ldld  $LIBS"
12592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12593 /* end confdefs.h.  */
12594
12595 /* Override any GCC internal prototype to avoid an error.
12596    Use char because int might match the return type of a GCC
12597    builtin and then its argument prototype would still apply.  */
12598 #ifdef __cplusplus
12599 extern "C"
12600 #endif
12601 char dld_link ();
12602 int
12603 main ()
12604 {
12605 return dld_link ();
12606   ;
12607   return 0;
12608 }
12609 _ACEOF
12610 if ac_fn_c_try_link "$LINENO"; then :
12611   ac_cv_lib_dld_dld_link=yes
12612 else
12613   ac_cv_lib_dld_dld_link=no
12614 fi
12615 rm -f core conftest.err conftest.$ac_objext \
12616     conftest$ac_exeext conftest.$ac_ext
12617 LIBS=$ac_check_lib_save_LIBS
12618 fi
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12620 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12621 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12622   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12623 fi
12624
12625
12626 fi
12627
12628
12629 fi
12630
12631
12632 fi
12633
12634
12635 fi
12636
12637
12638 fi
12639
12640     ;;
12641   esac
12642
12643   if test "x$lt_cv_dlopen" != xno; then
12644     enable_dlopen=yes
12645   else
12646     enable_dlopen=no
12647   fi
12648
12649   case $lt_cv_dlopen in
12650   dlopen)
12651     save_CPPFLAGS="$CPPFLAGS"
12652     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12653
12654     save_LDFLAGS="$LDFLAGS"
12655     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12656
12657     save_LIBS="$LIBS"
12658     LIBS="$lt_cv_dlopen_libs $LIBS"
12659
12660     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12661 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12662 if ${lt_cv_dlopen_self+:} false; then :
12663   $as_echo_n "(cached) " >&6
12664 else
12665           if test "$cross_compiling" = yes; then :
12666   lt_cv_dlopen_self=cross
12667 else
12668   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12669   lt_status=$lt_dlunknown
12670   cat > conftest.$ac_ext <<_LT_EOF
12671 #line $LINENO "configure"
12672 #include "confdefs.h"
12673
12674 #if HAVE_DLFCN_H
12675 #include <dlfcn.h>
12676 #endif
12677
12678 #include <stdio.h>
12679
12680 #ifdef RTLD_GLOBAL
12681 #  define LT_DLGLOBAL           RTLD_GLOBAL
12682 #else
12683 #  ifdef DL_GLOBAL
12684 #    define LT_DLGLOBAL         DL_GLOBAL
12685 #  else
12686 #    define LT_DLGLOBAL         0
12687 #  endif
12688 #endif
12689
12690 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12691    find out it does not work in some platform. */
12692 #ifndef LT_DLLAZY_OR_NOW
12693 #  ifdef RTLD_LAZY
12694 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12695 #  else
12696 #    ifdef DL_LAZY
12697 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12698 #    else
12699 #      ifdef RTLD_NOW
12700 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12701 #      else
12702 #        ifdef DL_NOW
12703 #          define LT_DLLAZY_OR_NOW      DL_NOW
12704 #        else
12705 #          define LT_DLLAZY_OR_NOW      0
12706 #        endif
12707 #      endif
12708 #    endif
12709 #  endif
12710 #endif
12711
12712 /* When -fvisbility=hidden is used, assume the code has been annotated
12713    correspondingly for the symbols needed.  */
12714 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12715 int fnord () __attribute__((visibility("default")));
12716 #endif
12717
12718 int fnord () { return 42; }
12719 int main ()
12720 {
12721   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12722   int status = $lt_dlunknown;
12723
12724   if (self)
12725     {
12726       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12727       else
12728         {
12729           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12730           else puts (dlerror ());
12731         }
12732       /* dlclose (self); */
12733     }
12734   else
12735     puts (dlerror ());
12736
12737   return status;
12738 }
12739 _LT_EOF
12740   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12741   (eval $ac_link) 2>&5
12742   ac_status=$?
12743   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12744   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12745     (./conftest; exit; ) >&5 2>/dev/null
12746     lt_status=$?
12747     case x$lt_status in
12748       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12749       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12750       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12751     esac
12752   else :
12753     # compilation failed
12754     lt_cv_dlopen_self=no
12755   fi
12756 fi
12757 rm -fr conftest*
12758
12759
12760 fi
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12762 $as_echo "$lt_cv_dlopen_self" >&6; }
12763
12764     if test "x$lt_cv_dlopen_self" = xyes; then
12765       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12766       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12767 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12768 if ${lt_cv_dlopen_self_static+:} false; then :
12769   $as_echo_n "(cached) " >&6
12770 else
12771           if test "$cross_compiling" = yes; then :
12772   lt_cv_dlopen_self_static=cross
12773 else
12774   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12775   lt_status=$lt_dlunknown
12776   cat > conftest.$ac_ext <<_LT_EOF
12777 #line $LINENO "configure"
12778 #include "confdefs.h"
12779
12780 #if HAVE_DLFCN_H
12781 #include <dlfcn.h>
12782 #endif
12783
12784 #include <stdio.h>
12785
12786 #ifdef RTLD_GLOBAL
12787 #  define LT_DLGLOBAL           RTLD_GLOBAL
12788 #else
12789 #  ifdef DL_GLOBAL
12790 #    define LT_DLGLOBAL         DL_GLOBAL
12791 #  else
12792 #    define LT_DLGLOBAL         0
12793 #  endif
12794 #endif
12795
12796 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12797    find out it does not work in some platform. */
12798 #ifndef LT_DLLAZY_OR_NOW
12799 #  ifdef RTLD_LAZY
12800 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12801 #  else
12802 #    ifdef DL_LAZY
12803 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12804 #    else
12805 #      ifdef RTLD_NOW
12806 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12807 #      else
12808 #        ifdef DL_NOW
12809 #          define LT_DLLAZY_OR_NOW      DL_NOW
12810 #        else
12811 #          define LT_DLLAZY_OR_NOW      0
12812 #        endif
12813 #      endif
12814 #    endif
12815 #  endif
12816 #endif
12817
12818 /* When -fvisbility=hidden is used, assume the code has been annotated
12819    correspondingly for the symbols needed.  */
12820 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12821 int fnord () __attribute__((visibility("default")));
12822 #endif
12823
12824 int fnord () { return 42; }
12825 int main ()
12826 {
12827   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12828   int status = $lt_dlunknown;
12829
12830   if (self)
12831     {
12832       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12833       else
12834         {
12835           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12836           else puts (dlerror ());
12837         }
12838       /* dlclose (self); */
12839     }
12840   else
12841     puts (dlerror ());
12842
12843   return status;
12844 }
12845 _LT_EOF
12846   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12847   (eval $ac_link) 2>&5
12848   ac_status=$?
12849   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12850   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12851     (./conftest; exit; ) >&5 2>/dev/null
12852     lt_status=$?
12853     case x$lt_status in
12854       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12855       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12856       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12857     esac
12858   else :
12859     # compilation failed
12860     lt_cv_dlopen_self_static=no
12861   fi
12862 fi
12863 rm -fr conftest*
12864
12865
12866 fi
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12868 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12869     fi
12870
12871     CPPFLAGS="$save_CPPFLAGS"
12872     LDFLAGS="$save_LDFLAGS"
12873     LIBS="$save_LIBS"
12874     ;;
12875   esac
12876
12877   case $lt_cv_dlopen_self in
12878   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12879   *) enable_dlopen_self=unknown ;;
12880   esac
12881
12882   case $lt_cv_dlopen_self_static in
12883   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12884   *) enable_dlopen_self_static=unknown ;;
12885   esac
12886 fi
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904 striplib=
12905 old_striplib=
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12907 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12908 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12909   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12910   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12912 $as_echo "yes" >&6; }
12913 else
12914 # FIXME - insert some real tests, host_os isn't really good enough
12915   case $host_os in
12916   darwin*)
12917     if test -n "$STRIP" ; then
12918       striplib="$STRIP -x"
12919       old_striplib="$STRIP -S"
12920       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12921 $as_echo "yes" >&6; }
12922     else
12923       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12924 $as_echo "no" >&6; }
12925     fi
12926     ;;
12927   *)
12928     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12929 $as_echo "no" >&6; }
12930     ;;
12931   esac
12932 fi
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945   # Report which library types will actually be built
12946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12947 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12949 $as_echo "$can_build_shared" >&6; }
12950
12951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12952 $as_echo_n "checking whether to build shared libraries... " >&6; }
12953   test "$can_build_shared" = "no" && enable_shared=no
12954
12955   # On AIX, shared libraries and static libraries use the same namespace, and
12956   # are all built from PIC.
12957   case $host_os in
12958   aix3*)
12959     test "$enable_shared" = yes && enable_static=no
12960     if test -n "$RANLIB"; then
12961       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12962       postinstall_cmds='$RANLIB $lib'
12963     fi
12964     ;;
12965
12966   aix[4-9]*)
12967     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12968       test "$enable_shared" = yes && enable_static=no
12969     fi
12970     ;;
12971   esac
12972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12973 $as_echo "$enable_shared" >&6; }
12974
12975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12976 $as_echo_n "checking whether to build static libraries... " >&6; }
12977   # Make sure either enable_shared or enable_static is yes.
12978   test "$enable_shared" = yes || enable_static=yes
12979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12980 $as_echo "$enable_static" >&6; }
12981
12982
12983
12984
12985 fi
12986 ac_ext=c
12987 ac_cpp='$CPP $CPPFLAGS'
12988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12991
12992 CC="$lt_save_CC"
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008         ac_config_commands="$ac_config_commands libtool"
13009
13010
13011
13012
13013 # Only expand once:
13014
13015
13016
13017 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
13018 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
13019
13020
13021
13022 cat >>confdefs.h <<_ACEOF
13023 #define VMAJ 1
13024 _ACEOF
13025
13026
13027 cat >>confdefs.h <<_ACEOF
13028 #define VMIN 7
13029 _ACEOF
13030
13031
13032 cat >>confdefs.h <<_ACEOF
13033 #define VMIC 8
13034 _ACEOF
13035
13036
13037 cat >>confdefs.h <<_ACEOF
13038 #define VREV 0
13039 _ACEOF
13040
13041 version_info="8:8:7"
13042 release_info=""
13043
13044
13045 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
13046 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
13047 VMAJ=1
13048
13049
13050 ### Needed information
13051
13052
13053
13054
13055 case "$host_os" in
13056    mingw32ce*)
13057       MODULE_ARCH="$host_os-$host_cpu"
13058       ;;
13059    *)
13060       MODULE_ARCH="$host_os-$host_cpu-1.7.8"
13061       ;;
13062 esac
13063
13064
13065 cat >>confdefs.h <<_ACEOF
13066 #define MODULE_ARCH "$MODULE_ARCH"
13067 _ACEOF
13068
13069
13070 want_fontconfig="auto"
13071 want_fribidi="auto"
13072 want_harfbuzz="auto"
13073 want_pixman="no"
13074 want_evas_cserve="yes"
13075 want_evas_cserve2="yes"
13076
13077 want_evas_engine_buffer="yes"
13078 want_evas_engine_software_xlib="no"
13079 want_evas_engine_software_xcb="no"
13080 want_evas_engine_software_gdi="no"
13081 want_evas_engine_software_ddraw="no"
13082 want_evas_engine_software_8_x11="no"
13083 want_evas_engine_software_16_x11="no"
13084 want_evas_engine_software_16_wince="no"
13085 want_evas_engine_software_16_sdl="no"
13086 want_evas_engine_gl_xlib="no"
13087 want_evas_engine_gl_xcb="no"
13088 want_evas_engine_gl_sdl="no"
13089 want_evas_engine_gl_cocoa="no"
13090 want_evas_engine_direct3d="no"
13091 want_evas_engine_fb="no"
13092 want_evas_engine_directfb="no"
13093 want_evas_engine_psl1ght="no"
13094 want_evas_engine_wayland_shm="no"
13095 want_evas_engine_wayland_egl="no"
13096
13097 want_evas_image_loader_edb="yes"
13098 want_evas_image_loader_eet="yes"
13099 want_evas_image_loader_gif="yes"
13100 want_evas_image_loader_jpeg="yes"
13101 want_evas_image_loader_pmaps="yes"
13102 want_evas_image_loader_png="yes"
13103 want_evas_image_loader_svg="yes"
13104 want_evas_image_loader_tiff="yes"
13105 want_evas_image_loader_xpm="yes"
13106 want_evas_image_loader_bmp="yes"
13107 want_evas_image_loader_tga="yes"
13108 want_evas_image_loader_wbmp="yes"
13109 want_evas_image_loader_ico="yes"
13110 want_evas_image_loader_psd="yes"
13111 want_evas_image_loader_generic="yes"
13112
13113 want_evas_font_loader_eet="yes"
13114
13115 case "$host_os" in
13116    mingw32ce*)
13117       want_fontconfig="no"
13118       want_evas_engine_software_16_wince="yes"
13119       want_evas_image_loader_edb="no"
13120       want_evas_image_loader_gif="no"
13121       want_evas_image_loader_svg="no"
13122       want_evas_image_loader_tiff="no"
13123       ;;
13124    mingw*)
13125       want_evas_engine_software_gdi="yes"
13126       want_evas_engine_software_ddraw="yes"
13127       want_evas_engine_direct3d="yes"
13128       want_evas_image_loader_edb="no"
13129       want_evas_image_loader_svg="no"
13130       ;;
13131    darwin*)
13132       want_evas_engine_software_xlib="auto"
13133       want_evas_engine_gl_cocoa="auto"
13134       ;;
13135    *)
13136       want_evas_engine_software_xlib="auto"
13137       want_evas_engine_gl_xlib="auto"
13138       want_evas_engine_software_xcb="no"
13139       want_evas_engine_gl_xcb="no"
13140       want_evas_engine_fb="auto"
13141       want_evas_engine_wayland_shm="auto"
13142       want_evas_engine_wayland_egl="auto"
13143 ### no - not ready/usable/complete
13144 #      want_evas_engine_software_8_x11="auto"
13145 #      want_evas_engine_software_16_x11="auto"
13146       ;;
13147 esac
13148
13149 case "$host_vendor" in
13150   ps3*)
13151       want_evas_engine_psl1ght="static"
13152       ;;
13153 esac
13154
13155 requirement_evas=""
13156
13157
13158 ### Additional options to configure
13159
13160 # when used, that option makes configure script fails when
13161 # a requirement is selected, but not met.
13162 use_strict="no"
13163 # Check whether --enable-strict was given.
13164 if test "${enable_strict+set}" = set; then :
13165   enableval=$enable_strict; use_strict="yes"
13166 else
13167   use_strict="no"
13168 fi
13169
13170
13171 # Simple X11 build/link
13172 # Check whether --enable-simple-x11 was given.
13173 if test "${enable_simple_x11+set}" = set; then :
13174   enableval=$enable_simple_x11;
13175     if test "x${enableval}" = "xyes" ; then
13176        want_evas_simple_x11="yes"
13177     else
13178        want_evas_simple_x11="no"
13179     fi
13180
13181 fi
13182
13183
13184
13185 ### Checks for programs
13186
13187
13188     ac_ext=m
13189 ac_cpp='$OBJCPP $CPPFLAGS'
13190 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13191 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13192 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
13193 if test -n "$ac_tool_prefix"; then
13194   for ac_prog in gcc objcc objc cc CC
13195   do
13196     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13197 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13199 $as_echo_n "checking for $ac_word... " >&6; }
13200 if ${ac_cv_prog_OBJC+:} false; then :
13201   $as_echo_n "(cached) " >&6
13202 else
13203   if test -n "$OBJC"; then
13204   ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
13205 else
13206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13207 for as_dir in $PATH
13208 do
13209   IFS=$as_save_IFS
13210   test -z "$as_dir" && as_dir=.
13211     for ac_exec_ext in '' $ac_executable_extensions; do
13212   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13213     ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
13214     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13215     break 2
13216   fi
13217 done
13218   done
13219 IFS=$as_save_IFS
13220
13221 fi
13222 fi
13223 OBJC=$ac_cv_prog_OBJC
13224 if test -n "$OBJC"; then
13225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
13226 $as_echo "$OBJC" >&6; }
13227 else
13228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13229 $as_echo "no" >&6; }
13230 fi
13231
13232
13233     test -n "$OBJC" && break
13234   done
13235 fi
13236 if test -z "$OBJC"; then
13237   ac_ct_OBJC=$OBJC
13238   for ac_prog in gcc objcc objc cc CC
13239 do
13240   # Extract the first word of "$ac_prog", so it can be a program name with args.
13241 set dummy $ac_prog; ac_word=$2
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13243 $as_echo_n "checking for $ac_word... " >&6; }
13244 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
13245   $as_echo_n "(cached) " >&6
13246 else
13247   if test -n "$ac_ct_OBJC"; then
13248   ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
13249 else
13250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13251 for as_dir in $PATH
13252 do
13253   IFS=$as_save_IFS
13254   test -z "$as_dir" && as_dir=.
13255     for ac_exec_ext in '' $ac_executable_extensions; do
13256   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13257     ac_cv_prog_ac_ct_OBJC="$ac_prog"
13258     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13259     break 2
13260   fi
13261 done
13262   done
13263 IFS=$as_save_IFS
13264
13265 fi
13266 fi
13267 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
13268 if test -n "$ac_ct_OBJC"; then
13269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
13270 $as_echo "$ac_ct_OBJC" >&6; }
13271 else
13272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13273 $as_echo "no" >&6; }
13274 fi
13275
13276
13277   test -n "$ac_ct_OBJC" && break
13278 done
13279
13280   if test "x$ac_ct_OBJC" = x; then
13281     OBJC="gcc"
13282   else
13283     case $cross_compiling:$ac_tool_warned in
13284 yes:)
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13286 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13287 ac_tool_warned=yes ;;
13288 esac
13289     OBJC=$ac_ct_OBJC
13290   fi
13291 fi
13292
13293 # Provide some information about the compiler.
13294 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
13295 set X $ac_compile
13296 ac_compiler=$2
13297 for ac_option in --version -v -V -qversion; do
13298   { { ac_try="$ac_compiler $ac_option >&5"
13299 case "(($ac_try" in
13300   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13301   *) ac_try_echo=$ac_try;;
13302 esac
13303 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13304 $as_echo "$ac_try_echo"; } >&5
13305   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13306   ac_status=$?
13307   if test -s conftest.err; then
13308     sed '10a\
13309 ... rest of stderr output deleted ...
13310          10q' conftest.err >conftest.er1
13311     cat conftest.er1 >&5
13312   fi
13313   rm -f conftest.er1 conftest.err
13314   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13315   test $ac_status = 0; }
13316 done
13317
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
13319 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
13320 if ${ac_cv_objc_compiler_gnu+:} false; then :
13321   $as_echo_n "(cached) " >&6
13322 else
13323   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13324 /* end confdefs.h.  */
13325
13326 int
13327 main ()
13328 {
13329 #ifndef __GNUC__
13330        choke me
13331 #endif
13332
13333   ;
13334   return 0;
13335 }
13336 _ACEOF
13337 if ac_fn_objc_try_compile "$LINENO"; then :
13338   ac_compiler_gnu=yes
13339 else
13340   ac_compiler_gnu=no
13341 fi
13342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13343 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
13344
13345 fi
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
13347 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
13348 if test $ac_compiler_gnu = yes; then
13349   GOBJC=yes
13350 else
13351   GOBJC=
13352 fi
13353 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
13354 ac_save_OBJCFLAGS=$OBJCFLAGS
13355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
13356 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
13357 if ${ac_cv_prog_objc_g+:} false; then :
13358   $as_echo_n "(cached) " >&6
13359 else
13360   ac_save_objc_werror_flag=$ac_objc_werror_flag
13361    ac_objc_werror_flag=yes
13362    ac_cv_prog_objc_g=no
13363    OBJCFLAGS="-g"
13364    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13365 /* end confdefs.h.  */
13366
13367 int
13368 main ()
13369 {
13370
13371   ;
13372   return 0;
13373 }
13374 _ACEOF
13375 if ac_fn_objc_try_compile "$LINENO"; then :
13376   ac_cv_prog_objc_g=yes
13377 else
13378   OBJCFLAGS=""
13379       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13380 /* end confdefs.h.  */
13381
13382 int
13383 main ()
13384 {
13385
13386   ;
13387   return 0;
13388 }
13389 _ACEOF
13390 if ac_fn_objc_try_compile "$LINENO"; then :
13391
13392 else
13393   ac_objc_werror_flag=$ac_save_objc_werror_flag
13394          OBJCFLAGS="-g"
13395          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13396 /* end confdefs.h.  */
13397
13398 int
13399 main ()
13400 {
13401
13402   ;
13403   return 0;
13404 }
13405 _ACEOF
13406 if ac_fn_objc_try_compile "$LINENO"; then :
13407   ac_cv_prog_objc_g=yes
13408 fi
13409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13410 fi
13411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13412 fi
13413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13414    ac_objc_werror_flag=$ac_save_objc_werror_flag
13415 fi
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
13417 $as_echo "$ac_cv_prog_objc_g" >&6; }
13418 if test "$ac_test_OBJCFLAGS" = set; then
13419   OBJCFLAGS=$ac_save_OBJCFLAGS
13420 elif test $ac_cv_prog_objc_g = yes; then
13421   if test "$GOBJC" = yes; then
13422     OBJCFLAGS="-g -O2"
13423   else
13424     OBJCFLAGS="-g"
13425   fi
13426 else
13427   if test "$GOBJC" = yes; then
13428     OBJCFLAGS="-O2"
13429   else
13430     OBJCFLAGS=
13431   fi
13432 fi
13433 ac_ext=c
13434 ac_cpp='$CPP $CPPFLAGS'
13435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13438
13439 depcc="$OBJC" am_compiler_list='gcc3 gcc'
13440
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13442 $as_echo_n "checking dependency style of $depcc... " >&6; }
13443 if ${am_cv_OBJC_dependencies_compiler_type+:} false; then :
13444   $as_echo_n "(cached) " >&6
13445 else
13446   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13447   # We make a subdir and do the tests there.  Otherwise we can end up
13448   # making bogus files that we don't know about and never remove.  For
13449   # instance it was reported that on HP-UX the gcc test will end up
13450   # making a dummy file named 'D' -- because '-MD' means "put the output
13451   # in D".
13452   rm -rf conftest.dir
13453   mkdir conftest.dir
13454   # Copy depcomp to subdir because otherwise we won't find it if we're
13455   # using a relative directory.
13456   cp "$am_depcomp" conftest.dir
13457   cd conftest.dir
13458   # We will build objects and dependencies in a subdirectory because
13459   # it helps to detect inapplicable dependency modes.  For instance
13460   # both Tru64's cc and ICC support -MD to output dependencies as a
13461   # side effect of compilation, but ICC will put the dependencies in
13462   # the current directory while Tru64 will put them in the object
13463   # directory.
13464   mkdir sub
13465
13466   am_cv_OBJC_dependencies_compiler_type=none
13467   if test "$am_compiler_list" = ""; then
13468      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13469   fi
13470   am__universal=false
13471
13472
13473   for depmode in $am_compiler_list; do
13474     # Setup a source with many dependencies, because some compilers
13475     # like to wrap large dependency lists on column 80 (with \), and
13476     # we should not choose a depcomp mode which is confused by this.
13477     #
13478     # We need to recreate these files for each test, as the compiler may
13479     # overwrite some of them when testing with obscure command lines.
13480     # This happens at least with the AIX C compiler.
13481     : > sub/conftest.c
13482     for i in 1 2 3 4 5 6; do
13483       echo '#include "conftst'$i'.h"' >> sub/conftest.c
13484       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13485       # Solaris 10 /bin/sh.
13486       echo '/* dummy */' > sub/conftst$i.h
13487     done
13488     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13489
13490     # We check with '-c' and '-o' for the sake of the "dashmstdout"
13491     # mode.  It turns out that the SunPro C++ compiler does not properly
13492     # handle '-M -o', and we need to detect this.  Also, some Intel
13493     # versions had trouble with output in subdirs.
13494     am__obj=sub/conftest.${OBJEXT-o}
13495     am__minus_obj="-o $am__obj"
13496     case $depmode in
13497     gcc)
13498       # This depmode causes a compiler race in universal mode.
13499       test "$am__universal" = false || continue
13500       ;;
13501     nosideeffect)
13502       # After this tag, mechanisms are not by side-effect, so they'll
13503       # only be used when explicitly requested.
13504       if test "x$enable_dependency_tracking" = xyes; then
13505         continue
13506       else
13507         break
13508       fi
13509       ;;
13510     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13511       # This compiler won't grok '-c -o', but also, the minuso test has
13512       # not run yet.  These depmodes are late enough in the game, and
13513       # so weak that their functioning should not be impacted.
13514       am__obj=conftest.${OBJEXT-o}
13515       am__minus_obj=
13516       ;;
13517     none) break ;;
13518     esac
13519     if depmode=$depmode \
13520        source=sub/conftest.c object=$am__obj \
13521        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13522        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13523          >/dev/null 2>conftest.err &&
13524        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13525        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13526        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13527        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13528       # icc doesn't choke on unknown options, it will just issue warnings
13529       # or remarks (even with -Werror).  So we grep stderr for any message
13530       # that says an option was ignored or not supported.
13531       # When given -MP, icc 7.0 and 7.1 complain thusly:
13532       #   icc: Command line warning: ignoring option '-M'; no argument required
13533       # The diagnosis changed in icc 8.0:
13534       #   icc: Command line remark: option '-MP' not supported
13535       if (grep 'ignoring option' conftest.err ||
13536           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13537         am_cv_OBJC_dependencies_compiler_type=$depmode
13538         break
13539       fi
13540     fi
13541   done
13542
13543   cd ..
13544   rm -rf conftest.dir
13545 else
13546   am_cv_OBJC_dependencies_compiler_type=none
13547 fi
13548
13549 fi
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
13551 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
13552 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
13553
13554  if
13555   test "x$enable_dependency_tracking" != xno \
13556   && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
13557   am__fastdepOBJC_TRUE=
13558   am__fastdepOBJC_FALSE='#'
13559 else
13560   am__fastdepOBJC_TRUE='#'
13561   am__fastdepOBJC_FALSE=
13562 fi
13563
13564
13565
13566 depcc="$OBJC" am_compiler_list='gcc3 gcc'
13567
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13569 $as_echo_n "checking dependency style of $depcc... " >&6; }
13570 if ${am_cv_OBJC_dependencies_compiler_type+:} false; then :
13571   $as_echo_n "(cached) " >&6
13572 else
13573   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13574   # We make a subdir and do the tests there.  Otherwise we can end up
13575   # making bogus files that we don't know about and never remove.  For
13576   # instance it was reported that on HP-UX the gcc test will end up
13577   # making a dummy file named 'D' -- because '-MD' means "put the output
13578   # in D".
13579   rm -rf conftest.dir
13580   mkdir conftest.dir
13581   # Copy depcomp to subdir because otherwise we won't find it if we're
13582   # using a relative directory.
13583   cp "$am_depcomp" conftest.dir
13584   cd conftest.dir
13585   # We will build objects and dependencies in a subdirectory because
13586   # it helps to detect inapplicable dependency modes.  For instance
13587   # both Tru64's cc and ICC support -MD to output dependencies as a
13588   # side effect of compilation, but ICC will put the dependencies in
13589   # the current directory while Tru64 will put them in the object
13590   # directory.
13591   mkdir sub
13592
13593   am_cv_OBJC_dependencies_compiler_type=none
13594   if test "$am_compiler_list" = ""; then
13595      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13596   fi
13597   am__universal=false
13598
13599
13600   for depmode in $am_compiler_list; do
13601     # Setup a source with many dependencies, because some compilers
13602     # like to wrap large dependency lists on column 80 (with \), and
13603     # we should not choose a depcomp mode which is confused by this.
13604     #
13605     # We need to recreate these files for each test, as the compiler may
13606     # overwrite some of them when testing with obscure command lines.
13607     # This happens at least with the AIX C compiler.
13608     : > sub/conftest.c
13609     for i in 1 2 3 4 5 6; do
13610       echo '#include "conftst'$i'.h"' >> sub/conftest.c
13611       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13612       # Solaris 10 /bin/sh.
13613       echo '/* dummy */' > sub/conftst$i.h
13614     done
13615     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13616
13617     # We check with '-c' and '-o' for the sake of the "dashmstdout"
13618     # mode.  It turns out that the SunPro C++ compiler does not properly
13619     # handle '-M -o', and we need to detect this.  Also, some Intel
13620     # versions had trouble with output in subdirs.
13621     am__obj=sub/conftest.${OBJEXT-o}
13622     am__minus_obj="-o $am__obj"
13623     case $depmode in
13624     gcc)
13625       # This depmode causes a compiler race in universal mode.
13626       test "$am__universal" = false || continue
13627       ;;
13628     nosideeffect)
13629       # After this tag, mechanisms are not by side-effect, so they'll
13630       # only be used when explicitly requested.
13631       if test "x$enable_dependency_tracking" = xyes; then
13632         continue
13633       else
13634         break
13635       fi
13636       ;;
13637     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13638       # This compiler won't grok '-c -o', but also, the minuso test has
13639       # not run yet.  These depmodes are late enough in the game, and
13640       # so weak that their functioning should not be impacted.
13641       am__obj=conftest.${OBJEXT-o}
13642       am__minus_obj=
13643       ;;
13644     none) break ;;
13645     esac
13646     if depmode=$depmode \
13647        source=sub/conftest.c object=$am__obj \
13648        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13649        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13650          >/dev/null 2>conftest.err &&
13651        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13652        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13653        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13654        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13655       # icc doesn't choke on unknown options, it will just issue warnings
13656       # or remarks (even with -Werror).  So we grep stderr for any message
13657       # that says an option was ignored or not supported.
13658       # When given -MP, icc 7.0 and 7.1 complain thusly:
13659       #   icc: Command line warning: ignoring option '-M'; no argument required
13660       # The diagnosis changed in icc 8.0:
13661       #   icc: Command line remark: option '-MP' not supported
13662       if (grep 'ignoring option' conftest.err ||
13663           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13664         am_cv_OBJC_dependencies_compiler_type=$depmode
13665         break
13666       fi
13667     fi
13668   done
13669
13670   cd ..
13671   rm -rf conftest.dir
13672 else
13673   am_cv_OBJC_dependencies_compiler_type=none
13674 fi
13675
13676 fi
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
13678 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
13679 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
13680
13681  if
13682   test "x$enable_dependency_tracking" != xno \
13683   && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
13684   am__fastdepOBJC_TRUE=
13685   am__fastdepOBJC_FALSE='#'
13686 else
13687   am__fastdepOBJC_TRUE='#'
13688   am__fastdepOBJC_FALSE=
13689 fi
13690
13691
13692
13693
13694
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the Objective C compiler works" >&5
13696 $as_echo_n "checking whether the Objective C compiler works... " >&6; }
13697 if ${rw_cv_prog_objc_works+:} false; then :
13698   $as_echo_n "(cached) " >&6
13699 else
13700   ac_ext=m
13701 ac_cpp='$OBJCPP $CPPFLAGS'
13702 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13703 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13704 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
13705
13706                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13707 /* end confdefs.h.  */
13708
13709 int
13710 main ()
13711 {
13712
13713   ;
13714   return 0;
13715 }
13716 _ACEOF
13717 if ac_fn_objc_try_link "$LINENO"; then :
13718   rw_cv_prog_objc_works=yes
13719 else
13720   rw_cv_prog_objc_works=no
13721 fi
13722 rm -f core conftest.err conftest.$ac_objext \
13723     conftest$ac_exeext conftest.$ac_ext
13724                 ac_ext=c
13725 ac_cpp='$CPP $CPPFLAGS'
13726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13729
13730 fi
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rw_cv_prog_objc_works" >&5
13732 $as_echo "$rw_cv_prog_objc_works" >&6; }
13733
13734
13735 ac_ext=cpp
13736 ac_cpp='$CXXCPP $CPPFLAGS'
13737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13740 if test -z "$CXX"; then
13741   if test -n "$CCC"; then
13742     CXX=$CCC
13743   else
13744     if test -n "$ac_tool_prefix"; then
13745   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13746   do
13747     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13748 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13750 $as_echo_n "checking for $ac_word... " >&6; }
13751 if ${ac_cv_prog_CXX+:} false; then :
13752   $as_echo_n "(cached) " >&6
13753 else
13754   if test -n "$CXX"; then
13755   ac_cv_prog_CXX="$CXX" # Let the user override the test.
13756 else
13757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13758 for as_dir in $PATH
13759 do
13760   IFS=$as_save_IFS
13761   test -z "$as_dir" && as_dir=.
13762     for ac_exec_ext in '' $ac_executable_extensions; do
13763   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13764     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13765     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13766     break 2
13767   fi
13768 done
13769   done
13770 IFS=$as_save_IFS
13771
13772 fi
13773 fi
13774 CXX=$ac_cv_prog_CXX
13775 if test -n "$CXX"; then
13776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13777 $as_echo "$CXX" >&6; }
13778 else
13779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13780 $as_echo "no" >&6; }
13781 fi
13782
13783
13784     test -n "$CXX" && break
13785   done
13786 fi
13787 if test -z "$CXX"; then
13788   ac_ct_CXX=$CXX
13789   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13790 do
13791   # Extract the first word of "$ac_prog", so it can be a program name with args.
13792 set dummy $ac_prog; ac_word=$2
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13794 $as_echo_n "checking for $ac_word... " >&6; }
13795 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
13796   $as_echo_n "(cached) " >&6
13797 else
13798   if test -n "$ac_ct_CXX"; then
13799   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13800 else
13801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13802 for as_dir in $PATH
13803 do
13804   IFS=$as_save_IFS
13805   test -z "$as_dir" && as_dir=.
13806     for ac_exec_ext in '' $ac_executable_extensions; do
13807   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13808     ac_cv_prog_ac_ct_CXX="$ac_prog"
13809     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13810     break 2
13811   fi
13812 done
13813   done
13814 IFS=$as_save_IFS
13815
13816 fi
13817 fi
13818 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13819 if test -n "$ac_ct_CXX"; then
13820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13821 $as_echo "$ac_ct_CXX" >&6; }
13822 else
13823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13824 $as_echo "no" >&6; }
13825 fi
13826
13827
13828   test -n "$ac_ct_CXX" && break
13829 done
13830
13831   if test "x$ac_ct_CXX" = x; then
13832     CXX="g++"
13833   else
13834     case $cross_compiling:$ac_tool_warned in
13835 yes:)
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13837 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13838 ac_tool_warned=yes ;;
13839 esac
13840     CXX=$ac_ct_CXX
13841   fi
13842 fi
13843
13844   fi
13845 fi
13846 # Provide some information about the compiler.
13847 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13848 set X $ac_compile
13849 ac_compiler=$2
13850 for ac_option in --version -v -V -qversion; do
13851   { { ac_try="$ac_compiler $ac_option >&5"
13852 case "(($ac_try" in
13853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13854   *) ac_try_echo=$ac_try;;
13855 esac
13856 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13857 $as_echo "$ac_try_echo"; } >&5
13858   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13859   ac_status=$?
13860   if test -s conftest.err; then
13861     sed '10a\
13862 ... rest of stderr output deleted ...
13863          10q' conftest.err >conftest.er1
13864     cat conftest.er1 >&5
13865   fi
13866   rm -f conftest.er1 conftest.err
13867   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13868   test $ac_status = 0; }
13869 done
13870
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13872 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13873 if ${ac_cv_cxx_compiler_gnu+:} false; then :
13874   $as_echo_n "(cached) " >&6
13875 else
13876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13877 /* end confdefs.h.  */
13878
13879 int
13880 main ()
13881 {
13882 #ifndef __GNUC__
13883        choke me
13884 #endif
13885
13886   ;
13887   return 0;
13888 }
13889 _ACEOF
13890 if ac_fn_cxx_try_compile "$LINENO"; then :
13891   ac_compiler_gnu=yes
13892 else
13893   ac_compiler_gnu=no
13894 fi
13895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13896 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13897
13898 fi
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13900 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13901 if test $ac_compiler_gnu = yes; then
13902   GXX=yes
13903 else
13904   GXX=
13905 fi
13906 ac_test_CXXFLAGS=${CXXFLAGS+set}
13907 ac_save_CXXFLAGS=$CXXFLAGS
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13909 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13910 if ${ac_cv_prog_cxx_g+:} false; then :
13911   $as_echo_n "(cached) " >&6
13912 else
13913   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13914    ac_cxx_werror_flag=yes
13915    ac_cv_prog_cxx_g=no
13916    CXXFLAGS="-g"
13917    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13918 /* end confdefs.h.  */
13919
13920 int
13921 main ()
13922 {
13923
13924   ;
13925   return 0;
13926 }
13927 _ACEOF
13928 if ac_fn_cxx_try_compile "$LINENO"; then :
13929   ac_cv_prog_cxx_g=yes
13930 else
13931   CXXFLAGS=""
13932       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13933 /* end confdefs.h.  */
13934
13935 int
13936 main ()
13937 {
13938
13939   ;
13940   return 0;
13941 }
13942 _ACEOF
13943 if ac_fn_cxx_try_compile "$LINENO"; then :
13944
13945 else
13946   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13947          CXXFLAGS="-g"
13948          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13949 /* end confdefs.h.  */
13950
13951 int
13952 main ()
13953 {
13954
13955   ;
13956   return 0;
13957 }
13958 _ACEOF
13959 if ac_fn_cxx_try_compile "$LINENO"; then :
13960   ac_cv_prog_cxx_g=yes
13961 fi
13962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13963 fi
13964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13965 fi
13966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13967    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13968 fi
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13970 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13971 if test "$ac_test_CXXFLAGS" = set; then
13972   CXXFLAGS=$ac_save_CXXFLAGS
13973 elif test $ac_cv_prog_cxx_g = yes; then
13974   if test "$GXX" = yes; then
13975     CXXFLAGS="-g -O2"
13976   else
13977     CXXFLAGS="-g"
13978   fi
13979 else
13980   if test "$GXX" = yes; then
13981     CXXFLAGS="-O2"
13982   else
13983     CXXFLAGS=
13984   fi
13985 fi
13986 ac_ext=c
13987 ac_cpp='$CPP $CPPFLAGS'
13988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13991
13992 depcc="$CXX"  am_compiler_list=
13993
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13995 $as_echo_n "checking dependency style of $depcc... " >&6; }
13996 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
13997   $as_echo_n "(cached) " >&6
13998 else
13999   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14000   # We make a subdir and do the tests there.  Otherwise we can end up
14001   # making bogus files that we don't know about and never remove.  For
14002   # instance it was reported that on HP-UX the gcc test will end up
14003   # making a dummy file named 'D' -- because '-MD' means "put the output
14004   # in D".
14005   rm -rf conftest.dir
14006   mkdir conftest.dir
14007   # Copy depcomp to subdir because otherwise we won't find it if we're
14008   # using a relative directory.
14009   cp "$am_depcomp" conftest.dir
14010   cd conftest.dir
14011   # We will build objects and dependencies in a subdirectory because
14012   # it helps to detect inapplicable dependency modes.  For instance
14013   # both Tru64's cc and ICC support -MD to output dependencies as a
14014   # side effect of compilation, but ICC will put the dependencies in
14015   # the current directory while Tru64 will put them in the object
14016   # directory.
14017   mkdir sub
14018
14019   am_cv_CXX_dependencies_compiler_type=none
14020   if test "$am_compiler_list" = ""; then
14021      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14022   fi
14023   am__universal=false
14024   case " $depcc " in #(
14025      *\ -arch\ *\ -arch\ *) am__universal=true ;;
14026      esac
14027
14028   for depmode in $am_compiler_list; do
14029     # Setup a source with many dependencies, because some compilers
14030     # like to wrap large dependency lists on column 80 (with \), and
14031     # we should not choose a depcomp mode which is confused by this.
14032     #
14033     # We need to recreate these files for each test, as the compiler may
14034     # overwrite some of them when testing with obscure command lines.
14035     # This happens at least with the AIX C compiler.
14036     : > sub/conftest.c
14037     for i in 1 2 3 4 5 6; do
14038       echo '#include "conftst'$i'.h"' >> sub/conftest.c
14039       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
14040       # Solaris 10 /bin/sh.
14041       echo '/* dummy */' > sub/conftst$i.h
14042     done
14043     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14044
14045     # We check with '-c' and '-o' for the sake of the "dashmstdout"
14046     # mode.  It turns out that the SunPro C++ compiler does not properly
14047     # handle '-M -o', and we need to detect this.  Also, some Intel
14048     # versions had trouble with output in subdirs.
14049     am__obj=sub/conftest.${OBJEXT-o}
14050     am__minus_obj="-o $am__obj"
14051     case $depmode in
14052     gcc)
14053       # This depmode causes a compiler race in universal mode.
14054       test "$am__universal" = false || continue
14055       ;;
14056     nosideeffect)
14057       # After this tag, mechanisms are not by side-effect, so they'll
14058       # only be used when explicitly requested.
14059       if test "x$enable_dependency_tracking" = xyes; then
14060         continue
14061       else
14062         break
14063       fi
14064       ;;
14065     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
14066       # This compiler won't grok '-c -o', but also, the minuso test has
14067       # not run yet.  These depmodes are late enough in the game, and
14068       # so weak that their functioning should not be impacted.
14069       am__obj=conftest.${OBJEXT-o}
14070       am__minus_obj=
14071       ;;
14072     none) break ;;
14073     esac
14074     if depmode=$depmode \
14075        source=sub/conftest.c object=$am__obj \
14076        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14077        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14078          >/dev/null 2>conftest.err &&
14079        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14080        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14081        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14082        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14083       # icc doesn't choke on unknown options, it will just issue warnings
14084       # or remarks (even with -Werror).  So we grep stderr for any message
14085       # that says an option was ignored or not supported.
14086       # When given -MP, icc 7.0 and 7.1 complain thusly:
14087       #   icc: Command line warning: ignoring option '-M'; no argument required
14088       # The diagnosis changed in icc 8.0:
14089       #   icc: Command line remark: option '-MP' not supported
14090       if (grep 'ignoring option' conftest.err ||
14091           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14092         am_cv_CXX_dependencies_compiler_type=$depmode
14093         break
14094       fi
14095     fi
14096   done
14097
14098   cd ..
14099   rm -rf conftest.dir
14100 else
14101   am_cv_CXX_dependencies_compiler_type=none
14102 fi
14103
14104 fi
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
14106 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
14107 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
14108
14109  if
14110   test "x$enable_dependency_tracking" != xno \
14111   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
14112   am__fastdepCXX_TRUE=
14113   am__fastdepCXX_FALSE='#'
14114 else
14115   am__fastdepCXX_TRUE='#'
14116   am__fastdepCXX_FALSE=
14117 fi
14118
14119
14120
14121
14122 func_stripname_cnf ()
14123 {
14124   case ${2} in
14125   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14126   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14127   esac
14128 } # func_stripname_cnf
14129
14130       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14131     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14132     (test "X$CXX" != "Xg++"))) ; then
14133   ac_ext=cpp
14134 ac_cpp='$CXXCPP $CPPFLAGS'
14135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14139 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14140 if test -z "$CXXCPP"; then
14141   if ${ac_cv_prog_CXXCPP+:} false; then :
14142   $as_echo_n "(cached) " >&6
14143 else
14144       # Double quotes because CXXCPP needs to be expanded
14145     for CXXCPP in "$CXX -E" "/lib/cpp"
14146     do
14147       ac_preproc_ok=false
14148 for ac_cxx_preproc_warn_flag in '' yes
14149 do
14150   # Use a header file that comes with gcc, so configuring glibc
14151   # with a fresh cross-compiler works.
14152   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14153   # <limits.h> exists even on freestanding compilers.
14154   # On the NeXT, cc -E runs the code through the compiler's parser,
14155   # not just through cpp. "Syntax error" is here to catch this case.
14156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14157 /* end confdefs.h.  */
14158 #ifdef __STDC__
14159 # include <limits.h>
14160 #else
14161 # include <assert.h>
14162 #endif
14163                      Syntax error
14164 _ACEOF
14165 if ac_fn_cxx_try_cpp "$LINENO"; then :
14166
14167 else
14168   # Broken: fails on valid input.
14169 continue
14170 fi
14171 rm -f conftest.err conftest.i conftest.$ac_ext
14172
14173   # OK, works on sane cases.  Now check whether nonexistent headers
14174   # can be detected and how.
14175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14176 /* end confdefs.h.  */
14177 #include <ac_nonexistent.h>
14178 _ACEOF
14179 if ac_fn_cxx_try_cpp "$LINENO"; then :
14180   # Broken: success on invalid input.
14181 continue
14182 else
14183   # Passes both tests.
14184 ac_preproc_ok=:
14185 break
14186 fi
14187 rm -f conftest.err conftest.i conftest.$ac_ext
14188
14189 done
14190 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14191 rm -f conftest.i conftest.err conftest.$ac_ext
14192 if $ac_preproc_ok; then :
14193   break
14194 fi
14195
14196     done
14197     ac_cv_prog_CXXCPP=$CXXCPP
14198
14199 fi
14200   CXXCPP=$ac_cv_prog_CXXCPP
14201 else
14202   ac_cv_prog_CXXCPP=$CXXCPP
14203 fi
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14205 $as_echo "$CXXCPP" >&6; }
14206 ac_preproc_ok=false
14207 for ac_cxx_preproc_warn_flag in '' yes
14208 do
14209   # Use a header file that comes with gcc, so configuring glibc
14210   # with a fresh cross-compiler works.
14211   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14212   # <limits.h> exists even on freestanding compilers.
14213   # On the NeXT, cc -E runs the code through the compiler's parser,
14214   # not just through cpp. "Syntax error" is here to catch this case.
14215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14216 /* end confdefs.h.  */
14217 #ifdef __STDC__
14218 # include <limits.h>
14219 #else
14220 # include <assert.h>
14221 #endif
14222                      Syntax error
14223 _ACEOF
14224 if ac_fn_cxx_try_cpp "$LINENO"; then :
14225
14226 else
14227   # Broken: fails on valid input.
14228 continue
14229 fi
14230 rm -f conftest.err conftest.i conftest.$ac_ext
14231
14232   # OK, works on sane cases.  Now check whether nonexistent headers
14233   # can be detected and how.
14234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14235 /* end confdefs.h.  */
14236 #include <ac_nonexistent.h>
14237 _ACEOF
14238 if ac_fn_cxx_try_cpp "$LINENO"; then :
14239   # Broken: success on invalid input.
14240 continue
14241 else
14242   # Passes both tests.
14243 ac_preproc_ok=:
14244 break
14245 fi
14246 rm -f conftest.err conftest.i conftest.$ac_ext
14247
14248 done
14249 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14250 rm -f conftest.i conftest.err conftest.$ac_ext
14251 if $ac_preproc_ok; then :
14252
14253 else
14254   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14256 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14257 See \`config.log' for more details" "$LINENO" 5; }
14258 fi
14259
14260 ac_ext=c
14261 ac_cpp='$CPP $CPPFLAGS'
14262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14265
14266 else
14267   _lt_caught_CXX_error=yes
14268 fi
14269
14270 ac_ext=cpp
14271 ac_cpp='$CXXCPP $CPPFLAGS'
14272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14275
14276 archive_cmds_need_lc_CXX=no
14277 allow_undefined_flag_CXX=
14278 always_export_symbols_CXX=no
14279 archive_expsym_cmds_CXX=
14280 compiler_needs_object_CXX=no
14281 export_dynamic_flag_spec_CXX=
14282 hardcode_direct_CXX=no
14283 hardcode_direct_absolute_CXX=no
14284 hardcode_libdir_flag_spec_CXX=
14285 hardcode_libdir_separator_CXX=
14286 hardcode_minus_L_CXX=no
14287 hardcode_shlibpath_var_CXX=unsupported
14288 hardcode_automatic_CXX=no
14289 inherit_rpath_CXX=no
14290 module_cmds_CXX=
14291 module_expsym_cmds_CXX=
14292 link_all_deplibs_CXX=unknown
14293 old_archive_cmds_CXX=$old_archive_cmds
14294 reload_flag_CXX=$reload_flag
14295 reload_cmds_CXX=$reload_cmds
14296 no_undefined_flag_CXX=
14297 whole_archive_flag_spec_CXX=
14298 enable_shared_with_static_runtimes_CXX=no
14299
14300 # Source file extension for C++ test sources.
14301 ac_ext=cpp
14302
14303 # Object file extension for compiled C++ test sources.
14304 objext=o
14305 objext_CXX=$objext
14306
14307 # No sense in running all these tests if we already determined that
14308 # the CXX compiler isn't working.  Some variables (like enable_shared)
14309 # are currently assumed to apply to all compilers on this platform,
14310 # and will be corrupted by setting them based on a non-working compiler.
14311 if test "$_lt_caught_CXX_error" != yes; then
14312   # Code to be used in simple compile tests
14313   lt_simple_compile_test_code="int some_variable = 0;"
14314
14315   # Code to be used in simple link tests
14316   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14317
14318   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14319
14320
14321
14322
14323
14324
14325 # If no C compiler was specified, use CC.
14326 LTCC=${LTCC-"$CC"}
14327
14328 # If no C compiler flags were specified, use CFLAGS.
14329 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14330
14331 # Allow CC to be a program name with arguments.
14332 compiler=$CC
14333
14334
14335   # save warnings/boilerplate of simple test code
14336   ac_outfile=conftest.$ac_objext
14337 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14338 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14339 _lt_compiler_boilerplate=`cat conftest.err`
14340 $RM conftest*
14341
14342   ac_outfile=conftest.$ac_objext
14343 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14344 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14345 _lt_linker_boilerplate=`cat conftest.err`
14346 $RM -r conftest*
14347
14348
14349   # Allow CC to be a program name with arguments.
14350   lt_save_CC=$CC
14351   lt_save_CFLAGS=$CFLAGS
14352   lt_save_LD=$LD
14353   lt_save_GCC=$GCC
14354   GCC=$GXX
14355   lt_save_with_gnu_ld=$with_gnu_ld
14356   lt_save_path_LD=$lt_cv_path_LD
14357   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14358     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14359   else
14360     $as_unset lt_cv_prog_gnu_ld
14361   fi
14362   if test -n "${lt_cv_path_LDCXX+set}"; then
14363     lt_cv_path_LD=$lt_cv_path_LDCXX
14364   else
14365     $as_unset lt_cv_path_LD
14366   fi
14367   test -z "${LDCXX+set}" || LD=$LDCXX
14368   CC=${CXX-"c++"}
14369   CFLAGS=$CXXFLAGS
14370   compiler=$CC
14371   compiler_CXX=$CC
14372   for cc_temp in $compiler""; do
14373   case $cc_temp in
14374     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14375     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14376     \-*) ;;
14377     *) break;;
14378   esac
14379 done
14380 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14381
14382
14383   if test -n "$compiler"; then
14384     # We don't want -fno-exception when compiling C++ code, so set the
14385     # no_builtin_flag separately
14386     if test "$GXX" = yes; then
14387       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14388     else
14389       lt_prog_compiler_no_builtin_flag_CXX=
14390     fi
14391
14392     if test "$GXX" = yes; then
14393       # Set up default GNU C++ configuration
14394
14395
14396
14397 # Check whether --with-gnu-ld was given.
14398 if test "${with_gnu_ld+set}" = set; then :
14399   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14400 else
14401   with_gnu_ld=no
14402 fi
14403
14404 ac_prog=ld
14405 if test "$GCC" = yes; then
14406   # Check if gcc -print-prog-name=ld gives a path.
14407   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14408 $as_echo_n "checking for ld used by $CC... " >&6; }
14409   case $host in
14410   *-*-mingw*)
14411     # gcc leaves a trailing carriage return which upsets mingw
14412     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14413   *)
14414     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14415   esac
14416   case $ac_prog in
14417     # Accept absolute paths.
14418     [\\/]* | ?:[\\/]*)
14419       re_direlt='/[^/][^/]*/\.\./'
14420       # Canonicalize the pathname of ld
14421       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14422       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14423         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14424       done
14425       test -z "$LD" && LD="$ac_prog"
14426       ;;
14427   "")
14428     # If it fails, then pretend we aren't using GCC.
14429     ac_prog=ld
14430     ;;
14431   *)
14432     # If it is relative, then search for the first ld in PATH.
14433     with_gnu_ld=unknown
14434     ;;
14435   esac
14436 elif test "$with_gnu_ld" = yes; then
14437   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14438 $as_echo_n "checking for GNU ld... " >&6; }
14439 else
14440   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14441 $as_echo_n "checking for non-GNU ld... " >&6; }
14442 fi
14443 if ${lt_cv_path_LD+:} false; then :
14444   $as_echo_n "(cached) " >&6
14445 else
14446   if test -z "$LD"; then
14447   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14448   for ac_dir in $PATH; do
14449     IFS="$lt_save_ifs"
14450     test -z "$ac_dir" && ac_dir=.
14451     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14452       lt_cv_path_LD="$ac_dir/$ac_prog"
14453       # Check to see if the program is GNU ld.  I'd rather use --version,
14454       # but apparently some variants of GNU ld only accept -v.
14455       # Break only if it was the GNU/non-GNU ld that we prefer.
14456       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14457       *GNU* | *'with BFD'*)
14458         test "$with_gnu_ld" != no && break
14459         ;;
14460       *)
14461         test "$with_gnu_ld" != yes && break
14462         ;;
14463       esac
14464     fi
14465   done
14466   IFS="$lt_save_ifs"
14467 else
14468   lt_cv_path_LD="$LD" # Let the user override the test with a path.
14469 fi
14470 fi
14471
14472 LD="$lt_cv_path_LD"
14473 if test -n "$LD"; then
14474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14475 $as_echo "$LD" >&6; }
14476 else
14477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14478 $as_echo "no" >&6; }
14479 fi
14480 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14482 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14483 if ${lt_cv_prog_gnu_ld+:} false; then :
14484   $as_echo_n "(cached) " >&6
14485 else
14486   # I'd rather use --version here, but apparently some GNU lds only accept -v.
14487 case `$LD -v 2>&1 </dev/null` in
14488 *GNU* | *'with BFD'*)
14489   lt_cv_prog_gnu_ld=yes
14490   ;;
14491 *)
14492   lt_cv_prog_gnu_ld=no
14493   ;;
14494 esac
14495 fi
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14497 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14498 with_gnu_ld=$lt_cv_prog_gnu_ld
14499
14500
14501
14502
14503
14504
14505
14506       # Check if GNU C++ uses GNU ld as the underlying linker, since the
14507       # archiving commands below assume that GNU ld is being used.
14508       if test "$with_gnu_ld" = yes; then
14509         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14510         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14511
14512         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14513         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14514
14515         # If archive_cmds runs LD, not CC, wlarc should be empty
14516         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14517         #     investigate it a little bit more. (MM)
14518         wlarc='${wl}'
14519
14520         # ancient GNU ld didn't support --whole-archive et. al.
14521         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14522           $GREP 'no-whole-archive' > /dev/null; then
14523           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14524         else
14525           whole_archive_flag_spec_CXX=
14526         fi
14527       else
14528         with_gnu_ld=no
14529         wlarc=
14530
14531         # A generic and very simple default shared library creation
14532         # command for GNU C++ for the case where it uses the native
14533         # linker, instead of GNU ld.  If possible, this setting should
14534         # overridden to take advantage of the native linker features on
14535         # the platform it is being used on.
14536         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14537       fi
14538
14539       # Commands to make compiler produce verbose output that lists
14540       # what "hidden" libraries, object files and flags are used when
14541       # linking a shared library.
14542       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14543
14544     else
14545       GXX=no
14546       with_gnu_ld=no
14547       wlarc=
14548     fi
14549
14550     # PORTME: fill in a description of your system's C++ link characteristics
14551     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14552 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14553     ld_shlibs_CXX=yes
14554     case $host_os in
14555       aix3*)
14556         # FIXME: insert proper C++ library support
14557         ld_shlibs_CXX=no
14558         ;;
14559       aix[4-9]*)
14560         if test "$host_cpu" = ia64; then
14561           # On IA64, the linker does run time linking by default, so we don't
14562           # have to do anything special.
14563           aix_use_runtimelinking=no
14564           exp_sym_flag='-Bexport'
14565           no_entry_flag=""
14566         else
14567           aix_use_runtimelinking=no
14568
14569           # Test if we are trying to use run time linking or normal
14570           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14571           # need to do runtime linking.
14572           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14573             for ld_flag in $LDFLAGS; do
14574               case $ld_flag in
14575               *-brtl*)
14576                 aix_use_runtimelinking=yes
14577                 break
14578                 ;;
14579               esac
14580             done
14581             ;;
14582           esac
14583
14584           exp_sym_flag='-bexport'
14585           no_entry_flag='-bnoentry'
14586         fi
14587
14588         # When large executables or shared objects are built, AIX ld can
14589         # have problems creating the table of contents.  If linking a library
14590         # or program results in "error TOC overflow" add -mminimal-toc to
14591         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14592         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14593
14594         archive_cmds_CXX=''
14595         hardcode_direct_CXX=yes
14596         hardcode_direct_absolute_CXX=yes
14597         hardcode_libdir_separator_CXX=':'
14598         link_all_deplibs_CXX=yes
14599         file_list_spec_CXX='${wl}-f,'
14600
14601         if test "$GXX" = yes; then
14602           case $host_os in aix4.[012]|aix4.[012].*)
14603           # We only want to do this on AIX 4.2 and lower, the check
14604           # below for broken collect2 doesn't work under 4.3+
14605           collect2name=`${CC} -print-prog-name=collect2`
14606           if test -f "$collect2name" &&
14607              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14608           then
14609             # We have reworked collect2
14610             :
14611           else
14612             # We have old collect2
14613             hardcode_direct_CXX=unsupported
14614             # It fails to find uninstalled libraries when the uninstalled
14615             # path is not listed in the libpath.  Setting hardcode_minus_L
14616             # to unsupported forces relinking
14617             hardcode_minus_L_CXX=yes
14618             hardcode_libdir_flag_spec_CXX='-L$libdir'
14619             hardcode_libdir_separator_CXX=
14620           fi
14621           esac
14622           shared_flag='-shared'
14623           if test "$aix_use_runtimelinking" = yes; then
14624             shared_flag="$shared_flag "'${wl}-G'
14625           fi
14626         else
14627           # not using gcc
14628           if test "$host_cpu" = ia64; then
14629           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14630           # chokes on -Wl,-G. The following line is correct:
14631           shared_flag='-G'
14632           else
14633             if test "$aix_use_runtimelinking" = yes; then
14634               shared_flag='${wl}-G'
14635             else
14636               shared_flag='${wl}-bM:SRE'
14637             fi
14638           fi
14639         fi
14640
14641         export_dynamic_flag_spec_CXX='${wl}-bexpall'
14642         # It seems that -bexpall does not export symbols beginning with
14643         # underscore (_), so it is better to generate a list of symbols to
14644         # export.
14645         always_export_symbols_CXX=yes
14646         if test "$aix_use_runtimelinking" = yes; then
14647           # Warning - without using the other runtime loading flags (-brtl),
14648           # -berok will link without error, but may produce a broken library.
14649           allow_undefined_flag_CXX='-berok'
14650           # Determine the default libpath from the value encoded in an empty
14651           # executable.
14652           if test "${lt_cv_aix_libpath+set}" = set; then
14653   aix_libpath=$lt_cv_aix_libpath
14654 else
14655   if ${lt_cv_aix_libpath__CXX+:} false; then :
14656   $as_echo_n "(cached) " >&6
14657 else
14658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14659 /* end confdefs.h.  */
14660
14661 int
14662 main ()
14663 {
14664
14665   ;
14666   return 0;
14667 }
14668 _ACEOF
14669 if ac_fn_cxx_try_link "$LINENO"; then :
14670
14671   lt_aix_libpath_sed='
14672       /Import File Strings/,/^$/ {
14673           /^0/ {
14674               s/^0  *\([^ ]*\) *$/\1/
14675               p
14676           }
14677       }'
14678   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14679   # Check for a 64-bit object if we didn't find anything.
14680   if test -z "$lt_cv_aix_libpath__CXX"; then
14681     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14682   fi
14683 fi
14684 rm -f core conftest.err conftest.$ac_objext \
14685     conftest$ac_exeext conftest.$ac_ext
14686   if test -z "$lt_cv_aix_libpath__CXX"; then
14687     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14688   fi
14689
14690 fi
14691
14692   aix_libpath=$lt_cv_aix_libpath__CXX
14693 fi
14694
14695           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14696
14697           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14698         else
14699           if test "$host_cpu" = ia64; then
14700             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14701             allow_undefined_flag_CXX="-z nodefs"
14702             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
14703           else
14704             # Determine the default libpath from the value encoded in an
14705             # empty executable.
14706             if test "${lt_cv_aix_libpath+set}" = set; then
14707   aix_libpath=$lt_cv_aix_libpath
14708 else
14709   if ${lt_cv_aix_libpath__CXX+:} false; then :
14710   $as_echo_n "(cached) " >&6
14711 else
14712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14713 /* end confdefs.h.  */
14714
14715 int
14716 main ()
14717 {
14718
14719   ;
14720   return 0;
14721 }
14722 _ACEOF
14723 if ac_fn_cxx_try_link "$LINENO"; then :
14724
14725   lt_aix_libpath_sed='
14726       /Import File Strings/,/^$/ {
14727           /^0/ {
14728               s/^0  *\([^ ]*\) *$/\1/
14729               p
14730           }
14731       }'
14732   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14733   # Check for a 64-bit object if we didn't find anything.
14734   if test -z "$lt_cv_aix_libpath__CXX"; then
14735     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14736   fi
14737 fi
14738 rm -f core conftest.err conftest.$ac_objext \
14739     conftest$ac_exeext conftest.$ac_ext
14740   if test -z "$lt_cv_aix_libpath__CXX"; then
14741     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14742   fi
14743
14744 fi
14745
14746   aix_libpath=$lt_cv_aix_libpath__CXX
14747 fi
14748
14749             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14750             # Warning - without using the other run time loading flags,
14751             # -berok will link without error, but may produce a broken library.
14752             no_undefined_flag_CXX=' ${wl}-bernotok'
14753             allow_undefined_flag_CXX=' ${wl}-berok'
14754             if test "$with_gnu_ld" = yes; then
14755               # We only use this code for GNU lds that support --whole-archive.
14756               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14757             else
14758               # Exported symbols can be pulled into shared objects from archives
14759               whole_archive_flag_spec_CXX='$convenience'
14760             fi
14761             archive_cmds_need_lc_CXX=yes
14762             # This is similar to how AIX traditionally builds its shared
14763             # libraries.
14764             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14765           fi
14766         fi
14767         ;;
14768
14769       beos*)
14770         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14771           allow_undefined_flag_CXX=unsupported
14772           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14773           # support --undefined.  This deserves some investigation.  FIXME
14774           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14775         else
14776           ld_shlibs_CXX=no
14777         fi
14778         ;;
14779
14780       chorus*)
14781         case $cc_basename in
14782           *)
14783           # FIXME: insert proper C++ library support
14784           ld_shlibs_CXX=no
14785           ;;
14786         esac
14787         ;;
14788
14789       cygwin* | mingw* | pw32* | cegcc*)
14790         case $GXX,$cc_basename in
14791         ,cl* | no,cl*)
14792           # Native MSVC
14793           # hardcode_libdir_flag_spec is actually meaningless, as there is
14794           # no search path for DLLs.
14795           hardcode_libdir_flag_spec_CXX=' '
14796           allow_undefined_flag_CXX=unsupported
14797           always_export_symbols_CXX=yes
14798           file_list_spec_CXX='@'
14799           # Tell ltmain to make .lib files, not .a files.
14800           libext=lib
14801           # Tell ltmain to make .dll files, not .so files.
14802           shrext_cmds=".dll"
14803           # FIXME: Setting linknames here is a bad hack.
14804           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
14805           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14806               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
14807             else
14808               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
14809             fi~
14810             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14811             linknames='
14812           # The linker will not automatically build a static lib if we build a DLL.
14813           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14814           enable_shared_with_static_runtimes_CXX=yes
14815           # Don't use ranlib
14816           old_postinstall_cmds_CXX='chmod 644 $oldlib'
14817           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14818             lt_tool_outputfile="@TOOL_OUTPUT@"~
14819             case $lt_outputfile in
14820               *.exe|*.EXE) ;;
14821               *)
14822                 lt_outputfile="$lt_outputfile.exe"
14823                 lt_tool_outputfile="$lt_tool_outputfile.exe"
14824                 ;;
14825             esac~
14826             func_to_tool_file "$lt_outputfile"~
14827             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
14828               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14829               $RM "$lt_outputfile.manifest";
14830             fi'
14831           ;;
14832         *)
14833           # g++
14834           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14835           # as there is no search path for DLLs.
14836           hardcode_libdir_flag_spec_CXX='-L$libdir'
14837           export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
14838           allow_undefined_flag_CXX=unsupported
14839           always_export_symbols_CXX=no
14840           enable_shared_with_static_runtimes_CXX=yes
14841
14842           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14843             archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14844             # If the export-symbols file already is a .def file (1st line
14845             # is EXPORTS), use it as is; otherwise, prepend...
14846             archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14847               cp $export_symbols $output_objdir/$soname.def;
14848             else
14849               echo EXPORTS > $output_objdir/$soname.def;
14850               cat $export_symbols >> $output_objdir/$soname.def;
14851             fi~
14852             $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14853           else
14854             ld_shlibs_CXX=no
14855           fi
14856           ;;
14857         esac
14858         ;;
14859       darwin* | rhapsody*)
14860
14861
14862   archive_cmds_need_lc_CXX=no
14863   hardcode_direct_CXX=no
14864   hardcode_automatic_CXX=yes
14865   hardcode_shlibpath_var_CXX=unsupported
14866   if test "$lt_cv_ld_force_load" = "yes"; then
14867     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
14868
14869   else
14870     whole_archive_flag_spec_CXX=''
14871   fi
14872   link_all_deplibs_CXX=yes
14873   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14874   case $cc_basename in
14875      ifort*) _lt_dar_can_shared=yes ;;
14876      *) _lt_dar_can_shared=$GCC ;;
14877   esac
14878   if test "$_lt_dar_can_shared" = "yes"; then
14879     output_verbose_link_cmd=func_echo_all
14880     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
14881     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14882     archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
14883     module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
14884        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14885       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
14886       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
14887     fi
14888
14889   else
14890   ld_shlibs_CXX=no
14891   fi
14892
14893         ;;
14894
14895       dgux*)
14896         case $cc_basename in
14897           ec++*)
14898             # FIXME: insert proper C++ library support
14899             ld_shlibs_CXX=no
14900             ;;
14901           ghcx*)
14902             # Green Hills C++ Compiler
14903             # FIXME: insert proper C++ library support
14904             ld_shlibs_CXX=no
14905             ;;
14906           *)
14907             # FIXME: insert proper C++ library support
14908             ld_shlibs_CXX=no
14909             ;;
14910         esac
14911         ;;
14912
14913       freebsd2.*)
14914         # C++ shared libraries reported to be fairly broken before
14915         # switch to ELF
14916         ld_shlibs_CXX=no
14917         ;;
14918
14919       freebsd-elf*)
14920         archive_cmds_need_lc_CXX=no
14921         ;;
14922
14923       freebsd* | dragonfly*)
14924         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14925         # conventions
14926         ld_shlibs_CXX=yes
14927         ;;
14928
14929       gnu*)
14930         ;;
14931
14932       haiku*)
14933         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14934         link_all_deplibs_CXX=yes
14935         ;;
14936
14937       hpux9*)
14938         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14939         hardcode_libdir_separator_CXX=:
14940         export_dynamic_flag_spec_CXX='${wl}-E'
14941         hardcode_direct_CXX=yes
14942         hardcode_minus_L_CXX=yes # Not in the search PATH,
14943                                              # but as the default
14944                                              # location of the library.
14945
14946         case $cc_basename in
14947           CC*)
14948             # FIXME: insert proper C++ library support
14949             ld_shlibs_CXX=no
14950             ;;
14951           aCC*)
14952             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14953             # Commands to make compiler produce verbose output that lists
14954             # what "hidden" libraries, object files and flags are used when
14955             # linking a shared library.
14956             #
14957             # There doesn't appear to be a way to prevent this compiler from
14958             # explicitly linking system object files so we need to strip them
14959             # from the output so that they don't get included in the library
14960             # dependencies.
14961             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14962             ;;
14963           *)
14964             if test "$GXX" = yes; then
14965               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14966             else
14967               # FIXME: insert proper C++ library support
14968               ld_shlibs_CXX=no
14969             fi
14970             ;;
14971         esac
14972         ;;
14973
14974       hpux10*|hpux11*)
14975         if test $with_gnu_ld = no; then
14976           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14977           hardcode_libdir_separator_CXX=:
14978
14979           case $host_cpu in
14980             hppa*64*|ia64*)
14981               ;;
14982             *)
14983               export_dynamic_flag_spec_CXX='${wl}-E'
14984               ;;
14985           esac
14986         fi
14987         case $host_cpu in
14988           hppa*64*|ia64*)
14989             hardcode_direct_CXX=no
14990             hardcode_shlibpath_var_CXX=no
14991             ;;
14992           *)
14993             hardcode_direct_CXX=yes
14994             hardcode_direct_absolute_CXX=yes
14995             hardcode_minus_L_CXX=yes # Not in the search PATH,
14996                                                  # but as the default
14997                                                  # location of the library.
14998             ;;
14999         esac
15000
15001         case $cc_basename in
15002           CC*)
15003             # FIXME: insert proper C++ library support
15004             ld_shlibs_CXX=no
15005             ;;
15006           aCC*)
15007             case $host_cpu in
15008               hppa*64*)
15009                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15010                 ;;
15011               ia64*)
15012                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15013                 ;;
15014               *)
15015                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15016                 ;;
15017             esac
15018             # Commands to make compiler produce verbose output that lists
15019             # what "hidden" libraries, object files and flags are used when
15020             # linking a shared library.
15021             #
15022             # There doesn't appear to be a way to prevent this compiler from
15023             # explicitly linking system object files so we need to strip them
15024             # from the output so that they don't get included in the library
15025             # dependencies.
15026             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15027             ;;
15028           *)
15029             if test "$GXX" = yes; then
15030               if test $with_gnu_ld = no; then
15031                 case $host_cpu in
15032                   hppa*64*)
15033                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15034                     ;;
15035                   ia64*)
15036                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15037                     ;;
15038                   *)
15039                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15040                     ;;
15041                 esac
15042               fi
15043             else
15044               # FIXME: insert proper C++ library support
15045               ld_shlibs_CXX=no
15046             fi
15047             ;;
15048         esac
15049         ;;
15050
15051       interix[3-9]*)
15052         hardcode_direct_CXX=no
15053         hardcode_shlibpath_var_CXX=no
15054         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15055         export_dynamic_flag_spec_CXX='${wl}-E'
15056         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15057         # Instead, shared libraries are loaded at an image base (0x10000000 by
15058         # default) and relocated if they conflict, which is a slow very memory
15059         # consuming and fragmenting process.  To avoid this, we pick a random,
15060         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15061         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
15062         archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15063         archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15064         ;;
15065       irix5* | irix6*)
15066         case $cc_basename in
15067           CC*)
15068             # SGI C++
15069             archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15070
15071             # Archives containing C++ object files must be created using
15072             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
15073             # necessary to make sure instantiated templates are included
15074             # in the archive.
15075             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15076             ;;
15077           *)
15078             if test "$GXX" = yes; then
15079               if test "$with_gnu_ld" = no; then
15080                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15081               else
15082                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
15083               fi
15084             fi
15085             link_all_deplibs_CXX=yes
15086             ;;
15087         esac
15088         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15089         hardcode_libdir_separator_CXX=:
15090         inherit_rpath_CXX=yes
15091         ;;
15092
15093       linux* | k*bsd*-gnu | kopensolaris*-gnu)
15094         case $cc_basename in
15095           KCC*)
15096             # Kuck and Associates, Inc. (KAI) C++ Compiler
15097
15098             # KCC will only create a shared library if the output file
15099             # ends with ".so" (or ".sl" for HP-UX), so rename the library
15100             # to its proper name (with version) after linking.
15101             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
15102             archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
15103             # Commands to make compiler produce verbose output that lists
15104             # what "hidden" libraries, object files and flags are used when
15105             # linking a shared library.
15106             #
15107             # There doesn't appear to be a way to prevent this compiler from
15108             # explicitly linking system object files so we need to strip them
15109             # from the output so that they don't get included in the library
15110             # dependencies.
15111             output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15112
15113             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15114             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15115
15116             # Archives containing C++ object files must be created using
15117             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15118             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15119             ;;
15120           icpc* | ecpc* )
15121             # Intel C++
15122             with_gnu_ld=yes
15123             # version 8.0 and above of icpc choke on multiply defined symbols
15124             # if we add $predep_objects and $postdep_objects, however 7.1 and
15125             # earlier do not add the objects themselves.
15126             case `$CC -V 2>&1` in
15127               *"Version 7."*)
15128                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15129                 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15130                 ;;
15131               *)  # Version 8.0 or newer
15132                 tmp_idyn=
15133                 case $host_cpu in
15134                   ia64*) tmp_idyn=' -i_dynamic';;
15135                 esac
15136                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15137                 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15138                 ;;
15139             esac
15140             archive_cmds_need_lc_CXX=no
15141             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15142             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15143             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15144             ;;
15145           pgCC* | pgcpp*)
15146             # Portland Group C++ compiler
15147             case `$CC -V` in
15148             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15149               prelink_cmds_CXX='tpldir=Template.dir~
15150                 rm -rf $tpldir~
15151                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15152                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15153               old_archive_cmds_CXX='tpldir=Template.dir~
15154                 rm -rf $tpldir~
15155                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15156                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15157                 $RANLIB $oldlib'
15158               archive_cmds_CXX='tpldir=Template.dir~
15159                 rm -rf $tpldir~
15160                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15161                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15162               archive_expsym_cmds_CXX='tpldir=Template.dir~
15163                 rm -rf $tpldir~
15164                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15165                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
15166               ;;
15167             *) # Version 6 and above use weak symbols
15168               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15169               archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
15170               ;;
15171             esac
15172
15173             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15174             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15175             whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
15176             ;;
15177           cxx*)
15178             # Compaq C++
15179             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15180             archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
15181
15182             runpath_var=LD_RUN_PATH
15183             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15184             hardcode_libdir_separator_CXX=:
15185
15186             # Commands to make compiler produce verbose output that lists
15187             # what "hidden" libraries, object files and flags are used when
15188             # linking a shared library.
15189             #
15190             # There doesn't appear to be a way to prevent this compiler from
15191             # explicitly linking system object files so we need to strip them
15192             # from the output so that they don't get included in the library
15193             # dependencies.
15194             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
15195             ;;
15196           xl* | mpixl* | bgxl*)
15197             # IBM XL 8.0 on PPC, with GNU ld
15198             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15199             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15200             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15201             if test "x$supports_anon_versioning" = xyes; then
15202               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15203                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15204                 echo "local: *; };" >> $output_objdir/$libname.ver~
15205                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15206             fi
15207             ;;
15208           *)
15209             case `$CC -V 2>&1 | sed 5q` in
15210             *Sun\ C*)
15211               # Sun C++ 5.9
15212               no_undefined_flag_CXX=' -zdefs'
15213               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15214               archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
15215               hardcode_libdir_flag_spec_CXX='-R$libdir'
15216               whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
15217               compiler_needs_object_CXX=yes
15218
15219               # Not sure whether something based on
15220               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15221               # would be better.
15222               output_verbose_link_cmd='func_echo_all'
15223
15224               # Archives containing C++ object files must be created using
15225               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15226               # necessary to make sure instantiated templates are included
15227               # in the archive.
15228               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15229               ;;
15230             esac
15231             ;;
15232         esac
15233         ;;
15234
15235       lynxos*)
15236         # FIXME: insert proper C++ library support
15237         ld_shlibs_CXX=no
15238         ;;
15239
15240       m88k*)
15241         # FIXME: insert proper C++ library support
15242         ld_shlibs_CXX=no
15243         ;;
15244
15245       mvs*)
15246         case $cc_basename in
15247           cxx*)
15248             # FIXME: insert proper C++ library support
15249             ld_shlibs_CXX=no
15250             ;;
15251           *)
15252             # FIXME: insert proper C++ library support
15253             ld_shlibs_CXX=no
15254             ;;
15255         esac
15256         ;;
15257
15258       netbsd*)
15259         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15260           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15261           wlarc=
15262           hardcode_libdir_flag_spec_CXX='-R$libdir'
15263           hardcode_direct_CXX=yes
15264           hardcode_shlibpath_var_CXX=no
15265         fi
15266         # Workaround some broken pre-1.5 toolchains
15267         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15268         ;;
15269
15270       *nto* | *qnx*)
15271         ld_shlibs_CXX=yes
15272         ;;
15273
15274       openbsd2*)
15275         # C++ shared libraries are fairly broken
15276         ld_shlibs_CXX=no
15277         ;;
15278
15279       openbsd*)
15280         if test -f /usr/libexec/ld.so; then
15281           hardcode_direct_CXX=yes
15282           hardcode_shlibpath_var_CXX=no
15283           hardcode_direct_absolute_CXX=yes
15284           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15285           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15286           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15287             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15288             export_dynamic_flag_spec_CXX='${wl}-E'
15289             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15290           fi
15291           output_verbose_link_cmd=func_echo_all
15292         else
15293           ld_shlibs_CXX=no
15294         fi
15295         ;;
15296
15297       osf3* | osf4* | osf5*)
15298         case $cc_basename in
15299           KCC*)
15300             # Kuck and Associates, Inc. (KAI) C++ Compiler
15301
15302             # KCC will only create a shared library if the output file
15303             # ends with ".so" (or ".sl" for HP-UX), so rename the library
15304             # to its proper name (with version) after linking.
15305             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
15306
15307             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15308             hardcode_libdir_separator_CXX=:
15309
15310             # Archives containing C++ object files must be created using
15311             # the KAI C++ compiler.
15312             case $host in
15313               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15314               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15315             esac
15316             ;;
15317           RCC*)
15318             # Rational C++ 2.4.1
15319             # FIXME: insert proper C++ library support
15320             ld_shlibs_CXX=no
15321             ;;
15322           cxx*)
15323             case $host in
15324               osf3*)
15325                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15326                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15327                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15328                 ;;
15329               *)
15330                 allow_undefined_flag_CXX=' -expect_unresolved \*'
15331                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15332                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15333                   echo "-hidden">> $lib.exp~
15334                   $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
15335                   $RM $lib.exp'
15336                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15337                 ;;
15338             esac
15339
15340             hardcode_libdir_separator_CXX=:
15341
15342             # Commands to make compiler produce verbose output that lists
15343             # what "hidden" libraries, object files and flags are used when
15344             # linking a shared library.
15345             #
15346             # There doesn't appear to be a way to prevent this compiler from
15347             # explicitly linking system object files so we need to strip them
15348             # from the output so that they don't get included in the library
15349             # dependencies.
15350             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15351             ;;
15352           *)
15353             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15354               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15355               case $host in
15356                 osf3*)
15357                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15358                   ;;
15359                 *)
15360                   archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15361                   ;;
15362               esac
15363
15364               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15365               hardcode_libdir_separator_CXX=:
15366
15367               # Commands to make compiler produce verbose output that lists
15368               # what "hidden" libraries, object files and flags are used when
15369               # linking a shared library.
15370               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15371
15372             else
15373               # FIXME: insert proper C++ library support
15374               ld_shlibs_CXX=no
15375             fi
15376             ;;
15377         esac
15378         ;;
15379
15380       psos*)
15381         # FIXME: insert proper C++ library support
15382         ld_shlibs_CXX=no
15383         ;;
15384
15385       sunos4*)
15386         case $cc_basename in
15387           CC*)
15388             # Sun C++ 4.x
15389             # FIXME: insert proper C++ library support
15390             ld_shlibs_CXX=no
15391             ;;
15392           lcc*)
15393             # Lucid
15394             # FIXME: insert proper C++ library support
15395             ld_shlibs_CXX=no
15396             ;;
15397           *)
15398             # FIXME: insert proper C++ library support
15399             ld_shlibs_CXX=no
15400             ;;
15401         esac
15402         ;;
15403
15404       solaris*)
15405         case $cc_basename in
15406           CC* | sunCC*)
15407             # Sun C++ 4.2, 5.x and Centerline C++
15408             archive_cmds_need_lc_CXX=yes
15409             no_undefined_flag_CXX=' -zdefs'
15410             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15411             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15412               $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15413
15414             hardcode_libdir_flag_spec_CXX='-R$libdir'
15415             hardcode_shlibpath_var_CXX=no
15416             case $host_os in
15417               solaris2.[0-5] | solaris2.[0-5].*) ;;
15418               *)
15419                 # The compiler driver will combine and reorder linker options,
15420                 # but understands `-z linker_flag'.
15421                 # Supported since Solaris 2.6 (maybe 2.5.1?)
15422                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15423                 ;;
15424             esac
15425             link_all_deplibs_CXX=yes
15426
15427             output_verbose_link_cmd='func_echo_all'
15428
15429             # Archives containing C++ object files must be created using
15430             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15431             # necessary to make sure instantiated templates are included
15432             # in the archive.
15433             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15434             ;;
15435           gcx*)
15436             # Green Hills C++ Compiler
15437             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15438
15439             # The C++ compiler must be used to create the archive.
15440             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15441             ;;
15442           *)
15443             # GNU C++ compiler with Solaris linker
15444             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15445               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15446               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15447                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15448                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15449                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15450
15451                 # Commands to make compiler produce verbose output that lists
15452                 # what "hidden" libraries, object files and flags are used when
15453                 # linking a shared library.
15454                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15455               else
15456                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15457                 # platform.
15458                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15459                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15460                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15461
15462                 # Commands to make compiler produce verbose output that lists
15463                 # what "hidden" libraries, object files and flags are used when
15464                 # linking a shared library.
15465                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15466               fi
15467
15468               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15469               case $host_os in
15470                 solaris2.[0-5] | solaris2.[0-5].*) ;;
15471                 *)
15472                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15473                   ;;
15474               esac
15475             fi
15476             ;;
15477         esac
15478         ;;
15479
15480     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15481       no_undefined_flag_CXX='${wl}-z,text'
15482       archive_cmds_need_lc_CXX=no
15483       hardcode_shlibpath_var_CXX=no
15484       runpath_var='LD_RUN_PATH'
15485
15486       case $cc_basename in
15487         CC*)
15488           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15489           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15490           ;;
15491         *)
15492           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15493           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15494           ;;
15495       esac
15496       ;;
15497
15498       sysv5* | sco3.2v5* | sco5v6*)
15499         # Note: We can NOT use -z defs as we might desire, because we do not
15500         # link with -lc, and that would cause any symbols used from libc to
15501         # always be unresolved, which means just about no library would
15502         # ever link correctly.  If we're not using GNU ld we use -z text
15503         # though, which does catch some bad symbols but isn't as heavy-handed
15504         # as -z defs.
15505         no_undefined_flag_CXX='${wl}-z,text'
15506         allow_undefined_flag_CXX='${wl}-z,nodefs'
15507         archive_cmds_need_lc_CXX=no
15508         hardcode_shlibpath_var_CXX=no
15509         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
15510         hardcode_libdir_separator_CXX=':'
15511         link_all_deplibs_CXX=yes
15512         export_dynamic_flag_spec_CXX='${wl}-Bexport'
15513         runpath_var='LD_RUN_PATH'
15514
15515         case $cc_basename in
15516           CC*)
15517             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15518             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15519             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15520               '"$old_archive_cmds_CXX"
15521             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15522               '"$reload_cmds_CXX"
15523             ;;
15524           *)
15525             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15526             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15527             ;;
15528         esac
15529       ;;
15530
15531       tandem*)
15532         case $cc_basename in
15533           NCC*)
15534             # NonStop-UX NCC 3.20
15535             # FIXME: insert proper C++ library support
15536             ld_shlibs_CXX=no
15537             ;;
15538           *)
15539             # FIXME: insert proper C++ library support
15540             ld_shlibs_CXX=no
15541             ;;
15542         esac
15543         ;;
15544
15545       vxworks*)
15546         # FIXME: insert proper C++ library support
15547         ld_shlibs_CXX=no
15548         ;;
15549
15550       *)
15551         # FIXME: insert proper C++ library support
15552         ld_shlibs_CXX=no
15553         ;;
15554     esac
15555
15556     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15557 $as_echo "$ld_shlibs_CXX" >&6; }
15558     test "$ld_shlibs_CXX" = no && can_build_shared=no
15559
15560     GCC_CXX="$GXX"
15561     LD_CXX="$LD"
15562
15563     ## CAVEAT EMPTOR:
15564     ## There is no encapsulation within the following macros, do not change
15565     ## the running order or otherwise move them around unless you know exactly
15566     ## what you are doing...
15567     # Dependencies to place before and after the object being linked:
15568 predep_objects_CXX=
15569 postdep_objects_CXX=
15570 predeps_CXX=
15571 postdeps_CXX=
15572 compiler_lib_search_path_CXX=
15573
15574 cat > conftest.$ac_ext <<_LT_EOF
15575 class Foo
15576 {
15577 public:
15578   Foo (void) { a = 0; }
15579 private:
15580   int a;
15581 };
15582 _LT_EOF
15583
15584
15585 _lt_libdeps_save_CFLAGS=$CFLAGS
15586 case "$CC $CFLAGS " in #(
15587 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15588 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15589 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15590 esac
15591
15592 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15593   (eval $ac_compile) 2>&5
15594   ac_status=$?
15595   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15596   test $ac_status = 0; }; then
15597   # Parse the compiler output and extract the necessary
15598   # objects, libraries and library flags.
15599
15600   # Sentinel used to keep track of whether or not we are before
15601   # the conftest object file.
15602   pre_test_object_deps_done=no
15603
15604   for p in `eval "$output_verbose_link_cmd"`; do
15605     case ${prev}${p} in
15606
15607     -L* | -R* | -l*)
15608        # Some compilers place space between "-{L,R}" and the path.
15609        # Remove the space.
15610        if test $p = "-L" ||
15611           test $p = "-R"; then
15612          prev=$p
15613          continue
15614        fi
15615
15616        # Expand the sysroot to ease extracting the directories later.
15617        if test -z "$prev"; then
15618          case $p in
15619          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15620          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15621          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15622          esac
15623        fi
15624        case $p in
15625        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15626        esac
15627        if test "$pre_test_object_deps_done" = no; then
15628          case ${prev} in
15629          -L | -R)
15630            # Internal compiler library paths should come after those
15631            # provided the user.  The postdeps already come after the
15632            # user supplied libs so there is no need to process them.
15633            if test -z "$compiler_lib_search_path_CXX"; then
15634              compiler_lib_search_path_CXX="${prev}${p}"
15635            else
15636              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15637            fi
15638            ;;
15639          # The "-l" case would never come before the object being
15640          # linked, so don't bother handling this case.
15641          esac
15642        else
15643          if test -z "$postdeps_CXX"; then
15644            postdeps_CXX="${prev}${p}"
15645          else
15646            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15647          fi
15648        fi
15649        prev=
15650        ;;
15651
15652     *.lto.$objext) ;; # Ignore GCC LTO objects
15653     *.$objext)
15654        # This assumes that the test object file only shows up
15655        # once in the compiler output.
15656        if test "$p" = "conftest.$objext"; then
15657          pre_test_object_deps_done=yes
15658          continue
15659        fi
15660
15661        if test "$pre_test_object_deps_done" = no; then
15662          if test -z "$predep_objects_CXX"; then
15663            predep_objects_CXX="$p"
15664          else
15665            predep_objects_CXX="$predep_objects_CXX $p"
15666          fi
15667        else
15668          if test -z "$postdep_objects_CXX"; then
15669            postdep_objects_CXX="$p"
15670          else
15671            postdep_objects_CXX="$postdep_objects_CXX $p"
15672          fi
15673        fi
15674        ;;
15675
15676     *) ;; # Ignore the rest.
15677
15678     esac
15679   done
15680
15681   # Clean up.
15682   rm -f a.out a.exe
15683 else
15684   echo "libtool.m4: error: problem compiling CXX test program"
15685 fi
15686
15687 $RM -f confest.$objext
15688 CFLAGS=$_lt_libdeps_save_CFLAGS
15689
15690 # PORTME: override above test on systems where it is broken
15691 case $host_os in
15692 interix[3-9]*)
15693   # Interix 3.5 installs completely hosed .la files for C++, so rather than
15694   # hack all around it, let's just trust "g++" to DTRT.
15695   predep_objects_CXX=
15696   postdep_objects_CXX=
15697   postdeps_CXX=
15698   ;;
15699
15700 linux*)
15701   case `$CC -V 2>&1 | sed 5q` in
15702   *Sun\ C*)
15703     # Sun C++ 5.9
15704
15705     # The more standards-conforming stlport4 library is
15706     # incompatible with the Cstd library. Avoid specifying
15707     # it if it's in CXXFLAGS. Ignore libCrun as
15708     # -library=stlport4 depends on it.
15709     case " $CXX $CXXFLAGS " in
15710     *" -library=stlport4 "*)
15711       solaris_use_stlport4=yes
15712       ;;
15713     esac
15714
15715     if test "$solaris_use_stlport4" != yes; then
15716       postdeps_CXX='-library=Cstd -library=Crun'
15717     fi
15718     ;;
15719   esac
15720   ;;
15721
15722 solaris*)
15723   case $cc_basename in
15724   CC* | sunCC*)
15725     # The more standards-conforming stlport4 library is
15726     # incompatible with the Cstd library. Avoid specifying
15727     # it if it's in CXXFLAGS. Ignore libCrun as
15728     # -library=stlport4 depends on it.
15729     case " $CXX $CXXFLAGS " in
15730     *" -library=stlport4 "*)
15731       solaris_use_stlport4=yes
15732       ;;
15733     esac
15734
15735     # Adding this requires a known-good setup of shared libraries for
15736     # Sun compiler versions before 5.6, else PIC objects from an old
15737     # archive will be linked into the output, leading to subtle bugs.
15738     if test "$solaris_use_stlport4" != yes; then
15739       postdeps_CXX='-library=Cstd -library=Crun'
15740     fi
15741     ;;
15742   esac
15743   ;;
15744 esac
15745
15746
15747 case " $postdeps_CXX " in
15748 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15749 esac
15750  compiler_lib_search_dirs_CXX=
15751 if test -n "${compiler_lib_search_path_CXX}"; then
15752  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15753 fi
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785     lt_prog_compiler_wl_CXX=
15786 lt_prog_compiler_pic_CXX=
15787 lt_prog_compiler_static_CXX=
15788
15789
15790   # C++ specific cases for pic, static, wl, etc.
15791   if test "$GXX" = yes; then
15792     lt_prog_compiler_wl_CXX='-Wl,'
15793     lt_prog_compiler_static_CXX='-static'
15794
15795     case $host_os in
15796     aix*)
15797       # All AIX code is PIC.
15798       if test "$host_cpu" = ia64; then
15799         # AIX 5 now supports IA64 processor
15800         lt_prog_compiler_static_CXX='-Bstatic'
15801       fi
15802       ;;
15803
15804     amigaos*)
15805       case $host_cpu in
15806       powerpc)
15807             # see comment about AmigaOS4 .so support
15808             lt_prog_compiler_pic_CXX='-fPIC'
15809         ;;
15810       m68k)
15811             # FIXME: we need at least 68020 code to build shared libraries, but
15812             # adding the `-m68020' flag to GCC prevents building anything better,
15813             # like `-m68040'.
15814             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15815         ;;
15816       esac
15817       ;;
15818
15819     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15820       # PIC is the default for these OSes.
15821       ;;
15822     mingw* | cygwin* | os2* | pw32* | cegcc*)
15823       # This hack is so that the source file can tell whether it is being
15824       # built for inclusion in a dll (and should export symbols for example).
15825       # Although the cygwin gcc ignores -fPIC, still need this for old-style
15826       # (--disable-auto-import) libraries
15827       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15828       ;;
15829     darwin* | rhapsody*)
15830       # PIC is the default on this platform
15831       # Common symbols not allowed in MH_DYLIB files
15832       lt_prog_compiler_pic_CXX='-fno-common'
15833       ;;
15834     *djgpp*)
15835       # DJGPP does not support shared libraries at all
15836       lt_prog_compiler_pic_CXX=
15837       ;;
15838     haiku*)
15839       # PIC is the default for Haiku.
15840       # The "-static" flag exists, but is broken.
15841       lt_prog_compiler_static_CXX=
15842       ;;
15843     interix[3-9]*)
15844       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15845       # Instead, we relocate shared libraries at runtime.
15846       ;;
15847     sysv4*MP*)
15848       if test -d /usr/nec; then
15849         lt_prog_compiler_pic_CXX=-Kconform_pic
15850       fi
15851       ;;
15852     hpux*)
15853       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15854       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
15855       # sets the default TLS model and affects inlining.
15856       case $host_cpu in
15857       hppa*64*)
15858         ;;
15859       *)
15860         lt_prog_compiler_pic_CXX='-fPIC'
15861         ;;
15862       esac
15863       ;;
15864     *qnx* | *nto*)
15865       # QNX uses GNU C++, but need to define -shared option too, otherwise
15866       # it will coredump.
15867       lt_prog_compiler_pic_CXX='-fPIC -shared'
15868       ;;
15869     *)
15870       lt_prog_compiler_pic_CXX='-fPIC'
15871       ;;
15872     esac
15873   else
15874     case $host_os in
15875       aix[4-9]*)
15876         # All AIX code is PIC.
15877         if test "$host_cpu" = ia64; then
15878           # AIX 5 now supports IA64 processor
15879           lt_prog_compiler_static_CXX='-Bstatic'
15880         else
15881           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15882         fi
15883         ;;
15884       chorus*)
15885         case $cc_basename in
15886         cxch68*)
15887           # Green Hills C++ Compiler
15888           # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
15889           ;;
15890         esac
15891         ;;
15892       mingw* | cygwin* | os2* | pw32* | cegcc*)
15893         # This hack is so that the source file can tell whether it is being
15894         # built for inclusion in a dll (and should export symbols for example).
15895         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15896         ;;
15897       dgux*)
15898         case $cc_basename in
15899           ec++*)
15900             lt_prog_compiler_pic_CXX='-KPIC'
15901             ;;
15902           ghcx*)
15903             # Green Hills C++ Compiler
15904             lt_prog_compiler_pic_CXX='-pic'
15905             ;;
15906           *)
15907             ;;
15908         esac
15909         ;;
15910       freebsd* | dragonfly*)
15911         # FreeBSD uses GNU C++
15912         ;;
15913       hpux9* | hpux10* | hpux11*)
15914         case $cc_basename in
15915           CC*)
15916             lt_prog_compiler_wl_CXX='-Wl,'
15917             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15918             if test "$host_cpu" != ia64; then
15919               lt_prog_compiler_pic_CXX='+Z'
15920             fi
15921             ;;
15922           aCC*)
15923             lt_prog_compiler_wl_CXX='-Wl,'
15924             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15925             case $host_cpu in
15926             hppa*64*|ia64*)
15927               # +Z the default
15928               ;;
15929             *)
15930               lt_prog_compiler_pic_CXX='+Z'
15931               ;;
15932             esac
15933             ;;
15934           *)
15935             ;;
15936         esac
15937         ;;
15938       interix*)
15939         # This is c89, which is MS Visual C++ (no shared libs)
15940         # Anyone wants to do a port?
15941         ;;
15942       irix5* | irix6* | nonstopux*)
15943         case $cc_basename in
15944           CC*)
15945             lt_prog_compiler_wl_CXX='-Wl,'
15946             lt_prog_compiler_static_CXX='-non_shared'
15947             # CC pic flag -KPIC is the default.
15948             ;;
15949           *)
15950             ;;
15951         esac
15952         ;;
15953       linux* | k*bsd*-gnu | kopensolaris*-gnu)
15954         case $cc_basename in
15955           KCC*)
15956             # KAI C++ Compiler
15957             lt_prog_compiler_wl_CXX='--backend -Wl,'
15958             lt_prog_compiler_pic_CXX='-fPIC'
15959             ;;
15960           ecpc* )
15961             # old Intel C++ for x86_64 which still supported -KPIC.
15962             lt_prog_compiler_wl_CXX='-Wl,'
15963             lt_prog_compiler_pic_CXX='-KPIC'
15964             lt_prog_compiler_static_CXX='-static'
15965             ;;
15966           icpc* )
15967             # Intel C++, used to be incompatible with GCC.
15968             # ICC 10 doesn't accept -KPIC any more.
15969             lt_prog_compiler_wl_CXX='-Wl,'
15970             lt_prog_compiler_pic_CXX='-fPIC'
15971             lt_prog_compiler_static_CXX='-static'
15972             ;;
15973           pgCC* | pgcpp*)
15974             # Portland Group C++ compiler
15975             lt_prog_compiler_wl_CXX='-Wl,'
15976             lt_prog_compiler_pic_CXX='-fpic'
15977             lt_prog_compiler_static_CXX='-Bstatic'
15978             ;;
15979           cxx*)
15980             # Compaq C++
15981             # Make sure the PIC flag is empty.  It appears that all Alpha
15982             # Linux and Compaq Tru64 Unix objects are PIC.
15983             lt_prog_compiler_pic_CXX=
15984             lt_prog_compiler_static_CXX='-non_shared'
15985             ;;
15986           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15987             # IBM XL 8.0, 9.0 on PPC and BlueGene
15988             lt_prog_compiler_wl_CXX='-Wl,'
15989             lt_prog_compiler_pic_CXX='-qpic'
15990             lt_prog_compiler_static_CXX='-qstaticlink'
15991             ;;
15992           *)
15993             case `$CC -V 2>&1 | sed 5q` in
15994             *Sun\ C*)
15995               # Sun C++ 5.9
15996               lt_prog_compiler_pic_CXX='-KPIC'
15997               lt_prog_compiler_static_CXX='-Bstatic'
15998               lt_prog_compiler_wl_CXX='-Qoption ld '
15999               ;;
16000             esac
16001             ;;
16002         esac
16003         ;;
16004       lynxos*)
16005         ;;
16006       m88k*)
16007         ;;
16008       mvs*)
16009         case $cc_basename in
16010           cxx*)
16011             lt_prog_compiler_pic_CXX='-W c,exportall'
16012             ;;
16013           *)
16014             ;;
16015         esac
16016         ;;
16017       netbsd*)
16018         ;;
16019       *qnx* | *nto*)
16020         # QNX uses GNU C++, but need to define -shared option too, otherwise
16021         # it will coredump.
16022         lt_prog_compiler_pic_CXX='-fPIC -shared'
16023         ;;
16024       osf3* | osf4* | osf5*)
16025         case $cc_basename in
16026           KCC*)
16027             lt_prog_compiler_wl_CXX='--backend -Wl,'
16028             ;;
16029           RCC*)
16030             # Rational C++ 2.4.1
16031             lt_prog_compiler_pic_CXX='-pic'
16032             ;;
16033           cxx*)
16034             # Digital/Compaq C++
16035             lt_prog_compiler_wl_CXX='-Wl,'
16036             # Make sure the PIC flag is empty.  It appears that all Alpha
16037             # Linux and Compaq Tru64 Unix objects are PIC.
16038             lt_prog_compiler_pic_CXX=
16039             lt_prog_compiler_static_CXX='-non_shared'
16040             ;;
16041           *)
16042             ;;
16043         esac
16044         ;;
16045       psos*)
16046         ;;
16047       solaris*)
16048         case $cc_basename in
16049           CC* | sunCC*)
16050             # Sun C++ 4.2, 5.x and Centerline C++
16051             lt_prog_compiler_pic_CXX='-KPIC'
16052             lt_prog_compiler_static_CXX='-Bstatic'
16053             lt_prog_compiler_wl_CXX='-Qoption ld '
16054             ;;
16055           gcx*)
16056             # Green Hills C++ Compiler
16057             lt_prog_compiler_pic_CXX='-PIC'
16058             ;;
16059           *)
16060             ;;
16061         esac
16062         ;;
16063       sunos4*)
16064         case $cc_basename in
16065           CC*)
16066             # Sun C++ 4.x
16067             lt_prog_compiler_pic_CXX='-pic'
16068             lt_prog_compiler_static_CXX='-Bstatic'
16069             ;;
16070           lcc*)
16071             # Lucid
16072             lt_prog_compiler_pic_CXX='-pic'
16073             ;;
16074           *)
16075             ;;
16076         esac
16077         ;;
16078       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16079         case $cc_basename in
16080           CC*)
16081             lt_prog_compiler_wl_CXX='-Wl,'
16082             lt_prog_compiler_pic_CXX='-KPIC'
16083             lt_prog_compiler_static_CXX='-Bstatic'
16084             ;;
16085         esac
16086         ;;
16087       tandem*)
16088         case $cc_basename in
16089           NCC*)
16090             # NonStop-UX NCC 3.20
16091             lt_prog_compiler_pic_CXX='-KPIC'
16092             ;;
16093           *)
16094             ;;
16095         esac
16096         ;;
16097       vxworks*)
16098         ;;
16099       *)
16100         lt_prog_compiler_can_build_shared_CXX=no
16101         ;;
16102     esac
16103   fi
16104
16105 case $host_os in
16106   # For platforms which do not support PIC, -DPIC is meaningless:
16107   *djgpp*)
16108     lt_prog_compiler_pic_CXX=
16109     ;;
16110   *)
16111     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16112     ;;
16113 esac
16114
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16116 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16117 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
16118   $as_echo_n "(cached) " >&6
16119 else
16120   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16121 fi
16122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16123 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16124 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16125
16126 #
16127 # Check to make sure the PIC flag actually works.
16128 #
16129 if test -n "$lt_prog_compiler_pic_CXX"; then
16130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16131 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16132 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
16133   $as_echo_n "(cached) " >&6
16134 else
16135   lt_cv_prog_compiler_pic_works_CXX=no
16136    ac_outfile=conftest.$ac_objext
16137    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16138    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16139    # Insert the option either (1) after the last *FLAGS variable, or
16140    # (2) before a word containing "conftest.", or (3) at the end.
16141    # Note that $ac_compile itself does not contain backslashes and begins
16142    # with a dollar sign (not a hyphen), so the echo should work correctly.
16143    # The option is referenced via a variable to avoid confusing sed.
16144    lt_compile=`echo "$ac_compile" | $SED \
16145    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16146    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16147    -e 's:$: $lt_compiler_flag:'`
16148    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16149    (eval "$lt_compile" 2>conftest.err)
16150    ac_status=$?
16151    cat conftest.err >&5
16152    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16153    if (exit $ac_status) && test -s "$ac_outfile"; then
16154      # The compiler can only warn and ignore the option if not recognized
16155      # So say no if there are warnings other than the usual output.
16156      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16157      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16158      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16159        lt_cv_prog_compiler_pic_works_CXX=yes
16160      fi
16161    fi
16162    $RM conftest*
16163
16164 fi
16165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16166 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16167
16168 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16169     case $lt_prog_compiler_pic_CXX in
16170      "" | " "*) ;;
16171      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16172      esac
16173 else
16174     lt_prog_compiler_pic_CXX=
16175      lt_prog_compiler_can_build_shared_CXX=no
16176 fi
16177
16178 fi
16179
16180
16181
16182
16183
16184 #
16185 # Check to make sure the static flag actually works.
16186 #
16187 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16189 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16190 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16191   $as_echo_n "(cached) " >&6
16192 else
16193   lt_cv_prog_compiler_static_works_CXX=no
16194    save_LDFLAGS="$LDFLAGS"
16195    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16196    echo "$lt_simple_link_test_code" > conftest.$ac_ext
16197    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16198      # The linker can only warn and ignore the option if not recognized
16199      # So say no if there are warnings
16200      if test -s conftest.err; then
16201        # Append any errors to the config.log.
16202        cat conftest.err 1>&5
16203        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16204        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16205        if diff conftest.exp conftest.er2 >/dev/null; then
16206          lt_cv_prog_compiler_static_works_CXX=yes
16207        fi
16208      else
16209        lt_cv_prog_compiler_static_works_CXX=yes
16210      fi
16211    fi
16212    $RM -r conftest*
16213    LDFLAGS="$save_LDFLAGS"
16214
16215 fi
16216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16217 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16218
16219 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16220     :
16221 else
16222     lt_prog_compiler_static_CXX=
16223 fi
16224
16225
16226
16227
16228     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16229 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16230 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16231   $as_echo_n "(cached) " >&6
16232 else
16233   lt_cv_prog_compiler_c_o_CXX=no
16234    $RM -r conftest 2>/dev/null
16235    mkdir conftest
16236    cd conftest
16237    mkdir out
16238    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16239
16240    lt_compiler_flag="-o out/conftest2.$ac_objext"
16241    # Insert the option either (1) after the last *FLAGS variable, or
16242    # (2) before a word containing "conftest.", or (3) at the end.
16243    # Note that $ac_compile itself does not contain backslashes and begins
16244    # with a dollar sign (not a hyphen), so the echo should work correctly.
16245    lt_compile=`echo "$ac_compile" | $SED \
16246    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16247    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16248    -e 's:$: $lt_compiler_flag:'`
16249    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16250    (eval "$lt_compile" 2>out/conftest.err)
16251    ac_status=$?
16252    cat out/conftest.err >&5
16253    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254    if (exit $ac_status) && test -s out/conftest2.$ac_objext
16255    then
16256      # The compiler can only warn and ignore the option if not recognized
16257      # So say no if there are warnings
16258      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16259      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16260      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16261        lt_cv_prog_compiler_c_o_CXX=yes
16262      fi
16263    fi
16264    chmod u+w . 2>&5
16265    $RM conftest*
16266    # SGI C++ compiler will create directory out/ii_files/ for
16267    # template instantiation
16268    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16269    $RM out/* && rmdir out
16270    cd ..
16271    $RM -r conftest
16272    $RM conftest*
16273
16274 fi
16275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16276 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16277
16278
16279
16280     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16281 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16282 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16283   $as_echo_n "(cached) " >&6
16284 else
16285   lt_cv_prog_compiler_c_o_CXX=no
16286    $RM -r conftest 2>/dev/null
16287    mkdir conftest
16288    cd conftest
16289    mkdir out
16290    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16291
16292    lt_compiler_flag="-o out/conftest2.$ac_objext"
16293    # Insert the option either (1) after the last *FLAGS variable, or
16294    # (2) before a word containing "conftest.", or (3) at the end.
16295    # Note that $ac_compile itself does not contain backslashes and begins
16296    # with a dollar sign (not a hyphen), so the echo should work correctly.
16297    lt_compile=`echo "$ac_compile" | $SED \
16298    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16299    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16300    -e 's:$: $lt_compiler_flag:'`
16301    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16302    (eval "$lt_compile" 2>out/conftest.err)
16303    ac_status=$?
16304    cat out/conftest.err >&5
16305    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16306    if (exit $ac_status) && test -s out/conftest2.$ac_objext
16307    then
16308      # The compiler can only warn and ignore the option if not recognized
16309      # So say no if there are warnings
16310      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16311      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16312      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16313        lt_cv_prog_compiler_c_o_CXX=yes
16314      fi
16315    fi
16316    chmod u+w . 2>&5
16317    $RM conftest*
16318    # SGI C++ compiler will create directory out/ii_files/ for
16319    # template instantiation
16320    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16321    $RM out/* && rmdir out
16322    cd ..
16323    $RM -r conftest
16324    $RM conftest*
16325
16326 fi
16327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16328 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16329
16330
16331
16332
16333 hard_links="nottested"
16334 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16335   # do not overwrite the value of need_locks provided by the user
16336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16337 $as_echo_n "checking if we can lock with hard links... " >&6; }
16338   hard_links=yes
16339   $RM conftest*
16340   ln conftest.a conftest.b 2>/dev/null && hard_links=no
16341   touch conftest.a
16342   ln conftest.a conftest.b 2>&5 || hard_links=no
16343   ln conftest.a conftest.b 2>/dev/null && hard_links=no
16344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16345 $as_echo "$hard_links" >&6; }
16346   if test "$hard_links" = no; then
16347     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16348 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16349     need_locks=warn
16350   fi
16351 else
16352   need_locks=no
16353 fi
16354
16355
16356
16357     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16358 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16359
16360   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16361   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16362   case $host_os in
16363   aix[4-9]*)
16364     # If we're using GNU nm, then we don't want the "-C" option.
16365     # -C means demangle to AIX nm, but means don't demangle with GNU nm
16366     # Also, AIX nm treats weak defined symbols like other global defined
16367     # symbols, whereas GNU nm marks them as "W".
16368     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16369       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
16370     else
16371       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
16372     fi
16373     ;;
16374   pw32*)
16375     export_symbols_cmds_CXX="$ltdll_cmds"
16376     ;;
16377   cygwin* | mingw* | cegcc*)
16378     case $cc_basename in
16379     cl*)
16380       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
16381       ;;
16382     *)
16383       export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
16384       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16385       ;;
16386     esac
16387     ;;
16388   *)
16389     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16390     ;;
16391   esac
16392
16393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16394 $as_echo "$ld_shlibs_CXX" >&6; }
16395 test "$ld_shlibs_CXX" = no && can_build_shared=no
16396
16397 with_gnu_ld_CXX=$with_gnu_ld
16398
16399
16400
16401
16402
16403
16404 #
16405 # Do we need to explicitly link libc?
16406 #
16407 case "x$archive_cmds_need_lc_CXX" in
16408 x|xyes)
16409   # Assume -lc should be added
16410   archive_cmds_need_lc_CXX=yes
16411
16412   if test "$enable_shared" = yes && test "$GCC" = yes; then
16413     case $archive_cmds_CXX in
16414     *'~'*)
16415       # FIXME: we may have to deal with multi-command sequences.
16416       ;;
16417     '$CC '*)
16418       # Test whether the compiler implicitly links with -lc since on some
16419       # systems, -lgcc has to come before -lc. If gcc already passes -lc
16420       # to ld, don't add -lc before -lgcc.
16421       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16422 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16423 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16424   $as_echo_n "(cached) " >&6
16425 else
16426   $RM conftest*
16427         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16428
16429         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16430   (eval $ac_compile) 2>&5
16431   ac_status=$?
16432   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16433   test $ac_status = 0; } 2>conftest.err; then
16434           soname=conftest
16435           lib=conftest
16436           libobjs=conftest.$ac_objext
16437           deplibs=
16438           wl=$lt_prog_compiler_wl_CXX
16439           pic_flag=$lt_prog_compiler_pic_CXX
16440           compiler_flags=-v
16441           linker_flags=-v
16442           verstring=
16443           output_objdir=.
16444           libname=conftest
16445           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16446           allow_undefined_flag_CXX=
16447           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16448   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16449   ac_status=$?
16450   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16451   test $ac_status = 0; }
16452           then
16453             lt_cv_archive_cmds_need_lc_CXX=no
16454           else
16455             lt_cv_archive_cmds_need_lc_CXX=yes
16456           fi
16457           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16458         else
16459           cat conftest.err 1>&5
16460         fi
16461         $RM conftest*
16462
16463 fi
16464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16465 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16466       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16467       ;;
16468     esac
16469   fi
16470   ;;
16471 esac
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16535 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16536
16537 library_names_spec=
16538 libname_spec='lib$name'
16539 soname_spec=
16540 shrext_cmds=".so"
16541 postinstall_cmds=
16542 postuninstall_cmds=
16543 finish_cmds=
16544 finish_eval=
16545 shlibpath_var=
16546 shlibpath_overrides_runpath=unknown
16547 version_type=none
16548 dynamic_linker="$host_os ld.so"
16549 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16550 need_lib_prefix=unknown
16551 hardcode_into_libs=no
16552
16553 # when you set need_version to no, make sure it does not cause -set_version
16554 # flags to be left without arguments
16555 need_version=unknown
16556
16557 case $host_os in
16558 aix3*)
16559   version_type=linux # correct to gnu/linux during the next big refactor
16560   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16561   shlibpath_var=LIBPATH
16562
16563   # AIX 3 has no versioning support, so we append a major version to the name.
16564   soname_spec='${libname}${release}${shared_ext}$major'
16565   ;;
16566
16567 aix[4-9]*)
16568   version_type=linux # correct to gnu/linux during the next big refactor
16569   need_lib_prefix=no
16570   need_version=no
16571   hardcode_into_libs=yes
16572   if test "$host_cpu" = ia64; then
16573     # AIX 5 supports IA64
16574     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16575     shlibpath_var=LD_LIBRARY_PATH
16576   else
16577     # With GCC up to 2.95.x, collect2 would create an import file
16578     # for dependence libraries.  The import file would start with
16579     # the line `#! .'.  This would cause the generated library to
16580     # depend on `.', always an invalid library.  This was fixed in
16581     # development snapshots of GCC prior to 3.0.
16582     case $host_os in
16583       aix4 | aix4.[01] | aix4.[01].*)
16584       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16585            echo ' yes '
16586            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
16587         :
16588       else
16589         can_build_shared=no
16590       fi
16591       ;;
16592     esac
16593     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16594     # soname into executable. Probably we can add versioning support to
16595     # collect2, so additional links can be useful in future.
16596     if test "$aix_use_runtimelinking" = yes; then
16597       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16598       # instead of lib<name>.a to let people know that these are not
16599       # typical AIX shared libraries.
16600       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16601     else
16602       # We preserve .a as extension for shared libraries through AIX4.2
16603       # and later when we are not doing run time linking.
16604       library_names_spec='${libname}${release}.a $libname.a'
16605       soname_spec='${libname}${release}${shared_ext}$major'
16606     fi
16607     shlibpath_var=LIBPATH
16608   fi
16609   ;;
16610
16611 amigaos*)
16612   case $host_cpu in
16613   powerpc)
16614     # Since July 2007 AmigaOS4 officially supports .so libraries.
16615     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16616     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16617     ;;
16618   m68k)
16619     library_names_spec='$libname.ixlibrary $libname.a'
16620     # Create ${libname}_ixlibrary.a entries in /sys/libs.
16621     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
16622     ;;
16623   esac
16624   ;;
16625
16626 beos*)
16627   library_names_spec='${libname}${shared_ext}'
16628   dynamic_linker="$host_os ld.so"
16629   shlibpath_var=LIBRARY_PATH
16630   ;;
16631
16632 bsdi[45]*)
16633   version_type=linux # correct to gnu/linux during the next big refactor
16634   need_version=no
16635   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16636   soname_spec='${libname}${release}${shared_ext}$major'
16637   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16638   shlibpath_var=LD_LIBRARY_PATH
16639   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16640   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16641   # the default ld.so.conf also contains /usr/contrib/lib and
16642   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16643   # libtool to hard-code these into programs
16644   ;;
16645
16646 cygwin* | mingw* | pw32* | cegcc*)
16647   version_type=windows
16648   shrext_cmds=".dll"
16649   need_version=no
16650   need_lib_prefix=no
16651
16652   case $GCC,$cc_basename in
16653   yes,*)
16654     # gcc
16655     library_names_spec='$libname.dll.a'
16656     # DLL is installed to $(libdir)/../bin by postinstall_cmds
16657     postinstall_cmds='base_file=`basename \${file}`~
16658       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16659       dldir=$destdir/`dirname \$dlpath`~
16660       test -d \$dldir || mkdir -p \$dldir~
16661       $install_prog $dir/$dlname \$dldir/$dlname~
16662       chmod a+x \$dldir/$dlname~
16663       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16664         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16665       fi'
16666     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16667       dlpath=$dir/\$dldll~
16668        $RM \$dlpath'
16669     shlibpath_overrides_runpath=yes
16670
16671     case $host_os in
16672     cygwin*)
16673       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16674       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16675
16676       ;;
16677     mingw* | cegcc*)
16678       # MinGW DLLs use traditional 'lib' prefix
16679       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16680       ;;
16681     pw32*)
16682       # pw32 DLLs use 'pw' prefix rather than 'lib'
16683       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16684       ;;
16685     esac
16686     dynamic_linker='Win32 ld.exe'
16687     ;;
16688
16689   *,cl*)
16690     # Native MSVC
16691     libname_spec='$name'
16692     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16693     library_names_spec='${libname}.dll.lib'
16694
16695     case $build_os in
16696     mingw*)
16697       sys_lib_search_path_spec=
16698       lt_save_ifs=$IFS
16699       IFS=';'
16700       for lt_path in $LIB
16701       do
16702         IFS=$lt_save_ifs
16703         # Let DOS variable expansion print the short 8.3 style file name.
16704         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16705         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16706       done
16707       IFS=$lt_save_ifs
16708       # Convert to MSYS style.
16709       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16710       ;;
16711     cygwin*)
16712       # Convert to unix form, then to dos form, then back to unix form
16713       # but this time dos style (no spaces!) so that the unix form looks
16714       # like /cygdrive/c/PROGRA~1:/cygdr...
16715       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16716       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16717       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16718       ;;
16719     *)
16720       sys_lib_search_path_spec="$LIB"
16721       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16722         # It is most probably a Windows format PATH.
16723         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16724       else
16725         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16726       fi
16727       # FIXME: find the short name or the path components, as spaces are
16728       # common. (e.g. "Program Files" -> "PROGRA~1")
16729       ;;
16730     esac
16731
16732     # DLL is installed to $(libdir)/../bin by postinstall_cmds
16733     postinstall_cmds='base_file=`basename \${file}`~
16734       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16735       dldir=$destdir/`dirname \$dlpath`~
16736       test -d \$dldir || mkdir -p \$dldir~
16737       $install_prog $dir/$dlname \$dldir/$dlname'
16738     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16739       dlpath=$dir/\$dldll~
16740        $RM \$dlpath'
16741     shlibpath_overrides_runpath=yes
16742     dynamic_linker='Win32 link.exe'
16743     ;;
16744
16745   *)
16746     # Assume MSVC wrapper
16747     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16748     dynamic_linker='Win32 ld.exe'
16749     ;;
16750   esac
16751   # FIXME: first we should search . and the directory the executable is in
16752   shlibpath_var=PATH
16753   ;;
16754
16755 darwin* | rhapsody*)
16756   dynamic_linker="$host_os dyld"
16757   version_type=darwin
16758   need_lib_prefix=no
16759   need_version=no
16760   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16761   soname_spec='${libname}${release}${major}$shared_ext'
16762   shlibpath_overrides_runpath=yes
16763   shlibpath_var=DYLD_LIBRARY_PATH
16764   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16765
16766   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16767   ;;
16768
16769 dgux*)
16770   version_type=linux # correct to gnu/linux during the next big refactor
16771   need_lib_prefix=no
16772   need_version=no
16773   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16774   soname_spec='${libname}${release}${shared_ext}$major'
16775   shlibpath_var=LD_LIBRARY_PATH
16776   ;;
16777
16778 freebsd* | dragonfly*)
16779   # DragonFly does not have aout.  When/if they implement a new
16780   # versioning mechanism, adjust this.
16781   if test -x /usr/bin/objformat; then
16782     objformat=`/usr/bin/objformat`
16783   else
16784     case $host_os in
16785     freebsd[23].*) objformat=aout ;;
16786     *) objformat=elf ;;
16787     esac
16788   fi
16789   version_type=freebsd-$objformat
16790   case $version_type in
16791     freebsd-elf*)
16792       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16793       need_version=no
16794       need_lib_prefix=no
16795       ;;
16796     freebsd-*)
16797       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16798       need_version=yes
16799       ;;
16800   esac
16801   shlibpath_var=LD_LIBRARY_PATH
16802   case $host_os in
16803   freebsd2.*)
16804     shlibpath_overrides_runpath=yes
16805     ;;
16806   freebsd3.[01]* | freebsdelf3.[01]*)
16807     shlibpath_overrides_runpath=yes
16808     hardcode_into_libs=yes
16809     ;;
16810   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16811   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16812     shlibpath_overrides_runpath=no
16813     hardcode_into_libs=yes
16814     ;;
16815   *) # from 4.6 on, and DragonFly
16816     shlibpath_overrides_runpath=yes
16817     hardcode_into_libs=yes
16818     ;;
16819   esac
16820   ;;
16821
16822 gnu*)
16823   version_type=linux # correct to gnu/linux during the next big refactor
16824   need_lib_prefix=no
16825   need_version=no
16826   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16827   soname_spec='${libname}${release}${shared_ext}$major'
16828   shlibpath_var=LD_LIBRARY_PATH
16829   shlibpath_overrides_runpath=no
16830   hardcode_into_libs=yes
16831   ;;
16832
16833 haiku*)
16834   version_type=linux # correct to gnu/linux during the next big refactor
16835   need_lib_prefix=no
16836   need_version=no
16837   dynamic_linker="$host_os runtime_loader"
16838   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16839   soname_spec='${libname}${release}${shared_ext}$major'
16840   shlibpath_var=LIBRARY_PATH
16841   shlibpath_overrides_runpath=yes
16842   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16843   hardcode_into_libs=yes
16844   ;;
16845
16846 hpux9* | hpux10* | hpux11*)
16847   # Give a soname corresponding to the major version so that dld.sl refuses to
16848   # link against other versions.
16849   version_type=sunos
16850   need_lib_prefix=no
16851   need_version=no
16852   case $host_cpu in
16853   ia64*)
16854     shrext_cmds='.so'
16855     hardcode_into_libs=yes
16856     dynamic_linker="$host_os dld.so"
16857     shlibpath_var=LD_LIBRARY_PATH
16858     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16859     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16860     soname_spec='${libname}${release}${shared_ext}$major'
16861     if test "X$HPUX_IA64_MODE" = X32; then
16862       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16863     else
16864       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16865     fi
16866     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16867     ;;
16868   hppa*64*)
16869     shrext_cmds='.sl'
16870     hardcode_into_libs=yes
16871     dynamic_linker="$host_os dld.sl"
16872     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16873     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16874     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16875     soname_spec='${libname}${release}${shared_ext}$major'
16876     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16877     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16878     ;;
16879   *)
16880     shrext_cmds='.sl'
16881     dynamic_linker="$host_os dld.sl"
16882     shlibpath_var=SHLIB_PATH
16883     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16884     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16885     soname_spec='${libname}${release}${shared_ext}$major'
16886     ;;
16887   esac
16888   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16889   postinstall_cmds='chmod 555 $lib'
16890   # or fails outright, so override atomically:
16891   install_override_mode=555
16892   ;;
16893
16894 interix[3-9]*)
16895   version_type=linux # correct to gnu/linux during the next big refactor
16896   need_lib_prefix=no
16897   need_version=no
16898   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16899   soname_spec='${libname}${release}${shared_ext}$major'
16900   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16901   shlibpath_var=LD_LIBRARY_PATH
16902   shlibpath_overrides_runpath=no
16903   hardcode_into_libs=yes
16904   ;;
16905
16906 irix5* | irix6* | nonstopux*)
16907   case $host_os in
16908     nonstopux*) version_type=nonstopux ;;
16909     *)
16910         if test "$lt_cv_prog_gnu_ld" = yes; then
16911                 version_type=linux # correct to gnu/linux during the next big refactor
16912         else
16913                 version_type=irix
16914         fi ;;
16915   esac
16916   need_lib_prefix=no
16917   need_version=no
16918   soname_spec='${libname}${release}${shared_ext}$major'
16919   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16920   case $host_os in
16921   irix5* | nonstopux*)
16922     libsuff= shlibsuff=
16923     ;;
16924   *)
16925     case $LD in # libtool.m4 will add one of these switches to LD
16926     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16927       libsuff= shlibsuff= libmagic=32-bit;;
16928     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16929       libsuff=32 shlibsuff=N32 libmagic=N32;;
16930     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16931       libsuff=64 shlibsuff=64 libmagic=64-bit;;
16932     *) libsuff= shlibsuff= libmagic=never-match;;
16933     esac
16934     ;;
16935   esac
16936   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16937   shlibpath_overrides_runpath=no
16938   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16939   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16940   hardcode_into_libs=yes
16941   ;;
16942
16943 # No shared lib support for Linux oldld, aout, or coff.
16944 linux*oldld* | linux*aout* | linux*coff*)
16945   dynamic_linker=no
16946   ;;
16947
16948 # This must be glibc/ELF.
16949 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16950   version_type=linux # correct to gnu/linux during the next big refactor
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   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16956   shlibpath_var=LD_LIBRARY_PATH
16957   shlibpath_overrides_runpath=no
16958
16959   # Some binutils ld are patched to set DT_RUNPATH
16960   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16961   $as_echo_n "(cached) " >&6
16962 else
16963   lt_cv_shlibpath_overrides_runpath=no
16964     save_LDFLAGS=$LDFLAGS
16965     save_libdir=$libdir
16966     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16967          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16968     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16969 /* end confdefs.h.  */
16970
16971 int
16972 main ()
16973 {
16974
16975   ;
16976   return 0;
16977 }
16978 _ACEOF
16979 if ac_fn_cxx_try_link "$LINENO"; then :
16980   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16981   lt_cv_shlibpath_overrides_runpath=yes
16982 fi
16983 fi
16984 rm -f core conftest.err conftest.$ac_objext \
16985     conftest$ac_exeext conftest.$ac_ext
16986     LDFLAGS=$save_LDFLAGS
16987     libdir=$save_libdir
16988
16989 fi
16990
16991   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16992
16993   # This implies no fast_install, which is unacceptable.
16994   # Some rework will be needed to allow for fast_install
16995   # before this can be enabled.
16996   hardcode_into_libs=yes
16997
16998   # Add ABI-specific directories to the system library path.
16999   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
17000
17001   # Append ld.so.conf contents to the search path
17002   if test -f /etc/ld.so.conf; then
17003     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
17004     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
17005
17006   fi
17007
17008   # We used to test for /lib/ld.so.1 and disable shared libraries on
17009   # powerpc, because MkLinux only supported shared libraries with the
17010   # GNU dynamic linker.  Since this was broken with cross compilers,
17011   # most powerpc-linux boxes support dynamic linking these days and
17012   # people can always --disable-shared, the test was removed, and we
17013   # assume the GNU/Linux dynamic linker is in use.
17014   dynamic_linker='GNU/Linux ld.so'
17015   ;;
17016
17017 netbsd*)
17018   version_type=sunos
17019   need_lib_prefix=no
17020   need_version=no
17021   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17022     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17023     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17024     dynamic_linker='NetBSD (a.out) ld.so'
17025   else
17026     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17027     soname_spec='${libname}${release}${shared_ext}$major'
17028     dynamic_linker='NetBSD ld.elf_so'
17029   fi
17030   shlibpath_var=LD_LIBRARY_PATH
17031   shlibpath_overrides_runpath=yes
17032   hardcode_into_libs=yes
17033   ;;
17034
17035 newsos6)
17036   version_type=linux # correct to gnu/linux during the next big refactor
17037   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17038   shlibpath_var=LD_LIBRARY_PATH
17039   shlibpath_overrides_runpath=yes
17040   ;;
17041
17042 *nto* | *qnx*)
17043   version_type=qnx
17044   need_lib_prefix=no
17045   need_version=no
17046   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17047   soname_spec='${libname}${release}${shared_ext}$major'
17048   shlibpath_var=LD_LIBRARY_PATH
17049   shlibpath_overrides_runpath=no
17050   hardcode_into_libs=yes
17051   dynamic_linker='ldqnx.so'
17052   ;;
17053
17054 openbsd*)
17055   version_type=sunos
17056   sys_lib_dlsearch_path_spec="/usr/lib"
17057   need_lib_prefix=no
17058   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17059   case $host_os in
17060     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
17061     *)                          need_version=no  ;;
17062   esac
17063   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17064   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17065   shlibpath_var=LD_LIBRARY_PATH
17066   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17067     case $host_os in
17068       openbsd2.[89] | openbsd2.[89].*)
17069         shlibpath_overrides_runpath=no
17070         ;;
17071       *)
17072         shlibpath_overrides_runpath=yes
17073         ;;
17074       esac
17075   else
17076     shlibpath_overrides_runpath=yes
17077   fi
17078   ;;
17079
17080 os2*)
17081   libname_spec='$name'
17082   shrext_cmds=".dll"
17083   need_lib_prefix=no
17084   library_names_spec='$libname${shared_ext} $libname.a'
17085   dynamic_linker='OS/2 ld.exe'
17086   shlibpath_var=LIBPATH
17087   ;;
17088
17089 osf3* | osf4* | osf5*)
17090   version_type=osf
17091   need_lib_prefix=no
17092   need_version=no
17093   soname_spec='${libname}${release}${shared_ext}$major'
17094   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17095   shlibpath_var=LD_LIBRARY_PATH
17096   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17097   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17098   ;;
17099
17100 rdos*)
17101   dynamic_linker=no
17102   ;;
17103
17104 solaris*)
17105   version_type=linux # correct to gnu/linux during the next big refactor
17106   need_lib_prefix=no
17107   need_version=no
17108   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17109   soname_spec='${libname}${release}${shared_ext}$major'
17110   shlibpath_var=LD_LIBRARY_PATH
17111   shlibpath_overrides_runpath=yes
17112   hardcode_into_libs=yes
17113   # ldd complains unless libraries are executable
17114   postinstall_cmds='chmod +x $lib'
17115   ;;
17116
17117 sunos4*)
17118   version_type=sunos
17119   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17120   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17121   shlibpath_var=LD_LIBRARY_PATH
17122   shlibpath_overrides_runpath=yes
17123   if test "$with_gnu_ld" = yes; then
17124     need_lib_prefix=no
17125   fi
17126   need_version=yes
17127   ;;
17128
17129 sysv4 | sysv4.3*)
17130   version_type=linux # correct to gnu/linux during the next big refactor
17131   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17132   soname_spec='${libname}${release}${shared_ext}$major'
17133   shlibpath_var=LD_LIBRARY_PATH
17134   case $host_vendor in
17135     sni)
17136       shlibpath_overrides_runpath=no
17137       need_lib_prefix=no
17138       runpath_var=LD_RUN_PATH
17139       ;;
17140     siemens)
17141       need_lib_prefix=no
17142       ;;
17143     motorola)
17144       need_lib_prefix=no
17145       need_version=no
17146       shlibpath_overrides_runpath=no
17147       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17148       ;;
17149   esac
17150   ;;
17151
17152 sysv4*MP*)
17153   if test -d /usr/nec ;then
17154     version_type=linux # correct to gnu/linux during the next big refactor
17155     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17156     soname_spec='$libname${shared_ext}.$major'
17157     shlibpath_var=LD_LIBRARY_PATH
17158   fi
17159   ;;
17160
17161 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17162   version_type=freebsd-elf
17163   need_lib_prefix=no
17164   need_version=no
17165   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17166   soname_spec='${libname}${release}${shared_ext}$major'
17167   shlibpath_var=LD_LIBRARY_PATH
17168   shlibpath_overrides_runpath=yes
17169   hardcode_into_libs=yes
17170   if test "$with_gnu_ld" = yes; then
17171     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17172   else
17173     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17174     case $host_os in
17175       sco3.2v5*)
17176         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17177         ;;
17178     esac
17179   fi
17180   sys_lib_dlsearch_path_spec='/usr/lib'
17181   ;;
17182
17183 tpf*)
17184   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
17185   version_type=linux # correct to gnu/linux during the next big refactor
17186   need_lib_prefix=no
17187   need_version=no
17188   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17189   shlibpath_var=LD_LIBRARY_PATH
17190   shlibpath_overrides_runpath=no
17191   hardcode_into_libs=yes
17192   ;;
17193
17194 uts4*)
17195   version_type=linux # correct to gnu/linux during the next big refactor
17196   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17197   soname_spec='${libname}${release}${shared_ext}$major'
17198   shlibpath_var=LD_LIBRARY_PATH
17199   ;;
17200
17201 *)
17202   dynamic_linker=no
17203   ;;
17204 esac
17205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17206 $as_echo "$dynamic_linker" >&6; }
17207 test "$dynamic_linker" = no && can_build_shared=no
17208
17209 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17210 if test "$GCC" = yes; then
17211   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17212 fi
17213
17214 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17215   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17216 fi
17217 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17218   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17219 fi
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17259 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17260 hardcode_action_CXX=
17261 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17262    test -n "$runpath_var_CXX" ||
17263    test "X$hardcode_automatic_CXX" = "Xyes" ; then
17264
17265   # We can hardcode non-existent directories.
17266   if test "$hardcode_direct_CXX" != no &&
17267      # If the only mechanism to avoid hardcoding is shlibpath_var, we
17268      # have to relink, otherwise we might link with an installed library
17269      # when we should be linking with a yet-to-be-installed one
17270      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17271      test "$hardcode_minus_L_CXX" != no; then
17272     # Linking always hardcodes the temporary library directory.
17273     hardcode_action_CXX=relink
17274   else
17275     # We can link without hardcoding, and we can hardcode nonexisting dirs.
17276     hardcode_action_CXX=immediate
17277   fi
17278 else
17279   # We cannot hardcode anything, or else we can only hardcode existing
17280   # directories.
17281   hardcode_action_CXX=unsupported
17282 fi
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17284 $as_echo "$hardcode_action_CXX" >&6; }
17285
17286 if test "$hardcode_action_CXX" = relink ||
17287    test "$inherit_rpath_CXX" = yes; then
17288   # Fast installation is not supported
17289   enable_fast_install=no
17290 elif test "$shlibpath_overrides_runpath" = yes ||
17291      test "$enable_shared" = no; then
17292   # Fast installation is not necessary
17293   enable_fast_install=needless
17294 fi
17295
17296
17297
17298
17299
17300
17301
17302   fi # test -n "$compiler"
17303
17304   CC=$lt_save_CC
17305   CFLAGS=$lt_save_CFLAGS
17306   LDCXX=$LD
17307   LD=$lt_save_LD
17308   GCC=$lt_save_GCC
17309   with_gnu_ld=$lt_save_with_gnu_ld
17310   lt_cv_path_LDCXX=$lt_cv_path_LD
17311   lt_cv_path_LD=$lt_save_path_LD
17312   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17313   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17314 fi # test "$_lt_caught_CXX_error" != yes
17315
17316 ac_ext=c
17317 ac_cpp='$CPP $CPPFLAGS'
17318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17321
17322
17323 ac_ext=c
17324 ac_cpp='$CPP $CPPFLAGS'
17325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17328 if test -n "$ac_tool_prefix"; then
17329   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
17330 set dummy ${ac_tool_prefix}gcc; ac_word=$2
17331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17332 $as_echo_n "checking for $ac_word... " >&6; }
17333 if ${ac_cv_prog_CC+:} false; then :
17334   $as_echo_n "(cached) " >&6
17335 else
17336   if test -n "$CC"; then
17337   ac_cv_prog_CC="$CC" # Let the user override the test.
17338 else
17339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17340 for as_dir in $PATH
17341 do
17342   IFS=$as_save_IFS
17343   test -z "$as_dir" && as_dir=.
17344     for ac_exec_ext in '' $ac_executable_extensions; do
17345   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17346     ac_cv_prog_CC="${ac_tool_prefix}gcc"
17347     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17348     break 2
17349   fi
17350 done
17351   done
17352 IFS=$as_save_IFS
17353
17354 fi
17355 fi
17356 CC=$ac_cv_prog_CC
17357 if test -n "$CC"; then
17358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17359 $as_echo "$CC" >&6; }
17360 else
17361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17362 $as_echo "no" >&6; }
17363 fi
17364
17365
17366 fi
17367 if test -z "$ac_cv_prog_CC"; then
17368   ac_ct_CC=$CC
17369   # Extract the first word of "gcc", so it can be a program name with args.
17370 set dummy gcc; ac_word=$2
17371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17372 $as_echo_n "checking for $ac_word... " >&6; }
17373 if ${ac_cv_prog_ac_ct_CC+:} false; then :
17374   $as_echo_n "(cached) " >&6
17375 else
17376   if test -n "$ac_ct_CC"; then
17377   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
17378 else
17379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17380 for as_dir in $PATH
17381 do
17382   IFS=$as_save_IFS
17383   test -z "$as_dir" && as_dir=.
17384     for ac_exec_ext in '' $ac_executable_extensions; do
17385   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17386     ac_cv_prog_ac_ct_CC="gcc"
17387     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17388     break 2
17389   fi
17390 done
17391   done
17392 IFS=$as_save_IFS
17393
17394 fi
17395 fi
17396 ac_ct_CC=$ac_cv_prog_ac_ct_CC
17397 if test -n "$ac_ct_CC"; then
17398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
17399 $as_echo "$ac_ct_CC" >&6; }
17400 else
17401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17402 $as_echo "no" >&6; }
17403 fi
17404
17405   if test "x$ac_ct_CC" = x; then
17406     CC=""
17407   else
17408     case $cross_compiling:$ac_tool_warned in
17409 yes:)
17410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17411 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17412 ac_tool_warned=yes ;;
17413 esac
17414     CC=$ac_ct_CC
17415   fi
17416 else
17417   CC="$ac_cv_prog_CC"
17418 fi
17419
17420 if test -z "$CC"; then
17421           if test -n "$ac_tool_prefix"; then
17422     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
17423 set dummy ${ac_tool_prefix}cc; ac_word=$2
17424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17425 $as_echo_n "checking for $ac_word... " >&6; }
17426 if ${ac_cv_prog_CC+:} false; then :
17427   $as_echo_n "(cached) " >&6
17428 else
17429   if test -n "$CC"; then
17430   ac_cv_prog_CC="$CC" # Let the user override the test.
17431 else
17432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17433 for as_dir in $PATH
17434 do
17435   IFS=$as_save_IFS
17436   test -z "$as_dir" && as_dir=.
17437     for ac_exec_ext in '' $ac_executable_extensions; do
17438   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17439     ac_cv_prog_CC="${ac_tool_prefix}cc"
17440     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17441     break 2
17442   fi
17443 done
17444   done
17445 IFS=$as_save_IFS
17446
17447 fi
17448 fi
17449 CC=$ac_cv_prog_CC
17450 if test -n "$CC"; then
17451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17452 $as_echo "$CC" >&6; }
17453 else
17454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17455 $as_echo "no" >&6; }
17456 fi
17457
17458
17459   fi
17460 fi
17461 if test -z "$CC"; then
17462   # Extract the first word of "cc", so it can be a program name with args.
17463 set dummy cc; ac_word=$2
17464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17465 $as_echo_n "checking for $ac_word... " >&6; }
17466 if ${ac_cv_prog_CC+:} false; then :
17467   $as_echo_n "(cached) " >&6
17468 else
17469   if test -n "$CC"; then
17470   ac_cv_prog_CC="$CC" # Let the user override the test.
17471 else
17472   ac_prog_rejected=no
17473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17474 for as_dir in $PATH
17475 do
17476   IFS=$as_save_IFS
17477   test -z "$as_dir" && as_dir=.
17478     for ac_exec_ext in '' $ac_executable_extensions; do
17479   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17480     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
17481        ac_prog_rejected=yes
17482        continue
17483      fi
17484     ac_cv_prog_CC="cc"
17485     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17486     break 2
17487   fi
17488 done
17489   done
17490 IFS=$as_save_IFS
17491
17492 if test $ac_prog_rejected = yes; then
17493   # We found a bogon in the path, so make sure we never use it.
17494   set dummy $ac_cv_prog_CC
17495   shift
17496   if test $# != 0; then
17497     # We chose a different compiler from the bogus one.
17498     # However, it has the same basename, so the bogon will be chosen
17499     # first if we set CC to just the basename; use the full file name.
17500     shift
17501     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
17502   fi
17503 fi
17504 fi
17505 fi
17506 CC=$ac_cv_prog_CC
17507 if test -n "$CC"; then
17508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17509 $as_echo "$CC" >&6; }
17510 else
17511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17512 $as_echo "no" >&6; }
17513 fi
17514
17515
17516 fi
17517 if test -z "$CC"; then
17518   if test -n "$ac_tool_prefix"; then
17519   for ac_prog in cl.exe
17520   do
17521     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17522 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17524 $as_echo_n "checking for $ac_word... " >&6; }
17525 if ${ac_cv_prog_CC+:} false; then :
17526   $as_echo_n "(cached) " >&6
17527 else
17528   if test -n "$CC"; then
17529   ac_cv_prog_CC="$CC" # Let the user override the test.
17530 else
17531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17532 for as_dir in $PATH
17533 do
17534   IFS=$as_save_IFS
17535   test -z "$as_dir" && as_dir=.
17536     for ac_exec_ext in '' $ac_executable_extensions; do
17537   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17538     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
17539     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17540     break 2
17541   fi
17542 done
17543   done
17544 IFS=$as_save_IFS
17545
17546 fi
17547 fi
17548 CC=$ac_cv_prog_CC
17549 if test -n "$CC"; then
17550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17551 $as_echo "$CC" >&6; }
17552 else
17553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17554 $as_echo "no" >&6; }
17555 fi
17556
17557
17558     test -n "$CC" && break
17559   done
17560 fi
17561 if test -z "$CC"; then
17562   ac_ct_CC=$CC
17563   for ac_prog in cl.exe
17564 do
17565   # Extract the first word of "$ac_prog", so it can be a program name with args.
17566 set dummy $ac_prog; ac_word=$2
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17568 $as_echo_n "checking for $ac_word... " >&6; }
17569 if ${ac_cv_prog_ac_ct_CC+:} false; then :
17570   $as_echo_n "(cached) " >&6
17571 else
17572   if test -n "$ac_ct_CC"; then
17573   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
17574 else
17575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17576 for as_dir in $PATH
17577 do
17578   IFS=$as_save_IFS
17579   test -z "$as_dir" && as_dir=.
17580     for ac_exec_ext in '' $ac_executable_extensions; do
17581   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17582     ac_cv_prog_ac_ct_CC="$ac_prog"
17583     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17584     break 2
17585   fi
17586 done
17587   done
17588 IFS=$as_save_IFS
17589
17590 fi
17591 fi
17592 ac_ct_CC=$ac_cv_prog_ac_ct_CC
17593 if test -n "$ac_ct_CC"; then
17594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
17595 $as_echo "$ac_ct_CC" >&6; }
17596 else
17597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17598 $as_echo "no" >&6; }
17599 fi
17600
17601
17602   test -n "$ac_ct_CC" && break
17603 done
17604
17605   if test "x$ac_ct_CC" = x; then
17606     CC=""
17607   else
17608     case $cross_compiling:$ac_tool_warned in
17609 yes:)
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17611 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17612 ac_tool_warned=yes ;;
17613 esac
17614     CC=$ac_ct_CC
17615   fi
17616 fi
17617
17618 fi
17619
17620
17621 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17622 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17623 as_fn_error $? "no acceptable C compiler found in \$PATH
17624 See \`config.log' for more details" "$LINENO" 5; }
17625
17626 # Provide some information about the compiler.
17627 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
17628 set X $ac_compile
17629 ac_compiler=$2
17630 for ac_option in --version -v -V -qversion; do
17631   { { ac_try="$ac_compiler $ac_option >&5"
17632 case "(($ac_try" in
17633   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17634   *) ac_try_echo=$ac_try;;
17635 esac
17636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17637 $as_echo "$ac_try_echo"; } >&5
17638   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
17639   ac_status=$?
17640   if test -s conftest.err; then
17641     sed '10a\
17642 ... rest of stderr output deleted ...
17643          10q' conftest.err >conftest.er1
17644     cat conftest.er1 >&5
17645   fi
17646   rm -f conftest.er1 conftest.err
17647   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17648   test $ac_status = 0; }
17649 done
17650
17651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
17652 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
17653 if ${ac_cv_c_compiler_gnu+:} false; then :
17654   $as_echo_n "(cached) " >&6
17655 else
17656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17657 /* end confdefs.h.  */
17658
17659 int
17660 main ()
17661 {
17662 #ifndef __GNUC__
17663        choke me
17664 #endif
17665
17666   ;
17667   return 0;
17668 }
17669 _ACEOF
17670 if ac_fn_c_try_compile "$LINENO"; then :
17671   ac_compiler_gnu=yes
17672 else
17673   ac_compiler_gnu=no
17674 fi
17675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17676 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17677
17678 fi
17679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
17680 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
17681 if test $ac_compiler_gnu = yes; then
17682   GCC=yes
17683 else
17684   GCC=
17685 fi
17686 ac_test_CFLAGS=${CFLAGS+set}
17687 ac_save_CFLAGS=$CFLAGS
17688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17689 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17690 if ${ac_cv_prog_cc_g+:} false; then :
17691   $as_echo_n "(cached) " >&6
17692 else
17693   ac_save_c_werror_flag=$ac_c_werror_flag
17694    ac_c_werror_flag=yes
17695    ac_cv_prog_cc_g=no
17696    CFLAGS="-g"
17697    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17698 /* end confdefs.h.  */
17699
17700 int
17701 main ()
17702 {
17703
17704   ;
17705   return 0;
17706 }
17707 _ACEOF
17708 if ac_fn_c_try_compile "$LINENO"; then :
17709   ac_cv_prog_cc_g=yes
17710 else
17711   CFLAGS=""
17712       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17713 /* end confdefs.h.  */
17714
17715 int
17716 main ()
17717 {
17718
17719   ;
17720   return 0;
17721 }
17722 _ACEOF
17723 if ac_fn_c_try_compile "$LINENO"; then :
17724
17725 else
17726   ac_c_werror_flag=$ac_save_c_werror_flag
17727          CFLAGS="-g"
17728          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17729 /* end confdefs.h.  */
17730
17731 int
17732 main ()
17733 {
17734
17735   ;
17736   return 0;
17737 }
17738 _ACEOF
17739 if ac_fn_c_try_compile "$LINENO"; then :
17740   ac_cv_prog_cc_g=yes
17741 fi
17742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17743 fi
17744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17745 fi
17746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17747    ac_c_werror_flag=$ac_save_c_werror_flag
17748 fi
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17750 $as_echo "$ac_cv_prog_cc_g" >&6; }
17751 if test "$ac_test_CFLAGS" = set; then
17752   CFLAGS=$ac_save_CFLAGS
17753 elif test $ac_cv_prog_cc_g = yes; then
17754   if test "$GCC" = yes; then
17755     CFLAGS="-g -O2"
17756   else
17757     CFLAGS="-g"
17758   fi
17759 else
17760   if test "$GCC" = yes; then
17761     CFLAGS="-O2"
17762   else
17763     CFLAGS=
17764   fi
17765 fi
17766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17767 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17768 if ${ac_cv_prog_cc_c89+:} false; then :
17769   $as_echo_n "(cached) " >&6
17770 else
17771   ac_cv_prog_cc_c89=no
17772 ac_save_CC=$CC
17773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17774 /* end confdefs.h.  */
17775 #include <stdarg.h>
17776 #include <stdio.h>
17777 struct stat;
17778 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
17779 struct buf { int x; };
17780 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17781 static char *e (p, i)
17782      char **p;
17783      int i;
17784 {
17785   return p[i];
17786 }
17787 static char *f (char * (*g) (char **, int), char **p, ...)
17788 {
17789   char *s;
17790   va_list v;
17791   va_start (v,p);
17792   s = g (p, va_arg (v,int));
17793   va_end (v);
17794   return s;
17795 }
17796
17797 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
17798    function prototypes and stuff, but not '\xHH' hex character constants.
17799    These don't provoke an error unfortunately, instead are silently treated
17800    as 'x'.  The following induces an error, until -std is added to get
17801    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
17802    array size at least.  It's necessary to write '\x00'==0 to get something
17803    that's true only with -std.  */
17804 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17805
17806 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17807    inside strings and character constants.  */
17808 #define FOO(x) 'x'
17809 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17810
17811 int test (int i, double x);
17812 struct s1 {int (*f) (int a);};
17813 struct s2 {int (*f) (double a);};
17814 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17815 int argc;
17816 char **argv;
17817 int
17818 main ()
17819 {
17820 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
17821   ;
17822   return 0;
17823 }
17824 _ACEOF
17825 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17826         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17827 do
17828   CC="$ac_save_CC $ac_arg"
17829   if ac_fn_c_try_compile "$LINENO"; then :
17830   ac_cv_prog_cc_c89=$ac_arg
17831 fi
17832 rm -f core conftest.err conftest.$ac_objext
17833   test "x$ac_cv_prog_cc_c89" != "xno" && break
17834 done
17835 rm -f conftest.$ac_ext
17836 CC=$ac_save_CC
17837
17838 fi
17839 # AC_CACHE_VAL
17840 case "x$ac_cv_prog_cc_c89" in
17841   x)
17842     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17843 $as_echo "none needed" >&6; } ;;
17844   xno)
17845     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17846 $as_echo "unsupported" >&6; } ;;
17847   *)
17848     CC="$CC $ac_cv_prog_cc_c89"
17849     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17850 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17851 esac
17852 if test "x$ac_cv_prog_cc_c89" != xno; then :
17853
17854 fi
17855
17856 ac_ext=c
17857 ac_cpp='$CPP $CPPFLAGS'
17858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17861
17862 depcc="$CC"   am_compiler_list=
17863
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17865 $as_echo_n "checking dependency style of $depcc... " >&6; }
17866 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
17867   $as_echo_n "(cached) " >&6
17868 else
17869   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17870   # We make a subdir and do the tests there.  Otherwise we can end up
17871   # making bogus files that we don't know about and never remove.  For
17872   # instance it was reported that on HP-UX the gcc test will end up
17873   # making a dummy file named 'D' -- because '-MD' means "put the output
17874   # in D".
17875   rm -rf conftest.dir
17876   mkdir conftest.dir
17877   # Copy depcomp to subdir because otherwise we won't find it if we're
17878   # using a relative directory.
17879   cp "$am_depcomp" conftest.dir
17880   cd conftest.dir
17881   # We will build objects and dependencies in a subdirectory because
17882   # it helps to detect inapplicable dependency modes.  For instance
17883   # both Tru64's cc and ICC support -MD to output dependencies as a
17884   # side effect of compilation, but ICC will put the dependencies in
17885   # the current directory while Tru64 will put them in the object
17886   # directory.
17887   mkdir sub
17888
17889   am_cv_CC_dependencies_compiler_type=none
17890   if test "$am_compiler_list" = ""; then
17891      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17892   fi
17893   am__universal=false
17894   case " $depcc " in #(
17895      *\ -arch\ *\ -arch\ *) am__universal=true ;;
17896      esac
17897
17898   for depmode in $am_compiler_list; do
17899     # Setup a source with many dependencies, because some compilers
17900     # like to wrap large dependency lists on column 80 (with \), and
17901     # we should not choose a depcomp mode which is confused by this.
17902     #
17903     # We need to recreate these files for each test, as the compiler may
17904     # overwrite some of them when testing with obscure command lines.
17905     # This happens at least with the AIX C compiler.
17906     : > sub/conftest.c
17907     for i in 1 2 3 4 5 6; do
17908       echo '#include "conftst'$i'.h"' >> sub/conftest.c
17909       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
17910       # Solaris 10 /bin/sh.
17911       echo '/* dummy */' > sub/conftst$i.h
17912     done
17913     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17914
17915     # We check with '-c' and '-o' for the sake of the "dashmstdout"
17916     # mode.  It turns out that the SunPro C++ compiler does not properly
17917     # handle '-M -o', and we need to detect this.  Also, some Intel
17918     # versions had trouble with output in subdirs.
17919     am__obj=sub/conftest.${OBJEXT-o}
17920     am__minus_obj="-o $am__obj"
17921     case $depmode in
17922     gcc)
17923       # This depmode causes a compiler race in universal mode.
17924       test "$am__universal" = false || continue
17925       ;;
17926     nosideeffect)
17927       # After this tag, mechanisms are not by side-effect, so they'll
17928       # only be used when explicitly requested.
17929       if test "x$enable_dependency_tracking" = xyes; then
17930         continue
17931       else
17932         break
17933       fi
17934       ;;
17935     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
17936       # This compiler won't grok '-c -o', but also, the minuso test has
17937       # not run yet.  These depmodes are late enough in the game, and
17938       # so weak that their functioning should not be impacted.
17939       am__obj=conftest.${OBJEXT-o}
17940       am__minus_obj=
17941       ;;
17942     none) break ;;
17943     esac
17944     if depmode=$depmode \
17945        source=sub/conftest.c object=$am__obj \
17946        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
17947        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
17948          >/dev/null 2>conftest.err &&
17949        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
17950        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
17951        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
17952        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
17953       # icc doesn't choke on unknown options, it will just issue warnings
17954       # or remarks (even with -Werror).  So we grep stderr for any message
17955       # that says an option was ignored or not supported.
17956       # When given -MP, icc 7.0 and 7.1 complain thusly:
17957       #   icc: Command line warning: ignoring option '-M'; no argument required
17958       # The diagnosis changed in icc 8.0:
17959       #   icc: Command line remark: option '-MP' not supported
17960       if (grep 'ignoring option' conftest.err ||
17961           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17962         am_cv_CC_dependencies_compiler_type=$depmode
17963         break
17964       fi
17965     fi
17966   done
17967
17968   cd ..
17969   rm -rf conftest.dir
17970 else
17971   am_cv_CC_dependencies_compiler_type=none
17972 fi
17973
17974 fi
17975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
17976 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
17977 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
17978
17979  if
17980   test "x$enable_dependency_tracking" != xno \
17981   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
17982   am__fastdepCC_TRUE=
17983   am__fastdepCC_FALSE='#'
17984 else
17985   am__fastdepCC_TRUE='#'
17986   am__fastdepCC_FALSE=
17987 fi
17988
17989
17990
17991 # pkg-config
17992
17993
17994
17995
17996
17997
17998
17999 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18000         if test -n "$ac_tool_prefix"; then
18001   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18002 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18004 $as_echo_n "checking for $ac_word... " >&6; }
18005 if ${ac_cv_path_PKG_CONFIG+:} false; then :
18006   $as_echo_n "(cached) " >&6
18007 else
18008   case $PKG_CONFIG in
18009   [\\/]* | ?:[\\/]*)
18010   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18011   ;;
18012   *)
18013   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18014 for as_dir in $PATH
18015 do
18016   IFS=$as_save_IFS
18017   test -z "$as_dir" && as_dir=.
18018     for ac_exec_ext in '' $ac_executable_extensions; do
18019   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18020     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18021     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18022     break 2
18023   fi
18024 done
18025   done
18026 IFS=$as_save_IFS
18027
18028   ;;
18029 esac
18030 fi
18031 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18032 if test -n "$PKG_CONFIG"; then
18033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18034 $as_echo "$PKG_CONFIG" >&6; }
18035 else
18036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18037 $as_echo "no" >&6; }
18038 fi
18039
18040
18041 fi
18042 if test -z "$ac_cv_path_PKG_CONFIG"; then
18043   ac_pt_PKG_CONFIG=$PKG_CONFIG
18044   # Extract the first word of "pkg-config", so it can be a program name with args.
18045 set dummy pkg-config; ac_word=$2
18046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18047 $as_echo_n "checking for $ac_word... " >&6; }
18048 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
18049   $as_echo_n "(cached) " >&6
18050 else
18051   case $ac_pt_PKG_CONFIG in
18052   [\\/]* | ?:[\\/]*)
18053   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18054   ;;
18055   *)
18056   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18057 for as_dir in $PATH
18058 do
18059   IFS=$as_save_IFS
18060   test -z "$as_dir" && as_dir=.
18061     for ac_exec_ext in '' $ac_executable_extensions; do
18062   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18063     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18064     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18065     break 2
18066   fi
18067 done
18068   done
18069 IFS=$as_save_IFS
18070
18071   ;;
18072 esac
18073 fi
18074 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18075 if test -n "$ac_pt_PKG_CONFIG"; then
18076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18077 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18078 else
18079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18080 $as_echo "no" >&6; }
18081 fi
18082
18083   if test "x$ac_pt_PKG_CONFIG" = x; then
18084     PKG_CONFIG=""
18085   else
18086     case $cross_compiling:$ac_tool_warned in
18087 yes:)
18088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18089 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18090 ac_tool_warned=yes ;;
18091 esac
18092     PKG_CONFIG=$ac_pt_PKG_CONFIG
18093   fi
18094 else
18095   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18096 fi
18097
18098 fi
18099 if test -n "$PKG_CONFIG"; then
18100         _pkg_min_version=0.9.0
18101         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18102 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18103         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18104                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18105 $as_echo "yes" >&6; }
18106         else
18107                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18108 $as_echo "no" >&6; }
18109                 PKG_CONFIG=""
18110         fi
18111 fi
18112
18113 # Check whether pkg-config supports Requires.private
18114 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
18115    pkgconfig_requires_private="Requires.private"
18116 else
18117    pkgconfig_requires_private="Requires"
18118 fi
18119
18120
18121 # doxygen program for documentation building
18122
18123
18124 # Check whether --enable-doc was given.
18125 if test "${enable_doc+set}" = set; then :
18126   enableval=$enable_doc;
18127     if test "x${enableval}" = "xyes" ; then
18128        efl_enable_doc="yes"
18129     else
18130        efl_enable_doc="no"
18131     fi
18132
18133 else
18134   efl_enable_doc="yes"
18135 fi
18136
18137
18138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
18139 $as_echo_n "checking whether to build documentation... " >&6; }
18140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
18141 $as_echo "${efl_enable_doc}" >&6; }
18142
18143 if test "x${efl_enable_doc}" = "xyes" ; then
18144
18145
18146    efl_doxygen="doxygen"
18147
18148
18149 # Check whether --with-doxygen was given.
18150 if test "${with_doxygen+set}" = set; then :
18151   withval=$with_doxygen;
18152       efl_doxygen=${withval}
18153        # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
18154 set dummy ${efl_doxygen}; ac_word=$2
18155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18156 $as_echo_n "checking for $ac_word... " >&6; }
18157 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
18158   $as_echo_n "(cached) " >&6
18159 else
18160   if test -n "$efl_have_doxygen"; then
18161   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
18162 else
18163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18164 for as_dir in $PATH
18165 do
18166   IFS=$as_save_IFS
18167   test -z "$as_dir" && as_dir=.
18168     for ac_exec_ext in '' $ac_executable_extensions; do
18169   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18170     ac_cv_prog_efl_have_doxygen="yes"
18171     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18172     break 2
18173   fi
18174 done
18175   done
18176 IFS=$as_save_IFS
18177
18178   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
18179 fi
18180 fi
18181 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
18182 if test -n "$efl_have_doxygen"; then
18183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
18184 $as_echo "$efl_have_doxygen" >&6; }
18185 else
18186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18187 $as_echo "no" >&6; }
18188 fi
18189
18190
18191        if test "x${efl_have_doxygen}" = "xno" ; then
18192           echo "WARNING:"
18193           echo "The doxygen program you specified:"
18194           echo "${efl_doxygen}"
18195           echo "was not found.  Please check the path and make sure "
18196           echo "the program exists and is executable."
18197           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
18198 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
18199        fi
18200
18201 else
18202   # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
18203 set dummy ${efl_doxygen}; ac_word=$2
18204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18205 $as_echo_n "checking for $ac_word... " >&6; }
18206 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
18207   $as_echo_n "(cached) " >&6
18208 else
18209   if test -n "$efl_have_doxygen"; then
18210   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
18211 else
18212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18213 for as_dir in $PATH
18214 do
18215   IFS=$as_save_IFS
18216   test -z "$as_dir" && as_dir=.
18217     for ac_exec_ext in '' $ac_executable_extensions; do
18218   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18219     ac_cv_prog_efl_have_doxygen="yes"
18220     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18221     break 2
18222   fi
18223 done
18224   done
18225 IFS=$as_save_IFS
18226
18227   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
18228 fi
18229 fi
18230 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
18231 if test -n "$efl_have_doxygen"; then
18232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
18233 $as_echo "$efl_have_doxygen" >&6; }
18234 else
18235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18236 $as_echo "no" >&6; }
18237 fi
18238
18239
18240        if test "x${efl_have_doxygen}" = "xno" ; then
18241           echo "WARNING:"
18242           echo "The doxygen program was not found in your execute path."
18243           echo "You may have doxygen installed somewhere not covered by your path."
18244           echo ""
18245           echo "If this is the case make sure you have the packages installed, AND"
18246           echo "that the doxygen program is in your execute path (see your"
18247           echo "shell manual page on setting the \$PATH environment variable), OR"
18248           echo "alternatively, specify the program to use with --with-doxygen."
18249           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
18250 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
18251        fi
18252
18253 fi
18254
18255 fi
18256
18257
18258
18259 if ! test "x${efl_have_doxygen}" = "xyes" ; then
18260    efl_enable_doc="no"
18261 fi
18262
18263  if test "x${efl_enable_doc}" = "xyes"; then
18264   EFL_BUILD_DOC_TRUE=
18265   EFL_BUILD_DOC_FALSE='#'
18266 else
18267   EFL_BUILD_DOC_TRUE='#'
18268   EFL_BUILD_DOC_FALSE=
18269 fi
18270
18271
18272 if test "x${efl_enable_doc}" = "xyes" ; then
18273   build_doc="yes"
18274 else
18275   build_doc="no"
18276 fi
18277
18278
18279
18280
18281 ### Checks for libraries
18282
18283 # Evil library for compilation on Windows CE
18284
18285 case "$host_os" in
18286    mingw*)
18287
18288 pkg_failed=no
18289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
18290 $as_echo_n "checking for EVIL... " >&6; }
18291
18292 if test -n "$EVIL_CFLAGS"; then
18293     pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
18294  elif test -n "$PKG_CONFIG"; then
18295     if test -n "$PKG_CONFIG" && \
18296     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
18297   ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
18298   ac_status=$?
18299   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18300   test $ac_status = 0; }; then
18301   pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.0.0" 2>/dev/null`
18302                       test "x$?" != "x0" && pkg_failed=yes
18303 else
18304   pkg_failed=yes
18305 fi
18306  else
18307     pkg_failed=untried
18308 fi
18309 if test -n "$EVIL_LIBS"; then
18310     pkg_cv_EVIL_LIBS="$EVIL_LIBS"
18311  elif test -n "$PKG_CONFIG"; then
18312     if test -n "$PKG_CONFIG" && \
18313     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
18314   ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
18315   ac_status=$?
18316   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18317   test $ac_status = 0; }; then
18318   pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.0.0" 2>/dev/null`
18319                       test "x$?" != "x0" && pkg_failed=yes
18320 else
18321   pkg_failed=yes
18322 fi
18323  else
18324     pkg_failed=untried
18325 fi
18326
18327
18328
18329 if test $pkg_failed = yes; then
18330         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18331 $as_echo "no" >&6; }
18332
18333 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18334         _pkg_short_errors_supported=yes
18335 else
18336         _pkg_short_errors_supported=no
18337 fi
18338         if test $_pkg_short_errors_supported = yes; then
18339                 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evil >= 1.0.0" 2>&1`
18340         else
18341                 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evil >= 1.0.0" 2>&1`
18342         fi
18343         # Put the nasty error message in config.log where it belongs
18344         echo "$EVIL_PKG_ERRORS" >&5
18345
18346         as_fn_error $? "Package requirements (evil >= 1.0.0) were not met:
18347
18348 $EVIL_PKG_ERRORS
18349
18350 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18351 installed software in a non-standard prefix.
18352
18353 Alternatively, you may set the environment variables EVIL_CFLAGS
18354 and EVIL_LIBS to avoid the need to call pkg-config.
18355 See the pkg-config man page for more details." "$LINENO" 5
18356 elif test $pkg_failed = untried; then
18357         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18358 $as_echo "no" >&6; }
18359         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18360 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18361 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
18362 is in your PATH or set the PKG_CONFIG environment variable to the full
18363 path to pkg-config.
18364
18365 Alternatively, you may set the environment variables EVIL_CFLAGS
18366 and EVIL_LIBS to avoid the need to call pkg-config.
18367 See the pkg-config man page for more details.
18368
18369 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18370 See \`config.log' for more details" "$LINENO" 5; }
18371 else
18372         EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
18373         EVIL_LIBS=$pkg_cv_EVIL_LIBS
18374         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18375 $as_echo "yes" >&6; }
18376
18377 fi
18378
18379 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
18380
18381       requirement_evas="evil ${requirement_evas}"
18382    ;;
18383 esac
18384
18385 ### Checks for portability layer
18386
18387
18388 pkg_failed=no
18389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXOTIC" >&5
18390 $as_echo_n "checking for EXOTIC... " >&6; }
18391
18392 if test -n "$EXOTIC_CFLAGS"; then
18393     pkg_cv_EXOTIC_CFLAGS="$EXOTIC_CFLAGS"
18394  elif test -n "$PKG_CONFIG"; then
18395     if test -n "$PKG_CONFIG" && \
18396     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
18397   ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
18398   ac_status=$?
18399   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18400   test $ac_status = 0; }; then
18401   pkg_cv_EXOTIC_CFLAGS=`$PKG_CONFIG --cflags "exotic" 2>/dev/null`
18402                       test "x$?" != "x0" && pkg_failed=yes
18403 else
18404   pkg_failed=yes
18405 fi
18406  else
18407     pkg_failed=untried
18408 fi
18409 if test -n "$EXOTIC_LIBS"; then
18410     pkg_cv_EXOTIC_LIBS="$EXOTIC_LIBS"
18411  elif test -n "$PKG_CONFIG"; then
18412     if test -n "$PKG_CONFIG" && \
18413     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
18414   ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
18415   ac_status=$?
18416   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18417   test $ac_status = 0; }; then
18418   pkg_cv_EXOTIC_LIBS=`$PKG_CONFIG --libs "exotic" 2>/dev/null`
18419                       test "x$?" != "x0" && pkg_failed=yes
18420 else
18421   pkg_failed=yes
18422 fi
18423  else
18424     pkg_failed=untried
18425 fi
18426
18427
18428
18429 if test $pkg_failed = yes; then
18430         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18431 $as_echo "no" >&6; }
18432
18433 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18434         _pkg_short_errors_supported=yes
18435 else
18436         _pkg_short_errors_supported=no
18437 fi
18438         if test $_pkg_short_errors_supported = yes; then
18439                 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "exotic" 2>&1`
18440         else
18441                 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "exotic" 2>&1`
18442         fi
18443         # Put the nasty error message in config.log where it belongs
18444         echo "$EXOTIC_PKG_ERRORS" >&5
18445
18446         enable_exotic="no"
18447 elif test $pkg_failed = untried; then
18448         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18449 $as_echo "no" >&6; }
18450         enable_exotic="no"
18451 else
18452         EXOTIC_CFLAGS=$pkg_cv_EXOTIC_CFLAGS
18453         EXOTIC_LIBS=$pkg_cv_EXOTIC_LIBS
18454         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18455 $as_echo "yes" >&6; }
18456         enable_exotic="yes"
18457 fi
18458
18459 if test "x${enable_exotic}" = "xyes"; then
18460     requirement_evas="exotic ${requirement_evas}"
18461
18462
18463 $as_echo "#define HAVE_EXOTIC 1" >>confdefs.h
18464
18465 fi
18466  if test "x${enable_exotic}" = "xyes"; then
18467   EVAS_HAVE_EXOTIC_TRUE=
18468   EVAS_HAVE_EXOTIC_FALSE='#'
18469 else
18470   EVAS_HAVE_EXOTIC_TRUE='#'
18471   EVAS_HAVE_EXOTIC_FALSE=
18472 fi
18473
18474
18475 ## strong dependencies
18476
18477 # Eina
18478
18479 pkg_failed=no
18480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EINA" >&5
18481 $as_echo_n "checking for EINA... " >&6; }
18482
18483 if test -n "$EINA_CFLAGS"; then
18484     pkg_cv_EINA_CFLAGS="$EINA_CFLAGS"
18485  elif test -n "$PKG_CONFIG"; then
18486     if test -n "$PKG_CONFIG" && \
18487     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.7.8\""; } >&5
18488   ($PKG_CONFIG --exists --print-errors "eina >= 1.7.8") 2>&5
18489   ac_status=$?
18490   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18491   test $ac_status = 0; }; then
18492   pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.7.8" 2>/dev/null`
18493                       test "x$?" != "x0" && pkg_failed=yes
18494 else
18495   pkg_failed=yes
18496 fi
18497  else
18498     pkg_failed=untried
18499 fi
18500 if test -n "$EINA_LIBS"; then
18501     pkg_cv_EINA_LIBS="$EINA_LIBS"
18502  elif test -n "$PKG_CONFIG"; then
18503     if test -n "$PKG_CONFIG" && \
18504     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.7.8\""; } >&5
18505   ($PKG_CONFIG --exists --print-errors "eina >= 1.7.8") 2>&5
18506   ac_status=$?
18507   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18508   test $ac_status = 0; }; then
18509   pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina >= 1.7.8" 2>/dev/null`
18510                       test "x$?" != "x0" && pkg_failed=yes
18511 else
18512   pkg_failed=yes
18513 fi
18514  else
18515     pkg_failed=untried
18516 fi
18517
18518
18519
18520 if test $pkg_failed = yes; then
18521         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18522 $as_echo "no" >&6; }
18523
18524 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18525         _pkg_short_errors_supported=yes
18526 else
18527         _pkg_short_errors_supported=no
18528 fi
18529         if test $_pkg_short_errors_supported = yes; then
18530                 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eina >= 1.7.8" 2>&1`
18531         else
18532                 EINA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eina >= 1.7.8" 2>&1`
18533         fi
18534         # Put the nasty error message in config.log where it belongs
18535         echo "$EINA_PKG_ERRORS" >&5
18536
18537         as_fn_error $? "Package requirements (eina >= 1.7.8) were not met:
18538
18539 $EINA_PKG_ERRORS
18540
18541 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18542 installed software in a non-standard prefix.
18543
18544 Alternatively, you may set the environment variables EINA_CFLAGS
18545 and EINA_LIBS to avoid the need to call pkg-config.
18546 See the pkg-config man page for more details." "$LINENO" 5
18547 elif test $pkg_failed = untried; then
18548         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18549 $as_echo "no" >&6; }
18550         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18551 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18552 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
18553 is in your PATH or set the PKG_CONFIG environment variable to the full
18554 path to pkg-config.
18555
18556 Alternatively, you may set the environment variables EINA_CFLAGS
18557 and EINA_LIBS to avoid the need to call pkg-config.
18558 See the pkg-config man page for more details.
18559
18560 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18561 See \`config.log' for more details" "$LINENO" 5; }
18562 else
18563         EINA_CFLAGS=$pkg_cv_EINA_CFLAGS
18564         EINA_LIBS=$pkg_cv_EINA_LIBS
18565         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18566 $as_echo "yes" >&6; }
18567
18568 fi
18569 CPPFLAGS_SAVE="$CPPFLAGS"
18570 CPPFLAGS="$CPPFLAGS $EINA_CFLAGS"
18571 # The cast to long int works around a bug in the HP C Compiler
18572 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18573 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18574 # This bug is HP SR number 8606223364.
18575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of Eina_Unicode" >&5
18576 $as_echo_n "checking size of Eina_Unicode... " >&6; }
18577 if ${ac_cv_sizeof_Eina_Unicode+:} false; then :
18578   $as_echo_n "(cached) " >&6
18579 else
18580   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (Eina_Unicode))" "ac_cv_sizeof_Eina_Unicode"        "#include <Eina.h>
18581 "; then :
18582
18583 else
18584   if test "$ac_cv_type_Eina_Unicode" = yes; then
18585      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18587 as_fn_error 77 "cannot compute sizeof (Eina_Unicode)
18588 See \`config.log' for more details" "$LINENO" 5; }
18589    else
18590      ac_cv_sizeof_Eina_Unicode=0
18591    fi
18592 fi
18593
18594 fi
18595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_Eina_Unicode" >&5
18596 $as_echo "$ac_cv_sizeof_Eina_Unicode" >&6; }
18597
18598
18599
18600 cat >>confdefs.h <<_ACEOF
18601 #define SIZEOF_EINA_UNICODE $ac_cv_sizeof_Eina_Unicode
18602 _ACEOF
18603
18604
18605 CPPFLAGS="$CPPFLAGS_SAVE"
18606
18607 # Freetype
18608
18609 pkg_failed=no
18610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
18611 $as_echo_n "checking for FREETYPE... " >&6; }
18612
18613 if test -n "$FREETYPE_CFLAGS"; then
18614     pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
18615  elif test -n "$PKG_CONFIG"; then
18616     if test -n "$PKG_CONFIG" && \
18617     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 9.3.0\""; } >&5
18618   ($PKG_CONFIG --exists --print-errors "freetype2 >= 9.3.0") 2>&5
18619   ac_status=$?
18620   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18621   test $ac_status = 0; }; then
18622   pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2 >= 9.3.0" 2>/dev/null`
18623                       test "x$?" != "x0" && pkg_failed=yes
18624 else
18625   pkg_failed=yes
18626 fi
18627  else
18628     pkg_failed=untried
18629 fi
18630 if test -n "$FREETYPE_LIBS"; then
18631     pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
18632  elif test -n "$PKG_CONFIG"; then
18633     if test -n "$PKG_CONFIG" && \
18634     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 9.3.0\""; } >&5
18635   ($PKG_CONFIG --exists --print-errors "freetype2 >= 9.3.0") 2>&5
18636   ac_status=$?
18637   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18638   test $ac_status = 0; }; then
18639   pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2 >= 9.3.0" 2>/dev/null`
18640                       test "x$?" != "x0" && pkg_failed=yes
18641 else
18642   pkg_failed=yes
18643 fi
18644  else
18645     pkg_failed=untried
18646 fi
18647
18648
18649
18650 if test $pkg_failed = yes; then
18651         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18652 $as_echo "no" >&6; }
18653
18654 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18655         _pkg_short_errors_supported=yes
18656 else
18657         _pkg_short_errors_supported=no
18658 fi
18659         if test $_pkg_short_errors_supported = yes; then
18660                 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freetype2 >= 9.3.0" 2>&1`
18661         else
18662                 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freetype2 >= 9.3.0" 2>&1`
18663         fi
18664         # Put the nasty error message in config.log where it belongs
18665         echo "$FREETYPE_PKG_ERRORS" >&5
18666
18667         as_fn_error $? "Package requirements (freetype2 >= 9.3.0) were not met:
18668
18669 $FREETYPE_PKG_ERRORS
18670
18671 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18672 installed software in a non-standard prefix.
18673
18674 Alternatively, you may set the environment variables FREETYPE_CFLAGS
18675 and FREETYPE_LIBS to avoid the need to call pkg-config.
18676 See the pkg-config man page for more details." "$LINENO" 5
18677 elif test $pkg_failed = untried; then
18678         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18679 $as_echo "no" >&6; }
18680         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18681 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18682 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
18683 is in your PATH or set the PKG_CONFIG environment variable to the full
18684 path to pkg-config.
18685
18686 Alternatively, you may set the environment variables FREETYPE_CFLAGS
18687 and FREETYPE_LIBS to avoid the need to call pkg-config.
18688 See the pkg-config man page for more details.
18689
18690 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18691 See \`config.log' for more details" "$LINENO" 5; }
18692 else
18693         FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
18694         FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
18695         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18696 $as_echo "yes" >&6; }
18697
18698 fi
18699
18700 requirement_evas="freetype2 eina >= 1.7.8 ${requirement_evas}"
18701
18702 ## optional dependencies
18703
18704 # FontConfig
18705 have_fontconfig="no"
18706 # Check whether --enable-fontconfig was given.
18707 if test "${enable_fontconfig+set}" = set; then :
18708   enableval=$enable_fontconfig;
18709     if test "x${enableval}" = "xyes" ; then
18710        want_fontconfig="yes"
18711     else
18712        want_fontconfig="no"
18713     fi
18714
18715 fi
18716
18717
18718
18719 if test "x${want_fontconfig}" = "xyes" -o "x${want_fontconfig}" = "xauto" ; then
18720
18721 pkg_failed=no
18722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FONTCONFIG" >&5
18723 $as_echo_n "checking for FONTCONFIG... " >&6; }
18724
18725 if test -n "$FONTCONFIG_CFLAGS"; then
18726     pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
18727  elif test -n "$PKG_CONFIG"; then
18728     if test -n "$PKG_CONFIG" && \
18729     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.0\""; } >&5
18730   ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5
18731   ac_status=$?
18732   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18733   test $ac_status = 0; }; then
18734   pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.5.0" 2>/dev/null`
18735                       test "x$?" != "x0" && pkg_failed=yes
18736 else
18737   pkg_failed=yes
18738 fi
18739  else
18740     pkg_failed=untried
18741 fi
18742 if test -n "$FONTCONFIG_LIBS"; then
18743     pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
18744  elif test -n "$PKG_CONFIG"; then
18745     if test -n "$PKG_CONFIG" && \
18746     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.0\""; } >&5
18747   ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5
18748   ac_status=$?
18749   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18750   test $ac_status = 0; }; then
18751   pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.5.0" 2>/dev/null`
18752                       test "x$?" != "x0" && pkg_failed=yes
18753 else
18754   pkg_failed=yes
18755 fi
18756  else
18757     pkg_failed=untried
18758 fi
18759
18760
18761
18762 if test $pkg_failed = yes; then
18763         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18764 $as_echo "no" >&6; }
18765
18766 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18767         _pkg_short_errors_supported=yes
18768 else
18769         _pkg_short_errors_supported=no
18770 fi
18771         if test $_pkg_short_errors_supported = yes; then
18772                 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fontconfig >= 2.5.0" 2>&1`
18773         else
18774                 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fontconfig >= 2.5.0" 2>&1`
18775         fi
18776         # Put the nasty error message in config.log where it belongs
18777         echo "$FONTCONFIG_PKG_ERRORS" >&5
18778
18779
18780        if test "x${want_fontconfig}" = "xyes" -a "x${use_strict}" = "xyes" ; then
18781           as_fn_error $? "Fontconfig not found (strict dependencies checking)" "$LINENO" 5
18782        fi
18783
18784 elif test $pkg_failed = untried; then
18785         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18786 $as_echo "no" >&6; }
18787
18788        if test "x${want_fontconfig}" = "xyes" -a "x${use_strict}" = "xyes" ; then
18789           as_fn_error $? "Fontconfig not found (strict dependencies checking)" "$LINENO" 5
18790        fi
18791
18792 else
18793         FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
18794         FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
18795         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18796 $as_echo "yes" >&6; }
18797
18798        have_fontconfig="yes"
18799
18800 $as_echo "#define HAVE_FONTCONFIG 1" >>confdefs.h
18801
18802        requirement_evas="fontconfig ${requirement_evas}"
18803
18804 fi
18805 fi
18806
18807 # linebreak
18808 have_linebreak="no"
18809 want_linebreak="yes"
18810 # Check whether --enable-liblinebreak was given.
18811 if test "${enable_liblinebreak+set}" = set; then :
18812   enableval=$enable_liblinebreak;
18813     if test "x${enableval}" = "xyes" ; then
18814        want_linebreak="yes"
18815     else
18816        want_linebreak="no"
18817     fi
18818
18819 fi
18820
18821
18822
18823  if test "x${want_linebreak}" = "xyes"; then
18824   EVAS_USE_LINEBREAK_TRUE=
18825   EVAS_USE_LINEBREAK_FALSE='#'
18826 else
18827   EVAS_USE_LINEBREAK_TRUE='#'
18828   EVAS_USE_LINEBREAK_FALSE=
18829 fi
18830
18831 if test "x${want_linebreak}" = "xyes" ; then
18832    have_linebreak="yes"
18833    LINEBREAK_CFLAGS='-I$(top_srcdir)/src/static_deps/liblinebreak'
18834    LINEBREAK_LIBS='$(top_builddir)/src/static_deps/liblinebreak/liblinebreak.la'
18835
18836
18837
18838 $as_echo "#define HAVE_LINEBREAK 1" >>confdefs.h
18839
18840 else
18841    have_linebreak="no"
18842 fi
18843
18844 # fribidi support
18845 have_fribidi="no"
18846 # Check whether --enable-fribidi was given.
18847 if test "${enable_fribidi+set}" = set; then :
18848   enableval=$enable_fribidi;
18849     if test "x${enableval}" = "xyes" ; then
18850        want_fribidi="yes"
18851     else
18852        want_fribidi="no"
18853     fi
18854
18855 fi
18856
18857
18858 if test "x${want_fribidi}" = "xyes" -o "x${want_fribidi}" = "xauto" ; then
18859
18860 pkg_failed=no
18861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FRIBIDI" >&5
18862 $as_echo_n "checking for FRIBIDI... " >&6; }
18863
18864 if test -n "$FRIBIDI_CFLAGS"; then
18865     pkg_cv_FRIBIDI_CFLAGS="$FRIBIDI_CFLAGS"
18866  elif test -n "$PKG_CONFIG"; then
18867     if test -n "$PKG_CONFIG" && \
18868     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi >= 0.19.2\""; } >&5
18869   ($PKG_CONFIG --exists --print-errors "fribidi >= 0.19.2") 2>&5
18870   ac_status=$?
18871   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18872   test $ac_status = 0; }; then
18873   pkg_cv_FRIBIDI_CFLAGS=`$PKG_CONFIG --cflags "fribidi >= 0.19.2" 2>/dev/null`
18874                       test "x$?" != "x0" && pkg_failed=yes
18875 else
18876   pkg_failed=yes
18877 fi
18878  else
18879     pkg_failed=untried
18880 fi
18881 if test -n "$FRIBIDI_LIBS"; then
18882     pkg_cv_FRIBIDI_LIBS="$FRIBIDI_LIBS"
18883  elif test -n "$PKG_CONFIG"; then
18884     if test -n "$PKG_CONFIG" && \
18885     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi >= 0.19.2\""; } >&5
18886   ($PKG_CONFIG --exists --print-errors "fribidi >= 0.19.2") 2>&5
18887   ac_status=$?
18888   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18889   test $ac_status = 0; }; then
18890   pkg_cv_FRIBIDI_LIBS=`$PKG_CONFIG --libs "fribidi >= 0.19.2" 2>/dev/null`
18891                       test "x$?" != "x0" && pkg_failed=yes
18892 else
18893   pkg_failed=yes
18894 fi
18895  else
18896     pkg_failed=untried
18897 fi
18898
18899
18900
18901 if test $pkg_failed = yes; then
18902         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18903 $as_echo "no" >&6; }
18904
18905 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18906         _pkg_short_errors_supported=yes
18907 else
18908         _pkg_short_errors_supported=no
18909 fi
18910         if test $_pkg_short_errors_supported = yes; then
18911                 FRIBIDI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fribidi >= 0.19.2" 2>&1`
18912         else
18913                 FRIBIDI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fribidi >= 0.19.2" 2>&1`
18914         fi
18915         # Put the nasty error message in config.log where it belongs
18916         echo "$FRIBIDI_PKG_ERRORS" >&5
18917
18918
18919        if test "x$want_fribidi" = "xyes" -a "x$use_strict" = "xyes" ; then
18920           as_fn_error $? "Fribidi not found (strict dependencies checking)" "$LINENO" 5
18921        fi
18922
18923 elif test $pkg_failed = untried; then
18924         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18925 $as_echo "no" >&6; }
18926
18927        if test "x$want_fribidi" = "xyes" -a "x$use_strict" = "xyes" ; then
18928           as_fn_error $? "Fribidi not found (strict dependencies checking)" "$LINENO" 5
18929        fi
18930
18931 else
18932         FRIBIDI_CFLAGS=$pkg_cv_FRIBIDI_CFLAGS
18933         FRIBIDI_LIBS=$pkg_cv_FRIBIDI_LIBS
18934         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18935 $as_echo "yes" >&6; }
18936
18937        have_fribidi="yes"
18938
18939 $as_echo "#define HAVE_FRIBIDI 1" >>confdefs.h
18940
18941        requirement_evas="fribidi ${requirement_evas}"
18942        CPPFLAGS_SAVE="$CPPFLAGS"
18943        CPPFLAGS="$CPPFLAGS $FRIBIDI_CFLAGS"
18944        # The cast to long int works around a bug in the HP C Compiler
18945 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18946 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18947 # This bug is HP SR number 8606223364.
18948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of FriBidiChar" >&5
18949 $as_echo_n "checking size of FriBidiChar... " >&6; }
18950 if ${ac_cv_sizeof_FriBidiChar+:} false; then :
18951   $as_echo_n "(cached) " >&6
18952 else
18953   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (FriBidiChar))" "ac_cv_sizeof_FriBidiChar"        "#include <fribidi.h>
18954 "; then :
18955
18956 else
18957   if test "$ac_cv_type_FriBidiChar" = yes; then
18958      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18959 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18960 as_fn_error 77 "cannot compute sizeof (FriBidiChar)
18961 See \`config.log' for more details" "$LINENO" 5; }
18962    else
18963      ac_cv_sizeof_FriBidiChar=0
18964    fi
18965 fi
18966
18967 fi
18968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_FriBidiChar" >&5
18969 $as_echo "$ac_cv_sizeof_FriBidiChar" >&6; }
18970
18971
18972
18973 cat >>confdefs.h <<_ACEOF
18974 #define SIZEOF_FRIBIDICHAR $ac_cv_sizeof_FriBidiChar
18975 _ACEOF
18976
18977
18978        CPPFLAGS="$CPPFLAGS_SAVE"
18979
18980 fi
18981 fi
18982
18983 if test "x${have_fribidi}" = "xno"; then
18984   HAS_BIDI=0
18985 fi
18986
18987 # harfbuzz support
18988 have_harfbuzz="no"
18989 have_harfbuzz_ft="no"
18990 # Check whether --enable-harfbuzz was given.
18991 if test "${enable_harfbuzz+set}" = set; then :
18992   enableval=$enable_harfbuzz;
18993     if test "x${enableval}" = "xyes" ; then
18994        want_harfbuzz="yes"
18995     else
18996        want_harfbuzz="no"
18997     fi
18998
18999 fi
19000
19001
19002 if test "x${want_harfbuzz}" = "xyes" -o "x${want_harfbuzz}" = "xauto" ; then
19003
19004 pkg_failed=no
19005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HARFBUZZ" >&5
19006 $as_echo_n "checking for HARFBUZZ... " >&6; }
19007
19008 if test -n "$HARFBUZZ_CFLAGS"; then
19009     pkg_cv_HARFBUZZ_CFLAGS="$HARFBUZZ_CFLAGS"
19010  elif test -n "$PKG_CONFIG"; then
19011     if test -n "$PKG_CONFIG" && \
19012     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"harfbuzz >= 0.9.0\""; } >&5
19013   ($PKG_CONFIG --exists --print-errors "harfbuzz >= 0.9.0") 2>&5
19014   ac_status=$?
19015   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19016   test $ac_status = 0; }; then
19017   pkg_cv_HARFBUZZ_CFLAGS=`$PKG_CONFIG --cflags "harfbuzz >= 0.9.0" 2>/dev/null`
19018                       test "x$?" != "x0" && pkg_failed=yes
19019 else
19020   pkg_failed=yes
19021 fi
19022  else
19023     pkg_failed=untried
19024 fi
19025 if test -n "$HARFBUZZ_LIBS"; then
19026     pkg_cv_HARFBUZZ_LIBS="$HARFBUZZ_LIBS"
19027  elif test -n "$PKG_CONFIG"; then
19028     if test -n "$PKG_CONFIG" && \
19029     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"harfbuzz >= 0.9.0\""; } >&5
19030   ($PKG_CONFIG --exists --print-errors "harfbuzz >= 0.9.0") 2>&5
19031   ac_status=$?
19032   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19033   test $ac_status = 0; }; then
19034   pkg_cv_HARFBUZZ_LIBS=`$PKG_CONFIG --libs "harfbuzz >= 0.9.0" 2>/dev/null`
19035                       test "x$?" != "x0" && pkg_failed=yes
19036 else
19037   pkg_failed=yes
19038 fi
19039  else
19040     pkg_failed=untried
19041 fi
19042
19043
19044
19045 if test $pkg_failed = yes; then
19046         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19047 $as_echo "no" >&6; }
19048
19049 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19050         _pkg_short_errors_supported=yes
19051 else
19052         _pkg_short_errors_supported=no
19053 fi
19054         if test $_pkg_short_errors_supported = yes; then
19055                 HARFBUZZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "harfbuzz >= 0.9.0" 2>&1`
19056         else
19057                 HARFBUZZ_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "harfbuzz >= 0.9.0" 2>&1`
19058         fi
19059         # Put the nasty error message in config.log where it belongs
19060         echo "$HARFBUZZ_PKG_ERRORS" >&5
19061
19062
19063        if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then
19064           as_fn_error $? "Harfbuzz not found (strict dependencies checking)" "$LINENO" 5
19065        fi
19066
19067 elif test $pkg_failed = untried; then
19068         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19069 $as_echo "no" >&6; }
19070
19071        if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then
19072           as_fn_error $? "Harfbuzz not found (strict dependencies checking)" "$LINENO" 5
19073        fi
19074
19075 else
19076         HARFBUZZ_CFLAGS=$pkg_cv_HARFBUZZ_CFLAGS
19077         HARFBUZZ_LIBS=$pkg_cv_HARFBUZZ_LIBS
19078         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19079 $as_echo "yes" >&6; }
19080
19081        have_harfbuzz="yes"
19082        requirement_evas="harfbuzz ${requirement_evas}"
19083
19084 fi
19085    if test "x$have_harfbuzz" = "xyes" ; then
19086
19087       CPPFLAGS_SAVE="$CPPFLAGS"
19088       CPPFLAGS="$CPPFLAGS $HARFBUZZ_CFLAGS $FREETYPE_CFLAGS"
19089 # must have for usage with harfbuzz although harfbuzz may not have it.
19090
19091       ac_fn_c_check_header_mongrel "$LINENO" "hb-ft.h" "ac_cv_header_hb_ft_h" "$ac_includes_default"
19092 if test "x$ac_cv_header_hb_ft_h" = xyes; then :
19093
19094            have_harfbuzz_ft="yes"
19095            #Depend on harfbuzz ft for harfbuzz support
19096
19097 $as_echo "#define HAVE_HARFBUZZ 1" >>confdefs.h
19098
19099
19100 else
19101
19102            if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then
19103               as_fn_error $? "Harfbuzz-ft not found (strict dependencies checking)" "$LINENO" 5
19104            fi
19105            have_harfbuzz="no"
19106
19107 fi
19108
19109
19110       CPPFLAGS="$CPPFLAGS_SAVE"
19111    fi
19112 fi
19113
19114 if test "x${have_harfbuzz}" = "xno"; then
19115   HAS_HARFBUZZ=0
19116 fi
19117
19118 # Pixman
19119 have_pixman="no"
19120 # Check whether --enable-pixman was given.
19121 if test "${enable_pixman+set}" = set; then :
19122   enableval=$enable_pixman;
19123     if test "x${enableval}" = "xyes" ; then
19124        want_pixman="yes"
19125     else
19126        want_pixman="no"
19127     fi
19128
19129 fi
19130
19131
19132
19133 if test "x${want_pixman}" = "xyes" -o "x${want_pixman}" = "xauto" ; then
19134
19135 pkg_failed=no
19136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PIXMAN" >&5
19137 $as_echo_n "checking for PIXMAN... " >&6; }
19138
19139 if test -n "$PIXMAN_CFLAGS"; then
19140     pkg_cv_PIXMAN_CFLAGS="$PIXMAN_CFLAGS"
19141  elif test -n "$PKG_CONFIG"; then
19142     if test -n "$PKG_CONFIG" && \
19143     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5
19144   ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5
19145   ac_status=$?
19146   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19147   test $ac_status = 0; }; then
19148   pkg_cv_PIXMAN_CFLAGS=`$PKG_CONFIG --cflags "pixman-1" 2>/dev/null`
19149                       test "x$?" != "x0" && pkg_failed=yes
19150 else
19151   pkg_failed=yes
19152 fi
19153  else
19154     pkg_failed=untried
19155 fi
19156 if test -n "$PIXMAN_LIBS"; then
19157     pkg_cv_PIXMAN_LIBS="$PIXMAN_LIBS"
19158  elif test -n "$PKG_CONFIG"; then
19159     if test -n "$PKG_CONFIG" && \
19160     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5
19161   ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5
19162   ac_status=$?
19163   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19164   test $ac_status = 0; }; then
19165   pkg_cv_PIXMAN_LIBS=`$PKG_CONFIG --libs "pixman-1" 2>/dev/null`
19166                       test "x$?" != "x0" && pkg_failed=yes
19167 else
19168   pkg_failed=yes
19169 fi
19170  else
19171     pkg_failed=untried
19172 fi
19173
19174
19175
19176 if test $pkg_failed = yes; then
19177         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19178 $as_echo "no" >&6; }
19179
19180 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19181         _pkg_short_errors_supported=yes
19182 else
19183         _pkg_short_errors_supported=no
19184 fi
19185         if test $_pkg_short_errors_supported = yes; then
19186                 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pixman-1" 2>&1`
19187         else
19188                 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pixman-1" 2>&1`
19189         fi
19190         # Put the nasty error message in config.log where it belongs
19191         echo "$PIXMAN_PKG_ERRORS" >&5
19192
19193
19194        if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then
19195           as_fn_error $? "Pixman not found (strict dependencies checking)" "$LINENO" 5
19196        fi
19197
19198 elif test $pkg_failed = untried; then
19199         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19200 $as_echo "no" >&6; }
19201
19202        if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then
19203           as_fn_error $? "Pixman not found (strict dependencies checking)" "$LINENO" 5
19204        fi
19205
19206 else
19207         PIXMAN_CFLAGS=$pkg_cv_PIXMAN_CFLAGS
19208         PIXMAN_LIBS=$pkg_cv_PIXMAN_LIBS
19209         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19210 $as_echo "yes" >&6; }
19211
19212        have_pixman="yes"
19213
19214 $as_echo "#define HAVE_PIXMAN 1" >>confdefs.h
19215
19216        requirement_evas="pixman-1 ${requirement_evas}"
19217
19218 fi
19219 fi
19220
19221 have_pixman_font="no"
19222 # Check whether --enable-pixman-font was given.
19223 if test "${enable_pixman_font+set}" = set; then :
19224   enableval=$enable_pixman_font;
19225     have_pixman_font="yes"
19226
19227 $as_echo "#define PIXMAN_FONT 1" >>confdefs.h
19228
19229
19230
19231 fi
19232
19233
19234 have_pixman_rect="no"
19235 # Check whether --enable-pixman-rect was given.
19236 if test "${enable_pixman_rect+set}" = set; then :
19237   enableval=$enable_pixman_rect;
19238     have_pixman_rect="yes"
19239
19240 $as_echo "#define PIXMAN_RECT 1" >>confdefs.h
19241
19242
19243
19244 fi
19245
19246
19247 have_pixman_line="no"
19248 # Check whether --enable-pixman-line was given.
19249 if test "${enable_pixman_line+set}" = set; then :
19250   enableval=$enable_pixman_line;
19251     have_pixman_line="yes"
19252
19253 $as_echo "#define PIXMAN_LINE 1" >>confdefs.h
19254
19255
19256
19257 fi
19258
19259
19260 have_pixman_poly="no"
19261 # Check whether --enable-pixman-poly was given.
19262 if test "${enable_pixman_poly+set}" = set; then :
19263   enableval=$enable_pixman_poly;
19264     have_pixman_poly="yes"
19265
19266 $as_echo "#define PIXMAN_POLY 1" >>confdefs.h
19267
19268
19269
19270 fi
19271
19272
19273 have_pixman_image="no"
19274 # Check whether --enable-pixman-image was given.
19275 if test "${enable_pixman_image+set}" = set; then :
19276   enableval=$enable_pixman_image;
19277     have_pixman_image="yes"
19278
19279 $as_echo "#define PIXMAN_IMAGE 1" >>confdefs.h
19280
19281
19282
19283 fi
19284
19285
19286 have_pixman_image_scale_sample="no"
19287 # Check whether --enable-pixman-image-scale-sample was given.
19288 if test "${enable_pixman_image_scale_sample+set}" = set; then :
19289   enableval=$enable_pixman_image_scale_sample;
19290     have_pixman_image_scale_sample="yes"
19291
19292 $as_echo "#define PIXMAN_IMAGE_SCALE_SAMPLE 1" >>confdefs.h
19293
19294
19295
19296 fi
19297
19298
19299 have_tile_rotate="no"
19300 # Check whether --enable-tile-rotate was given.
19301 if test "${enable_tile_rotate+set}" = set; then :
19302   enableval=$enable_tile_rotate;
19303     have_tile_rotate="yes"
19304
19305 $as_echo "#define TILE_ROTATE 1" >>confdefs.h
19306
19307
19308
19309 fi
19310
19311
19312 ### Checks for header files
19313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19314 $as_echo_n "checking for ANSI C header files... " >&6; }
19315 if ${ac_cv_header_stdc+:} false; then :
19316   $as_echo_n "(cached) " >&6
19317 else
19318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19319 /* end confdefs.h.  */
19320 #include <stdlib.h>
19321 #include <stdarg.h>
19322 #include <string.h>
19323 #include <float.h>
19324
19325 int
19326 main ()
19327 {
19328
19329   ;
19330   return 0;
19331 }
19332 _ACEOF
19333 if ac_fn_c_try_compile "$LINENO"; then :
19334   ac_cv_header_stdc=yes
19335 else
19336   ac_cv_header_stdc=no
19337 fi
19338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19339
19340 if test $ac_cv_header_stdc = yes; then
19341   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19343 /* end confdefs.h.  */
19344 #include <string.h>
19345
19346 _ACEOF
19347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19348   $EGREP "memchr" >/dev/null 2>&1; then :
19349
19350 else
19351   ac_cv_header_stdc=no
19352 fi
19353 rm -f conftest*
19354
19355 fi
19356
19357 if test $ac_cv_header_stdc = yes; then
19358   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19359   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19360 /* end confdefs.h.  */
19361 #include <stdlib.h>
19362
19363 _ACEOF
19364 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19365   $EGREP "free" >/dev/null 2>&1; then :
19366
19367 else
19368   ac_cv_header_stdc=no
19369 fi
19370 rm -f conftest*
19371
19372 fi
19373
19374 if test $ac_cv_header_stdc = yes; then
19375   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19376   if test "$cross_compiling" = yes; then :
19377   :
19378 else
19379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19380 /* end confdefs.h.  */
19381 #include <ctype.h>
19382 #include <stdlib.h>
19383 #if ((' ' & 0x0FF) == 0x020)
19384 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19385 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19386 #else
19387 # define ISLOWER(c) \
19388                    (('a' <= (c) && (c) <= 'i') \
19389                      || ('j' <= (c) && (c) <= 'r') \
19390                      || ('s' <= (c) && (c) <= 'z'))
19391 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19392 #endif
19393
19394 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19395 int
19396 main ()
19397 {
19398   int i;
19399   for (i = 0; i < 256; i++)
19400     if (XOR (islower (i), ISLOWER (i))
19401         || toupper (i) != TOUPPER (i))
19402       return 2;
19403   return 0;
19404 }
19405 _ACEOF
19406 if ac_fn_c_try_run "$LINENO"; then :
19407
19408 else
19409   ac_cv_header_stdc=no
19410 fi
19411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19412   conftest.$ac_objext conftest.beam conftest.$ac_ext
19413 fi
19414
19415 fi
19416 fi
19417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19418 $as_echo "$ac_cv_header_stdc" >&6; }
19419 if test $ac_cv_header_stdc = yes; then
19420
19421 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19422
19423 fi
19424
19425 for ac_header in unistd.h stdint.h sys/param.h netinet/in.h sys/mman.h
19426 do :
19427   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19428 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19429 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19430   cat >>confdefs.h <<_ACEOF
19431 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19432 _ACEOF
19433
19434 fi
19435
19436 done
19437
19438
19439
19440 default_max="4096"
19441 ac_ext=c
19442 ac_cpp='$CPP $CPPFLAGS'
19443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19446
19447
19448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
19449 $as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
19450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19451 /* end confdefs.h.  */
19452
19453 #include <limits.h>
19454
19455 int
19456 main ()
19457 {
19458
19459 int i = PATH_MAX;
19460
19461   ;
19462   return 0;
19463 }
19464 _ACEOF
19465 if ac_fn_c_try_compile "$LINENO"; then :
19466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19467 $as_echo "yes" >&6; }
19468 else
19469
19470
19471 cat >>confdefs.h <<_ACEOF
19472 #define PATH_MAX ${default_max}
19473 _ACEOF
19474
19475     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
19476 $as_echo "no: using ${default_max}" >&6; }
19477
19478 fi
19479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19480
19481 ac_ext=c
19482 ac_cpp='$CPP $CPPFLAGS'
19483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19486
19487
19488
19489
19490 ### Checks for types
19491 ac_fn_c_check_type "$LINENO" "struct sigaction" "ac_cv_type_struct_sigaction" "#include <signal.h>
19492 "
19493 if test "x$ac_cv_type_struct_sigaction" = xyes; then :
19494
19495 cat >>confdefs.h <<_ACEOF
19496 #define HAVE_STRUCT_SIGACTION 1
19497 _ACEOF
19498
19499
19500 fi
19501
19502
19503
19504 ### Checks for structures
19505
19506
19507 ### Checks for compiler characteristics
19508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
19509 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
19510 if ${ac_cv_c_const+:} false; then :
19511   $as_echo_n "(cached) " >&6
19512 else
19513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19514 /* end confdefs.h.  */
19515
19516 int
19517 main ()
19518 {
19519
19520 #ifndef __cplusplus
19521   /* Ultrix mips cc rejects this sort of thing.  */
19522   typedef int charset[2];
19523   const charset cs = { 0, 0 };
19524   /* SunOS 4.1.1 cc rejects this.  */
19525   char const *const *pcpcc;
19526   char **ppc;
19527   /* NEC SVR4.0.2 mips cc rejects this.  */
19528   struct point {int x, y;};
19529   static struct point const zero = {0,0};
19530   /* AIX XL C 1.02.0.0 rejects this.
19531      It does not let you subtract one const X* pointer from another in
19532      an arm of an if-expression whose if-part is not a constant
19533      expression */
19534   const char *g = "string";
19535   pcpcc = &g + (g ? g-g : 0);
19536   /* HPUX 7.0 cc rejects these. */
19537   ++pcpcc;
19538   ppc = (char**) pcpcc;
19539   pcpcc = (char const *const *) ppc;
19540   { /* SCO 3.2v4 cc rejects this sort of thing.  */
19541     char tx;
19542     char *t = &tx;
19543     char const *s = 0 ? (char *) 0 : (char const *) 0;
19544
19545     *t++ = 0;
19546     if (s) return 0;
19547   }
19548   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
19549     int x[] = {25, 17};
19550     const int *foo = &x[0];
19551     ++foo;
19552   }
19553   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19554     typedef const int *iptr;
19555     iptr p = 0;
19556     ++p;
19557   }
19558   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
19559        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19560     struct s { int j; const int *ap[3]; } bx;
19561     struct s *b = &bx; b->j = 5;
19562   }
19563   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19564     const int foo = 10;
19565     if (!foo) return 0;
19566   }
19567   return !cs[0] && !zero.x;
19568 #endif
19569
19570   ;
19571   return 0;
19572 }
19573 _ACEOF
19574 if ac_fn_c_try_compile "$LINENO"; then :
19575   ac_cv_c_const=yes
19576 else
19577   ac_cv_c_const=no
19578 fi
19579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19580 fi
19581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
19582 $as_echo "$ac_cv_c_const" >&6; }
19583 if test $ac_cv_c_const = no; then
19584
19585 $as_echo "#define const /**/" >>confdefs.h
19586
19587 fi
19588
19589  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
19590 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
19591 if ${ac_cv_c_bigendian+:} false; then :
19592   $as_echo_n "(cached) " >&6
19593 else
19594   ac_cv_c_bigendian=unknown
19595     # See if we're dealing with a universal compiler.
19596     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19597 /* end confdefs.h.  */
19598 #ifndef __APPLE_CC__
19599                not a universal capable compiler
19600              #endif
19601              typedef int dummy;
19602
19603 _ACEOF
19604 if ac_fn_c_try_compile "$LINENO"; then :
19605
19606         # Check for potential -arch flags.  It is not universal unless
19607         # there are at least two -arch flags with different values.
19608         ac_arch=
19609         ac_prev=
19610         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
19611          if test -n "$ac_prev"; then
19612            case $ac_word in
19613              i?86 | x86_64 | ppc | ppc64)
19614                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
19615                  ac_arch=$ac_word
19616                else
19617                  ac_cv_c_bigendian=universal
19618                  break
19619                fi
19620                ;;
19621            esac
19622            ac_prev=
19623          elif test "x$ac_word" = "x-arch"; then
19624            ac_prev=arch
19625          fi
19626        done
19627 fi
19628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19629     if test $ac_cv_c_bigendian = unknown; then
19630       # See if sys/param.h defines the BYTE_ORDER macro.
19631       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19632 /* end confdefs.h.  */
19633 #include <sys/types.h>
19634              #include <sys/param.h>
19635
19636 int
19637 main ()
19638 {
19639 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
19640                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
19641                      && LITTLE_ENDIAN)
19642               bogus endian macros
19643              #endif
19644
19645   ;
19646   return 0;
19647 }
19648 _ACEOF
19649 if ac_fn_c_try_compile "$LINENO"; then :
19650   # It does; now see whether it defined to BIG_ENDIAN or not.
19651          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19652 /* end confdefs.h.  */
19653 #include <sys/types.h>
19654                 #include <sys/param.h>
19655
19656 int
19657 main ()
19658 {
19659 #if BYTE_ORDER != BIG_ENDIAN
19660                  not big endian
19661                 #endif
19662
19663   ;
19664   return 0;
19665 }
19666 _ACEOF
19667 if ac_fn_c_try_compile "$LINENO"; then :
19668   ac_cv_c_bigendian=yes
19669 else
19670   ac_cv_c_bigendian=no
19671 fi
19672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19673 fi
19674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19675     fi
19676     if test $ac_cv_c_bigendian = unknown; then
19677       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
19678       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19679 /* end confdefs.h.  */
19680 #include <limits.h>
19681
19682 int
19683 main ()
19684 {
19685 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
19686               bogus endian macros
19687              #endif
19688
19689   ;
19690   return 0;
19691 }
19692 _ACEOF
19693 if ac_fn_c_try_compile "$LINENO"; then :
19694   # It does; now see whether it defined to _BIG_ENDIAN or not.
19695          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19696 /* end confdefs.h.  */
19697 #include <limits.h>
19698
19699 int
19700 main ()
19701 {
19702 #ifndef _BIG_ENDIAN
19703                  not big endian
19704                 #endif
19705
19706   ;
19707   return 0;
19708 }
19709 _ACEOF
19710 if ac_fn_c_try_compile "$LINENO"; then :
19711   ac_cv_c_bigendian=yes
19712 else
19713   ac_cv_c_bigendian=no
19714 fi
19715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19716 fi
19717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19718     fi
19719     if test $ac_cv_c_bigendian = unknown; then
19720       # Compile a test program.
19721       if test "$cross_compiling" = yes; then :
19722   # Try to guess by grepping values from an object file.
19723          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19724 /* end confdefs.h.  */
19725 short int ascii_mm[] =
19726                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
19727                 short int ascii_ii[] =
19728                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
19729                 int use_ascii (int i) {
19730                   return ascii_mm[i] + ascii_ii[i];
19731                 }
19732                 short int ebcdic_ii[] =
19733                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
19734                 short int ebcdic_mm[] =
19735                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
19736                 int use_ebcdic (int i) {
19737                   return ebcdic_mm[i] + ebcdic_ii[i];
19738                 }
19739                 extern int foo;
19740
19741 int
19742 main ()
19743 {
19744 return use_ascii (foo) == use_ebcdic (foo);
19745   ;
19746   return 0;
19747 }
19748 _ACEOF
19749 if ac_fn_c_try_compile "$LINENO"; then :
19750   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
19751               ac_cv_c_bigendian=yes
19752             fi
19753             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
19754               if test "$ac_cv_c_bigendian" = unknown; then
19755                 ac_cv_c_bigendian=no
19756               else
19757                 # finding both strings is unlikely to happen, but who knows?
19758                 ac_cv_c_bigendian=unknown
19759               fi
19760             fi
19761 fi
19762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19763 else
19764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19765 /* end confdefs.h.  */
19766 $ac_includes_default
19767 int
19768 main ()
19769 {
19770
19771              /* Are we little or big endian?  From Harbison&Steele.  */
19772              union
19773              {
19774                long int l;
19775                char c[sizeof (long int)];
19776              } u;
19777              u.l = 1;
19778              return u.c[sizeof (long int) - 1] == 1;
19779
19780   ;
19781   return 0;
19782 }
19783 _ACEOF
19784 if ac_fn_c_try_run "$LINENO"; then :
19785   ac_cv_c_bigendian=no
19786 else
19787   ac_cv_c_bigendian=yes
19788 fi
19789 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19790   conftest.$ac_objext conftest.beam conftest.$ac_ext
19791 fi
19792
19793     fi
19794 fi
19795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
19796 $as_echo "$ac_cv_c_bigendian" >&6; }
19797  case $ac_cv_c_bigendian in #(
19798    yes)
19799      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
19800 ;; #(
19801    no)
19802       ;; #(
19803    universal)
19804
19805 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
19806
19807      ;; #(
19808    *)
19809      as_fn_error $? "unknown endianness
19810  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
19811  esac
19812
19813    case $ac_cv_prog_cc_stdc in #(
19814   no) :
19815     ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
19816   *) :
19817     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
19818 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
19819 if ${ac_cv_prog_cc_c99+:} false; then :
19820   $as_echo_n "(cached) " >&6
19821 else
19822   ac_cv_prog_cc_c99=no
19823 ac_save_CC=$CC
19824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19825 /* end confdefs.h.  */
19826 #include <stdarg.h>
19827 #include <stdbool.h>
19828 #include <stdlib.h>
19829 #include <wchar.h>
19830 #include <stdio.h>
19831
19832 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
19833 #define debug(...) fprintf (stderr, __VA_ARGS__)
19834 #define showlist(...) puts (#__VA_ARGS__)
19835 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
19836 static void
19837 test_varargs_macros (void)
19838 {
19839   int x = 1234;
19840   int y = 5678;
19841   debug ("Flag");
19842   debug ("X = %d\n", x);
19843   showlist (The first, second, and third items.);
19844   report (x>y, "x is %d but y is %d", x, y);
19845 }
19846
19847 // Check long long types.
19848 #define BIG64 18446744073709551615ull
19849 #define BIG32 4294967295ul
19850 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
19851 #if !BIG_OK
19852   your preprocessor is broken;
19853 #endif
19854 #if BIG_OK
19855 #else
19856   your preprocessor is broken;
19857 #endif
19858 static long long int bignum = -9223372036854775807LL;
19859 static unsigned long long int ubignum = BIG64;
19860
19861 struct incomplete_array
19862 {
19863   int datasize;
19864   double data[];
19865 };
19866
19867 struct named_init {
19868   int number;
19869   const wchar_t *name;
19870   double average;
19871 };
19872
19873 typedef const char *ccp;
19874
19875 static inline int
19876 test_restrict (ccp restrict text)
19877 {
19878   // See if C++-style comments work.
19879   // Iterate through items via the restricted pointer.
19880   // Also check for declarations in for loops.
19881   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
19882     continue;
19883   return 0;
19884 }
19885
19886 // Check varargs and va_copy.
19887 static void
19888 test_varargs (const char *format, ...)
19889 {
19890   va_list args;
19891   va_start (args, format);
19892   va_list args_copy;
19893   va_copy (args_copy, args);
19894
19895   const char *str;
19896   int number;
19897   float fnumber;
19898
19899   while (*format)
19900     {
19901       switch (*format++)
19902         {
19903         case 's': // string
19904           str = va_arg (args_copy, const char *);
19905           break;
19906         case 'd': // int
19907           number = va_arg (args_copy, int);
19908           break;
19909         case 'f': // float
19910           fnumber = va_arg (args_copy, double);
19911           break;
19912         default:
19913           break;
19914         }
19915     }
19916   va_end (args_copy);
19917   va_end (args);
19918 }
19919
19920 int
19921 main ()
19922 {
19923
19924   // Check bool.
19925   _Bool success = false;
19926
19927   // Check restrict.
19928   if (test_restrict ("String literal") == 0)
19929     success = true;
19930   char *restrict newvar = "Another string";
19931
19932   // Check varargs.
19933   test_varargs ("s, d' f .", "string", 65, 34.234);
19934   test_varargs_macros ();
19935
19936   // Check flexible array members.
19937   struct incomplete_array *ia =
19938     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
19939   ia->datasize = 10;
19940   for (int i = 0; i < ia->datasize; ++i)
19941     ia->data[i] = i * 1.234;
19942
19943   // Check named initializers.
19944   struct named_init ni = {
19945     .number = 34,
19946     .name = L"Test wide string",
19947     .average = 543.34343,
19948   };
19949
19950   ni.number = 58;
19951
19952   int dynamic_array[ni.number];
19953   dynamic_array[ni.number - 1] = 543;
19954
19955   // work around unused variable warnings
19956   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
19957           || dynamic_array[ni.number - 1] != 543);
19958
19959   ;
19960   return 0;
19961 }
19962 _ACEOF
19963 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
19964 do
19965   CC="$ac_save_CC $ac_arg"
19966   if ac_fn_c_try_compile "$LINENO"; then :
19967   ac_cv_prog_cc_c99=$ac_arg
19968 fi
19969 rm -f core conftest.err conftest.$ac_objext
19970   test "x$ac_cv_prog_cc_c99" != "xno" && break
19971 done
19972 rm -f conftest.$ac_ext
19973 CC=$ac_save_CC
19974
19975 fi
19976 # AC_CACHE_VAL
19977 case "x$ac_cv_prog_cc_c99" in
19978   x)
19979     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
19980 $as_echo "none needed" >&6; } ;;
19981   xno)
19982     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
19983 $as_echo "unsupported" >&6; } ;;
19984   *)
19985     CC="$CC $ac_cv_prog_cc_c99"
19986     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
19987 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
19988 esac
19989 if test "x$ac_cv_prog_cc_c99" != xno; then :
19990   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
19991 else
19992   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
19993 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
19994 if ${ac_cv_prog_cc_c89+:} false; then :
19995   $as_echo_n "(cached) " >&6
19996 else
19997   ac_cv_prog_cc_c89=no
19998 ac_save_CC=$CC
19999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20000 /* end confdefs.h.  */
20001 #include <stdarg.h>
20002 #include <stdio.h>
20003 struct stat;
20004 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
20005 struct buf { int x; };
20006 FILE * (*rcsopen) (struct buf *, struct stat *, int);
20007 static char *e (p, i)
20008      char **p;
20009      int i;
20010 {
20011   return p[i];
20012 }
20013 static char *f (char * (*g) (char **, int), char **p, ...)
20014 {
20015   char *s;
20016   va_list v;
20017   va_start (v,p);
20018   s = g (p, va_arg (v,int));
20019   va_end (v);
20020   return s;
20021 }
20022
20023 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
20024    function prototypes and stuff, but not '\xHH' hex character constants.
20025    These don't provoke an error unfortunately, instead are silently treated
20026    as 'x'.  The following induces an error, until -std is added to get
20027    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
20028    array size at least.  It's necessary to write '\x00'==0 to get something
20029    that's true only with -std.  */
20030 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
20031
20032 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
20033    inside strings and character constants.  */
20034 #define FOO(x) 'x'
20035 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
20036
20037 int test (int i, double x);
20038 struct s1 {int (*f) (int a);};
20039 struct s2 {int (*f) (double a);};
20040 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
20041 int argc;
20042 char **argv;
20043 int
20044 main ()
20045 {
20046 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
20047   ;
20048   return 0;
20049 }
20050 _ACEOF
20051 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
20052         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
20053 do
20054   CC="$ac_save_CC $ac_arg"
20055   if ac_fn_c_try_compile "$LINENO"; then :
20056   ac_cv_prog_cc_c89=$ac_arg
20057 fi
20058 rm -f core conftest.err conftest.$ac_objext
20059   test "x$ac_cv_prog_cc_c89" != "xno" && break
20060 done
20061 rm -f conftest.$ac_ext
20062 CC=$ac_save_CC
20063
20064 fi
20065 # AC_CACHE_VAL
20066 case "x$ac_cv_prog_cc_c89" in
20067   x)
20068     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
20069 $as_echo "none needed" >&6; } ;;
20070   xno)
20071     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
20072 $as_echo "unsupported" >&6; } ;;
20073   *)
20074     CC="$CC $ac_cv_prog_cc_c89"
20075     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
20076 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
20077 esac
20078 if test "x$ac_cv_prog_cc_c89" != xno; then :
20079   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
20080 else
20081   ac_cv_prog_cc_stdc=no
20082 fi
20083
20084 fi
20085  ;;
20086 esac
20087   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
20088 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
20089   if ${ac_cv_prog_cc_stdc+:} false; then :
20090   $as_echo_n "(cached) " >&6
20091 fi
20092
20093   case $ac_cv_prog_cc_stdc in #(
20094   no) :
20095     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
20096 $as_echo "unsupported" >&6; } ;; #(
20097   '') :
20098     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
20099 $as_echo "none needed" >&6; } ;; #(
20100   *) :
20101     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
20102 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
20103 esac
20104
20105
20106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__ ((unused))" >&5
20107 $as_echo_n "checking for __attribute__ ((unused))... " >&6; }
20108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20109 /* end confdefs.h.  */
20110
20111 void foo(int x __attribute__ ((unused))) {}
20112
20113 int
20114 main ()
20115 {
20116
20117
20118   ;
20119   return 0;
20120 }
20121 _ACEOF
20122 if ac_fn_c_try_compile "$LINENO"; then :
20123   have_attribute_unused="yes"
20124 else
20125   have_attribute_unused="no"
20126 fi
20127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_unused}" >&5
20129 $as_echo "${have_attribute_unused}" >&6; }
20130
20131 if test "x${have_attribute_unused}" = "xyes" ; then
20132
20133 $as_echo "#define __UNUSED__ __attribute__ ((unused))" >>confdefs.h
20134
20135 else
20136
20137 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
20138
20139 fi
20140
20141
20142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__ ((vector))" >&5
20143 $as_echo_n "checking for __attribute__ ((vector))... " >&6; }
20144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20145 /* end confdefs.h.  */
20146
20147 typedef int v4si __attribute__ ((vector_size (16)));
20148
20149 int
20150 main ()
20151 {
20152
20153 if (sizeof(v4si) == 16)
20154   return 0;
20155 else
20156   return -1;
20157
20158   ;
20159   return 0;
20160 }
20161 _ACEOF
20162 if ac_fn_c_try_compile "$LINENO"; then :
20163   have_attribute_vector="yes"
20164 else
20165   have_attribute_vector="no"
20166 fi
20167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_vector}" >&5
20169 $as_echo "${have_attribute_vector}" >&6; }
20170
20171 if test "x${have_attribute_vector}" = "xyes" ; then
20172
20173 $as_echo "#define HAVE_GCC_ATTRIBUTE_VECTOR 1" >>confdefs.h
20174
20175 fi
20176
20177
20178
20179 have_attribute_forceinline="no"
20180
20181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __forceinline" >&5
20182 $as_echo_n "checking for __forceinline... " >&6; }
20183
20184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20185 /* end confdefs.h.  */
20186
20187 #include <windows.h>
20188 static __forceinline void foo(void) {}
20189
20190 int
20191 main ()
20192 {
20193
20194
20195   ;
20196   return 0;
20197 }
20198 _ACEOF
20199 if ac_fn_c_try_compile "$LINENO"; then :
20200
20201     have_attribute_always_inline="yes"
20202     have_attribute_forceinline="yes"
20203
20204 else
20205   have_attribute_always_inline="no"
20206 fi
20207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20208
20209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_always_inline}" >&5
20210 $as_echo "${have_attribute_always_inline}" >&6; }
20211
20212 if test "x${have_attribute_always_inline}" = "xno" ; then
20213    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__ ((__always_inline__))" >&5
20214 $as_echo_n "checking for __attribute__ ((__always_inline__))... " >&6; }
20215    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20216 /* end confdefs.h.  */
20217
20218 static __attribute__((__always_inline__)) inline void foo(void) {}
20219
20220 int
20221 main ()
20222 {
20223
20224
20225   ;
20226   return 0;
20227 }
20228 _ACEOF
20229 if ac_fn_c_try_compile "$LINENO"; then :
20230   have_attribute_always_inline="yes"
20231 else
20232   have_attribute_always_inline="no"
20233 fi
20234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20235    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_always_inline}" >&5
20236 $as_echo "${have_attribute_always_inline}" >&6; }
20237 fi
20238
20239 if test "x${have_attribute_always_inline}" = "xyes" ; then
20240    if test "x${have_attribute_forceinline}" = "xyes" ; then
20241
20242 $as_echo "#define EFL_ALWAYS_INLINE __forceinline" >>confdefs.h
20243
20244    else
20245
20246 $as_echo "#define EFL_ALWAYS_INLINE __attribute__ ((__always_inline__)) inline" >>confdefs.h
20247
20248    fi
20249 else
20250
20251 $as_echo "#define EFL_ALWAYS_INLINE static inline" >>confdefs.h
20252
20253 fi
20254
20255
20256
20257 ### Checks for linker characteristics
20258 lt_enable_auto_import=""
20259 case "${host_os}" in
20260    mingw*)
20261
20262 $as_echo "#define EFL_EVAS_BUILD 1" >>confdefs.h
20263
20264       lt_enable_auto_import="-Wl,--enable-auto-import"
20265    ;;
20266 esac
20267
20268
20269
20270 ### Checks for library functions
20271
20272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
20273 $as_echo_n "checking for library containing strerror... " >&6; }
20274 if ${ac_cv_search_strerror+:} false; then :
20275   $as_echo_n "(cached) " >&6
20276 else
20277   ac_func_search_save_LIBS=$LIBS
20278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20279 /* end confdefs.h.  */
20280
20281 /* Override any GCC internal prototype to avoid an error.
20282    Use char because int might match the return type of a GCC
20283    builtin and then its argument prototype would still apply.  */
20284 #ifdef __cplusplus
20285 extern "C"
20286 #endif
20287 char strerror ();
20288 int
20289 main ()
20290 {
20291 return strerror ();
20292   ;
20293   return 0;
20294 }
20295 _ACEOF
20296 for ac_lib in '' cposix; do
20297   if test -z "$ac_lib"; then
20298     ac_res="none required"
20299   else
20300     ac_res=-l$ac_lib
20301     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20302   fi
20303   if ac_fn_c_try_link "$LINENO"; then :
20304   ac_cv_search_strerror=$ac_res
20305 fi
20306 rm -f core conftest.err conftest.$ac_objext \
20307     conftest$ac_exeext
20308   if ${ac_cv_search_strerror+:} false; then :
20309   break
20310 fi
20311 done
20312 if ${ac_cv_search_strerror+:} false; then :
20313
20314 else
20315   ac_cv_search_strerror=no
20316 fi
20317 rm conftest.$ac_ext
20318 LIBS=$ac_func_search_save_LIBS
20319 fi
20320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
20321 $as_echo "$ac_cv_search_strerror" >&6; }
20322 ac_res=$ac_cv_search_strerror
20323 if test "$ac_res" != no; then :
20324   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20325
20326 fi
20327
20328 for ac_func in siglongjmp fcntl
20329 do :
20330   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20331 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20332 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20333   cat >>confdefs.h <<_ACEOF
20334 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20335 _ACEOF
20336
20337 fi
20338 done
20339
20340
20341 # alloca
20342 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
20343 if test "x$ac_cv_type_size_t" = xyes; then :
20344
20345 else
20346
20347 cat >>confdefs.h <<_ACEOF
20348 #define size_t unsigned int
20349 _ACEOF
20350
20351 fi
20352
20353 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
20354 # for constant arguments.  Useless!
20355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
20356 $as_echo_n "checking for working alloca.h... " >&6; }
20357 if ${ac_cv_working_alloca_h+:} false; then :
20358   $as_echo_n "(cached) " >&6
20359 else
20360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20361 /* end confdefs.h.  */
20362 #include <alloca.h>
20363 int
20364 main ()
20365 {
20366 char *p = (char *) alloca (2 * sizeof (int));
20367                           if (p) return 0;
20368   ;
20369   return 0;
20370 }
20371 _ACEOF
20372 if ac_fn_c_try_link "$LINENO"; then :
20373   ac_cv_working_alloca_h=yes
20374 else
20375   ac_cv_working_alloca_h=no
20376 fi
20377 rm -f core conftest.err conftest.$ac_objext \
20378     conftest$ac_exeext conftest.$ac_ext
20379 fi
20380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
20381 $as_echo "$ac_cv_working_alloca_h" >&6; }
20382 if test $ac_cv_working_alloca_h = yes; then
20383
20384 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
20385
20386 fi
20387
20388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
20389 $as_echo_n "checking for alloca... " >&6; }
20390 if ${ac_cv_func_alloca_works+:} false; then :
20391   $as_echo_n "(cached) " >&6
20392 else
20393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20394 /* end confdefs.h.  */
20395 #ifdef __GNUC__
20396 # define alloca __builtin_alloca
20397 #else
20398 # ifdef _MSC_VER
20399 #  include <malloc.h>
20400 #  define alloca _alloca
20401 # else
20402 #  ifdef HAVE_ALLOCA_H
20403 #   include <alloca.h>
20404 #  else
20405 #   ifdef _AIX
20406  #pragma alloca
20407 #   else
20408 #    ifndef alloca /* predefined by HP cc +Olibcalls */
20409 void *alloca (size_t);
20410 #    endif
20411 #   endif
20412 #  endif
20413 # endif
20414 #endif
20415
20416 int
20417 main ()
20418 {
20419 char *p = (char *) alloca (1);
20420                                     if (p) return 0;
20421   ;
20422   return 0;
20423 }
20424 _ACEOF
20425 if ac_fn_c_try_link "$LINENO"; then :
20426   ac_cv_func_alloca_works=yes
20427 else
20428   ac_cv_func_alloca_works=no
20429 fi
20430 rm -f core conftest.err conftest.$ac_objext \
20431     conftest$ac_exeext conftest.$ac_ext
20432 fi
20433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
20434 $as_echo "$ac_cv_func_alloca_works" >&6; }
20435
20436 if test $ac_cv_func_alloca_works = yes; then
20437
20438 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
20439
20440 else
20441   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
20442 # that cause trouble.  Some versions do not even contain alloca or
20443 # contain a buggy version.  If you still want to use their alloca,
20444 # use ar to extract alloca.o from them instead of compiling alloca.c.
20445
20446 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
20447
20448 $as_echo "#define C_ALLOCA 1" >>confdefs.h
20449
20450
20451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
20452 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
20453 if ${ac_cv_os_cray+:} false; then :
20454   $as_echo_n "(cached) " >&6
20455 else
20456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20457 /* end confdefs.h.  */
20458 #if defined CRAY && ! defined CRAY2
20459 webecray
20460 #else
20461 wenotbecray
20462 #endif
20463
20464 _ACEOF
20465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20466   $EGREP "webecray" >/dev/null 2>&1; then :
20467   ac_cv_os_cray=yes
20468 else
20469   ac_cv_os_cray=no
20470 fi
20471 rm -f conftest*
20472
20473 fi
20474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
20475 $as_echo "$ac_cv_os_cray" >&6; }
20476 if test $ac_cv_os_cray = yes; then
20477   for ac_func in _getb67 GETB67 getb67; do
20478     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20479 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20480 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20481
20482 cat >>confdefs.h <<_ACEOF
20483 #define CRAY_STACKSEG_END $ac_func
20484 _ACEOF
20485
20486     break
20487 fi
20488
20489   done
20490 fi
20491
20492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
20493 $as_echo_n "checking stack direction for C alloca... " >&6; }
20494 if ${ac_cv_c_stack_direction+:} false; then :
20495   $as_echo_n "(cached) " >&6
20496 else
20497   if test "$cross_compiling" = yes; then :
20498   ac_cv_c_stack_direction=0
20499 else
20500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20501 /* end confdefs.h.  */
20502 $ac_includes_default
20503 int
20504 find_stack_direction (int *addr, int depth)
20505 {
20506   int dir, dummy = 0;
20507   if (! addr)
20508     addr = &dummy;
20509   *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
20510   dir = depth ? find_stack_direction (addr, depth - 1) : 0;
20511   return dir + dummy;
20512 }
20513
20514 int
20515 main (int argc, char **argv)
20516 {
20517   return find_stack_direction (0, argc + !argv + 20) < 0;
20518 }
20519 _ACEOF
20520 if ac_fn_c_try_run "$LINENO"; then :
20521   ac_cv_c_stack_direction=1
20522 else
20523   ac_cv_c_stack_direction=-1
20524 fi
20525 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20526   conftest.$ac_objext conftest.beam conftest.$ac_ext
20527 fi
20528
20529 fi
20530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
20531 $as_echo "$ac_cv_c_stack_direction" >&6; }
20532 cat >>confdefs.h <<_ACEOF
20533 #define STACK_DIRECTION $ac_cv_c_stack_direction
20534 _ACEOF
20535
20536
20537 fi
20538
20539
20540 # fnmatch
20541
20542
20543 ac_fn_c_check_header_mongrel "$LINENO" "fnmatch.h" "ac_cv_header_fnmatch_h" "$ac_includes_default"
20544 if test "x$ac_cv_header_fnmatch_h" = xyes; then :
20545   _efl_have_fnmatch="yes"
20546 else
20547   _efl_have_fnmatch="no"
20548 fi
20549
20550
20551
20552 if test "x${_efl_have_fnmatch}" = "xyes" ; then
20553    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fnmatch" >&5
20554 $as_echo_n "checking for library containing fnmatch... " >&6; }
20555 if ${ac_cv_search_fnmatch+:} false; then :
20556   $as_echo_n "(cached) " >&6
20557 else
20558   ac_func_search_save_LIBS=$LIBS
20559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20560 /* end confdefs.h.  */
20561
20562 /* Override any GCC internal prototype to avoid an error.
20563    Use char because int might match the return type of a GCC
20564    builtin and then its argument prototype would still apply.  */
20565 #ifdef __cplusplus
20566 extern "C"
20567 #endif
20568 char fnmatch ();
20569 int
20570 main ()
20571 {
20572 return fnmatch ();
20573   ;
20574   return 0;
20575 }
20576 _ACEOF
20577 for ac_lib in '' fnmatch evil exotic iberty; do
20578   if test -z "$ac_lib"; then
20579     ac_res="none required"
20580   else
20581     ac_res=-l$ac_lib
20582     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20583   fi
20584   if ac_fn_c_try_link "$LINENO"; then :
20585   ac_cv_search_fnmatch=$ac_res
20586 fi
20587 rm -f core conftest.err conftest.$ac_objext \
20588     conftest$ac_exeext
20589   if ${ac_cv_search_fnmatch+:} false; then :
20590   break
20591 fi
20592 done
20593 if ${ac_cv_search_fnmatch+:} false; then :
20594
20595 else
20596   ac_cv_search_fnmatch=no
20597 fi
20598 rm conftest.$ac_ext
20599 LIBS=$ac_func_search_save_LIBS
20600 fi
20601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fnmatch" >&5
20602 $as_echo "$ac_cv_search_fnmatch" >&6; }
20603 ac_res=$ac_cv_search_fnmatch
20604 if test "$ac_res" != no; then :
20605   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20606   _efl_have_fnmatch="yes"
20607 else
20608   _efl_have_fnmatch="no"
20609 fi
20610
20611 fi
20612
20613 EFL_FNMATCH_LIBS=""
20614
20615 if (! test "x${ac_cv_search_fnmatch}" = "xnone required") && (! test "x${ac_cv_search_fnmatch}" = "xno") && (! test "x${ac_cv_search_fnmatch}" = "x-levil") ; then
20616    EFL_FNMATCH_LIBS=${ac_cv_search_fnmatch}
20617 fi
20618
20619
20620
20621 if test "x$_efl_have_fnmatch" = "xyes"; then :
20622
20623 else
20624   as_fn_error $? "Cannot find fnmatch()" "$LINENO" 5
20625 fi
20626
20627
20628
20629 # dlopen
20630 dlopen_libs=""
20631 case "$host_os" in
20632   mingw32ce*)
20633 # managed by evil
20634     $as_echo "#define HAVE_DLSYM 1" >>confdefs.h
20635
20636   ;;
20637   mingw*)
20638 # nothing on mingw platform
20639   ;;
20640   *)
20641     for ac_func in dlsym
20642 do :
20643   ac_fn_c_check_func "$LINENO" "dlsym" "ac_cv_func_dlsym"
20644 if test "x$ac_cv_func_dlsym" = xyes; then :
20645   cat >>confdefs.h <<_ACEOF
20646 #define HAVE_DLSYM 1
20647 _ACEOF
20648  res=yes
20649 else
20650   res=no
20651 fi
20652 done
20653
20654     if test "x$res" = "xyes"; then
20655       $as_echo "#define HAVE_DLSYM 1" >>confdefs.h
20656
20657     else
20658       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
20659 $as_echo_n "checking for dlsym in -ldl... " >&6; }
20660 if ${ac_cv_lib_dl_dlsym+:} false; then :
20661   $as_echo_n "(cached) " >&6
20662 else
20663   ac_check_lib_save_LIBS=$LIBS
20664 LIBS="-ldl  $LIBS"
20665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20666 /* end confdefs.h.  */
20667
20668 /* Override any GCC internal prototype to avoid an error.
20669    Use char because int might match the return type of a GCC
20670    builtin and then its argument prototype would still apply.  */
20671 #ifdef __cplusplus
20672 extern "C"
20673 #endif
20674 char dlsym ();
20675 int
20676 main ()
20677 {
20678 return dlsym ();
20679   ;
20680   return 0;
20681 }
20682 _ACEOF
20683 if ac_fn_c_try_link "$LINENO"; then :
20684   ac_cv_lib_dl_dlsym=yes
20685 else
20686   ac_cv_lib_dl_dlsym=no
20687 fi
20688 rm -f core conftest.err conftest.$ac_objext \
20689     conftest$ac_exeext conftest.$ac_ext
20690 LIBS=$ac_check_lib_save_LIBS
20691 fi
20692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
20693 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
20694 if test "x$ac_cv_lib_dl_dlsym" = xyes; then :
20695   res=yes
20696 else
20697   res=no
20698 fi
20699
20700       if test "x$res" = "xyes"; then
20701         dlopen_libs=-ldl
20702         $as_echo "#define HAVE_DLSYM 1" >>confdefs.h
20703
20704       else
20705         want_evas_engine_gl_xlib="no"
20706         want_evas_engine_gl_xcb="no"
20707         want_evas_engine_gl_sdl="no"
20708       fi
20709     fi
20710 esac
20711
20712
20713 res=no
20714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround in -lm" >&5
20715 $as_echo_n "checking for lround in -lm... " >&6; }
20716 if ${ac_cv_lib_m_lround+:} false; then :
20717   $as_echo_n "(cached) " >&6
20718 else
20719   ac_check_lib_save_LIBS=$LIBS
20720 LIBS="-lm  $LIBS"
20721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20722 /* end confdefs.h.  */
20723
20724 /* Override any GCC internal prototype to avoid an error.
20725    Use char because int might match the return type of a GCC
20726    builtin and then its argument prototype would still apply.  */
20727 #ifdef __cplusplus
20728 extern "C"
20729 #endif
20730 char lround ();
20731 int
20732 main ()
20733 {
20734 return lround ();
20735   ;
20736   return 0;
20737 }
20738 _ACEOF
20739 if ac_fn_c_try_link "$LINENO"; then :
20740   ac_cv_lib_m_lround=yes
20741 else
20742   ac_cv_lib_m_lround=no
20743 fi
20744 rm -f core conftest.err conftest.$ac_objext \
20745     conftest$ac_exeext conftest.$ac_ext
20746 LIBS=$ac_check_lib_save_LIBS
20747 fi
20748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lround" >&5
20749 $as_echo "$ac_cv_lib_m_lround" >&6; }
20750 if test "x$ac_cv_lib_m_lround" = xyes; then :
20751   res=yes
20752 else
20753   res=no
20754 fi
20755
20756 if test "x$res" = "xyes"; then
20757
20758 $as_echo "#define HAVE_LROUND 1" >>confdefs.h
20759
20760 fi
20761
20762 if test "x${want_evas_image_loader_generic}" = "xyes" ; then
20763
20764 _efl_have_shm_open="no"
20765
20766
20767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in libc" >&5
20768 $as_echo_n "checking for shm_open in libc... " >&6; }
20769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20770 /* end confdefs.h.  */
20771
20772 #include <sys/mman.h>
20773 #include <sys/stat.h>        /* For mode constants */
20774 #include <fcntl.h>           /* For O_* constants */
20775
20776 int
20777 main ()
20778 {
20779
20780 int fd;
20781
20782 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
20783
20784   ;
20785   return 0;
20786 }
20787 _ACEOF
20788 if ac_fn_c_try_link "$LINENO"; then :
20789   _efl_have_shm_open="yes"
20790 else
20791   _efl_have_shm_open="no"
20792 fi
20793 rm -f core conftest.err conftest.$ac_objext \
20794     conftest$ac_exeext conftest.$ac_ext
20795
20796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
20797 $as_echo "${_efl_have_shm_open}" >&6; }
20798
20799 if test "x${_efl_have_shm_open}" = "xno" ; then
20800    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in librt" >&5
20801 $as_echo_n "checking for shm_open in librt... " >&6; }
20802
20803    LIBS_save="${LIBS}"
20804    LIBS="${LIBS} -lrt"
20805    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20806 /* end confdefs.h.  */
20807
20808 #include <sys/mman.h>
20809 #include <sys/stat.h>        /* For mode constants */
20810 #include <fcntl.h>           /* For O_* constants */
20811
20812 int
20813 main ()
20814 {
20815
20816 int fd;
20817
20818 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
20819
20820   ;
20821   return 0;
20822 }
20823 _ACEOF
20824 if ac_fn_c_try_link "$LINENO"; then :
20825
20826        EFL_SHM_OPEN_LIBS="-lrt"
20827        _efl_have_shm_open="yes"
20828
20829 else
20830   _efl_have_shm_open="no"
20831 fi
20832 rm -f core conftest.err conftest.$ac_objext \
20833     conftest$ac_exeext conftest.$ac_ext
20834
20835    LIBS="${LIBS_save}"
20836
20837    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
20838 $as_echo "${_efl_have_shm_open}" >&6; }
20839 fi
20840
20841
20842
20843 if test "x${_efl_have_shm_open}" = "xyes" ; then
20844
20845 $as_echo "#define HAVE_SHM_OPEN 1" >>confdefs.h
20846
20847 fi
20848
20849 if test "x${_efl_have_shm_open}" = "xyes"; then :
20850
20851 fi
20852
20853
20854 fi
20855
20856 # (shm_open (for cache server)
20857 # Check whether --enable-evas-cserve was given.
20858 if test "${enable_evas_cserve+set}" = set; then :
20859   enableval=$enable_evas_cserve;
20860     if test "x${enableval}" = "xyes" ; then
20861        want_evas_cserve="yes"
20862     else
20863        want_evas_cserve="no"
20864     fi
20865
20866 fi
20867
20868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared cache server and support" >&5
20869 $as_echo_n "checking whether to build shared cache server and support... " >&6; }
20870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_evas_cserve}" >&5
20871 $as_echo "${want_evas_cserve}" >&6; }
20872
20873 # (shm_open (for cache server)
20874 # Check whether --enable-evas-cserve2 was given.
20875 if test "${enable_evas_cserve2+set}" = set; then :
20876   enableval=$enable_evas_cserve2;
20877     if test "x${enableval}" = "xyes" ; then
20878        want_evas_cserve2="yes"
20879     else
20880        want_evas_cserve2="no"
20881     fi
20882
20883 fi
20884
20885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared cache server 2 and support" >&5
20886 $as_echo_n "checking whether to build shared cache server 2 and support... " >&6; }
20887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_evas_cserve2}" >&5
20888 $as_echo "${want_evas_cserve2}" >&6; }
20889
20890 # cserve2 only works on Linux so far.
20891 if test "x${want_evas_cserve2}" = "xyes" ; then
20892    for ac_header in sys/epoll.h sys/inotify.h sys/signalfd.h
20893 do :
20894   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20895 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20896 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20897   cat >>confdefs.h <<_ACEOF
20898 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20899 _ACEOF
20900
20901 else
20902
20903        want_evas_cserve2="no"
20904
20905
20906 fi
20907
20908 done
20909
20910 fi
20911
20912 if test "x${want_evas_cserve2}" = "xyes"; then
20913    want_evas_cserve="no"
20914 fi
20915
20916 shm_open_libs=""
20917 if test "x${want_evas_cserve}" = "xyes" -o "x${want_evas_cserve2}" = "xyes" ; then
20918
20919 _efl_have_shm_open="no"
20920
20921
20922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in libc" >&5
20923 $as_echo_n "checking for shm_open in libc... " >&6; }
20924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20925 /* end confdefs.h.  */
20926
20927 #include <sys/mman.h>
20928 #include <sys/stat.h>        /* For mode constants */
20929 #include <fcntl.h>           /* For O_* constants */
20930
20931 int
20932 main ()
20933 {
20934
20935 int fd;
20936
20937 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
20938
20939   ;
20940   return 0;
20941 }
20942 _ACEOF
20943 if ac_fn_c_try_link "$LINENO"; then :
20944   _efl_have_shm_open="yes"
20945 else
20946   _efl_have_shm_open="no"
20947 fi
20948 rm -f core conftest.err conftest.$ac_objext \
20949     conftest$ac_exeext conftest.$ac_ext
20950
20951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
20952 $as_echo "${_efl_have_shm_open}" >&6; }
20953
20954 if test "x${_efl_have_shm_open}" = "xno" ; then
20955    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in librt" >&5
20956 $as_echo_n "checking for shm_open in librt... " >&6; }
20957
20958    LIBS_save="${LIBS}"
20959    LIBS="${LIBS} -lrt"
20960    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20961 /* end confdefs.h.  */
20962
20963 #include <sys/mman.h>
20964 #include <sys/stat.h>        /* For mode constants */
20965 #include <fcntl.h>           /* For O_* constants */
20966
20967 int
20968 main ()
20969 {
20970
20971 int fd;
20972
20973 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
20974
20975   ;
20976   return 0;
20977 }
20978 _ACEOF
20979 if ac_fn_c_try_link "$LINENO"; then :
20980
20981        EFL_SHM_OPEN_LIBS="-lrt"
20982        _efl_have_shm_open="yes"
20983
20984 else
20985   _efl_have_shm_open="no"
20986 fi
20987 rm -f core conftest.err conftest.$ac_objext \
20988     conftest$ac_exeext conftest.$ac_ext
20989
20990    LIBS="${LIBS_save}"
20991
20992    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
20993 $as_echo "${_efl_have_shm_open}" >&6; }
20994 fi
20995
20996
20997
20998 if test "x${_efl_have_shm_open}" = "xyes" ; then
20999
21000 $as_echo "#define HAVE_SHM_OPEN 1" >>confdefs.h
21001
21002 fi
21003
21004 if test "x${_efl_have_shm_open}" = "xyes"; then :
21005
21006        shm_open_libs=${EFL_SHM_OPEN_LIBS}
21007
21008 else
21009
21010        want_evas_cserve="no"
21011        want_evas_cserve2="no"
21012
21013 fi
21014
21015
21016 fi
21017
21018
21019 if test "x${want_evas_cserve}" = "xyes" ; then
21020
21021 $as_echo "#define EVAS_CSERVE 1" >>confdefs.h
21022
21023 fi
21024
21025  if test "x${want_evas_cserve}" = "xyes"; then
21026   EVAS_CSERVE_TRUE=
21027   EVAS_CSERVE_FALSE='#'
21028 else
21029   EVAS_CSERVE_TRUE='#'
21030   EVAS_CSERVE_FALSE=
21031 fi
21032
21033
21034 if test "x${want_evas_cserve2}" = "xyes" ; then
21035
21036 $as_echo "#define EVAS_CSERVE2 1" >>confdefs.h
21037
21038 fi
21039
21040  if test "x${want_evas_cserve2}" = "xyes"; then
21041   EVAS_CSERVE2_TRUE=
21042   EVAS_CSERVE2_FALSE='#'
21043 else
21044   EVAS_CSERVE2_TRUE='#'
21045   EVAS_CSERVE2_FALSE=
21046 fi
21047
21048
21049
21050
21051 #######################################
21052 ## GL force flavor gles
21053 gl_flavor_gles="no"
21054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build GLES flavor of GL" >&5
21055 $as_echo_n "checking whether to build GLES flavor of GL... " >&6; }
21056 # Check whether --enable-gl-flavor-gles was given.
21057 if test "${enable_gl_flavor_gles+set}" = set; then :
21058   enableval=$enable_gl_flavor_gles;
21059       if test "x$enableval" = "xyes" ; then
21060         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21061 $as_echo "yes" >&6; }
21062         gl_flavor_gles="yes"
21063       else
21064         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21065 $as_echo "no" >&6; }
21066         gl_flavor_gles="no"
21067       fi
21068
21069 else
21070
21071       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21072 $as_echo "no" >&6; }
21073       gl_flavor_gles="no"
21074
21075
21076 fi
21077
21078
21079 #######################################
21080 ## GLES variety sgx
21081 gles_variety_sgx="no"
21082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build GLES variety for SGX" >&5
21083 $as_echo_n "checking whether to build GLES variety for SGX... " >&6; }
21084 # Check whether --enable-gles-variety-sgx was given.
21085 if test "${enable_gles_variety_sgx+set}" = set; then :
21086   enableval=$enable_gles_variety_sgx;
21087       if test "x$enableval" = "xyes" ; then
21088         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21089 $as_echo "yes" >&6; }
21090
21091 $as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
21092
21093         gles_variety_sgx="yes"
21094       else
21095         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21096 $as_echo "no" >&6; }
21097         gles_variety_sgx="no"
21098       fi
21099
21100 else
21101
21102       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21103 $as_echo "no" >&6; }
21104       gles_variety_sgx="no"
21105
21106
21107 fi
21108
21109
21110 #######################################
21111 ## GLES variety s3c6410
21112 gles_variety_s3c6410="no"
21113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build GLES variety for s3c6410" >&5
21114 $as_echo_n "checking whether to build GLES variety for s3c6410... " >&6; }
21115 # Check whether --enable-gles-variety-s3c6410 was given.
21116 if test "${enable_gles_variety_s3c6410+set}" = set; then :
21117   enableval=$enable_gles_variety_s3c6410;
21118       if test "x$enableval" = "xyes" ; then
21119         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21120 $as_echo "yes" >&6; }
21121
21122 $as_echo "#define GLES_VARIETY_S3C6410 1" >>confdefs.h
21123
21124         gles_variety_s3c6410="yes"
21125       else
21126         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21127 $as_echo "no" >&6; }
21128         gles_variety_s3c6410="no"
21129       fi
21130
21131 else
21132
21133       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21134 $as_echo "no" >&6; }
21135       gles_variety_s3c6410="no"
21136
21137
21138 fi
21139
21140
21141 if test "x$gl_flavor_gles" = "xyes"; then
21142   eng=""
21143   if test "x$gles_variety_sgx" = "xyes"; then eng="x"$eng; fi
21144   if test "x$gles_variety_s3c6410" = "xyes"; then eng="x"$eng; fi
21145   if test "x$eng" = "xx"; then
21146     eng=""
21147   else
21148      as_fn_error $? "Please enable just 1 OpenGL-ES flavor. Choices are:
21149           --enable-gles-variety-sgx (Most GL-ES2 GPUs with shader compiler)
21150           --enable-gles-variety-s3c6410 (s3c6410 with offline shader compiler)
21151         You will also need to enable the OpenGL engine for X11 with:
21152           --enable-gl-xlib or --enable-gl-xcb
21153        " "$LINENO" 5
21154   fi
21155 fi
21156
21157 #####################################################################
21158 ## Engines
21159
21160
21161
21162
21163 want_engine="${want_evas_engine_buffer}"
21164 want_static_engine="no"
21165 have_engine="no"
21166 have_evas_engine_buffer="no"
21167
21168 # Check whether --enable-buffer was given.
21169 if test "${enable_buffer+set}" = set; then :
21170   enableval=$enable_buffer;
21171     if test "x${enableval}" = "xyes" ; then
21172        want_engine="yes"
21173     else
21174        if test "x${enableval}" = "xstatic" ; then
21175           want_engine="static"
21176        else
21177           want_engine="no"
21178        fi
21179     fi
21180
21181 fi
21182
21183
21184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Buffer rendering backend" >&5
21185 $as_echo_n "checking whether to enable Buffer rendering backend... " >&6; }
21186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21187 $as_echo "${want_engine}" >&6; }
21188
21189 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21190
21191
21192 have_dep="yes"
21193 evas_engine_buffer_cflags=""
21194 evas_engine_buffer_libs=""
21195
21196
21197
21198
21199 if test "x${have_dep}" = "xyes" ; then
21200   have_engine="yes"
21201 else
21202   have_engine="no"
21203 fi
21204
21205
21206 fi
21207
21208 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21209    as_fn_error $? "Buffer dependencies not found (strict dependencies checking)" "$LINENO" 5
21210 fi
21211
21212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Buffer rendering backend will be built" >&5
21213 $as_echo_n "checking whether Buffer rendering backend will be built... " >&6; }
21214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21215 $as_echo "${have_engine}" >&6; }
21216
21217 if test "x${have_engine}" = "xyes" ; then
21218    if test "x${want_engine}" = "xstatic" ; then
21219       have_evas_engine_buffer="static"
21220       want_static_engine="yes"
21221    else
21222       have_evas_engine_buffer="yes"
21223    fi
21224 fi
21225
21226 if test "x${have_engine}" = "xyes" ; then
21227
21228 $as_echo "#define BUILD_ENGINE_BUFFER 1" >>confdefs.h
21229
21230 fi
21231
21232  if test "x${have_engine}" = "xyes"; then
21233   BUILD_ENGINE_BUFFER_TRUE=
21234   BUILD_ENGINE_BUFFER_FALSE='#'
21235 else
21236   BUILD_ENGINE_BUFFER_TRUE='#'
21237   BUILD_ENGINE_BUFFER_FALSE=
21238 fi
21239
21240
21241 if test "x${want_static_engine}" = "xyes" ; then
21242
21243 $as_echo "#define EVAS_STATIC_BUILD_BUFFER 1" >>confdefs.h
21244
21245    have_static_module="yes"
21246 fi
21247
21248  if test "x${want_static_engine}" = "xyes"; then
21249   EVAS_STATIC_BUILD_BUFFER_TRUE=
21250   EVAS_STATIC_BUILD_BUFFER_FALSE='#'
21251 else
21252   EVAS_STATIC_BUILD_BUFFER_TRUE='#'
21253   EVAS_STATIC_BUILD_BUFFER_FALSE=
21254 fi
21255
21256
21257
21258
21259
21260
21261
21262
21263
21264
21265 want_engine="${want_evas_engine_software_gdi}"
21266 want_static_engine="no"
21267 have_engine="no"
21268 have_evas_engine_software_gdi="no"
21269
21270 # Check whether --enable-software-gdi was given.
21271 if test "${enable_software_gdi+set}" = set; then :
21272   enableval=$enable_software_gdi;
21273     if test "x${enableval}" = "xyes" ; then
21274        want_engine="yes"
21275     else
21276        if test "x${enableval}" = "xstatic" ; then
21277           want_engine="static"
21278        else
21279           want_engine="no"
21280        fi
21281     fi
21282
21283 fi
21284
21285
21286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software GDI rendering backend" >&5
21287 $as_echo_n "checking whether to enable Software GDI rendering backend... " >&6; }
21288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21289 $as_echo "${want_engine}" >&6; }
21290
21291 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21292
21293
21294 have_dep="no"
21295 evas_engine_software_gdi_cflags=""
21296 evas_engine_software_gdi_libs=""
21297
21298 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
21299 if test "x$ac_cv_header_windows_h" = xyes; then :
21300
21301     have_dep="yes"
21302     evas_engine_software_gdi_libs="-lgdi32"
21303
21304
21305 fi
21306
21307
21308
21309
21310
21311
21312 if test "x${have_dep}" = "xyes" ; then
21313   have_engine="yes"
21314 else
21315   have_engine="no"
21316 fi
21317
21318
21319 fi
21320
21321 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21322    as_fn_error $? "Software GDI dependencies not found (strict dependencies checking)" "$LINENO" 5
21323 fi
21324
21325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software GDI rendering backend will be built" >&5
21326 $as_echo_n "checking whether Software GDI rendering backend will be built... " >&6; }
21327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21328 $as_echo "${have_engine}" >&6; }
21329
21330 if test "x${have_engine}" = "xyes" ; then
21331    if test "x${want_engine}" = "xstatic" ; then
21332       have_evas_engine_software_gdi="static"
21333       want_static_engine="yes"
21334    else
21335       have_evas_engine_software_gdi="yes"
21336    fi
21337 fi
21338
21339 if test "x${have_engine}" = "xyes" ; then
21340
21341 $as_echo "#define BUILD_ENGINE_SOFTWARE_GDI 1" >>confdefs.h
21342
21343 fi
21344
21345  if test "x${have_engine}" = "xyes"; then
21346   BUILD_ENGINE_SOFTWARE_GDI_TRUE=
21347   BUILD_ENGINE_SOFTWARE_GDI_FALSE='#'
21348 else
21349   BUILD_ENGINE_SOFTWARE_GDI_TRUE='#'
21350   BUILD_ENGINE_SOFTWARE_GDI_FALSE=
21351 fi
21352
21353
21354 if test "x${want_static_engine}" = "xyes" ; then
21355
21356 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_GDI 1" >>confdefs.h
21357
21358    have_static_module="yes"
21359 fi
21360
21361  if test "x${want_static_engine}" = "xyes"; then
21362   EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE=
21363   EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE='#'
21364 else
21365   EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE='#'
21366   EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE=
21367 fi
21368
21369
21370
21371
21372
21373
21374
21375
21376
21377
21378 want_engine="${want_evas_engine_software_ddraw}"
21379 want_static_engine="no"
21380 have_engine="no"
21381 have_evas_engine_software_ddraw="no"
21382
21383 # Check whether --enable-software-ddraw was given.
21384 if test "${enable_software_ddraw+set}" = set; then :
21385   enableval=$enable_software_ddraw;
21386     if test "x${enableval}" = "xyes" ; then
21387        want_engine="yes"
21388     else
21389        if test "x${enableval}" = "xstatic" ; then
21390           want_engine="static"
21391        else
21392           want_engine="no"
21393        fi
21394     fi
21395
21396 fi
21397
21398
21399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software DirectDraw rendering backend" >&5
21400 $as_echo_n "checking whether to enable Software DirectDraw rendering backend... " >&6; }
21401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21402 $as_echo "${want_engine}" >&6; }
21403
21404 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21405
21406
21407 have_dep="no"
21408 evas_engine_software_ddraw_cflags=""
21409 evas_engine_software_ddraw_libs=""
21410
21411 ac_fn_c_check_header_mongrel "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "$ac_includes_default"
21412 if test "x$ac_cv_header_ddraw_h" = xyes; then :
21413
21414     have_dep="yes"
21415     evas_engine_software_ddraw_libs="-lddraw"
21416
21417
21418 fi
21419
21420
21421
21422
21423
21424
21425 if test "x${have_dep}" = "xyes" ; then
21426   have_engine="yes"
21427 else
21428   have_engine="no"
21429 fi
21430
21431
21432 fi
21433
21434 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21435    as_fn_error $? "Software DirectDraw dependencies not found (strict dependencies checking)" "$LINENO" 5
21436 fi
21437
21438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software DirectDraw rendering backend will be built" >&5
21439 $as_echo_n "checking whether Software DirectDraw rendering backend will be built... " >&6; }
21440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21441 $as_echo "${have_engine}" >&6; }
21442
21443 if test "x${have_engine}" = "xyes" ; then
21444    if test "x${want_engine}" = "xstatic" ; then
21445       have_evas_engine_software_ddraw="static"
21446       want_static_engine="yes"
21447    else
21448       have_evas_engine_software_ddraw="yes"
21449    fi
21450 fi
21451
21452 if test "x${have_engine}" = "xyes" ; then
21453
21454 $as_echo "#define BUILD_ENGINE_SOFTWARE_DDRAW 1" >>confdefs.h
21455
21456 fi
21457
21458  if test "x${have_engine}" = "xyes"; then
21459   BUILD_ENGINE_SOFTWARE_DDRAW_TRUE=
21460   BUILD_ENGINE_SOFTWARE_DDRAW_FALSE='#'
21461 else
21462   BUILD_ENGINE_SOFTWARE_DDRAW_TRUE='#'
21463   BUILD_ENGINE_SOFTWARE_DDRAW_FALSE=
21464 fi
21465
21466
21467 if test "x${want_static_engine}" = "xyes" ; then
21468
21469 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_DDRAW 1" >>confdefs.h
21470
21471    have_static_module="yes"
21472 fi
21473
21474  if test "x${want_static_engine}" = "xyes"; then
21475   EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE=
21476   EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE='#'
21477 else
21478   EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE='#'
21479   EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE=
21480 fi
21481
21482
21483
21484
21485
21486
21487
21488
21489
21490
21491 want_engine="${want_evas_engine_direct3d}"
21492 want_static_engine="no"
21493 have_engine="no"
21494 have_evas_engine_direct3d="no"
21495
21496 # Check whether --enable-direct3d was given.
21497 if test "${enable_direct3d+set}" = set; then :
21498   enableval=$enable_direct3d;
21499     if test "x${enableval}" = "xyes" ; then
21500        want_engine="yes"
21501     else
21502        if test "x${enableval}" = "xstatic" ; then
21503           want_engine="static"
21504        else
21505           want_engine="no"
21506        fi
21507     fi
21508
21509 fi
21510
21511
21512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Direct3D rendering backend" >&5
21513 $as_echo_n "checking whether to enable Direct3D rendering backend... " >&6; }
21514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21515 $as_echo "${want_engine}" >&6; }
21516
21517 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21518
21519
21520 evas_engine_direct3d_cflags=""
21521 evas_engine_direct3d_libs=""
21522
21523 for ac_header in d3d9.h d3dx9.h
21524 do :
21525   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21526 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21527 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21528   cat >>confdefs.h <<_ACEOF
21529 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21530 _ACEOF
21531
21532     have_dep="yes"
21533     evas_engine_direct3d_libs="-ld3d9 -ld3dx9 -lgdi32"
21534
21535 else
21536   have_dep="no"; break
21537
21538 fi
21539
21540 done
21541
21542
21543
21544
21545
21546 if test "x${have_dep}" = "xyes" ; then
21547   have_engine="yes"
21548 else
21549   have_engine="no"
21550 fi
21551
21552
21553 fi
21554
21555 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21556    as_fn_error $? "Direct3D dependencies not found (strict dependencies checking)" "$LINENO" 5
21557 fi
21558
21559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Direct3D rendering backend will be built" >&5
21560 $as_echo_n "checking whether Direct3D rendering backend will be built... " >&6; }
21561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21562 $as_echo "${have_engine}" >&6; }
21563
21564 if test "x${have_engine}" = "xyes" ; then
21565    if test "x${want_engine}" = "xstatic" ; then
21566       have_evas_engine_direct3d="static"
21567       want_static_engine="yes"
21568    else
21569       have_evas_engine_direct3d="yes"
21570    fi
21571 fi
21572
21573 if test "x${have_engine}" = "xyes" ; then
21574
21575 $as_echo "#define BUILD_ENGINE_DIRECT3D 1" >>confdefs.h
21576
21577 fi
21578
21579  if test "x${have_engine}" = "xyes"; then
21580   BUILD_ENGINE_DIRECT3D_TRUE=
21581   BUILD_ENGINE_DIRECT3D_FALSE='#'
21582 else
21583   BUILD_ENGINE_DIRECT3D_TRUE='#'
21584   BUILD_ENGINE_DIRECT3D_FALSE=
21585 fi
21586
21587
21588 if test "x${want_static_engine}" = "xyes" ; then
21589
21590 $as_echo "#define EVAS_STATIC_BUILD_DIRECT3D 1" >>confdefs.h
21591
21592    have_static_module="yes"
21593 fi
21594
21595  if test "x${want_static_engine}" = "xyes"; then
21596   EVAS_STATIC_BUILD_DIRECT3D_TRUE=
21597   EVAS_STATIC_BUILD_DIRECT3D_FALSE='#'
21598 else
21599   EVAS_STATIC_BUILD_DIRECT3D_TRUE='#'
21600   EVAS_STATIC_BUILD_DIRECT3D_FALSE=
21601 fi
21602
21603
21604
21605
21606
21607
21608
21609
21610
21611
21612 want_engine="${want_evas_engine_psl1ght}"
21613 want_static_engine="no"
21614 have_engine="no"
21615 have_evas_engine_psl1ght="no"
21616
21617 # Check whether --enable-psl1ght was given.
21618 if test "${enable_psl1ght+set}" = set; then :
21619   enableval=$enable_psl1ght;
21620     if test "x${enableval}" = "xyes" ; then
21621        want_engine="yes"
21622     else
21623        if test "x${enableval}" = "xstatic" ; then
21624           want_engine="static"
21625        else
21626           want_engine="no"
21627        fi
21628     fi
21629
21630 fi
21631
21632
21633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PSL1GHT rendering backend" >&5
21634 $as_echo_n "checking whether to enable PSL1GHT rendering backend... " >&6; }
21635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21636 $as_echo "${want_engine}" >&6; }
21637
21638 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21639
21640
21641 have_dep="no"
21642 evas_engine_psl1ght_cflags=""
21643 evas_engine_psl1ght_libs=""
21644
21645 ac_fn_c_check_header_mongrel "$LINENO" "rsx/rsx.h" "ac_cv_header_rsx_rsx_h" "$ac_includes_default"
21646 if test "x$ac_cv_header_rsx_rsx_h" = xyes; then :
21647   have_dep="yes"
21648 fi
21649
21650
21651
21652
21653
21654
21655 if test "x${have_dep}" = "xyes" ; then
21656   have_engine="yes"
21657 else
21658   have_engine="no"
21659 fi
21660
21661
21662 fi
21663
21664 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21665    as_fn_error $? "PSL1GHT dependencies not found (strict dependencies checking)" "$LINENO" 5
21666 fi
21667
21668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PSL1GHT rendering backend will be built" >&5
21669 $as_echo_n "checking whether PSL1GHT rendering backend will be built... " >&6; }
21670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21671 $as_echo "${have_engine}" >&6; }
21672
21673 if test "x${have_engine}" = "xyes" ; then
21674    if test "x${want_engine}" = "xstatic" ; then
21675       have_evas_engine_psl1ght="static"
21676       want_static_engine="yes"
21677    else
21678       have_evas_engine_psl1ght="yes"
21679    fi
21680 fi
21681
21682 if test "x${have_engine}" = "xyes" ; then
21683
21684 $as_echo "#define BUILD_ENGINE_PSL1GHT 1" >>confdefs.h
21685
21686 fi
21687
21688  if test "x${have_engine}" = "xyes"; then
21689   BUILD_ENGINE_PSL1GHT_TRUE=
21690   BUILD_ENGINE_PSL1GHT_FALSE='#'
21691 else
21692   BUILD_ENGINE_PSL1GHT_TRUE='#'
21693   BUILD_ENGINE_PSL1GHT_FALSE=
21694 fi
21695
21696
21697 if test "x${want_static_engine}" = "xyes" ; then
21698
21699 $as_echo "#define EVAS_STATIC_BUILD_PSL1GHT 1" >>confdefs.h
21700
21701    have_static_module="yes"
21702 fi
21703
21704  if test "x${want_static_engine}" = "xyes"; then
21705   EVAS_STATIC_BUILD_PSL1GHT_TRUE=
21706   EVAS_STATIC_BUILD_PSL1GHT_FALSE='#'
21707 else
21708   EVAS_STATIC_BUILD_PSL1GHT_TRUE='#'
21709   EVAS_STATIC_BUILD_PSL1GHT_FALSE=
21710 fi
21711
21712
21713
21714
21715
21716
21717
21718
21719
21720
21721 want_engine="${want_evas_engine_gl_sdl}"
21722 want_static_engine="no"
21723 have_engine="no"
21724 have_evas_engine_gl_sdl="no"
21725
21726 # Check whether --enable-gl-sdl was given.
21727 if test "${enable_gl_sdl+set}" = set; then :
21728   enableval=$enable_gl_sdl;
21729     if test "x${enableval}" = "xyes" ; then
21730        want_engine="yes"
21731     else
21732        if test "x${enableval}" = "xstatic" ; then
21733           want_engine="static"
21734        else
21735           want_engine="no"
21736        fi
21737     fi
21738
21739 fi
21740
21741
21742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL SDL rendering backend" >&5
21743 $as_echo_n "checking whether to enable OpenGL SDL rendering backend... " >&6; }
21744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21745 $as_echo "${want_engine}" >&6; }
21746
21747 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21748
21749
21750 requirement=""
21751 have_dep="no"
21752 evas_engine_gl_sdl_cflags=""
21753 evas_engine_gl_sdl_libs=""
21754
21755
21756 pkg_failed=no
21757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
21758 $as_echo_n "checking for SDL... " >&6; }
21759
21760 if test -n "$SDL_CFLAGS"; then
21761     pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
21762  elif test -n "$PKG_CONFIG"; then
21763     if test -n "$PKG_CONFIG" && \
21764     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
21765   ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
21766   ac_status=$?
21767   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21768   test $ac_status = 0; }; then
21769   pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl >= 1.2.0" 2>/dev/null`
21770                       test "x$?" != "x0" && pkg_failed=yes
21771 else
21772   pkg_failed=yes
21773 fi
21774  else
21775     pkg_failed=untried
21776 fi
21777 if test -n "$SDL_LIBS"; then
21778     pkg_cv_SDL_LIBS="$SDL_LIBS"
21779  elif test -n "$PKG_CONFIG"; then
21780     if test -n "$PKG_CONFIG" && \
21781     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
21782   ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
21783   ac_status=$?
21784   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21785   test $ac_status = 0; }; then
21786   pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl >= 1.2.0" 2>/dev/null`
21787                       test "x$?" != "x0" && pkg_failed=yes
21788 else
21789   pkg_failed=yes
21790 fi
21791  else
21792     pkg_failed=untried
21793 fi
21794
21795
21796
21797 if test $pkg_failed = yes; then
21798         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21799 $as_echo "no" >&6; }
21800
21801 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21802         _pkg_short_errors_supported=yes
21803 else
21804         _pkg_short_errors_supported=no
21805 fi
21806         if test $_pkg_short_errors_supported = yes; then
21807                 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sdl >= 1.2.0" 2>&1`
21808         else
21809                 SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sdl >= 1.2.0" 2>&1`
21810         fi
21811         # Put the nasty error message in config.log where it belongs
21812         echo "$SDL_PKG_ERRORS" >&5
21813
21814         as_fn_error $? "Package requirements (sdl >= 1.2.0) were not met:
21815
21816 $SDL_PKG_ERRORS
21817
21818 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21819 installed software in a non-standard prefix.
21820
21821 Alternatively, you may set the environment variables SDL_CFLAGS
21822 and SDL_LIBS to avoid the need to call pkg-config.
21823 See the pkg-config man page for more details." "$LINENO" 5
21824 elif test $pkg_failed = untried; then
21825         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21826 $as_echo "no" >&6; }
21827         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21828 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21829 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
21830 is in your PATH or set the PKG_CONFIG environment variable to the full
21831 path to pkg-config.
21832
21833 Alternatively, you may set the environment variables SDL_CFLAGS
21834 and SDL_LIBS to avoid the need to call pkg-config.
21835 See the pkg-config man page for more details.
21836
21837 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21838 See \`config.log' for more details" "$LINENO" 5; }
21839 else
21840         SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
21841         SDL_LIBS=$pkg_cv_SDL_LIBS
21842         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21843 $as_echo "yes" >&6; }
21844
21845     have_dep="yes"
21846     requirement="sdl"
21847     evas_engine_gl_sdl_cflags="${SDL_CFLAGS}"
21848     evas_engine_gl_sdl_libs="${SDL_LIBS}"
21849
21850
21851 fi
21852
21853 gl_pt_lib="";
21854 have_gl_pt="no"
21855
21856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_create() is supported" >&5
21857 $as_echo_n "checking whether pthread_create() is supported... " >&6; }
21858 CFLAGS_save="${CFLAGS}"
21859 CFLAGS="${CFLAGS} -pthread"
21860 LIBS_save="${LIBS}"
21861 LIBS="${LIBS} -pthread"
21862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21863 /* end confdefs.h.  */
21864
21865 #include <pthread.h>
21866
21867 int
21868 main ()
21869 {
21870
21871 pthread_create(NULL, NULL, NULL, NULL);
21872
21873   ;
21874   return 0;
21875 }
21876 _ACEOF
21877 if ac_fn_c_try_link "$LINENO"; then :
21878   have_gl_pt="yes"
21879 else
21880   have_gl_pt="no"
21881 fi
21882 rm -f core conftest.err conftest.$ac_objext \
21883     conftest$ac_exeext conftest.$ac_ext
21884 CFLAGS=${CFLAGS_save}
21885 LIBS=${LIBS_save}
21886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_gl_pt}" >&5
21887 $as_echo "${have_gl_pt}" >&6; }
21888
21889 if test "x$have_gl_pt" = "xyes" ; then
21890    gl_pt_lib=" -pthread"
21891 fi
21892
21893 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
21894 #include <GL/gl.h>
21895 #include <GL/glext.h>
21896
21897 "
21898 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
21899   have_dep="yes"
21900 else
21901   have_dep="no"
21902 fi
21903
21904
21905
21906 if test "x$gl_flavor_gles" = "xyes" ; then
21907   have_dep=no
21908 fi
21909
21910 if test "x${have_dep}" = "xyes" ; then
21911    evas_engine_gl_sdl_cflags="${SDL_CFLAGS}"
21912    evas_engine_gl_sdl_libs="${SDL_LIBS} -lGL -lm $gl_pt_lib"
21913    evas_engine_gl_common_libs="-lGL -lm $gl_pt_lib"
21914 else
21915    ac_fn_c_check_header_compile "$LINENO" "SDL/SDL_opengles.h" "ac_cv_header_SDL_SDL_opengles_h" "
21916 #include <SDL/SDL_opengles.h>
21917 #include <EGL/egl.h>
21918
21919 "
21920 if test "x$ac_cv_header_SDL_SDL_opengles_h" = xyes; then :
21921   have_egl="yes"
21922 else
21923   have_egl="no"
21924 fi
21925
21926
21927    if test "x${have_egl}" = "xyes" ; then
21928       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
21929 $as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
21930 if ${ac_cv_lib_GLESv2_glTexImage2D+:} false; then :
21931   $as_echo_n "(cached) " >&6
21932 else
21933   ac_check_lib_save_LIBS=$LIBS
21934 LIBS="-lGLESv2 -lEGL -lm $gl_pt_lib $LIBS"
21935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21936 /* end confdefs.h.  */
21937
21938 /* Override any GCC internal prototype to avoid an error.
21939    Use char because int might match the return type of a GCC
21940    builtin and then its argument prototype would still apply.  */
21941 #ifdef __cplusplus
21942 extern "C"
21943 #endif
21944 char glTexImage2D ();
21945 int
21946 main ()
21947 {
21948 return glTexImage2D ();
21949   ;
21950   return 0;
21951 }
21952 _ACEOF
21953 if ac_fn_c_try_link "$LINENO"; then :
21954   ac_cv_lib_GLESv2_glTexImage2D=yes
21955 else
21956   ac_cv_lib_GLESv2_glTexImage2D=no
21957 fi
21958 rm -f core conftest.err conftest.$ac_objext \
21959     conftest$ac_exeext conftest.$ac_ext
21960 LIBS=$ac_check_lib_save_LIBS
21961 fi
21962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
21963 $as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
21964 if test "x$ac_cv_lib_GLESv2_glTexImage2D" = xyes; then :
21965   have_glesv2="yes"
21966 fi
21967
21968       if test "x${have_glesv2}" = "xyes" ; then
21969          evas_engine_gl_sdl_cflags="${SDL_CFLAGS}"
21970          evas_engine_gl_sdl_libs="${SDL_LIBS} -lGLESv2 -lEGL -lm $gl_pt_lib"
21971          evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
21972          have_dep="yes"
21973
21974 $as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
21975
21976          gles_variety_sgx="yes"
21977       fi
21978    fi
21979 fi
21980
21981
21982
21983
21984 if test "x${want_engine}" = "xstatic" ; then
21985    requirement_evas="${requirement} ${requirement_evas}"
21986 fi
21987
21988 if test "x${have_dep}" = "xyes" ; then
21989   have_engine="yes"
21990 else
21991   have_engine="no"
21992 fi
21993
21994
21995 fi
21996
21997 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21998    as_fn_error $? "OpenGL SDL dependencies not found (strict dependencies checking)" "$LINENO" 5
21999 fi
22000
22001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL SDL rendering backend will be built" >&5
22002 $as_echo_n "checking whether OpenGL SDL rendering backend will be built... " >&6; }
22003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
22004 $as_echo "${have_engine}" >&6; }
22005
22006 if test "x${have_engine}" = "xyes" ; then
22007    if test "x${want_engine}" = "xstatic" ; then
22008       have_evas_engine_gl_sdl="static"
22009       want_static_engine="yes"
22010    else
22011       have_evas_engine_gl_sdl="yes"
22012    fi
22013 fi
22014
22015 if test "x${have_engine}" = "xyes" ; then
22016
22017 $as_echo "#define BUILD_ENGINE_GL_SDL 1" >>confdefs.h
22018
22019 fi
22020
22021  if test "x${have_engine}" = "xyes"; then
22022   BUILD_ENGINE_GL_SDL_TRUE=
22023   BUILD_ENGINE_GL_SDL_FALSE='#'
22024 else
22025   BUILD_ENGINE_GL_SDL_TRUE='#'
22026   BUILD_ENGINE_GL_SDL_FALSE=
22027 fi
22028
22029
22030 if test "x${want_static_engine}" = "xyes" ; then
22031
22032 $as_echo "#define EVAS_STATIC_BUILD_GL_SDL 1" >>confdefs.h
22033
22034    have_static_module="yes"
22035 fi
22036
22037  if test "x${want_static_engine}" = "xyes"; then
22038   EVAS_STATIC_BUILD_GL_SDL_TRUE=
22039   EVAS_STATIC_BUILD_GL_SDL_FALSE='#'
22040 else
22041   EVAS_STATIC_BUILD_GL_SDL_TRUE='#'
22042   EVAS_STATIC_BUILD_GL_SDL_FALSE=
22043 fi
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054 want_engine="${want_evas_engine_gl_cocoa}"
22055 want_static_engine="no"
22056 have_engine="no"
22057 have_evas_engine_gl_cocoa="no"
22058
22059 # Check whether --enable-gl-cocoa was given.
22060 if test "${enable_gl_cocoa+set}" = set; then :
22061   enableval=$enable_gl_cocoa;
22062     if test "x${enableval}" = "xyes" ; then
22063        want_engine="yes"
22064     else
22065        if test "x${enableval}" = "xstatic" ; then
22066           want_engine="static"
22067        else
22068           want_engine="no"
22069        fi
22070     fi
22071
22072 fi
22073
22074
22075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL Cocoa rendering backend" >&5
22076 $as_echo_n "checking whether to enable OpenGL Cocoa rendering backend... " >&6; }
22077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22078 $as_echo "${want_engine}" >&6; }
22079
22080 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
22081
22082
22083 evas_engine_gl_cocoa_cflags=""
22084 evas_engine_gl_cocoa_libs=""
22085
22086 ac_ext=m
22087 ac_cpp='$OBJCPP $CPPFLAGS'
22088 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22089 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22090 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
22091
22092
22093 LIBS_save="$LIBS"
22094 LIBS="$LIBS -framework Cocoa"
22095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22096 /* end confdefs.h.  */
22097
22098 #include <Cocoa/Cocoa.h>
22099
22100 int
22101 main ()
22102 {
22103
22104 NSWindow *window;
22105 window = [[NSWindow alloc]
22106            initWithContentRect:NSMakeRect(0, 0, 1, 1)
22107            styleMask:(NSTitledWindowMask)
22108            backing:NSBackingStoreBuffered
22109            defer:NO
22110            screen:nil
22111          ];
22112
22113   ;
22114   return 0;
22115 }
22116 _ACEOF
22117 if ac_fn_objc_try_link "$LINENO"; then :
22118
22119     have_dep="yes"
22120     evas_engine_gl_cocoa_libs="-framework Cocoa"
22121
22122 else
22123   have_dep="no"
22124 fi
22125 rm -f core conftest.err conftest.$ac_objext \
22126     conftest$ac_exeext conftest.$ac_ext
22127 LIBS="$LIBS_save"
22128
22129 ac_ext=c
22130 ac_cpp='$CPP $CPPFLAGS'
22131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22134
22135
22136 if test "x${have_dep}" = "xyes" ; then
22137
22138 pkg_failed=no
22139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
22140 $as_echo_n "checking for GL_EET... " >&6; }
22141
22142 if test -n "$GL_EET_CFLAGS"; then
22143     pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
22144  elif test -n "$PKG_CONFIG"; then
22145     if test -n "$PKG_CONFIG" && \
22146     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
22147   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
22148   ac_status=$?
22149   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22150   test $ac_status = 0; }; then
22151   pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
22152                       test "x$?" != "x0" && pkg_failed=yes
22153 else
22154   pkg_failed=yes
22155 fi
22156  else
22157     pkg_failed=untried
22158 fi
22159 if test -n "$GL_EET_LIBS"; then
22160     pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
22161  elif test -n "$PKG_CONFIG"; then
22162     if test -n "$PKG_CONFIG" && \
22163     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
22164   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
22165   ac_status=$?
22166   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22167   test $ac_status = 0; }; then
22168   pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
22169                       test "x$?" != "x0" && pkg_failed=yes
22170 else
22171   pkg_failed=yes
22172 fi
22173  else
22174     pkg_failed=untried
22175 fi
22176
22177
22178
22179 if test $pkg_failed = yes; then
22180         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22181 $as_echo "no" >&6; }
22182
22183 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22184         _pkg_short_errors_supported=yes
22185 else
22186         _pkg_short_errors_supported=no
22187 fi
22188         if test $_pkg_short_errors_supported = yes; then
22189                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
22190         else
22191                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
22192         fi
22193         # Put the nasty error message in config.log where it belongs
22194         echo "$GL_EET_PKG_ERRORS" >&5
22195
22196         have_dep="no"
22197 elif test $pkg_failed = untried; then
22198         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22199 $as_echo "no" >&6; }
22200         have_dep="no"
22201 else
22202         GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
22203         GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
22204         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22205 $as_echo "yes" >&6; }
22206         have_dep="yes"
22207 fi
22208 fi
22209
22210
22211
22212
22213 if test "x${have_dep}" = "xyes" ; then
22214   have_engine="yes"
22215 else
22216   have_engine="no"
22217 fi
22218
22219
22220 fi
22221
22222 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
22223    as_fn_error $? "OpenGL Cocoa dependencies not found (strict dependencies checking)" "$LINENO" 5
22224 fi
22225
22226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL Cocoa rendering backend will be built" >&5
22227 $as_echo_n "checking whether OpenGL Cocoa rendering backend will be built... " >&6; }
22228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
22229 $as_echo "${have_engine}" >&6; }
22230
22231 if test "x${have_engine}" = "xyes" ; then
22232    if test "x${want_engine}" = "xstatic" ; then
22233       have_evas_engine_gl_cocoa="static"
22234       want_static_engine="yes"
22235    else
22236       have_evas_engine_gl_cocoa="yes"
22237    fi
22238 fi
22239
22240 if test "x${have_engine}" = "xyes" ; then
22241
22242 $as_echo "#define BUILD_ENGINE_GL_COCOA 1" >>confdefs.h
22243
22244 fi
22245
22246  if test "x${have_engine}" = "xyes"; then
22247   BUILD_ENGINE_GL_COCOA_TRUE=
22248   BUILD_ENGINE_GL_COCOA_FALSE='#'
22249 else
22250   BUILD_ENGINE_GL_COCOA_TRUE='#'
22251   BUILD_ENGINE_GL_COCOA_FALSE=
22252 fi
22253
22254
22255 if test "x${want_static_engine}" = "xyes" ; then
22256
22257 $as_echo "#define EVAS_STATIC_BUILD_GL_COCOA 1" >>confdefs.h
22258
22259    have_static_module="yes"
22260 fi
22261
22262  if test "x${want_static_engine}" = "xyes"; then
22263   EVAS_STATIC_BUILD_GL_COCOA_TRUE=
22264   EVAS_STATIC_BUILD_GL_COCOA_FALSE='#'
22265 else
22266   EVAS_STATIC_BUILD_GL_COCOA_TRUE='#'
22267   EVAS_STATIC_BUILD_GL_COCOA_FALSE=
22268 fi
22269
22270
22271
22272
22273
22274
22275
22276
22277
22278
22279 want_engine="${want_evas_engine_fb}"
22280 want_static_engine="no"
22281 have_engine="no"
22282 have_evas_engine_fb="no"
22283
22284 # Check whether --enable-fb was given.
22285 if test "${enable_fb+set}" = set; then :
22286   enableval=$enable_fb;
22287     if test "x${enableval}" = "xyes" ; then
22288        want_engine="yes"
22289     else
22290        if test "x${enableval}" = "xstatic" ; then
22291           want_engine="static"
22292        else
22293           want_engine="no"
22294        fi
22295     fi
22296
22297 fi
22298
22299
22300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Framebuffer rendering backend" >&5
22301 $as_echo_n "checking whether to enable Framebuffer rendering backend... " >&6; }
22302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22303 $as_echo "${want_engine}" >&6; }
22304
22305 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
22306
22307
22308 have_dep="no"
22309 evas_engine_fb_cflags=""
22310 evas_engine_fb_libs=""
22311
22312 ac_fn_c_check_header_mongrel "$LINENO" "linux/fb.h" "ac_cv_header_linux_fb_h" "$ac_includes_default"
22313 if test "x$ac_cv_header_linux_fb_h" = xyes; then :
22314   have_dep="yes"
22315 fi
22316
22317
22318
22319
22320
22321
22322 if test "x${have_dep}" = "xyes" ; then
22323   have_engine="yes"
22324 else
22325   have_engine="no"
22326 fi
22327
22328
22329 fi
22330
22331 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
22332    as_fn_error $? "Framebuffer dependencies not found (strict dependencies checking)" "$LINENO" 5
22333 fi
22334
22335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Framebuffer rendering backend will be built" >&5
22336 $as_echo_n "checking whether Framebuffer rendering backend will be built... " >&6; }
22337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
22338 $as_echo "${have_engine}" >&6; }
22339
22340 if test "x${have_engine}" = "xyes" ; then
22341    if test "x${want_engine}" = "xstatic" ; then
22342       have_evas_engine_fb="static"
22343       want_static_engine="yes"
22344    else
22345       have_evas_engine_fb="yes"
22346    fi
22347 fi
22348
22349 if test "x${have_engine}" = "xyes" ; then
22350
22351 $as_echo "#define BUILD_ENGINE_FB 1" >>confdefs.h
22352
22353 fi
22354
22355  if test "x${have_engine}" = "xyes"; then
22356   BUILD_ENGINE_FB_TRUE=
22357   BUILD_ENGINE_FB_FALSE='#'
22358 else
22359   BUILD_ENGINE_FB_TRUE='#'
22360   BUILD_ENGINE_FB_FALSE=
22361 fi
22362
22363
22364 if test "x${want_static_engine}" = "xyes" ; then
22365
22366 $as_echo "#define EVAS_STATIC_BUILD_FB 1" >>confdefs.h
22367
22368    have_static_module="yes"
22369 fi
22370
22371  if test "x${want_static_engine}" = "xyes"; then
22372   EVAS_STATIC_BUILD_FB_TRUE=
22373   EVAS_STATIC_BUILD_FB_FALSE='#'
22374 else
22375   EVAS_STATIC_BUILD_FB_TRUE='#'
22376   EVAS_STATIC_BUILD_FB_FALSE=
22377 fi
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388 want_engine="${want_evas_engine_directfb}"
22389 want_static_engine="no"
22390 have_engine="no"
22391 have_evas_engine_directfb="no"
22392
22393 # Check whether --enable-directfb was given.
22394 if test "${enable_directfb+set}" = set; then :
22395   enableval=$enable_directfb;
22396     if test "x${enableval}" = "xyes" ; then
22397        want_engine="yes"
22398     else
22399        if test "x${enableval}" = "xstatic" ; then
22400           want_engine="static"
22401        else
22402           want_engine="no"
22403        fi
22404     fi
22405
22406 fi
22407
22408
22409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable DirectFB rendering backend" >&5
22410 $as_echo_n "checking whether to enable DirectFB rendering backend... " >&6; }
22411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22412 $as_echo "${want_engine}" >&6; }
22413
22414 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
22415
22416
22417 requirement=""
22418 have_dep="no"
22419 evas_engine_directfb_cflags=""
22420 evas_engine_directfb_libs=""
22421
22422
22423 pkg_failed=no
22424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
22425 $as_echo_n "checking for DIRECTFB... " >&6; }
22426
22427 if test -n "$DIRECTFB_CFLAGS"; then
22428     pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
22429  elif test -n "$PKG_CONFIG"; then
22430     if test -n "$PKG_CONFIG" && \
22431     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5
22432   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5
22433   ac_status=$?
22434   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22435   test $ac_status = 0; }; then
22436   pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.16" 2>/dev/null`
22437                       test "x$?" != "x0" && pkg_failed=yes
22438 else
22439   pkg_failed=yes
22440 fi
22441  else
22442     pkg_failed=untried
22443 fi
22444 if test -n "$DIRECTFB_LIBS"; then
22445     pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
22446  elif test -n "$PKG_CONFIG"; then
22447     if test -n "$PKG_CONFIG" && \
22448     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5
22449   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5
22450   ac_status=$?
22451   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22452   test $ac_status = 0; }; then
22453   pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.16" 2>/dev/null`
22454                       test "x$?" != "x0" && pkg_failed=yes
22455 else
22456   pkg_failed=yes
22457 fi
22458  else
22459     pkg_failed=untried
22460 fi
22461
22462
22463
22464 if test $pkg_failed = yes; then
22465         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22466 $as_echo "no" >&6; }
22467
22468 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22469         _pkg_short_errors_supported=yes
22470 else
22471         _pkg_short_errors_supported=no
22472 fi
22473         if test $_pkg_short_errors_supported = yes; then
22474                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "directfb >= 0.9.16" 2>&1`
22475         else
22476                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "directfb >= 0.9.16" 2>&1`
22477         fi
22478         # Put the nasty error message in config.log where it belongs
22479         echo "$DIRECTFB_PKG_ERRORS" >&5
22480
22481         as_fn_error $? "Package requirements (directfb >= 0.9.16) were not met:
22482
22483 $DIRECTFB_PKG_ERRORS
22484
22485 Consider adjusting the PKG_CONFIG_PATH environment variable if you
22486 installed software in a non-standard prefix.
22487
22488 Alternatively, you may set the environment variables DIRECTFB_CFLAGS
22489 and DIRECTFB_LIBS to avoid the need to call pkg-config.
22490 See the pkg-config man page for more details." "$LINENO" 5
22491 elif test $pkg_failed = untried; then
22492         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22493 $as_echo "no" >&6; }
22494         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22495 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22496 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
22497 is in your PATH or set the PKG_CONFIG environment variable to the full
22498 path to pkg-config.
22499
22500 Alternatively, you may set the environment variables DIRECTFB_CFLAGS
22501 and DIRECTFB_LIBS to avoid the need to call pkg-config.
22502 See the pkg-config man page for more details.
22503
22504 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22505 See \`config.log' for more details" "$LINENO" 5; }
22506 else
22507         DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
22508         DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
22509         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22510 $as_echo "yes" >&6; }
22511
22512     have_dep="yes"
22513     requirement="directfb"
22514     evas_engine_directfb_cflags="${DIRECTFB_CFLAGS}"
22515     evas_engine_directfb_libs="${DIRECTFB_LIBS}"
22516
22517
22518 fi
22519
22520
22521
22522
22523 if test "x${want_engine}" = "xstatic" ; then
22524    requirement_evas="${requirement} ${requirement_evas}"
22525 fi
22526
22527 if test "x${have_dep}" = "xyes" ; then
22528   have_engine="yes"
22529 else
22530   have_engine="no"
22531 fi
22532
22533
22534 fi
22535
22536 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
22537    as_fn_error $? "DirectFB dependencies not found (strict dependencies checking)" "$LINENO" 5
22538 fi
22539
22540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether DirectFB rendering backend will be built" >&5
22541 $as_echo_n "checking whether DirectFB rendering backend will be built... " >&6; }
22542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
22543 $as_echo "${have_engine}" >&6; }
22544
22545 if test "x${have_engine}" = "xyes" ; then
22546    if test "x${want_engine}" = "xstatic" ; then
22547       have_evas_engine_directfb="static"
22548       want_static_engine="yes"
22549    else
22550       have_evas_engine_directfb="yes"
22551    fi
22552 fi
22553
22554 if test "x${have_engine}" = "xyes" ; then
22555
22556 $as_echo "#define BUILD_ENGINE_DIRECTFB 1" >>confdefs.h
22557
22558 fi
22559
22560  if test "x${have_engine}" = "xyes"; then
22561   BUILD_ENGINE_DIRECTFB_TRUE=
22562   BUILD_ENGINE_DIRECTFB_FALSE='#'
22563 else
22564   BUILD_ENGINE_DIRECTFB_TRUE='#'
22565   BUILD_ENGINE_DIRECTFB_FALSE=
22566 fi
22567
22568
22569 if test "x${want_static_engine}" = "xyes" ; then
22570
22571 $as_echo "#define EVAS_STATIC_BUILD_DIRECTFB 1" >>confdefs.h
22572
22573    have_static_module="yes"
22574 fi
22575
22576  if test "x${want_static_engine}" = "xyes"; then
22577   EVAS_STATIC_BUILD_DIRECTFB_TRUE=
22578   EVAS_STATIC_BUILD_DIRECTFB_FALSE='#'
22579 else
22580   EVAS_STATIC_BUILD_DIRECTFB_TRUE='#'
22581   EVAS_STATIC_BUILD_DIRECTFB_FALSE=
22582 fi
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593 want_engine="${want_evas_engine_software_8_x11}"
22594 want_static_engine="no"
22595 have_engine="no"
22596 have_evas_engine_software_8_x11="no"
22597
22598 # Check whether --enable-software-8-x11 was given.
22599 if test "${enable_software_8_x11+set}" = set; then :
22600   enableval=$enable_software_8_x11;
22601     if test "x${enableval}" = "xyes" ; then
22602        want_engine="yes"
22603     else
22604        if test "x${enableval}" = "xstatic" ; then
22605           want_engine="static"
22606        else
22607           want_engine="no"
22608        fi
22609     fi
22610
22611 fi
22612
22613
22614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software X11 8 bits grayscale rendering backend" >&5
22615 $as_echo_n "checking whether to enable Software X11 8 bits grayscale rendering backend... " >&6; }
22616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22617 $as_echo "${want_engine}" >&6; }
22618
22619 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
22620
22621
22622 have_dep="no"
22623 evas_engine_software_8_x11_cflags=""
22624 evas_engine_software_8_x11_libs=""
22625
22626
22627 pkg_failed=no
22628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB" >&5
22629 $as_echo_n "checking for XCB... " >&6; }
22630
22631 if test -n "$XCB_CFLAGS"; then
22632     pkg_cv_XCB_CFLAGS="$XCB_CFLAGS"
22633  elif test -n "$PKG_CONFIG"; then
22634     if test -n "$PKG_CONFIG" && \
22635     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
22636   ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
22637   ac_status=$?
22638   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22639   test $ac_status = 0; }; then
22640   pkg_cv_XCB_CFLAGS=`$PKG_CONFIG --cflags "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
22641                       test "x$?" != "x0" && pkg_failed=yes
22642 else
22643   pkg_failed=yes
22644 fi
22645  else
22646     pkg_failed=untried
22647 fi
22648 if test -n "$XCB_LIBS"; then
22649     pkg_cv_XCB_LIBS="$XCB_LIBS"
22650  elif test -n "$PKG_CONFIG"; then
22651     if test -n "$PKG_CONFIG" && \
22652     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
22653   ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
22654   ac_status=$?
22655   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22656   test $ac_status = 0; }; then
22657   pkg_cv_XCB_LIBS=`$PKG_CONFIG --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
22658                       test "x$?" != "x0" && pkg_failed=yes
22659 else
22660   pkg_failed=yes
22661 fi
22662  else
22663     pkg_failed=untried
22664 fi
22665
22666
22667
22668 if test $pkg_failed = yes; then
22669         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22670 $as_echo "no" >&6; }
22671
22672 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22673         _pkg_short_errors_supported=yes
22674 else
22675         _pkg_short_errors_supported=no
22676 fi
22677         if test $_pkg_short_errors_supported = yes; then
22678                 XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
22679         else
22680                 XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
22681         fi
22682         # Put the nasty error message in config.log where it belongs
22683         echo "$XCB_PKG_ERRORS" >&5
22684
22685
22686     have_dep="no"
22687
22688
22689 elif test $pkg_failed = untried; then
22690         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22691 $as_echo "no" >&6; }
22692
22693     have_dep="no"
22694
22695
22696 else
22697         XCB_CFLAGS=$pkg_cv_XCB_CFLAGS
22698         XCB_LIBS=$pkg_cv_XCB_LIBS
22699         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22700 $as_echo "yes" >&6; }
22701
22702     have_dep="yes"
22703     requirement="xcb xcb-shm xcb-image pixman-1"
22704     evas_engine_software_8_x11_cflags="${XCB_CFLAGS}"
22705     evas_engine_software_8_x11_libs="${XCB_LIBS}"
22706
22707 fi
22708
22709
22710
22711
22712 if test "x${want_engine}" = "xstatic" ; then
22713    requirement_evas="${requirement} ${requirement_evas}"
22714 fi
22715
22716 if test "x${have_dep}" = "xyes" ; then
22717   have_engine="yes"
22718 else
22719   have_engine="no"
22720 fi
22721
22722
22723 fi
22724
22725 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
22726    as_fn_error $? "Software X11 8 bits grayscale dependencies not found (strict dependencies checking)" "$LINENO" 5
22727 fi
22728
22729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software X11 8 bits grayscale rendering backend will be built" >&5
22730 $as_echo_n "checking whether Software X11 8 bits grayscale rendering backend will be built... " >&6; }
22731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
22732 $as_echo "${have_engine}" >&6; }
22733
22734 if test "x${have_engine}" = "xyes" ; then
22735    if test "x${want_engine}" = "xstatic" ; then
22736       have_evas_engine_software_8_x11="static"
22737       want_static_engine="yes"
22738    else
22739       have_evas_engine_software_8_x11="yes"
22740    fi
22741 fi
22742
22743 if test "x${have_engine}" = "xyes" ; then
22744
22745 $as_echo "#define BUILD_ENGINE_SOFTWARE_8_X11 1" >>confdefs.h
22746
22747 fi
22748
22749  if test "x${have_engine}" = "xyes"; then
22750   BUILD_ENGINE_SOFTWARE_8_X11_TRUE=
22751   BUILD_ENGINE_SOFTWARE_8_X11_FALSE='#'
22752 else
22753   BUILD_ENGINE_SOFTWARE_8_X11_TRUE='#'
22754   BUILD_ENGINE_SOFTWARE_8_X11_FALSE=
22755 fi
22756
22757
22758 if test "x${want_static_engine}" = "xyes" ; then
22759
22760 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_8_X11 1" >>confdefs.h
22761
22762    have_static_module="yes"
22763 fi
22764
22765  if test "x${want_static_engine}" = "xyes"; then
22766   EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE=
22767   EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE='#'
22768 else
22769   EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE='#'
22770   EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE=
22771 fi
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782 want_engine="${want_evas_engine_software_16_x11}"
22783 want_static_engine="no"
22784 have_engine="no"
22785 have_evas_engine_software_16_x11="no"
22786
22787 # Check whether --enable-software-16-x11 was given.
22788 if test "${enable_software_16_x11+set}" = set; then :
22789   enableval=$enable_software_16_x11;
22790     if test "x${enableval}" = "xyes" ; then
22791        want_engine="yes"
22792     else
22793        if test "x${enableval}" = "xstatic" ; then
22794           want_engine="static"
22795        else
22796           want_engine="no"
22797        fi
22798     fi
22799
22800 fi
22801
22802
22803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software X11 16 bits rendering backend" >&5
22804 $as_echo_n "checking whether to enable Software X11 16 bits rendering backend... " >&6; }
22805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22806 $as_echo "${want_engine}" >&6; }
22807
22808 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
22809
22810
22811 have_dep="no"
22812 evas_engine_software_16_x11_cflags=""
22813 evas_engine_software_16_x11_libs=""
22814
22815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
22816 $as_echo_n "checking for X... " >&6; }
22817
22818
22819 # Check whether --with-x was given.
22820 if test "${with_x+set}" = set; then :
22821   withval=$with_x;
22822 fi
22823
22824 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
22825 if test "x$with_x" = xno; then
22826   # The user explicitly disabled X.
22827   have_x=disabled
22828 else
22829   case $x_includes,$x_libraries in #(
22830     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
22831     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
22832   $as_echo_n "(cached) " >&6
22833 else
22834   # One or both of the vars are not set, and there is no cached value.
22835 ac_x_includes=no ac_x_libraries=no
22836 rm -f -r conftest.dir
22837 if mkdir conftest.dir; then
22838   cd conftest.dir
22839   cat >Imakefile <<'_ACEOF'
22840 incroot:
22841         @echo incroot='${INCROOT}'
22842 usrlibdir:
22843         @echo usrlibdir='${USRLIBDIR}'
22844 libdir:
22845         @echo libdir='${LIBDIR}'
22846 _ACEOF
22847   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
22848     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
22849     for ac_var in incroot usrlibdir libdir; do
22850       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
22851     done
22852     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
22853     for ac_extension in a so sl dylib la dll; do
22854       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
22855          test -f "$ac_im_libdir/libX11.$ac_extension"; then
22856         ac_im_usrlibdir=$ac_im_libdir; break
22857       fi
22858     done
22859     # Screen out bogus values from the imake configuration.  They are
22860     # bogus both because they are the default anyway, and because
22861     # using them would break gcc on systems where it needs fixed includes.
22862     case $ac_im_incroot in
22863         /usr/include) ac_x_includes= ;;
22864         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
22865     esac
22866     case $ac_im_usrlibdir in
22867         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
22868         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
22869     esac
22870   fi
22871   cd ..
22872   rm -f -r conftest.dir
22873 fi
22874
22875 # Standard set of common directories for X headers.
22876 # Check X11 before X11Rn because it is often a symlink to the current release.
22877 ac_x_header_dirs='
22878 /usr/X11/include
22879 /usr/X11R7/include
22880 /usr/X11R6/include
22881 /usr/X11R5/include
22882 /usr/X11R4/include
22883
22884 /usr/include/X11
22885 /usr/include/X11R7
22886 /usr/include/X11R6
22887 /usr/include/X11R5
22888 /usr/include/X11R4
22889
22890 /usr/local/X11/include
22891 /usr/local/X11R7/include
22892 /usr/local/X11R6/include
22893 /usr/local/X11R5/include
22894 /usr/local/X11R4/include
22895
22896 /usr/local/include/X11
22897 /usr/local/include/X11R7
22898 /usr/local/include/X11R6
22899 /usr/local/include/X11R5
22900 /usr/local/include/X11R4
22901
22902 /usr/X386/include
22903 /usr/x386/include
22904 /usr/XFree86/include/X11
22905
22906 /usr/include
22907 /usr/local/include
22908 /usr/unsupported/include
22909 /usr/athena/include
22910 /usr/local/x11r5/include
22911 /usr/lpp/Xamples/include
22912
22913 /usr/openwin/include
22914 /usr/openwin/share/include'
22915
22916 if test "$ac_x_includes" = no; then
22917   # Guess where to find include files, by looking for Xlib.h.
22918   # First, try using that file with no special directory specified.
22919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22920 /* end confdefs.h.  */
22921 #include <X11/Xlib.h>
22922 _ACEOF
22923 if ac_fn_c_try_cpp "$LINENO"; then :
22924   # We can compile using X headers with no special include directory.
22925 ac_x_includes=
22926 else
22927   for ac_dir in $ac_x_header_dirs; do
22928   if test -r "$ac_dir/X11/Xlib.h"; then
22929     ac_x_includes=$ac_dir
22930     break
22931   fi
22932 done
22933 fi
22934 rm -f conftest.err conftest.i conftest.$ac_ext
22935 fi # $ac_x_includes = no
22936
22937 if test "$ac_x_libraries" = no; then
22938   # Check for the libraries.
22939   # See if we find them without any special options.
22940   # Don't add to $LIBS permanently.
22941   ac_save_LIBS=$LIBS
22942   LIBS="-lX11 $LIBS"
22943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22944 /* end confdefs.h.  */
22945 #include <X11/Xlib.h>
22946 int
22947 main ()
22948 {
22949 XrmInitialize ()
22950   ;
22951   return 0;
22952 }
22953 _ACEOF
22954 if ac_fn_c_try_link "$LINENO"; then :
22955   LIBS=$ac_save_LIBS
22956 # We can link X programs with no special library path.
22957 ac_x_libraries=
22958 else
22959   LIBS=$ac_save_LIBS
22960 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
22961 do
22962   # Don't even attempt the hair of trying to link an X program!
22963   for ac_extension in a so sl dylib la dll; do
22964     if test -r "$ac_dir/libX11.$ac_extension"; then
22965       ac_x_libraries=$ac_dir
22966       break 2
22967     fi
22968   done
22969 done
22970 fi
22971 rm -f core conftest.err conftest.$ac_objext \
22972     conftest$ac_exeext conftest.$ac_ext
22973 fi # $ac_x_libraries = no
22974
22975 case $ac_x_includes,$ac_x_libraries in #(
22976   no,* | *,no | *\'*)
22977     # Didn't find X, or a directory has "'" in its name.
22978     ac_cv_have_x="have_x=no";; #(
22979   *)
22980     # Record where we found X for the cache.
22981     ac_cv_have_x="have_x=yes\
22982         ac_x_includes='$ac_x_includes'\
22983         ac_x_libraries='$ac_x_libraries'"
22984 esac
22985 fi
22986 ;; #(
22987     *) have_x=yes;;
22988   esac
22989   eval "$ac_cv_have_x"
22990 fi # $with_x != no
22991
22992 if test "$have_x" != yes; then
22993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
22994 $as_echo "$have_x" >&6; }
22995   no_x=yes
22996 else
22997   # If each of the values was on the command line, it overrides each guess.
22998   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
22999   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
23000   # Update the cache value to reflect the command line values.
23001   ac_cv_have_x="have_x=yes\
23002         ac_x_includes='$x_includes'\
23003         ac_x_libraries='$x_libraries'"
23004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
23005 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
23006 fi
23007
23008 if test "$no_x" = yes; then
23009   # Not all programs may use this symbol, but it does not hurt to define it.
23010
23011 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
23012
23013   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
23014 else
23015   if test -n "$x_includes"; then
23016     X_CFLAGS="$X_CFLAGS -I$x_includes"
23017   fi
23018
23019   # It would also be nice to do this for all -L options, not just this one.
23020   if test -n "$x_libraries"; then
23021     X_LIBS="$X_LIBS -L$x_libraries"
23022     # For Solaris; some versions of Sun CC require a space after -R and
23023     # others require no space.  Words are not sufficient . . . .
23024     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
23025 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
23026     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
23027     ac_xsave_c_werror_flag=$ac_c_werror_flag
23028     ac_c_werror_flag=yes
23029     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23030 /* end confdefs.h.  */
23031
23032 int
23033 main ()
23034 {
23035
23036   ;
23037   return 0;
23038 }
23039 _ACEOF
23040 if ac_fn_c_try_link "$LINENO"; then :
23041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23042 $as_echo "no" >&6; }
23043        X_LIBS="$X_LIBS -R$x_libraries"
23044 else
23045   LIBS="$ac_xsave_LIBS -R $x_libraries"
23046        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23047 /* end confdefs.h.  */
23048
23049 int
23050 main ()
23051 {
23052
23053   ;
23054   return 0;
23055 }
23056 _ACEOF
23057 if ac_fn_c_try_link "$LINENO"; then :
23058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23059 $as_echo "yes" >&6; }
23060           X_LIBS="$X_LIBS -R $x_libraries"
23061 else
23062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
23063 $as_echo "neither works" >&6; }
23064 fi
23065 rm -f core conftest.err conftest.$ac_objext \
23066     conftest$ac_exeext conftest.$ac_ext
23067 fi
23068 rm -f core conftest.err conftest.$ac_objext \
23069     conftest$ac_exeext conftest.$ac_ext
23070     ac_c_werror_flag=$ac_xsave_c_werror_flag
23071     LIBS=$ac_xsave_LIBS
23072   fi
23073
23074   # Check for system-dependent libraries X programs must link with.
23075   # Do this before checking for the system-independent R6 libraries
23076   # (-lICE), since we may need -lsocket or whatever for X linking.
23077
23078   if test "$ISC" = yes; then
23079     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23080   else
23081     # Martyn Johnson says this is needed for Ultrix, if the X
23082     # libraries were built with DECnet support.  And Karl Berry says
23083     # the Alpha needs dnet_stub (dnet does not exist).
23084     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23085     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23086 /* end confdefs.h.  */
23087
23088 /* Override any GCC internal prototype to avoid an error.
23089    Use char because int might match the return type of a GCC
23090    builtin and then its argument prototype would still apply.  */
23091 #ifdef __cplusplus
23092 extern "C"
23093 #endif
23094 char XOpenDisplay ();
23095 int
23096 main ()
23097 {
23098 return XOpenDisplay ();
23099   ;
23100   return 0;
23101 }
23102 _ACEOF
23103 if ac_fn_c_try_link "$LINENO"; then :
23104
23105 else
23106   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
23107 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
23108 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
23109   $as_echo_n "(cached) " >&6
23110 else
23111   ac_check_lib_save_LIBS=$LIBS
23112 LIBS="-ldnet  $LIBS"
23113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23114 /* end confdefs.h.  */
23115
23116 /* Override any GCC internal prototype to avoid an error.
23117    Use char because int might match the return type of a GCC
23118    builtin and then its argument prototype would still apply.  */
23119 #ifdef __cplusplus
23120 extern "C"
23121 #endif
23122 char dnet_ntoa ();
23123 int
23124 main ()
23125 {
23126 return dnet_ntoa ();
23127   ;
23128   return 0;
23129 }
23130 _ACEOF
23131 if ac_fn_c_try_link "$LINENO"; then :
23132   ac_cv_lib_dnet_dnet_ntoa=yes
23133 else
23134   ac_cv_lib_dnet_dnet_ntoa=no
23135 fi
23136 rm -f core conftest.err conftest.$ac_objext \
23137     conftest$ac_exeext conftest.$ac_ext
23138 LIBS=$ac_check_lib_save_LIBS
23139 fi
23140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23141 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
23142 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
23143   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23144 fi
23145
23146     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23147       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
23148 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
23149 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
23150   $as_echo_n "(cached) " >&6
23151 else
23152   ac_check_lib_save_LIBS=$LIBS
23153 LIBS="-ldnet_stub  $LIBS"
23154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23155 /* end confdefs.h.  */
23156
23157 /* Override any GCC internal prototype to avoid an error.
23158    Use char because int might match the return type of a GCC
23159    builtin and then its argument prototype would still apply.  */
23160 #ifdef __cplusplus
23161 extern "C"
23162 #endif
23163 char dnet_ntoa ();
23164 int
23165 main ()
23166 {
23167 return dnet_ntoa ();
23168   ;
23169   return 0;
23170 }
23171 _ACEOF
23172 if ac_fn_c_try_link "$LINENO"; then :
23173   ac_cv_lib_dnet_stub_dnet_ntoa=yes
23174 else
23175   ac_cv_lib_dnet_stub_dnet_ntoa=no
23176 fi
23177 rm -f core conftest.err conftest.$ac_objext \
23178     conftest$ac_exeext conftest.$ac_ext
23179 LIBS=$ac_check_lib_save_LIBS
23180 fi
23181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23182 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
23183 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
23184   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23185 fi
23186
23187     fi
23188 fi
23189 rm -f core conftest.err conftest.$ac_objext \
23190     conftest$ac_exeext conftest.$ac_ext
23191     LIBS="$ac_xsave_LIBS"
23192
23193     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23194     # to get the SysV transport functions.
23195     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23196     # needs -lnsl.
23197     # The nsl library prevents programs from opening the X display
23198     # on Irix 5.2, according to T.E. Dickey.
23199     # The functions gethostbyname, getservbyname, and inet_addr are
23200     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23201     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
23202 if test "x$ac_cv_func_gethostbyname" = xyes; then :
23203
23204 fi
23205
23206     if test $ac_cv_func_gethostbyname = no; then
23207       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
23208 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
23209 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
23210   $as_echo_n "(cached) " >&6
23211 else
23212   ac_check_lib_save_LIBS=$LIBS
23213 LIBS="-lnsl  $LIBS"
23214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23215 /* end confdefs.h.  */
23216
23217 /* Override any GCC internal prototype to avoid an error.
23218    Use char because int might match the return type of a GCC
23219    builtin and then its argument prototype would still apply.  */
23220 #ifdef __cplusplus
23221 extern "C"
23222 #endif
23223 char gethostbyname ();
23224 int
23225 main ()
23226 {
23227 return gethostbyname ();
23228   ;
23229   return 0;
23230 }
23231 _ACEOF
23232 if ac_fn_c_try_link "$LINENO"; then :
23233   ac_cv_lib_nsl_gethostbyname=yes
23234 else
23235   ac_cv_lib_nsl_gethostbyname=no
23236 fi
23237 rm -f core conftest.err conftest.$ac_objext \
23238     conftest$ac_exeext conftest.$ac_ext
23239 LIBS=$ac_check_lib_save_LIBS
23240 fi
23241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
23242 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
23243 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
23244   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23245 fi
23246
23247       if test $ac_cv_lib_nsl_gethostbyname = no; then
23248         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
23249 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
23250 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
23251   $as_echo_n "(cached) " >&6
23252 else
23253   ac_check_lib_save_LIBS=$LIBS
23254 LIBS="-lbsd  $LIBS"
23255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23256 /* end confdefs.h.  */
23257
23258 /* Override any GCC internal prototype to avoid an error.
23259    Use char because int might match the return type of a GCC
23260    builtin and then its argument prototype would still apply.  */
23261 #ifdef __cplusplus
23262 extern "C"
23263 #endif
23264 char gethostbyname ();
23265 int
23266 main ()
23267 {
23268 return gethostbyname ();
23269   ;
23270   return 0;
23271 }
23272 _ACEOF
23273 if ac_fn_c_try_link "$LINENO"; then :
23274   ac_cv_lib_bsd_gethostbyname=yes
23275 else
23276   ac_cv_lib_bsd_gethostbyname=no
23277 fi
23278 rm -f core conftest.err conftest.$ac_objext \
23279     conftest$ac_exeext conftest.$ac_ext
23280 LIBS=$ac_check_lib_save_LIBS
23281 fi
23282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
23283 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
23284 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
23285   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23286 fi
23287
23288       fi
23289     fi
23290
23291     # lieder@skyler.mavd.honeywell.com says without -lsocket,
23292     # socket/setsockopt and other routines are undefined under SCO ODT
23293     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
23294     # on later versions), says Simon Leinen: it contains gethostby*
23295     # variants that don't use the name server (or something).  -lsocket
23296     # must be given before -lnsl if both are needed.  We assume that
23297     # if connect needs -lnsl, so does gethostbyname.
23298     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
23299 if test "x$ac_cv_func_connect" = xyes; then :
23300
23301 fi
23302
23303     if test $ac_cv_func_connect = no; then
23304       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
23305 $as_echo_n "checking for connect in -lsocket... " >&6; }
23306 if ${ac_cv_lib_socket_connect+:} false; then :
23307   $as_echo_n "(cached) " >&6
23308 else
23309   ac_check_lib_save_LIBS=$LIBS
23310 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23312 /* end confdefs.h.  */
23313
23314 /* Override any GCC internal prototype to avoid an error.
23315    Use char because int might match the return type of a GCC
23316    builtin and then its argument prototype would still apply.  */
23317 #ifdef __cplusplus
23318 extern "C"
23319 #endif
23320 char connect ();
23321 int
23322 main ()
23323 {
23324 return connect ();
23325   ;
23326   return 0;
23327 }
23328 _ACEOF
23329 if ac_fn_c_try_link "$LINENO"; then :
23330   ac_cv_lib_socket_connect=yes
23331 else
23332   ac_cv_lib_socket_connect=no
23333 fi
23334 rm -f core conftest.err conftest.$ac_objext \
23335     conftest$ac_exeext conftest.$ac_ext
23336 LIBS=$ac_check_lib_save_LIBS
23337 fi
23338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
23339 $as_echo "$ac_cv_lib_socket_connect" >&6; }
23340 if test "x$ac_cv_lib_socket_connect" = xyes; then :
23341   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23342 fi
23343
23344     fi
23345
23346     # Guillermo Gomez says -lposix is necessary on A/UX.
23347     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
23348 if test "x$ac_cv_func_remove" = xyes; then :
23349
23350 fi
23351
23352     if test $ac_cv_func_remove = no; then
23353       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
23354 $as_echo_n "checking for remove in -lposix... " >&6; }
23355 if ${ac_cv_lib_posix_remove+:} false; then :
23356   $as_echo_n "(cached) " >&6
23357 else
23358   ac_check_lib_save_LIBS=$LIBS
23359 LIBS="-lposix  $LIBS"
23360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23361 /* end confdefs.h.  */
23362
23363 /* Override any GCC internal prototype to avoid an error.
23364    Use char because int might match the return type of a GCC
23365    builtin and then its argument prototype would still apply.  */
23366 #ifdef __cplusplus
23367 extern "C"
23368 #endif
23369 char remove ();
23370 int
23371 main ()
23372 {
23373 return remove ();
23374   ;
23375   return 0;
23376 }
23377 _ACEOF
23378 if ac_fn_c_try_link "$LINENO"; then :
23379   ac_cv_lib_posix_remove=yes
23380 else
23381   ac_cv_lib_posix_remove=no
23382 fi
23383 rm -f core conftest.err conftest.$ac_objext \
23384     conftest$ac_exeext conftest.$ac_ext
23385 LIBS=$ac_check_lib_save_LIBS
23386 fi
23387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
23388 $as_echo "$ac_cv_lib_posix_remove" >&6; }
23389 if test "x$ac_cv_lib_posix_remove" = xyes; then :
23390   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23391 fi
23392
23393     fi
23394
23395     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23396     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
23397 if test "x$ac_cv_func_shmat" = xyes; then :
23398
23399 fi
23400
23401     if test $ac_cv_func_shmat = no; then
23402       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
23403 $as_echo_n "checking for shmat in -lipc... " >&6; }
23404 if ${ac_cv_lib_ipc_shmat+:} false; then :
23405   $as_echo_n "(cached) " >&6
23406 else
23407   ac_check_lib_save_LIBS=$LIBS
23408 LIBS="-lipc  $LIBS"
23409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23410 /* end confdefs.h.  */
23411
23412 /* Override any GCC internal prototype to avoid an error.
23413    Use char because int might match the return type of a GCC
23414    builtin and then its argument prototype would still apply.  */
23415 #ifdef __cplusplus
23416 extern "C"
23417 #endif
23418 char shmat ();
23419 int
23420 main ()
23421 {
23422 return shmat ();
23423   ;
23424   return 0;
23425 }
23426 _ACEOF
23427 if ac_fn_c_try_link "$LINENO"; then :
23428   ac_cv_lib_ipc_shmat=yes
23429 else
23430   ac_cv_lib_ipc_shmat=no
23431 fi
23432 rm -f core conftest.err conftest.$ac_objext \
23433     conftest$ac_exeext conftest.$ac_ext
23434 LIBS=$ac_check_lib_save_LIBS
23435 fi
23436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
23437 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
23438 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
23439   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23440 fi
23441
23442     fi
23443   fi
23444
23445   # Check for libraries that X11R6 Xt/Xaw programs need.
23446   ac_save_LDFLAGS=$LDFLAGS
23447   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23448   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23449   # check for ICE first), but we must link in the order -lSM -lICE or
23450   # we get undefined symbols.  So assume we have SM if we have ICE.
23451   # These have to be linked with before -lX11, unlike the other
23452   # libraries we check for below, so use a different variable.
23453   # John Interrante, Karl Berry
23454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
23455 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
23456 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
23457   $as_echo_n "(cached) " >&6
23458 else
23459   ac_check_lib_save_LIBS=$LIBS
23460 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23462 /* end confdefs.h.  */
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 IceConnectionNumber ();
23471 int
23472 main ()
23473 {
23474 return IceConnectionNumber ();
23475   ;
23476   return 0;
23477 }
23478 _ACEOF
23479 if ac_fn_c_try_link "$LINENO"; then :
23480   ac_cv_lib_ICE_IceConnectionNumber=yes
23481 else
23482   ac_cv_lib_ICE_IceConnectionNumber=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_ICE_IceConnectionNumber" >&5
23489 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
23490 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
23491   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23492 fi
23493
23494   LDFLAGS=$ac_save_LDFLAGS
23495
23496 fi
23497
23498
23499 ac_fn_c_check_header_mongrel "$LINENO" "X11/X.h" "ac_cv_header_X11_X_h" "$ac_includes_default"
23500 if test "x$ac_cv_header_X11_X_h" = xyes; then :
23501   have_dep="yes"
23502 fi
23503
23504
23505
23506 if test "x${have_dep}" = "xyes" ; then
23507    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateImage in -lX11" >&5
23508 $as_echo_n "checking for XCreateImage in -lX11... " >&6; }
23509 if ${ac_cv_lib_X11_XCreateImage+:} false; then :
23510   $as_echo_n "(cached) " >&6
23511 else
23512   ac_check_lib_save_LIBS=$LIBS
23513 LIBS="-lX11  $LIBS"
23514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23515 /* end confdefs.h.  */
23516
23517 /* Override any GCC internal prototype to avoid an error.
23518    Use char because int might match the return type of a GCC
23519    builtin and then its argument prototype would still apply.  */
23520 #ifdef __cplusplus
23521 extern "C"
23522 #endif
23523 char XCreateImage ();
23524 int
23525 main ()
23526 {
23527 return XCreateImage ();
23528   ;
23529   return 0;
23530 }
23531 _ACEOF
23532 if ac_fn_c_try_link "$LINENO"; then :
23533   ac_cv_lib_X11_XCreateImage=yes
23534 else
23535   ac_cv_lib_X11_XCreateImage=no
23536 fi
23537 rm -f core conftest.err conftest.$ac_objext \
23538     conftest$ac_exeext conftest.$ac_ext
23539 LIBS=$ac_check_lib_save_LIBS
23540 fi
23541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateImage" >&5
23542 $as_echo "$ac_cv_lib_X11_XCreateImage" >&6; }
23543 if test "x$ac_cv_lib_X11_XCreateImage" = xyes; then :
23544   have_dep="yes"
23545 else
23546   have_dep="no"
23547 fi
23548
23549 fi
23550
23551 if test "x${have_dep}" = "xyes" ; then
23552    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmCreateImage in -lXext" >&5
23553 $as_echo_n "checking for XShmCreateImage in -lXext... " >&6; }
23554 if ${ac_cv_lib_Xext_XShmCreateImage+:} false; then :
23555   $as_echo_n "(cached) " >&6
23556 else
23557   ac_check_lib_save_LIBS=$LIBS
23558 LIBS="-lXext  $LIBS"
23559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23560 /* end confdefs.h.  */
23561
23562 /* Override any GCC internal prototype to avoid an error.
23563    Use char because int might match the return type of a GCC
23564    builtin and then its argument prototype would still apply.  */
23565 #ifdef __cplusplus
23566 extern "C"
23567 #endif
23568 char XShmCreateImage ();
23569 int
23570 main ()
23571 {
23572 return XShmCreateImage ();
23573   ;
23574   return 0;
23575 }
23576 _ACEOF
23577 if ac_fn_c_try_link "$LINENO"; then :
23578   ac_cv_lib_Xext_XShmCreateImage=yes
23579 else
23580   ac_cv_lib_Xext_XShmCreateImage=no
23581 fi
23582 rm -f core conftest.err conftest.$ac_objext \
23583     conftest$ac_exeext conftest.$ac_ext
23584 LIBS=$ac_check_lib_save_LIBS
23585 fi
23586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmCreateImage" >&5
23587 $as_echo "$ac_cv_lib_Xext_XShmCreateImage" >&6; }
23588 if test "x$ac_cv_lib_Xext_XShmCreateImage" = xyes; then :
23589   have_dep="yes"
23590 else
23591   have_dep="no"
23592 fi
23593
23594 fi
23595
23596 if test "x${have_dep}" = "xyes" ; then
23597    if test "xno" = "xyes" ; then
23598       x_libs="${x_libs} -lX11 -lXext"
23599    else
23600       x_dir=${x_dir:-/usr/X11R6}
23601       x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
23602       x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
23603    fi
23604    evas_engine_software_16_x11_cflags="${x_cflags}"
23605    evas_engine_software_16_x11_libs="${x_libs}"
23606 fi
23607
23608
23609
23610
23611 if test "x${have_dep}" = "xyes" ; then
23612   have_engine="yes"
23613 else
23614   have_engine="no"
23615 fi
23616
23617
23618 fi
23619
23620 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23621    as_fn_error $? "Software X11 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5
23622 fi
23623
23624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software X11 16 bits rendering backend will be built" >&5
23625 $as_echo_n "checking whether Software X11 16 bits rendering backend will be built... " >&6; }
23626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
23627 $as_echo "${have_engine}" >&6; }
23628
23629 if test "x${have_engine}" = "xyes" ; then
23630    if test "x${want_engine}" = "xstatic" ; then
23631       have_evas_engine_software_16_x11="static"
23632       want_static_engine="yes"
23633    else
23634       have_evas_engine_software_16_x11="yes"
23635    fi
23636 fi
23637
23638 if test "x${have_engine}" = "xyes" ; then
23639
23640 $as_echo "#define BUILD_ENGINE_SOFTWARE_16_X11 1" >>confdefs.h
23641
23642 fi
23643
23644  if test "x${have_engine}" = "xyes"; then
23645   BUILD_ENGINE_SOFTWARE_16_X11_TRUE=
23646   BUILD_ENGINE_SOFTWARE_16_X11_FALSE='#'
23647 else
23648   BUILD_ENGINE_SOFTWARE_16_X11_TRUE='#'
23649   BUILD_ENGINE_SOFTWARE_16_X11_FALSE=
23650 fi
23651
23652
23653 if test "x${want_static_engine}" = "xyes" ; then
23654
23655 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16_X11 1" >>confdefs.h
23656
23657    have_static_module="yes"
23658 fi
23659
23660  if test "x${want_static_engine}" = "xyes"; then
23661   EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE=
23662   EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE='#'
23663 else
23664   EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE='#'
23665   EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE=
23666 fi
23667
23668
23669
23670
23671
23672
23673
23674
23675
23676
23677 want_engine="${want_evas_engine_software_16_wince}"
23678 want_static_engine="no"
23679 have_engine="no"
23680 have_evas_engine_software_16_wince="no"
23681
23682 # Check whether --enable-software-16-wince was given.
23683 if test "${enable_software_16_wince+set}" = set; then :
23684   enableval=$enable_software_16_wince;
23685     if test "x${enableval}" = "xyes" ; then
23686        want_engine="yes"
23687     else
23688        if test "x${enableval}" = "xstatic" ; then
23689           want_engine="static"
23690        else
23691           want_engine="no"
23692        fi
23693     fi
23694
23695 fi
23696
23697
23698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software Windows CE 16 bits rendering backend" >&5
23699 $as_echo_n "checking whether to enable Software Windows CE 16 bits rendering backend... " >&6; }
23700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
23701 $as_echo "${want_engine}" >&6; }
23702
23703 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
23704
23705
23706 have_dep="yes"
23707 evas_engine_software_16_wince_cflags=""
23708 evas_engine_software_16_wince_libs=""
23709
23710
23711
23712
23713 if test "x${have_dep}" = "xyes" ; then
23714   have_engine="yes"
23715 else
23716   have_engine="no"
23717 fi
23718
23719
23720 fi
23721
23722 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23723    as_fn_error $? "Software Windows CE 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5
23724 fi
23725
23726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software Windows CE 16 bits rendering backend will be built" >&5
23727 $as_echo_n "checking whether Software Windows CE 16 bits rendering backend will be built... " >&6; }
23728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
23729 $as_echo "${have_engine}" >&6; }
23730
23731 if test "x${have_engine}" = "xyes" ; then
23732    if test "x${want_engine}" = "xstatic" ; then
23733       have_evas_engine_software_16_wince="static"
23734       want_static_engine="yes"
23735    else
23736       have_evas_engine_software_16_wince="yes"
23737    fi
23738 fi
23739
23740 if test "x${have_engine}" = "xyes" ; then
23741
23742 $as_echo "#define BUILD_ENGINE_SOFTWARE_16_WINCE 1" >>confdefs.h
23743
23744 fi
23745
23746  if test "x${have_engine}" = "xyes"; then
23747   BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE=
23748   BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE='#'
23749 else
23750   BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE='#'
23751   BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE=
23752 fi
23753
23754
23755 if test "x${want_static_engine}" = "xyes" ; then
23756
23757 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16_WINCE 1" >>confdefs.h
23758
23759    have_static_module="yes"
23760 fi
23761
23762  if test "x${want_static_engine}" = "xyes"; then
23763   EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE=
23764   EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE='#'
23765 else
23766   EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE='#'
23767   EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE=
23768 fi
23769
23770
23771
23772
23773
23774
23775
23776
23777
23778
23779 want_engine="${want_evas_engine_software_16_sdl}"
23780 want_static_engine="no"
23781 have_engine="no"
23782 have_evas_engine_software_16_sdl="no"
23783
23784 # Check whether --enable-software-16-sdl was given.
23785 if test "${enable_software_16_sdl+set}" = set; then :
23786   enableval=$enable_software_16_sdl;
23787     if test "x${enableval}" = "xyes" ; then
23788        want_engine="yes"
23789     else
23790        if test "x${enableval}" = "xstatic" ; then
23791           want_engine="static"
23792        else
23793           want_engine="no"
23794        fi
23795     fi
23796
23797 fi
23798
23799
23800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software SDL 16 bits rendering backend" >&5
23801 $as_echo_n "checking whether to enable Software SDL 16 bits rendering backend... " >&6; }
23802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
23803 $as_echo "${want_engine}" >&6; }
23804
23805 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
23806
23807
23808 requirement=""
23809 have_dep="no"
23810 evas_engine_software_16_sdl_cflags=""
23811 evas_engine_software_16_sdl_libs=""
23812
23813
23814 pkg_failed=no
23815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
23816 $as_echo_n "checking for SDL... " >&6; }
23817
23818 if test -n "$SDL_CFLAGS"; then
23819     pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
23820  elif test -n "$PKG_CONFIG"; then
23821     if test -n "$PKG_CONFIG" && \
23822     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
23823   ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
23824   ac_status=$?
23825   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23826   test $ac_status = 0; }; then
23827   pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl >= 1.2.0" 2>/dev/null`
23828                       test "x$?" != "x0" && pkg_failed=yes
23829 else
23830   pkg_failed=yes
23831 fi
23832  else
23833     pkg_failed=untried
23834 fi
23835 if test -n "$SDL_LIBS"; then
23836     pkg_cv_SDL_LIBS="$SDL_LIBS"
23837  elif test -n "$PKG_CONFIG"; then
23838     if test -n "$PKG_CONFIG" && \
23839     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
23840   ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
23841   ac_status=$?
23842   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23843   test $ac_status = 0; }; then
23844   pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl >= 1.2.0" 2>/dev/null`
23845                       test "x$?" != "x0" && pkg_failed=yes
23846 else
23847   pkg_failed=yes
23848 fi
23849  else
23850     pkg_failed=untried
23851 fi
23852
23853
23854
23855 if test $pkg_failed = yes; then
23856         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23857 $as_echo "no" >&6; }
23858
23859 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23860         _pkg_short_errors_supported=yes
23861 else
23862         _pkg_short_errors_supported=no
23863 fi
23864         if test $_pkg_short_errors_supported = yes; then
23865                 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sdl >= 1.2.0" 2>&1`
23866         else
23867                 SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sdl >= 1.2.0" 2>&1`
23868         fi
23869         # Put the nasty error message in config.log where it belongs
23870         echo "$SDL_PKG_ERRORS" >&5
23871
23872         as_fn_error $? "Package requirements (sdl >= 1.2.0) were not met:
23873
23874 $SDL_PKG_ERRORS
23875
23876 Consider adjusting the PKG_CONFIG_PATH environment variable if you
23877 installed software in a non-standard prefix.
23878
23879 Alternatively, you may set the environment variables SDL_CFLAGS
23880 and SDL_LIBS to avoid the need to call pkg-config.
23881 See the pkg-config man page for more details." "$LINENO" 5
23882 elif test $pkg_failed = untried; then
23883         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23884 $as_echo "no" >&6; }
23885         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23886 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23887 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
23888 is in your PATH or set the PKG_CONFIG environment variable to the full
23889 path to pkg-config.
23890
23891 Alternatively, you may set the environment variables SDL_CFLAGS
23892 and SDL_LIBS to avoid the need to call pkg-config.
23893 See the pkg-config man page for more details.
23894
23895 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23896 See \`config.log' for more details" "$LINENO" 5; }
23897 else
23898         SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
23899         SDL_LIBS=$pkg_cv_SDL_LIBS
23900         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23901 $as_echo "yes" >&6; }
23902
23903     have_dep="yes"
23904     requirement="sdl"
23905     evas_engine_software_16_sdl_cflags="${SDL_CFLAGS}"
23906     evas_engine_software_16_sdl_libs="${SDL_LIBS}"
23907
23908
23909 fi
23910
23911
23912
23913
23914 if test "x${want_engine}" = "xstatic" ; then
23915    requirement_evas="${requirement} ${requirement_evas}"
23916 fi
23917
23918 if test "x${have_dep}" = "xyes" ; then
23919   have_engine="yes"
23920 else
23921   have_engine="no"
23922 fi
23923
23924
23925 fi
23926
23927 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23928    as_fn_error $? "Software SDL 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5
23929 fi
23930
23931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software SDL 16 bits rendering backend will be built" >&5
23932 $as_echo_n "checking whether Software SDL 16 bits rendering backend will be built... " >&6; }
23933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
23934 $as_echo "${have_engine}" >&6; }
23935
23936 if test "x${have_engine}" = "xyes" ; then
23937    if test "x${want_engine}" = "xstatic" ; then
23938       have_evas_engine_software_16_sdl="static"
23939       want_static_engine="yes"
23940    else
23941       have_evas_engine_software_16_sdl="yes"
23942    fi
23943 fi
23944
23945 if test "x${have_engine}" = "xyes" ; then
23946
23947 $as_echo "#define BUILD_ENGINE_SOFTWARE_16_SDL 1" >>confdefs.h
23948
23949 fi
23950
23951  if test "x${have_engine}" = "xyes"; then
23952   BUILD_ENGINE_SOFTWARE_16_SDL_TRUE=
23953   BUILD_ENGINE_SOFTWARE_16_SDL_FALSE='#'
23954 else
23955   BUILD_ENGINE_SOFTWARE_16_SDL_TRUE='#'
23956   BUILD_ENGINE_SOFTWARE_16_SDL_FALSE=
23957 fi
23958
23959
23960 if test "x${want_static_engine}" = "xyes" ; then
23961
23962 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16_SDL 1" >>confdefs.h
23963
23964    have_static_module="yes"
23965 fi
23966
23967  if test "x${want_static_engine}" = "xyes"; then
23968   EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE=
23969   EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE='#'
23970 else
23971   EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE='#'
23972   EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE=
23973 fi
23974
23975
23976
23977
23978
23979
23980
23981
23982
23983
23984 want_engine="${want_evas_engine_wayland_shm}"
23985 want_static_engine="no"
23986 have_engine="no"
23987 have_evas_engine_wayland_shm="no"
23988
23989 # Check whether --enable-wayland-shm was given.
23990 if test "${enable_wayland_shm+set}" = set; then :
23991   enableval=$enable_wayland_shm;
23992     if test "x${enableval}" = "xyes" ; then
23993        want_engine="yes"
23994     else
23995        if test "x${enableval}" = "xstatic" ; then
23996           want_engine="static"
23997        else
23998           want_engine="no"
23999        fi
24000     fi
24001
24002 fi
24003
24004
24005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Wayland Shm rendering backend" >&5
24006 $as_echo_n "checking whether to enable Wayland Shm rendering backend... " >&6; }
24007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
24008 $as_echo "${want_engine}" >&6; }
24009
24010 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
24011
24012
24013 have_dep="yes"
24014 evas_engine_wayland_shm_cflags=""
24015 evas_engine_wayland_shm_libs=""
24016
24017
24018
24019
24020 if test "x${have_dep}" = "xyes" ; then
24021   have_engine="yes"
24022 else
24023   have_engine="no"
24024 fi
24025
24026
24027 fi
24028
24029 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
24030    as_fn_error $? "Wayland Shm dependencies not found (strict dependencies checking)" "$LINENO" 5
24031 fi
24032
24033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Wayland Shm rendering backend will be built" >&5
24034 $as_echo_n "checking whether Wayland Shm rendering backend will be built... " >&6; }
24035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
24036 $as_echo "${have_engine}" >&6; }
24037
24038 if test "x${have_engine}" = "xyes" ; then
24039    if test "x${want_engine}" = "xstatic" ; then
24040       have_evas_engine_wayland_shm="static"
24041       want_static_engine="yes"
24042    else
24043       have_evas_engine_wayland_shm="yes"
24044    fi
24045 fi
24046
24047 if test "x${have_engine}" = "xyes" ; then
24048
24049 $as_echo "#define BUILD_ENGINE_WAYLAND_SHM 1" >>confdefs.h
24050
24051 fi
24052
24053  if test "x${have_engine}" = "xyes"; then
24054   BUILD_ENGINE_WAYLAND_SHM_TRUE=
24055   BUILD_ENGINE_WAYLAND_SHM_FALSE='#'
24056 else
24057   BUILD_ENGINE_WAYLAND_SHM_TRUE='#'
24058   BUILD_ENGINE_WAYLAND_SHM_FALSE=
24059 fi
24060
24061
24062 if test "x${want_static_engine}" = "xyes" ; then
24063
24064 $as_echo "#define EVAS_STATIC_BUILD_WAYLAND_SHM 1" >>confdefs.h
24065
24066    have_static_module="yes"
24067 fi
24068
24069  if test "x${want_static_engine}" = "xyes"; then
24070   EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE=
24071   EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE='#'
24072 else
24073   EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE='#'
24074   EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE=
24075 fi
24076
24077
24078
24079
24080
24081
24082
24083
24084
24085
24086 want_engine="${want_evas_engine_wayland_egl}"
24087 want_static_engine="no"
24088 have_engine="no"
24089 have_evas_engine_wayland_egl="no"
24090
24091 # Check whether --enable-wayland-egl was given.
24092 if test "${enable_wayland_egl+set}" = set; then :
24093   enableval=$enable_wayland_egl;
24094     if test "x${enableval}" = "xyes" ; then
24095        want_engine="yes"
24096     else
24097        if test "x${enableval}" = "xstatic" ; then
24098           want_engine="static"
24099        else
24100           want_engine="no"
24101        fi
24102     fi
24103
24104 fi
24105
24106
24107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Wayland Egl rendering backend" >&5
24108 $as_echo_n "checking whether to enable Wayland Egl rendering backend... " >&6; }
24109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
24110 $as_echo "${want_engine}" >&6; }
24111
24112 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
24113
24114
24115 requirement=""
24116 have_dep="no"
24117 evas_engine_wayland_egl_cflags=""
24118 evas_engine_wayland_egl_libs=""
24119
24120
24121 pkg_failed=no
24122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND_EGL" >&5
24123 $as_echo_n "checking for WAYLAND_EGL... " >&6; }
24124
24125 if test -n "$WAYLAND_EGL_CFLAGS"; then
24126     pkg_cv_WAYLAND_EGL_CFLAGS="$WAYLAND_EGL_CFLAGS"
24127  elif test -n "$PKG_CONFIG"; then
24128     if test -n "$PKG_CONFIG" && \
24129     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl >= 7.10 glesv2 gl wayland-client wayland-egl\""; } >&5
24130   ($PKG_CONFIG --exists --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl") 2>&5
24131   ac_status=$?
24132   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24133   test $ac_status = 0; }; then
24134   pkg_cv_WAYLAND_EGL_CFLAGS=`$PKG_CONFIG --cflags "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>/dev/null`
24135                       test "x$?" != "x0" && pkg_failed=yes
24136 else
24137   pkg_failed=yes
24138 fi
24139  else
24140     pkg_failed=untried
24141 fi
24142 if test -n "$WAYLAND_EGL_LIBS"; then
24143     pkg_cv_WAYLAND_EGL_LIBS="$WAYLAND_EGL_LIBS"
24144  elif test -n "$PKG_CONFIG"; then
24145     if test -n "$PKG_CONFIG" && \
24146     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl >= 7.10 glesv2 gl wayland-client wayland-egl\""; } >&5
24147   ($PKG_CONFIG --exists --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl") 2>&5
24148   ac_status=$?
24149   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24150   test $ac_status = 0; }; then
24151   pkg_cv_WAYLAND_EGL_LIBS=`$PKG_CONFIG --libs "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>/dev/null`
24152                       test "x$?" != "x0" && pkg_failed=yes
24153 else
24154   pkg_failed=yes
24155 fi
24156  else
24157     pkg_failed=untried
24158 fi
24159
24160
24161
24162 if test $pkg_failed = yes; then
24163         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24164 $as_echo "no" >&6; }
24165
24166 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24167         _pkg_short_errors_supported=yes
24168 else
24169         _pkg_short_errors_supported=no
24170 fi
24171         if test $_pkg_short_errors_supported = yes; then
24172                 WAYLAND_EGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>&1`
24173         else
24174                 WAYLAND_EGL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>&1`
24175         fi
24176         # Put the nasty error message in config.log where it belongs
24177         echo "$WAYLAND_EGL_PKG_ERRORS" >&5
24178
24179
24180     have_dep="no"
24181
24182
24183 elif test $pkg_failed = untried; then
24184         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24185 $as_echo "no" >&6; }
24186
24187     have_dep="no"
24188
24189
24190 else
24191         WAYLAND_EGL_CFLAGS=$pkg_cv_WAYLAND_EGL_CFLAGS
24192         WAYLAND_EGL_LIBS=$pkg_cv_WAYLAND_EGL_LIBS
24193         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24194 $as_echo "yes" >&6; }
24195
24196     have_dep="yes"
24197     requirement="egl >= 7.10 glesv2 gl wayland-client wayland-egl"
24198     evas_engine_wayland_egl_cflags="${WAYLAND_EGL_CFLAGS}"
24199     evas_engine_wayland_egl_libs="${WAYLAND_EGL_LIBS}"
24200
24201 fi
24202
24203 if test "x${have_dep}" = "xyes" ; then
24204
24205 pkg_failed=no
24206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
24207 $as_echo_n "checking for GL_EET... " >&6; }
24208
24209 if test -n "$GL_EET_CFLAGS"; then
24210     pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
24211  elif test -n "$PKG_CONFIG"; then
24212     if test -n "$PKG_CONFIG" && \
24213     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
24214   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
24215   ac_status=$?
24216   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24217   test $ac_status = 0; }; then
24218   pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
24219                       test "x$?" != "x0" && pkg_failed=yes
24220 else
24221   pkg_failed=yes
24222 fi
24223  else
24224     pkg_failed=untried
24225 fi
24226 if test -n "$GL_EET_LIBS"; then
24227     pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
24228  elif test -n "$PKG_CONFIG"; then
24229     if test -n "$PKG_CONFIG" && \
24230     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
24231   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
24232   ac_status=$?
24233   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24234   test $ac_status = 0; }; then
24235   pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
24236                       test "x$?" != "x0" && pkg_failed=yes
24237 else
24238   pkg_failed=yes
24239 fi
24240  else
24241     pkg_failed=untried
24242 fi
24243
24244
24245
24246 if test $pkg_failed = yes; then
24247         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24248 $as_echo "no" >&6; }
24249
24250 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24251         _pkg_short_errors_supported=yes
24252 else
24253         _pkg_short_errors_supported=no
24254 fi
24255         if test $_pkg_short_errors_supported = yes; then
24256                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
24257         else
24258                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
24259         fi
24260         # Put the nasty error message in config.log where it belongs
24261         echo "$GL_EET_PKG_ERRORS" >&5
24262
24263         have_dep="no"
24264 elif test $pkg_failed = untried; then
24265         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24266 $as_echo "no" >&6; }
24267         have_dep="no"
24268 else
24269         GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
24270         GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
24271         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24272 $as_echo "yes" >&6; }
24273         have_dep="yes"
24274 fi
24275       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
24276 $as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
24277 if ${ac_cv_lib_GLESv2_glTexImage2D+:} false; then :
24278   $as_echo_n "(cached) " >&6
24279 else
24280   ac_check_lib_save_LIBS=$LIBS
24281 LIBS="-lGLESv2 -lEGL -lm $LIBS"
24282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24283 /* end confdefs.h.  */
24284
24285 /* Override any GCC internal prototype to avoid an error.
24286    Use char because int might match the return type of a GCC
24287    builtin and then its argument prototype would still apply.  */
24288 #ifdef __cplusplus
24289 extern "C"
24290 #endif
24291 char glTexImage2D ();
24292 int
24293 main ()
24294 {
24295 return glTexImage2D ();
24296   ;
24297   return 0;
24298 }
24299 _ACEOF
24300 if ac_fn_c_try_link "$LINENO"; then :
24301   ac_cv_lib_GLESv2_glTexImage2D=yes
24302 else
24303   ac_cv_lib_GLESv2_glTexImage2D=no
24304 fi
24305 rm -f core conftest.err conftest.$ac_objext \
24306     conftest$ac_exeext conftest.$ac_ext
24307 LIBS=$ac_check_lib_save_LIBS
24308 fi
24309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
24310 $as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
24311 if test "x$ac_cv_lib_GLESv2_glTexImage2D" = xyes; then :
24312   have_glesv2="yes"
24313 fi
24314
24315       if test "x${have_glesv2}" = "xyes" ; then
24316          evas_engine_wayland_egl_cflags="${WAYLAND_EGL_CFLAGS}"
24317          evas_engine_wayland_egl_libs="${WAYLAND_EGL_LIBS} -lGL -lGLESv2 -lEGL"
24318       fi
24319 fi
24320
24321
24322
24323
24324 if test "x${want_engine}" = "xstatic" ; then
24325    requirement_evas="${requirement} ${requirement_evas}"
24326 fi
24327
24328 if test "x${have_dep}" = "xyes" ; then
24329   have_engine="yes"
24330 else
24331   have_engine="no"
24332 fi
24333
24334
24335 fi
24336
24337 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
24338    as_fn_error $? "Wayland Egl dependencies not found (strict dependencies checking)" "$LINENO" 5
24339 fi
24340
24341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Wayland Egl rendering backend will be built" >&5
24342 $as_echo_n "checking whether Wayland Egl rendering backend will be built... " >&6; }
24343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
24344 $as_echo "${have_engine}" >&6; }
24345
24346 if test "x${have_engine}" = "xyes" ; then
24347    if test "x${want_engine}" = "xstatic" ; then
24348       have_evas_engine_wayland_egl="static"
24349       want_static_engine="yes"
24350    else
24351       have_evas_engine_wayland_egl="yes"
24352    fi
24353 fi
24354
24355 if test "x${have_engine}" = "xyes" ; then
24356
24357 $as_echo "#define BUILD_ENGINE_WAYLAND_EGL 1" >>confdefs.h
24358
24359 fi
24360
24361  if test "x${have_engine}" = "xyes"; then
24362   BUILD_ENGINE_WAYLAND_EGL_TRUE=
24363   BUILD_ENGINE_WAYLAND_EGL_FALSE='#'
24364 else
24365   BUILD_ENGINE_WAYLAND_EGL_TRUE='#'
24366   BUILD_ENGINE_WAYLAND_EGL_FALSE=
24367 fi
24368
24369
24370 if test "x${want_static_engine}" = "xyes" ; then
24371
24372 $as_echo "#define EVAS_STATIC_BUILD_WAYLAND_EGL 1" >>confdefs.h
24373
24374    have_static_module="yes"
24375 fi
24376
24377  if test "x${want_static_engine}" = "xyes"; then
24378   EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE=
24379   EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE='#'
24380 else
24381   EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE='#'
24382   EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE=
24383 fi
24384
24385
24386
24387
24388
24389
24390
24391 # SDL primitive
24392 sdl_primitive="no"
24393
24394 # Check whether --enable-sdl-primitive was given.
24395 if test "${enable_sdl_primitive+set}" = set; then :
24396   enableval=$enable_sdl_primitive; sdl_primitive=${enableval}
24397
24398 fi
24399
24400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use SDL primitive when possible" >&5
24401 $as_echo_n "checking whether to use SDL primitive when possible... " >&6; }
24402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sdl_primitive}" >&5
24403 $as_echo "${sdl_primitive}" >&6; }
24404
24405 if test "x${sdl_primitive}" = "xyes" ; then
24406
24407 $as_echo "#define ENGINE_SDL_PRIMITIVE 1" >>confdefs.h
24408
24409 fi
24410
24411 # if software generic need to be build as part of libevas.so
24412 have_static_software_generic="no"
24413 # Check whether --enable-static-software-generic was given.
24414 if test "${enable_static_software_generic+set}" = set; then :
24415   enableval=$enable_static_software_generic; have_static_software_generic=${enableval}
24416
24417 fi
24418
24419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to build software generic engine as part of libevas" >&5
24420 $as_echo_n "checking Whether to build software generic engine as part of libevas... " >&6; }
24421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_static_software_generic}" >&5
24422 $as_echo "${have_static_software_generic}" >&6; }
24423
24424 if test "x${have_static_module}" = "xyes" -a "x${have_static_software_generic}" = "xno"; then
24425    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Forcing --enable-static-software-generic as engines must be compiled statically" >&5
24426 $as_echo "$as_me: WARNING: Forcing --enable-static-software-generic as engines must be compiled statically" >&2;}
24427    have_static_software_generic="yes"
24428 fi
24429
24430  if test "x${have_static_software_generic}" = "xyes"; then
24431   EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE=
24432   EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE='#'
24433 else
24434   EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE='#'
24435   EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE=
24436 fi
24437
24438 if test "x${have_static_software_generic}" = "xyes"; then
24439
24440 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_GENERIC 1" >>confdefs.h
24441
24442 fi
24443
24444
24445 ######## Software Engine ########
24446 have_evas_engine_software_x11="no"
24447 have_evas_engine_software_xcb="no"
24448 have_evas_engine_software_xlib="no"
24449 build_software_xcb=
24450
24451 ## XCB Checks ##
24452 want_xcb="no"
24453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Software XCB Engine" >&5
24454 $as_echo_n "checking whether to build Software XCB Engine... " >&6; }
24455 # Check whether --enable-software-xcb was given.
24456 if test "${enable_software_xcb+set}" = set; then :
24457   enableval=$enable_software_xcb; want_xcb=$enableval
24458
24459 fi
24460
24461 if test "x$want_xcb" != "xno" ; then
24462
24463
24464
24465 want_engine="${want_evas_engine_software_xcb}"
24466 want_static_engine="no"
24467 have_engine="no"
24468 have_evas_engine_software_xcb="no"
24469
24470 # Check whether --enable-software-xcb was given.
24471 if test "${enable_software_xcb+set}" = set; then :
24472   enableval=$enable_software_xcb;
24473     if test "x${enableval}" = "xyes" ; then
24474        want_engine="yes"
24475     else
24476        if test "x${enableval}" = "xstatic" ; then
24477           want_engine="static"
24478        else
24479           want_engine="no"
24480        fi
24481     fi
24482
24483 fi
24484
24485
24486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software XCB rendering backend" >&5
24487 $as_echo_n "checking whether to enable Software XCB rendering backend... " >&6; }
24488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
24489 $as_echo "${want_engine}" >&6; }
24490
24491 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
24492
24493
24494 requirement=""
24495 have_dep="no"
24496 evas_engine_software_xcb_cflags=""
24497 evas_engine_software_xcb_libs=""
24498
24499
24500 pkg_failed=no
24501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB" >&5
24502 $as_echo_n "checking for XCB... " >&6; }
24503
24504 if test -n "$XCB_CFLAGS"; then
24505     pkg_cv_XCB_CFLAGS="$XCB_CFLAGS"
24506  elif test -n "$PKG_CONFIG"; then
24507     if test -n "$PKG_CONFIG" && \
24508     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
24509   ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
24510   ac_status=$?
24511   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24512   test $ac_status = 0; }; then
24513   pkg_cv_XCB_CFLAGS=`$PKG_CONFIG --cflags "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
24514                       test "x$?" != "x0" && pkg_failed=yes
24515 else
24516   pkg_failed=yes
24517 fi
24518  else
24519     pkg_failed=untried
24520 fi
24521 if test -n "$XCB_LIBS"; then
24522     pkg_cv_XCB_LIBS="$XCB_LIBS"
24523  elif test -n "$PKG_CONFIG"; then
24524     if test -n "$PKG_CONFIG" && \
24525     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
24526   ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
24527   ac_status=$?
24528   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24529   test $ac_status = 0; }; then
24530   pkg_cv_XCB_LIBS=`$PKG_CONFIG --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
24531                       test "x$?" != "x0" && pkg_failed=yes
24532 else
24533   pkg_failed=yes
24534 fi
24535  else
24536     pkg_failed=untried
24537 fi
24538
24539
24540
24541 if test $pkg_failed = yes; then
24542         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24543 $as_echo "no" >&6; }
24544
24545 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24546         _pkg_short_errors_supported=yes
24547 else
24548         _pkg_short_errors_supported=no
24549 fi
24550         if test $_pkg_short_errors_supported = yes; then
24551                 XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
24552         else
24553                 XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
24554         fi
24555         # Put the nasty error message in config.log where it belongs
24556         echo "$XCB_PKG_ERRORS" >&5
24557
24558
24559     have_dep="no"
24560
24561
24562 elif test $pkg_failed = untried; then
24563         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24564 $as_echo "no" >&6; }
24565
24566     have_dep="no"
24567
24568
24569 else
24570         XCB_CFLAGS=$pkg_cv_XCB_CFLAGS
24571         XCB_LIBS=$pkg_cv_XCB_LIBS
24572         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24573 $as_echo "yes" >&6; }
24574
24575     have_dep="yes"
24576     requirement="xcb xcb-shm xcb-image pixman-1"
24577     evas_engine_software_xcb_cflags="${XCB_CFLAGS}"
24578     evas_engine_software_xcb_libs="${XCB_LIBS}"
24579
24580 fi
24581
24582
24583
24584
24585 if test "x${want_engine}" = "xstatic" ; then
24586    requirement_evas="${requirement} ${requirement_evas}"
24587 fi
24588
24589 if test "x${have_dep}" = "xyes" ; then
24590   have_engine="yes"
24591 else
24592   have_engine="no"
24593 fi
24594
24595
24596 fi
24597
24598 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
24599    as_fn_error $? "Software XCB dependencies not found (strict dependencies checking)" "$LINENO" 5
24600 fi
24601
24602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software XCB rendering backend will be built" >&5
24603 $as_echo_n "checking whether Software XCB rendering backend will be built... " >&6; }
24604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
24605 $as_echo "${have_engine}" >&6; }
24606
24607 if test "x${have_engine}" = "xyes" ; then
24608    if test "x${want_engine}" = "xstatic" ; then
24609       have_evas_engine_software_xcb="static"
24610       want_static_engine="yes"
24611    else
24612       have_evas_engine_software_xcb="yes"
24613    fi
24614 fi
24615
24616 if test "x${have_engine}" = "xyes" ; then
24617
24618 $as_echo "#define BUILD_ENGINE_SOFTWARE_XCB 1" >>confdefs.h
24619
24620 fi
24621
24622  if test "x${have_engine}" = "xyes"; then
24623   BUILD_ENGINE_SOFTWARE_XCB_TRUE=
24624   BUILD_ENGINE_SOFTWARE_XCB_FALSE='#'
24625 else
24626   BUILD_ENGINE_SOFTWARE_XCB_TRUE='#'
24627   BUILD_ENGINE_SOFTWARE_XCB_FALSE=
24628 fi
24629
24630
24631 if test "x${want_static_engine}" = "xyes" ; then
24632
24633 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_XCB 1" >>confdefs.h
24634
24635    have_static_module="yes"
24636 fi
24637
24638  if test "x${want_static_engine}" = "xyes"; then
24639   EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE=
24640   EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE='#'
24641 else
24642   EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE='#'
24643   EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE=
24644 fi
24645
24646
24647
24648
24649
24650
24651   if test "x$have_evas_engine_software_xcb" != "xno" ; then
24652     build_software_xcb="yes"
24653     have_evas_engine_software_x11="yes"
24654
24655 cat >>confdefs.h <<_ACEOF
24656 #define BUILD_ENGINE_SOFTWARE_X11 1
24657 _ACEOF
24658
24659
24660 cat >>confdefs.h <<_ACEOF
24661 #define BUILD_ENGINE_SOFTWARE_XCB 1
24662 _ACEOF
24663
24664   fi
24665 else
24666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24667 $as_echo "no" >&6; }
24668   build_software_xcb="no"
24669 fi
24670
24671 ## If we are not building XCB, then we can build XLib ##
24672
24673 if test "x$build_software_xcb" = "xno" ; then
24674
24675
24676
24677 want_engine="${want_evas_engine_software_xlib}"
24678 want_static_engine="no"
24679 have_engine="no"
24680 have_evas_engine_software_xlib="no"
24681
24682 # Check whether --enable-software-xlib was given.
24683 if test "${enable_software_xlib+set}" = set; then :
24684   enableval=$enable_software_xlib;
24685     if test "x${enableval}" = "xyes" ; then
24686        want_engine="yes"
24687     else
24688        if test "x${enableval}" = "xstatic" ; then
24689           want_engine="static"
24690        else
24691           want_engine="no"
24692        fi
24693     fi
24694
24695 fi
24696
24697
24698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software Xlib rendering backend" >&5
24699 $as_echo_n "checking whether to enable Software Xlib rendering backend... " >&6; }
24700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
24701 $as_echo "${want_engine}" >&6; }
24702
24703 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
24704
24705
24706 have_dep="no"
24707 evas_engine_software_xlib_cflags=""
24708 evas_engine_software_xlib_libs=""
24709
24710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24711 $as_echo_n "checking for X... " >&6; }
24712
24713
24714 # Check whether --with-x was given.
24715 if test "${with_x+set}" = set; then :
24716   withval=$with_x;
24717 fi
24718
24719 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24720 if test "x$with_x" = xno; then
24721   # The user explicitly disabled X.
24722   have_x=disabled
24723 else
24724   case $x_includes,$x_libraries in #(
24725     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
24726     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
24727   $as_echo_n "(cached) " >&6
24728 else
24729   # One or both of the vars are not set, and there is no cached value.
24730 ac_x_includes=no ac_x_libraries=no
24731 rm -f -r conftest.dir
24732 if mkdir conftest.dir; then
24733   cd conftest.dir
24734   cat >Imakefile <<'_ACEOF'
24735 incroot:
24736         @echo incroot='${INCROOT}'
24737 usrlibdir:
24738         @echo usrlibdir='${USRLIBDIR}'
24739 libdir:
24740         @echo libdir='${LIBDIR}'
24741 _ACEOF
24742   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24743     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24744     for ac_var in incroot usrlibdir libdir; do
24745       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24746     done
24747     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24748     for ac_extension in a so sl dylib la dll; do
24749       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24750          test -f "$ac_im_libdir/libX11.$ac_extension"; then
24751         ac_im_usrlibdir=$ac_im_libdir; break
24752       fi
24753     done
24754     # Screen out bogus values from the imake configuration.  They are
24755     # bogus both because they are the default anyway, and because
24756     # using them would break gcc on systems where it needs fixed includes.
24757     case $ac_im_incroot in
24758         /usr/include) ac_x_includes= ;;
24759         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24760     esac
24761     case $ac_im_usrlibdir in
24762         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24763         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24764     esac
24765   fi
24766   cd ..
24767   rm -f -r conftest.dir
24768 fi
24769
24770 # Standard set of common directories for X headers.
24771 # Check X11 before X11Rn because it is often a symlink to the current release.
24772 ac_x_header_dirs='
24773 /usr/X11/include
24774 /usr/X11R7/include
24775 /usr/X11R6/include
24776 /usr/X11R5/include
24777 /usr/X11R4/include
24778
24779 /usr/include/X11
24780 /usr/include/X11R7
24781 /usr/include/X11R6
24782 /usr/include/X11R5
24783 /usr/include/X11R4
24784
24785 /usr/local/X11/include
24786 /usr/local/X11R7/include
24787 /usr/local/X11R6/include
24788 /usr/local/X11R5/include
24789 /usr/local/X11R4/include
24790
24791 /usr/local/include/X11
24792 /usr/local/include/X11R7
24793 /usr/local/include/X11R6
24794 /usr/local/include/X11R5
24795 /usr/local/include/X11R4
24796
24797 /usr/X386/include
24798 /usr/x386/include
24799 /usr/XFree86/include/X11
24800
24801 /usr/include
24802 /usr/local/include
24803 /usr/unsupported/include
24804 /usr/athena/include
24805 /usr/local/x11r5/include
24806 /usr/lpp/Xamples/include
24807
24808 /usr/openwin/include
24809 /usr/openwin/share/include'
24810
24811 if test "$ac_x_includes" = no; then
24812   # Guess where to find include files, by looking for Xlib.h.
24813   # First, try using that file with no special directory specified.
24814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24815 /* end confdefs.h.  */
24816 #include <X11/Xlib.h>
24817 _ACEOF
24818 if ac_fn_c_try_cpp "$LINENO"; then :
24819   # We can compile using X headers with no special include directory.
24820 ac_x_includes=
24821 else
24822   for ac_dir in $ac_x_header_dirs; do
24823   if test -r "$ac_dir/X11/Xlib.h"; then
24824     ac_x_includes=$ac_dir
24825     break
24826   fi
24827 done
24828 fi
24829 rm -f conftest.err conftest.i conftest.$ac_ext
24830 fi # $ac_x_includes = no
24831
24832 if test "$ac_x_libraries" = no; then
24833   # Check for the libraries.
24834   # See if we find them without any special options.
24835   # Don't add to $LIBS permanently.
24836   ac_save_LIBS=$LIBS
24837   LIBS="-lX11 $LIBS"
24838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24839 /* end confdefs.h.  */
24840 #include <X11/Xlib.h>
24841 int
24842 main ()
24843 {
24844 XrmInitialize ()
24845   ;
24846   return 0;
24847 }
24848 _ACEOF
24849 if ac_fn_c_try_link "$LINENO"; then :
24850   LIBS=$ac_save_LIBS
24851 # We can link X programs with no special library path.
24852 ac_x_libraries=
24853 else
24854   LIBS=$ac_save_LIBS
24855 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24856 do
24857   # Don't even attempt the hair of trying to link an X program!
24858   for ac_extension in a so sl dylib la dll; do
24859     if test -r "$ac_dir/libX11.$ac_extension"; then
24860       ac_x_libraries=$ac_dir
24861       break 2
24862     fi
24863   done
24864 done
24865 fi
24866 rm -f core conftest.err conftest.$ac_objext \
24867     conftest$ac_exeext conftest.$ac_ext
24868 fi # $ac_x_libraries = no
24869
24870 case $ac_x_includes,$ac_x_libraries in #(
24871   no,* | *,no | *\'*)
24872     # Didn't find X, or a directory has "'" in its name.
24873     ac_cv_have_x="have_x=no";; #(
24874   *)
24875     # Record where we found X for the cache.
24876     ac_cv_have_x="have_x=yes\
24877         ac_x_includes='$ac_x_includes'\
24878         ac_x_libraries='$ac_x_libraries'"
24879 esac
24880 fi
24881 ;; #(
24882     *) have_x=yes;;
24883   esac
24884   eval "$ac_cv_have_x"
24885 fi # $with_x != no
24886
24887 if test "$have_x" != yes; then
24888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24889 $as_echo "$have_x" >&6; }
24890   no_x=yes
24891 else
24892   # If each of the values was on the command line, it overrides each guess.
24893   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24894   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24895   # Update the cache value to reflect the command line values.
24896   ac_cv_have_x="have_x=yes\
24897         ac_x_includes='$x_includes'\
24898         ac_x_libraries='$x_libraries'"
24899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24900 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24901 fi
24902
24903 if test "$no_x" = yes; then
24904   # Not all programs may use this symbol, but it does not hurt to define it.
24905
24906 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24907
24908   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24909 else
24910   if test -n "$x_includes"; then
24911     X_CFLAGS="$X_CFLAGS -I$x_includes"
24912   fi
24913
24914   # It would also be nice to do this for all -L options, not just this one.
24915   if test -n "$x_libraries"; then
24916     X_LIBS="$X_LIBS -L$x_libraries"
24917     # For Solaris; some versions of Sun CC require a space after -R and
24918     # others require no space.  Words are not sufficient . . . .
24919     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24920 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24921     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24922     ac_xsave_c_werror_flag=$ac_c_werror_flag
24923     ac_c_werror_flag=yes
24924     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24925 /* end confdefs.h.  */
24926
24927 int
24928 main ()
24929 {
24930
24931   ;
24932   return 0;
24933 }
24934 _ACEOF
24935 if ac_fn_c_try_link "$LINENO"; then :
24936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24937 $as_echo "no" >&6; }
24938        X_LIBS="$X_LIBS -R$x_libraries"
24939 else
24940   LIBS="$ac_xsave_LIBS -R $x_libraries"
24941        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24942 /* end confdefs.h.  */
24943
24944 int
24945 main ()
24946 {
24947
24948   ;
24949   return 0;
24950 }
24951 _ACEOF
24952 if ac_fn_c_try_link "$LINENO"; then :
24953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24954 $as_echo "yes" >&6; }
24955           X_LIBS="$X_LIBS -R $x_libraries"
24956 else
24957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
24958 $as_echo "neither works" >&6; }
24959 fi
24960 rm -f core conftest.err conftest.$ac_objext \
24961     conftest$ac_exeext conftest.$ac_ext
24962 fi
24963 rm -f core conftest.err conftest.$ac_objext \
24964     conftest$ac_exeext conftest.$ac_ext
24965     ac_c_werror_flag=$ac_xsave_c_werror_flag
24966     LIBS=$ac_xsave_LIBS
24967   fi
24968
24969   # Check for system-dependent libraries X programs must link with.
24970   # Do this before checking for the system-independent R6 libraries
24971   # (-lICE), since we may need -lsocket or whatever for X linking.
24972
24973   if test "$ISC" = yes; then
24974     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24975   else
24976     # Martyn Johnson says this is needed for Ultrix, if the X
24977     # libraries were built with DECnet support.  And Karl Berry says
24978     # the Alpha needs dnet_stub (dnet does not exist).
24979     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24980     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24981 /* end confdefs.h.  */
24982
24983 /* Override any GCC internal prototype to avoid an error.
24984    Use char because int might match the return type of a GCC
24985    builtin and then its argument prototype would still apply.  */
24986 #ifdef __cplusplus
24987 extern "C"
24988 #endif
24989 char XOpenDisplay ();
24990 int
24991 main ()
24992 {
24993 return XOpenDisplay ();
24994   ;
24995   return 0;
24996 }
24997 _ACEOF
24998 if ac_fn_c_try_link "$LINENO"; then :
24999
25000 else
25001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25002 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25003 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
25004   $as_echo_n "(cached) " >&6
25005 else
25006   ac_check_lib_save_LIBS=$LIBS
25007 LIBS="-ldnet  $LIBS"
25008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25009 /* end confdefs.h.  */
25010
25011 /* Override any GCC internal prototype to avoid an error.
25012    Use char because int might match the return type of a GCC
25013    builtin and then its argument prototype would still apply.  */
25014 #ifdef __cplusplus
25015 extern "C"
25016 #endif
25017 char dnet_ntoa ();
25018 int
25019 main ()
25020 {
25021 return dnet_ntoa ();
25022   ;
25023   return 0;
25024 }
25025 _ACEOF
25026 if ac_fn_c_try_link "$LINENO"; then :
25027   ac_cv_lib_dnet_dnet_ntoa=yes
25028 else
25029   ac_cv_lib_dnet_dnet_ntoa=no
25030 fi
25031 rm -f core conftest.err conftest.$ac_objext \
25032     conftest$ac_exeext conftest.$ac_ext
25033 LIBS=$ac_check_lib_save_LIBS
25034 fi
25035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25036 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25037 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
25038   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25039 fi
25040
25041     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25042       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25043 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25044 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
25045   $as_echo_n "(cached) " >&6
25046 else
25047   ac_check_lib_save_LIBS=$LIBS
25048 LIBS="-ldnet_stub  $LIBS"
25049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25050 /* end confdefs.h.  */
25051
25052 /* Override any GCC internal prototype to avoid an error.
25053    Use char because int might match the return type of a GCC
25054    builtin and then its argument prototype would still apply.  */
25055 #ifdef __cplusplus
25056 extern "C"
25057 #endif
25058 char dnet_ntoa ();
25059 int
25060 main ()
25061 {
25062 return dnet_ntoa ();
25063   ;
25064   return 0;
25065 }
25066 _ACEOF
25067 if ac_fn_c_try_link "$LINENO"; then :
25068   ac_cv_lib_dnet_stub_dnet_ntoa=yes
25069 else
25070   ac_cv_lib_dnet_stub_dnet_ntoa=no
25071 fi
25072 rm -f core conftest.err conftest.$ac_objext \
25073     conftest$ac_exeext conftest.$ac_ext
25074 LIBS=$ac_check_lib_save_LIBS
25075 fi
25076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25077 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25078 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
25079   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25080 fi
25081
25082     fi
25083 fi
25084 rm -f core conftest.err conftest.$ac_objext \
25085     conftest$ac_exeext conftest.$ac_ext
25086     LIBS="$ac_xsave_LIBS"
25087
25088     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25089     # to get the SysV transport functions.
25090     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25091     # needs -lnsl.
25092     # The nsl library prevents programs from opening the X display
25093     # on Irix 5.2, according to T.E. Dickey.
25094     # The functions gethostbyname, getservbyname, and inet_addr are
25095     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25096     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25097 if test "x$ac_cv_func_gethostbyname" = xyes; then :
25098
25099 fi
25100
25101     if test $ac_cv_func_gethostbyname = no; then
25102       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25103 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25104 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
25105   $as_echo_n "(cached) " >&6
25106 else
25107   ac_check_lib_save_LIBS=$LIBS
25108 LIBS="-lnsl  $LIBS"
25109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25110 /* end confdefs.h.  */
25111
25112 /* Override any GCC internal prototype to avoid an error.
25113    Use char because int might match the return type of a GCC
25114    builtin and then its argument prototype would still apply.  */
25115 #ifdef __cplusplus
25116 extern "C"
25117 #endif
25118 char gethostbyname ();
25119 int
25120 main ()
25121 {
25122 return gethostbyname ();
25123   ;
25124   return 0;
25125 }
25126 _ACEOF
25127 if ac_fn_c_try_link "$LINENO"; then :
25128   ac_cv_lib_nsl_gethostbyname=yes
25129 else
25130   ac_cv_lib_nsl_gethostbyname=no
25131 fi
25132 rm -f core conftest.err conftest.$ac_objext \
25133     conftest$ac_exeext conftest.$ac_ext
25134 LIBS=$ac_check_lib_save_LIBS
25135 fi
25136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25137 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25138 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
25139   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25140 fi
25141
25142       if test $ac_cv_lib_nsl_gethostbyname = no; then
25143         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25144 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25145 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
25146   $as_echo_n "(cached) " >&6
25147 else
25148   ac_check_lib_save_LIBS=$LIBS
25149 LIBS="-lbsd  $LIBS"
25150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25151 /* end confdefs.h.  */
25152
25153 /* Override any GCC internal prototype to avoid an error.
25154    Use char because int might match the return type of a GCC
25155    builtin and then its argument prototype would still apply.  */
25156 #ifdef __cplusplus
25157 extern "C"
25158 #endif
25159 char gethostbyname ();
25160 int
25161 main ()
25162 {
25163 return gethostbyname ();
25164   ;
25165   return 0;
25166 }
25167 _ACEOF
25168 if ac_fn_c_try_link "$LINENO"; then :
25169   ac_cv_lib_bsd_gethostbyname=yes
25170 else
25171   ac_cv_lib_bsd_gethostbyname=no
25172 fi
25173 rm -f core conftest.err conftest.$ac_objext \
25174     conftest$ac_exeext conftest.$ac_ext
25175 LIBS=$ac_check_lib_save_LIBS
25176 fi
25177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25178 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25179 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
25180   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25181 fi
25182
25183       fi
25184     fi
25185
25186     # lieder@skyler.mavd.honeywell.com says without -lsocket,
25187     # socket/setsockopt and other routines are undefined under SCO ODT
25188     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
25189     # on later versions), says Simon Leinen: it contains gethostby*
25190     # variants that don't use the name server (or something).  -lsocket
25191     # must be given before -lnsl if both are needed.  We assume that
25192     # if connect needs -lnsl, so does gethostbyname.
25193     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
25194 if test "x$ac_cv_func_connect" = xyes; then :
25195
25196 fi
25197
25198     if test $ac_cv_func_connect = no; then
25199       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25200 $as_echo_n "checking for connect in -lsocket... " >&6; }
25201 if ${ac_cv_lib_socket_connect+:} false; then :
25202   $as_echo_n "(cached) " >&6
25203 else
25204   ac_check_lib_save_LIBS=$LIBS
25205 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25207 /* end confdefs.h.  */
25208
25209 /* Override any GCC internal prototype to avoid an error.
25210    Use char because int might match the return type of a GCC
25211    builtin and then its argument prototype would still apply.  */
25212 #ifdef __cplusplus
25213 extern "C"
25214 #endif
25215 char connect ();
25216 int
25217 main ()
25218 {
25219 return connect ();
25220   ;
25221   return 0;
25222 }
25223 _ACEOF
25224 if ac_fn_c_try_link "$LINENO"; then :
25225   ac_cv_lib_socket_connect=yes
25226 else
25227   ac_cv_lib_socket_connect=no
25228 fi
25229 rm -f core conftest.err conftest.$ac_objext \
25230     conftest$ac_exeext conftest.$ac_ext
25231 LIBS=$ac_check_lib_save_LIBS
25232 fi
25233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25234 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25235 if test "x$ac_cv_lib_socket_connect" = xyes; then :
25236   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25237 fi
25238
25239     fi
25240
25241     # Guillermo Gomez says -lposix is necessary on A/UX.
25242     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
25243 if test "x$ac_cv_func_remove" = xyes; then :
25244
25245 fi
25246
25247     if test $ac_cv_func_remove = no; then
25248       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25249 $as_echo_n "checking for remove in -lposix... " >&6; }
25250 if ${ac_cv_lib_posix_remove+:} false; then :
25251   $as_echo_n "(cached) " >&6
25252 else
25253   ac_check_lib_save_LIBS=$LIBS
25254 LIBS="-lposix  $LIBS"
25255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25256 /* end confdefs.h.  */
25257
25258 /* Override any GCC internal prototype to avoid an error.
25259    Use char because int might match the return type of a GCC
25260    builtin and then its argument prototype would still apply.  */
25261 #ifdef __cplusplus
25262 extern "C"
25263 #endif
25264 char remove ();
25265 int
25266 main ()
25267 {
25268 return remove ();
25269   ;
25270   return 0;
25271 }
25272 _ACEOF
25273 if ac_fn_c_try_link "$LINENO"; then :
25274   ac_cv_lib_posix_remove=yes
25275 else
25276   ac_cv_lib_posix_remove=no
25277 fi
25278 rm -f core conftest.err conftest.$ac_objext \
25279     conftest$ac_exeext conftest.$ac_ext
25280 LIBS=$ac_check_lib_save_LIBS
25281 fi
25282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25283 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25284 if test "x$ac_cv_lib_posix_remove" = xyes; then :
25285   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25286 fi
25287
25288     fi
25289
25290     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25291     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25292 if test "x$ac_cv_func_shmat" = xyes; then :
25293
25294 fi
25295
25296     if test $ac_cv_func_shmat = no; then
25297       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25298 $as_echo_n "checking for shmat in -lipc... " >&6; }
25299 if ${ac_cv_lib_ipc_shmat+:} false; then :
25300   $as_echo_n "(cached) " >&6
25301 else
25302   ac_check_lib_save_LIBS=$LIBS
25303 LIBS="-lipc  $LIBS"
25304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25305 /* end confdefs.h.  */
25306
25307 /* Override any GCC internal prototype to avoid an error.
25308    Use char because int might match the return type of a GCC
25309    builtin and then its argument prototype would still apply.  */
25310 #ifdef __cplusplus
25311 extern "C"
25312 #endif
25313 char shmat ();
25314 int
25315 main ()
25316 {
25317 return shmat ();
25318   ;
25319   return 0;
25320 }
25321 _ACEOF
25322 if ac_fn_c_try_link "$LINENO"; then :
25323   ac_cv_lib_ipc_shmat=yes
25324 else
25325   ac_cv_lib_ipc_shmat=no
25326 fi
25327 rm -f core conftest.err conftest.$ac_objext \
25328     conftest$ac_exeext conftest.$ac_ext
25329 LIBS=$ac_check_lib_save_LIBS
25330 fi
25331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25332 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25333 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
25334   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25335 fi
25336
25337     fi
25338   fi
25339
25340   # Check for libraries that X11R6 Xt/Xaw programs need.
25341   ac_save_LDFLAGS=$LDFLAGS
25342   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25343   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25344   # check for ICE first), but we must link in the order -lSM -lICE or
25345   # we get undefined symbols.  So assume we have SM if we have ICE.
25346   # These have to be linked with before -lX11, unlike the other
25347   # libraries we check for below, so use a different variable.
25348   # John Interrante, Karl Berry
25349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25350 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25351 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
25352   $as_echo_n "(cached) " >&6
25353 else
25354   ac_check_lib_save_LIBS=$LIBS
25355 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25357 /* end confdefs.h.  */
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 IceConnectionNumber ();
25366 int
25367 main ()
25368 {
25369 return IceConnectionNumber ();
25370   ;
25371   return 0;
25372 }
25373 _ACEOF
25374 if ac_fn_c_try_link "$LINENO"; then :
25375   ac_cv_lib_ICE_IceConnectionNumber=yes
25376 else
25377   ac_cv_lib_ICE_IceConnectionNumber=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_ICE_IceConnectionNumber" >&5
25384 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25385 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
25386   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25387 fi
25388
25389   LDFLAGS=$ac_save_LDFLAGS
25390
25391 fi
25392
25393
25394 ac_fn_c_check_header_mongrel "$LINENO" "X11/X.h" "ac_cv_header_X11_X_h" "$ac_includes_default"
25395 if test "x$ac_cv_header_X11_X_h" = xyes; then :
25396   have_dep="yes"
25397 fi
25398
25399
25400
25401 if test "x${have_dep}" = "xyes" ; then
25402    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateImage in -lX11" >&5
25403 $as_echo_n "checking for XCreateImage in -lX11... " >&6; }
25404 if ${ac_cv_lib_X11_XCreateImage+:} false; then :
25405   $as_echo_n "(cached) " >&6
25406 else
25407   ac_check_lib_save_LIBS=$LIBS
25408 LIBS="-lX11  $LIBS"
25409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25410 /* end confdefs.h.  */
25411
25412 /* Override any GCC internal prototype to avoid an error.
25413    Use char because int might match the return type of a GCC
25414    builtin and then its argument prototype would still apply.  */
25415 #ifdef __cplusplus
25416 extern "C"
25417 #endif
25418 char XCreateImage ();
25419 int
25420 main ()
25421 {
25422 return XCreateImage ();
25423   ;
25424   return 0;
25425 }
25426 _ACEOF
25427 if ac_fn_c_try_link "$LINENO"; then :
25428   ac_cv_lib_X11_XCreateImage=yes
25429 else
25430   ac_cv_lib_X11_XCreateImage=no
25431 fi
25432 rm -f core conftest.err conftest.$ac_objext \
25433     conftest$ac_exeext conftest.$ac_ext
25434 LIBS=$ac_check_lib_save_LIBS
25435 fi
25436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateImage" >&5
25437 $as_echo "$ac_cv_lib_X11_XCreateImage" >&6; }
25438 if test "x$ac_cv_lib_X11_XCreateImage" = xyes; then :
25439   have_dep="yes"
25440 else
25441   have_dep="no"
25442 fi
25443
25444 fi
25445
25446 if test "x${have_dep}" = "xyes" ; then
25447    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmCreateImage in -lXext" >&5
25448 $as_echo_n "checking for XShmCreateImage in -lXext... " >&6; }
25449 if ${ac_cv_lib_Xext_XShmCreateImage+:} false; then :
25450   $as_echo_n "(cached) " >&6
25451 else
25452   ac_check_lib_save_LIBS=$LIBS
25453 LIBS="-lXext  $LIBS"
25454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25455 /* end confdefs.h.  */
25456
25457 /* Override any GCC internal prototype to avoid an error.
25458    Use char because int might match the return type of a GCC
25459    builtin and then its argument prototype would still apply.  */
25460 #ifdef __cplusplus
25461 extern "C"
25462 #endif
25463 char XShmCreateImage ();
25464 int
25465 main ()
25466 {
25467 return XShmCreateImage ();
25468   ;
25469   return 0;
25470 }
25471 _ACEOF
25472 if ac_fn_c_try_link "$LINENO"; then :
25473   ac_cv_lib_Xext_XShmCreateImage=yes
25474 else
25475   ac_cv_lib_Xext_XShmCreateImage=no
25476 fi
25477 rm -f core conftest.err conftest.$ac_objext \
25478     conftest$ac_exeext conftest.$ac_ext
25479 LIBS=$ac_check_lib_save_LIBS
25480 fi
25481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmCreateImage" >&5
25482 $as_echo "$ac_cv_lib_Xext_XShmCreateImage" >&6; }
25483 if test "x$ac_cv_lib_Xext_XShmCreateImage" = xyes; then :
25484   have_dep="yes"
25485 else
25486   have_dep="no"
25487 fi
25488
25489 fi
25490
25491 if test "x${have_dep}" = "xyes" ; then
25492    if test "xno" = "xyes" ; then
25493       x_libs="${x_libs} -lX11 -lXext"
25494    else
25495       x_dir=${x_dir:-/usr/X11R6}
25496       x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
25497       x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
25498    fi
25499    evas_engine_software_xlib_cflags="${x_cflags}"
25500    evas_engine_software_xlib_libs="${x_libs}"
25501 fi
25502
25503
25504
25505
25506 if test "x${have_dep}" = "xyes" ; then
25507   have_engine="yes"
25508 else
25509   have_engine="no"
25510 fi
25511
25512
25513 fi
25514
25515 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
25516    as_fn_error $? "Software Xlib dependencies not found (strict dependencies checking)" "$LINENO" 5
25517 fi
25518
25519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software Xlib rendering backend will be built" >&5
25520 $as_echo_n "checking whether Software Xlib rendering backend will be built... " >&6; }
25521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
25522 $as_echo "${have_engine}" >&6; }
25523
25524 if test "x${have_engine}" = "xyes" ; then
25525    if test "x${want_engine}" = "xstatic" ; then
25526       have_evas_engine_software_xlib="static"
25527       want_static_engine="yes"
25528    else
25529       have_evas_engine_software_xlib="yes"
25530    fi
25531 fi
25532
25533 if test "x${have_engine}" = "xyes" ; then
25534
25535 $as_echo "#define BUILD_ENGINE_SOFTWARE_XLIB 1" >>confdefs.h
25536
25537 fi
25538
25539  if test "x${have_engine}" = "xyes"; then
25540   BUILD_ENGINE_SOFTWARE_XLIB_TRUE=
25541   BUILD_ENGINE_SOFTWARE_XLIB_FALSE='#'
25542 else
25543   BUILD_ENGINE_SOFTWARE_XLIB_TRUE='#'
25544   BUILD_ENGINE_SOFTWARE_XLIB_FALSE=
25545 fi
25546
25547
25548 if test "x${want_static_engine}" = "xyes" ; then
25549
25550 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_XLIB 1" >>confdefs.h
25551
25552    have_static_module="yes"
25553 fi
25554
25555  if test "x${want_static_engine}" = "xyes"; then
25556   EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE=
25557   EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE='#'
25558 else
25559   EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE='#'
25560   EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE=
25561 fi
25562
25563
25564
25565
25566
25567
25568   # if software_x11 is available, define everything needed for X11
25569   if test "x$have_evas_engine_software_xlib" != "xno" ; then
25570     have_evas_engine_software_x11="yes"
25571
25572 cat >>confdefs.h <<_ACEOF
25573 #define BUILD_ENGINE_SOFTWARE_X11 1
25574 _ACEOF
25575
25576
25577 cat >>confdefs.h <<_ACEOF
25578 #define BUILD_ENGINE_SOFTWARE_XLIB 1
25579 _ACEOF
25580
25581   fi
25582 else
25583   have_evas_engine_software_xlib="no"
25584 fi
25585
25586 if test "x$have_evas_engine_software_xlib" = "xstatic" -o "x$have_evas_engine_software_xcb" = "xstatic"; then
25587
25588 cat >>confdefs.h <<_ACEOF
25589 #define EVAS_STATIC_BUILD_SOFTWARE_X11 1
25590 _ACEOF
25591
25592 fi
25593
25594
25595
25596
25597  if test "x${have_evas_engine_software_xlib}" != "xno"; then
25598   BUILD_ENGINE_SOFTWARE_XLIB_TRUE=
25599   BUILD_ENGINE_SOFTWARE_XLIB_FALSE='#'
25600 else
25601   BUILD_ENGINE_SOFTWARE_XLIB_TRUE='#'
25602   BUILD_ENGINE_SOFTWARE_XLIB_FALSE=
25603 fi
25604
25605  if test "x${have_evas_engine_software_xcb}" != "xno"; then
25606   BUILD_ENGINE_SOFTWARE_XCB_TRUE=
25607   BUILD_ENGINE_SOFTWARE_XCB_FALSE='#'
25608 else
25609   BUILD_ENGINE_SOFTWARE_XCB_TRUE='#'
25610   BUILD_ENGINE_SOFTWARE_XCB_FALSE=
25611 fi
25612
25613  if test "x${have_evas_engine_software_x11}" != "xno"; then
25614   BUILD_ENGINE_SOFTWARE_X11_TRUE=
25615   BUILD_ENGINE_SOFTWARE_X11_FALSE='#'
25616 else
25617   BUILD_ENGINE_SOFTWARE_X11_TRUE='#'
25618   BUILD_ENGINE_SOFTWARE_X11_FALSE=
25619 fi
25620
25621
25622  if test "x${have_evas_engine_software_xcb}" = "xstatic" -o "x${have_evas_engine_software_xlib}" = "xstatic"; then
25623   EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE=
25624   EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE='#'
25625 else
25626   EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE='#'
25627   EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE=
25628 fi
25629
25630  if test "x${have_evas_engine_software_xlib}" = "xstatic"; then
25631   EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE=
25632   EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE='#'
25633 else
25634   EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE='#'
25635   EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE=
25636 fi
25637
25638  if test "x${have_evas_engine_software_xcb}" = "xstatic"; then
25639   EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE=
25640   EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE='#'
25641 else
25642   EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE='#'
25643   EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE=
25644 fi
25645
25646
25647
25648
25649
25650 ######## OpenGL Engine ########
25651 have_evas_engine_gl_x11="no"
25652 have_evas_engine_gl_xcb="no"
25653 build_gl_xcb="no"
25654
25655 ## XCB Checks ##
25656 want_gl_xcb="no"
25657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build OpenGL XCB Engine" >&5
25658 $as_echo_n "checking whether to build OpenGL XCB Engine... " >&6; }
25659 # Check whether --enable-gl-xcb was given.
25660 if test "${enable_gl_xcb+set}" = set; then :
25661   enableval=$enable_gl_xcb; want_gl_xcb=$enableval
25662
25663 fi
25664
25665 if test "x$want_gl_xcb" = "xyes" ; then
25666
25667
25668
25669 want_engine="${want_evas_engine_gl_xcb}"
25670 want_static_engine="no"
25671 have_engine="no"
25672 have_evas_engine_gl_xcb="no"
25673
25674 # Check whether --enable-gl-xcb was given.
25675 if test "${enable_gl_xcb+set}" = set; then :
25676   enableval=$enable_gl_xcb;
25677     if test "x${enableval}" = "xyes" ; then
25678        want_engine="yes"
25679     else
25680        if test "x${enableval}" = "xstatic" ; then
25681           want_engine="static"
25682        else
25683           want_engine="no"
25684        fi
25685     fi
25686
25687 fi
25688
25689
25690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL XCB rendering backend" >&5
25691 $as_echo_n "checking whether to enable OpenGL XCB rendering backend... " >&6; }
25692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
25693 $as_echo "${want_engine}" >&6; }
25694
25695 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
25696
25697
25698 evas_engine_gl_xcb_cflags=""
25699 evas_engine_gl_xcb_libs=""
25700
25701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
25702 $as_echo_n "checking for X... " >&6; }
25703
25704
25705 # Check whether --with-x was given.
25706 if test "${with_x+set}" = set; then :
25707   withval=$with_x;
25708 fi
25709
25710 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
25711 if test "x$with_x" = xno; then
25712   # The user explicitly disabled X.
25713   have_x=disabled
25714 else
25715   case $x_includes,$x_libraries in #(
25716     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
25717     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
25718   $as_echo_n "(cached) " >&6
25719 else
25720   # One or both of the vars are not set, and there is no cached value.
25721 ac_x_includes=no ac_x_libraries=no
25722 rm -f -r conftest.dir
25723 if mkdir conftest.dir; then
25724   cd conftest.dir
25725   cat >Imakefile <<'_ACEOF'
25726 incroot:
25727         @echo incroot='${INCROOT}'
25728 usrlibdir:
25729         @echo usrlibdir='${USRLIBDIR}'
25730 libdir:
25731         @echo libdir='${LIBDIR}'
25732 _ACEOF
25733   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
25734     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
25735     for ac_var in incroot usrlibdir libdir; do
25736       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
25737     done
25738     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
25739     for ac_extension in a so sl dylib la dll; do
25740       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
25741          test -f "$ac_im_libdir/libX11.$ac_extension"; then
25742         ac_im_usrlibdir=$ac_im_libdir; break
25743       fi
25744     done
25745     # Screen out bogus values from the imake configuration.  They are
25746     # bogus both because they are the default anyway, and because
25747     # using them would break gcc on systems where it needs fixed includes.
25748     case $ac_im_incroot in
25749         /usr/include) ac_x_includes= ;;
25750         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
25751     esac
25752     case $ac_im_usrlibdir in
25753         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
25754         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
25755     esac
25756   fi
25757   cd ..
25758   rm -f -r conftest.dir
25759 fi
25760
25761 # Standard set of common directories for X headers.
25762 # Check X11 before X11Rn because it is often a symlink to the current release.
25763 ac_x_header_dirs='
25764 /usr/X11/include
25765 /usr/X11R7/include
25766 /usr/X11R6/include
25767 /usr/X11R5/include
25768 /usr/X11R4/include
25769
25770 /usr/include/X11
25771 /usr/include/X11R7
25772 /usr/include/X11R6
25773 /usr/include/X11R5
25774 /usr/include/X11R4
25775
25776 /usr/local/X11/include
25777 /usr/local/X11R7/include
25778 /usr/local/X11R6/include
25779 /usr/local/X11R5/include
25780 /usr/local/X11R4/include
25781
25782 /usr/local/include/X11
25783 /usr/local/include/X11R7
25784 /usr/local/include/X11R6
25785 /usr/local/include/X11R5
25786 /usr/local/include/X11R4
25787
25788 /usr/X386/include
25789 /usr/x386/include
25790 /usr/XFree86/include/X11
25791
25792 /usr/include
25793 /usr/local/include
25794 /usr/unsupported/include
25795 /usr/athena/include
25796 /usr/local/x11r5/include
25797 /usr/lpp/Xamples/include
25798
25799 /usr/openwin/include
25800 /usr/openwin/share/include'
25801
25802 if test "$ac_x_includes" = no; then
25803   # Guess where to find include files, by looking for Xlib.h.
25804   # First, try using that file with no special directory specified.
25805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25806 /* end confdefs.h.  */
25807 #include <X11/Xlib.h>
25808 _ACEOF
25809 if ac_fn_c_try_cpp "$LINENO"; then :
25810   # We can compile using X headers with no special include directory.
25811 ac_x_includes=
25812 else
25813   for ac_dir in $ac_x_header_dirs; do
25814   if test -r "$ac_dir/X11/Xlib.h"; then
25815     ac_x_includes=$ac_dir
25816     break
25817   fi
25818 done
25819 fi
25820 rm -f conftest.err conftest.i conftest.$ac_ext
25821 fi # $ac_x_includes = no
25822
25823 if test "$ac_x_libraries" = no; then
25824   # Check for the libraries.
25825   # See if we find them without any special options.
25826   # Don't add to $LIBS permanently.
25827   ac_save_LIBS=$LIBS
25828   LIBS="-lX11 $LIBS"
25829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25830 /* end confdefs.h.  */
25831 #include <X11/Xlib.h>
25832 int
25833 main ()
25834 {
25835 XrmInitialize ()
25836   ;
25837   return 0;
25838 }
25839 _ACEOF
25840 if ac_fn_c_try_link "$LINENO"; then :
25841   LIBS=$ac_save_LIBS
25842 # We can link X programs with no special library path.
25843 ac_x_libraries=
25844 else
25845   LIBS=$ac_save_LIBS
25846 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25847 do
25848   # Don't even attempt the hair of trying to link an X program!
25849   for ac_extension in a so sl dylib la dll; do
25850     if test -r "$ac_dir/libX11.$ac_extension"; then
25851       ac_x_libraries=$ac_dir
25852       break 2
25853     fi
25854   done
25855 done
25856 fi
25857 rm -f core conftest.err conftest.$ac_objext \
25858     conftest$ac_exeext conftest.$ac_ext
25859 fi # $ac_x_libraries = no
25860
25861 case $ac_x_includes,$ac_x_libraries in #(
25862   no,* | *,no | *\'*)
25863     # Didn't find X, or a directory has "'" in its name.
25864     ac_cv_have_x="have_x=no";; #(
25865   *)
25866     # Record where we found X for the cache.
25867     ac_cv_have_x="have_x=yes\
25868         ac_x_includes='$ac_x_includes'\
25869         ac_x_libraries='$ac_x_libraries'"
25870 esac
25871 fi
25872 ;; #(
25873     *) have_x=yes;;
25874   esac
25875   eval "$ac_cv_have_x"
25876 fi # $with_x != no
25877
25878 if test "$have_x" != yes; then
25879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
25880 $as_echo "$have_x" >&6; }
25881   no_x=yes
25882 else
25883   # If each of the values was on the command line, it overrides each guess.
25884   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
25885   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
25886   # Update the cache value to reflect the command line values.
25887   ac_cv_have_x="have_x=yes\
25888         ac_x_includes='$x_includes'\
25889         ac_x_libraries='$x_libraries'"
25890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
25891 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
25892 fi
25893
25894 if test "$no_x" = yes; then
25895   # Not all programs may use this symbol, but it does not hurt to define it.
25896
25897 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
25898
25899   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
25900 else
25901   if test -n "$x_includes"; then
25902     X_CFLAGS="$X_CFLAGS -I$x_includes"
25903   fi
25904
25905   # It would also be nice to do this for all -L options, not just this one.
25906   if test -n "$x_libraries"; then
25907     X_LIBS="$X_LIBS -L$x_libraries"
25908     # For Solaris; some versions of Sun CC require a space after -R and
25909     # others require no space.  Words are not sufficient . . . .
25910     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
25911 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
25912     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
25913     ac_xsave_c_werror_flag=$ac_c_werror_flag
25914     ac_c_werror_flag=yes
25915     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25916 /* end confdefs.h.  */
25917
25918 int
25919 main ()
25920 {
25921
25922   ;
25923   return 0;
25924 }
25925 _ACEOF
25926 if ac_fn_c_try_link "$LINENO"; then :
25927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25928 $as_echo "no" >&6; }
25929        X_LIBS="$X_LIBS -R$x_libraries"
25930 else
25931   LIBS="$ac_xsave_LIBS -R $x_libraries"
25932        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25933 /* end confdefs.h.  */
25934
25935 int
25936 main ()
25937 {
25938
25939   ;
25940   return 0;
25941 }
25942 _ACEOF
25943 if ac_fn_c_try_link "$LINENO"; then :
25944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25945 $as_echo "yes" >&6; }
25946           X_LIBS="$X_LIBS -R $x_libraries"
25947 else
25948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
25949 $as_echo "neither works" >&6; }
25950 fi
25951 rm -f core conftest.err conftest.$ac_objext \
25952     conftest$ac_exeext conftest.$ac_ext
25953 fi
25954 rm -f core conftest.err conftest.$ac_objext \
25955     conftest$ac_exeext conftest.$ac_ext
25956     ac_c_werror_flag=$ac_xsave_c_werror_flag
25957     LIBS=$ac_xsave_LIBS
25958   fi
25959
25960   # Check for system-dependent libraries X programs must link with.
25961   # Do this before checking for the system-independent R6 libraries
25962   # (-lICE), since we may need -lsocket or whatever for X linking.
25963
25964   if test "$ISC" = yes; then
25965     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25966   else
25967     # Martyn Johnson says this is needed for Ultrix, if the X
25968     # libraries were built with DECnet support.  And Karl Berry says
25969     # the Alpha needs dnet_stub (dnet does not exist).
25970     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25971     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25972 /* end confdefs.h.  */
25973
25974 /* Override any GCC internal prototype to avoid an error.
25975    Use char because int might match the return type of a GCC
25976    builtin and then its argument prototype would still apply.  */
25977 #ifdef __cplusplus
25978 extern "C"
25979 #endif
25980 char XOpenDisplay ();
25981 int
25982 main ()
25983 {
25984 return XOpenDisplay ();
25985   ;
25986   return 0;
25987 }
25988 _ACEOF
25989 if ac_fn_c_try_link "$LINENO"; then :
25990
25991 else
25992   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25993 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25994 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
25995   $as_echo_n "(cached) " >&6
25996 else
25997   ac_check_lib_save_LIBS=$LIBS
25998 LIBS="-ldnet  $LIBS"
25999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26000 /* end confdefs.h.  */
26001
26002 /* Override any GCC internal prototype to avoid an error.
26003    Use char because int might match the return type of a GCC
26004    builtin and then its argument prototype would still apply.  */
26005 #ifdef __cplusplus
26006 extern "C"
26007 #endif
26008 char dnet_ntoa ();
26009 int
26010 main ()
26011 {
26012 return dnet_ntoa ();
26013   ;
26014   return 0;
26015 }
26016 _ACEOF
26017 if ac_fn_c_try_link "$LINENO"; then :
26018   ac_cv_lib_dnet_dnet_ntoa=yes
26019 else
26020   ac_cv_lib_dnet_dnet_ntoa=no
26021 fi
26022 rm -f core conftest.err conftest.$ac_objext \
26023     conftest$ac_exeext conftest.$ac_ext
26024 LIBS=$ac_check_lib_save_LIBS
26025 fi
26026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26027 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
26028 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
26029   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
26030 fi
26031
26032     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
26033       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
26034 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
26035 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
26036   $as_echo_n "(cached) " >&6
26037 else
26038   ac_check_lib_save_LIBS=$LIBS
26039 LIBS="-ldnet_stub  $LIBS"
26040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26041 /* end confdefs.h.  */
26042
26043 /* Override any GCC internal prototype to avoid an error.
26044    Use char because int might match the return type of a GCC
26045    builtin and then its argument prototype would still apply.  */
26046 #ifdef __cplusplus
26047 extern "C"
26048 #endif
26049 char dnet_ntoa ();
26050 int
26051 main ()
26052 {
26053 return dnet_ntoa ();
26054   ;
26055   return 0;
26056 }
26057 _ACEOF
26058 if ac_fn_c_try_link "$LINENO"; then :
26059   ac_cv_lib_dnet_stub_dnet_ntoa=yes
26060 else
26061   ac_cv_lib_dnet_stub_dnet_ntoa=no
26062 fi
26063 rm -f core conftest.err conftest.$ac_objext \
26064     conftest$ac_exeext conftest.$ac_ext
26065 LIBS=$ac_check_lib_save_LIBS
26066 fi
26067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26068 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
26069 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
26070   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
26071 fi
26072
26073     fi
26074 fi
26075 rm -f core conftest.err conftest.$ac_objext \
26076     conftest$ac_exeext conftest.$ac_ext
26077     LIBS="$ac_xsave_LIBS"
26078
26079     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26080     # to get the SysV transport functions.
26081     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26082     # needs -lnsl.
26083     # The nsl library prevents programs from opening the X display
26084     # on Irix 5.2, according to T.E. Dickey.
26085     # The functions gethostbyname, getservbyname, and inet_addr are
26086     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26087     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
26088 if test "x$ac_cv_func_gethostbyname" = xyes; then :
26089
26090 fi
26091
26092     if test $ac_cv_func_gethostbyname = no; then
26093       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
26094 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
26095 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
26096   $as_echo_n "(cached) " >&6
26097 else
26098   ac_check_lib_save_LIBS=$LIBS
26099 LIBS="-lnsl  $LIBS"
26100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26101 /* end confdefs.h.  */
26102
26103 /* Override any GCC internal prototype to avoid an error.
26104    Use char because int might match the return type of a GCC
26105    builtin and then its argument prototype would still apply.  */
26106 #ifdef __cplusplus
26107 extern "C"
26108 #endif
26109 char gethostbyname ();
26110 int
26111 main ()
26112 {
26113 return gethostbyname ();
26114   ;
26115   return 0;
26116 }
26117 _ACEOF
26118 if ac_fn_c_try_link "$LINENO"; then :
26119   ac_cv_lib_nsl_gethostbyname=yes
26120 else
26121   ac_cv_lib_nsl_gethostbyname=no
26122 fi
26123 rm -f core conftest.err conftest.$ac_objext \
26124     conftest$ac_exeext conftest.$ac_ext
26125 LIBS=$ac_check_lib_save_LIBS
26126 fi
26127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
26128 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
26129 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
26130   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
26131 fi
26132
26133       if test $ac_cv_lib_nsl_gethostbyname = no; then
26134         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
26135 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
26136 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
26137   $as_echo_n "(cached) " >&6
26138 else
26139   ac_check_lib_save_LIBS=$LIBS
26140 LIBS="-lbsd  $LIBS"
26141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26142 /* end confdefs.h.  */
26143
26144 /* Override any GCC internal prototype to avoid an error.
26145    Use char because int might match the return type of a GCC
26146    builtin and then its argument prototype would still apply.  */
26147 #ifdef __cplusplus
26148 extern "C"
26149 #endif
26150 char gethostbyname ();
26151 int
26152 main ()
26153 {
26154 return gethostbyname ();
26155   ;
26156   return 0;
26157 }
26158 _ACEOF
26159 if ac_fn_c_try_link "$LINENO"; then :
26160   ac_cv_lib_bsd_gethostbyname=yes
26161 else
26162   ac_cv_lib_bsd_gethostbyname=no
26163 fi
26164 rm -f core conftest.err conftest.$ac_objext \
26165     conftest$ac_exeext conftest.$ac_ext
26166 LIBS=$ac_check_lib_save_LIBS
26167 fi
26168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
26169 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
26170 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
26171   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
26172 fi
26173
26174       fi
26175     fi
26176
26177     # lieder@skyler.mavd.honeywell.com says without -lsocket,
26178     # socket/setsockopt and other routines are undefined under SCO ODT
26179     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
26180     # on later versions), says Simon Leinen: it contains gethostby*
26181     # variants that don't use the name server (or something).  -lsocket
26182     # must be given before -lnsl if both are needed.  We assume that
26183     # if connect needs -lnsl, so does gethostbyname.
26184     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
26185 if test "x$ac_cv_func_connect" = xyes; then :
26186
26187 fi
26188
26189     if test $ac_cv_func_connect = no; then
26190       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
26191 $as_echo_n "checking for connect in -lsocket... " >&6; }
26192 if ${ac_cv_lib_socket_connect+:} false; then :
26193   $as_echo_n "(cached) " >&6
26194 else
26195   ac_check_lib_save_LIBS=$LIBS
26196 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
26197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26198 /* end confdefs.h.  */
26199
26200 /* Override any GCC internal prototype to avoid an error.
26201    Use char because int might match the return type of a GCC
26202    builtin and then its argument prototype would still apply.  */
26203 #ifdef __cplusplus
26204 extern "C"
26205 #endif
26206 char connect ();
26207 int
26208 main ()
26209 {
26210 return connect ();
26211   ;
26212   return 0;
26213 }
26214 _ACEOF
26215 if ac_fn_c_try_link "$LINENO"; then :
26216   ac_cv_lib_socket_connect=yes
26217 else
26218   ac_cv_lib_socket_connect=no
26219 fi
26220 rm -f core conftest.err conftest.$ac_objext \
26221     conftest$ac_exeext conftest.$ac_ext
26222 LIBS=$ac_check_lib_save_LIBS
26223 fi
26224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
26225 $as_echo "$ac_cv_lib_socket_connect" >&6; }
26226 if test "x$ac_cv_lib_socket_connect" = xyes; then :
26227   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
26228 fi
26229
26230     fi
26231
26232     # Guillermo Gomez says -lposix is necessary on A/UX.
26233     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
26234 if test "x$ac_cv_func_remove" = xyes; then :
26235
26236 fi
26237
26238     if test $ac_cv_func_remove = no; then
26239       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
26240 $as_echo_n "checking for remove in -lposix... " >&6; }
26241 if ${ac_cv_lib_posix_remove+:} false; then :
26242   $as_echo_n "(cached) " >&6
26243 else
26244   ac_check_lib_save_LIBS=$LIBS
26245 LIBS="-lposix  $LIBS"
26246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26247 /* end confdefs.h.  */
26248
26249 /* Override any GCC internal prototype to avoid an error.
26250    Use char because int might match the return type of a GCC
26251    builtin and then its argument prototype would still apply.  */
26252 #ifdef __cplusplus
26253 extern "C"
26254 #endif
26255 char remove ();
26256 int
26257 main ()
26258 {
26259 return remove ();
26260   ;
26261   return 0;
26262 }
26263 _ACEOF
26264 if ac_fn_c_try_link "$LINENO"; then :
26265   ac_cv_lib_posix_remove=yes
26266 else
26267   ac_cv_lib_posix_remove=no
26268 fi
26269 rm -f core conftest.err conftest.$ac_objext \
26270     conftest$ac_exeext conftest.$ac_ext
26271 LIBS=$ac_check_lib_save_LIBS
26272 fi
26273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
26274 $as_echo "$ac_cv_lib_posix_remove" >&6; }
26275 if test "x$ac_cv_lib_posix_remove" = xyes; then :
26276   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
26277 fi
26278
26279     fi
26280
26281     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26282     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
26283 if test "x$ac_cv_func_shmat" = xyes; then :
26284
26285 fi
26286
26287     if test $ac_cv_func_shmat = no; then
26288       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
26289 $as_echo_n "checking for shmat in -lipc... " >&6; }
26290 if ${ac_cv_lib_ipc_shmat+:} false; then :
26291   $as_echo_n "(cached) " >&6
26292 else
26293   ac_check_lib_save_LIBS=$LIBS
26294 LIBS="-lipc  $LIBS"
26295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26296 /* end confdefs.h.  */
26297
26298 /* Override any GCC internal prototype to avoid an error.
26299    Use char because int might match the return type of a GCC
26300    builtin and then its argument prototype would still apply.  */
26301 #ifdef __cplusplus
26302 extern "C"
26303 #endif
26304 char shmat ();
26305 int
26306 main ()
26307 {
26308 return shmat ();
26309   ;
26310   return 0;
26311 }
26312 _ACEOF
26313 if ac_fn_c_try_link "$LINENO"; then :
26314   ac_cv_lib_ipc_shmat=yes
26315 else
26316   ac_cv_lib_ipc_shmat=no
26317 fi
26318 rm -f core conftest.err conftest.$ac_objext \
26319     conftest$ac_exeext conftest.$ac_ext
26320 LIBS=$ac_check_lib_save_LIBS
26321 fi
26322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
26323 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
26324 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
26325   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
26326 fi
26327
26328     fi
26329   fi
26330
26331   # Check for libraries that X11R6 Xt/Xaw programs need.
26332   ac_save_LDFLAGS=$LDFLAGS
26333   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
26334   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26335   # check for ICE first), but we must link in the order -lSM -lICE or
26336   # we get undefined symbols.  So assume we have SM if we have ICE.
26337   # These have to be linked with before -lX11, unlike the other
26338   # libraries we check for below, so use a different variable.
26339   # John Interrante, Karl Berry
26340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
26341 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
26342 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
26343   $as_echo_n "(cached) " >&6
26344 else
26345   ac_check_lib_save_LIBS=$LIBS
26346 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
26347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26348 /* end confdefs.h.  */
26349
26350 /* Override any GCC internal prototype to avoid an error.
26351    Use char because int might match the return type of a GCC
26352    builtin and then its argument prototype would still apply.  */
26353 #ifdef __cplusplus
26354 extern "C"
26355 #endif
26356 char IceConnectionNumber ();
26357 int
26358 main ()
26359 {
26360 return IceConnectionNumber ();
26361   ;
26362   return 0;
26363 }
26364 _ACEOF
26365 if ac_fn_c_try_link "$LINENO"; then :
26366   ac_cv_lib_ICE_IceConnectionNumber=yes
26367 else
26368   ac_cv_lib_ICE_IceConnectionNumber=no
26369 fi
26370 rm -f core conftest.err conftest.$ac_objext \
26371     conftest$ac_exeext conftest.$ac_ext
26372 LIBS=$ac_check_lib_save_LIBS
26373 fi
26374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26375 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
26376 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
26377   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
26378 fi
26379
26380   LDFLAGS=$ac_save_LDFLAGS
26381
26382 fi
26383
26384
26385 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
26386 #include <GL/gl.h>
26387 #include <GL/glext.h>
26388 #include <GL/glx.h>
26389
26390 "
26391 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
26392   have_dep="yes"
26393 else
26394   have_dep="no"
26395 fi
26396
26397
26398
26399 gl_pt_lib="";
26400 have_gl_pt="no"
26401
26402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_create() is supported" >&5
26403 $as_echo_n "checking whether pthread_create() is supported... " >&6; }
26404 CFLAGS_save="${CFLAGS}"
26405 CFLAGS="${CFLAGS} -pthread"
26406 LIBS_save="${LIBS}"
26407 LIBS="${LIBS} -pthread"
26408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26409 /* end confdefs.h.  */
26410
26411 #include <pthread.h>
26412
26413 int
26414 main ()
26415 {
26416
26417 pthread_create(NULL, NULL, NULL, NULL);
26418
26419   ;
26420   return 0;
26421 }
26422 _ACEOF
26423 if ac_fn_c_try_link "$LINENO"; then :
26424   have_gl_pt="yes"
26425 else
26426   have_gl_pt="no"
26427 fi
26428 rm -f core conftest.err conftest.$ac_objext \
26429     conftest$ac_exeext conftest.$ac_ext
26430 CFLAGS=${CFLAGS_save}
26431 LIBS=${LIBS_save}
26432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_gl_pt}" >&5
26433 $as_echo "${have_gl_pt}" >&6; }
26434
26435 if test "x$have_gl_pt" = "xyes" ; then
26436    gl_pt_lib=" -pthread"
26437 fi
26438
26439 if test "x${have_dep}" = "xyes" ; then
26440    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateColormap in -lX11" >&5
26441 $as_echo_n "checking for XCreateColormap in -lX11... " >&6; }
26442 if ${ac_cv_lib_X11_XCreateColormap+:} false; then :
26443   $as_echo_n "(cached) " >&6
26444 else
26445   ac_check_lib_save_LIBS=$LIBS
26446 LIBS="-lX11  $LIBS"
26447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26448 /* end confdefs.h.  */
26449
26450 /* Override any GCC internal prototype to avoid an error.
26451    Use char because int might match the return type of a GCC
26452    builtin and then its argument prototype would still apply.  */
26453 #ifdef __cplusplus
26454 extern "C"
26455 #endif
26456 char XCreateColormap ();
26457 int
26458 main ()
26459 {
26460 return XCreateColormap ();
26461   ;
26462   return 0;
26463 }
26464 _ACEOF
26465 if ac_fn_c_try_link "$LINENO"; then :
26466   ac_cv_lib_X11_XCreateColormap=yes
26467 else
26468   ac_cv_lib_X11_XCreateColormap=no
26469 fi
26470 rm -f core conftest.err conftest.$ac_objext \
26471     conftest$ac_exeext conftest.$ac_ext
26472 LIBS=$ac_check_lib_save_LIBS
26473 fi
26474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateColormap" >&5
26475 $as_echo "$ac_cv_lib_X11_XCreateColormap" >&6; }
26476 if test "x$ac_cv_lib_X11_XCreateColormap" = xyes; then :
26477   have_dep="yes"
26478 else
26479   have_dep="no"
26480 fi
26481
26482 fi
26483
26484 if test "x${have_dep}" = "xyes" ; then
26485    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreatePicture in -lXrender" >&5
26486 $as_echo_n "checking for XRenderCreatePicture in -lXrender... " >&6; }
26487 if ${ac_cv_lib_Xrender_XRenderCreatePicture+:} false; then :
26488   $as_echo_n "(cached) " >&6
26489 else
26490   ac_check_lib_save_LIBS=$LIBS
26491 LIBS="-lXrender  $LIBS"
26492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26493 /* end confdefs.h.  */
26494
26495 /* Override any GCC internal prototype to avoid an error.
26496    Use char because int might match the return type of a GCC
26497    builtin and then its argument prototype would still apply.  */
26498 #ifdef __cplusplus
26499 extern "C"
26500 #endif
26501 char XRenderCreatePicture ();
26502 int
26503 main ()
26504 {
26505 return XRenderCreatePicture ();
26506   ;
26507   return 0;
26508 }
26509 _ACEOF
26510 if ac_fn_c_try_link "$LINENO"; then :
26511   ac_cv_lib_Xrender_XRenderCreatePicture=yes
26512 else
26513   ac_cv_lib_Xrender_XRenderCreatePicture=no
26514 fi
26515 rm -f core conftest.err conftest.$ac_objext \
26516     conftest$ac_exeext conftest.$ac_ext
26517 LIBS=$ac_check_lib_save_LIBS
26518 fi
26519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreatePicture" >&5
26520 $as_echo "$ac_cv_lib_Xrender_XRenderCreatePicture" >&6; }
26521 if test "x$ac_cv_lib_Xrender_XRenderCreatePicture" = xyes; then :
26522   have_dep="yes"
26523 else
26524   have_dep="no"
26525 fi
26526
26527 fi
26528
26529 if test "x${have_dep}" = "xyes" ; then
26530    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glXCreateContext in -lGL" >&5
26531 $as_echo_n "checking for glXCreateContext in -lGL... " >&6; }
26532 if ${ac_cv_lib_GL_glXCreateContext+:} false; then :
26533   $as_echo_n "(cached) " >&6
26534 else
26535   ac_check_lib_save_LIBS=$LIBS
26536 LIBS="-lGL -lX11 -lXext -lXrender -lm $gl_pt_lib $LIBS"
26537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26538 /* end confdefs.h.  */
26539
26540 /* Override any GCC internal prototype to avoid an error.
26541    Use char because int might match the return type of a GCC
26542    builtin and then its argument prototype would still apply.  */
26543 #ifdef __cplusplus
26544 extern "C"
26545 #endif
26546 char glXCreateContext ();
26547 int
26548 main ()
26549 {
26550 return glXCreateContext ();
26551   ;
26552   return 0;
26553 }
26554 _ACEOF
26555 if ac_fn_c_try_link "$LINENO"; then :
26556   ac_cv_lib_GL_glXCreateContext=yes
26557 else
26558   ac_cv_lib_GL_glXCreateContext=no
26559 fi
26560 rm -f core conftest.err conftest.$ac_objext \
26561     conftest$ac_exeext conftest.$ac_ext
26562 LIBS=$ac_check_lib_save_LIBS
26563 fi
26564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glXCreateContext" >&5
26565 $as_echo "$ac_cv_lib_GL_glXCreateContext" >&6; }
26566 if test "x$ac_cv_lib_GL_glXCreateContext" = xyes; then :
26567   have_dep="yes"
26568 else
26569   have_dep="no"
26570 fi
26571
26572 fi
26573
26574
26575 pkg_failed=no
26576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_GL" >&5
26577 $as_echo_n "checking for XCB_GL... " >&6; }
26578
26579 if test -n "$XCB_GL_CFLAGS"; then
26580     pkg_cv_XCB_GL_CFLAGS="$XCB_GL_CFLAGS"
26581  elif test -n "$PKG_CONFIG"; then
26582     if test -n "$PKG_CONFIG" && \
26583     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-glx xcb-render xcb-renderutil\""; } >&5
26584   ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil") 2>&5
26585   ac_status=$?
26586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26587   test $ac_status = 0; }; then
26588   pkg_cv_XCB_GL_CFLAGS=`$PKG_CONFIG --cflags "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>/dev/null`
26589                       test "x$?" != "x0" && pkg_failed=yes
26590 else
26591   pkg_failed=yes
26592 fi
26593  else
26594     pkg_failed=untried
26595 fi
26596 if test -n "$XCB_GL_LIBS"; then
26597     pkg_cv_XCB_GL_LIBS="$XCB_GL_LIBS"
26598  elif test -n "$PKG_CONFIG"; then
26599     if test -n "$PKG_CONFIG" && \
26600     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-glx xcb-render xcb-renderutil\""; } >&5
26601   ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil") 2>&5
26602   ac_status=$?
26603   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26604   test $ac_status = 0; }; then
26605   pkg_cv_XCB_GL_LIBS=`$PKG_CONFIG --libs "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>/dev/null`
26606                       test "x$?" != "x0" && pkg_failed=yes
26607 else
26608   pkg_failed=yes
26609 fi
26610  else
26611     pkg_failed=untried
26612 fi
26613
26614
26615
26616 if test $pkg_failed = yes; then
26617         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26618 $as_echo "no" >&6; }
26619
26620 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26621         _pkg_short_errors_supported=yes
26622 else
26623         _pkg_short_errors_supported=no
26624 fi
26625         if test $_pkg_short_errors_supported = yes; then
26626                 XCB_GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>&1`
26627         else
26628                 XCB_GL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>&1`
26629         fi
26630         # Put the nasty error message in config.log where it belongs
26631         echo "$XCB_GL_PKG_ERRORS" >&5
26632
26633
26634     have_dep="no"
26635
26636
26637 elif test $pkg_failed = untried; then
26638         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26639 $as_echo "no" >&6; }
26640
26641     have_dep="no"
26642
26643
26644 else
26645         XCB_GL_CFLAGS=$pkg_cv_XCB_GL_CFLAGS
26646         XCB_GL_LIBS=$pkg_cv_XCB_GL_LIBS
26647         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26648 $as_echo "yes" >&6; }
26649
26650     have_dep="yes"
26651     requirement="x11-xcb xcb xcb-glx xcb-render xcb-renderutil"
26652     evas_engine_gl_xcb_cflags="${XCB_GL_CFLAGS}"
26653     evas_engine_gl_xcb_libs="${XCB_GL_LIBS}"
26654
26655 fi
26656
26657 if test "x$gl_flavor_gles" = "xyes" ; then
26658   have_dep=no
26659 fi
26660
26661 if test "x${have_dep}" = "xyes" ; then
26662
26663 pkg_failed=no
26664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
26665 $as_echo_n "checking for GL_EET... " >&6; }
26666
26667 if test -n "$GL_EET_CFLAGS"; then
26668     pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
26669  elif test -n "$PKG_CONFIG"; then
26670     if test -n "$PKG_CONFIG" && \
26671     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
26672   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
26673   ac_status=$?
26674   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26675   test $ac_status = 0; }; then
26676   pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
26677                       test "x$?" != "x0" && pkg_failed=yes
26678 else
26679   pkg_failed=yes
26680 fi
26681  else
26682     pkg_failed=untried
26683 fi
26684 if test -n "$GL_EET_LIBS"; then
26685     pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
26686  elif test -n "$PKG_CONFIG"; then
26687     if test -n "$PKG_CONFIG" && \
26688     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
26689   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
26690   ac_status=$?
26691   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26692   test $ac_status = 0; }; then
26693   pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
26694                       test "x$?" != "x0" && pkg_failed=yes
26695 else
26696   pkg_failed=yes
26697 fi
26698  else
26699     pkg_failed=untried
26700 fi
26701
26702
26703
26704 if test $pkg_failed = yes; then
26705         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26706 $as_echo "no" >&6; }
26707
26708 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26709         _pkg_short_errors_supported=yes
26710 else
26711         _pkg_short_errors_supported=no
26712 fi
26713         if test $_pkg_short_errors_supported = yes; then
26714                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
26715         else
26716                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
26717         fi
26718         # Put the nasty error message in config.log where it belongs
26719         echo "$GL_EET_PKG_ERRORS" >&5
26720
26721         have_dep="no"
26722 elif test $pkg_failed = untried; then
26723         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26724 $as_echo "no" >&6; }
26725         have_dep="no"
26726 else
26727         GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
26728         GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
26729         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26730 $as_echo "yes" >&6; }
26731         have_dep="yes"
26732 fi
26733    if test "x${have_dep}" = "xyes" ; then
26734       if test "xno" = "xyes" ; then
26735          x_libs="${x_libs} -lX11 -lXext -lXrender"
26736       else
26737          x_dir=${x_dir:-/usr/X11R6}
26738          x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
26739          x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
26740       fi
26741    evas_engine_gl_xcb_cflags="-I/usr/include ${XCB_GL_CFLAGS} ${x_cflags}"
26742    evas_engine_gl_xcb_libs="${XCB_GL_LIBS} ${x_libs} -lGL $gl_pt_lib"
26743    evas_engine_gl_common_libs="-lGL $gl_pt_lib"
26744    fi
26745 else
26746    if test "xno" = "xyes" ; then
26747       x_libs="${x_libs} -lX11 -lXext -lXrender"
26748    else
26749       x_dir=${x_dir:-/usr/X11R6}
26750       x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
26751       x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
26752    fi
26753    ac_fn_c_check_header_compile "$LINENO" "GLES2/gl2.h" "ac_cv_header_GLES2_gl2_h" "
26754 #include <GLES2/gl2.h>
26755 #include <GLES2/gl2ext.h>
26756 #include <EGL/egl.h>
26757
26758 "
26759 if test "x$ac_cv_header_GLES2_gl2_h" = xyes; then :
26760   have_egl="yes"
26761 else
26762   have_egl="no"
26763 fi
26764
26765
26766    if test "x${have_egl}" = "xyes" ; then
26767       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
26768 $as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
26769 if ${ac_cv_lib_GLESv2_glTexImage2D+:} false; then :
26770   $as_echo_n "(cached) " >&6
26771 else
26772   ac_check_lib_save_LIBS=$LIBS
26773 LIBS="-lGLESv2 -lEGL ${x_libs} -lm $gl_pt_lib $LIBS"
26774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26775 /* end confdefs.h.  */
26776
26777 /* Override any GCC internal prototype to avoid an error.
26778    Use char because int might match the return type of a GCC
26779    builtin and then its argument prototype would still apply.  */
26780 #ifdef __cplusplus
26781 extern "C"
26782 #endif
26783 char glTexImage2D ();
26784 int
26785 main ()
26786 {
26787 return glTexImage2D ();
26788   ;
26789   return 0;
26790 }
26791 _ACEOF
26792 if ac_fn_c_try_link "$LINENO"; then :
26793   ac_cv_lib_GLESv2_glTexImage2D=yes
26794 else
26795   ac_cv_lib_GLESv2_glTexImage2D=no
26796 fi
26797 rm -f core conftest.err conftest.$ac_objext \
26798     conftest$ac_exeext conftest.$ac_ext
26799 LIBS=$ac_check_lib_save_LIBS
26800 fi
26801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
26802 $as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
26803 if test "x$ac_cv_lib_GLESv2_glTexImage2D" = xyes; then :
26804   have_glesv2="yes"
26805 fi
26806
26807       if test "x${have_glesv2}" = "xyes" ; then
26808
26809 pkg_failed=no
26810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
26811 $as_echo_n "checking for GL_EET... " >&6; }
26812
26813 if test -n "$GL_EET_CFLAGS"; then
26814     pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
26815  elif test -n "$PKG_CONFIG"; then
26816     if test -n "$PKG_CONFIG" && \
26817     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
26818   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
26819   ac_status=$?
26820   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26821   test $ac_status = 0; }; then
26822   pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
26823                       test "x$?" != "x0" && pkg_failed=yes
26824 else
26825   pkg_failed=yes
26826 fi
26827  else
26828     pkg_failed=untried
26829 fi
26830 if test -n "$GL_EET_LIBS"; then
26831     pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
26832  elif test -n "$PKG_CONFIG"; then
26833     if test -n "$PKG_CONFIG" && \
26834     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
26835   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
26836   ac_status=$?
26837   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26838   test $ac_status = 0; }; then
26839   pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
26840                       test "x$?" != "x0" && pkg_failed=yes
26841 else
26842   pkg_failed=yes
26843 fi
26844  else
26845     pkg_failed=untried
26846 fi
26847
26848
26849
26850 if test $pkg_failed = yes; then
26851         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26852 $as_echo "no" >&6; }
26853
26854 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26855         _pkg_short_errors_supported=yes
26856 else
26857         _pkg_short_errors_supported=no
26858 fi
26859         if test $_pkg_short_errors_supported = yes; then
26860                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
26861         else
26862                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
26863         fi
26864         # Put the nasty error message in config.log where it belongs
26865         echo "$GL_EET_PKG_ERRORS" >&5
26866
26867         have_dep="no"
26868 elif test $pkg_failed = untried; then
26869         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26870 $as_echo "no" >&6; }
26871         have_dep="no"
26872 else
26873         GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
26874         GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
26875         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26876 $as_echo "yes" >&6; }
26877         have_dep="yes"
26878 fi
26879          if test "x${have_dep}" = "xyes" ; then
26880             evas_engine_gl_xcb_cflags="${XCB_GL_CFLAGS} ${x_cflags}"
26881             evas_engine_gl_xcb_libs="${XCB_GL_LIBS} ${x_libs} -lGLESv2 -lEGL -lm $gl_pt_lib"
26882             evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
26883             have_dep="yes"
26884
26885 $as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
26886
26887             gles_variety_sgx="yes"
26888          fi
26889       fi
26890    fi
26891 fi
26892
26893
26894
26895
26896 if test "x${have_dep}" = "xyes" ; then
26897   have_engine="yes"
26898 else
26899   have_engine="no"
26900 fi
26901
26902
26903 fi
26904
26905 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
26906    as_fn_error $? "OpenGL XCB dependencies not found (strict dependencies checking)" "$LINENO" 5
26907 fi
26908
26909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL XCB rendering backend will be built" >&5
26910 $as_echo_n "checking whether OpenGL XCB rendering backend will be built... " >&6; }
26911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
26912 $as_echo "${have_engine}" >&6; }
26913
26914 if test "x${have_engine}" = "xyes" ; then
26915    if test "x${want_engine}" = "xstatic" ; then
26916       have_evas_engine_gl_xcb="static"
26917       want_static_engine="yes"
26918    else
26919       have_evas_engine_gl_xcb="yes"
26920    fi
26921 fi
26922
26923 if test "x${have_engine}" = "xyes" ; then
26924
26925 $as_echo "#define BUILD_ENGINE_GL_XCB 1" >>confdefs.h
26926
26927 fi
26928
26929  if test "x${have_engine}" = "xyes"; then
26930   BUILD_ENGINE_GL_XCB_TRUE=
26931   BUILD_ENGINE_GL_XCB_FALSE='#'
26932 else
26933   BUILD_ENGINE_GL_XCB_TRUE='#'
26934   BUILD_ENGINE_GL_XCB_FALSE=
26935 fi
26936
26937
26938 if test "x${want_static_engine}" = "xyes" ; then
26939
26940 $as_echo "#define EVAS_STATIC_BUILD_GL_XCB 1" >>confdefs.h
26941
26942    have_static_module="yes"
26943 fi
26944
26945  if test "x${want_static_engine}" = "xyes"; then
26946   EVAS_STATIC_BUILD_GL_XCB_TRUE=
26947   EVAS_STATIC_BUILD_GL_XCB_FALSE='#'
26948 else
26949   EVAS_STATIC_BUILD_GL_XCB_TRUE='#'
26950   EVAS_STATIC_BUILD_GL_XCB_FALSE=
26951 fi
26952
26953
26954
26955
26956
26957
26958   if test "x$have_evas_engine_gl_xcb" != "xno" ; then
26959     build_gl_xcb="yes"
26960     have_evas_engine_gl_x11="yes"
26961
26962 $as_echo "#define BUILD_ENGINE_GL_X11 1" >>confdefs.h
26963
26964
26965 $as_echo "#define BUILD_ENGINE_GL_XCB 1" >>confdefs.h
26966
26967     if test "x$have_evas_engine_gl_xcb" = "xstatic" ; then
26968
26969 $as_echo "#define EVAS_STATIC_BUILD_GL_X11 1" >>confdefs.h
26970
26971     fi
26972   fi
26973
26974 else
26975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26976 $as_echo "no" >&6; }
26977   build_gl_xcb="no"
26978 fi
26979
26980 ## If we are not building XCB, then we can build XLib ##
26981
26982 if test "x$build_gl_xcb" = "xno" ; then
26983
26984
26985
26986 want_engine="${want_evas_engine_gl_xlib}"
26987 want_static_engine="no"
26988 have_engine="no"
26989 have_evas_engine_gl_xlib="no"
26990
26991 # Check whether --enable-gl-xlib was given.
26992 if test "${enable_gl_xlib+set}" = set; then :
26993   enableval=$enable_gl_xlib;
26994     if test "x${enableval}" = "xyes" ; then
26995        want_engine="yes"
26996     else
26997        if test "x${enableval}" = "xstatic" ; then
26998           want_engine="static"
26999        else
27000           want_engine="no"
27001        fi
27002     fi
27003
27004 fi
27005
27006
27007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL XLib rendering backend" >&5
27008 $as_echo_n "checking whether to enable OpenGL XLib rendering backend... " >&6; }
27009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
27010 $as_echo "${want_engine}" >&6; }
27011
27012 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
27013
27014
27015 evas_engine_gl_xlib_cflags=""
27016 evas_engine_gl_xlib_libs=""
27017
27018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
27019 $as_echo_n "checking for X... " >&6; }
27020
27021
27022 # Check whether --with-x was given.
27023 if test "${with_x+set}" = set; then :
27024   withval=$with_x;
27025 fi
27026
27027 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
27028 if test "x$with_x" = xno; then
27029   # The user explicitly disabled X.
27030   have_x=disabled
27031 else
27032   case $x_includes,$x_libraries in #(
27033     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
27034     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
27035   $as_echo_n "(cached) " >&6
27036 else
27037   # One or both of the vars are not set, and there is no cached value.
27038 ac_x_includes=no ac_x_libraries=no
27039 rm -f -r conftest.dir
27040 if mkdir conftest.dir; then
27041   cd conftest.dir
27042   cat >Imakefile <<'_ACEOF'
27043 incroot:
27044         @echo incroot='${INCROOT}'
27045 usrlibdir:
27046         @echo usrlibdir='${USRLIBDIR}'
27047 libdir:
27048         @echo libdir='${LIBDIR}'
27049 _ACEOF
27050   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
27051     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
27052     for ac_var in incroot usrlibdir libdir; do
27053       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
27054     done
27055     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
27056     for ac_extension in a so sl dylib la dll; do
27057       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
27058          test -f "$ac_im_libdir/libX11.$ac_extension"; then
27059         ac_im_usrlibdir=$ac_im_libdir; break
27060       fi
27061     done
27062     # Screen out bogus values from the imake configuration.  They are
27063     # bogus both because they are the default anyway, and because
27064     # using them would break gcc on systems where it needs fixed includes.
27065     case $ac_im_incroot in
27066         /usr/include) ac_x_includes= ;;
27067         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
27068     esac
27069     case $ac_im_usrlibdir in
27070         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
27071         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
27072     esac
27073   fi
27074   cd ..
27075   rm -f -r conftest.dir
27076 fi
27077
27078 # Standard set of common directories for X headers.
27079 # Check X11 before X11Rn because it is often a symlink to the current release.
27080 ac_x_header_dirs='
27081 /usr/X11/include
27082 /usr/X11R7/include
27083 /usr/X11R6/include
27084 /usr/X11R5/include
27085 /usr/X11R4/include
27086
27087 /usr/include/X11
27088 /usr/include/X11R7
27089 /usr/include/X11R6
27090 /usr/include/X11R5
27091 /usr/include/X11R4
27092
27093 /usr/local/X11/include
27094 /usr/local/X11R7/include
27095 /usr/local/X11R6/include
27096 /usr/local/X11R5/include
27097 /usr/local/X11R4/include
27098
27099 /usr/local/include/X11
27100 /usr/local/include/X11R7
27101 /usr/local/include/X11R6
27102 /usr/local/include/X11R5
27103 /usr/local/include/X11R4
27104
27105 /usr/X386/include
27106 /usr/x386/include
27107 /usr/XFree86/include/X11
27108
27109 /usr/include
27110 /usr/local/include
27111 /usr/unsupported/include
27112 /usr/athena/include
27113 /usr/local/x11r5/include
27114 /usr/lpp/Xamples/include
27115
27116 /usr/openwin/include
27117 /usr/openwin/share/include'
27118
27119 if test "$ac_x_includes" = no; then
27120   # Guess where to find include files, by looking for Xlib.h.
27121   # First, try using that file with no special directory specified.
27122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27123 /* end confdefs.h.  */
27124 #include <X11/Xlib.h>
27125 _ACEOF
27126 if ac_fn_c_try_cpp "$LINENO"; then :
27127   # We can compile using X headers with no special include directory.
27128 ac_x_includes=
27129 else
27130   for ac_dir in $ac_x_header_dirs; do
27131   if test -r "$ac_dir/X11/Xlib.h"; then
27132     ac_x_includes=$ac_dir
27133     break
27134   fi
27135 done
27136 fi
27137 rm -f conftest.err conftest.i conftest.$ac_ext
27138 fi # $ac_x_includes = no
27139
27140 if test "$ac_x_libraries" = no; then
27141   # Check for the libraries.
27142   # See if we find them without any special options.
27143   # Don't add to $LIBS permanently.
27144   ac_save_LIBS=$LIBS
27145   LIBS="-lX11 $LIBS"
27146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27147 /* end confdefs.h.  */
27148 #include <X11/Xlib.h>
27149 int
27150 main ()
27151 {
27152 XrmInitialize ()
27153   ;
27154   return 0;
27155 }
27156 _ACEOF
27157 if ac_fn_c_try_link "$LINENO"; then :
27158   LIBS=$ac_save_LIBS
27159 # We can link X programs with no special library path.
27160 ac_x_libraries=
27161 else
27162   LIBS=$ac_save_LIBS
27163 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
27164 do
27165   # Don't even attempt the hair of trying to link an X program!
27166   for ac_extension in a so sl dylib la dll; do
27167     if test -r "$ac_dir/libX11.$ac_extension"; then
27168       ac_x_libraries=$ac_dir
27169       break 2
27170     fi
27171   done
27172 done
27173 fi
27174 rm -f core conftest.err conftest.$ac_objext \
27175     conftest$ac_exeext conftest.$ac_ext
27176 fi # $ac_x_libraries = no
27177
27178 case $ac_x_includes,$ac_x_libraries in #(
27179   no,* | *,no | *\'*)
27180     # Didn't find X, or a directory has "'" in its name.
27181     ac_cv_have_x="have_x=no";; #(
27182   *)
27183     # Record where we found X for the cache.
27184     ac_cv_have_x="have_x=yes\
27185         ac_x_includes='$ac_x_includes'\
27186         ac_x_libraries='$ac_x_libraries'"
27187 esac
27188 fi
27189 ;; #(
27190     *) have_x=yes;;
27191   esac
27192   eval "$ac_cv_have_x"
27193 fi # $with_x != no
27194
27195 if test "$have_x" != yes; then
27196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
27197 $as_echo "$have_x" >&6; }
27198   no_x=yes
27199 else
27200   # If each of the values was on the command line, it overrides each guess.
27201   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
27202   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
27203   # Update the cache value to reflect the command line values.
27204   ac_cv_have_x="have_x=yes\
27205         ac_x_includes='$x_includes'\
27206         ac_x_libraries='$x_libraries'"
27207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
27208 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
27209 fi
27210
27211 if test "$no_x" = yes; then
27212   # Not all programs may use this symbol, but it does not hurt to define it.
27213
27214 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
27215
27216   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
27217 else
27218   if test -n "$x_includes"; then
27219     X_CFLAGS="$X_CFLAGS -I$x_includes"
27220   fi
27221
27222   # It would also be nice to do this for all -L options, not just this one.
27223   if test -n "$x_libraries"; then
27224     X_LIBS="$X_LIBS -L$x_libraries"
27225     # For Solaris; some versions of Sun CC require a space after -R and
27226     # others require no space.  Words are not sufficient . . . .
27227     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
27228 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
27229     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
27230     ac_xsave_c_werror_flag=$ac_c_werror_flag
27231     ac_c_werror_flag=yes
27232     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27233 /* end confdefs.h.  */
27234
27235 int
27236 main ()
27237 {
27238
27239   ;
27240   return 0;
27241 }
27242 _ACEOF
27243 if ac_fn_c_try_link "$LINENO"; then :
27244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27245 $as_echo "no" >&6; }
27246        X_LIBS="$X_LIBS -R$x_libraries"
27247 else
27248   LIBS="$ac_xsave_LIBS -R $x_libraries"
27249        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27250 /* end confdefs.h.  */
27251
27252 int
27253 main ()
27254 {
27255
27256   ;
27257   return 0;
27258 }
27259 _ACEOF
27260 if ac_fn_c_try_link "$LINENO"; then :
27261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27262 $as_echo "yes" >&6; }
27263           X_LIBS="$X_LIBS -R $x_libraries"
27264 else
27265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
27266 $as_echo "neither works" >&6; }
27267 fi
27268 rm -f core conftest.err conftest.$ac_objext \
27269     conftest$ac_exeext conftest.$ac_ext
27270 fi
27271 rm -f core conftest.err conftest.$ac_objext \
27272     conftest$ac_exeext conftest.$ac_ext
27273     ac_c_werror_flag=$ac_xsave_c_werror_flag
27274     LIBS=$ac_xsave_LIBS
27275   fi
27276
27277   # Check for system-dependent libraries X programs must link with.
27278   # Do this before checking for the system-independent R6 libraries
27279   # (-lICE), since we may need -lsocket or whatever for X linking.
27280
27281   if test "$ISC" = yes; then
27282     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
27283   else
27284     # Martyn Johnson says this is needed for Ultrix, if the X
27285     # libraries were built with DECnet support.  And Karl Berry says
27286     # the Alpha needs dnet_stub (dnet does not exist).
27287     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
27288     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27289 /* end confdefs.h.  */
27290
27291 /* Override any GCC internal prototype to avoid an error.
27292    Use char because int might match the return type of a GCC
27293    builtin and then its argument prototype would still apply.  */
27294 #ifdef __cplusplus
27295 extern "C"
27296 #endif
27297 char XOpenDisplay ();
27298 int
27299 main ()
27300 {
27301 return XOpenDisplay ();
27302   ;
27303   return 0;
27304 }
27305 _ACEOF
27306 if ac_fn_c_try_link "$LINENO"; then :
27307
27308 else
27309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
27310 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
27311 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
27312   $as_echo_n "(cached) " >&6
27313 else
27314   ac_check_lib_save_LIBS=$LIBS
27315 LIBS="-ldnet  $LIBS"
27316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27317 /* end confdefs.h.  */
27318
27319 /* Override any GCC internal prototype to avoid an error.
27320    Use char because int might match the return type of a GCC
27321    builtin and then its argument prototype would still apply.  */
27322 #ifdef __cplusplus
27323 extern "C"
27324 #endif
27325 char dnet_ntoa ();
27326 int
27327 main ()
27328 {
27329 return dnet_ntoa ();
27330   ;
27331   return 0;
27332 }
27333 _ACEOF
27334 if ac_fn_c_try_link "$LINENO"; then :
27335   ac_cv_lib_dnet_dnet_ntoa=yes
27336 else
27337   ac_cv_lib_dnet_dnet_ntoa=no
27338 fi
27339 rm -f core conftest.err conftest.$ac_objext \
27340     conftest$ac_exeext conftest.$ac_ext
27341 LIBS=$ac_check_lib_save_LIBS
27342 fi
27343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
27344 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
27345 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
27346   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
27347 fi
27348
27349     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
27350       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
27351 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
27352 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
27353   $as_echo_n "(cached) " >&6
27354 else
27355   ac_check_lib_save_LIBS=$LIBS
27356 LIBS="-ldnet_stub  $LIBS"
27357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27358 /* end confdefs.h.  */
27359
27360 /* Override any GCC internal prototype to avoid an error.
27361    Use char because int might match the return type of a GCC
27362    builtin and then its argument prototype would still apply.  */
27363 #ifdef __cplusplus
27364 extern "C"
27365 #endif
27366 char dnet_ntoa ();
27367 int
27368 main ()
27369 {
27370 return dnet_ntoa ();
27371   ;
27372   return 0;
27373 }
27374 _ACEOF
27375 if ac_fn_c_try_link "$LINENO"; then :
27376   ac_cv_lib_dnet_stub_dnet_ntoa=yes
27377 else
27378   ac_cv_lib_dnet_stub_dnet_ntoa=no
27379 fi
27380 rm -f core conftest.err conftest.$ac_objext \
27381     conftest$ac_exeext conftest.$ac_ext
27382 LIBS=$ac_check_lib_save_LIBS
27383 fi
27384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
27385 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
27386 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
27387   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
27388 fi
27389
27390     fi
27391 fi
27392 rm -f core conftest.err conftest.$ac_objext \
27393     conftest$ac_exeext conftest.$ac_ext
27394     LIBS="$ac_xsave_LIBS"
27395
27396     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
27397     # to get the SysV transport functions.
27398     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
27399     # needs -lnsl.
27400     # The nsl library prevents programs from opening the X display
27401     # on Irix 5.2, according to T.E. Dickey.
27402     # The functions gethostbyname, getservbyname, and inet_addr are
27403     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
27404     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
27405 if test "x$ac_cv_func_gethostbyname" = xyes; then :
27406
27407 fi
27408
27409     if test $ac_cv_func_gethostbyname = no; then
27410       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
27411 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
27412 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
27413   $as_echo_n "(cached) " >&6
27414 else
27415   ac_check_lib_save_LIBS=$LIBS
27416 LIBS="-lnsl  $LIBS"
27417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27418 /* end confdefs.h.  */
27419
27420 /* Override any GCC internal prototype to avoid an error.
27421    Use char because int might match the return type of a GCC
27422    builtin and then its argument prototype would still apply.  */
27423 #ifdef __cplusplus
27424 extern "C"
27425 #endif
27426 char gethostbyname ();
27427 int
27428 main ()
27429 {
27430 return gethostbyname ();
27431   ;
27432   return 0;
27433 }
27434 _ACEOF
27435 if ac_fn_c_try_link "$LINENO"; then :
27436   ac_cv_lib_nsl_gethostbyname=yes
27437 else
27438   ac_cv_lib_nsl_gethostbyname=no
27439 fi
27440 rm -f core conftest.err conftest.$ac_objext \
27441     conftest$ac_exeext conftest.$ac_ext
27442 LIBS=$ac_check_lib_save_LIBS
27443 fi
27444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
27445 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
27446 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
27447   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
27448 fi
27449
27450       if test $ac_cv_lib_nsl_gethostbyname = no; then
27451         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
27452 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
27453 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
27454   $as_echo_n "(cached) " >&6
27455 else
27456   ac_check_lib_save_LIBS=$LIBS
27457 LIBS="-lbsd  $LIBS"
27458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27459 /* end confdefs.h.  */
27460
27461 /* Override any GCC internal prototype to avoid an error.
27462    Use char because int might match the return type of a GCC
27463    builtin and then its argument prototype would still apply.  */
27464 #ifdef __cplusplus
27465 extern "C"
27466 #endif
27467 char gethostbyname ();
27468 int
27469 main ()
27470 {
27471 return gethostbyname ();
27472   ;
27473   return 0;
27474 }
27475 _ACEOF
27476 if ac_fn_c_try_link "$LINENO"; then :
27477   ac_cv_lib_bsd_gethostbyname=yes
27478 else
27479   ac_cv_lib_bsd_gethostbyname=no
27480 fi
27481 rm -f core conftest.err conftest.$ac_objext \
27482     conftest$ac_exeext conftest.$ac_ext
27483 LIBS=$ac_check_lib_save_LIBS
27484 fi
27485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
27486 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
27487 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
27488   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
27489 fi
27490
27491       fi
27492     fi
27493
27494     # lieder@skyler.mavd.honeywell.com says without -lsocket,
27495     # socket/setsockopt and other routines are undefined under SCO ODT
27496     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
27497     # on later versions), says Simon Leinen: it contains gethostby*
27498     # variants that don't use the name server (or something).  -lsocket
27499     # must be given before -lnsl if both are needed.  We assume that
27500     # if connect needs -lnsl, so does gethostbyname.
27501     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
27502 if test "x$ac_cv_func_connect" = xyes; then :
27503
27504 fi
27505
27506     if test $ac_cv_func_connect = no; then
27507       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
27508 $as_echo_n "checking for connect in -lsocket... " >&6; }
27509 if ${ac_cv_lib_socket_connect+:} false; then :
27510   $as_echo_n "(cached) " >&6
27511 else
27512   ac_check_lib_save_LIBS=$LIBS
27513 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
27514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27515 /* end confdefs.h.  */
27516
27517 /* Override any GCC internal prototype to avoid an error.
27518    Use char because int might match the return type of a GCC
27519    builtin and then its argument prototype would still apply.  */
27520 #ifdef __cplusplus
27521 extern "C"
27522 #endif
27523 char connect ();
27524 int
27525 main ()
27526 {
27527 return connect ();
27528   ;
27529   return 0;
27530 }
27531 _ACEOF
27532 if ac_fn_c_try_link "$LINENO"; then :
27533   ac_cv_lib_socket_connect=yes
27534 else
27535   ac_cv_lib_socket_connect=no
27536 fi
27537 rm -f core conftest.err conftest.$ac_objext \
27538     conftest$ac_exeext conftest.$ac_ext
27539 LIBS=$ac_check_lib_save_LIBS
27540 fi
27541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
27542 $as_echo "$ac_cv_lib_socket_connect" >&6; }
27543 if test "x$ac_cv_lib_socket_connect" = xyes; then :
27544   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
27545 fi
27546
27547     fi
27548
27549     # Guillermo Gomez says -lposix is necessary on A/UX.
27550     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
27551 if test "x$ac_cv_func_remove" = xyes; then :
27552
27553 fi
27554
27555     if test $ac_cv_func_remove = no; then
27556       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
27557 $as_echo_n "checking for remove in -lposix... " >&6; }
27558 if ${ac_cv_lib_posix_remove+:} false; then :
27559   $as_echo_n "(cached) " >&6
27560 else
27561   ac_check_lib_save_LIBS=$LIBS
27562 LIBS="-lposix  $LIBS"
27563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27564 /* end confdefs.h.  */
27565
27566 /* Override any GCC internal prototype to avoid an error.
27567    Use char because int might match the return type of a GCC
27568    builtin and then its argument prototype would still apply.  */
27569 #ifdef __cplusplus
27570 extern "C"
27571 #endif
27572 char remove ();
27573 int
27574 main ()
27575 {
27576 return remove ();
27577   ;
27578   return 0;
27579 }
27580 _ACEOF
27581 if ac_fn_c_try_link "$LINENO"; then :
27582   ac_cv_lib_posix_remove=yes
27583 else
27584   ac_cv_lib_posix_remove=no
27585 fi
27586 rm -f core conftest.err conftest.$ac_objext \
27587     conftest$ac_exeext conftest.$ac_ext
27588 LIBS=$ac_check_lib_save_LIBS
27589 fi
27590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
27591 $as_echo "$ac_cv_lib_posix_remove" >&6; }
27592 if test "x$ac_cv_lib_posix_remove" = xyes; then :
27593   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
27594 fi
27595
27596     fi
27597
27598     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
27599     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
27600 if test "x$ac_cv_func_shmat" = xyes; then :
27601
27602 fi
27603
27604     if test $ac_cv_func_shmat = no; then
27605       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
27606 $as_echo_n "checking for shmat in -lipc... " >&6; }
27607 if ${ac_cv_lib_ipc_shmat+:} false; then :
27608   $as_echo_n "(cached) " >&6
27609 else
27610   ac_check_lib_save_LIBS=$LIBS
27611 LIBS="-lipc  $LIBS"
27612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27613 /* end confdefs.h.  */
27614
27615 /* Override any GCC internal prototype to avoid an error.
27616    Use char because int might match the return type of a GCC
27617    builtin and then its argument prototype would still apply.  */
27618 #ifdef __cplusplus
27619 extern "C"
27620 #endif
27621 char shmat ();
27622 int
27623 main ()
27624 {
27625 return shmat ();
27626   ;
27627   return 0;
27628 }
27629 _ACEOF
27630 if ac_fn_c_try_link "$LINENO"; then :
27631   ac_cv_lib_ipc_shmat=yes
27632 else
27633   ac_cv_lib_ipc_shmat=no
27634 fi
27635 rm -f core conftest.err conftest.$ac_objext \
27636     conftest$ac_exeext conftest.$ac_ext
27637 LIBS=$ac_check_lib_save_LIBS
27638 fi
27639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
27640 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
27641 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
27642   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
27643 fi
27644
27645     fi
27646   fi
27647
27648   # Check for libraries that X11R6 Xt/Xaw programs need.
27649   ac_save_LDFLAGS=$LDFLAGS
27650   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
27651   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27652   # check for ICE first), but we must link in the order -lSM -lICE or
27653   # we get undefined symbols.  So assume we have SM if we have ICE.
27654   # These have to be linked with before -lX11, unlike the other
27655   # libraries we check for below, so use a different variable.
27656   # John Interrante, Karl Berry
27657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
27658 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
27659 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
27660   $as_echo_n "(cached) " >&6
27661 else
27662   ac_check_lib_save_LIBS=$LIBS
27663 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
27664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27665 /* end confdefs.h.  */
27666
27667 /* Override any GCC internal prototype to avoid an error.
27668    Use char because int might match the return type of a GCC
27669    builtin and then its argument prototype would still apply.  */
27670 #ifdef __cplusplus
27671 extern "C"
27672 #endif
27673 char IceConnectionNumber ();
27674 int
27675 main ()
27676 {
27677 return IceConnectionNumber ();
27678   ;
27679   return 0;
27680 }
27681 _ACEOF
27682 if ac_fn_c_try_link "$LINENO"; then :
27683   ac_cv_lib_ICE_IceConnectionNumber=yes
27684 else
27685   ac_cv_lib_ICE_IceConnectionNumber=no
27686 fi
27687 rm -f core conftest.err conftest.$ac_objext \
27688     conftest$ac_exeext conftest.$ac_ext
27689 LIBS=$ac_check_lib_save_LIBS
27690 fi
27691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27692 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
27693 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
27694   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
27695 fi
27696
27697   LDFLAGS=$ac_save_LDFLAGS
27698
27699 fi
27700
27701
27702 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27703 #include <GL/gl.h>
27704 #include <GL/glext.h>
27705 #include <GL/glx.h>
27706 #include <X11/Xlib.h>
27707 #include <X11/Xatom.h>
27708 #include <X11/Xutil.h>
27709 #include <X11/extensions/Xrender.h>
27710 #include <X11/Xresource.h>
27711
27712 "
27713 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
27714   have_dep="yes"
27715 else
27716   have_dep="no"
27717 fi
27718
27719
27720
27721 gl_pt_lib="";
27722 have_gl_pt="no"
27723
27724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_create() is supported" >&5
27725 $as_echo_n "checking whether pthread_create() is supported... " >&6; }
27726 CFLAGS_save="${CFLAGS}"
27727 CFLAGS="${CFLAGS} -pthread"
27728 LIBS_save="${LIBS}"
27729 LIBS="${LIBS} -pthread"
27730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27731 /* end confdefs.h.  */
27732
27733 #include <pthread.h>
27734
27735 int
27736 main ()
27737 {
27738
27739 pthread_create(NULL, NULL, NULL, NULL);
27740
27741   ;
27742   return 0;
27743 }
27744 _ACEOF
27745 if ac_fn_c_try_link "$LINENO"; then :
27746   have_gl_pt="yes"
27747 else
27748   have_gl_pt="no"
27749 fi
27750 rm -f core conftest.err conftest.$ac_objext \
27751     conftest$ac_exeext conftest.$ac_ext
27752 CFLAGS=${CFLAGS_save}
27753 LIBS=${LIBS_save}
27754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_gl_pt}" >&5
27755 $as_echo "${have_gl_pt}" >&6; }
27756
27757 if test "x$have_gl_pt" = "xyes" ; then
27758    gl_pt_lib=" -pthread"
27759 fi
27760
27761 if test "x${have_dep}" = "xyes" ; then
27762    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateColormap in -lX11" >&5
27763 $as_echo_n "checking for XCreateColormap in -lX11... " >&6; }
27764 if ${ac_cv_lib_X11_XCreateColormap+:} false; then :
27765   $as_echo_n "(cached) " >&6
27766 else
27767   ac_check_lib_save_LIBS=$LIBS
27768 LIBS="-lX11  $LIBS"
27769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27770 /* end confdefs.h.  */
27771
27772 /* Override any GCC internal prototype to avoid an error.
27773    Use char because int might match the return type of a GCC
27774    builtin and then its argument prototype would still apply.  */
27775 #ifdef __cplusplus
27776 extern "C"
27777 #endif
27778 char XCreateColormap ();
27779 int
27780 main ()
27781 {
27782 return XCreateColormap ();
27783   ;
27784   return 0;
27785 }
27786 _ACEOF
27787 if ac_fn_c_try_link "$LINENO"; then :
27788   ac_cv_lib_X11_XCreateColormap=yes
27789 else
27790   ac_cv_lib_X11_XCreateColormap=no
27791 fi
27792 rm -f core conftest.err conftest.$ac_objext \
27793     conftest$ac_exeext conftest.$ac_ext
27794 LIBS=$ac_check_lib_save_LIBS
27795 fi
27796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateColormap" >&5
27797 $as_echo "$ac_cv_lib_X11_XCreateColormap" >&6; }
27798 if test "x$ac_cv_lib_X11_XCreateColormap" = xyes; then :
27799   have_dep="yes"
27800 else
27801   have_dep="no"
27802 fi
27803
27804 fi
27805
27806 if test "x${have_dep}" = "xyes" ; then
27807    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreatePicture in -lXrender" >&5
27808 $as_echo_n "checking for XRenderCreatePicture in -lXrender... " >&6; }
27809 if ${ac_cv_lib_Xrender_XRenderCreatePicture+:} false; then :
27810   $as_echo_n "(cached) " >&6
27811 else
27812   ac_check_lib_save_LIBS=$LIBS
27813 LIBS="-lXrender  $LIBS"
27814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27815 /* end confdefs.h.  */
27816
27817 /* Override any GCC internal prototype to avoid an error.
27818    Use char because int might match the return type of a GCC
27819    builtin and then its argument prototype would still apply.  */
27820 #ifdef __cplusplus
27821 extern "C"
27822 #endif
27823 char XRenderCreatePicture ();
27824 int
27825 main ()
27826 {
27827 return XRenderCreatePicture ();
27828   ;
27829   return 0;
27830 }
27831 _ACEOF
27832 if ac_fn_c_try_link "$LINENO"; then :
27833   ac_cv_lib_Xrender_XRenderCreatePicture=yes
27834 else
27835   ac_cv_lib_Xrender_XRenderCreatePicture=no
27836 fi
27837 rm -f core conftest.err conftest.$ac_objext \
27838     conftest$ac_exeext conftest.$ac_ext
27839 LIBS=$ac_check_lib_save_LIBS
27840 fi
27841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreatePicture" >&5
27842 $as_echo "$ac_cv_lib_Xrender_XRenderCreatePicture" >&6; }
27843 if test "x$ac_cv_lib_Xrender_XRenderCreatePicture" = xyes; then :
27844   have_dep="yes"
27845 else
27846   have_dep="no"
27847 fi
27848
27849 fi
27850
27851 if test "x${have_dep}" = "xyes" ; then
27852    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glXCreateContext in -lGL" >&5
27853 $as_echo_n "checking for glXCreateContext in -lGL... " >&6; }
27854 if ${ac_cv_lib_GL_glXCreateContext+:} false; then :
27855   $as_echo_n "(cached) " >&6
27856 else
27857   ac_check_lib_save_LIBS=$LIBS
27858 LIBS="-lGL -lX11 -lXext -lXrender -lm $gl_pt_lib $LIBS"
27859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27860 /* end confdefs.h.  */
27861
27862 /* Override any GCC internal prototype to avoid an error.
27863    Use char because int might match the return type of a GCC
27864    builtin and then its argument prototype would still apply.  */
27865 #ifdef __cplusplus
27866 extern "C"
27867 #endif
27868 char glXCreateContext ();
27869 int
27870 main ()
27871 {
27872 return glXCreateContext ();
27873   ;
27874   return 0;
27875 }
27876 _ACEOF
27877 if ac_fn_c_try_link "$LINENO"; then :
27878   ac_cv_lib_GL_glXCreateContext=yes
27879 else
27880   ac_cv_lib_GL_glXCreateContext=no
27881 fi
27882 rm -f core conftest.err conftest.$ac_objext \
27883     conftest$ac_exeext conftest.$ac_ext
27884 LIBS=$ac_check_lib_save_LIBS
27885 fi
27886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glXCreateContext" >&5
27887 $as_echo "$ac_cv_lib_GL_glXCreateContext" >&6; }
27888 if test "x$ac_cv_lib_GL_glXCreateContext" = xyes; then :
27889   have_dep="yes"
27890 else
27891   have_dep="no"
27892 fi
27893
27894 fi
27895
27896 if test "x$gl_flavor_gles" = "xyes" ; then
27897   have_dep=no
27898 fi
27899
27900 if test "x${have_dep}" = "xyes" ; then
27901
27902 pkg_failed=no
27903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
27904 $as_echo_n "checking for GL_EET... " >&6; }
27905
27906 if test -n "$GL_EET_CFLAGS"; then
27907     pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
27908  elif test -n "$PKG_CONFIG"; then
27909     if test -n "$PKG_CONFIG" && \
27910     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
27911   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
27912   ac_status=$?
27913   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27914   test $ac_status = 0; }; then
27915   pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
27916                       test "x$?" != "x0" && pkg_failed=yes
27917 else
27918   pkg_failed=yes
27919 fi
27920  else
27921     pkg_failed=untried
27922 fi
27923 if test -n "$GL_EET_LIBS"; then
27924     pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
27925  elif test -n "$PKG_CONFIG"; then
27926     if test -n "$PKG_CONFIG" && \
27927     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
27928   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
27929   ac_status=$?
27930   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27931   test $ac_status = 0; }; then
27932   pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
27933                       test "x$?" != "x0" && pkg_failed=yes
27934 else
27935   pkg_failed=yes
27936 fi
27937  else
27938     pkg_failed=untried
27939 fi
27940
27941
27942
27943 if test $pkg_failed = yes; then
27944         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27945 $as_echo "no" >&6; }
27946
27947 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27948         _pkg_short_errors_supported=yes
27949 else
27950         _pkg_short_errors_supported=no
27951 fi
27952         if test $_pkg_short_errors_supported = yes; then
27953                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
27954         else
27955                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
27956         fi
27957         # Put the nasty error message in config.log where it belongs
27958         echo "$GL_EET_PKG_ERRORS" >&5
27959
27960         have_dep="no"
27961 elif test $pkg_failed = untried; then
27962         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27963 $as_echo "no" >&6; }
27964         have_dep="no"
27965 else
27966         GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
27967         GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
27968         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27969 $as_echo "yes" >&6; }
27970         have_dep="yes"
27971 fi
27972    if test "x${have_dep}" = "xyes" ; then
27973       if test "xno" = "xyes" ; then
27974          x_libs="${x_libs} -lX11 -lXext -lXrender"
27975       else
27976          x_dir=${x_dir:-/usr/X11R6}
27977          x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
27978          x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
27979       fi
27980    evas_engine_gl_xlib_cflags="-I/usr/include ${x_cflags}"
27981    evas_engine_gl_xlib_libs="${x_libs} -lGL $gl_pt_lib"
27982    evas_engine_gl_common_libs="-lGL $gl_pt_lib"
27983    fi
27984 else
27985    if test "xno" = "xyes" ; then
27986       x_libs="${x_libs} -lX11 -lXext -lXrender"
27987    else
27988       x_dir=${x_dir:-/usr/X11R6}
27989       x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
27990       x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
27991    fi
27992    ac_fn_c_check_header_compile "$LINENO" "GLES2/gl2.h" "ac_cv_header_GLES2_gl2_h" "
27993 #include <GLES2/gl2.h>
27994 #include <GLES2/gl2ext.h>
27995 #include <EGL/egl.h>
27996 #include <X11/Xlib.h>
27997 #include <X11/Xatom.h>
27998 #include <X11/Xutil.h>
27999 #include <X11/extensions/Xrender.h>
28000 #include <X11/Xresource.h>
28001
28002 "
28003 if test "x$ac_cv_header_GLES2_gl2_h" = xyes; then :
28004   have_egl="yes"
28005 else
28006   have_egl="no"
28007 fi
28008
28009
28010    if test "x${have_egl}" = "xyes" ; then
28011       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
28012 $as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
28013 if ${ac_cv_lib_GLESv2_glTexImage2D+:} false; then :
28014   $as_echo_n "(cached) " >&6
28015 else
28016   ac_check_lib_save_LIBS=$LIBS
28017 LIBS="-lGLESv2 -lEGL ${x_libs} -lm $gl_pt_lib $LIBS"
28018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28019 /* end confdefs.h.  */
28020
28021 /* Override any GCC internal prototype to avoid an error.
28022    Use char because int might match the return type of a GCC
28023    builtin and then its argument prototype would still apply.  */
28024 #ifdef __cplusplus
28025 extern "C"
28026 #endif
28027 char glTexImage2D ();
28028 int
28029 main ()
28030 {
28031 return glTexImage2D ();
28032   ;
28033   return 0;
28034 }
28035 _ACEOF
28036 if ac_fn_c_try_link "$LINENO"; then :
28037   ac_cv_lib_GLESv2_glTexImage2D=yes
28038 else
28039   ac_cv_lib_GLESv2_glTexImage2D=no
28040 fi
28041 rm -f core conftest.err conftest.$ac_objext \
28042     conftest$ac_exeext conftest.$ac_ext
28043 LIBS=$ac_check_lib_save_LIBS
28044 fi
28045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
28046 $as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
28047 if test "x$ac_cv_lib_GLESv2_glTexImage2D" = xyes; then :
28048   have_glesv2="yes"
28049 fi
28050
28051       if test "x${have_glesv2}" = "xyes" ; then
28052
28053 pkg_failed=no
28054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
28055 $as_echo_n "checking for GL_EET... " >&6; }
28056
28057 if test -n "$GL_EET_CFLAGS"; then
28058     pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
28059  elif test -n "$PKG_CONFIG"; then
28060     if test -n "$PKG_CONFIG" && \
28061     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
28062   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
28063   ac_status=$?
28064   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28065   test $ac_status = 0; }; then
28066   pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
28067                       test "x$?" != "x0" && pkg_failed=yes
28068 else
28069   pkg_failed=yes
28070 fi
28071  else
28072     pkg_failed=untried
28073 fi
28074 if test -n "$GL_EET_LIBS"; then
28075     pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
28076  elif test -n "$PKG_CONFIG"; then
28077     if test -n "$PKG_CONFIG" && \
28078     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
28079   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
28080   ac_status=$?
28081   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28082   test $ac_status = 0; }; then
28083   pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
28084                       test "x$?" != "x0" && pkg_failed=yes
28085 else
28086   pkg_failed=yes
28087 fi
28088  else
28089     pkg_failed=untried
28090 fi
28091
28092
28093
28094 if test $pkg_failed = yes; then
28095         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28096 $as_echo "no" >&6; }
28097
28098 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28099         _pkg_short_errors_supported=yes
28100 else
28101         _pkg_short_errors_supported=no
28102 fi
28103         if test $_pkg_short_errors_supported = yes; then
28104                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
28105         else
28106                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
28107         fi
28108         # Put the nasty error message in config.log where it belongs
28109         echo "$GL_EET_PKG_ERRORS" >&5
28110
28111         have_dep="no"
28112 elif test $pkg_failed = untried; then
28113         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28114 $as_echo "no" >&6; }
28115         have_dep="no"
28116 else
28117         GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
28118         GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
28119         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28120 $as_echo "yes" >&6; }
28121         have_dep="yes"
28122 fi
28123          if test "x${have_dep}" = "xyes" ; then
28124             evas_engine_gl_xlib_cflags="${x_cflags}"
28125             evas_engine_gl_xlib_libs="${x_libs} -lGLESv2 -lEGL -lm $gl_pt_lib"
28126             evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
28127             have_dep="yes"
28128
28129 $as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
28130
28131             gles_variety_sgx="yes"
28132          fi
28133       fi
28134    fi
28135 fi
28136
28137
28138
28139
28140
28141 if test "x${have_dep}" = "xyes" ; then
28142   have_engine="yes"
28143 else
28144   have_engine="no"
28145 fi
28146
28147
28148 fi
28149
28150 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28151    as_fn_error $? "OpenGL XLib dependencies not found (strict dependencies checking)" "$LINENO" 5
28152 fi
28153
28154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL XLib rendering backend will be built" >&5
28155 $as_echo_n "checking whether OpenGL XLib rendering backend will be built... " >&6; }
28156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
28157 $as_echo "${have_engine}" >&6; }
28158
28159 if test "x${have_engine}" = "xyes" ; then
28160    if test "x${want_engine}" = "xstatic" ; then
28161       have_evas_engine_gl_xlib="static"
28162       want_static_engine="yes"
28163    else
28164       have_evas_engine_gl_xlib="yes"
28165    fi
28166 fi
28167
28168 if test "x${have_engine}" = "xyes" ; then
28169
28170 $as_echo "#define BUILD_ENGINE_GL_XLIB 1" >>confdefs.h
28171
28172 fi
28173
28174  if test "x${have_engine}" = "xyes"; then
28175   BUILD_ENGINE_GL_XLIB_TRUE=
28176   BUILD_ENGINE_GL_XLIB_FALSE='#'
28177 else
28178   BUILD_ENGINE_GL_XLIB_TRUE='#'
28179   BUILD_ENGINE_GL_XLIB_FALSE=
28180 fi
28181
28182
28183 if test "x${want_static_engine}" = "xyes" ; then
28184
28185 $as_echo "#define EVAS_STATIC_BUILD_GL_XLIB 1" >>confdefs.h
28186
28187    have_static_module="yes"
28188 fi
28189
28190  if test "x${want_static_engine}" = "xyes"; then
28191   EVAS_STATIC_BUILD_GL_XLIB_TRUE=
28192   EVAS_STATIC_BUILD_GL_XLIB_FALSE='#'
28193 else
28194   EVAS_STATIC_BUILD_GL_XLIB_TRUE='#'
28195   EVAS_STATIC_BUILD_GL_XLIB_FALSE=
28196 fi
28197
28198
28199
28200
28201
28202
28203   if test "x$have_evas_engine_gl_xlib" != "xno" ; then
28204     have_evas_engine_gl_x11="yes"
28205
28206 cat >>confdefs.h <<_ACEOF
28207 #define BUILD_ENGINE_GL_X11 1
28208 _ACEOF
28209
28210
28211 cat >>confdefs.h <<_ACEOF
28212 #define BUILD_ENGINE_GL_XLIB 1
28213 _ACEOF
28214
28215     if test "x$have_evas_engine_gl_xlib" = "xstatic" ; then
28216
28217 cat >>confdefs.h <<_ACEOF
28218 #define EVAS_STATIC_BUILD_GL_X11 1
28219 _ACEOF
28220
28221     fi
28222   fi
28223 else
28224   have_evas_engine_gl_xlib="no"
28225 fi
28226
28227
28228  if test "x${have_evas_engine_gl_xlib}" != "xno"; then
28229   BUILD_ENGINE_GL_XLIB_TRUE=
28230   BUILD_ENGINE_GL_XLIB_FALSE='#'
28231 else
28232   BUILD_ENGINE_GL_XLIB_TRUE='#'
28233   BUILD_ENGINE_GL_XLIB_FALSE=
28234 fi
28235
28236  if test "x${have_evas_engine_gl_xcb}" != "xno"; then
28237   BUILD_ENGINE_GL_XCB_TRUE=
28238   BUILD_ENGINE_GL_XCB_FALSE='#'
28239 else
28240   BUILD_ENGINE_GL_XCB_TRUE='#'
28241   BUILD_ENGINE_GL_XCB_FALSE=
28242 fi
28243
28244  if test "x${have_evas_engine_gl_x11}" != "xno"; then
28245   BUILD_ENGINE_GL_X11_TRUE=
28246   BUILD_ENGINE_GL_X11_FALSE='#'
28247 else
28248   BUILD_ENGINE_GL_X11_TRUE='#'
28249   BUILD_ENGINE_GL_X11_FALSE=
28250 fi
28251
28252
28253  if test "x${have_evas_engine_gl_xcb}" = "xstatic" -o "x${have_evas_engine_gl_xlib}" = "xstatic"; then
28254   EVAS_STATIC_BUILD_GL_X11_TRUE=
28255   EVAS_STATIC_BUILD_GL_X11_FALSE='#'
28256 else
28257   EVAS_STATIC_BUILD_GL_X11_TRUE='#'
28258   EVAS_STATIC_BUILD_GL_X11_FALSE=
28259 fi
28260
28261  if test "x${have_evas_engine_gl_xlib}" = "xstatic"; then
28262   EVAS_STATIC_BUILD_GL_XLIB_TRUE=
28263   EVAS_STATIC_BUILD_GL_XLIB_FALSE='#'
28264 else
28265   EVAS_STATIC_BUILD_GL_XLIB_TRUE='#'
28266   EVAS_STATIC_BUILD_GL_XLIB_FALSE=
28267 fi
28268
28269  if test "x${have_evas_engine_gl_xcb}" = "xstatic"; then
28270   EVAS_STATIC_BUILD_GL_XCB_TRUE=
28271   EVAS_STATIC_BUILD_GL_XCB_FALSE='#'
28272 else
28273   EVAS_STATIC_BUILD_GL_XCB_TRUE='#'
28274   EVAS_STATIC_BUILD_GL_XCB_FALSE=
28275 fi
28276
28277
28278
28279
28280 # common gl
28281 have_evas_engine_gl_common="no"
28282 have_static_evas_engine_gl_common="no"
28283 if test "x$have_evas_engine_gl_xlib" = "xyes" \
28284    || test "x$have_evas_engine_gl_xcb" = "xyes" \
28285    || test "x$have_evas_engine_gl_sdl" = "xyes" \
28286    || test "x$have_evas_engine_gl_cocoa" = "xyes" \
28287    || test "x$have_evas_engine_wayland_egl" = "xyes"; then
28288    have_evas_engine_gl_common="yes"
28289 fi
28290 if test "x$have_evas_engine_gl_xlib" = "xstatic" \
28291    || test "x$have_evas_engine_gl_xcb" = "xstatic" \
28292    || test "x$have_evas_engine_gl_sdl" = "xstatic" \
28293    || test "x$have_evas_engine_gl_cocoa" = "xstatic" \
28294    || test "x$have_evas_engine_wayland_egl" = "xstatic"; then
28295    have_evas_engine_gl_common="yes"
28296    have_static_evas_engine_gl_common="yes"
28297 fi
28298
28299 if test "x$have_evas_engine_gl_common" = "xyes"; then
28300    evas_engine_gl_common_libs=""
28301
28302 $as_echo "#define BUILD_ENGINE_GL_COMMON 1" >>confdefs.h
28303
28304 fi
28305
28306
28307
28308  if test "x$have_evas_engine_gl_common" = "xyes"; then
28309   BUILD_ENGINE_GL_COMMON_TRUE=
28310   BUILD_ENGINE_GL_COMMON_FALSE='#'
28311 else
28312   BUILD_ENGINE_GL_COMMON_TRUE='#'
28313   BUILD_ENGINE_GL_COMMON_FALSE=
28314 fi
28315
28316
28317  if test "x${have_static_evas_engine_gl_common}" = "xyes"; then
28318   EVAS_STATIC_BUILD_GL_COMMON_TRUE=
28319   EVAS_STATIC_BUILD_GL_COMMON_FALSE='#'
28320 else
28321   EVAS_STATIC_BUILD_GL_COMMON_TRUE='#'
28322   EVAS_STATIC_BUILD_GL_COMMON_FALSE=
28323 fi
28324
28325 if test "x${have_static_evas_engine_gl_common}" = "xyes"; then
28326
28327 $as_echo "#define EVAS_STATIC_BUILD_GL_COMMON 1" >>confdefs.h
28328
28329 fi
28330
28331 # gl_sdl
28332 if test "x$have_evas_engine_gl_sdl" = "xyes" || test "x$have_evas_engine_gl_sdl" = "xstatic" ; then
28333    ac_fn_c_check_decl "$LINENO" "SDL_GL_CONTEXT_MAJOR_VERSION" "ac_cv_have_decl_SDL_GL_CONTEXT_MAJOR_VERSION" "#include <SDL/SDL_video.h>
28334 "
28335 if test "x$ac_cv_have_decl_SDL_GL_CONTEXT_MAJOR_VERSION" = xyes; then :
28336
28337 $as_echo "#define HAVE_SDL_GL_CONTEXT_VERSION 1" >>confdefs.h
28338
28339 fi
28340
28341 fi
28342
28343 if test "x$gl_flavor_gles" = "xyes"; then
28344    ac_fn_c_check_decl "$LINENO" "SDL_OPENGLES" "ac_cv_have_decl_SDL_OPENGLES" "#include <SDL/SDL_video.h>
28345 "
28346 if test "x$ac_cv_have_decl_SDL_OPENGLES" = xyes; then :
28347
28348 $as_echo "#define HAVE_SDL_FLAG_OPENGLES 1" >>confdefs.h
28349
28350 fi
28351
28352 fi
28353
28354 # if software 16 x11 is enabled - build software_16 (the generic 16bit
28355 # engine). later enable it fb_16 or other "16" bit engines are enabled.
28356 have_evas_engine_software_16="no"
28357 if test "x$have_evas_engine_software_16_x11" = "xyes" -o "x$have_evas_engine_software_16_x11" = "xstatic"; then
28358    have_evas_engine_software_16="yes"
28359 fi
28360 if test "x$have_evas_engine_software_16_sdl" = "xyes" -o "x$have_evas_engine_software_16_sdl" = "xstatic"; then
28361    have_evas_engine_software_16="yes"
28362 fi
28363 if test "x$have_evas_engine_software_16_wince" = "xyes" -o "x$have_evas_engine_software_16_wince" = "xstatic"; then
28364    have_evas_engine_software_16="yes"
28365 fi
28366  if test "x$have_evas_engine_software_16" = "xyes"; then
28367   BUILD_ENGINE_SOFTWARE_16_TRUE=
28368   BUILD_ENGINE_SOFTWARE_16_FALSE='#'
28369 else
28370   BUILD_ENGINE_SOFTWARE_16_TRUE='#'
28371   BUILD_ENGINE_SOFTWARE_16_FALSE=
28372 fi
28373
28374
28375 # if software 16 need to be build as part of libevas.so
28376 have_static_software_16="no"
28377 # Check whether --enable-static-software-16 was given.
28378 if test "${enable_static_software_16+set}" = set; then :
28379   enableval=$enable_static_software_16; have_static_software_16=${enableval}
28380
28381 fi
28382
28383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to build software 16 engine as part of libevas" >&5
28384 $as_echo_n "checking Whether to build software 16 engine as part of libevas... " >&6; }
28385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_static_software_16}" >&5
28386 $as_echo "${have_static_software_16}" >&6; }
28387
28388  if test "x${have_static_software_16}" = "xyes"; then
28389   EVAS_STATIC_BUILD_SOFTWARE_16_TRUE=
28390   EVAS_STATIC_BUILD_SOFTWARE_16_FALSE='#'
28391 else
28392   EVAS_STATIC_BUILD_SOFTWARE_16_TRUE='#'
28393   EVAS_STATIC_BUILD_SOFTWARE_16_FALSE=
28394 fi
28395
28396 if test "x${have_static_software_16}" = "xyes"; then
28397
28398 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16 1" >>confdefs.h
28399
28400 fi
28401
28402 # if software 8 x11 is enabled - build software_8 (the generic 8bit
28403 # engine).
28404 have_evas_engine_software_8="no"
28405 if test "x$have_evas_engine_software_8_x11" = "xyes" -o "x$have_evas_engine_software_8_x11" = "xstatic"; then
28406    have_evas_engine_software_8="yes"
28407 fi
28408  if test "x$have_evas_engine_software_8" = "xyes"; then
28409   BUILD_ENGINE_SOFTWARE_8_TRUE=
28410   BUILD_ENGINE_SOFTWARE_8_FALSE='#'
28411 else
28412   BUILD_ENGINE_SOFTWARE_8_TRUE='#'
28413   BUILD_ENGINE_SOFTWARE_8_FALSE=
28414 fi
28415
28416
28417 # if software 8 need to be build as part of libevas.so
28418 have_static_software_8="no"
28419 # Check whether --enable-static-software-8 was given.
28420 if test "${enable_static_software_8+set}" = set; then :
28421   enableval=$enable_static_software_8; have_static_software_8=${enableval}
28422
28423 fi
28424
28425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to build software 8 engine as part of libevas" >&5
28426 $as_echo_n "checking Whether to build software 8 engine as part of libevas... " >&6; }
28427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_static_software_8}" >&5
28428 $as_echo "${have_static_software_8}" >&6; }
28429
28430  if test "x${have_static_software_8}" = "xyes"; then
28431   EVAS_STATIC_BUILD_SOFTWARE_8_TRUE=
28432   EVAS_STATIC_BUILD_SOFTWARE_8_FALSE='#'
28433 else
28434   EVAS_STATIC_BUILD_SOFTWARE_8_TRUE='#'
28435   EVAS_STATIC_BUILD_SOFTWARE_8_FALSE=
28436 fi
28437
28438 if test "x${have_static_software_8}" = "xyes"; then
28439
28440 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_8 1" >>confdefs.h
28441
28442 fi
28443
28444 #####################################################################
28445 ## Image loaders
28446
28447
28448
28449
28450
28451
28452 want_loader="${want_evas_image_loader_edb}"
28453 want_static_loader="no"
28454 have_loader="no"
28455 have_evas_image_loader_edb="no"
28456
28457 # Check whether --enable-image-loader-edb was given.
28458 if test "${enable_image_loader_edb+set}" = set; then :
28459   enableval=$enable_image_loader_edb;
28460     if test "x${enableval}" = "xyes" ; then
28461        want_loader="yes"
28462     else
28463        if test "x${enableval}" = "xstatic" ; then
28464           want_loader="static"
28465        else
28466           want_loader="no"
28467        fi
28468     fi
28469
28470
28471 fi
28472
28473
28474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Edb image loader" >&5
28475 $as_echo_n "checking whether to enable Edb image loader... " >&6; }
28476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28477 $as_echo "${want_loader}" >&6; }
28478
28479 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
28480
28481
28482 requirement=""
28483 have_dep="no"
28484 evas_image_loader_edb_cflags=""
28485 evas_image_loader_edb_libs=""
28486
28487
28488 pkg_failed=no
28489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDB" >&5
28490 $as_echo_n "checking for EDB... " >&6; }
28491
28492 if test -n "$EDB_CFLAGS"; then
28493     pkg_cv_EDB_CFLAGS="$EDB_CFLAGS"
28494  elif test -n "$PKG_CONFIG"; then
28495     if test -n "$PKG_CONFIG" && \
28496     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edb\""; } >&5
28497   ($PKG_CONFIG --exists --print-errors "edb") 2>&5
28498   ac_status=$?
28499   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28500   test $ac_status = 0; }; then
28501   pkg_cv_EDB_CFLAGS=`$PKG_CONFIG --cflags "edb" 2>/dev/null`
28502                       test "x$?" != "x0" && pkg_failed=yes
28503 else
28504   pkg_failed=yes
28505 fi
28506  else
28507     pkg_failed=untried
28508 fi
28509 if test -n "$EDB_LIBS"; then
28510     pkg_cv_EDB_LIBS="$EDB_LIBS"
28511  elif test -n "$PKG_CONFIG"; then
28512     if test -n "$PKG_CONFIG" && \
28513     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edb\""; } >&5
28514   ($PKG_CONFIG --exists --print-errors "edb") 2>&5
28515   ac_status=$?
28516   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28517   test $ac_status = 0; }; then
28518   pkg_cv_EDB_LIBS=`$PKG_CONFIG --libs "edb" 2>/dev/null`
28519                       test "x$?" != "x0" && pkg_failed=yes
28520 else
28521   pkg_failed=yes
28522 fi
28523  else
28524     pkg_failed=untried
28525 fi
28526
28527
28528
28529 if test $pkg_failed = yes; then
28530         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28531 $as_echo "no" >&6; }
28532
28533 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28534         _pkg_short_errors_supported=yes
28535 else
28536         _pkg_short_errors_supported=no
28537 fi
28538         if test $_pkg_short_errors_supported = yes; then
28539                 EDB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "edb" 2>&1`
28540         else
28541                 EDB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "edb" 2>&1`
28542         fi
28543         # Put the nasty error message in config.log where it belongs
28544         echo "$EDB_PKG_ERRORS" >&5
28545
28546         have_dep="no"
28547 elif test $pkg_failed = untried; then
28548         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28549 $as_echo "no" >&6; }
28550         have_dep="no"
28551 else
28552         EDB_CFLAGS=$pkg_cv_EDB_CFLAGS
28553         EDB_LIBS=$pkg_cv_EDB_LIBS
28554         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28555 $as_echo "yes" >&6; }
28556         have_dep="yes" requirement="edb"
28557 fi
28558 evas_image_loader_edb_cflags="${EDB_CFLAGS}"
28559 evas_image_loader_edb_libs="${EDB_LIBS}"
28560
28561
28562
28563
28564 if test "x${want_loader}" = "xstatic" ; then
28565    requirement_evas="${requirement} ${requirement_evas}"
28566 fi
28567
28568 if test "x${have_dep}" = "xyes" ; then
28569   have_loader="yes"
28570 else
28571   have_loader="no"
28572 fi
28573
28574
28575 fi
28576
28577 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28578    as_fn_error $? "Edb dependencies not found (strict dependencies checking)" "$LINENO" 5
28579 fi
28580
28581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Edb image loader will be built" >&5
28582 $as_echo_n "checking whether Edb image loader will be built... " >&6; }
28583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
28584 $as_echo "${have_loader}" >&6; }
28585
28586 if test "x${have_loader}" = "xyes" ; then
28587    if test "x${want_loader}" = "xstatic" ; then
28588       have_evas_image_loader_edb="static"
28589       want_static_loader="yes"
28590    else
28591       have_evas_image_loader_edb="yes"
28592    fi
28593 fi
28594
28595 if test "x${have_loader}" = "xyes" ; then
28596
28597 $as_echo "#define BUILD_LOADER_EDB 1" >>confdefs.h
28598
28599 fi
28600
28601  if test "x${have_loader}" = "xyes"; then
28602   BUILD_LOADER_EDB_TRUE=
28603   BUILD_LOADER_EDB_FALSE='#'
28604 else
28605   BUILD_LOADER_EDB_TRUE='#'
28606   BUILD_LOADER_EDB_FALSE=
28607 fi
28608
28609
28610 if test "x${want_static_loader}" = "xyes" ; then
28611
28612 $as_echo "#define EVAS_STATIC_BUILD_EDB 1" >>confdefs.h
28613
28614    have_static_module="yes"
28615 fi
28616
28617  if test "x${want_static_loader}" = "xyes"; then
28618   EVAS_STATIC_BUILD_EDB_TRUE=
28619   EVAS_STATIC_BUILD_EDB_FALSE='#'
28620 else
28621   EVAS_STATIC_BUILD_EDB_TRUE='#'
28622   EVAS_STATIC_BUILD_EDB_FALSE=
28623 fi
28624
28625
28626
28627
28628
28629
28630
28631
28632
28633
28634
28635
28636 want_loader="${want_evas_image_loader_eet}"
28637 want_static_loader="no"
28638 have_loader="no"
28639 have_evas_image_loader_eet="no"
28640
28641 # Check whether --enable-image-loader-eet was given.
28642 if test "${enable_image_loader_eet+set}" = set; then :
28643   enableval=$enable_image_loader_eet;
28644     if test "x${enableval}" = "xyes" ; then
28645        want_loader="yes"
28646     else
28647        if test "x${enableval}" = "xstatic" ; then
28648           want_loader="static"
28649        else
28650           want_loader="no"
28651        fi
28652     fi
28653
28654
28655 fi
28656
28657
28658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Eet image loader" >&5
28659 $as_echo_n "checking whether to enable Eet image loader... " >&6; }
28660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28661 $as_echo "${want_loader}" >&6; }
28662
28663 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
28664
28665
28666 requirement=""
28667 have_dep="no"
28668 evas_image_loader_eet_cflags=""
28669 evas_image_loader_eet_libs=""
28670
28671
28672 pkg_failed=no
28673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EET" >&5
28674 $as_echo_n "checking for EET... " >&6; }
28675
28676 if test -n "$EET_CFLAGS"; then
28677     pkg_cv_EET_CFLAGS="$EET_CFLAGS"
28678  elif test -n "$PKG_CONFIG"; then
28679     if test -n "$PKG_CONFIG" && \
28680     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
28681   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
28682   ac_status=$?
28683   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28684   test $ac_status = 0; }; then
28685   pkg_cv_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.0" 2>/dev/null`
28686                       test "x$?" != "x0" && pkg_failed=yes
28687 else
28688   pkg_failed=yes
28689 fi
28690  else
28691     pkg_failed=untried
28692 fi
28693 if test -n "$EET_LIBS"; then
28694     pkg_cv_EET_LIBS="$EET_LIBS"
28695  elif test -n "$PKG_CONFIG"; then
28696     if test -n "$PKG_CONFIG" && \
28697     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
28698   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
28699   ac_status=$?
28700   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28701   test $ac_status = 0; }; then
28702   pkg_cv_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.0" 2>/dev/null`
28703                       test "x$?" != "x0" && pkg_failed=yes
28704 else
28705   pkg_failed=yes
28706 fi
28707  else
28708     pkg_failed=untried
28709 fi
28710
28711
28712
28713 if test $pkg_failed = yes; then
28714         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28715 $as_echo "no" >&6; }
28716
28717 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28718         _pkg_short_errors_supported=yes
28719 else
28720         _pkg_short_errors_supported=no
28721 fi
28722         if test $_pkg_short_errors_supported = yes; then
28723                 EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.0" 2>&1`
28724         else
28725                 EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.0" 2>&1`
28726         fi
28727         # Put the nasty error message in config.log where it belongs
28728         echo "$EET_PKG_ERRORS" >&5
28729
28730         have_dep="no"
28731 elif test $pkg_failed = untried; then
28732         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28733 $as_echo "no" >&6; }
28734         have_dep="no"
28735 else
28736         EET_CFLAGS=$pkg_cv_EET_CFLAGS
28737         EET_LIBS=$pkg_cv_EET_LIBS
28738         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28739 $as_echo "yes" >&6; }
28740         have_dep="yes" requirement="eet >= 1.4.0"
28741 fi
28742 evas_image_loader_eet_cflags="${EET_CFLAGS}"
28743 evas_image_loader_eet_libs="${EET_LIBS}"
28744
28745
28746
28747
28748 if test "x${want_loader}" = "xstatic" ; then
28749    requirement_evas="${requirement} ${requirement_evas}"
28750 fi
28751
28752 if test "x${have_dep}" = "xyes" ; then
28753   have_loader="yes"
28754 else
28755   have_loader="no"
28756 fi
28757
28758
28759 fi
28760
28761 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28762    as_fn_error $? "Eet dependencies not found (strict dependencies checking)" "$LINENO" 5
28763 fi
28764
28765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Eet image loader will be built" >&5
28766 $as_echo_n "checking whether Eet image loader will be built... " >&6; }
28767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
28768 $as_echo "${have_loader}" >&6; }
28769
28770 if test "x${have_loader}" = "xyes" ; then
28771    if test "x${want_loader}" = "xstatic" ; then
28772       have_evas_image_loader_eet="static"
28773       want_static_loader="yes"
28774    else
28775       have_evas_image_loader_eet="yes"
28776    fi
28777 fi
28778
28779 if test "x${have_loader}" = "xyes" ; then
28780
28781 $as_echo "#define BUILD_LOADER_EET 1" >>confdefs.h
28782
28783 fi
28784
28785  if test "x${have_loader}" = "xyes"; then
28786   BUILD_LOADER_EET_TRUE=
28787   BUILD_LOADER_EET_FALSE='#'
28788 else
28789   BUILD_LOADER_EET_TRUE='#'
28790   BUILD_LOADER_EET_FALSE=
28791 fi
28792
28793
28794 if test "x${want_static_loader}" = "xyes" ; then
28795
28796 $as_echo "#define EVAS_STATIC_BUILD_EET 1" >>confdefs.h
28797
28798    have_static_module="yes"
28799 fi
28800
28801  if test "x${want_static_loader}" = "xyes"; then
28802   EVAS_STATIC_BUILD_EET_TRUE=
28803   EVAS_STATIC_BUILD_EET_FALSE='#'
28804 else
28805   EVAS_STATIC_BUILD_EET_TRUE='#'
28806   EVAS_STATIC_BUILD_EET_FALSE=
28807 fi
28808
28809
28810
28811
28812
28813
28814
28815
28816
28817 want_loader="${want_evas_font_loader_eet}"
28818 have_evas_font_loader_eet="no"
28819
28820 # Check whether --enable-font-loader-eet was given.
28821 if test "${enable_font_loader_eet+set}" = set; then :
28822   enableval=$enable_font_loader_eet; want_loader=${enableval}
28823
28824 fi
28825
28826
28827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Eet font loader" >&5
28828 $as_echo_n "checking whether to enable Eet font loader... " >&6; }
28829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28830 $as_echo "${want_loader}" >&6; }
28831
28832 if test "x$want_loader" = "xyes" -o "x$want_loader" = "xauto"; then
28833
28834 pkg_failed=no
28835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EET" >&5
28836 $as_echo_n "checking for EET... " >&6; }
28837
28838 if test -n "$EET_CFLAGS"; then
28839     pkg_cv_EET_CFLAGS="$EET_CFLAGS"
28840  elif test -n "$PKG_CONFIG"; then
28841     if test -n "$PKG_CONFIG" && \
28842     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
28843   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
28844   ac_status=$?
28845   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28846   test $ac_status = 0; }; then
28847   pkg_cv_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.0" 2>/dev/null`
28848                       test "x$?" != "x0" && pkg_failed=yes
28849 else
28850   pkg_failed=yes
28851 fi
28852  else
28853     pkg_failed=untried
28854 fi
28855 if test -n "$EET_LIBS"; then
28856     pkg_cv_EET_LIBS="$EET_LIBS"
28857  elif test -n "$PKG_CONFIG"; then
28858     if test -n "$PKG_CONFIG" && \
28859     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
28860   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
28861   ac_status=$?
28862   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28863   test $ac_status = 0; }; then
28864   pkg_cv_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.0" 2>/dev/null`
28865                       test "x$?" != "x0" && pkg_failed=yes
28866 else
28867   pkg_failed=yes
28868 fi
28869  else
28870     pkg_failed=untried
28871 fi
28872
28873
28874
28875 if test $pkg_failed = yes; then
28876         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28877 $as_echo "no" >&6; }
28878
28879 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28880         _pkg_short_errors_supported=yes
28881 else
28882         _pkg_short_errors_supported=no
28883 fi
28884         if test $_pkg_short_errors_supported = yes; then
28885                 EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.0" 2>&1`
28886         else
28887                 EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.0" 2>&1`
28888         fi
28889         # Put the nasty error message in config.log where it belongs
28890         echo "$EET_PKG_ERRORS" >&5
28891
28892         have_evas_font_loader_eet="no"
28893 elif test $pkg_failed = untried; then
28894         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28895 $as_echo "no" >&6; }
28896         have_evas_font_loader_eet="no"
28897 else
28898         EET_CFLAGS=$pkg_cv_EET_CFLAGS
28899         EET_LIBS=$pkg_cv_EET_LIBS
28900         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28901 $as_echo "yes" >&6; }
28902         have_evas_font_loader_eet="yes"
28903 fi
28904 fi
28905
28906 if test "x${have_evas_font_loader_eet}" = "xno" -a "x$want_loader" = "xyes" -a "x$use_strict" = "xyes" ; then
28907    as_fn_error $? "Eet dependencies not found (strict dependencies checking)" "$LINENO" 5
28908 fi
28909
28910 if test "x$have_evas_font_loader_eet" = "xyes" ; then
28911
28912 $as_echo "#define BUILD_FONT_LOADER_EET 1" >>confdefs.h
28913
28914    requirement_evas="eet >= 1.6.0 ${requirement_evas}"
28915 fi
28916
28917
28918
28919
28920
28921
28922
28923
28924
28925
28926
28927 want_loader="${want_evas_image_loader_gif}"
28928 want_static_loader="no"
28929 have_loader="no"
28930 have_evas_image_loader_gif="no"
28931
28932 # Check whether --enable-image-loader-gif was given.
28933 if test "${enable_image_loader_gif+set}" = set; then :
28934   enableval=$enable_image_loader_gif;
28935     if test "x${enableval}" = "xyes" ; then
28936        want_loader="yes"
28937     else
28938        if test "x${enableval}" = "xstatic" ; then
28939           want_loader="static"
28940        else
28941           want_loader="no"
28942        fi
28943     fi
28944
28945
28946 fi
28947
28948
28949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Gif image loader" >&5
28950 $as_echo_n "checking whether to enable Gif image loader... " >&6; }
28951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28952 $as_echo "${want_loader}" >&6; }
28953
28954 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
28955
28956
28957 have_dep="no"
28958 evas_image_loader_gif_cflags=""
28959 evas_image_loader_gif_libs=""
28960
28961 ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default"
28962 if test "x$ac_cv_header_gif_lib_h" = xyes; then :
28963   have_dep="yes"
28964 fi
28965
28966
28967
28968 if test "x${have_dep}"  = "xyes" ; then
28969    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DGifOpenFileName in -lgif" >&5
28970 $as_echo_n "checking for DGifOpenFileName in -lgif... " >&6; }
28971 if ${ac_cv_lib_gif_DGifOpenFileName+:} false; then :
28972   $as_echo_n "(cached) " >&6
28973 else
28974   ac_check_lib_save_LIBS=$LIBS
28975 LIBS="-lgif  $LIBS"
28976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28977 /* end confdefs.h.  */
28978
28979 /* Override any GCC internal prototype to avoid an error.
28980    Use char because int might match the return type of a GCC
28981    builtin and then its argument prototype would still apply.  */
28982 #ifdef __cplusplus
28983 extern "C"
28984 #endif
28985 char DGifOpenFileName ();
28986 int
28987 main ()
28988 {
28989 return DGifOpenFileName ();
28990   ;
28991   return 0;
28992 }
28993 _ACEOF
28994 if ac_fn_c_try_link "$LINENO"; then :
28995   ac_cv_lib_gif_DGifOpenFileName=yes
28996 else
28997   ac_cv_lib_gif_DGifOpenFileName=no
28998 fi
28999 rm -f core conftest.err conftest.$ac_objext \
29000     conftest$ac_exeext conftest.$ac_ext
29001 LIBS=$ac_check_lib_save_LIBS
29002 fi
29003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_DGifOpenFileName" >&5
29004 $as_echo "$ac_cv_lib_gif_DGifOpenFileName" >&6; }
29005 if test "x$ac_cv_lib_gif_DGifOpenFileName" = xyes; then :
29006
29007        evas_image_loader_gif_libs="-lgif"
29008
29009 else
29010   have_dep="no"
29011
29012 fi
29013
29014
29015    if test "x${have_dep}"  = "xno" ; then
29016       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DGifOpenFileName in -lungif" >&5
29017 $as_echo_n "checking for DGifOpenFileName in -lungif... " >&6; }
29018 if ${ac_cv_lib_ungif_DGifOpenFileName+:} false; then :
29019   $as_echo_n "(cached) " >&6
29020 else
29021   ac_check_lib_save_LIBS=$LIBS
29022 LIBS="-lungif  $LIBS"
29023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29024 /* end confdefs.h.  */
29025
29026 /* Override any GCC internal prototype to avoid an error.
29027    Use char because int might match the return type of a GCC
29028    builtin and then its argument prototype would still apply.  */
29029 #ifdef __cplusplus
29030 extern "C"
29031 #endif
29032 char DGifOpenFileName ();
29033 int
29034 main ()
29035 {
29036 return DGifOpenFileName ();
29037   ;
29038   return 0;
29039 }
29040 _ACEOF
29041 if ac_fn_c_try_link "$LINENO"; then :
29042   ac_cv_lib_ungif_DGifOpenFileName=yes
29043 else
29044   ac_cv_lib_ungif_DGifOpenFileName=no
29045 fi
29046 rm -f core conftest.err conftest.$ac_objext \
29047     conftest$ac_exeext conftest.$ac_ext
29048 LIBS=$ac_check_lib_save_LIBS
29049 fi
29050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_DGifOpenFileName" >&5
29051 $as_echo "$ac_cv_lib_ungif_DGifOpenFileName" >&6; }
29052 if test "x$ac_cv_lib_ungif_DGifOpenFileName" = xyes; then :
29053
29054           have_dep="yes"
29055           evas_image_loader_gif_libs="-lungif"
29056
29057
29058 fi
29059
29060    fi
29061 fi
29062
29063
29064
29065
29066 if test "x${have_dep}" = "xyes" ; then
29067   have_loader="yes"
29068 else
29069   have_loader="no"
29070 fi
29071
29072
29073 fi
29074
29075 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29076    as_fn_error $? "Gif dependencies not found (strict dependencies checking)" "$LINENO" 5
29077 fi
29078
29079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Gif image loader will be built" >&5
29080 $as_echo_n "checking whether Gif image loader will be built... " >&6; }
29081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29082 $as_echo "${have_loader}" >&6; }
29083
29084 if test "x${have_loader}" = "xyes" ; then
29085    if test "x${want_loader}" = "xstatic" ; then
29086       have_evas_image_loader_gif="static"
29087       want_static_loader="yes"
29088    else
29089       have_evas_image_loader_gif="yes"
29090    fi
29091 fi
29092
29093 if test "x${have_loader}" = "xyes" ; then
29094
29095 $as_echo "#define BUILD_LOADER_GIF 1" >>confdefs.h
29096
29097 fi
29098
29099  if test "x${have_loader}" = "xyes"; then
29100   BUILD_LOADER_GIF_TRUE=
29101   BUILD_LOADER_GIF_FALSE='#'
29102 else
29103   BUILD_LOADER_GIF_TRUE='#'
29104   BUILD_LOADER_GIF_FALSE=
29105 fi
29106
29107
29108 if test "x${want_static_loader}" = "xyes" ; then
29109
29110 $as_echo "#define EVAS_STATIC_BUILD_GIF 1" >>confdefs.h
29111
29112    have_static_module="yes"
29113 fi
29114
29115  if test "x${want_static_loader}" = "xyes"; then
29116   EVAS_STATIC_BUILD_GIF_TRUE=
29117   EVAS_STATIC_BUILD_GIF_FALSE='#'
29118 else
29119   EVAS_STATIC_BUILD_GIF_TRUE='#'
29120   EVAS_STATIC_BUILD_GIF_FALSE=
29121 fi
29122
29123
29124
29125
29126
29127
29128
29129 have_evas_image_saver_jpeg="no"
29130
29131
29132
29133
29134
29135 want_loader="${want_evas_image_loader_jpeg}"
29136 want_static_loader="no"
29137 have_loader="no"
29138 have_evas_image_loader_jpeg="no"
29139
29140 # Check whether --enable-image-loader-jpeg was given.
29141 if test "${enable_image_loader_jpeg+set}" = set; then :
29142   enableval=$enable_image_loader_jpeg;
29143     if test "x${enableval}" = "xyes" ; then
29144        want_loader="yes"
29145     else
29146        if test "x${enableval}" = "xstatic" ; then
29147           want_loader="static"
29148        else
29149           want_loader="no"
29150        fi
29151     fi
29152
29153
29154 fi
29155
29156
29157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Jpeg image loader" >&5
29158 $as_echo_n "checking whether to enable Jpeg image loader... " >&6; }
29159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29160 $as_echo "${want_loader}" >&6; }
29161
29162 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29163
29164
29165 have_dep="no"
29166 evas_image_loader_jpeg_cflags=""
29167 evas_image_loader_jpeg_libs=""
29168
29169 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
29170 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
29171   have_dep="yes"
29172 fi
29173
29174
29175
29176 if test "x${have_dep}"  = "xyes" ; then
29177    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_CreateDecompress in -ljpeg" >&5
29178 $as_echo_n "checking for jpeg_CreateDecompress in -ljpeg... " >&6; }
29179 if ${ac_cv_lib_jpeg_jpeg_CreateDecompress+:} false; then :
29180   $as_echo_n "(cached) " >&6
29181 else
29182   ac_check_lib_save_LIBS=$LIBS
29183 LIBS="-ljpeg  $LIBS"
29184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29185 /* end confdefs.h.  */
29186
29187 /* Override any GCC internal prototype to avoid an error.
29188    Use char because int might match the return type of a GCC
29189    builtin and then its argument prototype would still apply.  */
29190 #ifdef __cplusplus
29191 extern "C"
29192 #endif
29193 char jpeg_CreateDecompress ();
29194 int
29195 main ()
29196 {
29197 return jpeg_CreateDecompress ();
29198   ;
29199   return 0;
29200 }
29201 _ACEOF
29202 if ac_fn_c_try_link "$LINENO"; then :
29203   ac_cv_lib_jpeg_jpeg_CreateDecompress=yes
29204 else
29205   ac_cv_lib_jpeg_jpeg_CreateDecompress=no
29206 fi
29207 rm -f core conftest.err conftest.$ac_objext \
29208     conftest$ac_exeext conftest.$ac_ext
29209 LIBS=$ac_check_lib_save_LIBS
29210 fi
29211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_CreateDecompress" >&5
29212 $as_echo "$ac_cv_lib_jpeg_jpeg_CreateDecompress" >&6; }
29213 if test "x$ac_cv_lib_jpeg_jpeg_CreateDecompress" = xyes; then :
29214
29215        evas_image_loader_jpeg_libs="-ljpeg"
29216        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29217 /* end confdefs.h.  */
29218
29219 #include <stdio.h>
29220 #include <jpeglib.h>
29221 #include <setjmp.h>
29222
29223 int
29224 main ()
29225 {
29226
29227 struct jpeg_decompress_struct decomp;
29228 decomp.region_x = 0;
29229
29230   ;
29231   return 0;
29232 }
29233 _ACEOF
29234 if ac_fn_c_try_compile "$LINENO"; then :
29235   have_jpeg_region="yes"
29236 else
29237   have_jpeg_region="no"
29238 fi
29239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29240
29241 else
29242   have_dep="no"
29243
29244 fi
29245
29246    if test "x${have_jpeg_region}" = "xyes" ; then
29247
29248 $as_echo "#define BUILD_LOADER_JPEG_REGION 1" >>confdefs.h
29249
29250    fi
29251 fi
29252
29253
29254
29255
29256 if test "x${have_dep}" = "xyes" ; then
29257   have_loader="yes"
29258 else
29259   have_loader="no"
29260 fi
29261
29262
29263 fi
29264
29265 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29266    as_fn_error $? "Jpeg dependencies not found (strict dependencies checking)" "$LINENO" 5
29267 fi
29268
29269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Jpeg image loader will be built" >&5
29270 $as_echo_n "checking whether Jpeg image loader will be built... " >&6; }
29271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29272 $as_echo "${have_loader}" >&6; }
29273
29274 if test "x${have_loader}" = "xyes" ; then
29275    if test "x${want_loader}" = "xstatic" ; then
29276       have_evas_image_loader_jpeg="static"
29277       want_static_loader="yes"
29278    else
29279       have_evas_image_loader_jpeg="yes"
29280    fi
29281 fi
29282
29283 if test "x${have_loader}" = "xyes" ; then
29284
29285 $as_echo "#define BUILD_LOADER_JPEG 1" >>confdefs.h
29286
29287 fi
29288
29289  if test "x${have_loader}" = "xyes"; then
29290   BUILD_LOADER_JPEG_TRUE=
29291   BUILD_LOADER_JPEG_FALSE='#'
29292 else
29293   BUILD_LOADER_JPEG_TRUE='#'
29294   BUILD_LOADER_JPEG_FALSE=
29295 fi
29296
29297
29298 if test "x${want_static_loader}" = "xyes" ; then
29299
29300 $as_echo "#define EVAS_STATIC_BUILD_JPEG 1" >>confdefs.h
29301
29302    have_static_module="yes"
29303 fi
29304
29305  if test "x${want_static_loader}" = "xyes"; then
29306   EVAS_STATIC_BUILD_JPEG_TRUE=
29307   EVAS_STATIC_BUILD_JPEG_FALSE='#'
29308 else
29309   EVAS_STATIC_BUILD_JPEG_TRUE='#'
29310   EVAS_STATIC_BUILD_JPEG_FALSE=
29311 fi
29312
29313
29314
29315
29316
29317
29318
29319 case "$host_os" in
29320    mingw*)
29321       ;;
29322    *)
29323       if test "x${have_evas_image_loader_jpeg}" = "xyes" ; then
29324
29325 $as_echo "#define EVAS_BUILD_SAVER_JPEG 1" >>confdefs.h
29326
29327          have_evas_image_saver_jpeg="yes"
29328       fi
29329       ;;
29330 esac
29331  if test "x${have_evas_image_saver_jpeg}" = "xyes"; then
29332   BUILD_SAVER_JPEG_TRUE=
29333   BUILD_SAVER_JPEG_FALSE='#'
29334 else
29335   BUILD_SAVER_JPEG_TRUE='#'
29336   BUILD_SAVER_JPEG_FALSE=
29337 fi
29338
29339
29340
29341
29342
29343
29344
29345 want_loader="${want_evas_image_loader_pmaps}"
29346 want_static_loader="no"
29347 have_loader="no"
29348 have_evas_image_loader_pmaps="no"
29349
29350 # Check whether --enable-image-loader-pmaps was given.
29351 if test "${enable_image_loader_pmaps+set}" = set; then :
29352   enableval=$enable_image_loader_pmaps;
29353     if test "x${enableval}" = "xyes" ; then
29354        want_loader="yes"
29355     else
29356        if test "x${enableval}" = "xstatic" ; then
29357           want_loader="static"
29358        else
29359           want_loader="no"
29360        fi
29361     fi
29362
29363
29364 fi
29365
29366
29367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PMAPS image loader" >&5
29368 $as_echo_n "checking whether to enable PMAPS image loader... " >&6; }
29369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29370 $as_echo "${want_loader}" >&6; }
29371
29372 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29373
29374
29375 have_dep="yes"
29376 evas_image_loader_pmaps_cflags=""
29377 evas_image_loader_pmaps_libs=""
29378
29379
29380
29381
29382 if test "x${have_dep}" = "xyes" ; then
29383   have_loader="yes"
29384 else
29385   have_loader="no"
29386 fi
29387
29388
29389 fi
29390
29391 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29392    as_fn_error $? "PMAPS dependencies not found (strict dependencies checking)" "$LINENO" 5
29393 fi
29394
29395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PMAPS image loader will be built" >&5
29396 $as_echo_n "checking whether PMAPS image loader will be built... " >&6; }
29397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29398 $as_echo "${have_loader}" >&6; }
29399
29400 if test "x${have_loader}" = "xyes" ; then
29401    if test "x${want_loader}" = "xstatic" ; then
29402       have_evas_image_loader_pmaps="static"
29403       want_static_loader="yes"
29404    else
29405       have_evas_image_loader_pmaps="yes"
29406    fi
29407 fi
29408
29409 if test "x${have_loader}" = "xyes" ; then
29410
29411 $as_echo "#define BUILD_LOADER_PMAPS 1" >>confdefs.h
29412
29413 fi
29414
29415  if test "x${have_loader}" = "xyes"; then
29416   BUILD_LOADER_PMAPS_TRUE=
29417   BUILD_LOADER_PMAPS_FALSE='#'
29418 else
29419   BUILD_LOADER_PMAPS_TRUE='#'
29420   BUILD_LOADER_PMAPS_FALSE=
29421 fi
29422
29423
29424 if test "x${want_static_loader}" = "xyes" ; then
29425
29426 $as_echo "#define EVAS_STATIC_BUILD_PMAPS 1" >>confdefs.h
29427
29428    have_static_module="yes"
29429 fi
29430
29431  if test "x${want_static_loader}" = "xyes"; then
29432   EVAS_STATIC_BUILD_PMAPS_TRUE=
29433   EVAS_STATIC_BUILD_PMAPS_FALSE='#'
29434 else
29435   EVAS_STATIC_BUILD_PMAPS_TRUE='#'
29436   EVAS_STATIC_BUILD_PMAPS_FALSE=
29437 fi
29438
29439
29440
29441
29442
29443
29444
29445
29446
29447
29448
29449
29450 want_loader="${want_evas_image_loader_png}"
29451 want_static_loader="no"
29452 have_loader="no"
29453 have_evas_image_loader_png="no"
29454
29455 # Check whether --enable-image-loader-png was given.
29456 if test "${enable_image_loader_png+set}" = set; then :
29457   enableval=$enable_image_loader_png;
29458     if test "x${enableval}" = "xyes" ; then
29459        want_loader="yes"
29460     else
29461        if test "x${enableval}" = "xstatic" ; then
29462           want_loader="static"
29463        else
29464           want_loader="no"
29465        fi
29466     fi
29467
29468
29469 fi
29470
29471
29472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PNG image loader" >&5
29473 $as_echo_n "checking whether to enable PNG image loader... " >&6; }
29474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29475 $as_echo "${want_loader}" >&6; }
29476
29477 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29478
29479
29480 requirement=""
29481 have_dep="no"
29482 evas_image_loader_png_cflags=""
29483 evas_image_loader_png_libs=""
29484
29485
29486 pkg_failed=no
29487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
29488 $as_echo_n "checking for PNG... " >&6; }
29489
29490 if test -n "$PNG_CFLAGS"; then
29491     pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
29492  elif test -n "$PKG_CONFIG"; then
29493     if test -n "$PKG_CONFIG" && \
29494     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.2.10\""; } >&5
29495   ($PKG_CONFIG --exists --print-errors "libpng >= 1.2.10") 2>&5
29496   ac_status=$?
29497   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29498   test $ac_status = 0; }; then
29499   pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng >= 1.2.10" 2>/dev/null`
29500                       test "x$?" != "x0" && pkg_failed=yes
29501 else
29502   pkg_failed=yes
29503 fi
29504  else
29505     pkg_failed=untried
29506 fi
29507 if test -n "$PNG_LIBS"; then
29508     pkg_cv_PNG_LIBS="$PNG_LIBS"
29509  elif test -n "$PKG_CONFIG"; then
29510     if test -n "$PKG_CONFIG" && \
29511     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.2.10\""; } >&5
29512   ($PKG_CONFIG --exists --print-errors "libpng >= 1.2.10") 2>&5
29513   ac_status=$?
29514   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29515   test $ac_status = 0; }; then
29516   pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng >= 1.2.10" 2>/dev/null`
29517                       test "x$?" != "x0" && pkg_failed=yes
29518 else
29519   pkg_failed=yes
29520 fi
29521  else
29522     pkg_failed=untried
29523 fi
29524
29525
29526
29527 if test $pkg_failed = yes; then
29528         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29529 $as_echo "no" >&6; }
29530
29531 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29532         _pkg_short_errors_supported=yes
29533 else
29534         _pkg_short_errors_supported=no
29535 fi
29536         if test $_pkg_short_errors_supported = yes; then
29537                 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpng >= 1.2.10" 2>&1`
29538         else
29539                 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpng >= 1.2.10" 2>&1`
29540         fi
29541         # Put the nasty error message in config.log where it belongs
29542         echo "$PNG_PKG_ERRORS" >&5
29543
29544         have_dep="no"
29545 elif test $pkg_failed = untried; then
29546         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29547 $as_echo "no" >&6; }
29548         have_dep="no"
29549 else
29550         PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
29551         PNG_LIBS=$pkg_cv_PNG_LIBS
29552         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29553 $as_echo "yes" >&6; }
29554         have_dep="yes" requirement="libpng"
29555 fi
29556
29557 if test "x${have_dep}" = "xno" ; then
29558
29559 pkg_failed=no
29560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
29561 $as_echo_n "checking for PNG... " >&6; }
29562
29563 if test -n "$PNG_CFLAGS"; then
29564     pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
29565  elif test -n "$PKG_CONFIG"; then
29566     if test -n "$PKG_CONFIG" && \
29567     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng15\""; } >&5
29568   ($PKG_CONFIG --exists --print-errors "libpng15") 2>&5
29569   ac_status=$?
29570   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29571   test $ac_status = 0; }; then
29572   pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng15" 2>/dev/null`
29573                       test "x$?" != "x0" && pkg_failed=yes
29574 else
29575   pkg_failed=yes
29576 fi
29577  else
29578     pkg_failed=untried
29579 fi
29580 if test -n "$PNG_LIBS"; then
29581     pkg_cv_PNG_LIBS="$PNG_LIBS"
29582  elif test -n "$PKG_CONFIG"; then
29583     if test -n "$PKG_CONFIG" && \
29584     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng15\""; } >&5
29585   ($PKG_CONFIG --exists --print-errors "libpng15") 2>&5
29586   ac_status=$?
29587   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29588   test $ac_status = 0; }; then
29589   pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng15" 2>/dev/null`
29590                       test "x$?" != "x0" && pkg_failed=yes
29591 else
29592   pkg_failed=yes
29593 fi
29594  else
29595     pkg_failed=untried
29596 fi
29597
29598
29599
29600 if test $pkg_failed = yes; then
29601         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29602 $as_echo "no" >&6; }
29603
29604 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29605         _pkg_short_errors_supported=yes
29606 else
29607         _pkg_short_errors_supported=no
29608 fi
29609         if test $_pkg_short_errors_supported = yes; then
29610                 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpng15" 2>&1`
29611         else
29612                 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpng15" 2>&1`
29613         fi
29614         # Put the nasty error message in config.log where it belongs
29615         echo "$PNG_PKG_ERRORS" >&5
29616
29617         have_dep="no"
29618 elif test $pkg_failed = untried; then
29619         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29620 $as_echo "no" >&6; }
29621         have_dep="no"
29622 else
29623         PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
29624         PNG_LIBS=$pkg_cv_PNG_LIBS
29625         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29626 $as_echo "yes" >&6; }
29627         have_dep="yes" requirement="libpng15"
29628 fi
29629 fi
29630
29631 if test "x${have_dep}" = "xno" ; then
29632
29633 pkg_failed=no
29634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
29635 $as_echo_n "checking for PNG... " >&6; }
29636
29637 if test -n "$PNG_CFLAGS"; then
29638     pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
29639  elif test -n "$PKG_CONFIG"; then
29640     if test -n "$PKG_CONFIG" && \
29641     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng14\""; } >&5
29642   ($PKG_CONFIG --exists --print-errors "libpng14") 2>&5
29643   ac_status=$?
29644   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29645   test $ac_status = 0; }; then
29646   pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng14" 2>/dev/null`
29647                       test "x$?" != "x0" && pkg_failed=yes
29648 else
29649   pkg_failed=yes
29650 fi
29651  else
29652     pkg_failed=untried
29653 fi
29654 if test -n "$PNG_LIBS"; then
29655     pkg_cv_PNG_LIBS="$PNG_LIBS"
29656  elif test -n "$PKG_CONFIG"; then
29657     if test -n "$PKG_CONFIG" && \
29658     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng14\""; } >&5
29659   ($PKG_CONFIG --exists --print-errors "libpng14") 2>&5
29660   ac_status=$?
29661   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29662   test $ac_status = 0; }; then
29663   pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng14" 2>/dev/null`
29664                       test "x$?" != "x0" && pkg_failed=yes
29665 else
29666   pkg_failed=yes
29667 fi
29668  else
29669     pkg_failed=untried
29670 fi
29671
29672
29673
29674 if test $pkg_failed = yes; then
29675         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29676 $as_echo "no" >&6; }
29677
29678 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29679         _pkg_short_errors_supported=yes
29680 else
29681         _pkg_short_errors_supported=no
29682 fi
29683         if test $_pkg_short_errors_supported = yes; then
29684                 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpng14" 2>&1`
29685         else
29686                 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpng14" 2>&1`
29687         fi
29688         # Put the nasty error message in config.log where it belongs
29689         echo "$PNG_PKG_ERRORS" >&5
29690
29691         have_dep="no"
29692 elif test $pkg_failed = untried; then
29693         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29694 $as_echo "no" >&6; }
29695         have_dep="no"
29696 else
29697         PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
29698         PNG_LIBS=$pkg_cv_PNG_LIBS
29699         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29700 $as_echo "yes" >&6; }
29701         have_dep="yes" requirement="libpng14"
29702 fi
29703 fi
29704
29705 if test "x${have_dep}" = "xno" ; then
29706
29707 pkg_failed=no
29708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
29709 $as_echo_n "checking for PNG... " >&6; }
29710
29711 if test -n "$PNG_CFLAGS"; then
29712     pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
29713  elif test -n "$PKG_CONFIG"; then
29714     if test -n "$PKG_CONFIG" && \
29715     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng12 >= 1.2.10\""; } >&5
29716   ($PKG_CONFIG --exists --print-errors "libpng12 >= 1.2.10") 2>&5
29717   ac_status=$?
29718   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29719   test $ac_status = 0; }; then
29720   pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng12 >= 1.2.10" 2>/dev/null`
29721                       test "x$?" != "x0" && pkg_failed=yes
29722 else
29723   pkg_failed=yes
29724 fi
29725  else
29726     pkg_failed=untried
29727 fi
29728 if test -n "$PNG_LIBS"; then
29729     pkg_cv_PNG_LIBS="$PNG_LIBS"
29730  elif test -n "$PKG_CONFIG"; then
29731     if test -n "$PKG_CONFIG" && \
29732     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng12 >= 1.2.10\""; } >&5
29733   ($PKG_CONFIG --exists --print-errors "libpng12 >= 1.2.10") 2>&5
29734   ac_status=$?
29735   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29736   test $ac_status = 0; }; then
29737   pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng12 >= 1.2.10" 2>/dev/null`
29738                       test "x$?" != "x0" && pkg_failed=yes
29739 else
29740   pkg_failed=yes
29741 fi
29742  else
29743     pkg_failed=untried
29744 fi
29745
29746
29747
29748 if test $pkg_failed = yes; then
29749         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29750 $as_echo "no" >&6; }
29751
29752 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29753         _pkg_short_errors_supported=yes
29754 else
29755         _pkg_short_errors_supported=no
29756 fi
29757         if test $_pkg_short_errors_supported = yes; then
29758                 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpng12 >= 1.2.10" 2>&1`
29759         else
29760                 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpng12 >= 1.2.10" 2>&1`
29761         fi
29762         # Put the nasty error message in config.log where it belongs
29763         echo "$PNG_PKG_ERRORS" >&5
29764
29765         have_dep="no"
29766 elif test $pkg_failed = untried; then
29767         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29768 $as_echo "no" >&6; }
29769         have_dep="no"
29770 else
29771         PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
29772         PNG_LIBS=$pkg_cv_PNG_LIBS
29773         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29774 $as_echo "yes" >&6; }
29775         have_dep="yes" requirement="libpng12"
29776 fi
29777 fi
29778
29779 evas_image_loader_png_cflags="${PNG_CFLAGS}"
29780 evas_image_loader_png_libs="${PNG_LIBS}"
29781
29782
29783
29784
29785 if test "x${want_loader}" = "xstatic" ; then
29786    requirement_evas="${requirement} ${requirement_evas}"
29787 fi
29788
29789 if test "x${have_dep}" = "xyes" ; then
29790   have_loader="yes"
29791 else
29792   have_loader="no"
29793 fi
29794
29795
29796 fi
29797
29798 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29799    as_fn_error $? "PNG dependencies not found (strict dependencies checking)" "$LINENO" 5
29800 fi
29801
29802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PNG image loader will be built" >&5
29803 $as_echo_n "checking whether PNG image loader will be built... " >&6; }
29804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29805 $as_echo "${have_loader}" >&6; }
29806
29807 if test "x${have_loader}" = "xyes" ; then
29808    if test "x${want_loader}" = "xstatic" ; then
29809       have_evas_image_loader_png="static"
29810       want_static_loader="yes"
29811    else
29812       have_evas_image_loader_png="yes"
29813    fi
29814 fi
29815
29816 if test "x${have_loader}" = "xyes" ; then
29817
29818 $as_echo "#define BUILD_LOADER_PNG 1" >>confdefs.h
29819
29820 fi
29821
29822  if test "x${have_loader}" = "xyes"; then
29823   BUILD_LOADER_PNG_TRUE=
29824   BUILD_LOADER_PNG_FALSE='#'
29825 else
29826   BUILD_LOADER_PNG_TRUE='#'
29827   BUILD_LOADER_PNG_FALSE=
29828 fi
29829
29830
29831 if test "x${want_static_loader}" = "xyes" ; then
29832
29833 $as_echo "#define EVAS_STATIC_BUILD_PNG 1" >>confdefs.h
29834
29835    have_static_module="yes"
29836 fi
29837
29838  if test "x${want_static_loader}" = "xyes"; then
29839   EVAS_STATIC_BUILD_PNG_TRUE=
29840   EVAS_STATIC_BUILD_PNG_FALSE='#'
29841 else
29842   EVAS_STATIC_BUILD_PNG_TRUE='#'
29843   EVAS_STATIC_BUILD_PNG_FALSE=
29844 fi
29845
29846
29847
29848
29849
29850
29851
29852
29853
29854
29855
29856
29857 want_loader="${want_evas_image_loader_svg}"
29858 want_static_loader="no"
29859 have_loader="no"
29860 have_evas_image_loader_svg="no"
29861
29862 # Check whether --enable-image-loader-svg was given.
29863 if test "${enable_image_loader_svg+set}" = set; then :
29864   enableval=$enable_image_loader_svg;
29865     if test "x${enableval}" = "xyes" ; then
29866        want_loader="yes"
29867     else
29868        if test "x${enableval}" = "xstatic" ; then
29869           want_loader="static"
29870        else
29871           want_loader="no"
29872        fi
29873     fi
29874
29875
29876 fi
29877
29878
29879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable SVG image loader" >&5
29880 $as_echo_n "checking whether to enable SVG image loader... " >&6; }
29881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29882 $as_echo "${want_loader}" >&6; }
29883
29884 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29885
29886
29887 requirement=""
29888 have_esvg="no"
29889 evas_image_loader_svg_cflags=""
29890 evas_image_loader_svg_libs=""
29891
29892
29893 pkg_failed=no
29894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SVG" >&5
29895 $as_echo_n "checking for SVG... " >&6; }
29896
29897 if test -n "$SVG_CFLAGS"; then
29898     pkg_cv_SVG_CFLAGS="$SVG_CFLAGS"
29899  elif test -n "$PKG_CONFIG"; then
29900     if test -n "$PKG_CONFIG" && \
29901     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"esvg >= 0.0.16\""; } >&5
29902   ($PKG_CONFIG --exists --print-errors "esvg >= 0.0.16") 2>&5
29903   ac_status=$?
29904   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29905   test $ac_status = 0; }; then
29906   pkg_cv_SVG_CFLAGS=`$PKG_CONFIG --cflags "esvg >= 0.0.16" 2>/dev/null`
29907                       test "x$?" != "x0" && pkg_failed=yes
29908 else
29909   pkg_failed=yes
29910 fi
29911  else
29912     pkg_failed=untried
29913 fi
29914 if test -n "$SVG_LIBS"; then
29915     pkg_cv_SVG_LIBS="$SVG_LIBS"
29916  elif test -n "$PKG_CONFIG"; then
29917     if test -n "$PKG_CONFIG" && \
29918     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"esvg >= 0.0.16\""; } >&5
29919   ($PKG_CONFIG --exists --print-errors "esvg >= 0.0.16") 2>&5
29920   ac_status=$?
29921   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29922   test $ac_status = 0; }; then
29923   pkg_cv_SVG_LIBS=`$PKG_CONFIG --libs "esvg >= 0.0.16" 2>/dev/null`
29924                       test "x$?" != "x0" && pkg_failed=yes
29925 else
29926   pkg_failed=yes
29927 fi
29928  else
29929     pkg_failed=untried
29930 fi
29931
29932
29933
29934 if test $pkg_failed = yes; then
29935         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29936 $as_echo "no" >&6; }
29937
29938 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29939         _pkg_short_errors_supported=yes
29940 else
29941         _pkg_short_errors_supported=no
29942 fi
29943         if test $_pkg_short_errors_supported = yes; then
29944                 SVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "esvg >= 0.0.16" 2>&1`
29945         else
29946                 SVG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "esvg >= 0.0.16" 2>&1`
29947         fi
29948         # Put the nasty error message in config.log where it belongs
29949         echo "$SVG_PKG_ERRORS" >&5
29950
29951         have_dep="no"
29952 elif test $pkg_failed = untried; then
29953         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29954 $as_echo "no" >&6; }
29955         have_dep="no"
29956 else
29957         SVG_CFLAGS=$pkg_cv_SVG_CFLAGS
29958         SVG_LIBS=$pkg_cv_SVG_LIBS
29959         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29960 $as_echo "yes" >&6; }
29961         have_dep="yes" have_esvg="yes" requirement="esvg"
29962 fi
29963
29964 if test "x${have_dep}" = "xyes" ; then
29965    evas_image_loader_svg_cflags="${SVG_CFLAGS}"
29966    evas_image_loader_svg_libs="${SVG_LIBS}"
29967 fi
29968
29969
29970
29971
29972 if test "x${want_loader}" = "xstatic" ; then
29973    requirement_evas="${requirement} ${requirement_evas}"
29974 fi
29975
29976 if test "x${have_dep}" = "xyes" ; then
29977   have_loader="yes"
29978 else
29979   have_loader="no"
29980 fi
29981
29982
29983 fi
29984
29985 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29986    as_fn_error $? "SVG dependencies not found (strict dependencies checking)" "$LINENO" 5
29987 fi
29988
29989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether SVG image loader will be built" >&5
29990 $as_echo_n "checking whether SVG image loader will be built... " >&6; }
29991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29992 $as_echo "${have_loader}" >&6; }
29993
29994 if test "x${have_loader}" = "xyes" ; then
29995    if test "x${want_loader}" = "xstatic" ; then
29996       have_evas_image_loader_svg="static"
29997       want_static_loader="yes"
29998    else
29999       have_evas_image_loader_svg="yes"
30000    fi
30001 fi
30002
30003 if test "x${have_loader}" = "xyes" ; then
30004
30005 $as_echo "#define BUILD_LOADER_SVG 1" >>confdefs.h
30006
30007 fi
30008
30009  if test "x${have_loader}" = "xyes"; then
30010   BUILD_LOADER_SVG_TRUE=
30011   BUILD_LOADER_SVG_FALSE='#'
30012 else
30013   BUILD_LOADER_SVG_TRUE='#'
30014   BUILD_LOADER_SVG_FALSE=
30015 fi
30016
30017
30018 if test "x${want_static_loader}" = "xyes" ; then
30019
30020 $as_echo "#define EVAS_STATIC_BUILD_SVG 1" >>confdefs.h
30021
30022    have_static_module="yes"
30023 fi
30024
30025  if test "x${want_static_loader}" = "xyes"; then
30026   EVAS_STATIC_BUILD_SVG_TRUE=
30027   EVAS_STATIC_BUILD_SVG_FALSE='#'
30028 else
30029   EVAS_STATIC_BUILD_SVG_TRUE='#'
30030   EVAS_STATIC_BUILD_SVG_FALSE=
30031 fi
30032
30033
30034
30035
30036
30037
30038
30039
30040
30041
30042
30043
30044 want_loader="${want_evas_image_loader_tiff}"
30045 want_static_loader="no"
30046 have_loader="no"
30047 have_evas_image_loader_tiff="no"
30048
30049 # Check whether --enable-image-loader-tiff was given.
30050 if test "${enable_image_loader_tiff+set}" = set; then :
30051   enableval=$enable_image_loader_tiff;
30052     if test "x${enableval}" = "xyes" ; then
30053        want_loader="yes"
30054     else
30055        if test "x${enableval}" = "xstatic" ; then
30056           want_loader="static"
30057        else
30058           want_loader="no"
30059        fi
30060     fi
30061
30062
30063 fi
30064
30065
30066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Tiff image loader" >&5
30067 $as_echo_n "checking whether to enable Tiff image loader... " >&6; }
30068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30069 $as_echo "${want_loader}" >&6; }
30070
30071 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30072
30073
30074 have_dep="no"
30075 evas_image_loader_tiff_cflags=""
30076 evas_image_loader_tiff_libs=""
30077
30078 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
30079 if test "x$ac_cv_header_tiffio_h" = xyes; then :
30080   have_dep="yes"
30081 fi
30082
30083
30084
30085 if test "x${have_dep}"  = "xyes" ; then
30086    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFReadScanline in -ltiff" >&5
30087 $as_echo_n "checking for TIFFReadScanline in -ltiff... " >&6; }
30088 if ${ac_cv_lib_tiff_TIFFReadScanline+:} false; then :
30089   $as_echo_n "(cached) " >&6
30090 else
30091   ac_check_lib_save_LIBS=$LIBS
30092 LIBS="-ltiff  $LIBS"
30093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30094 /* end confdefs.h.  */
30095
30096 /* Override any GCC internal prototype to avoid an error.
30097    Use char because int might match the return type of a GCC
30098    builtin and then its argument prototype would still apply.  */
30099 #ifdef __cplusplus
30100 extern "C"
30101 #endif
30102 char TIFFReadScanline ();
30103 int
30104 main ()
30105 {
30106 return TIFFReadScanline ();
30107   ;
30108   return 0;
30109 }
30110 _ACEOF
30111 if ac_fn_c_try_link "$LINENO"; then :
30112   ac_cv_lib_tiff_TIFFReadScanline=yes
30113 else
30114   ac_cv_lib_tiff_TIFFReadScanline=no
30115 fi
30116 rm -f core conftest.err conftest.$ac_objext \
30117     conftest$ac_exeext conftest.$ac_ext
30118 LIBS=$ac_check_lib_save_LIBS
30119 fi
30120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFReadScanline" >&5
30121 $as_echo "$ac_cv_lib_tiff_TIFFReadScanline" >&6; }
30122 if test "x$ac_cv_lib_tiff_TIFFReadScanline" = xyes; then :
30123
30124        evas_image_loader_tiff_libs="-ltiff"
30125
30126 else
30127   have_dep="no"
30128
30129 fi
30130
30131
30132    if test "x${have_dep}"  = "xno" ; then
30133       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFReadScanline in -ltiff" >&5
30134 $as_echo_n "checking for TIFFReadScanline in -ltiff... " >&6; }
30135 if ${ac_cv_lib_tiff_TIFFReadScanline+:} false; then :
30136   $as_echo_n "(cached) " >&6
30137 else
30138   ac_check_lib_save_LIBS=$LIBS
30139 LIBS="-ltiff  $LIBS"
30140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30141 /* end confdefs.h.  */
30142
30143 /* Override any GCC internal prototype to avoid an error.
30144    Use char because int might match the return type of a GCC
30145    builtin and then its argument prototype would still apply.  */
30146 #ifdef __cplusplus
30147 extern "C"
30148 #endif
30149 char TIFFReadScanline ();
30150 int
30151 main ()
30152 {
30153 return TIFFReadScanline ();
30154   ;
30155   return 0;
30156 }
30157 _ACEOF
30158 if ac_fn_c_try_link "$LINENO"; then :
30159   ac_cv_lib_tiff_TIFFReadScanline=yes
30160 else
30161   ac_cv_lib_tiff_TIFFReadScanline=no
30162 fi
30163 rm -f core conftest.err conftest.$ac_objext \
30164     conftest$ac_exeext conftest.$ac_ext
30165 LIBS=$ac_check_lib_save_LIBS
30166 fi
30167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFReadScanline" >&5
30168 $as_echo "$ac_cv_lib_tiff_TIFFReadScanline" >&6; }
30169 if test "x$ac_cv_lib_tiff_TIFFReadScanline" = xyes; then :
30170
30171           have_dep="yes"
30172           evas_image_loader_tiff_libs="-ltiff -ljpeg -lz -lm"
30173
30174
30175 fi
30176
30177    fi
30178
30179    if test "x${have_dep}"  = "xno" ; then
30180       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFReadScanline in -ltiff34" >&5
30181 $as_echo_n "checking for TIFFReadScanline in -ltiff34... " >&6; }
30182 if ${ac_cv_lib_tiff34_TIFFReadScanline+:} false; then :
30183   $as_echo_n "(cached) " >&6
30184 else
30185   ac_check_lib_save_LIBS=$LIBS
30186 LIBS="-ltiff34  $LIBS"
30187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30188 /* end confdefs.h.  */
30189
30190 /* Override any GCC internal prototype to avoid an error.
30191    Use char because int might match the return type of a GCC
30192    builtin and then its argument prototype would still apply.  */
30193 #ifdef __cplusplus
30194 extern "C"
30195 #endif
30196 char TIFFReadScanline ();
30197 int
30198 main ()
30199 {
30200 return TIFFReadScanline ();
30201   ;
30202   return 0;
30203 }
30204 _ACEOF
30205 if ac_fn_c_try_link "$LINENO"; then :
30206   ac_cv_lib_tiff34_TIFFReadScanline=yes
30207 else
30208   ac_cv_lib_tiff34_TIFFReadScanline=no
30209 fi
30210 rm -f core conftest.err conftest.$ac_objext \
30211     conftest$ac_exeext conftest.$ac_ext
30212 LIBS=$ac_check_lib_save_LIBS
30213 fi
30214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff34_TIFFReadScanline" >&5
30215 $as_echo "$ac_cv_lib_tiff34_TIFFReadScanline" >&6; }
30216 if test "x$ac_cv_lib_tiff34_TIFFReadScanline" = xyes; then :
30217
30218           have_dep="yes"
30219           evas_image_loader_tiff_libs="-ltiff34 -ljpeg -lz -lm"
30220
30221
30222 fi
30223
30224    fi
30225 fi
30226
30227
30228
30229
30230 if test "x${have_dep}" = "xyes" ; then
30231   have_loader="yes"
30232 else
30233   have_loader="no"
30234 fi
30235
30236
30237 fi
30238
30239 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30240    as_fn_error $? "Tiff dependencies not found (strict dependencies checking)" "$LINENO" 5
30241 fi
30242
30243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Tiff image loader will be built" >&5
30244 $as_echo_n "checking whether Tiff image loader will be built... " >&6; }
30245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30246 $as_echo "${have_loader}" >&6; }
30247
30248 if test "x${have_loader}" = "xyes" ; then
30249    if test "x${want_loader}" = "xstatic" ; then
30250       have_evas_image_loader_tiff="static"
30251       want_static_loader="yes"
30252    else
30253       have_evas_image_loader_tiff="yes"
30254    fi
30255 fi
30256
30257 if test "x${have_loader}" = "xyes" ; then
30258
30259 $as_echo "#define BUILD_LOADER_TIFF 1" >>confdefs.h
30260
30261 fi
30262
30263  if test "x${have_loader}" = "xyes"; then
30264   BUILD_LOADER_TIFF_TRUE=
30265   BUILD_LOADER_TIFF_FALSE='#'
30266 else
30267   BUILD_LOADER_TIFF_TRUE='#'
30268   BUILD_LOADER_TIFF_FALSE=
30269 fi
30270
30271
30272 if test "x${want_static_loader}" = "xyes" ; then
30273
30274 $as_echo "#define EVAS_STATIC_BUILD_TIFF 1" >>confdefs.h
30275
30276    have_static_module="yes"
30277 fi
30278
30279  if test "x${want_static_loader}" = "xyes"; then
30280   EVAS_STATIC_BUILD_TIFF_TRUE=
30281   EVAS_STATIC_BUILD_TIFF_FALSE='#'
30282 else
30283   EVAS_STATIC_BUILD_TIFF_TRUE='#'
30284   EVAS_STATIC_BUILD_TIFF_FALSE=
30285 fi
30286
30287
30288
30289
30290
30291
30292
30293
30294
30295
30296
30297
30298 want_loader="${want_evas_image_loader_xpm}"
30299 want_static_loader="no"
30300 have_loader="no"
30301 have_evas_image_loader_xpm="no"
30302
30303 # Check whether --enable-image-loader-xpm was given.
30304 if test "${enable_image_loader_xpm+set}" = set; then :
30305   enableval=$enable_image_loader_xpm;
30306     if test "x${enableval}" = "xyes" ; then
30307        want_loader="yes"
30308     else
30309        if test "x${enableval}" = "xstatic" ; then
30310           want_loader="static"
30311        else
30312           want_loader="no"
30313        fi
30314     fi
30315
30316
30317 fi
30318
30319
30320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable XPM image loader" >&5
30321 $as_echo_n "checking whether to enable XPM image loader... " >&6; }
30322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30323 $as_echo "${want_loader}" >&6; }
30324
30325 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30326
30327
30328 have_dep="yes"
30329 evas_image_loader_xpm_cflags=""
30330 evas_image_loader_xpm_libs=""
30331
30332
30333
30334
30335 if test "x${have_dep}" = "xyes" ; then
30336   have_loader="yes"
30337 else
30338   have_loader="no"
30339 fi
30340
30341
30342 fi
30343
30344 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30345    as_fn_error $? "XPM dependencies not found (strict dependencies checking)" "$LINENO" 5
30346 fi
30347
30348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XPM image loader will be built" >&5
30349 $as_echo_n "checking whether XPM image loader will be built... " >&6; }
30350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30351 $as_echo "${have_loader}" >&6; }
30352
30353 if test "x${have_loader}" = "xyes" ; then
30354    if test "x${want_loader}" = "xstatic" ; then
30355       have_evas_image_loader_xpm="static"
30356       want_static_loader="yes"
30357    else
30358       have_evas_image_loader_xpm="yes"
30359    fi
30360 fi
30361
30362 if test "x${have_loader}" = "xyes" ; then
30363
30364 $as_echo "#define BUILD_LOADER_XPM 1" >>confdefs.h
30365
30366 fi
30367
30368  if test "x${have_loader}" = "xyes"; then
30369   BUILD_LOADER_XPM_TRUE=
30370   BUILD_LOADER_XPM_FALSE='#'
30371 else
30372   BUILD_LOADER_XPM_TRUE='#'
30373   BUILD_LOADER_XPM_FALSE=
30374 fi
30375
30376
30377 if test "x${want_static_loader}" = "xyes" ; then
30378
30379 $as_echo "#define EVAS_STATIC_BUILD_XPM 1" >>confdefs.h
30380
30381    have_static_module="yes"
30382 fi
30383
30384  if test "x${want_static_loader}" = "xyes"; then
30385   EVAS_STATIC_BUILD_XPM_TRUE=
30386   EVAS_STATIC_BUILD_XPM_FALSE='#'
30387 else
30388   EVAS_STATIC_BUILD_XPM_TRUE='#'
30389   EVAS_STATIC_BUILD_XPM_FALSE=
30390 fi
30391
30392
30393
30394
30395
30396
30397
30398
30399
30400
30401
30402
30403 want_loader="${want_evas_image_loader_bmp}"
30404 want_static_loader="no"
30405 have_loader="no"
30406 have_evas_image_loader_bmp="no"
30407
30408 # Check whether --enable-image-loader-bmp was given.
30409 if test "${enable_image_loader_bmp+set}" = set; then :
30410   enableval=$enable_image_loader_bmp;
30411     if test "x${enableval}" = "xyes" ; then
30412        want_loader="yes"
30413     else
30414        if test "x${enableval}" = "xstatic" ; then
30415           want_loader="static"
30416        else
30417           want_loader="no"
30418        fi
30419     fi
30420
30421
30422 fi
30423
30424
30425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable BMP image loader" >&5
30426 $as_echo_n "checking whether to enable BMP image loader... " >&6; }
30427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30428 $as_echo "${want_loader}" >&6; }
30429
30430 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30431
30432
30433 have_dep="yes"
30434 evas_image_loader_bmp_cflags=""
30435 evas_image_loader_bmp_libs=""
30436
30437
30438
30439
30440 if test "x${have_dep}" = "xyes" ; then
30441   have_loader="yes"
30442 else
30443   have_loader="no"
30444 fi
30445
30446
30447 fi
30448
30449 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30450    as_fn_error $? "BMP dependencies not found (strict dependencies checking)" "$LINENO" 5
30451 fi
30452
30453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether BMP image loader will be built" >&5
30454 $as_echo_n "checking whether BMP image loader will be built... " >&6; }
30455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30456 $as_echo "${have_loader}" >&6; }
30457
30458 if test "x${have_loader}" = "xyes" ; then
30459    if test "x${want_loader}" = "xstatic" ; then
30460       have_evas_image_loader_bmp="static"
30461       want_static_loader="yes"
30462    else
30463       have_evas_image_loader_bmp="yes"
30464    fi
30465 fi
30466
30467 if test "x${have_loader}" = "xyes" ; then
30468
30469 $as_echo "#define BUILD_LOADER_BMP 1" >>confdefs.h
30470
30471 fi
30472
30473  if test "x${have_loader}" = "xyes"; then
30474   BUILD_LOADER_BMP_TRUE=
30475   BUILD_LOADER_BMP_FALSE='#'
30476 else
30477   BUILD_LOADER_BMP_TRUE='#'
30478   BUILD_LOADER_BMP_FALSE=
30479 fi
30480
30481
30482 if test "x${want_static_loader}" = "xyes" ; then
30483
30484 $as_echo "#define EVAS_STATIC_BUILD_BMP 1" >>confdefs.h
30485
30486    have_static_module="yes"
30487 fi
30488
30489  if test "x${want_static_loader}" = "xyes"; then
30490   EVAS_STATIC_BUILD_BMP_TRUE=
30491   EVAS_STATIC_BUILD_BMP_FALSE='#'
30492 else
30493   EVAS_STATIC_BUILD_BMP_TRUE='#'
30494   EVAS_STATIC_BUILD_BMP_FALSE=
30495 fi
30496
30497
30498
30499
30500
30501
30502
30503
30504
30505
30506
30507
30508 want_loader="${want_evas_image_loader_tga}"
30509 want_static_loader="no"
30510 have_loader="no"
30511 have_evas_image_loader_tga="no"
30512
30513 # Check whether --enable-image-loader-tga was given.
30514 if test "${enable_image_loader_tga+set}" = set; then :
30515   enableval=$enable_image_loader_tga;
30516     if test "x${enableval}" = "xyes" ; then
30517        want_loader="yes"
30518     else
30519        if test "x${enableval}" = "xstatic" ; then
30520           want_loader="static"
30521        else
30522           want_loader="no"
30523        fi
30524     fi
30525
30526
30527 fi
30528
30529
30530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable TGA image loader" >&5
30531 $as_echo_n "checking whether to enable TGA image loader... " >&6; }
30532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30533 $as_echo "${want_loader}" >&6; }
30534
30535 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30536
30537
30538 have_dep="yes"
30539 evas_image_loader_tga_cflags=""
30540 evas_image_loader_tga_libs=""
30541
30542
30543
30544
30545 if test "x${have_dep}" = "xyes" ; then
30546   have_loader="yes"
30547 else
30548   have_loader="no"
30549 fi
30550
30551
30552 fi
30553
30554 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30555    as_fn_error $? "TGA dependencies not found (strict dependencies checking)" "$LINENO" 5
30556 fi
30557
30558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether TGA image loader will be built" >&5
30559 $as_echo_n "checking whether TGA image loader will be built... " >&6; }
30560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30561 $as_echo "${have_loader}" >&6; }
30562
30563 if test "x${have_loader}" = "xyes" ; then
30564    if test "x${want_loader}" = "xstatic" ; then
30565       have_evas_image_loader_tga="static"
30566       want_static_loader="yes"
30567    else
30568       have_evas_image_loader_tga="yes"
30569    fi
30570 fi
30571
30572 if test "x${have_loader}" = "xyes" ; then
30573
30574 $as_echo "#define BUILD_LOADER_TGA 1" >>confdefs.h
30575
30576 fi
30577
30578  if test "x${have_loader}" = "xyes"; then
30579   BUILD_LOADER_TGA_TRUE=
30580   BUILD_LOADER_TGA_FALSE='#'
30581 else
30582   BUILD_LOADER_TGA_TRUE='#'
30583   BUILD_LOADER_TGA_FALSE=
30584 fi
30585
30586
30587 if test "x${want_static_loader}" = "xyes" ; then
30588
30589 $as_echo "#define EVAS_STATIC_BUILD_TGA 1" >>confdefs.h
30590
30591    have_static_module="yes"
30592 fi
30593
30594  if test "x${want_static_loader}" = "xyes"; then
30595   EVAS_STATIC_BUILD_TGA_TRUE=
30596   EVAS_STATIC_BUILD_TGA_FALSE='#'
30597 else
30598   EVAS_STATIC_BUILD_TGA_TRUE='#'
30599   EVAS_STATIC_BUILD_TGA_FALSE=
30600 fi
30601
30602
30603
30604
30605
30606
30607
30608
30609
30610
30611
30612
30613 want_loader="${want_evas_image_loader_wbmp}"
30614 want_static_loader="no"
30615 have_loader="no"
30616 have_evas_image_loader_wbmp="no"
30617
30618 # Check whether --enable-image-loader-wbmp was given.
30619 if test "${enable_image_loader_wbmp+set}" = set; then :
30620   enableval=$enable_image_loader_wbmp;
30621     if test "x${enableval}" = "xyes" ; then
30622        want_loader="yes"
30623     else
30624        if test "x${enableval}" = "xstatic" ; then
30625           want_loader="static"
30626        else
30627           want_loader="no"
30628        fi
30629     fi
30630
30631
30632 fi
30633
30634
30635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable WBMP image loader" >&5
30636 $as_echo_n "checking whether to enable WBMP image loader... " >&6; }
30637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30638 $as_echo "${want_loader}" >&6; }
30639
30640 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30641
30642
30643 have_dep="yes"
30644 evas_image_loader_wbmp_cflags=""
30645 evas_image_loader_wbmp_libs=""
30646
30647
30648
30649
30650 if test "x${have_dep}" = "xyes" ; then
30651   have_loader="yes"
30652 else
30653   have_loader="no"
30654 fi
30655
30656
30657 fi
30658
30659 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30660    as_fn_error $? "WBMP dependencies not found (strict dependencies checking)" "$LINENO" 5
30661 fi
30662
30663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether WBMP image loader will be built" >&5
30664 $as_echo_n "checking whether WBMP image loader will be built... " >&6; }
30665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30666 $as_echo "${have_loader}" >&6; }
30667
30668 if test "x${have_loader}" = "xyes" ; then
30669    if test "x${want_loader}" = "xstatic" ; then
30670       have_evas_image_loader_wbmp="static"
30671       want_static_loader="yes"
30672    else
30673       have_evas_image_loader_wbmp="yes"
30674    fi
30675 fi
30676
30677 if test "x${have_loader}" = "xyes" ; then
30678
30679 $as_echo "#define BUILD_LOADER_WBMP 1" >>confdefs.h
30680
30681 fi
30682
30683  if test "x${have_loader}" = "xyes"; then
30684   BUILD_LOADER_WBMP_TRUE=
30685   BUILD_LOADER_WBMP_FALSE='#'
30686 else
30687   BUILD_LOADER_WBMP_TRUE='#'
30688   BUILD_LOADER_WBMP_FALSE=
30689 fi
30690
30691
30692 if test "x${want_static_loader}" = "xyes" ; then
30693
30694 $as_echo "#define EVAS_STATIC_BUILD_WBMP 1" >>confdefs.h
30695
30696    have_static_module="yes"
30697 fi
30698
30699  if test "x${want_static_loader}" = "xyes"; then
30700   EVAS_STATIC_BUILD_WBMP_TRUE=
30701   EVAS_STATIC_BUILD_WBMP_FALSE='#'
30702 else
30703   EVAS_STATIC_BUILD_WBMP_TRUE='#'
30704   EVAS_STATIC_BUILD_WBMP_FALSE=
30705 fi
30706
30707
30708
30709
30710
30711
30712
30713
30714
30715
30716
30717
30718 want_loader="${want_evas_image_loader_ico}"
30719 want_static_loader="no"
30720 have_loader="no"
30721 have_evas_image_loader_ico="no"
30722
30723 # Check whether --enable-image-loader-ico was given.
30724 if test "${enable_image_loader_ico+set}" = set; then :
30725   enableval=$enable_image_loader_ico;
30726     if test "x${enableval}" = "xyes" ; then
30727        want_loader="yes"
30728     else
30729        if test "x${enableval}" = "xstatic" ; then
30730           want_loader="static"
30731        else
30732           want_loader="no"
30733        fi
30734     fi
30735
30736
30737 fi
30738
30739
30740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ICO image loader" >&5
30741 $as_echo_n "checking whether to enable ICO image loader... " >&6; }
30742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30743 $as_echo "${want_loader}" >&6; }
30744
30745 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30746
30747
30748 have_dep="yes"
30749 evas_image_loader_ico_cflags=""
30750 evas_image_loader_ico_libs=""
30751
30752
30753
30754
30755 if test "x${have_dep}" = "xyes" ; then
30756   have_loader="yes"
30757 else
30758   have_loader="no"
30759 fi
30760
30761
30762 fi
30763
30764 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30765    as_fn_error $? "ICO dependencies not found (strict dependencies checking)" "$LINENO" 5
30766 fi
30767
30768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ICO image loader will be built" >&5
30769 $as_echo_n "checking whether ICO image loader will be built... " >&6; }
30770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30771 $as_echo "${have_loader}" >&6; }
30772
30773 if test "x${have_loader}" = "xyes" ; then
30774    if test "x${want_loader}" = "xstatic" ; then
30775       have_evas_image_loader_ico="static"
30776       want_static_loader="yes"
30777    else
30778       have_evas_image_loader_ico="yes"
30779    fi
30780 fi
30781
30782 if test "x${have_loader}" = "xyes" ; then
30783
30784 $as_echo "#define BUILD_LOADER_ICO 1" >>confdefs.h
30785
30786 fi
30787
30788  if test "x${have_loader}" = "xyes"; then
30789   BUILD_LOADER_ICO_TRUE=
30790   BUILD_LOADER_ICO_FALSE='#'
30791 else
30792   BUILD_LOADER_ICO_TRUE='#'
30793   BUILD_LOADER_ICO_FALSE=
30794 fi
30795
30796
30797 if test "x${want_static_loader}" = "xyes" ; then
30798
30799 $as_echo "#define EVAS_STATIC_BUILD_ICO 1" >>confdefs.h
30800
30801    have_static_module="yes"
30802 fi
30803
30804  if test "x${want_static_loader}" = "xyes"; then
30805   EVAS_STATIC_BUILD_ICO_TRUE=
30806   EVAS_STATIC_BUILD_ICO_FALSE='#'
30807 else
30808   EVAS_STATIC_BUILD_ICO_TRUE='#'
30809   EVAS_STATIC_BUILD_ICO_FALSE=
30810 fi
30811
30812
30813
30814
30815
30816
30817
30818
30819
30820
30821
30822
30823 want_loader="${want_evas_image_loader_psd}"
30824 want_static_loader="no"
30825 have_loader="no"
30826 have_evas_image_loader_psd="no"
30827
30828 # Check whether --enable-image-loader-psd was given.
30829 if test "${enable_image_loader_psd+set}" = set; then :
30830   enableval=$enable_image_loader_psd;
30831     if test "x${enableval}" = "xyes" ; then
30832        want_loader="yes"
30833     else
30834        if test "x${enableval}" = "xstatic" ; then
30835           want_loader="static"
30836        else
30837           want_loader="no"
30838        fi
30839     fi
30840
30841
30842 fi
30843
30844
30845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PSD image loader" >&5
30846 $as_echo_n "checking whether to enable PSD image loader... " >&6; }
30847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30848 $as_echo "${want_loader}" >&6; }
30849
30850 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30851
30852
30853 have_dep="yes"
30854 evas_image_loader_psd_cflags=""
30855 evas_image_loader_psd_libs=""
30856
30857
30858
30859
30860 if test "x${have_dep}" = "xyes" ; then
30861   have_loader="yes"
30862 else
30863   have_loader="no"
30864 fi
30865
30866
30867 fi
30868
30869 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30870    as_fn_error $? "PSD dependencies not found (strict dependencies checking)" "$LINENO" 5
30871 fi
30872
30873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PSD image loader will be built" >&5
30874 $as_echo_n "checking whether PSD image loader will be built... " >&6; }
30875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30876 $as_echo "${have_loader}" >&6; }
30877
30878 if test "x${have_loader}" = "xyes" ; then
30879    if test "x${want_loader}" = "xstatic" ; then
30880       have_evas_image_loader_psd="static"
30881       want_static_loader="yes"
30882    else
30883       have_evas_image_loader_psd="yes"
30884    fi
30885 fi
30886
30887 if test "x${have_loader}" = "xyes" ; then
30888
30889 $as_echo "#define BUILD_LOADER_PSD 1" >>confdefs.h
30890
30891 fi
30892
30893  if test "x${have_loader}" = "xyes"; then
30894   BUILD_LOADER_PSD_TRUE=
30895   BUILD_LOADER_PSD_FALSE='#'
30896 else
30897   BUILD_LOADER_PSD_TRUE='#'
30898   BUILD_LOADER_PSD_FALSE=
30899 fi
30900
30901
30902 if test "x${want_static_loader}" = "xyes" ; then
30903
30904 $as_echo "#define EVAS_STATIC_BUILD_PSD 1" >>confdefs.h
30905
30906    have_static_module="yes"
30907 fi
30908
30909  if test "x${want_static_loader}" = "xyes"; then
30910   EVAS_STATIC_BUILD_PSD_TRUE=
30911   EVAS_STATIC_BUILD_PSD_FALSE='#'
30912 else
30913   EVAS_STATIC_BUILD_PSD_TRUE='#'
30914   EVAS_STATIC_BUILD_PSD_FALSE=
30915 fi
30916
30917
30918
30919
30920
30921
30922
30923
30924
30925
30926
30927
30928 want_loader="${want_evas_image_loader_generic}"
30929 want_static_loader="no"
30930 have_loader="no"
30931 have_evas_image_loader_generic="no"
30932
30933 # Check whether --enable-image-loader-generic was given.
30934 if test "${enable_image_loader_generic+set}" = set; then :
30935   enableval=$enable_image_loader_generic;
30936     if test "x${enableval}" = "xyes" ; then
30937        want_loader="yes"
30938     else
30939        if test "x${enableval}" = "xstatic" ; then
30940           want_loader="static"
30941        else
30942           want_loader="no"
30943        fi
30944     fi
30945
30946
30947 fi
30948
30949
30950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable GENERIC image loader" >&5
30951 $as_echo_n "checking whether to enable GENERIC image loader... " >&6; }
30952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30953 $as_echo "${want_loader}" >&6; }
30954
30955 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30956
30957
30958 have_dep="yes"
30959 evas_image_loader_generic_cflags=""
30960 evas_image_loader_generic_libs=""
30961
30962
30963
30964
30965 if test "x${have_dep}" = "xyes" ; then
30966   have_loader="yes"
30967 else
30968   have_loader="no"
30969 fi
30970
30971
30972 fi
30973
30974 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30975    as_fn_error $? "GENERIC dependencies not found (strict dependencies checking)" "$LINENO" 5
30976 fi
30977
30978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GENERIC image loader will be built" >&5
30979 $as_echo_n "checking whether GENERIC image loader will be built... " >&6; }
30980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30981 $as_echo "${have_loader}" >&6; }
30982
30983 if test "x${have_loader}" = "xyes" ; then
30984    if test "x${want_loader}" = "xstatic" ; then
30985       have_evas_image_loader_generic="static"
30986       want_static_loader="yes"
30987    else
30988       have_evas_image_loader_generic="yes"
30989    fi
30990 fi
30991
30992 if test "x${have_loader}" = "xyes" ; then
30993
30994 $as_echo "#define BUILD_LOADER_GENERIC 1" >>confdefs.h
30995
30996 fi
30997
30998  if test "x${have_loader}" = "xyes"; then
30999   BUILD_LOADER_GENERIC_TRUE=
31000   BUILD_LOADER_GENERIC_FALSE='#'
31001 else
31002   BUILD_LOADER_GENERIC_TRUE='#'
31003   BUILD_LOADER_GENERIC_FALSE=
31004 fi
31005
31006
31007 if test "x${want_static_loader}" = "xyes" ; then
31008
31009 $as_echo "#define EVAS_STATIC_BUILD_GENERIC 1" >>confdefs.h
31010
31011    have_static_module="yes"
31012 fi
31013
31014  if test "x${want_static_loader}" = "xyes"; then
31015   EVAS_STATIC_BUILD_GENERIC_TRUE=
31016   EVAS_STATIC_BUILD_GENERIC_FALSE='#'
31017 else
31018   EVAS_STATIC_BUILD_GENERIC_TRUE='#'
31019   EVAS_STATIC_BUILD_GENERIC_FALSE=
31020 fi
31021
31022
31023
31024
31025
31026
31027
31028 #####################################################################
31029 ## Cpu based optimizations
31030
31031 #######################################
31032 ## PTHREADS
31033 pthread_cflags=""
31034 pthread_libs=""
31035 build_pthreads="no"
31036 has_pthreads="no"
31037 need_pthreads="no"
31038 # basic pthread support
31039 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
31040 if test "x$ac_cv_header_pthread_h" = xyes; then :
31041
31042    has_pthreads="yes"
31043
31044 else
31045
31046    has_pthreads="no"
31047
31048
31049 fi
31050
31051
31052
31053 # sched_getaffinity pthread_attr_setaffinity_np
31054 for ac_header in pthread.h sched.h
31055 do :
31056   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
31057 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
31058 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
31059   cat >>confdefs.h <<_ACEOF
31060 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
31061 _ACEOF
31062
31063     CFLAGS_save="${CFLAGS}"
31064     CFLAGS="${CFLAGS} -pthread"
31065     LIBS_save="${LIBS}"
31066     LIBS="${LIBS} -pthread"
31067     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31068 /* end confdefs.h.  */
31069
31070 #include <pthread.h>
31071 #include <sched.h>
31072
31073 int
31074 main ()
31075 {
31076
31077 pthread_attr_setaffinity_np(NULL, 0, NULL);
31078 pthread_barrier_wait(NULL);
31079
31080   ;
31081   return 0;
31082 }
31083 _ACEOF
31084 if ac_fn_c_try_link "$LINENO"; then :
31085   build_pthreads="yes"
31086 else
31087   build_pthreads="no"
31088 fi
31089 rm -f core conftest.err conftest.$ac_objext \
31090     conftest$ac_exeext conftest.$ac_ext
31091    CFLAGS=${CFLAGS_save}
31092    LIBS=${LIBS_save}
31093
31094 else
31095   build_pthreads="no"
31096 fi
31097
31098 done
31099
31100
31101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_attr_setaffinity_np() and pthread_barrier_wait() are supported" >&5
31102 $as_echo_n "checking whether pthread_attr_setaffinity_np() and pthread_barrier_wait() are supported... " >&6; }
31103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${build_pthreads}" >&5
31104 $as_echo "${build_pthreads}" >&6; }
31105
31106 #######################################
31107 ## Pthread
31108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build pthread code" >&5
31109 $as_echo_n "checking whether to build pthread code... " >&6; }
31110 # Check whether --enable-pthreads was given.
31111 if test "${enable_pthreads+set}" = set; then :
31112   enableval=$enable_pthreads;
31113     if test "x$enableval" = "xyes" ; then
31114       if test "x$build_pthreads" = "xyes"; then
31115         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31116 $as_echo "yes" >&6; }
31117
31118 $as_echo "#define BUILD_PTHREAD 1" >>confdefs.h
31119
31120         build_pthreads="yes"
31121         need_pthreads="yes"
31122       else
31123         if "x$use_strict" = "xyes"; then
31124           as_fn_error $? "pthreads headers or functions not found (strict dependencies checking)" "$LINENO" 5
31125         else
31126           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: pthread headers or functions not found" >&5
31127 $as_echo "no: pthread headers or functions not found" >&6; }
31128         fi
31129       fi
31130     else
31131       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31132 $as_echo "no" >&6; }
31133       build_pthreads="no"
31134     fi
31135
31136 else
31137
31138     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_pthreads" >&5
31139 $as_echo "$build_pthreads" >&6; }
31140     if test "x$build_pthreads" = "xyes" ; then
31141
31142 $as_echo "#define BUILD_PTHREAD 1" >>confdefs.h
31143
31144       need_pthreads="yes"
31145     fi
31146
31147
31148 fi
31149
31150
31151 #######################################
31152 ## Pipe Renderer
31153 build_pipe_render="no"
31154
31155 # Let disable pipe render strongly as it doesn't massively improve performance, but
31156 # just hammer more watt for a few more percent. The code is kept as the understanding
31157 # is that with an async pipeline things will be better.
31158 #
31159 #AC_MSG_CHECKING(whether to build Threaded Pipe Rendering support)
31160 #AC_ARG_ENABLE(pipe-render,
31161 #  AC_HELP_STRING([--enable-pipe-render], [enable threaded pipe rendering support]),
31162 #  [ build_pipe_render=$enableval ]
31163 #)
31164 #AC_MSG_RESULT($build_pipe_render)
31165
31166 #AC_MSG_CHECKING(whether we can build Threaded Pipe Rendering support)
31167 #if test \( "x$build_pipe_render" = "xyes" -o "x$build_pipe_render" = "xauto" \); then
31168 #  AC_MSG_RESULT(yes)
31169 #  AC_DEFINE(BUILD_PIPE_RENDER, 1, [Build pipe render support])
31170 #  build_pipe_render="yes"
31171 #  need_pthreads="yes"
31172 #else
31173 #  AC_MSG_RESULT(no)
31174 #  build_pipe_render="no"
31175 #fi
31176
31177 #######################################
31178 ## Async events
31179 build_async_events="auto"
31180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Async Events support" >&5
31181 $as_echo_n "checking whether to build Async Events support... " >&6; }
31182 # Check whether --enable-async-events was given.
31183 if test "${enable_async_events+set}" = set; then :
31184   enableval=$enable_async_events;  build_async_events=$enableval
31185
31186 fi
31187
31188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_async_events" >&5
31189 $as_echo "$build_async_events" >&6; }
31190
31191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build Async Events support" >&5
31192 $as_echo_n "checking whether we can build Async Events support... " >&6; }
31193 if test "x$build_async_events" = "xyes" || test "x$build_async_events" = "xauto" ; then
31194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31195 $as_echo "yes" >&6; }
31196
31197 $as_echo "#define BUILD_ASYNC_EVENTS 1" >>confdefs.h
31198
31199   build_async_events="yes"
31200 else
31201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31202 $as_echo "no" >&6; }
31203   build_async_events="no"
31204 fi
31205
31206 #######################################
31207 ## Async image preload
31208 build_async_preload="auto"
31209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Async Image Preload support" >&5
31210 $as_echo_n "checking whether to build Async Image Preload support... " >&6; }
31211 # Check whether --enable-async-preload was given.
31212 if test "${enable_async_preload+set}" = set; then :
31213   enableval=$enable_async_preload;  build_async_preload=$enableval
31214
31215 fi
31216
31217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_async_preload" >&5
31218 $as_echo "$build_async_preload" >&6; }
31219
31220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build Async Image Preload support" >&5
31221 $as_echo_n "checking whether we can build Async Image Preload support... " >&6; }
31222 if test \( "x$build_async_preload" = "xyes" -o "x$build_async_preload" = "xauto" \) -a "x$build_async_events" = "xyes"; then
31223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31224 $as_echo "yes" >&6; }
31225
31226 $as_echo "#define BUILD_ASYNC_PRELOAD 1" >>confdefs.h
31227
31228   build_async_preload="yes"
31229   need_pthreads="yes"
31230 else
31231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31232 $as_echo "no" >&6; }
31233   build_async_preload="no"
31234 fi
31235
31236 #######################################
31237 ## Link with pthread if needed
31238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we should link with pthread" >&5
31239 $as_echo_n "checking whether we should link with pthread... " >&6; }
31240 if test "x$need_pthreads" = "xyes"; then
31241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31242 $as_echo "yes" >&6; }
31243   pthread_cflags="-pthread"
31244   pthread_libs="-pthread"
31245 else
31246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31247 $as_echo "no" >&6; }
31248 fi
31249
31250 #######################################
31251 ## MMX
31252 build_cpu_mmx="no"
31253 case $host_cpu in
31254   i*86)
31255     build_cpu_mmx="yes"
31256     ;;
31257   x86_64)
31258     build_cpu_mmx="yes"
31259     ;;
31260   amd64)
31261     build_cpu_mmx="yes"
31262     ;;
31263 esac
31264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build mmx code" >&5
31265 $as_echo_n "checking whether to build mmx code... " >&6; }
31266 # Check whether --enable-cpu-mmx was given.
31267 if test "${enable_cpu_mmx+set}" = set; then :
31268   enableval=$enable_cpu_mmx;
31269       if test "x$enableval" = "xyes" ; then
31270         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31271 $as_echo "yes" >&6; }
31272
31273 $as_echo "#define BUILD_MMX 1" >>confdefs.h
31274
31275         build_cpu_mmx="yes"
31276       else
31277         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31278 $as_echo "no" >&6; }
31279         build_cpu_mmx="no"
31280       fi
31281
31282 else
31283
31284     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_mmx" >&5
31285 $as_echo "$build_cpu_mmx" >&6; }
31286     if test "x$build_cpu_mmx" = "xyes" ; then
31287
31288 $as_echo "#define BUILD_MMX 1" >>confdefs.h
31289
31290     fi
31291
31292
31293 fi
31294
31295
31296 #######################################
31297 ## SSE
31298 build_cpu_sse="no"
31299 case $host_cpu in
31300   i*86)
31301     build_cpu_sse="yes"
31302     ;;
31303   x86_64)
31304     build_cpu_sse="yes"
31305     ;;
31306   amd64)
31307     build_cpu_sse="yes"
31308     ;;
31309 esac
31310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build sse code" >&5
31311 $as_echo_n "checking whether to build sse code... " >&6; }
31312 # Check whether --enable-cpu-sse was given.
31313 if test "${enable_cpu_sse+set}" = set; then :
31314   enableval=$enable_cpu_sse;
31315       if test "x$enableval" = "xyes" ; then
31316         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31317 $as_echo "yes" >&6; }
31318
31319 $as_echo "#define BUILD_SSE 1" >>confdefs.h
31320
31321         build_cpu_sse="yes"
31322       else
31323         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31324 $as_echo "no" >&6; }
31325         build_cpu_sse="no"
31326       fi
31327
31328 else
31329
31330     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_sse" >&5
31331 $as_echo "$build_cpu_sse" >&6; }
31332     if test "x$build_cpu_sse" = "xyes" ; then
31333
31334 $as_echo "#define BUILD_SSE 1" >>confdefs.h
31335
31336     fi
31337
31338
31339 fi
31340
31341
31342 #######################################
31343 ## SSE3
31344 build_cpu_sse3="no"
31345 case $host_cpu in
31346   i*86)
31347     build_cpu_sse3="yes"
31348     ;;
31349   x86_64)
31350     build_cpu_sse3="yes"
31351     ;;
31352   amd64)
31353     build_cpu_sse3="yes"
31354     ;;
31355 esac
31356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build sse3 code" >&5
31357 $as_echo_n "checking whether to build sse3 code... " >&6; }
31358 # Check whether --enable-cpu-sse3 was given.
31359 if test "${enable_cpu_sse3+set}" = set; then :
31360   enableval=$enable_cpu_sse3;
31361       if test "x$enableval" = "xyes" ; then
31362         ac_fn_c_check_header_mongrel "$LINENO" "immintrin.h" "ac_cv_header_immintrin_h" "$ac_includes_default"
31363 if test "x$ac_cv_header_immintrin_h" = xyes; then :
31364
31365             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31366 $as_echo "yes" >&6; }
31367
31368 $as_echo "#define BUILD_SSE3 1" >>confdefs.h
31369
31370             build_cpu_sse3="yes"
31371
31372 else
31373
31374             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31375 $as_echo "no" >&6; }
31376             build_cpu_sse3="no"
31377
31378 fi
31379
31380
31381       else
31382         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31383 $as_echo "no" >&6; }
31384         build_cpu_sse3="no"
31385       fi
31386
31387 else
31388
31389     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_sse3" >&5
31390 $as_echo "$build_cpu_sse3" >&6; }
31391     if test "x$build_cpu_sse3" = "xyes" ; then
31392       ac_fn_c_check_header_mongrel "$LINENO" "immintrin.h" "ac_cv_header_immintrin_h" "$ac_includes_default"
31393 if test "x$ac_cv_header_immintrin_h" = xyes; then :
31394
31395           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31396 $as_echo "yes" >&6; }
31397
31398 $as_echo "#define BUILD_SSE3 1" >>confdefs.h
31399
31400           build_cpu_sse3="yes"
31401
31402 else
31403
31404           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31405 $as_echo "no" >&6; }
31406           build_cpu_sse3="no"
31407
31408 fi
31409
31410
31411     fi
31412
31413
31414 fi
31415
31416
31417
31418 # as a big warning flag to anyone doing stuff like this...
31419 # NEVER EVER EVER EVER put **OPTIMIZATION** flags in
31420 # build flags in makefiles (from configure or anywhere else)
31421 # EVER as this screws your ability to build 1 binary and
31422 # cover ALL x86 arch's. This is the HEIGHT of WRONG. If the
31423 # person building choses to add optimization flags themselves
31424 # and decide the minimum baseline cpu arch is X then that's
31425 # their business, but NEVER should it be done here. NEVER.
31426 # I now have to do this due to the way this sse3 code was done - using
31427 # intrinsics and "functions" (opcodes) and types that only compile *IF*
31428 # you compile with -msse3. this ALSO tries to optimize REGULAR c code
31429 # with sse3 asm.. and this breaks things so badly. so... sse3 will be
31430 # off until further notice for 32bit x86.
31431 EVAS_SSE3_CFLAGS=" "
31432 if test "x$build_cpu_sse3" = "xyes" ; then
31433     EVAS_SSE3_CFLAGS="-msse3 "
31434 #   CFLAGS="${CFLAGS} ${EVAS_SSE3_CFLAGS}"
31435 fi
31436
31437
31438
31439
31440 #######################################
31441 ## ALTIVEC
31442 build_cpu_altivec="no"
31443 case $host_cpu in
31444   *power* | *ppc*)
31445     build_cpu_altivec="auto"
31446     ;;
31447 esac
31448 altivec_cflags=""
31449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build altivec code" >&5
31450 $as_echo_n "checking whether to build altivec code... " >&6; }
31451 # Check whether --enable-cpu-altivec was given.
31452 if test "${enable_cpu_altivec+set}" = set; then :
31453   enableval=$enable_cpu_altivec;  build_cpu_altivec=$enableval
31454 else
31455
31456     if test ! "x$build_cpu_altivec" = "xauto"; then
31457       build_cpu_altivec="no"
31458     fi
31459
31460
31461 fi
31462
31463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_altivec" >&5
31464 $as_echo "$build_cpu_altivec" >&6; }
31465
31466 if test "x$build_cpu_altivec" = "xyes"; then
31467    ac_fn_c_check_header_mongrel "$LINENO" "altivec.h" "ac_cv_header_altivec_h" "$ac_includes_default"
31468 if test "x$ac_cv_header_altivec_h" = xyes; then :
31469
31470
31471 $as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
31472
31473
31474 $as_echo "#define HAVE_ALTIVEC_H 1" >>confdefs.h
31475
31476         build_cpu_altivec="yes"
31477
31478 else
31479
31480        save_CFLAGS=$CFLAGS
31481        save_CPPFLAGS=$CPPFLAGS
31482        CFLAGS=$CFLAGS" -maltivec"
31483        CPPFLAGS=$CPPFLAGS" -maltivec"
31484        unset ac_cv_header_altivec_h
31485        ac_fn_c_check_header_mongrel "$LINENO" "altivec.h" "ac_cv_header_altivec_h" "$ac_includes_default"
31486 if test "x$ac_cv_header_altivec_h" = xyes; then :
31487
31488
31489 $as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
31490
31491
31492 $as_echo "#define HAVE_ALTIVEC_H 1" >>confdefs.h
31493
31494             build_cpu_altivec="yes"
31495
31496 else
31497
31498             if test "x$build_cpu_altivec" = "xyes" -a "x$use_strict" = "xyes" ; then
31499               as_fn_error $? "Altivec not found (strict dependencies checking)" "$LINENO" 5
31500             fi
31501             build_cpu_altivec="no"
31502
31503
31504 fi
31505
31506
31507        CFLAGS=$save_CFLAGS
31508        CPPFLAGS=$save_CPPFLAGS
31509
31510
31511 fi
31512
31513
31514 fi
31515
31516 if test "x$build_cpu_altivec" = "xyes"; then
31517    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use altivec compiler flag" >&5
31518 $as_echo_n "checking whether to use altivec compiler flag... " >&6; }
31519    if test "x$GCC" = "xyes"; then
31520       if echo "int main(){return 0;}" | ${CPP} -faltivec - > /dev/null 2>&1; then
31521          altivec_cflags="-faltivec"
31522
31523 $as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
31524
31525       elif echo "int main(){return 0;}" | ${CPP} -maltivec - > /dev/null 2>&1; then
31526          altivec_cflags="-maltivec"
31527
31528 $as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
31529
31530       fi
31531    fi
31532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $altivec_cflags" >&5
31533 $as_echo "$altivec_cflags" >&6; }
31534    CFLAGS="$CFLAGS $altivec_cflags"
31535 fi
31536
31537 #######################################
31538 ## NEON
31539 build_cpu_neon="no"
31540 case $host_cpu in
31541   arm*)
31542     build_cpu_neon="yes"
31543     ;;
31544 esac
31545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build neon code" >&5
31546 $as_echo_n "checking whether to build neon code... " >&6; }
31547 # Check whether --enable-cpu-neon was given.
31548 if test "${enable_cpu_neon+set}" = set; then :
31549   enableval=$enable_cpu_neon;
31550      if test "x$enableval" = "xyes" ; then
31551        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31552 /* end confdefs.h.  */
31553
31554 int
31555 main ()
31556 {
31557 asm volatile (".fpu neon\nvqadd.u8 d0, d1, d0\n")
31558   ;
31559   return 0;
31560 }
31561 _ACEOF
31562 if ac_fn_c_try_compile "$LINENO"; then :
31563
31564           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31565 $as_echo "yes" >&6; }
31566
31567 $as_echo "#define BUILD_NEON 1" >>confdefs.h
31568
31569           build_cpu_neon="yes"
31570
31571 else
31572
31573           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31574 $as_echo "no" >&6; }
31575           build_cpu_neon="no"
31576
31577 fi
31578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31579       else
31580         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31581 $as_echo "no" >&6; }
31582         build_cpu_neon="no"
31583       fi
31584
31585 else
31586
31587     if test "x$build_cpu_neon" = "xyes" ; then
31588        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31589 /* end confdefs.h.  */
31590 #include <arm_neon.h>
31591 int
31592 main ()
31593 {
31594 asm volatile ("vqadd.u8 d0, d1, d0\n")
31595   ;
31596   return 0;
31597 }
31598 _ACEOF
31599 if ac_fn_c_try_compile "$LINENO"; then :
31600
31601           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31602 $as_echo "yes" >&6; }
31603
31604 $as_echo "#define BUILD_NEON 1" >>confdefs.h
31605
31606           build_cpu_neon="yes"
31607
31608 else
31609
31610           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31611 $as_echo "no" >&6; }
31612           build_cpu_neon="no"
31613
31614 fi
31615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31616     fi
31617
31618
31619 fi
31620
31621
31622 #######################################
31623 ## C
31624 build_cpu_c="yes"
31625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build c code" >&5
31626 $as_echo_n "checking whether to build c code... " >&6; }
31627 # Check whether --enable-cpu-c was given.
31628 if test "${enable_cpu_c+set}" = set; then :
31629   enableval=$enable_cpu_c;
31630       if test "x$enableval" = "xyes" ; then
31631         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31632 $as_echo "yes" >&6; }
31633
31634 $as_echo "#define BUILD_C 1" >>confdefs.h
31635
31636         build_cpu_c="yes"
31637       else
31638         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31639 $as_echo "no" >&6; }
31640         build_cpu_c="no"
31641       fi
31642
31643 else
31644
31645       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_c" >&5
31646 $as_echo "$build_cpu_c" >&6; }
31647       if test "x$build_cpu_c" = "xyes" ; then
31648
31649 $as_echo "#define BUILD_C 1" >>confdefs.h
31650
31651       fi
31652
31653
31654 fi
31655
31656
31657 #######################################
31658 ## MAGIC_DEBUG
31659 want_evas_magic_debug="yes"
31660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to check magic for evas object" >&5
31661 $as_echo_n "checking whether to check magic for evas object... " >&6; }
31662 # Check whether --enable-evas-magic-debug was given.
31663 if test "${enable_evas_magic_debug+set}" = set; then :
31664   enableval=$enable_evas_magic_debug;  want_evas_magic_debug="$enableval"
31665
31666 fi
31667
31668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_evas_magic_debug" >&5
31669 $as_echo "$want_evas_magic_debug" >&6; }
31670
31671  if test "x$want_evas_magic_debug" = "xyes"; then
31672   EVAS_MAGIC_DEBUG_TRUE=
31673   EVAS_MAGIC_DEBUG_FALSE='#'
31674 else
31675   EVAS_MAGIC_DEBUG_TRUE='#'
31676   EVAS_MAGIC_DEBUG_FALSE=
31677 fi
31678
31679 if test "x$want_evas_magic_debug" = "xyes"; then
31680
31681 $as_echo "#define EVAS_MAGIC_DEBUG 1" >>confdefs.h
31682
31683 fi
31684
31685 #####################################################################
31686 ## ARGB engine options
31687
31688 #######################################
31689 ## Nearest sampling scaler
31690
31691
31692 # Check whether --enable-scale-sample was given.
31693 if test "${enable_scale_sample+set}" = set; then :
31694   enableval=$enable_scale_sample;
31695     if test "x${enableval}" = "xyes" ; then
31696        _efl_enable_scaler_option_scale_sample="yes"
31697     else
31698        _efl_enable_scaler_option_scale_sample="no"
31699     fi
31700
31701 else
31702   _efl_enable_scaler_option_scale_sample="yes"
31703 fi
31704
31705
31706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build sampling scaler" >&5
31707 $as_echo_n "checking whether to build sampling scaler... " >&6; }
31708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_scaler_option_scale_sample}" >&5
31709 $as_echo "${_efl_enable_scaler_option_scale_sample}" >&6; }
31710
31711 if test "x${_efl_enable_scaler_option_scale_sample}" = "xyes" ; then
31712
31713 $as_echo "#define BUILD_SCALE_SAMPLE 1" >>confdefs.h
31714
31715 fi
31716
31717 if test "x${_efl_enable_scaler_option_scale_sample}" = "xyes" ; then
31718    scaler_sample="yes"
31719 else
31720    scaler_sample="no"
31721 fi
31722
31723
31724
31725
31726 ## Smooth super and sub sampling scaler
31727
31728
31729 # Check whether --enable-scale-smooth was given.
31730 if test "${enable_scale_smooth+set}" = set; then :
31731   enableval=$enable_scale_smooth;
31732     if test "x${enableval}" = "xyes" ; then
31733        _efl_enable_scaler_option_scale_smooth="yes"
31734     else
31735        _efl_enable_scaler_option_scale_smooth="no"
31736     fi
31737
31738 else
31739   _efl_enable_scaler_option_scale_smooth="yes"
31740 fi
31741
31742
31743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build smooth scaler" >&5
31744 $as_echo_n "checking whether to build smooth scaler... " >&6; }
31745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_scaler_option_scale_smooth}" >&5
31746 $as_echo "${_efl_enable_scaler_option_scale_smooth}" >&6; }
31747
31748 if test "x${_efl_enable_scaler_option_scale_smooth}" = "xyes" ; then
31749
31750 $as_echo "#define BUILD_SCALE_SMOOTH 1" >>confdefs.h
31751
31752 fi
31753
31754 if test "x${_efl_enable_scaler_option_scale_smooth}" = "xyes" ; then
31755    scaler_smooth="yes"
31756 else
31757    scaler_smooth="no"
31758 fi
31759
31760
31761
31762
31763
31764 #######################################
31765 ## YUV -> ARGB converter
31766 conv_yuv="no"
31767 conv_yuv="yes"
31768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build yuv converter code" >&5
31769 $as_echo_n "checking whether to build yuv converter code... " >&6; }
31770 # Check whether --enable-convert-yuv was given.
31771 if test "${enable_convert_yuv+set}" = set; then :
31772   enableval=$enable_convert_yuv;
31773       if test "x$enableval" = "xyes" ; then
31774         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31775 $as_echo "yes" >&6; }
31776
31777 $as_echo "#define BUILD_CONVERT_YUV 1" >>confdefs.h
31778
31779         conv_yuv="yes"
31780       else
31781         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31782 $as_echo "no" >&6; }
31783         conv_yuv="no"
31784       fi
31785
31786 else
31787
31788       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_yuv" >&5
31789 $as_echo "$conv_yuv" >&6; }
31790       if test "x$conv_yuv" = "xyes" ; then
31791
31792 $as_echo "#define BUILD_CONVERT_YUV 1" >>confdefs.h
31793
31794       fi
31795
31796
31797 fi
31798
31799
31800 #####################################################################
31801 ## Output rendering features
31802
31803 #######################################
31804 ## Small dither mask instead of big one (lower quality)
31805
31806
31807 # Check whether --enable-small-dither-mask was given.
31808 if test "${enable_small_dither_mask+set}" = set; then :
31809   enableval=$enable_small_dither_mask;
31810     if test "x${enableval}" = "xyes" ; then
31811        _efl_enable_dither_option_small_dither_mask="yes"
31812     else
31813        _efl_enable_dither_option_small_dither_mask="no"
31814     fi
31815
31816 else
31817   _efl_enable_dither_option_small_dither_mask="no"
31818 fi
31819
31820
31821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build small dither mask" >&5
31822 $as_echo_n "checking whether to build small dither mask... " >&6; }
31823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_dither_option_small_dither_mask}" >&5
31824 $as_echo "${_efl_enable_dither_option_small_dither_mask}" >&6; }
31825
31826 if test "x${_efl_enable_dither_option_small_dither_mask}" = "xyes" ; then
31827
31828 $as_echo "#define BUILD_SMALL_DITHER_MASK 1" >>confdefs.h
31829
31830 fi
31831
31832 if test "x${_efl_enable_dither_option_small_dither_mask}" = "xyes" ; then
31833    conv_small_dither="yes"
31834 else
31835    conv_small_dither="no"
31836 fi
31837
31838
31839
31840
31841 ## Alternate Line dither mask instead of big one (lower quality - but fastest)
31842
31843
31844 # Check whether --enable-line-dither-mask was given.
31845 if test "${enable_line_dither_mask+set}" = set; then :
31846   enableval=$enable_line_dither_mask;
31847     if test "x${enableval}" = "xyes" ; then
31848        _efl_enable_dither_option_line_dither_mask="yes"
31849     else
31850        _efl_enable_dither_option_line_dither_mask="no"
31851     fi
31852
31853 else
31854   _efl_enable_dither_option_line_dither_mask="no"
31855 fi
31856
31857
31858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build line dither mask" >&5
31859 $as_echo_n "checking whether to build line dither mask... " >&6; }
31860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_dither_option_line_dither_mask}" >&5
31861 $as_echo "${_efl_enable_dither_option_line_dither_mask}" >&6; }
31862
31863 if test "x${_efl_enable_dither_option_line_dither_mask}" = "xyes" ; then
31864
31865 $as_echo "#define BUILD_LINE_DITHER_MASK 1" >>confdefs.h
31866
31867 fi
31868
31869 if test "x${_efl_enable_dither_option_line_dither_mask}" = "xyes" ; then
31870    conv_line_dither="yes"
31871 else
31872    conv_line_dither="no"
31873 fi
31874
31875
31876
31877
31878 ## No dither mask at all for 16bpp
31879
31880
31881 # Check whether --enable-no-dither-mask was given.
31882 if test "${enable_no_dither_mask+set}" = set; then :
31883   enableval=$enable_no_dither_mask;
31884     if test "x${enableval}" = "xyes" ; then
31885        _efl_enable_dither_option_no_dither_mask="yes"
31886     else
31887        _efl_enable_dither_option_no_dither_mask="no"
31888     fi
31889
31890 else
31891   _efl_enable_dither_option_no_dither_mask="no"
31892 fi
31893
31894
31895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build conversion to 16bpp without dither mask" >&5
31896 $as_echo_n "checking whether to build conversion to 16bpp without dither mask... " >&6; }
31897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_dither_option_no_dither_mask}" >&5
31898 $as_echo "${_efl_enable_dither_option_no_dither_mask}" >&6; }
31899
31900 if test "x${_efl_enable_dither_option_no_dither_mask}" = "xyes" ; then
31901
31902 $as_echo "#define BUILD_NO_DITHER_MASK 1" >>confdefs.h
31903
31904 fi
31905
31906 if test "x${_efl_enable_dither_option_no_dither_mask}" = "xyes" ; then
31907    conv_no_dither="yes"
31908 else
31909    conv_no_dither="no"
31910 fi
31911
31912
31913
31914
31915
31916 #######################################
31917 ## Convert to 8bpp RGB 332
31918
31919
31920 conv_8_rgb_332="no"
31921
31922
31923   # Check whether --enable-convert-8-rgb-332 was given.
31924 if test "${enable_convert_8_rgb_332+set}" = set; then :
31925   enableval=$enable_convert_8_rgb_332;  conv_8_rgb_332=$enableval
31926 else
31927    conv_8_rgb_332=yes
31928
31929 fi
31930
31931
31932
31933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 332 converter code" >&5
31934 $as_echo_n "checking whether to build 8bpp RGB 332 converter code... " >&6; }
31935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_332" >&5
31936 $as_echo "$conv_8_rgb_332" >&6; }
31937
31938 if test "x$conv_8_rgb_332" = "xyes" ; then
31939
31940 $as_echo "#define BUILD_CONVERT_8_RGB_332 1" >>confdefs.h
31941
31942 fi
31943
31944
31945
31946
31947
31948 ## Convert to 8bpp RGB 666
31949
31950
31951 conv_8_rgb_666="no"
31952
31953
31954   # Check whether --enable-convert-8-rgb-666 was given.
31955 if test "${enable_convert_8_rgb_666+set}" = set; then :
31956   enableval=$enable_convert_8_rgb_666;  conv_8_rgb_666=$enableval
31957 else
31958    conv_8_rgb_666=yes
31959
31960 fi
31961
31962
31963
31964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 666 converter code" >&5
31965 $as_echo_n "checking whether to build 8bpp RGB 666 converter code... " >&6; }
31966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_666" >&5
31967 $as_echo "$conv_8_rgb_666" >&6; }
31968
31969 if test "x$conv_8_rgb_666" = "xyes" ; then
31970
31971 $as_echo "#define BUILD_CONVERT_8_RGB_666 1" >>confdefs.h
31972
31973 fi
31974
31975
31976
31977
31978
31979 ## Convert to 8bpp RGB 232
31980
31981
31982 conv_8_rgb_232="no"
31983
31984
31985   # Check whether --enable-convert-8-rgb-232 was given.
31986 if test "${enable_convert_8_rgb_232+set}" = set; then :
31987   enableval=$enable_convert_8_rgb_232;  conv_8_rgb_232=$enableval
31988 else
31989    conv_8_rgb_232=yes
31990
31991 fi
31992
31993
31994
31995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 232 converter code" >&5
31996 $as_echo_n "checking whether to build 8bpp RGB 232 converter code... " >&6; }
31997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_232" >&5
31998 $as_echo "$conv_8_rgb_232" >&6; }
31999
32000 if test "x$conv_8_rgb_232" = "xyes" ; then
32001
32002 $as_echo "#define BUILD_CONVERT_8_RGB_232 1" >>confdefs.h
32003
32004 fi
32005
32006
32007
32008
32009
32010 ## Convert to 8bpp RGB 222
32011
32012
32013 conv_8_rgb_222="no"
32014
32015
32016   # Check whether --enable-convert-8-rgb-222 was given.
32017 if test "${enable_convert_8_rgb_222+set}" = set; then :
32018   enableval=$enable_convert_8_rgb_222;  conv_8_rgb_222=$enableval
32019 else
32020    conv_8_rgb_222=yes
32021
32022 fi
32023
32024
32025
32026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 222 converter code" >&5
32027 $as_echo_n "checking whether to build 8bpp RGB 222 converter code... " >&6; }
32028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_222" >&5
32029 $as_echo "$conv_8_rgb_222" >&6; }
32030
32031 if test "x$conv_8_rgb_222" = "xyes" ; then
32032
32033 $as_echo "#define BUILD_CONVERT_8_RGB_222 1" >>confdefs.h
32034
32035 fi
32036
32037
32038
32039
32040
32041 ## Convert to 8bpp RGB 221
32042
32043
32044 conv_8_rgb_221="no"
32045
32046
32047   # Check whether --enable-convert-8-rgb-221 was given.
32048 if test "${enable_convert_8_rgb_221+set}" = set; then :
32049   enableval=$enable_convert_8_rgb_221;  conv_8_rgb_221=$enableval
32050 else
32051    conv_8_rgb_221=yes
32052
32053 fi
32054
32055
32056
32057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 221 converter code" >&5
32058 $as_echo_n "checking whether to build 8bpp RGB 221 converter code... " >&6; }
32059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_221" >&5
32060 $as_echo "$conv_8_rgb_221" >&6; }
32061
32062 if test "x$conv_8_rgb_221" = "xyes" ; then
32063
32064 $as_echo "#define BUILD_CONVERT_8_RGB_221 1" >>confdefs.h
32065
32066 fi
32067
32068
32069
32070
32071
32072 ## Convert to 8bpp RGB 121
32073
32074
32075 conv_8_rgb_121="no"
32076
32077
32078   # Check whether --enable-convert-8-rgb-121 was given.
32079 if test "${enable_convert_8_rgb_121+set}" = set; then :
32080   enableval=$enable_convert_8_rgb_121;  conv_8_rgb_121=$enableval
32081 else
32082    conv_8_rgb_121=yes
32083
32084 fi
32085
32086
32087
32088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 121 converter code" >&5
32089 $as_echo_n "checking whether to build 8bpp RGB 121 converter code... " >&6; }
32090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_121" >&5
32091 $as_echo "$conv_8_rgb_121" >&6; }
32092
32093 if test "x$conv_8_rgb_121" = "xyes" ; then
32094
32095 $as_echo "#define BUILD_CONVERT_8_RGB_121 1" >>confdefs.h
32096
32097 fi
32098
32099
32100
32101
32102
32103 ## Convert to 8bpp RGB 111
32104
32105
32106 conv_8_rgb_111="no"
32107
32108
32109   # Check whether --enable-convert-8-rgb-111 was given.
32110 if test "${enable_convert_8_rgb_111+set}" = set; then :
32111   enableval=$enable_convert_8_rgb_111;  conv_8_rgb_111=$enableval
32112 else
32113    conv_8_rgb_111=yes
32114
32115 fi
32116
32117
32118
32119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 111 converter code" >&5
32120 $as_echo_n "checking whether to build 8bpp RGB 111 converter code... " >&6; }
32121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_111" >&5
32122 $as_echo "$conv_8_rgb_111" >&6; }
32123
32124 if test "x$conv_8_rgb_111" = "xyes" ; then
32125
32126 $as_echo "#define BUILD_CONVERT_8_RGB_111 1" >>confdefs.h
32127
32128 fi
32129
32130
32131
32132
32133
32134 ## Convert to 16bpp RGB 565
32135
32136
32137 conv_16_rgb_565="no"
32138
32139
32140   # Check whether --enable-convert-16-rgb-565 was given.
32141 if test "${enable_convert_16_rgb_565+set}" = set; then :
32142   enableval=$enable_convert_16_rgb_565;  conv_16_rgb_565=$enableval
32143 else
32144    conv_16_rgb_565=yes
32145
32146 fi
32147
32148
32149
32150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB 565 converter code" >&5
32151 $as_echo_n "checking whether to build 16bpp RGB 565 converter code... " >&6; }
32152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_565" >&5
32153 $as_echo "$conv_16_rgb_565" >&6; }
32154
32155 if test "x$conv_16_rgb_565" = "xyes" ; then
32156
32157 $as_echo "#define BUILD_CONVERT_16_RGB_565 1" >>confdefs.h
32158
32159 fi
32160
32161
32162
32163
32164
32165 ## Convert to 16bpp BGR 565
32166
32167
32168 conv_16_bgr_565="no"
32169
32170
32171   # Check whether --enable-convert-16-bgr-565 was given.
32172 if test "${enable_convert_16_bgr_565+set}" = set; then :
32173   enableval=$enable_convert_16_bgr_565;  conv_16_bgr_565=$enableval
32174 else
32175    conv_16_bgr_565=yes
32176
32177 fi
32178
32179
32180
32181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp BGR 565 converter code" >&5
32182 $as_echo_n "checking whether to build 16bpp BGR 565 converter code... " >&6; }
32183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_bgr_565" >&5
32184 $as_echo "$conv_16_bgr_565" >&6; }
32185
32186 if test "x$conv_16_bgr_565" = "xyes" ; then
32187
32188 $as_echo "#define BUILD_CONVERT_16_BGR_565 1" >>confdefs.h
32189
32190 fi
32191
32192
32193
32194
32195
32196 ## Convert to 16bpp RGB 555
32197
32198
32199 conv_16_rgb_555="no"
32200
32201
32202   # Check whether --enable-convert-16-rgb-555 was given.
32203 if test "${enable_convert_16_rgb_555+set}" = set; then :
32204   enableval=$enable_convert_16_rgb_555;  conv_16_rgb_555=$enableval
32205 else
32206    conv_16_rgb_555=yes
32207
32208 fi
32209
32210
32211
32212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB 555 converter code" >&5
32213 $as_echo_n "checking whether to build 16bpp RGB 555 converter code... " >&6; }
32214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_555" >&5
32215 $as_echo "$conv_16_rgb_555" >&6; }
32216
32217 if test "x$conv_16_rgb_555" = "xyes" ; then
32218
32219 $as_echo "#define BUILD_CONVERT_16_RGB_555 1" >>confdefs.h
32220
32221 fi
32222
32223
32224
32225
32226
32227 ## Convert to 16bpp RGB 444
32228
32229
32230 conv_16_rgb_444="no"
32231
32232
32233   # Check whether --enable-convert-16-rgb-444 was given.
32234 if test "${enable_convert_16_rgb_444+set}" = set; then :
32235   enableval=$enable_convert_16_rgb_444;  conv_16_rgb_444=$enableval
32236 else
32237    conv_16_rgb_444=yes
32238
32239 fi
32240
32241
32242
32243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB 444 converter code" >&5
32244 $as_echo_n "checking whether to build 16bpp RGB 444 converter code... " >&6; }
32245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_444" >&5
32246 $as_echo "$conv_16_rgb_444" >&6; }
32247
32248 if test "x$conv_16_rgb_444" = "xyes" ; then
32249
32250 $as_echo "#define BUILD_CONVERT_16_RGB_444 1" >>confdefs.h
32251
32252 fi
32253
32254
32255
32256
32257
32258
32259 #######################################
32260 ## Convert to 16bpp RGB 565 (444 ipaq)
32261 conv_16_rgb_ipq="yes"
32262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp 565 (444 ipaq) converter code" >&5
32263 $as_echo_n "checking whether to build 16bpp 565 (444 ipaq) converter code... " >&6; }
32264 # Check whether --enable-convert-16-rgb-ipq was given.
32265 if test "${enable_convert_16_rgb_ipq+set}" = set; then :
32266   enableval=$enable_convert_16_rgb_ipq;
32267       if test "x$enableval" = "xyes" ; then
32268
32269 $as_echo "#define BUILD_CONVERT_16_RGB_454645 1" >>confdefs.h
32270
32271         conv_16_rgb_ipq="yes"
32272       else
32273         conv_16_rgb_ipq="no"
32274       fi
32275
32276 else
32277
32278       if test "x$conv_16_rgb_ipq" = "xyes" ; then
32279
32280 $as_echo "#define BUILD_CONVERT_16_RGB_454645 1" >>confdefs.h
32281
32282       fi
32283
32284
32285 fi
32286
32287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_ipq" >&5
32288 $as_echo "$conv_16_rgb_ipq" >&6; }
32289
32290 #######################################
32291 ## Convert to 16bpp RGB with rotation of 0
32292
32293
32294 conv_16_rgb_rot_0="no"
32295
32296
32297   # Check whether --enable-convert-16-rgb-rot-0 was given.
32298 if test "${enable_convert_16_rgb_rot_0+set}" = set; then :
32299   enableval=$enable_convert_16_rgb_rot_0;  conv_16_rgb_rot_0=$enableval
32300 else
32301    conv_16_rgb_rot_0=yes
32302
32303 fi
32304
32305
32306
32307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 0 converter code" >&5
32308 $as_echo_n "checking whether to build 16bpp RGB rotation 0 converter code... " >&6; }
32309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_0" >&5
32310 $as_echo "$conv_16_rgb_rot_0" >&6; }
32311
32312 if test "x$conv_16_rgb_rot_0" = "xyes" ; then
32313
32314 $as_echo "#define BUILD_CONVERT_16_RGB_ROT0 1" >>confdefs.h
32315
32316 fi
32317
32318
32319
32320
32321
32322 ## Convert to 16bpp RGB with rotation of 180
32323
32324
32325 conv_16_rgb_rot_180="no"
32326
32327
32328   # Check whether --enable-convert-16-rgb-rot-180 was given.
32329 if test "${enable_convert_16_rgb_rot_180+set}" = set; then :
32330   enableval=$enable_convert_16_rgb_rot_180;  conv_16_rgb_rot_180=$enableval
32331 else
32332    conv_16_rgb_rot_180=yes
32333
32334 fi
32335
32336
32337
32338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 180 converter code" >&5
32339 $as_echo_n "checking whether to build 16bpp RGB rotation 180 converter code... " >&6; }
32340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_180" >&5
32341 $as_echo "$conv_16_rgb_rot_180" >&6; }
32342
32343 if test "x$conv_16_rgb_rot_180" = "xyes" ; then
32344
32345 $as_echo "#define BUILD_CONVERT_16_RGB_ROT180 1" >>confdefs.h
32346
32347 fi
32348
32349
32350
32351
32352
32353 ## Convert to 16bpp RGB with rotation of 270
32354
32355
32356 conv_16_rgb_rot_270="no"
32357
32358
32359   # Check whether --enable-convert-16-rgb-rot-270 was given.
32360 if test "${enable_convert_16_rgb_rot_270+set}" = set; then :
32361   enableval=$enable_convert_16_rgb_rot_270;  conv_16_rgb_rot_270=$enableval
32362 else
32363    conv_16_rgb_rot_270=yes
32364
32365 fi
32366
32367
32368
32369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 270 converter code" >&5
32370 $as_echo_n "checking whether to build 16bpp RGB rotation 270 converter code... " >&6; }
32371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_270" >&5
32372 $as_echo "$conv_16_rgb_rot_270" >&6; }
32373
32374 if test "x$conv_16_rgb_rot_270" = "xyes" ; then
32375
32376 $as_echo "#define BUILD_CONVERT_16_RGB_ROT270 1" >>confdefs.h
32377
32378 fi
32379
32380
32381
32382
32383
32384 ## Convert to 16bpp RGB with rotation of 90
32385
32386
32387 conv_16_rgb_rot_90="no"
32388
32389
32390   # Check whether --enable-convert-16-rgb-rot-90 was given.
32391 if test "${enable_convert_16_rgb_rot_90+set}" = set; then :
32392   enableval=$enable_convert_16_rgb_rot_90;  conv_16_rgb_rot_90=$enableval
32393 else
32394    conv_16_rgb_rot_90=yes
32395
32396 fi
32397
32398
32399
32400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 90 converter code" >&5
32401 $as_echo_n "checking whether to build 16bpp RGB rotation 90 converter code... " >&6; }
32402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_90" >&5
32403 $as_echo "$conv_16_rgb_rot_90" >&6; }
32404
32405 if test "x$conv_16_rgb_rot_90" = "xyes" ; then
32406
32407 $as_echo "#define BUILD_CONVERT_16_RGB_ROT90 1" >>confdefs.h
32408
32409 fi
32410
32411
32412
32413
32414
32415
32416 #######################################
32417 ## Convert to 24bpp RGB 888
32418
32419
32420 conv_24_rgb_888="no"
32421
32422
32423   # Check whether --enable-convert-24-rgb-888 was given.
32424 if test "${enable_convert_24_rgb_888+set}" = set; then :
32425   enableval=$enable_convert_24_rgb_888;  conv_24_rgb_888=$enableval
32426 else
32427    conv_24_rgb_888=yes
32428
32429 fi
32430
32431
32432
32433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 24bpp RGB 888 converter code" >&5
32434 $as_echo_n "checking whether to build 24bpp RGB 888 converter code... " >&6; }
32435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_24_rgb_888" >&5
32436 $as_echo "$conv_24_rgb_888" >&6; }
32437
32438 if test "x$conv_24_rgb_888" = "xyes" ; then
32439
32440 $as_echo "#define BUILD_CONVERT_24_RGB_888 1" >>confdefs.h
32441
32442 fi
32443
32444
32445
32446
32447
32448 ## Convert to 24bpp BGR 888
32449
32450
32451 conv_24_bgr_888="no"
32452
32453
32454   # Check whether --enable-convert-24-bgr-888 was given.
32455 if test "${enable_convert_24_bgr_888+set}" = set; then :
32456   enableval=$enable_convert_24_bgr_888;  conv_24_bgr_888=$enableval
32457 else
32458    conv_24_bgr_888=yes
32459
32460 fi
32461
32462
32463
32464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 24bpp BGR 888 converter code" >&5
32465 $as_echo_n "checking whether to build 24bpp BGR 888 converter code... " >&6; }
32466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_24_bgr_888" >&5
32467 $as_echo "$conv_24_bgr_888" >&6; }
32468
32469 if test "x$conv_24_bgr_888" = "xyes" ; then
32470
32471 $as_echo "#define BUILD_CONVERT_24_BGR_888 1" >>confdefs.h
32472
32473 fi
32474
32475
32476
32477
32478
32479 ## Convert to 32bpp RGB 8888
32480
32481
32482 conv_32_rgb_8888="no"
32483
32484
32485   # Check whether --enable-convert-32-rgb-8888 was given.
32486 if test "${enable_convert_32_rgb_8888+set}" = set; then :
32487   enableval=$enable_convert_32_rgb_8888;  conv_32_rgb_8888=$enableval
32488 else
32489    conv_32_rgb_8888=yes
32490
32491 fi
32492
32493
32494
32495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB 8888 converter code" >&5
32496 $as_echo_n "checking whether to build 32bpp RGB 8888 converter code... " >&6; }
32497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_8888" >&5
32498 $as_echo "$conv_32_rgb_8888" >&6; }
32499
32500 if test "x$conv_32_rgb_8888" = "xyes" ; then
32501
32502 $as_echo "#define BUILD_CONVERT_32_RGB_8888 1" >>confdefs.h
32503
32504 fi
32505
32506
32507
32508
32509
32510 ## Convert to 32bpp RGBX 8888
32511
32512
32513 conv_32_rgbx_8888="no"
32514
32515
32516   # Check whether --enable-convert-32-rgbx-8888 was given.
32517 if test "${enable_convert_32_rgbx_8888+set}" = set; then :
32518   enableval=$enable_convert_32_rgbx_8888;  conv_32_rgbx_8888=$enableval
32519 else
32520    conv_32_rgbx_8888=yes
32521
32522 fi
32523
32524
32525
32526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGBX 8888 converter code" >&5
32527 $as_echo_n "checking whether to build 32bpp RGBX 8888 converter code... " >&6; }
32528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgbx_8888" >&5
32529 $as_echo "$conv_32_rgbx_8888" >&6; }
32530
32531 if test "x$conv_32_rgbx_8888" = "xyes" ; then
32532
32533 $as_echo "#define BUILD_CONVERT_32_RGBX_8888 1" >>confdefs.h
32534
32535 fi
32536
32537
32538
32539
32540
32541 ## Convert to 32bpp BGR 8888
32542
32543
32544 conv_32_bgr_8888="no"
32545
32546
32547   # Check whether --enable-convert-32-bgr-8888 was given.
32548 if test "${enable_convert_32_bgr_8888+set}" = set; then :
32549   enableval=$enable_convert_32_bgr_8888;  conv_32_bgr_8888=$enableval
32550 else
32551    conv_32_bgr_8888=yes
32552
32553 fi
32554
32555
32556
32557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp BGR 8888 converter code" >&5
32558 $as_echo_n "checking whether to build 32bpp BGR 8888 converter code... " >&6; }
32559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_bgr_8888" >&5
32560 $as_echo "$conv_32_bgr_8888" >&6; }
32561
32562 if test "x$conv_32_bgr_8888" = "xyes" ; then
32563
32564 $as_echo "#define BUILD_CONVERT_32_BGR_8888 1" >>confdefs.h
32565
32566 fi
32567
32568
32569
32570
32571
32572 ## Convert to 32bpp BGRX 8888
32573
32574
32575 conv_32_bgrx_8888="no"
32576
32577
32578   # Check whether --enable-convert-32-bgrx-8888 was given.
32579 if test "${enable_convert_32_bgrx_8888+set}" = set; then :
32580   enableval=$enable_convert_32_bgrx_8888;  conv_32_bgrx_8888=$enableval
32581 else
32582    conv_32_bgrx_8888=yes
32583
32584 fi
32585
32586
32587
32588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp BGRX 8888 converter code" >&5
32589 $as_echo_n "checking whether to build 32bpp BGRX 8888 converter code... " >&6; }
32590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_bgrx_8888" >&5
32591 $as_echo "$conv_32_bgrx_8888" >&6; }
32592
32593 if test "x$conv_32_bgrx_8888" = "xyes" ; then
32594
32595 $as_echo "#define BUILD_CONVERT_32_BGRX_8888 1" >>confdefs.h
32596
32597 fi
32598
32599
32600
32601
32602
32603
32604 #######################################
32605 ## Convert to 24bpp RGB 666 (666 ezx)
32606 conv_24_rgb_ezx="yes"
32607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 24bpp 666 (666 ezx) converter code" >&5
32608 $as_echo_n "checking whether to build 24bpp 666 (666 ezx) converter code... " >&6; }
32609 # Check whether --enable-convert-24-rgb-ezx was given.
32610 if test "${enable_convert_24_rgb_ezx+set}" = set; then :
32611   enableval=$enable_convert_24_rgb_ezx;
32612       if test "x$enableval" = "xyes" ; then
32613
32614 $as_echo "#define BUILD_CONVERT_24_RGB_666 1" >>confdefs.h
32615
32616         conv_24_rgb_ezx="yes"
32617       else
32618         conv_24_rgb_ezx="no"
32619       fi
32620
32621 else
32622
32623       if test "x$conv_24_rgb_ezx" = "xyes" ; then
32624
32625 $as_echo "#define BUILD_CONVERT_24_RGB_666 1" >>confdefs.h
32626
32627       fi
32628
32629
32630 fi
32631
32632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_24_rgb_ezx" >&5
32633 $as_echo "$conv_24_rgb_ezx" >&6; }
32634
32635 #######################################
32636 ## Convert to 32bpp RGB 666 (666 ezx)
32637 conv_32_rgb_ezx="yes"
32638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp 666 (666 ezx) converter code" >&5
32639 $as_echo_n "checking whether to build 32bpp 666 (666 ezx) converter code... " >&6; }
32640 # Check whether --enable-convert-32-rgb-ezx was given.
32641 if test "${enable_convert_32_rgb_ezx+set}" = set; then :
32642   enableval=$enable_convert_32_rgb_ezx;
32643       if test "x$enableval" = "xyes" ; then
32644
32645 $as_echo "#define BUILD_CONVERT_32_RGB_666 1" >>confdefs.h
32646
32647         conv_32_rgb_ezx="yes"
32648       else
32649         conv_32_rgb_ezx="no"
32650       fi
32651
32652 else
32653
32654       if test "x$conv_32_rgb_ezx" = "xyes" ; then
32655
32656 $as_echo "#define BUILD_CONVERT_32_RGB_666 1" >>confdefs.h
32657
32658       fi
32659
32660
32661 fi
32662
32663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_ezx" >&5
32664 $as_echo "$conv_32_rgb_ezx" >&6; }
32665
32666 #######################################
32667 ## Convert to 32bpp RGB with rotation of 0
32668
32669
32670 conv_32_rgb_rot_0="no"
32671
32672
32673   # Check whether --enable-convert-32-rgb-rot-0 was given.
32674 if test "${enable_convert_32_rgb_rot_0+set}" = set; then :
32675   enableval=$enable_convert_32_rgb_rot_0;  conv_32_rgb_rot_0=$enableval
32676 else
32677    conv_32_rgb_rot_0=yes
32678
32679 fi
32680
32681
32682
32683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 0 converter code" >&5
32684 $as_echo_n "checking whether to build 32bpp RGB rotation 0 converter code... " >&6; }
32685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_0" >&5
32686 $as_echo "$conv_32_rgb_rot_0" >&6; }
32687
32688 if test "x$conv_32_rgb_rot_0" = "xyes" ; then
32689
32690 $as_echo "#define BUILD_CONVERT_32_RGB_ROT0 1" >>confdefs.h
32691
32692 fi
32693
32694
32695
32696
32697
32698 ## Convert to 32bpp RGB with rotation of 180
32699
32700
32701 conv_32_rgb_rot_180="no"
32702
32703
32704   # Check whether --enable-convert-32-rgb-rot-180 was given.
32705 if test "${enable_convert_32_rgb_rot_180+set}" = set; then :
32706   enableval=$enable_convert_32_rgb_rot_180;  conv_32_rgb_rot_180=$enableval
32707 else
32708    conv_32_rgb_rot_180=yes
32709
32710 fi
32711
32712
32713
32714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 180 converter code" >&5
32715 $as_echo_n "checking whether to build 32bpp RGB rotation 180 converter code... " >&6; }
32716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_180" >&5
32717 $as_echo "$conv_32_rgb_rot_180" >&6; }
32718
32719 if test "x$conv_32_rgb_rot_180" = "xyes" ; then
32720
32721 $as_echo "#define BUILD_CONVERT_32_RGB_ROT180 1" >>confdefs.h
32722
32723 fi
32724
32725
32726
32727
32728
32729 ## Convert to 32bpp RGB with rotation of 270
32730
32731
32732 conv_32_rgb_rot_270="no"
32733
32734
32735   # Check whether --enable-convert-32-rgb-rot-270 was given.
32736 if test "${enable_convert_32_rgb_rot_270+set}" = set; then :
32737   enableval=$enable_convert_32_rgb_rot_270;  conv_32_rgb_rot_270=$enableval
32738 else
32739    conv_32_rgb_rot_270=yes
32740
32741 fi
32742
32743
32744
32745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 270 converter code" >&5
32746 $as_echo_n "checking whether to build 32bpp RGB rotation 270 converter code... " >&6; }
32747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_270" >&5
32748 $as_echo "$conv_32_rgb_rot_270" >&6; }
32749
32750 if test "x$conv_32_rgb_rot_270" = "xyes" ; then
32751
32752 $as_echo "#define BUILD_CONVERT_32_RGB_ROT270 1" >>confdefs.h
32753
32754 fi
32755
32756
32757
32758
32759
32760 ## Convert to 32bpp RGB with rotation of 90
32761
32762
32763 conv_32_rgb_rot_90="no"
32764
32765
32766   # Check whether --enable-convert-32-rgb-rot-90 was given.
32767 if test "${enable_convert_32_rgb_rot_90+set}" = set; then :
32768   enableval=$enable_convert_32_rgb_rot_90;  conv_32_rgb_rot_90=$enableval
32769 else
32770    conv_32_rgb_rot_90=yes
32771
32772 fi
32773
32774
32775
32776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 90 converter code" >&5
32777 $as_echo_n "checking whether to build 32bpp RGB rotation 90 converter code... " >&6; }
32778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_90" >&5
32779 $as_echo "$conv_32_rgb_rot_90" >&6; }
32780
32781 if test "x$conv_32_rgb_rot_90" = "xyes" ; then
32782
32783 $as_echo "#define BUILD_CONVERT_32_RGB_ROT90 1" >>confdefs.h
32784
32785 fi
32786
32787
32788
32789
32790
32791
32792 #######################################
32793 ## Convert to 8bpp grayscale with 256 value, no palette
32794
32795
32796 conv_8_gry_1="no"
32797
32798
32799   # Check whether --enable-convert-8-gry-1 was given.
32800 if test "${enable_convert_8_gry_1+set}" = set; then :
32801   enableval=$enable_convert_8_gry_1;  conv_8_gry_1=$enableval
32802 else
32803    conv_8_gry_1=yes
32804
32805 fi
32806
32807
32808
32809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp GRY 1 converter code" >&5
32810 $as_echo_n "checking whether to build 8bpp GRY 1 converter code... " >&6; }
32811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_gry_1" >&5
32812 $as_echo "$conv_8_gry_1" >&6; }
32813
32814 if test "x$conv_8_gry_1" = "xyes" ; then
32815
32816 $as_echo "#define BUILD_CONVERT_8_GRY_1 1" >>confdefs.h
32817
32818 fi
32819
32820
32821
32822
32823
32824 ## Convert to 8bpp grayscale with 16 value, no palette
32825
32826
32827 conv_8_gry_16="no"
32828
32829
32830   # Check whether --enable-convert-8-gry-16 was given.
32831 if test "${enable_convert_8_gry_16+set}" = set; then :
32832   enableval=$enable_convert_8_gry_16;  conv_8_gry_16=$enableval
32833 else
32834    conv_8_gry_16=yes
32835
32836 fi
32837
32838
32839
32840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp GRY 16 converter code" >&5
32841 $as_echo_n "checking whether to build 8bpp GRY 16 converter code... " >&6; }
32842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_gry_16" >&5
32843 $as_echo "$conv_8_gry_16" >&6; }
32844
32845 if test "x$conv_8_gry_16" = "xyes" ; then
32846
32847 $as_echo "#define BUILD_CONVERT_8_GRY_16 1" >>confdefs.h
32848
32849 fi
32850
32851
32852
32853
32854
32855
32856 #######################################
32857 ## Convert to 8bpp grayscale, 64-palette
32858 conv_8_grayscale_64="yes"
32859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp grayscale 64-palette converter code" >&5
32860 $as_echo_n "checking whether to build 8bpp grayscale 64-palette converter code... " >&6; }
32861 # Check whether --enable-convert-8-grayscale-64 was given.
32862 if test "${enable_convert_8_grayscale_64+set}" = set; then :
32863   enableval=$enable_convert_8_grayscale_64;
32864      if test "x$enableval" = "xyes"; then
32865
32866 $as_echo "#define BUILD_CONVERT_8_GRAYSCALE_64 1" >>confdefs.h
32867
32868        conv_8_grayscale_64="yes"
32869      else
32870        conv_8_grayscale_64="no"
32871      fi
32872
32873 else
32874
32875      if test "x$conv_8_grayscale_64" = "xyes"; then
32876
32877 $as_echo "#define BUILD_CONVERT_8_GRAYSCALE_64 1" >>confdefs.h
32878
32879      fi
32880
32881
32882 fi
32883
32884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_grayscale_64" >&5
32885 $as_echo "$conv_8_grayscale_64" >&6; }
32886
32887 ## valgrind
32888 want_valgrind="no"
32889 have_valgrind="no"
32890
32891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build with valgrind" >&5
32892 $as_echo_n "checking whether to enable build with valgrind... " >&6; }
32893 # Check whether --enable-valgrind was given.
32894 if test "${enable_valgrind+set}" = set; then :
32895   enableval=$enable_valgrind;  want_valgrind=$enableval
32896
32897 fi
32898
32899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_valgrind" >&5
32900 $as_echo "$want_valgrind" >&6; }
32901
32902 if test x$want_valgrind = "xyes"; then
32903
32904 pkg_failed=no
32905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
32906 $as_echo_n "checking for VALGRIND... " >&6; }
32907
32908 if test -n "$VALGRIND_CFLAGS"; then
32909     pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
32910  elif test -n "$PKG_CONFIG"; then
32911     if test -n "$PKG_CONFIG" && \
32912     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= 2.4.0\""; } >&5
32913   ($PKG_CONFIG --exists --print-errors "valgrind >= 2.4.0") 2>&5
32914   ac_status=$?
32915   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32916   test $ac_status = 0; }; then
32917   pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= 2.4.0" 2>/dev/null`
32918                       test "x$?" != "x0" && pkg_failed=yes
32919 else
32920   pkg_failed=yes
32921 fi
32922  else
32923     pkg_failed=untried
32924 fi
32925 if test -n "$VALGRIND_LIBS"; then
32926     pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
32927  elif test -n "$PKG_CONFIG"; then
32928     if test -n "$PKG_CONFIG" && \
32929     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= 2.4.0\""; } >&5
32930   ($PKG_CONFIG --exists --print-errors "valgrind >= 2.4.0") 2>&5
32931   ac_status=$?
32932   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32933   test $ac_status = 0; }; then
32934   pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= 2.4.0" 2>/dev/null`
32935                       test "x$?" != "x0" && pkg_failed=yes
32936 else
32937   pkg_failed=yes
32938 fi
32939  else
32940     pkg_failed=untried
32941 fi
32942
32943
32944
32945 if test $pkg_failed = yes; then
32946         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32947 $as_echo "no" >&6; }
32948
32949 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32950         _pkg_short_errors_supported=yes
32951 else
32952         _pkg_short_errors_supported=no
32953 fi
32954         if test $_pkg_short_errors_supported = yes; then
32955                 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "valgrind >= 2.4.0" 2>&1`
32956         else
32957                 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "valgrind >= 2.4.0" 2>&1`
32958         fi
32959         # Put the nasty error message in config.log where it belongs
32960         echo "$VALGRIND_PKG_ERRORS" >&5
32961
32962
32963       if test "x$want_valgrind" = "xyes" -a "x$use_strict" = "xyes" ; then
32964         as_fn_error $? "Valgrind not found (strict dependencies checking)" "$LINENO" 5
32965       fi
32966
32967
32968 elif test $pkg_failed = untried; then
32969         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32970 $as_echo "no" >&6; }
32971
32972       if test "x$want_valgrind" = "xyes" -a "x$use_strict" = "xyes" ; then
32973         as_fn_error $? "Valgrind not found (strict dependencies checking)" "$LINENO" 5
32974       fi
32975
32976
32977 else
32978         VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
32979         VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
32980         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32981 $as_echo "yes" >&6; }
32982
32983
32984 $as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
32985
32986       have_valgrind=yes
32987       requirement_evas="valgrind ${requirement_evas}"
32988
32989 fi
32990 fi
32991
32992 ## Examples
32993
32994 install_examples="yes"
32995 # Check whether --enable-install-examples was given.
32996 if test "${enable_install_examples+set}" = set; then :
32997   enableval=$enable_install_examples;
32998     if test "x${enableval}" = "xyes" ; then
32999        install_examples="yes"
33000     else
33001        install_examples="no"
33002     fi
33003
33004 else
33005   install_examples="yes"
33006 fi
33007
33008  if test "x${install_examples}" = "xyes"; then
33009   INSTALL_EXAMPLES_TRUE=
33010   INSTALL_EXAMPLES_FALSE='#'
33011 else
33012   INSTALL_EXAMPLES_TRUE='#'
33013   INSTALL_EXAMPLES_FALSE=
33014 fi
33015
33016
33017 build_examples="no"
33018 # Check whether --enable-build-examples was given.
33019 if test "${enable_build_examples+set}" = set; then :
33020   enableval=$enable_build_examples;
33021     if test "x${enableval}" = "xyes" ; then
33022        build_examples="yes"
33023        # put in here the dependencies for Evas' examples. they are
33024        # meant to be 'real world' usage examples, thus one will be
33025        # using higher level libraries on these programs
33026
33027 pkg_failed=no
33028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_EVAS" >&5
33029 $as_echo_n "checking for ECORE_EVAS... " >&6; }
33030
33031 if test -n "$ECORE_EVAS_CFLAGS"; then
33032     pkg_cv_ECORE_EVAS_CFLAGS="$ECORE_EVAS_CFLAGS"
33033  elif test -n "$PKG_CONFIG"; then
33034     if test -n "$PKG_CONFIG" && \
33035     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas ecore\""; } >&5
33036   ($PKG_CONFIG --exists --print-errors "ecore-evas ecore") 2>&5
33037   ac_status=$?
33038   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33039   test $ac_status = 0; }; then
33040   pkg_cv_ECORE_EVAS_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas ecore" 2>/dev/null`
33041                       test "x$?" != "x0" && pkg_failed=yes
33042 else
33043   pkg_failed=yes
33044 fi
33045  else
33046     pkg_failed=untried
33047 fi
33048 if test -n "$ECORE_EVAS_LIBS"; then
33049     pkg_cv_ECORE_EVAS_LIBS="$ECORE_EVAS_LIBS"
33050  elif test -n "$PKG_CONFIG"; then
33051     if test -n "$PKG_CONFIG" && \
33052     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas ecore\""; } >&5
33053   ($PKG_CONFIG --exists --print-errors "ecore-evas ecore") 2>&5
33054   ac_status=$?
33055   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33056   test $ac_status = 0; }; then
33057   pkg_cv_ECORE_EVAS_LIBS=`$PKG_CONFIG --libs "ecore-evas ecore" 2>/dev/null`
33058                       test "x$?" != "x0" && pkg_failed=yes
33059 else
33060   pkg_failed=yes
33061 fi
33062  else
33063     pkg_failed=untried
33064 fi
33065
33066
33067
33068 if test $pkg_failed = yes; then
33069         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33070 $as_echo "no" >&6; }
33071
33072 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33073         _pkg_short_errors_supported=yes
33074 else
33075         _pkg_short_errors_supported=no
33076 fi
33077         if test $_pkg_short_errors_supported = yes; then
33078                 ECORE_EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-evas ecore" 2>&1`
33079         else
33080                 ECORE_EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-evas ecore" 2>&1`
33081         fi
33082         # Put the nasty error message in config.log where it belongs
33083         echo "$ECORE_EVAS_PKG_ERRORS" >&5
33084
33085         build_examples="no"
33086 elif test $pkg_failed = untried; then
33087         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33088 $as_echo "no" >&6; }
33089         build_examples="no"
33090 else
33091         ECORE_EVAS_CFLAGS=$pkg_cv_ECORE_EVAS_CFLAGS
33092         ECORE_EVAS_LIBS=$pkg_cv_ECORE_EVAS_LIBS
33093         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33094 $as_echo "yes" >&6; }
33095
33096 fi
33097
33098 pkg_failed=no
33099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE" >&5
33100 $as_echo_n "checking for EDJE... " >&6; }
33101
33102 if test -n "$EDJE_CFLAGS"; then
33103     pkg_cv_EDJE_CFLAGS="$EDJE_CFLAGS"
33104  elif test -n "$PKG_CONFIG"; then
33105     if test -n "$PKG_CONFIG" && \
33106     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje\""; } >&5
33107   ($PKG_CONFIG --exists --print-errors "edje") 2>&5
33108   ac_status=$?
33109   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33110   test $ac_status = 0; }; then
33111   pkg_cv_EDJE_CFLAGS=`$PKG_CONFIG --cflags "edje" 2>/dev/null`
33112                       test "x$?" != "x0" && pkg_failed=yes
33113 else
33114   pkg_failed=yes
33115 fi
33116  else
33117     pkg_failed=untried
33118 fi
33119 if test -n "$EDJE_LIBS"; then
33120     pkg_cv_EDJE_LIBS="$EDJE_LIBS"
33121  elif test -n "$PKG_CONFIG"; then
33122     if test -n "$PKG_CONFIG" && \
33123     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje\""; } >&5
33124   ($PKG_CONFIG --exists --print-errors "edje") 2>&5
33125   ac_status=$?
33126   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33127   test $ac_status = 0; }; then
33128   pkg_cv_EDJE_LIBS=`$PKG_CONFIG --libs "edje" 2>/dev/null`
33129                       test "x$?" != "x0" && pkg_failed=yes
33130 else
33131   pkg_failed=yes
33132 fi
33133  else
33134     pkg_failed=untried
33135 fi
33136
33137
33138
33139 if test $pkg_failed = yes; then
33140         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33141 $as_echo "no" >&6; }
33142
33143 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33144         _pkg_short_errors_supported=yes
33145 else
33146         _pkg_short_errors_supported=no
33147 fi
33148         if test $_pkg_short_errors_supported = yes; then
33149                 EDJE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "edje" 2>&1`
33150         else
33151                 EDJE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "edje" 2>&1`
33152         fi
33153         # Put the nasty error message in config.log where it belongs
33154         echo "$EDJE_PKG_ERRORS" >&5
33155
33156         build_examples="no"
33157 elif test $pkg_failed = untried; then
33158         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33159 $as_echo "no" >&6; }
33160         build_examples="no"
33161 else
33162         EDJE_CFLAGS=$pkg_cv_EDJE_CFLAGS
33163         EDJE_LIBS=$pkg_cv_EDJE_LIBS
33164         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33165 $as_echo "yes" >&6; }
33166         edje_cc=$($PKG_CONFIG --variable=prefix edje)/bin/edje_cc
33167 fi
33168
33169     else
33170        build_examples="no"
33171     fi
33172
33173 else
33174   build_examples="no"
33175 fi
33176
33177  if test "x${build_examples}" = "xyes"; then
33178   BUILD_EXAMPLES_TRUE=
33179   BUILD_EXAMPLES_FALSE='#'
33180 else
33181   BUILD_EXAMPLES_TRUE='#'
33182   BUILD_EXAMPLES_FALSE=
33183 fi
33184
33185
33186 ## Unit tests, coverage
33187
33188
33189
33190
33191 # Check whether --enable-tests was given.
33192 if test "${enable_tests+set}" = set; then :
33193   enableval=$enable_tests;
33194     if test "x${enableval}" = "xyes" ; then
33195        _efl_enable_tests="yes"
33196     else
33197        _efl_enable_tests="no"
33198     fi
33199
33200 else
33201   _efl_enable_tests="no"
33202 fi
33203
33204
33205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests are built" >&5
33206 $as_echo_n "checking whether tests are built... " >&6; }
33207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_tests}" >&5
33208 $as_echo "${_efl_enable_tests}" >&6; }
33209
33210
33211
33212 if test "x${_efl_enable_tests}" = "xyes" ; then
33213
33214 pkg_failed=no
33215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
33216 $as_echo_n "checking for CHECK... " >&6; }
33217
33218 if test -n "$CHECK_CFLAGS"; then
33219     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
33220  elif test -n "$PKG_CONFIG"; then
33221     if test -n "$PKG_CONFIG" && \
33222     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
33223   ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
33224   ac_status=$?
33225   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33226   test $ac_status = 0; }; then
33227   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.5" 2>/dev/null`
33228                       test "x$?" != "x0" && pkg_failed=yes
33229 else
33230   pkg_failed=yes
33231 fi
33232  else
33233     pkg_failed=untried
33234 fi
33235 if test -n "$CHECK_LIBS"; then
33236     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
33237  elif test -n "$PKG_CONFIG"; then
33238     if test -n "$PKG_CONFIG" && \
33239     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
33240   ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
33241   ac_status=$?
33242   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33243   test $ac_status = 0; }; then
33244   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.5" 2>/dev/null`
33245                       test "x$?" != "x0" && pkg_failed=yes
33246 else
33247   pkg_failed=yes
33248 fi
33249  else
33250     pkg_failed=untried
33251 fi
33252
33253
33254
33255 if test $pkg_failed = yes; then
33256         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33257 $as_echo "no" >&6; }
33258
33259 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33260         _pkg_short_errors_supported=yes
33261 else
33262         _pkg_short_errors_supported=no
33263 fi
33264         if test $_pkg_short_errors_supported = yes; then
33265                 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.5" 2>&1`
33266         else
33267                 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.5" 2>&1`
33268         fi
33269         # Put the nasty error message in config.log where it belongs
33270         echo "$CHECK_PKG_ERRORS" >&5
33271
33272         _efl_enable_tests="no"
33273 elif test $pkg_failed = untried; then
33274         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33275 $as_echo "no" >&6; }
33276         _efl_enable_tests="no"
33277 else
33278         CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
33279         CHECK_LIBS=$pkg_cv_CHECK_LIBS
33280         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33281 $as_echo "yes" >&6; }
33282         dummy="yes"
33283 fi
33284 fi
33285 if test "x${_efl_enable_tests}" = "xyes" ; then
33286
33287 $as_echo "#define HAVE_TESTS 1" >>confdefs.h
33288
33289 fi
33290
33291  if test "x${_efl_enable_tests}" = "xyes"; then
33292   EFL_ENABLE_TESTS_TRUE=
33293   EFL_ENABLE_TESTS_FALSE='#'
33294 else
33295   EFL_ENABLE_TESTS_TRUE='#'
33296   EFL_ENABLE_TESTS_FALSE=
33297 fi
33298
33299
33300 if test "x$_efl_enable_tests" = "xyes"; then :
33301   enable_tests="yes"
33302 else
33303   enable_tests="no"
33304 fi
33305
33306
33307
33308
33309
33310 # Check whether --enable-coverage was given.
33311 if test "${enable_coverage+set}" = set; then :
33312   enableval=$enable_coverage;
33313     if test "x${enableval}" = "xyes" ; then
33314        _efl_enable_coverage="yes"
33315     else
33316        _efl_enable_coverage="no"
33317     fi
33318
33319 else
33320   _efl_enable_coverage="no"
33321 fi
33322
33323
33324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use profiling instrumentation" >&5
33325 $as_echo_n "checking whether to use profiling instrumentation... " >&6; }
33326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_efl_enable_coverage" >&5
33327 $as_echo "$_efl_enable_coverage" >&6; }
33328
33329
33330 if test "x$_efl_enable_coverage" = "xyes" && test ! "x${enable_tests}" = "xyes" ; then
33331    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&5
33332 $as_echo "$as_me: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&2;}
33333    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Run configure with --enable-tests" >&5
33334 $as_echo "$as_me: WARNING: Run configure with --enable-tests" >&2;}
33335    _efl_enable_coverage="no"
33336 fi
33337
33338 if test "x$_efl_enable_coverage" = "xyes" ; then
33339    # Extract the first word of "lcov", so it can be a program name with args.
33340 set dummy lcov; ac_word=$2
33341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33342 $as_echo_n "checking for $ac_word... " >&6; }
33343 if ${ac_cv_prog_have_lcov+:} false; then :
33344   $as_echo_n "(cached) " >&6
33345 else
33346   if test -n "$have_lcov"; then
33347   ac_cv_prog_have_lcov="$have_lcov" # Let the user override the test.
33348 else
33349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33350 for as_dir in $PATH
33351 do
33352   IFS=$as_save_IFS
33353   test -z "$as_dir" && as_dir=.
33354     for ac_exec_ext in '' $ac_executable_extensions; do
33355   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33356     ac_cv_prog_have_lcov="yes"
33357     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33358     break 2
33359   fi
33360 done
33361   done
33362 IFS=$as_save_IFS
33363
33364   test -z "$ac_cv_prog_have_lcov" && ac_cv_prog_have_lcov="no"
33365 fi
33366 fi
33367 have_lcov=$ac_cv_prog_have_lcov
33368 if test -n "$have_lcov"; then
33369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_lcov" >&5
33370 $as_echo "$have_lcov" >&6; }
33371 else
33372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33373 $as_echo "no" >&6; }
33374 fi
33375
33376
33377    if test "x$have_lcov" = "xyes" ; then
33378       EFL_COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
33379       EFL_COVERAGE_LIBS="-lgcov"
33380 # remove any optimisation flag and force debug symbols
33381       EFL_DEBUG_CFLAGS="-g -O0 -DDEBUG"
33382    else
33383       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: lcov is not found, disable profiling instrumentation" >&5
33384 $as_echo "$as_me: WARNING: lcov is not found, disable profiling instrumentation" >&2;}
33385       _efl_enable_coverage="no"
33386    fi
33387 fi
33388
33389
33390
33391
33392  if test "x${_efl_enable_coverage}" = "xyes"; then
33393   EFL_ENABLE_COVERAGE_TRUE=
33394   EFL_ENABLE_COVERAGE_FALSE='#'
33395 else
33396   EFL_ENABLE_COVERAGE_TRUE='#'
33397   EFL_ENABLE_COVERAGE_FALSE=
33398 fi
33399
33400
33401 if test "x$_efl_enable_coverage" = "xyes"; then :
33402   enable_coverage="yes"
33403 else
33404   enable_coverage="no"
33405 fi
33406
33407 EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_COVERAGE_CFLAGS} ${EXOTIC_CFLAGS}"
33408 EVAS_LIBS="${EVAS_LIBS} ${EFL_COVERAGE_LIBS} ${EXOTIC_LIBS}"
33409 if test "x$enable_coverage" = "xyes" ; then
33410    EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_DEBUG_CFLAGS}"
33411 fi
33412
33413
33414
33415
33416 # General CFLAGS
33417
33418 EVAS_GENERAL_CFLAGS="${EINA_CFLAGS}"
33419 EVAS_GENERAL_LIBS="${EINA_LIBS}"
33420
33421
33422
33423 #####################################################################
33424 ## Fill in flags
33425
33426
33427
33428
33429
33430
33431
33432 #####################################################################
33433 ## Output
33434
33435 ac_config_files="$ac_config_files Makefile evas-directfb.pc evas-fb.pc evas-opengl-x11.pc evas-opengl-sdl.pc evas-opengl-cocoa.pc evas-software-buffer.pc evas-software-x11.pc evas-software-8-x11.pc evas-software-16-x11.pc evas-software-gdi.pc evas-software-ddraw.pc evas-direct3d.pc evas-software-16-wince.pc evas-software-sdl.pc evas-psl1ght.pc evas-wayland-shm.pc evas-wayland-egl.pc evas.pc doc/evas.dox doc/Makefile doc/Doxyfile src/Makefile src/bin/Makefile src/bin/loaders/Makefile src/bin/loaders/jpeg/Makefile src/bin/loaders/png/Makefile src/bin/loaders/eet/Makefile src/bin/loaders/tiff/Makefile src/bin/loaders/xpm/Makefile src/bin/loaders/bmp/Makefile src/bin/loaders/ico/Makefile src/bin/loaders/tga/Makefile src/bin/loaders/pmaps/Makefile src/bin/loaders/wbmp/Makefile src/bin/loaders/psd/Makefile src/lib/Makefile src/lib/canvas/Makefile src/lib/file/Makefile src/lib/cache/Makefile src/lib/cache2/Makefile src/lib/cserve/Makefile src/lib/cserve2/Makefile src/lib/engines/Makefile src/lib/engines/common/Makefile src/lib/engines/common/evas_op_add/Makefile src/lib/engines/common/evas_op_blend/Makefile src/lib/engines/common/evas_op_copy/Makefile src/lib/engines/common/evas_op_mask/Makefile src/lib/engines/common/evas_op_mul/Makefile src/lib/engines/common/evas_op_sub/Makefile src/lib/engines/common_8/Makefile src/lib/engines/common_16/Makefile src/modules/Makefile src/modules/engines/Makefile src/modules/engines/software_generic/Makefile src/modules/engines/software_gdi/Makefile src/modules/engines/software_ddraw/Makefile src/modules/engines/direct3d/Makefile src/modules/engines/software_16_wince/Makefile src/modules/engines/software_x11/Makefile src/modules/engines/fb/Makefile src/modules/engines/buffer/Makefile src/modules/engines/directfb/Makefile src/modules/engines/gl_common/Makefile src/modules/engines/gl_x11/Makefile src/modules/engines/gl_sdl/Makefile src/modules/engines/gl_cocoa/Makefile src/modules/engines/psl1ght/Makefile src/modules/engines/software_8/Makefile src/modules/engines/software_8_x11/Makefile src/modules/engines/software_16/Makefile src/modules/engines/software_16_x11/Makefile src/modules/engines/software_16_sdl/Makefile src/modules/engines/wayland_shm/Makefile src/modules/engines/wayland_egl/Makefile src/modules/loaders/Makefile src/modules/loaders/edb/Makefile src/modules/loaders/eet/Makefile src/modules/loaders/gif/Makefile src/modules/loaders/jpeg/Makefile src/modules/loaders/png/Makefile src/modules/loaders/tiff/Makefile src/modules/loaders/xpm/Makefile src/modules/loaders/bmp/Makefile src/modules/loaders/ico/Makefile src/modules/loaders/tga/Makefile src/modules/loaders/svg/Makefile src/modules/loaders/pmaps/Makefile src/modules/loaders/wbmp/Makefile src/modules/loaders/psd/Makefile src/modules/loaders/generic/Makefile src/modules/savers/Makefile src/modules/savers/edb/Makefile src/modules/savers/eet/Makefile src/modules/savers/jpeg/Makefile src/modules/savers/png/Makefile src/modules/savers/tiff/Makefile src/static_deps/Makefile src/static_deps/liblinebreak/Makefile src/lib/include/Makefile src/examples/Makefile src/tests/Makefile data/Makefile evas.spec"
33436
33437 cat >confcache <<\_ACEOF
33438 # This file is a shell script that caches the results of configure
33439 # tests run on this system so they can be shared between configure
33440 # scripts and configure runs, see configure's option --config-cache.
33441 # It is not useful on other systems.  If it contains results you don't
33442 # want to keep, you may remove or edit it.
33443 #
33444 # config.status only pays attention to the cache file if you give it
33445 # the --recheck option to rerun configure.
33446 #
33447 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33448 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33449 # following values.
33450
33451 _ACEOF
33452
33453 # The following way of writing the cache mishandles newlines in values,
33454 # but we know of no workaround that is simple, portable, and efficient.
33455 # So, we kill variables containing newlines.
33456 # Ultrix sh set writes to stderr and can't be redirected directly,
33457 # and sets the high bit in the cache file unless we assign to the vars.
33458 (
33459   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
33460     eval ac_val=\$$ac_var
33461     case $ac_val in #(
33462     *${as_nl}*)
33463       case $ac_var in #(
33464       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
33465 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
33466       esac
33467       case $ac_var in #(
33468       _ | IFS | as_nl) ;; #(
33469       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
33470       *) { eval $ac_var=; unset $ac_var;} ;;
33471       esac ;;
33472     esac
33473   done
33474
33475   (set) 2>&1 |
33476     case $as_nl`(ac_space=' '; set) 2>&1` in #(
33477     *${as_nl}ac_space=\ *)
33478       # `set' does not quote correctly, so add quotes: double-quote
33479       # substitution turns \\\\ into \\, and sed turns \\ into \.
33480       sed -n \
33481         "s/'/'\\\\''/g;
33482           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33483       ;; #(
33484     *)
33485       # `set' quotes correctly as required by POSIX, so do not add quotes.
33486       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
33487       ;;
33488     esac |
33489     sort
33490 ) |
33491   sed '
33492      /^ac_cv_env_/b end
33493      t clear
33494      :clear
33495      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33496      t end
33497      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33498      :end' >>confcache
33499 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
33500   if test -w "$cache_file"; then
33501     if test "x$cache_file" != "x/dev/null"; then
33502       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
33503 $as_echo "$as_me: updating cache $cache_file" >&6;}
33504       if test ! -f "$cache_file" || test -h "$cache_file"; then
33505         cat confcache >"$cache_file"
33506       else
33507         case $cache_file in #(
33508         */* | ?:*)
33509           mv -f confcache "$cache_file"$$ &&
33510           mv -f "$cache_file"$$ "$cache_file" ;; #(
33511         *)
33512           mv -f confcache "$cache_file" ;;
33513         esac
33514       fi
33515     fi
33516   else
33517     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
33518 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
33519   fi
33520 fi
33521 rm -f confcache
33522
33523 test "x$prefix" = xNONE && prefix=$ac_default_prefix
33524 # Let make expand exec_prefix.
33525 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33526
33527 DEFS=-DHAVE_CONFIG_H
33528
33529 ac_libobjs=
33530 ac_ltlibobjs=
33531 U=
33532 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33533   # 1. Remove the extension, and $U if already installed.
33534   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
33535   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
33536   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
33537   #    will be set to the directory where LIBOBJS objects are built.
33538   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
33539   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
33540 done
33541 LIBOBJS=$ac_libobjs
33542
33543 LTLIBOBJS=$ac_ltlibobjs
33544
33545
33546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
33547 $as_echo_n "checking that generated files are newer than configure... " >&6; }
33548    if test -n "$am_sleep_pid"; then
33549      # Hide warnings about reused PIDs.
33550      wait $am_sleep_pid 2>/dev/null
33551    fi
33552    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
33553 $as_echo "done" >&6; }
33554  if test -n "$EXEEXT"; then
33555   am__EXEEXT_TRUE=
33556   am__EXEEXT_FALSE='#'
33557 else
33558   am__EXEEXT_TRUE='#'
33559   am__EXEEXT_FALSE=
33560 fi
33561
33562 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
33563   as_fn_error $? "conditional \"AMDEP\" was never defined.
33564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33565 fi
33566 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33567   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
33568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33569 fi
33570 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
33571   as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
33572 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33573 fi
33574 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
33575   as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
33576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33577 fi
33578 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
33579   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
33580 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33581 fi
33582 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33583   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
33584 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33585 fi
33586 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
33587   as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
33588 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33589 fi
33590 if test -z "${EVAS_HAVE_EXOTIC_TRUE}" && test -z "${EVAS_HAVE_EXOTIC_FALSE}"; then
33591   as_fn_error $? "conditional \"EVAS_HAVE_EXOTIC\" was never defined.
33592 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33593 fi
33594 if test -z "${EVAS_USE_LINEBREAK_TRUE}" && test -z "${EVAS_USE_LINEBREAK_FALSE}"; then
33595   as_fn_error $? "conditional \"EVAS_USE_LINEBREAK\" was never defined.
33596 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33597 fi
33598
33599 if test -z "${EVAS_CSERVE_TRUE}" && test -z "${EVAS_CSERVE_FALSE}"; then
33600   as_fn_error $? "conditional \"EVAS_CSERVE\" was never defined.
33601 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33602 fi
33603 if test -z "${EVAS_CSERVE2_TRUE}" && test -z "${EVAS_CSERVE2_FALSE}"; then
33604   as_fn_error $? "conditional \"EVAS_CSERVE2\" was never defined.
33605 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33606 fi
33607 if test -z "${BUILD_ENGINE_BUFFER_TRUE}" && test -z "${BUILD_ENGINE_BUFFER_FALSE}"; then
33608   as_fn_error $? "conditional \"BUILD_ENGINE_BUFFER\" was never defined.
33609 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33610 fi
33611 if test -z "${EVAS_STATIC_BUILD_BUFFER_TRUE}" && test -z "${EVAS_STATIC_BUILD_BUFFER_FALSE}"; then
33612   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_BUFFER\" was never defined.
33613 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33614 fi
33615 if test -z "${BUILD_ENGINE_SOFTWARE_GDI_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_GDI_FALSE}"; then
33616   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_GDI\" was never defined.
33617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33618 fi
33619 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE}"; then
33620   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_GDI\" was never defined.
33621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33622 fi
33623 if test -z "${BUILD_ENGINE_SOFTWARE_DDRAW_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_DDRAW_FALSE}"; then
33624   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_DDRAW\" was never defined.
33625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33626 fi
33627 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE}"; then
33628   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_DDRAW\" was never defined.
33629 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33630 fi
33631 if test -z "${BUILD_ENGINE_DIRECT3D_TRUE}" && test -z "${BUILD_ENGINE_DIRECT3D_FALSE}"; then
33632   as_fn_error $? "conditional \"BUILD_ENGINE_DIRECT3D\" was never defined.
33633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33634 fi
33635 if test -z "${EVAS_STATIC_BUILD_DIRECT3D_TRUE}" && test -z "${EVAS_STATIC_BUILD_DIRECT3D_FALSE}"; then
33636   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_DIRECT3D\" was never defined.
33637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33638 fi
33639 if test -z "${BUILD_ENGINE_PSL1GHT_TRUE}" && test -z "${BUILD_ENGINE_PSL1GHT_FALSE}"; then
33640   as_fn_error $? "conditional \"BUILD_ENGINE_PSL1GHT\" was never defined.
33641 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33642 fi
33643 if test -z "${EVAS_STATIC_BUILD_PSL1GHT_TRUE}" && test -z "${EVAS_STATIC_BUILD_PSL1GHT_FALSE}"; then
33644   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PSL1GHT\" was never defined.
33645 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33646 fi
33647 if test -z "${BUILD_ENGINE_GL_SDL_TRUE}" && test -z "${BUILD_ENGINE_GL_SDL_FALSE}"; then
33648   as_fn_error $? "conditional \"BUILD_ENGINE_GL_SDL\" was never defined.
33649 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33650 fi
33651 if test -z "${EVAS_STATIC_BUILD_GL_SDL_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_SDL_FALSE}"; then
33652   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_SDL\" was never defined.
33653 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33654 fi
33655 if test -z "${BUILD_ENGINE_GL_COCOA_TRUE}" && test -z "${BUILD_ENGINE_GL_COCOA_FALSE}"; then
33656   as_fn_error $? "conditional \"BUILD_ENGINE_GL_COCOA\" was never defined.
33657 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33658 fi
33659 if test -z "${EVAS_STATIC_BUILD_GL_COCOA_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_COCOA_FALSE}"; then
33660   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_COCOA\" was never defined.
33661 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33662 fi
33663 if test -z "${BUILD_ENGINE_FB_TRUE}" && test -z "${BUILD_ENGINE_FB_FALSE}"; then
33664   as_fn_error $? "conditional \"BUILD_ENGINE_FB\" was never defined.
33665 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33666 fi
33667 if test -z "${EVAS_STATIC_BUILD_FB_TRUE}" && test -z "${EVAS_STATIC_BUILD_FB_FALSE}"; then
33668   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_FB\" was never defined.
33669 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33670 fi
33671 if test -z "${BUILD_ENGINE_DIRECTFB_TRUE}" && test -z "${BUILD_ENGINE_DIRECTFB_FALSE}"; then
33672   as_fn_error $? "conditional \"BUILD_ENGINE_DIRECTFB\" was never defined.
33673 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33674 fi
33675 if test -z "${EVAS_STATIC_BUILD_DIRECTFB_TRUE}" && test -z "${EVAS_STATIC_BUILD_DIRECTFB_FALSE}"; then
33676   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_DIRECTFB\" was never defined.
33677 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33678 fi
33679 if test -z "${BUILD_ENGINE_SOFTWARE_8_X11_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_8_X11_FALSE}"; then
33680   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_8_X11\" was never defined.
33681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33682 fi
33683 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE}"; then
33684   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_8_X11\" was never defined.
33685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33686 fi
33687 if test -z "${BUILD_ENGINE_SOFTWARE_16_X11_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_X11_FALSE}"; then
33688   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16_X11\" was never defined.
33689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33690 fi
33691 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE}"; then
33692   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_X11\" was never defined.
33693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33694 fi
33695 if test -z "${BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE}"; then
33696   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16_WINCE\" was never defined.
33697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33698 fi
33699 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE}"; then
33700   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_WINCE\" was never defined.
33701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33702 fi
33703 if test -z "${BUILD_ENGINE_SOFTWARE_16_SDL_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_SDL_FALSE}"; then
33704   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16_SDL\" was never defined.
33705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33706 fi
33707 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE}"; then
33708   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_SDL\" was never defined.
33709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33710 fi
33711 if test -z "${BUILD_ENGINE_WAYLAND_SHM_TRUE}" && test -z "${BUILD_ENGINE_WAYLAND_SHM_FALSE}"; then
33712   as_fn_error $? "conditional \"BUILD_ENGINE_WAYLAND_SHM\" was never defined.
33713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33714 fi
33715 if test -z "${EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE}" && test -z "${EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE}"; then
33716   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_WAYLAND_SHM\" was never defined.
33717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33718 fi
33719 if test -z "${BUILD_ENGINE_WAYLAND_EGL_TRUE}" && test -z "${BUILD_ENGINE_WAYLAND_EGL_FALSE}"; then
33720   as_fn_error $? "conditional \"BUILD_ENGINE_WAYLAND_EGL\" was never defined.
33721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33722 fi
33723 if test -z "${EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE}" && test -z "${EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE}"; then
33724   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_WAYLAND_EGL\" was never defined.
33725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33726 fi
33727 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE}"; then
33728   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_GENERIC\" was never defined.
33729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33730 fi
33731 if test -z "${BUILD_ENGINE_SOFTWARE_XCB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XCB_FALSE}"; then
33732   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XCB\" was never defined.
33733 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33734 fi
33735 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE}"; then
33736   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XCB\" was never defined.
33737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33738 fi
33739 if test -z "${BUILD_ENGINE_SOFTWARE_XLIB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XLIB_FALSE}"; then
33740   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XLIB\" was never defined.
33741 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33742 fi
33743 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE}"; then
33744   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XLIB\" was never defined.
33745 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33746 fi
33747 if test -z "${BUILD_ENGINE_SOFTWARE_XLIB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XLIB_FALSE}"; then
33748   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XLIB\" was never defined.
33749 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33750 fi
33751 if test -z "${BUILD_ENGINE_SOFTWARE_XCB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XCB_FALSE}"; then
33752   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XCB\" was never defined.
33753 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33754 fi
33755 if test -z "${BUILD_ENGINE_SOFTWARE_X11_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_X11_FALSE}"; then
33756   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_X11\" was never defined.
33757 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33758 fi
33759 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE}"; then
33760   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_X11\" was never defined.
33761 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33762 fi
33763 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE}"; then
33764   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XLIB\" was never defined.
33765 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33766 fi
33767 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE}"; then
33768   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XCB\" was never defined.
33769 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33770 fi
33771 if test -z "${BUILD_ENGINE_GL_XCB_TRUE}" && test -z "${BUILD_ENGINE_GL_XCB_FALSE}"; then
33772   as_fn_error $? "conditional \"BUILD_ENGINE_GL_XCB\" was never defined.
33773 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33774 fi
33775 if test -z "${EVAS_STATIC_BUILD_GL_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XCB_FALSE}"; then
33776   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XCB\" was never defined.
33777 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33778 fi
33779 if test -z "${BUILD_ENGINE_GL_XLIB_TRUE}" && test -z "${BUILD_ENGINE_GL_XLIB_FALSE}"; then
33780   as_fn_error $? "conditional \"BUILD_ENGINE_GL_XLIB\" was never defined.
33781 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33782 fi
33783 if test -z "${EVAS_STATIC_BUILD_GL_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XLIB_FALSE}"; then
33784   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XLIB\" was never defined.
33785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33786 fi
33787 if test -z "${BUILD_ENGINE_GL_XLIB_TRUE}" && test -z "${BUILD_ENGINE_GL_XLIB_FALSE}"; then
33788   as_fn_error $? "conditional \"BUILD_ENGINE_GL_XLIB\" was never defined.
33789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33790 fi
33791 if test -z "${BUILD_ENGINE_GL_XCB_TRUE}" && test -z "${BUILD_ENGINE_GL_XCB_FALSE}"; then
33792   as_fn_error $? "conditional \"BUILD_ENGINE_GL_XCB\" was never defined.
33793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33794 fi
33795 if test -z "${BUILD_ENGINE_GL_X11_TRUE}" && test -z "${BUILD_ENGINE_GL_X11_FALSE}"; then
33796   as_fn_error $? "conditional \"BUILD_ENGINE_GL_X11\" was never defined.
33797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33798 fi
33799 if test -z "${EVAS_STATIC_BUILD_GL_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_X11_FALSE}"; then
33800   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_X11\" was never defined.
33801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33802 fi
33803 if test -z "${EVAS_STATIC_BUILD_GL_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XLIB_FALSE}"; then
33804   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XLIB\" was never defined.
33805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33806 fi
33807 if test -z "${EVAS_STATIC_BUILD_GL_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XCB_FALSE}"; then
33808   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XCB\" was never defined.
33809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33810 fi
33811 if test -z "${BUILD_ENGINE_GL_COMMON_TRUE}" && test -z "${BUILD_ENGINE_GL_COMMON_FALSE}"; then
33812   as_fn_error $? "conditional \"BUILD_ENGINE_GL_COMMON\" was never defined.
33813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33814 fi
33815 if test -z "${EVAS_STATIC_BUILD_GL_COMMON_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_COMMON_FALSE}"; then
33816   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_COMMON\" was never defined.
33817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33818 fi
33819 if test -z "${BUILD_ENGINE_SOFTWARE_16_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_FALSE}"; then
33820   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16\" was never defined.
33821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33822 fi
33823 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_FALSE}"; then
33824   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16\" was never defined.
33825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33826 fi
33827 if test -z "${BUILD_ENGINE_SOFTWARE_8_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_8_FALSE}"; then
33828   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_8\" was never defined.
33829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33830 fi
33831 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_FALSE}"; then
33832   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_8\" was never defined.
33833 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33834 fi
33835 if test -z "${BUILD_LOADER_EDB_TRUE}" && test -z "${BUILD_LOADER_EDB_FALSE}"; then
33836   as_fn_error $? "conditional \"BUILD_LOADER_EDB\" was never defined.
33837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33838 fi
33839 if test -z "${EVAS_STATIC_BUILD_EDB_TRUE}" && test -z "${EVAS_STATIC_BUILD_EDB_FALSE}"; then
33840   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_EDB\" was never defined.
33841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33842 fi
33843 if test -z "${BUILD_LOADER_EET_TRUE}" && test -z "${BUILD_LOADER_EET_FALSE}"; then
33844   as_fn_error $? "conditional \"BUILD_LOADER_EET\" was never defined.
33845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33846 fi
33847 if test -z "${EVAS_STATIC_BUILD_EET_TRUE}" && test -z "${EVAS_STATIC_BUILD_EET_FALSE}"; then
33848   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_EET\" was never defined.
33849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33850 fi
33851 if test -z "${BUILD_LOADER_GIF_TRUE}" && test -z "${BUILD_LOADER_GIF_FALSE}"; then
33852   as_fn_error $? "conditional \"BUILD_LOADER_GIF\" was never defined.
33853 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33854 fi
33855 if test -z "${EVAS_STATIC_BUILD_GIF_TRUE}" && test -z "${EVAS_STATIC_BUILD_GIF_FALSE}"; then
33856   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GIF\" was never defined.
33857 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33858 fi
33859 if test -z "${BUILD_LOADER_JPEG_TRUE}" && test -z "${BUILD_LOADER_JPEG_FALSE}"; then
33860   as_fn_error $? "conditional \"BUILD_LOADER_JPEG\" was never defined.
33861 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33862 fi
33863 if test -z "${EVAS_STATIC_BUILD_JPEG_TRUE}" && test -z "${EVAS_STATIC_BUILD_JPEG_FALSE}"; then
33864   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_JPEG\" was never defined.
33865 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33866 fi
33867 if test -z "${BUILD_SAVER_JPEG_TRUE}" && test -z "${BUILD_SAVER_JPEG_FALSE}"; then
33868   as_fn_error $? "conditional \"BUILD_SAVER_JPEG\" was never defined.
33869 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33870 fi
33871 if test -z "${BUILD_LOADER_PMAPS_TRUE}" && test -z "${BUILD_LOADER_PMAPS_FALSE}"; then
33872   as_fn_error $? "conditional \"BUILD_LOADER_PMAPS\" was never defined.
33873 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33874 fi
33875 if test -z "${EVAS_STATIC_BUILD_PMAPS_TRUE}" && test -z "${EVAS_STATIC_BUILD_PMAPS_FALSE}"; then
33876   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PMAPS\" was never defined.
33877 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33878 fi
33879 if test -z "${BUILD_LOADER_PNG_TRUE}" && test -z "${BUILD_LOADER_PNG_FALSE}"; then
33880   as_fn_error $? "conditional \"BUILD_LOADER_PNG\" was never defined.
33881 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33882 fi
33883 if test -z "${EVAS_STATIC_BUILD_PNG_TRUE}" && test -z "${EVAS_STATIC_BUILD_PNG_FALSE}"; then
33884   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PNG\" was never defined.
33885 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33886 fi
33887 if test -z "${BUILD_LOADER_SVG_TRUE}" && test -z "${BUILD_LOADER_SVG_FALSE}"; then
33888   as_fn_error $? "conditional \"BUILD_LOADER_SVG\" was never defined.
33889 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33890 fi
33891 if test -z "${EVAS_STATIC_BUILD_SVG_TRUE}" && test -z "${EVAS_STATIC_BUILD_SVG_FALSE}"; then
33892   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SVG\" was never defined.
33893 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33894 fi
33895 if test -z "${BUILD_LOADER_TIFF_TRUE}" && test -z "${BUILD_LOADER_TIFF_FALSE}"; then
33896   as_fn_error $? "conditional \"BUILD_LOADER_TIFF\" was never defined.
33897 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33898 fi
33899 if test -z "${EVAS_STATIC_BUILD_TIFF_TRUE}" && test -z "${EVAS_STATIC_BUILD_TIFF_FALSE}"; then
33900   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_TIFF\" was never defined.
33901 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33902 fi
33903 if test -z "${BUILD_LOADER_XPM_TRUE}" && test -z "${BUILD_LOADER_XPM_FALSE}"; then
33904   as_fn_error $? "conditional \"BUILD_LOADER_XPM\" was never defined.
33905 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33906 fi
33907 if test -z "${EVAS_STATIC_BUILD_XPM_TRUE}" && test -z "${EVAS_STATIC_BUILD_XPM_FALSE}"; then
33908   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_XPM\" was never defined.
33909 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33910 fi
33911 if test -z "${BUILD_LOADER_BMP_TRUE}" && test -z "${BUILD_LOADER_BMP_FALSE}"; then
33912   as_fn_error $? "conditional \"BUILD_LOADER_BMP\" was never defined.
33913 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33914 fi
33915 if test -z "${EVAS_STATIC_BUILD_BMP_TRUE}" && test -z "${EVAS_STATIC_BUILD_BMP_FALSE}"; then
33916   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_BMP\" was never defined.
33917 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33918 fi
33919 if test -z "${BUILD_LOADER_TGA_TRUE}" && test -z "${BUILD_LOADER_TGA_FALSE}"; then
33920   as_fn_error $? "conditional \"BUILD_LOADER_TGA\" was never defined.
33921 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33922 fi
33923 if test -z "${EVAS_STATIC_BUILD_TGA_TRUE}" && test -z "${EVAS_STATIC_BUILD_TGA_FALSE}"; then
33924   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_TGA\" was never defined.
33925 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33926 fi
33927 if test -z "${BUILD_LOADER_WBMP_TRUE}" && test -z "${BUILD_LOADER_WBMP_FALSE}"; then
33928   as_fn_error $? "conditional \"BUILD_LOADER_WBMP\" was never defined.
33929 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33930 fi
33931 if test -z "${EVAS_STATIC_BUILD_WBMP_TRUE}" && test -z "${EVAS_STATIC_BUILD_WBMP_FALSE}"; then
33932   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_WBMP\" was never defined.
33933 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33934 fi
33935 if test -z "${BUILD_LOADER_ICO_TRUE}" && test -z "${BUILD_LOADER_ICO_FALSE}"; then
33936   as_fn_error $? "conditional \"BUILD_LOADER_ICO\" was never defined.
33937 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33938 fi
33939 if test -z "${EVAS_STATIC_BUILD_ICO_TRUE}" && test -z "${EVAS_STATIC_BUILD_ICO_FALSE}"; then
33940   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_ICO\" was never defined.
33941 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33942 fi
33943 if test -z "${BUILD_LOADER_PSD_TRUE}" && test -z "${BUILD_LOADER_PSD_FALSE}"; then
33944   as_fn_error $? "conditional \"BUILD_LOADER_PSD\" was never defined.
33945 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33946 fi
33947 if test -z "${EVAS_STATIC_BUILD_PSD_TRUE}" && test -z "${EVAS_STATIC_BUILD_PSD_FALSE}"; then
33948   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PSD\" was never defined.
33949 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33950 fi
33951 if test -z "${BUILD_LOADER_GENERIC_TRUE}" && test -z "${BUILD_LOADER_GENERIC_FALSE}"; then
33952   as_fn_error $? "conditional \"BUILD_LOADER_GENERIC\" was never defined.
33953 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33954 fi
33955 if test -z "${EVAS_STATIC_BUILD_GENERIC_TRUE}" && test -z "${EVAS_STATIC_BUILD_GENERIC_FALSE}"; then
33956   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GENERIC\" was never defined.
33957 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33958 fi
33959 if test -z "${EVAS_MAGIC_DEBUG_TRUE}" && test -z "${EVAS_MAGIC_DEBUG_FALSE}"; then
33960   as_fn_error $? "conditional \"EVAS_MAGIC_DEBUG\" was never defined.
33961 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33962 fi
33963 if test -z "${INSTALL_EXAMPLES_TRUE}" && test -z "${INSTALL_EXAMPLES_FALSE}"; then
33964   as_fn_error $? "conditional \"INSTALL_EXAMPLES\" was never defined.
33965 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33966 fi
33967 if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
33968   as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
33969 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33970 fi
33971 if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
33972   as_fn_error $? "conditional \"EFL_ENABLE_TESTS\" was never defined.
33973 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33974 fi
33975 if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then
33976   as_fn_error $? "conditional \"EFL_ENABLE_COVERAGE\" was never defined.
33977 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33978 fi
33979
33980 : "${CONFIG_STATUS=./config.status}"
33981 ac_write_fail=0
33982 ac_clean_files_save=$ac_clean_files
33983 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33984 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
33985 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
33986 as_write_fail=0
33987 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
33988 #! $SHELL
33989 # Generated by $as_me.
33990 # Run this file to recreate the current configuration.
33991 # Compiler output produced by configure, useful for debugging
33992 # configure, is in config.log if it exists.
33993
33994 debug=false
33995 ac_cs_recheck=false
33996 ac_cs_silent=false
33997
33998 SHELL=\${CONFIG_SHELL-$SHELL}
33999 export SHELL
34000 _ASEOF
34001 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
34002 ## -------------------- ##
34003 ## M4sh Initialization. ##
34004 ## -------------------- ##
34005
34006 # Be more Bourne compatible
34007 DUALCASE=1; export DUALCASE # for MKS sh
34008 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
34009   emulate sh
34010   NULLCMD=:
34011   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
34012   # is contrary to our usage.  Disable this feature.
34013   alias -g '${1+"$@"}'='"$@"'
34014   setopt NO_GLOB_SUBST
34015 else
34016   case `(set -o) 2>/dev/null` in #(
34017   *posix*) :
34018     set -o posix ;; #(
34019   *) :
34020      ;;
34021 esac
34022 fi
34023
34024
34025 as_nl='
34026 '
34027 export as_nl
34028 # Printing a long string crashes Solaris 7 /usr/bin/printf.
34029 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
34030 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
34031 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
34032 # Prefer a ksh shell builtin over an external printf program on Solaris,
34033 # but without wasting forks for bash or zsh.
34034 if test -z "$BASH_VERSION$ZSH_VERSION" \
34035     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
34036   as_echo='print -r --'
34037   as_echo_n='print -rn --'
34038 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
34039   as_echo='printf %s\n'
34040   as_echo_n='printf %s'
34041 else
34042   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
34043     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
34044     as_echo_n='/usr/ucb/echo -n'
34045   else
34046     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
34047     as_echo_n_body='eval
34048       arg=$1;
34049       case $arg in #(
34050       *"$as_nl"*)
34051         expr "X$arg" : "X\\(.*\\)$as_nl";
34052         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
34053       esac;
34054       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
34055     '
34056     export as_echo_n_body
34057     as_echo_n='sh -c $as_echo_n_body as_echo'
34058   fi
34059   export as_echo_body
34060   as_echo='sh -c $as_echo_body as_echo'
34061 fi
34062
34063 # The user is always right.
34064 if test "${PATH_SEPARATOR+set}" != set; then
34065   PATH_SEPARATOR=:
34066   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
34067     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
34068       PATH_SEPARATOR=';'
34069   }
34070 fi
34071
34072
34073 # IFS
34074 # We need space, tab and new line, in precisely that order.  Quoting is
34075 # there to prevent editors from complaining about space-tab.
34076 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
34077 # splitting by setting IFS to empty value.)
34078 IFS=" ""        $as_nl"
34079
34080 # Find who we are.  Look in the path if we contain no directory separator.
34081 as_myself=
34082 case $0 in #((
34083   *[\\/]* ) as_myself=$0 ;;
34084   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34085 for as_dir in $PATH
34086 do
34087   IFS=$as_save_IFS
34088   test -z "$as_dir" && as_dir=.
34089     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
34090   done
34091 IFS=$as_save_IFS
34092
34093      ;;
34094 esac
34095 # We did not find ourselves, most probably we were run as `sh COMMAND'
34096 # in which case we are not to be found in the path.
34097 if test "x$as_myself" = x; then
34098   as_myself=$0
34099 fi
34100 if test ! -f "$as_myself"; then
34101   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
34102   exit 1
34103 fi
34104
34105 # Unset variables that we do not need and which cause bugs (e.g. in
34106 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
34107 # suppresses any "Segmentation fault" message there.  '((' could
34108 # trigger a bug in pdksh 5.2.14.
34109 for as_var in BASH_ENV ENV MAIL MAILPATH
34110 do eval test x\${$as_var+set} = xset \
34111   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
34112 done
34113 PS1='$ '
34114 PS2='> '
34115 PS4='+ '
34116
34117 # NLS nuisances.
34118 LC_ALL=C
34119 export LC_ALL
34120 LANGUAGE=C
34121 export LANGUAGE
34122
34123 # CDPATH.
34124 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
34125
34126
34127 # as_fn_error STATUS ERROR [LINENO LOG_FD]
34128 # ----------------------------------------
34129 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
34130 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
34131 # script with STATUS, using 1 if that was 0.
34132 as_fn_error ()
34133 {
34134   as_status=$1; test $as_status -eq 0 && as_status=1
34135   if test "$4"; then
34136     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
34137     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
34138   fi
34139   $as_echo "$as_me: error: $2" >&2
34140   as_fn_exit $as_status
34141 } # as_fn_error
34142
34143
34144 # as_fn_set_status STATUS
34145 # -----------------------
34146 # Set $? to STATUS, without forking.
34147 as_fn_set_status ()
34148 {
34149   return $1
34150 } # as_fn_set_status
34151
34152 # as_fn_exit STATUS
34153 # -----------------
34154 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
34155 as_fn_exit ()
34156 {
34157   set +e
34158   as_fn_set_status $1
34159   exit $1
34160 } # as_fn_exit
34161
34162 # as_fn_unset VAR
34163 # ---------------
34164 # Portably unset VAR.
34165 as_fn_unset ()
34166 {
34167   { eval $1=; unset $1;}
34168 }
34169 as_unset=as_fn_unset
34170 # as_fn_append VAR VALUE
34171 # ----------------------
34172 # Append the text in VALUE to the end of the definition contained in VAR. Take
34173 # advantage of any shell optimizations that allow amortized linear growth over
34174 # repeated appends, instead of the typical quadratic growth present in naive
34175 # implementations.
34176 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
34177   eval 'as_fn_append ()
34178   {
34179     eval $1+=\$2
34180   }'
34181 else
34182   as_fn_append ()
34183   {
34184     eval $1=\$$1\$2
34185   }
34186 fi # as_fn_append
34187
34188 # as_fn_arith ARG...
34189 # ------------------
34190 # Perform arithmetic evaluation on the ARGs, and store the result in the
34191 # global $as_val. Take advantage of shells that can avoid forks. The arguments
34192 # must be portable across $(()) and expr.
34193 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
34194   eval 'as_fn_arith ()
34195   {
34196     as_val=$(( $* ))
34197   }'
34198 else
34199   as_fn_arith ()
34200   {
34201     as_val=`expr "$@" || test $? -eq 1`
34202   }
34203 fi # as_fn_arith
34204
34205
34206 if expr a : '\(a\)' >/dev/null 2>&1 &&
34207    test "X`expr 00001 : '.*\(...\)'`" = X001; then
34208   as_expr=expr
34209 else
34210   as_expr=false
34211 fi
34212
34213 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
34214   as_basename=basename
34215 else
34216   as_basename=false
34217 fi
34218
34219 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
34220   as_dirname=dirname
34221 else
34222   as_dirname=false
34223 fi
34224
34225 as_me=`$as_basename -- "$0" ||
34226 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34227          X"$0" : 'X\(//\)$' \| \
34228          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
34229 $as_echo X/"$0" |
34230     sed '/^.*\/\([^/][^/]*\)\/*$/{
34231             s//\1/
34232             q
34233           }
34234           /^X\/\(\/\/\)$/{
34235             s//\1/
34236             q
34237           }
34238           /^X\/\(\/\).*/{
34239             s//\1/
34240             q
34241           }
34242           s/.*/./; q'`
34243
34244 # Avoid depending upon Character Ranges.
34245 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34246 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34247 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34248 as_cr_digits='0123456789'
34249 as_cr_alnum=$as_cr_Letters$as_cr_digits
34250
34251 ECHO_C= ECHO_N= ECHO_T=
34252 case `echo -n x` in #(((((
34253 -n*)
34254   case `echo 'xy\c'` in
34255   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
34256   xy)  ECHO_C='\c';;
34257   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
34258        ECHO_T=' ';;
34259   esac;;
34260 *)
34261   ECHO_N='-n';;
34262 esac
34263
34264 rm -f conf$$ conf$$.exe conf$$.file
34265 if test -d conf$$.dir; then
34266   rm -f conf$$.dir/conf$$.file
34267 else
34268   rm -f conf$$.dir
34269   mkdir conf$$.dir 2>/dev/null
34270 fi
34271 if (echo >conf$$.file) 2>/dev/null; then
34272   if ln -s conf$$.file conf$$ 2>/dev/null; then
34273     as_ln_s='ln -s'
34274     # ... but there are two gotchas:
34275     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
34276     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
34277     # In both cases, we have to default to `cp -pR'.
34278     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
34279       as_ln_s='cp -pR'
34280   elif ln conf$$.file conf$$ 2>/dev/null; then
34281     as_ln_s=ln
34282   else
34283     as_ln_s='cp -pR'
34284   fi
34285 else
34286   as_ln_s='cp -pR'
34287 fi
34288 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
34289 rmdir conf$$.dir 2>/dev/null
34290
34291
34292 # as_fn_mkdir_p
34293 # -------------
34294 # Create "$as_dir" as a directory, including parents if necessary.
34295 as_fn_mkdir_p ()
34296 {
34297
34298   case $as_dir in #(
34299   -*) as_dir=./$as_dir;;
34300   esac
34301   test -d "$as_dir" || eval $as_mkdir_p || {
34302     as_dirs=
34303     while :; do
34304       case $as_dir in #(
34305       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
34306       *) as_qdir=$as_dir;;
34307       esac
34308       as_dirs="'$as_qdir' $as_dirs"
34309       as_dir=`$as_dirname -- "$as_dir" ||
34310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34311          X"$as_dir" : 'X\(//\)[^/]' \| \
34312          X"$as_dir" : 'X\(//\)$' \| \
34313          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34314 $as_echo X"$as_dir" |
34315     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34316             s//\1/
34317             q
34318           }
34319           /^X\(\/\/\)[^/].*/{
34320             s//\1/
34321             q
34322           }
34323           /^X\(\/\/\)$/{
34324             s//\1/
34325             q
34326           }
34327           /^X\(\/\).*/{
34328             s//\1/
34329             q
34330           }
34331           s/.*/./; q'`
34332       test -d "$as_dir" && break
34333     done
34334     test -z "$as_dirs" || eval "mkdir $as_dirs"
34335   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
34336
34337
34338 } # as_fn_mkdir_p
34339 if mkdir -p . 2>/dev/null; then
34340   as_mkdir_p='mkdir -p "$as_dir"'
34341 else
34342   test -d ./-p && rmdir ./-p
34343   as_mkdir_p=false
34344 fi
34345
34346
34347 # as_fn_executable_p FILE
34348 # -----------------------
34349 # Test if FILE is an executable regular file.
34350 as_fn_executable_p ()
34351 {
34352   test -f "$1" && test -x "$1"
34353 } # as_fn_executable_p
34354 as_test_x='test -x'
34355 as_executable_p=as_fn_executable_p
34356
34357 # Sed expression to map a string onto a valid CPP name.
34358 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
34359
34360 # Sed expression to map a string onto a valid variable name.
34361 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
34362
34363
34364 exec 6>&1
34365 ## ----------------------------------- ##
34366 ## Main body of $CONFIG_STATUS script. ##
34367 ## ----------------------------------- ##
34368 _ASEOF
34369 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
34370
34371 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34372 # Save the log message, to keep $0 and so on meaningful, and to
34373 # report actual input values of CONFIG_FILES etc. instead of their
34374 # values after options handling.
34375 ac_log="
34376 This file was extended by evas $as_me 1.7.8, which was
34377 generated by GNU Autoconf 2.69.  Invocation command line was
34378
34379   CONFIG_FILES    = $CONFIG_FILES
34380   CONFIG_HEADERS  = $CONFIG_HEADERS
34381   CONFIG_LINKS    = $CONFIG_LINKS
34382   CONFIG_COMMANDS = $CONFIG_COMMANDS
34383   $ $0 $@
34384
34385 on `(hostname || uname -n) 2>/dev/null | sed 1q`
34386 "
34387
34388 _ACEOF
34389
34390 case $ac_config_files in *"
34391 "*) set x $ac_config_files; shift; ac_config_files=$*;;
34392 esac
34393
34394 case $ac_config_headers in *"
34395 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
34396 esac
34397
34398
34399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34400 # Files that config.status was made for.
34401 config_files="$ac_config_files"
34402 config_headers="$ac_config_headers"
34403 config_commands="$ac_config_commands"
34404
34405 _ACEOF
34406
34407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34408 ac_cs_usage="\
34409 \`$as_me' instantiates files and other configuration actions
34410 from templates according to the current configuration.  Unless the files
34411 and actions are specified as TAGs, all are instantiated by default.
34412
34413 Usage: $0 [OPTION]... [TAG]...
34414
34415   -h, --help       print this help, then exit
34416   -V, --version    print version number and configuration settings, then exit
34417       --config     print configuration, then exit
34418   -q, --quiet, --silent
34419                    do not print progress messages
34420   -d, --debug      don't remove temporary files
34421       --recheck    update $as_me by reconfiguring in the same conditions
34422       --file=FILE[:TEMPLATE]
34423                    instantiate the configuration file FILE
34424       --header=FILE[:TEMPLATE]
34425                    instantiate the configuration header FILE
34426
34427 Configuration files:
34428 $config_files
34429
34430 Configuration headers:
34431 $config_headers
34432
34433 Configuration commands:
34434 $config_commands
34435
34436 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
34437
34438 _ACEOF
34439 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34440 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
34441 ac_cs_version="\\
34442 evas config.status 1.7.8
34443 configured by $0, generated by GNU Autoconf 2.69,
34444   with options \\"\$ac_cs_config\\"
34445
34446 Copyright (C) 2012 Free Software Foundation, Inc.
34447 This config.status script is free software; the Free Software Foundation
34448 gives unlimited permission to copy, distribute and modify it."
34449
34450 ac_pwd='$ac_pwd'
34451 srcdir='$srcdir'
34452 INSTALL='$INSTALL'
34453 MKDIR_P='$MKDIR_P'
34454 AWK='$AWK'
34455 test -n "\$AWK" || AWK=awk
34456 _ACEOF
34457
34458 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34459 # The default lists apply if the user does not specify any file.
34460 ac_need_defaults=:
34461 while test $# != 0
34462 do
34463   case $1 in
34464   --*=?*)
34465     ac_option=`expr "X$1" : 'X\([^=]*\)='`
34466     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
34467     ac_shift=:
34468     ;;
34469   --*=)
34470     ac_option=`expr "X$1" : 'X\([^=]*\)='`
34471     ac_optarg=
34472     ac_shift=:
34473     ;;
34474   *)
34475     ac_option=$1
34476     ac_optarg=$2
34477     ac_shift=shift
34478     ;;
34479   esac
34480
34481   case $ac_option in
34482   # Handling of the options.
34483   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
34484     ac_cs_recheck=: ;;
34485   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
34486     $as_echo "$ac_cs_version"; exit ;;
34487   --config | --confi | --conf | --con | --co | --c )
34488     $as_echo "$ac_cs_config"; exit ;;
34489   --debug | --debu | --deb | --de | --d | -d )
34490     debug=: ;;
34491   --file | --fil | --fi | --f )
34492     $ac_shift
34493     case $ac_optarg in
34494     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
34495     '') as_fn_error $? "missing file argument" ;;
34496     esac
34497     as_fn_append CONFIG_FILES " '$ac_optarg'"
34498     ac_need_defaults=false;;
34499   --header | --heade | --head | --hea )
34500     $ac_shift
34501     case $ac_optarg in
34502     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
34503     esac
34504     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
34505     ac_need_defaults=false;;
34506   --he | --h)
34507     # Conflict between --help and --header
34508     as_fn_error $? "ambiguous option: \`$1'
34509 Try \`$0 --help' for more information.";;
34510   --help | --hel | -h )
34511     $as_echo "$ac_cs_usage"; exit ;;
34512   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
34513   | -silent | --silent | --silen | --sile | --sil | --si | --s)
34514     ac_cs_silent=: ;;
34515
34516   # This is an error.
34517   -*) as_fn_error $? "unrecognized option: \`$1'
34518 Try \`$0 --help' for more information." ;;
34519
34520   *) as_fn_append ac_config_targets " $1"
34521      ac_need_defaults=false ;;
34522
34523   esac
34524   shift
34525 done
34526
34527 ac_configure_extra_args=
34528
34529 if $ac_cs_silent; then
34530   exec 6>/dev/null
34531   ac_configure_extra_args="$ac_configure_extra_args --silent"
34532 fi
34533
34534 _ACEOF
34535 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34536 if \$ac_cs_recheck; then
34537   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34538   shift
34539   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
34540   CONFIG_SHELL='$SHELL'
34541   export CONFIG_SHELL
34542   exec "\$@"
34543 fi
34544
34545 _ACEOF
34546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34547 exec 5>>config.log
34548 {
34549   echo
34550   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34551 ## Running $as_me. ##
34552 _ASBOX
34553   $as_echo "$ac_log"
34554 } >&5
34555
34556 _ACEOF
34557 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34558 #
34559 # INIT-COMMANDS
34560 #
34561 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
34562
34563
34564 # The HP-UX ksh and POSIX shell print the target directory to stdout
34565 # if CDPATH is set.
34566 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
34567
34568 sed_quote_subst='$sed_quote_subst'
34569 double_quote_subst='$double_quote_subst'
34570 delay_variable_subst='$delay_variable_subst'
34571 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
34572 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
34573 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
34574 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
34575 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
34576 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
34577 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
34578 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
34579 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
34580 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
34581 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
34582 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
34583 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
34584 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
34585 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
34586 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
34587 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
34588 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
34589 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
34590 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
34591 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
34592 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
34593 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
34594 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
34595 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
34596 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
34597 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
34598 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
34599 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
34600 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
34601 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
34602 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
34603 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
34604 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
34605 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
34606 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
34607 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
34608 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
34609 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
34610 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
34611 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
34612 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
34613 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
34614 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
34615 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
34616 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
34617 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
34618 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
34619 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
34620 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
34621 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
34622 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
34623 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
34624 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
34625 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
34626 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
34627 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
34628 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
34629 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
34630 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
34631 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
34632 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
34633 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
34634 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
34635 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
34636 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
34637 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
34638 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
34639 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
34640 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
34641 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
34642 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
34643 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
34644 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
34645 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
34646 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
34647 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
34648 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
34649 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
34650 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
34651 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
34652 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
34653 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
34654 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
34655 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
34656 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
34657 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
34658 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
34659 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
34660 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
34661 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
34662 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
34663 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
34664 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
34665 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
34666 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
34667 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
34668 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
34669 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
34670 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
34671 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
34672 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
34673 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
34674 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
34675 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
34676 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
34677 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
34678 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
34679 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
34680 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
34681 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
34682 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
34683 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
34684 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
34685 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
34686 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
34687 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
34688 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
34689 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
34690 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
34691 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
34692 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
34693 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
34694 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
34695 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
34696 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
34697 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
34698 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
34699 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
34700 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
34701 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
34702 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
34703 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
34704 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
34705 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
34706 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
34707 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
34708 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
34709 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
34710 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34711 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34712 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
34713 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
34714 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
34715 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
34716 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
34717 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
34718 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
34719 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
34720 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
34721 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
34722 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
34723 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
34724 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34725 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34726 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34727 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34728 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34729 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34730 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
34731 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
34732 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
34733 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
34734 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
34735 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
34736 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
34737 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
34738 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
34739 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
34740 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
34741 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
34742 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
34743 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34744 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
34745 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
34746 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34747 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34748 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
34749 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
34750 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
34751 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
34752 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
34753 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
34754 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
34755 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
34756
34757 LTCC='$LTCC'
34758 LTCFLAGS='$LTCFLAGS'
34759 compiler='$compiler_DEFAULT'
34760
34761 # A function that is used when there is no print builtin or printf.
34762 func_fallback_echo ()
34763 {
34764   eval 'cat <<_LTECHO_EOF
34765 \$1
34766 _LTECHO_EOF'
34767 }
34768
34769 # Quote evaled strings.
34770 for var in AS \
34771 DLLTOOL \
34772 OBJDUMP \
34773 SHELL \
34774 ECHO \
34775 PATH_SEPARATOR \
34776 SED \
34777 GREP \
34778 EGREP \
34779 FGREP \
34780 LD \
34781 NM \
34782 LN_S \
34783 lt_SP2NL \
34784 lt_NL2SP \
34785 reload_flag \
34786 deplibs_check_method \
34787 file_magic_cmd \
34788 file_magic_glob \
34789 want_nocaseglob \
34790 sharedlib_from_linklib_cmd \
34791 AR \
34792 AR_FLAGS \
34793 archiver_list_spec \
34794 STRIP \
34795 RANLIB \
34796 CC \
34797 CFLAGS \
34798 compiler \
34799 lt_cv_sys_global_symbol_pipe \
34800 lt_cv_sys_global_symbol_to_cdecl \
34801 lt_cv_sys_global_symbol_to_c_name_address \
34802 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
34803 nm_file_list_spec \
34804 lt_prog_compiler_no_builtin_flag \
34805 lt_prog_compiler_pic \
34806 lt_prog_compiler_wl \
34807 lt_prog_compiler_static \
34808 lt_cv_prog_compiler_c_o \
34809 need_locks \
34810 MANIFEST_TOOL \
34811 DSYMUTIL \
34812 NMEDIT \
34813 LIPO \
34814 OTOOL \
34815 OTOOL64 \
34816 shrext_cmds \
34817 export_dynamic_flag_spec \
34818 whole_archive_flag_spec \
34819 compiler_needs_object \
34820 with_gnu_ld \
34821 allow_undefined_flag \
34822 no_undefined_flag \
34823 hardcode_libdir_flag_spec \
34824 hardcode_libdir_separator \
34825 exclude_expsyms \
34826 include_expsyms \
34827 file_list_spec \
34828 variables_saved_for_relink \
34829 libname_spec \
34830 library_names_spec \
34831 soname_spec \
34832 install_override_mode \
34833 finish_eval \
34834 old_striplib \
34835 striplib \
34836 compiler_lib_search_dirs \
34837 predep_objects \
34838 postdep_objects \
34839 predeps \
34840 postdeps \
34841 compiler_lib_search_path \
34842 LD_CXX \
34843 reload_flag_CXX \
34844 compiler_CXX \
34845 lt_prog_compiler_no_builtin_flag_CXX \
34846 lt_prog_compiler_pic_CXX \
34847 lt_prog_compiler_wl_CXX \
34848 lt_prog_compiler_static_CXX \
34849 lt_cv_prog_compiler_c_o_CXX \
34850 export_dynamic_flag_spec_CXX \
34851 whole_archive_flag_spec_CXX \
34852 compiler_needs_object_CXX \
34853 with_gnu_ld_CXX \
34854 allow_undefined_flag_CXX \
34855 no_undefined_flag_CXX \
34856 hardcode_libdir_flag_spec_CXX \
34857 hardcode_libdir_separator_CXX \
34858 exclude_expsyms_CXX \
34859 include_expsyms_CXX \
34860 file_list_spec_CXX \
34861 compiler_lib_search_dirs_CXX \
34862 predep_objects_CXX \
34863 postdep_objects_CXX \
34864 predeps_CXX \
34865 postdeps_CXX \
34866 compiler_lib_search_path_CXX; do
34867     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
34868     *[\\\\\\\`\\"\\\$]*)
34869       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
34870       ;;
34871     *)
34872       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34873       ;;
34874     esac
34875 done
34876
34877 # Double-quote double-evaled strings.
34878 for var in reload_cmds \
34879 old_postinstall_cmds \
34880 old_postuninstall_cmds \
34881 old_archive_cmds \
34882 extract_expsyms_cmds \
34883 old_archive_from_new_cmds \
34884 old_archive_from_expsyms_cmds \
34885 archive_cmds \
34886 archive_expsym_cmds \
34887 module_cmds \
34888 module_expsym_cmds \
34889 export_symbols_cmds \
34890 prelink_cmds \
34891 postlink_cmds \
34892 postinstall_cmds \
34893 postuninstall_cmds \
34894 finish_cmds \
34895 sys_lib_search_path_spec \
34896 sys_lib_dlsearch_path_spec \
34897 reload_cmds_CXX \
34898 old_archive_cmds_CXX \
34899 old_archive_from_new_cmds_CXX \
34900 old_archive_from_expsyms_cmds_CXX \
34901 archive_cmds_CXX \
34902 archive_expsym_cmds_CXX \
34903 module_cmds_CXX \
34904 module_expsym_cmds_CXX \
34905 export_symbols_cmds_CXX \
34906 prelink_cmds_CXX \
34907 postlink_cmds_CXX; do
34908     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
34909     *[\\\\\\\`\\"\\\$]*)
34910       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
34911       ;;
34912     *)
34913       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34914       ;;
34915     esac
34916 done
34917
34918 ac_aux_dir='$ac_aux_dir'
34919 xsi_shell='$xsi_shell'
34920 lt_shell_append='$lt_shell_append'
34921
34922 # See if we are running on zsh, and set the options which allow our
34923 # commands through without removal of \ escapes INIT.
34924 if test -n "\${ZSH_VERSION+set}" ; then
34925    setopt NO_GLOB_SUBST
34926 fi
34927
34928
34929     PACKAGE='$PACKAGE'
34930     VERSION='$VERSION'
34931     TIMESTAMP='$TIMESTAMP'
34932     RM='$RM'
34933     ofile='$ofile'
34934
34935
34936
34937
34938
34939
34940 _ACEOF
34941
34942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34943
34944 # Handling of arguments.
34945 for ac_config_target in $ac_config_targets
34946 do
34947   case $ac_config_target in
34948     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
34949     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
34950     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
34951     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
34952     "evas-directfb.pc") CONFIG_FILES="$CONFIG_FILES evas-directfb.pc" ;;
34953     "evas-fb.pc") CONFIG_FILES="$CONFIG_FILES evas-fb.pc" ;;
34954     "evas-opengl-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-opengl-x11.pc" ;;
34955     "evas-opengl-sdl.pc") CONFIG_FILES="$CONFIG_FILES evas-opengl-sdl.pc" ;;
34956     "evas-opengl-cocoa.pc") CONFIG_FILES="$CONFIG_FILES evas-opengl-cocoa.pc" ;;
34957     "evas-software-buffer.pc") CONFIG_FILES="$CONFIG_FILES evas-software-buffer.pc" ;;
34958     "evas-software-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-software-x11.pc" ;;
34959     "evas-software-8-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-software-8-x11.pc" ;;
34960     "evas-software-16-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-software-16-x11.pc" ;;
34961     "evas-software-gdi.pc") CONFIG_FILES="$CONFIG_FILES evas-software-gdi.pc" ;;
34962     "evas-software-ddraw.pc") CONFIG_FILES="$CONFIG_FILES evas-software-ddraw.pc" ;;
34963     "evas-direct3d.pc") CONFIG_FILES="$CONFIG_FILES evas-direct3d.pc" ;;
34964     "evas-software-16-wince.pc") CONFIG_FILES="$CONFIG_FILES evas-software-16-wince.pc" ;;
34965     "evas-software-sdl.pc") CONFIG_FILES="$CONFIG_FILES evas-software-sdl.pc" ;;
34966     "evas-psl1ght.pc") CONFIG_FILES="$CONFIG_FILES evas-psl1ght.pc" ;;
34967     "evas-wayland-shm.pc") CONFIG_FILES="$CONFIG_FILES evas-wayland-shm.pc" ;;
34968     "evas-wayland-egl.pc") CONFIG_FILES="$CONFIG_FILES evas-wayland-egl.pc" ;;
34969     "evas.pc") CONFIG_FILES="$CONFIG_FILES evas.pc" ;;
34970     "doc/evas.dox") CONFIG_FILES="$CONFIG_FILES doc/evas.dox" ;;
34971     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
34972     "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
34973     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
34974     "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
34975     "src/bin/loaders/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/Makefile" ;;
34976     "src/bin/loaders/jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/jpeg/Makefile" ;;
34977     "src/bin/loaders/png/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/png/Makefile" ;;
34978     "src/bin/loaders/eet/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/eet/Makefile" ;;
34979     "src/bin/loaders/tiff/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/tiff/Makefile" ;;
34980     "src/bin/loaders/xpm/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/xpm/Makefile" ;;
34981     "src/bin/loaders/bmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/bmp/Makefile" ;;
34982     "src/bin/loaders/ico/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/ico/Makefile" ;;
34983     "src/bin/loaders/tga/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/tga/Makefile" ;;
34984     "src/bin/loaders/pmaps/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/pmaps/Makefile" ;;
34985     "src/bin/loaders/wbmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/wbmp/Makefile" ;;
34986     "src/bin/loaders/psd/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/psd/Makefile" ;;
34987     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
34988     "src/lib/canvas/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/canvas/Makefile" ;;
34989     "src/lib/file/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/file/Makefile" ;;
34990     "src/lib/cache/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cache/Makefile" ;;
34991     "src/lib/cache2/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cache2/Makefile" ;;
34992     "src/lib/cserve/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cserve/Makefile" ;;
34993     "src/lib/cserve2/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cserve2/Makefile" ;;
34994     "src/lib/engines/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/Makefile" ;;
34995     "src/lib/engines/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/Makefile" ;;
34996     "src/lib/engines/common/evas_op_add/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_add/Makefile" ;;
34997     "src/lib/engines/common/evas_op_blend/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_blend/Makefile" ;;
34998     "src/lib/engines/common/evas_op_copy/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_copy/Makefile" ;;
34999     "src/lib/engines/common/evas_op_mask/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_mask/Makefile" ;;
35000     "src/lib/engines/common/evas_op_mul/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_mul/Makefile" ;;
35001     "src/lib/engines/common/evas_op_sub/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_sub/Makefile" ;;
35002     "src/lib/engines/common_8/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common_8/Makefile" ;;
35003     "src/lib/engines/common_16/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common_16/Makefile" ;;
35004     "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
35005     "src/modules/engines/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/Makefile" ;;
35006     "src/modules/engines/software_generic/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_generic/Makefile" ;;
35007     "src/modules/engines/software_gdi/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_gdi/Makefile" ;;
35008     "src/modules/engines/software_ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_ddraw/Makefile" ;;
35009     "src/modules/engines/direct3d/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/direct3d/Makefile" ;;
35010     "src/modules/engines/software_16_wince/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16_wince/Makefile" ;;
35011     "src/modules/engines/software_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_x11/Makefile" ;;
35012     "src/modules/engines/fb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/fb/Makefile" ;;
35013     "src/modules/engines/buffer/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/buffer/Makefile" ;;
35014     "src/modules/engines/directfb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/directfb/Makefile" ;;
35015     "src/modules/engines/gl_common/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_common/Makefile" ;;
35016     "src/modules/engines/gl_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_x11/Makefile" ;;
35017     "src/modules/engines/gl_sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_sdl/Makefile" ;;
35018     "src/modules/engines/gl_cocoa/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_cocoa/Makefile" ;;
35019     "src/modules/engines/psl1ght/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/psl1ght/Makefile" ;;
35020     "src/modules/engines/software_8/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_8/Makefile" ;;
35021     "src/modules/engines/software_8_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_8_x11/Makefile" ;;
35022     "src/modules/engines/software_16/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16/Makefile" ;;
35023     "src/modules/engines/software_16_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16_x11/Makefile" ;;
35024     "src/modules/engines/software_16_sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16_sdl/Makefile" ;;
35025     "src/modules/engines/wayland_shm/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/wayland_shm/Makefile" ;;
35026     "src/modules/engines/wayland_egl/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/wayland_egl/Makefile" ;;
35027     "src/modules/loaders/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/Makefile" ;;
35028     "src/modules/loaders/edb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/edb/Makefile" ;;
35029     "src/modules/loaders/eet/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/eet/Makefile" ;;
35030     "src/modules/loaders/gif/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/gif/Makefile" ;;
35031     "src/modules/loaders/jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/jpeg/Makefile" ;;
35032     "src/modules/loaders/png/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/png/Makefile" ;;
35033     "src/modules/loaders/tiff/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/tiff/Makefile" ;;
35034     "src/modules/loaders/xpm/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/xpm/Makefile" ;;
35035     "src/modules/loaders/bmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/bmp/Makefile" ;;
35036     "src/modules/loaders/ico/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/ico/Makefile" ;;
35037     "src/modules/loaders/tga/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/tga/Makefile" ;;
35038     "src/modules/loaders/svg/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/svg/Makefile" ;;
35039     "src/modules/loaders/pmaps/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/pmaps/Makefile" ;;
35040     "src/modules/loaders/wbmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/wbmp/Makefile" ;;
35041     "src/modules/loaders/psd/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/psd/Makefile" ;;
35042     "src/modules/loaders/generic/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/generic/Makefile" ;;
35043     "src/modules/savers/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/Makefile" ;;
35044     "src/modules/savers/edb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/edb/Makefile" ;;
35045     "src/modules/savers/eet/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/eet/Makefile" ;;
35046     "src/modules/savers/jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/jpeg/Makefile" ;;
35047     "src/modules/savers/png/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/png/Makefile" ;;
35048     "src/modules/savers/tiff/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/tiff/Makefile" ;;
35049     "src/static_deps/Makefile") CONFIG_FILES="$CONFIG_FILES src/static_deps/Makefile" ;;
35050     "src/static_deps/liblinebreak/Makefile") CONFIG_FILES="$CONFIG_FILES src/static_deps/liblinebreak/Makefile" ;;
35051     "src/lib/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/include/Makefile" ;;
35052     "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
35053     "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
35054     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
35055     "evas.spec") CONFIG_FILES="$CONFIG_FILES evas.spec" ;;
35056
35057   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
35058   esac
35059 done
35060
35061
35062 # If the user did not use the arguments to specify the items to instantiate,
35063 # then the envvar interface is used.  Set only those that are not.
35064 # We use the long form for the default assignment because of an extremely
35065 # bizarre bug on SunOS 4.1.3.
35066 if $ac_need_defaults; then
35067   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35068   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35069   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35070 fi
35071
35072 # Have a temporary directory for convenience.  Make it in the build tree
35073 # simply because there is no reason against having it here, and in addition,
35074 # creating and moving files from /tmp can sometimes cause problems.
35075 # Hook for its removal unless debugging.
35076 # Note that there is a small window in which the directory will not be cleaned:
35077 # after its creation but before its name has been assigned to `$tmp'.
35078 $debug ||
35079 {
35080   tmp= ac_tmp=
35081   trap 'exit_status=$?
35082   : "${ac_tmp:=$tmp}"
35083   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
35084 ' 0
35085   trap 'as_fn_exit 1' 1 2 13 15
35086 }
35087 # Create a (secure) tmp directory for tmp files.
35088
35089 {
35090   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
35091   test -d "$tmp"
35092 }  ||
35093 {
35094   tmp=./conf$$-$RANDOM
35095   (umask 077 && mkdir "$tmp")
35096 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
35097 ac_tmp=$tmp
35098
35099 # Set up the scripts for CONFIG_FILES section.
35100 # No need to generate them if there are no CONFIG_FILES.
35101 # This happens for instance with `./config.status config.h'.
35102 if test -n "$CONFIG_FILES"; then
35103
35104
35105 ac_cr=`echo X | tr X '\015'`
35106 # On cygwin, bash can eat \r inside `` if the user requested igncr.
35107 # But we know of no other shell where ac_cr would be empty at this
35108 # point, so we can use a bashism as a fallback.
35109 if test "x$ac_cr" = x; then
35110   eval ac_cr=\$\'\\r\'
35111 fi
35112 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
35113 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
35114   ac_cs_awk_cr='\\r'
35115 else
35116   ac_cs_awk_cr=$ac_cr
35117 fi
35118
35119 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
35120 _ACEOF
35121
35122
35123 {
35124   echo "cat >conf$$subs.awk <<_ACEOF" &&
35125   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
35126   echo "_ACEOF"
35127 } >conf$$subs.sh ||
35128   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
35129 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
35130 ac_delim='%!_!# '
35131 for ac_last_try in false false false false false :; do
35132   . ./conf$$subs.sh ||
35133     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
35134
35135   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
35136   if test $ac_delim_n = $ac_delim_num; then
35137     break
35138   elif $ac_last_try; then
35139     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
35140   else
35141     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
35142   fi
35143 done
35144 rm -f conf$$subs.sh
35145
35146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35147 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
35148 _ACEOF
35149 sed -n '
35150 h
35151 s/^/S["/; s/!.*/"]=/
35152 p
35153 g
35154 s/^[^!]*!//
35155 :repl
35156 t repl
35157 s/'"$ac_delim"'$//
35158 t delim
35159 :nl
35160 h
35161 s/\(.\{148\}\)..*/\1/
35162 t more1
35163 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
35164 p
35165 n
35166 b repl
35167 :more1
35168 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
35169 p
35170 g
35171 s/.\{148\}//
35172 t nl
35173 :delim
35174 h
35175 s/\(.\{148\}\)..*/\1/
35176 t more2
35177 s/["\\]/\\&/g; s/^/"/; s/$/"/
35178 p
35179 b
35180 :more2
35181 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
35182 p
35183 g
35184 s/.\{148\}//
35185 t delim
35186 ' <conf$$subs.awk | sed '
35187 /^[^""]/{
35188   N
35189   s/\n//
35190 }
35191 ' >>$CONFIG_STATUS || ac_write_fail=1
35192 rm -f conf$$subs.awk
35193 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35194 _ACAWK
35195 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
35196   for (key in S) S_is_set[key] = 1
35197   FS = "\a"
35198
35199 }
35200 {
35201   line = $ 0
35202   nfields = split(line, field, "@")
35203   substed = 0
35204   len = length(field[1])
35205   for (i = 2; i < nfields; i++) {
35206     key = field[i]
35207     keylen = length(key)
35208     if (S_is_set[key]) {
35209       value = S[key]
35210       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
35211       len += length(value) + length(field[++i])
35212       substed = 1
35213     } else
35214       len += 1 + keylen
35215   }
35216
35217   print line
35218 }
35219
35220 _ACAWK
35221 _ACEOF
35222 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35223 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
35224   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
35225 else
35226   cat
35227 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
35228   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
35229 _ACEOF
35230
35231 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
35232 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
35233 # trailing colons and then remove the whole line if VPATH becomes empty
35234 # (actually we leave an empty line to preserve line numbers).
35235 if test "x$srcdir" = x.; then
35236   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
35237 h
35238 s///
35239 s/^/:/
35240 s/[      ]*$/:/
35241 s/:\$(srcdir):/:/g
35242 s/:\${srcdir}:/:/g
35243 s/:@srcdir@:/:/g
35244 s/^:*//
35245 s/:*$//
35246 x
35247 s/\(=[   ]*\).*/\1/
35248 G
35249 s/\n//
35250 s/^[^=]*=[       ]*$//
35251 }'
35252 fi
35253
35254 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35255 fi # test -n "$CONFIG_FILES"
35256
35257 # Set up the scripts for CONFIG_HEADERS section.
35258 # No need to generate them if there are no CONFIG_HEADERS.
35259 # This happens for instance with `./config.status Makefile'.
35260 if test -n "$CONFIG_HEADERS"; then
35261 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
35262 BEGIN {
35263 _ACEOF
35264
35265 # Transform confdefs.h into an awk script `defines.awk', embedded as
35266 # here-document in config.status, that substitutes the proper values into
35267 # config.h.in to produce config.h.
35268
35269 # Create a delimiter string that does not exist in confdefs.h, to ease
35270 # handling of long lines.
35271 ac_delim='%!_!# '
35272 for ac_last_try in false false :; do
35273   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
35274   if test -z "$ac_tt"; then
35275     break
35276   elif $ac_last_try; then
35277     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
35278   else
35279     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
35280   fi
35281 done
35282
35283 # For the awk script, D is an array of macro values keyed by name,
35284 # likewise P contains macro parameters if any.  Preserve backslash
35285 # newline sequences.
35286
35287 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
35288 sed -n '
35289 s/.\{148\}/&'"$ac_delim"'/g
35290 t rset
35291 :rset
35292 s/^[     ]*#[    ]*define[       ][      ]*/ /
35293 t def
35294 d
35295 :def
35296 s/\\$//
35297 t bsnl
35298 s/["\\]/\\&/g
35299 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
35300 D["\1"]=" \3"/p
35301 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
35302 d
35303 :bsnl
35304 s/["\\]/\\&/g
35305 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
35306 D["\1"]=" \3\\\\\\n"\\/p
35307 t cont
35308 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
35309 t cont
35310 d
35311 :cont
35312 n
35313 s/.\{148\}/&'"$ac_delim"'/g
35314 t clear
35315 :clear
35316 s/\\$//
35317 t bsnlc
35318 s/["\\]/\\&/g; s/^/"/; s/$/"/p
35319 d
35320 :bsnlc
35321 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
35322 b cont
35323 ' <confdefs.h | sed '
35324 s/'"$ac_delim"'/"\\\
35325 "/g' >>$CONFIG_STATUS || ac_write_fail=1
35326
35327 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35328   for (key in D) D_is_set[key] = 1
35329   FS = "\a"
35330 }
35331 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
35332   line = \$ 0
35333   split(line, arg, " ")
35334   if (arg[1] == "#") {
35335     defundef = arg[2]
35336     mac1 = arg[3]
35337   } else {
35338     defundef = substr(arg[1], 2)
35339     mac1 = arg[2]
35340   }
35341   split(mac1, mac2, "(") #)
35342   macro = mac2[1]
35343   prefix = substr(line, 1, index(line, defundef) - 1)
35344   if (D_is_set[macro]) {
35345     # Preserve the white space surrounding the "#".
35346     print prefix "define", macro P[macro] D[macro]
35347     next
35348   } else {
35349     # Replace #undef with comments.  This is necessary, for example,
35350     # in the case of _POSIX_SOURCE, which is predefined and required
35351     # on some systems where configure will not decide to define it.
35352     if (defundef == "undef") {
35353       print "/*", prefix defundef, macro, "*/"
35354       next
35355     }
35356   }
35357 }
35358 { print }
35359 _ACAWK
35360 _ACEOF
35361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35362   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
35363 fi # test -n "$CONFIG_HEADERS"
35364
35365
35366 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
35367 shift
35368 for ac_tag
35369 do
35370   case $ac_tag in
35371   :[FHLC]) ac_mode=$ac_tag; continue;;
35372   esac
35373   case $ac_mode$ac_tag in
35374   :[FHL]*:*);;
35375   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
35376   :[FH]-) ac_tag=-:-;;
35377   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
35378   esac
35379   ac_save_IFS=$IFS
35380   IFS=:
35381   set x $ac_tag
35382   IFS=$ac_save_IFS
35383   shift
35384   ac_file=$1
35385   shift
35386
35387   case $ac_mode in
35388   :L) ac_source=$1;;
35389   :[FH])
35390     ac_file_inputs=
35391     for ac_f
35392     do
35393       case $ac_f in
35394       -) ac_f="$ac_tmp/stdin";;
35395       *) # Look for the file first in the build tree, then in the source tree
35396          # (if the path is not absolute).  The absolute path cannot be DOS-style,
35397          # because $ac_f cannot contain `:'.
35398          test -f "$ac_f" ||
35399            case $ac_f in
35400            [\\/$]*) false;;
35401            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
35402            esac ||
35403            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
35404       esac
35405       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
35406       as_fn_append ac_file_inputs " '$ac_f'"
35407     done
35408
35409     # Let's still pretend it is `configure' which instantiates (i.e., don't
35410     # use $as_me), people would be surprised to read:
35411     #    /* config.h.  Generated by config.status.  */
35412     configure_input='Generated from '`
35413           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
35414         `' by configure.'
35415     if test x"$ac_file" != x-; then
35416       configure_input="$ac_file.  $configure_input"
35417       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
35418 $as_echo "$as_me: creating $ac_file" >&6;}
35419     fi
35420     # Neutralize special characters interpreted by sed in replacement strings.
35421     case $configure_input in #(
35422     *\&* | *\|* | *\\* )
35423        ac_sed_conf_input=`$as_echo "$configure_input" |
35424        sed 's/[\\\\&|]/\\\\&/g'`;; #(
35425     *) ac_sed_conf_input=$configure_input;;
35426     esac
35427
35428     case $ac_tag in
35429     *:-:* | *:-) cat >"$ac_tmp/stdin" \
35430       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
35431     esac
35432     ;;
35433   esac
35434
35435   ac_dir=`$as_dirname -- "$ac_file" ||
35436 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35437          X"$ac_file" : 'X\(//\)[^/]' \| \
35438          X"$ac_file" : 'X\(//\)$' \| \
35439          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
35440 $as_echo X"$ac_file" |
35441     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35442             s//\1/
35443             q
35444           }
35445           /^X\(\/\/\)[^/].*/{
35446             s//\1/
35447             q
35448           }
35449           /^X\(\/\/\)$/{
35450             s//\1/
35451             q
35452           }
35453           /^X\(\/\).*/{
35454             s//\1/
35455             q
35456           }
35457           s/.*/./; q'`
35458   as_dir="$ac_dir"; as_fn_mkdir_p
35459   ac_builddir=.
35460
35461 case "$ac_dir" in
35462 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
35463 *)
35464   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
35465   # A ".." for each directory in $ac_dir_suffix.
35466   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
35467   case $ac_top_builddir_sub in
35468   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
35469   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
35470   esac ;;
35471 esac
35472 ac_abs_top_builddir=$ac_pwd
35473 ac_abs_builddir=$ac_pwd$ac_dir_suffix
35474 # for backward compatibility:
35475 ac_top_builddir=$ac_top_build_prefix
35476
35477 case $srcdir in
35478   .)  # We are building in place.
35479     ac_srcdir=.
35480     ac_top_srcdir=$ac_top_builddir_sub
35481     ac_abs_top_srcdir=$ac_pwd ;;
35482   [\\/]* | ?:[\\/]* )  # Absolute name.
35483     ac_srcdir=$srcdir$ac_dir_suffix;
35484     ac_top_srcdir=$srcdir
35485     ac_abs_top_srcdir=$srcdir ;;
35486   *) # Relative name.
35487     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
35488     ac_top_srcdir=$ac_top_build_prefix$srcdir
35489     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
35490 esac
35491 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
35492
35493
35494   case $ac_mode in
35495   :F)
35496   #
35497   # CONFIG_FILE
35498   #
35499
35500   case $INSTALL in
35501   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
35502   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
35503   esac
35504   ac_MKDIR_P=$MKDIR_P
35505   case $MKDIR_P in
35506   [\\/$]* | ?:[\\/]* ) ;;
35507   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
35508   esac
35509 _ACEOF
35510
35511 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35512 # If the template does not know about datarootdir, expand it.
35513 # FIXME: This hack should be removed a few years after 2.60.
35514 ac_datarootdir_hack=; ac_datarootdir_seen=
35515 ac_sed_dataroot='
35516 /datarootdir/ {
35517   p
35518   q
35519 }
35520 /@datadir@/p
35521 /@docdir@/p
35522 /@infodir@/p
35523 /@localedir@/p
35524 /@mandir@/p'
35525 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
35526 *datarootdir*) ac_datarootdir_seen=yes;;
35527 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
35528   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
35529 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
35530 _ACEOF
35531 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35532   ac_datarootdir_hack='
35533   s&@datadir@&$datadir&g
35534   s&@docdir@&$docdir&g
35535   s&@infodir@&$infodir&g
35536   s&@localedir@&$localedir&g
35537   s&@mandir@&$mandir&g
35538   s&\\\${datarootdir}&$datarootdir&g' ;;
35539 esac
35540 _ACEOF
35541
35542 # Neutralize VPATH when `$srcdir' = `.'.
35543 # Shell code in configure.ac might set extrasub.
35544 # FIXME: do we really want to maintain this feature?
35545 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35546 ac_sed_extra="$ac_vpsub
35547 $extrasub
35548 _ACEOF
35549 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35550 :t
35551 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
35552 s|@configure_input@|$ac_sed_conf_input|;t t
35553 s&@top_builddir@&$ac_top_builddir_sub&;t t
35554 s&@top_build_prefix@&$ac_top_build_prefix&;t t
35555 s&@srcdir@&$ac_srcdir&;t t
35556 s&@abs_srcdir@&$ac_abs_srcdir&;t t
35557 s&@top_srcdir@&$ac_top_srcdir&;t t
35558 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
35559 s&@builddir@&$ac_builddir&;t t
35560 s&@abs_builddir@&$ac_abs_builddir&;t t
35561 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
35562 s&@INSTALL@&$ac_INSTALL&;t t
35563 s&@MKDIR_P@&$ac_MKDIR_P&;t t
35564 $ac_datarootdir_hack
35565 "
35566 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
35567   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
35568
35569 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
35570   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
35571   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
35572       "$ac_tmp/out"`; test -z "$ac_out"; } &&
35573   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
35574 which seems to be undefined.  Please make sure it is defined" >&5
35575 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
35576 which seems to be undefined.  Please make sure it is defined" >&2;}
35577
35578   rm -f "$ac_tmp/stdin"
35579   case $ac_file in
35580   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
35581   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
35582   esac \
35583   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
35584  ;;
35585   :H)
35586   #
35587   # CONFIG_HEADER
35588   #
35589   if test x"$ac_file" != x-; then
35590     {
35591       $as_echo "/* $configure_input  */" \
35592       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
35593     } >"$ac_tmp/config.h" \
35594       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
35595     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
35596       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
35597 $as_echo "$as_me: $ac_file is unchanged" >&6;}
35598     else
35599       rm -f "$ac_file"
35600       mv "$ac_tmp/config.h" "$ac_file" \
35601         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
35602     fi
35603   else
35604     $as_echo "/* $configure_input  */" \
35605       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
35606       || as_fn_error $? "could not create -" "$LINENO" 5
35607   fi
35608 # Compute "$ac_file"'s index in $config_headers.
35609 _am_arg="$ac_file"
35610 _am_stamp_count=1
35611 for _am_header in $config_headers :; do
35612   case $_am_header in
35613     $_am_arg | $_am_arg:* )
35614       break ;;
35615     * )
35616       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
35617   esac
35618 done
35619 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
35620 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35621          X"$_am_arg" : 'X\(//\)[^/]' \| \
35622          X"$_am_arg" : 'X\(//\)$' \| \
35623          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
35624 $as_echo X"$_am_arg" |
35625     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35626             s//\1/
35627             q
35628           }
35629           /^X\(\/\/\)[^/].*/{
35630             s//\1/
35631             q
35632           }
35633           /^X\(\/\/\)$/{
35634             s//\1/
35635             q
35636           }
35637           /^X\(\/\).*/{
35638             s//\1/
35639             q
35640           }
35641           s/.*/./; q'`/stamp-h$_am_stamp_count
35642  ;;
35643
35644   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
35645 $as_echo "$as_me: executing $ac_file commands" >&6;}
35646  ;;
35647   esac
35648
35649
35650   case $ac_file$ac_mode in
35651     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
35652   # Older Autoconf quotes --file arguments for eval, but not when files
35653   # are listed without --file.  Let's play safe and only enable the eval
35654   # if we detect the quoting.
35655   case $CONFIG_FILES in
35656   *\'*) eval set x "$CONFIG_FILES" ;;
35657   *)   set x $CONFIG_FILES ;;
35658   esac
35659   shift
35660   for mf
35661   do
35662     # Strip MF so we end up with the name of the file.
35663     mf=`echo "$mf" | sed -e 's/:.*$//'`
35664     # Check whether this is an Automake generated Makefile or not.
35665     # We used to match only the files named 'Makefile.in', but
35666     # some people rename them; so instead we look at the file content.
35667     # Grep'ing the first line is not enough: some people post-process
35668     # each Makefile.in and add a new line on top of each file to say so.
35669     # Grep'ing the whole file is not good either: AIX grep has a line
35670     # limit of 2048, but all sed's we know have understand at least 4000.
35671     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
35672       dirpart=`$as_dirname -- "$mf" ||
35673 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35674          X"$mf" : 'X\(//\)[^/]' \| \
35675          X"$mf" : 'X\(//\)$' \| \
35676          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
35677 $as_echo X"$mf" |
35678     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35679             s//\1/
35680             q
35681           }
35682           /^X\(\/\/\)[^/].*/{
35683             s//\1/
35684             q
35685           }
35686           /^X\(\/\/\)$/{
35687             s//\1/
35688             q
35689           }
35690           /^X\(\/\).*/{
35691             s//\1/
35692             q
35693           }
35694           s/.*/./; q'`
35695     else
35696       continue
35697     fi
35698     # Extract the definition of DEPDIR, am__include, and am__quote
35699     # from the Makefile without running 'make'.
35700     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
35701     test -z "$DEPDIR" && continue
35702     am__include=`sed -n 's/^am__include = //p' < "$mf"`
35703     test -z "$am__include" && continue
35704     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
35705     # Find all dependency output files, they are included files with
35706     # $(DEPDIR) in their names.  We invoke sed twice because it is the
35707     # simplest approach to changing $(DEPDIR) to its actual value in the
35708     # expansion.
35709     for file in `sed -n "
35710       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
35711          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
35712       # Make sure the directory exists.
35713       test -f "$dirpart/$file" && continue
35714       fdir=`$as_dirname -- "$file" ||
35715 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35716          X"$file" : 'X\(//\)[^/]' \| \
35717          X"$file" : 'X\(//\)$' \| \
35718          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
35719 $as_echo X"$file" |
35720     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35721             s//\1/
35722             q
35723           }
35724           /^X\(\/\/\)[^/].*/{
35725             s//\1/
35726             q
35727           }
35728           /^X\(\/\/\)$/{
35729             s//\1/
35730             q
35731           }
35732           /^X\(\/\).*/{
35733             s//\1/
35734             q
35735           }
35736           s/.*/./; q'`
35737       as_dir=$dirpart/$fdir; as_fn_mkdir_p
35738       # echo "creating $dirpart/$file"
35739       echo '# dummy' > "$dirpart/$file"
35740     done
35741   done
35742 }
35743  ;;
35744     "libtool":C)
35745
35746     # See if we are running on zsh, and set the options which allow our
35747     # commands through without removal of \ escapes.
35748     if test -n "${ZSH_VERSION+set}" ; then
35749       setopt NO_GLOB_SUBST
35750     fi
35751
35752     cfgfile="${ofile}T"
35753     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
35754     $RM "$cfgfile"
35755
35756     cat <<_LT_EOF >> "$cfgfile"
35757 #! $SHELL
35758
35759 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
35760 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
35761 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
35762 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
35763 #
35764 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
35765 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
35766 #                 Foundation, Inc.
35767 #   Written by Gordon Matzigkeit, 1996
35768 #
35769 #   This file is part of GNU Libtool.
35770 #
35771 # GNU Libtool is free software; you can redistribute it and/or
35772 # modify it under the terms of the GNU General Public License as
35773 # published by the Free Software Foundation; either version 2 of
35774 # the License, or (at your option) any later version.
35775 #
35776 # As a special exception to the GNU General Public License,
35777 # if you distribute this file as part of a program or library that
35778 # is built using GNU Libtool, you may include this file under the
35779 # same distribution terms that you use for the rest of that program.
35780 #
35781 # GNU Libtool is distributed in the hope that it will be useful,
35782 # but WITHOUT ANY WARRANTY; without even the implied warranty of
35783 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
35784 # GNU General Public License for more details.
35785 #
35786 # You should have received a copy of the GNU General Public License
35787 # along with GNU Libtool; see the file COPYING.  If not, a copy
35788 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
35789 # obtained by writing to the Free Software Foundation, Inc.,
35790 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
35791
35792
35793 # The names of the tagged configurations supported by this script.
35794 available_tags="CXX "
35795
35796 # ### BEGIN LIBTOOL CONFIG
35797
35798 # Assembler program.
35799 AS=$lt_AS
35800
35801 # DLL creation program.
35802 DLLTOOL=$lt_DLLTOOL
35803
35804 # Object dumper program.
35805 OBJDUMP=$lt_OBJDUMP
35806
35807 # Which release of libtool.m4 was used?
35808 macro_version=$macro_version
35809 macro_revision=$macro_revision
35810
35811 # Whether or not to build shared libraries.
35812 build_libtool_libs=$enable_shared
35813
35814 # Whether or not to build static libraries.
35815 build_old_libs=$enable_static
35816
35817 # What type of objects to build.
35818 pic_mode=$pic_mode
35819
35820 # Whether or not to optimize for fast installation.
35821 fast_install=$enable_fast_install
35822
35823 # Shell to use when invoking shell scripts.
35824 SHELL=$lt_SHELL
35825
35826 # An echo program that protects backslashes.
35827 ECHO=$lt_ECHO
35828
35829 # The PATH separator for the build system.
35830 PATH_SEPARATOR=$lt_PATH_SEPARATOR
35831
35832 # The host system.
35833 host_alias=$host_alias
35834 host=$host
35835 host_os=$host_os
35836
35837 # The build system.
35838 build_alias=$build_alias
35839 build=$build
35840 build_os=$build_os
35841
35842 # A sed program that does not truncate output.
35843 SED=$lt_SED
35844
35845 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
35846 Xsed="\$SED -e 1s/^X//"
35847
35848 # A grep program that handles long lines.
35849 GREP=$lt_GREP
35850
35851 # An ERE matcher.
35852 EGREP=$lt_EGREP
35853
35854 # A literal string matcher.
35855 FGREP=$lt_FGREP
35856
35857 # A BSD- or MS-compatible name lister.
35858 NM=$lt_NM
35859
35860 # Whether we need soft or hard links.
35861 LN_S=$lt_LN_S
35862
35863 # What is the maximum length of a command?
35864 max_cmd_len=$max_cmd_len
35865
35866 # Object file suffix (normally "o").
35867 objext=$ac_objext
35868
35869 # Executable file suffix (normally "").
35870 exeext=$exeext
35871
35872 # whether the shell understands "unset".
35873 lt_unset=$lt_unset
35874
35875 # turn spaces into newlines.
35876 SP2NL=$lt_lt_SP2NL
35877
35878 # turn newlines into spaces.
35879 NL2SP=$lt_lt_NL2SP
35880
35881 # convert \$build file names to \$host format.
35882 to_host_file_cmd=$lt_cv_to_host_file_cmd
35883
35884 # convert \$build files to toolchain format.
35885 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
35886
35887 # Method to check whether dependent libraries are shared objects.
35888 deplibs_check_method=$lt_deplibs_check_method
35889
35890 # Command to use when deplibs_check_method = "file_magic".
35891 file_magic_cmd=$lt_file_magic_cmd
35892
35893 # How to find potential files when deplibs_check_method = "file_magic".
35894 file_magic_glob=$lt_file_magic_glob
35895
35896 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
35897 want_nocaseglob=$lt_want_nocaseglob
35898
35899 # Command to associate shared and link libraries.
35900 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
35901
35902 # The archiver.
35903 AR=$lt_AR
35904
35905 # Flags to create an archive.
35906 AR_FLAGS=$lt_AR_FLAGS
35907
35908 # How to feed a file listing to the archiver.
35909 archiver_list_spec=$lt_archiver_list_spec
35910
35911 # A symbol stripping program.
35912 STRIP=$lt_STRIP
35913
35914 # Commands used to install an old-style archive.
35915 RANLIB=$lt_RANLIB
35916 old_postinstall_cmds=$lt_old_postinstall_cmds
35917 old_postuninstall_cmds=$lt_old_postuninstall_cmds
35918
35919 # Whether to use a lock for old archive extraction.
35920 lock_old_archive_extraction=$lock_old_archive_extraction
35921
35922 # A C compiler.
35923 LTCC=$lt_CC
35924
35925 # LTCC compiler flags.
35926 LTCFLAGS=$lt_CFLAGS
35927
35928 # Take the output of nm and produce a listing of raw symbols and C names.
35929 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
35930
35931 # Transform the output of nm in a proper C declaration.
35932 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
35933
35934 # Transform the output of nm in a C name address pair.
35935 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
35936
35937 # Transform the output of nm in a C name address pair when lib prefix is needed.
35938 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
35939
35940 # Specify filename containing input files for \$NM.
35941 nm_file_list_spec=$lt_nm_file_list_spec
35942
35943 # The root where to search for dependent libraries,and in which our libraries should be installed.
35944 lt_sysroot=$lt_sysroot
35945
35946 # The name of the directory that contains temporary libtool files.
35947 objdir=$objdir
35948
35949 # Used to examine libraries when file_magic_cmd begins with "file".
35950 MAGIC_CMD=$MAGIC_CMD
35951
35952 # Must we lock files when doing compilation?
35953 need_locks=$lt_need_locks
35954
35955 # Manifest tool.
35956 MANIFEST_TOOL=$lt_MANIFEST_TOOL
35957
35958 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
35959 DSYMUTIL=$lt_DSYMUTIL
35960
35961 # Tool to change global to local symbols on Mac OS X.
35962 NMEDIT=$lt_NMEDIT
35963
35964 # Tool to manipulate fat objects and archives on Mac OS X.
35965 LIPO=$lt_LIPO
35966
35967 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
35968 OTOOL=$lt_OTOOL
35969
35970 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
35971 OTOOL64=$lt_OTOOL64
35972
35973 # Old archive suffix (normally "a").
35974 libext=$libext
35975
35976 # Shared library suffix (normally ".so").
35977 shrext_cmds=$lt_shrext_cmds
35978
35979 # The commands to extract the exported symbol list from a shared archive.
35980 extract_expsyms_cmds=$lt_extract_expsyms_cmds
35981
35982 # Variables whose values should be saved in libtool wrapper scripts and
35983 # restored at link time.
35984 variables_saved_for_relink=$lt_variables_saved_for_relink
35985
35986 # Do we need the "lib" prefix for modules?
35987 need_lib_prefix=$need_lib_prefix
35988
35989 # Do we need a version for libraries?
35990 need_version=$need_version
35991
35992 # Library versioning type.
35993 version_type=$version_type
35994
35995 # Shared library runtime path variable.
35996 runpath_var=$runpath_var
35997
35998 # Shared library path variable.
35999 shlibpath_var=$shlibpath_var
36000
36001 # Is shlibpath searched before the hard-coded library search path?
36002 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
36003
36004 # Format of library name prefix.
36005 libname_spec=$lt_libname_spec
36006
36007 # List of archive names.  First name is the real one, the rest are links.
36008 # The last name is the one that the linker finds with -lNAME
36009 library_names_spec=$lt_library_names_spec
36010
36011 # The coded name of the library, if different from the real name.
36012 soname_spec=$lt_soname_spec
36013
36014 # Permission mode override for installation of shared libraries.
36015 install_override_mode=$lt_install_override_mode
36016
36017 # Command to use after installation of a shared archive.
36018 postinstall_cmds=$lt_postinstall_cmds
36019
36020 # Command to use after uninstallation of a shared archive.
36021 postuninstall_cmds=$lt_postuninstall_cmds
36022
36023 # Commands used to finish a libtool library installation in a directory.
36024 finish_cmds=$lt_finish_cmds
36025
36026 # As "finish_cmds", except a single script fragment to be evaled but
36027 # not shown.
36028 finish_eval=$lt_finish_eval
36029
36030 # Whether we should hardcode library paths into libraries.
36031 hardcode_into_libs=$hardcode_into_libs
36032
36033 # Compile-time system search path for libraries.
36034 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
36035
36036 # Run-time system search path for libraries.
36037 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
36038
36039 # Whether dlopen is supported.
36040 dlopen_support=$enable_dlopen
36041
36042 # Whether dlopen of programs is supported.
36043 dlopen_self=$enable_dlopen_self
36044
36045 # Whether dlopen of statically linked programs is supported.
36046 dlopen_self_static=$enable_dlopen_self_static
36047
36048 # Commands to strip libraries.
36049 old_striplib=$lt_old_striplib
36050 striplib=$lt_striplib
36051
36052
36053 # The linker used to build libraries.
36054 LD=$lt_LD
36055
36056 # How to create reloadable object files.
36057 reload_flag=$lt_reload_flag
36058 reload_cmds=$lt_reload_cmds
36059
36060 # Commands used to build an old-style archive.
36061 old_archive_cmds=$lt_old_archive_cmds
36062
36063 # A language specific compiler.
36064 CC=$lt_compiler
36065
36066 # Is the compiler the GNU compiler?
36067 with_gcc=$GCC
36068
36069 # Compiler flag to turn off builtin functions.
36070 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
36071
36072 # Additional compiler flags for building library objects.
36073 pic_flag=$lt_lt_prog_compiler_pic
36074
36075 # How to pass a linker flag through the compiler.
36076 wl=$lt_lt_prog_compiler_wl
36077
36078 # Compiler flag to prevent dynamic linking.
36079 link_static_flag=$lt_lt_prog_compiler_static
36080
36081 # Does compiler simultaneously support -c and -o options?
36082 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
36083
36084 # Whether or not to add -lc for building shared libraries.
36085 build_libtool_need_lc=$archive_cmds_need_lc
36086
36087 # Whether or not to disallow shared libs when runtime libs are static.
36088 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
36089
36090 # Compiler flag to allow reflexive dlopens.
36091 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
36092
36093 # Compiler flag to generate shared objects directly from archives.
36094 whole_archive_flag_spec=$lt_whole_archive_flag_spec
36095
36096 # Whether the compiler copes with passing no objects directly.
36097 compiler_needs_object=$lt_compiler_needs_object
36098
36099 # Create an old-style archive from a shared archive.
36100 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
36101
36102 # Create a temporary old-style archive to link instead of a shared archive.
36103 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
36104
36105 # Commands used to build a shared archive.
36106 archive_cmds=$lt_archive_cmds
36107 archive_expsym_cmds=$lt_archive_expsym_cmds
36108
36109 # Commands used to build a loadable module if different from building
36110 # a shared archive.
36111 module_cmds=$lt_module_cmds
36112 module_expsym_cmds=$lt_module_expsym_cmds
36113
36114 # Whether we are building with GNU ld or not.
36115 with_gnu_ld=$lt_with_gnu_ld
36116
36117 # Flag that allows shared libraries with undefined symbols to be built.
36118 allow_undefined_flag=$lt_allow_undefined_flag
36119
36120 # Flag that enforces no undefined symbols.
36121 no_undefined_flag=$lt_no_undefined_flag
36122
36123 # Flag to hardcode \$libdir into a binary during linking.
36124 # This must work even if \$libdir does not exist
36125 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
36126
36127 # Whether we need a single "-rpath" flag with a separated argument.
36128 hardcode_libdir_separator=$lt_hardcode_libdir_separator
36129
36130 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36131 # DIR into the resulting binary.
36132 hardcode_direct=$hardcode_direct
36133
36134 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36135 # DIR into the resulting binary and the resulting library dependency is
36136 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
36137 # library is relocated.
36138 hardcode_direct_absolute=$hardcode_direct_absolute
36139
36140 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
36141 # into the resulting binary.
36142 hardcode_minus_L=$hardcode_minus_L
36143
36144 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
36145 # into the resulting binary.
36146 hardcode_shlibpath_var=$hardcode_shlibpath_var
36147
36148 # Set to "yes" if building a shared library automatically hardcodes DIR
36149 # into the library and all subsequent libraries and executables linked
36150 # against it.
36151 hardcode_automatic=$hardcode_automatic
36152
36153 # Set to yes if linker adds runtime paths of dependent libraries
36154 # to runtime path list.
36155 inherit_rpath=$inherit_rpath
36156
36157 # Whether libtool must link a program against all its dependency libraries.
36158 link_all_deplibs=$link_all_deplibs
36159
36160 # Set to "yes" if exported symbols are required.
36161 always_export_symbols=$always_export_symbols
36162
36163 # The commands to list exported symbols.
36164 export_symbols_cmds=$lt_export_symbols_cmds
36165
36166 # Symbols that should not be listed in the preloaded symbols.
36167 exclude_expsyms=$lt_exclude_expsyms
36168
36169 # Symbols that must always be exported.
36170 include_expsyms=$lt_include_expsyms
36171
36172 # Commands necessary for linking programs (against libraries) with templates.
36173 prelink_cmds=$lt_prelink_cmds
36174
36175 # Commands necessary for finishing linking programs.
36176 postlink_cmds=$lt_postlink_cmds
36177
36178 # Specify filename containing input files.
36179 file_list_spec=$lt_file_list_spec
36180
36181 # How to hardcode a shared library path into an executable.
36182 hardcode_action=$hardcode_action
36183
36184 # The directories searched by this compiler when creating a shared library.
36185 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
36186
36187 # Dependencies to place before and after the objects being linked to
36188 # create a shared library.
36189 predep_objects=$lt_predep_objects
36190 postdep_objects=$lt_postdep_objects
36191 predeps=$lt_predeps
36192 postdeps=$lt_postdeps
36193
36194 # The library search path used internally by the compiler when linking
36195 # a shared library.
36196 compiler_lib_search_path=$lt_compiler_lib_search_path
36197
36198 # ### END LIBTOOL CONFIG
36199
36200 _LT_EOF
36201
36202   case $host_os in
36203   aix3*)
36204     cat <<\_LT_EOF >> "$cfgfile"
36205 # AIX sometimes has problems with the GCC collect2 program.  For some
36206 # reason, if we set the COLLECT_NAMES environment variable, the problems
36207 # vanish in a puff of smoke.
36208 if test "X${COLLECT_NAMES+set}" != Xset; then
36209   COLLECT_NAMES=
36210   export COLLECT_NAMES
36211 fi
36212 _LT_EOF
36213     ;;
36214   esac
36215
36216
36217 ltmain="$ac_aux_dir/ltmain.sh"
36218
36219
36220   # We use sed instead of cat because bash on DJGPP gets confused if
36221   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
36222   # text mode, it properly converts lines to CR/LF.  This bash problem
36223   # is reportedly fixed, but why not run on old versions too?
36224   sed '$q' "$ltmain" >> "$cfgfile" \
36225      || (rm -f "$cfgfile"; exit 1)
36226
36227   if test x"$xsi_shell" = xyes; then
36228   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
36229 func_dirname ()\
36230 {\
36231 \    case ${1} in\
36232 \      */*) func_dirname_result="${1%/*}${2}" ;;\
36233 \      *  ) func_dirname_result="${3}" ;;\
36234 \    esac\
36235 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
36236   && mv -f "$cfgfile.tmp" "$cfgfile" \
36237     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36238 test 0 -eq $? || _lt_function_replace_fail=:
36239
36240
36241   sed -e '/^func_basename ()$/,/^} # func_basename /c\
36242 func_basename ()\
36243 {\
36244 \    func_basename_result="${1##*/}"\
36245 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
36246   && mv -f "$cfgfile.tmp" "$cfgfile" \
36247     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36248 test 0 -eq $? || _lt_function_replace_fail=:
36249
36250
36251   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
36252 func_dirname_and_basename ()\
36253 {\
36254 \    case ${1} in\
36255 \      */*) func_dirname_result="${1%/*}${2}" ;;\
36256 \      *  ) func_dirname_result="${3}" ;;\
36257 \    esac\
36258 \    func_basename_result="${1##*/}"\
36259 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
36260   && mv -f "$cfgfile.tmp" "$cfgfile" \
36261     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36262 test 0 -eq $? || _lt_function_replace_fail=:
36263
36264
36265   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
36266 func_stripname ()\
36267 {\
36268 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
36269 \    # positional parameters, so assign one to ordinary parameter first.\
36270 \    func_stripname_result=${3}\
36271 \    func_stripname_result=${func_stripname_result#"${1}"}\
36272 \    func_stripname_result=${func_stripname_result%"${2}"}\
36273 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
36274   && mv -f "$cfgfile.tmp" "$cfgfile" \
36275     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36276 test 0 -eq $? || _lt_function_replace_fail=:
36277
36278
36279   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
36280 func_split_long_opt ()\
36281 {\
36282 \    func_split_long_opt_name=${1%%=*}\
36283 \    func_split_long_opt_arg=${1#*=}\
36284 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
36285   && mv -f "$cfgfile.tmp" "$cfgfile" \
36286     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36287 test 0 -eq $? || _lt_function_replace_fail=:
36288
36289
36290   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
36291 func_split_short_opt ()\
36292 {\
36293 \    func_split_short_opt_arg=${1#??}\
36294 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
36295 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
36296   && mv -f "$cfgfile.tmp" "$cfgfile" \
36297     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36298 test 0 -eq $? || _lt_function_replace_fail=:
36299
36300
36301   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
36302 func_lo2o ()\
36303 {\
36304 \    case ${1} in\
36305 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
36306 \      *)    func_lo2o_result=${1} ;;\
36307 \    esac\
36308 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
36309   && mv -f "$cfgfile.tmp" "$cfgfile" \
36310     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36311 test 0 -eq $? || _lt_function_replace_fail=:
36312
36313
36314   sed -e '/^func_xform ()$/,/^} # func_xform /c\
36315 func_xform ()\
36316 {\
36317     func_xform_result=${1%.*}.lo\
36318 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
36319   && mv -f "$cfgfile.tmp" "$cfgfile" \
36320     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36321 test 0 -eq $? || _lt_function_replace_fail=:
36322
36323
36324   sed -e '/^func_arith ()$/,/^} # func_arith /c\
36325 func_arith ()\
36326 {\
36327     func_arith_result=$(( $* ))\
36328 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
36329   && mv -f "$cfgfile.tmp" "$cfgfile" \
36330     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36331 test 0 -eq $? || _lt_function_replace_fail=:
36332
36333
36334   sed -e '/^func_len ()$/,/^} # func_len /c\
36335 func_len ()\
36336 {\
36337     func_len_result=${#1}\
36338 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
36339   && mv -f "$cfgfile.tmp" "$cfgfile" \
36340     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36341 test 0 -eq $? || _lt_function_replace_fail=:
36342
36343 fi
36344
36345 if test x"$lt_shell_append" = xyes; then
36346   sed -e '/^func_append ()$/,/^} # func_append /c\
36347 func_append ()\
36348 {\
36349     eval "${1}+=\\${2}"\
36350 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
36351   && mv -f "$cfgfile.tmp" "$cfgfile" \
36352     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36353 test 0 -eq $? || _lt_function_replace_fail=:
36354
36355
36356   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
36357 func_append_quoted ()\
36358 {\
36359 \    func_quote_for_eval "${2}"\
36360 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
36361 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
36362   && mv -f "$cfgfile.tmp" "$cfgfile" \
36363     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36364 test 0 -eq $? || _lt_function_replace_fail=:
36365
36366
36367   # Save a `func_append' function call where possible by direct use of '+='
36368   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
36369     && mv -f "$cfgfile.tmp" "$cfgfile" \
36370       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36371   test 0 -eq $? || _lt_function_replace_fail=:
36372 else
36373   # Save a `func_append' function call even when '+=' is not available
36374   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
36375     && mv -f "$cfgfile.tmp" "$cfgfile" \
36376       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36377   test 0 -eq $? || _lt_function_replace_fail=:
36378 fi
36379
36380 if test x"$_lt_function_replace_fail" = x":"; then
36381   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
36382 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
36383 fi
36384
36385
36386    mv -f "$cfgfile" "$ofile" ||
36387     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
36388   chmod +x "$ofile"
36389
36390
36391     cat <<_LT_EOF >> "$ofile"
36392
36393 # ### BEGIN LIBTOOL TAG CONFIG: CXX
36394
36395 # The linker used to build libraries.
36396 LD=$lt_LD_CXX
36397
36398 # How to create reloadable object files.
36399 reload_flag=$lt_reload_flag_CXX
36400 reload_cmds=$lt_reload_cmds_CXX
36401
36402 # Commands used to build an old-style archive.
36403 old_archive_cmds=$lt_old_archive_cmds_CXX
36404
36405 # A language specific compiler.
36406 CC=$lt_compiler_CXX
36407
36408 # Is the compiler the GNU compiler?
36409 with_gcc=$GCC_CXX
36410
36411 # Compiler flag to turn off builtin functions.
36412 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
36413
36414 # Additional compiler flags for building library objects.
36415 pic_flag=$lt_lt_prog_compiler_pic_CXX
36416
36417 # How to pass a linker flag through the compiler.
36418 wl=$lt_lt_prog_compiler_wl_CXX
36419
36420 # Compiler flag to prevent dynamic linking.
36421 link_static_flag=$lt_lt_prog_compiler_static_CXX
36422
36423 # Does compiler simultaneously support -c and -o options?
36424 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
36425
36426 # Whether or not to add -lc for building shared libraries.
36427 build_libtool_need_lc=$archive_cmds_need_lc_CXX
36428
36429 # Whether or not to disallow shared libs when runtime libs are static.
36430 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
36431
36432 # Compiler flag to allow reflexive dlopens.
36433 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
36434
36435 # Compiler flag to generate shared objects directly from archives.
36436 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
36437
36438 # Whether the compiler copes with passing no objects directly.
36439 compiler_needs_object=$lt_compiler_needs_object_CXX
36440
36441 # Create an old-style archive from a shared archive.
36442 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
36443
36444 # Create a temporary old-style archive to link instead of a shared archive.
36445 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
36446
36447 # Commands used to build a shared archive.
36448 archive_cmds=$lt_archive_cmds_CXX
36449 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
36450
36451 # Commands used to build a loadable module if different from building
36452 # a shared archive.
36453 module_cmds=$lt_module_cmds_CXX
36454 module_expsym_cmds=$lt_module_expsym_cmds_CXX
36455
36456 # Whether we are building with GNU ld or not.
36457 with_gnu_ld=$lt_with_gnu_ld_CXX
36458
36459 # Flag that allows shared libraries with undefined symbols to be built.
36460 allow_undefined_flag=$lt_allow_undefined_flag_CXX
36461
36462 # Flag that enforces no undefined symbols.
36463 no_undefined_flag=$lt_no_undefined_flag_CXX
36464
36465 # Flag to hardcode \$libdir into a binary during linking.
36466 # This must work even if \$libdir does not exist
36467 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
36468
36469 # Whether we need a single "-rpath" flag with a separated argument.
36470 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
36471
36472 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36473 # DIR into the resulting binary.
36474 hardcode_direct=$hardcode_direct_CXX
36475
36476 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36477 # DIR into the resulting binary and the resulting library dependency is
36478 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
36479 # library is relocated.
36480 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
36481
36482 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
36483 # into the resulting binary.
36484 hardcode_minus_L=$hardcode_minus_L_CXX
36485
36486 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
36487 # into the resulting binary.
36488 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
36489
36490 # Set to "yes" if building a shared library automatically hardcodes DIR
36491 # into the library and all subsequent libraries and executables linked
36492 # against it.
36493 hardcode_automatic=$hardcode_automatic_CXX
36494
36495 # Set to yes if linker adds runtime paths of dependent libraries
36496 # to runtime path list.
36497 inherit_rpath=$inherit_rpath_CXX
36498
36499 # Whether libtool must link a program against all its dependency libraries.
36500 link_all_deplibs=$link_all_deplibs_CXX
36501
36502 # Set to "yes" if exported symbols are required.
36503 always_export_symbols=$always_export_symbols_CXX
36504
36505 # The commands to list exported symbols.
36506 export_symbols_cmds=$lt_export_symbols_cmds_CXX
36507
36508 # Symbols that should not be listed in the preloaded symbols.
36509 exclude_expsyms=$lt_exclude_expsyms_CXX
36510
36511 # Symbols that must always be exported.
36512 include_expsyms=$lt_include_expsyms_CXX
36513
36514 # Commands necessary for linking programs (against libraries) with templates.
36515 prelink_cmds=$lt_prelink_cmds_CXX
36516
36517 # Commands necessary for finishing linking programs.
36518 postlink_cmds=$lt_postlink_cmds_CXX
36519
36520 # Specify filename containing input files.
36521 file_list_spec=$lt_file_list_spec_CXX
36522
36523 # How to hardcode a shared library path into an executable.
36524 hardcode_action=$hardcode_action_CXX
36525
36526 # The directories searched by this compiler when creating a shared library.
36527 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
36528
36529 # Dependencies to place before and after the objects being linked to
36530 # create a shared library.
36531 predep_objects=$lt_predep_objects_CXX
36532 postdep_objects=$lt_postdep_objects_CXX
36533 predeps=$lt_predeps_CXX
36534 postdeps=$lt_postdeps_CXX
36535
36536 # The library search path used internally by the compiler when linking
36537 # a shared library.
36538 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
36539
36540 # ### END LIBTOOL TAG CONFIG: CXX
36541 _LT_EOF
36542
36543  ;;
36544
36545   esac
36546 done # for ac_tag
36547
36548
36549 as_fn_exit 0
36550 _ACEOF
36551 ac_clean_files=$ac_clean_files_save
36552
36553 test $ac_write_fail = 0 ||
36554   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
36555
36556
36557 # configure is writing to config.log, and then calls config.status.
36558 # config.status does its own redirection, appending to config.log.
36559 # Unfortunately, on DOS this fails, as config.log is still kept open
36560 # by configure, so config.status won't be able to write to it; its
36561 # output is simply discarded.  So we exec the FD to /dev/null,
36562 # effectively closing config.log, so it can be properly (re)opened and
36563 # appended to by config.status.  When coming back to configure, we
36564 # need to make the FD available again.
36565 if test "$no_create" != yes; then
36566   ac_cs_success=:
36567   ac_config_status_args=
36568   test "$silent" = yes &&
36569     ac_config_status_args="$ac_config_status_args --quiet"
36570   exec 5>/dev/null
36571   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36572   exec 5>>config.log
36573   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36574   # would make configure fail if this is the last instruction.
36575   $ac_cs_success || as_fn_exit 1
36576 fi
36577 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
36578   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
36579 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
36580 fi
36581
36582
36583 #####################################################################
36584 ## Sanity Checks
36585
36586 if test "x$build_pthreads" = "xno" ; then
36587   if test "x$build_pipe_render" = "xyes" ; then
36588     echo "ERROR: PThreads off, but pipe rendering on. Pipe rendering"
36589     echo "  needs thread support."
36590     exit 1
36591   fi
36592 fi
36593
36594 if test "x${has_pthreads}" = "xno" ; then
36595   if test "x$build_async_preload" = "xyes" ; then
36596     echo "ERROR: PThreads off, but Async Preload on. Async Preload"
36597     echo "  needs thread support."
36598     exit 1
36599   fi
36600 fi
36601
36602 #####################################################################
36603 ## Info
36604
36605 echo
36606 echo
36607 echo
36608 echo "------------------------------------------------------------------------"
36609 echo "$PACKAGE $VERSION"
36610 echo "------------------------------------------------------------------------"
36611 echo
36612 echo "Configuration Options Summary:"
36613 echo
36614 echo "Engines:"
36615 echo "  Software Memory Buffer.....: $have_evas_engine_buffer"
36616 echo "  Software X11...............: $have_evas_engine_software_x11 (Xlib: $have_evas_engine_software_xlib) (XCB: $have_evas_engine_software_xcb)"
36617 echo $ECHO_N "  OpenGL X11.................: $have_evas_engine_gl_x11 (Xlib: $have_evas_engine_gl_xlib) (XCB: $have_evas_engine_gl_xcb) $ECHO_C"
36618 if test "x$have_evas_engine_gl_x11" = "xyes"; then
36619   echo "(GLES: $gl_flavor_gles) (SGX: $gles_variety_sgx) (s3c6410: $gles_variety_s3c6410)"
36620 else
36621   echo
36622 fi
36623 echo "  Software GDI...............: $have_evas_engine_software_gdi"
36624 echo "  Software DirectDraw........: $have_evas_engine_software_ddraw"
36625 echo "  Direct3d...................: $have_evas_engine_direct3d"
36626 echo "  OpenGL SDL.................: $have_evas_engine_gl_sdl $ECHO_C"
36627 if test "x$have_evas_engine_gl_sdl" = "xyes"; then
36628   echo "(GLES: $gl_flavor_gles) (SGX: $gles_variety_sgx) (s3c6410: $gles_variety_s3c6410)"
36629 else
36630   echo
36631 fi
36632 echo "  OpenGL Cocoa...............: $have_evas_engine_gl_cocoa"
36633 echo "  Software Framebuffer.......: $have_evas_engine_fb"
36634 echo "  DirectFB...................: $have_evas_engine_directfb"
36635 echo "  PSL1GHT....................: $have_evas_engine_psl1ght"
36636 echo "  Software 8bit grayscale....: $have_evas_engine_software_8"
36637 # FIXME: kill software 16bit
36638 echo "  Software 16bit ............: $have_evas_engine_software_16"
36639 echo "  Software 16bit X11.........: $have_evas_engine_software_16_x11"
36640 echo "  Software 16bit WinCE.......: $have_evas_engine_software_16_wince"
36641 echo "  Software 16bit SDL.........: $have_evas_engine_software_16_sdl (primitive: $sdl_primitive)"
36642 echo "  Wayland Shm................: $have_evas_engine_wayland_shm"
36643 echo "  Wayland Egl................: $have_evas_engine_wayland_egl"
36644 echo
36645 echo "Image Loaders:"
36646 echo "  BMP.....................: $have_evas_image_loader_bmp"
36647 echo "  EDB.....................: $have_evas_image_loader_edb"
36648 echo "  EET.....................: $have_evas_image_loader_eet"
36649 echo "  GENERIC.................: $have_evas_image_loader_generic"
36650 echo "  GIF.....................: $have_evas_image_loader_gif"
36651 echo "  ICO.....................: $have_evas_image_loader_ico"
36652 echo "  JPEG....................: $have_evas_image_loader_jpeg (region: $have_jpeg_region)"
36653 echo "  PMAPS...................: $have_evas_image_loader_pmaps"
36654 echo "  PNG.....................: $have_evas_image_loader_png"
36655 echo "  PSD.....................: $have_evas_image_loader_psd"
36656 echo "  SVG.....................: $have_evas_image_loader_svg"
36657 echo "  TGA.....................: $have_evas_image_loader_tga"
36658 echo "  TIFF....................: $have_evas_image_loader_tiff"
36659 echo "  WBMP....................: $have_evas_image_loader_wbmp"
36660 echo "  XPM.....................: $have_evas_image_loader_xpm"
36661 echo
36662 echo "Font Sourcing Systems:"
36663 echo "  EET.....................: $have_evas_font_loader_eet"
36664 echo
36665 echo "Font Searching Systems:"
36666 echo "  Fontconfig..............: $have_fontconfig"
36667 echo
36668 echo "Font Rendering Helpers:"
36669 echo "  Fribidi.................: $have_fribidi"
36670 echo "  Harfbuzz................: $have_harfbuzz"
36671 echo "  liblinebreak............: $have_linebreak"
36672 # FIXME: add non freetype2 font engine support
36673 # FIXME: make freetype2 optional
36674 echo
36675 echo "CPU Specific Extensions:"
36676 echo "  Fallback C Code.........: $build_cpu_c"
36677 echo "  MMX.....................: $build_cpu_mmx"
36678 echo "  SSE.....................: $build_cpu_sse"
36679 echo "  SSE3....................: $build_cpu_sse3"
36680 echo "  ALTIVEC.................: $build_cpu_altivec"
36681 echo "  NEON....................: $build_cpu_neon"
36682 echo "  Thread Support..........: $build_pthreads"
36683 echo
36684 echo "Features:"
36685 echo "  MAGIC_DEBUG.............: $want_evas_magic_debug"
36686 echo "  Cache Server............: $want_evas_cserve"
36687 echo "  Cache Server 2..........: $want_evas_cserve2"
36688 echo
36689 echo "  Threaded Pipe Rendering.: $build_pipe_render"
36690 echo "  Async Events............: $build_async_events"
36691 echo "  Async Image Preload.....: $build_async_preload"
36692 echo
36693 echo "  Pixman..................: $have_pixman"
36694 echo "  Pixman Fonts............: $have_pixman_font"
36695 echo "  Pixman Rects............: $have_pixman_rect"
36696 echo "  Pixman Lines............: $have_pixman_line"
36697 echo "  Pixman Polygons.........: $have_pixman_poly"
36698 echo "  Pixman Images...........: $have_pixman_image"
36699 echo "  Pixman Image ScaleSample: $have_pixman_image_scale_sample"
36700 echo
36701 echo "  Tiled 32BPP rotate......: $have_tile_rotate"
36702 echo
36703 echo "ARGB Software Engine Options:"
36704 echo "  Sampling Scaler.........: $scaler_sample"
36705 echo "  Smooth Scaler...........: $scaler_smooth"
36706 # FIXME: add an mmx scaler routine
36707 echo "  YUV Converter...........: $conv_yuv"
36708 # FIXME: add more YUV format and colorvariant support
36709 echo
36710 echo "ARGB Conversion Options:"
36711 echo "  Smaller Dither Mask.....: $conv_small_dither"
36712 echo "  Line Dither Mask........: $conv_line_dither"
36713 echo "  No Dither Mask for 16bpp: $conv_no_dither"
36714 echo "  8bpp RGB 332............: $conv_8_rgb_332"
36715 echo "  8bpp RGB 666............: $conv_8_rgb_666"
36716 echo "  8bpp RGB 232............: $conv_8_rgb_232"
36717 echo "  8bpp RGB 222............: $conv_8_rgb_222"
36718 echo "  8bpp RGB 221............: $conv_8_rgb_221"
36719 echo "  8bpp RGB 121............: $conv_8_rgb_121"
36720 echo "  8bpp RGB 111............: $conv_8_rgb_111"
36721 echo "  8bpp Grayscale (256)....: $conv_8_gry_1"
36722 echo "  8bpp Grayscale (16).....: $conv_8_gry_16"
36723 echo "  8bpp Grayscale 64-pal...: $conv_8_grayscale_64"
36724 # FIXME: add grayscale and B&W support to standard x converters
36725 echo "  16bpp RGB 565...........: $conv_16_rgb_565"
36726 echo "  16bpp BGR 565...........: $conv_16_bgr_565"
36727 echo "  16bpp RGB 555...........: $conv_16_rgb_555"
36728 echo "  16bpp RGB 444...........: $conv_16_rgb_444"
36729 echo "  16bpp RGB 565 (444 ipaq): $conv_16_rgb_ipq"
36730 # FIXME: add 555 (444 ipaq) support
36731 # FIXME: add 30bpp support
36732 # FIXME: add palletted support (ugh!)
36733 # FIXME: add 8bpp and below rotation
36734 echo "  16bpp Rotation 0........: $conv_16_rgb_rot_0"
36735 echo "  16bpp Rotation 90.......: $conv_16_rgb_rot_90"
36736 echo "  16bpp Rotation 180......: $conv_16_rgb_rot_180"
36737 echo "  16bpp Rotation 270......: $conv_16_rgb_rot_270"
36738 echo "  24bpp RGB 888...........: $conv_24_rgb_888"
36739 echo "  24bpp BGR 888...........: $conv_24_bgr_888"
36740 echo "  24bpp RGB 666 (666 ezx).: $conv_24_rgb_ezx"
36741 # FIXME: add 24bpp rotation
36742 echo "  32bpp RGB 8888..........: $conv_32_rgb_8888"
36743 echo "  32bpp RGBX 8888.........: $conv_32_rgbx_8888"
36744 echo "  32bpp BGR 8888..........: $conv_32_bgr_8888"
36745 echo "  32bpp BGRX 8888.........: $conv_32_bgrx_8888"
36746 echo "  32bpp RGB 666 (666 ezx).: $conv_32_rgb_ezx"
36747 echo "  32bpp Rotation 0........: $conv_32_rgb_rot_0"
36748 echo "  32bpp Rotation 90.......: $conv_32_rgb_rot_90"
36749 echo "  32bpp Rotation 180......: $conv_32_rgb_rot_180"
36750 echo "  32bpp Rotation 270......: $conv_32_rgb_rot_270"
36751 echo
36752 echo "Documentation.............: ${build_doc}"
36753 if test "x${build_doc}" = "xyes" ; then
36754 echo "    Installation..........: make install-doc"
36755 fi
36756 echo "Examples..................: install:${install_examples} build:${build_examples}"
36757 if test "x${enable_tests}" = "xyes" ; then
36758    echo "Tests.....................: ${enable_tests} (make check)"
36759 else
36760    echo "Tests.....................: ${enable_tests}"
36761 fi
36762 if test "x${enable_coverage}" = "xyes" ; then
36763    echo "Coverage..................: ${enable_coverage} (make coverage)"
36764 else
36765    echo "Coverage..................: ${enable_coverage}"
36766 fi
36767 echo
36768 echo "Compilation............: make (or gmake)"
36769 echo "  CPPFLAGS.............: $CPPFLAGS"
36770 echo "  CFLAGS...............: $CFLAGS"
36771 echo "  CXXFLAGS.............: $CXXFLAGS"
36772 echo "  LDFLAGS..............: $LDFLAGS"
36773 echo
36774 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
36775 echo "  prefix...............: $prefix"
36776 echo
36777 if test "x${have_static_module}" = "xyes" ; then
36778 echo -e "\0033\01331;31mWarning\0033\01331;0m: You are trying to link statically one or more modules to Evas."
36779 echo "         You must know what you are doing, or else you will have a lot of"
36780 echo "         problems. And Kenny will be killed."
36781 echo "         Think about that."
36782 echo
36783 fi