Imported Upstream version 1.7.1
[platform/upstream/evas.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for evas 1.7.1.
4 #
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 case $0 in #((
95   *[\\/]* ) as_myself=$0 ;;
96   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
98 do
99   IFS=$as_save_IFS
100   test -z "$as_dir" && as_dir=.
101     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102   done
103 IFS=$as_save_IFS
104
105      ;;
106 esac
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
110   as_myself=$0
111 fi
112 if test ! -f "$as_myself"; then
113   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114   exit 1
115 fi
116
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there.  '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
128
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
134
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138 if test "x$CONFIG_SHELL" = x; then
139   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140   emulate sh
141   NULLCMD=:
142   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143   # is contrary to our usage.  Disable this feature.
144   alias -g '\${1+\"\$@\"}'='\"\$@\"'
145   setopt NO_GLOB_SUBST
146 else
147   case \`(set -o) 2>/dev/null\` in #(
148   *posix*) :
149     set -o posix ;; #(
150   *) :
151      ;;
152 esac
153 fi
154 "
155   as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
160
161 exitcode=0
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
168 else
169   exitcode=1; echo positional parameters were not saved.
170 fi
171 test x\$exitcode = x0 || exit 1"
172   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177   if (eval "$as_required") 2>/dev/null; then :
178   as_have_required=yes
179 else
180   as_have_required=no
181 fi
182   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
184 else
185   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186 as_found=false
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 do
189   IFS=$as_save_IFS
190   test -z "$as_dir" && as_dir=.
191   as_found=:
192   case $as_dir in #(
193          /*)
194            for as_base in sh bash ksh sh5; do
195              # Try only shells that exist, to save several forks.
196              as_shell=$as_dir/$as_base
197              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199   CONFIG_SHELL=$as_shell as_have_required=yes
200                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201   break 2
202 fi
203 fi
204            done;;
205        esac
206   as_found=false
207 done
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210   CONFIG_SHELL=$SHELL as_have_required=yes
211 fi; }
212 IFS=$as_save_IFS
213
214
215       if test "x$CONFIG_SHELL" != x; then :
216   # We cannot yet assume a decent shell, so we have to provide a
217         # neutralization value for shells without unset; and this also
218         # works around shells that cannot unset nonexistent variables.
219         BASH_ENV=/dev/null
220         ENV=/dev/null
221         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222         export CONFIG_SHELL
223         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 fi
225
226     if test x$as_have_required = xno; then :
227   $as_echo "$0: This script requires a shell more modern than all"
228   $as_echo "$0: the shells that I found on your system."
229   if test x${ZSH_VERSION+set} = xset ; then
230     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232   else
233     $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: enlightenment-devel@lists.sourceforge.net about your
235 $0: system, including any error possibly output before this
236 $0: message. Then install a modern shell, or manually run
237 $0: the script under such a shell if you do have one."
238   fi
239   exit 1
240 fi
241 fi
242 fi
243 SHELL=${CONFIG_SHELL-/bin/sh}
244 export SHELL
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS
248
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
252 # as_fn_unset VAR
253 # ---------------
254 # Portably unset VAR.
255 as_fn_unset ()
256 {
257   { eval $1=; unset $1;}
258 }
259 as_unset=as_fn_unset
260
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
264 as_fn_set_status ()
265 {
266   return $1
267 } # as_fn_set_status
268
269 # as_fn_exit STATUS
270 # -----------------
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
272 as_fn_exit ()
273 {
274   set +e
275   as_fn_set_status $1
276   exit $1
277 } # as_fn_exit
278
279 # as_fn_mkdir_p
280 # -------------
281 # Create "$as_dir" as a directory, including parents if necessary.
282 as_fn_mkdir_p ()
283 {
284
285   case $as_dir in #(
286   -*) as_dir=./$as_dir;;
287   esac
288   test -d "$as_dir" || eval $as_mkdir_p || {
289     as_dirs=
290     while :; do
291       case $as_dir in #(
292       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293       *) as_qdir=$as_dir;;
294       esac
295       as_dirs="'$as_qdir' $as_dirs"
296       as_dir=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298          X"$as_dir" : 'X\(//\)[^/]' \| \
299          X"$as_dir" : 'X\(//\)$' \| \
300          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
303             s//\1/
304             q
305           }
306           /^X\(\/\/\)[^/].*/{
307             s//\1/
308             q
309           }
310           /^X\(\/\/\)$/{
311             s//\1/
312             q
313           }
314           /^X\(\/\).*/{
315             s//\1/
316             q
317           }
318           s/.*/./; q'`
319       test -d "$as_dir" && break
320     done
321     test -z "$as_dirs" || eval "mkdir $as_dirs"
322   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323
324
325 } # as_fn_mkdir_p
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
331 # implementations.
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333   eval 'as_fn_append ()
334   {
335     eval $1+=\$2
336   }'
337 else
338   as_fn_append ()
339   {
340     eval $1=\$$1\$2
341   }
342 fi # as_fn_append
343
344 # as_fn_arith ARG...
345 # ------------------
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
350   eval 'as_fn_arith ()
351   {
352     as_val=$(( $* ))
353   }'
354 else
355   as_fn_arith ()
356   {
357     as_val=`expr "$@" || test $? -eq 1`
358   }
359 fi # as_fn_arith
360
361
362 # as_fn_error STATUS ERROR [LINENO LOG_FD]
363 # ----------------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with STATUS, using 1 if that was 0.
367 as_fn_error ()
368 {
369   as_status=$1; test $as_status -eq 0 && as_status=1
370   if test "$4"; then
371     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373   fi
374   $as_echo "$as_me: error: $2" >&2
375   as_fn_exit $as_status
376 } # as_fn_error
377
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379    test "X`expr 00001 : '.*\(...\)'`" = X001; then
380   as_expr=expr
381 else
382   as_expr=false
383 fi
384
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386   as_basename=basename
387 else
388   as_basename=false
389 fi
390
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392   as_dirname=dirname
393 else
394   as_dirname=false
395 fi
396
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399          X"$0" : 'X\(//\)$' \| \
400          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401 $as_echo X/"$0" |
402     sed '/^.*\/\([^/][^/]*\)\/*$/{
403             s//\1/
404             q
405           }
406           /^X\/\(\/\/\)$/{
407             s//\1/
408             q
409           }
410           /^X\/\(\/\).*/{
411             s//\1/
412             q
413           }
414           s/.*/./; q'`
415
416 # Avoid depending upon Character Ranges.
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits='0123456789'
421 as_cr_alnum=$as_cr_Letters$as_cr_digits
422
423
424   as_lineno_1=$LINENO as_lineno_1a=$LINENO
425   as_lineno_2=$LINENO as_lineno_2a=$LINENO
426   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
429   sed -n '
430     p
431     /[$]LINENO/=
432   ' <$as_myself |
433     sed '
434       s/[$]LINENO.*/&-/
435       t lineno
436       b
437       :lineno
438       N
439       :loop
440       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441       t loop
442       s/-\n.*//
443     ' >$as_me.lineno &&
444   chmod +x "$as_me.lineno" ||
445     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
446
447   # Don't try to exec as it changes $[0], causing all sort of problems
448   # (the dirname of $[0] is not the place where we might find the
449   # original and so on.  Autoconf is especially sensitive to this).
450   . "./$as_me.lineno"
451   # Exit status is that of the last command.
452   exit
453 }
454
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in #(((((
457 -n*)
458   case `echo 'xy\c'` in
459   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
460   xy)  ECHO_C='\c';;
461   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
462        ECHO_T=' ';;
463   esac;;
464 *)
465   ECHO_N='-n';;
466 esac
467
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470   rm -f conf$$.dir/conf$$.file
471 else
472   rm -f conf$$.dir
473   mkdir conf$$.dir 2>/dev/null
474 fi
475 if (echo >conf$$.file) 2>/dev/null; then
476   if ln -s conf$$.file conf$$ 2>/dev/null; then
477     as_ln_s='ln -s'
478     # ... but there are two gotchas:
479     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481     # In both cases, we have to default to `cp -p'.
482     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
483       as_ln_s='cp -p'
484   elif ln conf$$.file conf$$ 2>/dev/null; then
485     as_ln_s=ln
486   else
487     as_ln_s='cp -p'
488   fi
489 else
490   as_ln_s='cp -p'
491 fi
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493 rmdir conf$$.dir 2>/dev/null
494
495 if mkdir -p . 2>/dev/null; then
496   as_mkdir_p='mkdir -p "$as_dir"'
497 else
498   test -d ./-p && rmdir ./-p
499   as_mkdir_p=false
500 fi
501
502 if test -x / >/dev/null 2>&1; then
503   as_test_x='test -x'
504 else
505   if ls -dL / >/dev/null 2>&1; then
506     as_ls_L_option=L
507   else
508     as_ls_L_option=
509   fi
510   as_test_x='
511     eval sh -c '\''
512       if test -d "$1"; then
513         test -d "$1/.";
514       else
515         case $1 in #(
516         -*)set "./$1";;
517         esac;
518         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519         ???[sx]*):;;*)false;;esac;fi
520     '\'' sh
521   '
522 fi
523 as_executable_p=$as_test_x
524
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
527
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
531
532
533 # Check that we are running under the correct shell.
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536 case X$lt_ECHO in
537 X*--fallback-echo)
538   # Remove one level of quotation (which was required for Make).
539   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
540   ;;
541 esac
542
543 ECHO=${lt_ECHO-echo}
544 if test "X$1" = X--no-reexec; then
545   # Discard the --no-reexec flag, and continue.
546   shift
547 elif test "X$1" = X--fallback-echo; then
548   # Avoid inline document here, it may be left over
549   :
550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551   # Yippee, $ECHO works!
552   :
553 else
554   # Restart under the correct shell.
555   exec $SHELL "$0" --no-reexec ${1+"$@"}
556 fi
557
558 if test "X$1" = X--fallback-echo; then
559   # used as fallback echo
560   shift
561   cat <<_LT_EOF
562 $*
563 _LT_EOF
564   exit 0
565 fi
566
567 # The HP-UX ksh and POSIX shell print the target directory to stdout
568 # if CDPATH is set.
569 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
570
571 if test -z "$lt_ECHO"; then
572   if test "X${echo_test_string+set}" != Xset; then
573     # find a string as large as possible, as long as the shell can cope with it
574     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
578       then
579         break
580       fi
581     done
582   fi
583
584   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586      test "X$echo_testing_string" = "X$echo_test_string"; then
587     :
588   else
589     # The Solaris, AIX, and Digital Unix default echo programs unquote
590     # backslashes.  This makes it impossible to quote backslashes using
591     #   echo "$something" | sed 's/\\/\\\\/g'
592     #
593     # So, first we look for a working echo in the user's PATH.
594
595     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596     for dir in $PATH /usr/ucb; do
597       IFS="$lt_save_ifs"
598       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601          test "X$echo_testing_string" = "X$echo_test_string"; then
602         ECHO="$dir/echo"
603         break
604       fi
605     done
606     IFS="$lt_save_ifs"
607
608     if test "X$ECHO" = Xecho; then
609       # We didn't find a better echo, so look for alternatives.
610       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612          test "X$echo_testing_string" = "X$echo_test_string"; then
613         # This shell has a builtin print -r that does the trick.
614         ECHO='print -r'
615       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616            test "X$CONFIG_SHELL" != X/bin/ksh; then
617         # If we have ksh, try running configure again with it.
618         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619         export ORIGINAL_CONFIG_SHELL
620         CONFIG_SHELL=/bin/ksh
621         export CONFIG_SHELL
622         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623       else
624         # Try using printf.
625         ECHO='printf %s\n'
626         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628            test "X$echo_testing_string" = "X$echo_test_string"; then
629           # Cool, printf works
630           :
631         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632              test "X$echo_testing_string" = 'X\t' &&
633              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634              test "X$echo_testing_string" = "X$echo_test_string"; then
635           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
636           export CONFIG_SHELL
637           SHELL="$CONFIG_SHELL"
638           export SHELL
639           ECHO="$CONFIG_SHELL $0 --fallback-echo"
640         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641              test "X$echo_testing_string" = 'X\t' &&
642              echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643              test "X$echo_testing_string" = "X$echo_test_string"; then
644           ECHO="$CONFIG_SHELL $0 --fallback-echo"
645         else
646           # maybe with a smaller string...
647           prev=:
648
649           for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
651             then
652               break
653             fi
654             prev="$cmd"
655           done
656
657           if test "$prev" != 'sed 50q "$0"'; then
658             echo_test_string=`eval $prev`
659             export echo_test_string
660             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
661           else
662             # Oops.  We lost completely, so just stick with echo.
663             ECHO=echo
664           fi
665         fi
666       fi
667     fi
668   fi
669 fi
670
671 # Copy echo and quote the copy suitably for passing to libtool from
672 # the Makefile, instead of quoting the original, which is used later.
673 lt_ECHO=$ECHO
674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676 fi
677
678
679
680
681 test -n "$DJDIR" || exec 7<&0 </dev/null
682 exec 6>&1
683
684 # Name of the host.
685 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686 # so uname gets run too.
687 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
688
689 #
690 # Initializations.
691 #
692 ac_default_prefix=/usr/local
693 ac_clean_files=
694 ac_config_libobj_dir=.
695 LIBOBJS=
696 cross_compiling=no
697 subdirs=
698 MFLAGS=
699 MAKEFLAGS=
700
701 # Identity of this package.
702 PACKAGE_NAME='evas'
703 PACKAGE_TARNAME='evas'
704 PACKAGE_VERSION='1.7.1'
705 PACKAGE_STRING='evas 1.7.1'
706 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
707 PACKAGE_URL=''
708
709 ac_unique_file="configure.ac"
710 # Factoring default headers for most tests.
711 ac_includes_default="\
712 #include <stdio.h>
713 #ifdef HAVE_SYS_TYPES_H
714 # include <sys/types.h>
715 #endif
716 #ifdef HAVE_SYS_STAT_H
717 # include <sys/stat.h>
718 #endif
719 #ifdef STDC_HEADERS
720 # include <stdlib.h>
721 # include <stddef.h>
722 #else
723 # ifdef HAVE_STDLIB_H
724 #  include <stdlib.h>
725 # endif
726 #endif
727 #ifdef HAVE_STRING_H
728 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
729 #  include <memory.h>
730 # endif
731 # include <string.h>
732 #endif
733 #ifdef HAVE_STRINGS_H
734 # include <strings.h>
735 #endif
736 #ifdef HAVE_INTTYPES_H
737 # include <inttypes.h>
738 #endif
739 #ifdef HAVE_STDINT_H
740 # include <stdint.h>
741 #endif
742 #ifdef HAVE_UNISTD_H
743 # include <unistd.h>
744 #endif"
745
746 ac_subst_vars='am__EXEEXT_FALSE
747 am__EXEEXT_TRUE
748 LTLIBOBJS
749 LIBOBJS
750 requirement_evas
751 pthread_libs
752 pthread_cflags
753 altivec_cflags
754 EVAS_GENERAL_LIBS
755 EVAS_GENERAL_CFLAGS
756 EVAS_LIBS
757 EVAS_CFLAGS
758 EFL_ENABLE_COVERAGE_FALSE
759 EFL_ENABLE_COVERAGE_TRUE
760 EFL_COVERAGE_LIBS
761 EFL_COVERAGE_CFLAGS
762 have_lcov
763 EFL_ENABLE_TESTS_FALSE
764 EFL_ENABLE_TESTS_TRUE
765 CHECK_LIBS
766 CHECK_CFLAGS
767 BUILD_EXAMPLES_FALSE
768 BUILD_EXAMPLES_TRUE
769 edje_cc
770 EDJE_LIBS
771 EDJE_CFLAGS
772 ECORE_EVAS_LIBS
773 ECORE_EVAS_CFLAGS
774 INSTALL_EXAMPLES_FALSE
775 INSTALL_EXAMPLES_TRUE
776 VALGRIND_LIBS
777 VALGRIND_CFLAGS
778 EVAS_MAGIC_DEBUG_FALSE
779 EVAS_MAGIC_DEBUG_TRUE
780 EVAS_SSE3_CFLAGS
781 EVAS_STATIC_BUILD_GENERIC_FALSE
782 EVAS_STATIC_BUILD_GENERIC_TRUE
783 BUILD_LOADER_GENERIC_FALSE
784 BUILD_LOADER_GENERIC_TRUE
785 evas_image_loader_generic_libs
786 evas_image_loader_generic_cflags
787 EVAS_STATIC_BUILD_PSD_FALSE
788 EVAS_STATIC_BUILD_PSD_TRUE
789 BUILD_LOADER_PSD_FALSE
790 BUILD_LOADER_PSD_TRUE
791 evas_image_loader_psd_libs
792 evas_image_loader_psd_cflags
793 EVAS_STATIC_BUILD_ICO_FALSE
794 EVAS_STATIC_BUILD_ICO_TRUE
795 BUILD_LOADER_ICO_FALSE
796 BUILD_LOADER_ICO_TRUE
797 evas_image_loader_ico_libs
798 evas_image_loader_ico_cflags
799 EVAS_STATIC_BUILD_WBMP_FALSE
800 EVAS_STATIC_BUILD_WBMP_TRUE
801 BUILD_LOADER_WBMP_FALSE
802 BUILD_LOADER_WBMP_TRUE
803 evas_image_loader_wbmp_libs
804 evas_image_loader_wbmp_cflags
805 EVAS_STATIC_BUILD_TGA_FALSE
806 EVAS_STATIC_BUILD_TGA_TRUE
807 BUILD_LOADER_TGA_FALSE
808 BUILD_LOADER_TGA_TRUE
809 evas_image_loader_tga_libs
810 evas_image_loader_tga_cflags
811 EVAS_STATIC_BUILD_BMP_FALSE
812 EVAS_STATIC_BUILD_BMP_TRUE
813 BUILD_LOADER_BMP_FALSE
814 BUILD_LOADER_BMP_TRUE
815 evas_image_loader_bmp_libs
816 evas_image_loader_bmp_cflags
817 EVAS_STATIC_BUILD_XPM_FALSE
818 EVAS_STATIC_BUILD_XPM_TRUE
819 BUILD_LOADER_XPM_FALSE
820 BUILD_LOADER_XPM_TRUE
821 evas_image_loader_xpm_libs
822 evas_image_loader_xpm_cflags
823 EVAS_STATIC_BUILD_TIFF_FALSE
824 EVAS_STATIC_BUILD_TIFF_TRUE
825 BUILD_LOADER_TIFF_FALSE
826 BUILD_LOADER_TIFF_TRUE
827 evas_image_loader_tiff_libs
828 evas_image_loader_tiff_cflags
829 EVAS_STATIC_BUILD_SVG_FALSE
830 EVAS_STATIC_BUILD_SVG_TRUE
831 BUILD_LOADER_SVG_FALSE
832 BUILD_LOADER_SVG_TRUE
833 evas_image_loader_svg_libs
834 evas_image_loader_svg_cflags
835 SVG_LIBS
836 SVG_CFLAGS
837 EVAS_STATIC_BUILD_PNG_FALSE
838 EVAS_STATIC_BUILD_PNG_TRUE
839 BUILD_LOADER_PNG_FALSE
840 BUILD_LOADER_PNG_TRUE
841 evas_image_loader_png_libs
842 evas_image_loader_png_cflags
843 PNG_LIBS
844 PNG_CFLAGS
845 EVAS_STATIC_BUILD_PMAPS_FALSE
846 EVAS_STATIC_BUILD_PMAPS_TRUE
847 BUILD_LOADER_PMAPS_FALSE
848 BUILD_LOADER_PMAPS_TRUE
849 evas_image_loader_pmaps_libs
850 evas_image_loader_pmaps_cflags
851 BUILD_SAVER_JPEG_FALSE
852 BUILD_SAVER_JPEG_TRUE
853 EVAS_STATIC_BUILD_JPEG_FALSE
854 EVAS_STATIC_BUILD_JPEG_TRUE
855 BUILD_LOADER_JPEG_FALSE
856 BUILD_LOADER_JPEG_TRUE
857 evas_image_loader_jpeg_libs
858 evas_image_loader_jpeg_cflags
859 EVAS_STATIC_BUILD_GIF_FALSE
860 EVAS_STATIC_BUILD_GIF_TRUE
861 BUILD_LOADER_GIF_FALSE
862 BUILD_LOADER_GIF_TRUE
863 evas_image_loader_gif_libs
864 evas_image_loader_gif_cflags
865 EVAS_STATIC_BUILD_EET_FALSE
866 EVAS_STATIC_BUILD_EET_TRUE
867 BUILD_LOADER_EET_FALSE
868 BUILD_LOADER_EET_TRUE
869 evas_image_loader_eet_libs
870 evas_image_loader_eet_cflags
871 EET_LIBS
872 EET_CFLAGS
873 EVAS_STATIC_BUILD_EDB_FALSE
874 EVAS_STATIC_BUILD_EDB_TRUE
875 BUILD_LOADER_EDB_FALSE
876 BUILD_LOADER_EDB_TRUE
877 evas_image_loader_edb_libs
878 evas_image_loader_edb_cflags
879 EDB_LIBS
880 EDB_CFLAGS
881 EVAS_STATIC_BUILD_SOFTWARE_8_FALSE
882 EVAS_STATIC_BUILD_SOFTWARE_8_TRUE
883 BUILD_ENGINE_SOFTWARE_8_FALSE
884 BUILD_ENGINE_SOFTWARE_8_TRUE
885 EVAS_STATIC_BUILD_SOFTWARE_16_FALSE
886 EVAS_STATIC_BUILD_SOFTWARE_16_TRUE
887 BUILD_ENGINE_SOFTWARE_16_FALSE
888 BUILD_ENGINE_SOFTWARE_16_TRUE
889 EVAS_STATIC_BUILD_GL_COMMON_FALSE
890 EVAS_STATIC_BUILD_GL_COMMON_TRUE
891 BUILD_ENGINE_GL_COMMON_FALSE
892 BUILD_ENGINE_GL_COMMON_TRUE
893 evas_engine_gl_common_libs
894 have_evas_engine_gl_x11
895 EVAS_STATIC_BUILD_GL_X11_FALSE
896 EVAS_STATIC_BUILD_GL_X11_TRUE
897 BUILD_ENGINE_GL_X11_FALSE
898 BUILD_ENGINE_GL_X11_TRUE
899 have_evas_engine_gl_xlib
900 EVAS_STATIC_BUILD_GL_XLIB_FALSE
901 EVAS_STATIC_BUILD_GL_XLIB_TRUE
902 BUILD_ENGINE_GL_XLIB_FALSE
903 BUILD_ENGINE_GL_XLIB_TRUE
904 evas_engine_gl_xlib_libs
905 evas_engine_gl_xlib_cflags
906 have_evas_engine_gl_xcb
907 EVAS_STATIC_BUILD_GL_XCB_FALSE
908 EVAS_STATIC_BUILD_GL_XCB_TRUE
909 BUILD_ENGINE_GL_XCB_FALSE
910 BUILD_ENGINE_GL_XCB_TRUE
911 evas_engine_gl_xcb_libs
912 evas_engine_gl_xcb_cflags
913 XCB_GL_LIBS
914 XCB_GL_CFLAGS
915 have_evas_engine_software_x11
916 EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE
917 EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE
918 BUILD_ENGINE_SOFTWARE_X11_FALSE
919 BUILD_ENGINE_SOFTWARE_X11_TRUE
920 have_evas_engine_software_xlib
921 have_evas_engine_software_xcb
922 EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE
923 EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE
924 BUILD_ENGINE_SOFTWARE_XLIB_FALSE
925 BUILD_ENGINE_SOFTWARE_XLIB_TRUE
926 evas_engine_software_xlib_libs
927 evas_engine_software_xlib_cflags
928 EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE
929 EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE
930 BUILD_ENGINE_SOFTWARE_XCB_FALSE
931 BUILD_ENGINE_SOFTWARE_XCB_TRUE
932 evas_engine_software_xcb_libs
933 evas_engine_software_xcb_cflags
934 EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE
935 EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE
936 EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE
937 EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE
938 BUILD_ENGINE_WAYLAND_EGL_FALSE
939 BUILD_ENGINE_WAYLAND_EGL_TRUE
940 evas_engine_wayland_egl_libs
941 evas_engine_wayland_egl_cflags
942 WAYLAND_EGL_LIBS
943 WAYLAND_EGL_CFLAGS
944 EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE
945 EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE
946 BUILD_ENGINE_WAYLAND_SHM_FALSE
947 BUILD_ENGINE_WAYLAND_SHM_TRUE
948 evas_engine_wayland_shm_libs
949 evas_engine_wayland_shm_cflags
950 EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE
951 EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE
952 BUILD_ENGINE_SOFTWARE_16_SDL_FALSE
953 BUILD_ENGINE_SOFTWARE_16_SDL_TRUE
954 evas_engine_software_16_sdl_libs
955 evas_engine_software_16_sdl_cflags
956 EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE
957 EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE
958 BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE
959 BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE
960 evas_engine_software_16_wince_libs
961 evas_engine_software_16_wince_cflags
962 EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE
963 EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE
964 BUILD_ENGINE_SOFTWARE_16_X11_FALSE
965 BUILD_ENGINE_SOFTWARE_16_X11_TRUE
966 evas_engine_software_16_x11_libs
967 evas_engine_software_16_x11_cflags
968 X_EXTRA_LIBS
969 X_LIBS
970 X_PRE_LIBS
971 X_CFLAGS
972 XMKMF
973 EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE
974 EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE
975 BUILD_ENGINE_SOFTWARE_8_X11_FALSE
976 BUILD_ENGINE_SOFTWARE_8_X11_TRUE
977 evas_engine_software_8_x11_libs
978 evas_engine_software_8_x11_cflags
979 XCB_LIBS
980 XCB_CFLAGS
981 EVAS_STATIC_BUILD_DIRECTFB_FALSE
982 EVAS_STATIC_BUILD_DIRECTFB_TRUE
983 BUILD_ENGINE_DIRECTFB_FALSE
984 BUILD_ENGINE_DIRECTFB_TRUE
985 evas_engine_directfb_libs
986 evas_engine_directfb_cflags
987 DIRECTFB_LIBS
988 DIRECTFB_CFLAGS
989 EVAS_STATIC_BUILD_FB_FALSE
990 EVAS_STATIC_BUILD_FB_TRUE
991 BUILD_ENGINE_FB_FALSE
992 BUILD_ENGINE_FB_TRUE
993 evas_engine_fb_libs
994 evas_engine_fb_cflags
995 EVAS_STATIC_BUILD_GL_COCOA_FALSE
996 EVAS_STATIC_BUILD_GL_COCOA_TRUE
997 BUILD_ENGINE_GL_COCOA_FALSE
998 BUILD_ENGINE_GL_COCOA_TRUE
999 evas_engine_gl_cocoa_libs
1000 evas_engine_gl_cocoa_cflags
1001 GL_EET_LIBS
1002 GL_EET_CFLAGS
1003 EVAS_STATIC_BUILD_GL_SDL_FALSE
1004 EVAS_STATIC_BUILD_GL_SDL_TRUE
1005 BUILD_ENGINE_GL_SDL_FALSE
1006 BUILD_ENGINE_GL_SDL_TRUE
1007 evas_engine_gl_sdl_libs
1008 evas_engine_gl_sdl_cflags
1009 SDL_LIBS
1010 SDL_CFLAGS
1011 EVAS_STATIC_BUILD_PSL1GHT_FALSE
1012 EVAS_STATIC_BUILD_PSL1GHT_TRUE
1013 BUILD_ENGINE_PSL1GHT_FALSE
1014 BUILD_ENGINE_PSL1GHT_TRUE
1015 evas_engine_psl1ght_libs
1016 evas_engine_psl1ght_cflags
1017 EVAS_STATIC_BUILD_DIRECT3D_FALSE
1018 EVAS_STATIC_BUILD_DIRECT3D_TRUE
1019 BUILD_ENGINE_DIRECT3D_FALSE
1020 BUILD_ENGINE_DIRECT3D_TRUE
1021 evas_engine_direct3d_libs
1022 evas_engine_direct3d_cflags
1023 EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE
1024 EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE
1025 BUILD_ENGINE_SOFTWARE_DDRAW_FALSE
1026 BUILD_ENGINE_SOFTWARE_DDRAW_TRUE
1027 evas_engine_software_ddraw_libs
1028 evas_engine_software_ddraw_cflags
1029 EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE
1030 EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE
1031 BUILD_ENGINE_SOFTWARE_GDI_FALSE
1032 BUILD_ENGINE_SOFTWARE_GDI_TRUE
1033 evas_engine_software_gdi_libs
1034 evas_engine_software_gdi_cflags
1035 EVAS_STATIC_BUILD_BUFFER_FALSE
1036 EVAS_STATIC_BUILD_BUFFER_TRUE
1037 BUILD_ENGINE_BUFFER_FALSE
1038 BUILD_ENGINE_BUFFER_TRUE
1039 evas_engine_buffer_libs
1040 evas_engine_buffer_cflags
1041 EVAS_CSERVE2_FALSE
1042 EVAS_CSERVE2_TRUE
1043 EVAS_CSERVE_FALSE
1044 EVAS_CSERVE_TRUE
1045 shm_open_libs
1046 EFL_SHM_OPEN_LIBS
1047 dlopen_libs
1048 EFL_FNMATCH_LIBS
1049 ALLOCA
1050 lt_enable_auto_import
1051 PIXMAN_LIBS
1052 PIXMAN_CFLAGS
1053 HARFBUZZ_LIBS
1054 HARFBUZZ_CFLAGS
1055 FRIBIDI_LIBS
1056 FRIBIDI_CFLAGS
1057 LINEBREAK_LIBS
1058 LINEBREAK_CFLAGS
1059 EVAS_USE_LINEBREAK_FALSE
1060 EVAS_USE_LINEBREAK_TRUE
1061 FONTCONFIG_LIBS
1062 FONTCONFIG_CFLAGS
1063 FREETYPE_LIBS
1064 FREETYPE_CFLAGS
1065 EINA_LIBS
1066 EINA_CFLAGS
1067 EVAS_HAVE_EXOTIC_FALSE
1068 EVAS_HAVE_EXOTIC_TRUE
1069 EXOTIC_LIBS
1070 EXOTIC_CFLAGS
1071 EVIL_LIBS
1072 EVIL_CFLAGS
1073 EFL_BUILD_DOC_FALSE
1074 EFL_BUILD_DOC_TRUE
1075 efl_doxygen
1076 efl_have_doxygen
1077 pkgconfig_requires_private
1078 PKG_CONFIG_LIBDIR
1079 PKG_CONFIG_PATH
1080 PKG_CONFIG
1081 CXXCPP
1082 am__fastdepCXX_FALSE
1083 am__fastdepCXX_TRUE
1084 CXXDEPMODE
1085 ac_ct_CXX
1086 CXXFLAGS
1087 CXX
1088 am__fastdepOBJC_FALSE
1089 am__fastdepOBJC_TRUE
1090 OBJCDEPMODE
1091 ac_ct_OBJC
1092 OBJCFLAGS
1093 OBJC
1094 MODULE_ARCH
1095 VMAJ
1096 release_info
1097 version_info
1098 OTOOL64
1099 OTOOL
1100 LIPO
1101 NMEDIT
1102 DSYMUTIL
1103 lt_ECHO
1104 RANLIB
1105 AR
1106 LN_S
1107 NM
1108 ac_ct_DUMPBIN
1109 DUMPBIN
1110 LD
1111 FGREP
1112 SED
1113 LIBTOOL
1114 OBJDUMP
1115 DLLTOOL
1116 AS
1117 host_os
1118 host_vendor
1119 host_cpu
1120 host
1121 build_os
1122 build_vendor
1123 build_cpu
1124 build
1125 EGREP
1126 GREP
1127 CPP
1128 am__fastdepCC_FALSE
1129 am__fastdepCC_TRUE
1130 CCDEPMODE
1131 AMDEPBACKSLASH
1132 AMDEP_FALSE
1133 AMDEP_TRUE
1134 am__quote
1135 am__include
1136 DEPDIR
1137 OBJEXT
1138 EXEEXT
1139 ac_ct_CC
1140 CPPFLAGS
1141 LDFLAGS
1142 CFLAGS
1143 CC
1144 AM_BACKSLASH
1145 AM_DEFAULT_VERBOSITY
1146 am__untar
1147 am__tar
1148 AMTAR
1149 am__leading_dot
1150 SET_MAKE
1151 AWK
1152 mkdir_p
1153 MKDIR_P
1154 INSTALL_STRIP_PROGRAM
1155 STRIP
1156 install_sh
1157 MAKEINFO
1158 AUTOHEADER
1159 AUTOMAKE
1160 AUTOCONF
1161 ACLOCAL
1162 VERSION
1163 PACKAGE
1164 CYGPATH_W
1165 am__isrc
1166 INSTALL_DATA
1167 INSTALL_SCRIPT
1168 INSTALL_PROGRAM
1169 target_alias
1170 host_alias
1171 build_alias
1172 LIBS
1173 ECHO_T
1174 ECHO_N
1175 ECHO_C
1176 DEFS
1177 mandir
1178 localedir
1179 libdir
1180 psdir
1181 pdfdir
1182 dvidir
1183 htmldir
1184 infodir
1185 docdir
1186 oldincludedir
1187 includedir
1188 localstatedir
1189 sharedstatedir
1190 sysconfdir
1191 datadir
1192 datarootdir
1193 libexecdir
1194 sbindir
1195 bindir
1196 program_transform_name
1197 prefix
1198 exec_prefix
1199 PACKAGE_URL
1200 PACKAGE_BUGREPORT
1201 PACKAGE_STRING
1202 PACKAGE_VERSION
1203 PACKAGE_TARNAME
1204 PACKAGE_NAME
1205 PATH_SEPARATOR
1206 SHELL'
1207 ac_subst_files=''
1208 ac_user_opts='
1209 enable_option_checking
1210 enable_silent_rules
1211 enable_dependency_tracking
1212 enable_shared
1213 enable_static
1214 with_pic
1215 enable_fast_install
1216 with_gnu_ld
1217 enable_libtool_lock
1218 enable_strict
1219 enable_simple_x11
1220 enable_doc
1221 with_doxygen
1222 enable_fontconfig
1223 enable_liblinebreak
1224 enable_fribidi
1225 enable_harfbuzz
1226 enable_pixman
1227 enable_pixman_font
1228 enable_pixman_rect
1229 enable_pixman_line
1230 enable_pixman_poly
1231 enable_pixman_image
1232 enable_pixman_image_scale_sample
1233 enable_tile_rotate
1234 enable_evas_cserve
1235 enable_evas_cserve2
1236 enable_gl_flavor_gles
1237 enable_gles_variety_sgx
1238 enable_gles_variety_s3c6410
1239 enable_buffer
1240 enable_software_gdi
1241 enable_software_ddraw
1242 enable_direct3d
1243 enable_psl1ght
1244 enable_gl_sdl
1245 enable_gl_cocoa
1246 enable_fb
1247 enable_directfb
1248 enable_software_8_x11
1249 enable_software_16_x11
1250 with_x
1251 enable_software_16_wince
1252 enable_software_16_sdl
1253 enable_wayland_shm
1254 enable_wayland_egl
1255 enable_sdl_primitive
1256 enable_static_software_generic
1257 enable_software_xcb
1258 enable_software_xlib
1259 enable_gl_xcb
1260 enable_gl_xlib
1261 enable_static_software_16
1262 enable_static_software_8
1263 enable_image_loader_edb
1264 enable_image_loader_eet
1265 enable_font_loader_eet
1266 enable_image_loader_gif
1267 enable_image_loader_jpeg
1268 enable_image_loader_pmaps
1269 enable_image_loader_png
1270 enable_image_loader_svg
1271 enable_image_loader_tiff
1272 enable_image_loader_xpm
1273 enable_image_loader_bmp
1274 enable_image_loader_tga
1275 enable_image_loader_wbmp
1276 enable_image_loader_ico
1277 enable_image_loader_psd
1278 enable_image_loader_generic
1279 enable_pthreads
1280 enable_async_events
1281 enable_async_preload
1282 enable_cpu_mmx
1283 enable_cpu_sse
1284 enable_cpu_sse3
1285 enable_cpu_altivec
1286 enable_cpu_neon
1287 enable_cpu_c
1288 enable_evas_magic_debug
1289 enable_scale_sample
1290 enable_scale_smooth
1291 enable_convert_yuv
1292 enable_small_dither_mask
1293 enable_line_dither_mask
1294 enable_no_dither_mask
1295 enable_convert_8_rgb_332
1296 enable_convert_8_rgb_666
1297 enable_convert_8_rgb_232
1298 enable_convert_8_rgb_222
1299 enable_convert_8_rgb_221
1300 enable_convert_8_rgb_121
1301 enable_convert_8_rgb_111
1302 enable_convert_16_rgb_565
1303 enable_convert_16_bgr_565
1304 enable_convert_16_rgb_555
1305 enable_convert_16_rgb_444
1306 enable_convert_16_rgb_ipq
1307 enable_convert_16_rgb_rot_0
1308 enable_convert_16_rgb_rot_180
1309 enable_convert_16_rgb_rot_270
1310 enable_convert_16_rgb_rot_90
1311 enable_convert_24_rgb_888
1312 enable_convert_24_bgr_888
1313 enable_convert_32_rgb_8888
1314 enable_convert_32_rgbx_8888
1315 enable_convert_32_bgr_8888
1316 enable_convert_32_bgrx_8888
1317 enable_convert_24_rgb_ezx
1318 enable_convert_32_rgb_ezx
1319 enable_convert_32_rgb_rot_0
1320 enable_convert_32_rgb_rot_180
1321 enable_convert_32_rgb_rot_270
1322 enable_convert_32_rgb_rot_90
1323 enable_convert_8_gry_1
1324 enable_convert_8_gry_16
1325 enable_convert_8_grayscale_64
1326 enable_valgrind
1327 enable_install_examples
1328 enable_build_examples
1329 enable_tests
1330 enable_coverage
1331 '
1332       ac_precious_vars='build_alias
1333 host_alias
1334 target_alias
1335 CC
1336 CFLAGS
1337 LDFLAGS
1338 LIBS
1339 CPPFLAGS
1340 CPP
1341 OBJC
1342 OBJCFLAGS
1343 CXX
1344 CXXFLAGS
1345 CCC
1346 CXXCPP
1347 PKG_CONFIG
1348 PKG_CONFIG_PATH
1349 PKG_CONFIG_LIBDIR
1350 EVIL_CFLAGS
1351 EVIL_LIBS
1352 EXOTIC_CFLAGS
1353 EXOTIC_LIBS
1354 EINA_CFLAGS
1355 EINA_LIBS
1356 FREETYPE_CFLAGS
1357 FREETYPE_LIBS
1358 FONTCONFIG_CFLAGS
1359 FONTCONFIG_LIBS
1360 FRIBIDI_CFLAGS
1361 FRIBIDI_LIBS
1362 HARFBUZZ_CFLAGS
1363 HARFBUZZ_LIBS
1364 PIXMAN_CFLAGS
1365 PIXMAN_LIBS
1366 SDL_CFLAGS
1367 SDL_LIBS
1368 GL_EET_CFLAGS
1369 GL_EET_LIBS
1370 DIRECTFB_CFLAGS
1371 DIRECTFB_LIBS
1372 XCB_CFLAGS
1373 XCB_LIBS
1374 XMKMF
1375 WAYLAND_EGL_CFLAGS
1376 WAYLAND_EGL_LIBS
1377 XCB_GL_CFLAGS
1378 XCB_GL_LIBS
1379 EDB_CFLAGS
1380 EDB_LIBS
1381 EET_CFLAGS
1382 EET_LIBS
1383 PNG_CFLAGS
1384 PNG_LIBS
1385 SVG_CFLAGS
1386 SVG_LIBS
1387 VALGRIND_CFLAGS
1388 VALGRIND_LIBS
1389 ECORE_EVAS_CFLAGS
1390 ECORE_EVAS_LIBS
1391 EDJE_CFLAGS
1392 EDJE_LIBS
1393 CHECK_CFLAGS
1394 CHECK_LIBS'
1395
1396
1397 # Initialize some variables set by options.
1398 ac_init_help=
1399 ac_init_version=false
1400 ac_unrecognized_opts=
1401 ac_unrecognized_sep=
1402 # The variables have the same names as the options, with
1403 # dashes changed to underlines.
1404 cache_file=/dev/null
1405 exec_prefix=NONE
1406 no_create=
1407 no_recursion=
1408 prefix=NONE
1409 program_prefix=NONE
1410 program_suffix=NONE
1411 program_transform_name=s,x,x,
1412 silent=
1413 site=
1414 srcdir=
1415 verbose=
1416 x_includes=NONE
1417 x_libraries=NONE
1418
1419 # Installation directory options.
1420 # These are left unexpanded so users can "make install exec_prefix=/foo"
1421 # and all the variables that are supposed to be based on exec_prefix
1422 # by default will actually change.
1423 # Use braces instead of parens because sh, perl, etc. also accept them.
1424 # (The list follows the same order as the GNU Coding Standards.)
1425 bindir='${exec_prefix}/bin'
1426 sbindir='${exec_prefix}/sbin'
1427 libexecdir='${exec_prefix}/libexec'
1428 datarootdir='${prefix}/share'
1429 datadir='${datarootdir}'
1430 sysconfdir='${prefix}/etc'
1431 sharedstatedir='${prefix}/com'
1432 localstatedir='${prefix}/var'
1433 includedir='${prefix}/include'
1434 oldincludedir='/usr/include'
1435 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1436 infodir='${datarootdir}/info'
1437 htmldir='${docdir}'
1438 dvidir='${docdir}'
1439 pdfdir='${docdir}'
1440 psdir='${docdir}'
1441 libdir='${exec_prefix}/lib'
1442 localedir='${datarootdir}/locale'
1443 mandir='${datarootdir}/man'
1444
1445 ac_prev=
1446 ac_dashdash=
1447 for ac_option
1448 do
1449   # If the previous option needs an argument, assign it.
1450   if test -n "$ac_prev"; then
1451     eval $ac_prev=\$ac_option
1452     ac_prev=
1453     continue
1454   fi
1455
1456   case $ac_option in
1457   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1458   *=)   ac_optarg= ;;
1459   *)    ac_optarg=yes ;;
1460   esac
1461
1462   # Accept the important Cygnus configure options, so we can diagnose typos.
1463
1464   case $ac_dashdash$ac_option in
1465   --)
1466     ac_dashdash=yes ;;
1467
1468   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1469     ac_prev=bindir ;;
1470   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1471     bindir=$ac_optarg ;;
1472
1473   -build | --build | --buil | --bui | --bu)
1474     ac_prev=build_alias ;;
1475   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1476     build_alias=$ac_optarg ;;
1477
1478   -cache-file | --cache-file | --cache-fil | --cache-fi \
1479   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1480     ac_prev=cache_file ;;
1481   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1482   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1483     cache_file=$ac_optarg ;;
1484
1485   --config-cache | -C)
1486     cache_file=config.cache ;;
1487
1488   -datadir | --datadir | --datadi | --datad)
1489     ac_prev=datadir ;;
1490   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1491     datadir=$ac_optarg ;;
1492
1493   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1494   | --dataroo | --dataro | --datar)
1495     ac_prev=datarootdir ;;
1496   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1497   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1498     datarootdir=$ac_optarg ;;
1499
1500   -disable-* | --disable-*)
1501     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1502     # Reject names that are not valid shell variable names.
1503     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1504       as_fn_error $? "invalid feature name: $ac_useropt"
1505     ac_useropt_orig=$ac_useropt
1506     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1507     case $ac_user_opts in
1508       *"
1509 "enable_$ac_useropt"
1510 "*) ;;
1511       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1512          ac_unrecognized_sep=', ';;
1513     esac
1514     eval enable_$ac_useropt=no ;;
1515
1516   -docdir | --docdir | --docdi | --doc | --do)
1517     ac_prev=docdir ;;
1518   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1519     docdir=$ac_optarg ;;
1520
1521   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1522     ac_prev=dvidir ;;
1523   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1524     dvidir=$ac_optarg ;;
1525
1526   -enable-* | --enable-*)
1527     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1528     # Reject names that are not valid shell variable names.
1529     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1530       as_fn_error $? "invalid feature name: $ac_useropt"
1531     ac_useropt_orig=$ac_useropt
1532     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1533     case $ac_user_opts in
1534       *"
1535 "enable_$ac_useropt"
1536 "*) ;;
1537       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1538          ac_unrecognized_sep=', ';;
1539     esac
1540     eval enable_$ac_useropt=\$ac_optarg ;;
1541
1542   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1543   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1544   | --exec | --exe | --ex)
1545     ac_prev=exec_prefix ;;
1546   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1547   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1548   | --exec=* | --exe=* | --ex=*)
1549     exec_prefix=$ac_optarg ;;
1550
1551   -gas | --gas | --ga | --g)
1552     # Obsolete; use --with-gas.
1553     with_gas=yes ;;
1554
1555   -help | --help | --hel | --he | -h)
1556     ac_init_help=long ;;
1557   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1558     ac_init_help=recursive ;;
1559   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1560     ac_init_help=short ;;
1561
1562   -host | --host | --hos | --ho)
1563     ac_prev=host_alias ;;
1564   -host=* | --host=* | --hos=* | --ho=*)
1565     host_alias=$ac_optarg ;;
1566
1567   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1568     ac_prev=htmldir ;;
1569   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1570   | --ht=*)
1571     htmldir=$ac_optarg ;;
1572
1573   -includedir | --includedir | --includedi | --included | --include \
1574   | --includ | --inclu | --incl | --inc)
1575     ac_prev=includedir ;;
1576   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1577   | --includ=* | --inclu=* | --incl=* | --inc=*)
1578     includedir=$ac_optarg ;;
1579
1580   -infodir | --infodir | --infodi | --infod | --info | --inf)
1581     ac_prev=infodir ;;
1582   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1583     infodir=$ac_optarg ;;
1584
1585   -libdir | --libdir | --libdi | --libd)
1586     ac_prev=libdir ;;
1587   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1588     libdir=$ac_optarg ;;
1589
1590   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1591   | --libexe | --libex | --libe)
1592     ac_prev=libexecdir ;;
1593   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1594   | --libexe=* | --libex=* | --libe=*)
1595     libexecdir=$ac_optarg ;;
1596
1597   -localedir | --localedir | --localedi | --localed | --locale)
1598     ac_prev=localedir ;;
1599   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1600     localedir=$ac_optarg ;;
1601
1602   -localstatedir | --localstatedir | --localstatedi | --localstated \
1603   | --localstate | --localstat | --localsta | --localst | --locals)
1604     ac_prev=localstatedir ;;
1605   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1606   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1607     localstatedir=$ac_optarg ;;
1608
1609   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1610     ac_prev=mandir ;;
1611   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1612     mandir=$ac_optarg ;;
1613
1614   -nfp | --nfp | --nf)
1615     # Obsolete; use --without-fp.
1616     with_fp=no ;;
1617
1618   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1619   | --no-cr | --no-c | -n)
1620     no_create=yes ;;
1621
1622   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1623   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1624     no_recursion=yes ;;
1625
1626   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1627   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1628   | --oldin | --oldi | --old | --ol | --o)
1629     ac_prev=oldincludedir ;;
1630   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1631   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1632   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1633     oldincludedir=$ac_optarg ;;
1634
1635   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1636     ac_prev=prefix ;;
1637   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1638     prefix=$ac_optarg ;;
1639
1640   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1641   | --program-pre | --program-pr | --program-p)
1642     ac_prev=program_prefix ;;
1643   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1644   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1645     program_prefix=$ac_optarg ;;
1646
1647   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1648   | --program-suf | --program-su | --program-s)
1649     ac_prev=program_suffix ;;
1650   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1651   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1652     program_suffix=$ac_optarg ;;
1653
1654   -program-transform-name | --program-transform-name \
1655   | --program-transform-nam | --program-transform-na \
1656   | --program-transform-n | --program-transform- \
1657   | --program-transform | --program-transfor \
1658   | --program-transfo | --program-transf \
1659   | --program-trans | --program-tran \
1660   | --progr-tra | --program-tr | --program-t)
1661     ac_prev=program_transform_name ;;
1662   -program-transform-name=* | --program-transform-name=* \
1663   | --program-transform-nam=* | --program-transform-na=* \
1664   | --program-transform-n=* | --program-transform-=* \
1665   | --program-transform=* | --program-transfor=* \
1666   | --program-transfo=* | --program-transf=* \
1667   | --program-trans=* | --program-tran=* \
1668   | --progr-tra=* | --program-tr=* | --program-t=*)
1669     program_transform_name=$ac_optarg ;;
1670
1671   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1672     ac_prev=pdfdir ;;
1673   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1674     pdfdir=$ac_optarg ;;
1675
1676   -psdir | --psdir | --psdi | --psd | --ps)
1677     ac_prev=psdir ;;
1678   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1679     psdir=$ac_optarg ;;
1680
1681   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1682   | -silent | --silent | --silen | --sile | --sil)
1683     silent=yes ;;
1684
1685   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1686     ac_prev=sbindir ;;
1687   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1688   | --sbi=* | --sb=*)
1689     sbindir=$ac_optarg ;;
1690
1691   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1692   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1693   | --sharedst | --shareds | --shared | --share | --shar \
1694   | --sha | --sh)
1695     ac_prev=sharedstatedir ;;
1696   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1697   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1698   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1699   | --sha=* | --sh=*)
1700     sharedstatedir=$ac_optarg ;;
1701
1702   -site | --site | --sit)
1703     ac_prev=site ;;
1704   -site=* | --site=* | --sit=*)
1705     site=$ac_optarg ;;
1706
1707   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1708     ac_prev=srcdir ;;
1709   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1710     srcdir=$ac_optarg ;;
1711
1712   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1713   | --syscon | --sysco | --sysc | --sys | --sy)
1714     ac_prev=sysconfdir ;;
1715   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1716   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1717     sysconfdir=$ac_optarg ;;
1718
1719   -target | --target | --targe | --targ | --tar | --ta | --t)
1720     ac_prev=target_alias ;;
1721   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1722     target_alias=$ac_optarg ;;
1723
1724   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1725     verbose=yes ;;
1726
1727   -version | --version | --versio | --versi | --vers | -V)
1728     ac_init_version=: ;;
1729
1730   -with-* | --with-*)
1731     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1732     # Reject names that are not valid shell variable names.
1733     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1734       as_fn_error $? "invalid package name: $ac_useropt"
1735     ac_useropt_orig=$ac_useropt
1736     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1737     case $ac_user_opts in
1738       *"
1739 "with_$ac_useropt"
1740 "*) ;;
1741       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1742          ac_unrecognized_sep=', ';;
1743     esac
1744     eval with_$ac_useropt=\$ac_optarg ;;
1745
1746   -without-* | --without-*)
1747     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1748     # Reject names that are not valid shell variable names.
1749     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1750       as_fn_error $? "invalid package name: $ac_useropt"
1751     ac_useropt_orig=$ac_useropt
1752     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1753     case $ac_user_opts in
1754       *"
1755 "with_$ac_useropt"
1756 "*) ;;
1757       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1758          ac_unrecognized_sep=', ';;
1759     esac
1760     eval with_$ac_useropt=no ;;
1761
1762   --x)
1763     # Obsolete; use --with-x.
1764     with_x=yes ;;
1765
1766   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1767   | --x-incl | --x-inc | --x-in | --x-i)
1768     ac_prev=x_includes ;;
1769   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1770   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1771     x_includes=$ac_optarg ;;
1772
1773   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1774   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1775     ac_prev=x_libraries ;;
1776   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1777   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1778     x_libraries=$ac_optarg ;;
1779
1780   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1781 Try \`$0 --help' for more information"
1782     ;;
1783
1784   *=*)
1785     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1786     # Reject names that are not valid shell variable names.
1787     case $ac_envvar in #(
1788       '' | [0-9]* | *[!_$as_cr_alnum]* )
1789       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1790     esac
1791     eval $ac_envvar=\$ac_optarg
1792     export $ac_envvar ;;
1793
1794   *)
1795     # FIXME: should be removed in autoconf 3.0.
1796     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1797     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1798       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1799     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1800     ;;
1801
1802   esac
1803 done
1804
1805 if test -n "$ac_prev"; then
1806   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1807   as_fn_error $? "missing argument to $ac_option"
1808 fi
1809
1810 if test -n "$ac_unrecognized_opts"; then
1811   case $enable_option_checking in
1812     no) ;;
1813     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1814     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1815   esac
1816 fi
1817
1818 # Check all directory arguments for consistency.
1819 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1820                 datadir sysconfdir sharedstatedir localstatedir includedir \
1821                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1822                 libdir localedir mandir
1823 do
1824   eval ac_val=\$$ac_var
1825   # Remove trailing slashes.
1826   case $ac_val in
1827     */ )
1828       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1829       eval $ac_var=\$ac_val;;
1830   esac
1831   # Be sure to have absolute directory names.
1832   case $ac_val in
1833     [\\/$]* | ?:[\\/]* )  continue;;
1834     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1835   esac
1836   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1837 done
1838
1839 # There might be people who depend on the old broken behavior: `$host'
1840 # used to hold the argument of --host etc.
1841 # FIXME: To remove some day.
1842 build=$build_alias
1843 host=$host_alias
1844 target=$target_alias
1845
1846 # FIXME: To remove some day.
1847 if test "x$host_alias" != x; then
1848   if test "x$build_alias" = x; then
1849     cross_compiling=maybe
1850     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1851     If a cross compiler is detected then cross compile mode will be used" >&2
1852   elif test "x$build_alias" != "x$host_alias"; then
1853     cross_compiling=yes
1854   fi
1855 fi
1856
1857 ac_tool_prefix=
1858 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1859
1860 test "$silent" = yes && exec 6>/dev/null
1861
1862
1863 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1864 ac_ls_di=`ls -di .` &&
1865 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1866   as_fn_error $? "working directory cannot be determined"
1867 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1868   as_fn_error $? "pwd does not report name of working directory"
1869
1870
1871 # Find the source files, if location was not specified.
1872 if test -z "$srcdir"; then
1873   ac_srcdir_defaulted=yes
1874   # Try the directory containing this script, then the parent directory.
1875   ac_confdir=`$as_dirname -- "$as_myself" ||
1876 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1877          X"$as_myself" : 'X\(//\)[^/]' \| \
1878          X"$as_myself" : 'X\(//\)$' \| \
1879          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1880 $as_echo X"$as_myself" |
1881     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1882             s//\1/
1883             q
1884           }
1885           /^X\(\/\/\)[^/].*/{
1886             s//\1/
1887             q
1888           }
1889           /^X\(\/\/\)$/{
1890             s//\1/
1891             q
1892           }
1893           /^X\(\/\).*/{
1894             s//\1/
1895             q
1896           }
1897           s/.*/./; q'`
1898   srcdir=$ac_confdir
1899   if test ! -r "$srcdir/$ac_unique_file"; then
1900     srcdir=..
1901   fi
1902 else
1903   ac_srcdir_defaulted=no
1904 fi
1905 if test ! -r "$srcdir/$ac_unique_file"; then
1906   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1907   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1908 fi
1909 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1910 ac_abs_confdir=`(
1911         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1912         pwd)`
1913 # When building in place, set srcdir=.
1914 if test "$ac_abs_confdir" = "$ac_pwd"; then
1915   srcdir=.
1916 fi
1917 # Remove unnecessary trailing slashes from srcdir.
1918 # Double slashes in file names in object file debugging info
1919 # mess up M-x gdb in Emacs.
1920 case $srcdir in
1921 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1922 esac
1923 for ac_var in $ac_precious_vars; do
1924   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1925   eval ac_env_${ac_var}_value=\$${ac_var}
1926   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1927   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1928 done
1929
1930 #
1931 # Report the --help message.
1932 #
1933 if test "$ac_init_help" = "long"; then
1934   # Omit some internal or obsolete options to make the list less imposing.
1935   # This message is too long to be a string in the A/UX 3.1 sh.
1936   cat <<_ACEOF
1937 \`configure' configures evas 1.7.1 to adapt to many kinds of systems.
1938
1939 Usage: $0 [OPTION]... [VAR=VALUE]...
1940
1941 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1942 VAR=VALUE.  See below for descriptions of some of the useful variables.
1943
1944 Defaults for the options are specified in brackets.
1945
1946 Configuration:
1947   -h, --help              display this help and exit
1948       --help=short        display options specific to this package
1949       --help=recursive    display the short help of all the included packages
1950   -V, --version           display version information and exit
1951   -q, --quiet, --silent   do not print \`checking ...' messages
1952       --cache-file=FILE   cache test results in FILE [disabled]
1953   -C, --config-cache      alias for \`--cache-file=config.cache'
1954   -n, --no-create         do not create output files
1955       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1956
1957 Installation directories:
1958   --prefix=PREFIX         install architecture-independent files in PREFIX
1959                           [$ac_default_prefix]
1960   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1961                           [PREFIX]
1962
1963 By default, \`make install' will install all the files in
1964 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1965 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1966 for instance \`--prefix=\$HOME'.
1967
1968 For better control, use the options below.
1969
1970 Fine tuning of the installation directories:
1971   --bindir=DIR            user executables [EPREFIX/bin]
1972   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1973   --libexecdir=DIR        program executables [EPREFIX/libexec]
1974   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1975   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1976   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1977   --libdir=DIR            object code libraries [EPREFIX/lib]
1978   --includedir=DIR        C header files [PREFIX/include]
1979   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1980   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1981   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1982   --infodir=DIR           info documentation [DATAROOTDIR/info]
1983   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1984   --mandir=DIR            man documentation [DATAROOTDIR/man]
1985   --docdir=DIR            documentation root [DATAROOTDIR/doc/evas]
1986   --htmldir=DIR           html documentation [DOCDIR]
1987   --dvidir=DIR            dvi documentation [DOCDIR]
1988   --pdfdir=DIR            pdf documentation [DOCDIR]
1989   --psdir=DIR             ps documentation [DOCDIR]
1990 _ACEOF
1991
1992   cat <<\_ACEOF
1993
1994 Program names:
1995   --program-prefix=PREFIX            prepend PREFIX to installed program names
1996   --program-suffix=SUFFIX            append SUFFIX to installed program names
1997   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1998
1999 X features:
2000   --x-includes=DIR    X include files are in DIR
2001   --x-libraries=DIR   X library files are in DIR
2002
2003 System types:
2004   --build=BUILD     configure for building on BUILD [guessed]
2005   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
2006 _ACEOF
2007 fi
2008
2009 if test -n "$ac_init_help"; then
2010   case $ac_init_help in
2011      short | recursive ) echo "Configuration of evas 1.7.1:";;
2012    esac
2013   cat <<\_ACEOF
2014
2015 Optional Features:
2016   --disable-option-checking  ignore unrecognized --enable/--with options
2017   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
2018   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
2019   --enable-silent-rules          less verbose build output (undo: `make V=1')
2020   --disable-silent-rules         verbose build output (undo: `make V=0')
2021   --disable-dependency-tracking  speeds up one-time build
2022   --enable-dependency-tracking   do not reject slow dependency extractors
2023   --enable-shared[=PKGS]  build shared libraries [default=yes]
2024   --enable-static[=PKGS]  build static libraries [default=yes]
2025   --enable-fast-install[=PKGS]
2026                           optimize for fast installation [default=yes]
2027   --disable-libtool-lock  avoid locking (might break parallel builds)
2028   --enable-strict         enable strict checking mode. [default==disabled]
2029   --enable-simple-x11     enable simple x11 linking
2030   --disable-doc           Disable documentation build [default=enabled]
2031   --disable-fontconfig    disable fontconfig for finding fonts.
2032                           [default=enabled]
2033   --disable-liblinebreak  disable linking against liblinebreak.
2034                           [default=enabled]
2035   --disable-fribidi       disable bidirectional text support.
2036                           [default=enabled]
2037   --disable-harfbuzz      disable complex text shaping and layouting support.
2038                           [default=enabled]
2039   --enable-pixman         enable pixman for software rendering.
2040                           [default=enabled]
2041   --enable-pixman-font    Allow pixman to render fonts
2042   --enable-pixman-rect    Allow pixman to render rects
2043   --enable-pixman-line    Allow pixman to render lines
2044   --enable-pixman-poly    Allow pixman to render polys
2045   --enable-pixman-image   Allow pixman to render images
2046   --enable-pixman-image-scale-sample
2047                           Allow pixman to render sampled scaled images
2048   --enable-tile-rotate    Enable tiled rotate algorithm
2049   --disable-evas-cserve   disable shared cache server support.
2050                           [default=enabled]
2051   --disable-evas-cserve2  disable shared cache server 2 support.
2052                           [default=enabled]
2053   --enable-gl-flavor-gles enable gles flavor of gl instead of standard
2054   --enable-gles-variety-sgx
2055                           GLES variety SGX 3D unit
2056   --enable-gles-variety-s3c6410
2057                           GLES variety s3c6410 3D unit
2058   --enable-buffer         enable Buffer rendering backend
2059   --enable-software-gdi   enable Software GDI rendering backend
2060   --enable-software-ddraw enable Software DirectDraw rendering backend
2061   --enable-direct3d       enable Direct3D rendering backend
2062   --enable-psl1ght        enable PSL1GHT rendering backend
2063   --enable-gl-sdl         enable OpenGL SDL rendering backend
2064   --enable-gl-cocoa       enable OpenGL Cocoa rendering backend
2065   --enable-fb             enable Framebuffer rendering backend
2066   --enable-directfb       enable DirectFB rendering backend
2067   --enable-software-8-x11 enable Software X11 8 bits grayscale rendering
2068                           backend
2069   --enable-software-16-x11
2070                           enable Software X11 16 bits rendering backend
2071   --enable-software-16-wince
2072                           enable Software Windows CE 16 bits rendering backend
2073   --enable-software-16-sdl
2074                           enable Software SDL 16 bits rendering backend
2075   --enable-wayland-shm    enable Wayland Shm rendering backend
2076   --enable-wayland-egl    enable Wayland Egl rendering backend
2077   --enable-sdl-primitive
2078   --enable-static-software-generic
2079                           Build software generic engine as part of libevas
2080   --enable-software-xcb   enable Software XCB Engine. [default=disabled]
2081   --enable-software-xcb   enable Software XCB rendering backend
2082   --enable-software-xlib  enable Software Xlib rendering backend
2083   --enable-gl-xcb         enable OpenGL XCB Engine. [default=disabled]
2084   --enable-gl-xcb         enable OpenGL XCB rendering backend
2085   --enable-gl-xlib        enable OpenGL XLib rendering backend
2086   --enable-static-software-16
2087                           Build software 16 engine as part of libevas
2088   --enable-static-software-8
2089                           Build software 8 engine as part of libevas
2090   --enable-image-loader-edb
2091                           enable Edb image loader
2092   --enable-image-loader-eet
2093                           enable Eet image loader
2094   --disable-font-loader-eet
2095                           disable EET font loader. [[default=enabled]]
2096   --enable-image-loader-gif
2097                           enable Gif image loader
2098   --enable-image-loader-jpeg
2099                           enable Jpeg image loader
2100   --enable-image-loader-pmaps
2101                           enable PMAPS image loader
2102   --enable-image-loader-png
2103                           enable PNG image loader
2104   --enable-image-loader-svg
2105                           enable SVG image loader
2106   --enable-image-loader-tiff
2107                           enable Tiff image loader
2108   --enable-image-loader-xpm
2109                           enable XPM image loader
2110   --enable-image-loader-bmp
2111                           enable BMP image loader
2112   --enable-image-loader-tga
2113                           enable TGA image loader
2114   --enable-image-loader-wbmp
2115                           enable WBMP image loader
2116   --enable-image-loader-ico
2117                           enable ICO image loader
2118   --enable-image-loader-psd
2119                           enable PSD image loader
2120   --enable-image-loader-generic
2121                           enable GENERIC image loader
2122   --enable-pthreads       enable threaded rendering
2123   --enable-async-events   enable async events support
2124   --enable-async-preload  enable async image preloading support
2125   --enable-cpu-mmx        enable mmx code
2126   --enable-cpu-sse        enable sse code
2127   --enable-cpu-sse3       enable sse3 code
2128   --enable-cpu-altivec    enable altivec code
2129   --enable-cpu-neon       build neon code, the code will be checked at run
2130                           time to see if the CPU supports it
2131   --enable-cpu-c          enable C code
2132   --disable-evas-magic-debug
2133                           disable MAGIC_DEBUG check when people pass in wrong
2134                           object type. [[default=enabled]]
2135   --disable-scale-sample  disable sampling scaler code [default=enabled]
2136   --disable-scale-smooth  disable smooth scaler code [default=enabled]
2137   --enable-convert-yuv    enable yuv converter code
2138   --enable-small-dither-mask
2139                           enable small dither mask [default=disabled]
2140   --enable-line-dither-mask
2141                           enable line dither mask [default=disabled]
2142   --enable-no-dither-mask enable conversion to 16bpp without dither mask
2143                           [default=disabled]
2144   --disable-convert-8-rgb-332
2145                           disable the 8bpp RGB 332 converter code
2146   --disable-convert-8-rgb-666
2147                           disable the 8bpp RGB 666 converter code
2148   --disable-convert-8-rgb-232
2149                           disable the 8bpp RGB 232 converter code
2150   --disable-convert-8-rgb-222
2151                           disable the 8bpp RGB 222 converter code
2152   --disable-convert-8-rgb-221
2153                           disable the 8bpp RGB 221 converter code
2154   --disable-convert-8-rgb-121
2155                           disable the 8bpp RGB 121 converter code
2156   --disable-convert-8-rgb-111
2157                           disable the 8bpp RGB 111 converter code
2158   --disable-convert-16-rgb-565
2159                           disable the 16bpp RGB 565 converter code
2160   --disable-convert-16-bgr-565
2161                           disable the 16bpp BGR 565 converter code
2162   --disable-convert-16-rgb-555
2163                           disable the 16bpp RGB 555 converter code
2164   --disable-convert-16-rgb-444
2165                           disable the 16bpp RGB 444 converter code
2166   --disable-convert-16-rgb-ipq
2167                           disable 16bpp 565 (444 ipaq) converter code
2168   --disable-convert-16-rgb-rot-0
2169                           disable the 16bpp RGB rotation 0 converter code
2170   --disable-convert-16-rgb-rot-180
2171                           disable the 16bpp RGB rotation 180 converter code
2172   --disable-convert-16-rgb-rot-270
2173                           disable the 16bpp RGB rotation 270 converter code
2174   --disable-convert-16-rgb-rot-90
2175                           disable the 16bpp RGB rotation 90 converter code
2176   --disable-convert-24-rgb-888
2177                           disable the 24bpp RGB 888 converter code
2178   --disable-convert-24-bgr-888
2179                           disable the 24bpp BGR 888 converter code
2180   --disable-convert-32-rgb-8888
2181                           disable the 32bpp RGB 8888 converter code
2182   --disable-convert-32-rgbx-8888
2183                           disable the 32bpp RGBX 8888 converter code
2184   --disable-convert-32-bgr-8888
2185                           disable the 32bpp BGR 8888 converter code
2186   --disable-convert-32-bgrx-8888
2187                           disable the 32bpp BGRX 8888 converter code
2188   --disable-convert-24-rgb-ezx
2189                           disable 24bpp 666 (666 ezx) converter code
2190   --disable-convert-32-rgb-ezx
2191                           disable 32bpp 666 (666 ezx) converter code
2192   --disable-convert-32-rgb-rot-0
2193                           disable the 32bpp RGB rotation 0 converter code
2194   --disable-convert-32-rgb-rot-180
2195                           disable the 32bpp RGB rotation 180 converter code
2196   --disable-convert-32-rgb-rot-270
2197                           disable the 32bpp RGB rotation 270 converter code
2198   --disable-convert-32-rgb-rot-90
2199                           disable the 32bpp RGB rotation 90 converter code
2200   --disable-convert-8-gry-1
2201                           disable the 8bpp GRY 1 converter code
2202   --disable-convert-8-gry-16
2203                           disable the 8bpp GRY 16 converter code
2204   --disable-convert-8-grayscale-64
2205                           disable 8bpp grayscale 64-palette converter code
2206   --enable-valgrind       enable valgrind fixes to stop false reports
2207   --disable-install-examples
2208                           disable installing examples (compiled or just
2209                           source). [default==enabled]
2210   --enable-build-examples enable building examples (this requires extra
2211                           denpendencies. if you don't have them installed yet,
2212                           don't build with this option or it will fail. build
2213                           again when you have it, overriding the previous
2214                           installation). [default==disabled]
2215   --enable-tests          enable tests [default=disabled]
2216   --enable-coverage       enable coverage profiling instrumentation
2217                           [default=disabled]
2218
2219 Optional Packages:
2220   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
2221   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
2222   --with-pic              try to use only PIC/non-PIC objects [default=use
2223                           both]
2224   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
2225   --with-doxygen=FILE     doxygen program to use [default=doxygen]
2226   --with-x                use the X Window System
2227
2228 Some influential environment variables:
2229   CC          C compiler command
2230   CFLAGS      C compiler flags
2231   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
2232               nonstandard directory <lib dir>
2233   LIBS        libraries to pass to the linker, e.g. -l<library>
2234   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2235               you have headers in a nonstandard directory <include dir>
2236   CPP         C preprocessor
2237   OBJC        Objective C compiler command
2238   OBJCFLAGS   Objective C compiler flags
2239   CXX         C++ compiler command
2240   CXXFLAGS    C++ compiler flags
2241   CXXCPP      C++ preprocessor
2242   PKG_CONFIG  path to pkg-config utility
2243   PKG_CONFIG_PATH
2244               directories to add to pkg-config's search path
2245   PKG_CONFIG_LIBDIR
2246               path overriding pkg-config's built-in search path
2247   EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
2248   EVIL_LIBS   linker flags for EVIL, overriding pkg-config
2249   EXOTIC_CFLAGS
2250               C compiler flags for EXOTIC, overriding pkg-config
2251   EXOTIC_LIBS linker flags for EXOTIC, overriding pkg-config
2252   EINA_CFLAGS C compiler flags for EINA, overriding pkg-config
2253   EINA_LIBS   linker flags for EINA, overriding pkg-config
2254   FREETYPE_CFLAGS
2255               C compiler flags for FREETYPE, overriding pkg-config
2256   FREETYPE_LIBS
2257               linker flags for FREETYPE, overriding pkg-config
2258   FONTCONFIG_CFLAGS
2259               C compiler flags for FONTCONFIG, overriding pkg-config
2260   FONTCONFIG_LIBS
2261               linker flags for FONTCONFIG, overriding pkg-config
2262   FRIBIDI_CFLAGS
2263               C compiler flags for FRIBIDI, overriding pkg-config
2264   FRIBIDI_LIBS
2265               linker flags for FRIBIDI, overriding pkg-config
2266   HARFBUZZ_CFLAGS
2267               C compiler flags for HARFBUZZ, overriding pkg-config
2268   HARFBUZZ_LIBS
2269               linker flags for HARFBUZZ, overriding pkg-config
2270   PIXMAN_CFLAGS
2271               C compiler flags for PIXMAN, overriding pkg-config
2272   PIXMAN_LIBS linker flags for PIXMAN, overriding pkg-config
2273   SDL_CFLAGS  C compiler flags for SDL, overriding pkg-config
2274   SDL_LIBS    linker flags for SDL, overriding pkg-config
2275   GL_EET_CFLAGS
2276               C compiler flags for GL_EET, overriding pkg-config
2277   GL_EET_LIBS linker flags for GL_EET, overriding pkg-config
2278   DIRECTFB_CFLAGS
2279               C compiler flags for DIRECTFB, overriding pkg-config
2280   DIRECTFB_LIBS
2281               linker flags for DIRECTFB, overriding pkg-config
2282   XCB_CFLAGS  C compiler flags for XCB, overriding pkg-config
2283   XCB_LIBS    linker flags for XCB, overriding pkg-config
2284   XMKMF       Path to xmkmf, Makefile generator for X Window System
2285   WAYLAND_EGL_CFLAGS
2286               C compiler flags for WAYLAND_EGL, overriding pkg-config
2287   WAYLAND_EGL_LIBS
2288               linker flags for WAYLAND_EGL, overriding pkg-config
2289   XCB_GL_CFLAGS
2290               C compiler flags for XCB_GL, overriding pkg-config
2291   XCB_GL_LIBS linker flags for XCB_GL, overriding pkg-config
2292   EDB_CFLAGS  C compiler flags for EDB, overriding pkg-config
2293   EDB_LIBS    linker flags for EDB, overriding pkg-config
2294   EET_CFLAGS  C compiler flags for EET, overriding pkg-config
2295   EET_LIBS    linker flags for EET, overriding pkg-config
2296   PNG_CFLAGS  C compiler flags for PNG, overriding pkg-config
2297   PNG_LIBS    linker flags for PNG, overriding pkg-config
2298   SVG_CFLAGS  C compiler flags for SVG, overriding pkg-config
2299   SVG_LIBS    linker flags for SVG, overriding pkg-config
2300   VALGRIND_CFLAGS
2301               C compiler flags for VALGRIND, overriding pkg-config
2302   VALGRIND_LIBS
2303               linker flags for VALGRIND, overriding pkg-config
2304   ECORE_EVAS_CFLAGS
2305               C compiler flags for ECORE_EVAS, overriding pkg-config
2306   ECORE_EVAS_LIBS
2307               linker flags for ECORE_EVAS, overriding pkg-config
2308   EDJE_CFLAGS C compiler flags for EDJE, overriding pkg-config
2309   EDJE_LIBS   linker flags for EDJE, overriding pkg-config
2310   CHECK_CFLAGS
2311               C compiler flags for CHECK, overriding pkg-config
2312   CHECK_LIBS  linker flags for CHECK, overriding pkg-config
2313
2314 Use these variables to override the choices made by `configure' or to help
2315 it to find libraries and programs with nonstandard names/locations.
2316
2317 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
2318 _ACEOF
2319 ac_status=$?
2320 fi
2321
2322 if test "$ac_init_help" = "recursive"; then
2323   # If there are subdirs, report their specific --help.
2324   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2325     test -d "$ac_dir" ||
2326       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2327       continue
2328     ac_builddir=.
2329
2330 case "$ac_dir" in
2331 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2332 *)
2333   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2334   # A ".." for each directory in $ac_dir_suffix.
2335   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2336   case $ac_top_builddir_sub in
2337   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2338   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2339   esac ;;
2340 esac
2341 ac_abs_top_builddir=$ac_pwd
2342 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2343 # for backward compatibility:
2344 ac_top_builddir=$ac_top_build_prefix
2345
2346 case $srcdir in
2347   .)  # We are building in place.
2348     ac_srcdir=.
2349     ac_top_srcdir=$ac_top_builddir_sub
2350     ac_abs_top_srcdir=$ac_pwd ;;
2351   [\\/]* | ?:[\\/]* )  # Absolute name.
2352     ac_srcdir=$srcdir$ac_dir_suffix;
2353     ac_top_srcdir=$srcdir
2354     ac_abs_top_srcdir=$srcdir ;;
2355   *) # Relative name.
2356     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2357     ac_top_srcdir=$ac_top_build_prefix$srcdir
2358     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2359 esac
2360 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2361
2362     cd "$ac_dir" || { ac_status=$?; continue; }
2363     # Check for guested configure.
2364     if test -f "$ac_srcdir/configure.gnu"; then
2365       echo &&
2366       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2367     elif test -f "$ac_srcdir/configure"; then
2368       echo &&
2369       $SHELL "$ac_srcdir/configure" --help=recursive
2370     else
2371       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2372     fi || ac_status=$?
2373     cd "$ac_pwd" || { ac_status=$?; break; }
2374   done
2375 fi
2376
2377 test -n "$ac_init_help" && exit $ac_status
2378 if $ac_init_version; then
2379   cat <<\_ACEOF
2380 evas configure 1.7.1
2381 generated by GNU Autoconf 2.67
2382
2383 Copyright (C) 2010 Free Software Foundation, Inc.
2384 This configure script is free software; the Free Software Foundation
2385 gives unlimited permission to copy, distribute and modify it.
2386 _ACEOF
2387   exit
2388 fi
2389
2390 ## ------------------------ ##
2391 ## Autoconf initialization. ##
2392 ## ------------------------ ##
2393
2394 # ac_fn_c_try_compile LINENO
2395 # --------------------------
2396 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2397 ac_fn_c_try_compile ()
2398 {
2399   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2400   rm -f conftest.$ac_objext
2401   if { { ac_try="$ac_compile"
2402 case "(($ac_try" in
2403   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2404   *) ac_try_echo=$ac_try;;
2405 esac
2406 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2407 $as_echo "$ac_try_echo"; } >&5
2408   (eval "$ac_compile") 2>conftest.err
2409   ac_status=$?
2410   if test -s conftest.err; then
2411     grep -v '^ *+' conftest.err >conftest.er1
2412     cat conftest.er1 >&5
2413     mv -f conftest.er1 conftest.err
2414   fi
2415   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2416   test $ac_status = 0; } && {
2417          test -z "$ac_c_werror_flag" ||
2418          test ! -s conftest.err
2419        } && test -s conftest.$ac_objext; then :
2420   ac_retval=0
2421 else
2422   $as_echo "$as_me: failed program was:" >&5
2423 sed 's/^/| /' conftest.$ac_ext >&5
2424
2425         ac_retval=1
2426 fi
2427   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2428   as_fn_set_status $ac_retval
2429
2430 } # ac_fn_c_try_compile
2431
2432 # ac_fn_c_try_cpp LINENO
2433 # ----------------------
2434 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2435 ac_fn_c_try_cpp ()
2436 {
2437   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2438   if { { ac_try="$ac_cpp conftest.$ac_ext"
2439 case "(($ac_try" in
2440   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2441   *) ac_try_echo=$ac_try;;
2442 esac
2443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2444 $as_echo "$ac_try_echo"; } >&5
2445   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2446   ac_status=$?
2447   if test -s conftest.err; then
2448     grep -v '^ *+' conftest.err >conftest.er1
2449     cat conftest.er1 >&5
2450     mv -f conftest.er1 conftest.err
2451   fi
2452   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2453   test $ac_status = 0; } > conftest.i && {
2454          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2455          test ! -s conftest.err
2456        }; then :
2457   ac_retval=0
2458 else
2459   $as_echo "$as_me: failed program was:" >&5
2460 sed 's/^/| /' conftest.$ac_ext >&5
2461
2462     ac_retval=1
2463 fi
2464   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2465   as_fn_set_status $ac_retval
2466
2467 } # ac_fn_c_try_cpp
2468
2469 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2470 # -------------------------------------------------------
2471 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2472 # the include files in INCLUDES and setting the cache variable VAR
2473 # accordingly.
2474 ac_fn_c_check_header_mongrel ()
2475 {
2476   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2477   if eval "test \"\${$3+set}\"" = set; then :
2478   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2479 $as_echo_n "checking for $2... " >&6; }
2480 if eval "test \"\${$3+set}\"" = set; then :
2481   $as_echo_n "(cached) " >&6
2482 fi
2483 eval ac_res=\$$3
2484                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2485 $as_echo "$ac_res" >&6; }
2486 else
2487   # Is the header compilable?
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2489 $as_echo_n "checking $2 usability... " >&6; }
2490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2491 /* end confdefs.h.  */
2492 $4
2493 #include <$2>
2494 _ACEOF
2495 if ac_fn_c_try_compile "$LINENO"; then :
2496   ac_header_compiler=yes
2497 else
2498   ac_header_compiler=no
2499 fi
2500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2502 $as_echo "$ac_header_compiler" >&6; }
2503
2504 # Is the header present?
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2506 $as_echo_n "checking $2 presence... " >&6; }
2507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2508 /* end confdefs.h.  */
2509 #include <$2>
2510 _ACEOF
2511 if ac_fn_c_try_cpp "$LINENO"; then :
2512   ac_header_preproc=yes
2513 else
2514   ac_header_preproc=no
2515 fi
2516 rm -f conftest.err conftest.i conftest.$ac_ext
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2518 $as_echo "$ac_header_preproc" >&6; }
2519
2520 # So?  What about this header?
2521 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2522   yes:no: )
2523     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2524 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2525     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2526 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2527     ;;
2528   no:yes:* )
2529     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2530 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2531     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2532 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2533     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2534 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2535     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2536 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2537     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2538 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2539 ( $as_echo "## -------------------------------------------------------- ##
2540 ## Report this to enlightenment-devel@lists.sourceforge.net ##
2541 ## -------------------------------------------------------- ##"
2542      ) | sed "s/^/$as_me: WARNING:     /" >&2
2543     ;;
2544 esac
2545   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2546 $as_echo_n "checking for $2... " >&6; }
2547 if eval "test \"\${$3+set}\"" = set; then :
2548   $as_echo_n "(cached) " >&6
2549 else
2550   eval "$3=\$ac_header_compiler"
2551 fi
2552 eval ac_res=\$$3
2553                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2554 $as_echo "$ac_res" >&6; }
2555 fi
2556   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2557
2558 } # ac_fn_c_check_header_mongrel
2559
2560 # ac_fn_c_try_run LINENO
2561 # ----------------------
2562 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2563 # that executables *can* be run.
2564 ac_fn_c_try_run ()
2565 {
2566   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2567   if { { ac_try="$ac_link"
2568 case "(($ac_try" in
2569   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2570   *) ac_try_echo=$ac_try;;
2571 esac
2572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2573 $as_echo "$ac_try_echo"; } >&5
2574   (eval "$ac_link") 2>&5
2575   ac_status=$?
2576   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2577   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2578   { { case "(($ac_try" in
2579   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2580   *) ac_try_echo=$ac_try;;
2581 esac
2582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2583 $as_echo "$ac_try_echo"; } >&5
2584   (eval "$ac_try") 2>&5
2585   ac_status=$?
2586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2587   test $ac_status = 0; }; }; then :
2588   ac_retval=0
2589 else
2590   $as_echo "$as_me: program exited with status $ac_status" >&5
2591        $as_echo "$as_me: failed program was:" >&5
2592 sed 's/^/| /' conftest.$ac_ext >&5
2593
2594        ac_retval=$ac_status
2595 fi
2596   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2597   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2598   as_fn_set_status $ac_retval
2599
2600 } # ac_fn_c_try_run
2601
2602 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2603 # -------------------------------------------------------
2604 # Tests whether HEADER exists and can be compiled using the include files in
2605 # INCLUDES, setting the cache variable VAR accordingly.
2606 ac_fn_c_check_header_compile ()
2607 {
2608   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2609   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2610 $as_echo_n "checking for $2... " >&6; }
2611 if eval "test \"\${$3+set}\"" = set; then :
2612   $as_echo_n "(cached) " >&6
2613 else
2614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2615 /* end confdefs.h.  */
2616 $4
2617 #include <$2>
2618 _ACEOF
2619 if ac_fn_c_try_compile "$LINENO"; then :
2620   eval "$3=yes"
2621 else
2622   eval "$3=no"
2623 fi
2624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2625 fi
2626 eval ac_res=\$$3
2627                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2628 $as_echo "$ac_res" >&6; }
2629   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2630
2631 } # ac_fn_c_check_header_compile
2632
2633 # ac_fn_c_try_link LINENO
2634 # -----------------------
2635 # Try to link conftest.$ac_ext, and return whether this succeeded.
2636 ac_fn_c_try_link ()
2637 {
2638   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2639   rm -f conftest.$ac_objext conftest$ac_exeext
2640   if { { ac_try="$ac_link"
2641 case "(($ac_try" in
2642   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2643   *) ac_try_echo=$ac_try;;
2644 esac
2645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2646 $as_echo "$ac_try_echo"; } >&5
2647   (eval "$ac_link") 2>conftest.err
2648   ac_status=$?
2649   if test -s conftest.err; then
2650     grep -v '^ *+' conftest.err >conftest.er1
2651     cat conftest.er1 >&5
2652     mv -f conftest.er1 conftest.err
2653   fi
2654   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2655   test $ac_status = 0; } && {
2656          test -z "$ac_c_werror_flag" ||
2657          test ! -s conftest.err
2658        } && test -s conftest$ac_exeext && {
2659          test "$cross_compiling" = yes ||
2660          $as_test_x conftest$ac_exeext
2661        }; then :
2662   ac_retval=0
2663 else
2664   $as_echo "$as_me: failed program was:" >&5
2665 sed 's/^/| /' conftest.$ac_ext >&5
2666
2667         ac_retval=1
2668 fi
2669   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2670   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2671   # interfere with the next link command; also delete a directory that is
2672   # left behind by Apple's compiler.  We do this before executing the actions.
2673   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2674   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2675   as_fn_set_status $ac_retval
2676
2677 } # ac_fn_c_try_link
2678
2679 # ac_fn_c_check_func LINENO FUNC VAR
2680 # ----------------------------------
2681 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2682 ac_fn_c_check_func ()
2683 {
2684   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2685   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2686 $as_echo_n "checking for $2... " >&6; }
2687 if eval "test \"\${$3+set}\"" = set; then :
2688   $as_echo_n "(cached) " >&6
2689 else
2690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2691 /* end confdefs.h.  */
2692 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2693    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2694 #define $2 innocuous_$2
2695
2696 /* System header to define __stub macros and hopefully few prototypes,
2697     which can conflict with char $2 (); below.
2698     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2699     <limits.h> exists even on freestanding compilers.  */
2700
2701 #ifdef __STDC__
2702 # include <limits.h>
2703 #else
2704 # include <assert.h>
2705 #endif
2706
2707 #undef $2
2708
2709 /* Override any GCC internal prototype to avoid an error.
2710    Use char because int might match the return type of a GCC
2711    builtin and then its argument prototype would still apply.  */
2712 #ifdef __cplusplus
2713 extern "C"
2714 #endif
2715 char $2 ();
2716 /* The GNU C library defines this for functions which it implements
2717     to always fail with ENOSYS.  Some functions are actually named
2718     something starting with __ and the normal name is an alias.  */
2719 #if defined __stub_$2 || defined __stub___$2
2720 choke me
2721 #endif
2722
2723 int
2724 main ()
2725 {
2726 return $2 ();
2727   ;
2728   return 0;
2729 }
2730 _ACEOF
2731 if ac_fn_c_try_link "$LINENO"; then :
2732   eval "$3=yes"
2733 else
2734   eval "$3=no"
2735 fi
2736 rm -f core conftest.err conftest.$ac_objext \
2737     conftest$ac_exeext conftest.$ac_ext
2738 fi
2739 eval ac_res=\$$3
2740                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2741 $as_echo "$ac_res" >&6; }
2742   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2743
2744 } # ac_fn_c_check_func
2745
2746 # ac_fn_objc_try_compile LINENO
2747 # -----------------------------
2748 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2749 ac_fn_objc_try_compile ()
2750 {
2751   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2752   rm -f conftest.$ac_objext
2753   if { { ac_try="$ac_compile"
2754 case "(($ac_try" in
2755   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2756   *) ac_try_echo=$ac_try;;
2757 esac
2758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2759 $as_echo "$ac_try_echo"; } >&5
2760   (eval "$ac_compile") 2>conftest.err
2761   ac_status=$?
2762   if test -s conftest.err; then
2763     grep -v '^ *+' conftest.err >conftest.er1
2764     cat conftest.er1 >&5
2765     mv -f conftest.er1 conftest.err
2766   fi
2767   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2768   test $ac_status = 0; } && {
2769          test -z "$ac_objc_werror_flag" ||
2770          test ! -s conftest.err
2771        } && test -s conftest.$ac_objext; then :
2772   ac_retval=0
2773 else
2774   $as_echo "$as_me: failed program was:" >&5
2775 sed 's/^/| /' conftest.$ac_ext >&5
2776
2777         ac_retval=1
2778 fi
2779   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2780   as_fn_set_status $ac_retval
2781
2782 } # ac_fn_objc_try_compile
2783
2784 # ac_fn_objc_try_link LINENO
2785 # --------------------------
2786 # Try to link conftest.$ac_ext, and return whether this succeeded.
2787 ac_fn_objc_try_link ()
2788 {
2789   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2790   rm -f conftest.$ac_objext conftest$ac_exeext
2791   if { { ac_try="$ac_link"
2792 case "(($ac_try" in
2793   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2794   *) ac_try_echo=$ac_try;;
2795 esac
2796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2797 $as_echo "$ac_try_echo"; } >&5
2798   (eval "$ac_link") 2>conftest.err
2799   ac_status=$?
2800   if test -s conftest.err; then
2801     grep -v '^ *+' conftest.err >conftest.er1
2802     cat conftest.er1 >&5
2803     mv -f conftest.er1 conftest.err
2804   fi
2805   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2806   test $ac_status = 0; } && {
2807          test -z "$ac_objc_werror_flag" ||
2808          test ! -s conftest.err
2809        } && test -s conftest$ac_exeext && {
2810          test "$cross_compiling" = yes ||
2811          $as_test_x conftest$ac_exeext
2812        }; then :
2813   ac_retval=0
2814 else
2815   $as_echo "$as_me: failed program was:" >&5
2816 sed 's/^/| /' conftest.$ac_ext >&5
2817
2818         ac_retval=1
2819 fi
2820   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2821   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2822   # interfere with the next link command; also delete a directory that is
2823   # left behind by Apple's compiler.  We do this before executing the actions.
2824   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2825   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2826   as_fn_set_status $ac_retval
2827
2828 } # ac_fn_objc_try_link
2829
2830 # ac_fn_cxx_try_compile LINENO
2831 # ----------------------------
2832 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2833 ac_fn_cxx_try_compile ()
2834 {
2835   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2836   rm -f conftest.$ac_objext
2837   if { { ac_try="$ac_compile"
2838 case "(($ac_try" in
2839   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2840   *) ac_try_echo=$ac_try;;
2841 esac
2842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2843 $as_echo "$ac_try_echo"; } >&5
2844   (eval "$ac_compile") 2>conftest.err
2845   ac_status=$?
2846   if test -s conftest.err; then
2847     grep -v '^ *+' conftest.err >conftest.er1
2848     cat conftest.er1 >&5
2849     mv -f conftest.er1 conftest.err
2850   fi
2851   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2852   test $ac_status = 0; } && {
2853          test -z "$ac_cxx_werror_flag" ||
2854          test ! -s conftest.err
2855        } && test -s conftest.$ac_objext; then :
2856   ac_retval=0
2857 else
2858   $as_echo "$as_me: failed program was:" >&5
2859 sed 's/^/| /' conftest.$ac_ext >&5
2860
2861         ac_retval=1
2862 fi
2863   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2864   as_fn_set_status $ac_retval
2865
2866 } # ac_fn_cxx_try_compile
2867
2868 # ac_fn_cxx_try_cpp LINENO
2869 # ------------------------
2870 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2871 ac_fn_cxx_try_cpp ()
2872 {
2873   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2874   if { { ac_try="$ac_cpp conftest.$ac_ext"
2875 case "(($ac_try" in
2876   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2877   *) ac_try_echo=$ac_try;;
2878 esac
2879 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2880 $as_echo "$ac_try_echo"; } >&5
2881   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2882   ac_status=$?
2883   if test -s conftest.err; then
2884     grep -v '^ *+' conftest.err >conftest.er1
2885     cat conftest.er1 >&5
2886     mv -f conftest.er1 conftest.err
2887   fi
2888   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2889   test $ac_status = 0; } > conftest.i && {
2890          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2891          test ! -s conftest.err
2892        }; then :
2893   ac_retval=0
2894 else
2895   $as_echo "$as_me: failed program was:" >&5
2896 sed 's/^/| /' conftest.$ac_ext >&5
2897
2898     ac_retval=1
2899 fi
2900   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2901   as_fn_set_status $ac_retval
2902
2903 } # ac_fn_cxx_try_cpp
2904
2905 # ac_fn_cxx_try_link LINENO
2906 # -------------------------
2907 # Try to link conftest.$ac_ext, and return whether this succeeded.
2908 ac_fn_cxx_try_link ()
2909 {
2910   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2911   rm -f conftest.$ac_objext conftest$ac_exeext
2912   if { { ac_try="$ac_link"
2913 case "(($ac_try" in
2914   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2915   *) ac_try_echo=$ac_try;;
2916 esac
2917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2918 $as_echo "$ac_try_echo"; } >&5
2919   (eval "$ac_link") 2>conftest.err
2920   ac_status=$?
2921   if test -s conftest.err; then
2922     grep -v '^ *+' conftest.err >conftest.er1
2923     cat conftest.er1 >&5
2924     mv -f conftest.er1 conftest.err
2925   fi
2926   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2927   test $ac_status = 0; } && {
2928          test -z "$ac_cxx_werror_flag" ||
2929          test ! -s conftest.err
2930        } && test -s conftest$ac_exeext && {
2931          test "$cross_compiling" = yes ||
2932          $as_test_x conftest$ac_exeext
2933        }; then :
2934   ac_retval=0
2935 else
2936   $as_echo "$as_me: failed program was:" >&5
2937 sed 's/^/| /' conftest.$ac_ext >&5
2938
2939         ac_retval=1
2940 fi
2941   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2942   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2943   # interfere with the next link command; also delete a directory that is
2944   # left behind by Apple's compiler.  We do this before executing the actions.
2945   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2946   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2947   as_fn_set_status $ac_retval
2948
2949 } # ac_fn_cxx_try_link
2950
2951 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2952 # --------------------------------------------
2953 # Tries to find the compile-time value of EXPR in a program that includes
2954 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2955 # computed
2956 ac_fn_c_compute_int ()
2957 {
2958   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2959   if test "$cross_compiling" = yes; then
2960     # Depending upon the size, compute the lo and hi bounds.
2961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2962 /* end confdefs.h.  */
2963 $4
2964 int
2965 main ()
2966 {
2967 static int test_array [1 - 2 * !(($2) >= 0)];
2968 test_array [0] = 0
2969
2970   ;
2971   return 0;
2972 }
2973 _ACEOF
2974 if ac_fn_c_try_compile "$LINENO"; then :
2975   ac_lo=0 ac_mid=0
2976   while :; do
2977     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2978 /* end confdefs.h.  */
2979 $4
2980 int
2981 main ()
2982 {
2983 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2984 test_array [0] = 0
2985
2986   ;
2987   return 0;
2988 }
2989 _ACEOF
2990 if ac_fn_c_try_compile "$LINENO"; then :
2991   ac_hi=$ac_mid; break
2992 else
2993   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2994                         if test $ac_lo -le $ac_mid; then
2995                           ac_lo= ac_hi=
2996                           break
2997                         fi
2998                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2999 fi
3000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3001   done
3002 else
3003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3004 /* end confdefs.h.  */
3005 $4
3006 int
3007 main ()
3008 {
3009 static int test_array [1 - 2 * !(($2) < 0)];
3010 test_array [0] = 0
3011
3012   ;
3013   return 0;
3014 }
3015 _ACEOF
3016 if ac_fn_c_try_compile "$LINENO"; then :
3017   ac_hi=-1 ac_mid=-1
3018   while :; do
3019     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3020 /* end confdefs.h.  */
3021 $4
3022 int
3023 main ()
3024 {
3025 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
3026 test_array [0] = 0
3027
3028   ;
3029   return 0;
3030 }
3031 _ACEOF
3032 if ac_fn_c_try_compile "$LINENO"; then :
3033   ac_lo=$ac_mid; break
3034 else
3035   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
3036                         if test $ac_mid -le $ac_hi; then
3037                           ac_lo= ac_hi=
3038                           break
3039                         fi
3040                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
3041 fi
3042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3043   done
3044 else
3045   ac_lo= ac_hi=
3046 fi
3047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3048 fi
3049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3050 # Binary search between lo and hi bounds.
3051 while test "x$ac_lo" != "x$ac_hi"; do
3052   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
3053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3054 /* end confdefs.h.  */
3055 $4
3056 int
3057 main ()
3058 {
3059 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
3060 test_array [0] = 0
3061
3062   ;
3063   return 0;
3064 }
3065 _ACEOF
3066 if ac_fn_c_try_compile "$LINENO"; then :
3067   ac_hi=$ac_mid
3068 else
3069   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
3070 fi
3071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3072 done
3073 case $ac_lo in #((
3074 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
3075 '') ac_retval=1 ;;
3076 esac
3077   else
3078     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3079 /* end confdefs.h.  */
3080 $4
3081 static long int longval () { return $2; }
3082 static unsigned long int ulongval () { return $2; }
3083 #include <stdio.h>
3084 #include <stdlib.h>
3085 int
3086 main ()
3087 {
3088
3089   FILE *f = fopen ("conftest.val", "w");
3090   if (! f)
3091     return 1;
3092   if (($2) < 0)
3093     {
3094       long int i = longval ();
3095       if (i != ($2))
3096         return 1;
3097       fprintf (f, "%ld", i);
3098     }
3099   else
3100     {
3101       unsigned long int i = ulongval ();
3102       if (i != ($2))
3103         return 1;
3104       fprintf (f, "%lu", i);
3105     }
3106   /* Do not output a trailing newline, as this causes \r\n confusion
3107      on some platforms.  */
3108   return ferror (f) || fclose (f) != 0;
3109
3110   ;
3111   return 0;
3112 }
3113 _ACEOF
3114 if ac_fn_c_try_run "$LINENO"; then :
3115   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3116 else
3117   ac_retval=1
3118 fi
3119 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3120   conftest.$ac_objext conftest.beam conftest.$ac_ext
3121 rm -f conftest.val
3122
3123   fi
3124   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3125   as_fn_set_status $ac_retval
3126
3127 } # ac_fn_c_compute_int
3128
3129 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3130 # -------------------------------------------
3131 # Tests whether TYPE exists after having included INCLUDES, setting cache
3132 # variable VAR accordingly.
3133 ac_fn_c_check_type ()
3134 {
3135   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3137 $as_echo_n "checking for $2... " >&6; }
3138 if eval "test \"\${$3+set}\"" = set; then :
3139   $as_echo_n "(cached) " >&6
3140 else
3141   eval "$3=no"
3142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3143 /* end confdefs.h.  */
3144 $4
3145 int
3146 main ()
3147 {
3148 if (sizeof ($2))
3149          return 0;
3150   ;
3151   return 0;
3152 }
3153 _ACEOF
3154 if ac_fn_c_try_compile "$LINENO"; then :
3155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3156 /* end confdefs.h.  */
3157 $4
3158 int
3159 main ()
3160 {
3161 if (sizeof (($2)))
3162             return 0;
3163   ;
3164   return 0;
3165 }
3166 _ACEOF
3167 if ac_fn_c_try_compile "$LINENO"; then :
3168
3169 else
3170   eval "$3=yes"
3171 fi
3172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3173 fi
3174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3175 fi
3176 eval ac_res=\$$3
3177                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3178 $as_echo "$ac_res" >&6; }
3179   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3180
3181 } # ac_fn_c_check_type
3182
3183 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
3184 # ---------------------------------------------
3185 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
3186 # accordingly.
3187 ac_fn_c_check_decl ()
3188 {
3189   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3190   as_decl_name=`echo $2|sed 's/ *(.*//'`
3191   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
3192   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
3193 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
3194 if eval "test \"\${$3+set}\"" = set; then :
3195   $as_echo_n "(cached) " >&6
3196 else
3197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3198 /* end confdefs.h.  */
3199 $4
3200 int
3201 main ()
3202 {
3203 #ifndef $as_decl_name
3204 #ifdef __cplusplus
3205   (void) $as_decl_use;
3206 #else
3207   (void) $as_decl_name;
3208 #endif
3209 #endif
3210
3211   ;
3212   return 0;
3213 }
3214 _ACEOF
3215 if ac_fn_c_try_compile "$LINENO"; then :
3216   eval "$3=yes"
3217 else
3218   eval "$3=no"
3219 fi
3220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3221 fi
3222 eval ac_res=\$$3
3223                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3224 $as_echo "$ac_res" >&6; }
3225   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3226
3227 } # ac_fn_c_check_decl
3228 cat >config.log <<_ACEOF
3229 This file contains any messages produced by compilers while
3230 running configure, to aid debugging if configure makes a mistake.
3231
3232 It was created by evas $as_me 1.7.1, which was
3233 generated by GNU Autoconf 2.67.  Invocation command line was
3234
3235   $ $0 $@
3236
3237 _ACEOF
3238 exec 5>>config.log
3239 {
3240 cat <<_ASUNAME
3241 ## --------- ##
3242 ## Platform. ##
3243 ## --------- ##
3244
3245 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3246 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3247 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3248 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3249 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3250
3251 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3252 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
3253
3254 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
3255 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
3256 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3257 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
3258 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
3259 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
3260 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
3261
3262 _ASUNAME
3263
3264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3265 for as_dir in $PATH
3266 do
3267   IFS=$as_save_IFS
3268   test -z "$as_dir" && as_dir=.
3269     $as_echo "PATH: $as_dir"
3270   done
3271 IFS=$as_save_IFS
3272
3273 } >&5
3274
3275 cat >&5 <<_ACEOF
3276
3277
3278 ## ----------- ##
3279 ## Core tests. ##
3280 ## ----------- ##
3281
3282 _ACEOF
3283
3284
3285 # Keep a trace of the command line.
3286 # Strip out --no-create and --no-recursion so they do not pile up.
3287 # Strip out --silent because we don't want to record it for future runs.
3288 # Also quote any args containing shell meta-characters.
3289 # Make two passes to allow for proper duplicate-argument suppression.
3290 ac_configure_args=
3291 ac_configure_args0=
3292 ac_configure_args1=
3293 ac_must_keep_next=false
3294 for ac_pass in 1 2
3295 do
3296   for ac_arg
3297   do
3298     case $ac_arg in
3299     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3300     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3301     | -silent | --silent | --silen | --sile | --sil)
3302       continue ;;
3303     *\'*)
3304       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3305     esac
3306     case $ac_pass in
3307     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3308     2)
3309       as_fn_append ac_configure_args1 " '$ac_arg'"
3310       if test $ac_must_keep_next = true; then
3311         ac_must_keep_next=false # Got value, back to normal.
3312       else
3313         case $ac_arg in
3314           *=* | --config-cache | -C | -disable-* | --disable-* \
3315           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3316           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3317           | -with-* | --with-* | -without-* | --without-* | --x)
3318             case "$ac_configure_args0 " in
3319               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3320             esac
3321             ;;
3322           -* ) ac_must_keep_next=true ;;
3323         esac
3324       fi
3325       as_fn_append ac_configure_args " '$ac_arg'"
3326       ;;
3327     esac
3328   done
3329 done
3330 { ac_configure_args0=; unset ac_configure_args0;}
3331 { ac_configure_args1=; unset ac_configure_args1;}
3332
3333 # When interrupted or exit'd, cleanup temporary files, and complete
3334 # config.log.  We remove comments because anyway the quotes in there
3335 # would cause problems or look ugly.
3336 # WARNING: Use '\'' to represent an apostrophe within the trap.
3337 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3338 trap 'exit_status=$?
3339   # Save into config.log some information that might help in debugging.
3340   {
3341     echo
3342
3343     $as_echo "## ---------------- ##
3344 ## Cache variables. ##
3345 ## ---------------- ##"
3346     echo
3347     # The following way of writing the cache mishandles newlines in values,
3348 (
3349   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3350     eval ac_val=\$$ac_var
3351     case $ac_val in #(
3352     *${as_nl}*)
3353       case $ac_var in #(
3354       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3355 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3356       esac
3357       case $ac_var in #(
3358       _ | IFS | as_nl) ;; #(
3359       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3360       *) { eval $ac_var=; unset $ac_var;} ;;
3361       esac ;;
3362     esac
3363   done
3364   (set) 2>&1 |
3365     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3366     *${as_nl}ac_space=\ *)
3367       sed -n \
3368         "s/'\''/'\''\\\\'\'''\''/g;
3369           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3370       ;; #(
3371     *)
3372       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3373       ;;
3374     esac |
3375     sort
3376 )
3377     echo
3378
3379     $as_echo "## ----------------- ##
3380 ## Output variables. ##
3381 ## ----------------- ##"
3382     echo
3383     for ac_var in $ac_subst_vars
3384     do
3385       eval ac_val=\$$ac_var
3386       case $ac_val in
3387       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3388       esac
3389       $as_echo "$ac_var='\''$ac_val'\''"
3390     done | sort
3391     echo
3392
3393     if test -n "$ac_subst_files"; then
3394       $as_echo "## ------------------- ##
3395 ## File substitutions. ##
3396 ## ------------------- ##"
3397       echo
3398       for ac_var in $ac_subst_files
3399       do
3400         eval ac_val=\$$ac_var
3401         case $ac_val in
3402         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3403         esac
3404         $as_echo "$ac_var='\''$ac_val'\''"
3405       done | sort
3406       echo
3407     fi
3408
3409     if test -s confdefs.h; then
3410       $as_echo "## ----------- ##
3411 ## confdefs.h. ##
3412 ## ----------- ##"
3413       echo
3414       cat confdefs.h
3415       echo
3416     fi
3417     test "$ac_signal" != 0 &&
3418       $as_echo "$as_me: caught signal $ac_signal"
3419     $as_echo "$as_me: exit $exit_status"
3420   } >&5
3421   rm -f core *.core core.conftest.* &&
3422     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3423     exit $exit_status
3424 ' 0
3425 for ac_signal in 1 2 13 15; do
3426   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3427 done
3428 ac_signal=0
3429
3430 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3431 rm -f -r conftest* confdefs.h
3432
3433 $as_echo "/* confdefs.h */" > confdefs.h
3434
3435 # Predefined preprocessor variables.
3436
3437 cat >>confdefs.h <<_ACEOF
3438 #define PACKAGE_NAME "$PACKAGE_NAME"
3439 _ACEOF
3440
3441 cat >>confdefs.h <<_ACEOF
3442 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3443 _ACEOF
3444
3445 cat >>confdefs.h <<_ACEOF
3446 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3447 _ACEOF
3448
3449 cat >>confdefs.h <<_ACEOF
3450 #define PACKAGE_STRING "$PACKAGE_STRING"
3451 _ACEOF
3452
3453 cat >>confdefs.h <<_ACEOF
3454 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3455 _ACEOF
3456
3457 cat >>confdefs.h <<_ACEOF
3458 #define PACKAGE_URL "$PACKAGE_URL"
3459 _ACEOF
3460
3461
3462 # Let the site file select an alternate cache file if it wants to.
3463 # Prefer an explicitly selected file to automatically selected ones.
3464 ac_site_file1=NONE
3465 ac_site_file2=NONE
3466 if test -n "$CONFIG_SITE"; then
3467   # We do not want a PATH search for config.site.
3468   case $CONFIG_SITE in #((
3469     -*)  ac_site_file1=./$CONFIG_SITE;;
3470     */*) ac_site_file1=$CONFIG_SITE;;
3471     *)   ac_site_file1=./$CONFIG_SITE;;
3472   esac
3473 elif test "x$prefix" != xNONE; then
3474   ac_site_file1=$prefix/share/config.site
3475   ac_site_file2=$prefix/etc/config.site
3476 else
3477   ac_site_file1=$ac_default_prefix/share/config.site
3478   ac_site_file2=$ac_default_prefix/etc/config.site
3479 fi
3480 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3481 do
3482   test "x$ac_site_file" = xNONE && continue
3483   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3484     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3485 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3486     sed 's/^/| /' "$ac_site_file" >&5
3487     . "$ac_site_file" \
3488       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3490 as_fn_error $? "failed to load site script $ac_site_file
3491 See \`config.log' for more details" "$LINENO" 5 ; }
3492   fi
3493 done
3494
3495 if test -r "$cache_file"; then
3496   # Some versions of bash will fail to source /dev/null (special files
3497   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
3498   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3499     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3500 $as_echo "$as_me: loading cache $cache_file" >&6;}
3501     case $cache_file in
3502       [\\/]* | ?:[\\/]* ) . "$cache_file";;
3503       *)                      . "./$cache_file";;
3504     esac
3505   fi
3506 else
3507   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3508 $as_echo "$as_me: creating cache $cache_file" >&6;}
3509   >$cache_file
3510 fi
3511
3512 # Check that the precious variables saved in the cache have kept the same
3513 # value.
3514 ac_cache_corrupted=false
3515 for ac_var in $ac_precious_vars; do
3516   eval ac_old_set=\$ac_cv_env_${ac_var}_set
3517   eval ac_new_set=\$ac_env_${ac_var}_set
3518   eval ac_old_val=\$ac_cv_env_${ac_var}_value
3519   eval ac_new_val=\$ac_env_${ac_var}_value
3520   case $ac_old_set,$ac_new_set in
3521     set,)
3522       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3523 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3524       ac_cache_corrupted=: ;;
3525     ,set)
3526       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3527 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3528       ac_cache_corrupted=: ;;
3529     ,);;
3530     *)
3531       if test "x$ac_old_val" != "x$ac_new_val"; then
3532         # differences in whitespace do not lead to failure.
3533         ac_old_val_w=`echo x $ac_old_val`
3534         ac_new_val_w=`echo x $ac_new_val`
3535         if test "$ac_old_val_w" != "$ac_new_val_w"; then
3536           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3537 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3538           ac_cache_corrupted=:
3539         else
3540           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3541 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3542           eval $ac_var=\$ac_old_val
3543         fi
3544         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
3545 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
3546         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
3547 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
3548       fi;;
3549   esac
3550   # Pass precious variables to config.status.
3551   if test "$ac_new_set" = set; then
3552     case $ac_new_val in
3553     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3554     *) ac_arg=$ac_var=$ac_new_val ;;
3555     esac
3556     case " $ac_configure_args " in
3557       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3558       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3559     esac
3560   fi
3561 done
3562 if $ac_cache_corrupted; then
3563   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3564 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3565   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3566 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3567   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3568 fi
3569 ## -------------------- ##
3570 ## Main body of script. ##
3571 ## -------------------- ##
3572
3573 ac_ext=c
3574 ac_cpp='$CPP $CPPFLAGS'
3575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3578
3579
3580
3581
3582
3583
3584 ac_config_headers="$ac_config_headers config.h"
3585
3586
3587
3588
3589 am__api_version='1.11'
3590
3591 ac_aux_dir=
3592 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3593   if test -f "$ac_dir/install-sh"; then
3594     ac_aux_dir=$ac_dir
3595     ac_install_sh="$ac_aux_dir/install-sh -c"
3596     break
3597   elif test -f "$ac_dir/install.sh"; then
3598     ac_aux_dir=$ac_dir
3599     ac_install_sh="$ac_aux_dir/install.sh -c"
3600     break
3601   elif test -f "$ac_dir/shtool"; then
3602     ac_aux_dir=$ac_dir
3603     ac_install_sh="$ac_aux_dir/shtool install -c"
3604     break
3605   fi
3606 done
3607 if test -z "$ac_aux_dir"; then
3608   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3609 fi
3610
3611 # These three variables are undocumented and unsupported,
3612 # and are intended to be withdrawn in a future Autoconf release.
3613 # They can cause serious problems if a builder's source tree is in a directory
3614 # whose full name contains unusual characters.
3615 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3616 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3617 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3618
3619
3620 # Find a good install program.  We prefer a C program (faster),
3621 # so one script is as good as another.  But avoid the broken or
3622 # incompatible versions:
3623 # SysV /etc/install, /usr/sbin/install
3624 # SunOS /usr/etc/install
3625 # IRIX /sbin/install
3626 # AIX /bin/install
3627 # AmigaOS /C/install, which installs bootblocks on floppy discs
3628 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3629 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3630 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3631 # OS/2's system install, which has a completely different semantic
3632 # ./install, which can be erroneously created by make from ./install.sh.
3633 # Reject install programs that cannot install multiple files.
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3635 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3636 if test -z "$INSTALL"; then
3637 if test "${ac_cv_path_install+set}" = set; then :
3638   $as_echo_n "(cached) " >&6
3639 else
3640   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3641 for as_dir in $PATH
3642 do
3643   IFS=$as_save_IFS
3644   test -z "$as_dir" && as_dir=.
3645     # Account for people who put trailing slashes in PATH elements.
3646 case $as_dir/ in #((
3647   ./ | .// | /[cC]/* | \
3648   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3649   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3650   /usr/ucb/* ) ;;
3651   *)
3652     # OSF1 and SCO ODT 3.0 have their own names for install.
3653     # Don't use installbsd from OSF since it installs stuff as root
3654     # by default.
3655     for ac_prog in ginstall scoinst install; do
3656       for ac_exec_ext in '' $ac_executable_extensions; do
3657         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3658           if test $ac_prog = install &&
3659             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3660             # AIX install.  It has an incompatible calling convention.
3661             :
3662           elif test $ac_prog = install &&
3663             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3664             # program-specific install script used by HP pwplus--don't use.
3665             :
3666           else
3667             rm -rf conftest.one conftest.two conftest.dir
3668             echo one > conftest.one
3669             echo two > conftest.two
3670             mkdir conftest.dir
3671             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3672               test -s conftest.one && test -s conftest.two &&
3673               test -s conftest.dir/conftest.one &&
3674               test -s conftest.dir/conftest.two
3675             then
3676               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3677               break 3
3678             fi
3679           fi
3680         fi
3681       done
3682     done
3683     ;;
3684 esac
3685
3686   done
3687 IFS=$as_save_IFS
3688
3689 rm -rf conftest.one conftest.two conftest.dir
3690
3691 fi
3692   if test "${ac_cv_path_install+set}" = set; then
3693     INSTALL=$ac_cv_path_install
3694   else
3695     # As a last resort, use the slow shell script.  Don't cache a
3696     # value for INSTALL within a source directory, because that will
3697     # break other packages using the cache if that directory is
3698     # removed, or if the value is a relative name.
3699     INSTALL=$ac_install_sh
3700   fi
3701 fi
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3703 $as_echo "$INSTALL" >&6; }
3704
3705 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3706 # It thinks the first close brace ends the variable substitution.
3707 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3708
3709 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3710
3711 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3712
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3714 $as_echo_n "checking whether build environment is sane... " >&6; }
3715 # Just in case
3716 sleep 1
3717 echo timestamp > conftest.file
3718 # Reject unsafe characters in $srcdir or the absolute working directory
3719 # name.  Accept space and tab only in the latter.
3720 am_lf='
3721 '
3722 case `pwd` in
3723   *[\\\"\#\$\&\'\`$am_lf]*)
3724     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
3725 esac
3726 case $srcdir in
3727   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3728     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
3729 esac
3730
3731 # Do `set' in a subshell so we don't clobber the current shell's
3732 # arguments.  Must try -L first in case configure is actually a
3733 # symlink; some systems play weird games with the mod time of symlinks
3734 # (eg FreeBSD returns the mod time of the symlink's containing
3735 # directory).
3736 if (
3737    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3738    if test "$*" = "X"; then
3739       # -L didn't work.
3740       set X `ls -t "$srcdir/configure" conftest.file`
3741    fi
3742    rm -f conftest.file
3743    if test "$*" != "X $srcdir/configure conftest.file" \
3744       && test "$*" != "X conftest.file $srcdir/configure"; then
3745
3746       # If neither matched, then we have a broken ls.  This can happen
3747       # if, for instance, CONFIG_SHELL is bash and it inherits a
3748       # broken ls alias from the environment.  This has actually
3749       # happened.  Such a system could not be considered "sane".
3750       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3751 alias in your environment" "$LINENO" 5
3752    fi
3753
3754    test "$2" = conftest.file
3755    )
3756 then
3757    # Ok.
3758    :
3759 else
3760    as_fn_error $? "newly created file is older than distributed files!
3761 Check your system clock" "$LINENO" 5
3762 fi
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3764 $as_echo "yes" >&6; }
3765 test "$program_prefix" != NONE &&
3766   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3767 # Use a double $ so make ignores it.
3768 test "$program_suffix" != NONE &&
3769   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3770 # Double any \ or $.
3771 # By default was `s,x,x', remove it if useless.
3772 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3773 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3774
3775 # expand $ac_aux_dir to an absolute path
3776 am_aux_dir=`cd $ac_aux_dir && pwd`
3777
3778 if test x"${MISSING+set}" != xset; then
3779   case $am_aux_dir in
3780   *\ * | *\     *)
3781     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3782   *)
3783     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3784   esac
3785 fi
3786 # Use eval to expand $SHELL
3787 if eval "$MISSING --run true"; then
3788   am_missing_run="$MISSING --run "
3789 else
3790   am_missing_run=
3791   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3792 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3793 fi
3794
3795 if test x"${install_sh}" != xset; then
3796   case $am_aux_dir in
3797   *\ * | *\     *)
3798     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3799   *)
3800     install_sh="\${SHELL} $am_aux_dir/install-sh"
3801   esac
3802 fi
3803
3804 # Installed binaries are usually stripped using `strip' when the user
3805 # run `make install-strip'.  However `strip' might not be the right
3806 # tool to use in cross-compilation environments, therefore Automake
3807 # will honor the `STRIP' environment variable to overrule this program.
3808 if test "$cross_compiling" != no; then
3809   if test -n "$ac_tool_prefix"; then
3810   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3811 set dummy ${ac_tool_prefix}strip; ac_word=$2
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3813 $as_echo_n "checking for $ac_word... " >&6; }
3814 if test "${ac_cv_prog_STRIP+set}" = set; then :
3815   $as_echo_n "(cached) " >&6
3816 else
3817   if test -n "$STRIP"; then
3818   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3819 else
3820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3821 for as_dir in $PATH
3822 do
3823   IFS=$as_save_IFS
3824   test -z "$as_dir" && as_dir=.
3825     for ac_exec_ext in '' $ac_executable_extensions; do
3826   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3827     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3828     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3829     break 2
3830   fi
3831 done
3832   done
3833 IFS=$as_save_IFS
3834
3835 fi
3836 fi
3837 STRIP=$ac_cv_prog_STRIP
3838 if test -n "$STRIP"; then
3839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3840 $as_echo "$STRIP" >&6; }
3841 else
3842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3843 $as_echo "no" >&6; }
3844 fi
3845
3846
3847 fi
3848 if test -z "$ac_cv_prog_STRIP"; then
3849   ac_ct_STRIP=$STRIP
3850   # Extract the first word of "strip", so it can be a program name with args.
3851 set dummy strip; ac_word=$2
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3853 $as_echo_n "checking for $ac_word... " >&6; }
3854 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3855   $as_echo_n "(cached) " >&6
3856 else
3857   if test -n "$ac_ct_STRIP"; then
3858   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3859 else
3860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3861 for as_dir in $PATH
3862 do
3863   IFS=$as_save_IFS
3864   test -z "$as_dir" && as_dir=.
3865     for ac_exec_ext in '' $ac_executable_extensions; do
3866   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3867     ac_cv_prog_ac_ct_STRIP="strip"
3868     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3869     break 2
3870   fi
3871 done
3872   done
3873 IFS=$as_save_IFS
3874
3875 fi
3876 fi
3877 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3878 if test -n "$ac_ct_STRIP"; then
3879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3880 $as_echo "$ac_ct_STRIP" >&6; }
3881 else
3882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3883 $as_echo "no" >&6; }
3884 fi
3885
3886   if test "x$ac_ct_STRIP" = x; then
3887     STRIP=":"
3888   else
3889     case $cross_compiling:$ac_tool_warned in
3890 yes:)
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3892 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3893 ac_tool_warned=yes ;;
3894 esac
3895     STRIP=$ac_ct_STRIP
3896   fi
3897 else
3898   STRIP="$ac_cv_prog_STRIP"
3899 fi
3900
3901 fi
3902 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3903
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3905 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3906 if test -z "$MKDIR_P"; then
3907   if test "${ac_cv_path_mkdir+set}" = set; then :
3908   $as_echo_n "(cached) " >&6
3909 else
3910   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3911 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3912 do
3913   IFS=$as_save_IFS
3914   test -z "$as_dir" && as_dir=.
3915     for ac_prog in mkdir gmkdir; do
3916          for ac_exec_ext in '' $ac_executable_extensions; do
3917            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3918            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3919              'mkdir (GNU coreutils) '* | \
3920              'mkdir (coreutils) '* | \
3921              'mkdir (fileutils) '4.1*)
3922                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3923                break 3;;
3924            esac
3925          done
3926        done
3927   done
3928 IFS=$as_save_IFS
3929
3930 fi
3931
3932   test -d ./--version && rmdir ./--version
3933   if test "${ac_cv_path_mkdir+set}" = set; then
3934     MKDIR_P="$ac_cv_path_mkdir -p"
3935   else
3936     # As a last resort, use the slow shell script.  Don't cache a
3937     # value for MKDIR_P within a source directory, because that will
3938     # break other packages using the cache if that directory is
3939     # removed, or if the value is a relative name.
3940     MKDIR_P="$ac_install_sh -d"
3941   fi
3942 fi
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3944 $as_echo "$MKDIR_P" >&6; }
3945
3946 mkdir_p="$MKDIR_P"
3947 case $mkdir_p in
3948   [\\/$]* | ?:[\\/]*) ;;
3949   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3950 esac
3951
3952 for ac_prog in gawk mawk nawk awk
3953 do
3954   # Extract the first word of "$ac_prog", so it can be a program name with args.
3955 set dummy $ac_prog; ac_word=$2
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3957 $as_echo_n "checking for $ac_word... " >&6; }
3958 if test "${ac_cv_prog_AWK+set}" = set; then :
3959   $as_echo_n "(cached) " >&6
3960 else
3961   if test -n "$AWK"; then
3962   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3963 else
3964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3965 for as_dir in $PATH
3966 do
3967   IFS=$as_save_IFS
3968   test -z "$as_dir" && as_dir=.
3969     for ac_exec_ext in '' $ac_executable_extensions; do
3970   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3971     ac_cv_prog_AWK="$ac_prog"
3972     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3973     break 2
3974   fi
3975 done
3976   done
3977 IFS=$as_save_IFS
3978
3979 fi
3980 fi
3981 AWK=$ac_cv_prog_AWK
3982 if test -n "$AWK"; then
3983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3984 $as_echo "$AWK" >&6; }
3985 else
3986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3987 $as_echo "no" >&6; }
3988 fi
3989
3990
3991   test -n "$AWK" && break
3992 done
3993
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3995 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3996 set x ${MAKE-make}
3997 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3998 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3999   $as_echo_n "(cached) " >&6
4000 else
4001   cat >conftest.make <<\_ACEOF
4002 SHELL = /bin/sh
4003 all:
4004         @echo '@@@%%%=$(MAKE)=@@@%%%'
4005 _ACEOF
4006 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4007 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4008   *@@@%%%=?*=@@@%%%*)
4009     eval ac_cv_prog_make_${ac_make}_set=yes;;
4010   *)
4011     eval ac_cv_prog_make_${ac_make}_set=no;;
4012 esac
4013 rm -f conftest.make
4014 fi
4015 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4017 $as_echo "yes" >&6; }
4018   SET_MAKE=
4019 else
4020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4021 $as_echo "no" >&6; }
4022   SET_MAKE="MAKE=${MAKE-make}"
4023 fi
4024
4025 rm -rf .tst 2>/dev/null
4026 mkdir .tst 2>/dev/null
4027 if test -d .tst; then
4028   am__leading_dot=.
4029 else
4030   am__leading_dot=_
4031 fi
4032 rmdir .tst 2>/dev/null
4033
4034 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4035   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4036   # is not polluted with repeated "-I."
4037   am__isrc=' -I$(srcdir)'
4038   # test to see if srcdir already configured
4039   if test -f $srcdir/config.status; then
4040     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4041   fi
4042 fi
4043
4044 # test whether we have cygpath
4045 if test -z "$CYGPATH_W"; then
4046   if (cygpath --version) >/dev/null 2>/dev/null; then
4047     CYGPATH_W='cygpath -w'
4048   else
4049     CYGPATH_W=echo
4050   fi
4051 fi
4052
4053
4054 # Define the identity of the package.
4055  PACKAGE='evas'
4056  VERSION='1.7.1'
4057
4058
4059 cat >>confdefs.h <<_ACEOF
4060 #define PACKAGE "$PACKAGE"
4061 _ACEOF
4062
4063
4064 cat >>confdefs.h <<_ACEOF
4065 #define VERSION "$VERSION"
4066 _ACEOF
4067
4068 # Some tools Automake needs.
4069
4070 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4071
4072
4073 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4074
4075
4076 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4077
4078
4079 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4080
4081
4082 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4083
4084 # We need awk for the "check" target.  The system "awk" is bad on
4085 # some platforms.
4086 # Always define AMTAR for backward compatibility.
4087
4088 AMTAR=${AMTAR-"${am_missing_run}tar"}
4089
4090 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
4091
4092
4093
4094
4095
4096 # Check whether --enable-silent-rules was given.
4097 if test "${enable_silent_rules+set}" = set; then :
4098   enableval=$enable_silent_rules;
4099 fi
4100
4101 case $enable_silent_rules in
4102 yes) AM_DEFAULT_VERBOSITY=0;;
4103 no)  AM_DEFAULT_VERBOSITY=1;;
4104 *)   AM_DEFAULT_VERBOSITY=0;;
4105 esac
4106 AM_BACKSLASH='\'
4107
4108
4109 DEPDIR="${am__leading_dot}deps"
4110
4111 ac_config_commands="$ac_config_commands depfiles"
4112
4113
4114 am_make=${MAKE-make}
4115 cat > confinc << 'END'
4116 am__doit:
4117         @echo this is the am__doit target
4118 .PHONY: am__doit
4119 END
4120 # If we don't find an include directive, just comment out the code.
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4122 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4123 am__include="#"
4124 am__quote=
4125 _am_result=none
4126 # First try GNU make style include.
4127 echo "include confinc" > confmf
4128 # Ignore all kinds of additional output from `make'.
4129 case `$am_make -s -f confmf 2> /dev/null` in #(
4130 *the\ am__doit\ target*)
4131   am__include=include
4132   am__quote=
4133   _am_result=GNU
4134   ;;
4135 esac
4136 # Now try BSD make style include.
4137 if test "$am__include" = "#"; then
4138    echo '.include "confinc"' > confmf
4139    case `$am_make -s -f confmf 2> /dev/null` in #(
4140    *the\ am__doit\ target*)
4141      am__include=.include
4142      am__quote="\""
4143      _am_result=BSD
4144      ;;
4145    esac
4146 fi
4147
4148
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4150 $as_echo "$_am_result" >&6; }
4151 rm -f confinc confmf
4152
4153 # Check whether --enable-dependency-tracking was given.
4154 if test "${enable_dependency_tracking+set}" = set; then :
4155   enableval=$enable_dependency_tracking;
4156 fi
4157
4158 if test "x$enable_dependency_tracking" != xno; then
4159   am_depcomp="$ac_aux_dir/depcomp"
4160   AMDEPBACKSLASH='\'
4161 fi
4162  if test "x$enable_dependency_tracking" != xno; then
4163   AMDEP_TRUE=
4164   AMDEP_FALSE='#'
4165 else
4166   AMDEP_TRUE='#'
4167   AMDEP_FALSE=
4168 fi
4169
4170
4171 ac_ext=c
4172 ac_cpp='$CPP $CPPFLAGS'
4173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4176 if test -n "$ac_tool_prefix"; then
4177   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4178 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4180 $as_echo_n "checking for $ac_word... " >&6; }
4181 if test "${ac_cv_prog_CC+set}" = set; then :
4182   $as_echo_n "(cached) " >&6
4183 else
4184   if test -n "$CC"; then
4185   ac_cv_prog_CC="$CC" # Let the user override the test.
4186 else
4187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4188 for as_dir in $PATH
4189 do
4190   IFS=$as_save_IFS
4191   test -z "$as_dir" && as_dir=.
4192     for ac_exec_ext in '' $ac_executable_extensions; do
4193   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4194     ac_cv_prog_CC="${ac_tool_prefix}gcc"
4195     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4196     break 2
4197   fi
4198 done
4199   done
4200 IFS=$as_save_IFS
4201
4202 fi
4203 fi
4204 CC=$ac_cv_prog_CC
4205 if test -n "$CC"; then
4206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4207 $as_echo "$CC" >&6; }
4208 else
4209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4210 $as_echo "no" >&6; }
4211 fi
4212
4213
4214 fi
4215 if test -z "$ac_cv_prog_CC"; then
4216   ac_ct_CC=$CC
4217   # Extract the first word of "gcc", so it can be a program name with args.
4218 set dummy gcc; ac_word=$2
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4220 $as_echo_n "checking for $ac_word... " >&6; }
4221 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4222   $as_echo_n "(cached) " >&6
4223 else
4224   if test -n "$ac_ct_CC"; then
4225   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4226 else
4227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4228 for as_dir in $PATH
4229 do
4230   IFS=$as_save_IFS
4231   test -z "$as_dir" && as_dir=.
4232     for ac_exec_ext in '' $ac_executable_extensions; do
4233   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4234     ac_cv_prog_ac_ct_CC="gcc"
4235     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4236     break 2
4237   fi
4238 done
4239   done
4240 IFS=$as_save_IFS
4241
4242 fi
4243 fi
4244 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4245 if test -n "$ac_ct_CC"; then
4246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4247 $as_echo "$ac_ct_CC" >&6; }
4248 else
4249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4250 $as_echo "no" >&6; }
4251 fi
4252
4253   if test "x$ac_ct_CC" = x; then
4254     CC=""
4255   else
4256     case $cross_compiling:$ac_tool_warned in
4257 yes:)
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4259 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4260 ac_tool_warned=yes ;;
4261 esac
4262     CC=$ac_ct_CC
4263   fi
4264 else
4265   CC="$ac_cv_prog_CC"
4266 fi
4267
4268 if test -z "$CC"; then
4269           if test -n "$ac_tool_prefix"; then
4270     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4271 set dummy ${ac_tool_prefix}cc; ac_word=$2
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4273 $as_echo_n "checking for $ac_word... " >&6; }
4274 if test "${ac_cv_prog_CC+set}" = set; then :
4275   $as_echo_n "(cached) " >&6
4276 else
4277   if test -n "$CC"; then
4278   ac_cv_prog_CC="$CC" # Let the user override the test.
4279 else
4280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4281 for as_dir in $PATH
4282 do
4283   IFS=$as_save_IFS
4284   test -z "$as_dir" && as_dir=.
4285     for ac_exec_ext in '' $ac_executable_extensions; do
4286   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4287     ac_cv_prog_CC="${ac_tool_prefix}cc"
4288     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4289     break 2
4290   fi
4291 done
4292   done
4293 IFS=$as_save_IFS
4294
4295 fi
4296 fi
4297 CC=$ac_cv_prog_CC
4298 if test -n "$CC"; then
4299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4300 $as_echo "$CC" >&6; }
4301 else
4302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4303 $as_echo "no" >&6; }
4304 fi
4305
4306
4307   fi
4308 fi
4309 if test -z "$CC"; then
4310   # Extract the first word of "cc", so it can be a program name with args.
4311 set dummy cc; ac_word=$2
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4313 $as_echo_n "checking for $ac_word... " >&6; }
4314 if test "${ac_cv_prog_CC+set}" = set; then :
4315   $as_echo_n "(cached) " >&6
4316 else
4317   if test -n "$CC"; then
4318   ac_cv_prog_CC="$CC" # Let the user override the test.
4319 else
4320   ac_prog_rejected=no
4321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4322 for as_dir in $PATH
4323 do
4324   IFS=$as_save_IFS
4325   test -z "$as_dir" && as_dir=.
4326     for ac_exec_ext in '' $ac_executable_extensions; do
4327   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4328     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4329        ac_prog_rejected=yes
4330        continue
4331      fi
4332     ac_cv_prog_CC="cc"
4333     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4334     break 2
4335   fi
4336 done
4337   done
4338 IFS=$as_save_IFS
4339
4340 if test $ac_prog_rejected = yes; then
4341   # We found a bogon in the path, so make sure we never use it.
4342   set dummy $ac_cv_prog_CC
4343   shift
4344   if test $# != 0; then
4345     # We chose a different compiler from the bogus one.
4346     # However, it has the same basename, so the bogon will be chosen
4347     # first if we set CC to just the basename; use the full file name.
4348     shift
4349     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4350   fi
4351 fi
4352 fi
4353 fi
4354 CC=$ac_cv_prog_CC
4355 if test -n "$CC"; then
4356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4357 $as_echo "$CC" >&6; }
4358 else
4359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4360 $as_echo "no" >&6; }
4361 fi
4362
4363
4364 fi
4365 if test -z "$CC"; then
4366   if test -n "$ac_tool_prefix"; then
4367   for ac_prog in cl.exe
4368   do
4369     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4370 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4372 $as_echo_n "checking for $ac_word... " >&6; }
4373 if test "${ac_cv_prog_CC+set}" = set; then :
4374   $as_echo_n "(cached) " >&6
4375 else
4376   if test -n "$CC"; then
4377   ac_cv_prog_CC="$CC" # Let the user override the test.
4378 else
4379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4380 for as_dir in $PATH
4381 do
4382   IFS=$as_save_IFS
4383   test -z "$as_dir" && as_dir=.
4384     for ac_exec_ext in '' $ac_executable_extensions; do
4385   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4386     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4387     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4388     break 2
4389   fi
4390 done
4391   done
4392 IFS=$as_save_IFS
4393
4394 fi
4395 fi
4396 CC=$ac_cv_prog_CC
4397 if test -n "$CC"; then
4398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4399 $as_echo "$CC" >&6; }
4400 else
4401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4402 $as_echo "no" >&6; }
4403 fi
4404
4405
4406     test -n "$CC" && break
4407   done
4408 fi
4409 if test -z "$CC"; then
4410   ac_ct_CC=$CC
4411   for ac_prog in cl.exe
4412 do
4413   # Extract the first word of "$ac_prog", so it can be a program name with args.
4414 set dummy $ac_prog; ac_word=$2
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4416 $as_echo_n "checking for $ac_word... " >&6; }
4417 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4418   $as_echo_n "(cached) " >&6
4419 else
4420   if test -n "$ac_ct_CC"; then
4421   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4422 else
4423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4424 for as_dir in $PATH
4425 do
4426   IFS=$as_save_IFS
4427   test -z "$as_dir" && as_dir=.
4428     for ac_exec_ext in '' $ac_executable_extensions; do
4429   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4430     ac_cv_prog_ac_ct_CC="$ac_prog"
4431     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4432     break 2
4433   fi
4434 done
4435   done
4436 IFS=$as_save_IFS
4437
4438 fi
4439 fi
4440 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4441 if test -n "$ac_ct_CC"; then
4442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4443 $as_echo "$ac_ct_CC" >&6; }
4444 else
4445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4446 $as_echo "no" >&6; }
4447 fi
4448
4449
4450   test -n "$ac_ct_CC" && break
4451 done
4452
4453   if test "x$ac_ct_CC" = x; then
4454     CC=""
4455   else
4456     case $cross_compiling:$ac_tool_warned in
4457 yes:)
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4460 ac_tool_warned=yes ;;
4461 esac
4462     CC=$ac_ct_CC
4463   fi
4464 fi
4465
4466 fi
4467
4468
4469 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4470 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4471 as_fn_error $? "no acceptable C compiler found in \$PATH
4472 See \`config.log' for more details" "$LINENO" 5 ; }
4473
4474 # Provide some information about the compiler.
4475 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4476 set X $ac_compile
4477 ac_compiler=$2
4478 for ac_option in --version -v -V -qversion; do
4479   { { ac_try="$ac_compiler $ac_option >&5"
4480 case "(($ac_try" in
4481   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4482   *) ac_try_echo=$ac_try;;
4483 esac
4484 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4485 $as_echo "$ac_try_echo"; } >&5
4486   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4487   ac_status=$?
4488   if test -s conftest.err; then
4489     sed '10a\
4490 ... rest of stderr output deleted ...
4491          10q' conftest.err >conftest.er1
4492     cat conftest.er1 >&5
4493   fi
4494   rm -f conftest.er1 conftest.err
4495   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4496   test $ac_status = 0; }
4497 done
4498
4499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4500 /* end confdefs.h.  */
4501
4502 int
4503 main ()
4504 {
4505
4506   ;
4507   return 0;
4508 }
4509 _ACEOF
4510 ac_clean_files_save=$ac_clean_files
4511 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4512 # Try to create an executable without -o first, disregard a.out.
4513 # It will help us diagnose broken compilers, and finding out an intuition
4514 # of exeext.
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4516 $as_echo_n "checking whether the C compiler works... " >&6; }
4517 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4518
4519 # The possible output files:
4520 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4521
4522 ac_rmfiles=
4523 for ac_file in $ac_files
4524 do
4525   case $ac_file in
4526     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4527     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4528   esac
4529 done
4530 rm -f $ac_rmfiles
4531
4532 if { { ac_try="$ac_link_default"
4533 case "(($ac_try" in
4534   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4535   *) ac_try_echo=$ac_try;;
4536 esac
4537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4538 $as_echo "$ac_try_echo"; } >&5
4539   (eval "$ac_link_default") 2>&5
4540   ac_status=$?
4541   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4542   test $ac_status = 0; }; then :
4543   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4544 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4545 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
4546 # so that the user can short-circuit this test for compilers unknown to
4547 # Autoconf.
4548 for ac_file in $ac_files ''
4549 do
4550   test -f "$ac_file" || continue
4551   case $ac_file in
4552     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4553         ;;
4554     [ab].out )
4555         # We found the default executable, but exeext='' is most
4556         # certainly right.
4557         break;;
4558     *.* )
4559         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4560         then :; else
4561            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4562         fi
4563         # We set ac_cv_exeext here because the later test for it is not
4564         # safe: cross compilers may not add the suffix if given an `-o'
4565         # argument, so we may need to know it at that point already.
4566         # Even if this section looks crufty: it has the advantage of
4567         # actually working.
4568         break;;
4569     * )
4570         break;;
4571   esac
4572 done
4573 test "$ac_cv_exeext" = no && ac_cv_exeext=
4574
4575 else
4576   ac_file=''
4577 fi
4578 if test -z "$ac_file"; then :
4579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4580 $as_echo "no" >&6; }
4581 $as_echo "$as_me: failed program was:" >&5
4582 sed 's/^/| /' conftest.$ac_ext >&5
4583
4584 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4586 as_fn_error 77 "C compiler cannot create executables
4587 See \`config.log' for more details" "$LINENO" 5 ; }
4588 else
4589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4590 $as_echo "yes" >&6; }
4591 fi
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4593 $as_echo_n "checking for C compiler default output file name... " >&6; }
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4595 $as_echo "$ac_file" >&6; }
4596 ac_exeext=$ac_cv_exeext
4597
4598 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4599 ac_clean_files=$ac_clean_files_save
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4601 $as_echo_n "checking for suffix of executables... " >&6; }
4602 if { { ac_try="$ac_link"
4603 case "(($ac_try" in
4604   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4605   *) ac_try_echo=$ac_try;;
4606 esac
4607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4608 $as_echo "$ac_try_echo"; } >&5
4609   (eval "$ac_link") 2>&5
4610   ac_status=$?
4611   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4612   test $ac_status = 0; }; then :
4613   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4614 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4615 # work properly (i.e., refer to `conftest.exe'), while it won't with
4616 # `rm'.
4617 for ac_file in conftest.exe conftest conftest.*; do
4618   test -f "$ac_file" || continue
4619   case $ac_file in
4620     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4621     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4622           break;;
4623     * ) break;;
4624   esac
4625 done
4626 else
4627   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4629 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4630 See \`config.log' for more details" "$LINENO" 5 ; }
4631 fi
4632 rm -f conftest conftest$ac_cv_exeext
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4634 $as_echo "$ac_cv_exeext" >&6; }
4635
4636 rm -f conftest.$ac_ext
4637 EXEEXT=$ac_cv_exeext
4638 ac_exeext=$EXEEXT
4639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4640 /* end confdefs.h.  */
4641 #include <stdio.h>
4642 int
4643 main ()
4644 {
4645 FILE *f = fopen ("conftest.out", "w");
4646  return ferror (f) || fclose (f) != 0;
4647
4648   ;
4649   return 0;
4650 }
4651 _ACEOF
4652 ac_clean_files="$ac_clean_files conftest.out"
4653 # Check that the compiler produces executables we can run.  If not, either
4654 # the compiler is broken, or we cross compile.
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4656 $as_echo_n "checking whether we are cross compiling... " >&6; }
4657 if test "$cross_compiling" != yes; then
4658   { { ac_try="$ac_link"
4659 case "(($ac_try" in
4660   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4661   *) ac_try_echo=$ac_try;;
4662 esac
4663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4664 $as_echo "$ac_try_echo"; } >&5
4665   (eval "$ac_link") 2>&5
4666   ac_status=$?
4667   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4668   test $ac_status = 0; }
4669   if { ac_try='./conftest$ac_cv_exeext'
4670   { { case "(($ac_try" in
4671   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4672   *) ac_try_echo=$ac_try;;
4673 esac
4674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4675 $as_echo "$ac_try_echo"; } >&5
4676   (eval "$ac_try") 2>&5
4677   ac_status=$?
4678   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4679   test $ac_status = 0; }; }; then
4680     cross_compiling=no
4681   else
4682     if test "$cross_compiling" = maybe; then
4683         cross_compiling=yes
4684     else
4685         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4687 as_fn_error $? "cannot run C compiled programs.
4688 If you meant to cross compile, use \`--host'.
4689 See \`config.log' for more details" "$LINENO" 5 ; }
4690     fi
4691   fi
4692 fi
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4694 $as_echo "$cross_compiling" >&6; }
4695
4696 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4697 ac_clean_files=$ac_clean_files_save
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4699 $as_echo_n "checking for suffix of object files... " >&6; }
4700 if test "${ac_cv_objext+set}" = set; then :
4701   $as_echo_n "(cached) " >&6
4702 else
4703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4704 /* end confdefs.h.  */
4705
4706 int
4707 main ()
4708 {
4709
4710   ;
4711   return 0;
4712 }
4713 _ACEOF
4714 rm -f conftest.o conftest.obj
4715 if { { ac_try="$ac_compile"
4716 case "(($ac_try" in
4717   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4718   *) ac_try_echo=$ac_try;;
4719 esac
4720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4721 $as_echo "$ac_try_echo"; } >&5
4722   (eval "$ac_compile") 2>&5
4723   ac_status=$?
4724   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4725   test $ac_status = 0; }; then :
4726   for ac_file in conftest.o conftest.obj conftest.*; do
4727   test -f "$ac_file" || continue;
4728   case $ac_file in
4729     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4730     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4731        break;;
4732   esac
4733 done
4734 else
4735   $as_echo "$as_me: failed program was:" >&5
4736 sed 's/^/| /' conftest.$ac_ext >&5
4737
4738 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4739 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4740 as_fn_error $? "cannot compute suffix of object files: cannot compile
4741 See \`config.log' for more details" "$LINENO" 5 ; }
4742 fi
4743 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4744 fi
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4746 $as_echo "$ac_cv_objext" >&6; }
4747 OBJEXT=$ac_cv_objext
4748 ac_objext=$OBJEXT
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4750 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4751 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4752   $as_echo_n "(cached) " >&6
4753 else
4754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4755 /* end confdefs.h.  */
4756
4757 int
4758 main ()
4759 {
4760 #ifndef __GNUC__
4761        choke me
4762 #endif
4763
4764   ;
4765   return 0;
4766 }
4767 _ACEOF
4768 if ac_fn_c_try_compile "$LINENO"; then :
4769   ac_compiler_gnu=yes
4770 else
4771   ac_compiler_gnu=no
4772 fi
4773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4774 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4775
4776 fi
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4778 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4779 if test $ac_compiler_gnu = yes; then
4780   GCC=yes
4781 else
4782   GCC=
4783 fi
4784 ac_test_CFLAGS=${CFLAGS+set}
4785 ac_save_CFLAGS=$CFLAGS
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4787 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4788 if test "${ac_cv_prog_cc_g+set}" = set; then :
4789   $as_echo_n "(cached) " >&6
4790 else
4791   ac_save_c_werror_flag=$ac_c_werror_flag
4792    ac_c_werror_flag=yes
4793    ac_cv_prog_cc_g=no
4794    CFLAGS="-g"
4795    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4796 /* end confdefs.h.  */
4797
4798 int
4799 main ()
4800 {
4801
4802   ;
4803   return 0;
4804 }
4805 _ACEOF
4806 if ac_fn_c_try_compile "$LINENO"; then :
4807   ac_cv_prog_cc_g=yes
4808 else
4809   CFLAGS=""
4810       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4811 /* end confdefs.h.  */
4812
4813 int
4814 main ()
4815 {
4816
4817   ;
4818   return 0;
4819 }
4820 _ACEOF
4821 if ac_fn_c_try_compile "$LINENO"; then :
4822
4823 else
4824   ac_c_werror_flag=$ac_save_c_werror_flag
4825          CFLAGS="-g"
4826          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4827 /* end confdefs.h.  */
4828
4829 int
4830 main ()
4831 {
4832
4833   ;
4834   return 0;
4835 }
4836 _ACEOF
4837 if ac_fn_c_try_compile "$LINENO"; then :
4838   ac_cv_prog_cc_g=yes
4839 fi
4840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4841 fi
4842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4843 fi
4844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4845    ac_c_werror_flag=$ac_save_c_werror_flag
4846 fi
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4848 $as_echo "$ac_cv_prog_cc_g" >&6; }
4849 if test "$ac_test_CFLAGS" = set; then
4850   CFLAGS=$ac_save_CFLAGS
4851 elif test $ac_cv_prog_cc_g = yes; then
4852   if test "$GCC" = yes; then
4853     CFLAGS="-g -O2"
4854   else
4855     CFLAGS="-g"
4856   fi
4857 else
4858   if test "$GCC" = yes; then
4859     CFLAGS="-O2"
4860   else
4861     CFLAGS=
4862   fi
4863 fi
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4865 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4866 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4867   $as_echo_n "(cached) " >&6
4868 else
4869   ac_cv_prog_cc_c89=no
4870 ac_save_CC=$CC
4871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4872 /* end confdefs.h.  */
4873 #include <stdarg.h>
4874 #include <stdio.h>
4875 #include <sys/types.h>
4876 #include <sys/stat.h>
4877 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4878 struct buf { int x; };
4879 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4880 static char *e (p, i)
4881      char **p;
4882      int i;
4883 {
4884   return p[i];
4885 }
4886 static char *f (char * (*g) (char **, int), char **p, ...)
4887 {
4888   char *s;
4889   va_list v;
4890   va_start (v,p);
4891   s = g (p, va_arg (v,int));
4892   va_end (v);
4893   return s;
4894 }
4895
4896 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4897    function prototypes and stuff, but not '\xHH' hex character constants.
4898    These don't provoke an error unfortunately, instead are silently treated
4899    as 'x'.  The following induces an error, until -std is added to get
4900    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4901    array size at least.  It's necessary to write '\x00'==0 to get something
4902    that's true only with -std.  */
4903 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4904
4905 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4906    inside strings and character constants.  */
4907 #define FOO(x) 'x'
4908 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4909
4910 int test (int i, double x);
4911 struct s1 {int (*f) (int a);};
4912 struct s2 {int (*f) (double a);};
4913 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4914 int argc;
4915 char **argv;
4916 int
4917 main ()
4918 {
4919 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4920   ;
4921   return 0;
4922 }
4923 _ACEOF
4924 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4925         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4926 do
4927   CC="$ac_save_CC $ac_arg"
4928   if ac_fn_c_try_compile "$LINENO"; then :
4929   ac_cv_prog_cc_c89=$ac_arg
4930 fi
4931 rm -f core conftest.err conftest.$ac_objext
4932   test "x$ac_cv_prog_cc_c89" != "xno" && break
4933 done
4934 rm -f conftest.$ac_ext
4935 CC=$ac_save_CC
4936
4937 fi
4938 # AC_CACHE_VAL
4939 case "x$ac_cv_prog_cc_c89" in
4940   x)
4941     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4942 $as_echo "none needed" >&6; } ;;
4943   xno)
4944     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4945 $as_echo "unsupported" >&6; } ;;
4946   *)
4947     CC="$CC $ac_cv_prog_cc_c89"
4948     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4949 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4950 esac
4951 if test "x$ac_cv_prog_cc_c89" != xno; then :
4952
4953 fi
4954
4955 ac_ext=c
4956 ac_cpp='$CPP $CPPFLAGS'
4957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4960
4961 depcc="$CC"   am_compiler_list=
4962
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4964 $as_echo_n "checking dependency style of $depcc... " >&6; }
4965 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4966   $as_echo_n "(cached) " >&6
4967 else
4968   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4969   # We make a subdir and do the tests there.  Otherwise we can end up
4970   # making bogus files that we don't know about and never remove.  For
4971   # instance it was reported that on HP-UX the gcc test will end up
4972   # making a dummy file named `D' -- because `-MD' means `put the output
4973   # in D'.
4974   mkdir conftest.dir
4975   # Copy depcomp to subdir because otherwise we won't find it if we're
4976   # using a relative directory.
4977   cp "$am_depcomp" conftest.dir
4978   cd conftest.dir
4979   # We will build objects and dependencies in a subdirectory because
4980   # it helps to detect inapplicable dependency modes.  For instance
4981   # both Tru64's cc and ICC support -MD to output dependencies as a
4982   # side effect of compilation, but ICC will put the dependencies in
4983   # the current directory while Tru64 will put them in the object
4984   # directory.
4985   mkdir sub
4986
4987   am_cv_CC_dependencies_compiler_type=none
4988   if test "$am_compiler_list" = ""; then
4989      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4990   fi
4991   am__universal=false
4992   case " $depcc " in #(
4993      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4994      esac
4995
4996   for depmode in $am_compiler_list; do
4997     # Setup a source with many dependencies, because some compilers
4998     # like to wrap large dependency lists on column 80 (with \), and
4999     # we should not choose a depcomp mode which is confused by this.
5000     #
5001     # We need to recreate these files for each test, as the compiler may
5002     # overwrite some of them when testing with obscure command lines.
5003     # This happens at least with the AIX C compiler.
5004     : > sub/conftest.c
5005     for i in 1 2 3 4 5 6; do
5006       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5007       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5008       # Solaris 8's {/usr,}/bin/sh.
5009       touch sub/conftst$i.h
5010     done
5011     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5012
5013     # We check with `-c' and `-o' for the sake of the "dashmstdout"
5014     # mode.  It turns out that the SunPro C++ compiler does not properly
5015     # handle `-M -o', and we need to detect this.  Also, some Intel
5016     # versions had trouble with output in subdirs
5017     am__obj=sub/conftest.${OBJEXT-o}
5018     am__minus_obj="-o $am__obj"
5019     case $depmode in
5020     gcc)
5021       # This depmode causes a compiler race in universal mode.
5022       test "$am__universal" = false || continue
5023       ;;
5024     nosideeffect)
5025       # after this tag, mechanisms are not by side-effect, so they'll
5026       # only be used when explicitly requested
5027       if test "x$enable_dependency_tracking" = xyes; then
5028         continue
5029       else
5030         break
5031       fi
5032       ;;
5033     msvisualcpp | msvcmsys)
5034       # This compiler won't grok `-c -o', but also, the minuso test has
5035       # not run yet.  These depmodes are late enough in the game, and
5036       # so weak that their functioning should not be impacted.
5037       am__obj=conftest.${OBJEXT-o}
5038       am__minus_obj=
5039       ;;
5040     none) break ;;
5041     esac
5042     if depmode=$depmode \
5043        source=sub/conftest.c object=$am__obj \
5044        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5045        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5046          >/dev/null 2>conftest.err &&
5047        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5048        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5049        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5050        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5051       # icc doesn't choke on unknown options, it will just issue warnings
5052       # or remarks (even with -Werror).  So we grep stderr for any message
5053       # that says an option was ignored or not supported.
5054       # When given -MP, icc 7.0 and 7.1 complain thusly:
5055       #   icc: Command line warning: ignoring option '-M'; no argument required
5056       # The diagnosis changed in icc 8.0:
5057       #   icc: Command line remark: option '-MP' not supported
5058       if (grep 'ignoring option' conftest.err ||
5059           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5060         am_cv_CC_dependencies_compiler_type=$depmode
5061         break
5062       fi
5063     fi
5064   done
5065
5066   cd ..
5067   rm -rf conftest.dir
5068 else
5069   am_cv_CC_dependencies_compiler_type=none
5070 fi
5071
5072 fi
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5074 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5075 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5076
5077  if
5078   test "x$enable_dependency_tracking" != xno \
5079   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5080   am__fastdepCC_TRUE=
5081   am__fastdepCC_FALSE='#'
5082 else
5083   am__fastdepCC_TRUE='#'
5084   am__fastdepCC_FALSE=
5085 fi
5086
5087
5088
5089 ac_ext=c
5090 ac_cpp='$CPP $CPPFLAGS'
5091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5095 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5096 # On Suns, sometimes $CPP names a directory.
5097 if test -n "$CPP" && test -d "$CPP"; then
5098   CPP=
5099 fi
5100 if test -z "$CPP"; then
5101   if test "${ac_cv_prog_CPP+set}" = set; then :
5102   $as_echo_n "(cached) " >&6
5103 else
5104       # Double quotes because CPP needs to be expanded
5105     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5106     do
5107       ac_preproc_ok=false
5108 for ac_c_preproc_warn_flag in '' yes
5109 do
5110   # Use a header file that comes with gcc, so configuring glibc
5111   # with a fresh cross-compiler works.
5112   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5113   # <limits.h> exists even on freestanding compilers.
5114   # On the NeXT, cc -E runs the code through the compiler's parser,
5115   # not just through cpp. "Syntax error" is here to catch this case.
5116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5117 /* end confdefs.h.  */
5118 #ifdef __STDC__
5119 # include <limits.h>
5120 #else
5121 # include <assert.h>
5122 #endif
5123                      Syntax error
5124 _ACEOF
5125 if ac_fn_c_try_cpp "$LINENO"; then :
5126
5127 else
5128   # Broken: fails on valid input.
5129 continue
5130 fi
5131 rm -f conftest.err conftest.i conftest.$ac_ext
5132
5133   # OK, works on sane cases.  Now check whether nonexistent headers
5134   # can be detected and how.
5135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5136 /* end confdefs.h.  */
5137 #include <ac_nonexistent.h>
5138 _ACEOF
5139 if ac_fn_c_try_cpp "$LINENO"; then :
5140   # Broken: success on invalid input.
5141 continue
5142 else
5143   # Passes both tests.
5144 ac_preproc_ok=:
5145 break
5146 fi
5147 rm -f conftest.err conftest.i conftest.$ac_ext
5148
5149 done
5150 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5151 rm -f conftest.i conftest.err conftest.$ac_ext
5152 if $ac_preproc_ok; then :
5153   break
5154 fi
5155
5156     done
5157     ac_cv_prog_CPP=$CPP
5158
5159 fi
5160   CPP=$ac_cv_prog_CPP
5161 else
5162   ac_cv_prog_CPP=$CPP
5163 fi
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5165 $as_echo "$CPP" >&6; }
5166 ac_preproc_ok=false
5167 for ac_c_preproc_warn_flag in '' yes
5168 do
5169   # Use a header file that comes with gcc, so configuring glibc
5170   # with a fresh cross-compiler works.
5171   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5172   # <limits.h> exists even on freestanding compilers.
5173   # On the NeXT, cc -E runs the code through the compiler's parser,
5174   # not just through cpp. "Syntax error" is here to catch this case.
5175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5176 /* end confdefs.h.  */
5177 #ifdef __STDC__
5178 # include <limits.h>
5179 #else
5180 # include <assert.h>
5181 #endif
5182                      Syntax error
5183 _ACEOF
5184 if ac_fn_c_try_cpp "$LINENO"; then :
5185
5186 else
5187   # Broken: fails on valid input.
5188 continue
5189 fi
5190 rm -f conftest.err conftest.i conftest.$ac_ext
5191
5192   # OK, works on sane cases.  Now check whether nonexistent headers
5193   # can be detected and how.
5194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5195 /* end confdefs.h.  */
5196 #include <ac_nonexistent.h>
5197 _ACEOF
5198 if ac_fn_c_try_cpp "$LINENO"; then :
5199   # Broken: success on invalid input.
5200 continue
5201 else
5202   # Passes both tests.
5203 ac_preproc_ok=:
5204 break
5205 fi
5206 rm -f conftest.err conftest.i conftest.$ac_ext
5207
5208 done
5209 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5210 rm -f conftest.i conftest.err conftest.$ac_ext
5211 if $ac_preproc_ok; then :
5212
5213 else
5214   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5216 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5217 See \`config.log' for more details" "$LINENO" 5 ; }
5218 fi
5219
5220 ac_ext=c
5221 ac_cpp='$CPP $CPPFLAGS'
5222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5225
5226
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5228 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5229 if test "${ac_cv_path_GREP+set}" = set; then :
5230   $as_echo_n "(cached) " >&6
5231 else
5232   if test -z "$GREP"; then
5233   ac_path_GREP_found=false
5234   # Loop through the user's path and test for each of PROGNAME-LIST
5235   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5236 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5237 do
5238   IFS=$as_save_IFS
5239   test -z "$as_dir" && as_dir=.
5240     for ac_prog in grep ggrep; do
5241     for ac_exec_ext in '' $ac_executable_extensions; do
5242       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5243       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5244 # Check for GNU ac_path_GREP and select it if it is found.
5245   # Check for GNU $ac_path_GREP
5246 case `"$ac_path_GREP" --version 2>&1` in
5247 *GNU*)
5248   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5249 *)
5250   ac_count=0
5251   $as_echo_n 0123456789 >"conftest.in"
5252   while :
5253   do
5254     cat "conftest.in" "conftest.in" >"conftest.tmp"
5255     mv "conftest.tmp" "conftest.in"
5256     cp "conftest.in" "conftest.nl"
5257     $as_echo 'GREP' >> "conftest.nl"
5258     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5259     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5260     as_fn_arith $ac_count + 1 && ac_count=$as_val
5261     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5262       # Best one so far, save it but keep looking for a better one
5263       ac_cv_path_GREP="$ac_path_GREP"
5264       ac_path_GREP_max=$ac_count
5265     fi
5266     # 10*(2^10) chars as input seems more than enough
5267     test $ac_count -gt 10 && break
5268   done
5269   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5270 esac
5271
5272       $ac_path_GREP_found && break 3
5273     done
5274   done
5275   done
5276 IFS=$as_save_IFS
5277   if test -z "$ac_cv_path_GREP"; then
5278     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5279   fi
5280 else
5281   ac_cv_path_GREP=$GREP
5282 fi
5283
5284 fi
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5286 $as_echo "$ac_cv_path_GREP" >&6; }
5287  GREP="$ac_cv_path_GREP"
5288
5289
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5291 $as_echo_n "checking for egrep... " >&6; }
5292 if test "${ac_cv_path_EGREP+set}" = set; then :
5293   $as_echo_n "(cached) " >&6
5294 else
5295   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5296    then ac_cv_path_EGREP="$GREP -E"
5297    else
5298      if test -z "$EGREP"; then
5299   ac_path_EGREP_found=false
5300   # Loop through the user's path and test for each of PROGNAME-LIST
5301   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5302 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5303 do
5304   IFS=$as_save_IFS
5305   test -z "$as_dir" && as_dir=.
5306     for ac_prog in egrep; do
5307     for ac_exec_ext in '' $ac_executable_extensions; do
5308       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5309       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5310 # Check for GNU ac_path_EGREP and select it if it is found.
5311   # Check for GNU $ac_path_EGREP
5312 case `"$ac_path_EGREP" --version 2>&1` in
5313 *GNU*)
5314   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5315 *)
5316   ac_count=0
5317   $as_echo_n 0123456789 >"conftest.in"
5318   while :
5319   do
5320     cat "conftest.in" "conftest.in" >"conftest.tmp"
5321     mv "conftest.tmp" "conftest.in"
5322     cp "conftest.in" "conftest.nl"
5323     $as_echo 'EGREP' >> "conftest.nl"
5324     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5325     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5326     as_fn_arith $ac_count + 1 && ac_count=$as_val
5327     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5328       # Best one so far, save it but keep looking for a better one
5329       ac_cv_path_EGREP="$ac_path_EGREP"
5330       ac_path_EGREP_max=$ac_count
5331     fi
5332     # 10*(2^10) chars as input seems more than enough
5333     test $ac_count -gt 10 && break
5334   done
5335   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5336 esac
5337
5338       $ac_path_EGREP_found && break 3
5339     done
5340   done
5341   done
5342 IFS=$as_save_IFS
5343   if test -z "$ac_cv_path_EGREP"; then
5344     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5345   fi
5346 else
5347   ac_cv_path_EGREP=$EGREP
5348 fi
5349
5350    fi
5351 fi
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5353 $as_echo "$ac_cv_path_EGREP" >&6; }
5354  EGREP="$ac_cv_path_EGREP"
5355
5356
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5358 $as_echo_n "checking for ANSI C header files... " >&6; }
5359 if test "${ac_cv_header_stdc+set}" = set; then :
5360   $as_echo_n "(cached) " >&6
5361 else
5362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5363 /* end confdefs.h.  */
5364 #include <stdlib.h>
5365 #include <stdarg.h>
5366 #include <string.h>
5367 #include <float.h>
5368
5369 int
5370 main ()
5371 {
5372
5373   ;
5374   return 0;
5375 }
5376 _ACEOF
5377 if ac_fn_c_try_compile "$LINENO"; then :
5378   ac_cv_header_stdc=yes
5379 else
5380   ac_cv_header_stdc=no
5381 fi
5382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5383
5384 if test $ac_cv_header_stdc = yes; then
5385   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5387 /* end confdefs.h.  */
5388 #include <string.h>
5389
5390 _ACEOF
5391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5392   $EGREP "memchr" >/dev/null 2>&1; then :
5393
5394 else
5395   ac_cv_header_stdc=no
5396 fi
5397 rm -f conftest*
5398
5399 fi
5400
5401 if test $ac_cv_header_stdc = yes; then
5402   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5404 /* end confdefs.h.  */
5405 #include <stdlib.h>
5406
5407 _ACEOF
5408 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5409   $EGREP "free" >/dev/null 2>&1; then :
5410
5411 else
5412   ac_cv_header_stdc=no
5413 fi
5414 rm -f conftest*
5415
5416 fi
5417
5418 if test $ac_cv_header_stdc = yes; then
5419   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5420   if test "$cross_compiling" = yes; then :
5421   :
5422 else
5423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5424 /* end confdefs.h.  */
5425 #include <ctype.h>
5426 #include <stdlib.h>
5427 #if ((' ' & 0x0FF) == 0x020)
5428 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5429 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5430 #else
5431 # define ISLOWER(c) \
5432                    (('a' <= (c) && (c) <= 'i') \
5433                      || ('j' <= (c) && (c) <= 'r') \
5434                      || ('s' <= (c) && (c) <= 'z'))
5435 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5436 #endif
5437
5438 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5439 int
5440 main ()
5441 {
5442   int i;
5443   for (i = 0; i < 256; i++)
5444     if (XOR (islower (i), ISLOWER (i))
5445         || toupper (i) != TOUPPER (i))
5446       return 2;
5447   return 0;
5448 }
5449 _ACEOF
5450 if ac_fn_c_try_run "$LINENO"; then :
5451
5452 else
5453   ac_cv_header_stdc=no
5454 fi
5455 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5456   conftest.$ac_objext conftest.beam conftest.$ac_ext
5457 fi
5458
5459 fi
5460 fi
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5462 $as_echo "$ac_cv_header_stdc" >&6; }
5463 if test $ac_cv_header_stdc = yes; then
5464
5465 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5466
5467 fi
5468
5469 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5470 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5471                   inttypes.h stdint.h unistd.h
5472 do :
5473   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5474 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5475 "
5476 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5477   cat >>confdefs.h <<_ACEOF
5478 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5479 _ACEOF
5480
5481 fi
5482
5483 done
5484
5485
5486
5487   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5488 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
5489   MINIX=yes
5490 else
5491   MINIX=
5492 fi
5493
5494
5495   if test "$MINIX" = yes; then
5496
5497 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5498
5499
5500 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5501
5502
5503 $as_echo "#define _MINIX 1" >>confdefs.h
5504
5505   fi
5506
5507
5508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5509 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5510 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5511   $as_echo_n "(cached) " >&6
5512 else
5513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5514 /* end confdefs.h.  */
5515
5516 #         define __EXTENSIONS__ 1
5517           $ac_includes_default
5518 int
5519 main ()
5520 {
5521
5522   ;
5523   return 0;
5524 }
5525 _ACEOF
5526 if ac_fn_c_try_compile "$LINENO"; then :
5527   ac_cv_safe_to_define___extensions__=yes
5528 else
5529   ac_cv_safe_to_define___extensions__=no
5530 fi
5531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5532 fi
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5534 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5535   test $ac_cv_safe_to_define___extensions__ = yes &&
5536     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5537
5538   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5539
5540   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5541
5542   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5543
5544   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5545
5546
5547
5548
5549 # Make sure we can run config.sub.
5550 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5551   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5552
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5554 $as_echo_n "checking build system type... " >&6; }
5555 if test "${ac_cv_build+set}" = set; then :
5556   $as_echo_n "(cached) " >&6
5557 else
5558   ac_build_alias=$build_alias
5559 test "x$ac_build_alias" = x &&
5560   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5561 test "x$ac_build_alias" = x &&
5562   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5563 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5564   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5565
5566 fi
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5568 $as_echo "$ac_cv_build" >&6; }
5569 case $ac_cv_build in
5570 *-*-*) ;;
5571 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
5572 esac
5573 build=$ac_cv_build
5574 ac_save_IFS=$IFS; IFS='-'
5575 set x $ac_cv_build
5576 shift
5577 build_cpu=$1
5578 build_vendor=$2
5579 shift; shift
5580 # Remember, the first character of IFS is used to create $*,
5581 # except with old shells:
5582 build_os=$*
5583 IFS=$ac_save_IFS
5584 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5585
5586
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5588 $as_echo_n "checking host system type... " >&6; }
5589 if test "${ac_cv_host+set}" = set; then :
5590   $as_echo_n "(cached) " >&6
5591 else
5592   if test "x$host_alias" = x; then
5593   ac_cv_host=$ac_cv_build
5594 else
5595   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5596     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5597 fi
5598
5599 fi
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5601 $as_echo "$ac_cv_host" >&6; }
5602 case $ac_cv_host in
5603 *-*-*) ;;
5604 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
5605 esac
5606 host=$ac_cv_host
5607 ac_save_IFS=$IFS; IFS='-'
5608 set x $ac_cv_host
5609 shift
5610 host_cpu=$1
5611 host_vendor=$2
5612 shift; shift
5613 # Remember, the first character of IFS is used to create $*,
5614 # except with old shells:
5615 host_os=$*
5616 IFS=$ac_save_IFS
5617 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5618
5619
5620 enable_win32_dll=yes
5621
5622 case $host in
5623 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
5624   if test -n "$ac_tool_prefix"; then
5625   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5626 set dummy ${ac_tool_prefix}as; ac_word=$2
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5628 $as_echo_n "checking for $ac_word... " >&6; }
5629 if test "${ac_cv_prog_AS+set}" = set; then :
5630   $as_echo_n "(cached) " >&6
5631 else
5632   if test -n "$AS"; then
5633   ac_cv_prog_AS="$AS" # Let the user override the test.
5634 else
5635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5636 for as_dir in $PATH
5637 do
5638   IFS=$as_save_IFS
5639   test -z "$as_dir" && as_dir=.
5640     for ac_exec_ext in '' $ac_executable_extensions; do
5641   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5642     ac_cv_prog_AS="${ac_tool_prefix}as"
5643     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5644     break 2
5645   fi
5646 done
5647   done
5648 IFS=$as_save_IFS
5649
5650 fi
5651 fi
5652 AS=$ac_cv_prog_AS
5653 if test -n "$AS"; then
5654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5655 $as_echo "$AS" >&6; }
5656 else
5657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5658 $as_echo "no" >&6; }
5659 fi
5660
5661
5662 fi
5663 if test -z "$ac_cv_prog_AS"; then
5664   ac_ct_AS=$AS
5665   # Extract the first word of "as", so it can be a program name with args.
5666 set dummy as; ac_word=$2
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5668 $as_echo_n "checking for $ac_word... " >&6; }
5669 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5670   $as_echo_n "(cached) " >&6
5671 else
5672   if test -n "$ac_ct_AS"; then
5673   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5674 else
5675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5676 for as_dir in $PATH
5677 do
5678   IFS=$as_save_IFS
5679   test -z "$as_dir" && as_dir=.
5680     for ac_exec_ext in '' $ac_executable_extensions; do
5681   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5682     ac_cv_prog_ac_ct_AS="as"
5683     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5684     break 2
5685   fi
5686 done
5687   done
5688 IFS=$as_save_IFS
5689
5690 fi
5691 fi
5692 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5693 if test -n "$ac_ct_AS"; then
5694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5695 $as_echo "$ac_ct_AS" >&6; }
5696 else
5697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5698 $as_echo "no" >&6; }
5699 fi
5700
5701   if test "x$ac_ct_AS" = x; then
5702     AS="false"
5703   else
5704     case $cross_compiling:$ac_tool_warned in
5705 yes:)
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5708 ac_tool_warned=yes ;;
5709 esac
5710     AS=$ac_ct_AS
5711   fi
5712 else
5713   AS="$ac_cv_prog_AS"
5714 fi
5715
5716   if test -n "$ac_tool_prefix"; then
5717   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5718 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5720 $as_echo_n "checking for $ac_word... " >&6; }
5721 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
5722   $as_echo_n "(cached) " >&6
5723 else
5724   if test -n "$DLLTOOL"; then
5725   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5726 else
5727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5728 for as_dir in $PATH
5729 do
5730   IFS=$as_save_IFS
5731   test -z "$as_dir" && as_dir=.
5732     for ac_exec_ext in '' $ac_executable_extensions; do
5733   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5734     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5735     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5736     break 2
5737   fi
5738 done
5739   done
5740 IFS=$as_save_IFS
5741
5742 fi
5743 fi
5744 DLLTOOL=$ac_cv_prog_DLLTOOL
5745 if test -n "$DLLTOOL"; then
5746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5747 $as_echo "$DLLTOOL" >&6; }
5748 else
5749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5750 $as_echo "no" >&6; }
5751 fi
5752
5753
5754 fi
5755 if test -z "$ac_cv_prog_DLLTOOL"; then
5756   ac_ct_DLLTOOL=$DLLTOOL
5757   # Extract the first word of "dlltool", so it can be a program name with args.
5758 set dummy dlltool; ac_word=$2
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5760 $as_echo_n "checking for $ac_word... " >&6; }
5761 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
5762   $as_echo_n "(cached) " >&6
5763 else
5764   if test -n "$ac_ct_DLLTOOL"; then
5765   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5766 else
5767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5768 for as_dir in $PATH
5769 do
5770   IFS=$as_save_IFS
5771   test -z "$as_dir" && as_dir=.
5772     for ac_exec_ext in '' $ac_executable_extensions; do
5773   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5774     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5775     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5776     break 2
5777   fi
5778 done
5779   done
5780 IFS=$as_save_IFS
5781
5782 fi
5783 fi
5784 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5785 if test -n "$ac_ct_DLLTOOL"; then
5786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5787 $as_echo "$ac_ct_DLLTOOL" >&6; }
5788 else
5789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5790 $as_echo "no" >&6; }
5791 fi
5792
5793   if test "x$ac_ct_DLLTOOL" = x; then
5794     DLLTOOL="false"
5795   else
5796     case $cross_compiling:$ac_tool_warned in
5797 yes:)
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5800 ac_tool_warned=yes ;;
5801 esac
5802     DLLTOOL=$ac_ct_DLLTOOL
5803   fi
5804 else
5805   DLLTOOL="$ac_cv_prog_DLLTOOL"
5806 fi
5807
5808   if test -n "$ac_tool_prefix"; then
5809   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5810 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5812 $as_echo_n "checking for $ac_word... " >&6; }
5813 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5814   $as_echo_n "(cached) " >&6
5815 else
5816   if test -n "$OBJDUMP"; then
5817   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5818 else
5819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5820 for as_dir in $PATH
5821 do
5822   IFS=$as_save_IFS
5823   test -z "$as_dir" && as_dir=.
5824     for ac_exec_ext in '' $ac_executable_extensions; do
5825   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5826     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5827     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5828     break 2
5829   fi
5830 done
5831   done
5832 IFS=$as_save_IFS
5833
5834 fi
5835 fi
5836 OBJDUMP=$ac_cv_prog_OBJDUMP
5837 if test -n "$OBJDUMP"; then
5838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5839 $as_echo "$OBJDUMP" >&6; }
5840 else
5841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5842 $as_echo "no" >&6; }
5843 fi
5844
5845
5846 fi
5847 if test -z "$ac_cv_prog_OBJDUMP"; then
5848   ac_ct_OBJDUMP=$OBJDUMP
5849   # Extract the first word of "objdump", so it can be a program name with args.
5850 set dummy objdump; ac_word=$2
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5852 $as_echo_n "checking for $ac_word... " >&6; }
5853 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5854   $as_echo_n "(cached) " >&6
5855 else
5856   if test -n "$ac_ct_OBJDUMP"; then
5857   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5858 else
5859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5860 for as_dir in $PATH
5861 do
5862   IFS=$as_save_IFS
5863   test -z "$as_dir" && as_dir=.
5864     for ac_exec_ext in '' $ac_executable_extensions; do
5865   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5866     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5867     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5868     break 2
5869   fi
5870 done
5871   done
5872 IFS=$as_save_IFS
5873
5874 fi
5875 fi
5876 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5877 if test -n "$ac_ct_OBJDUMP"; then
5878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5879 $as_echo "$ac_ct_OBJDUMP" >&6; }
5880 else
5881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5882 $as_echo "no" >&6; }
5883 fi
5884
5885   if test "x$ac_ct_OBJDUMP" = x; then
5886     OBJDUMP="false"
5887   else
5888     case $cross_compiling:$ac_tool_warned in
5889 yes:)
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5892 ac_tool_warned=yes ;;
5893 esac
5894     OBJDUMP=$ac_ct_OBJDUMP
5895   fi
5896 else
5897   OBJDUMP="$ac_cv_prog_OBJDUMP"
5898 fi
5899
5900   ;;
5901 esac
5902
5903 test -z "$AS" && AS=as
5904
5905
5906
5907
5908
5909 test -z "$DLLTOOL" && DLLTOOL=dlltool
5910
5911
5912
5913
5914
5915 test -z "$OBJDUMP" && OBJDUMP=objdump
5916
5917
5918
5919
5920
5921
5922
5923 case `pwd` in
5924   *\ * | *\     *)
5925     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5926 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5927 esac
5928
5929
5930
5931 macro_version='2.2.6b'
5932 macro_revision='1.3017'
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946 ltmain="$ac_aux_dir/ltmain.sh"
5947
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5949 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5950 if test "${ac_cv_path_SED+set}" = set; then :
5951   $as_echo_n "(cached) " >&6
5952 else
5953             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5954      for ac_i in 1 2 3 4 5 6 7; do
5955        ac_script="$ac_script$as_nl$ac_script"
5956      done
5957      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5958      { ac_script=; unset ac_script;}
5959      if test -z "$SED"; then
5960   ac_path_SED_found=false
5961   # Loop through the user's path and test for each of PROGNAME-LIST
5962   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5963 for as_dir in $PATH
5964 do
5965   IFS=$as_save_IFS
5966   test -z "$as_dir" && as_dir=.
5967     for ac_prog in sed gsed; do
5968     for ac_exec_ext in '' $ac_executable_extensions; do
5969       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5970       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5971 # Check for GNU ac_path_SED and select it if it is found.
5972   # Check for GNU $ac_path_SED
5973 case `"$ac_path_SED" --version 2>&1` in
5974 *GNU*)
5975   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5976 *)
5977   ac_count=0
5978   $as_echo_n 0123456789 >"conftest.in"
5979   while :
5980   do
5981     cat "conftest.in" "conftest.in" >"conftest.tmp"
5982     mv "conftest.tmp" "conftest.in"
5983     cp "conftest.in" "conftest.nl"
5984     $as_echo '' >> "conftest.nl"
5985     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5986     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5987     as_fn_arith $ac_count + 1 && ac_count=$as_val
5988     if test $ac_count -gt ${ac_path_SED_max-0}; then
5989       # Best one so far, save it but keep looking for a better one
5990       ac_cv_path_SED="$ac_path_SED"
5991       ac_path_SED_max=$ac_count
5992     fi
5993     # 10*(2^10) chars as input seems more than enough
5994     test $ac_count -gt 10 && break
5995   done
5996   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5997 esac
5998
5999       $ac_path_SED_found && break 3
6000     done
6001   done
6002   done
6003 IFS=$as_save_IFS
6004   if test -z "$ac_cv_path_SED"; then
6005     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6006   fi
6007 else
6008   ac_cv_path_SED=$SED
6009 fi
6010
6011 fi
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6013 $as_echo "$ac_cv_path_SED" >&6; }
6014  SED="$ac_cv_path_SED"
6015   rm -f conftest.sed
6016
6017 test -z "$SED" && SED=sed
6018 Xsed="$SED -e 1s/^X//"
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6031 $as_echo_n "checking for fgrep... " >&6; }
6032 if test "${ac_cv_path_FGREP+set}" = set; then :
6033   $as_echo_n "(cached) " >&6
6034 else
6035   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6036    then ac_cv_path_FGREP="$GREP -F"
6037    else
6038      if test -z "$FGREP"; then
6039   ac_path_FGREP_found=false
6040   # Loop through the user's path and test for each of PROGNAME-LIST
6041   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6042 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6043 do
6044   IFS=$as_save_IFS
6045   test -z "$as_dir" && as_dir=.
6046     for ac_prog in fgrep; do
6047     for ac_exec_ext in '' $ac_executable_extensions; do
6048       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6049       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6050 # Check for GNU ac_path_FGREP and select it if it is found.
6051   # Check for GNU $ac_path_FGREP
6052 case `"$ac_path_FGREP" --version 2>&1` in
6053 *GNU*)
6054   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6055 *)
6056   ac_count=0
6057   $as_echo_n 0123456789 >"conftest.in"
6058   while :
6059   do
6060     cat "conftest.in" "conftest.in" >"conftest.tmp"
6061     mv "conftest.tmp" "conftest.in"
6062     cp "conftest.in" "conftest.nl"
6063     $as_echo 'FGREP' >> "conftest.nl"
6064     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6065     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6066     as_fn_arith $ac_count + 1 && ac_count=$as_val
6067     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6068       # Best one so far, save it but keep looking for a better one
6069       ac_cv_path_FGREP="$ac_path_FGREP"
6070       ac_path_FGREP_max=$ac_count
6071     fi
6072     # 10*(2^10) chars as input seems more than enough
6073     test $ac_count -gt 10 && break
6074   done
6075   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6076 esac
6077
6078       $ac_path_FGREP_found && break 3
6079     done
6080   done
6081   done
6082 IFS=$as_save_IFS
6083   if test -z "$ac_cv_path_FGREP"; then
6084     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6085   fi
6086 else
6087   ac_cv_path_FGREP=$FGREP
6088 fi
6089
6090    fi
6091 fi
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6093 $as_echo "$ac_cv_path_FGREP" >&6; }
6094  FGREP="$ac_cv_path_FGREP"
6095
6096
6097 test -z "$GREP" && GREP=grep
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117 # Check whether --with-gnu-ld was given.
6118 if test "${with_gnu_ld+set}" = set; then :
6119   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6120 else
6121   with_gnu_ld=no
6122 fi
6123
6124 ac_prog=ld
6125 if test "$GCC" = yes; then
6126   # Check if gcc -print-prog-name=ld gives a path.
6127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6128 $as_echo_n "checking for ld used by $CC... " >&6; }
6129   case $host in
6130   *-*-mingw*)
6131     # gcc leaves a trailing carriage return which upsets mingw
6132     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6133   *)
6134     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6135   esac
6136   case $ac_prog in
6137     # Accept absolute paths.
6138     [\\/]* | ?:[\\/]*)
6139       re_direlt='/[^/][^/]*/\.\./'
6140       # Canonicalize the pathname of ld
6141       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6142       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6143         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6144       done
6145       test -z "$LD" && LD="$ac_prog"
6146       ;;
6147   "")
6148     # If it fails, then pretend we aren't using GCC.
6149     ac_prog=ld
6150     ;;
6151   *)
6152     # If it is relative, then search for the first ld in PATH.
6153     with_gnu_ld=unknown
6154     ;;
6155   esac
6156 elif test "$with_gnu_ld" = yes; then
6157   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6158 $as_echo_n "checking for GNU ld... " >&6; }
6159 else
6160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6161 $as_echo_n "checking for non-GNU ld... " >&6; }
6162 fi
6163 if test "${lt_cv_path_LD+set}" = set; then :
6164   $as_echo_n "(cached) " >&6
6165 else
6166   if test -z "$LD"; then
6167   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6168   for ac_dir in $PATH; do
6169     IFS="$lt_save_ifs"
6170     test -z "$ac_dir" && ac_dir=.
6171     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6172       lt_cv_path_LD="$ac_dir/$ac_prog"
6173       # Check to see if the program is GNU ld.  I'd rather use --version,
6174       # but apparently some variants of GNU ld only accept -v.
6175       # Break only if it was the GNU/non-GNU ld that we prefer.
6176       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6177       *GNU* | *'with BFD'*)
6178         test "$with_gnu_ld" != no && break
6179         ;;
6180       *)
6181         test "$with_gnu_ld" != yes && break
6182         ;;
6183       esac
6184     fi
6185   done
6186   IFS="$lt_save_ifs"
6187 else
6188   lt_cv_path_LD="$LD" # Let the user override the test with a path.
6189 fi
6190 fi
6191
6192 LD="$lt_cv_path_LD"
6193 if test -n "$LD"; then
6194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6195 $as_echo "$LD" >&6; }
6196 else
6197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6198 $as_echo "no" >&6; }
6199 fi
6200 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6202 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6203 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6204   $as_echo_n "(cached) " >&6
6205 else
6206   # I'd rather use --version here, but apparently some GNU lds only accept -v.
6207 case `$LD -v 2>&1 </dev/null` in
6208 *GNU* | *'with BFD'*)
6209   lt_cv_prog_gnu_ld=yes
6210   ;;
6211 *)
6212   lt_cv_prog_gnu_ld=no
6213   ;;
6214 esac
6215 fi
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6217 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6218 with_gnu_ld=$lt_cv_prog_gnu_ld
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6229 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6230 if test "${lt_cv_path_NM+set}" = set; then :
6231   $as_echo_n "(cached) " >&6
6232 else
6233   if test -n "$NM"; then
6234   # Let the user override the test.
6235   lt_cv_path_NM="$NM"
6236 else
6237   lt_nm_to_check="${ac_tool_prefix}nm"
6238   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6239     lt_nm_to_check="$lt_nm_to_check nm"
6240   fi
6241   for lt_tmp_nm in $lt_nm_to_check; do
6242     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6243     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6244       IFS="$lt_save_ifs"
6245       test -z "$ac_dir" && ac_dir=.
6246       tmp_nm="$ac_dir/$lt_tmp_nm"
6247       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6248         # Check to see if the nm accepts a BSD-compat flag.
6249         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6250         #   nm: unknown option "B" ignored
6251         # Tru64's nm complains that /dev/null is an invalid object file
6252         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6253         */dev/null* | *'Invalid file or object type'*)
6254           lt_cv_path_NM="$tmp_nm -B"
6255           break
6256           ;;
6257         *)
6258           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6259           */dev/null*)
6260             lt_cv_path_NM="$tmp_nm -p"
6261             break
6262             ;;
6263           *)
6264             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6265             continue # so that we can try to find one that supports BSD flags
6266             ;;
6267           esac
6268           ;;
6269         esac
6270       fi
6271     done
6272     IFS="$lt_save_ifs"
6273   done
6274   : ${lt_cv_path_NM=no}
6275 fi
6276 fi
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6278 $as_echo "$lt_cv_path_NM" >&6; }
6279 if test "$lt_cv_path_NM" != "no"; then
6280   NM="$lt_cv_path_NM"
6281 else
6282   # Didn't find any BSD compatible name lister, look for dumpbin.
6283   if test -n "$ac_tool_prefix"; then
6284   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6285   do
6286     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6287 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6289 $as_echo_n "checking for $ac_word... " >&6; }
6290 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6291   $as_echo_n "(cached) " >&6
6292 else
6293   if test -n "$DUMPBIN"; then
6294   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6295 else
6296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6297 for as_dir in $PATH
6298 do
6299   IFS=$as_save_IFS
6300   test -z "$as_dir" && as_dir=.
6301     for ac_exec_ext in '' $ac_executable_extensions; do
6302   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6303     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6304     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6305     break 2
6306   fi
6307 done
6308   done
6309 IFS=$as_save_IFS
6310
6311 fi
6312 fi
6313 DUMPBIN=$ac_cv_prog_DUMPBIN
6314 if test -n "$DUMPBIN"; then
6315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6316 $as_echo "$DUMPBIN" >&6; }
6317 else
6318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6319 $as_echo "no" >&6; }
6320 fi
6321
6322
6323     test -n "$DUMPBIN" && break
6324   done
6325 fi
6326 if test -z "$DUMPBIN"; then
6327   ac_ct_DUMPBIN=$DUMPBIN
6328   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6329 do
6330   # Extract the first word of "$ac_prog", so it can be a program name with args.
6331 set dummy $ac_prog; ac_word=$2
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6333 $as_echo_n "checking for $ac_word... " >&6; }
6334 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6335   $as_echo_n "(cached) " >&6
6336 else
6337   if test -n "$ac_ct_DUMPBIN"; then
6338   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6339 else
6340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6341 for as_dir in $PATH
6342 do
6343   IFS=$as_save_IFS
6344   test -z "$as_dir" && as_dir=.
6345     for ac_exec_ext in '' $ac_executable_extensions; do
6346   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6347     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6348     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6349     break 2
6350   fi
6351 done
6352   done
6353 IFS=$as_save_IFS
6354
6355 fi
6356 fi
6357 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6358 if test -n "$ac_ct_DUMPBIN"; then
6359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6360 $as_echo "$ac_ct_DUMPBIN" >&6; }
6361 else
6362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6363 $as_echo "no" >&6; }
6364 fi
6365
6366
6367   test -n "$ac_ct_DUMPBIN" && break
6368 done
6369
6370   if test "x$ac_ct_DUMPBIN" = x; then
6371     DUMPBIN=":"
6372   else
6373     case $cross_compiling:$ac_tool_warned in
6374 yes:)
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6376 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6377 ac_tool_warned=yes ;;
6378 esac
6379     DUMPBIN=$ac_ct_DUMPBIN
6380   fi
6381 fi
6382
6383
6384   if test "$DUMPBIN" != ":"; then
6385     NM="$DUMPBIN"
6386   fi
6387 fi
6388 test -z "$NM" && NM=nm
6389
6390
6391
6392
6393
6394
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6396 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6397 if test "${lt_cv_nm_interface+set}" = set; then :
6398   $as_echo_n "(cached) " >&6
6399 else
6400   lt_cv_nm_interface="BSD nm"
6401   echo "int some_variable = 0;" > conftest.$ac_ext
6402   (eval echo "\"\$as_me:6402: $ac_compile\"" >&5)
6403   (eval "$ac_compile" 2>conftest.err)
6404   cat conftest.err >&5
6405   (eval echo "\"\$as_me:6405: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6406   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6407   cat conftest.err >&5
6408   (eval echo "\"\$as_me:6408: output\"" >&5)
6409   cat conftest.out >&5
6410   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6411     lt_cv_nm_interface="MS dumpbin"
6412   fi
6413   rm -f conftest*
6414 fi
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6416 $as_echo "$lt_cv_nm_interface" >&6; }
6417
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6419 $as_echo_n "checking whether ln -s works... " >&6; }
6420 LN_S=$as_ln_s
6421 if test "$LN_S" = "ln -s"; then
6422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6423 $as_echo "yes" >&6; }
6424 else
6425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6426 $as_echo "no, using $LN_S" >&6; }
6427 fi
6428
6429 # find the maximum length of command line arguments
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6431 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6432 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6433   $as_echo_n "(cached) " >&6
6434 else
6435     i=0
6436   teststring="ABCD"
6437
6438   case $build_os in
6439   msdosdjgpp*)
6440     # On DJGPP, this test can blow up pretty badly due to problems in libc
6441     # (any single argument exceeding 2000 bytes causes a buffer overrun
6442     # during glob expansion).  Even if it were fixed, the result of this
6443     # check would be larger than it should be.
6444     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6445     ;;
6446
6447   gnu*)
6448     # Under GNU Hurd, this test is not required because there is
6449     # no limit to the length of command line arguments.
6450     # Libtool will interpret -1 as no limit whatsoever
6451     lt_cv_sys_max_cmd_len=-1;
6452     ;;
6453
6454   cygwin* | mingw* | cegcc*)
6455     # On Win9x/ME, this test blows up -- it succeeds, but takes
6456     # about 5 minutes as the teststring grows exponentially.
6457     # Worse, since 9x/ME are not pre-emptively multitasking,
6458     # you end up with a "frozen" computer, even though with patience
6459     # the test eventually succeeds (with a max line length of 256k).
6460     # Instead, let's just punt: use the minimum linelength reported by
6461     # all of the supported platforms: 8192 (on NT/2K/XP).
6462     lt_cv_sys_max_cmd_len=8192;
6463     ;;
6464
6465   amigaos*)
6466     # On AmigaOS with pdksh, this test takes hours, literally.
6467     # So we just punt and use a minimum line length of 8192.
6468     lt_cv_sys_max_cmd_len=8192;
6469     ;;
6470
6471   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6472     # This has been around since 386BSD, at least.  Likely further.
6473     if test -x /sbin/sysctl; then
6474       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6475     elif test -x /usr/sbin/sysctl; then
6476       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6477     else
6478       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6479     fi
6480     # And add a safety zone
6481     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6482     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6483     ;;
6484
6485   interix*)
6486     # We know the value 262144 and hardcode it with a safety zone (like BSD)
6487     lt_cv_sys_max_cmd_len=196608
6488     ;;
6489
6490   osf*)
6491     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6492     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6493     # nice to cause kernel panics so lets avoid the loop below.
6494     # First set a reasonable default.
6495     lt_cv_sys_max_cmd_len=16384
6496     #
6497     if test -x /sbin/sysconfig; then
6498       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6499         *1*) lt_cv_sys_max_cmd_len=-1 ;;
6500       esac
6501     fi
6502     ;;
6503   sco3.2v5*)
6504     lt_cv_sys_max_cmd_len=102400
6505     ;;
6506   sysv5* | sco5v6* | sysv4.2uw2*)
6507     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6508     if test -n "$kargmax"; then
6509       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6510     else
6511       lt_cv_sys_max_cmd_len=32768
6512     fi
6513     ;;
6514   *)
6515     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6516     if test -n "$lt_cv_sys_max_cmd_len"; then
6517       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6518       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6519     else
6520       # Make teststring a little bigger before we do anything with it.
6521       # a 1K string should be a reasonable start.
6522       for i in 1 2 3 4 5 6 7 8 ; do
6523         teststring=$teststring$teststring
6524       done
6525       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6526       # If test is not a shell built-in, we'll probably end up computing a
6527       # maximum length that is only half of the actual maximum length, but
6528       # we can't tell.
6529       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6530                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6531               test $i != 17 # 1/2 MB should be enough
6532       do
6533         i=`expr $i + 1`
6534         teststring=$teststring$teststring
6535       done
6536       # Only check the string length outside the loop.
6537       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6538       teststring=
6539       # Add a significant safety factor because C++ compilers can tack on
6540       # massive amounts of additional arguments before passing them to the
6541       # linker.  It appears as though 1/2 is a usable value.
6542       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6543     fi
6544     ;;
6545   esac
6546
6547 fi
6548
6549 if test -n $lt_cv_sys_max_cmd_len ; then
6550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6551 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6552 else
6553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6554 $as_echo "none" >&6; }
6555 fi
6556 max_cmd_len=$lt_cv_sys_max_cmd_len
6557
6558
6559
6560
6561
6562
6563 : ${CP="cp -f"}
6564 : ${MV="mv -f"}
6565 : ${RM="rm -f"}
6566
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6568 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6569 # Try some XSI features
6570 xsi_shell=no
6571 ( _lt_dummy="a/b/c"
6572   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6573       = c,a/b,, \
6574     && eval 'test $(( 1 + 1 )) -eq 2 \
6575     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6576   && xsi_shell=yes
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6578 $as_echo "$xsi_shell" >&6; }
6579
6580
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6582 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6583 lt_shell_append=no
6584 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6585     >/dev/null 2>&1 \
6586   && lt_shell_append=yes
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6588 $as_echo "$lt_shell_append" >&6; }
6589
6590
6591 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6592   lt_unset=unset
6593 else
6594   lt_unset=false
6595 fi
6596
6597
6598
6599
6600
6601 # test EBCDIC or ASCII
6602 case `echo X|tr X '\101'` in
6603  A) # ASCII based system
6604     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6605   lt_SP2NL='tr \040 \012'
6606   lt_NL2SP='tr \015\012 \040\040'
6607   ;;
6608  *) # EBCDIC based system
6609   lt_SP2NL='tr \100 \n'
6610   lt_NL2SP='tr \r\n \100\100'
6611   ;;
6612 esac
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6623 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6624 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6625   $as_echo_n "(cached) " >&6
6626 else
6627   lt_cv_ld_reload_flag='-r'
6628 fi
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6630 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6631 reload_flag=$lt_cv_ld_reload_flag
6632 case $reload_flag in
6633 "" | " "*) ;;
6634 *) reload_flag=" $reload_flag" ;;
6635 esac
6636 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6637 case $host_os in
6638   darwin*)
6639     if test "$GCC" = yes; then
6640       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6641     else
6642       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6643     fi
6644     ;;
6645 esac
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655 if test -n "$ac_tool_prefix"; then
6656   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6657 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6659 $as_echo_n "checking for $ac_word... " >&6; }
6660 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6661   $as_echo_n "(cached) " >&6
6662 else
6663   if test -n "$OBJDUMP"; then
6664   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6665 else
6666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6667 for as_dir in $PATH
6668 do
6669   IFS=$as_save_IFS
6670   test -z "$as_dir" && as_dir=.
6671     for ac_exec_ext in '' $ac_executable_extensions; do
6672   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6673     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6674     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6675     break 2
6676   fi
6677 done
6678   done
6679 IFS=$as_save_IFS
6680
6681 fi
6682 fi
6683 OBJDUMP=$ac_cv_prog_OBJDUMP
6684 if test -n "$OBJDUMP"; then
6685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6686 $as_echo "$OBJDUMP" >&6; }
6687 else
6688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6689 $as_echo "no" >&6; }
6690 fi
6691
6692
6693 fi
6694 if test -z "$ac_cv_prog_OBJDUMP"; then
6695   ac_ct_OBJDUMP=$OBJDUMP
6696   # Extract the first word of "objdump", so it can be a program name with args.
6697 set dummy objdump; ac_word=$2
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6699 $as_echo_n "checking for $ac_word... " >&6; }
6700 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6701   $as_echo_n "(cached) " >&6
6702 else
6703   if test -n "$ac_ct_OBJDUMP"; then
6704   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6705 else
6706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6707 for as_dir in $PATH
6708 do
6709   IFS=$as_save_IFS
6710   test -z "$as_dir" && as_dir=.
6711     for ac_exec_ext in '' $ac_executable_extensions; do
6712   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6713     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6714     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6715     break 2
6716   fi
6717 done
6718   done
6719 IFS=$as_save_IFS
6720
6721 fi
6722 fi
6723 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6724 if test -n "$ac_ct_OBJDUMP"; then
6725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6726 $as_echo "$ac_ct_OBJDUMP" >&6; }
6727 else
6728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6729 $as_echo "no" >&6; }
6730 fi
6731
6732   if test "x$ac_ct_OBJDUMP" = x; then
6733     OBJDUMP="false"
6734   else
6735     case $cross_compiling:$ac_tool_warned in
6736 yes:)
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6739 ac_tool_warned=yes ;;
6740 esac
6741     OBJDUMP=$ac_ct_OBJDUMP
6742   fi
6743 else
6744   OBJDUMP="$ac_cv_prog_OBJDUMP"
6745 fi
6746
6747 test -z "$OBJDUMP" && OBJDUMP=objdump
6748
6749
6750
6751
6752
6753
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6755 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6756 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6757   $as_echo_n "(cached) " >&6
6758 else
6759   lt_cv_file_magic_cmd='$MAGIC_CMD'
6760 lt_cv_file_magic_test_file=
6761 lt_cv_deplibs_check_method='unknown'
6762 # Need to set the preceding variable on all platforms that support
6763 # interlibrary dependencies.
6764 # 'none' -- dependencies not supported.
6765 # `unknown' -- same as none, but documents that we really don't know.
6766 # 'pass_all' -- all dependencies passed with no checks.
6767 # 'test_compile' -- check by making test program.
6768 # 'file_magic [[regex]]' -- check by looking for files in library path
6769 # which responds to the $file_magic_cmd with a given extended regex.
6770 # If you have `file' or equivalent on your system and you're not sure
6771 # whether `pass_all' will *always* work, you probably want this one.
6772
6773 case $host_os in
6774 aix[4-9]*)
6775   lt_cv_deplibs_check_method=pass_all
6776   ;;
6777
6778 beos*)
6779   lt_cv_deplibs_check_method=pass_all
6780   ;;
6781
6782 bsdi[45]*)
6783   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6784   lt_cv_file_magic_cmd='/usr/bin/file -L'
6785   lt_cv_file_magic_test_file=/shlib/libc.so
6786   ;;
6787
6788 cygwin*)
6789   # func_win32_libid is a shell function defined in ltmain.sh
6790   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6791   lt_cv_file_magic_cmd='func_win32_libid'
6792   ;;
6793
6794 mingw* | pw32*)
6795   # Base MSYS/MinGW do not provide the 'file' command needed by
6796   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6797   # unless we find 'file', for example because we are cross-compiling.
6798   if ( file / ) >/dev/null 2>&1; then
6799     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6800     lt_cv_file_magic_cmd='func_win32_libid'
6801   else
6802     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6803     lt_cv_file_magic_cmd='$OBJDUMP -f'
6804   fi
6805   ;;
6806
6807 cegcc)
6808   # use the weaker test based on 'objdump'. See mingw*.
6809   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6810   lt_cv_file_magic_cmd='$OBJDUMP -f'
6811   ;;
6812
6813 darwin* | rhapsody*)
6814   lt_cv_deplibs_check_method=pass_all
6815   ;;
6816
6817 freebsd* | dragonfly*)
6818   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6819     case $host_cpu in
6820     i*86 )
6821       # Not sure whether the presence of OpenBSD here was a mistake.
6822       # Let's accept both of them until this is cleared up.
6823       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6824       lt_cv_file_magic_cmd=/usr/bin/file
6825       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6826       ;;
6827     esac
6828   else
6829     lt_cv_deplibs_check_method=pass_all
6830   fi
6831   ;;
6832
6833 gnu*)
6834   lt_cv_deplibs_check_method=pass_all
6835   ;;
6836
6837 hpux10.20* | hpux11*)
6838   lt_cv_file_magic_cmd=/usr/bin/file
6839   case $host_cpu in
6840   ia64*)
6841     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6842     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6843     ;;
6844   hppa*64*)
6845     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6846     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6847     ;;
6848   *)
6849     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6850     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6851     ;;
6852   esac
6853   ;;
6854
6855 interix[3-9]*)
6856   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6857   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6858   ;;
6859
6860 irix5* | irix6* | nonstopux*)
6861   case $LD in
6862   *-32|*"-32 ") libmagic=32-bit;;
6863   *-n32|*"-n32 ") libmagic=N32;;
6864   *-64|*"-64 ") libmagic=64-bit;;
6865   *) libmagic=never-match;;
6866   esac
6867   lt_cv_deplibs_check_method=pass_all
6868   ;;
6869
6870 # This must be Linux ELF.
6871 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6872   lt_cv_deplibs_check_method=pass_all
6873   ;;
6874
6875 netbsd* | netbsdelf*-gnu)
6876   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6877     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6878   else
6879     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6880   fi
6881   ;;
6882
6883 newos6*)
6884   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6885   lt_cv_file_magic_cmd=/usr/bin/file
6886   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6887   ;;
6888
6889 *nto* | *qnx*)
6890   lt_cv_deplibs_check_method=pass_all
6891   ;;
6892
6893 openbsd*)
6894   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6895     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6896   else
6897     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6898   fi
6899   ;;
6900
6901 osf3* | osf4* | osf5*)
6902   lt_cv_deplibs_check_method=pass_all
6903   ;;
6904
6905 rdos*)
6906   lt_cv_deplibs_check_method=pass_all
6907   ;;
6908
6909 solaris*)
6910   lt_cv_deplibs_check_method=pass_all
6911   ;;
6912
6913 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6914   lt_cv_deplibs_check_method=pass_all
6915   ;;
6916
6917 sysv4 | sysv4.3*)
6918   case $host_vendor in
6919   motorola)
6920     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6921     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6922     ;;
6923   ncr)
6924     lt_cv_deplibs_check_method=pass_all
6925     ;;
6926   sequent)
6927     lt_cv_file_magic_cmd='/bin/file'
6928     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6929     ;;
6930   sni)
6931     lt_cv_file_magic_cmd='/bin/file'
6932     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6933     lt_cv_file_magic_test_file=/lib/libc.so
6934     ;;
6935   siemens)
6936     lt_cv_deplibs_check_method=pass_all
6937     ;;
6938   pc)
6939     lt_cv_deplibs_check_method=pass_all
6940     ;;
6941   esac
6942   ;;
6943
6944 tpf*)
6945   lt_cv_deplibs_check_method=pass_all
6946   ;;
6947 esac
6948
6949 fi
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6951 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6952 file_magic_cmd=$lt_cv_file_magic_cmd
6953 deplibs_check_method=$lt_cv_deplibs_check_method
6954 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967 if test -n "$ac_tool_prefix"; then
6968   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6969 set dummy ${ac_tool_prefix}ar; ac_word=$2
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6971 $as_echo_n "checking for $ac_word... " >&6; }
6972 if test "${ac_cv_prog_AR+set}" = set; then :
6973   $as_echo_n "(cached) " >&6
6974 else
6975   if test -n "$AR"; then
6976   ac_cv_prog_AR="$AR" # Let the user override the test.
6977 else
6978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6979 for as_dir in $PATH
6980 do
6981   IFS=$as_save_IFS
6982   test -z "$as_dir" && as_dir=.
6983     for ac_exec_ext in '' $ac_executable_extensions; do
6984   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6985     ac_cv_prog_AR="${ac_tool_prefix}ar"
6986     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6987     break 2
6988   fi
6989 done
6990   done
6991 IFS=$as_save_IFS
6992
6993 fi
6994 fi
6995 AR=$ac_cv_prog_AR
6996 if test -n "$AR"; then
6997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6998 $as_echo "$AR" >&6; }
6999 else
7000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7001 $as_echo "no" >&6; }
7002 fi
7003
7004
7005 fi
7006 if test -z "$ac_cv_prog_AR"; then
7007   ac_ct_AR=$AR
7008   # Extract the first word of "ar", so it can be a program name with args.
7009 set dummy ar; ac_word=$2
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7011 $as_echo_n "checking for $ac_word... " >&6; }
7012 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7013   $as_echo_n "(cached) " >&6
7014 else
7015   if test -n "$ac_ct_AR"; then
7016   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7017 else
7018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7019 for as_dir in $PATH
7020 do
7021   IFS=$as_save_IFS
7022   test -z "$as_dir" && as_dir=.
7023     for ac_exec_ext in '' $ac_executable_extensions; do
7024   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7025     ac_cv_prog_ac_ct_AR="ar"
7026     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7027     break 2
7028   fi
7029 done
7030   done
7031 IFS=$as_save_IFS
7032
7033 fi
7034 fi
7035 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7036 if test -n "$ac_ct_AR"; then
7037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7038 $as_echo "$ac_ct_AR" >&6; }
7039 else
7040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7041 $as_echo "no" >&6; }
7042 fi
7043
7044   if test "x$ac_ct_AR" = x; then
7045     AR="false"
7046   else
7047     case $cross_compiling:$ac_tool_warned in
7048 yes:)
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7051 ac_tool_warned=yes ;;
7052 esac
7053     AR=$ac_ct_AR
7054   fi
7055 else
7056   AR="$ac_cv_prog_AR"
7057 fi
7058
7059 test -z "$AR" && AR=ar
7060 test -z "$AR_FLAGS" && AR_FLAGS=cru
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072 if test -n "$ac_tool_prefix"; then
7073   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7074 set dummy ${ac_tool_prefix}strip; ac_word=$2
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7076 $as_echo_n "checking for $ac_word... " >&6; }
7077 if test "${ac_cv_prog_STRIP+set}" = set; then :
7078   $as_echo_n "(cached) " >&6
7079 else
7080   if test -n "$STRIP"; then
7081   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7082 else
7083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7084 for as_dir in $PATH
7085 do
7086   IFS=$as_save_IFS
7087   test -z "$as_dir" && as_dir=.
7088     for ac_exec_ext in '' $ac_executable_extensions; do
7089   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7090     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7091     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7092     break 2
7093   fi
7094 done
7095   done
7096 IFS=$as_save_IFS
7097
7098 fi
7099 fi
7100 STRIP=$ac_cv_prog_STRIP
7101 if test -n "$STRIP"; then
7102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7103 $as_echo "$STRIP" >&6; }
7104 else
7105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7106 $as_echo "no" >&6; }
7107 fi
7108
7109
7110 fi
7111 if test -z "$ac_cv_prog_STRIP"; then
7112   ac_ct_STRIP=$STRIP
7113   # Extract the first word of "strip", so it can be a program name with args.
7114 set dummy strip; ac_word=$2
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7116 $as_echo_n "checking for $ac_word... " >&6; }
7117 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7118   $as_echo_n "(cached) " >&6
7119 else
7120   if test -n "$ac_ct_STRIP"; then
7121   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7122 else
7123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7124 for as_dir in $PATH
7125 do
7126   IFS=$as_save_IFS
7127   test -z "$as_dir" && as_dir=.
7128     for ac_exec_ext in '' $ac_executable_extensions; do
7129   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7130     ac_cv_prog_ac_ct_STRIP="strip"
7131     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7132     break 2
7133   fi
7134 done
7135   done
7136 IFS=$as_save_IFS
7137
7138 fi
7139 fi
7140 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7141 if test -n "$ac_ct_STRIP"; then
7142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7143 $as_echo "$ac_ct_STRIP" >&6; }
7144 else
7145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7146 $as_echo "no" >&6; }
7147 fi
7148
7149   if test "x$ac_ct_STRIP" = x; then
7150     STRIP=":"
7151   else
7152     case $cross_compiling:$ac_tool_warned in
7153 yes:)
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7155 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7156 ac_tool_warned=yes ;;
7157 esac
7158     STRIP=$ac_ct_STRIP
7159   fi
7160 else
7161   STRIP="$ac_cv_prog_STRIP"
7162 fi
7163
7164 test -z "$STRIP" && STRIP=:
7165
7166
7167
7168
7169
7170
7171 if test -n "$ac_tool_prefix"; then
7172   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7173 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7175 $as_echo_n "checking for $ac_word... " >&6; }
7176 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7177   $as_echo_n "(cached) " >&6
7178 else
7179   if test -n "$RANLIB"; then
7180   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7181 else
7182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7183 for as_dir in $PATH
7184 do
7185   IFS=$as_save_IFS
7186   test -z "$as_dir" && as_dir=.
7187     for ac_exec_ext in '' $ac_executable_extensions; do
7188   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7189     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7190     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7191     break 2
7192   fi
7193 done
7194   done
7195 IFS=$as_save_IFS
7196
7197 fi
7198 fi
7199 RANLIB=$ac_cv_prog_RANLIB
7200 if test -n "$RANLIB"; then
7201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7202 $as_echo "$RANLIB" >&6; }
7203 else
7204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7205 $as_echo "no" >&6; }
7206 fi
7207
7208
7209 fi
7210 if test -z "$ac_cv_prog_RANLIB"; then
7211   ac_ct_RANLIB=$RANLIB
7212   # Extract the first word of "ranlib", so it can be a program name with args.
7213 set dummy ranlib; ac_word=$2
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7215 $as_echo_n "checking for $ac_word... " >&6; }
7216 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7217   $as_echo_n "(cached) " >&6
7218 else
7219   if test -n "$ac_ct_RANLIB"; then
7220   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7221 else
7222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7223 for as_dir in $PATH
7224 do
7225   IFS=$as_save_IFS
7226   test -z "$as_dir" && as_dir=.
7227     for ac_exec_ext in '' $ac_executable_extensions; do
7228   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7229     ac_cv_prog_ac_ct_RANLIB="ranlib"
7230     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7231     break 2
7232   fi
7233 done
7234   done
7235 IFS=$as_save_IFS
7236
7237 fi
7238 fi
7239 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7240 if test -n "$ac_ct_RANLIB"; then
7241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7242 $as_echo "$ac_ct_RANLIB" >&6; }
7243 else
7244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7245 $as_echo "no" >&6; }
7246 fi
7247
7248   if test "x$ac_ct_RANLIB" = x; then
7249     RANLIB=":"
7250   else
7251     case $cross_compiling:$ac_tool_warned in
7252 yes:)
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7254 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7255 ac_tool_warned=yes ;;
7256 esac
7257     RANLIB=$ac_ct_RANLIB
7258   fi
7259 else
7260   RANLIB="$ac_cv_prog_RANLIB"
7261 fi
7262
7263 test -z "$RANLIB" && RANLIB=:
7264
7265
7266
7267
7268
7269
7270 # Determine commands to create old-style static archives.
7271 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7272 old_postinstall_cmds='chmod 644 $oldlib'
7273 old_postuninstall_cmds=
7274
7275 if test -n "$RANLIB"; then
7276   case $host_os in
7277   openbsd*)
7278     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7279     ;;
7280   *)
7281     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7282     ;;
7283   esac
7284   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7285 fi
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320 # If no C compiler was specified, use CC.
7321 LTCC=${LTCC-"$CC"}
7322
7323 # If no C compiler flags were specified, use CFLAGS.
7324 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7325
7326 # Allow CC to be a program name with arguments.
7327 compiler=$CC
7328
7329
7330 # Check for command to grab the raw symbol name followed by C symbol from nm.
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7332 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7333 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7334   $as_echo_n "(cached) " >&6
7335 else
7336
7337 # These are sane defaults that work on at least a few old systems.
7338 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7339
7340 # Character class describing NM global symbol codes.
7341 symcode='[BCDEGRST]'
7342
7343 # Regexp to match symbols that can be accessed directly from C.
7344 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7345
7346 # Define system-specific variables.
7347 case $host_os in
7348 aix*)
7349   symcode='[BCDT]'
7350   ;;
7351 cygwin* | mingw* | pw32* | cegcc*)
7352   symcode='[ABCDGISTW]'
7353   ;;
7354 hpux*)
7355   if test "$host_cpu" = ia64; then
7356     symcode='[ABCDEGRST]'
7357   fi
7358   ;;
7359 irix* | nonstopux*)
7360   symcode='[BCDEGRST]'
7361   ;;
7362 osf*)
7363   symcode='[BCDEGQRST]'
7364   ;;
7365 solaris*)
7366   symcode='[BDRT]'
7367   ;;
7368 sco3.2v5*)
7369   symcode='[DT]'
7370   ;;
7371 sysv4.2uw2*)
7372   symcode='[DT]'
7373   ;;
7374 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7375   symcode='[ABDT]'
7376   ;;
7377 sysv4)
7378   symcode='[DFNSTU]'
7379   ;;
7380 esac
7381
7382 # If we're using GNU nm, then use its standard symbol codes.
7383 case `$NM -V 2>&1` in
7384 *GNU* | *'with BFD'*)
7385   symcode='[ABCDGIRSTW]' ;;
7386 esac
7387
7388 # Transform an extracted symbol line into a proper C declaration.
7389 # Some systems (esp. on ia64) link data and code symbols differently,
7390 # so use this general approach.
7391 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7392
7393 # Transform an extracted symbol line into symbol name and symbol address
7394 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7395 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
7396
7397 # Handle CRLF in mingw tool chain
7398 opt_cr=
7399 case $build_os in
7400 mingw*)
7401   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7402   ;;
7403 esac
7404
7405 # Try without a prefix underscore, then with it.
7406 for ac_symprfx in "" "_"; do
7407
7408   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7409   symxfrm="\\1 $ac_symprfx\\2 \\2"
7410
7411   # Write the raw and C identifiers.
7412   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7413     # Fake it for dumpbin and say T for any non-static function
7414     # and D for any global variable.
7415     # Also find C++ and __fastcall symbols from MSVC++,
7416     # which start with @ or ?.
7417     lt_cv_sys_global_symbol_pipe="$AWK '"\
7418 "     {last_section=section; section=\$ 3};"\
7419 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7420 "     \$ 0!~/External *\|/{next};"\
7421 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7422 "     {if(hide[section]) next};"\
7423 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7424 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7425 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7426 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7427 "     ' prfx=^$ac_symprfx"
7428   else
7429     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7430   fi
7431
7432   # Check to see that the pipe works correctly.
7433   pipe_works=no
7434
7435   rm -f conftest*
7436   cat > conftest.$ac_ext <<_LT_EOF
7437 #ifdef __cplusplus
7438 extern "C" {
7439 #endif
7440 char nm_test_var;
7441 void nm_test_func(void);
7442 void nm_test_func(void){}
7443 #ifdef __cplusplus
7444 }
7445 #endif
7446 int main(){nm_test_var='a';nm_test_func();return(0);}
7447 _LT_EOF
7448
7449   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7450   (eval $ac_compile) 2>&5
7451   ac_status=$?
7452   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7453   test $ac_status = 0; }; then
7454     # Now try to grab the symbols.
7455     nlist=conftest.nm
7456     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7457   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7458   ac_status=$?
7459   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7460   test $ac_status = 0; } && test -s "$nlist"; then
7461       # Try sorting and uniquifying the output.
7462       if sort "$nlist" | uniq > "$nlist"T; then
7463         mv -f "$nlist"T "$nlist"
7464       else
7465         rm -f "$nlist"T
7466       fi
7467
7468       # Make sure that we snagged all the symbols we need.
7469       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7470         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7471           cat <<_LT_EOF > conftest.$ac_ext
7472 #ifdef __cplusplus
7473 extern "C" {
7474 #endif
7475
7476 _LT_EOF
7477           # Now generate the symbol file.
7478           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7479
7480           cat <<_LT_EOF >> conftest.$ac_ext
7481
7482 /* The mapping between symbol names and symbols.  */
7483 const struct {
7484   const char *name;
7485   void       *address;
7486 }
7487 lt__PROGRAM__LTX_preloaded_symbols[] =
7488 {
7489   { "@PROGRAM@", (void *) 0 },
7490 _LT_EOF
7491           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7492           cat <<\_LT_EOF >> conftest.$ac_ext
7493   {0, (void *) 0}
7494 };
7495
7496 /* This works around a problem in FreeBSD linker */
7497 #ifdef FREEBSD_WORKAROUND
7498 static const void *lt_preloaded_setup() {
7499   return lt__PROGRAM__LTX_preloaded_symbols;
7500 }
7501 #endif
7502
7503 #ifdef __cplusplus
7504 }
7505 #endif
7506 _LT_EOF
7507           # Now try linking the two files.
7508           mv conftest.$ac_objext conftstm.$ac_objext
7509           lt_save_LIBS="$LIBS"
7510           lt_save_CFLAGS="$CFLAGS"
7511           LIBS="conftstm.$ac_objext"
7512           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7513           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7514   (eval $ac_link) 2>&5
7515   ac_status=$?
7516   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7517   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7518             pipe_works=yes
7519           fi
7520           LIBS="$lt_save_LIBS"
7521           CFLAGS="$lt_save_CFLAGS"
7522         else
7523           echo "cannot find nm_test_func in $nlist" >&5
7524         fi
7525       else
7526         echo "cannot find nm_test_var in $nlist" >&5
7527       fi
7528     else
7529       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7530     fi
7531   else
7532     echo "$progname: failed program was:" >&5
7533     cat conftest.$ac_ext >&5
7534   fi
7535   rm -rf conftest* conftst*
7536
7537   # Do not use the global_symbol_pipe unless it works.
7538   if test "$pipe_works" = yes; then
7539     break
7540   else
7541     lt_cv_sys_global_symbol_pipe=
7542   fi
7543 done
7544
7545 fi
7546
7547 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7548   lt_cv_sys_global_symbol_to_cdecl=
7549 fi
7550 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7552 $as_echo "failed" >&6; }
7553 else
7554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7555 $as_echo "ok" >&6; }
7556 fi
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579 # Check whether --enable-libtool-lock was given.
7580 if test "${enable_libtool_lock+set}" = set; then :
7581   enableval=$enable_libtool_lock;
7582 fi
7583
7584 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7585
7586 # Some flags need to be propagated to the compiler or linker for good
7587 # libtool support.
7588 case $host in
7589 ia64-*-hpux*)
7590   # Find out which ABI we are using.
7591   echo 'int i;' > conftest.$ac_ext
7592   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7593   (eval $ac_compile) 2>&5
7594   ac_status=$?
7595   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7596   test $ac_status = 0; }; then
7597     case `/usr/bin/file conftest.$ac_objext` in
7598       *ELF-32*)
7599         HPUX_IA64_MODE="32"
7600         ;;
7601       *ELF-64*)
7602         HPUX_IA64_MODE="64"
7603         ;;
7604     esac
7605   fi
7606   rm -rf conftest*
7607   ;;
7608 *-*-irix6*)
7609   # Find out which ABI we are using.
7610   echo '#line 7610 "configure"' > conftest.$ac_ext
7611   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7612   (eval $ac_compile) 2>&5
7613   ac_status=$?
7614   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7615   test $ac_status = 0; }; then
7616     if test "$lt_cv_prog_gnu_ld" = yes; then
7617       case `/usr/bin/file conftest.$ac_objext` in
7618         *32-bit*)
7619           LD="${LD-ld} -melf32bsmip"
7620           ;;
7621         *N32*)
7622           LD="${LD-ld} -melf32bmipn32"
7623           ;;
7624         *64-bit*)
7625           LD="${LD-ld} -melf64bmip"
7626         ;;
7627       esac
7628     else
7629       case `/usr/bin/file conftest.$ac_objext` in
7630         *32-bit*)
7631           LD="${LD-ld} -32"
7632           ;;
7633         *N32*)
7634           LD="${LD-ld} -n32"
7635           ;;
7636         *64-bit*)
7637           LD="${LD-ld} -64"
7638           ;;
7639       esac
7640     fi
7641   fi
7642   rm -rf conftest*
7643   ;;
7644
7645 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7646 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7647   # Find out which ABI we are using.
7648   echo 'int i;' > conftest.$ac_ext
7649   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7650   (eval $ac_compile) 2>&5
7651   ac_status=$?
7652   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7653   test $ac_status = 0; }; then
7654     case `/usr/bin/file conftest.o` in
7655       *32-bit*)
7656         case $host in
7657           x86_64-*kfreebsd*-gnu)
7658             LD="${LD-ld} -m elf_i386_fbsd"
7659             ;;
7660           x86_64-*linux*)
7661             LD="${LD-ld} -m elf_i386"
7662             ;;
7663           ppc64-*linux*|powerpc64-*linux*)
7664             LD="${LD-ld} -m elf32ppclinux"
7665             ;;
7666           s390x-*linux*)
7667             LD="${LD-ld} -m elf_s390"
7668             ;;
7669           sparc64-*linux*)
7670             LD="${LD-ld} -m elf32_sparc"
7671             ;;
7672         esac
7673         ;;
7674       *64-bit*)
7675         case $host in
7676           x86_64-*kfreebsd*-gnu)
7677             LD="${LD-ld} -m elf_x86_64_fbsd"
7678             ;;
7679           x86_64-*linux*)
7680             LD="${LD-ld} -m elf_x86_64"
7681             ;;
7682           ppc*-*linux*|powerpc*-*linux*)
7683             LD="${LD-ld} -m elf64ppc"
7684             ;;
7685           s390*-*linux*|s390*-*tpf*)
7686             LD="${LD-ld} -m elf64_s390"
7687             ;;
7688           sparc*-*linux*)
7689             LD="${LD-ld} -m elf64_sparc"
7690             ;;
7691         esac
7692         ;;
7693     esac
7694   fi
7695   rm -rf conftest*
7696   ;;
7697
7698 *-*-sco3.2v5*)
7699   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7700   SAVE_CFLAGS="$CFLAGS"
7701   CFLAGS="$CFLAGS -belf"
7702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7703 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7704 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7705   $as_echo_n "(cached) " >&6
7706 else
7707   ac_ext=c
7708 ac_cpp='$CPP $CPPFLAGS'
7709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7712
7713      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7714 /* end confdefs.h.  */
7715
7716 int
7717 main ()
7718 {
7719
7720   ;
7721   return 0;
7722 }
7723 _ACEOF
7724 if ac_fn_c_try_link "$LINENO"; then :
7725   lt_cv_cc_needs_belf=yes
7726 else
7727   lt_cv_cc_needs_belf=no
7728 fi
7729 rm -f core conftest.err conftest.$ac_objext \
7730     conftest$ac_exeext conftest.$ac_ext
7731      ac_ext=c
7732 ac_cpp='$CPP $CPPFLAGS'
7733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7736
7737 fi
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7739 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7740   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7741     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7742     CFLAGS="$SAVE_CFLAGS"
7743   fi
7744   ;;
7745 sparc*-*solaris*)
7746   # Find out which ABI we are using.
7747   echo 'int i;' > conftest.$ac_ext
7748   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7749   (eval $ac_compile) 2>&5
7750   ac_status=$?
7751   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7752   test $ac_status = 0; }; then
7753     case `/usr/bin/file conftest.o` in
7754     *64-bit*)
7755       case $lt_cv_prog_gnu_ld in
7756       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7757       *)
7758         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7759           LD="${LD-ld} -64"
7760         fi
7761         ;;
7762       esac
7763       ;;
7764     esac
7765   fi
7766   rm -rf conftest*
7767   ;;
7768 esac
7769
7770 need_locks="$enable_libtool_lock"
7771
7772
7773   case $host_os in
7774     rhapsody* | darwin*)
7775     if test -n "$ac_tool_prefix"; then
7776   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7777 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7779 $as_echo_n "checking for $ac_word... " >&6; }
7780 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7781   $as_echo_n "(cached) " >&6
7782 else
7783   if test -n "$DSYMUTIL"; then
7784   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7785 else
7786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7787 for as_dir in $PATH
7788 do
7789   IFS=$as_save_IFS
7790   test -z "$as_dir" && as_dir=.
7791     for ac_exec_ext in '' $ac_executable_extensions; do
7792   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7793     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7794     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7795     break 2
7796   fi
7797 done
7798   done
7799 IFS=$as_save_IFS
7800
7801 fi
7802 fi
7803 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7804 if test -n "$DSYMUTIL"; then
7805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7806 $as_echo "$DSYMUTIL" >&6; }
7807 else
7808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7809 $as_echo "no" >&6; }
7810 fi
7811
7812
7813 fi
7814 if test -z "$ac_cv_prog_DSYMUTIL"; then
7815   ac_ct_DSYMUTIL=$DSYMUTIL
7816   # Extract the first word of "dsymutil", so it can be a program name with args.
7817 set dummy dsymutil; ac_word=$2
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7819 $as_echo_n "checking for $ac_word... " >&6; }
7820 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7821   $as_echo_n "(cached) " >&6
7822 else
7823   if test -n "$ac_ct_DSYMUTIL"; then
7824   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7825 else
7826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7827 for as_dir in $PATH
7828 do
7829   IFS=$as_save_IFS
7830   test -z "$as_dir" && as_dir=.
7831     for ac_exec_ext in '' $ac_executable_extensions; do
7832   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7833     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7834     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7835     break 2
7836   fi
7837 done
7838   done
7839 IFS=$as_save_IFS
7840
7841 fi
7842 fi
7843 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7844 if test -n "$ac_ct_DSYMUTIL"; then
7845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7846 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7847 else
7848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7849 $as_echo "no" >&6; }
7850 fi
7851
7852   if test "x$ac_ct_DSYMUTIL" = x; then
7853     DSYMUTIL=":"
7854   else
7855     case $cross_compiling:$ac_tool_warned in
7856 yes:)
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7858 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7859 ac_tool_warned=yes ;;
7860 esac
7861     DSYMUTIL=$ac_ct_DSYMUTIL
7862   fi
7863 else
7864   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7865 fi
7866
7867     if test -n "$ac_tool_prefix"; then
7868   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7869 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7871 $as_echo_n "checking for $ac_word... " >&6; }
7872 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7873   $as_echo_n "(cached) " >&6
7874 else
7875   if test -n "$NMEDIT"; then
7876   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7877 else
7878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7879 for as_dir in $PATH
7880 do
7881   IFS=$as_save_IFS
7882   test -z "$as_dir" && as_dir=.
7883     for ac_exec_ext in '' $ac_executable_extensions; do
7884   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7885     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7886     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7887     break 2
7888   fi
7889 done
7890   done
7891 IFS=$as_save_IFS
7892
7893 fi
7894 fi
7895 NMEDIT=$ac_cv_prog_NMEDIT
7896 if test -n "$NMEDIT"; then
7897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7898 $as_echo "$NMEDIT" >&6; }
7899 else
7900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7901 $as_echo "no" >&6; }
7902 fi
7903
7904
7905 fi
7906 if test -z "$ac_cv_prog_NMEDIT"; then
7907   ac_ct_NMEDIT=$NMEDIT
7908   # Extract the first word of "nmedit", so it can be a program name with args.
7909 set dummy nmedit; ac_word=$2
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7911 $as_echo_n "checking for $ac_word... " >&6; }
7912 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7913   $as_echo_n "(cached) " >&6
7914 else
7915   if test -n "$ac_ct_NMEDIT"; then
7916   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7917 else
7918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7919 for as_dir in $PATH
7920 do
7921   IFS=$as_save_IFS
7922   test -z "$as_dir" && as_dir=.
7923     for ac_exec_ext in '' $ac_executable_extensions; do
7924   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7925     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7926     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7927     break 2
7928   fi
7929 done
7930   done
7931 IFS=$as_save_IFS
7932
7933 fi
7934 fi
7935 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7936 if test -n "$ac_ct_NMEDIT"; then
7937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7938 $as_echo "$ac_ct_NMEDIT" >&6; }
7939 else
7940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7941 $as_echo "no" >&6; }
7942 fi
7943
7944   if test "x$ac_ct_NMEDIT" = x; then
7945     NMEDIT=":"
7946   else
7947     case $cross_compiling:$ac_tool_warned in
7948 yes:)
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7950 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7951 ac_tool_warned=yes ;;
7952 esac
7953     NMEDIT=$ac_ct_NMEDIT
7954   fi
7955 else
7956   NMEDIT="$ac_cv_prog_NMEDIT"
7957 fi
7958
7959     if test -n "$ac_tool_prefix"; then
7960   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7961 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7963 $as_echo_n "checking for $ac_word... " >&6; }
7964 if test "${ac_cv_prog_LIPO+set}" = set; then :
7965   $as_echo_n "(cached) " >&6
7966 else
7967   if test -n "$LIPO"; then
7968   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7969 else
7970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7971 for as_dir in $PATH
7972 do
7973   IFS=$as_save_IFS
7974   test -z "$as_dir" && as_dir=.
7975     for ac_exec_ext in '' $ac_executable_extensions; do
7976   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7977     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7978     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7979     break 2
7980   fi
7981 done
7982   done
7983 IFS=$as_save_IFS
7984
7985 fi
7986 fi
7987 LIPO=$ac_cv_prog_LIPO
7988 if test -n "$LIPO"; then
7989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7990 $as_echo "$LIPO" >&6; }
7991 else
7992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7993 $as_echo "no" >&6; }
7994 fi
7995
7996
7997 fi
7998 if test -z "$ac_cv_prog_LIPO"; then
7999   ac_ct_LIPO=$LIPO
8000   # Extract the first word of "lipo", so it can be a program name with args.
8001 set dummy lipo; ac_word=$2
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8003 $as_echo_n "checking for $ac_word... " >&6; }
8004 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8005   $as_echo_n "(cached) " >&6
8006 else
8007   if test -n "$ac_ct_LIPO"; then
8008   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8009 else
8010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8011 for as_dir in $PATH
8012 do
8013   IFS=$as_save_IFS
8014   test -z "$as_dir" && as_dir=.
8015     for ac_exec_ext in '' $ac_executable_extensions; do
8016   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8017     ac_cv_prog_ac_ct_LIPO="lipo"
8018     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8019     break 2
8020   fi
8021 done
8022   done
8023 IFS=$as_save_IFS
8024
8025 fi
8026 fi
8027 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8028 if test -n "$ac_ct_LIPO"; then
8029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8030 $as_echo "$ac_ct_LIPO" >&6; }
8031 else
8032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8033 $as_echo "no" >&6; }
8034 fi
8035
8036   if test "x$ac_ct_LIPO" = x; then
8037     LIPO=":"
8038   else
8039     case $cross_compiling:$ac_tool_warned in
8040 yes:)
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8042 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8043 ac_tool_warned=yes ;;
8044 esac
8045     LIPO=$ac_ct_LIPO
8046   fi
8047 else
8048   LIPO="$ac_cv_prog_LIPO"
8049 fi
8050
8051     if test -n "$ac_tool_prefix"; then
8052   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8053 set dummy ${ac_tool_prefix}otool; ac_word=$2
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8055 $as_echo_n "checking for $ac_word... " >&6; }
8056 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8057   $as_echo_n "(cached) " >&6
8058 else
8059   if test -n "$OTOOL"; then
8060   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8061 else
8062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8063 for as_dir in $PATH
8064 do
8065   IFS=$as_save_IFS
8066   test -z "$as_dir" && as_dir=.
8067     for ac_exec_ext in '' $ac_executable_extensions; do
8068   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8069     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8070     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8071     break 2
8072   fi
8073 done
8074   done
8075 IFS=$as_save_IFS
8076
8077 fi
8078 fi
8079 OTOOL=$ac_cv_prog_OTOOL
8080 if test -n "$OTOOL"; then
8081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8082 $as_echo "$OTOOL" >&6; }
8083 else
8084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8085 $as_echo "no" >&6; }
8086 fi
8087
8088
8089 fi
8090 if test -z "$ac_cv_prog_OTOOL"; then
8091   ac_ct_OTOOL=$OTOOL
8092   # Extract the first word of "otool", so it can be a program name with args.
8093 set dummy otool; ac_word=$2
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8095 $as_echo_n "checking for $ac_word... " >&6; }
8096 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8097   $as_echo_n "(cached) " >&6
8098 else
8099   if test -n "$ac_ct_OTOOL"; then
8100   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8101 else
8102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8103 for as_dir in $PATH
8104 do
8105   IFS=$as_save_IFS
8106   test -z "$as_dir" && as_dir=.
8107     for ac_exec_ext in '' $ac_executable_extensions; do
8108   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8109     ac_cv_prog_ac_ct_OTOOL="otool"
8110     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8111     break 2
8112   fi
8113 done
8114   done
8115 IFS=$as_save_IFS
8116
8117 fi
8118 fi
8119 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8120 if test -n "$ac_ct_OTOOL"; then
8121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8122 $as_echo "$ac_ct_OTOOL" >&6; }
8123 else
8124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8125 $as_echo "no" >&6; }
8126 fi
8127
8128   if test "x$ac_ct_OTOOL" = x; then
8129     OTOOL=":"
8130   else
8131     case $cross_compiling:$ac_tool_warned in
8132 yes:)
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8135 ac_tool_warned=yes ;;
8136 esac
8137     OTOOL=$ac_ct_OTOOL
8138   fi
8139 else
8140   OTOOL="$ac_cv_prog_OTOOL"
8141 fi
8142
8143     if test -n "$ac_tool_prefix"; then
8144   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8145 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8147 $as_echo_n "checking for $ac_word... " >&6; }
8148 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8149   $as_echo_n "(cached) " >&6
8150 else
8151   if test -n "$OTOOL64"; then
8152   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8153 else
8154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8155 for as_dir in $PATH
8156 do
8157   IFS=$as_save_IFS
8158   test -z "$as_dir" && as_dir=.
8159     for ac_exec_ext in '' $ac_executable_extensions; do
8160   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8161     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8162     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8163     break 2
8164   fi
8165 done
8166   done
8167 IFS=$as_save_IFS
8168
8169 fi
8170 fi
8171 OTOOL64=$ac_cv_prog_OTOOL64
8172 if test -n "$OTOOL64"; then
8173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8174 $as_echo "$OTOOL64" >&6; }
8175 else
8176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8177 $as_echo "no" >&6; }
8178 fi
8179
8180
8181 fi
8182 if test -z "$ac_cv_prog_OTOOL64"; then
8183   ac_ct_OTOOL64=$OTOOL64
8184   # Extract the first word of "otool64", so it can be a program name with args.
8185 set dummy otool64; ac_word=$2
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8187 $as_echo_n "checking for $ac_word... " >&6; }
8188 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8189   $as_echo_n "(cached) " >&6
8190 else
8191   if test -n "$ac_ct_OTOOL64"; then
8192   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8193 else
8194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8195 for as_dir in $PATH
8196 do
8197   IFS=$as_save_IFS
8198   test -z "$as_dir" && as_dir=.
8199     for ac_exec_ext in '' $ac_executable_extensions; do
8200   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8201     ac_cv_prog_ac_ct_OTOOL64="otool64"
8202     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8203     break 2
8204   fi
8205 done
8206   done
8207 IFS=$as_save_IFS
8208
8209 fi
8210 fi
8211 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8212 if test -n "$ac_ct_OTOOL64"; then
8213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8214 $as_echo "$ac_ct_OTOOL64" >&6; }
8215 else
8216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8217 $as_echo "no" >&6; }
8218 fi
8219
8220   if test "x$ac_ct_OTOOL64" = x; then
8221     OTOOL64=":"
8222   else
8223     case $cross_compiling:$ac_tool_warned in
8224 yes:)
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8226 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8227 ac_tool_warned=yes ;;
8228 esac
8229     OTOOL64=$ac_ct_OTOOL64
8230   fi
8231 else
8232   OTOOL64="$ac_cv_prog_OTOOL64"
8233 fi
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8262 $as_echo_n "checking for -single_module linker flag... " >&6; }
8263 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8264   $as_echo_n "(cached) " >&6
8265 else
8266   lt_cv_apple_cc_single_mod=no
8267       if test -z "${LT_MULTI_MODULE}"; then
8268         # By default we will add the -single_module flag. You can override
8269         # by either setting the environment variable LT_MULTI_MODULE
8270         # non-empty at configure time, or by adding -multi_module to the
8271         # link flags.
8272         rm -rf libconftest.dylib*
8273         echo "int foo(void){return 1;}" > conftest.c
8274         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8275 -dynamiclib -Wl,-single_module conftest.c" >&5
8276         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8277           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8278         _lt_result=$?
8279         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8280           lt_cv_apple_cc_single_mod=yes
8281         else
8282           cat conftest.err >&5
8283         fi
8284         rm -rf libconftest.dylib*
8285         rm -f conftest.*
8286       fi
8287 fi
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8289 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8290     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8291 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8292 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8293   $as_echo_n "(cached) " >&6
8294 else
8295   lt_cv_ld_exported_symbols_list=no
8296       save_LDFLAGS=$LDFLAGS
8297       echo "_main" > conftest.sym
8298       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8299       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8300 /* end confdefs.h.  */
8301
8302 int
8303 main ()
8304 {
8305
8306   ;
8307   return 0;
8308 }
8309 _ACEOF
8310 if ac_fn_c_try_link "$LINENO"; then :
8311   lt_cv_ld_exported_symbols_list=yes
8312 else
8313   lt_cv_ld_exported_symbols_list=no
8314 fi
8315 rm -f core conftest.err conftest.$ac_objext \
8316     conftest$ac_exeext conftest.$ac_ext
8317         LDFLAGS="$save_LDFLAGS"
8318
8319 fi
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8321 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8322     case $host_os in
8323     rhapsody* | darwin1.[012])
8324       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8325     darwin1.*)
8326       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8327     darwin*) # darwin 5.x on
8328       # if running on 10.5 or later, the deployment target defaults
8329       # to the OS version, if on x86, and 10.4, the deployment
8330       # target defaults to 10.4. Don't you love it?
8331       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8332         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8333           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8334         10.[012]*)
8335           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8336         10.*)
8337           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8338       esac
8339     ;;
8340   esac
8341     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8342       _lt_dar_single_mod='$single_module'
8343     fi
8344     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8345       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8346     else
8347       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8348     fi
8349     if test "$DSYMUTIL" != ":"; then
8350       _lt_dsymutil='~$DSYMUTIL $lib || :'
8351     else
8352       _lt_dsymutil=
8353     fi
8354     ;;
8355   esac
8356
8357 for ac_header in dlfcn.h
8358 do :
8359   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8360 "
8361 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8362   cat >>confdefs.h <<_ACEOF
8363 #define HAVE_DLFCN_H 1
8364 _ACEOF
8365
8366 fi
8367
8368 done
8369
8370
8371
8372 # Set options
8373
8374
8375
8376         enable_dlopen=no
8377
8378
8379
8380             # Check whether --enable-shared was given.
8381 if test "${enable_shared+set}" = set; then :
8382   enableval=$enable_shared; p=${PACKAGE-default}
8383     case $enableval in
8384     yes) enable_shared=yes ;;
8385     no) enable_shared=no ;;
8386     *)
8387       enable_shared=no
8388       # Look at the argument we got.  We use all the common list separators.
8389       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8390       for pkg in $enableval; do
8391         IFS="$lt_save_ifs"
8392         if test "X$pkg" = "X$p"; then
8393           enable_shared=yes
8394         fi
8395       done
8396       IFS="$lt_save_ifs"
8397       ;;
8398     esac
8399 else
8400   enable_shared=yes
8401 fi
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411   # Check whether --enable-static was given.
8412 if test "${enable_static+set}" = set; then :
8413   enableval=$enable_static; p=${PACKAGE-default}
8414     case $enableval in
8415     yes) enable_static=yes ;;
8416     no) enable_static=no ;;
8417     *)
8418      enable_static=no
8419       # Look at the argument we got.  We use all the common list separators.
8420       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8421       for pkg in $enableval; do
8422         IFS="$lt_save_ifs"
8423         if test "X$pkg" = "X$p"; then
8424           enable_static=yes
8425         fi
8426       done
8427       IFS="$lt_save_ifs"
8428       ;;
8429     esac
8430 else
8431   enable_static=yes
8432 fi
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443 # Check whether --with-pic was given.
8444 if test "${with_pic+set}" = set; then :
8445   withval=$with_pic; pic_mode="$withval"
8446 else
8447   pic_mode=default
8448 fi
8449
8450
8451 test -z "$pic_mode" && pic_mode=default
8452
8453
8454
8455
8456
8457
8458
8459   # Check whether --enable-fast-install was given.
8460 if test "${enable_fast_install+set}" = set; then :
8461   enableval=$enable_fast_install; p=${PACKAGE-default}
8462     case $enableval in
8463     yes) enable_fast_install=yes ;;
8464     no) enable_fast_install=no ;;
8465     *)
8466       enable_fast_install=no
8467       # Look at the argument we got.  We use all the common list separators.
8468       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8469       for pkg in $enableval; do
8470         IFS="$lt_save_ifs"
8471         if test "X$pkg" = "X$p"; then
8472           enable_fast_install=yes
8473         fi
8474       done
8475       IFS="$lt_save_ifs"
8476       ;;
8477     esac
8478 else
8479   enable_fast_install=yes
8480 fi
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492 # This can be used to rebuild libtool when needed
8493 LIBTOOL_DEPS="$ltmain"
8494
8495 # Always use our own libtool.
8496 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522 test -z "$LN_S" && LN_S="ln -s"
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537 if test -n "${ZSH_VERSION+set}" ; then
8538    setopt NO_GLOB_SUBST
8539 fi
8540
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8542 $as_echo_n "checking for objdir... " >&6; }
8543 if test "${lt_cv_objdir+set}" = set; then :
8544   $as_echo_n "(cached) " >&6
8545 else
8546   rm -f .libs 2>/dev/null
8547 mkdir .libs 2>/dev/null
8548 if test -d .libs; then
8549   lt_cv_objdir=.libs
8550 else
8551   # MS-DOS does not allow filenames that begin with a dot.
8552   lt_cv_objdir=_libs
8553 fi
8554 rmdir .libs 2>/dev/null
8555 fi
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8557 $as_echo "$lt_cv_objdir" >&6; }
8558 objdir=$lt_cv_objdir
8559
8560
8561
8562
8563
8564 cat >>confdefs.h <<_ACEOF
8565 #define LT_OBJDIR "$lt_cv_objdir/"
8566 _ACEOF
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584 case $host_os in
8585 aix3*)
8586   # AIX sometimes has problems with the GCC collect2 program.  For some
8587   # reason, if we set the COLLECT_NAMES environment variable, the problems
8588   # vanish in a puff of smoke.
8589   if test "X${COLLECT_NAMES+set}" != Xset; then
8590     COLLECT_NAMES=
8591     export COLLECT_NAMES
8592   fi
8593   ;;
8594 esac
8595
8596 # Sed substitution that helps us do robust quoting.  It backslashifies
8597 # metacharacters that are still active within double-quoted strings.
8598 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8599
8600 # Same as above, but do not quote variable references.
8601 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8602
8603 # Sed substitution to delay expansion of an escaped shell variable in a
8604 # double_quote_subst'ed string.
8605 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8606
8607 # Sed substitution to delay expansion of an escaped single quote.
8608 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8609
8610 # Sed substitution to avoid accidental globbing in evaled expressions
8611 no_glob_subst='s/\*/\\\*/g'
8612
8613 # Global variables:
8614 ofile=libtool
8615 can_build_shared=yes
8616
8617 # All known linkers require a `.a' archive for static linking (except MSVC,
8618 # which needs '.lib').
8619 libext=a
8620
8621 with_gnu_ld="$lt_cv_prog_gnu_ld"
8622
8623 old_CC="$CC"
8624 old_CFLAGS="$CFLAGS"
8625
8626 # Set sane defaults for various variables
8627 test -z "$CC" && CC=cc
8628 test -z "$LTCC" && LTCC=$CC
8629 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8630 test -z "$LD" && LD=ld
8631 test -z "$ac_objext" && ac_objext=o
8632
8633 for cc_temp in $compiler""; do
8634   case $cc_temp in
8635     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8636     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8637     \-*) ;;
8638     *) break;;
8639   esac
8640 done
8641 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8642
8643
8644 # Only perform the check for file, if the check method requires it
8645 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8646 case $deplibs_check_method in
8647 file_magic*)
8648   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8649     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8650 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8651 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8652   $as_echo_n "(cached) " >&6
8653 else
8654   case $MAGIC_CMD in
8655 [\\/*] |  ?:[\\/]*)
8656   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8657   ;;
8658 *)
8659   lt_save_MAGIC_CMD="$MAGIC_CMD"
8660   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8661   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8662   for ac_dir in $ac_dummy; do
8663     IFS="$lt_save_ifs"
8664     test -z "$ac_dir" && ac_dir=.
8665     if test -f $ac_dir/${ac_tool_prefix}file; then
8666       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8667       if test -n "$file_magic_test_file"; then
8668         case $deplibs_check_method in
8669         "file_magic "*)
8670           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8671           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8672           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8673             $EGREP "$file_magic_regex" > /dev/null; then
8674             :
8675           else
8676             cat <<_LT_EOF 1>&2
8677
8678 *** Warning: the command libtool uses to detect shared libraries,
8679 *** $file_magic_cmd, produces output that libtool cannot recognize.
8680 *** The result is that libtool may fail to recognize shared libraries
8681 *** as such.  This will affect the creation of libtool libraries that
8682 *** depend on shared libraries, but programs linked with such libtool
8683 *** libraries will work regardless of this problem.  Nevertheless, you
8684 *** may want to report the problem to your system manager and/or to
8685 *** bug-libtool@gnu.org
8686
8687 _LT_EOF
8688           fi ;;
8689         esac
8690       fi
8691       break
8692     fi
8693   done
8694   IFS="$lt_save_ifs"
8695   MAGIC_CMD="$lt_save_MAGIC_CMD"
8696   ;;
8697 esac
8698 fi
8699
8700 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8701 if test -n "$MAGIC_CMD"; then
8702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8703 $as_echo "$MAGIC_CMD" >&6; }
8704 else
8705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8706 $as_echo "no" >&6; }
8707 fi
8708
8709
8710
8711
8712
8713 if test -z "$lt_cv_path_MAGIC_CMD"; then
8714   if test -n "$ac_tool_prefix"; then
8715     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8716 $as_echo_n "checking for file... " >&6; }
8717 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8718   $as_echo_n "(cached) " >&6
8719 else
8720   case $MAGIC_CMD in
8721 [\\/*] |  ?:[\\/]*)
8722   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8723   ;;
8724 *)
8725   lt_save_MAGIC_CMD="$MAGIC_CMD"
8726   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8727   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8728   for ac_dir in $ac_dummy; do
8729     IFS="$lt_save_ifs"
8730     test -z "$ac_dir" && ac_dir=.
8731     if test -f $ac_dir/file; then
8732       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8733       if test -n "$file_magic_test_file"; then
8734         case $deplibs_check_method in
8735         "file_magic "*)
8736           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8737           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8738           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8739             $EGREP "$file_magic_regex" > /dev/null; then
8740             :
8741           else
8742             cat <<_LT_EOF 1>&2
8743
8744 *** Warning: the command libtool uses to detect shared libraries,
8745 *** $file_magic_cmd, produces output that libtool cannot recognize.
8746 *** The result is that libtool may fail to recognize shared libraries
8747 *** as such.  This will affect the creation of libtool libraries that
8748 *** depend on shared libraries, but programs linked with such libtool
8749 *** libraries will work regardless of this problem.  Nevertheless, you
8750 *** may want to report the problem to your system manager and/or to
8751 *** bug-libtool@gnu.org
8752
8753 _LT_EOF
8754           fi ;;
8755         esac
8756       fi
8757       break
8758     fi
8759   done
8760   IFS="$lt_save_ifs"
8761   MAGIC_CMD="$lt_save_MAGIC_CMD"
8762   ;;
8763 esac
8764 fi
8765
8766 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8767 if test -n "$MAGIC_CMD"; then
8768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8769 $as_echo "$MAGIC_CMD" >&6; }
8770 else
8771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8772 $as_echo "no" >&6; }
8773 fi
8774
8775
8776   else
8777     MAGIC_CMD=:
8778   fi
8779 fi
8780
8781   fi
8782   ;;
8783 esac
8784
8785 # Use C for the default configuration in the libtool script
8786
8787 lt_save_CC="$CC"
8788 ac_ext=c
8789 ac_cpp='$CPP $CPPFLAGS'
8790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8793
8794
8795 # Source file extension for C test sources.
8796 ac_ext=c
8797
8798 # Object file extension for compiled C test sources.
8799 objext=o
8800 objext=$objext
8801
8802 # Code to be used in simple compile tests
8803 lt_simple_compile_test_code="int some_variable = 0;"
8804
8805 # Code to be used in simple link tests
8806 lt_simple_link_test_code='int main(){return(0);}'
8807
8808
8809
8810
8811
8812
8813
8814 # If no C compiler was specified, use CC.
8815 LTCC=${LTCC-"$CC"}
8816
8817 # If no C compiler flags were specified, use CFLAGS.
8818 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8819
8820 # Allow CC to be a program name with arguments.
8821 compiler=$CC
8822
8823 # Save the default compiler, since it gets overwritten when the other
8824 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8825 compiler_DEFAULT=$CC
8826
8827 # save warnings/boilerplate of simple test code
8828 ac_outfile=conftest.$ac_objext
8829 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8830 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8831 _lt_compiler_boilerplate=`cat conftest.err`
8832 $RM conftest*
8833
8834 ac_outfile=conftest.$ac_objext
8835 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8836 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8837 _lt_linker_boilerplate=`cat conftest.err`
8838 $RM -r conftest*
8839
8840
8841 ## CAVEAT EMPTOR:
8842 ## There is no encapsulation within the following macros, do not change
8843 ## the running order or otherwise move them around unless you know exactly
8844 ## what you are doing...
8845 if test -n "$compiler"; then
8846
8847 lt_prog_compiler_no_builtin_flag=
8848
8849 if test "$GCC" = yes; then
8850   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8851
8852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8853 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8854 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8855   $as_echo_n "(cached) " >&6
8856 else
8857   lt_cv_prog_compiler_rtti_exceptions=no
8858    ac_outfile=conftest.$ac_objext
8859    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8860    lt_compiler_flag="-fno-rtti -fno-exceptions"
8861    # Insert the option either (1) after the last *FLAGS variable, or
8862    # (2) before a word containing "conftest.", or (3) at the end.
8863    # Note that $ac_compile itself does not contain backslashes and begins
8864    # with a dollar sign (not a hyphen), so the echo should work correctly.
8865    # The option is referenced via a variable to avoid confusing sed.
8866    lt_compile=`echo "$ac_compile" | $SED \
8867    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8868    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8869    -e 's:$: $lt_compiler_flag:'`
8870    (eval echo "\"\$as_me:8870: $lt_compile\"" >&5)
8871    (eval "$lt_compile" 2>conftest.err)
8872    ac_status=$?
8873    cat conftest.err >&5
8874    echo "$as_me:8874: \$? = $ac_status" >&5
8875    if (exit $ac_status) && test -s "$ac_outfile"; then
8876      # The compiler can only warn and ignore the option if not recognized
8877      # So say no if there are warnings other than the usual output.
8878      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8879      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8880      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8881        lt_cv_prog_compiler_rtti_exceptions=yes
8882      fi
8883    fi
8884    $RM conftest*
8885
8886 fi
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8888 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8889
8890 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8891     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8892 else
8893     :
8894 fi
8895
8896 fi
8897
8898
8899
8900
8901
8902
8903   lt_prog_compiler_wl=
8904 lt_prog_compiler_pic=
8905 lt_prog_compiler_static=
8906
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8908 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8909
8910   if test "$GCC" = yes; then
8911     lt_prog_compiler_wl='-Wl,'
8912     lt_prog_compiler_static='-static'
8913
8914     case $host_os in
8915       aix*)
8916       # All AIX code is PIC.
8917       if test "$host_cpu" = ia64; then
8918         # AIX 5 now supports IA64 processor
8919         lt_prog_compiler_static='-Bstatic'
8920       fi
8921       ;;
8922
8923     amigaos*)
8924       case $host_cpu in
8925       powerpc)
8926             # see comment about AmigaOS4 .so support
8927             lt_prog_compiler_pic='-fPIC'
8928         ;;
8929       m68k)
8930             # FIXME: we need at least 68020 code to build shared libraries, but
8931             # adding the `-m68020' flag to GCC prevents building anything better,
8932             # like `-m68040'.
8933             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8934         ;;
8935       esac
8936       ;;
8937
8938     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8939       # PIC is the default for these OSes.
8940       ;;
8941
8942     mingw* | cygwin* | pw32* | os2* | cegcc*)
8943       # This hack is so that the source file can tell whether it is being
8944       # built for inclusion in a dll (and should export symbols for example).
8945       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8946       # (--disable-auto-import) libraries
8947       lt_prog_compiler_pic='-DDLL_EXPORT'
8948       ;;
8949
8950     darwin* | rhapsody*)
8951       # PIC is the default on this platform
8952       # Common symbols not allowed in MH_DYLIB files
8953       lt_prog_compiler_pic='-fno-common'
8954       ;;
8955
8956     hpux*)
8957       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8958       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8959       # sets the default TLS model and affects inlining.
8960       case $host_cpu in
8961       hppa*64*)
8962         # +Z the default
8963         ;;
8964       *)
8965         lt_prog_compiler_pic='-fPIC'
8966         ;;
8967       esac
8968       ;;
8969
8970     interix[3-9]*)
8971       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8972       # Instead, we relocate shared libraries at runtime.
8973       ;;
8974
8975     msdosdjgpp*)
8976       # Just because we use GCC doesn't mean we suddenly get shared libraries
8977       # on systems that don't support them.
8978       lt_prog_compiler_can_build_shared=no
8979       enable_shared=no
8980       ;;
8981
8982     *nto* | *qnx*)
8983       # QNX uses GNU C++, but need to define -shared option too, otherwise
8984       # it will coredump.
8985       lt_prog_compiler_pic='-fPIC -shared'
8986       ;;
8987
8988     sysv4*MP*)
8989       if test -d /usr/nec; then
8990         lt_prog_compiler_pic=-Kconform_pic
8991       fi
8992       ;;
8993
8994     *)
8995       lt_prog_compiler_pic='-fPIC'
8996       ;;
8997     esac
8998   else
8999     # PORTME Check for flag to pass linker flags through the system compiler.
9000     case $host_os in
9001     aix*)
9002       lt_prog_compiler_wl='-Wl,'
9003       if test "$host_cpu" = ia64; then
9004         # AIX 5 now supports IA64 processor
9005         lt_prog_compiler_static='-Bstatic'
9006       else
9007         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9008       fi
9009       ;;
9010
9011     mingw* | cygwin* | pw32* | os2* | cegcc*)
9012       # This hack is so that the source file can tell whether it is being
9013       # built for inclusion in a dll (and should export symbols for example).
9014       lt_prog_compiler_pic='-DDLL_EXPORT'
9015       ;;
9016
9017     hpux9* | hpux10* | hpux11*)
9018       lt_prog_compiler_wl='-Wl,'
9019       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9020       # not for PA HP-UX.
9021       case $host_cpu in
9022       hppa*64*|ia64*)
9023         # +Z the default
9024         ;;
9025       *)
9026         lt_prog_compiler_pic='+Z'
9027         ;;
9028       esac
9029       # Is there a better lt_prog_compiler_static that works with the bundled CC?
9030       lt_prog_compiler_static='${wl}-a ${wl}archive'
9031       ;;
9032
9033     irix5* | irix6* | nonstopux*)
9034       lt_prog_compiler_wl='-Wl,'
9035       # PIC (with -KPIC) is the default.
9036       lt_prog_compiler_static='-non_shared'
9037       ;;
9038
9039     linux* | k*bsd*-gnu | kopensolaris*-gnu)
9040       case $cc_basename in
9041       # old Intel for x86_64 which still supported -KPIC.
9042       ecc*)
9043         lt_prog_compiler_wl='-Wl,'
9044         lt_prog_compiler_pic='-KPIC'
9045         lt_prog_compiler_static='-static'
9046         ;;
9047       # icc used to be incompatible with GCC.
9048       # ICC 10 doesn't accept -KPIC any more.
9049       icc* | ifort*)
9050         lt_prog_compiler_wl='-Wl,'
9051         lt_prog_compiler_pic='-fPIC'
9052         lt_prog_compiler_static='-static'
9053         ;;
9054       # Lahey Fortran 8.1.
9055       lf95*)
9056         lt_prog_compiler_wl='-Wl,'
9057         lt_prog_compiler_pic='--shared'
9058         lt_prog_compiler_static='--static'
9059         ;;
9060       pgcc* | pgf77* | pgf90* | pgf95*)
9061         # Portland Group compilers (*not* the Pentium gcc compiler,
9062         # which looks to be a dead project)
9063         lt_prog_compiler_wl='-Wl,'
9064         lt_prog_compiler_pic='-fpic'
9065         lt_prog_compiler_static='-Bstatic'
9066         ;;
9067       ccc*)
9068         lt_prog_compiler_wl='-Wl,'
9069         # All Alpha code is PIC.
9070         lt_prog_compiler_static='-non_shared'
9071         ;;
9072       xl*)
9073         # IBM XL C 8.0/Fortran 10.1 on PPC
9074         lt_prog_compiler_wl='-Wl,'
9075         lt_prog_compiler_pic='-qpic'
9076         lt_prog_compiler_static='-qstaticlink'
9077         ;;
9078       *)
9079         case `$CC -V 2>&1 | sed 5q` in
9080         *Sun\ C*)
9081           # Sun C 5.9
9082           lt_prog_compiler_pic='-KPIC'
9083           lt_prog_compiler_static='-Bstatic'
9084           lt_prog_compiler_wl='-Wl,'
9085           ;;
9086         *Sun\ F*)
9087           # Sun Fortran 8.3 passes all unrecognized flags to the linker
9088           lt_prog_compiler_pic='-KPIC'
9089           lt_prog_compiler_static='-Bstatic'
9090           lt_prog_compiler_wl=''
9091           ;;
9092         esac
9093         ;;
9094       esac
9095       ;;
9096
9097     newsos6)
9098       lt_prog_compiler_pic='-KPIC'
9099       lt_prog_compiler_static='-Bstatic'
9100       ;;
9101
9102     *nto* | *qnx*)
9103       # QNX uses GNU C++, but need to define -shared option too, otherwise
9104       # it will coredump.
9105       lt_prog_compiler_pic='-fPIC -shared'
9106       ;;
9107
9108     osf3* | osf4* | osf5*)
9109       lt_prog_compiler_wl='-Wl,'
9110       # All OSF/1 code is PIC.
9111       lt_prog_compiler_static='-non_shared'
9112       ;;
9113
9114     rdos*)
9115       lt_prog_compiler_static='-non_shared'
9116       ;;
9117
9118     solaris*)
9119       lt_prog_compiler_pic='-KPIC'
9120       lt_prog_compiler_static='-Bstatic'
9121       case $cc_basename in
9122       f77* | f90* | f95*)
9123         lt_prog_compiler_wl='-Qoption ld ';;
9124       *)
9125         lt_prog_compiler_wl='-Wl,';;
9126       esac
9127       ;;
9128
9129     sunos4*)
9130       lt_prog_compiler_wl='-Qoption ld '
9131       lt_prog_compiler_pic='-PIC'
9132       lt_prog_compiler_static='-Bstatic'
9133       ;;
9134
9135     sysv4 | sysv4.2uw2* | sysv4.3*)
9136       lt_prog_compiler_wl='-Wl,'
9137       lt_prog_compiler_pic='-KPIC'
9138       lt_prog_compiler_static='-Bstatic'
9139       ;;
9140
9141     sysv4*MP*)
9142       if test -d /usr/nec ;then
9143         lt_prog_compiler_pic='-Kconform_pic'
9144         lt_prog_compiler_static='-Bstatic'
9145       fi
9146       ;;
9147
9148     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9149       lt_prog_compiler_wl='-Wl,'
9150       lt_prog_compiler_pic='-KPIC'
9151       lt_prog_compiler_static='-Bstatic'
9152       ;;
9153
9154     unicos*)
9155       lt_prog_compiler_wl='-Wl,'
9156       lt_prog_compiler_can_build_shared=no
9157       ;;
9158
9159     uts4*)
9160       lt_prog_compiler_pic='-pic'
9161       lt_prog_compiler_static='-Bstatic'
9162       ;;
9163
9164     *)
9165       lt_prog_compiler_can_build_shared=no
9166       ;;
9167     esac
9168   fi
9169
9170 case $host_os in
9171   # For platforms which do not support PIC, -DPIC is meaningless:
9172   *djgpp*)
9173     lt_prog_compiler_pic=
9174     ;;
9175   *)
9176     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9177     ;;
9178 esac
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9180 $as_echo "$lt_prog_compiler_pic" >&6; }
9181
9182
9183
9184
9185
9186
9187 #
9188 # Check to make sure the PIC flag actually works.
9189 #
9190 if test -n "$lt_prog_compiler_pic"; then
9191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9192 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9193 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9194   $as_echo_n "(cached) " >&6
9195 else
9196   lt_cv_prog_compiler_pic_works=no
9197    ac_outfile=conftest.$ac_objext
9198    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9199    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9200    # Insert the option either (1) after the last *FLAGS variable, or
9201    # (2) before a word containing "conftest.", or (3) at the end.
9202    # Note that $ac_compile itself does not contain backslashes and begins
9203    # with a dollar sign (not a hyphen), so the echo should work correctly.
9204    # The option is referenced via a variable to avoid confusing sed.
9205    lt_compile=`echo "$ac_compile" | $SED \
9206    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9207    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9208    -e 's:$: $lt_compiler_flag:'`
9209    (eval echo "\"\$as_me:9209: $lt_compile\"" >&5)
9210    (eval "$lt_compile" 2>conftest.err)
9211    ac_status=$?
9212    cat conftest.err >&5
9213    echo "$as_me:9213: \$? = $ac_status" >&5
9214    if (exit $ac_status) && test -s "$ac_outfile"; then
9215      # The compiler can only warn and ignore the option if not recognized
9216      # So say no if there are warnings other than the usual output.
9217      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9218      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9219      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9220        lt_cv_prog_compiler_pic_works=yes
9221      fi
9222    fi
9223    $RM conftest*
9224
9225 fi
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9227 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9228
9229 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9230     case $lt_prog_compiler_pic in
9231      "" | " "*) ;;
9232      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9233      esac
9234 else
9235     lt_prog_compiler_pic=
9236      lt_prog_compiler_can_build_shared=no
9237 fi
9238
9239 fi
9240
9241
9242
9243
9244
9245
9246 #
9247 # Check to make sure the static flag actually works.
9248 #
9249 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9251 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9252 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9253   $as_echo_n "(cached) " >&6
9254 else
9255   lt_cv_prog_compiler_static_works=no
9256    save_LDFLAGS="$LDFLAGS"
9257    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9258    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9259    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9260      # The linker can only warn and ignore the option if not recognized
9261      # So say no if there are warnings
9262      if test -s conftest.err; then
9263        # Append any errors to the config.log.
9264        cat conftest.err 1>&5
9265        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9266        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9267        if diff conftest.exp conftest.er2 >/dev/null; then
9268          lt_cv_prog_compiler_static_works=yes
9269        fi
9270      else
9271        lt_cv_prog_compiler_static_works=yes
9272      fi
9273    fi
9274    $RM -r conftest*
9275    LDFLAGS="$save_LDFLAGS"
9276
9277 fi
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9279 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9280
9281 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9282     :
9283 else
9284     lt_prog_compiler_static=
9285 fi
9286
9287
9288
9289
9290
9291
9292
9293   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9294 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9295 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9296   $as_echo_n "(cached) " >&6
9297 else
9298   lt_cv_prog_compiler_c_o=no
9299    $RM -r conftest 2>/dev/null
9300    mkdir conftest
9301    cd conftest
9302    mkdir out
9303    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9304
9305    lt_compiler_flag="-o out/conftest2.$ac_objext"
9306    # Insert the option either (1) after the last *FLAGS variable, or
9307    # (2) before a word containing "conftest.", or (3) at the end.
9308    # Note that $ac_compile itself does not contain backslashes and begins
9309    # with a dollar sign (not a hyphen), so the echo should work correctly.
9310    lt_compile=`echo "$ac_compile" | $SED \
9311    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9312    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9313    -e 's:$: $lt_compiler_flag:'`
9314    (eval echo "\"\$as_me:9314: $lt_compile\"" >&5)
9315    (eval "$lt_compile" 2>out/conftest.err)
9316    ac_status=$?
9317    cat out/conftest.err >&5
9318    echo "$as_me:9318: \$? = $ac_status" >&5
9319    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9320    then
9321      # The compiler can only warn and ignore the option if not recognized
9322      # So say no if there are warnings
9323      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9324      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9325      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9326        lt_cv_prog_compiler_c_o=yes
9327      fi
9328    fi
9329    chmod u+w . 2>&5
9330    $RM conftest*
9331    # SGI C++ compiler will create directory out/ii_files/ for
9332    # template instantiation
9333    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9334    $RM out/* && rmdir out
9335    cd ..
9336    $RM -r conftest
9337    $RM conftest*
9338
9339 fi
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9341 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9342
9343
9344
9345
9346
9347
9348   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9349 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9350 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9351   $as_echo_n "(cached) " >&6
9352 else
9353   lt_cv_prog_compiler_c_o=no
9354    $RM -r conftest 2>/dev/null
9355    mkdir conftest
9356    cd conftest
9357    mkdir out
9358    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9359
9360    lt_compiler_flag="-o out/conftest2.$ac_objext"
9361    # Insert the option either (1) after the last *FLAGS variable, or
9362    # (2) before a word containing "conftest.", or (3) at the end.
9363    # Note that $ac_compile itself does not contain backslashes and begins
9364    # with a dollar sign (not a hyphen), so the echo should work correctly.
9365    lt_compile=`echo "$ac_compile" | $SED \
9366    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9367    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9368    -e 's:$: $lt_compiler_flag:'`
9369    (eval echo "\"\$as_me:9369: $lt_compile\"" >&5)
9370    (eval "$lt_compile" 2>out/conftest.err)
9371    ac_status=$?
9372    cat out/conftest.err >&5
9373    echo "$as_me:9373: \$? = $ac_status" >&5
9374    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9375    then
9376      # The compiler can only warn and ignore the option if not recognized
9377      # So say no if there are warnings
9378      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9379      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9380      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9381        lt_cv_prog_compiler_c_o=yes
9382      fi
9383    fi
9384    chmod u+w . 2>&5
9385    $RM conftest*
9386    # SGI C++ compiler will create directory out/ii_files/ for
9387    # template instantiation
9388    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9389    $RM out/* && rmdir out
9390    cd ..
9391    $RM -r conftest
9392    $RM conftest*
9393
9394 fi
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9396 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9397
9398
9399
9400
9401 hard_links="nottested"
9402 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9403   # do not overwrite the value of need_locks provided by the user
9404   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9405 $as_echo_n "checking if we can lock with hard links... " >&6; }
9406   hard_links=yes
9407   $RM conftest*
9408   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9409   touch conftest.a
9410   ln conftest.a conftest.b 2>&5 || hard_links=no
9411   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9413 $as_echo "$hard_links" >&6; }
9414   if test "$hard_links" = no; then
9415     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9416 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9417     need_locks=warn
9418   fi
9419 else
9420   need_locks=no
9421 fi
9422
9423
9424
9425
9426
9427
9428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9429 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9430
9431   runpath_var=
9432   allow_undefined_flag=
9433   always_export_symbols=no
9434   archive_cmds=
9435   archive_expsym_cmds=
9436   compiler_needs_object=no
9437   enable_shared_with_static_runtimes=no
9438   export_dynamic_flag_spec=
9439   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9440   hardcode_automatic=no
9441   hardcode_direct=no
9442   hardcode_direct_absolute=no
9443   hardcode_libdir_flag_spec=
9444   hardcode_libdir_flag_spec_ld=
9445   hardcode_libdir_separator=
9446   hardcode_minus_L=no
9447   hardcode_shlibpath_var=unsupported
9448   inherit_rpath=no
9449   link_all_deplibs=unknown
9450   module_cmds=
9451   module_expsym_cmds=
9452   old_archive_from_new_cmds=
9453   old_archive_from_expsyms_cmds=
9454   thread_safe_flag_spec=
9455   whole_archive_flag_spec=
9456   # include_expsyms should be a list of space-separated symbols to be *always*
9457   # included in the symbol list
9458   include_expsyms=
9459   # exclude_expsyms can be an extended regexp of symbols to exclude
9460   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9461   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9462   # as well as any symbol that contains `d'.
9463   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9464   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9465   # platforms (ab)use it in PIC code, but their linkers get confused if
9466   # the symbol is explicitly referenced.  Since portable code cannot
9467   # rely on this symbol name, it's probably fine to never include it in
9468   # preloaded symbol tables.
9469   # Exclude shared library initialization/finalization symbols.
9470   extract_expsyms_cmds=
9471
9472   case $host_os in
9473   cygwin* | mingw* | pw32* | cegcc*)
9474     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9475     # When not using gcc, we currently assume that we are using
9476     # Microsoft Visual C++.
9477     if test "$GCC" != yes; then
9478       with_gnu_ld=no
9479     fi
9480     ;;
9481   interix*)
9482     # we just hope/assume this is gcc and not c89 (= MSVC++)
9483     with_gnu_ld=yes
9484     ;;
9485   openbsd*)
9486     with_gnu_ld=no
9487     ;;
9488   linux* | k*bsd*-gnu)
9489     link_all_deplibs=no
9490     ;;
9491   esac
9492
9493   ld_shlibs=yes
9494   if test "$with_gnu_ld" = yes; then
9495     # If archive_cmds runs LD, not CC, wlarc should be empty
9496     wlarc='${wl}'
9497
9498     # Set some defaults for GNU ld with shared library support. These
9499     # are reset later if shared libraries are not supported. Putting them
9500     # here allows them to be overridden if necessary.
9501     runpath_var=LD_RUN_PATH
9502     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9503     export_dynamic_flag_spec='${wl}--export-dynamic'
9504     # ancient GNU ld didn't support --whole-archive et. al.
9505     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9506       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9507     else
9508       whole_archive_flag_spec=
9509     fi
9510     supports_anon_versioning=no
9511     case `$LD -v 2>&1` in
9512       *GNU\ gold*) supports_anon_versioning=yes ;;
9513       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9514       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9515       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9516       *\ 2.11.*) ;; # other 2.11 versions
9517       *) supports_anon_versioning=yes ;;
9518     esac
9519
9520     # See if GNU ld supports shared libraries.
9521     case $host_os in
9522     aix[3-9]*)
9523       # On AIX/PPC, the GNU linker is very broken
9524       if test "$host_cpu" != ia64; then
9525         ld_shlibs=no
9526         cat <<_LT_EOF 1>&2
9527
9528 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9529 *** to be unable to reliably create shared libraries on AIX.
9530 *** Therefore, libtool is disabling shared libraries support.  If you
9531 *** really care for shared libraries, you may want to modify your PATH
9532 *** so that a non-GNU linker is found, and then restart.
9533
9534 _LT_EOF
9535       fi
9536       ;;
9537
9538     amigaos*)
9539       case $host_cpu in
9540       powerpc)
9541             # see comment about AmigaOS4 .so support
9542             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9543             archive_expsym_cmds=''
9544         ;;
9545       m68k)
9546             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9547             hardcode_libdir_flag_spec='-L$libdir'
9548             hardcode_minus_L=yes
9549         ;;
9550       esac
9551       ;;
9552
9553     beos*)
9554       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9555         allow_undefined_flag=unsupported
9556         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9557         # support --undefined.  This deserves some investigation.  FIXME
9558         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9559       else
9560         ld_shlibs=no
9561       fi
9562       ;;
9563
9564     cygwin* | mingw* | pw32* | cegcc*)
9565       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9566       # as there is no search path for DLLs.
9567       hardcode_libdir_flag_spec='-L$libdir'
9568       allow_undefined_flag=unsupported
9569       always_export_symbols=no
9570       enable_shared_with_static_runtimes=yes
9571       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9572
9573       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9574         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9575         # If the export-symbols file already is a .def file (1st line
9576         # is EXPORTS), use it as is; otherwise, prepend...
9577         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9578           cp $export_symbols $output_objdir/$soname.def;
9579         else
9580           echo EXPORTS > $output_objdir/$soname.def;
9581           cat $export_symbols >> $output_objdir/$soname.def;
9582         fi~
9583         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9584       else
9585         ld_shlibs=no
9586       fi
9587       ;;
9588
9589     interix[3-9]*)
9590       hardcode_direct=no
9591       hardcode_shlibpath_var=no
9592       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9593       export_dynamic_flag_spec='${wl}-E'
9594       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9595       # Instead, shared libraries are loaded at an image base (0x10000000 by
9596       # default) and relocated if they conflict, which is a slow very memory
9597       # consuming and fragmenting process.  To avoid this, we pick a random,
9598       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9599       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9600       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9601       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9602       ;;
9603
9604     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9605       tmp_diet=no
9606       if test "$host_os" = linux-dietlibc; then
9607         case $cc_basename in
9608           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9609         esac
9610       fi
9611       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9612          && test "$tmp_diet" = no
9613       then
9614         tmp_addflag=
9615         tmp_sharedflag='-shared'
9616         case $cc_basename,$host_cpu in
9617         pgcc*)                          # Portland Group C compiler
9618           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9619           tmp_addflag=' $pic_flag'
9620           ;;
9621         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9622           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9623           tmp_addflag=' $pic_flag -Mnomain' ;;
9624         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9625           tmp_addflag=' -i_dynamic' ;;
9626         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9627           tmp_addflag=' -i_dynamic -nofor_main' ;;
9628         ifc* | ifort*)                  # Intel Fortran compiler
9629           tmp_addflag=' -nofor_main' ;;
9630         lf95*)                          # Lahey Fortran 8.1
9631           whole_archive_flag_spec=
9632           tmp_sharedflag='--shared' ;;
9633         xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9634           tmp_sharedflag='-qmkshrobj'
9635           tmp_addflag= ;;
9636         esac
9637         case `$CC -V 2>&1 | sed 5q` in
9638         *Sun\ C*)                       # Sun C 5.9
9639           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9640           compiler_needs_object=yes
9641           tmp_sharedflag='-G' ;;
9642         *Sun\ F*)                       # Sun Fortran 8.3
9643           tmp_sharedflag='-G' ;;
9644         esac
9645         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9646
9647         if test "x$supports_anon_versioning" = xyes; then
9648           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9649             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9650             echo "local: *; };" >> $output_objdir/$libname.ver~
9651             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9652         fi
9653
9654         case $cc_basename in
9655         xlf*)
9656           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9657           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9658           hardcode_libdir_flag_spec=
9659           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9660           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9661           if test "x$supports_anon_versioning" = xyes; then
9662             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9663               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9664               echo "local: *; };" >> $output_objdir/$libname.ver~
9665               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9666           fi
9667           ;;
9668         esac
9669       else
9670         ld_shlibs=no
9671       fi
9672       ;;
9673
9674     netbsd* | netbsdelf*-gnu)
9675       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9676         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9677         wlarc=
9678       else
9679         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9680         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9681       fi
9682       ;;
9683
9684     solaris*)
9685       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9686         ld_shlibs=no
9687         cat <<_LT_EOF 1>&2
9688
9689 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9690 *** create shared libraries on Solaris systems.  Therefore, libtool
9691 *** is disabling shared libraries support.  We urge you to upgrade GNU
9692 *** binutils to release 2.9.1 or newer.  Another option is to modify
9693 *** your PATH or compiler configuration so that the native linker is
9694 *** used, and then restart.
9695
9696 _LT_EOF
9697       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9698         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9699         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9700       else
9701         ld_shlibs=no
9702       fi
9703       ;;
9704
9705     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9706       case `$LD -v 2>&1` in
9707         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9708         ld_shlibs=no
9709         cat <<_LT_EOF 1>&2
9710
9711 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9712 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9713 *** is disabling shared libraries support.  We urge you to upgrade GNU
9714 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9715 *** your PATH or compiler configuration so that the native linker is
9716 *** used, and then restart.
9717
9718 _LT_EOF
9719         ;;
9720         *)
9721           # For security reasons, it is highly recommended that you always
9722           # use absolute paths for naming shared libraries, and exclude the
9723           # DT_RUNPATH tag from executables and libraries.  But doing so
9724           # requires that you compile everything twice, which is a pain.
9725           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9726             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9727             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9728             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9729           else
9730             ld_shlibs=no
9731           fi
9732         ;;
9733       esac
9734       ;;
9735
9736     sunos4*)
9737       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9738       wlarc=
9739       hardcode_direct=yes
9740       hardcode_shlibpath_var=no
9741       ;;
9742
9743     *)
9744       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9745         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9746         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9747       else
9748         ld_shlibs=no
9749       fi
9750       ;;
9751     esac
9752
9753     if test "$ld_shlibs" = no; then
9754       runpath_var=
9755       hardcode_libdir_flag_spec=
9756       export_dynamic_flag_spec=
9757       whole_archive_flag_spec=
9758     fi
9759   else
9760     # PORTME fill in a description of your system's linker (not GNU ld)
9761     case $host_os in
9762     aix3*)
9763       allow_undefined_flag=unsupported
9764       always_export_symbols=yes
9765       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9766       # Note: this linker hardcodes the directories in LIBPATH if there
9767       # are no directories specified by -L.
9768       hardcode_minus_L=yes
9769       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9770         # Neither direct hardcoding nor static linking is supported with a
9771         # broken collect2.
9772         hardcode_direct=unsupported
9773       fi
9774       ;;
9775
9776     aix[4-9]*)
9777       if test "$host_cpu" = ia64; then
9778         # On IA64, the linker does run time linking by default, so we don't
9779         # have to do anything special.
9780         aix_use_runtimelinking=no
9781         exp_sym_flag='-Bexport'
9782         no_entry_flag=""
9783       else
9784         # If we're using GNU nm, then we don't want the "-C" option.
9785         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9786         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9787           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9788         else
9789           export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9790         fi
9791         aix_use_runtimelinking=no
9792
9793         # Test if we are trying to use run time linking or normal
9794         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9795         # need to do runtime linking.
9796         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9797           for ld_flag in $LDFLAGS; do
9798           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9799             aix_use_runtimelinking=yes
9800             break
9801           fi
9802           done
9803           ;;
9804         esac
9805
9806         exp_sym_flag='-bexport'
9807         no_entry_flag='-bnoentry'
9808       fi
9809
9810       # When large executables or shared objects are built, AIX ld can
9811       # have problems creating the table of contents.  If linking a library
9812       # or program results in "error TOC overflow" add -mminimal-toc to
9813       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9814       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9815
9816       archive_cmds=''
9817       hardcode_direct=yes
9818       hardcode_direct_absolute=yes
9819       hardcode_libdir_separator=':'
9820       link_all_deplibs=yes
9821       file_list_spec='${wl}-f,'
9822
9823       if test "$GCC" = yes; then
9824         case $host_os in aix4.[012]|aix4.[012].*)
9825         # We only want to do this on AIX 4.2 and lower, the check
9826         # below for broken collect2 doesn't work under 4.3+
9827           collect2name=`${CC} -print-prog-name=collect2`
9828           if test -f "$collect2name" &&
9829            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9830           then
9831           # We have reworked collect2
9832           :
9833           else
9834           # We have old collect2
9835           hardcode_direct=unsupported
9836           # It fails to find uninstalled libraries when the uninstalled
9837           # path is not listed in the libpath.  Setting hardcode_minus_L
9838           # to unsupported forces relinking
9839           hardcode_minus_L=yes
9840           hardcode_libdir_flag_spec='-L$libdir'
9841           hardcode_libdir_separator=
9842           fi
9843           ;;
9844         esac
9845         shared_flag='-shared'
9846         if test "$aix_use_runtimelinking" = yes; then
9847           shared_flag="$shared_flag "'${wl}-G'
9848         fi
9849         link_all_deplibs=no
9850       else
9851         # not using gcc
9852         if test "$host_cpu" = ia64; then
9853         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9854         # chokes on -Wl,-G. The following line is correct:
9855           shared_flag='-G'
9856         else
9857           if test "$aix_use_runtimelinking" = yes; then
9858             shared_flag='${wl}-G'
9859           else
9860             shared_flag='${wl}-bM:SRE'
9861           fi
9862         fi
9863       fi
9864
9865       export_dynamic_flag_spec='${wl}-bexpall'
9866       # It seems that -bexpall does not export symbols beginning with
9867       # underscore (_), so it is better to generate a list of symbols to export.
9868       always_export_symbols=yes
9869       if test "$aix_use_runtimelinking" = yes; then
9870         # Warning - without using the other runtime loading flags (-brtl),
9871         # -berok will link without error, but may produce a broken library.
9872         allow_undefined_flag='-berok'
9873         # Determine the default libpath from the value encoded in an
9874         # empty executable.
9875         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9876 /* end confdefs.h.  */
9877
9878 int
9879 main ()
9880 {
9881
9882   ;
9883   return 0;
9884 }
9885 _ACEOF
9886 if ac_fn_c_try_link "$LINENO"; then :
9887
9888 lt_aix_libpath_sed='
9889     /Import File Strings/,/^$/ {
9890         /^0/ {
9891             s/^0  *\(.*\)$/\1/
9892             p
9893         }
9894     }'
9895 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9896 # Check for a 64-bit object if we didn't find anything.
9897 if test -z "$aix_libpath"; then
9898   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9899 fi
9900 fi
9901 rm -f core conftest.err conftest.$ac_objext \
9902     conftest$ac_exeext conftest.$ac_ext
9903 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9904
9905         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9906         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9907       else
9908         if test "$host_cpu" = ia64; then
9909           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9910           allow_undefined_flag="-z nodefs"
9911           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9912         else
9913          # Determine the default libpath from the value encoded in an
9914          # empty executable.
9915          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9916 /* end confdefs.h.  */
9917
9918 int
9919 main ()
9920 {
9921
9922   ;
9923   return 0;
9924 }
9925 _ACEOF
9926 if ac_fn_c_try_link "$LINENO"; then :
9927
9928 lt_aix_libpath_sed='
9929     /Import File Strings/,/^$/ {
9930         /^0/ {
9931             s/^0  *\(.*\)$/\1/
9932             p
9933         }
9934     }'
9935 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9936 # Check for a 64-bit object if we didn't find anything.
9937 if test -z "$aix_libpath"; then
9938   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9939 fi
9940 fi
9941 rm -f core conftest.err conftest.$ac_objext \
9942     conftest$ac_exeext conftest.$ac_ext
9943 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9944
9945          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9946           # Warning - without using the other run time loading flags,
9947           # -berok will link without error, but may produce a broken library.
9948           no_undefined_flag=' ${wl}-bernotok'
9949           allow_undefined_flag=' ${wl}-berok'
9950           # Exported symbols can be pulled into shared objects from archives
9951           whole_archive_flag_spec='$convenience'
9952           archive_cmds_need_lc=yes
9953           # This is similar to how AIX traditionally builds its shared libraries.
9954           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9955         fi
9956       fi
9957       ;;
9958
9959     amigaos*)
9960       case $host_cpu in
9961       powerpc)
9962             # see comment about AmigaOS4 .so support
9963             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9964             archive_expsym_cmds=''
9965         ;;
9966       m68k)
9967             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9968             hardcode_libdir_flag_spec='-L$libdir'
9969             hardcode_minus_L=yes
9970         ;;
9971       esac
9972       ;;
9973
9974     bsdi[45]*)
9975       export_dynamic_flag_spec=-rdynamic
9976       ;;
9977
9978     cygwin* | mingw* | pw32* | cegcc*)
9979       # When not using gcc, we currently assume that we are using
9980       # Microsoft Visual C++.
9981       # hardcode_libdir_flag_spec is actually meaningless, as there is
9982       # no search path for DLLs.
9983       hardcode_libdir_flag_spec=' '
9984       allow_undefined_flag=unsupported
9985       # Tell ltmain to make .lib files, not .a files.
9986       libext=lib
9987       # Tell ltmain to make .dll files, not .so files.
9988       shrext_cmds=".dll"
9989       # FIXME: Setting linknames here is a bad hack.
9990       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9991       # The linker will automatically build a .lib file if we build a DLL.
9992       old_archive_from_new_cmds='true'
9993       # FIXME: Should let the user specify the lib program.
9994       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9995       fix_srcfile_path='`cygpath -w "$srcfile"`'
9996       enable_shared_with_static_runtimes=yes
9997       ;;
9998
9999     darwin* | rhapsody*)
10000
10001
10002   archive_cmds_need_lc=no
10003   hardcode_direct=no
10004   hardcode_automatic=yes
10005   hardcode_shlibpath_var=unsupported
10006   whole_archive_flag_spec=''
10007   link_all_deplibs=yes
10008   allow_undefined_flag="$_lt_dar_allow_undefined"
10009   case $cc_basename in
10010      ifort*) _lt_dar_can_shared=yes ;;
10011      *) _lt_dar_can_shared=$GCC ;;
10012   esac
10013   if test "$_lt_dar_can_shared" = "yes"; then
10014     output_verbose_link_cmd=echo
10015     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10016     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10017     archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10018     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
10019
10020   else
10021   ld_shlibs=no
10022   fi
10023
10024       ;;
10025
10026     dgux*)
10027       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10028       hardcode_libdir_flag_spec='-L$libdir'
10029       hardcode_shlibpath_var=no
10030       ;;
10031
10032     freebsd1*)
10033       ld_shlibs=no
10034       ;;
10035
10036     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10037     # support.  Future versions do this automatically, but an explicit c++rt0.o
10038     # does not break anything, and helps significantly (at the cost of a little
10039     # extra space).
10040     freebsd2.2*)
10041       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10042       hardcode_libdir_flag_spec='-R$libdir'
10043       hardcode_direct=yes
10044       hardcode_shlibpath_var=no
10045       ;;
10046
10047     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10048     freebsd2*)
10049       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10050       hardcode_direct=yes
10051       hardcode_minus_L=yes
10052       hardcode_shlibpath_var=no
10053       ;;
10054
10055     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10056     freebsd* | dragonfly*)
10057       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10058       hardcode_libdir_flag_spec='-R$libdir'
10059       hardcode_direct=yes
10060       hardcode_shlibpath_var=no
10061       ;;
10062
10063     hpux9*)
10064       if test "$GCC" = yes; then
10065         archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10066       else
10067         archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10068       fi
10069       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10070       hardcode_libdir_separator=:
10071       hardcode_direct=yes
10072
10073       # hardcode_minus_L: Not really in the search PATH,
10074       # but as the default location of the library.
10075       hardcode_minus_L=yes
10076       export_dynamic_flag_spec='${wl}-E'
10077       ;;
10078
10079     hpux10*)
10080       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10081         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10082       else
10083         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10084       fi
10085       if test "$with_gnu_ld" = no; then
10086         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10087         hardcode_libdir_flag_spec_ld='+b $libdir'
10088         hardcode_libdir_separator=:
10089         hardcode_direct=yes
10090         hardcode_direct_absolute=yes
10091         export_dynamic_flag_spec='${wl}-E'
10092         # hardcode_minus_L: Not really in the search PATH,
10093         # but as the default location of the library.
10094         hardcode_minus_L=yes
10095       fi
10096       ;;
10097
10098     hpux11*)
10099       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10100         case $host_cpu in
10101         hppa*64*)
10102           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10103           ;;
10104         ia64*)
10105           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10106           ;;
10107         *)
10108           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10109           ;;
10110         esac
10111       else
10112         case $host_cpu in
10113         hppa*64*)
10114           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10115           ;;
10116         ia64*)
10117           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10118           ;;
10119         *)
10120           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10121           ;;
10122         esac
10123       fi
10124       if test "$with_gnu_ld" = no; then
10125         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10126         hardcode_libdir_separator=:
10127
10128         case $host_cpu in
10129         hppa*64*|ia64*)
10130           hardcode_direct=no
10131           hardcode_shlibpath_var=no
10132           ;;
10133         *)
10134           hardcode_direct=yes
10135           hardcode_direct_absolute=yes
10136           export_dynamic_flag_spec='${wl}-E'
10137
10138           # hardcode_minus_L: Not really in the search PATH,
10139           # but as the default location of the library.
10140           hardcode_minus_L=yes
10141           ;;
10142         esac
10143       fi
10144       ;;
10145
10146     irix5* | irix6* | nonstopux*)
10147       if test "$GCC" = yes; then
10148         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10149         # Try to use the -exported_symbol ld option, if it does not
10150         # work, assume that -exports_file does not work either and
10151         # implicitly export all symbols.
10152         save_LDFLAGS="$LDFLAGS"
10153         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10154         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10155 /* end confdefs.h.  */
10156 int foo(void) {}
10157 _ACEOF
10158 if ac_fn_c_try_link "$LINENO"; then :
10159   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10160
10161 fi
10162 rm -f core conftest.err conftest.$ac_objext \
10163     conftest$ac_exeext conftest.$ac_ext
10164         LDFLAGS="$save_LDFLAGS"
10165       else
10166         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10167         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10168       fi
10169       archive_cmds_need_lc='no'
10170       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10171       hardcode_libdir_separator=:
10172       inherit_rpath=yes
10173       link_all_deplibs=yes
10174       ;;
10175
10176     netbsd* | netbsdelf*-gnu)
10177       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10178         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10179       else
10180         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10181       fi
10182       hardcode_libdir_flag_spec='-R$libdir'
10183       hardcode_direct=yes
10184       hardcode_shlibpath_var=no
10185       ;;
10186
10187     newsos6)
10188       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10189       hardcode_direct=yes
10190       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10191       hardcode_libdir_separator=:
10192       hardcode_shlibpath_var=no
10193       ;;
10194
10195     *nto* | *qnx*)
10196       ;;
10197
10198     openbsd*)
10199       if test -f /usr/libexec/ld.so; then
10200         hardcode_direct=yes
10201         hardcode_shlibpath_var=no
10202         hardcode_direct_absolute=yes
10203         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10204           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10205           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10206           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10207           export_dynamic_flag_spec='${wl}-E'
10208         else
10209           case $host_os in
10210            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10211              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10212              hardcode_libdir_flag_spec='-R$libdir'
10213              ;;
10214            *)
10215              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10216              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10217              ;;
10218           esac
10219         fi
10220       else
10221         ld_shlibs=no
10222       fi
10223       ;;
10224
10225     os2*)
10226       hardcode_libdir_flag_spec='-L$libdir'
10227       hardcode_minus_L=yes
10228       allow_undefined_flag=unsupported
10229       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10230       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10231       ;;
10232
10233     osf3*)
10234       if test "$GCC" = yes; then
10235         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10236         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10237       else
10238         allow_undefined_flag=' -expect_unresolved \*'
10239         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10240       fi
10241       archive_cmds_need_lc='no'
10242       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10243       hardcode_libdir_separator=:
10244       ;;
10245
10246     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10247       if test "$GCC" = yes; then
10248         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10249         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10250         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10251       else
10252         allow_undefined_flag=' -expect_unresolved \*'
10253         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10254         archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10255         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10256
10257         # Both c and cxx compiler support -rpath directly
10258         hardcode_libdir_flag_spec='-rpath $libdir'
10259       fi
10260       archive_cmds_need_lc='no'
10261       hardcode_libdir_separator=:
10262       ;;
10263
10264     solaris*)
10265       no_undefined_flag=' -z defs'
10266       if test "$GCC" = yes; then
10267         wlarc='${wl}'
10268         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10269         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10270           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10271       else
10272         case `$CC -V 2>&1` in
10273         *"Compilers 5.0"*)
10274           wlarc=''
10275           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10276           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10277           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10278           ;;
10279         *)
10280           wlarc='${wl}'
10281           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10282           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10283           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10284           ;;
10285         esac
10286       fi
10287       hardcode_libdir_flag_spec='-R$libdir'
10288       hardcode_shlibpath_var=no
10289       case $host_os in
10290       solaris2.[0-5] | solaris2.[0-5].*) ;;
10291       *)
10292         # The compiler driver will combine and reorder linker options,
10293         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10294         # but is careful enough not to reorder.
10295         # Supported since Solaris 2.6 (maybe 2.5.1?)
10296         if test "$GCC" = yes; then
10297           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10298         else
10299           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10300         fi
10301         ;;
10302       esac
10303       link_all_deplibs=yes
10304       ;;
10305
10306     sunos4*)
10307       if test "x$host_vendor" = xsequent; then
10308         # Use $CC to link under sequent, because it throws in some extra .o
10309         # files that make .init and .fini sections work.
10310         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10311       else
10312         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10313       fi
10314       hardcode_libdir_flag_spec='-L$libdir'
10315       hardcode_direct=yes
10316       hardcode_minus_L=yes
10317       hardcode_shlibpath_var=no
10318       ;;
10319
10320     sysv4)
10321       case $host_vendor in
10322         sni)
10323           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10324           hardcode_direct=yes # is this really true???
10325         ;;
10326         siemens)
10327           ## LD is ld it makes a PLAMLIB
10328           ## CC just makes a GrossModule.
10329           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10330           reload_cmds='$CC -r -o $output$reload_objs'
10331           hardcode_direct=no
10332         ;;
10333         motorola)
10334           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10335           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10336         ;;
10337       esac
10338       runpath_var='LD_RUN_PATH'
10339       hardcode_shlibpath_var=no
10340       ;;
10341
10342     sysv4.3*)
10343       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10344       hardcode_shlibpath_var=no
10345       export_dynamic_flag_spec='-Bexport'
10346       ;;
10347
10348     sysv4*MP*)
10349       if test -d /usr/nec; then
10350         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10351         hardcode_shlibpath_var=no
10352         runpath_var=LD_RUN_PATH
10353         hardcode_runpath_var=yes
10354         ld_shlibs=yes
10355       fi
10356       ;;
10357
10358     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10359       no_undefined_flag='${wl}-z,text'
10360       archive_cmds_need_lc=no
10361       hardcode_shlibpath_var=no
10362       runpath_var='LD_RUN_PATH'
10363
10364       if test "$GCC" = yes; then
10365         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10366         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10367       else
10368         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10369         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10370       fi
10371       ;;
10372
10373     sysv5* | sco3.2v5* | sco5v6*)
10374       # Note: We can NOT use -z defs as we might desire, because we do not
10375       # link with -lc, and that would cause any symbols used from libc to
10376       # always be unresolved, which means just about no library would
10377       # ever link correctly.  If we're not using GNU ld we use -z text
10378       # though, which does catch some bad symbols but isn't as heavy-handed
10379       # as -z defs.
10380       no_undefined_flag='${wl}-z,text'
10381       allow_undefined_flag='${wl}-z,nodefs'
10382       archive_cmds_need_lc=no
10383       hardcode_shlibpath_var=no
10384       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10385       hardcode_libdir_separator=':'
10386       link_all_deplibs=yes
10387       export_dynamic_flag_spec='${wl}-Bexport'
10388       runpath_var='LD_RUN_PATH'
10389
10390       if test "$GCC" = yes; then
10391         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10392         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10393       else
10394         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10395         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10396       fi
10397       ;;
10398
10399     uts4*)
10400       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10401       hardcode_libdir_flag_spec='-L$libdir'
10402       hardcode_shlibpath_var=no
10403       ;;
10404
10405     *)
10406       ld_shlibs=no
10407       ;;
10408     esac
10409
10410     if test x$host_vendor = xsni; then
10411       case $host in
10412       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10413         export_dynamic_flag_spec='${wl}-Blargedynsym'
10414         ;;
10415       esac
10416     fi
10417   fi
10418
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10420 $as_echo "$ld_shlibs" >&6; }
10421 test "$ld_shlibs" = no && can_build_shared=no
10422
10423 with_gnu_ld=$with_gnu_ld
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439 #
10440 # Do we need to explicitly link libc?
10441 #
10442 case "x$archive_cmds_need_lc" in
10443 x|xyes)
10444   # Assume -lc should be added
10445   archive_cmds_need_lc=yes
10446
10447   if test "$enable_shared" = yes && test "$GCC" = yes; then
10448     case $archive_cmds in
10449     *'~'*)
10450       # FIXME: we may have to deal with multi-command sequences.
10451       ;;
10452     '$CC '*)
10453       # Test whether the compiler implicitly links with -lc since on some
10454       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10455       # to ld, don't add -lc before -lgcc.
10456       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10457 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10458       $RM conftest*
10459       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10460
10461       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10462   (eval $ac_compile) 2>&5
10463   ac_status=$?
10464   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10465   test $ac_status = 0; } 2>conftest.err; then
10466         soname=conftest
10467         lib=conftest
10468         libobjs=conftest.$ac_objext
10469         deplibs=
10470         wl=$lt_prog_compiler_wl
10471         pic_flag=$lt_prog_compiler_pic
10472         compiler_flags=-v
10473         linker_flags=-v
10474         verstring=
10475         output_objdir=.
10476         libname=conftest
10477         lt_save_allow_undefined_flag=$allow_undefined_flag
10478         allow_undefined_flag=
10479         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10480   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10481   ac_status=$?
10482   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10483   test $ac_status = 0; }
10484         then
10485           archive_cmds_need_lc=no
10486         else
10487           archive_cmds_need_lc=yes
10488         fi
10489         allow_undefined_flag=$lt_save_allow_undefined_flag
10490       else
10491         cat conftest.err 1>&5
10492       fi
10493       $RM conftest*
10494       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10495 $as_echo "$archive_cmds_need_lc" >&6; }
10496       ;;
10497     esac
10498   fi
10499   ;;
10500 esac
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10659 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10660
10661 if test "$GCC" = yes; then
10662   case $host_os in
10663     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10664     *) lt_awk_arg="/^libraries:/" ;;
10665   esac
10666   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10667   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10668     # if the path contains ";" then we assume it to be the separator
10669     # otherwise default to the standard path separator (i.e. ":") - it is
10670     # assumed that no part of a normal pathname contains ";" but that should
10671     # okay in the real world where ";" in dirpaths is itself problematic.
10672     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10673   else
10674     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10675   fi
10676   # Ok, now we have the path, separated by spaces, we can step through it
10677   # and add multilib dir if necessary.
10678   lt_tmp_lt_search_path_spec=
10679   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10680   for lt_sys_path in $lt_search_path_spec; do
10681     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10682       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10683     else
10684       test -d "$lt_sys_path" && \
10685         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10686     fi
10687   done
10688   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10689 BEGIN {RS=" "; FS="/|\n";} {
10690   lt_foo="";
10691   lt_count=0;
10692   for (lt_i = NF; lt_i > 0; lt_i--) {
10693     if ($lt_i != "" && $lt_i != ".") {
10694       if ($lt_i == "..") {
10695         lt_count++;
10696       } else {
10697         if (lt_count == 0) {
10698           lt_foo="/" $lt_i lt_foo;
10699         } else {
10700           lt_count--;
10701         }
10702       }
10703     }
10704   }
10705   if (lt_foo != "") { lt_freq[lt_foo]++; }
10706   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10707 }'`
10708   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10709 else
10710   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10711 fi
10712 library_names_spec=
10713 libname_spec='lib$name'
10714 soname_spec=
10715 shrext_cmds=".so"
10716 postinstall_cmds=
10717 postuninstall_cmds=
10718 finish_cmds=
10719 finish_eval=
10720 shlibpath_var=
10721 shlibpath_overrides_runpath=unknown
10722 version_type=none
10723 dynamic_linker="$host_os ld.so"
10724 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10725 need_lib_prefix=unknown
10726 hardcode_into_libs=no
10727
10728 # when you set need_version to no, make sure it does not cause -set_version
10729 # flags to be left without arguments
10730 need_version=unknown
10731
10732 case $host_os in
10733 aix3*)
10734   version_type=linux
10735   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10736   shlibpath_var=LIBPATH
10737
10738   # AIX 3 has no versioning support, so we append a major version to the name.
10739   soname_spec='${libname}${release}${shared_ext}$major'
10740   ;;
10741
10742 aix[4-9]*)
10743   version_type=linux
10744   need_lib_prefix=no
10745   need_version=no
10746   hardcode_into_libs=yes
10747   if test "$host_cpu" = ia64; then
10748     # AIX 5 supports IA64
10749     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10750     shlibpath_var=LD_LIBRARY_PATH
10751   else
10752     # With GCC up to 2.95.x, collect2 would create an import file
10753     # for dependence libraries.  The import file would start with
10754     # the line `#! .'.  This would cause the generated library to
10755     # depend on `.', always an invalid library.  This was fixed in
10756     # development snapshots of GCC prior to 3.0.
10757     case $host_os in
10758       aix4 | aix4.[01] | aix4.[01].*)
10759       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10760            echo ' yes '
10761            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10762         :
10763       else
10764         can_build_shared=no
10765       fi
10766       ;;
10767     esac
10768     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10769     # soname into executable. Probably we can add versioning support to
10770     # collect2, so additional links can be useful in future.
10771     if test "$aix_use_runtimelinking" = yes; then
10772       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10773       # instead of lib<name>.a to let people know that these are not
10774       # typical AIX shared libraries.
10775       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10776     else
10777       # We preserve .a as extension for shared libraries through AIX4.2
10778       # and later when we are not doing run time linking.
10779       library_names_spec='${libname}${release}.a $libname.a'
10780       soname_spec='${libname}${release}${shared_ext}$major'
10781     fi
10782     shlibpath_var=LIBPATH
10783   fi
10784   ;;
10785
10786 amigaos*)
10787   case $host_cpu in
10788   powerpc)
10789     # Since July 2007 AmigaOS4 officially supports .so libraries.
10790     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10791     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10792     ;;
10793   m68k)
10794     library_names_spec='$libname.ixlibrary $libname.a'
10795     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10796     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10797     ;;
10798   esac
10799   ;;
10800
10801 beos*)
10802   library_names_spec='${libname}${shared_ext}'
10803   dynamic_linker="$host_os ld.so"
10804   shlibpath_var=LIBRARY_PATH
10805   ;;
10806
10807 bsdi[45]*)
10808   version_type=linux
10809   need_version=no
10810   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10811   soname_spec='${libname}${release}${shared_ext}$major'
10812   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10813   shlibpath_var=LD_LIBRARY_PATH
10814   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10815   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10816   # the default ld.so.conf also contains /usr/contrib/lib and
10817   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10818   # libtool to hard-code these into programs
10819   ;;
10820
10821 cygwin* | mingw* | pw32* | cegcc*)
10822   version_type=windows
10823   shrext_cmds=".dll"
10824   need_version=no
10825   need_lib_prefix=no
10826
10827   case $GCC,$host_os in
10828   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10829     library_names_spec='$libname.dll.a'
10830     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10831     postinstall_cmds='base_file=`basename \${file}`~
10832       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10833       dldir=$destdir/`dirname \$dlpath`~
10834       test -d \$dldir || mkdir -p \$dldir~
10835       $install_prog $dir/$dlname \$dldir/$dlname~
10836       chmod a+x \$dldir/$dlname~
10837       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10838         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10839       fi'
10840     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10841       dlpath=$dir/\$dldll~
10842        $RM \$dlpath'
10843     shlibpath_overrides_runpath=yes
10844
10845     case $host_os in
10846     cygwin*)
10847       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10848       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10849       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10850       ;;
10851     mingw* | cegcc*)
10852       # MinGW DLLs use traditional 'lib' prefix
10853       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10854       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10855       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10856         # It is most probably a Windows format PATH printed by
10857         # mingw gcc, but we are running on Cygwin. Gcc prints its search
10858         # path with ; separators, and with drive letters. We can handle the
10859         # drive letters (cygwin fileutils understands them), so leave them,
10860         # especially as we might pass files found there to a mingw objdump,
10861         # which wouldn't understand a cygwinified path. Ahh.
10862         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10863       else
10864         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10865       fi
10866       ;;
10867     pw32*)
10868       # pw32 DLLs use 'pw' prefix rather than 'lib'
10869       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10870       ;;
10871     esac
10872     ;;
10873
10874   *)
10875     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10876     ;;
10877   esac
10878   dynamic_linker='Win32 ld.exe'
10879   # FIXME: first we should search . and the directory the executable is in
10880   shlibpath_var=PATH
10881   ;;
10882
10883 darwin* | rhapsody*)
10884   dynamic_linker="$host_os dyld"
10885   version_type=darwin
10886   need_lib_prefix=no
10887   need_version=no
10888   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10889   soname_spec='${libname}${release}${major}$shared_ext'
10890   shlibpath_overrides_runpath=yes
10891   shlibpath_var=DYLD_LIBRARY_PATH
10892   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10893
10894   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10895   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10896   ;;
10897
10898 dgux*)
10899   version_type=linux
10900   need_lib_prefix=no
10901   need_version=no
10902   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10903   soname_spec='${libname}${release}${shared_ext}$major'
10904   shlibpath_var=LD_LIBRARY_PATH
10905   ;;
10906
10907 freebsd1*)
10908   dynamic_linker=no
10909   ;;
10910
10911 freebsd* | dragonfly*)
10912   # DragonFly does not have aout.  When/if they implement a new
10913   # versioning mechanism, adjust this.
10914   if test -x /usr/bin/objformat; then
10915     objformat=`/usr/bin/objformat`
10916   else
10917     case $host_os in
10918     freebsd[123]*) objformat=aout ;;
10919     *) objformat=elf ;;
10920     esac
10921   fi
10922   version_type=freebsd-$objformat
10923   case $version_type in
10924     freebsd-elf*)
10925       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10926       need_version=no
10927       need_lib_prefix=no
10928       ;;
10929     freebsd-*)
10930       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10931       need_version=yes
10932       ;;
10933   esac
10934   shlibpath_var=LD_LIBRARY_PATH
10935   case $host_os in
10936   freebsd2*)
10937     shlibpath_overrides_runpath=yes
10938     ;;
10939   freebsd3.[01]* | freebsdelf3.[01]*)
10940     shlibpath_overrides_runpath=yes
10941     hardcode_into_libs=yes
10942     ;;
10943   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10944   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10945     shlibpath_overrides_runpath=no
10946     hardcode_into_libs=yes
10947     ;;
10948   *) # from 4.6 on, and DragonFly
10949     shlibpath_overrides_runpath=yes
10950     hardcode_into_libs=yes
10951     ;;
10952   esac
10953   ;;
10954
10955 gnu*)
10956   version_type=linux
10957   need_lib_prefix=no
10958   need_version=no
10959   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10960   soname_spec='${libname}${release}${shared_ext}$major'
10961   shlibpath_var=LD_LIBRARY_PATH
10962   hardcode_into_libs=yes
10963   ;;
10964
10965 hpux9* | hpux10* | hpux11*)
10966   # Give a soname corresponding to the major version so that dld.sl refuses to
10967   # link against other versions.
10968   version_type=sunos
10969   need_lib_prefix=no
10970   need_version=no
10971   case $host_cpu in
10972   ia64*)
10973     shrext_cmds='.so'
10974     hardcode_into_libs=yes
10975     dynamic_linker="$host_os dld.so"
10976     shlibpath_var=LD_LIBRARY_PATH
10977     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10978     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10979     soname_spec='${libname}${release}${shared_ext}$major'
10980     if test "X$HPUX_IA64_MODE" = X32; then
10981       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10982     else
10983       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10984     fi
10985     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10986     ;;
10987   hppa*64*)
10988     shrext_cmds='.sl'
10989     hardcode_into_libs=yes
10990     dynamic_linker="$host_os dld.sl"
10991     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10992     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10993     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10994     soname_spec='${libname}${release}${shared_ext}$major'
10995     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10996     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10997     ;;
10998   *)
10999     shrext_cmds='.sl'
11000     dynamic_linker="$host_os dld.sl"
11001     shlibpath_var=SHLIB_PATH
11002     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11003     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11004     soname_spec='${libname}${release}${shared_ext}$major'
11005     ;;
11006   esac
11007   # HP-UX runs *really* slowly unless shared libraries are mode 555.
11008   postinstall_cmds='chmod 555 $lib'
11009   ;;
11010
11011 interix[3-9]*)
11012   version_type=linux
11013   need_lib_prefix=no
11014   need_version=no
11015   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11016   soname_spec='${libname}${release}${shared_ext}$major'
11017   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11018   shlibpath_var=LD_LIBRARY_PATH
11019   shlibpath_overrides_runpath=no
11020   hardcode_into_libs=yes
11021   ;;
11022
11023 irix5* | irix6* | nonstopux*)
11024   case $host_os in
11025     nonstopux*) version_type=nonstopux ;;
11026     *)
11027         if test "$lt_cv_prog_gnu_ld" = yes; then
11028                 version_type=linux
11029         else
11030                 version_type=irix
11031         fi ;;
11032   esac
11033   need_lib_prefix=no
11034   need_version=no
11035   soname_spec='${libname}${release}${shared_ext}$major'
11036   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11037   case $host_os in
11038   irix5* | nonstopux*)
11039     libsuff= shlibsuff=
11040     ;;
11041   *)
11042     case $LD in # libtool.m4 will add one of these switches to LD
11043     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11044       libsuff= shlibsuff= libmagic=32-bit;;
11045     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11046       libsuff=32 shlibsuff=N32 libmagic=N32;;
11047     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11048       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11049     *) libsuff= shlibsuff= libmagic=never-match;;
11050     esac
11051     ;;
11052   esac
11053   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11054   shlibpath_overrides_runpath=no
11055   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11056   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11057   hardcode_into_libs=yes
11058   ;;
11059
11060 # No shared lib support for Linux oldld, aout, or coff.
11061 linux*oldld* | linux*aout* | linux*coff*)
11062   dynamic_linker=no
11063   ;;
11064
11065 # This must be Linux ELF.
11066 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11067   version_type=linux
11068   need_lib_prefix=no
11069   need_version=no
11070   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11071   soname_spec='${libname}${release}${shared_ext}$major'
11072   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11073   shlibpath_var=LD_LIBRARY_PATH
11074   shlibpath_overrides_runpath=no
11075   # Some binutils ld are patched to set DT_RUNPATH
11076   save_LDFLAGS=$LDFLAGS
11077   save_libdir=$libdir
11078   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11079        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11081 /* end confdefs.h.  */
11082
11083 int
11084 main ()
11085 {
11086
11087   ;
11088   return 0;
11089 }
11090 _ACEOF
11091 if ac_fn_c_try_link "$LINENO"; then :
11092   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11093   shlibpath_overrides_runpath=yes
11094 fi
11095 fi
11096 rm -f core conftest.err conftest.$ac_objext \
11097     conftest$ac_exeext conftest.$ac_ext
11098   LDFLAGS=$save_LDFLAGS
11099   libdir=$save_libdir
11100
11101   # This implies no fast_install, which is unacceptable.
11102   # Some rework will be needed to allow for fast_install
11103   # before this can be enabled.
11104   hardcode_into_libs=yes
11105
11106   # Append ld.so.conf contents to the search path
11107   if test -f /etc/ld.so.conf; then
11108     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11109     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11110   fi
11111
11112   # We used to test for /lib/ld.so.1 and disable shared libraries on
11113   # powerpc, because MkLinux only supported shared libraries with the
11114   # GNU dynamic linker.  Since this was broken with cross compilers,
11115   # most powerpc-linux boxes support dynamic linking these days and
11116   # people can always --disable-shared, the test was removed, and we
11117   # assume the GNU/Linux dynamic linker is in use.
11118   dynamic_linker='GNU/Linux ld.so'
11119   ;;
11120
11121 netbsdelf*-gnu)
11122   version_type=linux
11123   need_lib_prefix=no
11124   need_version=no
11125   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11126   soname_spec='${libname}${release}${shared_ext}$major'
11127   shlibpath_var=LD_LIBRARY_PATH
11128   shlibpath_overrides_runpath=no
11129   hardcode_into_libs=yes
11130   dynamic_linker='NetBSD ld.elf_so'
11131   ;;
11132
11133 netbsd*)
11134   version_type=sunos
11135   need_lib_prefix=no
11136   need_version=no
11137   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11138     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11139     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11140     dynamic_linker='NetBSD (a.out) ld.so'
11141   else
11142     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11143     soname_spec='${libname}${release}${shared_ext}$major'
11144     dynamic_linker='NetBSD ld.elf_so'
11145   fi
11146   shlibpath_var=LD_LIBRARY_PATH
11147   shlibpath_overrides_runpath=yes
11148   hardcode_into_libs=yes
11149   ;;
11150
11151 newsos6)
11152   version_type=linux
11153   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11154   shlibpath_var=LD_LIBRARY_PATH
11155   shlibpath_overrides_runpath=yes
11156   ;;
11157
11158 *nto* | *qnx*)
11159   version_type=qnx
11160   need_lib_prefix=no
11161   need_version=no
11162   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11163   soname_spec='${libname}${release}${shared_ext}$major'
11164   shlibpath_var=LD_LIBRARY_PATH
11165   shlibpath_overrides_runpath=no
11166   hardcode_into_libs=yes
11167   dynamic_linker='ldqnx.so'
11168   ;;
11169
11170 openbsd*)
11171   version_type=sunos
11172   sys_lib_dlsearch_path_spec="/usr/lib"
11173   need_lib_prefix=no
11174   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11175   case $host_os in
11176     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11177     *)                          need_version=no  ;;
11178   esac
11179   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11180   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11181   shlibpath_var=LD_LIBRARY_PATH
11182   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11183     case $host_os in
11184       openbsd2.[89] | openbsd2.[89].*)
11185         shlibpath_overrides_runpath=no
11186         ;;
11187       *)
11188         shlibpath_overrides_runpath=yes
11189         ;;
11190       esac
11191   else
11192     shlibpath_overrides_runpath=yes
11193   fi
11194   ;;
11195
11196 os2*)
11197   libname_spec='$name'
11198   shrext_cmds=".dll"
11199   need_lib_prefix=no
11200   library_names_spec='$libname${shared_ext} $libname.a'
11201   dynamic_linker='OS/2 ld.exe'
11202   shlibpath_var=LIBPATH
11203   ;;
11204
11205 osf3* | osf4* | osf5*)
11206   version_type=osf
11207   need_lib_prefix=no
11208   need_version=no
11209   soname_spec='${libname}${release}${shared_ext}$major'
11210   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11211   shlibpath_var=LD_LIBRARY_PATH
11212   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11213   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11214   ;;
11215
11216 rdos*)
11217   dynamic_linker=no
11218   ;;
11219
11220 solaris*)
11221   version_type=linux
11222   need_lib_prefix=no
11223   need_version=no
11224   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11225   soname_spec='${libname}${release}${shared_ext}$major'
11226   shlibpath_var=LD_LIBRARY_PATH
11227   shlibpath_overrides_runpath=yes
11228   hardcode_into_libs=yes
11229   # ldd complains unless libraries are executable
11230   postinstall_cmds='chmod +x $lib'
11231   ;;
11232
11233 sunos4*)
11234   version_type=sunos
11235   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11236   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11237   shlibpath_var=LD_LIBRARY_PATH
11238   shlibpath_overrides_runpath=yes
11239   if test "$with_gnu_ld" = yes; then
11240     need_lib_prefix=no
11241   fi
11242   need_version=yes
11243   ;;
11244
11245 sysv4 | sysv4.3*)
11246   version_type=linux
11247   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11248   soname_spec='${libname}${release}${shared_ext}$major'
11249   shlibpath_var=LD_LIBRARY_PATH
11250   case $host_vendor in
11251     sni)
11252       shlibpath_overrides_runpath=no
11253       need_lib_prefix=no
11254       runpath_var=LD_RUN_PATH
11255       ;;
11256     siemens)
11257       need_lib_prefix=no
11258       ;;
11259     motorola)
11260       need_lib_prefix=no
11261       need_version=no
11262       shlibpath_overrides_runpath=no
11263       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11264       ;;
11265   esac
11266   ;;
11267
11268 sysv4*MP*)
11269   if test -d /usr/nec ;then
11270     version_type=linux
11271     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11272     soname_spec='$libname${shared_ext}.$major'
11273     shlibpath_var=LD_LIBRARY_PATH
11274   fi
11275   ;;
11276
11277 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11278   version_type=freebsd-elf
11279   need_lib_prefix=no
11280   need_version=no
11281   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11282   soname_spec='${libname}${release}${shared_ext}$major'
11283   shlibpath_var=LD_LIBRARY_PATH
11284   shlibpath_overrides_runpath=yes
11285   hardcode_into_libs=yes
11286   if test "$with_gnu_ld" = yes; then
11287     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11288   else
11289     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11290     case $host_os in
11291       sco3.2v5*)
11292         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11293         ;;
11294     esac
11295   fi
11296   sys_lib_dlsearch_path_spec='/usr/lib'
11297   ;;
11298
11299 tpf*)
11300   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11301   version_type=linux
11302   need_lib_prefix=no
11303   need_version=no
11304   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11305   shlibpath_var=LD_LIBRARY_PATH
11306   shlibpath_overrides_runpath=no
11307   hardcode_into_libs=yes
11308   ;;
11309
11310 uts4*)
11311   version_type=linux
11312   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11313   soname_spec='${libname}${release}${shared_ext}$major'
11314   shlibpath_var=LD_LIBRARY_PATH
11315   ;;
11316
11317 *)
11318   dynamic_linker=no
11319   ;;
11320 esac
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11322 $as_echo "$dynamic_linker" >&6; }
11323 test "$dynamic_linker" = no && can_build_shared=no
11324
11325 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11326 if test "$GCC" = yes; then
11327   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11328 fi
11329
11330 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11331   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11332 fi
11333 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11334   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11335 fi
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11424 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11425 hardcode_action=
11426 if test -n "$hardcode_libdir_flag_spec" ||
11427    test -n "$runpath_var" ||
11428    test "X$hardcode_automatic" = "Xyes" ; then
11429
11430   # We can hardcode non-existent directories.
11431   if test "$hardcode_direct" != no &&
11432      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11433      # have to relink, otherwise we might link with an installed library
11434      # when we should be linking with a yet-to-be-installed one
11435      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11436      test "$hardcode_minus_L" != no; then
11437     # Linking always hardcodes the temporary library directory.
11438     hardcode_action=relink
11439   else
11440     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11441     hardcode_action=immediate
11442   fi
11443 else
11444   # We cannot hardcode anything, or else we can only hardcode existing
11445   # directories.
11446   hardcode_action=unsupported
11447 fi
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11449 $as_echo "$hardcode_action" >&6; }
11450
11451 if test "$hardcode_action" = relink ||
11452    test "$inherit_rpath" = yes; then
11453   # Fast installation is not supported
11454   enable_fast_install=no
11455 elif test "$shlibpath_overrides_runpath" = yes ||
11456      test "$enable_shared" = no; then
11457   # Fast installation is not necessary
11458   enable_fast_install=needless
11459 fi
11460
11461
11462
11463
11464
11465
11466   if test "x$enable_dlopen" != xyes; then
11467   enable_dlopen=unknown
11468   enable_dlopen_self=unknown
11469   enable_dlopen_self_static=unknown
11470 else
11471   lt_cv_dlopen=no
11472   lt_cv_dlopen_libs=
11473
11474   case $host_os in
11475   beos*)
11476     lt_cv_dlopen="load_add_on"
11477     lt_cv_dlopen_libs=
11478     lt_cv_dlopen_self=yes
11479     ;;
11480
11481   mingw* | pw32* | cegcc*)
11482     lt_cv_dlopen="LoadLibrary"
11483     lt_cv_dlopen_libs=
11484     ;;
11485
11486   cygwin*)
11487     lt_cv_dlopen="dlopen"
11488     lt_cv_dlopen_libs=
11489     ;;
11490
11491   darwin*)
11492   # if libdl is installed we need to link against it
11493     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11494 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11495 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11496   $as_echo_n "(cached) " >&6
11497 else
11498   ac_check_lib_save_LIBS=$LIBS
11499 LIBS="-ldl  $LIBS"
11500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11501 /* end confdefs.h.  */
11502
11503 /* Override any GCC internal prototype to avoid an error.
11504    Use char because int might match the return type of a GCC
11505    builtin and then its argument prototype would still apply.  */
11506 #ifdef __cplusplus
11507 extern "C"
11508 #endif
11509 char dlopen ();
11510 int
11511 main ()
11512 {
11513 return dlopen ();
11514   ;
11515   return 0;
11516 }
11517 _ACEOF
11518 if ac_fn_c_try_link "$LINENO"; then :
11519   ac_cv_lib_dl_dlopen=yes
11520 else
11521   ac_cv_lib_dl_dlopen=no
11522 fi
11523 rm -f core conftest.err conftest.$ac_objext \
11524     conftest$ac_exeext conftest.$ac_ext
11525 LIBS=$ac_check_lib_save_LIBS
11526 fi
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11528 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11529 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11530   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11531 else
11532
11533     lt_cv_dlopen="dyld"
11534     lt_cv_dlopen_libs=
11535     lt_cv_dlopen_self=yes
11536
11537 fi
11538
11539     ;;
11540
11541   *)
11542     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11543 if test "x$ac_cv_func_shl_load" = x""yes; then :
11544   lt_cv_dlopen="shl_load"
11545 else
11546   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11547 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11548 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11549   $as_echo_n "(cached) " >&6
11550 else
11551   ac_check_lib_save_LIBS=$LIBS
11552 LIBS="-ldld  $LIBS"
11553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11554 /* end confdefs.h.  */
11555
11556 /* Override any GCC internal prototype to avoid an error.
11557    Use char because int might match the return type of a GCC
11558    builtin and then its argument prototype would still apply.  */
11559 #ifdef __cplusplus
11560 extern "C"
11561 #endif
11562 char shl_load ();
11563 int
11564 main ()
11565 {
11566 return shl_load ();
11567   ;
11568   return 0;
11569 }
11570 _ACEOF
11571 if ac_fn_c_try_link "$LINENO"; then :
11572   ac_cv_lib_dld_shl_load=yes
11573 else
11574   ac_cv_lib_dld_shl_load=no
11575 fi
11576 rm -f core conftest.err conftest.$ac_objext \
11577     conftest$ac_exeext conftest.$ac_ext
11578 LIBS=$ac_check_lib_save_LIBS
11579 fi
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11581 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11582 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11583   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11584 else
11585   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11586 if test "x$ac_cv_func_dlopen" = x""yes; then :
11587   lt_cv_dlopen="dlopen"
11588 else
11589   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11590 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11591 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11592   $as_echo_n "(cached) " >&6
11593 else
11594   ac_check_lib_save_LIBS=$LIBS
11595 LIBS="-ldl  $LIBS"
11596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11597 /* end confdefs.h.  */
11598
11599 /* Override any GCC internal prototype to avoid an error.
11600    Use char because int might match the return type of a GCC
11601    builtin and then its argument prototype would still apply.  */
11602 #ifdef __cplusplus
11603 extern "C"
11604 #endif
11605 char dlopen ();
11606 int
11607 main ()
11608 {
11609 return dlopen ();
11610   ;
11611   return 0;
11612 }
11613 _ACEOF
11614 if ac_fn_c_try_link "$LINENO"; then :
11615   ac_cv_lib_dl_dlopen=yes
11616 else
11617   ac_cv_lib_dl_dlopen=no
11618 fi
11619 rm -f core conftest.err conftest.$ac_objext \
11620     conftest$ac_exeext conftest.$ac_ext
11621 LIBS=$ac_check_lib_save_LIBS
11622 fi
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11624 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11625 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11626   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11627 else
11628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11629 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11630 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11631   $as_echo_n "(cached) " >&6
11632 else
11633   ac_check_lib_save_LIBS=$LIBS
11634 LIBS="-lsvld  $LIBS"
11635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11636 /* end confdefs.h.  */
11637
11638 /* Override any GCC internal prototype to avoid an error.
11639    Use char because int might match the return type of a GCC
11640    builtin and then its argument prototype would still apply.  */
11641 #ifdef __cplusplus
11642 extern "C"
11643 #endif
11644 char dlopen ();
11645 int
11646 main ()
11647 {
11648 return dlopen ();
11649   ;
11650   return 0;
11651 }
11652 _ACEOF
11653 if ac_fn_c_try_link "$LINENO"; then :
11654   ac_cv_lib_svld_dlopen=yes
11655 else
11656   ac_cv_lib_svld_dlopen=no
11657 fi
11658 rm -f core conftest.err conftest.$ac_objext \
11659     conftest$ac_exeext conftest.$ac_ext
11660 LIBS=$ac_check_lib_save_LIBS
11661 fi
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11663 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11664 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11665   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11666 else
11667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11668 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11669 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11670   $as_echo_n "(cached) " >&6
11671 else
11672   ac_check_lib_save_LIBS=$LIBS
11673 LIBS="-ldld  $LIBS"
11674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11675 /* end confdefs.h.  */
11676
11677 /* Override any GCC internal prototype to avoid an error.
11678    Use char because int might match the return type of a GCC
11679    builtin and then its argument prototype would still apply.  */
11680 #ifdef __cplusplus
11681 extern "C"
11682 #endif
11683 char dld_link ();
11684 int
11685 main ()
11686 {
11687 return dld_link ();
11688   ;
11689   return 0;
11690 }
11691 _ACEOF
11692 if ac_fn_c_try_link "$LINENO"; then :
11693   ac_cv_lib_dld_dld_link=yes
11694 else
11695   ac_cv_lib_dld_dld_link=no
11696 fi
11697 rm -f core conftest.err conftest.$ac_objext \
11698     conftest$ac_exeext conftest.$ac_ext
11699 LIBS=$ac_check_lib_save_LIBS
11700 fi
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11702 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11703 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11704   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11705 fi
11706
11707
11708 fi
11709
11710
11711 fi
11712
11713
11714 fi
11715
11716
11717 fi
11718
11719
11720 fi
11721
11722     ;;
11723   esac
11724
11725   if test "x$lt_cv_dlopen" != xno; then
11726     enable_dlopen=yes
11727   else
11728     enable_dlopen=no
11729   fi
11730
11731   case $lt_cv_dlopen in
11732   dlopen)
11733     save_CPPFLAGS="$CPPFLAGS"
11734     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11735
11736     save_LDFLAGS="$LDFLAGS"
11737     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11738
11739     save_LIBS="$LIBS"
11740     LIBS="$lt_cv_dlopen_libs $LIBS"
11741
11742     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11743 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11744 if test "${lt_cv_dlopen_self+set}" = set; then :
11745   $as_echo_n "(cached) " >&6
11746 else
11747           if test "$cross_compiling" = yes; then :
11748   lt_cv_dlopen_self=cross
11749 else
11750   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11751   lt_status=$lt_dlunknown
11752   cat > conftest.$ac_ext <<_LT_EOF
11753 #line 11753 "configure"
11754 #include "confdefs.h"
11755
11756 #if HAVE_DLFCN_H
11757 #include <dlfcn.h>
11758 #endif
11759
11760 #include <stdio.h>
11761
11762 #ifdef RTLD_GLOBAL
11763 #  define LT_DLGLOBAL           RTLD_GLOBAL
11764 #else
11765 #  ifdef DL_GLOBAL
11766 #    define LT_DLGLOBAL         DL_GLOBAL
11767 #  else
11768 #    define LT_DLGLOBAL         0
11769 #  endif
11770 #endif
11771
11772 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11773    find out it does not work in some platform. */
11774 #ifndef LT_DLLAZY_OR_NOW
11775 #  ifdef RTLD_LAZY
11776 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11777 #  else
11778 #    ifdef DL_LAZY
11779 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11780 #    else
11781 #      ifdef RTLD_NOW
11782 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11783 #      else
11784 #        ifdef DL_NOW
11785 #          define LT_DLLAZY_OR_NOW      DL_NOW
11786 #        else
11787 #          define LT_DLLAZY_OR_NOW      0
11788 #        endif
11789 #      endif
11790 #    endif
11791 #  endif
11792 #endif
11793
11794 void fnord() { int i=42;}
11795 int main ()
11796 {
11797   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11798   int status = $lt_dlunknown;
11799
11800   if (self)
11801     {
11802       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11803       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11804       /* dlclose (self); */
11805     }
11806   else
11807     puts (dlerror ());
11808
11809   return status;
11810 }
11811 _LT_EOF
11812   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11813   (eval $ac_link) 2>&5
11814   ac_status=$?
11815   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11816   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11817     (./conftest; exit; ) >&5 2>/dev/null
11818     lt_status=$?
11819     case x$lt_status in
11820       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11821       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11822       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11823     esac
11824   else :
11825     # compilation failed
11826     lt_cv_dlopen_self=no
11827   fi
11828 fi
11829 rm -fr conftest*
11830
11831
11832 fi
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11834 $as_echo "$lt_cv_dlopen_self" >&6; }
11835
11836     if test "x$lt_cv_dlopen_self" = xyes; then
11837       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11838       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11839 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11840 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11841   $as_echo_n "(cached) " >&6
11842 else
11843           if test "$cross_compiling" = yes; then :
11844   lt_cv_dlopen_self_static=cross
11845 else
11846   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11847   lt_status=$lt_dlunknown
11848   cat > conftest.$ac_ext <<_LT_EOF
11849 #line 11849 "configure"
11850 #include "confdefs.h"
11851
11852 #if HAVE_DLFCN_H
11853 #include <dlfcn.h>
11854 #endif
11855
11856 #include <stdio.h>
11857
11858 #ifdef RTLD_GLOBAL
11859 #  define LT_DLGLOBAL           RTLD_GLOBAL
11860 #else
11861 #  ifdef DL_GLOBAL
11862 #    define LT_DLGLOBAL         DL_GLOBAL
11863 #  else
11864 #    define LT_DLGLOBAL         0
11865 #  endif
11866 #endif
11867
11868 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11869    find out it does not work in some platform. */
11870 #ifndef LT_DLLAZY_OR_NOW
11871 #  ifdef RTLD_LAZY
11872 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11873 #  else
11874 #    ifdef DL_LAZY
11875 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11876 #    else
11877 #      ifdef RTLD_NOW
11878 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11879 #      else
11880 #        ifdef DL_NOW
11881 #          define LT_DLLAZY_OR_NOW      DL_NOW
11882 #        else
11883 #          define LT_DLLAZY_OR_NOW      0
11884 #        endif
11885 #      endif
11886 #    endif
11887 #  endif
11888 #endif
11889
11890 void fnord() { int i=42;}
11891 int main ()
11892 {
11893   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11894   int status = $lt_dlunknown;
11895
11896   if (self)
11897     {
11898       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11899       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11900       /* dlclose (self); */
11901     }
11902   else
11903     puts (dlerror ());
11904
11905   return status;
11906 }
11907 _LT_EOF
11908   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11909   (eval $ac_link) 2>&5
11910   ac_status=$?
11911   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11912   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11913     (./conftest; exit; ) >&5 2>/dev/null
11914     lt_status=$?
11915     case x$lt_status in
11916       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11917       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11918       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11919     esac
11920   else :
11921     # compilation failed
11922     lt_cv_dlopen_self_static=no
11923   fi
11924 fi
11925 rm -fr conftest*
11926
11927
11928 fi
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11930 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11931     fi
11932
11933     CPPFLAGS="$save_CPPFLAGS"
11934     LDFLAGS="$save_LDFLAGS"
11935     LIBS="$save_LIBS"
11936     ;;
11937   esac
11938
11939   case $lt_cv_dlopen_self in
11940   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11941   *) enable_dlopen_self=unknown ;;
11942   esac
11943
11944   case $lt_cv_dlopen_self_static in
11945   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11946   *) enable_dlopen_self_static=unknown ;;
11947   esac
11948 fi
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966 striplib=
11967 old_striplib=
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11969 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11970 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11971   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11972   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11974 $as_echo "yes" >&6; }
11975 else
11976 # FIXME - insert some real tests, host_os isn't really good enough
11977   case $host_os in
11978   darwin*)
11979     if test -n "$STRIP" ; then
11980       striplib="$STRIP -x"
11981       old_striplib="$STRIP -S"
11982       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11983 $as_echo "yes" >&6; }
11984     else
11985       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11986 $as_echo "no" >&6; }
11987     fi
11988     ;;
11989   *)
11990     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11991 $as_echo "no" >&6; }
11992     ;;
11993   esac
11994 fi
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007   # Report which library types will actually be built
12008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12009 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12011 $as_echo "$can_build_shared" >&6; }
12012
12013   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12014 $as_echo_n "checking whether to build shared libraries... " >&6; }
12015   test "$can_build_shared" = "no" && enable_shared=no
12016
12017   # On AIX, shared libraries and static libraries use the same namespace, and
12018   # are all built from PIC.
12019   case $host_os in
12020   aix3*)
12021     test "$enable_shared" = yes && enable_static=no
12022     if test -n "$RANLIB"; then
12023       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12024       postinstall_cmds='$RANLIB $lib'
12025     fi
12026     ;;
12027
12028   aix[4-9]*)
12029     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12030       test "$enable_shared" = yes && enable_static=no
12031     fi
12032     ;;
12033   esac
12034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12035 $as_echo "$enable_shared" >&6; }
12036
12037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12038 $as_echo_n "checking whether to build static libraries... " >&6; }
12039   # Make sure either enable_shared or enable_static is yes.
12040   test "$enable_shared" = yes || enable_static=yes
12041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12042 $as_echo "$enable_static" >&6; }
12043
12044
12045
12046
12047 fi
12048 ac_ext=c
12049 ac_cpp='$CPP $CPPFLAGS'
12050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12053
12054 CC="$lt_save_CC"
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068         ac_config_commands="$ac_config_commands libtool"
12069
12070
12071
12072
12073 # Only expand once:
12074
12075
12076
12077 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12078 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12079
12080
12081
12082 cat >>confdefs.h <<_ACEOF
12083 #define VMAJ 1
12084 _ACEOF
12085
12086
12087 cat >>confdefs.h <<_ACEOF
12088 #define VMIN 7
12089 _ACEOF
12090
12091
12092 cat >>confdefs.h <<_ACEOF
12093 #define VMIC 1
12094 _ACEOF
12095
12096
12097 cat >>confdefs.h <<_ACEOF
12098 #define VREV 0
12099 _ACEOF
12100
12101 version_info="8:1:7"
12102 release_info=""
12103
12104
12105 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12106 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12107 VMAJ=1
12108
12109
12110 ### Needed information
12111
12112
12113
12114
12115 case "$host_os" in
12116    mingw32ce*)
12117       MODULE_ARCH="$host_os-$host_cpu"
12118       ;;
12119    *)
12120       MODULE_ARCH="$host_os-$host_cpu-1.7.1"
12121       ;;
12122 esac
12123
12124
12125 cat >>confdefs.h <<_ACEOF
12126 #define MODULE_ARCH "$MODULE_ARCH"
12127 _ACEOF
12128
12129
12130 want_fontconfig="auto"
12131 want_fribidi="auto"
12132 want_harfbuzz="auto"
12133 want_pixman="no"
12134 want_evas_cserve="yes"
12135 want_evas_cserve2="yes"
12136
12137 want_evas_engine_buffer="yes"
12138 want_evas_engine_software_xlib="no"
12139 want_evas_engine_software_xcb="no"
12140 want_evas_engine_software_gdi="no"
12141 want_evas_engine_software_ddraw="no"
12142 want_evas_engine_software_8_x11="no"
12143 want_evas_engine_software_16_x11="no"
12144 want_evas_engine_software_16_wince="no"
12145 want_evas_engine_software_16_sdl="no"
12146 want_evas_engine_gl_xlib="no"
12147 want_evas_engine_gl_xcb="no"
12148 want_evas_engine_gl_sdl="no"
12149 want_evas_engine_gl_cocoa="no"
12150 want_evas_engine_direct3d="no"
12151 want_evas_engine_fb="no"
12152 want_evas_engine_directfb="no"
12153 want_evas_engine_psl1ght="no"
12154 want_evas_engine_wayland_shm="no"
12155 want_evas_engine_wayland_egl="no"
12156
12157 want_evas_image_loader_edb="yes"
12158 want_evas_image_loader_eet="yes"
12159 want_evas_image_loader_gif="yes"
12160 want_evas_image_loader_jpeg="yes"
12161 want_evas_image_loader_pmaps="yes"
12162 want_evas_image_loader_png="yes"
12163 want_evas_image_loader_svg="yes"
12164 want_evas_image_loader_tiff="yes"
12165 want_evas_image_loader_xpm="yes"
12166 want_evas_image_loader_bmp="yes"
12167 want_evas_image_loader_tga="yes"
12168 want_evas_image_loader_wbmp="yes"
12169 want_evas_image_loader_ico="yes"
12170 want_evas_image_loader_psd="yes"
12171 want_evas_image_loader_generic="yes"
12172
12173 want_evas_font_loader_eet="yes"
12174
12175 case "$host_os" in
12176    mingw32ce*)
12177       want_fontconfig="no"
12178       want_evas_engine_software_16_wince="yes"
12179       want_evas_image_loader_edb="no"
12180       want_evas_image_loader_gif="no"
12181       want_evas_image_loader_svg="no"
12182       want_evas_image_loader_tiff="no"
12183       ;;
12184    mingw*)
12185       want_evas_engine_software_gdi="yes"
12186       want_evas_engine_software_ddraw="yes"
12187       want_evas_engine_direct3d="yes"
12188       want_evas_image_loader_edb="no"
12189       want_evas_image_loader_svg="no"
12190       ;;
12191    darwin*)
12192       want_evas_engine_software_xlib="auto"
12193       want_evas_engine_gl_cocoa="auto"
12194       ;;
12195    *)
12196       want_evas_engine_software_xlib="auto"
12197       want_evas_engine_gl_xlib="auto"
12198       want_evas_engine_software_xcb="no"
12199       want_evas_engine_gl_xcb="no"
12200       want_evas_engine_fb="auto"
12201       want_evas_engine_wayland_shm="auto"
12202       want_evas_engine_wayland_egl="auto"
12203 ### no - not ready/usable/complete
12204 #      want_evas_engine_software_8_x11="auto"
12205 #      want_evas_engine_software_16_x11="auto"
12206       ;;
12207 esac
12208
12209 case "$host_vendor" in
12210   ps3*)
12211       want_evas_engine_psl1ght="static"
12212       ;;
12213 esac
12214
12215 requirement_evas=""
12216
12217
12218 ### Additional options to configure
12219
12220 # when used, that option makes configure script fails when
12221 # a requirement is selected, but not met.
12222 use_strict="no"
12223 # Check whether --enable-strict was given.
12224 if test "${enable_strict+set}" = set; then :
12225   enableval=$enable_strict; use_strict="yes"
12226 else
12227   use_strict="no"
12228 fi
12229
12230
12231 # Simple X11 build/link
12232 # Check whether --enable-simple-x11 was given.
12233 if test "${enable_simple_x11+set}" = set; then :
12234   enableval=$enable_simple_x11;
12235     if test "x${enableval}" = "xyes" ; then
12236        want_evas_simple_x11="yes"
12237     else
12238        want_evas_simple_x11="no"
12239     fi
12240
12241 fi
12242
12243
12244
12245 ### Checks for programs
12246
12247
12248     ac_ext=m
12249 ac_cpp='$OBJCPP $CPPFLAGS'
12250 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12251 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12252 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
12253 if test -n "$ac_tool_prefix"; then
12254   for ac_prog in gcc objcc objc cc CC
12255   do
12256     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12257 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12259 $as_echo_n "checking for $ac_word... " >&6; }
12260 if test "${ac_cv_prog_OBJC+set}" = set; then :
12261   $as_echo_n "(cached) " >&6
12262 else
12263   if test -n "$OBJC"; then
12264   ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
12265 else
12266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12267 for as_dir in $PATH
12268 do
12269   IFS=$as_save_IFS
12270   test -z "$as_dir" && as_dir=.
12271     for ac_exec_ext in '' $ac_executable_extensions; do
12272   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12273     ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
12274     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12275     break 2
12276   fi
12277 done
12278   done
12279 IFS=$as_save_IFS
12280
12281 fi
12282 fi
12283 OBJC=$ac_cv_prog_OBJC
12284 if test -n "$OBJC"; then
12285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
12286 $as_echo "$OBJC" >&6; }
12287 else
12288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12289 $as_echo "no" >&6; }
12290 fi
12291
12292
12293     test -n "$OBJC" && break
12294   done
12295 fi
12296 if test -z "$OBJC"; then
12297   ac_ct_OBJC=$OBJC
12298   for ac_prog in gcc objcc objc cc CC
12299 do
12300   # Extract the first word of "$ac_prog", so it can be a program name with args.
12301 set dummy $ac_prog; ac_word=$2
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12303 $as_echo_n "checking for $ac_word... " >&6; }
12304 if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then :
12305   $as_echo_n "(cached) " >&6
12306 else
12307   if test -n "$ac_ct_OBJC"; then
12308   ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
12309 else
12310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12311 for as_dir in $PATH
12312 do
12313   IFS=$as_save_IFS
12314   test -z "$as_dir" && as_dir=.
12315     for ac_exec_ext in '' $ac_executable_extensions; do
12316   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12317     ac_cv_prog_ac_ct_OBJC="$ac_prog"
12318     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12319     break 2
12320   fi
12321 done
12322   done
12323 IFS=$as_save_IFS
12324
12325 fi
12326 fi
12327 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
12328 if test -n "$ac_ct_OBJC"; then
12329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
12330 $as_echo "$ac_ct_OBJC" >&6; }
12331 else
12332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12333 $as_echo "no" >&6; }
12334 fi
12335
12336
12337   test -n "$ac_ct_OBJC" && break
12338 done
12339
12340   if test "x$ac_ct_OBJC" = x; then
12341     OBJC="gcc"
12342   else
12343     case $cross_compiling:$ac_tool_warned in
12344 yes:)
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12346 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12347 ac_tool_warned=yes ;;
12348 esac
12349     OBJC=$ac_ct_OBJC
12350   fi
12351 fi
12352
12353 # Provide some information about the compiler.
12354 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
12355 set X $ac_compile
12356 ac_compiler=$2
12357 for ac_option in --version -v -V -qversion; do
12358   { { ac_try="$ac_compiler $ac_option >&5"
12359 case "(($ac_try" in
12360   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12361   *) ac_try_echo=$ac_try;;
12362 esac
12363 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12364 $as_echo "$ac_try_echo"; } >&5
12365   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12366   ac_status=$?
12367   if test -s conftest.err; then
12368     sed '10a\
12369 ... rest of stderr output deleted ...
12370          10q' conftest.err >conftest.er1
12371     cat conftest.er1 >&5
12372   fi
12373   rm -f conftest.er1 conftest.err
12374   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12375   test $ac_status = 0; }
12376 done
12377
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
12379 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
12380 if test "${ac_cv_objc_compiler_gnu+set}" = set; then :
12381   $as_echo_n "(cached) " >&6
12382 else
12383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12384 /* end confdefs.h.  */
12385
12386 int
12387 main ()
12388 {
12389 #ifndef __GNUC__
12390        choke me
12391 #endif
12392
12393   ;
12394   return 0;
12395 }
12396 _ACEOF
12397 if ac_fn_objc_try_compile "$LINENO"; then :
12398   ac_compiler_gnu=yes
12399 else
12400   ac_compiler_gnu=no
12401 fi
12402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12403 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
12404
12405 fi
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
12407 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
12408 if test $ac_compiler_gnu = yes; then
12409   GOBJC=yes
12410 else
12411   GOBJC=
12412 fi
12413 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
12414 ac_save_OBJCFLAGS=$OBJCFLAGS
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
12416 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
12417 if test "${ac_cv_prog_objc_g+set}" = set; then :
12418   $as_echo_n "(cached) " >&6
12419 else
12420   ac_save_objc_werror_flag=$ac_objc_werror_flag
12421    ac_objc_werror_flag=yes
12422    ac_cv_prog_objc_g=no
12423    OBJCFLAGS="-g"
12424    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12425 /* end confdefs.h.  */
12426
12427 int
12428 main ()
12429 {
12430
12431   ;
12432   return 0;
12433 }
12434 _ACEOF
12435 if ac_fn_objc_try_compile "$LINENO"; then :
12436   ac_cv_prog_objc_g=yes
12437 else
12438   OBJCFLAGS=""
12439       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12440 /* end confdefs.h.  */
12441
12442 int
12443 main ()
12444 {
12445
12446   ;
12447   return 0;
12448 }
12449 _ACEOF
12450 if ac_fn_objc_try_compile "$LINENO"; then :
12451
12452 else
12453   ac_objc_werror_flag=$ac_save_objc_werror_flag
12454          OBJCFLAGS="-g"
12455          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12456 /* end confdefs.h.  */
12457
12458 int
12459 main ()
12460 {
12461
12462   ;
12463   return 0;
12464 }
12465 _ACEOF
12466 if ac_fn_objc_try_compile "$LINENO"; then :
12467   ac_cv_prog_objc_g=yes
12468 fi
12469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12470 fi
12471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12472 fi
12473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12474    ac_objc_werror_flag=$ac_save_objc_werror_flag
12475 fi
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
12477 $as_echo "$ac_cv_prog_objc_g" >&6; }
12478 if test "$ac_test_OBJCFLAGS" = set; then
12479   OBJCFLAGS=$ac_save_OBJCFLAGS
12480 elif test $ac_cv_prog_objc_g = yes; then
12481   if test "$GOBJC" = yes; then
12482     OBJCFLAGS="-g -O2"
12483   else
12484     OBJCFLAGS="-g"
12485   fi
12486 else
12487   if test "$GOBJC" = yes; then
12488     OBJCFLAGS="-O2"
12489   else
12490     OBJCFLAGS=
12491   fi
12492 fi
12493 ac_ext=c
12494 ac_cpp='$CPP $CPPFLAGS'
12495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12498
12499 depcc="$OBJC" am_compiler_list='gcc3 gcc'
12500
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12502 $as_echo_n "checking dependency style of $depcc... " >&6; }
12503 if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then :
12504   $as_echo_n "(cached) " >&6
12505 else
12506   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12507   # We make a subdir and do the tests there.  Otherwise we can end up
12508   # making bogus files that we don't know about and never remove.  For
12509   # instance it was reported that on HP-UX the gcc test will end up
12510   # making a dummy file named `D' -- because `-MD' means `put the output
12511   # in D'.
12512   mkdir conftest.dir
12513   # Copy depcomp to subdir because otherwise we won't find it if we're
12514   # using a relative directory.
12515   cp "$am_depcomp" conftest.dir
12516   cd conftest.dir
12517   # We will build objects and dependencies in a subdirectory because
12518   # it helps to detect inapplicable dependency modes.  For instance
12519   # both Tru64's cc and ICC support -MD to output dependencies as a
12520   # side effect of compilation, but ICC will put the dependencies in
12521   # the current directory while Tru64 will put them in the object
12522   # directory.
12523   mkdir sub
12524
12525   am_cv_OBJC_dependencies_compiler_type=none
12526   if test "$am_compiler_list" = ""; then
12527      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12528   fi
12529   am__universal=false
12530
12531
12532   for depmode in $am_compiler_list; do
12533     # Setup a source with many dependencies, because some compilers
12534     # like to wrap large dependency lists on column 80 (with \), and
12535     # we should not choose a depcomp mode which is confused by this.
12536     #
12537     # We need to recreate these files for each test, as the compiler may
12538     # overwrite some of them when testing with obscure command lines.
12539     # This happens at least with the AIX C compiler.
12540     : > sub/conftest.c
12541     for i in 1 2 3 4 5 6; do
12542       echo '#include "conftst'$i'.h"' >> sub/conftest.c
12543       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12544       # Solaris 8's {/usr,}/bin/sh.
12545       touch sub/conftst$i.h
12546     done
12547     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12548
12549     # We check with `-c' and `-o' for the sake of the "dashmstdout"
12550     # mode.  It turns out that the SunPro C++ compiler does not properly
12551     # handle `-M -o', and we need to detect this.  Also, some Intel
12552     # versions had trouble with output in subdirs
12553     am__obj=sub/conftest.${OBJEXT-o}
12554     am__minus_obj="-o $am__obj"
12555     case $depmode in
12556     gcc)
12557       # This depmode causes a compiler race in universal mode.
12558       test "$am__universal" = false || continue
12559       ;;
12560     nosideeffect)
12561       # after this tag, mechanisms are not by side-effect, so they'll
12562       # only be used when explicitly requested
12563       if test "x$enable_dependency_tracking" = xyes; then
12564         continue
12565       else
12566         break
12567       fi
12568       ;;
12569     msvisualcpp | msvcmsys)
12570       # This compiler won't grok `-c -o', but also, the minuso test has
12571       # not run yet.  These depmodes are late enough in the game, and
12572       # so weak that their functioning should not be impacted.
12573       am__obj=conftest.${OBJEXT-o}
12574       am__minus_obj=
12575       ;;
12576     none) break ;;
12577     esac
12578     if depmode=$depmode \
12579        source=sub/conftest.c object=$am__obj \
12580        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12581        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12582          >/dev/null 2>conftest.err &&
12583        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12584        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12585        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12586        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12587       # icc doesn't choke on unknown options, it will just issue warnings
12588       # or remarks (even with -Werror).  So we grep stderr for any message
12589       # that says an option was ignored or not supported.
12590       # When given -MP, icc 7.0 and 7.1 complain thusly:
12591       #   icc: Command line warning: ignoring option '-M'; no argument required
12592       # The diagnosis changed in icc 8.0:
12593       #   icc: Command line remark: option '-MP' not supported
12594       if (grep 'ignoring option' conftest.err ||
12595           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12596         am_cv_OBJC_dependencies_compiler_type=$depmode
12597         break
12598       fi
12599     fi
12600   done
12601
12602   cd ..
12603   rm -rf conftest.dir
12604 else
12605   am_cv_OBJC_dependencies_compiler_type=none
12606 fi
12607
12608 fi
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
12610 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
12611 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
12612
12613  if
12614   test "x$enable_dependency_tracking" != xno \
12615   && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
12616   am__fastdepOBJC_TRUE=
12617   am__fastdepOBJC_FALSE='#'
12618 else
12619   am__fastdepOBJC_TRUE='#'
12620   am__fastdepOBJC_FALSE=
12621 fi
12622
12623
12624
12625 depcc="$OBJC" am_compiler_list='gcc3 gcc'
12626
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12628 $as_echo_n "checking dependency style of $depcc... " >&6; }
12629 if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then :
12630   $as_echo_n "(cached) " >&6
12631 else
12632   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12633   # We make a subdir and do the tests there.  Otherwise we can end up
12634   # making bogus files that we don't know about and never remove.  For
12635   # instance it was reported that on HP-UX the gcc test will end up
12636   # making a dummy file named `D' -- because `-MD' means `put the output
12637   # in D'.
12638   mkdir conftest.dir
12639   # Copy depcomp to subdir because otherwise we won't find it if we're
12640   # using a relative directory.
12641   cp "$am_depcomp" conftest.dir
12642   cd conftest.dir
12643   # We will build objects and dependencies in a subdirectory because
12644   # it helps to detect inapplicable dependency modes.  For instance
12645   # both Tru64's cc and ICC support -MD to output dependencies as a
12646   # side effect of compilation, but ICC will put the dependencies in
12647   # the current directory while Tru64 will put them in the object
12648   # directory.
12649   mkdir sub
12650
12651   am_cv_OBJC_dependencies_compiler_type=none
12652   if test "$am_compiler_list" = ""; then
12653      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12654   fi
12655   am__universal=false
12656
12657
12658   for depmode in $am_compiler_list; do
12659     # Setup a source with many dependencies, because some compilers
12660     # like to wrap large dependency lists on column 80 (with \), and
12661     # we should not choose a depcomp mode which is confused by this.
12662     #
12663     # We need to recreate these files for each test, as the compiler may
12664     # overwrite some of them when testing with obscure command lines.
12665     # This happens at least with the AIX C compiler.
12666     : > sub/conftest.c
12667     for i in 1 2 3 4 5 6; do
12668       echo '#include "conftst'$i'.h"' >> sub/conftest.c
12669       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12670       # Solaris 8's {/usr,}/bin/sh.
12671       touch sub/conftst$i.h
12672     done
12673     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12674
12675     # We check with `-c' and `-o' for the sake of the "dashmstdout"
12676     # mode.  It turns out that the SunPro C++ compiler does not properly
12677     # handle `-M -o', and we need to detect this.  Also, some Intel
12678     # versions had trouble with output in subdirs
12679     am__obj=sub/conftest.${OBJEXT-o}
12680     am__minus_obj="-o $am__obj"
12681     case $depmode in
12682     gcc)
12683       # This depmode causes a compiler race in universal mode.
12684       test "$am__universal" = false || continue
12685       ;;
12686     nosideeffect)
12687       # after this tag, mechanisms are not by side-effect, so they'll
12688       # only be used when explicitly requested
12689       if test "x$enable_dependency_tracking" = xyes; then
12690         continue
12691       else
12692         break
12693       fi
12694       ;;
12695     msvisualcpp | msvcmsys)
12696       # This compiler won't grok `-c -o', but also, the minuso test has
12697       # not run yet.  These depmodes are late enough in the game, and
12698       # so weak that their functioning should not be impacted.
12699       am__obj=conftest.${OBJEXT-o}
12700       am__minus_obj=
12701       ;;
12702     none) break ;;
12703     esac
12704     if depmode=$depmode \
12705        source=sub/conftest.c object=$am__obj \
12706        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12707        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12708          >/dev/null 2>conftest.err &&
12709        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12710        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12711        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12712        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12713       # icc doesn't choke on unknown options, it will just issue warnings
12714       # or remarks (even with -Werror).  So we grep stderr for any message
12715       # that says an option was ignored or not supported.
12716       # When given -MP, icc 7.0 and 7.1 complain thusly:
12717       #   icc: Command line warning: ignoring option '-M'; no argument required
12718       # The diagnosis changed in icc 8.0:
12719       #   icc: Command line remark: option '-MP' not supported
12720       if (grep 'ignoring option' conftest.err ||
12721           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12722         am_cv_OBJC_dependencies_compiler_type=$depmode
12723         break
12724       fi
12725     fi
12726   done
12727
12728   cd ..
12729   rm -rf conftest.dir
12730 else
12731   am_cv_OBJC_dependencies_compiler_type=none
12732 fi
12733
12734 fi
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
12736 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
12737 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
12738
12739  if
12740   test "x$enable_dependency_tracking" != xno \
12741   && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
12742   am__fastdepOBJC_TRUE=
12743   am__fastdepOBJC_FALSE='#'
12744 else
12745   am__fastdepOBJC_TRUE='#'
12746   am__fastdepOBJC_FALSE=
12747 fi
12748
12749
12750
12751
12752
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the Objective C compiler works" >&5
12754 $as_echo_n "checking whether the Objective C compiler works... " >&6; }
12755 if test "${rw_cv_prog_objc_works+set}" = set; then :
12756   $as_echo_n "(cached) " >&6
12757 else
12758   ac_ext=m
12759 ac_cpp='$OBJCPP $CPPFLAGS'
12760 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12761 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12762 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
12763
12764                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12765 /* end confdefs.h.  */
12766
12767 int
12768 main ()
12769 {
12770
12771   ;
12772   return 0;
12773 }
12774 _ACEOF
12775 if ac_fn_objc_try_link "$LINENO"; then :
12776   rw_cv_prog_objc_works=yes
12777 else
12778   rw_cv_prog_objc_works=no
12779 fi
12780 rm -f core conftest.err conftest.$ac_objext \
12781     conftest$ac_exeext conftest.$ac_ext
12782                 ac_ext=c
12783 ac_cpp='$CPP $CPPFLAGS'
12784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12787
12788 fi
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rw_cv_prog_objc_works" >&5
12790 $as_echo "$rw_cv_prog_objc_works" >&6; }
12791
12792
12793 ac_ext=cpp
12794 ac_cpp='$CXXCPP $CPPFLAGS'
12795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12798 if test -z "$CXX"; then
12799   if test -n "$CCC"; then
12800     CXX=$CCC
12801   else
12802     if test -n "$ac_tool_prefix"; then
12803   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12804   do
12805     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12806 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12808 $as_echo_n "checking for $ac_word... " >&6; }
12809 if test "${ac_cv_prog_CXX+set}" = set; then :
12810   $as_echo_n "(cached) " >&6
12811 else
12812   if test -n "$CXX"; then
12813   ac_cv_prog_CXX="$CXX" # Let the user override the test.
12814 else
12815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12816 for as_dir in $PATH
12817 do
12818   IFS=$as_save_IFS
12819   test -z "$as_dir" && as_dir=.
12820     for ac_exec_ext in '' $ac_executable_extensions; do
12821   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12822     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12823     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12824     break 2
12825   fi
12826 done
12827   done
12828 IFS=$as_save_IFS
12829
12830 fi
12831 fi
12832 CXX=$ac_cv_prog_CXX
12833 if test -n "$CXX"; then
12834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
12835 $as_echo "$CXX" >&6; }
12836 else
12837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12838 $as_echo "no" >&6; }
12839 fi
12840
12841
12842     test -n "$CXX" && break
12843   done
12844 fi
12845 if test -z "$CXX"; then
12846   ac_ct_CXX=$CXX
12847   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12848 do
12849   # Extract the first word of "$ac_prog", so it can be a program name with args.
12850 set dummy $ac_prog; ac_word=$2
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12852 $as_echo_n "checking for $ac_word... " >&6; }
12853 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
12854   $as_echo_n "(cached) " >&6
12855 else
12856   if test -n "$ac_ct_CXX"; then
12857   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12858 else
12859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12860 for as_dir in $PATH
12861 do
12862   IFS=$as_save_IFS
12863   test -z "$as_dir" && as_dir=.
12864     for ac_exec_ext in '' $ac_executable_extensions; do
12865   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12866     ac_cv_prog_ac_ct_CXX="$ac_prog"
12867     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12868     break 2
12869   fi
12870 done
12871   done
12872 IFS=$as_save_IFS
12873
12874 fi
12875 fi
12876 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12877 if test -n "$ac_ct_CXX"; then
12878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
12879 $as_echo "$ac_ct_CXX" >&6; }
12880 else
12881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12882 $as_echo "no" >&6; }
12883 fi
12884
12885
12886   test -n "$ac_ct_CXX" && break
12887 done
12888
12889   if test "x$ac_ct_CXX" = x; then
12890     CXX="g++"
12891   else
12892     case $cross_compiling:$ac_tool_warned in
12893 yes:)
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12895 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12896 ac_tool_warned=yes ;;
12897 esac
12898     CXX=$ac_ct_CXX
12899   fi
12900 fi
12901
12902   fi
12903 fi
12904 # Provide some information about the compiler.
12905 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
12906 set X $ac_compile
12907 ac_compiler=$2
12908 for ac_option in --version -v -V -qversion; do
12909   { { ac_try="$ac_compiler $ac_option >&5"
12910 case "(($ac_try" in
12911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12912   *) ac_try_echo=$ac_try;;
12913 esac
12914 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12915 $as_echo "$ac_try_echo"; } >&5
12916   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12917   ac_status=$?
12918   if test -s conftest.err; then
12919     sed '10a\
12920 ... rest of stderr output deleted ...
12921          10q' conftest.err >conftest.er1
12922     cat conftest.er1 >&5
12923   fi
12924   rm -f conftest.er1 conftest.err
12925   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12926   test $ac_status = 0; }
12927 done
12928
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
12930 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
12931 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
12932   $as_echo_n "(cached) " >&6
12933 else
12934   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12935 /* end confdefs.h.  */
12936
12937 int
12938 main ()
12939 {
12940 #ifndef __GNUC__
12941        choke me
12942 #endif
12943
12944   ;
12945   return 0;
12946 }
12947 _ACEOF
12948 if ac_fn_cxx_try_compile "$LINENO"; then :
12949   ac_compiler_gnu=yes
12950 else
12951   ac_compiler_gnu=no
12952 fi
12953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12954 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12955
12956 fi
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
12958 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12959 if test $ac_compiler_gnu = yes; then
12960   GXX=yes
12961 else
12962   GXX=
12963 fi
12964 ac_test_CXXFLAGS=${CXXFLAGS+set}
12965 ac_save_CXXFLAGS=$CXXFLAGS
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
12967 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
12968 if test "${ac_cv_prog_cxx_g+set}" = set; then :
12969   $as_echo_n "(cached) " >&6
12970 else
12971   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
12972    ac_cxx_werror_flag=yes
12973    ac_cv_prog_cxx_g=no
12974    CXXFLAGS="-g"
12975    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12976 /* end confdefs.h.  */
12977
12978 int
12979 main ()
12980 {
12981
12982   ;
12983   return 0;
12984 }
12985 _ACEOF
12986 if ac_fn_cxx_try_compile "$LINENO"; then :
12987   ac_cv_prog_cxx_g=yes
12988 else
12989   CXXFLAGS=""
12990       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12991 /* end confdefs.h.  */
12992
12993 int
12994 main ()
12995 {
12996
12997   ;
12998   return 0;
12999 }
13000 _ACEOF
13001 if ac_fn_cxx_try_compile "$LINENO"; then :
13002
13003 else
13004   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13005          CXXFLAGS="-g"
13006          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13007 /* end confdefs.h.  */
13008
13009 int
13010 main ()
13011 {
13012
13013   ;
13014   return 0;
13015 }
13016 _ACEOF
13017 if ac_fn_cxx_try_compile "$LINENO"; then :
13018   ac_cv_prog_cxx_g=yes
13019 fi
13020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13021 fi
13022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13023 fi
13024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13025    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13026 fi
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13028 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13029 if test "$ac_test_CXXFLAGS" = set; then
13030   CXXFLAGS=$ac_save_CXXFLAGS
13031 elif test $ac_cv_prog_cxx_g = yes; then
13032   if test "$GXX" = yes; then
13033     CXXFLAGS="-g -O2"
13034   else
13035     CXXFLAGS="-g"
13036   fi
13037 else
13038   if test "$GXX" = yes; then
13039     CXXFLAGS="-O2"
13040   else
13041     CXXFLAGS=
13042   fi
13043 fi
13044 ac_ext=c
13045 ac_cpp='$CPP $CPPFLAGS'
13046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13049
13050 depcc="$CXX"  am_compiler_list=
13051
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13053 $as_echo_n "checking dependency style of $depcc... " >&6; }
13054 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
13055   $as_echo_n "(cached) " >&6
13056 else
13057   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13058   # We make a subdir and do the tests there.  Otherwise we can end up
13059   # making bogus files that we don't know about and never remove.  For
13060   # instance it was reported that on HP-UX the gcc test will end up
13061   # making a dummy file named `D' -- because `-MD' means `put the output
13062   # in D'.
13063   mkdir conftest.dir
13064   # Copy depcomp to subdir because otherwise we won't find it if we're
13065   # using a relative directory.
13066   cp "$am_depcomp" conftest.dir
13067   cd conftest.dir
13068   # We will build objects and dependencies in a subdirectory because
13069   # it helps to detect inapplicable dependency modes.  For instance
13070   # both Tru64's cc and ICC support -MD to output dependencies as a
13071   # side effect of compilation, but ICC will put the dependencies in
13072   # the current directory while Tru64 will put them in the object
13073   # directory.
13074   mkdir sub
13075
13076   am_cv_CXX_dependencies_compiler_type=none
13077   if test "$am_compiler_list" = ""; then
13078      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13079   fi
13080   am__universal=false
13081   case " $depcc " in #(
13082      *\ -arch\ *\ -arch\ *) am__universal=true ;;
13083      esac
13084
13085   for depmode in $am_compiler_list; do
13086     # Setup a source with many dependencies, because some compilers
13087     # like to wrap large dependency lists on column 80 (with \), and
13088     # we should not choose a depcomp mode which is confused by this.
13089     #
13090     # We need to recreate these files for each test, as the compiler may
13091     # overwrite some of them when testing with obscure command lines.
13092     # This happens at least with the AIX C compiler.
13093     : > sub/conftest.c
13094     for i in 1 2 3 4 5 6; do
13095       echo '#include "conftst'$i'.h"' >> sub/conftest.c
13096       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13097       # Solaris 8's {/usr,}/bin/sh.
13098       touch sub/conftst$i.h
13099     done
13100     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13101
13102     # We check with `-c' and `-o' for the sake of the "dashmstdout"
13103     # mode.  It turns out that the SunPro C++ compiler does not properly
13104     # handle `-M -o', and we need to detect this.  Also, some Intel
13105     # versions had trouble with output in subdirs
13106     am__obj=sub/conftest.${OBJEXT-o}
13107     am__minus_obj="-o $am__obj"
13108     case $depmode in
13109     gcc)
13110       # This depmode causes a compiler race in universal mode.
13111       test "$am__universal" = false || continue
13112       ;;
13113     nosideeffect)
13114       # after this tag, mechanisms are not by side-effect, so they'll
13115       # only be used when explicitly requested
13116       if test "x$enable_dependency_tracking" = xyes; then
13117         continue
13118       else
13119         break
13120       fi
13121       ;;
13122     msvisualcpp | msvcmsys)
13123       # This compiler won't grok `-c -o', but also, the minuso test has
13124       # not run yet.  These depmodes are late enough in the game, and
13125       # so weak that their functioning should not be impacted.
13126       am__obj=conftest.${OBJEXT-o}
13127       am__minus_obj=
13128       ;;
13129     none) break ;;
13130     esac
13131     if depmode=$depmode \
13132        source=sub/conftest.c object=$am__obj \
13133        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13134        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13135          >/dev/null 2>conftest.err &&
13136        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13137        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13138        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13139        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13140       # icc doesn't choke on unknown options, it will just issue warnings
13141       # or remarks (even with -Werror).  So we grep stderr for any message
13142       # that says an option was ignored or not supported.
13143       # When given -MP, icc 7.0 and 7.1 complain thusly:
13144       #   icc: Command line warning: ignoring option '-M'; no argument required
13145       # The diagnosis changed in icc 8.0:
13146       #   icc: Command line remark: option '-MP' not supported
13147       if (grep 'ignoring option' conftest.err ||
13148           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13149         am_cv_CXX_dependencies_compiler_type=$depmode
13150         break
13151       fi
13152     fi
13153   done
13154
13155   cd ..
13156   rm -rf conftest.dir
13157 else
13158   am_cv_CXX_dependencies_compiler_type=none
13159 fi
13160
13161 fi
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13163 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13164 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13165
13166  if
13167   test "x$enable_dependency_tracking" != xno \
13168   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13169   am__fastdepCXX_TRUE=
13170   am__fastdepCXX_FALSE='#'
13171 else
13172   am__fastdepCXX_TRUE='#'
13173   am__fastdepCXX_FALSE=
13174 fi
13175
13176
13177
13178 ac_ext=cpp
13179 ac_cpp='$CXXCPP $CPPFLAGS'
13180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13183 if test -z "$CXX"; then
13184   if test -n "$CCC"; then
13185     CXX=$CCC
13186   else
13187     if test -n "$ac_tool_prefix"; then
13188   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13189   do
13190     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13191 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13193 $as_echo_n "checking for $ac_word... " >&6; }
13194 if test "${ac_cv_prog_CXX+set}" = set; then :
13195   $as_echo_n "(cached) " >&6
13196 else
13197   if test -n "$CXX"; then
13198   ac_cv_prog_CXX="$CXX" # Let the user override the test.
13199 else
13200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13201 for as_dir in $PATH
13202 do
13203   IFS=$as_save_IFS
13204   test -z "$as_dir" && as_dir=.
13205     for ac_exec_ext in '' $ac_executable_extensions; do
13206   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13207     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13208     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13209     break 2
13210   fi
13211 done
13212   done
13213 IFS=$as_save_IFS
13214
13215 fi
13216 fi
13217 CXX=$ac_cv_prog_CXX
13218 if test -n "$CXX"; then
13219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13220 $as_echo "$CXX" >&6; }
13221 else
13222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13223 $as_echo "no" >&6; }
13224 fi
13225
13226
13227     test -n "$CXX" && break
13228   done
13229 fi
13230 if test -z "$CXX"; then
13231   ac_ct_CXX=$CXX
13232   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13233 do
13234   # Extract the first word of "$ac_prog", so it can be a program name with args.
13235 set dummy $ac_prog; ac_word=$2
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13237 $as_echo_n "checking for $ac_word... " >&6; }
13238 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
13239   $as_echo_n "(cached) " >&6
13240 else
13241   if test -n "$ac_ct_CXX"; then
13242   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13243 else
13244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13245 for as_dir in $PATH
13246 do
13247   IFS=$as_save_IFS
13248   test -z "$as_dir" && as_dir=.
13249     for ac_exec_ext in '' $ac_executable_extensions; do
13250   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13251     ac_cv_prog_ac_ct_CXX="$ac_prog"
13252     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13253     break 2
13254   fi
13255 done
13256   done
13257 IFS=$as_save_IFS
13258
13259 fi
13260 fi
13261 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13262 if test -n "$ac_ct_CXX"; then
13263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13264 $as_echo "$ac_ct_CXX" >&6; }
13265 else
13266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13267 $as_echo "no" >&6; }
13268 fi
13269
13270
13271   test -n "$ac_ct_CXX" && break
13272 done
13273
13274   if test "x$ac_ct_CXX" = x; then
13275     CXX="g++"
13276   else
13277     case $cross_compiling:$ac_tool_warned in
13278 yes:)
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13281 ac_tool_warned=yes ;;
13282 esac
13283     CXX=$ac_ct_CXX
13284   fi
13285 fi
13286
13287   fi
13288 fi
13289 # Provide some information about the compiler.
13290 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13291 set X $ac_compile
13292 ac_compiler=$2
13293 for ac_option in --version -v -V -qversion; do
13294   { { ac_try="$ac_compiler $ac_option >&5"
13295 case "(($ac_try" in
13296   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13297   *) ac_try_echo=$ac_try;;
13298 esac
13299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13300 $as_echo "$ac_try_echo"; } >&5
13301   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13302   ac_status=$?
13303   if test -s conftest.err; then
13304     sed '10a\
13305 ... rest of stderr output deleted ...
13306          10q' conftest.err >conftest.er1
13307     cat conftest.er1 >&5
13308   fi
13309   rm -f conftest.er1 conftest.err
13310   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13311   test $ac_status = 0; }
13312 done
13313
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13315 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13316 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
13317   $as_echo_n "(cached) " >&6
13318 else
13319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13320 /* end confdefs.h.  */
13321
13322 int
13323 main ()
13324 {
13325 #ifndef __GNUC__
13326        choke me
13327 #endif
13328
13329   ;
13330   return 0;
13331 }
13332 _ACEOF
13333 if ac_fn_cxx_try_compile "$LINENO"; then :
13334   ac_compiler_gnu=yes
13335 else
13336   ac_compiler_gnu=no
13337 fi
13338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13339 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13340
13341 fi
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13343 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13344 if test $ac_compiler_gnu = yes; then
13345   GXX=yes
13346 else
13347   GXX=
13348 fi
13349 ac_test_CXXFLAGS=${CXXFLAGS+set}
13350 ac_save_CXXFLAGS=$CXXFLAGS
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13352 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13353 if test "${ac_cv_prog_cxx_g+set}" = set; then :
13354   $as_echo_n "(cached) " >&6
13355 else
13356   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13357    ac_cxx_werror_flag=yes
13358    ac_cv_prog_cxx_g=no
13359    CXXFLAGS="-g"
13360    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13361 /* end confdefs.h.  */
13362
13363 int
13364 main ()
13365 {
13366
13367   ;
13368   return 0;
13369 }
13370 _ACEOF
13371 if ac_fn_cxx_try_compile "$LINENO"; then :
13372   ac_cv_prog_cxx_g=yes
13373 else
13374   CXXFLAGS=""
13375       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13376 /* end confdefs.h.  */
13377
13378 int
13379 main ()
13380 {
13381
13382   ;
13383   return 0;
13384 }
13385 _ACEOF
13386 if ac_fn_cxx_try_compile "$LINENO"; then :
13387
13388 else
13389   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13390          CXXFLAGS="-g"
13391          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13392 /* end confdefs.h.  */
13393
13394 int
13395 main ()
13396 {
13397
13398   ;
13399   return 0;
13400 }
13401 _ACEOF
13402 if ac_fn_cxx_try_compile "$LINENO"; then :
13403   ac_cv_prog_cxx_g=yes
13404 fi
13405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13406 fi
13407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13408 fi
13409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13410    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13411 fi
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13413 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13414 if test "$ac_test_CXXFLAGS" = set; then
13415   CXXFLAGS=$ac_save_CXXFLAGS
13416 elif test $ac_cv_prog_cxx_g = yes; then
13417   if test "$GXX" = yes; then
13418     CXXFLAGS="-g -O2"
13419   else
13420     CXXFLAGS="-g"
13421   fi
13422 else
13423   if test "$GXX" = yes; then
13424     CXXFLAGS="-O2"
13425   else
13426     CXXFLAGS=
13427   fi
13428 fi
13429 ac_ext=c
13430 ac_cpp='$CPP $CPPFLAGS'
13431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13434
13435 depcc="$CXX"  am_compiler_list=
13436
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13438 $as_echo_n "checking dependency style of $depcc... " >&6; }
13439 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
13440   $as_echo_n "(cached) " >&6
13441 else
13442   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13443   # We make a subdir and do the tests there.  Otherwise we can end up
13444   # making bogus files that we don't know about and never remove.  For
13445   # instance it was reported that on HP-UX the gcc test will end up
13446   # making a dummy file named `D' -- because `-MD' means `put the output
13447   # in D'.
13448   mkdir conftest.dir
13449   # Copy depcomp to subdir because otherwise we won't find it if we're
13450   # using a relative directory.
13451   cp "$am_depcomp" conftest.dir
13452   cd conftest.dir
13453   # We will build objects and dependencies in a subdirectory because
13454   # it helps to detect inapplicable dependency modes.  For instance
13455   # both Tru64's cc and ICC support -MD to output dependencies as a
13456   # side effect of compilation, but ICC will put the dependencies in
13457   # the current directory while Tru64 will put them in the object
13458   # directory.
13459   mkdir sub
13460
13461   am_cv_CXX_dependencies_compiler_type=none
13462   if test "$am_compiler_list" = ""; then
13463      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13464   fi
13465   am__universal=false
13466   case " $depcc " in #(
13467      *\ -arch\ *\ -arch\ *) am__universal=true ;;
13468      esac
13469
13470   for depmode in $am_compiler_list; do
13471     # Setup a source with many dependencies, because some compilers
13472     # like to wrap large dependency lists on column 80 (with \), and
13473     # we should not choose a depcomp mode which is confused by this.
13474     #
13475     # We need to recreate these files for each test, as the compiler may
13476     # overwrite some of them when testing with obscure command lines.
13477     # This happens at least with the AIX C compiler.
13478     : > sub/conftest.c
13479     for i in 1 2 3 4 5 6; do
13480       echo '#include "conftst'$i'.h"' >> sub/conftest.c
13481       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13482       # Solaris 8's {/usr,}/bin/sh.
13483       touch sub/conftst$i.h
13484     done
13485     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13486
13487     # We check with `-c' and `-o' for the sake of the "dashmstdout"
13488     # mode.  It turns out that the SunPro C++ compiler does not properly
13489     # handle `-M -o', and we need to detect this.  Also, some Intel
13490     # versions had trouble with output in subdirs
13491     am__obj=sub/conftest.${OBJEXT-o}
13492     am__minus_obj="-o $am__obj"
13493     case $depmode in
13494     gcc)
13495       # This depmode causes a compiler race in universal mode.
13496       test "$am__universal" = false || continue
13497       ;;
13498     nosideeffect)
13499       # after this tag, mechanisms are not by side-effect, so they'll
13500       # only be used when explicitly requested
13501       if test "x$enable_dependency_tracking" = xyes; then
13502         continue
13503       else
13504         break
13505       fi
13506       ;;
13507     msvisualcpp | msvcmsys)
13508       # This compiler won't grok `-c -o', but also, the minuso test has
13509       # not run yet.  These depmodes are late enough in the game, and
13510       # so weak that their functioning should not be impacted.
13511       am__obj=conftest.${OBJEXT-o}
13512       am__minus_obj=
13513       ;;
13514     none) break ;;
13515     esac
13516     if depmode=$depmode \
13517        source=sub/conftest.c object=$am__obj \
13518        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13519        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13520          >/dev/null 2>conftest.err &&
13521        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13522        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13523        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13524        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13525       # icc doesn't choke on unknown options, it will just issue warnings
13526       # or remarks (even with -Werror).  So we grep stderr for any message
13527       # that says an option was ignored or not supported.
13528       # When given -MP, icc 7.0 and 7.1 complain thusly:
13529       #   icc: Command line warning: ignoring option '-M'; no argument required
13530       # The diagnosis changed in icc 8.0:
13531       #   icc: Command line remark: option '-MP' not supported
13532       if (grep 'ignoring option' conftest.err ||
13533           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13534         am_cv_CXX_dependencies_compiler_type=$depmode
13535         break
13536       fi
13537     fi
13538   done
13539
13540   cd ..
13541   rm -rf conftest.dir
13542 else
13543   am_cv_CXX_dependencies_compiler_type=none
13544 fi
13545
13546 fi
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13548 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13549 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13550
13551  if
13552   test "x$enable_dependency_tracking" != xno \
13553   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13554   am__fastdepCXX_TRUE=
13555   am__fastdepCXX_FALSE='#'
13556 else
13557   am__fastdepCXX_TRUE='#'
13558   am__fastdepCXX_FALSE=
13559 fi
13560
13561
13562 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13563     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13564     (test "X$CXX" != "Xg++"))) ; then
13565   ac_ext=cpp
13566 ac_cpp='$CXXCPP $CPPFLAGS'
13567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13571 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13572 if test -z "$CXXCPP"; then
13573   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
13574   $as_echo_n "(cached) " >&6
13575 else
13576       # Double quotes because CXXCPP needs to be expanded
13577     for CXXCPP in "$CXX -E" "/lib/cpp"
13578     do
13579       ac_preproc_ok=false
13580 for ac_cxx_preproc_warn_flag in '' yes
13581 do
13582   # Use a header file that comes with gcc, so configuring glibc
13583   # with a fresh cross-compiler works.
13584   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13585   # <limits.h> exists even on freestanding compilers.
13586   # On the NeXT, cc -E runs the code through the compiler's parser,
13587   # not just through cpp. "Syntax error" is here to catch this case.
13588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13589 /* end confdefs.h.  */
13590 #ifdef __STDC__
13591 # include <limits.h>
13592 #else
13593 # include <assert.h>
13594 #endif
13595                      Syntax error
13596 _ACEOF
13597 if ac_fn_cxx_try_cpp "$LINENO"; then :
13598
13599 else
13600   # Broken: fails on valid input.
13601 continue
13602 fi
13603 rm -f conftest.err conftest.i conftest.$ac_ext
13604
13605   # OK, works on sane cases.  Now check whether nonexistent headers
13606   # can be detected and how.
13607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13608 /* end confdefs.h.  */
13609 #include <ac_nonexistent.h>
13610 _ACEOF
13611 if ac_fn_cxx_try_cpp "$LINENO"; then :
13612   # Broken: success on invalid input.
13613 continue
13614 else
13615   # Passes both tests.
13616 ac_preproc_ok=:
13617 break
13618 fi
13619 rm -f conftest.err conftest.i conftest.$ac_ext
13620
13621 done
13622 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13623 rm -f conftest.i conftest.err conftest.$ac_ext
13624 if $ac_preproc_ok; then :
13625   break
13626 fi
13627
13628     done
13629     ac_cv_prog_CXXCPP=$CXXCPP
13630
13631 fi
13632   CXXCPP=$ac_cv_prog_CXXCPP
13633 else
13634   ac_cv_prog_CXXCPP=$CXXCPP
13635 fi
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13637 $as_echo "$CXXCPP" >&6; }
13638 ac_preproc_ok=false
13639 for ac_cxx_preproc_warn_flag in '' yes
13640 do
13641   # Use a header file that comes with gcc, so configuring glibc
13642   # with a fresh cross-compiler works.
13643   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13644   # <limits.h> exists even on freestanding compilers.
13645   # On the NeXT, cc -E runs the code through the compiler's parser,
13646   # not just through cpp. "Syntax error" is here to catch this case.
13647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13648 /* end confdefs.h.  */
13649 #ifdef __STDC__
13650 # include <limits.h>
13651 #else
13652 # include <assert.h>
13653 #endif
13654                      Syntax error
13655 _ACEOF
13656 if ac_fn_cxx_try_cpp "$LINENO"; then :
13657
13658 else
13659   # Broken: fails on valid input.
13660 continue
13661 fi
13662 rm -f conftest.err conftest.i conftest.$ac_ext
13663
13664   # OK, works on sane cases.  Now check whether nonexistent headers
13665   # can be detected and how.
13666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13667 /* end confdefs.h.  */
13668 #include <ac_nonexistent.h>
13669 _ACEOF
13670 if ac_fn_cxx_try_cpp "$LINENO"; then :
13671   # Broken: success on invalid input.
13672 continue
13673 else
13674   # Passes both tests.
13675 ac_preproc_ok=:
13676 break
13677 fi
13678 rm -f conftest.err conftest.i conftest.$ac_ext
13679
13680 done
13681 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13682 rm -f conftest.i conftest.err conftest.$ac_ext
13683 if $ac_preproc_ok; then :
13684
13685 else
13686   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13687 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13688 _lt_caught_CXX_error=yes; }
13689 fi
13690
13691 ac_ext=c
13692 ac_cpp='$CPP $CPPFLAGS'
13693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13696
13697 else
13698   _lt_caught_CXX_error=yes
13699 fi
13700
13701
13702
13703
13704 ac_ext=cpp
13705 ac_cpp='$CXXCPP $CPPFLAGS'
13706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13709
13710 archive_cmds_need_lc_CXX=no
13711 allow_undefined_flag_CXX=
13712 always_export_symbols_CXX=no
13713 archive_expsym_cmds_CXX=
13714 compiler_needs_object_CXX=no
13715 export_dynamic_flag_spec_CXX=
13716 hardcode_direct_CXX=no
13717 hardcode_direct_absolute_CXX=no
13718 hardcode_libdir_flag_spec_CXX=
13719 hardcode_libdir_flag_spec_ld_CXX=
13720 hardcode_libdir_separator_CXX=
13721 hardcode_minus_L_CXX=no
13722 hardcode_shlibpath_var_CXX=unsupported
13723 hardcode_automatic_CXX=no
13724 inherit_rpath_CXX=no
13725 module_cmds_CXX=
13726 module_expsym_cmds_CXX=
13727 link_all_deplibs_CXX=unknown
13728 old_archive_cmds_CXX=$old_archive_cmds
13729 no_undefined_flag_CXX=
13730 whole_archive_flag_spec_CXX=
13731 enable_shared_with_static_runtimes_CXX=no
13732
13733 # Source file extension for C++ test sources.
13734 ac_ext=cpp
13735
13736 # Object file extension for compiled C++ test sources.
13737 objext=o
13738 objext_CXX=$objext
13739
13740 # No sense in running all these tests if we already determined that
13741 # the CXX compiler isn't working.  Some variables (like enable_shared)
13742 # are currently assumed to apply to all compilers on this platform,
13743 # and will be corrupted by setting them based on a non-working compiler.
13744 if test "$_lt_caught_CXX_error" != yes; then
13745   # Code to be used in simple compile tests
13746   lt_simple_compile_test_code="int some_variable = 0;"
13747
13748   # Code to be used in simple link tests
13749   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13750
13751   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13752
13753
13754
13755
13756
13757
13758 # If no C compiler was specified, use CC.
13759 LTCC=${LTCC-"$CC"}
13760
13761 # If no C compiler flags were specified, use CFLAGS.
13762 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13763
13764 # Allow CC to be a program name with arguments.
13765 compiler=$CC
13766
13767
13768   # save warnings/boilerplate of simple test code
13769   ac_outfile=conftest.$ac_objext
13770 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13771 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13772 _lt_compiler_boilerplate=`cat conftest.err`
13773 $RM conftest*
13774
13775   ac_outfile=conftest.$ac_objext
13776 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13777 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13778 _lt_linker_boilerplate=`cat conftest.err`
13779 $RM -r conftest*
13780
13781
13782   # Allow CC to be a program name with arguments.
13783   lt_save_CC=$CC
13784   lt_save_LD=$LD
13785   lt_save_GCC=$GCC
13786   GCC=$GXX
13787   lt_save_with_gnu_ld=$with_gnu_ld
13788   lt_save_path_LD=$lt_cv_path_LD
13789   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13790     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13791   else
13792     $as_unset lt_cv_prog_gnu_ld
13793   fi
13794   if test -n "${lt_cv_path_LDCXX+set}"; then
13795     lt_cv_path_LD=$lt_cv_path_LDCXX
13796   else
13797     $as_unset lt_cv_path_LD
13798   fi
13799   test -z "${LDCXX+set}" || LD=$LDCXX
13800   CC=${CXX-"c++"}
13801   compiler=$CC
13802   compiler_CXX=$CC
13803   for cc_temp in $compiler""; do
13804   case $cc_temp in
13805     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13806     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13807     \-*) ;;
13808     *) break;;
13809   esac
13810 done
13811 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13812
13813
13814   if test -n "$compiler"; then
13815     # We don't want -fno-exception when compiling C++ code, so set the
13816     # no_builtin_flag separately
13817     if test "$GXX" = yes; then
13818       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13819     else
13820       lt_prog_compiler_no_builtin_flag_CXX=
13821     fi
13822
13823     if test "$GXX" = yes; then
13824       # Set up default GNU C++ configuration
13825
13826
13827
13828 # Check whether --with-gnu-ld was given.
13829 if test "${with_gnu_ld+set}" = set; then :
13830   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13831 else
13832   with_gnu_ld=no
13833 fi
13834
13835 ac_prog=ld
13836 if test "$GCC" = yes; then
13837   # Check if gcc -print-prog-name=ld gives a path.
13838   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13839 $as_echo_n "checking for ld used by $CC... " >&6; }
13840   case $host in
13841   *-*-mingw*)
13842     # gcc leaves a trailing carriage return which upsets mingw
13843     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13844   *)
13845     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13846   esac
13847   case $ac_prog in
13848     # Accept absolute paths.
13849     [\\/]* | ?:[\\/]*)
13850       re_direlt='/[^/][^/]*/\.\./'
13851       # Canonicalize the pathname of ld
13852       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13853       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13854         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13855       done
13856       test -z "$LD" && LD="$ac_prog"
13857       ;;
13858   "")
13859     # If it fails, then pretend we aren't using GCC.
13860     ac_prog=ld
13861     ;;
13862   *)
13863     # If it is relative, then search for the first ld in PATH.
13864     with_gnu_ld=unknown
13865     ;;
13866   esac
13867 elif test "$with_gnu_ld" = yes; then
13868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13869 $as_echo_n "checking for GNU ld... " >&6; }
13870 else
13871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13872 $as_echo_n "checking for non-GNU ld... " >&6; }
13873 fi
13874 if test "${lt_cv_path_LD+set}" = set; then :
13875   $as_echo_n "(cached) " >&6
13876 else
13877   if test -z "$LD"; then
13878   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13879   for ac_dir in $PATH; do
13880     IFS="$lt_save_ifs"
13881     test -z "$ac_dir" && ac_dir=.
13882     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13883       lt_cv_path_LD="$ac_dir/$ac_prog"
13884       # Check to see if the program is GNU ld.  I'd rather use --version,
13885       # but apparently some variants of GNU ld only accept -v.
13886       # Break only if it was the GNU/non-GNU ld that we prefer.
13887       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13888       *GNU* | *'with BFD'*)
13889         test "$with_gnu_ld" != no && break
13890         ;;
13891       *)
13892         test "$with_gnu_ld" != yes && break
13893         ;;
13894       esac
13895     fi
13896   done
13897   IFS="$lt_save_ifs"
13898 else
13899   lt_cv_path_LD="$LD" # Let the user override the test with a path.
13900 fi
13901 fi
13902
13903 LD="$lt_cv_path_LD"
13904 if test -n "$LD"; then
13905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13906 $as_echo "$LD" >&6; }
13907 else
13908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13909 $as_echo "no" >&6; }
13910 fi
13911 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13913 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13914 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
13915   $as_echo_n "(cached) " >&6
13916 else
13917   # I'd rather use --version here, but apparently some GNU lds only accept -v.
13918 case `$LD -v 2>&1 </dev/null` in
13919 *GNU* | *'with BFD'*)
13920   lt_cv_prog_gnu_ld=yes
13921   ;;
13922 *)
13923   lt_cv_prog_gnu_ld=no
13924   ;;
13925 esac
13926 fi
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13928 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13929 with_gnu_ld=$lt_cv_prog_gnu_ld
13930
13931
13932
13933
13934
13935
13936
13937       # Check if GNU C++ uses GNU ld as the underlying linker, since the
13938       # archiving commands below assume that GNU ld is being used.
13939       if test "$with_gnu_ld" = yes; then
13940         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13941         archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13942
13943         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13944         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13945
13946         # If archive_cmds runs LD, not CC, wlarc should be empty
13947         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13948         #     investigate it a little bit more. (MM)
13949         wlarc='${wl}'
13950
13951         # ancient GNU ld didn't support --whole-archive et. al.
13952         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13953           $GREP 'no-whole-archive' > /dev/null; then
13954           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13955         else
13956           whole_archive_flag_spec_CXX=
13957         fi
13958       else
13959         with_gnu_ld=no
13960         wlarc=
13961
13962         # A generic and very simple default shared library creation
13963         # command for GNU C++ for the case where it uses the native
13964         # linker, instead of GNU ld.  If possible, this setting should
13965         # overridden to take advantage of the native linker features on
13966         # the platform it is being used on.
13967         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13968       fi
13969
13970       # Commands to make compiler produce verbose output that lists
13971       # what "hidden" libraries, object files and flags are used when
13972       # linking a shared library.
13973       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13974
13975     else
13976       GXX=no
13977       with_gnu_ld=no
13978       wlarc=
13979     fi
13980
13981     # PORTME: fill in a description of your system's C++ link characteristics
13982     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13983 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13984     ld_shlibs_CXX=yes
13985     case $host_os in
13986       aix3*)
13987         # FIXME: insert proper C++ library support
13988         ld_shlibs_CXX=no
13989         ;;
13990       aix[4-9]*)
13991         if test "$host_cpu" = ia64; then
13992           # On IA64, the linker does run time linking by default, so we don't
13993           # have to do anything special.
13994           aix_use_runtimelinking=no
13995           exp_sym_flag='-Bexport'
13996           no_entry_flag=""
13997         else
13998           aix_use_runtimelinking=no
13999
14000           # Test if we are trying to use run time linking or normal
14001           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14002           # need to do runtime linking.
14003           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14004             for ld_flag in $LDFLAGS; do
14005               case $ld_flag in
14006               *-brtl*)
14007                 aix_use_runtimelinking=yes
14008                 break
14009                 ;;
14010               esac
14011             done
14012             ;;
14013           esac
14014
14015           exp_sym_flag='-bexport'
14016           no_entry_flag='-bnoentry'
14017         fi
14018
14019         # When large executables or shared objects are built, AIX ld can
14020         # have problems creating the table of contents.  If linking a library
14021         # or program results in "error TOC overflow" add -mminimal-toc to
14022         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14023         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14024
14025         archive_cmds_CXX=''
14026         hardcode_direct_CXX=yes
14027         hardcode_direct_absolute_CXX=yes
14028         hardcode_libdir_separator_CXX=':'
14029         link_all_deplibs_CXX=yes
14030         file_list_spec_CXX='${wl}-f,'
14031
14032         if test "$GXX" = yes; then
14033           case $host_os in aix4.[012]|aix4.[012].*)
14034           # We only want to do this on AIX 4.2 and lower, the check
14035           # below for broken collect2 doesn't work under 4.3+
14036           collect2name=`${CC} -print-prog-name=collect2`
14037           if test -f "$collect2name" &&
14038              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14039           then
14040             # We have reworked collect2
14041             :
14042           else
14043             # We have old collect2
14044             hardcode_direct_CXX=unsupported
14045             # It fails to find uninstalled libraries when the uninstalled
14046             # path is not listed in the libpath.  Setting hardcode_minus_L
14047             # to unsupported forces relinking
14048             hardcode_minus_L_CXX=yes
14049             hardcode_libdir_flag_spec_CXX='-L$libdir'
14050             hardcode_libdir_separator_CXX=
14051           fi
14052           esac
14053           shared_flag='-shared'
14054           if test "$aix_use_runtimelinking" = yes; then
14055             shared_flag="$shared_flag "'${wl}-G'
14056           fi
14057         else
14058           # not using gcc
14059           if test "$host_cpu" = ia64; then
14060           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14061           # chokes on -Wl,-G. The following line is correct:
14062           shared_flag='-G'
14063           else
14064             if test "$aix_use_runtimelinking" = yes; then
14065               shared_flag='${wl}-G'
14066             else
14067               shared_flag='${wl}-bM:SRE'
14068             fi
14069           fi
14070         fi
14071
14072         export_dynamic_flag_spec_CXX='${wl}-bexpall'
14073         # It seems that -bexpall does not export symbols beginning with
14074         # underscore (_), so it is better to generate a list of symbols to
14075         # export.
14076         always_export_symbols_CXX=yes
14077         if test "$aix_use_runtimelinking" = yes; then
14078           # Warning - without using the other runtime loading flags (-brtl),
14079           # -berok will link without error, but may produce a broken library.
14080           allow_undefined_flag_CXX='-berok'
14081           # Determine the default libpath from the value encoded in an empty
14082           # executable.
14083           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14084 /* end confdefs.h.  */
14085
14086 int
14087 main ()
14088 {
14089
14090   ;
14091   return 0;
14092 }
14093 _ACEOF
14094 if ac_fn_cxx_try_link "$LINENO"; then :
14095
14096 lt_aix_libpath_sed='
14097     /Import File Strings/,/^$/ {
14098         /^0/ {
14099             s/^0  *\(.*\)$/\1/
14100             p
14101         }
14102     }'
14103 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14104 # Check for a 64-bit object if we didn't find anything.
14105 if test -z "$aix_libpath"; then
14106   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14107 fi
14108 fi
14109 rm -f core conftest.err conftest.$ac_objext \
14110     conftest$ac_exeext conftest.$ac_ext
14111 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14112
14113           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14114
14115           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14116         else
14117           if test "$host_cpu" = ia64; then
14118             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14119             allow_undefined_flag_CXX="-z nodefs"
14120             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
14121           else
14122             # Determine the default libpath from the value encoded in an
14123             # empty executable.
14124             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14125 /* end confdefs.h.  */
14126
14127 int
14128 main ()
14129 {
14130
14131   ;
14132   return 0;
14133 }
14134 _ACEOF
14135 if ac_fn_cxx_try_link "$LINENO"; then :
14136
14137 lt_aix_libpath_sed='
14138     /Import File Strings/,/^$/ {
14139         /^0/ {
14140             s/^0  *\(.*\)$/\1/
14141             p
14142         }
14143     }'
14144 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14145 # Check for a 64-bit object if we didn't find anything.
14146 if test -z "$aix_libpath"; then
14147   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14148 fi
14149 fi
14150 rm -f core conftest.err conftest.$ac_objext \
14151     conftest$ac_exeext conftest.$ac_ext
14152 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14153
14154             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14155             # Warning - without using the other run time loading flags,
14156             # -berok will link without error, but may produce a broken library.
14157             no_undefined_flag_CXX=' ${wl}-bernotok'
14158             allow_undefined_flag_CXX=' ${wl}-berok'
14159             # Exported symbols can be pulled into shared objects from archives
14160             whole_archive_flag_spec_CXX='$convenience'
14161             archive_cmds_need_lc_CXX=yes
14162             # This is similar to how AIX traditionally builds its shared
14163             # libraries.
14164             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14165           fi
14166         fi
14167         ;;
14168
14169       beos*)
14170         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14171           allow_undefined_flag_CXX=unsupported
14172           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14173           # support --undefined.  This deserves some investigation.  FIXME
14174           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14175         else
14176           ld_shlibs_CXX=no
14177         fi
14178         ;;
14179
14180       chorus*)
14181         case $cc_basename in
14182           *)
14183           # FIXME: insert proper C++ library support
14184           ld_shlibs_CXX=no
14185           ;;
14186         esac
14187         ;;
14188
14189       cygwin* | mingw* | pw32* | cegcc*)
14190         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14191         # as there is no search path for DLLs.
14192         hardcode_libdir_flag_spec_CXX='-L$libdir'
14193         allow_undefined_flag_CXX=unsupported
14194         always_export_symbols_CXX=no
14195         enable_shared_with_static_runtimes_CXX=yes
14196
14197         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14198           archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14199           # If the export-symbols file already is a .def file (1st line
14200           # is EXPORTS), use it as is; otherwise, prepend...
14201           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14202             cp $export_symbols $output_objdir/$soname.def;
14203           else
14204             echo EXPORTS > $output_objdir/$soname.def;
14205             cat $export_symbols >> $output_objdir/$soname.def;
14206           fi~
14207           $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14208         else
14209           ld_shlibs_CXX=no
14210         fi
14211         ;;
14212       darwin* | rhapsody*)
14213
14214
14215   archive_cmds_need_lc_CXX=no
14216   hardcode_direct_CXX=no
14217   hardcode_automatic_CXX=yes
14218   hardcode_shlibpath_var_CXX=unsupported
14219   whole_archive_flag_spec_CXX=''
14220   link_all_deplibs_CXX=yes
14221   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14222   case $cc_basename in
14223      ifort*) _lt_dar_can_shared=yes ;;
14224      *) _lt_dar_can_shared=$GCC ;;
14225   esac
14226   if test "$_lt_dar_can_shared" = "yes"; then
14227     output_verbose_link_cmd=echo
14228     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
14229     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14230     archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
14231     module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
14232        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14233       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
14234       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
14235     fi
14236
14237   else
14238   ld_shlibs_CXX=no
14239   fi
14240
14241         ;;
14242
14243       dgux*)
14244         case $cc_basename in
14245           ec++*)
14246             # FIXME: insert proper C++ library support
14247             ld_shlibs_CXX=no
14248             ;;
14249           ghcx*)
14250             # Green Hills C++ Compiler
14251             # FIXME: insert proper C++ library support
14252             ld_shlibs_CXX=no
14253             ;;
14254           *)
14255             # FIXME: insert proper C++ library support
14256             ld_shlibs_CXX=no
14257             ;;
14258         esac
14259         ;;
14260
14261       freebsd[12]*)
14262         # C++ shared libraries reported to be fairly broken before
14263         # switch to ELF
14264         ld_shlibs_CXX=no
14265         ;;
14266
14267       freebsd-elf*)
14268         archive_cmds_need_lc_CXX=no
14269         ;;
14270
14271       freebsd* | dragonfly*)
14272         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14273         # conventions
14274         ld_shlibs_CXX=yes
14275         ;;
14276
14277       gnu*)
14278         ;;
14279
14280       hpux9*)
14281         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14282         hardcode_libdir_separator_CXX=:
14283         export_dynamic_flag_spec_CXX='${wl}-E'
14284         hardcode_direct_CXX=yes
14285         hardcode_minus_L_CXX=yes # Not in the search PATH,
14286                                              # but as the default
14287                                              # location of the library.
14288
14289         case $cc_basename in
14290           CC*)
14291             # FIXME: insert proper C++ library support
14292             ld_shlibs_CXX=no
14293             ;;
14294           aCC*)
14295             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14296             # Commands to make compiler produce verbose output that lists
14297             # what "hidden" libraries, object files and flags are used when
14298             # linking a shared library.
14299             #
14300             # There doesn't appear to be a way to prevent this compiler from
14301             # explicitly linking system object files so we need to strip them
14302             # from the output so that they don't get included in the library
14303             # dependencies.
14304             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14305             ;;
14306           *)
14307             if test "$GXX" = yes; then
14308               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14309             else
14310               # FIXME: insert proper C++ library support
14311               ld_shlibs_CXX=no
14312             fi
14313             ;;
14314         esac
14315         ;;
14316
14317       hpux10*|hpux11*)
14318         if test $with_gnu_ld = no; then
14319           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14320           hardcode_libdir_separator_CXX=:
14321
14322           case $host_cpu in
14323             hppa*64*|ia64*)
14324               ;;
14325             *)
14326               export_dynamic_flag_spec_CXX='${wl}-E'
14327               ;;
14328           esac
14329         fi
14330         case $host_cpu in
14331           hppa*64*|ia64*)
14332             hardcode_direct_CXX=no
14333             hardcode_shlibpath_var_CXX=no
14334             ;;
14335           *)
14336             hardcode_direct_CXX=yes
14337             hardcode_direct_absolute_CXX=yes
14338             hardcode_minus_L_CXX=yes # Not in the search PATH,
14339                                                  # but as the default
14340                                                  # location of the library.
14341             ;;
14342         esac
14343
14344         case $cc_basename in
14345           CC*)
14346             # FIXME: insert proper C++ library support
14347             ld_shlibs_CXX=no
14348             ;;
14349           aCC*)
14350             case $host_cpu in
14351               hppa*64*)
14352                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14353                 ;;
14354               ia64*)
14355                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14356                 ;;
14357               *)
14358                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14359                 ;;
14360             esac
14361             # Commands to make compiler produce verbose output that lists
14362             # what "hidden" libraries, object files and flags are used when
14363             # linking a shared library.
14364             #
14365             # There doesn't appear to be a way to prevent this compiler from
14366             # explicitly linking system object files so we need to strip them
14367             # from the output so that they don't get included in the library
14368             # dependencies.
14369             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14370             ;;
14371           *)
14372             if test "$GXX" = yes; then
14373               if test $with_gnu_ld = no; then
14374                 case $host_cpu in
14375                   hppa*64*)
14376                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14377                     ;;
14378                   ia64*)
14379                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14380                     ;;
14381                   *)
14382                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14383                     ;;
14384                 esac
14385               fi
14386             else
14387               # FIXME: insert proper C++ library support
14388               ld_shlibs_CXX=no
14389             fi
14390             ;;
14391         esac
14392         ;;
14393
14394       interix[3-9]*)
14395         hardcode_direct_CXX=no
14396         hardcode_shlibpath_var_CXX=no
14397         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14398         export_dynamic_flag_spec_CXX='${wl}-E'
14399         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14400         # Instead, shared libraries are loaded at an image base (0x10000000 by
14401         # default) and relocated if they conflict, which is a slow very memory
14402         # consuming and fragmenting process.  To avoid this, we pick a random,
14403         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14404         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14405         archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14406         archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14407         ;;
14408       irix5* | irix6*)
14409         case $cc_basename in
14410           CC*)
14411             # SGI C++
14412             archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14413
14414             # Archives containing C++ object files must be created using
14415             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
14416             # necessary to make sure instantiated templates are included
14417             # in the archive.
14418             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14419             ;;
14420           *)
14421             if test "$GXX" = yes; then
14422               if test "$with_gnu_ld" = no; then
14423                 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14424               else
14425                 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
14426               fi
14427             fi
14428             link_all_deplibs_CXX=yes
14429             ;;
14430         esac
14431         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14432         hardcode_libdir_separator_CXX=:
14433         inherit_rpath_CXX=yes
14434         ;;
14435
14436       linux* | k*bsd*-gnu | kopensolaris*-gnu)
14437         case $cc_basename in
14438           KCC*)
14439             # Kuck and Associates, Inc. (KAI) C++ Compiler
14440
14441             # KCC will only create a shared library if the output file
14442             # ends with ".so" (or ".sl" for HP-UX), so rename the library
14443             # to its proper name (with version) after linking.
14444             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14445             archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
14446             # Commands to make compiler produce verbose output that lists
14447             # what "hidden" libraries, object files and flags are used when
14448             # linking a shared library.
14449             #
14450             # There doesn't appear to be a way to prevent this compiler from
14451             # explicitly linking system object files so we need to strip them
14452             # from the output so that they don't get included in the library
14453             # dependencies.
14454             output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14455
14456             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14457             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14458
14459             # Archives containing C++ object files must be created using
14460             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14461             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14462             ;;
14463           icpc* | ecpc* )
14464             # Intel C++
14465             with_gnu_ld=yes
14466             # version 8.0 and above of icpc choke on multiply defined symbols
14467             # if we add $predep_objects and $postdep_objects, however 7.1 and
14468             # earlier do not add the objects themselves.
14469             case `$CC -V 2>&1` in
14470               *"Version 7."*)
14471                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14472                 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14473                 ;;
14474               *)  # Version 8.0 or newer
14475                 tmp_idyn=
14476                 case $host_cpu in
14477                   ia64*) tmp_idyn=' -i_dynamic';;
14478                 esac
14479                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14480                 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14481                 ;;
14482             esac
14483             archive_cmds_need_lc_CXX=no
14484             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14485             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14486             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14487             ;;
14488           pgCC* | pgcpp*)
14489             # Portland Group C++ compiler
14490             case `$CC -V` in
14491             *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
14492               prelink_cmds_CXX='tpldir=Template.dir~
14493                 rm -rf $tpldir~
14494                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14495                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14496               old_archive_cmds_CXX='tpldir=Template.dir~
14497                 rm -rf $tpldir~
14498                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14499                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14500                 $RANLIB $oldlib'
14501               archive_cmds_CXX='tpldir=Template.dir~
14502                 rm -rf $tpldir~
14503                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14504                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14505               archive_expsym_cmds_CXX='tpldir=Template.dir~
14506                 rm -rf $tpldir~
14507                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14508                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
14509               ;;
14510             *) # Version 6 will use weak symbols
14511               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14512               archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
14513               ;;
14514             esac
14515
14516             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14517             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14518             whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
14519             ;;
14520           cxx*)
14521             # Compaq C++
14522             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14523             archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
14524
14525             runpath_var=LD_RUN_PATH
14526             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14527             hardcode_libdir_separator_CXX=:
14528
14529             # Commands to make compiler produce verbose output that lists
14530             # what "hidden" libraries, object files and flags are used when
14531             # linking a shared library.
14532             #
14533             # There doesn't appear to be a way to prevent this compiler from
14534             # explicitly linking system object files so we need to strip them
14535             # from the output so that they don't get included in the library
14536             # dependencies.
14537             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14538             ;;
14539           xl*)
14540             # IBM XL 8.0 on PPC, with GNU ld
14541             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14542             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14543             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14544             if test "x$supports_anon_versioning" = xyes; then
14545               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14546                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14547                 echo "local: *; };" >> $output_objdir/$libname.ver~
14548                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14549             fi
14550             ;;
14551           *)
14552             case `$CC -V 2>&1 | sed 5q` in
14553             *Sun\ C*)
14554               # Sun C++ 5.9
14555               no_undefined_flag_CXX=' -zdefs'
14556               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14557               archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
14558               hardcode_libdir_flag_spec_CXX='-R$libdir'
14559               whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
14560               compiler_needs_object_CXX=yes
14561
14562               # Not sure whether something based on
14563               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14564               # would be better.
14565               output_verbose_link_cmd='echo'
14566
14567               # Archives containing C++ object files must be created using
14568               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14569               # necessary to make sure instantiated templates are included
14570               # in the archive.
14571               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14572               ;;
14573             esac
14574             ;;
14575         esac
14576         ;;
14577
14578       lynxos*)
14579         # FIXME: insert proper C++ library support
14580         ld_shlibs_CXX=no
14581         ;;
14582
14583       m88k*)
14584         # FIXME: insert proper C++ library support
14585         ld_shlibs_CXX=no
14586         ;;
14587
14588       mvs*)
14589         case $cc_basename in
14590           cxx*)
14591             # FIXME: insert proper C++ library support
14592             ld_shlibs_CXX=no
14593             ;;
14594           *)
14595             # FIXME: insert proper C++ library support
14596             ld_shlibs_CXX=no
14597             ;;
14598         esac
14599         ;;
14600
14601       netbsd*)
14602         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14603           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14604           wlarc=
14605           hardcode_libdir_flag_spec_CXX='-R$libdir'
14606           hardcode_direct_CXX=yes
14607           hardcode_shlibpath_var_CXX=no
14608         fi
14609         # Workaround some broken pre-1.5 toolchains
14610         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14611         ;;
14612
14613       *nto* | *qnx*)
14614         ld_shlibs_CXX=yes
14615         ;;
14616
14617       openbsd2*)
14618         # C++ shared libraries are fairly broken
14619         ld_shlibs_CXX=no
14620         ;;
14621
14622       openbsd*)
14623         if test -f /usr/libexec/ld.so; then
14624           hardcode_direct_CXX=yes
14625           hardcode_shlibpath_var_CXX=no
14626           hardcode_direct_absolute_CXX=yes
14627           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14628           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14629           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14630             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14631             export_dynamic_flag_spec_CXX='${wl}-E'
14632             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14633           fi
14634           output_verbose_link_cmd=echo
14635         else
14636           ld_shlibs_CXX=no
14637         fi
14638         ;;
14639
14640       osf3* | osf4* | osf5*)
14641         case $cc_basename in
14642           KCC*)
14643             # Kuck and Associates, Inc. (KAI) C++ Compiler
14644
14645             # KCC will only create a shared library if the output file
14646             # ends with ".so" (or ".sl" for HP-UX), so rename the library
14647             # to its proper name (with version) after linking.
14648             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14649
14650             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14651             hardcode_libdir_separator_CXX=:
14652
14653             # Archives containing C++ object files must be created using
14654             # the KAI C++ compiler.
14655             case $host in
14656               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14657               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14658             esac
14659             ;;
14660           RCC*)
14661             # Rational C++ 2.4.1
14662             # FIXME: insert proper C++ library support
14663             ld_shlibs_CXX=no
14664             ;;
14665           cxx*)
14666             case $host in
14667               osf3*)
14668                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14669                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14670                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14671                 ;;
14672               *)
14673                 allow_undefined_flag_CXX=' -expect_unresolved \*'
14674                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14675                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14676                   echo "-hidden">> $lib.exp~
14677                   $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
14678                   $RM $lib.exp'
14679                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14680                 ;;
14681             esac
14682
14683             hardcode_libdir_separator_CXX=:
14684
14685             # Commands to make compiler produce verbose output that lists
14686             # what "hidden" libraries, object files and flags are used when
14687             # linking a shared library.
14688             #
14689             # There doesn't appear to be a way to prevent this compiler from
14690             # explicitly linking system object files so we need to strip them
14691             # from the output so that they don't get included in the library
14692             # dependencies.
14693             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14694             ;;
14695           *)
14696             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14697               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14698               case $host in
14699                 osf3*)
14700                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14701                   ;;
14702                 *)
14703                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14704                   ;;
14705               esac
14706
14707               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14708               hardcode_libdir_separator_CXX=:
14709
14710               # Commands to make compiler produce verbose output that lists
14711               # what "hidden" libraries, object files and flags are used when
14712               # linking a shared library.
14713               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14714
14715             else
14716               # FIXME: insert proper C++ library support
14717               ld_shlibs_CXX=no
14718             fi
14719             ;;
14720         esac
14721         ;;
14722
14723       psos*)
14724         # FIXME: insert proper C++ library support
14725         ld_shlibs_CXX=no
14726         ;;
14727
14728       sunos4*)
14729         case $cc_basename in
14730           CC*)
14731             # Sun C++ 4.x
14732             # FIXME: insert proper C++ library support
14733             ld_shlibs_CXX=no
14734             ;;
14735           lcc*)
14736             # Lucid
14737             # FIXME: insert proper C++ library support
14738             ld_shlibs_CXX=no
14739             ;;
14740           *)
14741             # FIXME: insert proper C++ library support
14742             ld_shlibs_CXX=no
14743             ;;
14744         esac
14745         ;;
14746
14747       solaris*)
14748         case $cc_basename in
14749           CC*)
14750             # Sun C++ 4.2, 5.x and Centerline C++
14751             archive_cmds_need_lc_CXX=yes
14752             no_undefined_flag_CXX=' -zdefs'
14753             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14754             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14755               $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14756
14757             hardcode_libdir_flag_spec_CXX='-R$libdir'
14758             hardcode_shlibpath_var_CXX=no
14759             case $host_os in
14760               solaris2.[0-5] | solaris2.[0-5].*) ;;
14761               *)
14762                 # The compiler driver will combine and reorder linker options,
14763                 # but understands `-z linker_flag'.
14764                 # Supported since Solaris 2.6 (maybe 2.5.1?)
14765                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14766                 ;;
14767             esac
14768             link_all_deplibs_CXX=yes
14769
14770             output_verbose_link_cmd='echo'
14771
14772             # Archives containing C++ object files must be created using
14773             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14774             # necessary to make sure instantiated templates are included
14775             # in the archive.
14776             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14777             ;;
14778           gcx*)
14779             # Green Hills C++ Compiler
14780             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14781
14782             # The C++ compiler must be used to create the archive.
14783             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14784             ;;
14785           *)
14786             # GNU C++ compiler with Solaris linker
14787             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14788               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14789               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14790                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14791                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14792                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14793
14794                 # Commands to make compiler produce verbose output that lists
14795                 # what "hidden" libraries, object files and flags are used when
14796                 # linking a shared library.
14797                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14798               else
14799                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14800                 # platform.
14801                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14802                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14803                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14804
14805                 # Commands to make compiler produce verbose output that lists
14806                 # what "hidden" libraries, object files and flags are used when
14807                 # linking a shared library.
14808                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14809               fi
14810
14811               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14812               case $host_os in
14813                 solaris2.[0-5] | solaris2.[0-5].*) ;;
14814                 *)
14815                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14816                   ;;
14817               esac
14818             fi
14819             ;;
14820         esac
14821         ;;
14822
14823     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14824       no_undefined_flag_CXX='${wl}-z,text'
14825       archive_cmds_need_lc_CXX=no
14826       hardcode_shlibpath_var_CXX=no
14827       runpath_var='LD_RUN_PATH'
14828
14829       case $cc_basename in
14830         CC*)
14831           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14832           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14833           ;;
14834         *)
14835           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14836           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14837           ;;
14838       esac
14839       ;;
14840
14841       sysv5* | sco3.2v5* | sco5v6*)
14842         # Note: We can NOT use -z defs as we might desire, because we do not
14843         # link with -lc, and that would cause any symbols used from libc to
14844         # always be unresolved, which means just about no library would
14845         # ever link correctly.  If we're not using GNU ld we use -z text
14846         # though, which does catch some bad symbols but isn't as heavy-handed
14847         # as -z defs.
14848         no_undefined_flag_CXX='${wl}-z,text'
14849         allow_undefined_flag_CXX='${wl}-z,nodefs'
14850         archive_cmds_need_lc_CXX=no
14851         hardcode_shlibpath_var_CXX=no
14852         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14853         hardcode_libdir_separator_CXX=':'
14854         link_all_deplibs_CXX=yes
14855         export_dynamic_flag_spec_CXX='${wl}-Bexport'
14856         runpath_var='LD_RUN_PATH'
14857
14858         case $cc_basename in
14859           CC*)
14860             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14861             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14862             ;;
14863           *)
14864             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14865             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14866             ;;
14867         esac
14868       ;;
14869
14870       tandem*)
14871         case $cc_basename in
14872           NCC*)
14873             # NonStop-UX NCC 3.20
14874             # FIXME: insert proper C++ library support
14875             ld_shlibs_CXX=no
14876             ;;
14877           *)
14878             # FIXME: insert proper C++ library support
14879             ld_shlibs_CXX=no
14880             ;;
14881         esac
14882         ;;
14883
14884       vxworks*)
14885         # FIXME: insert proper C++ library support
14886         ld_shlibs_CXX=no
14887         ;;
14888
14889       *)
14890         # FIXME: insert proper C++ library support
14891         ld_shlibs_CXX=no
14892         ;;
14893     esac
14894
14895     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14896 $as_echo "$ld_shlibs_CXX" >&6; }
14897     test "$ld_shlibs_CXX" = no && can_build_shared=no
14898
14899     GCC_CXX="$GXX"
14900     LD_CXX="$LD"
14901
14902     ## CAVEAT EMPTOR:
14903     ## There is no encapsulation within the following macros, do not change
14904     ## the running order or otherwise move them around unless you know exactly
14905     ## what you are doing...
14906     # Dependencies to place before and after the object being linked:
14907 predep_objects_CXX=
14908 postdep_objects_CXX=
14909 predeps_CXX=
14910 postdeps_CXX=
14911 compiler_lib_search_path_CXX=
14912
14913 cat > conftest.$ac_ext <<_LT_EOF
14914 class Foo
14915 {
14916 public:
14917   Foo (void) { a = 0; }
14918 private:
14919   int a;
14920 };
14921 _LT_EOF
14922
14923 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14924   (eval $ac_compile) 2>&5
14925   ac_status=$?
14926   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14927   test $ac_status = 0; }; then
14928   # Parse the compiler output and extract the necessary
14929   # objects, libraries and library flags.
14930
14931   # Sentinel used to keep track of whether or not we are before
14932   # the conftest object file.
14933   pre_test_object_deps_done=no
14934
14935   for p in `eval "$output_verbose_link_cmd"`; do
14936     case $p in
14937
14938     -L* | -R* | -l*)
14939        # Some compilers place space between "-{L,R}" and the path.
14940        # Remove the space.
14941        if test $p = "-L" ||
14942           test $p = "-R"; then
14943          prev=$p
14944          continue
14945        else
14946          prev=
14947        fi
14948
14949        if test "$pre_test_object_deps_done" = no; then
14950          case $p in
14951          -L* | -R*)
14952            # Internal compiler library paths should come after those
14953            # provided the user.  The postdeps already come after the
14954            # user supplied libs so there is no need to process them.
14955            if test -z "$compiler_lib_search_path_CXX"; then
14956              compiler_lib_search_path_CXX="${prev}${p}"
14957            else
14958              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14959            fi
14960            ;;
14961          # The "-l" case would never come before the object being
14962          # linked, so don't bother handling this case.
14963          esac
14964        else
14965          if test -z "$postdeps_CXX"; then
14966            postdeps_CXX="${prev}${p}"
14967          else
14968            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14969          fi
14970        fi
14971        ;;
14972
14973     *.$objext)
14974        # This assumes that the test object file only shows up
14975        # once in the compiler output.
14976        if test "$p" = "conftest.$objext"; then
14977          pre_test_object_deps_done=yes
14978          continue
14979        fi
14980
14981        if test "$pre_test_object_deps_done" = no; then
14982          if test -z "$predep_objects_CXX"; then
14983            predep_objects_CXX="$p"
14984          else
14985            predep_objects_CXX="$predep_objects_CXX $p"
14986          fi
14987        else
14988          if test -z "$postdep_objects_CXX"; then
14989            postdep_objects_CXX="$p"
14990          else
14991            postdep_objects_CXX="$postdep_objects_CXX $p"
14992          fi
14993        fi
14994        ;;
14995
14996     *) ;; # Ignore the rest.
14997
14998     esac
14999   done
15000
15001   # Clean up.
15002   rm -f a.out a.exe
15003 else
15004   echo "libtool.m4: error: problem compiling CXX test program"
15005 fi
15006
15007 $RM -f confest.$objext
15008
15009 # PORTME: override above test on systems where it is broken
15010 case $host_os in
15011 interix[3-9]*)
15012   # Interix 3.5 installs completely hosed .la files for C++, so rather than
15013   # hack all around it, let's just trust "g++" to DTRT.
15014   predep_objects_CXX=
15015   postdep_objects_CXX=
15016   postdeps_CXX=
15017   ;;
15018
15019 linux*)
15020   case `$CC -V 2>&1 | sed 5q` in
15021   *Sun\ C*)
15022     # Sun C++ 5.9
15023
15024     # The more standards-conforming stlport4 library is
15025     # incompatible with the Cstd library. Avoid specifying
15026     # it if it's in CXXFLAGS. Ignore libCrun as
15027     # -library=stlport4 depends on it.
15028     case " $CXX $CXXFLAGS " in
15029     *" -library=stlport4 "*)
15030       solaris_use_stlport4=yes
15031       ;;
15032     esac
15033
15034     if test "$solaris_use_stlport4" != yes; then
15035       postdeps_CXX='-library=Cstd -library=Crun'
15036     fi
15037     ;;
15038   esac
15039   ;;
15040
15041 solaris*)
15042   case $cc_basename in
15043   CC*)
15044     # The more standards-conforming stlport4 library is
15045     # incompatible with the Cstd library. Avoid specifying
15046     # it if it's in CXXFLAGS. Ignore libCrun as
15047     # -library=stlport4 depends on it.
15048     case " $CXX $CXXFLAGS " in
15049     *" -library=stlport4 "*)
15050       solaris_use_stlport4=yes
15051       ;;
15052     esac
15053
15054     # Adding this requires a known-good setup of shared libraries for
15055     # Sun compiler versions before 5.6, else PIC objects from an old
15056     # archive will be linked into the output, leading to subtle bugs.
15057     if test "$solaris_use_stlport4" != yes; then
15058       postdeps_CXX='-library=Cstd -library=Crun'
15059     fi
15060     ;;
15061   esac
15062   ;;
15063 esac
15064
15065
15066 case " $postdeps_CXX " in
15067 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15068 esac
15069  compiler_lib_search_dirs_CXX=
15070 if test -n "${compiler_lib_search_path_CXX}"; then
15071  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15072 fi
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104     lt_prog_compiler_wl_CXX=
15105 lt_prog_compiler_pic_CXX=
15106 lt_prog_compiler_static_CXX=
15107
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15109 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15110
15111   # C++ specific cases for pic, static, wl, etc.
15112   if test "$GXX" = yes; then
15113     lt_prog_compiler_wl_CXX='-Wl,'
15114     lt_prog_compiler_static_CXX='-static'
15115
15116     case $host_os in
15117     aix*)
15118       # All AIX code is PIC.
15119       if test "$host_cpu" = ia64; then
15120         # AIX 5 now supports IA64 processor
15121         lt_prog_compiler_static_CXX='-Bstatic'
15122       fi
15123       ;;
15124
15125     amigaos*)
15126       case $host_cpu in
15127       powerpc)
15128             # see comment about AmigaOS4 .so support
15129             lt_prog_compiler_pic_CXX='-fPIC'
15130         ;;
15131       m68k)
15132             # FIXME: we need at least 68020 code to build shared libraries, but
15133             # adding the `-m68020' flag to GCC prevents building anything better,
15134             # like `-m68040'.
15135             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15136         ;;
15137       esac
15138       ;;
15139
15140     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15141       # PIC is the default for these OSes.
15142       ;;
15143     mingw* | cygwin* | os2* | pw32* | cegcc*)
15144       # This hack is so that the source file can tell whether it is being
15145       # built for inclusion in a dll (and should export symbols for example).
15146       # Although the cygwin gcc ignores -fPIC, still need this for old-style
15147       # (--disable-auto-import) libraries
15148       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15149       ;;
15150     darwin* | rhapsody*)
15151       # PIC is the default on this platform
15152       # Common symbols not allowed in MH_DYLIB files
15153       lt_prog_compiler_pic_CXX='-fno-common'
15154       ;;
15155     *djgpp*)
15156       # DJGPP does not support shared libraries at all
15157       lt_prog_compiler_pic_CXX=
15158       ;;
15159     interix[3-9]*)
15160       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15161       # Instead, we relocate shared libraries at runtime.
15162       ;;
15163     sysv4*MP*)
15164       if test -d /usr/nec; then
15165         lt_prog_compiler_pic_CXX=-Kconform_pic
15166       fi
15167       ;;
15168     hpux*)
15169       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15170       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
15171       # sets the default TLS model and affects inlining.
15172       case $host_cpu in
15173       hppa*64*)
15174         ;;
15175       *)
15176         lt_prog_compiler_pic_CXX='-fPIC'
15177         ;;
15178       esac
15179       ;;
15180     *qnx* | *nto*)
15181       # QNX uses GNU C++, but need to define -shared option too, otherwise
15182       # it will coredump.
15183       lt_prog_compiler_pic_CXX='-fPIC -shared'
15184       ;;
15185     *)
15186       lt_prog_compiler_pic_CXX='-fPIC'
15187       ;;
15188     esac
15189   else
15190     case $host_os in
15191       aix[4-9]*)
15192         # All AIX code is PIC.
15193         if test "$host_cpu" = ia64; then
15194           # AIX 5 now supports IA64 processor
15195           lt_prog_compiler_static_CXX='-Bstatic'
15196         else
15197           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15198         fi
15199         ;;
15200       chorus*)
15201         case $cc_basename in
15202         cxch68*)
15203           # Green Hills C++ Compiler
15204           # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
15205           ;;
15206         esac
15207         ;;
15208       dgux*)
15209         case $cc_basename in
15210           ec++*)
15211             lt_prog_compiler_pic_CXX='-KPIC'
15212             ;;
15213           ghcx*)
15214             # Green Hills C++ Compiler
15215             lt_prog_compiler_pic_CXX='-pic'
15216             ;;
15217           *)
15218             ;;
15219         esac
15220         ;;
15221       freebsd* | dragonfly*)
15222         # FreeBSD uses GNU C++
15223         ;;
15224       hpux9* | hpux10* | hpux11*)
15225         case $cc_basename in
15226           CC*)
15227             lt_prog_compiler_wl_CXX='-Wl,'
15228             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15229             if test "$host_cpu" != ia64; then
15230               lt_prog_compiler_pic_CXX='+Z'
15231             fi
15232             ;;
15233           aCC*)
15234             lt_prog_compiler_wl_CXX='-Wl,'
15235             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15236             case $host_cpu in
15237             hppa*64*|ia64*)
15238               # +Z the default
15239               ;;
15240             *)
15241               lt_prog_compiler_pic_CXX='+Z'
15242               ;;
15243             esac
15244             ;;
15245           *)
15246             ;;
15247         esac
15248         ;;
15249       interix*)
15250         # This is c89, which is MS Visual C++ (no shared libs)
15251         # Anyone wants to do a port?
15252         ;;
15253       irix5* | irix6* | nonstopux*)
15254         case $cc_basename in
15255           CC*)
15256             lt_prog_compiler_wl_CXX='-Wl,'
15257             lt_prog_compiler_static_CXX='-non_shared'
15258             # CC pic flag -KPIC is the default.
15259             ;;
15260           *)
15261             ;;
15262         esac
15263         ;;
15264       linux* | k*bsd*-gnu | kopensolaris*-gnu)
15265         case $cc_basename in
15266           KCC*)
15267             # KAI C++ Compiler
15268             lt_prog_compiler_wl_CXX='--backend -Wl,'
15269             lt_prog_compiler_pic_CXX='-fPIC'
15270             ;;
15271           ecpc* )
15272             # old Intel C++ for x86_64 which still supported -KPIC.
15273             lt_prog_compiler_wl_CXX='-Wl,'
15274             lt_prog_compiler_pic_CXX='-KPIC'
15275             lt_prog_compiler_static_CXX='-static'
15276             ;;
15277           icpc* )
15278             # Intel C++, used to be incompatible with GCC.
15279             # ICC 10 doesn't accept -KPIC any more.
15280             lt_prog_compiler_wl_CXX='-Wl,'
15281             lt_prog_compiler_pic_CXX='-fPIC'
15282             lt_prog_compiler_static_CXX='-static'
15283             ;;
15284           pgCC* | pgcpp*)
15285             # Portland Group C++ compiler
15286             lt_prog_compiler_wl_CXX='-Wl,'
15287             lt_prog_compiler_pic_CXX='-fpic'
15288             lt_prog_compiler_static_CXX='-Bstatic'
15289             ;;
15290           cxx*)
15291             # Compaq C++
15292             # Make sure the PIC flag is empty.  It appears that all Alpha
15293             # Linux and Compaq Tru64 Unix objects are PIC.
15294             lt_prog_compiler_pic_CXX=
15295             lt_prog_compiler_static_CXX='-non_shared'
15296             ;;
15297           xlc* | xlC*)
15298             # IBM XL 8.0 on PPC
15299             lt_prog_compiler_wl_CXX='-Wl,'
15300             lt_prog_compiler_pic_CXX='-qpic'
15301             lt_prog_compiler_static_CXX='-qstaticlink'
15302             ;;
15303           *)
15304             case `$CC -V 2>&1 | sed 5q` in
15305             *Sun\ C*)
15306               # Sun C++ 5.9
15307               lt_prog_compiler_pic_CXX='-KPIC'
15308               lt_prog_compiler_static_CXX='-Bstatic'
15309               lt_prog_compiler_wl_CXX='-Qoption ld '
15310               ;;
15311             esac
15312             ;;
15313         esac
15314         ;;
15315       lynxos*)
15316         ;;
15317       m88k*)
15318         ;;
15319       mvs*)
15320         case $cc_basename in
15321           cxx*)
15322             lt_prog_compiler_pic_CXX='-W c,exportall'
15323             ;;
15324           *)
15325             ;;
15326         esac
15327         ;;
15328       netbsd* | netbsdelf*-gnu)
15329         ;;
15330       *qnx* | *nto*)
15331         # QNX uses GNU C++, but need to define -shared option too, otherwise
15332         # it will coredump.
15333         lt_prog_compiler_pic_CXX='-fPIC -shared'
15334         ;;
15335       osf3* | osf4* | osf5*)
15336         case $cc_basename in
15337           KCC*)
15338             lt_prog_compiler_wl_CXX='--backend -Wl,'
15339             ;;
15340           RCC*)
15341             # Rational C++ 2.4.1
15342             lt_prog_compiler_pic_CXX='-pic'
15343             ;;
15344           cxx*)
15345             # Digital/Compaq C++
15346             lt_prog_compiler_wl_CXX='-Wl,'
15347             # Make sure the PIC flag is empty.  It appears that all Alpha
15348             # Linux and Compaq Tru64 Unix objects are PIC.
15349             lt_prog_compiler_pic_CXX=
15350             lt_prog_compiler_static_CXX='-non_shared'
15351             ;;
15352           *)
15353             ;;
15354         esac
15355         ;;
15356       psos*)
15357         ;;
15358       solaris*)
15359         case $cc_basename in
15360           CC*)
15361             # Sun C++ 4.2, 5.x and Centerline C++
15362             lt_prog_compiler_pic_CXX='-KPIC'
15363             lt_prog_compiler_static_CXX='-Bstatic'
15364             lt_prog_compiler_wl_CXX='-Qoption ld '
15365             ;;
15366           gcx*)
15367             # Green Hills C++ Compiler
15368             lt_prog_compiler_pic_CXX='-PIC'
15369             ;;
15370           *)
15371             ;;
15372         esac
15373         ;;
15374       sunos4*)
15375         case $cc_basename in
15376           CC*)
15377             # Sun C++ 4.x
15378             lt_prog_compiler_pic_CXX='-pic'
15379             lt_prog_compiler_static_CXX='-Bstatic'
15380             ;;
15381           lcc*)
15382             # Lucid
15383             lt_prog_compiler_pic_CXX='-pic'
15384             ;;
15385           *)
15386             ;;
15387         esac
15388         ;;
15389       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15390         case $cc_basename in
15391           CC*)
15392             lt_prog_compiler_wl_CXX='-Wl,'
15393             lt_prog_compiler_pic_CXX='-KPIC'
15394             lt_prog_compiler_static_CXX='-Bstatic'
15395             ;;
15396         esac
15397         ;;
15398       tandem*)
15399         case $cc_basename in
15400           NCC*)
15401             # NonStop-UX NCC 3.20
15402             lt_prog_compiler_pic_CXX='-KPIC'
15403             ;;
15404           *)
15405             ;;
15406         esac
15407         ;;
15408       vxworks*)
15409         ;;
15410       *)
15411         lt_prog_compiler_can_build_shared_CXX=no
15412         ;;
15413     esac
15414   fi
15415
15416 case $host_os in
15417   # For platforms which do not support PIC, -DPIC is meaningless:
15418   *djgpp*)
15419     lt_prog_compiler_pic_CXX=
15420     ;;
15421   *)
15422     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15423     ;;
15424 esac
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
15426 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
15427
15428
15429
15430 #
15431 # Check to make sure the PIC flag actually works.
15432 #
15433 if test -n "$lt_prog_compiler_pic_CXX"; then
15434   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15435 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15436 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
15437   $as_echo_n "(cached) " >&6
15438 else
15439   lt_cv_prog_compiler_pic_works_CXX=no
15440    ac_outfile=conftest.$ac_objext
15441    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15442    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15443    # Insert the option either (1) after the last *FLAGS variable, or
15444    # (2) before a word containing "conftest.", or (3) at the end.
15445    # Note that $ac_compile itself does not contain backslashes and begins
15446    # with a dollar sign (not a hyphen), so the echo should work correctly.
15447    # The option is referenced via a variable to avoid confusing sed.
15448    lt_compile=`echo "$ac_compile" | $SED \
15449    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15450    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15451    -e 's:$: $lt_compiler_flag:'`
15452    (eval echo "\"\$as_me:15452: $lt_compile\"" >&5)
15453    (eval "$lt_compile" 2>conftest.err)
15454    ac_status=$?
15455    cat conftest.err >&5
15456    echo "$as_me:15456: \$? = $ac_status" >&5
15457    if (exit $ac_status) && test -s "$ac_outfile"; then
15458      # The compiler can only warn and ignore the option if not recognized
15459      # So say no if there are warnings other than the usual output.
15460      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15461      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15462      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15463        lt_cv_prog_compiler_pic_works_CXX=yes
15464      fi
15465    fi
15466    $RM conftest*
15467
15468 fi
15469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15470 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15471
15472 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
15473     case $lt_prog_compiler_pic_CXX in
15474      "" | " "*) ;;
15475      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15476      esac
15477 else
15478     lt_prog_compiler_pic_CXX=
15479      lt_prog_compiler_can_build_shared_CXX=no
15480 fi
15481
15482 fi
15483
15484
15485
15486 #
15487 # Check to make sure the static flag actually works.
15488 #
15489 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15491 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15492 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
15493   $as_echo_n "(cached) " >&6
15494 else
15495   lt_cv_prog_compiler_static_works_CXX=no
15496    save_LDFLAGS="$LDFLAGS"
15497    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15498    echo "$lt_simple_link_test_code" > conftest.$ac_ext
15499    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15500      # The linker can only warn and ignore the option if not recognized
15501      # So say no if there are warnings
15502      if test -s conftest.err; then
15503        # Append any errors to the config.log.
15504        cat conftest.err 1>&5
15505        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15506        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15507        if diff conftest.exp conftest.er2 >/dev/null; then
15508          lt_cv_prog_compiler_static_works_CXX=yes
15509        fi
15510      else
15511        lt_cv_prog_compiler_static_works_CXX=yes
15512      fi
15513    fi
15514    $RM -r conftest*
15515    LDFLAGS="$save_LDFLAGS"
15516
15517 fi
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15519 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15520
15521 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
15522     :
15523 else
15524     lt_prog_compiler_static_CXX=
15525 fi
15526
15527
15528
15529
15530     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15531 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15532 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15533   $as_echo_n "(cached) " >&6
15534 else
15535   lt_cv_prog_compiler_c_o_CXX=no
15536    $RM -r conftest 2>/dev/null
15537    mkdir conftest
15538    cd conftest
15539    mkdir out
15540    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15541
15542    lt_compiler_flag="-o out/conftest2.$ac_objext"
15543    # Insert the option either (1) after the last *FLAGS variable, or
15544    # (2) before a word containing "conftest.", or (3) at the end.
15545    # Note that $ac_compile itself does not contain backslashes and begins
15546    # with a dollar sign (not a hyphen), so the echo should work correctly.
15547    lt_compile=`echo "$ac_compile" | $SED \
15548    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15549    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15550    -e 's:$: $lt_compiler_flag:'`
15551    (eval echo "\"\$as_me:15551: $lt_compile\"" >&5)
15552    (eval "$lt_compile" 2>out/conftest.err)
15553    ac_status=$?
15554    cat out/conftest.err >&5
15555    echo "$as_me:15555: \$? = $ac_status" >&5
15556    if (exit $ac_status) && test -s out/conftest2.$ac_objext
15557    then
15558      # The compiler can only warn and ignore the option if not recognized
15559      # So say no if there are warnings
15560      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15561      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15562      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15563        lt_cv_prog_compiler_c_o_CXX=yes
15564      fi
15565    fi
15566    chmod u+w . 2>&5
15567    $RM conftest*
15568    # SGI C++ compiler will create directory out/ii_files/ for
15569    # template instantiation
15570    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15571    $RM out/* && rmdir out
15572    cd ..
15573    $RM -r conftest
15574    $RM conftest*
15575
15576 fi
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15578 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15579
15580
15581
15582     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15583 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15584 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15585   $as_echo_n "(cached) " >&6
15586 else
15587   lt_cv_prog_compiler_c_o_CXX=no
15588    $RM -r conftest 2>/dev/null
15589    mkdir conftest
15590    cd conftest
15591    mkdir out
15592    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15593
15594    lt_compiler_flag="-o out/conftest2.$ac_objext"
15595    # Insert the option either (1) after the last *FLAGS variable, or
15596    # (2) before a word containing "conftest.", or (3) at the end.
15597    # Note that $ac_compile itself does not contain backslashes and begins
15598    # with a dollar sign (not a hyphen), so the echo should work correctly.
15599    lt_compile=`echo "$ac_compile" | $SED \
15600    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15601    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15602    -e 's:$: $lt_compiler_flag:'`
15603    (eval echo "\"\$as_me:15603: $lt_compile\"" >&5)
15604    (eval "$lt_compile" 2>out/conftest.err)
15605    ac_status=$?
15606    cat out/conftest.err >&5
15607    echo "$as_me:15607: \$? = $ac_status" >&5
15608    if (exit $ac_status) && test -s out/conftest2.$ac_objext
15609    then
15610      # The compiler can only warn and ignore the option if not recognized
15611      # So say no if there are warnings
15612      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15613      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15614      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15615        lt_cv_prog_compiler_c_o_CXX=yes
15616      fi
15617    fi
15618    chmod u+w . 2>&5
15619    $RM conftest*
15620    # SGI C++ compiler will create directory out/ii_files/ for
15621    # template instantiation
15622    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15623    $RM out/* && rmdir out
15624    cd ..
15625    $RM -r conftest
15626    $RM conftest*
15627
15628 fi
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15630 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15631
15632
15633
15634
15635 hard_links="nottested"
15636 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15637   # do not overwrite the value of need_locks provided by the user
15638   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15639 $as_echo_n "checking if we can lock with hard links... " >&6; }
15640   hard_links=yes
15641   $RM conftest*
15642   ln conftest.a conftest.b 2>/dev/null && hard_links=no
15643   touch conftest.a
15644   ln conftest.a conftest.b 2>&5 || hard_links=no
15645   ln conftest.a conftest.b 2>/dev/null && hard_links=no
15646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15647 $as_echo "$hard_links" >&6; }
15648   if test "$hard_links" = no; then
15649     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15650 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15651     need_locks=warn
15652   fi
15653 else
15654   need_locks=no
15655 fi
15656
15657
15658
15659     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15660 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15661
15662   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15663   case $host_os in
15664   aix[4-9]*)
15665     # If we're using GNU nm, then we don't want the "-C" option.
15666     # -C means demangle to AIX nm, but means don't demangle with GNU nm
15667     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15668       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15669     else
15670       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15671     fi
15672     ;;
15673   pw32*)
15674     export_symbols_cmds_CXX="$ltdll_cmds"
15675   ;;
15676   cygwin* | mingw* | cegcc*)
15677     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15678   ;;
15679   linux* | k*bsd*-gnu)
15680     link_all_deplibs_CXX=no
15681   ;;
15682   *)
15683     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15684   ;;
15685   esac
15686   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15687
15688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15689 $as_echo "$ld_shlibs_CXX" >&6; }
15690 test "$ld_shlibs_CXX" = no && can_build_shared=no
15691
15692 with_gnu_ld_CXX=$with_gnu_ld
15693
15694
15695
15696
15697
15698
15699 #
15700 # Do we need to explicitly link libc?
15701 #
15702 case "x$archive_cmds_need_lc_CXX" in
15703 x|xyes)
15704   # Assume -lc should be added
15705   archive_cmds_need_lc_CXX=yes
15706
15707   if test "$enable_shared" = yes && test "$GCC" = yes; then
15708     case $archive_cmds_CXX in
15709     *'~'*)
15710       # FIXME: we may have to deal with multi-command sequences.
15711       ;;
15712     '$CC '*)
15713       # Test whether the compiler implicitly links with -lc since on some
15714       # systems, -lgcc has to come before -lc. If gcc already passes -lc
15715       # to ld, don't add -lc before -lgcc.
15716       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15717 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15718       $RM conftest*
15719       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15720
15721       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15722   (eval $ac_compile) 2>&5
15723   ac_status=$?
15724   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15725   test $ac_status = 0; } 2>conftest.err; then
15726         soname=conftest
15727         lib=conftest
15728         libobjs=conftest.$ac_objext
15729         deplibs=
15730         wl=$lt_prog_compiler_wl_CXX
15731         pic_flag=$lt_prog_compiler_pic_CXX
15732         compiler_flags=-v
15733         linker_flags=-v
15734         verstring=
15735         output_objdir=.
15736         libname=conftest
15737         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15738         allow_undefined_flag_CXX=
15739         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15740   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15741   ac_status=$?
15742   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15743   test $ac_status = 0; }
15744         then
15745           archive_cmds_need_lc_CXX=no
15746         else
15747           archive_cmds_need_lc_CXX=yes
15748         fi
15749         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15750       else
15751         cat conftest.err 1>&5
15752       fi
15753       $RM conftest*
15754       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
15755 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
15756       ;;
15757     esac
15758   fi
15759   ;;
15760 esac
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
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15826 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15827
15828 library_names_spec=
15829 libname_spec='lib$name'
15830 soname_spec=
15831 shrext_cmds=".so"
15832 postinstall_cmds=
15833 postuninstall_cmds=
15834 finish_cmds=
15835 finish_eval=
15836 shlibpath_var=
15837 shlibpath_overrides_runpath=unknown
15838 version_type=none
15839 dynamic_linker="$host_os ld.so"
15840 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15841 need_lib_prefix=unknown
15842 hardcode_into_libs=no
15843
15844 # when you set need_version to no, make sure it does not cause -set_version
15845 # flags to be left without arguments
15846 need_version=unknown
15847
15848 case $host_os in
15849 aix3*)
15850   version_type=linux
15851   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15852   shlibpath_var=LIBPATH
15853
15854   # AIX 3 has no versioning support, so we append a major version to the name.
15855   soname_spec='${libname}${release}${shared_ext}$major'
15856   ;;
15857
15858 aix[4-9]*)
15859   version_type=linux
15860   need_lib_prefix=no
15861   need_version=no
15862   hardcode_into_libs=yes
15863   if test "$host_cpu" = ia64; then
15864     # AIX 5 supports IA64
15865     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15866     shlibpath_var=LD_LIBRARY_PATH
15867   else
15868     # With GCC up to 2.95.x, collect2 would create an import file
15869     # for dependence libraries.  The import file would start with
15870     # the line `#! .'.  This would cause the generated library to
15871     # depend on `.', always an invalid library.  This was fixed in
15872     # development snapshots of GCC prior to 3.0.
15873     case $host_os in
15874       aix4 | aix4.[01] | aix4.[01].*)
15875       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15876            echo ' yes '
15877            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15878         :
15879       else
15880         can_build_shared=no
15881       fi
15882       ;;
15883     esac
15884     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15885     # soname into executable. Probably we can add versioning support to
15886     # collect2, so additional links can be useful in future.
15887     if test "$aix_use_runtimelinking" = yes; then
15888       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15889       # instead of lib<name>.a to let people know that these are not
15890       # typical AIX shared libraries.
15891       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15892     else
15893       # We preserve .a as extension for shared libraries through AIX4.2
15894       # and later when we are not doing run time linking.
15895       library_names_spec='${libname}${release}.a $libname.a'
15896       soname_spec='${libname}${release}${shared_ext}$major'
15897     fi
15898     shlibpath_var=LIBPATH
15899   fi
15900   ;;
15901
15902 amigaos*)
15903   case $host_cpu in
15904   powerpc)
15905     # Since July 2007 AmigaOS4 officially supports .so libraries.
15906     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15907     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15908     ;;
15909   m68k)
15910     library_names_spec='$libname.ixlibrary $libname.a'
15911     # Create ${libname}_ixlibrary.a entries in /sys/libs.
15912     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15913     ;;
15914   esac
15915   ;;
15916
15917 beos*)
15918   library_names_spec='${libname}${shared_ext}'
15919   dynamic_linker="$host_os ld.so"
15920   shlibpath_var=LIBRARY_PATH
15921   ;;
15922
15923 bsdi[45]*)
15924   version_type=linux
15925   need_version=no
15926   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15927   soname_spec='${libname}${release}${shared_ext}$major'
15928   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15929   shlibpath_var=LD_LIBRARY_PATH
15930   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15931   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15932   # the default ld.so.conf also contains /usr/contrib/lib and
15933   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15934   # libtool to hard-code these into programs
15935   ;;
15936
15937 cygwin* | mingw* | pw32* | cegcc*)
15938   version_type=windows
15939   shrext_cmds=".dll"
15940   need_version=no
15941   need_lib_prefix=no
15942
15943   case $GCC,$host_os in
15944   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15945     library_names_spec='$libname.dll.a'
15946     # DLL is installed to $(libdir)/../bin by postinstall_cmds
15947     postinstall_cmds='base_file=`basename \${file}`~
15948       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15949       dldir=$destdir/`dirname \$dlpath`~
15950       test -d \$dldir || mkdir -p \$dldir~
15951       $install_prog $dir/$dlname \$dldir/$dlname~
15952       chmod a+x \$dldir/$dlname~
15953       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15954         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15955       fi'
15956     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15957       dlpath=$dir/\$dldll~
15958        $RM \$dlpath'
15959     shlibpath_overrides_runpath=yes
15960
15961     case $host_os in
15962     cygwin*)
15963       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15964       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15965       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15966       ;;
15967     mingw* | cegcc*)
15968       # MinGW DLLs use traditional 'lib' prefix
15969       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15970       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15971       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15972         # It is most probably a Windows format PATH printed by
15973         # mingw gcc, but we are running on Cygwin. Gcc prints its search
15974         # path with ; separators, and with drive letters. We can handle the
15975         # drive letters (cygwin fileutils understands them), so leave them,
15976         # especially as we might pass files found there to a mingw objdump,
15977         # which wouldn't understand a cygwinified path. Ahh.
15978         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15979       else
15980         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15981       fi
15982       ;;
15983     pw32*)
15984       # pw32 DLLs use 'pw' prefix rather than 'lib'
15985       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15986       ;;
15987     esac
15988     ;;
15989
15990   *)
15991     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15992     ;;
15993   esac
15994   dynamic_linker='Win32 ld.exe'
15995   # FIXME: first we should search . and the directory the executable is in
15996   shlibpath_var=PATH
15997   ;;
15998
15999 darwin* | rhapsody*)
16000   dynamic_linker="$host_os dyld"
16001   version_type=darwin
16002   need_lib_prefix=no
16003   need_version=no
16004   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16005   soname_spec='${libname}${release}${major}$shared_ext'
16006   shlibpath_overrides_runpath=yes
16007   shlibpath_var=DYLD_LIBRARY_PATH
16008   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16009
16010   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16011   ;;
16012
16013 dgux*)
16014   version_type=linux
16015   need_lib_prefix=no
16016   need_version=no
16017   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16018   soname_spec='${libname}${release}${shared_ext}$major'
16019   shlibpath_var=LD_LIBRARY_PATH
16020   ;;
16021
16022 freebsd1*)
16023   dynamic_linker=no
16024   ;;
16025
16026 freebsd* | dragonfly*)
16027   # DragonFly does not have aout.  When/if they implement a new
16028   # versioning mechanism, adjust this.
16029   if test -x /usr/bin/objformat; then
16030     objformat=`/usr/bin/objformat`
16031   else
16032     case $host_os in
16033     freebsd[123]*) objformat=aout ;;
16034     *) objformat=elf ;;
16035     esac
16036   fi
16037   version_type=freebsd-$objformat
16038   case $version_type in
16039     freebsd-elf*)
16040       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16041       need_version=no
16042       need_lib_prefix=no
16043       ;;
16044     freebsd-*)
16045       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16046       need_version=yes
16047       ;;
16048   esac
16049   shlibpath_var=LD_LIBRARY_PATH
16050   case $host_os in
16051   freebsd2*)
16052     shlibpath_overrides_runpath=yes
16053     ;;
16054   freebsd3.[01]* | freebsdelf3.[01]*)
16055     shlibpath_overrides_runpath=yes
16056     hardcode_into_libs=yes
16057     ;;
16058   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16059   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16060     shlibpath_overrides_runpath=no
16061     hardcode_into_libs=yes
16062     ;;
16063   *) # from 4.6 on, and DragonFly
16064     shlibpath_overrides_runpath=yes
16065     hardcode_into_libs=yes
16066     ;;
16067   esac
16068   ;;
16069
16070 gnu*)
16071   version_type=linux
16072   need_lib_prefix=no
16073   need_version=no
16074   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16075   soname_spec='${libname}${release}${shared_ext}$major'
16076   shlibpath_var=LD_LIBRARY_PATH
16077   hardcode_into_libs=yes
16078   ;;
16079
16080 hpux9* | hpux10* | hpux11*)
16081   # Give a soname corresponding to the major version so that dld.sl refuses to
16082   # link against other versions.
16083   version_type=sunos
16084   need_lib_prefix=no
16085   need_version=no
16086   case $host_cpu in
16087   ia64*)
16088     shrext_cmds='.so'
16089     hardcode_into_libs=yes
16090     dynamic_linker="$host_os dld.so"
16091     shlibpath_var=LD_LIBRARY_PATH
16092     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16093     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16094     soname_spec='${libname}${release}${shared_ext}$major'
16095     if test "X$HPUX_IA64_MODE" = X32; then
16096       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16097     else
16098       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16099     fi
16100     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16101     ;;
16102   hppa*64*)
16103     shrext_cmds='.sl'
16104     hardcode_into_libs=yes
16105     dynamic_linker="$host_os dld.sl"
16106     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16107     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16108     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16109     soname_spec='${libname}${release}${shared_ext}$major'
16110     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16111     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16112     ;;
16113   *)
16114     shrext_cmds='.sl'
16115     dynamic_linker="$host_os dld.sl"
16116     shlibpath_var=SHLIB_PATH
16117     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16118     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16119     soname_spec='${libname}${release}${shared_ext}$major'
16120     ;;
16121   esac
16122   # HP-UX runs *really* slowly unless shared libraries are mode 555.
16123   postinstall_cmds='chmod 555 $lib'
16124   ;;
16125
16126 interix[3-9]*)
16127   version_type=linux
16128   need_lib_prefix=no
16129   need_version=no
16130   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16131   soname_spec='${libname}${release}${shared_ext}$major'
16132   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16133   shlibpath_var=LD_LIBRARY_PATH
16134   shlibpath_overrides_runpath=no
16135   hardcode_into_libs=yes
16136   ;;
16137
16138 irix5* | irix6* | nonstopux*)
16139   case $host_os in
16140     nonstopux*) version_type=nonstopux ;;
16141     *)
16142         if test "$lt_cv_prog_gnu_ld" = yes; then
16143                 version_type=linux
16144         else
16145                 version_type=irix
16146         fi ;;
16147   esac
16148   need_lib_prefix=no
16149   need_version=no
16150   soname_spec='${libname}${release}${shared_ext}$major'
16151   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16152   case $host_os in
16153   irix5* | nonstopux*)
16154     libsuff= shlibsuff=
16155     ;;
16156   *)
16157     case $LD in # libtool.m4 will add one of these switches to LD
16158     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16159       libsuff= shlibsuff= libmagic=32-bit;;
16160     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16161       libsuff=32 shlibsuff=N32 libmagic=N32;;
16162     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16163       libsuff=64 shlibsuff=64 libmagic=64-bit;;
16164     *) libsuff= shlibsuff= libmagic=never-match;;
16165     esac
16166     ;;
16167   esac
16168   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16169   shlibpath_overrides_runpath=no
16170   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16171   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16172   hardcode_into_libs=yes
16173   ;;
16174
16175 # No shared lib support for Linux oldld, aout, or coff.
16176 linux*oldld* | linux*aout* | linux*coff*)
16177   dynamic_linker=no
16178   ;;
16179
16180 # This must be Linux ELF.
16181 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16182   version_type=linux
16183   need_lib_prefix=no
16184   need_version=no
16185   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16186   soname_spec='${libname}${release}${shared_ext}$major'
16187   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16188   shlibpath_var=LD_LIBRARY_PATH
16189   shlibpath_overrides_runpath=no
16190   # Some binutils ld are patched to set DT_RUNPATH
16191   save_LDFLAGS=$LDFLAGS
16192   save_libdir=$libdir
16193   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16194        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16196 /* end confdefs.h.  */
16197
16198 int
16199 main ()
16200 {
16201
16202   ;
16203   return 0;
16204 }
16205 _ACEOF
16206 if ac_fn_cxx_try_link "$LINENO"; then :
16207   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16208   shlibpath_overrides_runpath=yes
16209 fi
16210 fi
16211 rm -f core conftest.err conftest.$ac_objext \
16212     conftest$ac_exeext conftest.$ac_ext
16213   LDFLAGS=$save_LDFLAGS
16214   libdir=$save_libdir
16215
16216   # This implies no fast_install, which is unacceptable.
16217   # Some rework will be needed to allow for fast_install
16218   # before this can be enabled.
16219   hardcode_into_libs=yes
16220
16221   # Append ld.so.conf contents to the search path
16222   if test -f /etc/ld.so.conf; then
16223     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16224     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16225   fi
16226
16227   # We used to test for /lib/ld.so.1 and disable shared libraries on
16228   # powerpc, because MkLinux only supported shared libraries with the
16229   # GNU dynamic linker.  Since this was broken with cross compilers,
16230   # most powerpc-linux boxes support dynamic linking these days and
16231   # people can always --disable-shared, the test was removed, and we
16232   # assume the GNU/Linux dynamic linker is in use.
16233   dynamic_linker='GNU/Linux ld.so'
16234   ;;
16235
16236 netbsdelf*-gnu)
16237   version_type=linux
16238   need_lib_prefix=no
16239   need_version=no
16240   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16241   soname_spec='${libname}${release}${shared_ext}$major'
16242   shlibpath_var=LD_LIBRARY_PATH
16243   shlibpath_overrides_runpath=no
16244   hardcode_into_libs=yes
16245   dynamic_linker='NetBSD ld.elf_so'
16246   ;;
16247
16248 netbsd*)
16249   version_type=sunos
16250   need_lib_prefix=no
16251   need_version=no
16252   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16253     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16254     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16255     dynamic_linker='NetBSD (a.out) ld.so'
16256   else
16257     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16258     soname_spec='${libname}${release}${shared_ext}$major'
16259     dynamic_linker='NetBSD ld.elf_so'
16260   fi
16261   shlibpath_var=LD_LIBRARY_PATH
16262   shlibpath_overrides_runpath=yes
16263   hardcode_into_libs=yes
16264   ;;
16265
16266 newsos6)
16267   version_type=linux
16268   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16269   shlibpath_var=LD_LIBRARY_PATH
16270   shlibpath_overrides_runpath=yes
16271   ;;
16272
16273 *nto* | *qnx*)
16274   version_type=qnx
16275   need_lib_prefix=no
16276   need_version=no
16277   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16278   soname_spec='${libname}${release}${shared_ext}$major'
16279   shlibpath_var=LD_LIBRARY_PATH
16280   shlibpath_overrides_runpath=no
16281   hardcode_into_libs=yes
16282   dynamic_linker='ldqnx.so'
16283   ;;
16284
16285 openbsd*)
16286   version_type=sunos
16287   sys_lib_dlsearch_path_spec="/usr/lib"
16288   need_lib_prefix=no
16289   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16290   case $host_os in
16291     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
16292     *)                          need_version=no  ;;
16293   esac
16294   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16295   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16296   shlibpath_var=LD_LIBRARY_PATH
16297   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16298     case $host_os in
16299       openbsd2.[89] | openbsd2.[89].*)
16300         shlibpath_overrides_runpath=no
16301         ;;
16302       *)
16303         shlibpath_overrides_runpath=yes
16304         ;;
16305       esac
16306   else
16307     shlibpath_overrides_runpath=yes
16308   fi
16309   ;;
16310
16311 os2*)
16312   libname_spec='$name'
16313   shrext_cmds=".dll"
16314   need_lib_prefix=no
16315   library_names_spec='$libname${shared_ext} $libname.a'
16316   dynamic_linker='OS/2 ld.exe'
16317   shlibpath_var=LIBPATH
16318   ;;
16319
16320 osf3* | osf4* | osf5*)
16321   version_type=osf
16322   need_lib_prefix=no
16323   need_version=no
16324   soname_spec='${libname}${release}${shared_ext}$major'
16325   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16326   shlibpath_var=LD_LIBRARY_PATH
16327   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16328   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16329   ;;
16330
16331 rdos*)
16332   dynamic_linker=no
16333   ;;
16334
16335 solaris*)
16336   version_type=linux
16337   need_lib_prefix=no
16338   need_version=no
16339   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16340   soname_spec='${libname}${release}${shared_ext}$major'
16341   shlibpath_var=LD_LIBRARY_PATH
16342   shlibpath_overrides_runpath=yes
16343   hardcode_into_libs=yes
16344   # ldd complains unless libraries are executable
16345   postinstall_cmds='chmod +x $lib'
16346   ;;
16347
16348 sunos4*)
16349   version_type=sunos
16350   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16351   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16352   shlibpath_var=LD_LIBRARY_PATH
16353   shlibpath_overrides_runpath=yes
16354   if test "$with_gnu_ld" = yes; then
16355     need_lib_prefix=no
16356   fi
16357   need_version=yes
16358   ;;
16359
16360 sysv4 | sysv4.3*)
16361   version_type=linux
16362   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16363   soname_spec='${libname}${release}${shared_ext}$major'
16364   shlibpath_var=LD_LIBRARY_PATH
16365   case $host_vendor in
16366     sni)
16367       shlibpath_overrides_runpath=no
16368       need_lib_prefix=no
16369       runpath_var=LD_RUN_PATH
16370       ;;
16371     siemens)
16372       need_lib_prefix=no
16373       ;;
16374     motorola)
16375       need_lib_prefix=no
16376       need_version=no
16377       shlibpath_overrides_runpath=no
16378       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16379       ;;
16380   esac
16381   ;;
16382
16383 sysv4*MP*)
16384   if test -d /usr/nec ;then
16385     version_type=linux
16386     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16387     soname_spec='$libname${shared_ext}.$major'
16388     shlibpath_var=LD_LIBRARY_PATH
16389   fi
16390   ;;
16391
16392 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16393   version_type=freebsd-elf
16394   need_lib_prefix=no
16395   need_version=no
16396   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16397   soname_spec='${libname}${release}${shared_ext}$major'
16398   shlibpath_var=LD_LIBRARY_PATH
16399   shlibpath_overrides_runpath=yes
16400   hardcode_into_libs=yes
16401   if test "$with_gnu_ld" = yes; then
16402     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16403   else
16404     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16405     case $host_os in
16406       sco3.2v5*)
16407         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16408         ;;
16409     esac
16410   fi
16411   sys_lib_dlsearch_path_spec='/usr/lib'
16412   ;;
16413
16414 tpf*)
16415   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
16416   version_type=linux
16417   need_lib_prefix=no
16418   need_version=no
16419   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16420   shlibpath_var=LD_LIBRARY_PATH
16421   shlibpath_overrides_runpath=no
16422   hardcode_into_libs=yes
16423   ;;
16424
16425 uts4*)
16426   version_type=linux
16427   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16428   soname_spec='${libname}${release}${shared_ext}$major'
16429   shlibpath_var=LD_LIBRARY_PATH
16430   ;;
16431
16432 *)
16433   dynamic_linker=no
16434   ;;
16435 esac
16436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16437 $as_echo "$dynamic_linker" >&6; }
16438 test "$dynamic_linker" = no && can_build_shared=no
16439
16440 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16441 if test "$GCC" = yes; then
16442   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16443 fi
16444
16445 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16446   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16447 fi
16448 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16449   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16450 fi
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16488 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16489 hardcode_action_CXX=
16490 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16491    test -n "$runpath_var_CXX" ||
16492    test "X$hardcode_automatic_CXX" = "Xyes" ; then
16493
16494   # We can hardcode non-existent directories.
16495   if test "$hardcode_direct_CXX" != no &&
16496      # If the only mechanism to avoid hardcoding is shlibpath_var, we
16497      # have to relink, otherwise we might link with an installed library
16498      # when we should be linking with a yet-to-be-installed one
16499      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16500      test "$hardcode_minus_L_CXX" != no; then
16501     # Linking always hardcodes the temporary library directory.
16502     hardcode_action_CXX=relink
16503   else
16504     # We can link without hardcoding, and we can hardcode nonexisting dirs.
16505     hardcode_action_CXX=immediate
16506   fi
16507 else
16508   # We cannot hardcode anything, or else we can only hardcode existing
16509   # directories.
16510   hardcode_action_CXX=unsupported
16511 fi
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16513 $as_echo "$hardcode_action_CXX" >&6; }
16514
16515 if test "$hardcode_action_CXX" = relink ||
16516    test "$inherit_rpath_CXX" = yes; then
16517   # Fast installation is not supported
16518   enable_fast_install=no
16519 elif test "$shlibpath_overrides_runpath" = yes ||
16520      test "$enable_shared" = no; then
16521   # Fast installation is not necessary
16522   enable_fast_install=needless
16523 fi
16524
16525
16526
16527
16528
16529
16530
16531   fi # test -n "$compiler"
16532
16533   CC=$lt_save_CC
16534   LDCXX=$LD
16535   LD=$lt_save_LD
16536   GCC=$lt_save_GCC
16537   with_gnu_ld=$lt_save_with_gnu_ld
16538   lt_cv_path_LDCXX=$lt_cv_path_LD
16539   lt_cv_path_LD=$lt_save_path_LD
16540   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16541   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16542 fi # test "$_lt_caught_CXX_error" != yes
16543
16544 ac_ext=c
16545 ac_cpp='$CPP $CPPFLAGS'
16546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16549
16550
16551 ac_ext=c
16552 ac_cpp='$CPP $CPPFLAGS'
16553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16556 if test -n "$ac_tool_prefix"; then
16557   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16558 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16560 $as_echo_n "checking for $ac_word... " >&6; }
16561 if test "${ac_cv_prog_CC+set}" = set; then :
16562   $as_echo_n "(cached) " >&6
16563 else
16564   if test -n "$CC"; then
16565   ac_cv_prog_CC="$CC" # Let the user override the test.
16566 else
16567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16568 for as_dir in $PATH
16569 do
16570   IFS=$as_save_IFS
16571   test -z "$as_dir" && as_dir=.
16572     for ac_exec_ext in '' $ac_executable_extensions; do
16573   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16574     ac_cv_prog_CC="${ac_tool_prefix}gcc"
16575     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16576     break 2
16577   fi
16578 done
16579   done
16580 IFS=$as_save_IFS
16581
16582 fi
16583 fi
16584 CC=$ac_cv_prog_CC
16585 if test -n "$CC"; then
16586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16587 $as_echo "$CC" >&6; }
16588 else
16589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16590 $as_echo "no" >&6; }
16591 fi
16592
16593
16594 fi
16595 if test -z "$ac_cv_prog_CC"; then
16596   ac_ct_CC=$CC
16597   # Extract the first word of "gcc", so it can be a program name with args.
16598 set dummy gcc; ac_word=$2
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16600 $as_echo_n "checking for $ac_word... " >&6; }
16601 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
16602   $as_echo_n "(cached) " >&6
16603 else
16604   if test -n "$ac_ct_CC"; then
16605   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16606 else
16607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16608 for as_dir in $PATH
16609 do
16610   IFS=$as_save_IFS
16611   test -z "$as_dir" && as_dir=.
16612     for ac_exec_ext in '' $ac_executable_extensions; do
16613   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16614     ac_cv_prog_ac_ct_CC="gcc"
16615     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16616     break 2
16617   fi
16618 done
16619   done
16620 IFS=$as_save_IFS
16621
16622 fi
16623 fi
16624 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16625 if test -n "$ac_ct_CC"; then
16626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16627 $as_echo "$ac_ct_CC" >&6; }
16628 else
16629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16630 $as_echo "no" >&6; }
16631 fi
16632
16633   if test "x$ac_ct_CC" = x; then
16634     CC=""
16635   else
16636     case $cross_compiling:$ac_tool_warned in
16637 yes:)
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16640 ac_tool_warned=yes ;;
16641 esac
16642     CC=$ac_ct_CC
16643   fi
16644 else
16645   CC="$ac_cv_prog_CC"
16646 fi
16647
16648 if test -z "$CC"; then
16649           if test -n "$ac_tool_prefix"; then
16650     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16651 set dummy ${ac_tool_prefix}cc; ac_word=$2
16652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16653 $as_echo_n "checking for $ac_word... " >&6; }
16654 if test "${ac_cv_prog_CC+set}" = set; then :
16655   $as_echo_n "(cached) " >&6
16656 else
16657   if test -n "$CC"; then
16658   ac_cv_prog_CC="$CC" # Let the user override the test.
16659 else
16660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16661 for as_dir in $PATH
16662 do
16663   IFS=$as_save_IFS
16664   test -z "$as_dir" && as_dir=.
16665     for ac_exec_ext in '' $ac_executable_extensions; do
16666   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16667     ac_cv_prog_CC="${ac_tool_prefix}cc"
16668     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16669     break 2
16670   fi
16671 done
16672   done
16673 IFS=$as_save_IFS
16674
16675 fi
16676 fi
16677 CC=$ac_cv_prog_CC
16678 if test -n "$CC"; then
16679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16680 $as_echo "$CC" >&6; }
16681 else
16682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16683 $as_echo "no" >&6; }
16684 fi
16685
16686
16687   fi
16688 fi
16689 if test -z "$CC"; then
16690   # Extract the first word of "cc", so it can be a program name with args.
16691 set dummy cc; ac_word=$2
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16693 $as_echo_n "checking for $ac_word... " >&6; }
16694 if test "${ac_cv_prog_CC+set}" = set; then :
16695   $as_echo_n "(cached) " >&6
16696 else
16697   if test -n "$CC"; then
16698   ac_cv_prog_CC="$CC" # Let the user override the test.
16699 else
16700   ac_prog_rejected=no
16701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16702 for as_dir in $PATH
16703 do
16704   IFS=$as_save_IFS
16705   test -z "$as_dir" && as_dir=.
16706     for ac_exec_ext in '' $ac_executable_extensions; do
16707   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16708     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16709        ac_prog_rejected=yes
16710        continue
16711      fi
16712     ac_cv_prog_CC="cc"
16713     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16714     break 2
16715   fi
16716 done
16717   done
16718 IFS=$as_save_IFS
16719
16720 if test $ac_prog_rejected = yes; then
16721   # We found a bogon in the path, so make sure we never use it.
16722   set dummy $ac_cv_prog_CC
16723   shift
16724   if test $# != 0; then
16725     # We chose a different compiler from the bogus one.
16726     # However, it has the same basename, so the bogon will be chosen
16727     # first if we set CC to just the basename; use the full file name.
16728     shift
16729     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16730   fi
16731 fi
16732 fi
16733 fi
16734 CC=$ac_cv_prog_CC
16735 if test -n "$CC"; then
16736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16737 $as_echo "$CC" >&6; }
16738 else
16739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16740 $as_echo "no" >&6; }
16741 fi
16742
16743
16744 fi
16745 if test -z "$CC"; then
16746   if test -n "$ac_tool_prefix"; then
16747   for ac_prog in cl.exe
16748   do
16749     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16750 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16752 $as_echo_n "checking for $ac_word... " >&6; }
16753 if test "${ac_cv_prog_CC+set}" = set; then :
16754   $as_echo_n "(cached) " >&6
16755 else
16756   if test -n "$CC"; then
16757   ac_cv_prog_CC="$CC" # Let the user override the test.
16758 else
16759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16760 for as_dir in $PATH
16761 do
16762   IFS=$as_save_IFS
16763   test -z "$as_dir" && as_dir=.
16764     for ac_exec_ext in '' $ac_executable_extensions; do
16765   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16766     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16767     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16768     break 2
16769   fi
16770 done
16771   done
16772 IFS=$as_save_IFS
16773
16774 fi
16775 fi
16776 CC=$ac_cv_prog_CC
16777 if test -n "$CC"; then
16778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16779 $as_echo "$CC" >&6; }
16780 else
16781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16782 $as_echo "no" >&6; }
16783 fi
16784
16785
16786     test -n "$CC" && break
16787   done
16788 fi
16789 if test -z "$CC"; then
16790   ac_ct_CC=$CC
16791   for ac_prog in cl.exe
16792 do
16793   # Extract the first word of "$ac_prog", so it can be a program name with args.
16794 set dummy $ac_prog; ac_word=$2
16795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16796 $as_echo_n "checking for $ac_word... " >&6; }
16797 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
16798   $as_echo_n "(cached) " >&6
16799 else
16800   if test -n "$ac_ct_CC"; then
16801   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16802 else
16803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16804 for as_dir in $PATH
16805 do
16806   IFS=$as_save_IFS
16807   test -z "$as_dir" && as_dir=.
16808     for ac_exec_ext in '' $ac_executable_extensions; do
16809   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16810     ac_cv_prog_ac_ct_CC="$ac_prog"
16811     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16812     break 2
16813   fi
16814 done
16815   done
16816 IFS=$as_save_IFS
16817
16818 fi
16819 fi
16820 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16821 if test -n "$ac_ct_CC"; then
16822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16823 $as_echo "$ac_ct_CC" >&6; }
16824 else
16825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16826 $as_echo "no" >&6; }
16827 fi
16828
16829
16830   test -n "$ac_ct_CC" && break
16831 done
16832
16833   if test "x$ac_ct_CC" = x; then
16834     CC=""
16835   else
16836     case $cross_compiling:$ac_tool_warned in
16837 yes:)
16838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16840 ac_tool_warned=yes ;;
16841 esac
16842     CC=$ac_ct_CC
16843   fi
16844 fi
16845
16846 fi
16847
16848
16849 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16851 as_fn_error $? "no acceptable C compiler found in \$PATH
16852 See \`config.log' for more details" "$LINENO" 5 ; }
16853
16854 # Provide some information about the compiler.
16855 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16856 set X $ac_compile
16857 ac_compiler=$2
16858 for ac_option in --version -v -V -qversion; do
16859   { { ac_try="$ac_compiler $ac_option >&5"
16860 case "(($ac_try" in
16861   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16862   *) ac_try_echo=$ac_try;;
16863 esac
16864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16865 $as_echo "$ac_try_echo"; } >&5
16866   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16867   ac_status=$?
16868   if test -s conftest.err; then
16869     sed '10a\
16870 ... rest of stderr output deleted ...
16871          10q' conftest.err >conftest.er1
16872     cat conftest.er1 >&5
16873   fi
16874   rm -f conftest.er1 conftest.err
16875   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16876   test $ac_status = 0; }
16877 done
16878
16879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16880 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16881 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
16882   $as_echo_n "(cached) " >&6
16883 else
16884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16885 /* end confdefs.h.  */
16886
16887 int
16888 main ()
16889 {
16890 #ifndef __GNUC__
16891        choke me
16892 #endif
16893
16894   ;
16895   return 0;
16896 }
16897 _ACEOF
16898 if ac_fn_c_try_compile "$LINENO"; then :
16899   ac_compiler_gnu=yes
16900 else
16901   ac_compiler_gnu=no
16902 fi
16903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16904 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16905
16906 fi
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16908 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16909 if test $ac_compiler_gnu = yes; then
16910   GCC=yes
16911 else
16912   GCC=
16913 fi
16914 ac_test_CFLAGS=${CFLAGS+set}
16915 ac_save_CFLAGS=$CFLAGS
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16917 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16918 if test "${ac_cv_prog_cc_g+set}" = set; then :
16919   $as_echo_n "(cached) " >&6
16920 else
16921   ac_save_c_werror_flag=$ac_c_werror_flag
16922    ac_c_werror_flag=yes
16923    ac_cv_prog_cc_g=no
16924    CFLAGS="-g"
16925    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16926 /* end confdefs.h.  */
16927
16928 int
16929 main ()
16930 {
16931
16932   ;
16933   return 0;
16934 }
16935 _ACEOF
16936 if ac_fn_c_try_compile "$LINENO"; then :
16937   ac_cv_prog_cc_g=yes
16938 else
16939   CFLAGS=""
16940       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16941 /* end confdefs.h.  */
16942
16943 int
16944 main ()
16945 {
16946
16947   ;
16948   return 0;
16949 }
16950 _ACEOF
16951 if ac_fn_c_try_compile "$LINENO"; then :
16952
16953 else
16954   ac_c_werror_flag=$ac_save_c_werror_flag
16955          CFLAGS="-g"
16956          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16957 /* end confdefs.h.  */
16958
16959 int
16960 main ()
16961 {
16962
16963   ;
16964   return 0;
16965 }
16966 _ACEOF
16967 if ac_fn_c_try_compile "$LINENO"; then :
16968   ac_cv_prog_cc_g=yes
16969 fi
16970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16971 fi
16972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16973 fi
16974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16975    ac_c_werror_flag=$ac_save_c_werror_flag
16976 fi
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16978 $as_echo "$ac_cv_prog_cc_g" >&6; }
16979 if test "$ac_test_CFLAGS" = set; then
16980   CFLAGS=$ac_save_CFLAGS
16981 elif test $ac_cv_prog_cc_g = yes; then
16982   if test "$GCC" = yes; then
16983     CFLAGS="-g -O2"
16984   else
16985     CFLAGS="-g"
16986   fi
16987 else
16988   if test "$GCC" = yes; then
16989     CFLAGS="-O2"
16990   else
16991     CFLAGS=
16992   fi
16993 fi
16994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16995 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16996 if test "${ac_cv_prog_cc_c89+set}" = set; then :
16997   $as_echo_n "(cached) " >&6
16998 else
16999   ac_cv_prog_cc_c89=no
17000 ac_save_CC=$CC
17001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17002 /* end confdefs.h.  */
17003 #include <stdarg.h>
17004 #include <stdio.h>
17005 #include <sys/types.h>
17006 #include <sys/stat.h>
17007 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
17008 struct buf { int x; };
17009 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17010 static char *e (p, i)
17011      char **p;
17012      int i;
17013 {
17014   return p[i];
17015 }
17016 static char *f (char * (*g) (char **, int), char **p, ...)
17017 {
17018   char *s;
17019   va_list v;
17020   va_start (v,p);
17021   s = g (p, va_arg (v,int));
17022   va_end (v);
17023   return s;
17024 }
17025
17026 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
17027    function prototypes and stuff, but not '\xHH' hex character constants.
17028    These don't provoke an error unfortunately, instead are silently treated
17029    as 'x'.  The following induces an error, until -std is added to get
17030    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
17031    array size at least.  It's necessary to write '\x00'==0 to get something
17032    that's true only with -std.  */
17033 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17034
17035 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17036    inside strings and character constants.  */
17037 #define FOO(x) 'x'
17038 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17039
17040 int test (int i, double x);
17041 struct s1 {int (*f) (int a);};
17042 struct s2 {int (*f) (double a);};
17043 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17044 int argc;
17045 char **argv;
17046 int
17047 main ()
17048 {
17049 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
17050   ;
17051   return 0;
17052 }
17053 _ACEOF
17054 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17055         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17056 do
17057   CC="$ac_save_CC $ac_arg"
17058   if ac_fn_c_try_compile "$LINENO"; then :
17059   ac_cv_prog_cc_c89=$ac_arg
17060 fi
17061 rm -f core conftest.err conftest.$ac_objext
17062   test "x$ac_cv_prog_cc_c89" != "xno" && break
17063 done
17064 rm -f conftest.$ac_ext
17065 CC=$ac_save_CC
17066
17067 fi
17068 # AC_CACHE_VAL
17069 case "x$ac_cv_prog_cc_c89" in
17070   x)
17071     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17072 $as_echo "none needed" >&6; } ;;
17073   xno)
17074     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17075 $as_echo "unsupported" >&6; } ;;
17076   *)
17077     CC="$CC $ac_cv_prog_cc_c89"
17078     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17079 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17080 esac
17081 if test "x$ac_cv_prog_cc_c89" != xno; then :
17082
17083 fi
17084
17085 ac_ext=c
17086 ac_cpp='$CPP $CPPFLAGS'
17087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17090
17091 depcc="$CC"   am_compiler_list=
17092
17093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17094 $as_echo_n "checking dependency style of $depcc... " >&6; }
17095 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
17096   $as_echo_n "(cached) " >&6
17097 else
17098   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17099   # We make a subdir and do the tests there.  Otherwise we can end up
17100   # making bogus files that we don't know about and never remove.  For
17101   # instance it was reported that on HP-UX the gcc test will end up
17102   # making a dummy file named `D' -- because `-MD' means `put the output
17103   # in D'.
17104   mkdir conftest.dir
17105   # Copy depcomp to subdir because otherwise we won't find it if we're
17106   # using a relative directory.
17107   cp "$am_depcomp" conftest.dir
17108   cd conftest.dir
17109   # We will build objects and dependencies in a subdirectory because
17110   # it helps to detect inapplicable dependency modes.  For instance
17111   # both Tru64's cc and ICC support -MD to output dependencies as a
17112   # side effect of compilation, but ICC will put the dependencies in
17113   # the current directory while Tru64 will put them in the object
17114   # directory.
17115   mkdir sub
17116
17117   am_cv_CC_dependencies_compiler_type=none
17118   if test "$am_compiler_list" = ""; then
17119      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17120   fi
17121   am__universal=false
17122   case " $depcc " in #(
17123      *\ -arch\ *\ -arch\ *) am__universal=true ;;
17124      esac
17125
17126   for depmode in $am_compiler_list; do
17127     # Setup a source with many dependencies, because some compilers
17128     # like to wrap large dependency lists on column 80 (with \), and
17129     # we should not choose a depcomp mode which is confused by this.
17130     #
17131     # We need to recreate these files for each test, as the compiler may
17132     # overwrite some of them when testing with obscure command lines.
17133     # This happens at least with the AIX C compiler.
17134     : > sub/conftest.c
17135     for i in 1 2 3 4 5 6; do
17136       echo '#include "conftst'$i'.h"' >> sub/conftest.c
17137       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
17138       # Solaris 8's {/usr,}/bin/sh.
17139       touch sub/conftst$i.h
17140     done
17141     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17142
17143     # We check with `-c' and `-o' for the sake of the "dashmstdout"
17144     # mode.  It turns out that the SunPro C++ compiler does not properly
17145     # handle `-M -o', and we need to detect this.  Also, some Intel
17146     # versions had trouble with output in subdirs
17147     am__obj=sub/conftest.${OBJEXT-o}
17148     am__minus_obj="-o $am__obj"
17149     case $depmode in
17150     gcc)
17151       # This depmode causes a compiler race in universal mode.
17152       test "$am__universal" = false || continue
17153       ;;
17154     nosideeffect)
17155       # after this tag, mechanisms are not by side-effect, so they'll
17156       # only be used when explicitly requested
17157       if test "x$enable_dependency_tracking" = xyes; then
17158         continue
17159       else
17160         break
17161       fi
17162       ;;
17163     msvisualcpp | msvcmsys)
17164       # This compiler won't grok `-c -o', but also, the minuso test has
17165       # not run yet.  These depmodes are late enough in the game, and
17166       # so weak that their functioning should not be impacted.
17167       am__obj=conftest.${OBJEXT-o}
17168       am__minus_obj=
17169       ;;
17170     none) break ;;
17171     esac
17172     if depmode=$depmode \
17173        source=sub/conftest.c object=$am__obj \
17174        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
17175        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
17176          >/dev/null 2>conftest.err &&
17177        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
17178        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
17179        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
17180        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
17181       # icc doesn't choke on unknown options, it will just issue warnings
17182       # or remarks (even with -Werror).  So we grep stderr for any message
17183       # that says an option was ignored or not supported.
17184       # When given -MP, icc 7.0 and 7.1 complain thusly:
17185       #   icc: Command line warning: ignoring option '-M'; no argument required
17186       # The diagnosis changed in icc 8.0:
17187       #   icc: Command line remark: option '-MP' not supported
17188       if (grep 'ignoring option' conftest.err ||
17189           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17190         am_cv_CC_dependencies_compiler_type=$depmode
17191         break
17192       fi
17193     fi
17194   done
17195
17196   cd ..
17197   rm -rf conftest.dir
17198 else
17199   am_cv_CC_dependencies_compiler_type=none
17200 fi
17201
17202 fi
17203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
17204 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
17205 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
17206
17207  if
17208   test "x$enable_dependency_tracking" != xno \
17209   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
17210   am__fastdepCC_TRUE=
17211   am__fastdepCC_FALSE='#'
17212 else
17213   am__fastdepCC_TRUE='#'
17214   am__fastdepCC_FALSE=
17215 fi
17216
17217
17218
17219 # pkg-config
17220
17221
17222
17223
17224
17225
17226 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17227         if test -n "$ac_tool_prefix"; then
17228   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17229 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17231 $as_echo_n "checking for $ac_word... " >&6; }
17232 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
17233   $as_echo_n "(cached) " >&6
17234 else
17235   case $PKG_CONFIG in
17236   [\\/]* | ?:[\\/]*)
17237   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17238   ;;
17239   *)
17240   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17241 for as_dir in $PATH
17242 do
17243   IFS=$as_save_IFS
17244   test -z "$as_dir" && as_dir=.
17245     for ac_exec_ext in '' $ac_executable_extensions; do
17246   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17247     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17248     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17249     break 2
17250   fi
17251 done
17252   done
17253 IFS=$as_save_IFS
17254
17255   ;;
17256 esac
17257 fi
17258 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17259 if test -n "$PKG_CONFIG"; then
17260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17261 $as_echo "$PKG_CONFIG" >&6; }
17262 else
17263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17264 $as_echo "no" >&6; }
17265 fi
17266
17267
17268 fi
17269 if test -z "$ac_cv_path_PKG_CONFIG"; then
17270   ac_pt_PKG_CONFIG=$PKG_CONFIG
17271   # Extract the first word of "pkg-config", so it can be a program name with args.
17272 set dummy pkg-config; ac_word=$2
17273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17274 $as_echo_n "checking for $ac_word... " >&6; }
17275 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
17276   $as_echo_n "(cached) " >&6
17277 else
17278   case $ac_pt_PKG_CONFIG in
17279   [\\/]* | ?:[\\/]*)
17280   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17281   ;;
17282   *)
17283   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17284 for as_dir in $PATH
17285 do
17286   IFS=$as_save_IFS
17287   test -z "$as_dir" && as_dir=.
17288     for ac_exec_ext in '' $ac_executable_extensions; do
17289   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17290     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17291     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17292     break 2
17293   fi
17294 done
17295   done
17296 IFS=$as_save_IFS
17297
17298   ;;
17299 esac
17300 fi
17301 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17302 if test -n "$ac_pt_PKG_CONFIG"; then
17303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17304 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
17305 else
17306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17307 $as_echo "no" >&6; }
17308 fi
17309
17310   if test "x$ac_pt_PKG_CONFIG" = x; then
17311     PKG_CONFIG=""
17312   else
17313     case $cross_compiling:$ac_tool_warned in
17314 yes:)
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17316 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17317 ac_tool_warned=yes ;;
17318 esac
17319     PKG_CONFIG=$ac_pt_PKG_CONFIG
17320   fi
17321 else
17322   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17323 fi
17324
17325 fi
17326 if test -n "$PKG_CONFIG"; then
17327         _pkg_min_version=0.9.0
17328         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17329 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17330         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17331                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17332 $as_echo "yes" >&6; }
17333         else
17334                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17335 $as_echo "no" >&6; }
17336                 PKG_CONFIG=""
17337         fi
17338 fi
17339
17340 # Check whether pkg-config supports Requires.private
17341 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
17342    pkgconfig_requires_private="Requires.private"
17343 else
17344    pkgconfig_requires_private="Requires"
17345 fi
17346
17347
17348 # doxygen program for documentation building
17349
17350
17351 # Check whether --enable-doc was given.
17352 if test "${enable_doc+set}" = set; then :
17353   enableval=$enable_doc;
17354     if test "x${enableval}" = "xyes" ; then
17355        efl_enable_doc="yes"
17356     else
17357        efl_enable_doc="no"
17358     fi
17359
17360 else
17361   efl_enable_doc="yes"
17362 fi
17363
17364
17365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
17366 $as_echo_n "checking whether to build documentation... " >&6; }
17367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
17368 $as_echo "${efl_enable_doc}" >&6; }
17369
17370 if test "x${efl_enable_doc}" = "xyes" ; then
17371
17372
17373    efl_doxygen="doxygen"
17374
17375
17376 # Check whether --with-doxygen was given.
17377 if test "${with_doxygen+set}" = set; then :
17378   withval=$with_doxygen;
17379       efl_doxygen=${withval}
17380        # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
17381 set dummy ${efl_doxygen}; ac_word=$2
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17383 $as_echo_n "checking for $ac_word... " >&6; }
17384 if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
17385   $as_echo_n "(cached) " >&6
17386 else
17387   if test -n "$efl_have_doxygen"; then
17388   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
17389 else
17390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17391 for as_dir in $PATH
17392 do
17393   IFS=$as_save_IFS
17394   test -z "$as_dir" && as_dir=.
17395     for ac_exec_ext in '' $ac_executable_extensions; do
17396   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17397     ac_cv_prog_efl_have_doxygen="yes"
17398     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17399     break 2
17400   fi
17401 done
17402   done
17403 IFS=$as_save_IFS
17404
17405   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
17406 fi
17407 fi
17408 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
17409 if test -n "$efl_have_doxygen"; then
17410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
17411 $as_echo "$efl_have_doxygen" >&6; }
17412 else
17413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17414 $as_echo "no" >&6; }
17415 fi
17416
17417
17418        if test "x${efl_have_doxygen}" = "xno" ; then
17419           echo "WARNING:"
17420           echo "The doxygen program you specified:"
17421           echo "${efl_doxygen}"
17422           echo "was not found.  Please check the path and make sure "
17423           echo "the program exists and is executable."
17424           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
17425 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
17426        fi
17427
17428 else
17429   # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
17430 set dummy ${efl_doxygen}; ac_word=$2
17431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17432 $as_echo_n "checking for $ac_word... " >&6; }
17433 if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
17434   $as_echo_n "(cached) " >&6
17435 else
17436   if test -n "$efl_have_doxygen"; then
17437   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
17438 else
17439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17440 for as_dir in $PATH
17441 do
17442   IFS=$as_save_IFS
17443   test -z "$as_dir" && as_dir=.
17444     for ac_exec_ext in '' $ac_executable_extensions; do
17445   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17446     ac_cv_prog_efl_have_doxygen="yes"
17447     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17448     break 2
17449   fi
17450 done
17451   done
17452 IFS=$as_save_IFS
17453
17454   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
17455 fi
17456 fi
17457 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
17458 if test -n "$efl_have_doxygen"; then
17459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
17460 $as_echo "$efl_have_doxygen" >&6; }
17461 else
17462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17463 $as_echo "no" >&6; }
17464 fi
17465
17466
17467        if test "x${efl_have_doxygen}" = "xno" ; then
17468           echo "WARNING:"
17469           echo "The doxygen program was not found in your execute path."
17470           echo "You may have doxygen installed somewhere not covered by your path."
17471           echo ""
17472           echo "If this is the case make sure you have the packages installed, AND"
17473           echo "that the doxygen program is in your execute path (see your"
17474           echo "shell manual page on setting the \$PATH environment variable), OR"
17475           echo "alternatively, specify the program to use with --with-doxygen."
17476           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
17477 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
17478        fi
17479
17480 fi
17481
17482 fi
17483
17484
17485
17486 if ! test "x${efl_have_doxygen}" = "xyes" ; then
17487    efl_enable_doc="no"
17488 fi
17489
17490  if test "x${efl_enable_doc}" = "xyes"; then
17491   EFL_BUILD_DOC_TRUE=
17492   EFL_BUILD_DOC_FALSE='#'
17493 else
17494   EFL_BUILD_DOC_TRUE='#'
17495   EFL_BUILD_DOC_FALSE=
17496 fi
17497
17498
17499 if test "x${efl_enable_doc}" = "xyes" ; then
17500   build_doc="yes"
17501 else
17502   build_doc="no"
17503 fi
17504
17505
17506
17507
17508 ### Checks for libraries
17509
17510 # Evil library for compilation on Windows CE
17511
17512 case "$host_os" in
17513    mingw*)
17514
17515 pkg_failed=no
17516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
17517 $as_echo_n "checking for EVIL... " >&6; }
17518
17519 if test -n "$EVIL_CFLAGS"; then
17520     pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
17521  elif test -n "$PKG_CONFIG"; then
17522     if test -n "$PKG_CONFIG" && \
17523     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
17524   ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
17525   ac_status=$?
17526   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17527   test $ac_status = 0; }; then
17528   pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.0.0" 2>/dev/null`
17529 else
17530   pkg_failed=yes
17531 fi
17532  else
17533     pkg_failed=untried
17534 fi
17535 if test -n "$EVIL_LIBS"; then
17536     pkg_cv_EVIL_LIBS="$EVIL_LIBS"
17537  elif test -n "$PKG_CONFIG"; then
17538     if test -n "$PKG_CONFIG" && \
17539     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
17540   ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
17541   ac_status=$?
17542   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17543   test $ac_status = 0; }; then
17544   pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.0.0" 2>/dev/null`
17545 else
17546   pkg_failed=yes
17547 fi
17548  else
17549     pkg_failed=untried
17550 fi
17551
17552
17553
17554 if test $pkg_failed = yes; then
17555         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17556 $as_echo "no" >&6; }
17557
17558 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17559         _pkg_short_errors_supported=yes
17560 else
17561         _pkg_short_errors_supported=no
17562 fi
17563         if test $_pkg_short_errors_supported = yes; then
17564                 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evil >= 1.0.0" 2>&1`
17565         else
17566                 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "evil >= 1.0.0" 2>&1`
17567         fi
17568         # Put the nasty error message in config.log where it belongs
17569         echo "$EVIL_PKG_ERRORS" >&5
17570
17571         as_fn_error $? "Package requirements (evil >= 1.0.0) were not met:
17572
17573 $EVIL_PKG_ERRORS
17574
17575 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17576 installed software in a non-standard prefix.
17577
17578 Alternatively, you may set the environment variables EVIL_CFLAGS
17579 and EVIL_LIBS to avoid the need to call pkg-config.
17580 See the pkg-config man page for more details." "$LINENO" 5
17581 elif test $pkg_failed = untried; then
17582         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17583 $as_echo "no" >&6; }
17584         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17586 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
17587 is in your PATH or set the PKG_CONFIG environment variable to the full
17588 path to pkg-config.
17589
17590 Alternatively, you may set the environment variables EVIL_CFLAGS
17591 and EVIL_LIBS to avoid the need to call pkg-config.
17592 See the pkg-config man page for more details.
17593
17594 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17595 See \`config.log' for more details" "$LINENO" 5 ; }
17596 else
17597         EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
17598         EVIL_LIBS=$pkg_cv_EVIL_LIBS
17599         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17600 $as_echo "yes" >&6; }
17601
17602 fi
17603
17604 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
17605
17606       requirement_evas="evil ${requirement_evas}"
17607    ;;
17608 esac
17609
17610 ### Checks for portability layer
17611
17612
17613 pkg_failed=no
17614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXOTIC" >&5
17615 $as_echo_n "checking for EXOTIC... " >&6; }
17616
17617 if test -n "$EXOTIC_CFLAGS"; then
17618     pkg_cv_EXOTIC_CFLAGS="$EXOTIC_CFLAGS"
17619  elif test -n "$PKG_CONFIG"; then
17620     if test -n "$PKG_CONFIG" && \
17621     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
17622   ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
17623   ac_status=$?
17624   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17625   test $ac_status = 0; }; then
17626   pkg_cv_EXOTIC_CFLAGS=`$PKG_CONFIG --cflags "exotic" 2>/dev/null`
17627 else
17628   pkg_failed=yes
17629 fi
17630  else
17631     pkg_failed=untried
17632 fi
17633 if test -n "$EXOTIC_LIBS"; then
17634     pkg_cv_EXOTIC_LIBS="$EXOTIC_LIBS"
17635  elif test -n "$PKG_CONFIG"; then
17636     if test -n "$PKG_CONFIG" && \
17637     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
17638   ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
17639   ac_status=$?
17640   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17641   test $ac_status = 0; }; then
17642   pkg_cv_EXOTIC_LIBS=`$PKG_CONFIG --libs "exotic" 2>/dev/null`
17643 else
17644   pkg_failed=yes
17645 fi
17646  else
17647     pkg_failed=untried
17648 fi
17649
17650
17651
17652 if test $pkg_failed = yes; then
17653         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17654 $as_echo "no" >&6; }
17655
17656 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17657         _pkg_short_errors_supported=yes
17658 else
17659         _pkg_short_errors_supported=no
17660 fi
17661         if test $_pkg_short_errors_supported = yes; then
17662                 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "exotic" 2>&1`
17663         else
17664                 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --print-errors "exotic" 2>&1`
17665         fi
17666         # Put the nasty error message in config.log where it belongs
17667         echo "$EXOTIC_PKG_ERRORS" >&5
17668
17669         enable_exotic="no"
17670 elif test $pkg_failed = untried; then
17671         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17672 $as_echo "no" >&6; }
17673         enable_exotic="no"
17674 else
17675         EXOTIC_CFLAGS=$pkg_cv_EXOTIC_CFLAGS
17676         EXOTIC_LIBS=$pkg_cv_EXOTIC_LIBS
17677         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17678 $as_echo "yes" >&6; }
17679         enable_exotic="yes"
17680 fi
17681
17682 if test "x${enable_exotic}" = "xyes"; then
17683     requirement_evas="exotic ${requirement_evas}"
17684
17685
17686 $as_echo "#define HAVE_EXOTIC 1" >>confdefs.h
17687
17688 fi
17689  if test "x${enable_exotic}" = "xyes"; then
17690   EVAS_HAVE_EXOTIC_TRUE=
17691   EVAS_HAVE_EXOTIC_FALSE='#'
17692 else
17693   EVAS_HAVE_EXOTIC_TRUE='#'
17694   EVAS_HAVE_EXOTIC_FALSE=
17695 fi
17696
17697
17698 ## strong dependencies
17699
17700 # Eina
17701
17702 pkg_failed=no
17703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EINA" >&5
17704 $as_echo_n "checking for EINA... " >&6; }
17705
17706 if test -n "$EINA_CFLAGS"; then
17707     pkg_cv_EINA_CFLAGS="$EINA_CFLAGS"
17708  elif test -n "$PKG_CONFIG"; then
17709     if test -n "$PKG_CONFIG" && \
17710     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.6.0\""; } >&5
17711   ($PKG_CONFIG --exists --print-errors "eina >= 1.6.0") 2>&5
17712   ac_status=$?
17713   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17714   test $ac_status = 0; }; then
17715   pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.6.0" 2>/dev/null`
17716 else
17717   pkg_failed=yes
17718 fi
17719  else
17720     pkg_failed=untried
17721 fi
17722 if test -n "$EINA_LIBS"; then
17723     pkg_cv_EINA_LIBS="$EINA_LIBS"
17724  elif test -n "$PKG_CONFIG"; then
17725     if test -n "$PKG_CONFIG" && \
17726     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.6.0\""; } >&5
17727   ($PKG_CONFIG --exists --print-errors "eina >= 1.6.0") 2>&5
17728   ac_status=$?
17729   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17730   test $ac_status = 0; }; then
17731   pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina >= 1.6.0" 2>/dev/null`
17732 else
17733   pkg_failed=yes
17734 fi
17735  else
17736     pkg_failed=untried
17737 fi
17738
17739
17740
17741 if test $pkg_failed = yes; then
17742         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17743 $as_echo "no" >&6; }
17744
17745 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17746         _pkg_short_errors_supported=yes
17747 else
17748         _pkg_short_errors_supported=no
17749 fi
17750         if test $_pkg_short_errors_supported = yes; then
17751                 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eina >= 1.6.0" 2>&1`
17752         else
17753                 EINA_PKG_ERRORS=`$PKG_CONFIG --print-errors "eina >= 1.6.0" 2>&1`
17754         fi
17755         # Put the nasty error message in config.log where it belongs
17756         echo "$EINA_PKG_ERRORS" >&5
17757
17758         as_fn_error $? "Package requirements (eina >= 1.6.0) were not met:
17759
17760 $EINA_PKG_ERRORS
17761
17762 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17763 installed software in a non-standard prefix.
17764
17765 Alternatively, you may set the environment variables EINA_CFLAGS
17766 and EINA_LIBS to avoid the need to call pkg-config.
17767 See the pkg-config man page for more details." "$LINENO" 5
17768 elif test $pkg_failed = untried; then
17769         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17770 $as_echo "no" >&6; }
17771         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17772 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17773 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
17774 is in your PATH or set the PKG_CONFIG environment variable to the full
17775 path to pkg-config.
17776
17777 Alternatively, you may set the environment variables EINA_CFLAGS
17778 and EINA_LIBS to avoid the need to call pkg-config.
17779 See the pkg-config man page for more details.
17780
17781 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17782 See \`config.log' for more details" "$LINENO" 5 ; }
17783 else
17784         EINA_CFLAGS=$pkg_cv_EINA_CFLAGS
17785         EINA_LIBS=$pkg_cv_EINA_LIBS
17786         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17787 $as_echo "yes" >&6; }
17788
17789 fi
17790 CPPFLAGS_SAVE="$CPPFLAGS"
17791 CPPFLAGS="$CPPFLAGS $EINA_CFLAGS"
17792 # The cast to long int works around a bug in the HP C Compiler
17793 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17794 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17795 # This bug is HP SR number 8606223364.
17796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of Eina_Unicode" >&5
17797 $as_echo_n "checking size of Eina_Unicode... " >&6; }
17798 if test "${ac_cv_sizeof_Eina_Unicode+set}" = set; then :
17799   $as_echo_n "(cached) " >&6
17800 else
17801   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (Eina_Unicode))" "ac_cv_sizeof_Eina_Unicode"        "#include <Eina.h>
17802 "; then :
17803
17804 else
17805   if test "$ac_cv_type_Eina_Unicode" = yes; then
17806      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17807 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17808 as_fn_error 77 "cannot compute sizeof (Eina_Unicode)
17809 See \`config.log' for more details" "$LINENO" 5 ; }
17810    else
17811      ac_cv_sizeof_Eina_Unicode=0
17812    fi
17813 fi
17814
17815 fi
17816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_Eina_Unicode" >&5
17817 $as_echo "$ac_cv_sizeof_Eina_Unicode" >&6; }
17818
17819
17820
17821 cat >>confdefs.h <<_ACEOF
17822 #define SIZEOF_EINA_UNICODE $ac_cv_sizeof_Eina_Unicode
17823 _ACEOF
17824
17825
17826 CPPFLAGS="$CPPFLAGS_SAVE"
17827
17828 # Freetype
17829
17830 pkg_failed=no
17831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
17832 $as_echo_n "checking for FREETYPE... " >&6; }
17833
17834 if test -n "$FREETYPE_CFLAGS"; then
17835     pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
17836  elif test -n "$PKG_CONFIG"; then
17837     if test -n "$PKG_CONFIG" && \
17838     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 9.3.0\""; } >&5
17839   ($PKG_CONFIG --exists --print-errors "freetype2 >= 9.3.0") 2>&5
17840   ac_status=$?
17841   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17842   test $ac_status = 0; }; then
17843   pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2 >= 9.3.0" 2>/dev/null`
17844 else
17845   pkg_failed=yes
17846 fi
17847  else
17848     pkg_failed=untried
17849 fi
17850 if test -n "$FREETYPE_LIBS"; then
17851     pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
17852  elif test -n "$PKG_CONFIG"; then
17853     if test -n "$PKG_CONFIG" && \
17854     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 9.3.0\""; } >&5
17855   ($PKG_CONFIG --exists --print-errors "freetype2 >= 9.3.0") 2>&5
17856   ac_status=$?
17857   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17858   test $ac_status = 0; }; then
17859   pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2 >= 9.3.0" 2>/dev/null`
17860 else
17861   pkg_failed=yes
17862 fi
17863  else
17864     pkg_failed=untried
17865 fi
17866
17867
17868
17869 if test $pkg_failed = yes; then
17870         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17871 $as_echo "no" >&6; }
17872
17873 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17874         _pkg_short_errors_supported=yes
17875 else
17876         _pkg_short_errors_supported=no
17877 fi
17878         if test $_pkg_short_errors_supported = yes; then
17879                 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "freetype2 >= 9.3.0" 2>&1`
17880         else
17881                 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "freetype2 >= 9.3.0" 2>&1`
17882         fi
17883         # Put the nasty error message in config.log where it belongs
17884         echo "$FREETYPE_PKG_ERRORS" >&5
17885
17886         as_fn_error $? "Package requirements (freetype2 >= 9.3.0) were not met:
17887
17888 $FREETYPE_PKG_ERRORS
17889
17890 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17891 installed software in a non-standard prefix.
17892
17893 Alternatively, you may set the environment variables FREETYPE_CFLAGS
17894 and FREETYPE_LIBS to avoid the need to call pkg-config.
17895 See the pkg-config man page for more details." "$LINENO" 5
17896 elif test $pkg_failed = untried; then
17897         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17898 $as_echo "no" >&6; }
17899         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17900 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17901 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
17902 is in your PATH or set the PKG_CONFIG environment variable to the full
17903 path to pkg-config.
17904
17905 Alternatively, you may set the environment variables FREETYPE_CFLAGS
17906 and FREETYPE_LIBS to avoid the need to call pkg-config.
17907 See the pkg-config man page for more details.
17908
17909 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17910 See \`config.log' for more details" "$LINENO" 5 ; }
17911 else
17912         FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
17913         FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
17914         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17915 $as_echo "yes" >&6; }
17916
17917 fi
17918
17919 requirement_evas="freetype2 eina >= 1.6.0 ${requirement_evas}"
17920
17921 ## optional dependencies
17922
17923 # FontConfig
17924 have_fontconfig="no"
17925 # Check whether --enable-fontconfig was given.
17926 if test "${enable_fontconfig+set}" = set; then :
17927   enableval=$enable_fontconfig;
17928     if test "x${enableval}" = "xyes" ; then
17929        want_fontconfig="yes"
17930     else
17931        want_fontconfig="no"
17932     fi
17933
17934 fi
17935
17936
17937
17938 if test "x${want_fontconfig}" = "xyes" -o "x${want_fontconfig}" = "xauto" ; then
17939
17940 pkg_failed=no
17941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FONTCONFIG" >&5
17942 $as_echo_n "checking for FONTCONFIG... " >&6; }
17943
17944 if test -n "$FONTCONFIG_CFLAGS"; then
17945     pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
17946  elif test -n "$PKG_CONFIG"; then
17947     if test -n "$PKG_CONFIG" && \
17948     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.0\""; } >&5
17949   ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5
17950   ac_status=$?
17951   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17952   test $ac_status = 0; }; then
17953   pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.5.0" 2>/dev/null`
17954 else
17955   pkg_failed=yes
17956 fi
17957  else
17958     pkg_failed=untried
17959 fi
17960 if test -n "$FONTCONFIG_LIBS"; then
17961     pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
17962  elif test -n "$PKG_CONFIG"; then
17963     if test -n "$PKG_CONFIG" && \
17964     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.0\""; } >&5
17965   ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5
17966   ac_status=$?
17967   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17968   test $ac_status = 0; }; then
17969   pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.5.0" 2>/dev/null`
17970 else
17971   pkg_failed=yes
17972 fi
17973  else
17974     pkg_failed=untried
17975 fi
17976
17977
17978
17979 if test $pkg_failed = yes; then
17980         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17981 $as_echo "no" >&6; }
17982
17983 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17984         _pkg_short_errors_supported=yes
17985 else
17986         _pkg_short_errors_supported=no
17987 fi
17988         if test $_pkg_short_errors_supported = yes; then
17989                 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fontconfig >= 2.5.0" 2>&1`
17990         else
17991                 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors "fontconfig >= 2.5.0" 2>&1`
17992         fi
17993         # Put the nasty error message in config.log where it belongs
17994         echo "$FONTCONFIG_PKG_ERRORS" >&5
17995
17996
17997        if test "x${want_fontconfig}" = "xyes" -a "x${use_strict}" = "xyes" ; then
17998           as_fn_error $? "Fontconfig not found (strict dependencies checking)" "$LINENO" 5
17999        fi
18000
18001 elif test $pkg_failed = untried; then
18002         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18003 $as_echo "no" >&6; }
18004
18005        if test "x${want_fontconfig}" = "xyes" -a "x${use_strict}" = "xyes" ; then
18006           as_fn_error $? "Fontconfig not found (strict dependencies checking)" "$LINENO" 5
18007        fi
18008
18009 else
18010         FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
18011         FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
18012         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18013 $as_echo "yes" >&6; }
18014
18015        have_fontconfig="yes"
18016
18017 $as_echo "#define HAVE_FONTCONFIG 1" >>confdefs.h
18018
18019        requirement_evas="fontconfig ${requirement_evas}"
18020
18021 fi
18022 fi
18023
18024 # linebreak
18025 have_linebreak="no"
18026 want_linebreak="yes"
18027 # Check whether --enable-liblinebreak was given.
18028 if test "${enable_liblinebreak+set}" = set; then :
18029   enableval=$enable_liblinebreak;
18030     if test "x${enableval}" = "xyes" ; then
18031        want_linebreak="yes"
18032     else
18033        want_linebreak="no"
18034     fi
18035
18036 fi
18037
18038
18039
18040  if test "x${want_linebreak}" = "xyes"; then
18041   EVAS_USE_LINEBREAK_TRUE=
18042   EVAS_USE_LINEBREAK_FALSE='#'
18043 else
18044   EVAS_USE_LINEBREAK_TRUE='#'
18045   EVAS_USE_LINEBREAK_FALSE=
18046 fi
18047
18048 if test "x${want_linebreak}" = "xyes" ; then
18049    have_linebreak="yes"
18050    LINEBREAK_CFLAGS='-I$(top_srcdir)/src/static_deps/liblinebreak'
18051    LINEBREAK_LIBS='$(top_builddir)/src/static_deps/liblinebreak/liblinebreak.la'
18052
18053
18054
18055 $as_echo "#define HAVE_LINEBREAK 1" >>confdefs.h
18056
18057 else
18058    have_linebreak="no"
18059 fi
18060
18061 # fribidi support
18062 have_fribidi="no"
18063 # Check whether --enable-fribidi was given.
18064 if test "${enable_fribidi+set}" = set; then :
18065   enableval=$enable_fribidi;
18066     if test "x${enableval}" = "xyes" ; then
18067        want_fribidi="yes"
18068     else
18069        want_fribidi="no"
18070     fi
18071
18072 fi
18073
18074
18075 if test "x${want_fribidi}" = "xyes" -o "x${want_fribidi}" = "xauto" ; then
18076
18077 pkg_failed=no
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FRIBIDI" >&5
18079 $as_echo_n "checking for FRIBIDI... " >&6; }
18080
18081 if test -n "$FRIBIDI_CFLAGS"; then
18082     pkg_cv_FRIBIDI_CFLAGS="$FRIBIDI_CFLAGS"
18083  elif test -n "$PKG_CONFIG"; then
18084     if test -n "$PKG_CONFIG" && \
18085     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi >= 0.19.2\""; } >&5
18086   ($PKG_CONFIG --exists --print-errors "fribidi >= 0.19.2") 2>&5
18087   ac_status=$?
18088   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18089   test $ac_status = 0; }; then
18090   pkg_cv_FRIBIDI_CFLAGS=`$PKG_CONFIG --cflags "fribidi >= 0.19.2" 2>/dev/null`
18091 else
18092   pkg_failed=yes
18093 fi
18094  else
18095     pkg_failed=untried
18096 fi
18097 if test -n "$FRIBIDI_LIBS"; then
18098     pkg_cv_FRIBIDI_LIBS="$FRIBIDI_LIBS"
18099  elif test -n "$PKG_CONFIG"; then
18100     if test -n "$PKG_CONFIG" && \
18101     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi >= 0.19.2\""; } >&5
18102   ($PKG_CONFIG --exists --print-errors "fribidi >= 0.19.2") 2>&5
18103   ac_status=$?
18104   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18105   test $ac_status = 0; }; then
18106   pkg_cv_FRIBIDI_LIBS=`$PKG_CONFIG --libs "fribidi >= 0.19.2" 2>/dev/null`
18107 else
18108   pkg_failed=yes
18109 fi
18110  else
18111     pkg_failed=untried
18112 fi
18113
18114
18115
18116 if test $pkg_failed = yes; then
18117         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18118 $as_echo "no" >&6; }
18119
18120 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18121         _pkg_short_errors_supported=yes
18122 else
18123         _pkg_short_errors_supported=no
18124 fi
18125         if test $_pkg_short_errors_supported = yes; then
18126                 FRIBIDI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fribidi >= 0.19.2" 2>&1`
18127         else
18128                 FRIBIDI_PKG_ERRORS=`$PKG_CONFIG --print-errors "fribidi >= 0.19.2" 2>&1`
18129         fi
18130         # Put the nasty error message in config.log where it belongs
18131         echo "$FRIBIDI_PKG_ERRORS" >&5
18132
18133
18134        if test "x$want_fribidi" = "xyes" -a "x$use_strict" = "xyes" ; then
18135           as_fn_error $? "Fribidi not found (strict dependencies checking)" "$LINENO" 5
18136        fi
18137
18138 elif test $pkg_failed = untried; then
18139         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18140 $as_echo "no" >&6; }
18141
18142        if test "x$want_fribidi" = "xyes" -a "x$use_strict" = "xyes" ; then
18143           as_fn_error $? "Fribidi not found (strict dependencies checking)" "$LINENO" 5
18144        fi
18145
18146 else
18147         FRIBIDI_CFLAGS=$pkg_cv_FRIBIDI_CFLAGS
18148         FRIBIDI_LIBS=$pkg_cv_FRIBIDI_LIBS
18149         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18150 $as_echo "yes" >&6; }
18151
18152        have_fribidi="yes"
18153
18154 $as_echo "#define HAVE_FRIBIDI 1" >>confdefs.h
18155
18156        requirement_evas="fribidi ${requirement_evas}"
18157        CPPFLAGS_SAVE="$CPPFLAGS"
18158        CPPFLAGS="$CPPFLAGS $FRIBIDI_CFLAGS"
18159        # The cast to long int works around a bug in the HP C Compiler
18160 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18161 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18162 # This bug is HP SR number 8606223364.
18163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of FriBidiChar" >&5
18164 $as_echo_n "checking size of FriBidiChar... " >&6; }
18165 if test "${ac_cv_sizeof_FriBidiChar+set}" = set; then :
18166   $as_echo_n "(cached) " >&6
18167 else
18168   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (FriBidiChar))" "ac_cv_sizeof_FriBidiChar"        "#include <fribidi/fribidi.h>
18169 "; then :
18170
18171 else
18172   if test "$ac_cv_type_FriBidiChar" = yes; then
18173      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18175 as_fn_error 77 "cannot compute sizeof (FriBidiChar)
18176 See \`config.log' for more details" "$LINENO" 5 ; }
18177    else
18178      ac_cv_sizeof_FriBidiChar=0
18179    fi
18180 fi
18181
18182 fi
18183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_FriBidiChar" >&5
18184 $as_echo "$ac_cv_sizeof_FriBidiChar" >&6; }
18185
18186
18187
18188 cat >>confdefs.h <<_ACEOF
18189 #define SIZEOF_FRIBIDICHAR $ac_cv_sizeof_FriBidiChar
18190 _ACEOF
18191
18192
18193        CPPFLAGS="$CPPFLAGS_SAVE"
18194
18195 fi
18196 fi
18197
18198 if test "x${have_fribidi}" = "xno"; then
18199   HAS_BIDI=0
18200 fi
18201
18202 # harfbuzz support
18203 have_harfbuzz="no"
18204 have_harfbuzz_ft="no"
18205 # Check whether --enable-harfbuzz was given.
18206 if test "${enable_harfbuzz+set}" = set; then :
18207   enableval=$enable_harfbuzz;
18208     if test "x${enableval}" = "xyes" ; then
18209        want_harfbuzz="yes"
18210     else
18211        want_harfbuzz="no"
18212     fi
18213
18214 fi
18215
18216
18217 if test "x${want_harfbuzz}" = "xyes" -o "x${want_harfbuzz}" = "xauto" ; then
18218
18219 pkg_failed=no
18220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HARFBUZZ" >&5
18221 $as_echo_n "checking for HARFBUZZ... " >&6; }
18222
18223 if test -n "$HARFBUZZ_CFLAGS"; then
18224     pkg_cv_HARFBUZZ_CFLAGS="$HARFBUZZ_CFLAGS"
18225  elif test -n "$PKG_CONFIG"; then
18226     if test -n "$PKG_CONFIG" && \
18227     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"harfbuzz >= 0.9.0\""; } >&5
18228   ($PKG_CONFIG --exists --print-errors "harfbuzz >= 0.9.0") 2>&5
18229   ac_status=$?
18230   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18231   test $ac_status = 0; }; then
18232   pkg_cv_HARFBUZZ_CFLAGS=`$PKG_CONFIG --cflags "harfbuzz >= 0.9.0" 2>/dev/null`
18233 else
18234   pkg_failed=yes
18235 fi
18236  else
18237     pkg_failed=untried
18238 fi
18239 if test -n "$HARFBUZZ_LIBS"; then
18240     pkg_cv_HARFBUZZ_LIBS="$HARFBUZZ_LIBS"
18241  elif test -n "$PKG_CONFIG"; then
18242     if test -n "$PKG_CONFIG" && \
18243     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"harfbuzz >= 0.9.0\""; } >&5
18244   ($PKG_CONFIG --exists --print-errors "harfbuzz >= 0.9.0") 2>&5
18245   ac_status=$?
18246   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18247   test $ac_status = 0; }; then
18248   pkg_cv_HARFBUZZ_LIBS=`$PKG_CONFIG --libs "harfbuzz >= 0.9.0" 2>/dev/null`
18249 else
18250   pkg_failed=yes
18251 fi
18252  else
18253     pkg_failed=untried
18254 fi
18255
18256
18257
18258 if test $pkg_failed = yes; then
18259         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18260 $as_echo "no" >&6; }
18261
18262 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18263         _pkg_short_errors_supported=yes
18264 else
18265         _pkg_short_errors_supported=no
18266 fi
18267         if test $_pkg_short_errors_supported = yes; then
18268                 HARFBUZZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "harfbuzz >= 0.9.0" 2>&1`
18269         else
18270                 HARFBUZZ_PKG_ERRORS=`$PKG_CONFIG --print-errors "harfbuzz >= 0.9.0" 2>&1`
18271         fi
18272         # Put the nasty error message in config.log where it belongs
18273         echo "$HARFBUZZ_PKG_ERRORS" >&5
18274
18275
18276        if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then
18277           as_fn_error $? "Harfbuzz not found (strict dependencies checking)" "$LINENO" 5
18278        fi
18279
18280 elif test $pkg_failed = untried; then
18281         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18282 $as_echo "no" >&6; }
18283
18284        if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then
18285           as_fn_error $? "Harfbuzz not found (strict dependencies checking)" "$LINENO" 5
18286        fi
18287
18288 else
18289         HARFBUZZ_CFLAGS=$pkg_cv_HARFBUZZ_CFLAGS
18290         HARFBUZZ_LIBS=$pkg_cv_HARFBUZZ_LIBS
18291         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18292 $as_echo "yes" >&6; }
18293
18294        have_harfbuzz="yes"
18295        requirement_evas="harfbuzz ${requirement_evas}"
18296
18297 fi
18298    if test "x$have_harfbuzz" = "xyes" ; then
18299
18300       CPPFLAGS_SAVE="$CPPFLAGS"
18301       CPPFLAGS="$CPPFLAGS $HARFBUZZ_CFLAGS $FREETYPE_CFLAGS"
18302 # must have for usage with harfbuzz although harfbuzz may not have it.
18303
18304       ac_fn_c_check_header_mongrel "$LINENO" "hb-ft.h" "ac_cv_header_hb_ft_h" "$ac_includes_default"
18305 if test "x$ac_cv_header_hb_ft_h" = x""yes; then :
18306
18307            have_harfbuzz_ft="yes"
18308            #Depend on harfbuzz ft for harfbuzz support
18309
18310 $as_echo "#define HAVE_HARFBUZZ 1" >>confdefs.h
18311
18312
18313 else
18314
18315            if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then
18316               as_fn_error $? "Harfbuzz-ft not found (strict dependencies checking)" "$LINENO" 5
18317            fi
18318            have_harfbuzz="no"
18319
18320 fi
18321
18322
18323       CPPFLAGS="$CPPFLAGS_SAVE"
18324    fi
18325 fi
18326
18327 if test "x${have_harfbuzz}" = "xno"; then
18328   HAS_HARFBUZZ=0
18329 fi
18330
18331 # Pixman
18332 have_pixman="no"
18333 # Check whether --enable-pixman was given.
18334 if test "${enable_pixman+set}" = set; then :
18335   enableval=$enable_pixman;
18336     if test "x${enableval}" = "xyes" ; then
18337        want_pixman="yes"
18338     else
18339        want_pixman="no"
18340     fi
18341
18342 fi
18343
18344
18345
18346 if test "x${want_pixman}" = "xyes" -o "x${want_pixman}" = "xauto" ; then
18347
18348 pkg_failed=no
18349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PIXMAN" >&5
18350 $as_echo_n "checking for PIXMAN... " >&6; }
18351
18352 if test -n "$PIXMAN_CFLAGS"; then
18353     pkg_cv_PIXMAN_CFLAGS="$PIXMAN_CFLAGS"
18354  elif test -n "$PKG_CONFIG"; then
18355     if test -n "$PKG_CONFIG" && \
18356     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5
18357   ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5
18358   ac_status=$?
18359   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18360   test $ac_status = 0; }; then
18361   pkg_cv_PIXMAN_CFLAGS=`$PKG_CONFIG --cflags "pixman-1" 2>/dev/null`
18362 else
18363   pkg_failed=yes
18364 fi
18365  else
18366     pkg_failed=untried
18367 fi
18368 if test -n "$PIXMAN_LIBS"; then
18369     pkg_cv_PIXMAN_LIBS="$PIXMAN_LIBS"
18370  elif test -n "$PKG_CONFIG"; then
18371     if test -n "$PKG_CONFIG" && \
18372     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5
18373   ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5
18374   ac_status=$?
18375   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18376   test $ac_status = 0; }; then
18377   pkg_cv_PIXMAN_LIBS=`$PKG_CONFIG --libs "pixman-1" 2>/dev/null`
18378 else
18379   pkg_failed=yes
18380 fi
18381  else
18382     pkg_failed=untried
18383 fi
18384
18385
18386
18387 if test $pkg_failed = yes; then
18388         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18389 $as_echo "no" >&6; }
18390
18391 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18392         _pkg_short_errors_supported=yes
18393 else
18394         _pkg_short_errors_supported=no
18395 fi
18396         if test $_pkg_short_errors_supported = yes; then
18397                 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pixman-1" 2>&1`
18398         else
18399                 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors "pixman-1" 2>&1`
18400         fi
18401         # Put the nasty error message in config.log where it belongs
18402         echo "$PIXMAN_PKG_ERRORS" >&5
18403
18404
18405        if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then
18406           as_fn_error $? "Pixman not found (strict dependencies checking)" "$LINENO" 5
18407        fi
18408
18409 elif test $pkg_failed = untried; then
18410         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18411 $as_echo "no" >&6; }
18412
18413        if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then
18414           as_fn_error $? "Pixman not found (strict dependencies checking)" "$LINENO" 5
18415        fi
18416
18417 else
18418         PIXMAN_CFLAGS=$pkg_cv_PIXMAN_CFLAGS
18419         PIXMAN_LIBS=$pkg_cv_PIXMAN_LIBS
18420         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18421 $as_echo "yes" >&6; }
18422
18423        have_pixman="yes"
18424
18425 $as_echo "#define HAVE_PIXMAN 1" >>confdefs.h
18426
18427        requirement_evas="pixman-1 ${requirement_evas}"
18428
18429 fi
18430 fi
18431
18432 have_pixman_font="no"
18433 # Check whether --enable-pixman-font was given.
18434 if test "${enable_pixman_font+set}" = set; then :
18435   enableval=$enable_pixman_font;
18436     have_pixman_font="yes"
18437
18438 $as_echo "#define PIXMAN_FONT 1" >>confdefs.h
18439
18440
18441
18442 fi
18443
18444
18445 have_pixman_rect="no"
18446 # Check whether --enable-pixman-rect was given.
18447 if test "${enable_pixman_rect+set}" = set; then :
18448   enableval=$enable_pixman_rect;
18449     have_pixman_rect="yes"
18450
18451 $as_echo "#define PIXMAN_RECT 1" >>confdefs.h
18452
18453
18454
18455 fi
18456
18457
18458 have_pixman_line="no"
18459 # Check whether --enable-pixman-line was given.
18460 if test "${enable_pixman_line+set}" = set; then :
18461   enableval=$enable_pixman_line;
18462     have_pixman_line="yes"
18463
18464 $as_echo "#define PIXMAN_LINE 1" >>confdefs.h
18465
18466
18467
18468 fi
18469
18470
18471 have_pixman_poly="no"
18472 # Check whether --enable-pixman-poly was given.
18473 if test "${enable_pixman_poly+set}" = set; then :
18474   enableval=$enable_pixman_poly;
18475     have_pixman_poly="yes"
18476
18477 $as_echo "#define PIXMAN_POLY 1" >>confdefs.h
18478
18479
18480
18481 fi
18482
18483
18484 have_pixman_image="no"
18485 # Check whether --enable-pixman-image was given.
18486 if test "${enable_pixman_image+set}" = set; then :
18487   enableval=$enable_pixman_image;
18488     have_pixman_image="yes"
18489
18490 $as_echo "#define PIXMAN_IMAGE 1" >>confdefs.h
18491
18492
18493
18494 fi
18495
18496
18497 have_pixman_image_scale_sample="no"
18498 # Check whether --enable-pixman-image-scale-sample was given.
18499 if test "${enable_pixman_image_scale_sample+set}" = set; then :
18500   enableval=$enable_pixman_image_scale_sample;
18501     have_pixman_image_scale_sample="yes"
18502
18503 $as_echo "#define PIXMAN_IMAGE_SCALE_SAMPLE 1" >>confdefs.h
18504
18505
18506
18507 fi
18508
18509
18510 have_tile_rotate="no"
18511 # Check whether --enable-tile-rotate was given.
18512 if test "${enable_tile_rotate+set}" = set; then :
18513   enableval=$enable_tile_rotate;
18514     have_tile_rotate="yes"
18515
18516 $as_echo "#define TILE_ROTATE 1" >>confdefs.h
18517
18518
18519
18520 fi
18521
18522
18523 ### Checks for header files
18524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
18525 $as_echo_n "checking for ANSI C header files... " >&6; }
18526 if test "${ac_cv_header_stdc+set}" = set; then :
18527   $as_echo_n "(cached) " >&6
18528 else
18529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18530 /* end confdefs.h.  */
18531 #include <stdlib.h>
18532 #include <stdarg.h>
18533 #include <string.h>
18534 #include <float.h>
18535
18536 int
18537 main ()
18538 {
18539
18540   ;
18541   return 0;
18542 }
18543 _ACEOF
18544 if ac_fn_c_try_compile "$LINENO"; then :
18545   ac_cv_header_stdc=yes
18546 else
18547   ac_cv_header_stdc=no
18548 fi
18549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18550
18551 if test $ac_cv_header_stdc = yes; then
18552   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18554 /* end confdefs.h.  */
18555 #include <string.h>
18556
18557 _ACEOF
18558 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18559   $EGREP "memchr" >/dev/null 2>&1; then :
18560
18561 else
18562   ac_cv_header_stdc=no
18563 fi
18564 rm -f conftest*
18565
18566 fi
18567
18568 if test $ac_cv_header_stdc = yes; then
18569   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18571 /* end confdefs.h.  */
18572 #include <stdlib.h>
18573
18574 _ACEOF
18575 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18576   $EGREP "free" >/dev/null 2>&1; then :
18577
18578 else
18579   ac_cv_header_stdc=no
18580 fi
18581 rm -f conftest*
18582
18583 fi
18584
18585 if test $ac_cv_header_stdc = yes; then
18586   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18587   if test "$cross_compiling" = yes; then :
18588   :
18589 else
18590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18591 /* end confdefs.h.  */
18592 #include <ctype.h>
18593 #include <stdlib.h>
18594 #if ((' ' & 0x0FF) == 0x020)
18595 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18596 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18597 #else
18598 # define ISLOWER(c) \
18599                    (('a' <= (c) && (c) <= 'i') \
18600                      || ('j' <= (c) && (c) <= 'r') \
18601                      || ('s' <= (c) && (c) <= 'z'))
18602 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18603 #endif
18604
18605 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18606 int
18607 main ()
18608 {
18609   int i;
18610   for (i = 0; i < 256; i++)
18611     if (XOR (islower (i), ISLOWER (i))
18612         || toupper (i) != TOUPPER (i))
18613       return 2;
18614   return 0;
18615 }
18616 _ACEOF
18617 if ac_fn_c_try_run "$LINENO"; then :
18618
18619 else
18620   ac_cv_header_stdc=no
18621 fi
18622 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18623   conftest.$ac_objext conftest.beam conftest.$ac_ext
18624 fi
18625
18626 fi
18627 fi
18628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
18629 $as_echo "$ac_cv_header_stdc" >&6; }
18630 if test $ac_cv_header_stdc = yes; then
18631
18632 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
18633
18634 fi
18635
18636 for ac_header in unistd.h stdint.h sys/param.h netinet/in.h sys/mman.h
18637 do :
18638   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18639 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18640 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18641   cat >>confdefs.h <<_ACEOF
18642 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18643 _ACEOF
18644
18645 fi
18646
18647 done
18648
18649
18650
18651 default_max="4096"
18652 ac_ext=c
18653 ac_cpp='$CPP $CPPFLAGS'
18654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18657
18658
18659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
18660 $as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
18661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18662 /* end confdefs.h.  */
18663
18664 #include <limits.h>
18665
18666 int
18667 main ()
18668 {
18669
18670 int i = PATH_MAX;
18671
18672   ;
18673   return 0;
18674 }
18675 _ACEOF
18676 if ac_fn_c_try_compile "$LINENO"; then :
18677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18678 $as_echo "yes" >&6; }
18679 else
18680
18681
18682 cat >>confdefs.h <<_ACEOF
18683 #define PATH_MAX ${default_max}
18684 _ACEOF
18685
18686     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
18687 $as_echo "no: using ${default_max}" >&6; }
18688
18689 fi
18690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18691
18692 ac_ext=c
18693 ac_cpp='$CPP $CPPFLAGS'
18694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18697
18698
18699
18700
18701 ### Checks for types
18702 ac_fn_c_check_type "$LINENO" "struct sigaction" "ac_cv_type_struct_sigaction" "#include <signal.h>
18703 "
18704 if test "x$ac_cv_type_struct_sigaction" = x""yes; then :
18705
18706 cat >>confdefs.h <<_ACEOF
18707 #define HAVE_STRUCT_SIGACTION 1
18708 _ACEOF
18709
18710
18711 fi
18712
18713
18714
18715 ### Checks for structures
18716
18717
18718 ### Checks for compiler characteristics
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
18720 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
18721 if test "${ac_cv_c_const+set}" = set; then :
18722   $as_echo_n "(cached) " >&6
18723 else
18724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18725 /* end confdefs.h.  */
18726
18727 int
18728 main ()
18729 {
18730 /* FIXME: Include the comments suggested by Paul. */
18731 #ifndef __cplusplus
18732   /* Ultrix mips cc rejects this.  */
18733   typedef int charset[2];
18734   const charset cs;
18735   /* SunOS 4.1.1 cc rejects this.  */
18736   char const *const *pcpcc;
18737   char **ppc;
18738   /* NEC SVR4.0.2 mips cc rejects this.  */
18739   struct point {int x, y;};
18740   static struct point const zero = {0,0};
18741   /* AIX XL C 1.02.0.0 rejects this.
18742      It does not let you subtract one const X* pointer from another in
18743      an arm of an if-expression whose if-part is not a constant
18744      expression */
18745   const char *g = "string";
18746   pcpcc = &g + (g ? g-g : 0);
18747   /* HPUX 7.0 cc rejects these. */
18748   ++pcpcc;
18749   ppc = (char**) pcpcc;
18750   pcpcc = (char const *const *) ppc;
18751   { /* SCO 3.2v4 cc rejects this.  */
18752     char *t;
18753     char const *s = 0 ? (char *) 0 : (char const *) 0;
18754
18755     *t++ = 0;
18756     if (s) return 0;
18757   }
18758   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
18759     int x[] = {25, 17};
18760     const int *foo = &x[0];
18761     ++foo;
18762   }
18763   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18764     typedef const int *iptr;
18765     iptr p = 0;
18766     ++p;
18767   }
18768   { /* AIX XL C 1.02.0.0 rejects this saying
18769        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18770     struct s { int j; const int *ap[3]; };
18771     struct s *b; b->j = 5;
18772   }
18773   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18774     const int foo = 10;
18775     if (!foo) return 0;
18776   }
18777   return !cs[0] && !zero.x;
18778 #endif
18779
18780   ;
18781   return 0;
18782 }
18783 _ACEOF
18784 if ac_fn_c_try_compile "$LINENO"; then :
18785   ac_cv_c_const=yes
18786 else
18787   ac_cv_c_const=no
18788 fi
18789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18790 fi
18791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
18792 $as_echo "$ac_cv_c_const" >&6; }
18793 if test $ac_cv_c_const = no; then
18794
18795 $as_echo "#define const /**/" >>confdefs.h
18796
18797 fi
18798
18799  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
18800 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
18801 if test "${ac_cv_c_bigendian+set}" = set; then :
18802   $as_echo_n "(cached) " >&6
18803 else
18804   ac_cv_c_bigendian=unknown
18805     # See if we're dealing with a universal compiler.
18806     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18807 /* end confdefs.h.  */
18808 #ifndef __APPLE_CC__
18809                not a universal capable compiler
18810              #endif
18811              typedef int dummy;
18812
18813 _ACEOF
18814 if ac_fn_c_try_compile "$LINENO"; then :
18815
18816         # Check for potential -arch flags.  It is not universal unless
18817         # there are at least two -arch flags with different values.
18818         ac_arch=
18819         ac_prev=
18820         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
18821          if test -n "$ac_prev"; then
18822            case $ac_word in
18823              i?86 | x86_64 | ppc | ppc64)
18824                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
18825                  ac_arch=$ac_word
18826                else
18827                  ac_cv_c_bigendian=universal
18828                  break
18829                fi
18830                ;;
18831            esac
18832            ac_prev=
18833          elif test "x$ac_word" = "x-arch"; then
18834            ac_prev=arch
18835          fi
18836        done
18837 fi
18838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18839     if test $ac_cv_c_bigendian = unknown; then
18840       # See if sys/param.h defines the BYTE_ORDER macro.
18841       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18842 /* end confdefs.h.  */
18843 #include <sys/types.h>
18844              #include <sys/param.h>
18845
18846 int
18847 main ()
18848 {
18849 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
18850                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
18851                      && LITTLE_ENDIAN)
18852               bogus endian macros
18853              #endif
18854
18855   ;
18856   return 0;
18857 }
18858 _ACEOF
18859 if ac_fn_c_try_compile "$LINENO"; then :
18860   # It does; now see whether it defined to BIG_ENDIAN or not.
18861          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18862 /* end confdefs.h.  */
18863 #include <sys/types.h>
18864                 #include <sys/param.h>
18865
18866 int
18867 main ()
18868 {
18869 #if BYTE_ORDER != BIG_ENDIAN
18870                  not big endian
18871                 #endif
18872
18873   ;
18874   return 0;
18875 }
18876 _ACEOF
18877 if ac_fn_c_try_compile "$LINENO"; then :
18878   ac_cv_c_bigendian=yes
18879 else
18880   ac_cv_c_bigendian=no
18881 fi
18882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18883 fi
18884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18885     fi
18886     if test $ac_cv_c_bigendian = unknown; then
18887       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
18888       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18889 /* end confdefs.h.  */
18890 #include <limits.h>
18891
18892 int
18893 main ()
18894 {
18895 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
18896               bogus endian macros
18897              #endif
18898
18899   ;
18900   return 0;
18901 }
18902 _ACEOF
18903 if ac_fn_c_try_compile "$LINENO"; then :
18904   # It does; now see whether it defined to _BIG_ENDIAN or not.
18905          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18906 /* end confdefs.h.  */
18907 #include <limits.h>
18908
18909 int
18910 main ()
18911 {
18912 #ifndef _BIG_ENDIAN
18913                  not big endian
18914                 #endif
18915
18916   ;
18917   return 0;
18918 }
18919 _ACEOF
18920 if ac_fn_c_try_compile "$LINENO"; then :
18921   ac_cv_c_bigendian=yes
18922 else
18923   ac_cv_c_bigendian=no
18924 fi
18925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18926 fi
18927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18928     fi
18929     if test $ac_cv_c_bigendian = unknown; then
18930       # Compile a test program.
18931       if test "$cross_compiling" = yes; then :
18932   # Try to guess by grepping values from an object file.
18933          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18934 /* end confdefs.h.  */
18935 short int ascii_mm[] =
18936                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
18937                 short int ascii_ii[] =
18938                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
18939                 int use_ascii (int i) {
18940                   return ascii_mm[i] + ascii_ii[i];
18941                 }
18942                 short int ebcdic_ii[] =
18943                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
18944                 short int ebcdic_mm[] =
18945                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
18946                 int use_ebcdic (int i) {
18947                   return ebcdic_mm[i] + ebcdic_ii[i];
18948                 }
18949                 extern int foo;
18950
18951 int
18952 main ()
18953 {
18954 return use_ascii (foo) == use_ebcdic (foo);
18955   ;
18956   return 0;
18957 }
18958 _ACEOF
18959 if ac_fn_c_try_compile "$LINENO"; then :
18960   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
18961               ac_cv_c_bigendian=yes
18962             fi
18963             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
18964               if test "$ac_cv_c_bigendian" = unknown; then
18965                 ac_cv_c_bigendian=no
18966               else
18967                 # finding both strings is unlikely to happen, but who knows?
18968                 ac_cv_c_bigendian=unknown
18969               fi
18970             fi
18971 fi
18972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18973 else
18974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18975 /* end confdefs.h.  */
18976 $ac_includes_default
18977 int
18978 main ()
18979 {
18980
18981              /* Are we little or big endian?  From Harbison&Steele.  */
18982              union
18983              {
18984                long int l;
18985                char c[sizeof (long int)];
18986              } u;
18987              u.l = 1;
18988              return u.c[sizeof (long int) - 1] == 1;
18989
18990   ;
18991   return 0;
18992 }
18993 _ACEOF
18994 if ac_fn_c_try_run "$LINENO"; then :
18995   ac_cv_c_bigendian=no
18996 else
18997   ac_cv_c_bigendian=yes
18998 fi
18999 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19000   conftest.$ac_objext conftest.beam conftest.$ac_ext
19001 fi
19002
19003     fi
19004 fi
19005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
19006 $as_echo "$ac_cv_c_bigendian" >&6; }
19007  case $ac_cv_c_bigendian in #(
19008    yes)
19009      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
19010 ;; #(
19011    no)
19012       ;; #(
19013    universal)
19014
19015 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
19016
19017      ;; #(
19018    *)
19019      as_fn_error $? "unknown endianness
19020  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5  ;;
19021  esac
19022
19023    case $ac_cv_prog_cc_stdc in #(
19024   no) :
19025     ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
19026   *) :
19027     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
19028 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
19029 if test "${ac_cv_prog_cc_c99+set}" = set; then :
19030   $as_echo_n "(cached) " >&6
19031 else
19032   ac_cv_prog_cc_c99=no
19033 ac_save_CC=$CC
19034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19035 /* end confdefs.h.  */
19036 #include <stdarg.h>
19037 #include <stdbool.h>
19038 #include <stdlib.h>
19039 #include <wchar.h>
19040 #include <stdio.h>
19041
19042 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
19043 #define debug(...) fprintf (stderr, __VA_ARGS__)
19044 #define showlist(...) puts (#__VA_ARGS__)
19045 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
19046 static void
19047 test_varargs_macros (void)
19048 {
19049   int x = 1234;
19050   int y = 5678;
19051   debug ("Flag");
19052   debug ("X = %d\n", x);
19053   showlist (The first, second, and third items.);
19054   report (x>y, "x is %d but y is %d", x, y);
19055 }
19056
19057 // Check long long types.
19058 #define BIG64 18446744073709551615ull
19059 #define BIG32 4294967295ul
19060 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
19061 #if !BIG_OK
19062   your preprocessor is broken;
19063 #endif
19064 #if BIG_OK
19065 #else
19066   your preprocessor is broken;
19067 #endif
19068 static long long int bignum = -9223372036854775807LL;
19069 static unsigned long long int ubignum = BIG64;
19070
19071 struct incomplete_array
19072 {
19073   int datasize;
19074   double data[];
19075 };
19076
19077 struct named_init {
19078   int number;
19079   const wchar_t *name;
19080   double average;
19081 };
19082
19083 typedef const char *ccp;
19084
19085 static inline int
19086 test_restrict (ccp restrict text)
19087 {
19088   // See if C++-style comments work.
19089   // Iterate through items via the restricted pointer.
19090   // Also check for declarations in for loops.
19091   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
19092     continue;
19093   return 0;
19094 }
19095
19096 // Check varargs and va_copy.
19097 static void
19098 test_varargs (const char *format, ...)
19099 {
19100   va_list args;
19101   va_start (args, format);
19102   va_list args_copy;
19103   va_copy (args_copy, args);
19104
19105   const char *str;
19106   int number;
19107   float fnumber;
19108
19109   while (*format)
19110     {
19111       switch (*format++)
19112         {
19113         case 's': // string
19114           str = va_arg (args_copy, const char *);
19115           break;
19116         case 'd': // int
19117           number = va_arg (args_copy, int);
19118           break;
19119         case 'f': // float
19120           fnumber = va_arg (args_copy, double);
19121           break;
19122         default:
19123           break;
19124         }
19125     }
19126   va_end (args_copy);
19127   va_end (args);
19128 }
19129
19130 int
19131 main ()
19132 {
19133
19134   // Check bool.
19135   _Bool success = false;
19136
19137   // Check restrict.
19138   if (test_restrict ("String literal") == 0)
19139     success = true;
19140   char *restrict newvar = "Another string";
19141
19142   // Check varargs.
19143   test_varargs ("s, d' f .", "string", 65, 34.234);
19144   test_varargs_macros ();
19145
19146   // Check flexible array members.
19147   struct incomplete_array *ia =
19148     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
19149   ia->datasize = 10;
19150   for (int i = 0; i < ia->datasize; ++i)
19151     ia->data[i] = i * 1.234;
19152
19153   // Check named initializers.
19154   struct named_init ni = {
19155     .number = 34,
19156     .name = L"Test wide string",
19157     .average = 543.34343,
19158   };
19159
19160   ni.number = 58;
19161
19162   int dynamic_array[ni.number];
19163   dynamic_array[ni.number - 1] = 543;
19164
19165   // work around unused variable warnings
19166   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
19167           || dynamic_array[ni.number - 1] != 543);
19168
19169   ;
19170   return 0;
19171 }
19172 _ACEOF
19173 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
19174 do
19175   CC="$ac_save_CC $ac_arg"
19176   if ac_fn_c_try_compile "$LINENO"; then :
19177   ac_cv_prog_cc_c99=$ac_arg
19178 fi
19179 rm -f core conftest.err conftest.$ac_objext
19180   test "x$ac_cv_prog_cc_c99" != "xno" && break
19181 done
19182 rm -f conftest.$ac_ext
19183 CC=$ac_save_CC
19184
19185 fi
19186 # AC_CACHE_VAL
19187 case "x$ac_cv_prog_cc_c99" in
19188   x)
19189     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
19190 $as_echo "none needed" >&6; } ;;
19191   xno)
19192     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
19193 $as_echo "unsupported" >&6; } ;;
19194   *)
19195     CC="$CC $ac_cv_prog_cc_c99"
19196     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
19197 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
19198 esac
19199 if test "x$ac_cv_prog_cc_c99" != xno; then :
19200   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
19201 else
19202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
19203 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
19204 if test "${ac_cv_prog_cc_c89+set}" = set; then :
19205   $as_echo_n "(cached) " >&6
19206 else
19207   ac_cv_prog_cc_c89=no
19208 ac_save_CC=$CC
19209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19210 /* end confdefs.h.  */
19211 #include <stdarg.h>
19212 #include <stdio.h>
19213 #include <sys/types.h>
19214 #include <sys/stat.h>
19215 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
19216 struct buf { int x; };
19217 FILE * (*rcsopen) (struct buf *, struct stat *, int);
19218 static char *e (p, i)
19219      char **p;
19220      int i;
19221 {
19222   return p[i];
19223 }
19224 static char *f (char * (*g) (char **, int), char **p, ...)
19225 {
19226   char *s;
19227   va_list v;
19228   va_start (v,p);
19229   s = g (p, va_arg (v,int));
19230   va_end (v);
19231   return s;
19232 }
19233
19234 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
19235    function prototypes and stuff, but not '\xHH' hex character constants.
19236    These don't provoke an error unfortunately, instead are silently treated
19237    as 'x'.  The following induces an error, until -std is added to get
19238    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
19239    array size at least.  It's necessary to write '\x00'==0 to get something
19240    that's true only with -std.  */
19241 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
19242
19243 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
19244    inside strings and character constants.  */
19245 #define FOO(x) 'x'
19246 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
19247
19248 int test (int i, double x);
19249 struct s1 {int (*f) (int a);};
19250 struct s2 {int (*f) (double a);};
19251 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
19252 int argc;
19253 char **argv;
19254 int
19255 main ()
19256 {
19257 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
19258   ;
19259   return 0;
19260 }
19261 _ACEOF
19262 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
19263         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
19264 do
19265   CC="$ac_save_CC $ac_arg"
19266   if ac_fn_c_try_compile "$LINENO"; then :
19267   ac_cv_prog_cc_c89=$ac_arg
19268 fi
19269 rm -f core conftest.err conftest.$ac_objext
19270   test "x$ac_cv_prog_cc_c89" != "xno" && break
19271 done
19272 rm -f conftest.$ac_ext
19273 CC=$ac_save_CC
19274
19275 fi
19276 # AC_CACHE_VAL
19277 case "x$ac_cv_prog_cc_c89" in
19278   x)
19279     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
19280 $as_echo "none needed" >&6; } ;;
19281   xno)
19282     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
19283 $as_echo "unsupported" >&6; } ;;
19284   *)
19285     CC="$CC $ac_cv_prog_cc_c89"
19286     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
19287 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
19288 esac
19289 if test "x$ac_cv_prog_cc_c89" != xno; then :
19290   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
19291 else
19292   ac_cv_prog_cc_stdc=no
19293 fi
19294
19295 fi
19296  ;;
19297 esac
19298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
19299 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
19300   if test "${ac_cv_prog_cc_stdc+set}" = set; then :
19301   $as_echo_n "(cached) " >&6
19302 fi
19303
19304   case $ac_cv_prog_cc_stdc in #(
19305   no) :
19306     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
19307 $as_echo "unsupported" >&6; } ;; #(
19308   '') :
19309     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
19310 $as_echo "none needed" >&6; } ;; #(
19311   *) :
19312     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
19313 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
19314 esac
19315
19316
19317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__ ((unused))" >&5
19318 $as_echo_n "checking for __attribute__ ((unused))... " >&6; }
19319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19320 /* end confdefs.h.  */
19321
19322 void foo(int x __attribute__ ((unused))) {}
19323
19324 int
19325 main ()
19326 {
19327
19328
19329   ;
19330   return 0;
19331 }
19332 _ACEOF
19333 if ac_fn_c_try_compile "$LINENO"; then :
19334   have_attribute_unused="yes"
19335 else
19336   have_attribute_unused="no"
19337 fi
19338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_unused}" >&5
19340 $as_echo "${have_attribute_unused}" >&6; }
19341
19342 if test "x${have_attribute_unused}" = "xyes" ; then
19343
19344 $as_echo "#define __UNUSED__ __attribute__ ((unused))" >>confdefs.h
19345
19346 else
19347
19348 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
19349
19350 fi
19351
19352
19353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__ ((vector))" >&5
19354 $as_echo_n "checking for __attribute__ ((vector))... " >&6; }
19355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19356 /* end confdefs.h.  */
19357
19358 typedef int v4si __attribute__ ((vector_size (16)));
19359
19360 int
19361 main ()
19362 {
19363
19364 if (sizeof(v4si) == 16)
19365   return 0;
19366 else
19367   return -1;
19368
19369   ;
19370   return 0;
19371 }
19372 _ACEOF
19373 if ac_fn_c_try_compile "$LINENO"; then :
19374   have_attribute_vector="yes"
19375 else
19376   have_attribute_vector="no"
19377 fi
19378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_vector}" >&5
19380 $as_echo "${have_attribute_vector}" >&6; }
19381
19382 if test "x${have_attribute_vector}" = "xyes" ; then
19383
19384 $as_echo "#define HAVE_GCC_ATTRIBUTE_VECTOR 1" >>confdefs.h
19385
19386 fi
19387
19388
19389
19390 have_attribute_forceinline="no"
19391
19392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __forceinline" >&5
19393 $as_echo_n "checking for __forceinline... " >&6; }
19394
19395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19396 /* end confdefs.h.  */
19397
19398 #include <windows.h>
19399 static __forceinline void foo(void) {}
19400
19401 int
19402 main ()
19403 {
19404
19405
19406   ;
19407   return 0;
19408 }
19409 _ACEOF
19410 if ac_fn_c_try_compile "$LINENO"; then :
19411
19412     have_attribute_always_inline="yes"
19413     have_attribute_forceinline="yes"
19414
19415 else
19416   have_attribute_always_inline="no"
19417 fi
19418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19419
19420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_always_inline}" >&5
19421 $as_echo "${have_attribute_always_inline}" >&6; }
19422
19423 if test "x${have_attribute_always_inline}" = "xno" ; then
19424    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__ ((__always_inline__))" >&5
19425 $as_echo_n "checking for __attribute__ ((__always_inline__))... " >&6; }
19426    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19427 /* end confdefs.h.  */
19428
19429 static __attribute__((__always_inline__)) inline void foo(void) {}
19430
19431 int
19432 main ()
19433 {
19434
19435
19436   ;
19437   return 0;
19438 }
19439 _ACEOF
19440 if ac_fn_c_try_compile "$LINENO"; then :
19441   have_attribute_always_inline="yes"
19442 else
19443   have_attribute_always_inline="no"
19444 fi
19445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19446    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_always_inline}" >&5
19447 $as_echo "${have_attribute_always_inline}" >&6; }
19448 fi
19449
19450 if test "x${have_attribute_always_inline}" = "xyes" ; then
19451    if test "x${have_attribute_forceinline}" = "xyes" ; then
19452
19453 $as_echo "#define EFL_ALWAYS_INLINE __forceinline" >>confdefs.h
19454
19455    else
19456
19457 $as_echo "#define EFL_ALWAYS_INLINE __attribute__ ((__always_inline__)) inline" >>confdefs.h
19458
19459    fi
19460 else
19461
19462 $as_echo "#define EFL_ALWAYS_INLINE static inline" >>confdefs.h
19463
19464 fi
19465
19466
19467
19468 ### Checks for linker characteristics
19469 lt_enable_auto_import=""
19470 case "${host_os}" in
19471    mingw*)
19472
19473 $as_echo "#define EFL_EVAS_BUILD 1" >>confdefs.h
19474
19475       lt_enable_auto_import="-Wl,--enable-auto-import"
19476    ;;
19477 esac
19478
19479
19480
19481 ### Checks for library functions
19482
19483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
19484 $as_echo_n "checking for library containing strerror... " >&6; }
19485 if test "${ac_cv_search_strerror+set}" = set; then :
19486   $as_echo_n "(cached) " >&6
19487 else
19488   ac_func_search_save_LIBS=$LIBS
19489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19490 /* end confdefs.h.  */
19491
19492 /* Override any GCC internal prototype to avoid an error.
19493    Use char because int might match the return type of a GCC
19494    builtin and then its argument prototype would still apply.  */
19495 #ifdef __cplusplus
19496 extern "C"
19497 #endif
19498 char strerror ();
19499 int
19500 main ()
19501 {
19502 return strerror ();
19503   ;
19504   return 0;
19505 }
19506 _ACEOF
19507 for ac_lib in '' cposix; do
19508   if test -z "$ac_lib"; then
19509     ac_res="none required"
19510   else
19511     ac_res=-l$ac_lib
19512     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19513   fi
19514   if ac_fn_c_try_link "$LINENO"; then :
19515   ac_cv_search_strerror=$ac_res
19516 fi
19517 rm -f core conftest.err conftest.$ac_objext \
19518     conftest$ac_exeext
19519   if test "${ac_cv_search_strerror+set}" = set; then :
19520   break
19521 fi
19522 done
19523 if test "${ac_cv_search_strerror+set}" = set; then :
19524
19525 else
19526   ac_cv_search_strerror=no
19527 fi
19528 rm conftest.$ac_ext
19529 LIBS=$ac_func_search_save_LIBS
19530 fi
19531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
19532 $as_echo "$ac_cv_search_strerror" >&6; }
19533 ac_res=$ac_cv_search_strerror
19534 if test "$ac_res" != no; then :
19535   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19536
19537 fi
19538
19539 for ac_func in siglongjmp
19540 do :
19541   ac_fn_c_check_func "$LINENO" "siglongjmp" "ac_cv_func_siglongjmp"
19542 if test "x$ac_cv_func_siglongjmp" = x""yes; then :
19543   cat >>confdefs.h <<_ACEOF
19544 #define HAVE_SIGLONGJMP 1
19545 _ACEOF
19546
19547 fi
19548 done
19549
19550
19551 # alloca
19552 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
19553 # for constant arguments.  Useless!
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
19555 $as_echo_n "checking for working alloca.h... " >&6; }
19556 if test "${ac_cv_working_alloca_h+set}" = set; then :
19557   $as_echo_n "(cached) " >&6
19558 else
19559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19560 /* end confdefs.h.  */
19561 #include <alloca.h>
19562 int
19563 main ()
19564 {
19565 char *p = (char *) alloca (2 * sizeof (int));
19566                           if (p) return 0;
19567   ;
19568   return 0;
19569 }
19570 _ACEOF
19571 if ac_fn_c_try_link "$LINENO"; then :
19572   ac_cv_working_alloca_h=yes
19573 else
19574   ac_cv_working_alloca_h=no
19575 fi
19576 rm -f core conftest.err conftest.$ac_objext \
19577     conftest$ac_exeext conftest.$ac_ext
19578 fi
19579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
19580 $as_echo "$ac_cv_working_alloca_h" >&6; }
19581 if test $ac_cv_working_alloca_h = yes; then
19582
19583 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
19584
19585 fi
19586
19587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
19588 $as_echo_n "checking for alloca... " >&6; }
19589 if test "${ac_cv_func_alloca_works+set}" = set; then :
19590   $as_echo_n "(cached) " >&6
19591 else
19592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19593 /* end confdefs.h.  */
19594 #ifdef __GNUC__
19595 # define alloca __builtin_alloca
19596 #else
19597 # ifdef _MSC_VER
19598 #  include <malloc.h>
19599 #  define alloca _alloca
19600 # else
19601 #  ifdef HAVE_ALLOCA_H
19602 #   include <alloca.h>
19603 #  else
19604 #   ifdef _AIX
19605  #pragma alloca
19606 #   else
19607 #    ifndef alloca /* predefined by HP cc +Olibcalls */
19608 char *alloca ();
19609 #    endif
19610 #   endif
19611 #  endif
19612 # endif
19613 #endif
19614
19615 int
19616 main ()
19617 {
19618 char *p = (char *) alloca (1);
19619                                     if (p) return 0;
19620   ;
19621   return 0;
19622 }
19623 _ACEOF
19624 if ac_fn_c_try_link "$LINENO"; then :
19625   ac_cv_func_alloca_works=yes
19626 else
19627   ac_cv_func_alloca_works=no
19628 fi
19629 rm -f core conftest.err conftest.$ac_objext \
19630     conftest$ac_exeext conftest.$ac_ext
19631 fi
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
19633 $as_echo "$ac_cv_func_alloca_works" >&6; }
19634
19635 if test $ac_cv_func_alloca_works = yes; then
19636
19637 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
19638
19639 else
19640   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
19641 # that cause trouble.  Some versions do not even contain alloca or
19642 # contain a buggy version.  If you still want to use their alloca,
19643 # use ar to extract alloca.o from them instead of compiling alloca.c.
19644
19645 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
19646
19647 $as_echo "#define C_ALLOCA 1" >>confdefs.h
19648
19649
19650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
19651 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
19652 if test "${ac_cv_os_cray+set}" = set; then :
19653   $as_echo_n "(cached) " >&6
19654 else
19655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19656 /* end confdefs.h.  */
19657 #if defined CRAY && ! defined CRAY2
19658 webecray
19659 #else
19660 wenotbecray
19661 #endif
19662
19663 _ACEOF
19664 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19665   $EGREP "webecray" >/dev/null 2>&1; then :
19666   ac_cv_os_cray=yes
19667 else
19668   ac_cv_os_cray=no
19669 fi
19670 rm -f conftest*
19671
19672 fi
19673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
19674 $as_echo "$ac_cv_os_cray" >&6; }
19675 if test $ac_cv_os_cray = yes; then
19676   for ac_func in _getb67 GETB67 getb67; do
19677     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19678 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19679 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19680
19681 cat >>confdefs.h <<_ACEOF
19682 #define CRAY_STACKSEG_END $ac_func
19683 _ACEOF
19684
19685     break
19686 fi
19687
19688   done
19689 fi
19690
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
19692 $as_echo_n "checking stack direction for C alloca... " >&6; }
19693 if test "${ac_cv_c_stack_direction+set}" = set; then :
19694   $as_echo_n "(cached) " >&6
19695 else
19696   if test "$cross_compiling" = yes; then :
19697   ac_cv_c_stack_direction=0
19698 else
19699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19700 /* end confdefs.h.  */
19701 $ac_includes_default
19702 int
19703 find_stack_direction ()
19704 {
19705   static char *addr = 0;
19706   auto char dummy;
19707   if (addr == 0)
19708     {
19709       addr = &dummy;
19710       return find_stack_direction ();
19711     }
19712   else
19713     return (&dummy > addr) ? 1 : -1;
19714 }
19715
19716 int
19717 main ()
19718 {
19719   return find_stack_direction () < 0;
19720 }
19721 _ACEOF
19722 if ac_fn_c_try_run "$LINENO"; then :
19723   ac_cv_c_stack_direction=1
19724 else
19725   ac_cv_c_stack_direction=-1
19726 fi
19727 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19728   conftest.$ac_objext conftest.beam conftest.$ac_ext
19729 fi
19730
19731 fi
19732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
19733 $as_echo "$ac_cv_c_stack_direction" >&6; }
19734 cat >>confdefs.h <<_ACEOF
19735 #define STACK_DIRECTION $ac_cv_c_stack_direction
19736 _ACEOF
19737
19738
19739 fi
19740
19741
19742 # fnmatch
19743
19744
19745 ac_fn_c_check_header_mongrel "$LINENO" "fnmatch.h" "ac_cv_header_fnmatch_h" "$ac_includes_default"
19746 if test "x$ac_cv_header_fnmatch_h" = x""yes; then :
19747   _efl_have_fnmatch="yes"
19748 else
19749   _efl_have_fnmatch="no"
19750 fi
19751
19752
19753
19754 if test "x${_efl_have_fnmatch}" = "xyes" ; then
19755    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fnmatch" >&5
19756 $as_echo_n "checking for library containing fnmatch... " >&6; }
19757 if test "${ac_cv_search_fnmatch+set}" = set; then :
19758   $as_echo_n "(cached) " >&6
19759 else
19760   ac_func_search_save_LIBS=$LIBS
19761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19762 /* end confdefs.h.  */
19763
19764 /* Override any GCC internal prototype to avoid an error.
19765    Use char because int might match the return type of a GCC
19766    builtin and then its argument prototype would still apply.  */
19767 #ifdef __cplusplus
19768 extern "C"
19769 #endif
19770 char fnmatch ();
19771 int
19772 main ()
19773 {
19774 return fnmatch ();
19775   ;
19776   return 0;
19777 }
19778 _ACEOF
19779 for ac_lib in '' fnmatch evil exotic iberty; do
19780   if test -z "$ac_lib"; then
19781     ac_res="none required"
19782   else
19783     ac_res=-l$ac_lib
19784     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19785   fi
19786   if ac_fn_c_try_link "$LINENO"; then :
19787   ac_cv_search_fnmatch=$ac_res
19788 fi
19789 rm -f core conftest.err conftest.$ac_objext \
19790     conftest$ac_exeext
19791   if test "${ac_cv_search_fnmatch+set}" = set; then :
19792   break
19793 fi
19794 done
19795 if test "${ac_cv_search_fnmatch+set}" = set; then :
19796
19797 else
19798   ac_cv_search_fnmatch=no
19799 fi
19800 rm conftest.$ac_ext
19801 LIBS=$ac_func_search_save_LIBS
19802 fi
19803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fnmatch" >&5
19804 $as_echo "$ac_cv_search_fnmatch" >&6; }
19805 ac_res=$ac_cv_search_fnmatch
19806 if test "$ac_res" != no; then :
19807   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19808   _efl_have_fnmatch="yes"
19809 else
19810   _efl_have_fnmatch="no"
19811 fi
19812
19813 fi
19814
19815 EFL_FNMATCH_LIBS=""
19816
19817 if (! test "x${ac_cv_search_fnmatch}" = "xnone required") && (! test "x${ac_cv_search_fnmatch}" = "xno") && (! test "x${ac_cv_search_fnmatch}" = "x-levil") ; then
19818    EFL_FNMATCH_LIBS=${ac_cv_search_fnmatch}
19819 fi
19820
19821
19822
19823 if test "x$_efl_have_fnmatch" = "xyes"; then :
19824
19825 else
19826   as_fn_error $? "Cannot find fnmatch()" "$LINENO" 5
19827 fi
19828
19829
19830
19831 # dlopen
19832 dlopen_libs=""
19833 case "$host_os" in
19834   mingw32ce*)
19835 # managed by evil
19836     $as_echo "#define HAVE_DLSYM 1" >>confdefs.h
19837
19838   ;;
19839   mingw*)
19840 # nothing on mingw platform
19841   ;;
19842   *)
19843     for ac_func in dlsym
19844 do :
19845   ac_fn_c_check_func "$LINENO" "dlsym" "ac_cv_func_dlsym"
19846 if test "x$ac_cv_func_dlsym" = x""yes; then :
19847   cat >>confdefs.h <<_ACEOF
19848 #define HAVE_DLSYM 1
19849 _ACEOF
19850  res=yes
19851 else
19852   res=no
19853 fi
19854 done
19855
19856     if test "x$res" = "xyes"; then
19857       $as_echo "#define HAVE_DLSYM 1" >>confdefs.h
19858
19859     else
19860       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
19861 $as_echo_n "checking for dlsym in -ldl... " >&6; }
19862 if test "${ac_cv_lib_dl_dlsym+set}" = set; then :
19863   $as_echo_n "(cached) " >&6
19864 else
19865   ac_check_lib_save_LIBS=$LIBS
19866 LIBS="-ldl  $LIBS"
19867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19868 /* end confdefs.h.  */
19869
19870 /* Override any GCC internal prototype to avoid an error.
19871    Use char because int might match the return type of a GCC
19872    builtin and then its argument prototype would still apply.  */
19873 #ifdef __cplusplus
19874 extern "C"
19875 #endif
19876 char dlsym ();
19877 int
19878 main ()
19879 {
19880 return dlsym ();
19881   ;
19882   return 0;
19883 }
19884 _ACEOF
19885 if ac_fn_c_try_link "$LINENO"; then :
19886   ac_cv_lib_dl_dlsym=yes
19887 else
19888   ac_cv_lib_dl_dlsym=no
19889 fi
19890 rm -f core conftest.err conftest.$ac_objext \
19891     conftest$ac_exeext conftest.$ac_ext
19892 LIBS=$ac_check_lib_save_LIBS
19893 fi
19894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
19895 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
19896 if test "x$ac_cv_lib_dl_dlsym" = x""yes; then :
19897   res=yes
19898 else
19899   res=no
19900 fi
19901
19902       if test "x$res" = "xyes"; then
19903         dlopen_libs=-ldl
19904         $as_echo "#define HAVE_DLSYM 1" >>confdefs.h
19905
19906       else
19907         want_evas_engine_gl_xlib="no"
19908         want_evas_engine_gl_xcb="no"
19909         want_evas_engine_gl_sdl="no"
19910       fi
19911     fi
19912 esac
19913
19914
19915 res=no
19916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround in -lm" >&5
19917 $as_echo_n "checking for lround in -lm... " >&6; }
19918 if test "${ac_cv_lib_m_lround+set}" = set; then :
19919   $as_echo_n "(cached) " >&6
19920 else
19921   ac_check_lib_save_LIBS=$LIBS
19922 LIBS="-lm  $LIBS"
19923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19924 /* end confdefs.h.  */
19925
19926 /* Override any GCC internal prototype to avoid an error.
19927    Use char because int might match the return type of a GCC
19928    builtin and then its argument prototype would still apply.  */
19929 #ifdef __cplusplus
19930 extern "C"
19931 #endif
19932 char lround ();
19933 int
19934 main ()
19935 {
19936 return lround ();
19937   ;
19938   return 0;
19939 }
19940 _ACEOF
19941 if ac_fn_c_try_link "$LINENO"; then :
19942   ac_cv_lib_m_lround=yes
19943 else
19944   ac_cv_lib_m_lround=no
19945 fi
19946 rm -f core conftest.err conftest.$ac_objext \
19947     conftest$ac_exeext conftest.$ac_ext
19948 LIBS=$ac_check_lib_save_LIBS
19949 fi
19950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lround" >&5
19951 $as_echo "$ac_cv_lib_m_lround" >&6; }
19952 if test "x$ac_cv_lib_m_lround" = x""yes; then :
19953   res=yes
19954 else
19955   res=no
19956 fi
19957
19958 if test "x$res" = "xyes"; then
19959
19960 $as_echo "#define HAVE_LROUND 1" >>confdefs.h
19961
19962 fi
19963
19964 if test "x${want_evas_image_loader_generic}" = "xyes" ; then
19965
19966 _efl_have_shm_open="no"
19967
19968
19969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in libc" >&5
19970 $as_echo_n "checking for shm_open in libc... " >&6; }
19971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19972 /* end confdefs.h.  */
19973
19974 #include <sys/mman.h>
19975 #include <sys/stat.h>        /* For mode constants */
19976 #include <fcntl.h>           /* For O_* constants */
19977
19978 int
19979 main ()
19980 {
19981
19982 int fd;
19983
19984 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
19985
19986   ;
19987   return 0;
19988 }
19989 _ACEOF
19990 if ac_fn_c_try_link "$LINENO"; then :
19991   _efl_have_shm_open="yes"
19992 else
19993   _efl_have_shm_open="no"
19994 fi
19995 rm -f core conftest.err conftest.$ac_objext \
19996     conftest$ac_exeext conftest.$ac_ext
19997
19998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
19999 $as_echo "${_efl_have_shm_open}" >&6; }
20000
20001 if test "x${_efl_have_shm_open}" = "xno" ; then
20002    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in librt" >&5
20003 $as_echo_n "checking for shm_open in librt... " >&6; }
20004
20005    LIBS_save="${LIBS}"
20006    LIBS="${LIBS} -lrt"
20007    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20008 /* end confdefs.h.  */
20009
20010 #include <sys/mman.h>
20011 #include <sys/stat.h>        /* For mode constants */
20012 #include <fcntl.h>           /* For O_* constants */
20013
20014 int
20015 main ()
20016 {
20017
20018 int fd;
20019
20020 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
20021
20022   ;
20023   return 0;
20024 }
20025 _ACEOF
20026 if ac_fn_c_try_link "$LINENO"; then :
20027
20028        EFL_SHM_OPEN_LIBS="-lrt"
20029        _efl_have_shm_open="yes"
20030
20031 else
20032   _efl_have_shm_open="no"
20033 fi
20034 rm -f core conftest.err conftest.$ac_objext \
20035     conftest$ac_exeext conftest.$ac_ext
20036
20037    LIBS="${LIBS_save}"
20038
20039    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
20040 $as_echo "${_efl_have_shm_open}" >&6; }
20041 fi
20042
20043
20044
20045 if test "x${_efl_have_shm_open}" = "xyes" ; then
20046
20047 $as_echo "#define HAVE_SHM_OPEN 1" >>confdefs.h
20048
20049 fi
20050
20051 if test "x${_efl_have_shm_open}" = "xyes"; then :
20052
20053 fi
20054
20055
20056 fi
20057
20058 # (shm_open (for cache server)
20059 # Check whether --enable-evas-cserve was given.
20060 if test "${enable_evas_cserve+set}" = set; then :
20061   enableval=$enable_evas_cserve;
20062     if test "x${enableval}" = "xyes" ; then
20063        want_evas_cserve="yes"
20064     else
20065        want_evas_cserve="no"
20066     fi
20067
20068 fi
20069
20070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared cache server and support" >&5
20071 $as_echo_n "checking whether to build shared cache server and support... " >&6; }
20072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_evas_cserve}" >&5
20073 $as_echo "${want_evas_cserve}" >&6; }
20074
20075 # (shm_open (for cache server)
20076 # Check whether --enable-evas-cserve2 was given.
20077 if test "${enable_evas_cserve2+set}" = set; then :
20078   enableval=$enable_evas_cserve2;
20079     if test "x${enableval}" = "xyes" ; then
20080        want_evas_cserve2="yes"
20081     else
20082        want_evas_cserve2="no"
20083     fi
20084
20085 fi
20086
20087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared cache server 2 and support" >&5
20088 $as_echo_n "checking whether to build shared cache server 2 and support... " >&6; }
20089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_evas_cserve2}" >&5
20090 $as_echo "${want_evas_cserve2}" >&6; }
20091
20092 # cserve2 only works on Linux so far.
20093 if test "x${want_evas_cserve2}" = "xyes" ; then
20094    for ac_header in sys/epoll.h sys/inotify.h sys/signalfd.h
20095 do :
20096   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20097 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20098 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20099   cat >>confdefs.h <<_ACEOF
20100 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20101 _ACEOF
20102
20103 else
20104
20105        want_evas_cserve2="no"
20106
20107
20108 fi
20109
20110 done
20111
20112 fi
20113
20114 if test "x${want_evas_cserve2}" = "xyes"; then
20115    want_evas_cserve="no"
20116 fi
20117
20118 shm_open_libs=""
20119 if test "x${want_evas_cserve}" = "xyes" -o "x${want_evas_cserve2}" = "xyes" ; then
20120
20121 _efl_have_shm_open="no"
20122
20123
20124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in libc" >&5
20125 $as_echo_n "checking for shm_open in libc... " >&6; }
20126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20127 /* end confdefs.h.  */
20128
20129 #include <sys/mman.h>
20130 #include <sys/stat.h>        /* For mode constants */
20131 #include <fcntl.h>           /* For O_* constants */
20132
20133 int
20134 main ()
20135 {
20136
20137 int fd;
20138
20139 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
20140
20141   ;
20142   return 0;
20143 }
20144 _ACEOF
20145 if ac_fn_c_try_link "$LINENO"; then :
20146   _efl_have_shm_open="yes"
20147 else
20148   _efl_have_shm_open="no"
20149 fi
20150 rm -f core conftest.err conftest.$ac_objext \
20151     conftest$ac_exeext conftest.$ac_ext
20152
20153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
20154 $as_echo "${_efl_have_shm_open}" >&6; }
20155
20156 if test "x${_efl_have_shm_open}" = "xno" ; then
20157    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in librt" >&5
20158 $as_echo_n "checking for shm_open in librt... " >&6; }
20159
20160    LIBS_save="${LIBS}"
20161    LIBS="${LIBS} -lrt"
20162    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20163 /* end confdefs.h.  */
20164
20165 #include <sys/mman.h>
20166 #include <sys/stat.h>        /* For mode constants */
20167 #include <fcntl.h>           /* For O_* constants */
20168
20169 int
20170 main ()
20171 {
20172
20173 int fd;
20174
20175 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
20176
20177   ;
20178   return 0;
20179 }
20180 _ACEOF
20181 if ac_fn_c_try_link "$LINENO"; then :
20182
20183        EFL_SHM_OPEN_LIBS="-lrt"
20184        _efl_have_shm_open="yes"
20185
20186 else
20187   _efl_have_shm_open="no"
20188 fi
20189 rm -f core conftest.err conftest.$ac_objext \
20190     conftest$ac_exeext conftest.$ac_ext
20191
20192    LIBS="${LIBS_save}"
20193
20194    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
20195 $as_echo "${_efl_have_shm_open}" >&6; }
20196 fi
20197
20198
20199
20200 if test "x${_efl_have_shm_open}" = "xyes" ; then
20201
20202 $as_echo "#define HAVE_SHM_OPEN 1" >>confdefs.h
20203
20204 fi
20205
20206 if test "x${_efl_have_shm_open}" = "xyes"; then :
20207
20208        shm_open_libs=${EFL_SHM_OPEN_LIBS}
20209
20210 else
20211
20212        want_evas_cserve="no"
20213        want_evas_cserve2="no"
20214
20215 fi
20216
20217
20218 fi
20219
20220
20221 if test "x${want_evas_cserve}" = "xyes" ; then
20222
20223 $as_echo "#define EVAS_CSERVE 1" >>confdefs.h
20224
20225 fi
20226
20227  if test "x${want_evas_cserve}" = "xyes"; then
20228   EVAS_CSERVE_TRUE=
20229   EVAS_CSERVE_FALSE='#'
20230 else
20231   EVAS_CSERVE_TRUE='#'
20232   EVAS_CSERVE_FALSE=
20233 fi
20234
20235
20236 if test "x${want_evas_cserve2}" = "xyes" ; then
20237
20238 $as_echo "#define EVAS_CSERVE2 1" >>confdefs.h
20239
20240 fi
20241
20242  if test "x${want_evas_cserve2}" = "xyes"; then
20243   EVAS_CSERVE2_TRUE=
20244   EVAS_CSERVE2_FALSE='#'
20245 else
20246   EVAS_CSERVE2_TRUE='#'
20247   EVAS_CSERVE2_FALSE=
20248 fi
20249
20250
20251
20252
20253 #######################################
20254 ## GL force flavor gles
20255 gl_flavor_gles="no"
20256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build GLES flavor of GL" >&5
20257 $as_echo_n "checking whether to build GLES flavor of GL... " >&6; }
20258 # Check whether --enable-gl-flavor-gles was given.
20259 if test "${enable_gl_flavor_gles+set}" = set; then :
20260   enableval=$enable_gl_flavor_gles;
20261       if test "x$enableval" = "xyes" ; then
20262         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20263 $as_echo "yes" >&6; }
20264         gl_flavor_gles="yes"
20265       else
20266         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20267 $as_echo "no" >&6; }
20268         gl_flavor_gles="no"
20269       fi
20270
20271 else
20272
20273       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20274 $as_echo "no" >&6; }
20275       gl_flavor_gles="no"
20276
20277
20278 fi
20279
20280
20281 #######################################
20282 ## GLES variety sgx
20283 gles_variety_sgx="no"
20284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build GLES variety for SGX" >&5
20285 $as_echo_n "checking whether to build GLES variety for SGX... " >&6; }
20286 # Check whether --enable-gles-variety-sgx was given.
20287 if test "${enable_gles_variety_sgx+set}" = set; then :
20288   enableval=$enable_gles_variety_sgx;
20289       if test "x$enableval" = "xyes" ; then
20290         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20291 $as_echo "yes" >&6; }
20292
20293 $as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
20294
20295         gles_variety_sgx="yes"
20296       else
20297         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20298 $as_echo "no" >&6; }
20299         gles_variety_sgx="no"
20300       fi
20301
20302 else
20303
20304       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20305 $as_echo "no" >&6; }
20306       gles_variety_sgx="no"
20307
20308
20309 fi
20310
20311
20312 #######################################
20313 ## GLES variety s3c6410
20314 gles_variety_s3c6410="no"
20315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build GLES variety for s3c6410" >&5
20316 $as_echo_n "checking whether to build GLES variety for s3c6410... " >&6; }
20317 # Check whether --enable-gles-variety-s3c6410 was given.
20318 if test "${enable_gles_variety_s3c6410+set}" = set; then :
20319   enableval=$enable_gles_variety_s3c6410;
20320       if test "x$enableval" = "xyes" ; then
20321         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20322 $as_echo "yes" >&6; }
20323
20324 $as_echo "#define GLES_VARIETY_S3C6410 1" >>confdefs.h
20325
20326         gles_variety_s3c6410="yes"
20327       else
20328         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20329 $as_echo "no" >&6; }
20330         gles_variety_s3c6410="no"
20331       fi
20332
20333 else
20334
20335       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20336 $as_echo "no" >&6; }
20337       gles_variety_s3c6410="no"
20338
20339
20340 fi
20341
20342
20343 if test "x$gl_flavor_gles" = "xyes"; then
20344   eng=""
20345   if test "x$gles_variety_sgx" = "xyes"; then eng="x"$eng; fi
20346   if test "x$gles_variety_s3c6410" = "xyes"; then eng="x"$eng; fi
20347   if test "x$eng" = "xx"; then
20348     eng=""
20349   else
20350      as_fn_error $? "Please enable just 1 OpenGL-ES flavor. Choices are:
20351           --enable-gles-variety-sgx (Most GL-ES2 GPUs with shader compiler)
20352           --enable-gles-variety-s3c6410 (s3c6410 with offline shader compiler)
20353         You will also need to enable the OpenGL engine for X11 with:
20354           --enable-gl-xlib or --enable-gl-xcb
20355        " "$LINENO" 5
20356   fi
20357 fi
20358
20359 #####################################################################
20360 ## Engines
20361
20362
20363
20364
20365 want_engine="${want_evas_engine_buffer}"
20366 want_static_engine="no"
20367 have_engine="no"
20368 have_evas_engine_buffer="no"
20369
20370 # Check whether --enable-buffer was given.
20371 if test "${enable_buffer+set}" = set; then :
20372   enableval=$enable_buffer;
20373     if test "x${enableval}" = "xyes" ; then
20374        want_engine="yes"
20375     else
20376        if test "x${enableval}" = "xstatic" ; then
20377           want_engine="static"
20378        else
20379           want_engine="no"
20380        fi
20381     fi
20382
20383 fi
20384
20385
20386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Buffer rendering backend" >&5
20387 $as_echo_n "checking whether to enable Buffer rendering backend... " >&6; }
20388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
20389 $as_echo "${want_engine}" >&6; }
20390
20391 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
20392
20393
20394 have_dep="yes"
20395 evas_engine_buffer_cflags=""
20396 evas_engine_buffer_libs=""
20397
20398
20399
20400
20401 if test "x${have_dep}" = "xyes" ; then
20402   have_engine="yes"
20403 else
20404   have_engine="no"
20405 fi
20406
20407
20408 fi
20409
20410 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
20411    as_fn_error $? "Buffer dependencies not found (strict dependencies checking)" "$LINENO" 5
20412 fi
20413
20414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Buffer rendering backend will be built" >&5
20415 $as_echo_n "checking whether Buffer rendering backend will be built... " >&6; }
20416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
20417 $as_echo "${have_engine}" >&6; }
20418
20419 if test "x${have_engine}" = "xyes" ; then
20420    if test "x${want_engine}" = "xstatic" ; then
20421       have_evas_engine_buffer="static"
20422       want_static_engine="yes"
20423    else
20424       have_evas_engine_buffer="yes"
20425    fi
20426 fi
20427
20428 if test "x${have_engine}" = "xyes" ; then
20429
20430 $as_echo "#define BUILD_ENGINE_BUFFER 1" >>confdefs.h
20431
20432 fi
20433
20434  if test "x${have_engine}" = "xyes"; then
20435   BUILD_ENGINE_BUFFER_TRUE=
20436   BUILD_ENGINE_BUFFER_FALSE='#'
20437 else
20438   BUILD_ENGINE_BUFFER_TRUE='#'
20439   BUILD_ENGINE_BUFFER_FALSE=
20440 fi
20441
20442
20443 if test "x${want_static_engine}" = "xyes" ; then
20444
20445 $as_echo "#define EVAS_STATIC_BUILD_BUFFER 1" >>confdefs.h
20446
20447    have_static_module="yes"
20448 fi
20449
20450  if test "x${want_static_engine}" = "xyes"; then
20451   EVAS_STATIC_BUILD_BUFFER_TRUE=
20452   EVAS_STATIC_BUILD_BUFFER_FALSE='#'
20453 else
20454   EVAS_STATIC_BUILD_BUFFER_TRUE='#'
20455   EVAS_STATIC_BUILD_BUFFER_FALSE=
20456 fi
20457
20458
20459
20460
20461
20462
20463
20464
20465
20466
20467 want_engine="${want_evas_engine_software_gdi}"
20468 want_static_engine="no"
20469 have_engine="no"
20470 have_evas_engine_software_gdi="no"
20471
20472 # Check whether --enable-software-gdi was given.
20473 if test "${enable_software_gdi+set}" = set; then :
20474   enableval=$enable_software_gdi;
20475     if test "x${enableval}" = "xyes" ; then
20476        want_engine="yes"
20477     else
20478        if test "x${enableval}" = "xstatic" ; then
20479           want_engine="static"
20480        else
20481           want_engine="no"
20482        fi
20483     fi
20484
20485 fi
20486
20487
20488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software GDI rendering backend" >&5
20489 $as_echo_n "checking whether to enable Software GDI rendering backend... " >&6; }
20490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
20491 $as_echo "${want_engine}" >&6; }
20492
20493 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
20494
20495
20496 have_dep="no"
20497 evas_engine_software_gdi_cflags=""
20498 evas_engine_software_gdi_libs=""
20499
20500 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
20501 if test "x$ac_cv_header_windows_h" = x""yes; then :
20502
20503     have_dep="yes"
20504     evas_engine_software_gdi_libs="-lgdi32"
20505
20506
20507 fi
20508
20509
20510
20511
20512
20513
20514 if test "x${have_dep}" = "xyes" ; then
20515   have_engine="yes"
20516 else
20517   have_engine="no"
20518 fi
20519
20520
20521 fi
20522
20523 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
20524    as_fn_error $? "Software GDI dependencies not found (strict dependencies checking)" "$LINENO" 5
20525 fi
20526
20527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software GDI rendering backend will be built" >&5
20528 $as_echo_n "checking whether Software GDI rendering backend will be built... " >&6; }
20529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
20530 $as_echo "${have_engine}" >&6; }
20531
20532 if test "x${have_engine}" = "xyes" ; then
20533    if test "x${want_engine}" = "xstatic" ; then
20534       have_evas_engine_software_gdi="static"
20535       want_static_engine="yes"
20536    else
20537       have_evas_engine_software_gdi="yes"
20538    fi
20539 fi
20540
20541 if test "x${have_engine}" = "xyes" ; then
20542
20543 $as_echo "#define BUILD_ENGINE_SOFTWARE_GDI 1" >>confdefs.h
20544
20545 fi
20546
20547  if test "x${have_engine}" = "xyes"; then
20548   BUILD_ENGINE_SOFTWARE_GDI_TRUE=
20549   BUILD_ENGINE_SOFTWARE_GDI_FALSE='#'
20550 else
20551   BUILD_ENGINE_SOFTWARE_GDI_TRUE='#'
20552   BUILD_ENGINE_SOFTWARE_GDI_FALSE=
20553 fi
20554
20555
20556 if test "x${want_static_engine}" = "xyes" ; then
20557
20558 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_GDI 1" >>confdefs.h
20559
20560    have_static_module="yes"
20561 fi
20562
20563  if test "x${want_static_engine}" = "xyes"; then
20564   EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE=
20565   EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE='#'
20566 else
20567   EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE='#'
20568   EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE=
20569 fi
20570
20571
20572
20573
20574
20575
20576
20577
20578
20579
20580 want_engine="${want_evas_engine_software_ddraw}"
20581 want_static_engine="no"
20582 have_engine="no"
20583 have_evas_engine_software_ddraw="no"
20584
20585 # Check whether --enable-software-ddraw was given.
20586 if test "${enable_software_ddraw+set}" = set; then :
20587   enableval=$enable_software_ddraw;
20588     if test "x${enableval}" = "xyes" ; then
20589        want_engine="yes"
20590     else
20591        if test "x${enableval}" = "xstatic" ; then
20592           want_engine="static"
20593        else
20594           want_engine="no"
20595        fi
20596     fi
20597
20598 fi
20599
20600
20601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software DirectDraw rendering backend" >&5
20602 $as_echo_n "checking whether to enable Software DirectDraw rendering backend... " >&6; }
20603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
20604 $as_echo "${want_engine}" >&6; }
20605
20606 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
20607
20608
20609 have_dep="no"
20610 evas_engine_software_ddraw_cflags=""
20611 evas_engine_software_ddraw_libs=""
20612
20613 ac_fn_c_check_header_mongrel "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "$ac_includes_default"
20614 if test "x$ac_cv_header_ddraw_h" = x""yes; then :
20615
20616     have_dep="yes"
20617     evas_engine_software_ddraw_libs="-lddraw"
20618
20619
20620 fi
20621
20622
20623
20624
20625
20626
20627 if test "x${have_dep}" = "xyes" ; then
20628   have_engine="yes"
20629 else
20630   have_engine="no"
20631 fi
20632
20633
20634 fi
20635
20636 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
20637    as_fn_error $? "Software DirectDraw dependencies not found (strict dependencies checking)" "$LINENO" 5
20638 fi
20639
20640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software DirectDraw rendering backend will be built" >&5
20641 $as_echo_n "checking whether Software DirectDraw rendering backend will be built... " >&6; }
20642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
20643 $as_echo "${have_engine}" >&6; }
20644
20645 if test "x${have_engine}" = "xyes" ; then
20646    if test "x${want_engine}" = "xstatic" ; then
20647       have_evas_engine_software_ddraw="static"
20648       want_static_engine="yes"
20649    else
20650       have_evas_engine_software_ddraw="yes"
20651    fi
20652 fi
20653
20654 if test "x${have_engine}" = "xyes" ; then
20655
20656 $as_echo "#define BUILD_ENGINE_SOFTWARE_DDRAW 1" >>confdefs.h
20657
20658 fi
20659
20660  if test "x${have_engine}" = "xyes"; then
20661   BUILD_ENGINE_SOFTWARE_DDRAW_TRUE=
20662   BUILD_ENGINE_SOFTWARE_DDRAW_FALSE='#'
20663 else
20664   BUILD_ENGINE_SOFTWARE_DDRAW_TRUE='#'
20665   BUILD_ENGINE_SOFTWARE_DDRAW_FALSE=
20666 fi
20667
20668
20669 if test "x${want_static_engine}" = "xyes" ; then
20670
20671 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_DDRAW 1" >>confdefs.h
20672
20673    have_static_module="yes"
20674 fi
20675
20676  if test "x${want_static_engine}" = "xyes"; then
20677   EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE=
20678   EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE='#'
20679 else
20680   EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE='#'
20681   EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE=
20682 fi
20683
20684
20685
20686
20687
20688
20689
20690
20691
20692
20693 want_engine="${want_evas_engine_direct3d}"
20694 want_static_engine="no"
20695 have_engine="no"
20696 have_evas_engine_direct3d="no"
20697
20698 # Check whether --enable-direct3d was given.
20699 if test "${enable_direct3d+set}" = set; then :
20700   enableval=$enable_direct3d;
20701     if test "x${enableval}" = "xyes" ; then
20702        want_engine="yes"
20703     else
20704        if test "x${enableval}" = "xstatic" ; then
20705           want_engine="static"
20706        else
20707           want_engine="no"
20708        fi
20709     fi
20710
20711 fi
20712
20713
20714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Direct3D rendering backend" >&5
20715 $as_echo_n "checking whether to enable Direct3D rendering backend... " >&6; }
20716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
20717 $as_echo "${want_engine}" >&6; }
20718
20719 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
20720
20721
20722 evas_engine_direct3d_cflags=""
20723 evas_engine_direct3d_libs=""
20724
20725 for ac_header in d3d9.h d3dx9.h
20726 do :
20727   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20728 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20729 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20730   cat >>confdefs.h <<_ACEOF
20731 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20732 _ACEOF
20733
20734     have_dep="yes"
20735     evas_engine_direct3d_libs="-ld3d9 -ld3dx9 -lgdi32"
20736
20737 else
20738   have_dep="no"; break
20739
20740 fi
20741
20742 done
20743
20744
20745
20746
20747
20748 if test "x${have_dep}" = "xyes" ; then
20749   have_engine="yes"
20750 else
20751   have_engine="no"
20752 fi
20753
20754
20755 fi
20756
20757 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
20758    as_fn_error $? "Direct3D dependencies not found (strict dependencies checking)" "$LINENO" 5
20759 fi
20760
20761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Direct3D rendering backend will be built" >&5
20762 $as_echo_n "checking whether Direct3D rendering backend will be built... " >&6; }
20763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
20764 $as_echo "${have_engine}" >&6; }
20765
20766 if test "x${have_engine}" = "xyes" ; then
20767    if test "x${want_engine}" = "xstatic" ; then
20768       have_evas_engine_direct3d="static"
20769       want_static_engine="yes"
20770    else
20771       have_evas_engine_direct3d="yes"
20772    fi
20773 fi
20774
20775 if test "x${have_engine}" = "xyes" ; then
20776
20777 $as_echo "#define BUILD_ENGINE_DIRECT3D 1" >>confdefs.h
20778
20779 fi
20780
20781  if test "x${have_engine}" = "xyes"; then
20782   BUILD_ENGINE_DIRECT3D_TRUE=
20783   BUILD_ENGINE_DIRECT3D_FALSE='#'
20784 else
20785   BUILD_ENGINE_DIRECT3D_TRUE='#'
20786   BUILD_ENGINE_DIRECT3D_FALSE=
20787 fi
20788
20789
20790 if test "x${want_static_engine}" = "xyes" ; then
20791
20792 $as_echo "#define EVAS_STATIC_BUILD_DIRECT3D 1" >>confdefs.h
20793
20794    have_static_module="yes"
20795 fi
20796
20797  if test "x${want_static_engine}" = "xyes"; then
20798   EVAS_STATIC_BUILD_DIRECT3D_TRUE=
20799   EVAS_STATIC_BUILD_DIRECT3D_FALSE='#'
20800 else
20801   EVAS_STATIC_BUILD_DIRECT3D_TRUE='#'
20802   EVAS_STATIC_BUILD_DIRECT3D_FALSE=
20803 fi
20804
20805
20806
20807
20808
20809
20810
20811
20812
20813
20814 want_engine="${want_evas_engine_psl1ght}"
20815 want_static_engine="no"
20816 have_engine="no"
20817 have_evas_engine_psl1ght="no"
20818
20819 # Check whether --enable-psl1ght was given.
20820 if test "${enable_psl1ght+set}" = set; then :
20821   enableval=$enable_psl1ght;
20822     if test "x${enableval}" = "xyes" ; then
20823        want_engine="yes"
20824     else
20825        if test "x${enableval}" = "xstatic" ; then
20826           want_engine="static"
20827        else
20828           want_engine="no"
20829        fi
20830     fi
20831
20832 fi
20833
20834
20835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PSL1GHT rendering backend" >&5
20836 $as_echo_n "checking whether to enable PSL1GHT rendering backend... " >&6; }
20837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
20838 $as_echo "${want_engine}" >&6; }
20839
20840 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
20841
20842
20843 have_dep="no"
20844 evas_engine_psl1ght_cflags=""
20845 evas_engine_psl1ght_libs=""
20846
20847 ac_fn_c_check_header_mongrel "$LINENO" "rsx/rsx.h" "ac_cv_header_rsx_rsx_h" "$ac_includes_default"
20848 if test "x$ac_cv_header_rsx_rsx_h" = x""yes; then :
20849   have_dep="yes"
20850 fi
20851
20852
20853
20854
20855
20856
20857 if test "x${have_dep}" = "xyes" ; then
20858   have_engine="yes"
20859 else
20860   have_engine="no"
20861 fi
20862
20863
20864 fi
20865
20866 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
20867    as_fn_error $? "PSL1GHT dependencies not found (strict dependencies checking)" "$LINENO" 5
20868 fi
20869
20870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PSL1GHT rendering backend will be built" >&5
20871 $as_echo_n "checking whether PSL1GHT rendering backend will be built... " >&6; }
20872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
20873 $as_echo "${have_engine}" >&6; }
20874
20875 if test "x${have_engine}" = "xyes" ; then
20876    if test "x${want_engine}" = "xstatic" ; then
20877       have_evas_engine_psl1ght="static"
20878       want_static_engine="yes"
20879    else
20880       have_evas_engine_psl1ght="yes"
20881    fi
20882 fi
20883
20884 if test "x${have_engine}" = "xyes" ; then
20885
20886 $as_echo "#define BUILD_ENGINE_PSL1GHT 1" >>confdefs.h
20887
20888 fi
20889
20890  if test "x${have_engine}" = "xyes"; then
20891   BUILD_ENGINE_PSL1GHT_TRUE=
20892   BUILD_ENGINE_PSL1GHT_FALSE='#'
20893 else
20894   BUILD_ENGINE_PSL1GHT_TRUE='#'
20895   BUILD_ENGINE_PSL1GHT_FALSE=
20896 fi
20897
20898
20899 if test "x${want_static_engine}" = "xyes" ; then
20900
20901 $as_echo "#define EVAS_STATIC_BUILD_PSL1GHT 1" >>confdefs.h
20902
20903    have_static_module="yes"
20904 fi
20905
20906  if test "x${want_static_engine}" = "xyes"; then
20907   EVAS_STATIC_BUILD_PSL1GHT_TRUE=
20908   EVAS_STATIC_BUILD_PSL1GHT_FALSE='#'
20909 else
20910   EVAS_STATIC_BUILD_PSL1GHT_TRUE='#'
20911   EVAS_STATIC_BUILD_PSL1GHT_FALSE=
20912 fi
20913
20914
20915
20916
20917
20918
20919
20920
20921
20922
20923 want_engine="${want_evas_engine_gl_sdl}"
20924 want_static_engine="no"
20925 have_engine="no"
20926 have_evas_engine_gl_sdl="no"
20927
20928 # Check whether --enable-gl-sdl was given.
20929 if test "${enable_gl_sdl+set}" = set; then :
20930   enableval=$enable_gl_sdl;
20931     if test "x${enableval}" = "xyes" ; then
20932        want_engine="yes"
20933     else
20934        if test "x${enableval}" = "xstatic" ; then
20935           want_engine="static"
20936        else
20937           want_engine="no"
20938        fi
20939     fi
20940
20941 fi
20942
20943
20944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL SDL rendering backend" >&5
20945 $as_echo_n "checking whether to enable OpenGL SDL rendering backend... " >&6; }
20946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
20947 $as_echo "${want_engine}" >&6; }
20948
20949 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
20950
20951
20952 requirement=""
20953 have_dep="no"
20954 evas_engine_gl_sdl_cflags=""
20955 evas_engine_gl_sdl_libs=""
20956
20957
20958 pkg_failed=no
20959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
20960 $as_echo_n "checking for SDL... " >&6; }
20961
20962 if test -n "$SDL_CFLAGS"; then
20963     pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
20964  elif test -n "$PKG_CONFIG"; then
20965     if test -n "$PKG_CONFIG" && \
20966     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
20967   ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
20968   ac_status=$?
20969   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20970   test $ac_status = 0; }; then
20971   pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl >= 1.2.0" 2>/dev/null`
20972 else
20973   pkg_failed=yes
20974 fi
20975  else
20976     pkg_failed=untried
20977 fi
20978 if test -n "$SDL_LIBS"; then
20979     pkg_cv_SDL_LIBS="$SDL_LIBS"
20980  elif test -n "$PKG_CONFIG"; then
20981     if test -n "$PKG_CONFIG" && \
20982     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
20983   ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
20984   ac_status=$?
20985   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20986   test $ac_status = 0; }; then
20987   pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl >= 1.2.0" 2>/dev/null`
20988 else
20989   pkg_failed=yes
20990 fi
20991  else
20992     pkg_failed=untried
20993 fi
20994
20995
20996
20997 if test $pkg_failed = yes; then
20998         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20999 $as_echo "no" >&6; }
21000
21001 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21002         _pkg_short_errors_supported=yes
21003 else
21004         _pkg_short_errors_supported=no
21005 fi
21006         if test $_pkg_short_errors_supported = yes; then
21007                 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sdl >= 1.2.0" 2>&1`
21008         else
21009                 SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors "sdl >= 1.2.0" 2>&1`
21010         fi
21011         # Put the nasty error message in config.log where it belongs
21012         echo "$SDL_PKG_ERRORS" >&5
21013
21014         as_fn_error $? "Package requirements (sdl >= 1.2.0) were not met:
21015
21016 $SDL_PKG_ERRORS
21017
21018 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21019 installed software in a non-standard prefix.
21020
21021 Alternatively, you may set the environment variables SDL_CFLAGS
21022 and SDL_LIBS to avoid the need to call pkg-config.
21023 See the pkg-config man page for more details." "$LINENO" 5
21024 elif test $pkg_failed = untried; then
21025         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21026 $as_echo "no" >&6; }
21027         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21029 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
21030 is in your PATH or set the PKG_CONFIG environment variable to the full
21031 path to pkg-config.
21032
21033 Alternatively, you may set the environment variables SDL_CFLAGS
21034 and SDL_LIBS to avoid the need to call pkg-config.
21035 See the pkg-config man page for more details.
21036
21037 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21038 See \`config.log' for more details" "$LINENO" 5 ; }
21039 else
21040         SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
21041         SDL_LIBS=$pkg_cv_SDL_LIBS
21042         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21043 $as_echo "yes" >&6; }
21044
21045     have_dep="yes"
21046     requirement="sdl"
21047     evas_engine_gl_sdl_cflags="${SDL_CFLAGS}"
21048     evas_engine_gl_sdl_libs="${SDL_LIBS}"
21049
21050
21051 fi
21052
21053 gl_pt_lib="";
21054 have_gl_pt="no"
21055
21056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_create() is supported" >&5
21057 $as_echo_n "checking whether pthread_create() is supported... " >&6; }
21058 CFLAGS_save="${CFLAGS}"
21059 CFLAGS="${CFLAGS} -pthread"
21060 LIBS_save="${LIBS}"
21061 LIBS="${LIBS} -pthread"
21062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21063 /* end confdefs.h.  */
21064
21065 #include <pthread.h>
21066
21067 int
21068 main ()
21069 {
21070
21071 pthread_create(NULL, NULL, NULL, NULL);
21072
21073   ;
21074   return 0;
21075 }
21076 _ACEOF
21077 if ac_fn_c_try_link "$LINENO"; then :
21078   have_gl_pt="yes"
21079 else
21080   have_gl_pt="no"
21081 fi
21082 rm -f core conftest.err conftest.$ac_objext \
21083     conftest$ac_exeext conftest.$ac_ext
21084 CFLAGS=${CFLAGS_save}
21085 LIBS=${LIBS_save}
21086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_gl_pt}" >&5
21087 $as_echo "${have_gl_pt}" >&6; }
21088
21089 if test "x$have_gl_pt" = "xyes" ; then
21090    gl_pt_lib=" -pthread"
21091 fi
21092
21093 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
21094 #include <GL/gl.h>
21095 #include <GL/glext.h>
21096
21097 "
21098 if test "x$ac_cv_header_GL_gl_h" = x""yes; then :
21099   have_dep="yes"
21100 else
21101   have_dep="no"
21102 fi
21103
21104
21105
21106 if test "x$gl_flavor_gles" = "xyes" ; then
21107   have_dep=no
21108 fi
21109
21110 if test "x${have_dep}" = "xyes" ; then
21111    evas_engine_gl_sdl_cflags="${SDL_CFLAGS}"
21112    evas_engine_gl_sdl_libs="${SDL_LIBS} -lGL -lm $gl_pt_lib"
21113    evas_engine_gl_common_libs="-lGL -lm $gl_pt_lib"
21114 else
21115    ac_fn_c_check_header_compile "$LINENO" "SDL/SDL_opengles.h" "ac_cv_header_SDL_SDL_opengles_h" "
21116 #include <SDL/SDL_opengles.h>
21117 #include <EGL/egl.h>
21118
21119 "
21120 if test "x$ac_cv_header_SDL_SDL_opengles_h" = x""yes; then :
21121   have_egl="yes"
21122 else
21123   have_egl="no"
21124 fi
21125
21126
21127    if test "x${have_egl}" = "xyes" ; then
21128       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
21129 $as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
21130 if test "${ac_cv_lib_GLESv2_glTexImage2D+set}" = set; then :
21131   $as_echo_n "(cached) " >&6
21132 else
21133   ac_check_lib_save_LIBS=$LIBS
21134 LIBS="-lGLESv2 -lEGL -lm $gl_pt_lib $LIBS"
21135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21136 /* end confdefs.h.  */
21137
21138 /* Override any GCC internal prototype to avoid an error.
21139    Use char because int might match the return type of a GCC
21140    builtin and then its argument prototype would still apply.  */
21141 #ifdef __cplusplus
21142 extern "C"
21143 #endif
21144 char glTexImage2D ();
21145 int
21146 main ()
21147 {
21148 return glTexImage2D ();
21149   ;
21150   return 0;
21151 }
21152 _ACEOF
21153 if ac_fn_c_try_link "$LINENO"; then :
21154   ac_cv_lib_GLESv2_glTexImage2D=yes
21155 else
21156   ac_cv_lib_GLESv2_glTexImage2D=no
21157 fi
21158 rm -f core conftest.err conftest.$ac_objext \
21159     conftest$ac_exeext conftest.$ac_ext
21160 LIBS=$ac_check_lib_save_LIBS
21161 fi
21162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
21163 $as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
21164 if test "x$ac_cv_lib_GLESv2_glTexImage2D" = x""yes; then :
21165   have_glesv2="yes"
21166 fi
21167
21168       if test "x${have_glesv2}" = "xyes" ; then
21169          evas_engine_gl_sdl_cflags="${SDL_CFLAGS}"
21170          evas_engine_gl_sdl_libs="${SDL_LIBS} -lGLESv2 -lEGL -lm $gl_pt_lib"
21171          evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
21172          have_dep="yes"
21173
21174 $as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
21175
21176          gles_variety_sgx="yes"
21177       fi
21178    fi
21179 fi
21180
21181
21182
21183
21184 if test "x${want_engine}" = "xstatic" ; then
21185    requirement_evas="${requirement} ${requirement_evas}"
21186 fi
21187
21188 if test "x${have_dep}" = "xyes" ; then
21189   have_engine="yes"
21190 else
21191   have_engine="no"
21192 fi
21193
21194
21195 fi
21196
21197 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21198    as_fn_error $? "OpenGL SDL dependencies not found (strict dependencies checking)" "$LINENO" 5
21199 fi
21200
21201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL SDL rendering backend will be built" >&5
21202 $as_echo_n "checking whether OpenGL SDL rendering backend will be built... " >&6; }
21203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21204 $as_echo "${have_engine}" >&6; }
21205
21206 if test "x${have_engine}" = "xyes" ; then
21207    if test "x${want_engine}" = "xstatic" ; then
21208       have_evas_engine_gl_sdl="static"
21209       want_static_engine="yes"
21210    else
21211       have_evas_engine_gl_sdl="yes"
21212    fi
21213 fi
21214
21215 if test "x${have_engine}" = "xyes" ; then
21216
21217 $as_echo "#define BUILD_ENGINE_GL_SDL 1" >>confdefs.h
21218
21219 fi
21220
21221  if test "x${have_engine}" = "xyes"; then
21222   BUILD_ENGINE_GL_SDL_TRUE=
21223   BUILD_ENGINE_GL_SDL_FALSE='#'
21224 else
21225   BUILD_ENGINE_GL_SDL_TRUE='#'
21226   BUILD_ENGINE_GL_SDL_FALSE=
21227 fi
21228
21229
21230 if test "x${want_static_engine}" = "xyes" ; then
21231
21232 $as_echo "#define EVAS_STATIC_BUILD_GL_SDL 1" >>confdefs.h
21233
21234    have_static_module="yes"
21235 fi
21236
21237  if test "x${want_static_engine}" = "xyes"; then
21238   EVAS_STATIC_BUILD_GL_SDL_TRUE=
21239   EVAS_STATIC_BUILD_GL_SDL_FALSE='#'
21240 else
21241   EVAS_STATIC_BUILD_GL_SDL_TRUE='#'
21242   EVAS_STATIC_BUILD_GL_SDL_FALSE=
21243 fi
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254 want_engine="${want_evas_engine_gl_cocoa}"
21255 want_static_engine="no"
21256 have_engine="no"
21257 have_evas_engine_gl_cocoa="no"
21258
21259 # Check whether --enable-gl-cocoa was given.
21260 if test "${enable_gl_cocoa+set}" = set; then :
21261   enableval=$enable_gl_cocoa;
21262     if test "x${enableval}" = "xyes" ; then
21263        want_engine="yes"
21264     else
21265        if test "x${enableval}" = "xstatic" ; then
21266           want_engine="static"
21267        else
21268           want_engine="no"
21269        fi
21270     fi
21271
21272 fi
21273
21274
21275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL Cocoa rendering backend" >&5
21276 $as_echo_n "checking whether to enable OpenGL Cocoa rendering backend... " >&6; }
21277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21278 $as_echo "${want_engine}" >&6; }
21279
21280 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21281
21282
21283 evas_engine_gl_cocoa_cflags=""
21284 evas_engine_gl_cocoa_libs=""
21285
21286 ac_ext=m
21287 ac_cpp='$OBJCPP $CPPFLAGS'
21288 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21289 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21290 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
21291
21292
21293 LIBS_save="$LIBS"
21294 LIBS="$LIBS -framework Cocoa"
21295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21296 /* end confdefs.h.  */
21297
21298 #include <Cocoa/Cocoa.h>
21299
21300 int
21301 main ()
21302 {
21303
21304 NSWindow *window;
21305 window = [[NSWindow alloc]
21306            initWithContentRect:NSMakeRect(0, 0, 1, 1)
21307            styleMask:(NSTitledWindowMask)
21308            backing:NSBackingStoreBuffered
21309            defer:NO
21310            screen:nil
21311          ];
21312
21313   ;
21314   return 0;
21315 }
21316 _ACEOF
21317 if ac_fn_objc_try_link "$LINENO"; then :
21318
21319     have_dep="yes"
21320     evas_engine_gl_cocoa_libs="-framework Cocoa"
21321
21322 else
21323   have_dep="no"
21324 fi
21325 rm -f core conftest.err conftest.$ac_objext \
21326     conftest$ac_exeext conftest.$ac_ext
21327 LIBS="$LIBS_save"
21328
21329 ac_ext=c
21330 ac_cpp='$CPP $CPPFLAGS'
21331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21334
21335
21336 if test "x${have_dep}" = "xyes" ; then
21337
21338 pkg_failed=no
21339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
21340 $as_echo_n "checking for GL_EET... " >&6; }
21341
21342 if test -n "$GL_EET_CFLAGS"; then
21343     pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
21344  elif test -n "$PKG_CONFIG"; then
21345     if test -n "$PKG_CONFIG" && \
21346     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
21347   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
21348   ac_status=$?
21349   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21350   test $ac_status = 0; }; then
21351   pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
21352 else
21353   pkg_failed=yes
21354 fi
21355  else
21356     pkg_failed=untried
21357 fi
21358 if test -n "$GL_EET_LIBS"; then
21359     pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
21360  elif test -n "$PKG_CONFIG"; then
21361     if test -n "$PKG_CONFIG" && \
21362     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
21363   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
21364   ac_status=$?
21365   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21366   test $ac_status = 0; }; then
21367   pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
21368 else
21369   pkg_failed=yes
21370 fi
21371  else
21372     pkg_failed=untried
21373 fi
21374
21375
21376
21377 if test $pkg_failed = yes; then
21378         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21379 $as_echo "no" >&6; }
21380
21381 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21382         _pkg_short_errors_supported=yes
21383 else
21384         _pkg_short_errors_supported=no
21385 fi
21386         if test $_pkg_short_errors_supported = yes; then
21387                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.99" 2>&1`
21388         else
21389                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.99" 2>&1`
21390         fi
21391         # Put the nasty error message in config.log where it belongs
21392         echo "$GL_EET_PKG_ERRORS" >&5
21393
21394         have_dep="no"
21395 elif test $pkg_failed = untried; then
21396         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21397 $as_echo "no" >&6; }
21398         have_dep="no"
21399 else
21400         GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
21401         GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
21402         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21403 $as_echo "yes" >&6; }
21404         have_dep="yes"
21405 fi
21406 fi
21407
21408
21409
21410
21411 if test "x${have_dep}" = "xyes" ; then
21412   have_engine="yes"
21413 else
21414   have_engine="no"
21415 fi
21416
21417
21418 fi
21419
21420 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21421    as_fn_error $? "OpenGL Cocoa dependencies not found (strict dependencies checking)" "$LINENO" 5
21422 fi
21423
21424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL Cocoa rendering backend will be built" >&5
21425 $as_echo_n "checking whether OpenGL Cocoa rendering backend will be built... " >&6; }
21426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21427 $as_echo "${have_engine}" >&6; }
21428
21429 if test "x${have_engine}" = "xyes" ; then
21430    if test "x${want_engine}" = "xstatic" ; then
21431       have_evas_engine_gl_cocoa="static"
21432       want_static_engine="yes"
21433    else
21434       have_evas_engine_gl_cocoa="yes"
21435    fi
21436 fi
21437
21438 if test "x${have_engine}" = "xyes" ; then
21439
21440 $as_echo "#define BUILD_ENGINE_GL_COCOA 1" >>confdefs.h
21441
21442 fi
21443
21444  if test "x${have_engine}" = "xyes"; then
21445   BUILD_ENGINE_GL_COCOA_TRUE=
21446   BUILD_ENGINE_GL_COCOA_FALSE='#'
21447 else
21448   BUILD_ENGINE_GL_COCOA_TRUE='#'
21449   BUILD_ENGINE_GL_COCOA_FALSE=
21450 fi
21451
21452
21453 if test "x${want_static_engine}" = "xyes" ; then
21454
21455 $as_echo "#define EVAS_STATIC_BUILD_GL_COCOA 1" >>confdefs.h
21456
21457    have_static_module="yes"
21458 fi
21459
21460  if test "x${want_static_engine}" = "xyes"; then
21461   EVAS_STATIC_BUILD_GL_COCOA_TRUE=
21462   EVAS_STATIC_BUILD_GL_COCOA_FALSE='#'
21463 else
21464   EVAS_STATIC_BUILD_GL_COCOA_TRUE='#'
21465   EVAS_STATIC_BUILD_GL_COCOA_FALSE=
21466 fi
21467
21468
21469
21470
21471
21472
21473
21474
21475
21476
21477 want_engine="${want_evas_engine_fb}"
21478 want_static_engine="no"
21479 have_engine="no"
21480 have_evas_engine_fb="no"
21481
21482 # Check whether --enable-fb was given.
21483 if test "${enable_fb+set}" = set; then :
21484   enableval=$enable_fb;
21485     if test "x${enableval}" = "xyes" ; then
21486        want_engine="yes"
21487     else
21488        if test "x${enableval}" = "xstatic" ; then
21489           want_engine="static"
21490        else
21491           want_engine="no"
21492        fi
21493     fi
21494
21495 fi
21496
21497
21498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Framebuffer rendering backend" >&5
21499 $as_echo_n "checking whether to enable Framebuffer rendering backend... " >&6; }
21500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21501 $as_echo "${want_engine}" >&6; }
21502
21503 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21504
21505
21506 have_dep="no"
21507 evas_engine_fb_cflags=""
21508 evas_engine_fb_libs=""
21509
21510 ac_fn_c_check_header_mongrel "$LINENO" "linux/fb.h" "ac_cv_header_linux_fb_h" "$ac_includes_default"
21511 if test "x$ac_cv_header_linux_fb_h" = x""yes; then :
21512   have_dep="yes"
21513 fi
21514
21515
21516
21517
21518
21519
21520 if test "x${have_dep}" = "xyes" ; then
21521   have_engine="yes"
21522 else
21523   have_engine="no"
21524 fi
21525
21526
21527 fi
21528
21529 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21530    as_fn_error $? "Framebuffer dependencies not found (strict dependencies checking)" "$LINENO" 5
21531 fi
21532
21533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Framebuffer rendering backend will be built" >&5
21534 $as_echo_n "checking whether Framebuffer rendering backend will be built... " >&6; }
21535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21536 $as_echo "${have_engine}" >&6; }
21537
21538 if test "x${have_engine}" = "xyes" ; then
21539    if test "x${want_engine}" = "xstatic" ; then
21540       have_evas_engine_fb="static"
21541       want_static_engine="yes"
21542    else
21543       have_evas_engine_fb="yes"
21544    fi
21545 fi
21546
21547 if test "x${have_engine}" = "xyes" ; then
21548
21549 $as_echo "#define BUILD_ENGINE_FB 1" >>confdefs.h
21550
21551 fi
21552
21553  if test "x${have_engine}" = "xyes"; then
21554   BUILD_ENGINE_FB_TRUE=
21555   BUILD_ENGINE_FB_FALSE='#'
21556 else
21557   BUILD_ENGINE_FB_TRUE='#'
21558   BUILD_ENGINE_FB_FALSE=
21559 fi
21560
21561
21562 if test "x${want_static_engine}" = "xyes" ; then
21563
21564 $as_echo "#define EVAS_STATIC_BUILD_FB 1" >>confdefs.h
21565
21566    have_static_module="yes"
21567 fi
21568
21569  if test "x${want_static_engine}" = "xyes"; then
21570   EVAS_STATIC_BUILD_FB_TRUE=
21571   EVAS_STATIC_BUILD_FB_FALSE='#'
21572 else
21573   EVAS_STATIC_BUILD_FB_TRUE='#'
21574   EVAS_STATIC_BUILD_FB_FALSE=
21575 fi
21576
21577
21578
21579
21580
21581
21582
21583
21584
21585
21586 want_engine="${want_evas_engine_directfb}"
21587 want_static_engine="no"
21588 have_engine="no"
21589 have_evas_engine_directfb="no"
21590
21591 # Check whether --enable-directfb was given.
21592 if test "${enable_directfb+set}" = set; then :
21593   enableval=$enable_directfb;
21594     if test "x${enableval}" = "xyes" ; then
21595        want_engine="yes"
21596     else
21597        if test "x${enableval}" = "xstatic" ; then
21598           want_engine="static"
21599        else
21600           want_engine="no"
21601        fi
21602     fi
21603
21604 fi
21605
21606
21607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable DirectFB rendering backend" >&5
21608 $as_echo_n "checking whether to enable DirectFB rendering backend... " >&6; }
21609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21610 $as_echo "${want_engine}" >&6; }
21611
21612 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21613
21614
21615 requirement=""
21616 have_dep="no"
21617 evas_engine_directfb_cflags=""
21618 evas_engine_directfb_libs=""
21619
21620
21621 pkg_failed=no
21622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
21623 $as_echo_n "checking for DIRECTFB... " >&6; }
21624
21625 if test -n "$DIRECTFB_CFLAGS"; then
21626     pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
21627  elif test -n "$PKG_CONFIG"; then
21628     if test -n "$PKG_CONFIG" && \
21629     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5
21630   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5
21631   ac_status=$?
21632   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21633   test $ac_status = 0; }; then
21634   pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.16" 2>/dev/null`
21635 else
21636   pkg_failed=yes
21637 fi
21638  else
21639     pkg_failed=untried
21640 fi
21641 if test -n "$DIRECTFB_LIBS"; then
21642     pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
21643  elif test -n "$PKG_CONFIG"; then
21644     if test -n "$PKG_CONFIG" && \
21645     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5
21646   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5
21647   ac_status=$?
21648   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21649   test $ac_status = 0; }; then
21650   pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.16" 2>/dev/null`
21651 else
21652   pkg_failed=yes
21653 fi
21654  else
21655     pkg_failed=untried
21656 fi
21657
21658
21659
21660 if test $pkg_failed = yes; then
21661         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21662 $as_echo "no" >&6; }
21663
21664 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21665         _pkg_short_errors_supported=yes
21666 else
21667         _pkg_short_errors_supported=no
21668 fi
21669         if test $_pkg_short_errors_supported = yes; then
21670                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "directfb >= 0.9.16" 2>&1`
21671         else
21672                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --print-errors "directfb >= 0.9.16" 2>&1`
21673         fi
21674         # Put the nasty error message in config.log where it belongs
21675         echo "$DIRECTFB_PKG_ERRORS" >&5
21676
21677         as_fn_error $? "Package requirements (directfb >= 0.9.16) were not met:
21678
21679 $DIRECTFB_PKG_ERRORS
21680
21681 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21682 installed software in a non-standard prefix.
21683
21684 Alternatively, you may set the environment variables DIRECTFB_CFLAGS
21685 and DIRECTFB_LIBS to avoid the need to call pkg-config.
21686 See the pkg-config man page for more details." "$LINENO" 5
21687 elif test $pkg_failed = untried; then
21688         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21689 $as_echo "no" >&6; }
21690         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21692 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
21693 is in your PATH or set the PKG_CONFIG environment variable to the full
21694 path to pkg-config.
21695
21696 Alternatively, you may set the environment variables DIRECTFB_CFLAGS
21697 and DIRECTFB_LIBS to avoid the need to call pkg-config.
21698 See the pkg-config man page for more details.
21699
21700 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21701 See \`config.log' for more details" "$LINENO" 5 ; }
21702 else
21703         DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
21704         DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
21705         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21706 $as_echo "yes" >&6; }
21707
21708     have_dep="yes"
21709     requirement="directfb"
21710     evas_engine_directfb_cflags="${DIRECTFB_CFLAGS}"
21711     evas_engine_directfb_libs="${DIRECTFB_LIBS}"
21712
21713
21714 fi
21715
21716
21717
21718
21719 if test "x${want_engine}" = "xstatic" ; then
21720    requirement_evas="${requirement} ${requirement_evas}"
21721 fi
21722
21723 if test "x${have_dep}" = "xyes" ; then
21724   have_engine="yes"
21725 else
21726   have_engine="no"
21727 fi
21728
21729
21730 fi
21731
21732 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21733    as_fn_error $? "DirectFB dependencies not found (strict dependencies checking)" "$LINENO" 5
21734 fi
21735
21736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether DirectFB rendering backend will be built" >&5
21737 $as_echo_n "checking whether DirectFB rendering backend will be built... " >&6; }
21738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21739 $as_echo "${have_engine}" >&6; }
21740
21741 if test "x${have_engine}" = "xyes" ; then
21742    if test "x${want_engine}" = "xstatic" ; then
21743       have_evas_engine_directfb="static"
21744       want_static_engine="yes"
21745    else
21746       have_evas_engine_directfb="yes"
21747    fi
21748 fi
21749
21750 if test "x${have_engine}" = "xyes" ; then
21751
21752 $as_echo "#define BUILD_ENGINE_DIRECTFB 1" >>confdefs.h
21753
21754 fi
21755
21756  if test "x${have_engine}" = "xyes"; then
21757   BUILD_ENGINE_DIRECTFB_TRUE=
21758   BUILD_ENGINE_DIRECTFB_FALSE='#'
21759 else
21760   BUILD_ENGINE_DIRECTFB_TRUE='#'
21761   BUILD_ENGINE_DIRECTFB_FALSE=
21762 fi
21763
21764
21765 if test "x${want_static_engine}" = "xyes" ; then
21766
21767 $as_echo "#define EVAS_STATIC_BUILD_DIRECTFB 1" >>confdefs.h
21768
21769    have_static_module="yes"
21770 fi
21771
21772  if test "x${want_static_engine}" = "xyes"; then
21773   EVAS_STATIC_BUILD_DIRECTFB_TRUE=
21774   EVAS_STATIC_BUILD_DIRECTFB_FALSE='#'
21775 else
21776   EVAS_STATIC_BUILD_DIRECTFB_TRUE='#'
21777   EVAS_STATIC_BUILD_DIRECTFB_FALSE=
21778 fi
21779
21780
21781
21782
21783
21784
21785
21786
21787
21788
21789 want_engine="${want_evas_engine_software_8_x11}"
21790 want_static_engine="no"
21791 have_engine="no"
21792 have_evas_engine_software_8_x11="no"
21793
21794 # Check whether --enable-software-8-x11 was given.
21795 if test "${enable_software_8_x11+set}" = set; then :
21796   enableval=$enable_software_8_x11;
21797     if test "x${enableval}" = "xyes" ; then
21798        want_engine="yes"
21799     else
21800        if test "x${enableval}" = "xstatic" ; then
21801           want_engine="static"
21802        else
21803           want_engine="no"
21804        fi
21805     fi
21806
21807 fi
21808
21809
21810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software X11 8 bits grayscale rendering backend" >&5
21811 $as_echo_n "checking whether to enable Software X11 8 bits grayscale rendering backend... " >&6; }
21812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21813 $as_echo "${want_engine}" >&6; }
21814
21815 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21816
21817
21818 have_dep="no"
21819 evas_engine_software_8_x11_cflags=""
21820 evas_engine_software_8_x11_libs=""
21821
21822
21823 pkg_failed=no
21824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB" >&5
21825 $as_echo_n "checking for XCB... " >&6; }
21826
21827 if test -n "$XCB_CFLAGS"; then
21828     pkg_cv_XCB_CFLAGS="$XCB_CFLAGS"
21829  elif test -n "$PKG_CONFIG"; then
21830     if test -n "$PKG_CONFIG" && \
21831     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
21832   ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
21833   ac_status=$?
21834   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21835   test $ac_status = 0; }; then
21836   pkg_cv_XCB_CFLAGS=`$PKG_CONFIG --cflags "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
21837 else
21838   pkg_failed=yes
21839 fi
21840  else
21841     pkg_failed=untried
21842 fi
21843 if test -n "$XCB_LIBS"; then
21844     pkg_cv_XCB_LIBS="$XCB_LIBS"
21845  elif test -n "$PKG_CONFIG"; then
21846     if test -n "$PKG_CONFIG" && \
21847     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
21848   ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
21849   ac_status=$?
21850   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21851   test $ac_status = 0; }; then
21852   pkg_cv_XCB_LIBS=`$PKG_CONFIG --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
21853 else
21854   pkg_failed=yes
21855 fi
21856  else
21857     pkg_failed=untried
21858 fi
21859
21860
21861
21862 if test $pkg_failed = yes; then
21863         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21864 $as_echo "no" >&6; }
21865
21866 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21867         _pkg_short_errors_supported=yes
21868 else
21869         _pkg_short_errors_supported=no
21870 fi
21871         if test $_pkg_short_errors_supported = yes; then
21872                 XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
21873         else
21874                 XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
21875         fi
21876         # Put the nasty error message in config.log where it belongs
21877         echo "$XCB_PKG_ERRORS" >&5
21878
21879
21880     have_dep="no"
21881
21882
21883 elif test $pkg_failed = untried; then
21884         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21885 $as_echo "no" >&6; }
21886
21887     have_dep="no"
21888
21889
21890 else
21891         XCB_CFLAGS=$pkg_cv_XCB_CFLAGS
21892         XCB_LIBS=$pkg_cv_XCB_LIBS
21893         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21894 $as_echo "yes" >&6; }
21895
21896     have_dep="yes"
21897     requirement="xcb xcb-shm xcb-image pixman-1"
21898     evas_engine_software_8_x11_cflags="${XCB_CFLAGS}"
21899     evas_engine_software_8_x11_libs="${XCB_LIBS}"
21900
21901 fi
21902
21903
21904
21905
21906 if test "x${want_engine}" = "xstatic" ; then
21907    requirement_evas="${requirement} ${requirement_evas}"
21908 fi
21909
21910 if test "x${have_dep}" = "xyes" ; then
21911   have_engine="yes"
21912 else
21913   have_engine="no"
21914 fi
21915
21916
21917 fi
21918
21919 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21920    as_fn_error $? "Software X11 8 bits grayscale dependencies not found (strict dependencies checking)" "$LINENO" 5
21921 fi
21922
21923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software X11 8 bits grayscale rendering backend will be built" >&5
21924 $as_echo_n "checking whether Software X11 8 bits grayscale rendering backend will be built... " >&6; }
21925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21926 $as_echo "${have_engine}" >&6; }
21927
21928 if test "x${have_engine}" = "xyes" ; then
21929    if test "x${want_engine}" = "xstatic" ; then
21930       have_evas_engine_software_8_x11="static"
21931       want_static_engine="yes"
21932    else
21933       have_evas_engine_software_8_x11="yes"
21934    fi
21935 fi
21936
21937 if test "x${have_engine}" = "xyes" ; then
21938
21939 $as_echo "#define BUILD_ENGINE_SOFTWARE_8_X11 1" >>confdefs.h
21940
21941 fi
21942
21943  if test "x${have_engine}" = "xyes"; then
21944   BUILD_ENGINE_SOFTWARE_8_X11_TRUE=
21945   BUILD_ENGINE_SOFTWARE_8_X11_FALSE='#'
21946 else
21947   BUILD_ENGINE_SOFTWARE_8_X11_TRUE='#'
21948   BUILD_ENGINE_SOFTWARE_8_X11_FALSE=
21949 fi
21950
21951
21952 if test "x${want_static_engine}" = "xyes" ; then
21953
21954 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_8_X11 1" >>confdefs.h
21955
21956    have_static_module="yes"
21957 fi
21958
21959  if test "x${want_static_engine}" = "xyes"; then
21960   EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE=
21961   EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE='#'
21962 else
21963   EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE='#'
21964   EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE=
21965 fi
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976 want_engine="${want_evas_engine_software_16_x11}"
21977 want_static_engine="no"
21978 have_engine="no"
21979 have_evas_engine_software_16_x11="no"
21980
21981 # Check whether --enable-software-16-x11 was given.
21982 if test "${enable_software_16_x11+set}" = set; then :
21983   enableval=$enable_software_16_x11;
21984     if test "x${enableval}" = "xyes" ; then
21985        want_engine="yes"
21986     else
21987        if test "x${enableval}" = "xstatic" ; then
21988           want_engine="static"
21989        else
21990           want_engine="no"
21991        fi
21992     fi
21993
21994 fi
21995
21996
21997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software X11 16 bits rendering backend" >&5
21998 $as_echo_n "checking whether to enable Software X11 16 bits rendering backend... " >&6; }
21999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22000 $as_echo "${want_engine}" >&6; }
22001
22002 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
22003
22004
22005 have_dep="no"
22006 evas_engine_software_16_x11_cflags=""
22007 evas_engine_software_16_x11_libs=""
22008
22009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
22010 $as_echo_n "checking for X... " >&6; }
22011
22012
22013 # Check whether --with-x was given.
22014 if test "${with_x+set}" = set; then :
22015   withval=$with_x;
22016 fi
22017
22018 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
22019 if test "x$with_x" = xno; then
22020   # The user explicitly disabled X.
22021   have_x=disabled
22022 else
22023   case $x_includes,$x_libraries in #(
22024     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
22025     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
22026   $as_echo_n "(cached) " >&6
22027 else
22028   # One or both of the vars are not set, and there is no cached value.
22029 ac_x_includes=no ac_x_libraries=no
22030 rm -f -r conftest.dir
22031 if mkdir conftest.dir; then
22032   cd conftest.dir
22033   cat >Imakefile <<'_ACEOF'
22034 incroot:
22035         @echo incroot='${INCROOT}'
22036 usrlibdir:
22037         @echo usrlibdir='${USRLIBDIR}'
22038 libdir:
22039         @echo libdir='${LIBDIR}'
22040 _ACEOF
22041   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
22042     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
22043     for ac_var in incroot usrlibdir libdir; do
22044       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
22045     done
22046     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
22047     for ac_extension in a so sl dylib la dll; do
22048       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
22049          test -f "$ac_im_libdir/libX11.$ac_extension"; then
22050         ac_im_usrlibdir=$ac_im_libdir; break
22051       fi
22052     done
22053     # Screen out bogus values from the imake configuration.  They are
22054     # bogus both because they are the default anyway, and because
22055     # using them would break gcc on systems where it needs fixed includes.
22056     case $ac_im_incroot in
22057         /usr/include) ac_x_includes= ;;
22058         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
22059     esac
22060     case $ac_im_usrlibdir in
22061         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
22062         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
22063     esac
22064   fi
22065   cd ..
22066   rm -f -r conftest.dir
22067 fi
22068
22069 # Standard set of common directories for X headers.
22070 # Check X11 before X11Rn because it is often a symlink to the current release.
22071 ac_x_header_dirs='
22072 /usr/X11/include
22073 /usr/X11R7/include
22074 /usr/X11R6/include
22075 /usr/X11R5/include
22076 /usr/X11R4/include
22077
22078 /usr/include/X11
22079 /usr/include/X11R7
22080 /usr/include/X11R6
22081 /usr/include/X11R5
22082 /usr/include/X11R4
22083
22084 /usr/local/X11/include
22085 /usr/local/X11R7/include
22086 /usr/local/X11R6/include
22087 /usr/local/X11R5/include
22088 /usr/local/X11R4/include
22089
22090 /usr/local/include/X11
22091 /usr/local/include/X11R7
22092 /usr/local/include/X11R6
22093 /usr/local/include/X11R5
22094 /usr/local/include/X11R4
22095
22096 /usr/X386/include
22097 /usr/x386/include
22098 /usr/XFree86/include/X11
22099
22100 /usr/include
22101 /usr/local/include
22102 /usr/unsupported/include
22103 /usr/athena/include
22104 /usr/local/x11r5/include
22105 /usr/lpp/Xamples/include
22106
22107 /usr/openwin/include
22108 /usr/openwin/share/include'
22109
22110 if test "$ac_x_includes" = no; then
22111   # Guess where to find include files, by looking for Xlib.h.
22112   # First, try using that file with no special directory specified.
22113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22114 /* end confdefs.h.  */
22115 #include <X11/Xlib.h>
22116 _ACEOF
22117 if ac_fn_c_try_cpp "$LINENO"; then :
22118   # We can compile using X headers with no special include directory.
22119 ac_x_includes=
22120 else
22121   for ac_dir in $ac_x_header_dirs; do
22122   if test -r "$ac_dir/X11/Xlib.h"; then
22123     ac_x_includes=$ac_dir
22124     break
22125   fi
22126 done
22127 fi
22128 rm -f conftest.err conftest.i conftest.$ac_ext
22129 fi # $ac_x_includes = no
22130
22131 if test "$ac_x_libraries" = no; then
22132   # Check for the libraries.
22133   # See if we find them without any special options.
22134   # Don't add to $LIBS permanently.
22135   ac_save_LIBS=$LIBS
22136   LIBS="-lX11 $LIBS"
22137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22138 /* end confdefs.h.  */
22139 #include <X11/Xlib.h>
22140 int
22141 main ()
22142 {
22143 XrmInitialize ()
22144   ;
22145   return 0;
22146 }
22147 _ACEOF
22148 if ac_fn_c_try_link "$LINENO"; then :
22149   LIBS=$ac_save_LIBS
22150 # We can link X programs with no special library path.
22151 ac_x_libraries=
22152 else
22153   LIBS=$ac_save_LIBS
22154 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
22155 do
22156   # Don't even attempt the hair of trying to link an X program!
22157   for ac_extension in a so sl dylib la dll; do
22158     if test -r "$ac_dir/libX11.$ac_extension"; then
22159       ac_x_libraries=$ac_dir
22160       break 2
22161     fi
22162   done
22163 done
22164 fi
22165 rm -f core conftest.err conftest.$ac_objext \
22166     conftest$ac_exeext conftest.$ac_ext
22167 fi # $ac_x_libraries = no
22168
22169 case $ac_x_includes,$ac_x_libraries in #(
22170   no,* | *,no | *\'*)
22171     # Didn't find X, or a directory has "'" in its name.
22172     ac_cv_have_x="have_x=no";; #(
22173   *)
22174     # Record where we found X for the cache.
22175     ac_cv_have_x="have_x=yes\
22176         ac_x_includes='$ac_x_includes'\
22177         ac_x_libraries='$ac_x_libraries'"
22178 esac
22179 fi
22180 ;; #(
22181     *) have_x=yes;;
22182   esac
22183   eval "$ac_cv_have_x"
22184 fi # $with_x != no
22185
22186 if test "$have_x" != yes; then
22187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
22188 $as_echo "$have_x" >&6; }
22189   no_x=yes
22190 else
22191   # If each of the values was on the command line, it overrides each guess.
22192   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
22193   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
22194   # Update the cache value to reflect the command line values.
22195   ac_cv_have_x="have_x=yes\
22196         ac_x_includes='$x_includes'\
22197         ac_x_libraries='$x_libraries'"
22198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
22199 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
22200 fi
22201
22202 if test "$no_x" = yes; then
22203   # Not all programs may use this symbol, but it does not hurt to define it.
22204
22205 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
22206
22207   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22208 else
22209   if test -n "$x_includes"; then
22210     X_CFLAGS="$X_CFLAGS -I$x_includes"
22211   fi
22212
22213   # It would also be nice to do this for all -L options, not just this one.
22214   if test -n "$x_libraries"; then
22215     X_LIBS="$X_LIBS -L$x_libraries"
22216     # For Solaris; some versions of Sun CC require a space after -R and
22217     # others require no space.  Words are not sufficient . . . .
22218     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
22219 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
22220     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22221     ac_xsave_c_werror_flag=$ac_c_werror_flag
22222     ac_c_werror_flag=yes
22223     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22224 /* end confdefs.h.  */
22225
22226 int
22227 main ()
22228 {
22229
22230   ;
22231   return 0;
22232 }
22233 _ACEOF
22234 if ac_fn_c_try_link "$LINENO"; then :
22235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22236 $as_echo "no" >&6; }
22237        X_LIBS="$X_LIBS -R$x_libraries"
22238 else
22239   LIBS="$ac_xsave_LIBS -R $x_libraries"
22240        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22241 /* end confdefs.h.  */
22242
22243 int
22244 main ()
22245 {
22246
22247   ;
22248   return 0;
22249 }
22250 _ACEOF
22251 if ac_fn_c_try_link "$LINENO"; then :
22252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22253 $as_echo "yes" >&6; }
22254           X_LIBS="$X_LIBS -R $x_libraries"
22255 else
22256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
22257 $as_echo "neither works" >&6; }
22258 fi
22259 rm -f core conftest.err conftest.$ac_objext \
22260     conftest$ac_exeext conftest.$ac_ext
22261 fi
22262 rm -f core conftest.err conftest.$ac_objext \
22263     conftest$ac_exeext conftest.$ac_ext
22264     ac_c_werror_flag=$ac_xsave_c_werror_flag
22265     LIBS=$ac_xsave_LIBS
22266   fi
22267
22268   # Check for system-dependent libraries X programs must link with.
22269   # Do this before checking for the system-independent R6 libraries
22270   # (-lICE), since we may need -lsocket or whatever for X linking.
22271
22272   if test "$ISC" = yes; then
22273     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22274   else
22275     # Martyn Johnson says this is needed for Ultrix, if the X
22276     # libraries were built with DECnet support.  And Karl Berry says
22277     # the Alpha needs dnet_stub (dnet does not exist).
22278     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22279     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22280 /* end confdefs.h.  */
22281
22282 /* Override any GCC internal prototype to avoid an error.
22283    Use char because int might match the return type of a GCC
22284    builtin and then its argument prototype would still apply.  */
22285 #ifdef __cplusplus
22286 extern "C"
22287 #endif
22288 char XOpenDisplay ();
22289 int
22290 main ()
22291 {
22292 return XOpenDisplay ();
22293   ;
22294   return 0;
22295 }
22296 _ACEOF
22297 if ac_fn_c_try_link "$LINENO"; then :
22298
22299 else
22300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
22301 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
22302 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
22303   $as_echo_n "(cached) " >&6
22304 else
22305   ac_check_lib_save_LIBS=$LIBS
22306 LIBS="-ldnet  $LIBS"
22307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22308 /* end confdefs.h.  */
22309
22310 /* Override any GCC internal prototype to avoid an error.
22311    Use char because int might match the return type of a GCC
22312    builtin and then its argument prototype would still apply.  */
22313 #ifdef __cplusplus
22314 extern "C"
22315 #endif
22316 char dnet_ntoa ();
22317 int
22318 main ()
22319 {
22320 return dnet_ntoa ();
22321   ;
22322   return 0;
22323 }
22324 _ACEOF
22325 if ac_fn_c_try_link "$LINENO"; then :
22326   ac_cv_lib_dnet_dnet_ntoa=yes
22327 else
22328   ac_cv_lib_dnet_dnet_ntoa=no
22329 fi
22330 rm -f core conftest.err conftest.$ac_objext \
22331     conftest$ac_exeext conftest.$ac_ext
22332 LIBS=$ac_check_lib_save_LIBS
22333 fi
22334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22335 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
22336 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
22337   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22338 fi
22339
22340     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22341       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
22342 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
22343 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
22344   $as_echo_n "(cached) " >&6
22345 else
22346   ac_check_lib_save_LIBS=$LIBS
22347 LIBS="-ldnet_stub  $LIBS"
22348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22349 /* end confdefs.h.  */
22350
22351 /* Override any GCC internal prototype to avoid an error.
22352    Use char because int might match the return type of a GCC
22353    builtin and then its argument prototype would still apply.  */
22354 #ifdef __cplusplus
22355 extern "C"
22356 #endif
22357 char dnet_ntoa ();
22358 int
22359 main ()
22360 {
22361 return dnet_ntoa ();
22362   ;
22363   return 0;
22364 }
22365 _ACEOF
22366 if ac_fn_c_try_link "$LINENO"; then :
22367   ac_cv_lib_dnet_stub_dnet_ntoa=yes
22368 else
22369   ac_cv_lib_dnet_stub_dnet_ntoa=no
22370 fi
22371 rm -f core conftest.err conftest.$ac_objext \
22372     conftest$ac_exeext conftest.$ac_ext
22373 LIBS=$ac_check_lib_save_LIBS
22374 fi
22375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22376 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
22377 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
22378   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
22379 fi
22380
22381     fi
22382 fi
22383 rm -f core conftest.err conftest.$ac_objext \
22384     conftest$ac_exeext conftest.$ac_ext
22385     LIBS="$ac_xsave_LIBS"
22386
22387     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22388     # to get the SysV transport functions.
22389     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22390     # needs -lnsl.
22391     # The nsl library prevents programs from opening the X display
22392     # on Irix 5.2, according to T.E. Dickey.
22393     # The functions gethostbyname, getservbyname, and inet_addr are
22394     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22395     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
22396 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
22397
22398 fi
22399
22400     if test $ac_cv_func_gethostbyname = no; then
22401       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
22402 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
22403 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
22404   $as_echo_n "(cached) " >&6
22405 else
22406   ac_check_lib_save_LIBS=$LIBS
22407 LIBS="-lnsl  $LIBS"
22408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22409 /* end confdefs.h.  */
22410
22411 /* Override any GCC internal prototype to avoid an error.
22412    Use char because int might match the return type of a GCC
22413    builtin and then its argument prototype would still apply.  */
22414 #ifdef __cplusplus
22415 extern "C"
22416 #endif
22417 char gethostbyname ();
22418 int
22419 main ()
22420 {
22421 return gethostbyname ();
22422   ;
22423   return 0;
22424 }
22425 _ACEOF
22426 if ac_fn_c_try_link "$LINENO"; then :
22427   ac_cv_lib_nsl_gethostbyname=yes
22428 else
22429   ac_cv_lib_nsl_gethostbyname=no
22430 fi
22431 rm -f core conftest.err conftest.$ac_objext \
22432     conftest$ac_exeext conftest.$ac_ext
22433 LIBS=$ac_check_lib_save_LIBS
22434 fi
22435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
22436 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
22437 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
22438   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
22439 fi
22440
22441       if test $ac_cv_lib_nsl_gethostbyname = no; then
22442         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
22443 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
22444 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
22445   $as_echo_n "(cached) " >&6
22446 else
22447   ac_check_lib_save_LIBS=$LIBS
22448 LIBS="-lbsd  $LIBS"
22449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22450 /* end confdefs.h.  */
22451
22452 /* Override any GCC internal prototype to avoid an error.
22453    Use char because int might match the return type of a GCC
22454    builtin and then its argument prototype would still apply.  */
22455 #ifdef __cplusplus
22456 extern "C"
22457 #endif
22458 char gethostbyname ();
22459 int
22460 main ()
22461 {
22462 return gethostbyname ();
22463   ;
22464   return 0;
22465 }
22466 _ACEOF
22467 if ac_fn_c_try_link "$LINENO"; then :
22468   ac_cv_lib_bsd_gethostbyname=yes
22469 else
22470   ac_cv_lib_bsd_gethostbyname=no
22471 fi
22472 rm -f core conftest.err conftest.$ac_objext \
22473     conftest$ac_exeext conftest.$ac_ext
22474 LIBS=$ac_check_lib_save_LIBS
22475 fi
22476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
22477 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
22478 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
22479   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
22480 fi
22481
22482       fi
22483     fi
22484
22485     # lieder@skyler.mavd.honeywell.com says without -lsocket,
22486     # socket/setsockopt and other routines are undefined under SCO ODT
22487     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
22488     # on later versions), says Simon Leinen: it contains gethostby*
22489     # variants that don't use the name server (or something).  -lsocket
22490     # must be given before -lnsl if both are needed.  We assume that
22491     # if connect needs -lnsl, so does gethostbyname.
22492     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
22493 if test "x$ac_cv_func_connect" = x""yes; then :
22494
22495 fi
22496
22497     if test $ac_cv_func_connect = no; then
22498       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
22499 $as_echo_n "checking for connect in -lsocket... " >&6; }
22500 if test "${ac_cv_lib_socket_connect+set}" = set; then :
22501   $as_echo_n "(cached) " >&6
22502 else
22503   ac_check_lib_save_LIBS=$LIBS
22504 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
22505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22506 /* end confdefs.h.  */
22507
22508 /* Override any GCC internal prototype to avoid an error.
22509    Use char because int might match the return type of a GCC
22510    builtin and then its argument prototype would still apply.  */
22511 #ifdef __cplusplus
22512 extern "C"
22513 #endif
22514 char connect ();
22515 int
22516 main ()
22517 {
22518 return connect ();
22519   ;
22520   return 0;
22521 }
22522 _ACEOF
22523 if ac_fn_c_try_link "$LINENO"; then :
22524   ac_cv_lib_socket_connect=yes
22525 else
22526   ac_cv_lib_socket_connect=no
22527 fi
22528 rm -f core conftest.err conftest.$ac_objext \
22529     conftest$ac_exeext conftest.$ac_ext
22530 LIBS=$ac_check_lib_save_LIBS
22531 fi
22532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
22533 $as_echo "$ac_cv_lib_socket_connect" >&6; }
22534 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
22535   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
22536 fi
22537
22538     fi
22539
22540     # Guillermo Gomez says -lposix is necessary on A/UX.
22541     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
22542 if test "x$ac_cv_func_remove" = x""yes; then :
22543
22544 fi
22545
22546     if test $ac_cv_func_remove = no; then
22547       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
22548 $as_echo_n "checking for remove in -lposix... " >&6; }
22549 if test "${ac_cv_lib_posix_remove+set}" = set; then :
22550   $as_echo_n "(cached) " >&6
22551 else
22552   ac_check_lib_save_LIBS=$LIBS
22553 LIBS="-lposix  $LIBS"
22554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22555 /* end confdefs.h.  */
22556
22557 /* Override any GCC internal prototype to avoid an error.
22558    Use char because int might match the return type of a GCC
22559    builtin and then its argument prototype would still apply.  */
22560 #ifdef __cplusplus
22561 extern "C"
22562 #endif
22563 char remove ();
22564 int
22565 main ()
22566 {
22567 return remove ();
22568   ;
22569   return 0;
22570 }
22571 _ACEOF
22572 if ac_fn_c_try_link "$LINENO"; then :
22573   ac_cv_lib_posix_remove=yes
22574 else
22575   ac_cv_lib_posix_remove=no
22576 fi
22577 rm -f core conftest.err conftest.$ac_objext \
22578     conftest$ac_exeext conftest.$ac_ext
22579 LIBS=$ac_check_lib_save_LIBS
22580 fi
22581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
22582 $as_echo "$ac_cv_lib_posix_remove" >&6; }
22583 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
22584   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
22585 fi
22586
22587     fi
22588
22589     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22590     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
22591 if test "x$ac_cv_func_shmat" = x""yes; then :
22592
22593 fi
22594
22595     if test $ac_cv_func_shmat = no; then
22596       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
22597 $as_echo_n "checking for shmat in -lipc... " >&6; }
22598 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
22599   $as_echo_n "(cached) " >&6
22600 else
22601   ac_check_lib_save_LIBS=$LIBS
22602 LIBS="-lipc  $LIBS"
22603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22604 /* end confdefs.h.  */
22605
22606 /* Override any GCC internal prototype to avoid an error.
22607    Use char because int might match the return type of a GCC
22608    builtin and then its argument prototype would still apply.  */
22609 #ifdef __cplusplus
22610 extern "C"
22611 #endif
22612 char shmat ();
22613 int
22614 main ()
22615 {
22616 return shmat ();
22617   ;
22618   return 0;
22619 }
22620 _ACEOF
22621 if ac_fn_c_try_link "$LINENO"; then :
22622   ac_cv_lib_ipc_shmat=yes
22623 else
22624   ac_cv_lib_ipc_shmat=no
22625 fi
22626 rm -f core conftest.err conftest.$ac_objext \
22627     conftest$ac_exeext conftest.$ac_ext
22628 LIBS=$ac_check_lib_save_LIBS
22629 fi
22630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
22631 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
22632 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
22633   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
22634 fi
22635
22636     fi
22637   fi
22638
22639   # Check for libraries that X11R6 Xt/Xaw programs need.
22640   ac_save_LDFLAGS=$LDFLAGS
22641   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
22642   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22643   # check for ICE first), but we must link in the order -lSM -lICE or
22644   # we get undefined symbols.  So assume we have SM if we have ICE.
22645   # These have to be linked with before -lX11, unlike the other
22646   # libraries we check for below, so use a different variable.
22647   # John Interrante, Karl Berry
22648   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
22649 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
22650 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
22651   $as_echo_n "(cached) " >&6
22652 else
22653   ac_check_lib_save_LIBS=$LIBS
22654 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
22655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22656 /* end confdefs.h.  */
22657
22658 /* Override any GCC internal prototype to avoid an error.
22659    Use char because int might match the return type of a GCC
22660    builtin and then its argument prototype would still apply.  */
22661 #ifdef __cplusplus
22662 extern "C"
22663 #endif
22664 char IceConnectionNumber ();
22665 int
22666 main ()
22667 {
22668 return IceConnectionNumber ();
22669   ;
22670   return 0;
22671 }
22672 _ACEOF
22673 if ac_fn_c_try_link "$LINENO"; then :
22674   ac_cv_lib_ICE_IceConnectionNumber=yes
22675 else
22676   ac_cv_lib_ICE_IceConnectionNumber=no
22677 fi
22678 rm -f core conftest.err conftest.$ac_objext \
22679     conftest$ac_exeext conftest.$ac_ext
22680 LIBS=$ac_check_lib_save_LIBS
22681 fi
22682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22683 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
22684 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
22685   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22686 fi
22687
22688   LDFLAGS=$ac_save_LDFLAGS
22689
22690 fi
22691
22692
22693 ac_fn_c_check_header_mongrel "$LINENO" "X11/X.h" "ac_cv_header_X11_X_h" "$ac_includes_default"
22694 if test "x$ac_cv_header_X11_X_h" = x""yes; then :
22695   have_dep="yes"
22696 fi
22697
22698
22699
22700 if test "x${have_dep}" = "xyes" ; then
22701    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateImage in -lX11" >&5
22702 $as_echo_n "checking for XCreateImage in -lX11... " >&6; }
22703 if test "${ac_cv_lib_X11_XCreateImage+set}" = set; then :
22704   $as_echo_n "(cached) " >&6
22705 else
22706   ac_check_lib_save_LIBS=$LIBS
22707 LIBS="-lX11  $LIBS"
22708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22709 /* end confdefs.h.  */
22710
22711 /* Override any GCC internal prototype to avoid an error.
22712    Use char because int might match the return type of a GCC
22713    builtin and then its argument prototype would still apply.  */
22714 #ifdef __cplusplus
22715 extern "C"
22716 #endif
22717 char XCreateImage ();
22718 int
22719 main ()
22720 {
22721 return XCreateImage ();
22722   ;
22723   return 0;
22724 }
22725 _ACEOF
22726 if ac_fn_c_try_link "$LINENO"; then :
22727   ac_cv_lib_X11_XCreateImage=yes
22728 else
22729   ac_cv_lib_X11_XCreateImage=no
22730 fi
22731 rm -f core conftest.err conftest.$ac_objext \
22732     conftest$ac_exeext conftest.$ac_ext
22733 LIBS=$ac_check_lib_save_LIBS
22734 fi
22735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateImage" >&5
22736 $as_echo "$ac_cv_lib_X11_XCreateImage" >&6; }
22737 if test "x$ac_cv_lib_X11_XCreateImage" = x""yes; then :
22738   have_dep="yes"
22739 else
22740   have_dep="no"
22741 fi
22742
22743 fi
22744
22745 if test "x${have_dep}" = "xyes" ; then
22746    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmCreateImage in -lXext" >&5
22747 $as_echo_n "checking for XShmCreateImage in -lXext... " >&6; }
22748 if test "${ac_cv_lib_Xext_XShmCreateImage+set}" = set; then :
22749   $as_echo_n "(cached) " >&6
22750 else
22751   ac_check_lib_save_LIBS=$LIBS
22752 LIBS="-lXext  $LIBS"
22753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22754 /* end confdefs.h.  */
22755
22756 /* Override any GCC internal prototype to avoid an error.
22757    Use char because int might match the return type of a GCC
22758    builtin and then its argument prototype would still apply.  */
22759 #ifdef __cplusplus
22760 extern "C"
22761 #endif
22762 char XShmCreateImage ();
22763 int
22764 main ()
22765 {
22766 return XShmCreateImage ();
22767   ;
22768   return 0;
22769 }
22770 _ACEOF
22771 if ac_fn_c_try_link "$LINENO"; then :
22772   ac_cv_lib_Xext_XShmCreateImage=yes
22773 else
22774   ac_cv_lib_Xext_XShmCreateImage=no
22775 fi
22776 rm -f core conftest.err conftest.$ac_objext \
22777     conftest$ac_exeext conftest.$ac_ext
22778 LIBS=$ac_check_lib_save_LIBS
22779 fi
22780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmCreateImage" >&5
22781 $as_echo "$ac_cv_lib_Xext_XShmCreateImage" >&6; }
22782 if test "x$ac_cv_lib_Xext_XShmCreateImage" = x""yes; then :
22783   have_dep="yes"
22784 else
22785   have_dep="no"
22786 fi
22787
22788 fi
22789
22790 if test "x${have_dep}" = "xyes" ; then
22791    if test "xno" = "xyes" ; then
22792       x_libs="${x_libs} -lX11 -lXext"
22793    else
22794       x_dir=${x_dir:-/usr/X11R6}
22795       x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
22796       x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
22797    fi
22798    evas_engine_software_16_x11_cflags="${x_cflags}"
22799    evas_engine_software_16_x11_libs="${x_libs}"
22800 fi
22801
22802
22803
22804
22805 if test "x${have_dep}" = "xyes" ; then
22806   have_engine="yes"
22807 else
22808   have_engine="no"
22809 fi
22810
22811
22812 fi
22813
22814 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
22815    as_fn_error $? "Software X11 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5
22816 fi
22817
22818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software X11 16 bits rendering backend will be built" >&5
22819 $as_echo_n "checking whether Software X11 16 bits rendering backend will be built... " >&6; }
22820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
22821 $as_echo "${have_engine}" >&6; }
22822
22823 if test "x${have_engine}" = "xyes" ; then
22824    if test "x${want_engine}" = "xstatic" ; then
22825       have_evas_engine_software_16_x11="static"
22826       want_static_engine="yes"
22827    else
22828       have_evas_engine_software_16_x11="yes"
22829    fi
22830 fi
22831
22832 if test "x${have_engine}" = "xyes" ; then
22833
22834 $as_echo "#define BUILD_ENGINE_SOFTWARE_16_X11 1" >>confdefs.h
22835
22836 fi
22837
22838  if test "x${have_engine}" = "xyes"; then
22839   BUILD_ENGINE_SOFTWARE_16_X11_TRUE=
22840   BUILD_ENGINE_SOFTWARE_16_X11_FALSE='#'
22841 else
22842   BUILD_ENGINE_SOFTWARE_16_X11_TRUE='#'
22843   BUILD_ENGINE_SOFTWARE_16_X11_FALSE=
22844 fi
22845
22846
22847 if test "x${want_static_engine}" = "xyes" ; then
22848
22849 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16_X11 1" >>confdefs.h
22850
22851    have_static_module="yes"
22852 fi
22853
22854  if test "x${want_static_engine}" = "xyes"; then
22855   EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE=
22856   EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE='#'
22857 else
22858   EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE='#'
22859   EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE=
22860 fi
22861
22862
22863
22864
22865
22866
22867
22868
22869
22870
22871 want_engine="${want_evas_engine_software_16_wince}"
22872 want_static_engine="no"
22873 have_engine="no"
22874 have_evas_engine_software_16_wince="no"
22875
22876 # Check whether --enable-software-16-wince was given.
22877 if test "${enable_software_16_wince+set}" = set; then :
22878   enableval=$enable_software_16_wince;
22879     if test "x${enableval}" = "xyes" ; then
22880        want_engine="yes"
22881     else
22882        if test "x${enableval}" = "xstatic" ; then
22883           want_engine="static"
22884        else
22885           want_engine="no"
22886        fi
22887     fi
22888
22889 fi
22890
22891
22892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software Windows CE 16 bits rendering backend" >&5
22893 $as_echo_n "checking whether to enable Software Windows CE 16 bits rendering backend... " >&6; }
22894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22895 $as_echo "${want_engine}" >&6; }
22896
22897 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
22898
22899
22900 have_dep="yes"
22901 evas_engine_software_16_wince_cflags=""
22902 evas_engine_software_16_wince_libs=""
22903
22904
22905
22906
22907 if test "x${have_dep}" = "xyes" ; then
22908   have_engine="yes"
22909 else
22910   have_engine="no"
22911 fi
22912
22913
22914 fi
22915
22916 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
22917    as_fn_error $? "Software Windows CE 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5
22918 fi
22919
22920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software Windows CE 16 bits rendering backend will be built" >&5
22921 $as_echo_n "checking whether Software Windows CE 16 bits rendering backend will be built... " >&6; }
22922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
22923 $as_echo "${have_engine}" >&6; }
22924
22925 if test "x${have_engine}" = "xyes" ; then
22926    if test "x${want_engine}" = "xstatic" ; then
22927       have_evas_engine_software_16_wince="static"
22928       want_static_engine="yes"
22929    else
22930       have_evas_engine_software_16_wince="yes"
22931    fi
22932 fi
22933
22934 if test "x${have_engine}" = "xyes" ; then
22935
22936 $as_echo "#define BUILD_ENGINE_SOFTWARE_16_WINCE 1" >>confdefs.h
22937
22938 fi
22939
22940  if test "x${have_engine}" = "xyes"; then
22941   BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE=
22942   BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE='#'
22943 else
22944   BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE='#'
22945   BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE=
22946 fi
22947
22948
22949 if test "x${want_static_engine}" = "xyes" ; then
22950
22951 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16_WINCE 1" >>confdefs.h
22952
22953    have_static_module="yes"
22954 fi
22955
22956  if test "x${want_static_engine}" = "xyes"; then
22957   EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE=
22958   EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE='#'
22959 else
22960   EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE='#'
22961   EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE=
22962 fi
22963
22964
22965
22966
22967
22968
22969
22970
22971
22972
22973 want_engine="${want_evas_engine_software_16_sdl}"
22974 want_static_engine="no"
22975 have_engine="no"
22976 have_evas_engine_software_16_sdl="no"
22977
22978 # Check whether --enable-software-16-sdl was given.
22979 if test "${enable_software_16_sdl+set}" = set; then :
22980   enableval=$enable_software_16_sdl;
22981     if test "x${enableval}" = "xyes" ; then
22982        want_engine="yes"
22983     else
22984        if test "x${enableval}" = "xstatic" ; then
22985           want_engine="static"
22986        else
22987           want_engine="no"
22988        fi
22989     fi
22990
22991 fi
22992
22993
22994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software SDL 16 bits rendering backend" >&5
22995 $as_echo_n "checking whether to enable Software SDL 16 bits rendering backend... " >&6; }
22996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22997 $as_echo "${want_engine}" >&6; }
22998
22999 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
23000
23001
23002 requirement=""
23003 have_dep="no"
23004 evas_engine_software_16_sdl_cflags=""
23005 evas_engine_software_16_sdl_libs=""
23006
23007
23008 pkg_failed=no
23009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
23010 $as_echo_n "checking for SDL... " >&6; }
23011
23012 if test -n "$SDL_CFLAGS"; then
23013     pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
23014  elif test -n "$PKG_CONFIG"; then
23015     if test -n "$PKG_CONFIG" && \
23016     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
23017   ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
23018   ac_status=$?
23019   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23020   test $ac_status = 0; }; then
23021   pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl >= 1.2.0" 2>/dev/null`
23022 else
23023   pkg_failed=yes
23024 fi
23025  else
23026     pkg_failed=untried
23027 fi
23028 if test -n "$SDL_LIBS"; then
23029     pkg_cv_SDL_LIBS="$SDL_LIBS"
23030  elif test -n "$PKG_CONFIG"; then
23031     if test -n "$PKG_CONFIG" && \
23032     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
23033   ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
23034   ac_status=$?
23035   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23036   test $ac_status = 0; }; then
23037   pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl >= 1.2.0" 2>/dev/null`
23038 else
23039   pkg_failed=yes
23040 fi
23041  else
23042     pkg_failed=untried
23043 fi
23044
23045
23046
23047 if test $pkg_failed = yes; then
23048         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23049 $as_echo "no" >&6; }
23050
23051 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23052         _pkg_short_errors_supported=yes
23053 else
23054         _pkg_short_errors_supported=no
23055 fi
23056         if test $_pkg_short_errors_supported = yes; then
23057                 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sdl >= 1.2.0" 2>&1`
23058         else
23059                 SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors "sdl >= 1.2.0" 2>&1`
23060         fi
23061         # Put the nasty error message in config.log where it belongs
23062         echo "$SDL_PKG_ERRORS" >&5
23063
23064         as_fn_error $? "Package requirements (sdl >= 1.2.0) were not met:
23065
23066 $SDL_PKG_ERRORS
23067
23068 Consider adjusting the PKG_CONFIG_PATH environment variable if you
23069 installed software in a non-standard prefix.
23070
23071 Alternatively, you may set the environment variables SDL_CFLAGS
23072 and SDL_LIBS to avoid the need to call pkg-config.
23073 See the pkg-config man page for more details." "$LINENO" 5
23074 elif test $pkg_failed = untried; then
23075         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23076 $as_echo "no" >&6; }
23077         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23078 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23079 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
23080 is in your PATH or set the PKG_CONFIG environment variable to the full
23081 path to pkg-config.
23082
23083 Alternatively, you may set the environment variables SDL_CFLAGS
23084 and SDL_LIBS to avoid the need to call pkg-config.
23085 See the pkg-config man page for more details.
23086
23087 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23088 See \`config.log' for more details" "$LINENO" 5 ; }
23089 else
23090         SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
23091         SDL_LIBS=$pkg_cv_SDL_LIBS
23092         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23093 $as_echo "yes" >&6; }
23094
23095     have_dep="yes"
23096     requirement="sdl"
23097     evas_engine_software_16_sdl_cflags="${SDL_CFLAGS}"
23098     evas_engine_software_16_sdl_libs="${SDL_LIBS}"
23099
23100
23101 fi
23102
23103
23104
23105
23106 if test "x${want_engine}" = "xstatic" ; then
23107    requirement_evas="${requirement} ${requirement_evas}"
23108 fi
23109
23110 if test "x${have_dep}" = "xyes" ; then
23111   have_engine="yes"
23112 else
23113   have_engine="no"
23114 fi
23115
23116
23117 fi
23118
23119 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23120    as_fn_error $? "Software SDL 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5
23121 fi
23122
23123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software SDL 16 bits rendering backend will be built" >&5
23124 $as_echo_n "checking whether Software SDL 16 bits rendering backend will be built... " >&6; }
23125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
23126 $as_echo "${have_engine}" >&6; }
23127
23128 if test "x${have_engine}" = "xyes" ; then
23129    if test "x${want_engine}" = "xstatic" ; then
23130       have_evas_engine_software_16_sdl="static"
23131       want_static_engine="yes"
23132    else
23133       have_evas_engine_software_16_sdl="yes"
23134    fi
23135 fi
23136
23137 if test "x${have_engine}" = "xyes" ; then
23138
23139 $as_echo "#define BUILD_ENGINE_SOFTWARE_16_SDL 1" >>confdefs.h
23140
23141 fi
23142
23143  if test "x${have_engine}" = "xyes"; then
23144   BUILD_ENGINE_SOFTWARE_16_SDL_TRUE=
23145   BUILD_ENGINE_SOFTWARE_16_SDL_FALSE='#'
23146 else
23147   BUILD_ENGINE_SOFTWARE_16_SDL_TRUE='#'
23148   BUILD_ENGINE_SOFTWARE_16_SDL_FALSE=
23149 fi
23150
23151
23152 if test "x${want_static_engine}" = "xyes" ; then
23153
23154 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16_SDL 1" >>confdefs.h
23155
23156    have_static_module="yes"
23157 fi
23158
23159  if test "x${want_static_engine}" = "xyes"; then
23160   EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE=
23161   EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE='#'
23162 else
23163   EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE='#'
23164   EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE=
23165 fi
23166
23167
23168
23169
23170
23171
23172
23173
23174
23175
23176 want_engine="${want_evas_engine_wayland_shm}"
23177 want_static_engine="no"
23178 have_engine="no"
23179 have_evas_engine_wayland_shm="no"
23180
23181 # Check whether --enable-wayland-shm was given.
23182 if test "${enable_wayland_shm+set}" = set; then :
23183   enableval=$enable_wayland_shm;
23184     if test "x${enableval}" = "xyes" ; then
23185        want_engine="yes"
23186     else
23187        if test "x${enableval}" = "xstatic" ; then
23188           want_engine="static"
23189        else
23190           want_engine="no"
23191        fi
23192     fi
23193
23194 fi
23195
23196
23197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Wayland Shm rendering backend" >&5
23198 $as_echo_n "checking whether to enable Wayland Shm rendering backend... " >&6; }
23199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
23200 $as_echo "${want_engine}" >&6; }
23201
23202 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
23203
23204
23205 have_dep="yes"
23206 evas_engine_wayland_shm_cflags=""
23207 evas_engine_wayland_shm_libs=""
23208
23209
23210
23211
23212 if test "x${have_dep}" = "xyes" ; then
23213   have_engine="yes"
23214 else
23215   have_engine="no"
23216 fi
23217
23218
23219 fi
23220
23221 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23222    as_fn_error $? "Wayland Shm dependencies not found (strict dependencies checking)" "$LINENO" 5
23223 fi
23224
23225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Wayland Shm rendering backend will be built" >&5
23226 $as_echo_n "checking whether Wayland Shm rendering backend will be built... " >&6; }
23227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
23228 $as_echo "${have_engine}" >&6; }
23229
23230 if test "x${have_engine}" = "xyes" ; then
23231    if test "x${want_engine}" = "xstatic" ; then
23232       have_evas_engine_wayland_shm="static"
23233       want_static_engine="yes"
23234    else
23235       have_evas_engine_wayland_shm="yes"
23236    fi
23237 fi
23238
23239 if test "x${have_engine}" = "xyes" ; then
23240
23241 $as_echo "#define BUILD_ENGINE_WAYLAND_SHM 1" >>confdefs.h
23242
23243 fi
23244
23245  if test "x${have_engine}" = "xyes"; then
23246   BUILD_ENGINE_WAYLAND_SHM_TRUE=
23247   BUILD_ENGINE_WAYLAND_SHM_FALSE='#'
23248 else
23249   BUILD_ENGINE_WAYLAND_SHM_TRUE='#'
23250   BUILD_ENGINE_WAYLAND_SHM_FALSE=
23251 fi
23252
23253
23254 if test "x${want_static_engine}" = "xyes" ; then
23255
23256 $as_echo "#define EVAS_STATIC_BUILD_WAYLAND_SHM 1" >>confdefs.h
23257
23258    have_static_module="yes"
23259 fi
23260
23261  if test "x${want_static_engine}" = "xyes"; then
23262   EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE=
23263   EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE='#'
23264 else
23265   EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE='#'
23266   EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE=
23267 fi
23268
23269
23270
23271
23272
23273
23274
23275
23276
23277
23278 want_engine="${want_evas_engine_wayland_egl}"
23279 want_static_engine="no"
23280 have_engine="no"
23281 have_evas_engine_wayland_egl="no"
23282
23283 # Check whether --enable-wayland-egl was given.
23284 if test "${enable_wayland_egl+set}" = set; then :
23285   enableval=$enable_wayland_egl;
23286     if test "x${enableval}" = "xyes" ; then
23287        want_engine="yes"
23288     else
23289        if test "x${enableval}" = "xstatic" ; then
23290           want_engine="static"
23291        else
23292           want_engine="no"
23293        fi
23294     fi
23295
23296 fi
23297
23298
23299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Wayland Egl rendering backend" >&5
23300 $as_echo_n "checking whether to enable Wayland Egl rendering backend... " >&6; }
23301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
23302 $as_echo "${want_engine}" >&6; }
23303
23304 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
23305
23306
23307 requirement=""
23308 have_dep="no"
23309 evas_engine_wayland_egl_cflags=""
23310 evas_engine_wayland_egl_libs=""
23311
23312
23313 pkg_failed=no
23314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND_EGL" >&5
23315 $as_echo_n "checking for WAYLAND_EGL... " >&6; }
23316
23317 if test -n "$WAYLAND_EGL_CFLAGS"; then
23318     pkg_cv_WAYLAND_EGL_CFLAGS="$WAYLAND_EGL_CFLAGS"
23319  elif test -n "$PKG_CONFIG"; then
23320     if test -n "$PKG_CONFIG" && \
23321     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl >= 7.10 glesv2 gl wayland-client wayland-egl\""; } >&5
23322   ($PKG_CONFIG --exists --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl") 2>&5
23323   ac_status=$?
23324   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23325   test $ac_status = 0; }; then
23326   pkg_cv_WAYLAND_EGL_CFLAGS=`$PKG_CONFIG --cflags "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>/dev/null`
23327 else
23328   pkg_failed=yes
23329 fi
23330  else
23331     pkg_failed=untried
23332 fi
23333 if test -n "$WAYLAND_EGL_LIBS"; then
23334     pkg_cv_WAYLAND_EGL_LIBS="$WAYLAND_EGL_LIBS"
23335  elif test -n "$PKG_CONFIG"; then
23336     if test -n "$PKG_CONFIG" && \
23337     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl >= 7.10 glesv2 gl wayland-client wayland-egl\""; } >&5
23338   ($PKG_CONFIG --exists --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl") 2>&5
23339   ac_status=$?
23340   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23341   test $ac_status = 0; }; then
23342   pkg_cv_WAYLAND_EGL_LIBS=`$PKG_CONFIG --libs "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>/dev/null`
23343 else
23344   pkg_failed=yes
23345 fi
23346  else
23347     pkg_failed=untried
23348 fi
23349
23350
23351
23352 if test $pkg_failed = yes; then
23353         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23354 $as_echo "no" >&6; }
23355
23356 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23357         _pkg_short_errors_supported=yes
23358 else
23359         _pkg_short_errors_supported=no
23360 fi
23361         if test $_pkg_short_errors_supported = yes; then
23362                 WAYLAND_EGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>&1`
23363         else
23364                 WAYLAND_EGL_PKG_ERRORS=`$PKG_CONFIG --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>&1`
23365         fi
23366         # Put the nasty error message in config.log where it belongs
23367         echo "$WAYLAND_EGL_PKG_ERRORS" >&5
23368
23369
23370     have_dep="no"
23371
23372
23373 elif test $pkg_failed = untried; then
23374         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23375 $as_echo "no" >&6; }
23376
23377     have_dep="no"
23378
23379
23380 else
23381         WAYLAND_EGL_CFLAGS=$pkg_cv_WAYLAND_EGL_CFLAGS
23382         WAYLAND_EGL_LIBS=$pkg_cv_WAYLAND_EGL_LIBS
23383         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23384 $as_echo "yes" >&6; }
23385
23386     have_dep="yes"
23387     requirement="egl >= 7.10 glesv2 gl wayland-client wayland-egl"
23388     evas_engine_wayland_egl_cflags="${WAYLAND_EGL_CFLAGS}"
23389     evas_engine_wayland_egl_libs="${WAYLAND_EGL_LIBS}"
23390
23391 fi
23392
23393 if test "x${have_dep}" = "xyes" ; then
23394
23395 pkg_failed=no
23396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
23397 $as_echo_n "checking for GL_EET... " >&6; }
23398
23399 if test -n "$GL_EET_CFLAGS"; then
23400     pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
23401  elif test -n "$PKG_CONFIG"; then
23402     if test -n "$PKG_CONFIG" && \
23403     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
23404   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
23405   ac_status=$?
23406   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23407   test $ac_status = 0; }; then
23408   pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
23409 else
23410   pkg_failed=yes
23411 fi
23412  else
23413     pkg_failed=untried
23414 fi
23415 if test -n "$GL_EET_LIBS"; then
23416     pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
23417  elif test -n "$PKG_CONFIG"; then
23418     if test -n "$PKG_CONFIG" && \
23419     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
23420   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
23421   ac_status=$?
23422   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23423   test $ac_status = 0; }; then
23424   pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
23425 else
23426   pkg_failed=yes
23427 fi
23428  else
23429     pkg_failed=untried
23430 fi
23431
23432
23433
23434 if test $pkg_failed = yes; then
23435         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23436 $as_echo "no" >&6; }
23437
23438 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23439         _pkg_short_errors_supported=yes
23440 else
23441         _pkg_short_errors_supported=no
23442 fi
23443         if test $_pkg_short_errors_supported = yes; then
23444                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.99" 2>&1`
23445         else
23446                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.99" 2>&1`
23447         fi
23448         # Put the nasty error message in config.log where it belongs
23449         echo "$GL_EET_PKG_ERRORS" >&5
23450
23451         have_dep="no"
23452 elif test $pkg_failed = untried; then
23453         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23454 $as_echo "no" >&6; }
23455         have_dep="no"
23456 else
23457         GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
23458         GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
23459         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23460 $as_echo "yes" >&6; }
23461         have_dep="yes"
23462 fi
23463       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
23464 $as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
23465 if test "${ac_cv_lib_GLESv2_glTexImage2D+set}" = set; then :
23466   $as_echo_n "(cached) " >&6
23467 else
23468   ac_check_lib_save_LIBS=$LIBS
23469 LIBS="-lGLESv2 -lEGL -lm $LIBS"
23470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23471 /* end confdefs.h.  */
23472
23473 /* Override any GCC internal prototype to avoid an error.
23474    Use char because int might match the return type of a GCC
23475    builtin and then its argument prototype would still apply.  */
23476 #ifdef __cplusplus
23477 extern "C"
23478 #endif
23479 char glTexImage2D ();
23480 int
23481 main ()
23482 {
23483 return glTexImage2D ();
23484   ;
23485   return 0;
23486 }
23487 _ACEOF
23488 if ac_fn_c_try_link "$LINENO"; then :
23489   ac_cv_lib_GLESv2_glTexImage2D=yes
23490 else
23491   ac_cv_lib_GLESv2_glTexImage2D=no
23492 fi
23493 rm -f core conftest.err conftest.$ac_objext \
23494     conftest$ac_exeext conftest.$ac_ext
23495 LIBS=$ac_check_lib_save_LIBS
23496 fi
23497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
23498 $as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
23499 if test "x$ac_cv_lib_GLESv2_glTexImage2D" = x""yes; then :
23500   have_glesv2="yes"
23501 fi
23502
23503       if test "x${have_glesv2}" = "xyes" ; then
23504          evas_engine_wayland_egl_cflags="${WAYLAND_EGL_CFLAGS}"
23505          evas_engine_wayland_egl_libs="${WAYLAND_EGL_LIBS} -lGL -lGLESv2 -lEGL"
23506       fi
23507 fi
23508
23509
23510
23511
23512 if test "x${want_engine}" = "xstatic" ; then
23513    requirement_evas="${requirement} ${requirement_evas}"
23514 fi
23515
23516 if test "x${have_dep}" = "xyes" ; then
23517   have_engine="yes"
23518 else
23519   have_engine="no"
23520 fi
23521
23522
23523 fi
23524
23525 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23526    as_fn_error $? "Wayland Egl dependencies not found (strict dependencies checking)" "$LINENO" 5
23527 fi
23528
23529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Wayland Egl rendering backend will be built" >&5
23530 $as_echo_n "checking whether Wayland Egl rendering backend will be built... " >&6; }
23531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
23532 $as_echo "${have_engine}" >&6; }
23533
23534 if test "x${have_engine}" = "xyes" ; then
23535    if test "x${want_engine}" = "xstatic" ; then
23536       have_evas_engine_wayland_egl="static"
23537       want_static_engine="yes"
23538    else
23539       have_evas_engine_wayland_egl="yes"
23540    fi
23541 fi
23542
23543 if test "x${have_engine}" = "xyes" ; then
23544
23545 $as_echo "#define BUILD_ENGINE_WAYLAND_EGL 1" >>confdefs.h
23546
23547 fi
23548
23549  if test "x${have_engine}" = "xyes"; then
23550   BUILD_ENGINE_WAYLAND_EGL_TRUE=
23551   BUILD_ENGINE_WAYLAND_EGL_FALSE='#'
23552 else
23553   BUILD_ENGINE_WAYLAND_EGL_TRUE='#'
23554   BUILD_ENGINE_WAYLAND_EGL_FALSE=
23555 fi
23556
23557
23558 if test "x${want_static_engine}" = "xyes" ; then
23559
23560 $as_echo "#define EVAS_STATIC_BUILD_WAYLAND_EGL 1" >>confdefs.h
23561
23562    have_static_module="yes"
23563 fi
23564
23565  if test "x${want_static_engine}" = "xyes"; then
23566   EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE=
23567   EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE='#'
23568 else
23569   EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE='#'
23570   EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE=
23571 fi
23572
23573
23574
23575
23576
23577
23578
23579 # SDL primitive
23580 sdl_primitive="no"
23581
23582 # Check whether --enable-sdl-primitive was given.
23583 if test "${enable_sdl_primitive+set}" = set; then :
23584   enableval=$enable_sdl_primitive; sdl_primitive=${enableval}
23585
23586 fi
23587
23588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use SDL primitive when possible" >&5
23589 $as_echo_n "checking whether to use SDL primitive when possible... " >&6; }
23590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sdl_primitive}" >&5
23591 $as_echo "${sdl_primitive}" >&6; }
23592
23593 if test "x${sdl_primitive}" = "xyes" ; then
23594
23595 $as_echo "#define ENGINE_SDL_PRIMITIVE 1" >>confdefs.h
23596
23597 fi
23598
23599 # if software generic need to be build as part of libevas.so
23600 have_static_software_generic="no"
23601 # Check whether --enable-static-software-generic was given.
23602 if test "${enable_static_software_generic+set}" = set; then :
23603   enableval=$enable_static_software_generic; have_static_software_generic=${enableval}
23604
23605 fi
23606
23607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to build software generic engine as part of libevas" >&5
23608 $as_echo_n "checking Whether to build software generic engine as part of libevas... " >&6; }
23609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_static_software_generic}" >&5
23610 $as_echo "${have_static_software_generic}" >&6; }
23611
23612 if test "x${have_static_module}" = "xyes" -a "x${have_static_software_generic}" = "xno"; then
23613    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Forcing --enable-static-software-generic as engines must be compiled statically" >&5
23614 $as_echo "$as_me: WARNING: Forcing --enable-static-software-generic as engines must be compiled statically" >&2;}
23615    have_static_software_generic="yes"
23616 fi
23617
23618  if test "x${have_static_software_generic}" = "xyes"; then
23619   EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE=
23620   EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE='#'
23621 else
23622   EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE='#'
23623   EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE=
23624 fi
23625
23626 if test "x${have_static_software_generic}" = "xyes"; then
23627
23628 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_GENERIC 1" >>confdefs.h
23629
23630 fi
23631
23632
23633 ######## Software Engine ########
23634 have_evas_engine_software_x11="no"
23635 have_evas_engine_software_xcb="no"
23636 have_evas_engine_software_xlib="no"
23637 build_software_xcb=
23638
23639 ## XCB Checks ##
23640 want_xcb="no"
23641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Software XCB Engine" >&5
23642 $as_echo_n "checking whether to build Software XCB Engine... " >&6; }
23643 # Check whether --enable-software-xcb was given.
23644 if test "${enable_software_xcb+set}" = set; then :
23645   enableval=$enable_software_xcb; want_xcb=$enableval
23646
23647 fi
23648
23649 if test "x$want_xcb" != "xno" ; then
23650
23651
23652
23653 want_engine="${want_evas_engine_software_xcb}"
23654 want_static_engine="no"
23655 have_engine="no"
23656 have_evas_engine_software_xcb="no"
23657
23658 # Check whether --enable-software-xcb was given.
23659 if test "${enable_software_xcb+set}" = set; then :
23660   enableval=$enable_software_xcb;
23661     if test "x${enableval}" = "xyes" ; then
23662        want_engine="yes"
23663     else
23664        if test "x${enableval}" = "xstatic" ; then
23665           want_engine="static"
23666        else
23667           want_engine="no"
23668        fi
23669     fi
23670
23671 fi
23672
23673
23674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software XCB rendering backend" >&5
23675 $as_echo_n "checking whether to enable Software XCB rendering backend... " >&6; }
23676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
23677 $as_echo "${want_engine}" >&6; }
23678
23679 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
23680
23681
23682 requirement=""
23683 have_dep="no"
23684 evas_engine_software_xcb_cflags=""
23685 evas_engine_software_xcb_libs=""
23686
23687
23688 pkg_failed=no
23689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB" >&5
23690 $as_echo_n "checking for XCB... " >&6; }
23691
23692 if test -n "$XCB_CFLAGS"; then
23693     pkg_cv_XCB_CFLAGS="$XCB_CFLAGS"
23694  elif test -n "$PKG_CONFIG"; then
23695     if test -n "$PKG_CONFIG" && \
23696     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
23697   ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
23698   ac_status=$?
23699   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23700   test $ac_status = 0; }; then
23701   pkg_cv_XCB_CFLAGS=`$PKG_CONFIG --cflags "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
23702 else
23703   pkg_failed=yes
23704 fi
23705  else
23706     pkg_failed=untried
23707 fi
23708 if test -n "$XCB_LIBS"; then
23709     pkg_cv_XCB_LIBS="$XCB_LIBS"
23710  elif test -n "$PKG_CONFIG"; then
23711     if test -n "$PKG_CONFIG" && \
23712     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
23713   ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
23714   ac_status=$?
23715   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23716   test $ac_status = 0; }; then
23717   pkg_cv_XCB_LIBS=`$PKG_CONFIG --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
23718 else
23719   pkg_failed=yes
23720 fi
23721  else
23722     pkg_failed=untried
23723 fi
23724
23725
23726
23727 if test $pkg_failed = yes; then
23728         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23729 $as_echo "no" >&6; }
23730
23731 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23732         _pkg_short_errors_supported=yes
23733 else
23734         _pkg_short_errors_supported=no
23735 fi
23736         if test $_pkg_short_errors_supported = yes; then
23737                 XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
23738         else
23739                 XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
23740         fi
23741         # Put the nasty error message in config.log where it belongs
23742         echo "$XCB_PKG_ERRORS" >&5
23743
23744
23745     have_dep="no"
23746
23747
23748 elif test $pkg_failed = untried; then
23749         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23750 $as_echo "no" >&6; }
23751
23752     have_dep="no"
23753
23754
23755 else
23756         XCB_CFLAGS=$pkg_cv_XCB_CFLAGS
23757         XCB_LIBS=$pkg_cv_XCB_LIBS
23758         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23759 $as_echo "yes" >&6; }
23760
23761     have_dep="yes"
23762     requirement="xcb xcb-shm xcb-image pixman-1"
23763     evas_engine_software_xcb_cflags="${XCB_CFLAGS}"
23764     evas_engine_software_xcb_libs="${XCB_LIBS}"
23765
23766 fi
23767
23768
23769
23770
23771 if test "x${want_engine}" = "xstatic" ; then
23772    requirement_evas="${requirement} ${requirement_evas}"
23773 fi
23774
23775 if test "x${have_dep}" = "xyes" ; then
23776   have_engine="yes"
23777 else
23778   have_engine="no"
23779 fi
23780
23781
23782 fi
23783
23784 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23785    as_fn_error $? "Software XCB dependencies not found (strict dependencies checking)" "$LINENO" 5
23786 fi
23787
23788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software XCB rendering backend will be built" >&5
23789 $as_echo_n "checking whether Software XCB rendering backend will be built... " >&6; }
23790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
23791 $as_echo "${have_engine}" >&6; }
23792
23793 if test "x${have_engine}" = "xyes" ; then
23794    if test "x${want_engine}" = "xstatic" ; then
23795       have_evas_engine_software_xcb="static"
23796       want_static_engine="yes"
23797    else
23798       have_evas_engine_software_xcb="yes"
23799    fi
23800 fi
23801
23802 if test "x${have_engine}" = "xyes" ; then
23803
23804 $as_echo "#define BUILD_ENGINE_SOFTWARE_XCB 1" >>confdefs.h
23805
23806 fi
23807
23808  if test "x${have_engine}" = "xyes"; then
23809   BUILD_ENGINE_SOFTWARE_XCB_TRUE=
23810   BUILD_ENGINE_SOFTWARE_XCB_FALSE='#'
23811 else
23812   BUILD_ENGINE_SOFTWARE_XCB_TRUE='#'
23813   BUILD_ENGINE_SOFTWARE_XCB_FALSE=
23814 fi
23815
23816
23817 if test "x${want_static_engine}" = "xyes" ; then
23818
23819 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_XCB 1" >>confdefs.h
23820
23821    have_static_module="yes"
23822 fi
23823
23824  if test "x${want_static_engine}" = "xyes"; then
23825   EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE=
23826   EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE='#'
23827 else
23828   EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE='#'
23829   EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE=
23830 fi
23831
23832
23833
23834
23835
23836
23837   if test "x$have_evas_engine_software_xcb" != "xno" ; then
23838     build_software_xcb="yes"
23839     have_evas_engine_software_x11="yes"
23840
23841 cat >>confdefs.h <<_ACEOF
23842 #define BUILD_ENGINE_SOFTWARE_X11 1
23843 _ACEOF
23844
23845
23846 cat >>confdefs.h <<_ACEOF
23847 #define BUILD_ENGINE_SOFTWARE_XCB 1
23848 _ACEOF
23849
23850   fi
23851 else
23852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23853 $as_echo "no" >&6; }
23854   build_software_xcb="no"
23855 fi
23856
23857 ## If we are not building XCB, then we can build XLib ##
23858
23859 if test "x$build_software_xcb" = "xno" ; then
23860
23861
23862
23863 want_engine="${want_evas_engine_software_xlib}"
23864 want_static_engine="no"
23865 have_engine="no"
23866 have_evas_engine_software_xlib="no"
23867
23868 # Check whether --enable-software-xlib was given.
23869 if test "${enable_software_xlib+set}" = set; then :
23870   enableval=$enable_software_xlib;
23871     if test "x${enableval}" = "xyes" ; then
23872        want_engine="yes"
23873     else
23874        if test "x${enableval}" = "xstatic" ; then
23875           want_engine="static"
23876        else
23877           want_engine="no"
23878        fi
23879     fi
23880
23881 fi
23882
23883
23884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software Xlib rendering backend" >&5
23885 $as_echo_n "checking whether to enable Software Xlib rendering backend... " >&6; }
23886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
23887 $as_echo "${want_engine}" >&6; }
23888
23889 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
23890
23891
23892 have_dep="no"
23893 evas_engine_software_xlib_cflags=""
23894 evas_engine_software_xlib_libs=""
23895
23896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
23897 $as_echo_n "checking for X... " >&6; }
23898
23899
23900 # Check whether --with-x was given.
23901 if test "${with_x+set}" = set; then :
23902   withval=$with_x;
23903 fi
23904
23905 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23906 if test "x$with_x" = xno; then
23907   # The user explicitly disabled X.
23908   have_x=disabled
23909 else
23910   case $x_includes,$x_libraries in #(
23911     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
23912     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
23913   $as_echo_n "(cached) " >&6
23914 else
23915   # One or both of the vars are not set, and there is no cached value.
23916 ac_x_includes=no ac_x_libraries=no
23917 rm -f -r conftest.dir
23918 if mkdir conftest.dir; then
23919   cd conftest.dir
23920   cat >Imakefile <<'_ACEOF'
23921 incroot:
23922         @echo incroot='${INCROOT}'
23923 usrlibdir:
23924         @echo usrlibdir='${USRLIBDIR}'
23925 libdir:
23926         @echo libdir='${LIBDIR}'
23927 _ACEOF
23928   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
23929     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
23930     for ac_var in incroot usrlibdir libdir; do
23931       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
23932     done
23933     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23934     for ac_extension in a so sl dylib la dll; do
23935       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
23936          test -f "$ac_im_libdir/libX11.$ac_extension"; then
23937         ac_im_usrlibdir=$ac_im_libdir; break
23938       fi
23939     done
23940     # Screen out bogus values from the imake configuration.  They are
23941     # bogus both because they are the default anyway, and because
23942     # using them would break gcc on systems where it needs fixed includes.
23943     case $ac_im_incroot in
23944         /usr/include) ac_x_includes= ;;
23945         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
23946     esac
23947     case $ac_im_usrlibdir in
23948         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
23949         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
23950     esac
23951   fi
23952   cd ..
23953   rm -f -r conftest.dir
23954 fi
23955
23956 # Standard set of common directories for X headers.
23957 # Check X11 before X11Rn because it is often a symlink to the current release.
23958 ac_x_header_dirs='
23959 /usr/X11/include
23960 /usr/X11R7/include
23961 /usr/X11R6/include
23962 /usr/X11R5/include
23963 /usr/X11R4/include
23964
23965 /usr/include/X11
23966 /usr/include/X11R7
23967 /usr/include/X11R6
23968 /usr/include/X11R5
23969 /usr/include/X11R4
23970
23971 /usr/local/X11/include
23972 /usr/local/X11R7/include
23973 /usr/local/X11R6/include
23974 /usr/local/X11R5/include
23975 /usr/local/X11R4/include
23976
23977 /usr/local/include/X11
23978 /usr/local/include/X11R7
23979 /usr/local/include/X11R6
23980 /usr/local/include/X11R5
23981 /usr/local/include/X11R4
23982
23983 /usr/X386/include
23984 /usr/x386/include
23985 /usr/XFree86/include/X11
23986
23987 /usr/include
23988 /usr/local/include
23989 /usr/unsupported/include
23990 /usr/athena/include
23991 /usr/local/x11r5/include
23992 /usr/lpp/Xamples/include
23993
23994 /usr/openwin/include
23995 /usr/openwin/share/include'
23996
23997 if test "$ac_x_includes" = no; then
23998   # Guess where to find include files, by looking for Xlib.h.
23999   # First, try using that file with no special directory specified.
24000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24001 /* end confdefs.h.  */
24002 #include <X11/Xlib.h>
24003 _ACEOF
24004 if ac_fn_c_try_cpp "$LINENO"; then :
24005   # We can compile using X headers with no special include directory.
24006 ac_x_includes=
24007 else
24008   for ac_dir in $ac_x_header_dirs; do
24009   if test -r "$ac_dir/X11/Xlib.h"; then
24010     ac_x_includes=$ac_dir
24011     break
24012   fi
24013 done
24014 fi
24015 rm -f conftest.err conftest.i conftest.$ac_ext
24016 fi # $ac_x_includes = no
24017
24018 if test "$ac_x_libraries" = no; then
24019   # Check for the libraries.
24020   # See if we find them without any special options.
24021   # Don't add to $LIBS permanently.
24022   ac_save_LIBS=$LIBS
24023   LIBS="-lX11 $LIBS"
24024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24025 /* end confdefs.h.  */
24026 #include <X11/Xlib.h>
24027 int
24028 main ()
24029 {
24030 XrmInitialize ()
24031   ;
24032   return 0;
24033 }
24034 _ACEOF
24035 if ac_fn_c_try_link "$LINENO"; then :
24036   LIBS=$ac_save_LIBS
24037 # We can link X programs with no special library path.
24038 ac_x_libraries=
24039 else
24040   LIBS=$ac_save_LIBS
24041 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24042 do
24043   # Don't even attempt the hair of trying to link an X program!
24044   for ac_extension in a so sl dylib la dll; do
24045     if test -r "$ac_dir/libX11.$ac_extension"; then
24046       ac_x_libraries=$ac_dir
24047       break 2
24048     fi
24049   done
24050 done
24051 fi
24052 rm -f core conftest.err conftest.$ac_objext \
24053     conftest$ac_exeext conftest.$ac_ext
24054 fi # $ac_x_libraries = no
24055
24056 case $ac_x_includes,$ac_x_libraries in #(
24057   no,* | *,no | *\'*)
24058     # Didn't find X, or a directory has "'" in its name.
24059     ac_cv_have_x="have_x=no";; #(
24060   *)
24061     # Record where we found X for the cache.
24062     ac_cv_have_x="have_x=yes\
24063         ac_x_includes='$ac_x_includes'\
24064         ac_x_libraries='$ac_x_libraries'"
24065 esac
24066 fi
24067 ;; #(
24068     *) have_x=yes;;
24069   esac
24070   eval "$ac_cv_have_x"
24071 fi # $with_x != no
24072
24073 if test "$have_x" != yes; then
24074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24075 $as_echo "$have_x" >&6; }
24076   no_x=yes
24077 else
24078   # If each of the values was on the command line, it overrides each guess.
24079   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24080   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24081   # Update the cache value to reflect the command line values.
24082   ac_cv_have_x="have_x=yes\
24083         ac_x_includes='$x_includes'\
24084         ac_x_libraries='$x_libraries'"
24085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24086 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24087 fi
24088
24089 if test "$no_x" = yes; then
24090   # Not all programs may use this symbol, but it does not hurt to define it.
24091
24092 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24093
24094   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24095 else
24096   if test -n "$x_includes"; then
24097     X_CFLAGS="$X_CFLAGS -I$x_includes"
24098   fi
24099
24100   # It would also be nice to do this for all -L options, not just this one.
24101   if test -n "$x_libraries"; then
24102     X_LIBS="$X_LIBS -L$x_libraries"
24103     # For Solaris; some versions of Sun CC require a space after -R and
24104     # others require no space.  Words are not sufficient . . . .
24105     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24106 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24107     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24108     ac_xsave_c_werror_flag=$ac_c_werror_flag
24109     ac_c_werror_flag=yes
24110     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24111 /* end confdefs.h.  */
24112
24113 int
24114 main ()
24115 {
24116
24117   ;
24118   return 0;
24119 }
24120 _ACEOF
24121 if ac_fn_c_try_link "$LINENO"; then :
24122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24123 $as_echo "no" >&6; }
24124        X_LIBS="$X_LIBS -R$x_libraries"
24125 else
24126   LIBS="$ac_xsave_LIBS -R $x_libraries"
24127        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24128 /* end confdefs.h.  */
24129
24130 int
24131 main ()
24132 {
24133
24134   ;
24135   return 0;
24136 }
24137 _ACEOF
24138 if ac_fn_c_try_link "$LINENO"; then :
24139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24140 $as_echo "yes" >&6; }
24141           X_LIBS="$X_LIBS -R $x_libraries"
24142 else
24143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
24144 $as_echo "neither works" >&6; }
24145 fi
24146 rm -f core conftest.err conftest.$ac_objext \
24147     conftest$ac_exeext conftest.$ac_ext
24148 fi
24149 rm -f core conftest.err conftest.$ac_objext \
24150     conftest$ac_exeext conftest.$ac_ext
24151     ac_c_werror_flag=$ac_xsave_c_werror_flag
24152     LIBS=$ac_xsave_LIBS
24153   fi
24154
24155   # Check for system-dependent libraries X programs must link with.
24156   # Do this before checking for the system-independent R6 libraries
24157   # (-lICE), since we may need -lsocket or whatever for X linking.
24158
24159   if test "$ISC" = yes; then
24160     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24161   else
24162     # Martyn Johnson says this is needed for Ultrix, if the X
24163     # libraries were built with DECnet support.  And Karl Berry says
24164     # the Alpha needs dnet_stub (dnet does not exist).
24165     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24166     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24167 /* end confdefs.h.  */
24168
24169 /* Override any GCC internal prototype to avoid an error.
24170    Use char because int might match the return type of a GCC
24171    builtin and then its argument prototype would still apply.  */
24172 #ifdef __cplusplus
24173 extern "C"
24174 #endif
24175 char XOpenDisplay ();
24176 int
24177 main ()
24178 {
24179 return XOpenDisplay ();
24180   ;
24181   return 0;
24182 }
24183 _ACEOF
24184 if ac_fn_c_try_link "$LINENO"; then :
24185
24186 else
24187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
24188 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
24189 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
24190   $as_echo_n "(cached) " >&6
24191 else
24192   ac_check_lib_save_LIBS=$LIBS
24193 LIBS="-ldnet  $LIBS"
24194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24195 /* end confdefs.h.  */
24196
24197 /* Override any GCC internal prototype to avoid an error.
24198    Use char because int might match the return type of a GCC
24199    builtin and then its argument prototype would still apply.  */
24200 #ifdef __cplusplus
24201 extern "C"
24202 #endif
24203 char dnet_ntoa ();
24204 int
24205 main ()
24206 {
24207 return dnet_ntoa ();
24208   ;
24209   return 0;
24210 }
24211 _ACEOF
24212 if ac_fn_c_try_link "$LINENO"; then :
24213   ac_cv_lib_dnet_dnet_ntoa=yes
24214 else
24215   ac_cv_lib_dnet_dnet_ntoa=no
24216 fi
24217 rm -f core conftest.err conftest.$ac_objext \
24218     conftest$ac_exeext conftest.$ac_ext
24219 LIBS=$ac_check_lib_save_LIBS
24220 fi
24221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24222 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
24223 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
24224   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24225 fi
24226
24227     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24228       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
24229 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
24230 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
24231   $as_echo_n "(cached) " >&6
24232 else
24233   ac_check_lib_save_LIBS=$LIBS
24234 LIBS="-ldnet_stub  $LIBS"
24235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24236 /* end confdefs.h.  */
24237
24238 /* Override any GCC internal prototype to avoid an error.
24239    Use char because int might match the return type of a GCC
24240    builtin and then its argument prototype would still apply.  */
24241 #ifdef __cplusplus
24242 extern "C"
24243 #endif
24244 char dnet_ntoa ();
24245 int
24246 main ()
24247 {
24248 return dnet_ntoa ();
24249   ;
24250   return 0;
24251 }
24252 _ACEOF
24253 if ac_fn_c_try_link "$LINENO"; then :
24254   ac_cv_lib_dnet_stub_dnet_ntoa=yes
24255 else
24256   ac_cv_lib_dnet_stub_dnet_ntoa=no
24257 fi
24258 rm -f core conftest.err conftest.$ac_objext \
24259     conftest$ac_exeext conftest.$ac_ext
24260 LIBS=$ac_check_lib_save_LIBS
24261 fi
24262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24263 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
24264 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
24265   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
24266 fi
24267
24268     fi
24269 fi
24270 rm -f core conftest.err conftest.$ac_objext \
24271     conftest$ac_exeext conftest.$ac_ext
24272     LIBS="$ac_xsave_LIBS"
24273
24274     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24275     # to get the SysV transport functions.
24276     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24277     # needs -lnsl.
24278     # The nsl library prevents programs from opening the X display
24279     # on Irix 5.2, according to T.E. Dickey.
24280     # The functions gethostbyname, getservbyname, and inet_addr are
24281     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24282     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
24283 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
24284
24285 fi
24286
24287     if test $ac_cv_func_gethostbyname = no; then
24288       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
24289 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
24290 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
24291   $as_echo_n "(cached) " >&6
24292 else
24293   ac_check_lib_save_LIBS=$LIBS
24294 LIBS="-lnsl  $LIBS"
24295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24296 /* end confdefs.h.  */
24297
24298 /* Override any GCC internal prototype to avoid an error.
24299    Use char because int might match the return type of a GCC
24300    builtin and then its argument prototype would still apply.  */
24301 #ifdef __cplusplus
24302 extern "C"
24303 #endif
24304 char gethostbyname ();
24305 int
24306 main ()
24307 {
24308 return gethostbyname ();
24309   ;
24310   return 0;
24311 }
24312 _ACEOF
24313 if ac_fn_c_try_link "$LINENO"; then :
24314   ac_cv_lib_nsl_gethostbyname=yes
24315 else
24316   ac_cv_lib_nsl_gethostbyname=no
24317 fi
24318 rm -f core conftest.err conftest.$ac_objext \
24319     conftest$ac_exeext conftest.$ac_ext
24320 LIBS=$ac_check_lib_save_LIBS
24321 fi
24322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
24323 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
24324 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
24325   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24326 fi
24327
24328       if test $ac_cv_lib_nsl_gethostbyname = no; then
24329         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
24330 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
24331 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
24332   $as_echo_n "(cached) " >&6
24333 else
24334   ac_check_lib_save_LIBS=$LIBS
24335 LIBS="-lbsd  $LIBS"
24336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24337 /* end confdefs.h.  */
24338
24339 /* Override any GCC internal prototype to avoid an error.
24340    Use char because int might match the return type of a GCC
24341    builtin and then its argument prototype would still apply.  */
24342 #ifdef __cplusplus
24343 extern "C"
24344 #endif
24345 char gethostbyname ();
24346 int
24347 main ()
24348 {
24349 return gethostbyname ();
24350   ;
24351   return 0;
24352 }
24353 _ACEOF
24354 if ac_fn_c_try_link "$LINENO"; then :
24355   ac_cv_lib_bsd_gethostbyname=yes
24356 else
24357   ac_cv_lib_bsd_gethostbyname=no
24358 fi
24359 rm -f core conftest.err conftest.$ac_objext \
24360     conftest$ac_exeext conftest.$ac_ext
24361 LIBS=$ac_check_lib_save_LIBS
24362 fi
24363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
24364 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
24365 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
24366   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
24367 fi
24368
24369       fi
24370     fi
24371
24372     # lieder@skyler.mavd.honeywell.com says without -lsocket,
24373     # socket/setsockopt and other routines are undefined under SCO ODT
24374     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
24375     # on later versions), says Simon Leinen: it contains gethostby*
24376     # variants that don't use the name server (or something).  -lsocket
24377     # must be given before -lnsl if both are needed.  We assume that
24378     # if connect needs -lnsl, so does gethostbyname.
24379     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
24380 if test "x$ac_cv_func_connect" = x""yes; then :
24381
24382 fi
24383
24384     if test $ac_cv_func_connect = no; then
24385       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
24386 $as_echo_n "checking for connect in -lsocket... " >&6; }
24387 if test "${ac_cv_lib_socket_connect+set}" = set; then :
24388   $as_echo_n "(cached) " >&6
24389 else
24390   ac_check_lib_save_LIBS=$LIBS
24391 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24393 /* end confdefs.h.  */
24394
24395 /* Override any GCC internal prototype to avoid an error.
24396    Use char because int might match the return type of a GCC
24397    builtin and then its argument prototype would still apply.  */
24398 #ifdef __cplusplus
24399 extern "C"
24400 #endif
24401 char connect ();
24402 int
24403 main ()
24404 {
24405 return connect ();
24406   ;
24407   return 0;
24408 }
24409 _ACEOF
24410 if ac_fn_c_try_link "$LINENO"; then :
24411   ac_cv_lib_socket_connect=yes
24412 else
24413   ac_cv_lib_socket_connect=no
24414 fi
24415 rm -f core conftest.err conftest.$ac_objext \
24416     conftest$ac_exeext conftest.$ac_ext
24417 LIBS=$ac_check_lib_save_LIBS
24418 fi
24419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
24420 $as_echo "$ac_cv_lib_socket_connect" >&6; }
24421 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
24422   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24423 fi
24424
24425     fi
24426
24427     # Guillermo Gomez says -lposix is necessary on A/UX.
24428     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
24429 if test "x$ac_cv_func_remove" = x""yes; then :
24430
24431 fi
24432
24433     if test $ac_cv_func_remove = no; then
24434       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
24435 $as_echo_n "checking for remove in -lposix... " >&6; }
24436 if test "${ac_cv_lib_posix_remove+set}" = set; then :
24437   $as_echo_n "(cached) " >&6
24438 else
24439   ac_check_lib_save_LIBS=$LIBS
24440 LIBS="-lposix  $LIBS"
24441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24442 /* end confdefs.h.  */
24443
24444 /* Override any GCC internal prototype to avoid an error.
24445    Use char because int might match the return type of a GCC
24446    builtin and then its argument prototype would still apply.  */
24447 #ifdef __cplusplus
24448 extern "C"
24449 #endif
24450 char remove ();
24451 int
24452 main ()
24453 {
24454 return remove ();
24455   ;
24456   return 0;
24457 }
24458 _ACEOF
24459 if ac_fn_c_try_link "$LINENO"; then :
24460   ac_cv_lib_posix_remove=yes
24461 else
24462   ac_cv_lib_posix_remove=no
24463 fi
24464 rm -f core conftest.err conftest.$ac_objext \
24465     conftest$ac_exeext conftest.$ac_ext
24466 LIBS=$ac_check_lib_save_LIBS
24467 fi
24468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
24469 $as_echo "$ac_cv_lib_posix_remove" >&6; }
24470 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
24471   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
24472 fi
24473
24474     fi
24475
24476     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24477     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
24478 if test "x$ac_cv_func_shmat" = x""yes; then :
24479
24480 fi
24481
24482     if test $ac_cv_func_shmat = no; then
24483       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
24484 $as_echo_n "checking for shmat in -lipc... " >&6; }
24485 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
24486   $as_echo_n "(cached) " >&6
24487 else
24488   ac_check_lib_save_LIBS=$LIBS
24489 LIBS="-lipc  $LIBS"
24490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24491 /* end confdefs.h.  */
24492
24493 /* Override any GCC internal prototype to avoid an error.
24494    Use char because int might match the return type of a GCC
24495    builtin and then its argument prototype would still apply.  */
24496 #ifdef __cplusplus
24497 extern "C"
24498 #endif
24499 char shmat ();
24500 int
24501 main ()
24502 {
24503 return shmat ();
24504   ;
24505   return 0;
24506 }
24507 _ACEOF
24508 if ac_fn_c_try_link "$LINENO"; then :
24509   ac_cv_lib_ipc_shmat=yes
24510 else
24511   ac_cv_lib_ipc_shmat=no
24512 fi
24513 rm -f core conftest.err conftest.$ac_objext \
24514     conftest$ac_exeext conftest.$ac_ext
24515 LIBS=$ac_check_lib_save_LIBS
24516 fi
24517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
24518 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
24519 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
24520   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
24521 fi
24522
24523     fi
24524   fi
24525
24526   # Check for libraries that X11R6 Xt/Xaw programs need.
24527   ac_save_LDFLAGS=$LDFLAGS
24528   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
24529   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24530   # check for ICE first), but we must link in the order -lSM -lICE or
24531   # we get undefined symbols.  So assume we have SM if we have ICE.
24532   # These have to be linked with before -lX11, unlike the other
24533   # libraries we check for below, so use a different variable.
24534   # John Interrante, Karl Berry
24535   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
24536 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
24537 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
24538   $as_echo_n "(cached) " >&6
24539 else
24540   ac_check_lib_save_LIBS=$LIBS
24541 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
24542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24543 /* end confdefs.h.  */
24544
24545 /* Override any GCC internal prototype to avoid an error.
24546    Use char because int might match the return type of a GCC
24547    builtin and then its argument prototype would still apply.  */
24548 #ifdef __cplusplus
24549 extern "C"
24550 #endif
24551 char IceConnectionNumber ();
24552 int
24553 main ()
24554 {
24555 return IceConnectionNumber ();
24556   ;
24557   return 0;
24558 }
24559 _ACEOF
24560 if ac_fn_c_try_link "$LINENO"; then :
24561   ac_cv_lib_ICE_IceConnectionNumber=yes
24562 else
24563   ac_cv_lib_ICE_IceConnectionNumber=no
24564 fi
24565 rm -f core conftest.err conftest.$ac_objext \
24566     conftest$ac_exeext conftest.$ac_ext
24567 LIBS=$ac_check_lib_save_LIBS
24568 fi
24569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24570 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
24571 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
24572   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
24573 fi
24574
24575   LDFLAGS=$ac_save_LDFLAGS
24576
24577 fi
24578
24579
24580 ac_fn_c_check_header_mongrel "$LINENO" "X11/X.h" "ac_cv_header_X11_X_h" "$ac_includes_default"
24581 if test "x$ac_cv_header_X11_X_h" = x""yes; then :
24582   have_dep="yes"
24583 fi
24584
24585
24586
24587 if test "x${have_dep}" = "xyes" ; then
24588    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateImage in -lX11" >&5
24589 $as_echo_n "checking for XCreateImage in -lX11... " >&6; }
24590 if test "${ac_cv_lib_X11_XCreateImage+set}" = set; then :
24591   $as_echo_n "(cached) " >&6
24592 else
24593   ac_check_lib_save_LIBS=$LIBS
24594 LIBS="-lX11  $LIBS"
24595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24596 /* end confdefs.h.  */
24597
24598 /* Override any GCC internal prototype to avoid an error.
24599    Use char because int might match the return type of a GCC
24600    builtin and then its argument prototype would still apply.  */
24601 #ifdef __cplusplus
24602 extern "C"
24603 #endif
24604 char XCreateImage ();
24605 int
24606 main ()
24607 {
24608 return XCreateImage ();
24609   ;
24610   return 0;
24611 }
24612 _ACEOF
24613 if ac_fn_c_try_link "$LINENO"; then :
24614   ac_cv_lib_X11_XCreateImage=yes
24615 else
24616   ac_cv_lib_X11_XCreateImage=no
24617 fi
24618 rm -f core conftest.err conftest.$ac_objext \
24619     conftest$ac_exeext conftest.$ac_ext
24620 LIBS=$ac_check_lib_save_LIBS
24621 fi
24622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateImage" >&5
24623 $as_echo "$ac_cv_lib_X11_XCreateImage" >&6; }
24624 if test "x$ac_cv_lib_X11_XCreateImage" = x""yes; then :
24625   have_dep="yes"
24626 else
24627   have_dep="no"
24628 fi
24629
24630 fi
24631
24632 if test "x${have_dep}" = "xyes" ; then
24633    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmCreateImage in -lXext" >&5
24634 $as_echo_n "checking for XShmCreateImage in -lXext... " >&6; }
24635 if test "${ac_cv_lib_Xext_XShmCreateImage+set}" = set; then :
24636   $as_echo_n "(cached) " >&6
24637 else
24638   ac_check_lib_save_LIBS=$LIBS
24639 LIBS="-lXext  $LIBS"
24640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24641 /* end confdefs.h.  */
24642
24643 /* Override any GCC internal prototype to avoid an error.
24644    Use char because int might match the return type of a GCC
24645    builtin and then its argument prototype would still apply.  */
24646 #ifdef __cplusplus
24647 extern "C"
24648 #endif
24649 char XShmCreateImage ();
24650 int
24651 main ()
24652 {
24653 return XShmCreateImage ();
24654   ;
24655   return 0;
24656 }
24657 _ACEOF
24658 if ac_fn_c_try_link "$LINENO"; then :
24659   ac_cv_lib_Xext_XShmCreateImage=yes
24660 else
24661   ac_cv_lib_Xext_XShmCreateImage=no
24662 fi
24663 rm -f core conftest.err conftest.$ac_objext \
24664     conftest$ac_exeext conftest.$ac_ext
24665 LIBS=$ac_check_lib_save_LIBS
24666 fi
24667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmCreateImage" >&5
24668 $as_echo "$ac_cv_lib_Xext_XShmCreateImage" >&6; }
24669 if test "x$ac_cv_lib_Xext_XShmCreateImage" = x""yes; then :
24670   have_dep="yes"
24671 else
24672   have_dep="no"
24673 fi
24674
24675 fi
24676
24677 if test "x${have_dep}" = "xyes" ; then
24678    if test "xno" = "xyes" ; then
24679       x_libs="${x_libs} -lX11 -lXext"
24680    else
24681       x_dir=${x_dir:-/usr/X11R6}
24682       x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
24683       x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
24684    fi
24685    evas_engine_software_xlib_cflags="${x_cflags}"
24686    evas_engine_software_xlib_libs="${x_libs}"
24687 fi
24688
24689
24690
24691
24692 if test "x${have_dep}" = "xyes" ; then
24693   have_engine="yes"
24694 else
24695   have_engine="no"
24696 fi
24697
24698
24699 fi
24700
24701 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
24702    as_fn_error $? "Software Xlib dependencies not found (strict dependencies checking)" "$LINENO" 5
24703 fi
24704
24705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software Xlib rendering backend will be built" >&5
24706 $as_echo_n "checking whether Software Xlib rendering backend will be built... " >&6; }
24707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
24708 $as_echo "${have_engine}" >&6; }
24709
24710 if test "x${have_engine}" = "xyes" ; then
24711    if test "x${want_engine}" = "xstatic" ; then
24712       have_evas_engine_software_xlib="static"
24713       want_static_engine="yes"
24714    else
24715       have_evas_engine_software_xlib="yes"
24716    fi
24717 fi
24718
24719 if test "x${have_engine}" = "xyes" ; then
24720
24721 $as_echo "#define BUILD_ENGINE_SOFTWARE_XLIB 1" >>confdefs.h
24722
24723 fi
24724
24725  if test "x${have_engine}" = "xyes"; then
24726   BUILD_ENGINE_SOFTWARE_XLIB_TRUE=
24727   BUILD_ENGINE_SOFTWARE_XLIB_FALSE='#'
24728 else
24729   BUILD_ENGINE_SOFTWARE_XLIB_TRUE='#'
24730   BUILD_ENGINE_SOFTWARE_XLIB_FALSE=
24731 fi
24732
24733
24734 if test "x${want_static_engine}" = "xyes" ; then
24735
24736 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_XLIB 1" >>confdefs.h
24737
24738    have_static_module="yes"
24739 fi
24740
24741  if test "x${want_static_engine}" = "xyes"; then
24742   EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE=
24743   EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE='#'
24744 else
24745   EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE='#'
24746   EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE=
24747 fi
24748
24749
24750
24751
24752
24753
24754   # if software_x11 is available, define everything needed for X11
24755   if test "x$have_evas_engine_software_xlib" != "xno" ; then
24756     have_evas_engine_software_x11="yes"
24757
24758 cat >>confdefs.h <<_ACEOF
24759 #define BUILD_ENGINE_SOFTWARE_X11 1
24760 _ACEOF
24761
24762
24763 cat >>confdefs.h <<_ACEOF
24764 #define BUILD_ENGINE_SOFTWARE_XLIB 1
24765 _ACEOF
24766
24767   fi
24768 else
24769   have_evas_engine_software_xlib="no"
24770 fi
24771
24772 if test "x$have_evas_engine_software_xlib" = "xstatic" -o "x$have_evas_engine_software_xcb" = "xstatic"; then
24773
24774 cat >>confdefs.h <<_ACEOF
24775 #define EVAS_STATIC_BUILD_SOFTWARE_X11 1
24776 _ACEOF
24777
24778 fi
24779
24780
24781
24782
24783  if test "x${have_evas_engine_software_xlib}" != "xno"; then
24784   BUILD_ENGINE_SOFTWARE_XLIB_TRUE=
24785   BUILD_ENGINE_SOFTWARE_XLIB_FALSE='#'
24786 else
24787   BUILD_ENGINE_SOFTWARE_XLIB_TRUE='#'
24788   BUILD_ENGINE_SOFTWARE_XLIB_FALSE=
24789 fi
24790
24791  if test "x${have_evas_engine_software_xcb}" != "xno"; then
24792   BUILD_ENGINE_SOFTWARE_XCB_TRUE=
24793   BUILD_ENGINE_SOFTWARE_XCB_FALSE='#'
24794 else
24795   BUILD_ENGINE_SOFTWARE_XCB_TRUE='#'
24796   BUILD_ENGINE_SOFTWARE_XCB_FALSE=
24797 fi
24798
24799  if test "x${have_evas_engine_software_x11}" != "xno"; then
24800   BUILD_ENGINE_SOFTWARE_X11_TRUE=
24801   BUILD_ENGINE_SOFTWARE_X11_FALSE='#'
24802 else
24803   BUILD_ENGINE_SOFTWARE_X11_TRUE='#'
24804   BUILD_ENGINE_SOFTWARE_X11_FALSE=
24805 fi
24806
24807
24808  if test "x${have_evas_engine_software_xcb}" = "xstatic" -o "x${have_evas_engine_software_xlib}" = "xstatic"; then
24809   EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE=
24810   EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE='#'
24811 else
24812   EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE='#'
24813   EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE=
24814 fi
24815
24816  if test "x${have_evas_engine_software_xlib}" = "xstatic"; then
24817   EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE=
24818   EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE='#'
24819 else
24820   EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE='#'
24821   EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE=
24822 fi
24823
24824  if test "x${have_evas_engine_software_xcb}" = "xstatic"; then
24825   EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE=
24826   EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE='#'
24827 else
24828   EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE='#'
24829   EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE=
24830 fi
24831
24832
24833
24834
24835
24836 ######## OpenGL Engine ########
24837 have_evas_engine_gl_x11="no"
24838 have_evas_engine_gl_xcb="no"
24839 build_gl_xcb="no"
24840
24841 ## XCB Checks ##
24842 want_gl_xcb="no"
24843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build OpenGL XCB Engine" >&5
24844 $as_echo_n "checking whether to build OpenGL XCB Engine... " >&6; }
24845 # Check whether --enable-gl-xcb was given.
24846 if test "${enable_gl_xcb+set}" = set; then :
24847   enableval=$enable_gl_xcb; want_gl_xcb=$enableval
24848
24849 fi
24850
24851 if test "x$want_gl_xcb" = "xyes" ; then
24852
24853
24854
24855 want_engine="${want_evas_engine_gl_xcb}"
24856 want_static_engine="no"
24857 have_engine="no"
24858 have_evas_engine_gl_xcb="no"
24859
24860 # Check whether --enable-gl-xcb was given.
24861 if test "${enable_gl_xcb+set}" = set; then :
24862   enableval=$enable_gl_xcb;
24863     if test "x${enableval}" = "xyes" ; then
24864        want_engine="yes"
24865     else
24866        if test "x${enableval}" = "xstatic" ; then
24867           want_engine="static"
24868        else
24869           want_engine="no"
24870        fi
24871     fi
24872
24873 fi
24874
24875
24876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL XCB rendering backend" >&5
24877 $as_echo_n "checking whether to enable OpenGL XCB rendering backend... " >&6; }
24878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
24879 $as_echo "${want_engine}" >&6; }
24880
24881 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
24882
24883
24884 evas_engine_gl_xcb_cflags=""
24885 evas_engine_gl_xcb_libs=""
24886
24887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24888 $as_echo_n "checking for X... " >&6; }
24889
24890
24891 # Check whether --with-x was given.
24892 if test "${with_x+set}" = set; then :
24893   withval=$with_x;
24894 fi
24895
24896 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24897 if test "x$with_x" = xno; then
24898   # The user explicitly disabled X.
24899   have_x=disabled
24900 else
24901   case $x_includes,$x_libraries in #(
24902     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
24903     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
24904   $as_echo_n "(cached) " >&6
24905 else
24906   # One or both of the vars are not set, and there is no cached value.
24907 ac_x_includes=no ac_x_libraries=no
24908 rm -f -r conftest.dir
24909 if mkdir conftest.dir; then
24910   cd conftest.dir
24911   cat >Imakefile <<'_ACEOF'
24912 incroot:
24913         @echo incroot='${INCROOT}'
24914 usrlibdir:
24915         @echo usrlibdir='${USRLIBDIR}'
24916 libdir:
24917         @echo libdir='${LIBDIR}'
24918 _ACEOF
24919   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24920     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24921     for ac_var in incroot usrlibdir libdir; do
24922       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24923     done
24924     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24925     for ac_extension in a so sl dylib la dll; do
24926       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24927          test -f "$ac_im_libdir/libX11.$ac_extension"; then
24928         ac_im_usrlibdir=$ac_im_libdir; break
24929       fi
24930     done
24931     # Screen out bogus values from the imake configuration.  They are
24932     # bogus both because they are the default anyway, and because
24933     # using them would break gcc on systems where it needs fixed includes.
24934     case $ac_im_incroot in
24935         /usr/include) ac_x_includes= ;;
24936         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24937     esac
24938     case $ac_im_usrlibdir in
24939         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24940         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24941     esac
24942   fi
24943   cd ..
24944   rm -f -r conftest.dir
24945 fi
24946
24947 # Standard set of common directories for X headers.
24948 # Check X11 before X11Rn because it is often a symlink to the current release.
24949 ac_x_header_dirs='
24950 /usr/X11/include
24951 /usr/X11R7/include
24952 /usr/X11R6/include
24953 /usr/X11R5/include
24954 /usr/X11R4/include
24955
24956 /usr/include/X11
24957 /usr/include/X11R7
24958 /usr/include/X11R6
24959 /usr/include/X11R5
24960 /usr/include/X11R4
24961
24962 /usr/local/X11/include
24963 /usr/local/X11R7/include
24964 /usr/local/X11R6/include
24965 /usr/local/X11R5/include
24966 /usr/local/X11R4/include
24967
24968 /usr/local/include/X11
24969 /usr/local/include/X11R7
24970 /usr/local/include/X11R6
24971 /usr/local/include/X11R5
24972 /usr/local/include/X11R4
24973
24974 /usr/X386/include
24975 /usr/x386/include
24976 /usr/XFree86/include/X11
24977
24978 /usr/include
24979 /usr/local/include
24980 /usr/unsupported/include
24981 /usr/athena/include
24982 /usr/local/x11r5/include
24983 /usr/lpp/Xamples/include
24984
24985 /usr/openwin/include
24986 /usr/openwin/share/include'
24987
24988 if test "$ac_x_includes" = no; then
24989   # Guess where to find include files, by looking for Xlib.h.
24990   # First, try using that file with no special directory specified.
24991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24992 /* end confdefs.h.  */
24993 #include <X11/Xlib.h>
24994 _ACEOF
24995 if ac_fn_c_try_cpp "$LINENO"; then :
24996   # We can compile using X headers with no special include directory.
24997 ac_x_includes=
24998 else
24999   for ac_dir in $ac_x_header_dirs; do
25000   if test -r "$ac_dir/X11/Xlib.h"; then
25001     ac_x_includes=$ac_dir
25002     break
25003   fi
25004 done
25005 fi
25006 rm -f conftest.err conftest.i conftest.$ac_ext
25007 fi # $ac_x_includes = no
25008
25009 if test "$ac_x_libraries" = no; then
25010   # Check for the libraries.
25011   # See if we find them without any special options.
25012   # Don't add to $LIBS permanently.
25013   ac_save_LIBS=$LIBS
25014   LIBS="-lX11 $LIBS"
25015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25016 /* end confdefs.h.  */
25017 #include <X11/Xlib.h>
25018 int
25019 main ()
25020 {
25021 XrmInitialize ()
25022   ;
25023   return 0;
25024 }
25025 _ACEOF
25026 if ac_fn_c_try_link "$LINENO"; then :
25027   LIBS=$ac_save_LIBS
25028 # We can link X programs with no special library path.
25029 ac_x_libraries=
25030 else
25031   LIBS=$ac_save_LIBS
25032 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25033 do
25034   # Don't even attempt the hair of trying to link an X program!
25035   for ac_extension in a so sl dylib la dll; do
25036     if test -r "$ac_dir/libX11.$ac_extension"; then
25037       ac_x_libraries=$ac_dir
25038       break 2
25039     fi
25040   done
25041 done
25042 fi
25043 rm -f core conftest.err conftest.$ac_objext \
25044     conftest$ac_exeext conftest.$ac_ext
25045 fi # $ac_x_libraries = no
25046
25047 case $ac_x_includes,$ac_x_libraries in #(
25048   no,* | *,no | *\'*)
25049     # Didn't find X, or a directory has "'" in its name.
25050     ac_cv_have_x="have_x=no";; #(
25051   *)
25052     # Record where we found X for the cache.
25053     ac_cv_have_x="have_x=yes\
25054         ac_x_includes='$ac_x_includes'\
25055         ac_x_libraries='$ac_x_libraries'"
25056 esac
25057 fi
25058 ;; #(
25059     *) have_x=yes;;
25060   esac
25061   eval "$ac_cv_have_x"
25062 fi # $with_x != no
25063
25064 if test "$have_x" != yes; then
25065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
25066 $as_echo "$have_x" >&6; }
25067   no_x=yes
25068 else
25069   # If each of the values was on the command line, it overrides each guess.
25070   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
25071   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
25072   # Update the cache value to reflect the command line values.
25073   ac_cv_have_x="have_x=yes\
25074         ac_x_includes='$x_includes'\
25075         ac_x_libraries='$x_libraries'"
25076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
25077 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
25078 fi
25079
25080 if test "$no_x" = yes; then
25081   # Not all programs may use this symbol, but it does not hurt to define it.
25082
25083 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
25084
25085   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
25086 else
25087   if test -n "$x_includes"; then
25088     X_CFLAGS="$X_CFLAGS -I$x_includes"
25089   fi
25090
25091   # It would also be nice to do this for all -L options, not just this one.
25092   if test -n "$x_libraries"; then
25093     X_LIBS="$X_LIBS -L$x_libraries"
25094     # For Solaris; some versions of Sun CC require a space after -R and
25095     # others require no space.  Words are not sufficient . . . .
25096     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
25097 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
25098     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
25099     ac_xsave_c_werror_flag=$ac_c_werror_flag
25100     ac_c_werror_flag=yes
25101     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25102 /* end confdefs.h.  */
25103
25104 int
25105 main ()
25106 {
25107
25108   ;
25109   return 0;
25110 }
25111 _ACEOF
25112 if ac_fn_c_try_link "$LINENO"; then :
25113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25114 $as_echo "no" >&6; }
25115        X_LIBS="$X_LIBS -R$x_libraries"
25116 else
25117   LIBS="$ac_xsave_LIBS -R $x_libraries"
25118        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25119 /* end confdefs.h.  */
25120
25121 int
25122 main ()
25123 {
25124
25125   ;
25126   return 0;
25127 }
25128 _ACEOF
25129 if ac_fn_c_try_link "$LINENO"; then :
25130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25131 $as_echo "yes" >&6; }
25132           X_LIBS="$X_LIBS -R $x_libraries"
25133 else
25134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
25135 $as_echo "neither works" >&6; }
25136 fi
25137 rm -f core conftest.err conftest.$ac_objext \
25138     conftest$ac_exeext conftest.$ac_ext
25139 fi
25140 rm -f core conftest.err conftest.$ac_objext \
25141     conftest$ac_exeext conftest.$ac_ext
25142     ac_c_werror_flag=$ac_xsave_c_werror_flag
25143     LIBS=$ac_xsave_LIBS
25144   fi
25145
25146   # Check for system-dependent libraries X programs must link with.
25147   # Do this before checking for the system-independent R6 libraries
25148   # (-lICE), since we may need -lsocket or whatever for X linking.
25149
25150   if test "$ISC" = yes; then
25151     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25152   else
25153     # Martyn Johnson says this is needed for Ultrix, if the X
25154     # libraries were built with DECnet support.  And Karl Berry says
25155     # the Alpha needs dnet_stub (dnet does not exist).
25156     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25157     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25158 /* end confdefs.h.  */
25159
25160 /* Override any GCC internal prototype to avoid an error.
25161    Use char because int might match the return type of a GCC
25162    builtin and then its argument prototype would still apply.  */
25163 #ifdef __cplusplus
25164 extern "C"
25165 #endif
25166 char XOpenDisplay ();
25167 int
25168 main ()
25169 {
25170 return XOpenDisplay ();
25171   ;
25172   return 0;
25173 }
25174 _ACEOF
25175 if ac_fn_c_try_link "$LINENO"; then :
25176
25177 else
25178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25179 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25180 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
25181   $as_echo_n "(cached) " >&6
25182 else
25183   ac_check_lib_save_LIBS=$LIBS
25184 LIBS="-ldnet  $LIBS"
25185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25186 /* end confdefs.h.  */
25187
25188 /* Override any GCC internal prototype to avoid an error.
25189    Use char because int might match the return type of a GCC
25190    builtin and then its argument prototype would still apply.  */
25191 #ifdef __cplusplus
25192 extern "C"
25193 #endif
25194 char dnet_ntoa ();
25195 int
25196 main ()
25197 {
25198 return dnet_ntoa ();
25199   ;
25200   return 0;
25201 }
25202 _ACEOF
25203 if ac_fn_c_try_link "$LINENO"; then :
25204   ac_cv_lib_dnet_dnet_ntoa=yes
25205 else
25206   ac_cv_lib_dnet_dnet_ntoa=no
25207 fi
25208 rm -f core conftest.err conftest.$ac_objext \
25209     conftest$ac_exeext conftest.$ac_ext
25210 LIBS=$ac_check_lib_save_LIBS
25211 fi
25212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25213 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25214 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
25215   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25216 fi
25217
25218     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25219       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25220 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25221 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
25222   $as_echo_n "(cached) " >&6
25223 else
25224   ac_check_lib_save_LIBS=$LIBS
25225 LIBS="-ldnet_stub  $LIBS"
25226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25227 /* end confdefs.h.  */
25228
25229 /* Override any GCC internal prototype to avoid an error.
25230    Use char because int might match the return type of a GCC
25231    builtin and then its argument prototype would still apply.  */
25232 #ifdef __cplusplus
25233 extern "C"
25234 #endif
25235 char dnet_ntoa ();
25236 int
25237 main ()
25238 {
25239 return dnet_ntoa ();
25240   ;
25241   return 0;
25242 }
25243 _ACEOF
25244 if ac_fn_c_try_link "$LINENO"; then :
25245   ac_cv_lib_dnet_stub_dnet_ntoa=yes
25246 else
25247   ac_cv_lib_dnet_stub_dnet_ntoa=no
25248 fi
25249 rm -f core conftest.err conftest.$ac_objext \
25250     conftest$ac_exeext conftest.$ac_ext
25251 LIBS=$ac_check_lib_save_LIBS
25252 fi
25253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25254 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25255 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
25256   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25257 fi
25258
25259     fi
25260 fi
25261 rm -f core conftest.err conftest.$ac_objext \
25262     conftest$ac_exeext conftest.$ac_ext
25263     LIBS="$ac_xsave_LIBS"
25264
25265     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25266     # to get the SysV transport functions.
25267     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25268     # needs -lnsl.
25269     # The nsl library prevents programs from opening the X display
25270     # on Irix 5.2, according to T.E. Dickey.
25271     # The functions gethostbyname, getservbyname, and inet_addr are
25272     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25273     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25274 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
25275
25276 fi
25277
25278     if test $ac_cv_func_gethostbyname = no; then
25279       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25280 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25281 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
25282   $as_echo_n "(cached) " >&6
25283 else
25284   ac_check_lib_save_LIBS=$LIBS
25285 LIBS="-lnsl  $LIBS"
25286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25287 /* end confdefs.h.  */
25288
25289 /* Override any GCC internal prototype to avoid an error.
25290    Use char because int might match the return type of a GCC
25291    builtin and then its argument prototype would still apply.  */
25292 #ifdef __cplusplus
25293 extern "C"
25294 #endif
25295 char gethostbyname ();
25296 int
25297 main ()
25298 {
25299 return gethostbyname ();
25300   ;
25301   return 0;
25302 }
25303 _ACEOF
25304 if ac_fn_c_try_link "$LINENO"; then :
25305   ac_cv_lib_nsl_gethostbyname=yes
25306 else
25307   ac_cv_lib_nsl_gethostbyname=no
25308 fi
25309 rm -f core conftest.err conftest.$ac_objext \
25310     conftest$ac_exeext conftest.$ac_ext
25311 LIBS=$ac_check_lib_save_LIBS
25312 fi
25313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25314 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25315 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
25316   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25317 fi
25318
25319       if test $ac_cv_lib_nsl_gethostbyname = no; then
25320         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25321 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25322 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
25323   $as_echo_n "(cached) " >&6
25324 else
25325   ac_check_lib_save_LIBS=$LIBS
25326 LIBS="-lbsd  $LIBS"
25327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25328 /* end confdefs.h.  */
25329
25330 /* Override any GCC internal prototype to avoid an error.
25331    Use char because int might match the return type of a GCC
25332    builtin and then its argument prototype would still apply.  */
25333 #ifdef __cplusplus
25334 extern "C"
25335 #endif
25336 char gethostbyname ();
25337 int
25338 main ()
25339 {
25340 return gethostbyname ();
25341   ;
25342   return 0;
25343 }
25344 _ACEOF
25345 if ac_fn_c_try_link "$LINENO"; then :
25346   ac_cv_lib_bsd_gethostbyname=yes
25347 else
25348   ac_cv_lib_bsd_gethostbyname=no
25349 fi
25350 rm -f core conftest.err conftest.$ac_objext \
25351     conftest$ac_exeext conftest.$ac_ext
25352 LIBS=$ac_check_lib_save_LIBS
25353 fi
25354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25355 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25356 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
25357   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25358 fi
25359
25360       fi
25361     fi
25362
25363     # lieder@skyler.mavd.honeywell.com says without -lsocket,
25364     # socket/setsockopt and other routines are undefined under SCO ODT
25365     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
25366     # on later versions), says Simon Leinen: it contains gethostby*
25367     # variants that don't use the name server (or something).  -lsocket
25368     # must be given before -lnsl if both are needed.  We assume that
25369     # if connect needs -lnsl, so does gethostbyname.
25370     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
25371 if test "x$ac_cv_func_connect" = x""yes; then :
25372
25373 fi
25374
25375     if test $ac_cv_func_connect = no; then
25376       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25377 $as_echo_n "checking for connect in -lsocket... " >&6; }
25378 if test "${ac_cv_lib_socket_connect+set}" = set; then :
25379   $as_echo_n "(cached) " >&6
25380 else
25381   ac_check_lib_save_LIBS=$LIBS
25382 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25384 /* end confdefs.h.  */
25385
25386 /* Override any GCC internal prototype to avoid an error.
25387    Use char because int might match the return type of a GCC
25388    builtin and then its argument prototype would still apply.  */
25389 #ifdef __cplusplus
25390 extern "C"
25391 #endif
25392 char connect ();
25393 int
25394 main ()
25395 {
25396 return connect ();
25397   ;
25398   return 0;
25399 }
25400 _ACEOF
25401 if ac_fn_c_try_link "$LINENO"; then :
25402   ac_cv_lib_socket_connect=yes
25403 else
25404   ac_cv_lib_socket_connect=no
25405 fi
25406 rm -f core conftest.err conftest.$ac_objext \
25407     conftest$ac_exeext conftest.$ac_ext
25408 LIBS=$ac_check_lib_save_LIBS
25409 fi
25410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25411 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25412 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
25413   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25414 fi
25415
25416     fi
25417
25418     # Guillermo Gomez says -lposix is necessary on A/UX.
25419     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
25420 if test "x$ac_cv_func_remove" = x""yes; then :
25421
25422 fi
25423
25424     if test $ac_cv_func_remove = no; then
25425       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25426 $as_echo_n "checking for remove in -lposix... " >&6; }
25427 if test "${ac_cv_lib_posix_remove+set}" = set; then :
25428   $as_echo_n "(cached) " >&6
25429 else
25430   ac_check_lib_save_LIBS=$LIBS
25431 LIBS="-lposix  $LIBS"
25432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25433 /* end confdefs.h.  */
25434
25435 /* Override any GCC internal prototype to avoid an error.
25436    Use char because int might match the return type of a GCC
25437    builtin and then its argument prototype would still apply.  */
25438 #ifdef __cplusplus
25439 extern "C"
25440 #endif
25441 char remove ();
25442 int
25443 main ()
25444 {
25445 return remove ();
25446   ;
25447   return 0;
25448 }
25449 _ACEOF
25450 if ac_fn_c_try_link "$LINENO"; then :
25451   ac_cv_lib_posix_remove=yes
25452 else
25453   ac_cv_lib_posix_remove=no
25454 fi
25455 rm -f core conftest.err conftest.$ac_objext \
25456     conftest$ac_exeext conftest.$ac_ext
25457 LIBS=$ac_check_lib_save_LIBS
25458 fi
25459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25460 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25461 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
25462   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25463 fi
25464
25465     fi
25466
25467     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25468     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25469 if test "x$ac_cv_func_shmat" = x""yes; then :
25470
25471 fi
25472
25473     if test $ac_cv_func_shmat = no; then
25474       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25475 $as_echo_n "checking for shmat in -lipc... " >&6; }
25476 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
25477   $as_echo_n "(cached) " >&6
25478 else
25479   ac_check_lib_save_LIBS=$LIBS
25480 LIBS="-lipc  $LIBS"
25481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25482 /* end confdefs.h.  */
25483
25484 /* Override any GCC internal prototype to avoid an error.
25485    Use char because int might match the return type of a GCC
25486    builtin and then its argument prototype would still apply.  */
25487 #ifdef __cplusplus
25488 extern "C"
25489 #endif
25490 char shmat ();
25491 int
25492 main ()
25493 {
25494 return shmat ();
25495   ;
25496   return 0;
25497 }
25498 _ACEOF
25499 if ac_fn_c_try_link "$LINENO"; then :
25500   ac_cv_lib_ipc_shmat=yes
25501 else
25502   ac_cv_lib_ipc_shmat=no
25503 fi
25504 rm -f core conftest.err conftest.$ac_objext \
25505     conftest$ac_exeext conftest.$ac_ext
25506 LIBS=$ac_check_lib_save_LIBS
25507 fi
25508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25509 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25510 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
25511   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25512 fi
25513
25514     fi
25515   fi
25516
25517   # Check for libraries that X11R6 Xt/Xaw programs need.
25518   ac_save_LDFLAGS=$LDFLAGS
25519   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25520   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25521   # check for ICE first), but we must link in the order -lSM -lICE or
25522   # we get undefined symbols.  So assume we have SM if we have ICE.
25523   # These have to be linked with before -lX11, unlike the other
25524   # libraries we check for below, so use a different variable.
25525   # John Interrante, Karl Berry
25526   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25527 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25528 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
25529   $as_echo_n "(cached) " >&6
25530 else
25531   ac_check_lib_save_LIBS=$LIBS
25532 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25534 /* end confdefs.h.  */
25535
25536 /* Override any GCC internal prototype to avoid an error.
25537    Use char because int might match the return type of a GCC
25538    builtin and then its argument prototype would still apply.  */
25539 #ifdef __cplusplus
25540 extern "C"
25541 #endif
25542 char IceConnectionNumber ();
25543 int
25544 main ()
25545 {
25546 return IceConnectionNumber ();
25547   ;
25548   return 0;
25549 }
25550 _ACEOF
25551 if ac_fn_c_try_link "$LINENO"; then :
25552   ac_cv_lib_ICE_IceConnectionNumber=yes
25553 else
25554   ac_cv_lib_ICE_IceConnectionNumber=no
25555 fi
25556 rm -f core conftest.err conftest.$ac_objext \
25557     conftest$ac_exeext conftest.$ac_ext
25558 LIBS=$ac_check_lib_save_LIBS
25559 fi
25560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25561 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25562 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
25563   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25564 fi
25565
25566   LDFLAGS=$ac_save_LDFLAGS
25567
25568 fi
25569
25570
25571 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
25572 #include <GL/gl.h>
25573 #include <GL/glext.h>
25574 #include <GL/glx.h>
25575
25576 "
25577 if test "x$ac_cv_header_GL_gl_h" = x""yes; then :
25578   have_dep="yes"
25579 else
25580   have_dep="no"
25581 fi
25582
25583
25584
25585 gl_pt_lib="";
25586 have_gl_pt="no"
25587
25588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_create() is supported" >&5
25589 $as_echo_n "checking whether pthread_create() is supported... " >&6; }
25590 CFLAGS_save="${CFLAGS}"
25591 CFLAGS="${CFLAGS} -pthread"
25592 LIBS_save="${LIBS}"
25593 LIBS="${LIBS} -pthread"
25594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25595 /* end confdefs.h.  */
25596
25597 #include <pthread.h>
25598
25599 int
25600 main ()
25601 {
25602
25603 pthread_create(NULL, NULL, NULL, NULL);
25604
25605   ;
25606   return 0;
25607 }
25608 _ACEOF
25609 if ac_fn_c_try_link "$LINENO"; then :
25610   have_gl_pt="yes"
25611 else
25612   have_gl_pt="no"
25613 fi
25614 rm -f core conftest.err conftest.$ac_objext \
25615     conftest$ac_exeext conftest.$ac_ext
25616 CFLAGS=${CFLAGS_save}
25617 LIBS=${LIBS_save}
25618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_gl_pt}" >&5
25619 $as_echo "${have_gl_pt}" >&6; }
25620
25621 if test "x$have_gl_pt" = "xyes" ; then
25622    gl_pt_lib=" -pthread"
25623 fi
25624
25625 if test "x${have_dep}" = "xyes" ; then
25626    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateColormap in -lX11" >&5
25627 $as_echo_n "checking for XCreateColormap in -lX11... " >&6; }
25628 if test "${ac_cv_lib_X11_XCreateColormap+set}" = set; then :
25629   $as_echo_n "(cached) " >&6
25630 else
25631   ac_check_lib_save_LIBS=$LIBS
25632 LIBS="-lX11  $LIBS"
25633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25634 /* end confdefs.h.  */
25635
25636 /* Override any GCC internal prototype to avoid an error.
25637    Use char because int might match the return type of a GCC
25638    builtin and then its argument prototype would still apply.  */
25639 #ifdef __cplusplus
25640 extern "C"
25641 #endif
25642 char XCreateColormap ();
25643 int
25644 main ()
25645 {
25646 return XCreateColormap ();
25647   ;
25648   return 0;
25649 }
25650 _ACEOF
25651 if ac_fn_c_try_link "$LINENO"; then :
25652   ac_cv_lib_X11_XCreateColormap=yes
25653 else
25654   ac_cv_lib_X11_XCreateColormap=no
25655 fi
25656 rm -f core conftest.err conftest.$ac_objext \
25657     conftest$ac_exeext conftest.$ac_ext
25658 LIBS=$ac_check_lib_save_LIBS
25659 fi
25660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateColormap" >&5
25661 $as_echo "$ac_cv_lib_X11_XCreateColormap" >&6; }
25662 if test "x$ac_cv_lib_X11_XCreateColormap" = x""yes; then :
25663   have_dep="yes"
25664 else
25665   have_dep="no"
25666 fi
25667
25668 fi
25669
25670 if test "x${have_dep}" = "xyes" ; then
25671    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreatePicture in -lXrender" >&5
25672 $as_echo_n "checking for XRenderCreatePicture in -lXrender... " >&6; }
25673 if test "${ac_cv_lib_Xrender_XRenderCreatePicture+set}" = set; then :
25674   $as_echo_n "(cached) " >&6
25675 else
25676   ac_check_lib_save_LIBS=$LIBS
25677 LIBS="-lXrender  $LIBS"
25678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25679 /* end confdefs.h.  */
25680
25681 /* Override any GCC internal prototype to avoid an error.
25682    Use char because int might match the return type of a GCC
25683    builtin and then its argument prototype would still apply.  */
25684 #ifdef __cplusplus
25685 extern "C"
25686 #endif
25687 char XRenderCreatePicture ();
25688 int
25689 main ()
25690 {
25691 return XRenderCreatePicture ();
25692   ;
25693   return 0;
25694 }
25695 _ACEOF
25696 if ac_fn_c_try_link "$LINENO"; then :
25697   ac_cv_lib_Xrender_XRenderCreatePicture=yes
25698 else
25699   ac_cv_lib_Xrender_XRenderCreatePicture=no
25700 fi
25701 rm -f core conftest.err conftest.$ac_objext \
25702     conftest$ac_exeext conftest.$ac_ext
25703 LIBS=$ac_check_lib_save_LIBS
25704 fi
25705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreatePicture" >&5
25706 $as_echo "$ac_cv_lib_Xrender_XRenderCreatePicture" >&6; }
25707 if test "x$ac_cv_lib_Xrender_XRenderCreatePicture" = x""yes; then :
25708   have_dep="yes"
25709 else
25710   have_dep="no"
25711 fi
25712
25713 fi
25714
25715 if test "x${have_dep}" = "xyes" ; then
25716    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glXCreateContext in -lGL" >&5
25717 $as_echo_n "checking for glXCreateContext in -lGL... " >&6; }
25718 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then :
25719   $as_echo_n "(cached) " >&6
25720 else
25721   ac_check_lib_save_LIBS=$LIBS
25722 LIBS="-lGL -lX11 -lXext -lXrender -lm $gl_pt_lib $LIBS"
25723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25724 /* end confdefs.h.  */
25725
25726 /* Override any GCC internal prototype to avoid an error.
25727    Use char because int might match the return type of a GCC
25728    builtin and then its argument prototype would still apply.  */
25729 #ifdef __cplusplus
25730 extern "C"
25731 #endif
25732 char glXCreateContext ();
25733 int
25734 main ()
25735 {
25736 return glXCreateContext ();
25737   ;
25738   return 0;
25739 }
25740 _ACEOF
25741 if ac_fn_c_try_link "$LINENO"; then :
25742   ac_cv_lib_GL_glXCreateContext=yes
25743 else
25744   ac_cv_lib_GL_glXCreateContext=no
25745 fi
25746 rm -f core conftest.err conftest.$ac_objext \
25747     conftest$ac_exeext conftest.$ac_ext
25748 LIBS=$ac_check_lib_save_LIBS
25749 fi
25750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glXCreateContext" >&5
25751 $as_echo "$ac_cv_lib_GL_glXCreateContext" >&6; }
25752 if test "x$ac_cv_lib_GL_glXCreateContext" = x""yes; then :
25753   have_dep="yes"
25754 else
25755   have_dep="no"
25756 fi
25757
25758 fi
25759
25760
25761 pkg_failed=no
25762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_GL" >&5
25763 $as_echo_n "checking for XCB_GL... " >&6; }
25764
25765 if test -n "$XCB_GL_CFLAGS"; then
25766     pkg_cv_XCB_GL_CFLAGS="$XCB_GL_CFLAGS"
25767  elif test -n "$PKG_CONFIG"; then
25768     if test -n "$PKG_CONFIG" && \
25769     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-glx xcb-render xcb-renderutil\""; } >&5
25770   ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil") 2>&5
25771   ac_status=$?
25772   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25773   test $ac_status = 0; }; then
25774   pkg_cv_XCB_GL_CFLAGS=`$PKG_CONFIG --cflags "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>/dev/null`
25775 else
25776   pkg_failed=yes
25777 fi
25778  else
25779     pkg_failed=untried
25780 fi
25781 if test -n "$XCB_GL_LIBS"; then
25782     pkg_cv_XCB_GL_LIBS="$XCB_GL_LIBS"
25783  elif test -n "$PKG_CONFIG"; then
25784     if test -n "$PKG_CONFIG" && \
25785     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-glx xcb-render xcb-renderutil\""; } >&5
25786   ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil") 2>&5
25787   ac_status=$?
25788   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25789   test $ac_status = 0; }; then
25790   pkg_cv_XCB_GL_LIBS=`$PKG_CONFIG --libs "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>/dev/null`
25791 else
25792   pkg_failed=yes
25793 fi
25794  else
25795     pkg_failed=untried
25796 fi
25797
25798
25799
25800 if test $pkg_failed = yes; then
25801         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25802 $as_echo "no" >&6; }
25803
25804 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25805         _pkg_short_errors_supported=yes
25806 else
25807         _pkg_short_errors_supported=no
25808 fi
25809         if test $_pkg_short_errors_supported = yes; then
25810                 XCB_GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>&1`
25811         else
25812                 XCB_GL_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>&1`
25813         fi
25814         # Put the nasty error message in config.log where it belongs
25815         echo "$XCB_GL_PKG_ERRORS" >&5
25816
25817
25818     have_dep="no"
25819
25820
25821 elif test $pkg_failed = untried; then
25822         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25823 $as_echo "no" >&6; }
25824
25825     have_dep="no"
25826
25827
25828 else
25829         XCB_GL_CFLAGS=$pkg_cv_XCB_GL_CFLAGS
25830         XCB_GL_LIBS=$pkg_cv_XCB_GL_LIBS
25831         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25832 $as_echo "yes" >&6; }
25833
25834     have_dep="yes"
25835     requirement="x11-xcb xcb xcb-glx xcb-render xcb-renderutil"
25836     evas_engine_gl_xcb_cflags="${XCB_GL_CFLAGS}"
25837     evas_engine_gl_xcb_libs="${XCB_GL_LIBS}"
25838
25839 fi
25840
25841 if test "x$gl_flavor_gles" = "xyes" ; then
25842   have_dep=no
25843 fi
25844
25845 if test "x${have_dep}" = "xyes" ; then
25846
25847 pkg_failed=no
25848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
25849 $as_echo_n "checking for GL_EET... " >&6; }
25850
25851 if test -n "$GL_EET_CFLAGS"; then
25852     pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
25853  elif test -n "$PKG_CONFIG"; then
25854     if test -n "$PKG_CONFIG" && \
25855     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
25856   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
25857   ac_status=$?
25858   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25859   test $ac_status = 0; }; then
25860   pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
25861 else
25862   pkg_failed=yes
25863 fi
25864  else
25865     pkg_failed=untried
25866 fi
25867 if test -n "$GL_EET_LIBS"; then
25868     pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
25869  elif test -n "$PKG_CONFIG"; then
25870     if test -n "$PKG_CONFIG" && \
25871     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
25872   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
25873   ac_status=$?
25874   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25875   test $ac_status = 0; }; then
25876   pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
25877 else
25878   pkg_failed=yes
25879 fi
25880  else
25881     pkg_failed=untried
25882 fi
25883
25884
25885
25886 if test $pkg_failed = yes; then
25887         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25888 $as_echo "no" >&6; }
25889
25890 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25891         _pkg_short_errors_supported=yes
25892 else
25893         _pkg_short_errors_supported=no
25894 fi
25895         if test $_pkg_short_errors_supported = yes; then
25896                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.99" 2>&1`
25897         else
25898                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.99" 2>&1`
25899         fi
25900         # Put the nasty error message in config.log where it belongs
25901         echo "$GL_EET_PKG_ERRORS" >&5
25902
25903         have_dep="no"
25904 elif test $pkg_failed = untried; then
25905         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25906 $as_echo "no" >&6; }
25907         have_dep="no"
25908 else
25909         GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
25910         GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
25911         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25912 $as_echo "yes" >&6; }
25913         have_dep="yes"
25914 fi
25915    if test "x${have_dep}" = "xyes" ; then
25916       if test "xno" = "xyes" ; then
25917          x_libs="${x_libs} -lX11 -lXext -lXrender"
25918       else
25919          x_dir=${x_dir:-/usr/X11R6}
25920          x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
25921          x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
25922       fi
25923    evas_engine_gl_xcb_cflags="-I/usr/include ${XCB_GL_CFLAGS} ${x_cflags}"
25924    evas_engine_gl_xcb_libs="${XCB_GL_LIBS} ${x_libs} -lGL $gl_pt_lib"
25925    evas_engine_gl_common_libs="-lGL $gl_pt_lib"
25926    fi
25927 else
25928    if test "xno" = "xyes" ; then
25929       x_libs="${x_libs} -lX11 -lXext -lXrender"
25930    else
25931       x_dir=${x_dir:-/usr/X11R6}
25932       x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
25933       x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
25934    fi
25935    ac_fn_c_check_header_compile "$LINENO" "GLES2/gl2.h" "ac_cv_header_GLES2_gl2_h" "
25936 #include <GLES2/gl2.h>
25937 #include <GLES2/gl2ext.h>
25938 #include <EGL/egl.h>
25939
25940 "
25941 if test "x$ac_cv_header_GLES2_gl2_h" = x""yes; then :
25942   have_egl="yes"
25943 else
25944   have_egl="no"
25945 fi
25946
25947
25948    if test "x${have_egl}" = "xyes" ; then
25949       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
25950 $as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
25951 if test "${ac_cv_lib_GLESv2_glTexImage2D+set}" = set; then :
25952   $as_echo_n "(cached) " >&6
25953 else
25954   ac_check_lib_save_LIBS=$LIBS
25955 LIBS="-lGLESv2 -lEGL ${x_libs} -lm $gl_pt_lib $LIBS"
25956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25957 /* end confdefs.h.  */
25958
25959 /* Override any GCC internal prototype to avoid an error.
25960    Use char because int might match the return type of a GCC
25961    builtin and then its argument prototype would still apply.  */
25962 #ifdef __cplusplus
25963 extern "C"
25964 #endif
25965 char glTexImage2D ();
25966 int
25967 main ()
25968 {
25969 return glTexImage2D ();
25970   ;
25971   return 0;
25972 }
25973 _ACEOF
25974 if ac_fn_c_try_link "$LINENO"; then :
25975   ac_cv_lib_GLESv2_glTexImage2D=yes
25976 else
25977   ac_cv_lib_GLESv2_glTexImage2D=no
25978 fi
25979 rm -f core conftest.err conftest.$ac_objext \
25980     conftest$ac_exeext conftest.$ac_ext
25981 LIBS=$ac_check_lib_save_LIBS
25982 fi
25983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
25984 $as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
25985 if test "x$ac_cv_lib_GLESv2_glTexImage2D" = x""yes; then :
25986   have_glesv2="yes"
25987 fi
25988
25989       if test "x${have_glesv2}" = "xyes" ; then
25990
25991 pkg_failed=no
25992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
25993 $as_echo_n "checking for GL_EET... " >&6; }
25994
25995 if test -n "$GL_EET_CFLAGS"; then
25996     pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
25997  elif test -n "$PKG_CONFIG"; then
25998     if test -n "$PKG_CONFIG" && \
25999     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
26000   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
26001   ac_status=$?
26002   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26003   test $ac_status = 0; }; then
26004   pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
26005 else
26006   pkg_failed=yes
26007 fi
26008  else
26009     pkg_failed=untried
26010 fi
26011 if test -n "$GL_EET_LIBS"; then
26012     pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
26013  elif test -n "$PKG_CONFIG"; then
26014     if test -n "$PKG_CONFIG" && \
26015     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
26016   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
26017   ac_status=$?
26018   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26019   test $ac_status = 0; }; then
26020   pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
26021 else
26022   pkg_failed=yes
26023 fi
26024  else
26025     pkg_failed=untried
26026 fi
26027
26028
26029
26030 if test $pkg_failed = yes; then
26031         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26032 $as_echo "no" >&6; }
26033
26034 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26035         _pkg_short_errors_supported=yes
26036 else
26037         _pkg_short_errors_supported=no
26038 fi
26039         if test $_pkg_short_errors_supported = yes; then
26040                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.99" 2>&1`
26041         else
26042                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.99" 2>&1`
26043         fi
26044         # Put the nasty error message in config.log where it belongs
26045         echo "$GL_EET_PKG_ERRORS" >&5
26046
26047         have_dep="no"
26048 elif test $pkg_failed = untried; then
26049         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26050 $as_echo "no" >&6; }
26051         have_dep="no"
26052 else
26053         GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
26054         GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
26055         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26056 $as_echo "yes" >&6; }
26057         have_dep="yes"
26058 fi
26059          if test "x${have_dep}" = "xyes" ; then
26060             evas_engine_gl_xcb_cflags="${XCB_GL_CFLAGS} ${x_cflags}"
26061             evas_engine_gl_xcb_libs="${XCB_GL_LIBS} ${x_libs} -lGLESv2 -lEGL -lm $gl_pt_lib"
26062             evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
26063             have_dep="yes"
26064
26065 $as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
26066
26067             gles_variety_sgx="yes"
26068          fi
26069       fi
26070    fi
26071 fi
26072
26073
26074
26075
26076 if test "x${have_dep}" = "xyes" ; then
26077   have_engine="yes"
26078 else
26079   have_engine="no"
26080 fi
26081
26082
26083 fi
26084
26085 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
26086    as_fn_error $? "OpenGL XCB dependencies not found (strict dependencies checking)" "$LINENO" 5
26087 fi
26088
26089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL XCB rendering backend will be built" >&5
26090 $as_echo_n "checking whether OpenGL XCB rendering backend will be built... " >&6; }
26091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
26092 $as_echo "${have_engine}" >&6; }
26093
26094 if test "x${have_engine}" = "xyes" ; then
26095    if test "x${want_engine}" = "xstatic" ; then
26096       have_evas_engine_gl_xcb="static"
26097       want_static_engine="yes"
26098    else
26099       have_evas_engine_gl_xcb="yes"
26100    fi
26101 fi
26102
26103 if test "x${have_engine}" = "xyes" ; then
26104
26105 $as_echo "#define BUILD_ENGINE_GL_XCB 1" >>confdefs.h
26106
26107 fi
26108
26109  if test "x${have_engine}" = "xyes"; then
26110   BUILD_ENGINE_GL_XCB_TRUE=
26111   BUILD_ENGINE_GL_XCB_FALSE='#'
26112 else
26113   BUILD_ENGINE_GL_XCB_TRUE='#'
26114   BUILD_ENGINE_GL_XCB_FALSE=
26115 fi
26116
26117
26118 if test "x${want_static_engine}" = "xyes" ; then
26119
26120 $as_echo "#define EVAS_STATIC_BUILD_GL_XCB 1" >>confdefs.h
26121
26122    have_static_module="yes"
26123 fi
26124
26125  if test "x${want_static_engine}" = "xyes"; then
26126   EVAS_STATIC_BUILD_GL_XCB_TRUE=
26127   EVAS_STATIC_BUILD_GL_XCB_FALSE='#'
26128 else
26129   EVAS_STATIC_BUILD_GL_XCB_TRUE='#'
26130   EVAS_STATIC_BUILD_GL_XCB_FALSE=
26131 fi
26132
26133
26134
26135
26136
26137
26138   if test "x$have_evas_engine_gl_xcb" != "xno" ; then
26139     build_gl_xcb="yes"
26140     have_evas_engine_gl_x11="yes"
26141
26142 $as_echo "#define BUILD_ENGINE_GL_X11 1" >>confdefs.h
26143
26144
26145 $as_echo "#define BUILD_ENGINE_GL_XCB 1" >>confdefs.h
26146
26147     if test "x$have_evas_engine_gl_xcb" = "xstatic" ; then
26148
26149 $as_echo "#define EVAS_STATIC_BUILD_GL_X11 1" >>confdefs.h
26150
26151     fi
26152   fi
26153
26154 else
26155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26156 $as_echo "no" >&6; }
26157   build_gl_xcb="no"
26158 fi
26159
26160 ## If we are not building XCB, then we can build XLib ##
26161
26162 if test "x$build_gl_xcb" = "xno" ; then
26163
26164
26165
26166 want_engine="${want_evas_engine_gl_xlib}"
26167 want_static_engine="no"
26168 have_engine="no"
26169 have_evas_engine_gl_xlib="no"
26170
26171 # Check whether --enable-gl-xlib was given.
26172 if test "${enable_gl_xlib+set}" = set; then :
26173   enableval=$enable_gl_xlib;
26174     if test "x${enableval}" = "xyes" ; then
26175        want_engine="yes"
26176     else
26177        if test "x${enableval}" = "xstatic" ; then
26178           want_engine="static"
26179        else
26180           want_engine="no"
26181        fi
26182     fi
26183
26184 fi
26185
26186
26187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL XLib rendering backend" >&5
26188 $as_echo_n "checking whether to enable OpenGL XLib rendering backend... " >&6; }
26189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
26190 $as_echo "${want_engine}" >&6; }
26191
26192 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
26193
26194
26195 evas_engine_gl_xlib_cflags=""
26196 evas_engine_gl_xlib_libs=""
26197
26198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
26199 $as_echo_n "checking for X... " >&6; }
26200
26201
26202 # Check whether --with-x was given.
26203 if test "${with_x+set}" = set; then :
26204   withval=$with_x;
26205 fi
26206
26207 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
26208 if test "x$with_x" = xno; then
26209   # The user explicitly disabled X.
26210   have_x=disabled
26211 else
26212   case $x_includes,$x_libraries in #(
26213     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
26214     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
26215   $as_echo_n "(cached) " >&6
26216 else
26217   # One or both of the vars are not set, and there is no cached value.
26218 ac_x_includes=no ac_x_libraries=no
26219 rm -f -r conftest.dir
26220 if mkdir conftest.dir; then
26221   cd conftest.dir
26222   cat >Imakefile <<'_ACEOF'
26223 incroot:
26224         @echo incroot='${INCROOT}'
26225 usrlibdir:
26226         @echo usrlibdir='${USRLIBDIR}'
26227 libdir:
26228         @echo libdir='${LIBDIR}'
26229 _ACEOF
26230   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
26231     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
26232     for ac_var in incroot usrlibdir libdir; do
26233       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
26234     done
26235     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
26236     for ac_extension in a so sl dylib la dll; do
26237       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
26238          test -f "$ac_im_libdir/libX11.$ac_extension"; then
26239         ac_im_usrlibdir=$ac_im_libdir; break
26240       fi
26241     done
26242     # Screen out bogus values from the imake configuration.  They are
26243     # bogus both because they are the default anyway, and because
26244     # using them would break gcc on systems where it needs fixed includes.
26245     case $ac_im_incroot in
26246         /usr/include) ac_x_includes= ;;
26247         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
26248     esac
26249     case $ac_im_usrlibdir in
26250         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
26251         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
26252     esac
26253   fi
26254   cd ..
26255   rm -f -r conftest.dir
26256 fi
26257
26258 # Standard set of common directories for X headers.
26259 # Check X11 before X11Rn because it is often a symlink to the current release.
26260 ac_x_header_dirs='
26261 /usr/X11/include
26262 /usr/X11R7/include
26263 /usr/X11R6/include
26264 /usr/X11R5/include
26265 /usr/X11R4/include
26266
26267 /usr/include/X11
26268 /usr/include/X11R7
26269 /usr/include/X11R6
26270 /usr/include/X11R5
26271 /usr/include/X11R4
26272
26273 /usr/local/X11/include
26274 /usr/local/X11R7/include
26275 /usr/local/X11R6/include
26276 /usr/local/X11R5/include
26277 /usr/local/X11R4/include
26278
26279 /usr/local/include/X11
26280 /usr/local/include/X11R7
26281 /usr/local/include/X11R6
26282 /usr/local/include/X11R5
26283 /usr/local/include/X11R4
26284
26285 /usr/X386/include
26286 /usr/x386/include
26287 /usr/XFree86/include/X11
26288
26289 /usr/include
26290 /usr/local/include
26291 /usr/unsupported/include
26292 /usr/athena/include
26293 /usr/local/x11r5/include
26294 /usr/lpp/Xamples/include
26295
26296 /usr/openwin/include
26297 /usr/openwin/share/include'
26298
26299 if test "$ac_x_includes" = no; then
26300   # Guess where to find include files, by looking for Xlib.h.
26301   # First, try using that file with no special directory specified.
26302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26303 /* end confdefs.h.  */
26304 #include <X11/Xlib.h>
26305 _ACEOF
26306 if ac_fn_c_try_cpp "$LINENO"; then :
26307   # We can compile using X headers with no special include directory.
26308 ac_x_includes=
26309 else
26310   for ac_dir in $ac_x_header_dirs; do
26311   if test -r "$ac_dir/X11/Xlib.h"; then
26312     ac_x_includes=$ac_dir
26313     break
26314   fi
26315 done
26316 fi
26317 rm -f conftest.err conftest.i conftest.$ac_ext
26318 fi # $ac_x_includes = no
26319
26320 if test "$ac_x_libraries" = no; then
26321   # Check for the libraries.
26322   # See if we find them without any special options.
26323   # Don't add to $LIBS permanently.
26324   ac_save_LIBS=$LIBS
26325   LIBS="-lX11 $LIBS"
26326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26327 /* end confdefs.h.  */
26328 #include <X11/Xlib.h>
26329 int
26330 main ()
26331 {
26332 XrmInitialize ()
26333   ;
26334   return 0;
26335 }
26336 _ACEOF
26337 if ac_fn_c_try_link "$LINENO"; then :
26338   LIBS=$ac_save_LIBS
26339 # We can link X programs with no special library path.
26340 ac_x_libraries=
26341 else
26342   LIBS=$ac_save_LIBS
26343 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
26344 do
26345   # Don't even attempt the hair of trying to link an X program!
26346   for ac_extension in a so sl dylib la dll; do
26347     if test -r "$ac_dir/libX11.$ac_extension"; then
26348       ac_x_libraries=$ac_dir
26349       break 2
26350     fi
26351   done
26352 done
26353 fi
26354 rm -f core conftest.err conftest.$ac_objext \
26355     conftest$ac_exeext conftest.$ac_ext
26356 fi # $ac_x_libraries = no
26357
26358 case $ac_x_includes,$ac_x_libraries in #(
26359   no,* | *,no | *\'*)
26360     # Didn't find X, or a directory has "'" in its name.
26361     ac_cv_have_x="have_x=no";; #(
26362   *)
26363     # Record where we found X for the cache.
26364     ac_cv_have_x="have_x=yes\
26365         ac_x_includes='$ac_x_includes'\
26366         ac_x_libraries='$ac_x_libraries'"
26367 esac
26368 fi
26369 ;; #(
26370     *) have_x=yes;;
26371   esac
26372   eval "$ac_cv_have_x"
26373 fi # $with_x != no
26374
26375 if test "$have_x" != yes; then
26376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
26377 $as_echo "$have_x" >&6; }
26378   no_x=yes
26379 else
26380   # If each of the values was on the command line, it overrides each guess.
26381   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
26382   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
26383   # Update the cache value to reflect the command line values.
26384   ac_cv_have_x="have_x=yes\
26385         ac_x_includes='$x_includes'\
26386         ac_x_libraries='$x_libraries'"
26387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
26388 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
26389 fi
26390
26391 if test "$no_x" = yes; then
26392   # Not all programs may use this symbol, but it does not hurt to define it.
26393
26394 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
26395
26396   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
26397 else
26398   if test -n "$x_includes"; then
26399     X_CFLAGS="$X_CFLAGS -I$x_includes"
26400   fi
26401
26402   # It would also be nice to do this for all -L options, not just this one.
26403   if test -n "$x_libraries"; then
26404     X_LIBS="$X_LIBS -L$x_libraries"
26405     # For Solaris; some versions of Sun CC require a space after -R and
26406     # others require no space.  Words are not sufficient . . . .
26407     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
26408 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
26409     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
26410     ac_xsave_c_werror_flag=$ac_c_werror_flag
26411     ac_c_werror_flag=yes
26412     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26413 /* end confdefs.h.  */
26414
26415 int
26416 main ()
26417 {
26418
26419   ;
26420   return 0;
26421 }
26422 _ACEOF
26423 if ac_fn_c_try_link "$LINENO"; then :
26424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26425 $as_echo "no" >&6; }
26426        X_LIBS="$X_LIBS -R$x_libraries"
26427 else
26428   LIBS="$ac_xsave_LIBS -R $x_libraries"
26429        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26430 /* end confdefs.h.  */
26431
26432 int
26433 main ()
26434 {
26435
26436   ;
26437   return 0;
26438 }
26439 _ACEOF
26440 if ac_fn_c_try_link "$LINENO"; then :
26441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26442 $as_echo "yes" >&6; }
26443           X_LIBS="$X_LIBS -R $x_libraries"
26444 else
26445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
26446 $as_echo "neither works" >&6; }
26447 fi
26448 rm -f core conftest.err conftest.$ac_objext \
26449     conftest$ac_exeext conftest.$ac_ext
26450 fi
26451 rm -f core conftest.err conftest.$ac_objext \
26452     conftest$ac_exeext conftest.$ac_ext
26453     ac_c_werror_flag=$ac_xsave_c_werror_flag
26454     LIBS=$ac_xsave_LIBS
26455   fi
26456
26457   # Check for system-dependent libraries X programs must link with.
26458   # Do this before checking for the system-independent R6 libraries
26459   # (-lICE), since we may need -lsocket or whatever for X linking.
26460
26461   if test "$ISC" = yes; then
26462     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
26463   else
26464     # Martyn Johnson says this is needed for Ultrix, if the X
26465     # libraries were built with DECnet support.  And Karl Berry says
26466     # the Alpha needs dnet_stub (dnet does not exist).
26467     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
26468     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26469 /* end confdefs.h.  */
26470
26471 /* Override any GCC internal prototype to avoid an error.
26472    Use char because int might match the return type of a GCC
26473    builtin and then its argument prototype would still apply.  */
26474 #ifdef __cplusplus
26475 extern "C"
26476 #endif
26477 char XOpenDisplay ();
26478 int
26479 main ()
26480 {
26481 return XOpenDisplay ();
26482   ;
26483   return 0;
26484 }
26485 _ACEOF
26486 if ac_fn_c_try_link "$LINENO"; then :
26487
26488 else
26489   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
26490 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
26491 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
26492   $as_echo_n "(cached) " >&6
26493 else
26494   ac_check_lib_save_LIBS=$LIBS
26495 LIBS="-ldnet  $LIBS"
26496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26497 /* end confdefs.h.  */
26498
26499 /* Override any GCC internal prototype to avoid an error.
26500    Use char because int might match the return type of a GCC
26501    builtin and then its argument prototype would still apply.  */
26502 #ifdef __cplusplus
26503 extern "C"
26504 #endif
26505 char dnet_ntoa ();
26506 int
26507 main ()
26508 {
26509 return dnet_ntoa ();
26510   ;
26511   return 0;
26512 }
26513 _ACEOF
26514 if ac_fn_c_try_link "$LINENO"; then :
26515   ac_cv_lib_dnet_dnet_ntoa=yes
26516 else
26517   ac_cv_lib_dnet_dnet_ntoa=no
26518 fi
26519 rm -f core conftest.err conftest.$ac_objext \
26520     conftest$ac_exeext conftest.$ac_ext
26521 LIBS=$ac_check_lib_save_LIBS
26522 fi
26523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26524 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
26525 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
26526   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
26527 fi
26528
26529     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
26530       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
26531 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
26532 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
26533   $as_echo_n "(cached) " >&6
26534 else
26535   ac_check_lib_save_LIBS=$LIBS
26536 LIBS="-ldnet_stub  $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 dnet_ntoa ();
26547 int
26548 main ()
26549 {
26550 return dnet_ntoa ();
26551   ;
26552   return 0;
26553 }
26554 _ACEOF
26555 if ac_fn_c_try_link "$LINENO"; then :
26556   ac_cv_lib_dnet_stub_dnet_ntoa=yes
26557 else
26558   ac_cv_lib_dnet_stub_dnet_ntoa=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_dnet_stub_dnet_ntoa" >&5
26565 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
26566 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
26567   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
26568 fi
26569
26570     fi
26571 fi
26572 rm -f core conftest.err conftest.$ac_objext \
26573     conftest$ac_exeext conftest.$ac_ext
26574     LIBS="$ac_xsave_LIBS"
26575
26576     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26577     # to get the SysV transport functions.
26578     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26579     # needs -lnsl.
26580     # The nsl library prevents programs from opening the X display
26581     # on Irix 5.2, according to T.E. Dickey.
26582     # The functions gethostbyname, getservbyname, and inet_addr are
26583     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26584     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
26585 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
26586
26587 fi
26588
26589     if test $ac_cv_func_gethostbyname = no; then
26590       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
26591 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
26592 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
26593   $as_echo_n "(cached) " >&6
26594 else
26595   ac_check_lib_save_LIBS=$LIBS
26596 LIBS="-lnsl  $LIBS"
26597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26598 /* end confdefs.h.  */
26599
26600 /* Override any GCC internal prototype to avoid an error.
26601    Use char because int might match the return type of a GCC
26602    builtin and then its argument prototype would still apply.  */
26603 #ifdef __cplusplus
26604 extern "C"
26605 #endif
26606 char gethostbyname ();
26607 int
26608 main ()
26609 {
26610 return gethostbyname ();
26611   ;
26612   return 0;
26613 }
26614 _ACEOF
26615 if ac_fn_c_try_link "$LINENO"; then :
26616   ac_cv_lib_nsl_gethostbyname=yes
26617 else
26618   ac_cv_lib_nsl_gethostbyname=no
26619 fi
26620 rm -f core conftest.err conftest.$ac_objext \
26621     conftest$ac_exeext conftest.$ac_ext
26622 LIBS=$ac_check_lib_save_LIBS
26623 fi
26624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
26625 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
26626 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
26627   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
26628 fi
26629
26630       if test $ac_cv_lib_nsl_gethostbyname = no; then
26631         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
26632 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
26633 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
26634   $as_echo_n "(cached) " >&6
26635 else
26636   ac_check_lib_save_LIBS=$LIBS
26637 LIBS="-lbsd  $LIBS"
26638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26639 /* end confdefs.h.  */
26640
26641 /* Override any GCC internal prototype to avoid an error.
26642    Use char because int might match the return type of a GCC
26643    builtin and then its argument prototype would still apply.  */
26644 #ifdef __cplusplus
26645 extern "C"
26646 #endif
26647 char gethostbyname ();
26648 int
26649 main ()
26650 {
26651 return gethostbyname ();
26652   ;
26653   return 0;
26654 }
26655 _ACEOF
26656 if ac_fn_c_try_link "$LINENO"; then :
26657   ac_cv_lib_bsd_gethostbyname=yes
26658 else
26659   ac_cv_lib_bsd_gethostbyname=no
26660 fi
26661 rm -f core conftest.err conftest.$ac_objext \
26662     conftest$ac_exeext conftest.$ac_ext
26663 LIBS=$ac_check_lib_save_LIBS
26664 fi
26665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
26666 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
26667 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
26668   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
26669 fi
26670
26671       fi
26672     fi
26673
26674     # lieder@skyler.mavd.honeywell.com says without -lsocket,
26675     # socket/setsockopt and other routines are undefined under SCO ODT
26676     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
26677     # on later versions), says Simon Leinen: it contains gethostby*
26678     # variants that don't use the name server (or something).  -lsocket
26679     # must be given before -lnsl if both are needed.  We assume that
26680     # if connect needs -lnsl, so does gethostbyname.
26681     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
26682 if test "x$ac_cv_func_connect" = x""yes; then :
26683
26684 fi
26685
26686     if test $ac_cv_func_connect = no; then
26687       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
26688 $as_echo_n "checking for connect in -lsocket... " >&6; }
26689 if test "${ac_cv_lib_socket_connect+set}" = set; then :
26690   $as_echo_n "(cached) " >&6
26691 else
26692   ac_check_lib_save_LIBS=$LIBS
26693 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
26694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26695 /* end confdefs.h.  */
26696
26697 /* Override any GCC internal prototype to avoid an error.
26698    Use char because int might match the return type of a GCC
26699    builtin and then its argument prototype would still apply.  */
26700 #ifdef __cplusplus
26701 extern "C"
26702 #endif
26703 char connect ();
26704 int
26705 main ()
26706 {
26707 return connect ();
26708   ;
26709   return 0;
26710 }
26711 _ACEOF
26712 if ac_fn_c_try_link "$LINENO"; then :
26713   ac_cv_lib_socket_connect=yes
26714 else
26715   ac_cv_lib_socket_connect=no
26716 fi
26717 rm -f core conftest.err conftest.$ac_objext \
26718     conftest$ac_exeext conftest.$ac_ext
26719 LIBS=$ac_check_lib_save_LIBS
26720 fi
26721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
26722 $as_echo "$ac_cv_lib_socket_connect" >&6; }
26723 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
26724   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
26725 fi
26726
26727     fi
26728
26729     # Guillermo Gomez says -lposix is necessary on A/UX.
26730     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
26731 if test "x$ac_cv_func_remove" = x""yes; then :
26732
26733 fi
26734
26735     if test $ac_cv_func_remove = no; then
26736       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
26737 $as_echo_n "checking for remove in -lposix... " >&6; }
26738 if test "${ac_cv_lib_posix_remove+set}" = set; then :
26739   $as_echo_n "(cached) " >&6
26740 else
26741   ac_check_lib_save_LIBS=$LIBS
26742 LIBS="-lposix  $LIBS"
26743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26744 /* end confdefs.h.  */
26745
26746 /* Override any GCC internal prototype to avoid an error.
26747    Use char because int might match the return type of a GCC
26748    builtin and then its argument prototype would still apply.  */
26749 #ifdef __cplusplus
26750 extern "C"
26751 #endif
26752 char remove ();
26753 int
26754 main ()
26755 {
26756 return remove ();
26757   ;
26758   return 0;
26759 }
26760 _ACEOF
26761 if ac_fn_c_try_link "$LINENO"; then :
26762   ac_cv_lib_posix_remove=yes
26763 else
26764   ac_cv_lib_posix_remove=no
26765 fi
26766 rm -f core conftest.err conftest.$ac_objext \
26767     conftest$ac_exeext conftest.$ac_ext
26768 LIBS=$ac_check_lib_save_LIBS
26769 fi
26770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
26771 $as_echo "$ac_cv_lib_posix_remove" >&6; }
26772 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
26773   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
26774 fi
26775
26776     fi
26777
26778     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26779     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
26780 if test "x$ac_cv_func_shmat" = x""yes; then :
26781
26782 fi
26783
26784     if test $ac_cv_func_shmat = no; then
26785       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
26786 $as_echo_n "checking for shmat in -lipc... " >&6; }
26787 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
26788   $as_echo_n "(cached) " >&6
26789 else
26790   ac_check_lib_save_LIBS=$LIBS
26791 LIBS="-lipc  $LIBS"
26792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26793 /* end confdefs.h.  */
26794
26795 /* Override any GCC internal prototype to avoid an error.
26796    Use char because int might match the return type of a GCC
26797    builtin and then its argument prototype would still apply.  */
26798 #ifdef __cplusplus
26799 extern "C"
26800 #endif
26801 char shmat ();
26802 int
26803 main ()
26804 {
26805 return shmat ();
26806   ;
26807   return 0;
26808 }
26809 _ACEOF
26810 if ac_fn_c_try_link "$LINENO"; then :
26811   ac_cv_lib_ipc_shmat=yes
26812 else
26813   ac_cv_lib_ipc_shmat=no
26814 fi
26815 rm -f core conftest.err conftest.$ac_objext \
26816     conftest$ac_exeext conftest.$ac_ext
26817 LIBS=$ac_check_lib_save_LIBS
26818 fi
26819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
26820 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
26821 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
26822   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
26823 fi
26824
26825     fi
26826   fi
26827
26828   # Check for libraries that X11R6 Xt/Xaw programs need.
26829   ac_save_LDFLAGS=$LDFLAGS
26830   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
26831   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26832   # check for ICE first), but we must link in the order -lSM -lICE or
26833   # we get undefined symbols.  So assume we have SM if we have ICE.
26834   # These have to be linked with before -lX11, unlike the other
26835   # libraries we check for below, so use a different variable.
26836   # John Interrante, Karl Berry
26837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
26838 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
26839 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
26840   $as_echo_n "(cached) " >&6
26841 else
26842   ac_check_lib_save_LIBS=$LIBS
26843 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
26844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26845 /* end confdefs.h.  */
26846
26847 /* Override any GCC internal prototype to avoid an error.
26848    Use char because int might match the return type of a GCC
26849    builtin and then its argument prototype would still apply.  */
26850 #ifdef __cplusplus
26851 extern "C"
26852 #endif
26853 char IceConnectionNumber ();
26854 int
26855 main ()
26856 {
26857 return IceConnectionNumber ();
26858   ;
26859   return 0;
26860 }
26861 _ACEOF
26862 if ac_fn_c_try_link "$LINENO"; then :
26863   ac_cv_lib_ICE_IceConnectionNumber=yes
26864 else
26865   ac_cv_lib_ICE_IceConnectionNumber=no
26866 fi
26867 rm -f core conftest.err conftest.$ac_objext \
26868     conftest$ac_exeext conftest.$ac_ext
26869 LIBS=$ac_check_lib_save_LIBS
26870 fi
26871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26872 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
26873 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
26874   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
26875 fi
26876
26877   LDFLAGS=$ac_save_LDFLAGS
26878
26879 fi
26880
26881
26882 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
26883 #include <GL/gl.h>
26884 #include <GL/glext.h>
26885 #include <GL/glx.h>
26886 #include <X11/Xlib.h>
26887 #include <X11/Xatom.h>
26888 #include <X11/Xutil.h>
26889 #include <X11/extensions/Xrender.h>
26890 #include <X11/Xresource.h>
26891
26892 "
26893 if test "x$ac_cv_header_GL_gl_h" = x""yes; then :
26894   have_dep="yes"
26895 else
26896   have_dep="no"
26897 fi
26898
26899
26900
26901 gl_pt_lib="";
26902 have_gl_pt="no"
26903
26904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_create() is supported" >&5
26905 $as_echo_n "checking whether pthread_create() is supported... " >&6; }
26906 CFLAGS_save="${CFLAGS}"
26907 CFLAGS="${CFLAGS} -pthread"
26908 LIBS_save="${LIBS}"
26909 LIBS="${LIBS} -pthread"
26910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26911 /* end confdefs.h.  */
26912
26913 #include <pthread.h>
26914
26915 int
26916 main ()
26917 {
26918
26919 pthread_create(NULL, NULL, NULL, NULL);
26920
26921   ;
26922   return 0;
26923 }
26924 _ACEOF
26925 if ac_fn_c_try_link "$LINENO"; then :
26926   have_gl_pt="yes"
26927 else
26928   have_gl_pt="no"
26929 fi
26930 rm -f core conftest.err conftest.$ac_objext \
26931     conftest$ac_exeext conftest.$ac_ext
26932 CFLAGS=${CFLAGS_save}
26933 LIBS=${LIBS_save}
26934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_gl_pt}" >&5
26935 $as_echo "${have_gl_pt}" >&6; }
26936
26937 if test "x$have_gl_pt" = "xyes" ; then
26938    gl_pt_lib=" -pthread"
26939 fi
26940
26941 if test "x${have_dep}" = "xyes" ; then
26942    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateColormap in -lX11" >&5
26943 $as_echo_n "checking for XCreateColormap in -lX11... " >&6; }
26944 if test "${ac_cv_lib_X11_XCreateColormap+set}" = set; then :
26945   $as_echo_n "(cached) " >&6
26946 else
26947   ac_check_lib_save_LIBS=$LIBS
26948 LIBS="-lX11  $LIBS"
26949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26950 /* end confdefs.h.  */
26951
26952 /* Override any GCC internal prototype to avoid an error.
26953    Use char because int might match the return type of a GCC
26954    builtin and then its argument prototype would still apply.  */
26955 #ifdef __cplusplus
26956 extern "C"
26957 #endif
26958 char XCreateColormap ();
26959 int
26960 main ()
26961 {
26962 return XCreateColormap ();
26963   ;
26964   return 0;
26965 }
26966 _ACEOF
26967 if ac_fn_c_try_link "$LINENO"; then :
26968   ac_cv_lib_X11_XCreateColormap=yes
26969 else
26970   ac_cv_lib_X11_XCreateColormap=no
26971 fi
26972 rm -f core conftest.err conftest.$ac_objext \
26973     conftest$ac_exeext conftest.$ac_ext
26974 LIBS=$ac_check_lib_save_LIBS
26975 fi
26976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateColormap" >&5
26977 $as_echo "$ac_cv_lib_X11_XCreateColormap" >&6; }
26978 if test "x$ac_cv_lib_X11_XCreateColormap" = x""yes; then :
26979   have_dep="yes"
26980 else
26981   have_dep="no"
26982 fi
26983
26984 fi
26985
26986 if test "x${have_dep}" = "xyes" ; then
26987    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreatePicture in -lXrender" >&5
26988 $as_echo_n "checking for XRenderCreatePicture in -lXrender... " >&6; }
26989 if test "${ac_cv_lib_Xrender_XRenderCreatePicture+set}" = set; then :
26990   $as_echo_n "(cached) " >&6
26991 else
26992   ac_check_lib_save_LIBS=$LIBS
26993 LIBS="-lXrender  $LIBS"
26994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26995 /* end confdefs.h.  */
26996
26997 /* Override any GCC internal prototype to avoid an error.
26998    Use char because int might match the return type of a GCC
26999    builtin and then its argument prototype would still apply.  */
27000 #ifdef __cplusplus
27001 extern "C"
27002 #endif
27003 char XRenderCreatePicture ();
27004 int
27005 main ()
27006 {
27007 return XRenderCreatePicture ();
27008   ;
27009   return 0;
27010 }
27011 _ACEOF
27012 if ac_fn_c_try_link "$LINENO"; then :
27013   ac_cv_lib_Xrender_XRenderCreatePicture=yes
27014 else
27015   ac_cv_lib_Xrender_XRenderCreatePicture=no
27016 fi
27017 rm -f core conftest.err conftest.$ac_objext \
27018     conftest$ac_exeext conftest.$ac_ext
27019 LIBS=$ac_check_lib_save_LIBS
27020 fi
27021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreatePicture" >&5
27022 $as_echo "$ac_cv_lib_Xrender_XRenderCreatePicture" >&6; }
27023 if test "x$ac_cv_lib_Xrender_XRenderCreatePicture" = x""yes; then :
27024   have_dep="yes"
27025 else
27026   have_dep="no"
27027 fi
27028
27029 fi
27030
27031 if test "x${have_dep}" = "xyes" ; then
27032    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glXCreateContext in -lGL" >&5
27033 $as_echo_n "checking for glXCreateContext in -lGL... " >&6; }
27034 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then :
27035   $as_echo_n "(cached) " >&6
27036 else
27037   ac_check_lib_save_LIBS=$LIBS
27038 LIBS="-lGL -lX11 -lXext -lXrender -lm $gl_pt_lib $LIBS"
27039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27040 /* end confdefs.h.  */
27041
27042 /* Override any GCC internal prototype to avoid an error.
27043    Use char because int might match the return type of a GCC
27044    builtin and then its argument prototype would still apply.  */
27045 #ifdef __cplusplus
27046 extern "C"
27047 #endif
27048 char glXCreateContext ();
27049 int
27050 main ()
27051 {
27052 return glXCreateContext ();
27053   ;
27054   return 0;
27055 }
27056 _ACEOF
27057 if ac_fn_c_try_link "$LINENO"; then :
27058   ac_cv_lib_GL_glXCreateContext=yes
27059 else
27060   ac_cv_lib_GL_glXCreateContext=no
27061 fi
27062 rm -f core conftest.err conftest.$ac_objext \
27063     conftest$ac_exeext conftest.$ac_ext
27064 LIBS=$ac_check_lib_save_LIBS
27065 fi
27066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glXCreateContext" >&5
27067 $as_echo "$ac_cv_lib_GL_glXCreateContext" >&6; }
27068 if test "x$ac_cv_lib_GL_glXCreateContext" = x""yes; then :
27069   have_dep="yes"
27070 else
27071   have_dep="no"
27072 fi
27073
27074 fi
27075
27076 if test "x$gl_flavor_gles" = "xyes" ; then
27077   have_dep=no
27078 fi
27079
27080 if test "x${have_dep}" = "xyes" ; then
27081
27082 pkg_failed=no
27083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
27084 $as_echo_n "checking for GL_EET... " >&6; }
27085
27086 if test -n "$GL_EET_CFLAGS"; then
27087     pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
27088  elif test -n "$PKG_CONFIG"; then
27089     if test -n "$PKG_CONFIG" && \
27090     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
27091   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
27092   ac_status=$?
27093   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27094   test $ac_status = 0; }; then
27095   pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
27096 else
27097   pkg_failed=yes
27098 fi
27099  else
27100     pkg_failed=untried
27101 fi
27102 if test -n "$GL_EET_LIBS"; then
27103     pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
27104  elif test -n "$PKG_CONFIG"; then
27105     if test -n "$PKG_CONFIG" && \
27106     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
27107   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
27108   ac_status=$?
27109   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27110   test $ac_status = 0; }; then
27111   pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
27112 else
27113   pkg_failed=yes
27114 fi
27115  else
27116     pkg_failed=untried
27117 fi
27118
27119
27120
27121 if test $pkg_failed = yes; then
27122         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27123 $as_echo "no" >&6; }
27124
27125 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27126         _pkg_short_errors_supported=yes
27127 else
27128         _pkg_short_errors_supported=no
27129 fi
27130         if test $_pkg_short_errors_supported = yes; then
27131                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.99" 2>&1`
27132         else
27133                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.99" 2>&1`
27134         fi
27135         # Put the nasty error message in config.log where it belongs
27136         echo "$GL_EET_PKG_ERRORS" >&5
27137
27138         have_dep="no"
27139 elif test $pkg_failed = untried; then
27140         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27141 $as_echo "no" >&6; }
27142         have_dep="no"
27143 else
27144         GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
27145         GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
27146         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27147 $as_echo "yes" >&6; }
27148         have_dep="yes"
27149 fi
27150    if test "x${have_dep}" = "xyes" ; then
27151       if test "xno" = "xyes" ; then
27152          x_libs="${x_libs} -lX11 -lXext -lXrender"
27153       else
27154          x_dir=${x_dir:-/usr/X11R6}
27155          x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
27156          x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
27157       fi
27158    evas_engine_gl_xlib_cflags="-I/usr/include ${x_cflags}"
27159    evas_engine_gl_xlib_libs="${x_libs} -lGL $gl_pt_lib"
27160    evas_engine_gl_common_libs="-lGL $gl_pt_lib"
27161    fi
27162 else
27163    if test "xno" = "xyes" ; then
27164       x_libs="${x_libs} -lX11 -lXext -lXrender"
27165    else
27166       x_dir=${x_dir:-/usr/X11R6}
27167       x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
27168       x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
27169    fi
27170    ac_fn_c_check_header_compile "$LINENO" "GLES2/gl2.h" "ac_cv_header_GLES2_gl2_h" "
27171 #include <GLES2/gl2.h>
27172 #include <GLES2/gl2ext.h>
27173 #include <EGL/egl.h>
27174 #include <X11/Xlib.h>
27175 #include <X11/Xatom.h>
27176 #include <X11/Xutil.h>
27177 #include <X11/extensions/Xrender.h>
27178 #include <X11/Xresource.h>
27179
27180 "
27181 if test "x$ac_cv_header_GLES2_gl2_h" = x""yes; then :
27182   have_egl="yes"
27183 else
27184   have_egl="no"
27185 fi
27186
27187
27188    if test "x${have_egl}" = "xyes" ; then
27189       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
27190 $as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
27191 if test "${ac_cv_lib_GLESv2_glTexImage2D+set}" = set; then :
27192   $as_echo_n "(cached) " >&6
27193 else
27194   ac_check_lib_save_LIBS=$LIBS
27195 LIBS="-lGLESv2 -lEGL ${x_libs} -lm $gl_pt_lib $LIBS"
27196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27197 /* end confdefs.h.  */
27198
27199 /* Override any GCC internal prototype to avoid an error.
27200    Use char because int might match the return type of a GCC
27201    builtin and then its argument prototype would still apply.  */
27202 #ifdef __cplusplus
27203 extern "C"
27204 #endif
27205 char glTexImage2D ();
27206 int
27207 main ()
27208 {
27209 return glTexImage2D ();
27210   ;
27211   return 0;
27212 }
27213 _ACEOF
27214 if ac_fn_c_try_link "$LINENO"; then :
27215   ac_cv_lib_GLESv2_glTexImage2D=yes
27216 else
27217   ac_cv_lib_GLESv2_glTexImage2D=no
27218 fi
27219 rm -f core conftest.err conftest.$ac_objext \
27220     conftest$ac_exeext conftest.$ac_ext
27221 LIBS=$ac_check_lib_save_LIBS
27222 fi
27223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
27224 $as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
27225 if test "x$ac_cv_lib_GLESv2_glTexImage2D" = x""yes; then :
27226   have_glesv2="yes"
27227 fi
27228
27229       if test "x${have_glesv2}" = "xyes" ; then
27230
27231 pkg_failed=no
27232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
27233 $as_echo_n "checking for GL_EET... " >&6; }
27234
27235 if test -n "$GL_EET_CFLAGS"; then
27236     pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
27237  elif test -n "$PKG_CONFIG"; then
27238     if test -n "$PKG_CONFIG" && \
27239     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
27240   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
27241   ac_status=$?
27242   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27243   test $ac_status = 0; }; then
27244   pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
27245 else
27246   pkg_failed=yes
27247 fi
27248  else
27249     pkg_failed=untried
27250 fi
27251 if test -n "$GL_EET_LIBS"; then
27252     pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
27253  elif test -n "$PKG_CONFIG"; then
27254     if test -n "$PKG_CONFIG" && \
27255     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
27256   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
27257   ac_status=$?
27258   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27259   test $ac_status = 0; }; then
27260   pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
27261 else
27262   pkg_failed=yes
27263 fi
27264  else
27265     pkg_failed=untried
27266 fi
27267
27268
27269
27270 if test $pkg_failed = yes; then
27271         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27272 $as_echo "no" >&6; }
27273
27274 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27275         _pkg_short_errors_supported=yes
27276 else
27277         _pkg_short_errors_supported=no
27278 fi
27279         if test $_pkg_short_errors_supported = yes; then
27280                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.99" 2>&1`
27281         else
27282                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.99" 2>&1`
27283         fi
27284         # Put the nasty error message in config.log where it belongs
27285         echo "$GL_EET_PKG_ERRORS" >&5
27286
27287         have_dep="no"
27288 elif test $pkg_failed = untried; then
27289         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27290 $as_echo "no" >&6; }
27291         have_dep="no"
27292 else
27293         GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
27294         GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
27295         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27296 $as_echo "yes" >&6; }
27297         have_dep="yes"
27298 fi
27299          if test "x${have_dep}" = "xyes" ; then
27300             evas_engine_gl_xlib_cflags="${x_cflags}"
27301             evas_engine_gl_xlib_libs="${x_libs} -lGLESv2 -lEGL -lm $gl_pt_lib"
27302             evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
27303             have_dep="yes"
27304
27305 $as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
27306
27307             gles_variety_sgx="yes"
27308          fi
27309       fi
27310    fi
27311 fi
27312
27313
27314
27315
27316
27317 if test "x${have_dep}" = "xyes" ; then
27318   have_engine="yes"
27319 else
27320   have_engine="no"
27321 fi
27322
27323
27324 fi
27325
27326 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
27327    as_fn_error $? "OpenGL XLib dependencies not found (strict dependencies checking)" "$LINENO" 5
27328 fi
27329
27330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL XLib rendering backend will be built" >&5
27331 $as_echo_n "checking whether OpenGL XLib rendering backend will be built... " >&6; }
27332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
27333 $as_echo "${have_engine}" >&6; }
27334
27335 if test "x${have_engine}" = "xyes" ; then
27336    if test "x${want_engine}" = "xstatic" ; then
27337       have_evas_engine_gl_xlib="static"
27338       want_static_engine="yes"
27339    else
27340       have_evas_engine_gl_xlib="yes"
27341    fi
27342 fi
27343
27344 if test "x${have_engine}" = "xyes" ; then
27345
27346 $as_echo "#define BUILD_ENGINE_GL_XLIB 1" >>confdefs.h
27347
27348 fi
27349
27350  if test "x${have_engine}" = "xyes"; then
27351   BUILD_ENGINE_GL_XLIB_TRUE=
27352   BUILD_ENGINE_GL_XLIB_FALSE='#'
27353 else
27354   BUILD_ENGINE_GL_XLIB_TRUE='#'
27355   BUILD_ENGINE_GL_XLIB_FALSE=
27356 fi
27357
27358
27359 if test "x${want_static_engine}" = "xyes" ; then
27360
27361 $as_echo "#define EVAS_STATIC_BUILD_GL_XLIB 1" >>confdefs.h
27362
27363    have_static_module="yes"
27364 fi
27365
27366  if test "x${want_static_engine}" = "xyes"; then
27367   EVAS_STATIC_BUILD_GL_XLIB_TRUE=
27368   EVAS_STATIC_BUILD_GL_XLIB_FALSE='#'
27369 else
27370   EVAS_STATIC_BUILD_GL_XLIB_TRUE='#'
27371   EVAS_STATIC_BUILD_GL_XLIB_FALSE=
27372 fi
27373
27374
27375
27376
27377
27378
27379   if test "x$have_evas_engine_gl_xlib" != "xno" ; then
27380     have_evas_engine_gl_x11="yes"
27381
27382 cat >>confdefs.h <<_ACEOF
27383 #define BUILD_ENGINE_GL_X11 1
27384 _ACEOF
27385
27386
27387 cat >>confdefs.h <<_ACEOF
27388 #define BUILD_ENGINE_GL_XLIB 1
27389 _ACEOF
27390
27391     if test "x$have_evas_engine_gl_xlib" = "xstatic" ; then
27392
27393 cat >>confdefs.h <<_ACEOF
27394 #define EVAS_STATIC_BUILD_GL_X11 1
27395 _ACEOF
27396
27397     fi
27398   fi
27399 else
27400   have_evas_engine_gl_xlib="no"
27401 fi
27402
27403
27404  if test "x${have_evas_engine_gl_xlib}" != "xno"; then
27405   BUILD_ENGINE_GL_XLIB_TRUE=
27406   BUILD_ENGINE_GL_XLIB_FALSE='#'
27407 else
27408   BUILD_ENGINE_GL_XLIB_TRUE='#'
27409   BUILD_ENGINE_GL_XLIB_FALSE=
27410 fi
27411
27412  if test "x${have_evas_engine_gl_xcb}" != "xno"; then
27413   BUILD_ENGINE_GL_XCB_TRUE=
27414   BUILD_ENGINE_GL_XCB_FALSE='#'
27415 else
27416   BUILD_ENGINE_GL_XCB_TRUE='#'
27417   BUILD_ENGINE_GL_XCB_FALSE=
27418 fi
27419
27420  if test "x${have_evas_engine_gl_x11}" != "xno"; then
27421   BUILD_ENGINE_GL_X11_TRUE=
27422   BUILD_ENGINE_GL_X11_FALSE='#'
27423 else
27424   BUILD_ENGINE_GL_X11_TRUE='#'
27425   BUILD_ENGINE_GL_X11_FALSE=
27426 fi
27427
27428
27429  if test "x${have_evas_engine_gl_xcb}" = "xstatic" -o "x${have_evas_engine_gl_xlib}" = "xstatic"; then
27430   EVAS_STATIC_BUILD_GL_X11_TRUE=
27431   EVAS_STATIC_BUILD_GL_X11_FALSE='#'
27432 else
27433   EVAS_STATIC_BUILD_GL_X11_TRUE='#'
27434   EVAS_STATIC_BUILD_GL_X11_FALSE=
27435 fi
27436
27437  if test "x${have_evas_engine_gl_xlib}" = "xstatic"; then
27438   EVAS_STATIC_BUILD_GL_XLIB_TRUE=
27439   EVAS_STATIC_BUILD_GL_XLIB_FALSE='#'
27440 else
27441   EVAS_STATIC_BUILD_GL_XLIB_TRUE='#'
27442   EVAS_STATIC_BUILD_GL_XLIB_FALSE=
27443 fi
27444
27445  if test "x${have_evas_engine_gl_xcb}" = "xstatic"; then
27446   EVAS_STATIC_BUILD_GL_XCB_TRUE=
27447   EVAS_STATIC_BUILD_GL_XCB_FALSE='#'
27448 else
27449   EVAS_STATIC_BUILD_GL_XCB_TRUE='#'
27450   EVAS_STATIC_BUILD_GL_XCB_FALSE=
27451 fi
27452
27453
27454
27455
27456 # common gl
27457 have_evas_engine_gl_common="no"
27458 have_static_evas_engine_gl_common="no"
27459 if test "x$have_evas_engine_gl_xlib" = "xyes" \
27460    || test "x$have_evas_engine_gl_xcb" = "xyes" \
27461    || test "x$have_evas_engine_gl_sdl" = "xyes" \
27462    || test "x$have_evas_engine_gl_cocoa" = "xyes" \
27463    || test "x$have_evas_engine_wayland_egl" = "xyes"; then
27464    have_evas_engine_gl_common="yes"
27465 fi
27466 if test "x$have_evas_engine_gl_xlib" = "xstatic" \
27467    || test "x$have_evas_engine_gl_xcb" = "xstatic" \
27468    || test "x$have_evas_engine_gl_sdl" = "xstatic" \
27469    || test "x$have_evas_engine_gl_cocoa" = "xstatic" \
27470    || test "x$have_evas_engine_wayland_egl" = "xstatic"; then
27471    have_evas_engine_gl_common="yes"
27472    have_static_evas_engine_gl_common="yes"
27473 fi
27474
27475 if test "x$have_evas_engine_gl_common" = "xyes"; then
27476    evas_engine_gl_common_libs=""
27477
27478 $as_echo "#define BUILD_ENGINE_GL_COMMON 1" >>confdefs.h
27479
27480 fi
27481
27482
27483
27484  if test "x$have_evas_engine_gl_common" = "xyes"; then
27485   BUILD_ENGINE_GL_COMMON_TRUE=
27486   BUILD_ENGINE_GL_COMMON_FALSE='#'
27487 else
27488   BUILD_ENGINE_GL_COMMON_TRUE='#'
27489   BUILD_ENGINE_GL_COMMON_FALSE=
27490 fi
27491
27492
27493  if test "x${have_static_evas_engine_gl_common}" = "xyes"; then
27494   EVAS_STATIC_BUILD_GL_COMMON_TRUE=
27495   EVAS_STATIC_BUILD_GL_COMMON_FALSE='#'
27496 else
27497   EVAS_STATIC_BUILD_GL_COMMON_TRUE='#'
27498   EVAS_STATIC_BUILD_GL_COMMON_FALSE=
27499 fi
27500
27501 if test "x${have_static_evas_engine_gl_common}" = "xyes"; then
27502
27503 $as_echo "#define EVAS_STATIC_BUILD_GL_COMMON 1" >>confdefs.h
27504
27505 fi
27506
27507 # gl_sdl
27508 if test "x$have_evas_engine_gl_sdl" = "xyes" || test "x$have_evas_engine_gl_sdl" = "xstatic" ; then
27509    ac_fn_c_check_decl "$LINENO" "SDL_GL_CONTEXT_MAJOR_VERSION" "ac_cv_have_decl_SDL_GL_CONTEXT_MAJOR_VERSION" "#include <SDL/SDL_video.h>
27510 "
27511 if test "x$ac_cv_have_decl_SDL_GL_CONTEXT_MAJOR_VERSION" = x""yes; then :
27512
27513 $as_echo "#define HAVE_SDL_GL_CONTEXT_VERSION 1" >>confdefs.h
27514
27515 fi
27516
27517 fi
27518
27519 if test "x$gl_flavor_gles" = "xyes"; then
27520    ac_fn_c_check_decl "$LINENO" "SDL_OPENGLES" "ac_cv_have_decl_SDL_OPENGLES" "#include <SDL/SDL_video.h>
27521 "
27522 if test "x$ac_cv_have_decl_SDL_OPENGLES" = x""yes; then :
27523
27524 $as_echo "#define HAVE_SDL_FLAG_OPENGLES 1" >>confdefs.h
27525
27526 fi
27527
27528 fi
27529
27530 # if software 16 x11 is enabled - build software_16 (the generic 16bit
27531 # engine). later enable it fb_16 or other "16" bit engines are enabled.
27532 have_evas_engine_software_16="no"
27533 if test "x$have_evas_engine_software_16_x11" = "xyes" -o "x$have_evas_engine_software_16_x11" = "xstatic"; then
27534    have_evas_engine_software_16="yes"
27535 fi
27536 if test "x$have_evas_engine_software_16_sdl" = "xyes" -o "x$have_evas_engine_software_16_sdl" = "xstatic"; then
27537    have_evas_engine_software_16="yes"
27538 fi
27539 if test "x$have_evas_engine_software_16_wince" = "xyes" -o "x$have_evas_engine_software_16_wince" = "xstatic"; then
27540    have_evas_engine_software_16="yes"
27541 fi
27542  if test "x$have_evas_engine_software_16" = "xyes"; then
27543   BUILD_ENGINE_SOFTWARE_16_TRUE=
27544   BUILD_ENGINE_SOFTWARE_16_FALSE='#'
27545 else
27546   BUILD_ENGINE_SOFTWARE_16_TRUE='#'
27547   BUILD_ENGINE_SOFTWARE_16_FALSE=
27548 fi
27549
27550
27551 # if software 16 need to be build as part of libevas.so
27552 have_static_software_16="no"
27553 # Check whether --enable-static-software-16 was given.
27554 if test "${enable_static_software_16+set}" = set; then :
27555   enableval=$enable_static_software_16; have_static_software_16=${enableval}
27556
27557 fi
27558
27559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to build software 16 engine as part of libevas" >&5
27560 $as_echo_n "checking Whether to build software 16 engine as part of libevas... " >&6; }
27561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_static_software_16}" >&5
27562 $as_echo "${have_static_software_16}" >&6; }
27563
27564  if test "x${have_static_software_16}" = "xyes"; then
27565   EVAS_STATIC_BUILD_SOFTWARE_16_TRUE=
27566   EVAS_STATIC_BUILD_SOFTWARE_16_FALSE='#'
27567 else
27568   EVAS_STATIC_BUILD_SOFTWARE_16_TRUE='#'
27569   EVAS_STATIC_BUILD_SOFTWARE_16_FALSE=
27570 fi
27571
27572 if test "x${have_static_software_16}" = "xyes"; then
27573
27574 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16 1" >>confdefs.h
27575
27576 fi
27577
27578 # if software 8 x11 is enabled - build software_8 (the generic 8bit
27579 # engine).
27580 have_evas_engine_software_8="no"
27581 if test "x$have_evas_engine_software_8_x11" = "xyes" -o "x$have_evas_engine_software_8_x11" = "xstatic"; then
27582    have_evas_engine_software_8="yes"
27583 fi
27584  if test "x$have_evas_engine_software_8" = "xyes"; then
27585   BUILD_ENGINE_SOFTWARE_8_TRUE=
27586   BUILD_ENGINE_SOFTWARE_8_FALSE='#'
27587 else
27588   BUILD_ENGINE_SOFTWARE_8_TRUE='#'
27589   BUILD_ENGINE_SOFTWARE_8_FALSE=
27590 fi
27591
27592
27593 # if software 8 need to be build as part of libevas.so
27594 have_static_software_8="no"
27595 # Check whether --enable-static-software-8 was given.
27596 if test "${enable_static_software_8+set}" = set; then :
27597   enableval=$enable_static_software_8; have_static_software_8=${enableval}
27598
27599 fi
27600
27601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to build software 8 engine as part of libevas" >&5
27602 $as_echo_n "checking Whether to build software 8 engine as part of libevas... " >&6; }
27603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_static_software_8}" >&5
27604 $as_echo "${have_static_software_8}" >&6; }
27605
27606  if test "x${have_static_software_8}" = "xyes"; then
27607   EVAS_STATIC_BUILD_SOFTWARE_8_TRUE=
27608   EVAS_STATIC_BUILD_SOFTWARE_8_FALSE='#'
27609 else
27610   EVAS_STATIC_BUILD_SOFTWARE_8_TRUE='#'
27611   EVAS_STATIC_BUILD_SOFTWARE_8_FALSE=
27612 fi
27613
27614 if test "x${have_static_software_8}" = "xyes"; then
27615
27616 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_8 1" >>confdefs.h
27617
27618 fi
27619
27620 #####################################################################
27621 ## Image loaders
27622
27623
27624
27625
27626
27627
27628 want_loader="${want_evas_image_loader_edb}"
27629 want_static_loader="no"
27630 have_loader="no"
27631 have_evas_image_loader_edb="no"
27632
27633 # Check whether --enable-image-loader-edb was given.
27634 if test "${enable_image_loader_edb+set}" = set; then :
27635   enableval=$enable_image_loader_edb;
27636     if test "x${enableval}" = "xyes" ; then
27637        want_loader="yes"
27638     else
27639        if test "x${enableval}" = "xstatic" ; then
27640           want_loader="static"
27641        else
27642           want_loader="no"
27643        fi
27644     fi
27645
27646
27647 fi
27648
27649
27650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Edb image loader" >&5
27651 $as_echo_n "checking whether to enable Edb image loader... " >&6; }
27652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
27653 $as_echo "${want_loader}" >&6; }
27654
27655 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
27656
27657
27658 requirement=""
27659 have_dep="no"
27660 evas_image_loader_edb_cflags=""
27661 evas_image_loader_edb_libs=""
27662
27663
27664 pkg_failed=no
27665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDB" >&5
27666 $as_echo_n "checking for EDB... " >&6; }
27667
27668 if test -n "$EDB_CFLAGS"; then
27669     pkg_cv_EDB_CFLAGS="$EDB_CFLAGS"
27670  elif test -n "$PKG_CONFIG"; then
27671     if test -n "$PKG_CONFIG" && \
27672     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edb\""; } >&5
27673   ($PKG_CONFIG --exists --print-errors "edb") 2>&5
27674   ac_status=$?
27675   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27676   test $ac_status = 0; }; then
27677   pkg_cv_EDB_CFLAGS=`$PKG_CONFIG --cflags "edb" 2>/dev/null`
27678 else
27679   pkg_failed=yes
27680 fi
27681  else
27682     pkg_failed=untried
27683 fi
27684 if test -n "$EDB_LIBS"; then
27685     pkg_cv_EDB_LIBS="$EDB_LIBS"
27686  elif test -n "$PKG_CONFIG"; then
27687     if test -n "$PKG_CONFIG" && \
27688     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edb\""; } >&5
27689   ($PKG_CONFIG --exists --print-errors "edb") 2>&5
27690   ac_status=$?
27691   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27692   test $ac_status = 0; }; then
27693   pkg_cv_EDB_LIBS=`$PKG_CONFIG --libs "edb" 2>/dev/null`
27694 else
27695   pkg_failed=yes
27696 fi
27697  else
27698     pkg_failed=untried
27699 fi
27700
27701
27702
27703 if test $pkg_failed = yes; then
27704         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27705 $as_echo "no" >&6; }
27706
27707 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27708         _pkg_short_errors_supported=yes
27709 else
27710         _pkg_short_errors_supported=no
27711 fi
27712         if test $_pkg_short_errors_supported = yes; then
27713                 EDB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "edb" 2>&1`
27714         else
27715                 EDB_PKG_ERRORS=`$PKG_CONFIG --print-errors "edb" 2>&1`
27716         fi
27717         # Put the nasty error message in config.log where it belongs
27718         echo "$EDB_PKG_ERRORS" >&5
27719
27720         have_dep="no"
27721 elif test $pkg_failed = untried; then
27722         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27723 $as_echo "no" >&6; }
27724         have_dep="no"
27725 else
27726         EDB_CFLAGS=$pkg_cv_EDB_CFLAGS
27727         EDB_LIBS=$pkg_cv_EDB_LIBS
27728         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27729 $as_echo "yes" >&6; }
27730         have_dep="yes" requirement="edb"
27731 fi
27732 evas_image_loader_edb_cflags="${EDB_CFLAGS}"
27733 evas_image_loader_edb_libs="${EDB_LIBS}"
27734
27735
27736
27737
27738 if test "x${want_loader}" = "xstatic" ; then
27739    requirement_evas="${requirement} ${requirement_evas}"
27740 fi
27741
27742 if test "x${have_dep}" = "xyes" ; then
27743   have_loader="yes"
27744 else
27745   have_loader="no"
27746 fi
27747
27748
27749 fi
27750
27751 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
27752    as_fn_error $? "Edb dependencies not found (strict dependencies checking)" "$LINENO" 5
27753 fi
27754
27755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Edb image loader will be built" >&5
27756 $as_echo_n "checking whether Edb image loader will be built... " >&6; }
27757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
27758 $as_echo "${have_loader}" >&6; }
27759
27760 if test "x${have_loader}" = "xyes" ; then
27761    if test "x${want_loader}" = "xstatic" ; then
27762       have_evas_image_loader_edb="static"
27763       want_static_loader="yes"
27764    else
27765       have_evas_image_loader_edb="yes"
27766    fi
27767 fi
27768
27769 if test "x${have_loader}" = "xyes" ; then
27770
27771 $as_echo "#define BUILD_LOADER_EDB 1" >>confdefs.h
27772
27773 fi
27774
27775  if test "x${have_loader}" = "xyes"; then
27776   BUILD_LOADER_EDB_TRUE=
27777   BUILD_LOADER_EDB_FALSE='#'
27778 else
27779   BUILD_LOADER_EDB_TRUE='#'
27780   BUILD_LOADER_EDB_FALSE=
27781 fi
27782
27783
27784 if test "x${want_static_loader}" = "xyes" ; then
27785
27786 $as_echo "#define EVAS_STATIC_BUILD_EDB 1" >>confdefs.h
27787
27788    have_static_module="yes"
27789 fi
27790
27791  if test "x${want_static_loader}" = "xyes"; then
27792   EVAS_STATIC_BUILD_EDB_TRUE=
27793   EVAS_STATIC_BUILD_EDB_FALSE='#'
27794 else
27795   EVAS_STATIC_BUILD_EDB_TRUE='#'
27796   EVAS_STATIC_BUILD_EDB_FALSE=
27797 fi
27798
27799
27800
27801
27802
27803
27804
27805
27806
27807
27808
27809
27810 want_loader="${want_evas_image_loader_eet}"
27811 want_static_loader="no"
27812 have_loader="no"
27813 have_evas_image_loader_eet="no"
27814
27815 # Check whether --enable-image-loader-eet was given.
27816 if test "${enable_image_loader_eet+set}" = set; then :
27817   enableval=$enable_image_loader_eet;
27818     if test "x${enableval}" = "xyes" ; then
27819        want_loader="yes"
27820     else
27821        if test "x${enableval}" = "xstatic" ; then
27822           want_loader="static"
27823        else
27824           want_loader="no"
27825        fi
27826     fi
27827
27828
27829 fi
27830
27831
27832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Eet image loader" >&5
27833 $as_echo_n "checking whether to enable Eet image loader... " >&6; }
27834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
27835 $as_echo "${want_loader}" >&6; }
27836
27837 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
27838
27839
27840 requirement=""
27841 have_dep="no"
27842 evas_image_loader_eet_cflags=""
27843 evas_image_loader_eet_libs=""
27844
27845
27846 pkg_failed=no
27847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EET" >&5
27848 $as_echo_n "checking for EET... " >&6; }
27849
27850 if test -n "$EET_CFLAGS"; then
27851     pkg_cv_EET_CFLAGS="$EET_CFLAGS"
27852  elif test -n "$PKG_CONFIG"; then
27853     if test -n "$PKG_CONFIG" && \
27854     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
27855   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
27856   ac_status=$?
27857   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27858   test $ac_status = 0; }; then
27859   pkg_cv_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.0" 2>/dev/null`
27860 else
27861   pkg_failed=yes
27862 fi
27863  else
27864     pkg_failed=untried
27865 fi
27866 if test -n "$EET_LIBS"; then
27867     pkg_cv_EET_LIBS="$EET_LIBS"
27868  elif test -n "$PKG_CONFIG"; then
27869     if test -n "$PKG_CONFIG" && \
27870     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
27871   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
27872   ac_status=$?
27873   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27874   test $ac_status = 0; }; then
27875   pkg_cv_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.0" 2>/dev/null`
27876 else
27877   pkg_failed=yes
27878 fi
27879  else
27880     pkg_failed=untried
27881 fi
27882
27883
27884
27885 if test $pkg_failed = yes; then
27886         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27887 $as_echo "no" >&6; }
27888
27889 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27890         _pkg_short_errors_supported=yes
27891 else
27892         _pkg_short_errors_supported=no
27893 fi
27894         if test $_pkg_short_errors_supported = yes; then
27895                 EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.0" 2>&1`
27896         else
27897                 EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.0" 2>&1`
27898         fi
27899         # Put the nasty error message in config.log where it belongs
27900         echo "$EET_PKG_ERRORS" >&5
27901
27902         have_dep="no"
27903 elif test $pkg_failed = untried; then
27904         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27905 $as_echo "no" >&6; }
27906         have_dep="no"
27907 else
27908         EET_CFLAGS=$pkg_cv_EET_CFLAGS
27909         EET_LIBS=$pkg_cv_EET_LIBS
27910         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27911 $as_echo "yes" >&6; }
27912         have_dep="yes" requirement="eet >= 1.4.0"
27913 fi
27914 evas_image_loader_eet_cflags="${EET_CFLAGS}"
27915 evas_image_loader_eet_libs="${EET_LIBS}"
27916
27917
27918
27919
27920 if test "x${want_loader}" = "xstatic" ; then
27921    requirement_evas="${requirement} ${requirement_evas}"
27922 fi
27923
27924 if test "x${have_dep}" = "xyes" ; then
27925   have_loader="yes"
27926 else
27927   have_loader="no"
27928 fi
27929
27930
27931 fi
27932
27933 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
27934    as_fn_error $? "Eet dependencies not found (strict dependencies checking)" "$LINENO" 5
27935 fi
27936
27937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Eet image loader will be built" >&5
27938 $as_echo_n "checking whether Eet image loader will be built... " >&6; }
27939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
27940 $as_echo "${have_loader}" >&6; }
27941
27942 if test "x${have_loader}" = "xyes" ; then
27943    if test "x${want_loader}" = "xstatic" ; then
27944       have_evas_image_loader_eet="static"
27945       want_static_loader="yes"
27946    else
27947       have_evas_image_loader_eet="yes"
27948    fi
27949 fi
27950
27951 if test "x${have_loader}" = "xyes" ; then
27952
27953 $as_echo "#define BUILD_LOADER_EET 1" >>confdefs.h
27954
27955 fi
27956
27957  if test "x${have_loader}" = "xyes"; then
27958   BUILD_LOADER_EET_TRUE=
27959   BUILD_LOADER_EET_FALSE='#'
27960 else
27961   BUILD_LOADER_EET_TRUE='#'
27962   BUILD_LOADER_EET_FALSE=
27963 fi
27964
27965
27966 if test "x${want_static_loader}" = "xyes" ; then
27967
27968 $as_echo "#define EVAS_STATIC_BUILD_EET 1" >>confdefs.h
27969
27970    have_static_module="yes"
27971 fi
27972
27973  if test "x${want_static_loader}" = "xyes"; then
27974   EVAS_STATIC_BUILD_EET_TRUE=
27975   EVAS_STATIC_BUILD_EET_FALSE='#'
27976 else
27977   EVAS_STATIC_BUILD_EET_TRUE='#'
27978   EVAS_STATIC_BUILD_EET_FALSE=
27979 fi
27980
27981
27982
27983
27984
27985
27986
27987
27988
27989 want_loader="${want_evas_font_loader_eet}"
27990 have_evas_font_loader_eet="no"
27991
27992 # Check whether --enable-font-loader-eet was given.
27993 if test "${enable_font_loader_eet+set}" = set; then :
27994   enableval=$enable_font_loader_eet; want_loader=${enableval}
27995
27996 fi
27997
27998
27999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Eet font loader" >&5
28000 $as_echo_n "checking whether to enable Eet font loader... " >&6; }
28001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28002 $as_echo "${want_loader}" >&6; }
28003
28004 if test "x$want_loader" = "xyes" -o "x$want_loader" = "xauto"; then
28005
28006 pkg_failed=no
28007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EET" >&5
28008 $as_echo_n "checking for EET... " >&6; }
28009
28010 if test -n "$EET_CFLAGS"; then
28011     pkg_cv_EET_CFLAGS="$EET_CFLAGS"
28012  elif test -n "$PKG_CONFIG"; then
28013     if test -n "$PKG_CONFIG" && \
28014     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
28015   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
28016   ac_status=$?
28017   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28018   test $ac_status = 0; }; then
28019   pkg_cv_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.0" 2>/dev/null`
28020 else
28021   pkg_failed=yes
28022 fi
28023  else
28024     pkg_failed=untried
28025 fi
28026 if test -n "$EET_LIBS"; then
28027     pkg_cv_EET_LIBS="$EET_LIBS"
28028  elif test -n "$PKG_CONFIG"; then
28029     if test -n "$PKG_CONFIG" && \
28030     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
28031   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
28032   ac_status=$?
28033   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28034   test $ac_status = 0; }; then
28035   pkg_cv_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.0" 2>/dev/null`
28036 else
28037   pkg_failed=yes
28038 fi
28039  else
28040     pkg_failed=untried
28041 fi
28042
28043
28044
28045 if test $pkg_failed = yes; then
28046         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28047 $as_echo "no" >&6; }
28048
28049 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28050         _pkg_short_errors_supported=yes
28051 else
28052         _pkg_short_errors_supported=no
28053 fi
28054         if test $_pkg_short_errors_supported = yes; then
28055                 EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.0" 2>&1`
28056         else
28057                 EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.0" 2>&1`
28058         fi
28059         # Put the nasty error message in config.log where it belongs
28060         echo "$EET_PKG_ERRORS" >&5
28061
28062         have_evas_font_loader_eet="no"
28063 elif test $pkg_failed = untried; then
28064         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28065 $as_echo "no" >&6; }
28066         have_evas_font_loader_eet="no"
28067 else
28068         EET_CFLAGS=$pkg_cv_EET_CFLAGS
28069         EET_LIBS=$pkg_cv_EET_LIBS
28070         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28071 $as_echo "yes" >&6; }
28072         have_evas_font_loader_eet="yes"
28073 fi
28074 fi
28075
28076 if test "x${have_evas_font_loader_eet}" = "xno" -a "x$want_loader" = "xyes" -a "x$use_strict" = "xyes" ; then
28077    as_fn_error $? "Eet dependencies not found (strict dependencies checking)" "$LINENO" 5
28078 fi
28079
28080 if test "x$have_evas_font_loader_eet" = "xyes" ; then
28081
28082 $as_echo "#define BUILD_FONT_LOADER_EET 1" >>confdefs.h
28083
28084    requirement_evas="eet >= 1.6.0 ${requirement_evas}"
28085 fi
28086
28087
28088
28089
28090
28091
28092
28093
28094
28095
28096
28097 want_loader="${want_evas_image_loader_gif}"
28098 want_static_loader="no"
28099 have_loader="no"
28100 have_evas_image_loader_gif="no"
28101
28102 # Check whether --enable-image-loader-gif was given.
28103 if test "${enable_image_loader_gif+set}" = set; then :
28104   enableval=$enable_image_loader_gif;
28105     if test "x${enableval}" = "xyes" ; then
28106        want_loader="yes"
28107     else
28108        if test "x${enableval}" = "xstatic" ; then
28109           want_loader="static"
28110        else
28111           want_loader="no"
28112        fi
28113     fi
28114
28115
28116 fi
28117
28118
28119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Gif image loader" >&5
28120 $as_echo_n "checking whether to enable Gif image loader... " >&6; }
28121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28122 $as_echo "${want_loader}" >&6; }
28123
28124 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
28125
28126
28127 have_dep="no"
28128 evas_image_loader_gif_cflags=""
28129 evas_image_loader_gif_libs=""
28130
28131 ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default"
28132 if test "x$ac_cv_header_gif_lib_h" = x""yes; then :
28133   have_dep="yes"
28134 fi
28135
28136
28137
28138 if test "x${have_dep}"  = "xyes" ; then
28139    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DGifOpenFileName in -lgif" >&5
28140 $as_echo_n "checking for DGifOpenFileName in -lgif... " >&6; }
28141 if test "${ac_cv_lib_gif_DGifOpenFileName+set}" = set; then :
28142   $as_echo_n "(cached) " >&6
28143 else
28144   ac_check_lib_save_LIBS=$LIBS
28145 LIBS="-lgif  $LIBS"
28146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28147 /* end confdefs.h.  */
28148
28149 /* Override any GCC internal prototype to avoid an error.
28150    Use char because int might match the return type of a GCC
28151    builtin and then its argument prototype would still apply.  */
28152 #ifdef __cplusplus
28153 extern "C"
28154 #endif
28155 char DGifOpenFileName ();
28156 int
28157 main ()
28158 {
28159 return DGifOpenFileName ();
28160   ;
28161   return 0;
28162 }
28163 _ACEOF
28164 if ac_fn_c_try_link "$LINENO"; then :
28165   ac_cv_lib_gif_DGifOpenFileName=yes
28166 else
28167   ac_cv_lib_gif_DGifOpenFileName=no
28168 fi
28169 rm -f core conftest.err conftest.$ac_objext \
28170     conftest$ac_exeext conftest.$ac_ext
28171 LIBS=$ac_check_lib_save_LIBS
28172 fi
28173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_DGifOpenFileName" >&5
28174 $as_echo "$ac_cv_lib_gif_DGifOpenFileName" >&6; }
28175 if test "x$ac_cv_lib_gif_DGifOpenFileName" = x""yes; then :
28176
28177        evas_image_loader_gif_libs="-lgif"
28178
28179 else
28180   have_dep="no"
28181
28182 fi
28183
28184
28185    if test "x${have_dep}"  = "xno" ; then
28186       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DGifOpenFileName in -lungif" >&5
28187 $as_echo_n "checking for DGifOpenFileName in -lungif... " >&6; }
28188 if test "${ac_cv_lib_ungif_DGifOpenFileName+set}" = set; then :
28189   $as_echo_n "(cached) " >&6
28190 else
28191   ac_check_lib_save_LIBS=$LIBS
28192 LIBS="-lungif  $LIBS"
28193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28194 /* end confdefs.h.  */
28195
28196 /* Override any GCC internal prototype to avoid an error.
28197    Use char because int might match the return type of a GCC
28198    builtin and then its argument prototype would still apply.  */
28199 #ifdef __cplusplus
28200 extern "C"
28201 #endif
28202 char DGifOpenFileName ();
28203 int
28204 main ()
28205 {
28206 return DGifOpenFileName ();
28207   ;
28208   return 0;
28209 }
28210 _ACEOF
28211 if ac_fn_c_try_link "$LINENO"; then :
28212   ac_cv_lib_ungif_DGifOpenFileName=yes
28213 else
28214   ac_cv_lib_ungif_DGifOpenFileName=no
28215 fi
28216 rm -f core conftest.err conftest.$ac_objext \
28217     conftest$ac_exeext conftest.$ac_ext
28218 LIBS=$ac_check_lib_save_LIBS
28219 fi
28220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_DGifOpenFileName" >&5
28221 $as_echo "$ac_cv_lib_ungif_DGifOpenFileName" >&6; }
28222 if test "x$ac_cv_lib_ungif_DGifOpenFileName" = x""yes; then :
28223
28224           have_dep="yes"
28225           evas_image_loader_gif_libs="-lungif"
28226
28227
28228 fi
28229
28230    fi
28231 fi
28232
28233
28234
28235
28236 if test "x${have_dep}" = "xyes" ; then
28237   have_loader="yes"
28238 else
28239   have_loader="no"
28240 fi
28241
28242
28243 fi
28244
28245 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28246    as_fn_error $? "Gif dependencies not found (strict dependencies checking)" "$LINENO" 5
28247 fi
28248
28249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Gif image loader will be built" >&5
28250 $as_echo_n "checking whether Gif image loader will be built... " >&6; }
28251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
28252 $as_echo "${have_loader}" >&6; }
28253
28254 if test "x${have_loader}" = "xyes" ; then
28255    if test "x${want_loader}" = "xstatic" ; then
28256       have_evas_image_loader_gif="static"
28257       want_static_loader="yes"
28258    else
28259       have_evas_image_loader_gif="yes"
28260    fi
28261 fi
28262
28263 if test "x${have_loader}" = "xyes" ; then
28264
28265 $as_echo "#define BUILD_LOADER_GIF 1" >>confdefs.h
28266
28267 fi
28268
28269  if test "x${have_loader}" = "xyes"; then
28270   BUILD_LOADER_GIF_TRUE=
28271   BUILD_LOADER_GIF_FALSE='#'
28272 else
28273   BUILD_LOADER_GIF_TRUE='#'
28274   BUILD_LOADER_GIF_FALSE=
28275 fi
28276
28277
28278 if test "x${want_static_loader}" = "xyes" ; then
28279
28280 $as_echo "#define EVAS_STATIC_BUILD_GIF 1" >>confdefs.h
28281
28282    have_static_module="yes"
28283 fi
28284
28285  if test "x${want_static_loader}" = "xyes"; then
28286   EVAS_STATIC_BUILD_GIF_TRUE=
28287   EVAS_STATIC_BUILD_GIF_FALSE='#'
28288 else
28289   EVAS_STATIC_BUILD_GIF_TRUE='#'
28290   EVAS_STATIC_BUILD_GIF_FALSE=
28291 fi
28292
28293
28294
28295
28296
28297
28298
28299 have_evas_image_saver_jpeg="no"
28300
28301
28302
28303
28304
28305 want_loader="${want_evas_image_loader_jpeg}"
28306 want_static_loader="no"
28307 have_loader="no"
28308 have_evas_image_loader_jpeg="no"
28309
28310 # Check whether --enable-image-loader-jpeg was given.
28311 if test "${enable_image_loader_jpeg+set}" = set; then :
28312   enableval=$enable_image_loader_jpeg;
28313     if test "x${enableval}" = "xyes" ; then
28314        want_loader="yes"
28315     else
28316        if test "x${enableval}" = "xstatic" ; then
28317           want_loader="static"
28318        else
28319           want_loader="no"
28320        fi
28321     fi
28322
28323
28324 fi
28325
28326
28327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Jpeg image loader" >&5
28328 $as_echo_n "checking whether to enable Jpeg image loader... " >&6; }
28329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28330 $as_echo "${want_loader}" >&6; }
28331
28332 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
28333
28334
28335 have_dep="no"
28336 evas_image_loader_jpeg_cflags=""
28337 evas_image_loader_jpeg_libs=""
28338
28339 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
28340 if test "x$ac_cv_header_jpeglib_h" = x""yes; then :
28341   have_dep="yes"
28342 fi
28343
28344
28345
28346 if test "x${have_dep}"  = "xyes" ; then
28347    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_CreateDecompress in -ljpeg" >&5
28348 $as_echo_n "checking for jpeg_CreateDecompress in -ljpeg... " >&6; }
28349 if test "${ac_cv_lib_jpeg_jpeg_CreateDecompress+set}" = set; then :
28350   $as_echo_n "(cached) " >&6
28351 else
28352   ac_check_lib_save_LIBS=$LIBS
28353 LIBS="-ljpeg  $LIBS"
28354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28355 /* end confdefs.h.  */
28356
28357 /* Override any GCC internal prototype to avoid an error.
28358    Use char because int might match the return type of a GCC
28359    builtin and then its argument prototype would still apply.  */
28360 #ifdef __cplusplus
28361 extern "C"
28362 #endif
28363 char jpeg_CreateDecompress ();
28364 int
28365 main ()
28366 {
28367 return jpeg_CreateDecompress ();
28368   ;
28369   return 0;
28370 }
28371 _ACEOF
28372 if ac_fn_c_try_link "$LINENO"; then :
28373   ac_cv_lib_jpeg_jpeg_CreateDecompress=yes
28374 else
28375   ac_cv_lib_jpeg_jpeg_CreateDecompress=no
28376 fi
28377 rm -f core conftest.err conftest.$ac_objext \
28378     conftest$ac_exeext conftest.$ac_ext
28379 LIBS=$ac_check_lib_save_LIBS
28380 fi
28381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_CreateDecompress" >&5
28382 $as_echo "$ac_cv_lib_jpeg_jpeg_CreateDecompress" >&6; }
28383 if test "x$ac_cv_lib_jpeg_jpeg_CreateDecompress" = x""yes; then :
28384
28385        evas_image_loader_jpeg_libs="-ljpeg"
28386        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28387 /* end confdefs.h.  */
28388
28389 #include <stdio.h>
28390 #include <jpeglib.h>
28391 #include <setjmp.h>
28392
28393 int
28394 main ()
28395 {
28396
28397 struct jpeg_decompress_struct decomp;
28398 decomp.region_x = 0;
28399
28400   ;
28401   return 0;
28402 }
28403 _ACEOF
28404 if ac_fn_c_try_compile "$LINENO"; then :
28405   have_jpeg_region="yes"
28406 else
28407   have_jpeg_region="no"
28408 fi
28409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28410
28411 else
28412   have_dep="no"
28413
28414 fi
28415
28416    if test "x${have_jpeg_region}" = "xyes" ; then
28417
28418 $as_echo "#define BUILD_LOADER_JPEG_REGION 1" >>confdefs.h
28419
28420    fi
28421 fi
28422
28423
28424
28425
28426 if test "x${have_dep}" = "xyes" ; then
28427   have_loader="yes"
28428 else
28429   have_loader="no"
28430 fi
28431
28432
28433 fi
28434
28435 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28436    as_fn_error $? "Jpeg dependencies not found (strict dependencies checking)" "$LINENO" 5
28437 fi
28438
28439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Jpeg image loader will be built" >&5
28440 $as_echo_n "checking whether Jpeg image loader will be built... " >&6; }
28441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
28442 $as_echo "${have_loader}" >&6; }
28443
28444 if test "x${have_loader}" = "xyes" ; then
28445    if test "x${want_loader}" = "xstatic" ; then
28446       have_evas_image_loader_jpeg="static"
28447       want_static_loader="yes"
28448    else
28449       have_evas_image_loader_jpeg="yes"
28450    fi
28451 fi
28452
28453 if test "x${have_loader}" = "xyes" ; then
28454
28455 $as_echo "#define BUILD_LOADER_JPEG 1" >>confdefs.h
28456
28457 fi
28458
28459  if test "x${have_loader}" = "xyes"; then
28460   BUILD_LOADER_JPEG_TRUE=
28461   BUILD_LOADER_JPEG_FALSE='#'
28462 else
28463   BUILD_LOADER_JPEG_TRUE='#'
28464   BUILD_LOADER_JPEG_FALSE=
28465 fi
28466
28467
28468 if test "x${want_static_loader}" = "xyes" ; then
28469
28470 $as_echo "#define EVAS_STATIC_BUILD_JPEG 1" >>confdefs.h
28471
28472    have_static_module="yes"
28473 fi
28474
28475  if test "x${want_static_loader}" = "xyes"; then
28476   EVAS_STATIC_BUILD_JPEG_TRUE=
28477   EVAS_STATIC_BUILD_JPEG_FALSE='#'
28478 else
28479   EVAS_STATIC_BUILD_JPEG_TRUE='#'
28480   EVAS_STATIC_BUILD_JPEG_FALSE=
28481 fi
28482
28483
28484
28485
28486
28487
28488
28489 case "$host_os" in
28490    mingw*)
28491       ;;
28492    *)
28493       if test "x${have_evas_image_loader_jpeg}" = "xyes" ; then
28494
28495 $as_echo "#define EVAS_BUILD_SAVER_JPEG 1" >>confdefs.h
28496
28497          have_evas_image_saver_jpeg="yes"
28498       fi
28499       ;;
28500 esac
28501  if test "x${have_evas_image_saver_jpeg}" = "xyes"; then
28502   BUILD_SAVER_JPEG_TRUE=
28503   BUILD_SAVER_JPEG_FALSE='#'
28504 else
28505   BUILD_SAVER_JPEG_TRUE='#'
28506   BUILD_SAVER_JPEG_FALSE=
28507 fi
28508
28509
28510
28511
28512
28513
28514
28515 want_loader="${want_evas_image_loader_pmaps}"
28516 want_static_loader="no"
28517 have_loader="no"
28518 have_evas_image_loader_pmaps="no"
28519
28520 # Check whether --enable-image-loader-pmaps was given.
28521 if test "${enable_image_loader_pmaps+set}" = set; then :
28522   enableval=$enable_image_loader_pmaps;
28523     if test "x${enableval}" = "xyes" ; then
28524        want_loader="yes"
28525     else
28526        if test "x${enableval}" = "xstatic" ; then
28527           want_loader="static"
28528        else
28529           want_loader="no"
28530        fi
28531     fi
28532
28533
28534 fi
28535
28536
28537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PMAPS image loader" >&5
28538 $as_echo_n "checking whether to enable PMAPS image loader... " >&6; }
28539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28540 $as_echo "${want_loader}" >&6; }
28541
28542 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
28543
28544
28545 have_dep="yes"
28546 evas_image_loader_pmaps_cflags=""
28547 evas_image_loader_pmaps_libs=""
28548
28549
28550
28551
28552 if test "x${have_dep}" = "xyes" ; then
28553   have_loader="yes"
28554 else
28555   have_loader="no"
28556 fi
28557
28558
28559 fi
28560
28561 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28562    as_fn_error $? "PMAPS dependencies not found (strict dependencies checking)" "$LINENO" 5
28563 fi
28564
28565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PMAPS image loader will be built" >&5
28566 $as_echo_n "checking whether PMAPS image loader will be built... " >&6; }
28567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
28568 $as_echo "${have_loader}" >&6; }
28569
28570 if test "x${have_loader}" = "xyes" ; then
28571    if test "x${want_loader}" = "xstatic" ; then
28572       have_evas_image_loader_pmaps="static"
28573       want_static_loader="yes"
28574    else
28575       have_evas_image_loader_pmaps="yes"
28576    fi
28577 fi
28578
28579 if test "x${have_loader}" = "xyes" ; then
28580
28581 $as_echo "#define BUILD_LOADER_PMAPS 1" >>confdefs.h
28582
28583 fi
28584
28585  if test "x${have_loader}" = "xyes"; then
28586   BUILD_LOADER_PMAPS_TRUE=
28587   BUILD_LOADER_PMAPS_FALSE='#'
28588 else
28589   BUILD_LOADER_PMAPS_TRUE='#'
28590   BUILD_LOADER_PMAPS_FALSE=
28591 fi
28592
28593
28594 if test "x${want_static_loader}" = "xyes" ; then
28595
28596 $as_echo "#define EVAS_STATIC_BUILD_PMAPS 1" >>confdefs.h
28597
28598    have_static_module="yes"
28599 fi
28600
28601  if test "x${want_static_loader}" = "xyes"; then
28602   EVAS_STATIC_BUILD_PMAPS_TRUE=
28603   EVAS_STATIC_BUILD_PMAPS_FALSE='#'
28604 else
28605   EVAS_STATIC_BUILD_PMAPS_TRUE='#'
28606   EVAS_STATIC_BUILD_PMAPS_FALSE=
28607 fi
28608
28609
28610
28611
28612
28613
28614
28615
28616
28617
28618
28619
28620 want_loader="${want_evas_image_loader_png}"
28621 want_static_loader="no"
28622 have_loader="no"
28623 have_evas_image_loader_png="no"
28624
28625 # Check whether --enable-image-loader-png was given.
28626 if test "${enable_image_loader_png+set}" = set; then :
28627   enableval=$enable_image_loader_png;
28628     if test "x${enableval}" = "xyes" ; then
28629        want_loader="yes"
28630     else
28631        if test "x${enableval}" = "xstatic" ; then
28632           want_loader="static"
28633        else
28634           want_loader="no"
28635        fi
28636     fi
28637
28638
28639 fi
28640
28641
28642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PNG image loader" >&5
28643 $as_echo_n "checking whether to enable PNG image loader... " >&6; }
28644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28645 $as_echo "${want_loader}" >&6; }
28646
28647 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
28648
28649
28650 requirement=""
28651 have_dep="no"
28652 evas_image_loader_png_cflags=""
28653 evas_image_loader_png_libs=""
28654
28655
28656 pkg_failed=no
28657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
28658 $as_echo_n "checking for PNG... " >&6; }
28659
28660 if test -n "$PNG_CFLAGS"; then
28661     pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
28662  elif test -n "$PKG_CONFIG"; then
28663     if test -n "$PKG_CONFIG" && \
28664     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.2.10\""; } >&5
28665   ($PKG_CONFIG --exists --print-errors "libpng >= 1.2.10") 2>&5
28666   ac_status=$?
28667   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28668   test $ac_status = 0; }; then
28669   pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng >= 1.2.10" 2>/dev/null`
28670 else
28671   pkg_failed=yes
28672 fi
28673  else
28674     pkg_failed=untried
28675 fi
28676 if test -n "$PNG_LIBS"; then
28677     pkg_cv_PNG_LIBS="$PNG_LIBS"
28678  elif test -n "$PKG_CONFIG"; then
28679     if test -n "$PKG_CONFIG" && \
28680     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.2.10\""; } >&5
28681   ($PKG_CONFIG --exists --print-errors "libpng >= 1.2.10") 2>&5
28682   ac_status=$?
28683   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28684   test $ac_status = 0; }; then
28685   pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng >= 1.2.10" 2>/dev/null`
28686 else
28687   pkg_failed=yes
28688 fi
28689  else
28690     pkg_failed=untried
28691 fi
28692
28693
28694
28695 if test $pkg_failed = yes; then
28696         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28697 $as_echo "no" >&6; }
28698
28699 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28700         _pkg_short_errors_supported=yes
28701 else
28702         _pkg_short_errors_supported=no
28703 fi
28704         if test $_pkg_short_errors_supported = yes; then
28705                 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpng >= 1.2.10" 2>&1`
28706         else
28707                 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpng >= 1.2.10" 2>&1`
28708         fi
28709         # Put the nasty error message in config.log where it belongs
28710         echo "$PNG_PKG_ERRORS" >&5
28711
28712         have_dep="no"
28713 elif test $pkg_failed = untried; then
28714         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28715 $as_echo "no" >&6; }
28716         have_dep="no"
28717 else
28718         PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
28719         PNG_LIBS=$pkg_cv_PNG_LIBS
28720         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28721 $as_echo "yes" >&6; }
28722         have_dep="yes" requirement="libpng"
28723 fi
28724
28725 if test "x${have_dep}" = "xno" ; then
28726
28727 pkg_failed=no
28728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
28729 $as_echo_n "checking for PNG... " >&6; }
28730
28731 if test -n "$PNG_CFLAGS"; then
28732     pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
28733  elif test -n "$PKG_CONFIG"; then
28734     if test -n "$PKG_CONFIG" && \
28735     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng15\""; } >&5
28736   ($PKG_CONFIG --exists --print-errors "libpng15") 2>&5
28737   ac_status=$?
28738   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28739   test $ac_status = 0; }; then
28740   pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng15" 2>/dev/null`
28741 else
28742   pkg_failed=yes
28743 fi
28744  else
28745     pkg_failed=untried
28746 fi
28747 if test -n "$PNG_LIBS"; then
28748     pkg_cv_PNG_LIBS="$PNG_LIBS"
28749  elif test -n "$PKG_CONFIG"; then
28750     if test -n "$PKG_CONFIG" && \
28751     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng15\""; } >&5
28752   ($PKG_CONFIG --exists --print-errors "libpng15") 2>&5
28753   ac_status=$?
28754   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28755   test $ac_status = 0; }; then
28756   pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng15" 2>/dev/null`
28757 else
28758   pkg_failed=yes
28759 fi
28760  else
28761     pkg_failed=untried
28762 fi
28763
28764
28765
28766 if test $pkg_failed = yes; then
28767         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28768 $as_echo "no" >&6; }
28769
28770 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28771         _pkg_short_errors_supported=yes
28772 else
28773         _pkg_short_errors_supported=no
28774 fi
28775         if test $_pkg_short_errors_supported = yes; then
28776                 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpng15" 2>&1`
28777         else
28778                 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpng15" 2>&1`
28779         fi
28780         # Put the nasty error message in config.log where it belongs
28781         echo "$PNG_PKG_ERRORS" >&5
28782
28783         have_dep="no"
28784 elif test $pkg_failed = untried; then
28785         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28786 $as_echo "no" >&6; }
28787         have_dep="no"
28788 else
28789         PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
28790         PNG_LIBS=$pkg_cv_PNG_LIBS
28791         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28792 $as_echo "yes" >&6; }
28793         have_dep="yes" requirement="libpng15"
28794 fi
28795 fi
28796
28797 if test "x${have_dep}" = "xno" ; then
28798
28799 pkg_failed=no
28800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
28801 $as_echo_n "checking for PNG... " >&6; }
28802
28803 if test -n "$PNG_CFLAGS"; then
28804     pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
28805  elif test -n "$PKG_CONFIG"; then
28806     if test -n "$PKG_CONFIG" && \
28807     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng14\""; } >&5
28808   ($PKG_CONFIG --exists --print-errors "libpng14") 2>&5
28809   ac_status=$?
28810   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28811   test $ac_status = 0; }; then
28812   pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng14" 2>/dev/null`
28813 else
28814   pkg_failed=yes
28815 fi
28816  else
28817     pkg_failed=untried
28818 fi
28819 if test -n "$PNG_LIBS"; then
28820     pkg_cv_PNG_LIBS="$PNG_LIBS"
28821  elif test -n "$PKG_CONFIG"; then
28822     if test -n "$PKG_CONFIG" && \
28823     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng14\""; } >&5
28824   ($PKG_CONFIG --exists --print-errors "libpng14") 2>&5
28825   ac_status=$?
28826   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28827   test $ac_status = 0; }; then
28828   pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng14" 2>/dev/null`
28829 else
28830   pkg_failed=yes
28831 fi
28832  else
28833     pkg_failed=untried
28834 fi
28835
28836
28837
28838 if test $pkg_failed = yes; then
28839         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28840 $as_echo "no" >&6; }
28841
28842 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28843         _pkg_short_errors_supported=yes
28844 else
28845         _pkg_short_errors_supported=no
28846 fi
28847         if test $_pkg_short_errors_supported = yes; then
28848                 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpng14" 2>&1`
28849         else
28850                 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpng14" 2>&1`
28851         fi
28852         # Put the nasty error message in config.log where it belongs
28853         echo "$PNG_PKG_ERRORS" >&5
28854
28855         have_dep="no"
28856 elif test $pkg_failed = untried; then
28857         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28858 $as_echo "no" >&6; }
28859         have_dep="no"
28860 else
28861         PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
28862         PNG_LIBS=$pkg_cv_PNG_LIBS
28863         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28864 $as_echo "yes" >&6; }
28865         have_dep="yes" requirement="libpng14"
28866 fi
28867 fi
28868
28869 if test "x${have_dep}" = "xno" ; then
28870
28871 pkg_failed=no
28872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
28873 $as_echo_n "checking for PNG... " >&6; }
28874
28875 if test -n "$PNG_CFLAGS"; then
28876     pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
28877  elif test -n "$PKG_CONFIG"; then
28878     if test -n "$PKG_CONFIG" && \
28879     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng12 >= 1.2.10\""; } >&5
28880   ($PKG_CONFIG --exists --print-errors "libpng12 >= 1.2.10") 2>&5
28881   ac_status=$?
28882   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28883   test $ac_status = 0; }; then
28884   pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng12 >= 1.2.10" 2>/dev/null`
28885 else
28886   pkg_failed=yes
28887 fi
28888  else
28889     pkg_failed=untried
28890 fi
28891 if test -n "$PNG_LIBS"; then
28892     pkg_cv_PNG_LIBS="$PNG_LIBS"
28893  elif test -n "$PKG_CONFIG"; then
28894     if test -n "$PKG_CONFIG" && \
28895     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng12 >= 1.2.10\""; } >&5
28896   ($PKG_CONFIG --exists --print-errors "libpng12 >= 1.2.10") 2>&5
28897   ac_status=$?
28898   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28899   test $ac_status = 0; }; then
28900   pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng12 >= 1.2.10" 2>/dev/null`
28901 else
28902   pkg_failed=yes
28903 fi
28904  else
28905     pkg_failed=untried
28906 fi
28907
28908
28909
28910 if test $pkg_failed = yes; then
28911         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28912 $as_echo "no" >&6; }
28913
28914 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28915         _pkg_short_errors_supported=yes
28916 else
28917         _pkg_short_errors_supported=no
28918 fi
28919         if test $_pkg_short_errors_supported = yes; then
28920                 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpng12 >= 1.2.10" 2>&1`
28921         else
28922                 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpng12 >= 1.2.10" 2>&1`
28923         fi
28924         # Put the nasty error message in config.log where it belongs
28925         echo "$PNG_PKG_ERRORS" >&5
28926
28927         have_dep="no"
28928 elif test $pkg_failed = untried; then
28929         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28930 $as_echo "no" >&6; }
28931         have_dep="no"
28932 else
28933         PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
28934         PNG_LIBS=$pkg_cv_PNG_LIBS
28935         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28936 $as_echo "yes" >&6; }
28937         have_dep="yes" requirement="libpng12"
28938 fi
28939 fi
28940
28941 evas_image_loader_png_cflags="${PNG_CFLAGS}"
28942 evas_image_loader_png_libs="${PNG_LIBS}"
28943
28944
28945
28946
28947 if test "x${want_loader}" = "xstatic" ; then
28948    requirement_evas="${requirement} ${requirement_evas}"
28949 fi
28950
28951 if test "x${have_dep}" = "xyes" ; then
28952   have_loader="yes"
28953 else
28954   have_loader="no"
28955 fi
28956
28957
28958 fi
28959
28960 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28961    as_fn_error $? "PNG dependencies not found (strict dependencies checking)" "$LINENO" 5
28962 fi
28963
28964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PNG image loader will be built" >&5
28965 $as_echo_n "checking whether PNG image loader will be built... " >&6; }
28966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
28967 $as_echo "${have_loader}" >&6; }
28968
28969 if test "x${have_loader}" = "xyes" ; then
28970    if test "x${want_loader}" = "xstatic" ; then
28971       have_evas_image_loader_png="static"
28972       want_static_loader="yes"
28973    else
28974       have_evas_image_loader_png="yes"
28975    fi
28976 fi
28977
28978 if test "x${have_loader}" = "xyes" ; then
28979
28980 $as_echo "#define BUILD_LOADER_PNG 1" >>confdefs.h
28981
28982 fi
28983
28984  if test "x${have_loader}" = "xyes"; then
28985   BUILD_LOADER_PNG_TRUE=
28986   BUILD_LOADER_PNG_FALSE='#'
28987 else
28988   BUILD_LOADER_PNG_TRUE='#'
28989   BUILD_LOADER_PNG_FALSE=
28990 fi
28991
28992
28993 if test "x${want_static_loader}" = "xyes" ; then
28994
28995 $as_echo "#define EVAS_STATIC_BUILD_PNG 1" >>confdefs.h
28996
28997    have_static_module="yes"
28998 fi
28999
29000  if test "x${want_static_loader}" = "xyes"; then
29001   EVAS_STATIC_BUILD_PNG_TRUE=
29002   EVAS_STATIC_BUILD_PNG_FALSE='#'
29003 else
29004   EVAS_STATIC_BUILD_PNG_TRUE='#'
29005   EVAS_STATIC_BUILD_PNG_FALSE=
29006 fi
29007
29008
29009
29010
29011
29012
29013
29014
29015
29016
29017
29018
29019 want_loader="${want_evas_image_loader_svg}"
29020 want_static_loader="no"
29021 have_loader="no"
29022 have_evas_image_loader_svg="no"
29023
29024 # Check whether --enable-image-loader-svg was given.
29025 if test "${enable_image_loader_svg+set}" = set; then :
29026   enableval=$enable_image_loader_svg;
29027     if test "x${enableval}" = "xyes" ; then
29028        want_loader="yes"
29029     else
29030        if test "x${enableval}" = "xstatic" ; then
29031           want_loader="static"
29032        else
29033           want_loader="no"
29034        fi
29035     fi
29036
29037
29038 fi
29039
29040
29041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable SVG image loader" >&5
29042 $as_echo_n "checking whether to enable SVG image loader... " >&6; }
29043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29044 $as_echo "${want_loader}" >&6; }
29045
29046 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29047
29048
29049 requirement=""
29050 have_esvg="no"
29051 evas_image_loader_svg_cflags=""
29052 evas_image_loader_svg_libs=""
29053
29054
29055 pkg_failed=no
29056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SVG" >&5
29057 $as_echo_n "checking for SVG... " >&6; }
29058
29059 if test -n "$SVG_CFLAGS"; then
29060     pkg_cv_SVG_CFLAGS="$SVG_CFLAGS"
29061  elif test -n "$PKG_CONFIG"; then
29062     if test -n "$PKG_CONFIG" && \
29063     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"esvg >= 0.0.16\""; } >&5
29064   ($PKG_CONFIG --exists --print-errors "esvg >= 0.0.16") 2>&5
29065   ac_status=$?
29066   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29067   test $ac_status = 0; }; then
29068   pkg_cv_SVG_CFLAGS=`$PKG_CONFIG --cflags "esvg >= 0.0.16" 2>/dev/null`
29069 else
29070   pkg_failed=yes
29071 fi
29072  else
29073     pkg_failed=untried
29074 fi
29075 if test -n "$SVG_LIBS"; then
29076     pkg_cv_SVG_LIBS="$SVG_LIBS"
29077  elif test -n "$PKG_CONFIG"; then
29078     if test -n "$PKG_CONFIG" && \
29079     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"esvg >= 0.0.16\""; } >&5
29080   ($PKG_CONFIG --exists --print-errors "esvg >= 0.0.16") 2>&5
29081   ac_status=$?
29082   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29083   test $ac_status = 0; }; then
29084   pkg_cv_SVG_LIBS=`$PKG_CONFIG --libs "esvg >= 0.0.16" 2>/dev/null`
29085 else
29086   pkg_failed=yes
29087 fi
29088  else
29089     pkg_failed=untried
29090 fi
29091
29092
29093
29094 if test $pkg_failed = yes; then
29095         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29096 $as_echo "no" >&6; }
29097
29098 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29099         _pkg_short_errors_supported=yes
29100 else
29101         _pkg_short_errors_supported=no
29102 fi
29103         if test $_pkg_short_errors_supported = yes; then
29104                 SVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "esvg >= 0.0.16" 2>&1`
29105         else
29106                 SVG_PKG_ERRORS=`$PKG_CONFIG --print-errors "esvg >= 0.0.16" 2>&1`
29107         fi
29108         # Put the nasty error message in config.log where it belongs
29109         echo "$SVG_PKG_ERRORS" >&5
29110
29111         have_dep="no"
29112 elif test $pkg_failed = untried; then
29113         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29114 $as_echo "no" >&6; }
29115         have_dep="no"
29116 else
29117         SVG_CFLAGS=$pkg_cv_SVG_CFLAGS
29118         SVG_LIBS=$pkg_cv_SVG_LIBS
29119         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29120 $as_echo "yes" >&6; }
29121         have_dep="yes" have_esvg="yes" requirement="esvg"
29122 fi
29123
29124 if test "x${have_dep}" = "xyes" ; then
29125    evas_image_loader_svg_cflags="${SVG_CFLAGS}"
29126    evas_image_loader_svg_libs="${SVG_LIBS}"
29127 fi
29128
29129
29130
29131
29132 if test "x${want_loader}" = "xstatic" ; then
29133    requirement_evas="${requirement} ${requirement_evas}"
29134 fi
29135
29136 if test "x${have_dep}" = "xyes" ; then
29137   have_loader="yes"
29138 else
29139   have_loader="no"
29140 fi
29141
29142
29143 fi
29144
29145 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29146    as_fn_error $? "SVG dependencies not found (strict dependencies checking)" "$LINENO" 5
29147 fi
29148
29149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether SVG image loader will be built" >&5
29150 $as_echo_n "checking whether SVG image loader will be built... " >&6; }
29151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29152 $as_echo "${have_loader}" >&6; }
29153
29154 if test "x${have_loader}" = "xyes" ; then
29155    if test "x${want_loader}" = "xstatic" ; then
29156       have_evas_image_loader_svg="static"
29157       want_static_loader="yes"
29158    else
29159       have_evas_image_loader_svg="yes"
29160    fi
29161 fi
29162
29163 if test "x${have_loader}" = "xyes" ; then
29164
29165 $as_echo "#define BUILD_LOADER_SVG 1" >>confdefs.h
29166
29167 fi
29168
29169  if test "x${have_loader}" = "xyes"; then
29170   BUILD_LOADER_SVG_TRUE=
29171   BUILD_LOADER_SVG_FALSE='#'
29172 else
29173   BUILD_LOADER_SVG_TRUE='#'
29174   BUILD_LOADER_SVG_FALSE=
29175 fi
29176
29177
29178 if test "x${want_static_loader}" = "xyes" ; then
29179
29180 $as_echo "#define EVAS_STATIC_BUILD_SVG 1" >>confdefs.h
29181
29182    have_static_module="yes"
29183 fi
29184
29185  if test "x${want_static_loader}" = "xyes"; then
29186   EVAS_STATIC_BUILD_SVG_TRUE=
29187   EVAS_STATIC_BUILD_SVG_FALSE='#'
29188 else
29189   EVAS_STATIC_BUILD_SVG_TRUE='#'
29190   EVAS_STATIC_BUILD_SVG_FALSE=
29191 fi
29192
29193
29194
29195
29196
29197
29198
29199
29200
29201
29202
29203
29204 want_loader="${want_evas_image_loader_tiff}"
29205 want_static_loader="no"
29206 have_loader="no"
29207 have_evas_image_loader_tiff="no"
29208
29209 # Check whether --enable-image-loader-tiff was given.
29210 if test "${enable_image_loader_tiff+set}" = set; then :
29211   enableval=$enable_image_loader_tiff;
29212     if test "x${enableval}" = "xyes" ; then
29213        want_loader="yes"
29214     else
29215        if test "x${enableval}" = "xstatic" ; then
29216           want_loader="static"
29217        else
29218           want_loader="no"
29219        fi
29220     fi
29221
29222
29223 fi
29224
29225
29226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Tiff image loader" >&5
29227 $as_echo_n "checking whether to enable Tiff image loader... " >&6; }
29228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29229 $as_echo "${want_loader}" >&6; }
29230
29231 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29232
29233
29234 have_dep="no"
29235 evas_image_loader_tiff_cflags=""
29236 evas_image_loader_tiff_libs=""
29237
29238 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
29239 if test "x$ac_cv_header_tiffio_h" = x""yes; then :
29240   have_dep="yes"
29241 fi
29242
29243
29244
29245 if test "x${have_dep}"  = "xyes" ; then
29246    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFReadScanline in -ltiff" >&5
29247 $as_echo_n "checking for TIFFReadScanline in -ltiff... " >&6; }
29248 if test "${ac_cv_lib_tiff_TIFFReadScanline+set}" = set; then :
29249   $as_echo_n "(cached) " >&6
29250 else
29251   ac_check_lib_save_LIBS=$LIBS
29252 LIBS="-ltiff  $LIBS"
29253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29254 /* end confdefs.h.  */
29255
29256 /* Override any GCC internal prototype to avoid an error.
29257    Use char because int might match the return type of a GCC
29258    builtin and then its argument prototype would still apply.  */
29259 #ifdef __cplusplus
29260 extern "C"
29261 #endif
29262 char TIFFReadScanline ();
29263 int
29264 main ()
29265 {
29266 return TIFFReadScanline ();
29267   ;
29268   return 0;
29269 }
29270 _ACEOF
29271 if ac_fn_c_try_link "$LINENO"; then :
29272   ac_cv_lib_tiff_TIFFReadScanline=yes
29273 else
29274   ac_cv_lib_tiff_TIFFReadScanline=no
29275 fi
29276 rm -f core conftest.err conftest.$ac_objext \
29277     conftest$ac_exeext conftest.$ac_ext
29278 LIBS=$ac_check_lib_save_LIBS
29279 fi
29280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFReadScanline" >&5
29281 $as_echo "$ac_cv_lib_tiff_TIFFReadScanline" >&6; }
29282 if test "x$ac_cv_lib_tiff_TIFFReadScanline" = x""yes; then :
29283
29284        evas_image_loader_tiff_libs="-ltiff"
29285
29286 else
29287   have_dep="no"
29288
29289 fi
29290
29291
29292    if test "x${have_dep}"  = "xno" ; then
29293       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFReadScanline in -ltiff" >&5
29294 $as_echo_n "checking for TIFFReadScanline in -ltiff... " >&6; }
29295 if test "${ac_cv_lib_tiff_TIFFReadScanline+set}" = set; then :
29296   $as_echo_n "(cached) " >&6
29297 else
29298   ac_check_lib_save_LIBS=$LIBS
29299 LIBS="-ltiff  $LIBS"
29300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29301 /* end confdefs.h.  */
29302
29303 /* Override any GCC internal prototype to avoid an error.
29304    Use char because int might match the return type of a GCC
29305    builtin and then its argument prototype would still apply.  */
29306 #ifdef __cplusplus
29307 extern "C"
29308 #endif
29309 char TIFFReadScanline ();
29310 int
29311 main ()
29312 {
29313 return TIFFReadScanline ();
29314   ;
29315   return 0;
29316 }
29317 _ACEOF
29318 if ac_fn_c_try_link "$LINENO"; then :
29319   ac_cv_lib_tiff_TIFFReadScanline=yes
29320 else
29321   ac_cv_lib_tiff_TIFFReadScanline=no
29322 fi
29323 rm -f core conftest.err conftest.$ac_objext \
29324     conftest$ac_exeext conftest.$ac_ext
29325 LIBS=$ac_check_lib_save_LIBS
29326 fi
29327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFReadScanline" >&5
29328 $as_echo "$ac_cv_lib_tiff_TIFFReadScanline" >&6; }
29329 if test "x$ac_cv_lib_tiff_TIFFReadScanline" = x""yes; then :
29330
29331           have_dep="yes"
29332           evas_image_loader_tiff_libs="-ltiff -ljpeg -lz -lm"
29333
29334
29335 fi
29336
29337    fi
29338
29339    if test "x${have_dep}"  = "xno" ; then
29340       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFReadScanline in -ltiff34" >&5
29341 $as_echo_n "checking for TIFFReadScanline in -ltiff34... " >&6; }
29342 if test "${ac_cv_lib_tiff34_TIFFReadScanline+set}" = set; then :
29343   $as_echo_n "(cached) " >&6
29344 else
29345   ac_check_lib_save_LIBS=$LIBS
29346 LIBS="-ltiff34  $LIBS"
29347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29348 /* end confdefs.h.  */
29349
29350 /* Override any GCC internal prototype to avoid an error.
29351    Use char because int might match the return type of a GCC
29352    builtin and then its argument prototype would still apply.  */
29353 #ifdef __cplusplus
29354 extern "C"
29355 #endif
29356 char TIFFReadScanline ();
29357 int
29358 main ()
29359 {
29360 return TIFFReadScanline ();
29361   ;
29362   return 0;
29363 }
29364 _ACEOF
29365 if ac_fn_c_try_link "$LINENO"; then :
29366   ac_cv_lib_tiff34_TIFFReadScanline=yes
29367 else
29368   ac_cv_lib_tiff34_TIFFReadScanline=no
29369 fi
29370 rm -f core conftest.err conftest.$ac_objext \
29371     conftest$ac_exeext conftest.$ac_ext
29372 LIBS=$ac_check_lib_save_LIBS
29373 fi
29374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff34_TIFFReadScanline" >&5
29375 $as_echo "$ac_cv_lib_tiff34_TIFFReadScanline" >&6; }
29376 if test "x$ac_cv_lib_tiff34_TIFFReadScanline" = x""yes; then :
29377
29378           have_dep="yes"
29379           evas_image_loader_tiff_libs="-ltiff34 -ljpeg -lz -lm"
29380
29381
29382 fi
29383
29384    fi
29385 fi
29386
29387
29388
29389
29390 if test "x${have_dep}" = "xyes" ; then
29391   have_loader="yes"
29392 else
29393   have_loader="no"
29394 fi
29395
29396
29397 fi
29398
29399 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29400    as_fn_error $? "Tiff dependencies not found (strict dependencies checking)" "$LINENO" 5
29401 fi
29402
29403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Tiff image loader will be built" >&5
29404 $as_echo_n "checking whether Tiff image loader will be built... " >&6; }
29405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29406 $as_echo "${have_loader}" >&6; }
29407
29408 if test "x${have_loader}" = "xyes" ; then
29409    if test "x${want_loader}" = "xstatic" ; then
29410       have_evas_image_loader_tiff="static"
29411       want_static_loader="yes"
29412    else
29413       have_evas_image_loader_tiff="yes"
29414    fi
29415 fi
29416
29417 if test "x${have_loader}" = "xyes" ; then
29418
29419 $as_echo "#define BUILD_LOADER_TIFF 1" >>confdefs.h
29420
29421 fi
29422
29423  if test "x${have_loader}" = "xyes"; then
29424   BUILD_LOADER_TIFF_TRUE=
29425   BUILD_LOADER_TIFF_FALSE='#'
29426 else
29427   BUILD_LOADER_TIFF_TRUE='#'
29428   BUILD_LOADER_TIFF_FALSE=
29429 fi
29430
29431
29432 if test "x${want_static_loader}" = "xyes" ; then
29433
29434 $as_echo "#define EVAS_STATIC_BUILD_TIFF 1" >>confdefs.h
29435
29436    have_static_module="yes"
29437 fi
29438
29439  if test "x${want_static_loader}" = "xyes"; then
29440   EVAS_STATIC_BUILD_TIFF_TRUE=
29441   EVAS_STATIC_BUILD_TIFF_FALSE='#'
29442 else
29443   EVAS_STATIC_BUILD_TIFF_TRUE='#'
29444   EVAS_STATIC_BUILD_TIFF_FALSE=
29445 fi
29446
29447
29448
29449
29450
29451
29452
29453
29454
29455
29456
29457
29458 want_loader="${want_evas_image_loader_xpm}"
29459 want_static_loader="no"
29460 have_loader="no"
29461 have_evas_image_loader_xpm="no"
29462
29463 # Check whether --enable-image-loader-xpm was given.
29464 if test "${enable_image_loader_xpm+set}" = set; then :
29465   enableval=$enable_image_loader_xpm;
29466     if test "x${enableval}" = "xyes" ; then
29467        want_loader="yes"
29468     else
29469        if test "x${enableval}" = "xstatic" ; then
29470           want_loader="static"
29471        else
29472           want_loader="no"
29473        fi
29474     fi
29475
29476
29477 fi
29478
29479
29480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable XPM image loader" >&5
29481 $as_echo_n "checking whether to enable XPM image loader... " >&6; }
29482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29483 $as_echo "${want_loader}" >&6; }
29484
29485 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29486
29487
29488 have_dep="yes"
29489 evas_image_loader_xpm_cflags=""
29490 evas_image_loader_xpm_libs=""
29491
29492
29493
29494
29495 if test "x${have_dep}" = "xyes" ; then
29496   have_loader="yes"
29497 else
29498   have_loader="no"
29499 fi
29500
29501
29502 fi
29503
29504 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29505    as_fn_error $? "XPM dependencies not found (strict dependencies checking)" "$LINENO" 5
29506 fi
29507
29508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XPM image loader will be built" >&5
29509 $as_echo_n "checking whether XPM image loader will be built... " >&6; }
29510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29511 $as_echo "${have_loader}" >&6; }
29512
29513 if test "x${have_loader}" = "xyes" ; then
29514    if test "x${want_loader}" = "xstatic" ; then
29515       have_evas_image_loader_xpm="static"
29516       want_static_loader="yes"
29517    else
29518       have_evas_image_loader_xpm="yes"
29519    fi
29520 fi
29521
29522 if test "x${have_loader}" = "xyes" ; then
29523
29524 $as_echo "#define BUILD_LOADER_XPM 1" >>confdefs.h
29525
29526 fi
29527
29528  if test "x${have_loader}" = "xyes"; then
29529   BUILD_LOADER_XPM_TRUE=
29530   BUILD_LOADER_XPM_FALSE='#'
29531 else
29532   BUILD_LOADER_XPM_TRUE='#'
29533   BUILD_LOADER_XPM_FALSE=
29534 fi
29535
29536
29537 if test "x${want_static_loader}" = "xyes" ; then
29538
29539 $as_echo "#define EVAS_STATIC_BUILD_XPM 1" >>confdefs.h
29540
29541    have_static_module="yes"
29542 fi
29543
29544  if test "x${want_static_loader}" = "xyes"; then
29545   EVAS_STATIC_BUILD_XPM_TRUE=
29546   EVAS_STATIC_BUILD_XPM_FALSE='#'
29547 else
29548   EVAS_STATIC_BUILD_XPM_TRUE='#'
29549   EVAS_STATIC_BUILD_XPM_FALSE=
29550 fi
29551
29552
29553
29554
29555
29556
29557
29558
29559
29560
29561
29562
29563 want_loader="${want_evas_image_loader_bmp}"
29564 want_static_loader="no"
29565 have_loader="no"
29566 have_evas_image_loader_bmp="no"
29567
29568 # Check whether --enable-image-loader-bmp was given.
29569 if test "${enable_image_loader_bmp+set}" = set; then :
29570   enableval=$enable_image_loader_bmp;
29571     if test "x${enableval}" = "xyes" ; then
29572        want_loader="yes"
29573     else
29574        if test "x${enableval}" = "xstatic" ; then
29575           want_loader="static"
29576        else
29577           want_loader="no"
29578        fi
29579     fi
29580
29581
29582 fi
29583
29584
29585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable BMP image loader" >&5
29586 $as_echo_n "checking whether to enable BMP image loader... " >&6; }
29587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29588 $as_echo "${want_loader}" >&6; }
29589
29590 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29591
29592
29593 have_dep="yes"
29594 evas_image_loader_bmp_cflags=""
29595 evas_image_loader_bmp_libs=""
29596
29597
29598
29599
29600 if test "x${have_dep}" = "xyes" ; then
29601   have_loader="yes"
29602 else
29603   have_loader="no"
29604 fi
29605
29606
29607 fi
29608
29609 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29610    as_fn_error $? "BMP dependencies not found (strict dependencies checking)" "$LINENO" 5
29611 fi
29612
29613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether BMP image loader will be built" >&5
29614 $as_echo_n "checking whether BMP image loader will be built... " >&6; }
29615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29616 $as_echo "${have_loader}" >&6; }
29617
29618 if test "x${have_loader}" = "xyes" ; then
29619    if test "x${want_loader}" = "xstatic" ; then
29620       have_evas_image_loader_bmp="static"
29621       want_static_loader="yes"
29622    else
29623       have_evas_image_loader_bmp="yes"
29624    fi
29625 fi
29626
29627 if test "x${have_loader}" = "xyes" ; then
29628
29629 $as_echo "#define BUILD_LOADER_BMP 1" >>confdefs.h
29630
29631 fi
29632
29633  if test "x${have_loader}" = "xyes"; then
29634   BUILD_LOADER_BMP_TRUE=
29635   BUILD_LOADER_BMP_FALSE='#'
29636 else
29637   BUILD_LOADER_BMP_TRUE='#'
29638   BUILD_LOADER_BMP_FALSE=
29639 fi
29640
29641
29642 if test "x${want_static_loader}" = "xyes" ; then
29643
29644 $as_echo "#define EVAS_STATIC_BUILD_BMP 1" >>confdefs.h
29645
29646    have_static_module="yes"
29647 fi
29648
29649  if test "x${want_static_loader}" = "xyes"; then
29650   EVAS_STATIC_BUILD_BMP_TRUE=
29651   EVAS_STATIC_BUILD_BMP_FALSE='#'
29652 else
29653   EVAS_STATIC_BUILD_BMP_TRUE='#'
29654   EVAS_STATIC_BUILD_BMP_FALSE=
29655 fi
29656
29657
29658
29659
29660
29661
29662
29663
29664
29665
29666
29667
29668 want_loader="${want_evas_image_loader_tga}"
29669 want_static_loader="no"
29670 have_loader="no"
29671 have_evas_image_loader_tga="no"
29672
29673 # Check whether --enable-image-loader-tga was given.
29674 if test "${enable_image_loader_tga+set}" = set; then :
29675   enableval=$enable_image_loader_tga;
29676     if test "x${enableval}" = "xyes" ; then
29677        want_loader="yes"
29678     else
29679        if test "x${enableval}" = "xstatic" ; then
29680           want_loader="static"
29681        else
29682           want_loader="no"
29683        fi
29684     fi
29685
29686
29687 fi
29688
29689
29690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable TGA image loader" >&5
29691 $as_echo_n "checking whether to enable TGA image loader... " >&6; }
29692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29693 $as_echo "${want_loader}" >&6; }
29694
29695 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29696
29697
29698 have_dep="yes"
29699 evas_image_loader_tga_cflags=""
29700 evas_image_loader_tga_libs=""
29701
29702
29703
29704
29705 if test "x${have_dep}" = "xyes" ; then
29706   have_loader="yes"
29707 else
29708   have_loader="no"
29709 fi
29710
29711
29712 fi
29713
29714 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29715    as_fn_error $? "TGA dependencies not found (strict dependencies checking)" "$LINENO" 5
29716 fi
29717
29718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether TGA image loader will be built" >&5
29719 $as_echo_n "checking whether TGA image loader will be built... " >&6; }
29720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29721 $as_echo "${have_loader}" >&6; }
29722
29723 if test "x${have_loader}" = "xyes" ; then
29724    if test "x${want_loader}" = "xstatic" ; then
29725       have_evas_image_loader_tga="static"
29726       want_static_loader="yes"
29727    else
29728       have_evas_image_loader_tga="yes"
29729    fi
29730 fi
29731
29732 if test "x${have_loader}" = "xyes" ; then
29733
29734 $as_echo "#define BUILD_LOADER_TGA 1" >>confdefs.h
29735
29736 fi
29737
29738  if test "x${have_loader}" = "xyes"; then
29739   BUILD_LOADER_TGA_TRUE=
29740   BUILD_LOADER_TGA_FALSE='#'
29741 else
29742   BUILD_LOADER_TGA_TRUE='#'
29743   BUILD_LOADER_TGA_FALSE=
29744 fi
29745
29746
29747 if test "x${want_static_loader}" = "xyes" ; then
29748
29749 $as_echo "#define EVAS_STATIC_BUILD_TGA 1" >>confdefs.h
29750
29751    have_static_module="yes"
29752 fi
29753
29754  if test "x${want_static_loader}" = "xyes"; then
29755   EVAS_STATIC_BUILD_TGA_TRUE=
29756   EVAS_STATIC_BUILD_TGA_FALSE='#'
29757 else
29758   EVAS_STATIC_BUILD_TGA_TRUE='#'
29759   EVAS_STATIC_BUILD_TGA_FALSE=
29760 fi
29761
29762
29763
29764
29765
29766
29767
29768
29769
29770
29771
29772
29773 want_loader="${want_evas_image_loader_wbmp}"
29774 want_static_loader="no"
29775 have_loader="no"
29776 have_evas_image_loader_wbmp="no"
29777
29778 # Check whether --enable-image-loader-wbmp was given.
29779 if test "${enable_image_loader_wbmp+set}" = set; then :
29780   enableval=$enable_image_loader_wbmp;
29781     if test "x${enableval}" = "xyes" ; then
29782        want_loader="yes"
29783     else
29784        if test "x${enableval}" = "xstatic" ; then
29785           want_loader="static"
29786        else
29787           want_loader="no"
29788        fi
29789     fi
29790
29791
29792 fi
29793
29794
29795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable WBMP image loader" >&5
29796 $as_echo_n "checking whether to enable WBMP image loader... " >&6; }
29797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29798 $as_echo "${want_loader}" >&6; }
29799
29800 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29801
29802
29803 have_dep="yes"
29804 evas_image_loader_wbmp_cflags=""
29805 evas_image_loader_wbmp_libs=""
29806
29807
29808
29809
29810 if test "x${have_dep}" = "xyes" ; then
29811   have_loader="yes"
29812 else
29813   have_loader="no"
29814 fi
29815
29816
29817 fi
29818
29819 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29820    as_fn_error $? "WBMP dependencies not found (strict dependencies checking)" "$LINENO" 5
29821 fi
29822
29823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether WBMP image loader will be built" >&5
29824 $as_echo_n "checking whether WBMP image loader will be built... " >&6; }
29825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29826 $as_echo "${have_loader}" >&6; }
29827
29828 if test "x${have_loader}" = "xyes" ; then
29829    if test "x${want_loader}" = "xstatic" ; then
29830       have_evas_image_loader_wbmp="static"
29831       want_static_loader="yes"
29832    else
29833       have_evas_image_loader_wbmp="yes"
29834    fi
29835 fi
29836
29837 if test "x${have_loader}" = "xyes" ; then
29838
29839 $as_echo "#define BUILD_LOADER_WBMP 1" >>confdefs.h
29840
29841 fi
29842
29843  if test "x${have_loader}" = "xyes"; then
29844   BUILD_LOADER_WBMP_TRUE=
29845   BUILD_LOADER_WBMP_FALSE='#'
29846 else
29847   BUILD_LOADER_WBMP_TRUE='#'
29848   BUILD_LOADER_WBMP_FALSE=
29849 fi
29850
29851
29852 if test "x${want_static_loader}" = "xyes" ; then
29853
29854 $as_echo "#define EVAS_STATIC_BUILD_WBMP 1" >>confdefs.h
29855
29856    have_static_module="yes"
29857 fi
29858
29859  if test "x${want_static_loader}" = "xyes"; then
29860   EVAS_STATIC_BUILD_WBMP_TRUE=
29861   EVAS_STATIC_BUILD_WBMP_FALSE='#'
29862 else
29863   EVAS_STATIC_BUILD_WBMP_TRUE='#'
29864   EVAS_STATIC_BUILD_WBMP_FALSE=
29865 fi
29866
29867
29868
29869
29870
29871
29872
29873
29874
29875
29876
29877
29878 want_loader="${want_evas_image_loader_ico}"
29879 want_static_loader="no"
29880 have_loader="no"
29881 have_evas_image_loader_ico="no"
29882
29883 # Check whether --enable-image-loader-ico was given.
29884 if test "${enable_image_loader_ico+set}" = set; then :
29885   enableval=$enable_image_loader_ico;
29886     if test "x${enableval}" = "xyes" ; then
29887        want_loader="yes"
29888     else
29889        if test "x${enableval}" = "xstatic" ; then
29890           want_loader="static"
29891        else
29892           want_loader="no"
29893        fi
29894     fi
29895
29896
29897 fi
29898
29899
29900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ICO image loader" >&5
29901 $as_echo_n "checking whether to enable ICO image loader... " >&6; }
29902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29903 $as_echo "${want_loader}" >&6; }
29904
29905 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29906
29907
29908 have_dep="yes"
29909 evas_image_loader_ico_cflags=""
29910 evas_image_loader_ico_libs=""
29911
29912
29913
29914
29915 if test "x${have_dep}" = "xyes" ; then
29916   have_loader="yes"
29917 else
29918   have_loader="no"
29919 fi
29920
29921
29922 fi
29923
29924 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29925    as_fn_error $? "ICO dependencies not found (strict dependencies checking)" "$LINENO" 5
29926 fi
29927
29928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ICO image loader will be built" >&5
29929 $as_echo_n "checking whether ICO image loader will be built... " >&6; }
29930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29931 $as_echo "${have_loader}" >&6; }
29932
29933 if test "x${have_loader}" = "xyes" ; then
29934    if test "x${want_loader}" = "xstatic" ; then
29935       have_evas_image_loader_ico="static"
29936       want_static_loader="yes"
29937    else
29938       have_evas_image_loader_ico="yes"
29939    fi
29940 fi
29941
29942 if test "x${have_loader}" = "xyes" ; then
29943
29944 $as_echo "#define BUILD_LOADER_ICO 1" >>confdefs.h
29945
29946 fi
29947
29948  if test "x${have_loader}" = "xyes"; then
29949   BUILD_LOADER_ICO_TRUE=
29950   BUILD_LOADER_ICO_FALSE='#'
29951 else
29952   BUILD_LOADER_ICO_TRUE='#'
29953   BUILD_LOADER_ICO_FALSE=
29954 fi
29955
29956
29957 if test "x${want_static_loader}" = "xyes" ; then
29958
29959 $as_echo "#define EVAS_STATIC_BUILD_ICO 1" >>confdefs.h
29960
29961    have_static_module="yes"
29962 fi
29963
29964  if test "x${want_static_loader}" = "xyes"; then
29965   EVAS_STATIC_BUILD_ICO_TRUE=
29966   EVAS_STATIC_BUILD_ICO_FALSE='#'
29967 else
29968   EVAS_STATIC_BUILD_ICO_TRUE='#'
29969   EVAS_STATIC_BUILD_ICO_FALSE=
29970 fi
29971
29972
29973
29974
29975
29976
29977
29978
29979
29980
29981
29982
29983 want_loader="${want_evas_image_loader_psd}"
29984 want_static_loader="no"
29985 have_loader="no"
29986 have_evas_image_loader_psd="no"
29987
29988 # Check whether --enable-image-loader-psd was given.
29989 if test "${enable_image_loader_psd+set}" = set; then :
29990   enableval=$enable_image_loader_psd;
29991     if test "x${enableval}" = "xyes" ; then
29992        want_loader="yes"
29993     else
29994        if test "x${enableval}" = "xstatic" ; then
29995           want_loader="static"
29996        else
29997           want_loader="no"
29998        fi
29999     fi
30000
30001
30002 fi
30003
30004
30005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PSD image loader" >&5
30006 $as_echo_n "checking whether to enable PSD image loader... " >&6; }
30007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30008 $as_echo "${want_loader}" >&6; }
30009
30010 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30011
30012
30013 have_dep="yes"
30014 evas_image_loader_psd_cflags=""
30015 evas_image_loader_psd_libs=""
30016
30017
30018
30019
30020 if test "x${have_dep}" = "xyes" ; then
30021   have_loader="yes"
30022 else
30023   have_loader="no"
30024 fi
30025
30026
30027 fi
30028
30029 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30030    as_fn_error $? "PSD dependencies not found (strict dependencies checking)" "$LINENO" 5
30031 fi
30032
30033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PSD image loader will be built" >&5
30034 $as_echo_n "checking whether PSD image loader will be built... " >&6; }
30035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30036 $as_echo "${have_loader}" >&6; }
30037
30038 if test "x${have_loader}" = "xyes" ; then
30039    if test "x${want_loader}" = "xstatic" ; then
30040       have_evas_image_loader_psd="static"
30041       want_static_loader="yes"
30042    else
30043       have_evas_image_loader_psd="yes"
30044    fi
30045 fi
30046
30047 if test "x${have_loader}" = "xyes" ; then
30048
30049 $as_echo "#define BUILD_LOADER_PSD 1" >>confdefs.h
30050
30051 fi
30052
30053  if test "x${have_loader}" = "xyes"; then
30054   BUILD_LOADER_PSD_TRUE=
30055   BUILD_LOADER_PSD_FALSE='#'
30056 else
30057   BUILD_LOADER_PSD_TRUE='#'
30058   BUILD_LOADER_PSD_FALSE=
30059 fi
30060
30061
30062 if test "x${want_static_loader}" = "xyes" ; then
30063
30064 $as_echo "#define EVAS_STATIC_BUILD_PSD 1" >>confdefs.h
30065
30066    have_static_module="yes"
30067 fi
30068
30069  if test "x${want_static_loader}" = "xyes"; then
30070   EVAS_STATIC_BUILD_PSD_TRUE=
30071   EVAS_STATIC_BUILD_PSD_FALSE='#'
30072 else
30073   EVAS_STATIC_BUILD_PSD_TRUE='#'
30074   EVAS_STATIC_BUILD_PSD_FALSE=
30075 fi
30076
30077
30078
30079
30080
30081
30082
30083
30084
30085
30086
30087
30088 want_loader="${want_evas_image_loader_generic}"
30089 want_static_loader="no"
30090 have_loader="no"
30091 have_evas_image_loader_generic="no"
30092
30093 # Check whether --enable-image-loader-generic was given.
30094 if test "${enable_image_loader_generic+set}" = set; then :
30095   enableval=$enable_image_loader_generic;
30096     if test "x${enableval}" = "xyes" ; then
30097        want_loader="yes"
30098     else
30099        if test "x${enableval}" = "xstatic" ; then
30100           want_loader="static"
30101        else
30102           want_loader="no"
30103        fi
30104     fi
30105
30106
30107 fi
30108
30109
30110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable GENERIC image loader" >&5
30111 $as_echo_n "checking whether to enable GENERIC image loader... " >&6; }
30112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30113 $as_echo "${want_loader}" >&6; }
30114
30115 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30116
30117
30118 have_dep="yes"
30119 evas_image_loader_generic_cflags=""
30120 evas_image_loader_generic_libs=""
30121
30122
30123
30124
30125 if test "x${have_dep}" = "xyes" ; then
30126   have_loader="yes"
30127 else
30128   have_loader="no"
30129 fi
30130
30131
30132 fi
30133
30134 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30135    as_fn_error $? "GENERIC dependencies not found (strict dependencies checking)" "$LINENO" 5
30136 fi
30137
30138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GENERIC image loader will be built" >&5
30139 $as_echo_n "checking whether GENERIC image loader will be built... " >&6; }
30140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30141 $as_echo "${have_loader}" >&6; }
30142
30143 if test "x${have_loader}" = "xyes" ; then
30144    if test "x${want_loader}" = "xstatic" ; then
30145       have_evas_image_loader_generic="static"
30146       want_static_loader="yes"
30147    else
30148       have_evas_image_loader_generic="yes"
30149    fi
30150 fi
30151
30152 if test "x${have_loader}" = "xyes" ; then
30153
30154 $as_echo "#define BUILD_LOADER_GENERIC 1" >>confdefs.h
30155
30156 fi
30157
30158  if test "x${have_loader}" = "xyes"; then
30159   BUILD_LOADER_GENERIC_TRUE=
30160   BUILD_LOADER_GENERIC_FALSE='#'
30161 else
30162   BUILD_LOADER_GENERIC_TRUE='#'
30163   BUILD_LOADER_GENERIC_FALSE=
30164 fi
30165
30166
30167 if test "x${want_static_loader}" = "xyes" ; then
30168
30169 $as_echo "#define EVAS_STATIC_BUILD_GENERIC 1" >>confdefs.h
30170
30171    have_static_module="yes"
30172 fi
30173
30174  if test "x${want_static_loader}" = "xyes"; then
30175   EVAS_STATIC_BUILD_GENERIC_TRUE=
30176   EVAS_STATIC_BUILD_GENERIC_FALSE='#'
30177 else
30178   EVAS_STATIC_BUILD_GENERIC_TRUE='#'
30179   EVAS_STATIC_BUILD_GENERIC_FALSE=
30180 fi
30181
30182
30183
30184
30185
30186
30187
30188 #####################################################################
30189 ## Cpu based optimizations
30190
30191 #######################################
30192 ## PTHREADS
30193 pthread_cflags=""
30194 pthread_libs=""
30195 build_pthreads="no"
30196 has_pthreads="no"
30197 need_pthreads="no"
30198 # basic pthread support
30199 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
30200 if test "x$ac_cv_header_pthread_h" = x""yes; then :
30201
30202    has_pthreads="yes"
30203
30204 else
30205
30206    has_pthreads="no"
30207
30208
30209 fi
30210
30211
30212
30213 # sched_getaffinity pthread_attr_setaffinity_np
30214 for ac_header in pthread.h sched.h
30215 do :
30216   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
30217 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
30218 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
30219   cat >>confdefs.h <<_ACEOF
30220 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
30221 _ACEOF
30222
30223     CFLAGS_save="${CFLAGS}"
30224     CFLAGS="${CFLAGS} -pthread"
30225     LIBS_save="${LIBS}"
30226     LIBS="${LIBS} -pthread"
30227     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30228 /* end confdefs.h.  */
30229
30230 #include <pthread.h>
30231 #include <sched.h>
30232
30233 int
30234 main ()
30235 {
30236
30237 pthread_attr_setaffinity_np(NULL, 0, NULL);
30238 pthread_barrier_wait(NULL);
30239
30240   ;
30241   return 0;
30242 }
30243 _ACEOF
30244 if ac_fn_c_try_link "$LINENO"; then :
30245   build_pthreads="yes"
30246 else
30247   build_pthreads="no"
30248 fi
30249 rm -f core conftest.err conftest.$ac_objext \
30250     conftest$ac_exeext conftest.$ac_ext
30251    CFLAGS=${CFLAGS_save}
30252    LIBS=${LIBS_save}
30253
30254 else
30255   build_pthreads="no"
30256 fi
30257
30258 done
30259
30260
30261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_attr_setaffinity_np() and pthread_barrier_wait() are supported" >&5
30262 $as_echo_n "checking whether pthread_attr_setaffinity_np() and pthread_barrier_wait() are supported... " >&6; }
30263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${build_pthreads}" >&5
30264 $as_echo "${build_pthreads}" >&6; }
30265
30266 #######################################
30267 ## Pthread
30268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build pthread code" >&5
30269 $as_echo_n "checking whether to build pthread code... " >&6; }
30270 # Check whether --enable-pthreads was given.
30271 if test "${enable_pthreads+set}" = set; then :
30272   enableval=$enable_pthreads;
30273     if test "x$enableval" = "xyes" ; then
30274       if test "x$build_pthreads" = "xyes"; then
30275         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30276 $as_echo "yes" >&6; }
30277
30278 $as_echo "#define BUILD_PTHREAD 1" >>confdefs.h
30279
30280         build_pthreads="yes"
30281         need_pthreads="yes"
30282       else
30283         if "x$use_strict" = "xyes"; then
30284           as_fn_error $? "pthreads headers or functions not found (strict dependencies checking)" "$LINENO" 5
30285         else
30286           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: pthread headers or functions not found" >&5
30287 $as_echo "no: pthread headers or functions not found" >&6; }
30288         fi
30289       fi
30290     else
30291       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30292 $as_echo "no" >&6; }
30293       build_pthreads="no"
30294     fi
30295
30296 else
30297
30298     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_pthreads" >&5
30299 $as_echo "$build_pthreads" >&6; }
30300     if test "x$build_pthreads" = "xyes" ; then
30301
30302 $as_echo "#define BUILD_PTHREAD 1" >>confdefs.h
30303
30304       need_pthreads="yes"
30305     fi
30306
30307
30308 fi
30309
30310
30311 #######################################
30312 ## Pipe Renderer
30313 build_pipe_render="no"
30314
30315 # Let disable pipe render strongly as it doesn't massively improve performance, but
30316 # just hammer more watt for a few more percent. The code is kept as the understanding
30317 # is that with an async pipeline things will be better.
30318 #
30319 #AC_MSG_CHECKING(whether to build Threaded Pipe Rendering support)
30320 #AC_ARG_ENABLE(pipe-render,
30321 #  AC_HELP_STRING([--enable-pipe-render], [enable threaded pipe rendering support]),
30322 #  [ build_pipe_render=$enableval ]
30323 #)
30324 #AC_MSG_RESULT($build_pipe_render)
30325
30326 #AC_MSG_CHECKING(whether we can build Threaded Pipe Rendering support)
30327 #if test \( "x$build_pipe_render" = "xyes" -o "x$build_pipe_render" = "xauto" \); then
30328 #  AC_MSG_RESULT(yes)
30329 #  AC_DEFINE(BUILD_PIPE_RENDER, 1, [Build pipe render support])
30330 #  build_pipe_render="yes"
30331 #  need_pthreads="yes"
30332 #else
30333 #  AC_MSG_RESULT(no)
30334 #  build_pipe_render="no"
30335 #fi
30336
30337 #######################################
30338 ## Async events
30339 build_async_events="auto"
30340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Async Events support" >&5
30341 $as_echo_n "checking whether to build Async Events support... " >&6; }
30342 # Check whether --enable-async-events was given.
30343 if test "${enable_async_events+set}" = set; then :
30344   enableval=$enable_async_events;  build_async_events=$enableval
30345
30346 fi
30347
30348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_async_events" >&5
30349 $as_echo "$build_async_events" >&6; }
30350
30351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build Async Events support" >&5
30352 $as_echo_n "checking whether we can build Async Events support... " >&6; }
30353 if test "x$build_async_events" = "xyes" || test "x$build_async_events" = "xauto" ; then
30354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30355 $as_echo "yes" >&6; }
30356
30357 $as_echo "#define BUILD_ASYNC_EVENTS 1" >>confdefs.h
30358
30359   build_async_events="yes"
30360 else
30361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30362 $as_echo "no" >&6; }
30363   build_async_events="no"
30364 fi
30365
30366 #######################################
30367 ## Async image preload
30368 build_async_preload="auto"
30369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Async Image Preload support" >&5
30370 $as_echo_n "checking whether to build Async Image Preload support... " >&6; }
30371 # Check whether --enable-async-preload was given.
30372 if test "${enable_async_preload+set}" = set; then :
30373   enableval=$enable_async_preload;  build_async_preload=$enableval
30374
30375 fi
30376
30377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_async_preload" >&5
30378 $as_echo "$build_async_preload" >&6; }
30379
30380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build Async Image Preload support" >&5
30381 $as_echo_n "checking whether we can build Async Image Preload support... " >&6; }
30382 if test \( "x$build_async_preload" = "xyes" -o "x$build_async_preload" = "xauto" \) -a "x$build_async_events" = "xyes"; then
30383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30384 $as_echo "yes" >&6; }
30385
30386 $as_echo "#define BUILD_ASYNC_PRELOAD 1" >>confdefs.h
30387
30388   build_async_preload="yes"
30389   need_pthreads="yes"
30390 else
30391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30392 $as_echo "no" >&6; }
30393   build_async_preload="no"
30394 fi
30395
30396 #######################################
30397 ## Link with pthread if needed
30398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we should link with pthread" >&5
30399 $as_echo_n "checking whether we should link with pthread... " >&6; }
30400 if test "x$need_pthreads" = "xyes"; then
30401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30402 $as_echo "yes" >&6; }
30403   pthread_cflags="-pthread"
30404   pthread_libs="-pthread"
30405 else
30406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30407 $as_echo "no" >&6; }
30408 fi
30409
30410 #######################################
30411 ## MMX
30412 build_cpu_mmx="no"
30413 case $host_cpu in
30414   i*86)
30415     build_cpu_mmx="yes"
30416     ;;
30417   x86_64)
30418     build_cpu_mmx="yes"
30419     ;;
30420   amd64)
30421     build_cpu_mmx="yes"
30422     ;;
30423 esac
30424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build mmx code" >&5
30425 $as_echo_n "checking whether to build mmx code... " >&6; }
30426 # Check whether --enable-cpu-mmx was given.
30427 if test "${enable_cpu_mmx+set}" = set; then :
30428   enableval=$enable_cpu_mmx;
30429       if test "x$enableval" = "xyes" ; then
30430         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30431 $as_echo "yes" >&6; }
30432
30433 $as_echo "#define BUILD_MMX 1" >>confdefs.h
30434
30435         build_cpu_mmx="yes"
30436       else
30437         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30438 $as_echo "no" >&6; }
30439         build_cpu_mmx="no"
30440       fi
30441
30442 else
30443
30444     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_mmx" >&5
30445 $as_echo "$build_cpu_mmx" >&6; }
30446     if test "x$build_cpu_mmx" = "xyes" ; then
30447
30448 $as_echo "#define BUILD_MMX 1" >>confdefs.h
30449
30450     fi
30451
30452
30453 fi
30454
30455
30456 #######################################
30457 ## SSE
30458 build_cpu_sse="no"
30459 case $host_cpu in
30460   i*86)
30461     build_cpu_sse="yes"
30462     ;;
30463   x86_64)
30464     build_cpu_sse="yes"
30465     ;;
30466   amd64)
30467     build_cpu_sse="yes"
30468     ;;
30469 esac
30470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build sse code" >&5
30471 $as_echo_n "checking whether to build sse code... " >&6; }
30472 # Check whether --enable-cpu-sse was given.
30473 if test "${enable_cpu_sse+set}" = set; then :
30474   enableval=$enable_cpu_sse;
30475       if test "x$enableval" = "xyes" ; then
30476         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30477 $as_echo "yes" >&6; }
30478
30479 $as_echo "#define BUILD_SSE 1" >>confdefs.h
30480
30481         build_cpu_sse="yes"
30482       else
30483         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30484 $as_echo "no" >&6; }
30485         build_cpu_sse="no"
30486       fi
30487
30488 else
30489
30490     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_sse" >&5
30491 $as_echo "$build_cpu_sse" >&6; }
30492     if test "x$build_cpu_sse" = "xyes" ; then
30493
30494 $as_echo "#define BUILD_SSE 1" >>confdefs.h
30495
30496     fi
30497
30498
30499 fi
30500
30501
30502 #######################################
30503 ## SSE3
30504 build_cpu_sse3="no"
30505 case $host_cpu in
30506   i*86)
30507     build_cpu_sse3="yes"
30508     ;;
30509   x86_64)
30510     build_cpu_sse3="yes"
30511     ;;
30512   amd64)
30513     build_cpu_sse3="yes"
30514     ;;
30515 esac
30516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build sse3 code" >&5
30517 $as_echo_n "checking whether to build sse3 code... " >&6; }
30518 # Check whether --enable-cpu-sse3 was given.
30519 if test "${enable_cpu_sse3+set}" = set; then :
30520   enableval=$enable_cpu_sse3;
30521       if test "x$enableval" = "xyes" ; then
30522         ac_fn_c_check_header_mongrel "$LINENO" "immintrin.h" "ac_cv_header_immintrin_h" "$ac_includes_default"
30523 if test "x$ac_cv_header_immintrin_h" = x""yes; then :
30524
30525             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30526 $as_echo "yes" >&6; }
30527
30528 $as_echo "#define BUILD_SSE3 1" >>confdefs.h
30529
30530             build_cpu_sse3="yes"
30531
30532 else
30533
30534             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30535 $as_echo "no" >&6; }
30536             build_cpu_sse3="no"
30537
30538 fi
30539
30540
30541       else
30542         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30543 $as_echo "no" >&6; }
30544         build_cpu_sse3="no"
30545       fi
30546
30547 else
30548
30549     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_sse3" >&5
30550 $as_echo "$build_cpu_sse3" >&6; }
30551     if test "x$build_cpu_sse3" = "xyes" ; then
30552       ac_fn_c_check_header_mongrel "$LINENO" "immintrin.h" "ac_cv_header_immintrin_h" "$ac_includes_default"
30553 if test "x$ac_cv_header_immintrin_h" = x""yes; then :
30554
30555           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30556 $as_echo "yes" >&6; }
30557
30558 $as_echo "#define BUILD_SSE3 1" >>confdefs.h
30559
30560           build_cpu_sse3="yes"
30561
30562 else
30563
30564           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30565 $as_echo "no" >&6; }
30566           build_cpu_sse3="no"
30567
30568 fi
30569
30570
30571     fi
30572
30573
30574 fi
30575
30576
30577
30578 # as a big warning flag to anyone doing stuff like this...
30579 # NEVER EVER EVER EVER put **OPTIMIZATION** flags in
30580 # build flags in makefiles (from configure or anywhere else)
30581 # EVER as this screws your ability to build 1 binary and
30582 # cover ALL x86 arch's. This is the HEIGHT of WRONG. If the
30583 # person building choses to add optimization flags themselves
30584 # and decide the minimum baseline cpu arch is X then that's
30585 # their business, but NEVER should it be done here. NEVER.
30586 # I now have to do this due to the way this sse3 code was done - using
30587 # intrinsics and "functions" (opcodes) and types that only compile *IF*
30588 # you compile with -msse3. this ALSO tries to optimize REGULAR c code
30589 # with sse3 asm.. and this breaks things so badly. so... sse3 will be
30590 # off until further notice for 32bit x86.
30591 EVAS_SSE3_CFLAGS=" "
30592 if test "x$build_cpu_sse3" = "xyes" ; then
30593     EVAS_SSE3_CFLAGS="-msse3 "
30594 #   CFLAGS="${CFLAGS} ${EVAS_SSE3_CFLAGS}"
30595 fi
30596
30597
30598
30599
30600 #######################################
30601 ## ALTIVEC
30602 build_cpu_altivec="no"
30603 case $host_cpu in
30604   *power* | *ppc*)
30605     build_cpu_altivec="auto"
30606     ;;
30607 esac
30608 altivec_cflags=""
30609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build altivec code" >&5
30610 $as_echo_n "checking whether to build altivec code... " >&6; }
30611 # Check whether --enable-cpu-altivec was given.
30612 if test "${enable_cpu_altivec+set}" = set; then :
30613   enableval=$enable_cpu_altivec;  build_cpu_altivec=$enableval
30614 else
30615
30616     if test ! "x$build_cpu_altivec" = "xauto"; then
30617       build_cpu_altivec="no"
30618     fi
30619
30620
30621 fi
30622
30623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_altivec" >&5
30624 $as_echo "$build_cpu_altivec" >&6; }
30625
30626 if test "x$build_cpu_altivec" = "xyes"; then
30627    ac_fn_c_check_header_mongrel "$LINENO" "altivec.h" "ac_cv_header_altivec_h" "$ac_includes_default"
30628 if test "x$ac_cv_header_altivec_h" = x""yes; then :
30629
30630
30631 $as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
30632
30633
30634 $as_echo "#define HAVE_ALTIVEC_H 1" >>confdefs.h
30635
30636         build_cpu_altivec="yes"
30637
30638 else
30639
30640        save_CFLAGS=$CFLAGS
30641        save_CPPFLAGS=$CPPFLAGS
30642        CFLAGS=$CFLAGS" -maltivec"
30643        CPPFLAGS=$CPPFLAGS" -maltivec"
30644        unset ac_cv_header_altivec_h
30645        ac_fn_c_check_header_mongrel "$LINENO" "altivec.h" "ac_cv_header_altivec_h" "$ac_includes_default"
30646 if test "x$ac_cv_header_altivec_h" = x""yes; then :
30647
30648
30649 $as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
30650
30651
30652 $as_echo "#define HAVE_ALTIVEC_H 1" >>confdefs.h
30653
30654             build_cpu_altivec="yes"
30655
30656 else
30657
30658             if test "x$build_cpu_altivec" = "xyes" -a "x$use_strict" = "xyes" ; then
30659               as_fn_error $? "Altivec not found (strict dependencies checking)" "$LINENO" 5
30660             fi
30661             build_cpu_altivec="no"
30662
30663
30664 fi
30665
30666
30667        CFLAGS=$save_CFLAGS
30668        CPPFLAGS=$save_CPPFLAGS
30669
30670
30671 fi
30672
30673
30674 fi
30675
30676 if test "x$build_cpu_altivec" = "xyes"; then
30677    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use altivec compiler flag" >&5
30678 $as_echo_n "checking whether to use altivec compiler flag... " >&6; }
30679    if test "x$GCC" = "xyes"; then
30680       if echo "int main(){return 0;}" | ${CPP} -faltivec - > /dev/null 2>&1; then
30681          altivec_cflags="-faltivec"
30682
30683 $as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
30684
30685       elif echo "int main(){return 0;}" | ${CPP} -maltivec - > /dev/null 2>&1; then
30686          altivec_cflags="-maltivec"
30687
30688 $as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
30689
30690       fi
30691    fi
30692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $altivec_cflags" >&5
30693 $as_echo "$altivec_cflags" >&6; }
30694    CFLAGS="$CFLAGS $altivec_cflags"
30695 fi
30696
30697 #######################################
30698 ## NEON
30699 build_cpu_neon="no"
30700 case $host_cpu in
30701   arm*)
30702     build_cpu_neon="yes"
30703     ;;
30704 esac
30705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build neon code" >&5
30706 $as_echo_n "checking whether to build neon code... " >&6; }
30707 # Check whether --enable-cpu-neon was given.
30708 if test "${enable_cpu_neon+set}" = set; then :
30709   enableval=$enable_cpu_neon;
30710      if test "x$enableval" = "xyes" ; then
30711        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30712 /* end confdefs.h.  */
30713
30714 int
30715 main ()
30716 {
30717 asm volatile (".fpu neon\nvqadd.u8 d0, d1, d0\n")
30718   ;
30719   return 0;
30720 }
30721 _ACEOF
30722 if ac_fn_c_try_compile "$LINENO"; then :
30723
30724           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30725 $as_echo "yes" >&6; }
30726
30727 $as_echo "#define BUILD_NEON 1" >>confdefs.h
30728
30729           build_cpu_neon="yes"
30730
30731 else
30732
30733           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30734 $as_echo "no" >&6; }
30735           build_cpu_neon="no"
30736
30737 fi
30738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30739       else
30740         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30741 $as_echo "no" >&6; }
30742         build_cpu_neon="no"
30743       fi
30744
30745 else
30746
30747     if test "x$build_cpu_neon" = "xyes" ; then
30748        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30749 /* end confdefs.h.  */
30750 #include <arm_neon.h>
30751 int
30752 main ()
30753 {
30754 asm volatile ("vqadd.u8 d0, d1, d0\n")
30755   ;
30756   return 0;
30757 }
30758 _ACEOF
30759 if ac_fn_c_try_compile "$LINENO"; then :
30760
30761           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30762 $as_echo "yes" >&6; }
30763
30764 $as_echo "#define BUILD_NEON 1" >>confdefs.h
30765
30766           build_cpu_neon="yes"
30767
30768 else
30769
30770           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30771 $as_echo "no" >&6; }
30772           build_cpu_neon="no"
30773
30774 fi
30775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30776     fi
30777
30778
30779 fi
30780
30781
30782 #######################################
30783 ## C
30784 build_cpu_c="yes"
30785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build c code" >&5
30786 $as_echo_n "checking whether to build c code... " >&6; }
30787 # Check whether --enable-cpu-c was given.
30788 if test "${enable_cpu_c+set}" = set; then :
30789   enableval=$enable_cpu_c;
30790       if test "x$enableval" = "xyes" ; then
30791         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30792 $as_echo "yes" >&6; }
30793
30794 $as_echo "#define BUILD_C 1" >>confdefs.h
30795
30796         build_cpu_c="yes"
30797       else
30798         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30799 $as_echo "no" >&6; }
30800         build_cpu_c="no"
30801       fi
30802
30803 else
30804
30805       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_c" >&5
30806 $as_echo "$build_cpu_c" >&6; }
30807       if test "x$build_cpu_c" = "xyes" ; then
30808
30809 $as_echo "#define BUILD_C 1" >>confdefs.h
30810
30811       fi
30812
30813
30814 fi
30815
30816
30817 #######################################
30818 ## MAGIC_DEBUG
30819 want_evas_magic_debug="yes"
30820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to check magic for evas object" >&5
30821 $as_echo_n "checking whether to check magic for evas object... " >&6; }
30822 # Check whether --enable-evas-magic-debug was given.
30823 if test "${enable_evas_magic_debug+set}" = set; then :
30824   enableval=$enable_evas_magic_debug;  want_evas_magic_debug="$enableval"
30825
30826 fi
30827
30828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_evas_magic_debug" >&5
30829 $as_echo "$want_evas_magic_debug" >&6; }
30830
30831  if test "x$want_evas_magic_debug" = "xyes"; then
30832   EVAS_MAGIC_DEBUG_TRUE=
30833   EVAS_MAGIC_DEBUG_FALSE='#'
30834 else
30835   EVAS_MAGIC_DEBUG_TRUE='#'
30836   EVAS_MAGIC_DEBUG_FALSE=
30837 fi
30838
30839 if test "x$want_evas_magic_debug" = "xyes"; then
30840
30841 $as_echo "#define EVAS_MAGIC_DEBUG 1" >>confdefs.h
30842
30843 fi
30844
30845 #####################################################################
30846 ## ARGB engine options
30847
30848 #######################################
30849 ## Nearest sampling scaler
30850
30851
30852 # Check whether --enable-scale-sample was given.
30853 if test "${enable_scale_sample+set}" = set; then :
30854   enableval=$enable_scale_sample;
30855     if test "x${enableval}" = "xyes" ; then
30856        _efl_enable_scaler_option_scale_sample="yes"
30857     else
30858        _efl_enable_scaler_option_scale_sample="no"
30859     fi
30860
30861 else
30862   _efl_enable_scaler_option_scale_sample="yes"
30863 fi
30864
30865
30866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build sampling scaler" >&5
30867 $as_echo_n "checking whether to build sampling scaler... " >&6; }
30868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_scaler_option_scale_sample}" >&5
30869 $as_echo "${_efl_enable_scaler_option_scale_sample}" >&6; }
30870
30871 if test "x${_efl_enable_scaler_option_scale_sample}" = "xyes" ; then
30872
30873 $as_echo "#define BUILD_SCALE_SAMPLE 1" >>confdefs.h
30874
30875 fi
30876
30877 if test "x${_efl_enable_scaler_option_scale_sample}" = "xyes" ; then
30878    scaler_sample="yes"
30879 else
30880    scaler_sample="no"
30881 fi
30882
30883
30884
30885
30886 ## Smooth super and sub sampling scaler
30887
30888
30889 # Check whether --enable-scale-smooth was given.
30890 if test "${enable_scale_smooth+set}" = set; then :
30891   enableval=$enable_scale_smooth;
30892     if test "x${enableval}" = "xyes" ; then
30893        _efl_enable_scaler_option_scale_smooth="yes"
30894     else
30895        _efl_enable_scaler_option_scale_smooth="no"
30896     fi
30897
30898 else
30899   _efl_enable_scaler_option_scale_smooth="yes"
30900 fi
30901
30902
30903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build smooth scaler" >&5
30904 $as_echo_n "checking whether to build smooth scaler... " >&6; }
30905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_scaler_option_scale_smooth}" >&5
30906 $as_echo "${_efl_enable_scaler_option_scale_smooth}" >&6; }
30907
30908 if test "x${_efl_enable_scaler_option_scale_smooth}" = "xyes" ; then
30909
30910 $as_echo "#define BUILD_SCALE_SMOOTH 1" >>confdefs.h
30911
30912 fi
30913
30914 if test "x${_efl_enable_scaler_option_scale_smooth}" = "xyes" ; then
30915    scaler_smooth="yes"
30916 else
30917    scaler_smooth="no"
30918 fi
30919
30920
30921
30922
30923
30924 #######################################
30925 ## YUV -> ARGB converter
30926 conv_yuv="no"
30927 conv_yuv="yes"
30928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build yuv converter code" >&5
30929 $as_echo_n "checking whether to build yuv converter code... " >&6; }
30930 # Check whether --enable-convert-yuv was given.
30931 if test "${enable_convert_yuv+set}" = set; then :
30932   enableval=$enable_convert_yuv;
30933       if test "x$enableval" = "xyes" ; then
30934         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30935 $as_echo "yes" >&6; }
30936
30937 $as_echo "#define BUILD_CONVERT_YUV 1" >>confdefs.h
30938
30939         conv_yuv="yes"
30940       else
30941         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30942 $as_echo "no" >&6; }
30943         conv_yuv="no"
30944       fi
30945
30946 else
30947
30948       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_yuv" >&5
30949 $as_echo "$conv_yuv" >&6; }
30950       if test "x$conv_yuv" = "xyes" ; then
30951
30952 $as_echo "#define BUILD_CONVERT_YUV 1" >>confdefs.h
30953
30954       fi
30955
30956
30957 fi
30958
30959
30960 #####################################################################
30961 ## Output rendering features
30962
30963 #######################################
30964 ## Small dither mask instead of big one (lower quality)
30965
30966
30967 # Check whether --enable-small-dither-mask was given.
30968 if test "${enable_small_dither_mask+set}" = set; then :
30969   enableval=$enable_small_dither_mask;
30970     if test "x${enableval}" = "xyes" ; then
30971        _efl_enable_dither_option_small_dither_mask="yes"
30972     else
30973        _efl_enable_dither_option_small_dither_mask="no"
30974     fi
30975
30976 else
30977   _efl_enable_dither_option_small_dither_mask="no"
30978 fi
30979
30980
30981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build small dither mask" >&5
30982 $as_echo_n "checking whether to build small dither mask... " >&6; }
30983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_dither_option_small_dither_mask}" >&5
30984 $as_echo "${_efl_enable_dither_option_small_dither_mask}" >&6; }
30985
30986 if test "x${_efl_enable_dither_option_small_dither_mask}" = "xyes" ; then
30987
30988 $as_echo "#define BUILD_SMALL_DITHER_MASK 1" >>confdefs.h
30989
30990 fi
30991
30992 if test "x${_efl_enable_dither_option_small_dither_mask}" = "xyes" ; then
30993    conv_small_dither="yes"
30994 else
30995    conv_small_dither="no"
30996 fi
30997
30998
30999
31000
31001 ## Alternate Line dither mask instead of big one (lower quality - but fastest)
31002
31003
31004 # Check whether --enable-line-dither-mask was given.
31005 if test "${enable_line_dither_mask+set}" = set; then :
31006   enableval=$enable_line_dither_mask;
31007     if test "x${enableval}" = "xyes" ; then
31008        _efl_enable_dither_option_line_dither_mask="yes"
31009     else
31010        _efl_enable_dither_option_line_dither_mask="no"
31011     fi
31012
31013 else
31014   _efl_enable_dither_option_line_dither_mask="no"
31015 fi
31016
31017
31018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build line dither mask" >&5
31019 $as_echo_n "checking whether to build line dither mask... " >&6; }
31020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_dither_option_line_dither_mask}" >&5
31021 $as_echo "${_efl_enable_dither_option_line_dither_mask}" >&6; }
31022
31023 if test "x${_efl_enable_dither_option_line_dither_mask}" = "xyes" ; then
31024
31025 $as_echo "#define BUILD_LINE_DITHER_MASK 1" >>confdefs.h
31026
31027 fi
31028
31029 if test "x${_efl_enable_dither_option_line_dither_mask}" = "xyes" ; then
31030    conv_line_dither="yes"
31031 else
31032    conv_line_dither="no"
31033 fi
31034
31035
31036
31037
31038 ## No dither mask at all for 16bpp
31039
31040
31041 # Check whether --enable-no-dither-mask was given.
31042 if test "${enable_no_dither_mask+set}" = set; then :
31043   enableval=$enable_no_dither_mask;
31044     if test "x${enableval}" = "xyes" ; then
31045        _efl_enable_dither_option_no_dither_mask="yes"
31046     else
31047        _efl_enable_dither_option_no_dither_mask="no"
31048     fi
31049
31050 else
31051   _efl_enable_dither_option_no_dither_mask="no"
31052 fi
31053
31054
31055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build conversion to 16bpp without dither mask" >&5
31056 $as_echo_n "checking whether to build conversion to 16bpp without dither mask... " >&6; }
31057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_dither_option_no_dither_mask}" >&5
31058 $as_echo "${_efl_enable_dither_option_no_dither_mask}" >&6; }
31059
31060 if test "x${_efl_enable_dither_option_no_dither_mask}" = "xyes" ; then
31061
31062 $as_echo "#define BUILD_NO_DITHER_MASK 1" >>confdefs.h
31063
31064 fi
31065
31066 if test "x${_efl_enable_dither_option_no_dither_mask}" = "xyes" ; then
31067    conv_no_dither="yes"
31068 else
31069    conv_no_dither="no"
31070 fi
31071
31072
31073
31074
31075
31076 #######################################
31077 ## Convert to 8bpp RGB 332
31078
31079
31080 conv_8_rgb_332="no"
31081
31082
31083   # Check whether --enable-convert-8-rgb-332 was given.
31084 if test "${enable_convert_8_rgb_332+set}" = set; then :
31085   enableval=$enable_convert_8_rgb_332;  conv_8_rgb_332=$enableval
31086 else
31087    conv_8_rgb_332=yes
31088
31089 fi
31090
31091
31092
31093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 332 converter code" >&5
31094 $as_echo_n "checking whether to build 8bpp RGB 332 converter code... " >&6; }
31095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_332" >&5
31096 $as_echo "$conv_8_rgb_332" >&6; }
31097
31098 if test "x$conv_8_rgb_332" = "xyes" ; then
31099
31100 $as_echo "#define BUILD_CONVERT_8_RGB_332 1" >>confdefs.h
31101
31102 fi
31103
31104
31105
31106
31107
31108 ## Convert to 8bpp RGB 666
31109
31110
31111 conv_8_rgb_666="no"
31112
31113
31114   # Check whether --enable-convert-8-rgb-666 was given.
31115 if test "${enable_convert_8_rgb_666+set}" = set; then :
31116   enableval=$enable_convert_8_rgb_666;  conv_8_rgb_666=$enableval
31117 else
31118    conv_8_rgb_666=yes
31119
31120 fi
31121
31122
31123
31124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 666 converter code" >&5
31125 $as_echo_n "checking whether to build 8bpp RGB 666 converter code... " >&6; }
31126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_666" >&5
31127 $as_echo "$conv_8_rgb_666" >&6; }
31128
31129 if test "x$conv_8_rgb_666" = "xyes" ; then
31130
31131 $as_echo "#define BUILD_CONVERT_8_RGB_666 1" >>confdefs.h
31132
31133 fi
31134
31135
31136
31137
31138
31139 ## Convert to 8bpp RGB 232
31140
31141
31142 conv_8_rgb_232="no"
31143
31144
31145   # Check whether --enable-convert-8-rgb-232 was given.
31146 if test "${enable_convert_8_rgb_232+set}" = set; then :
31147   enableval=$enable_convert_8_rgb_232;  conv_8_rgb_232=$enableval
31148 else
31149    conv_8_rgb_232=yes
31150
31151 fi
31152
31153
31154
31155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 232 converter code" >&5
31156 $as_echo_n "checking whether to build 8bpp RGB 232 converter code... " >&6; }
31157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_232" >&5
31158 $as_echo "$conv_8_rgb_232" >&6; }
31159
31160 if test "x$conv_8_rgb_232" = "xyes" ; then
31161
31162 $as_echo "#define BUILD_CONVERT_8_RGB_232 1" >>confdefs.h
31163
31164 fi
31165
31166
31167
31168
31169
31170 ## Convert to 8bpp RGB 222
31171
31172
31173 conv_8_rgb_222="no"
31174
31175
31176   # Check whether --enable-convert-8-rgb-222 was given.
31177 if test "${enable_convert_8_rgb_222+set}" = set; then :
31178   enableval=$enable_convert_8_rgb_222;  conv_8_rgb_222=$enableval
31179 else
31180    conv_8_rgb_222=yes
31181
31182 fi
31183
31184
31185
31186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 222 converter code" >&5
31187 $as_echo_n "checking whether to build 8bpp RGB 222 converter code... " >&6; }
31188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_222" >&5
31189 $as_echo "$conv_8_rgb_222" >&6; }
31190
31191 if test "x$conv_8_rgb_222" = "xyes" ; then
31192
31193 $as_echo "#define BUILD_CONVERT_8_RGB_222 1" >>confdefs.h
31194
31195 fi
31196
31197
31198
31199
31200
31201 ## Convert to 8bpp RGB 221
31202
31203
31204 conv_8_rgb_221="no"
31205
31206
31207   # Check whether --enable-convert-8-rgb-221 was given.
31208 if test "${enable_convert_8_rgb_221+set}" = set; then :
31209   enableval=$enable_convert_8_rgb_221;  conv_8_rgb_221=$enableval
31210 else
31211    conv_8_rgb_221=yes
31212
31213 fi
31214
31215
31216
31217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 221 converter code" >&5
31218 $as_echo_n "checking whether to build 8bpp RGB 221 converter code... " >&6; }
31219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_221" >&5
31220 $as_echo "$conv_8_rgb_221" >&6; }
31221
31222 if test "x$conv_8_rgb_221" = "xyes" ; then
31223
31224 $as_echo "#define BUILD_CONVERT_8_RGB_221 1" >>confdefs.h
31225
31226 fi
31227
31228
31229
31230
31231
31232 ## Convert to 8bpp RGB 121
31233
31234
31235 conv_8_rgb_121="no"
31236
31237
31238   # Check whether --enable-convert-8-rgb-121 was given.
31239 if test "${enable_convert_8_rgb_121+set}" = set; then :
31240   enableval=$enable_convert_8_rgb_121;  conv_8_rgb_121=$enableval
31241 else
31242    conv_8_rgb_121=yes
31243
31244 fi
31245
31246
31247
31248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 121 converter code" >&5
31249 $as_echo_n "checking whether to build 8bpp RGB 121 converter code... " >&6; }
31250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_121" >&5
31251 $as_echo "$conv_8_rgb_121" >&6; }
31252
31253 if test "x$conv_8_rgb_121" = "xyes" ; then
31254
31255 $as_echo "#define BUILD_CONVERT_8_RGB_121 1" >>confdefs.h
31256
31257 fi
31258
31259
31260
31261
31262
31263 ## Convert to 8bpp RGB 111
31264
31265
31266 conv_8_rgb_111="no"
31267
31268
31269   # Check whether --enable-convert-8-rgb-111 was given.
31270 if test "${enable_convert_8_rgb_111+set}" = set; then :
31271   enableval=$enable_convert_8_rgb_111;  conv_8_rgb_111=$enableval
31272 else
31273    conv_8_rgb_111=yes
31274
31275 fi
31276
31277
31278
31279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 111 converter code" >&5
31280 $as_echo_n "checking whether to build 8bpp RGB 111 converter code... " >&6; }
31281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_111" >&5
31282 $as_echo "$conv_8_rgb_111" >&6; }
31283
31284 if test "x$conv_8_rgb_111" = "xyes" ; then
31285
31286 $as_echo "#define BUILD_CONVERT_8_RGB_111 1" >>confdefs.h
31287
31288 fi
31289
31290
31291
31292
31293
31294 ## Convert to 16bpp RGB 565
31295
31296
31297 conv_16_rgb_565="no"
31298
31299
31300   # Check whether --enable-convert-16-rgb-565 was given.
31301 if test "${enable_convert_16_rgb_565+set}" = set; then :
31302   enableval=$enable_convert_16_rgb_565;  conv_16_rgb_565=$enableval
31303 else
31304    conv_16_rgb_565=yes
31305
31306 fi
31307
31308
31309
31310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB 565 converter code" >&5
31311 $as_echo_n "checking whether to build 16bpp RGB 565 converter code... " >&6; }
31312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_565" >&5
31313 $as_echo "$conv_16_rgb_565" >&6; }
31314
31315 if test "x$conv_16_rgb_565" = "xyes" ; then
31316
31317 $as_echo "#define BUILD_CONVERT_16_RGB_565 1" >>confdefs.h
31318
31319 fi
31320
31321
31322
31323
31324
31325 ## Convert to 16bpp BGR 565
31326
31327
31328 conv_16_bgr_565="no"
31329
31330
31331   # Check whether --enable-convert-16-bgr-565 was given.
31332 if test "${enable_convert_16_bgr_565+set}" = set; then :
31333   enableval=$enable_convert_16_bgr_565;  conv_16_bgr_565=$enableval
31334 else
31335    conv_16_bgr_565=yes
31336
31337 fi
31338
31339
31340
31341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp BGR 565 converter code" >&5
31342 $as_echo_n "checking whether to build 16bpp BGR 565 converter code... " >&6; }
31343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_bgr_565" >&5
31344 $as_echo "$conv_16_bgr_565" >&6; }
31345
31346 if test "x$conv_16_bgr_565" = "xyes" ; then
31347
31348 $as_echo "#define BUILD_CONVERT_16_BGR_565 1" >>confdefs.h
31349
31350 fi
31351
31352
31353
31354
31355
31356 ## Convert to 16bpp RGB 555
31357
31358
31359 conv_16_rgb_555="no"
31360
31361
31362   # Check whether --enable-convert-16-rgb-555 was given.
31363 if test "${enable_convert_16_rgb_555+set}" = set; then :
31364   enableval=$enable_convert_16_rgb_555;  conv_16_rgb_555=$enableval
31365 else
31366    conv_16_rgb_555=yes
31367
31368 fi
31369
31370
31371
31372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB 555 converter code" >&5
31373 $as_echo_n "checking whether to build 16bpp RGB 555 converter code... " >&6; }
31374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_555" >&5
31375 $as_echo "$conv_16_rgb_555" >&6; }
31376
31377 if test "x$conv_16_rgb_555" = "xyes" ; then
31378
31379 $as_echo "#define BUILD_CONVERT_16_RGB_555 1" >>confdefs.h
31380
31381 fi
31382
31383
31384
31385
31386
31387 ## Convert to 16bpp RGB 444
31388
31389
31390 conv_16_rgb_444="no"
31391
31392
31393   # Check whether --enable-convert-16-rgb-444 was given.
31394 if test "${enable_convert_16_rgb_444+set}" = set; then :
31395   enableval=$enable_convert_16_rgb_444;  conv_16_rgb_444=$enableval
31396 else
31397    conv_16_rgb_444=yes
31398
31399 fi
31400
31401
31402
31403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB 444 converter code" >&5
31404 $as_echo_n "checking whether to build 16bpp RGB 444 converter code... " >&6; }
31405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_444" >&5
31406 $as_echo "$conv_16_rgb_444" >&6; }
31407
31408 if test "x$conv_16_rgb_444" = "xyes" ; then
31409
31410 $as_echo "#define BUILD_CONVERT_16_RGB_444 1" >>confdefs.h
31411
31412 fi
31413
31414
31415
31416
31417
31418
31419 #######################################
31420 ## Convert to 16bpp RGB 565 (444 ipaq)
31421 conv_16_rgb_ipq="yes"
31422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp 565 (444 ipaq) converter code" >&5
31423 $as_echo_n "checking whether to build 16bpp 565 (444 ipaq) converter code... " >&6; }
31424 # Check whether --enable-convert-16-rgb-ipq was given.
31425 if test "${enable_convert_16_rgb_ipq+set}" = set; then :
31426   enableval=$enable_convert_16_rgb_ipq;
31427       if test "x$enableval" = "xyes" ; then
31428
31429 $as_echo "#define BUILD_CONVERT_16_RGB_454645 1" >>confdefs.h
31430
31431         conv_16_rgb_ipq="yes"
31432       else
31433         conv_16_rgb_ipq="no"
31434       fi
31435
31436 else
31437
31438       if test "x$conv_16_rgb_ipq" = "xyes" ; then
31439
31440 $as_echo "#define BUILD_CONVERT_16_RGB_454645 1" >>confdefs.h
31441
31442       fi
31443
31444
31445 fi
31446
31447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_ipq" >&5
31448 $as_echo "$conv_16_rgb_ipq" >&6; }
31449
31450 #######################################
31451 ## Convert to 16bpp RGB with rotation of 0
31452
31453
31454 conv_16_rgb_rot_0="no"
31455
31456
31457   # Check whether --enable-convert-16-rgb-rot-0 was given.
31458 if test "${enable_convert_16_rgb_rot_0+set}" = set; then :
31459   enableval=$enable_convert_16_rgb_rot_0;  conv_16_rgb_rot_0=$enableval
31460 else
31461    conv_16_rgb_rot_0=yes
31462
31463 fi
31464
31465
31466
31467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 0 converter code" >&5
31468 $as_echo_n "checking whether to build 16bpp RGB rotation 0 converter code... " >&6; }
31469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_0" >&5
31470 $as_echo "$conv_16_rgb_rot_0" >&6; }
31471
31472 if test "x$conv_16_rgb_rot_0" = "xyes" ; then
31473
31474 $as_echo "#define BUILD_CONVERT_16_RGB_ROT0 1" >>confdefs.h
31475
31476 fi
31477
31478
31479
31480
31481
31482 ## Convert to 16bpp RGB with rotation of 180
31483
31484
31485 conv_16_rgb_rot_180="no"
31486
31487
31488   # Check whether --enable-convert-16-rgb-rot-180 was given.
31489 if test "${enable_convert_16_rgb_rot_180+set}" = set; then :
31490   enableval=$enable_convert_16_rgb_rot_180;  conv_16_rgb_rot_180=$enableval
31491 else
31492    conv_16_rgb_rot_180=yes
31493
31494 fi
31495
31496
31497
31498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 180 converter code" >&5
31499 $as_echo_n "checking whether to build 16bpp RGB rotation 180 converter code... " >&6; }
31500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_180" >&5
31501 $as_echo "$conv_16_rgb_rot_180" >&6; }
31502
31503 if test "x$conv_16_rgb_rot_180" = "xyes" ; then
31504
31505 $as_echo "#define BUILD_CONVERT_16_RGB_ROT180 1" >>confdefs.h
31506
31507 fi
31508
31509
31510
31511
31512
31513 ## Convert to 16bpp RGB with rotation of 270
31514
31515
31516 conv_16_rgb_rot_270="no"
31517
31518
31519   # Check whether --enable-convert-16-rgb-rot-270 was given.
31520 if test "${enable_convert_16_rgb_rot_270+set}" = set; then :
31521   enableval=$enable_convert_16_rgb_rot_270;  conv_16_rgb_rot_270=$enableval
31522 else
31523    conv_16_rgb_rot_270=yes
31524
31525 fi
31526
31527
31528
31529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 270 converter code" >&5
31530 $as_echo_n "checking whether to build 16bpp RGB rotation 270 converter code... " >&6; }
31531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_270" >&5
31532 $as_echo "$conv_16_rgb_rot_270" >&6; }
31533
31534 if test "x$conv_16_rgb_rot_270" = "xyes" ; then
31535
31536 $as_echo "#define BUILD_CONVERT_16_RGB_ROT270 1" >>confdefs.h
31537
31538 fi
31539
31540
31541
31542
31543
31544 ## Convert to 16bpp RGB with rotation of 90
31545
31546
31547 conv_16_rgb_rot_90="no"
31548
31549
31550   # Check whether --enable-convert-16-rgb-rot-90 was given.
31551 if test "${enable_convert_16_rgb_rot_90+set}" = set; then :
31552   enableval=$enable_convert_16_rgb_rot_90;  conv_16_rgb_rot_90=$enableval
31553 else
31554    conv_16_rgb_rot_90=yes
31555
31556 fi
31557
31558
31559
31560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 90 converter code" >&5
31561 $as_echo_n "checking whether to build 16bpp RGB rotation 90 converter code... " >&6; }
31562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_90" >&5
31563 $as_echo "$conv_16_rgb_rot_90" >&6; }
31564
31565 if test "x$conv_16_rgb_rot_90" = "xyes" ; then
31566
31567 $as_echo "#define BUILD_CONVERT_16_RGB_ROT90 1" >>confdefs.h
31568
31569 fi
31570
31571
31572
31573
31574
31575
31576 #######################################
31577 ## Convert to 24bpp RGB 888
31578
31579
31580 conv_24_rgb_888="no"
31581
31582
31583   # Check whether --enable-convert-24-rgb-888 was given.
31584 if test "${enable_convert_24_rgb_888+set}" = set; then :
31585   enableval=$enable_convert_24_rgb_888;  conv_24_rgb_888=$enableval
31586 else
31587    conv_24_rgb_888=yes
31588
31589 fi
31590
31591
31592
31593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 24bpp RGB 888 converter code" >&5
31594 $as_echo_n "checking whether to build 24bpp RGB 888 converter code... " >&6; }
31595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_24_rgb_888" >&5
31596 $as_echo "$conv_24_rgb_888" >&6; }
31597
31598 if test "x$conv_24_rgb_888" = "xyes" ; then
31599
31600 $as_echo "#define BUILD_CONVERT_24_RGB_888 1" >>confdefs.h
31601
31602 fi
31603
31604
31605
31606
31607
31608 ## Convert to 24bpp BGR 888
31609
31610
31611 conv_24_bgr_888="no"
31612
31613
31614   # Check whether --enable-convert-24-bgr-888 was given.
31615 if test "${enable_convert_24_bgr_888+set}" = set; then :
31616   enableval=$enable_convert_24_bgr_888;  conv_24_bgr_888=$enableval
31617 else
31618    conv_24_bgr_888=yes
31619
31620 fi
31621
31622
31623
31624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 24bpp BGR 888 converter code" >&5
31625 $as_echo_n "checking whether to build 24bpp BGR 888 converter code... " >&6; }
31626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_24_bgr_888" >&5
31627 $as_echo "$conv_24_bgr_888" >&6; }
31628
31629 if test "x$conv_24_bgr_888" = "xyes" ; then
31630
31631 $as_echo "#define BUILD_CONVERT_24_BGR_888 1" >>confdefs.h
31632
31633 fi
31634
31635
31636
31637
31638
31639 ## Convert to 32bpp RGB 8888
31640
31641
31642 conv_32_rgb_8888="no"
31643
31644
31645   # Check whether --enable-convert-32-rgb-8888 was given.
31646 if test "${enable_convert_32_rgb_8888+set}" = set; then :
31647   enableval=$enable_convert_32_rgb_8888;  conv_32_rgb_8888=$enableval
31648 else
31649    conv_32_rgb_8888=yes
31650
31651 fi
31652
31653
31654
31655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB 8888 converter code" >&5
31656 $as_echo_n "checking whether to build 32bpp RGB 8888 converter code... " >&6; }
31657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_8888" >&5
31658 $as_echo "$conv_32_rgb_8888" >&6; }
31659
31660 if test "x$conv_32_rgb_8888" = "xyes" ; then
31661
31662 $as_echo "#define BUILD_CONVERT_32_RGB_8888 1" >>confdefs.h
31663
31664 fi
31665
31666
31667
31668
31669
31670 ## Convert to 32bpp RGBX 8888
31671
31672
31673 conv_32_rgbx_8888="no"
31674
31675
31676   # Check whether --enable-convert-32-rgbx-8888 was given.
31677 if test "${enable_convert_32_rgbx_8888+set}" = set; then :
31678   enableval=$enable_convert_32_rgbx_8888;  conv_32_rgbx_8888=$enableval
31679 else
31680    conv_32_rgbx_8888=yes
31681
31682 fi
31683
31684
31685
31686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGBX 8888 converter code" >&5
31687 $as_echo_n "checking whether to build 32bpp RGBX 8888 converter code... " >&6; }
31688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgbx_8888" >&5
31689 $as_echo "$conv_32_rgbx_8888" >&6; }
31690
31691 if test "x$conv_32_rgbx_8888" = "xyes" ; then
31692
31693 $as_echo "#define BUILD_CONVERT_32_RGBX_8888 1" >>confdefs.h
31694
31695 fi
31696
31697
31698
31699
31700
31701 ## Convert to 32bpp BGR 8888
31702
31703
31704 conv_32_bgr_8888="no"
31705
31706
31707   # Check whether --enable-convert-32-bgr-8888 was given.
31708 if test "${enable_convert_32_bgr_8888+set}" = set; then :
31709   enableval=$enable_convert_32_bgr_8888;  conv_32_bgr_8888=$enableval
31710 else
31711    conv_32_bgr_8888=yes
31712
31713 fi
31714
31715
31716
31717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp BGR 8888 converter code" >&5
31718 $as_echo_n "checking whether to build 32bpp BGR 8888 converter code... " >&6; }
31719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_bgr_8888" >&5
31720 $as_echo "$conv_32_bgr_8888" >&6; }
31721
31722 if test "x$conv_32_bgr_8888" = "xyes" ; then
31723
31724 $as_echo "#define BUILD_CONVERT_32_BGR_8888 1" >>confdefs.h
31725
31726 fi
31727
31728
31729
31730
31731
31732 ## Convert to 32bpp BGRX 8888
31733
31734
31735 conv_32_bgrx_8888="no"
31736
31737
31738   # Check whether --enable-convert-32-bgrx-8888 was given.
31739 if test "${enable_convert_32_bgrx_8888+set}" = set; then :
31740   enableval=$enable_convert_32_bgrx_8888;  conv_32_bgrx_8888=$enableval
31741 else
31742    conv_32_bgrx_8888=yes
31743
31744 fi
31745
31746
31747
31748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp BGRX 8888 converter code" >&5
31749 $as_echo_n "checking whether to build 32bpp BGRX 8888 converter code... " >&6; }
31750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_bgrx_8888" >&5
31751 $as_echo "$conv_32_bgrx_8888" >&6; }
31752
31753 if test "x$conv_32_bgrx_8888" = "xyes" ; then
31754
31755 $as_echo "#define BUILD_CONVERT_32_BGRX_8888 1" >>confdefs.h
31756
31757 fi
31758
31759
31760
31761
31762
31763
31764 #######################################
31765 ## Convert to 24bpp RGB 666 (666 ezx)
31766 conv_24_rgb_ezx="yes"
31767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 24bpp 666 (666 ezx) converter code" >&5
31768 $as_echo_n "checking whether to build 24bpp 666 (666 ezx) converter code... " >&6; }
31769 # Check whether --enable-convert-24-rgb-ezx was given.
31770 if test "${enable_convert_24_rgb_ezx+set}" = set; then :
31771   enableval=$enable_convert_24_rgb_ezx;
31772       if test "x$enableval" = "xyes" ; then
31773
31774 $as_echo "#define BUILD_CONVERT_24_RGB_666 1" >>confdefs.h
31775
31776         conv_24_rgb_ezx="yes"
31777       else
31778         conv_24_rgb_ezx="no"
31779       fi
31780
31781 else
31782
31783       if test "x$conv_24_rgb_ezx" = "xyes" ; then
31784
31785 $as_echo "#define BUILD_CONVERT_24_RGB_666 1" >>confdefs.h
31786
31787       fi
31788
31789
31790 fi
31791
31792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_24_rgb_ezx" >&5
31793 $as_echo "$conv_24_rgb_ezx" >&6; }
31794
31795 #######################################
31796 ## Convert to 32bpp RGB 666 (666 ezx)
31797 conv_32_rgb_ezx="yes"
31798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp 666 (666 ezx) converter code" >&5
31799 $as_echo_n "checking whether to build 32bpp 666 (666 ezx) converter code... " >&6; }
31800 # Check whether --enable-convert-32-rgb-ezx was given.
31801 if test "${enable_convert_32_rgb_ezx+set}" = set; then :
31802   enableval=$enable_convert_32_rgb_ezx;
31803       if test "x$enableval" = "xyes" ; then
31804
31805 $as_echo "#define BUILD_CONVERT_32_RGB_666 1" >>confdefs.h
31806
31807         conv_32_rgb_ezx="yes"
31808       else
31809         conv_32_rgb_ezx="no"
31810       fi
31811
31812 else
31813
31814       if test "x$conv_32_rgb_ezx" = "xyes" ; then
31815
31816 $as_echo "#define BUILD_CONVERT_32_RGB_666 1" >>confdefs.h
31817
31818       fi
31819
31820
31821 fi
31822
31823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_ezx" >&5
31824 $as_echo "$conv_32_rgb_ezx" >&6; }
31825
31826 #######################################
31827 ## Convert to 32bpp RGB with rotation of 0
31828
31829
31830 conv_32_rgb_rot_0="no"
31831
31832
31833   # Check whether --enable-convert-32-rgb-rot-0 was given.
31834 if test "${enable_convert_32_rgb_rot_0+set}" = set; then :
31835   enableval=$enable_convert_32_rgb_rot_0;  conv_32_rgb_rot_0=$enableval
31836 else
31837    conv_32_rgb_rot_0=yes
31838
31839 fi
31840
31841
31842
31843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 0 converter code" >&5
31844 $as_echo_n "checking whether to build 32bpp RGB rotation 0 converter code... " >&6; }
31845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_0" >&5
31846 $as_echo "$conv_32_rgb_rot_0" >&6; }
31847
31848 if test "x$conv_32_rgb_rot_0" = "xyes" ; then
31849
31850 $as_echo "#define BUILD_CONVERT_32_RGB_ROT0 1" >>confdefs.h
31851
31852 fi
31853
31854
31855
31856
31857
31858 ## Convert to 32bpp RGB with rotation of 180
31859
31860
31861 conv_32_rgb_rot_180="no"
31862
31863
31864   # Check whether --enable-convert-32-rgb-rot-180 was given.
31865 if test "${enable_convert_32_rgb_rot_180+set}" = set; then :
31866   enableval=$enable_convert_32_rgb_rot_180;  conv_32_rgb_rot_180=$enableval
31867 else
31868    conv_32_rgb_rot_180=yes
31869
31870 fi
31871
31872
31873
31874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 180 converter code" >&5
31875 $as_echo_n "checking whether to build 32bpp RGB rotation 180 converter code... " >&6; }
31876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_180" >&5
31877 $as_echo "$conv_32_rgb_rot_180" >&6; }
31878
31879 if test "x$conv_32_rgb_rot_180" = "xyes" ; then
31880
31881 $as_echo "#define BUILD_CONVERT_32_RGB_ROT180 1" >>confdefs.h
31882
31883 fi
31884
31885
31886
31887
31888
31889 ## Convert to 32bpp RGB with rotation of 270
31890
31891
31892 conv_32_rgb_rot_270="no"
31893
31894
31895   # Check whether --enable-convert-32-rgb-rot-270 was given.
31896 if test "${enable_convert_32_rgb_rot_270+set}" = set; then :
31897   enableval=$enable_convert_32_rgb_rot_270;  conv_32_rgb_rot_270=$enableval
31898 else
31899    conv_32_rgb_rot_270=yes
31900
31901 fi
31902
31903
31904
31905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 270 converter code" >&5
31906 $as_echo_n "checking whether to build 32bpp RGB rotation 270 converter code... " >&6; }
31907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_270" >&5
31908 $as_echo "$conv_32_rgb_rot_270" >&6; }
31909
31910 if test "x$conv_32_rgb_rot_270" = "xyes" ; then
31911
31912 $as_echo "#define BUILD_CONVERT_32_RGB_ROT270 1" >>confdefs.h
31913
31914 fi
31915
31916
31917
31918
31919
31920 ## Convert to 32bpp RGB with rotation of 90
31921
31922
31923 conv_32_rgb_rot_90="no"
31924
31925
31926   # Check whether --enable-convert-32-rgb-rot-90 was given.
31927 if test "${enable_convert_32_rgb_rot_90+set}" = set; then :
31928   enableval=$enable_convert_32_rgb_rot_90;  conv_32_rgb_rot_90=$enableval
31929 else
31930    conv_32_rgb_rot_90=yes
31931
31932 fi
31933
31934
31935
31936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 90 converter code" >&5
31937 $as_echo_n "checking whether to build 32bpp RGB rotation 90 converter code... " >&6; }
31938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_90" >&5
31939 $as_echo "$conv_32_rgb_rot_90" >&6; }
31940
31941 if test "x$conv_32_rgb_rot_90" = "xyes" ; then
31942
31943 $as_echo "#define BUILD_CONVERT_32_RGB_ROT90 1" >>confdefs.h
31944
31945 fi
31946
31947
31948
31949
31950
31951
31952 #######################################
31953 ## Convert to 8bpp grayscale with 256 value, no palette
31954
31955
31956 conv_8_gry_1="no"
31957
31958
31959   # Check whether --enable-convert-8-gry-1 was given.
31960 if test "${enable_convert_8_gry_1+set}" = set; then :
31961   enableval=$enable_convert_8_gry_1;  conv_8_gry_1=$enableval
31962 else
31963    conv_8_gry_1=yes
31964
31965 fi
31966
31967
31968
31969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp GRY 1 converter code" >&5
31970 $as_echo_n "checking whether to build 8bpp GRY 1 converter code... " >&6; }
31971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_gry_1" >&5
31972 $as_echo "$conv_8_gry_1" >&6; }
31973
31974 if test "x$conv_8_gry_1" = "xyes" ; then
31975
31976 $as_echo "#define BUILD_CONVERT_8_GRY_1 1" >>confdefs.h
31977
31978 fi
31979
31980
31981
31982
31983
31984 ## Convert to 8bpp grayscale with 16 value, no palette
31985
31986
31987 conv_8_gry_16="no"
31988
31989
31990   # Check whether --enable-convert-8-gry-16 was given.
31991 if test "${enable_convert_8_gry_16+set}" = set; then :
31992   enableval=$enable_convert_8_gry_16;  conv_8_gry_16=$enableval
31993 else
31994    conv_8_gry_16=yes
31995
31996 fi
31997
31998
31999
32000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp GRY 16 converter code" >&5
32001 $as_echo_n "checking whether to build 8bpp GRY 16 converter code... " >&6; }
32002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_gry_16" >&5
32003 $as_echo "$conv_8_gry_16" >&6; }
32004
32005 if test "x$conv_8_gry_16" = "xyes" ; then
32006
32007 $as_echo "#define BUILD_CONVERT_8_GRY_16 1" >>confdefs.h
32008
32009 fi
32010
32011
32012
32013
32014
32015
32016 #######################################
32017 ## Convert to 8bpp grayscale, 64-palette
32018 conv_8_grayscale_64="yes"
32019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp grayscale 64-palette converter code" >&5
32020 $as_echo_n "checking whether to build 8bpp grayscale 64-palette converter code... " >&6; }
32021 # Check whether --enable-convert-8-grayscale-64 was given.
32022 if test "${enable_convert_8_grayscale_64+set}" = set; then :
32023   enableval=$enable_convert_8_grayscale_64;
32024      if test "x$enableval" = "xyes"; then
32025
32026 $as_echo "#define BUILD_CONVERT_8_GRAYSCALE_64 1" >>confdefs.h
32027
32028        conv_8_grayscale_64="yes"
32029      else
32030        conv_8_grayscale_64="no"
32031      fi
32032
32033 else
32034
32035      if test "x$conv_8_grayscale_64" = "xyes"; then
32036
32037 $as_echo "#define BUILD_CONVERT_8_GRAYSCALE_64 1" >>confdefs.h
32038
32039      fi
32040
32041
32042 fi
32043
32044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_grayscale_64" >&5
32045 $as_echo "$conv_8_grayscale_64" >&6; }
32046
32047 ## valgrind
32048 want_valgrind="no"
32049 have_valgrind="no"
32050
32051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build with valgrind" >&5
32052 $as_echo_n "checking whether to enable build with valgrind... " >&6; }
32053 # Check whether --enable-valgrind was given.
32054 if test "${enable_valgrind+set}" = set; then :
32055   enableval=$enable_valgrind;  want_valgrind=$enableval
32056
32057 fi
32058
32059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_valgrind" >&5
32060 $as_echo "$want_valgrind" >&6; }
32061
32062 if test x$want_valgrind = "xyes"; then
32063
32064 pkg_failed=no
32065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
32066 $as_echo_n "checking for VALGRIND... " >&6; }
32067
32068 if test -n "$VALGRIND_CFLAGS"; then
32069     pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
32070  elif test -n "$PKG_CONFIG"; then
32071     if test -n "$PKG_CONFIG" && \
32072     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= 2.4.0\""; } >&5
32073   ($PKG_CONFIG --exists --print-errors "valgrind >= 2.4.0") 2>&5
32074   ac_status=$?
32075   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32076   test $ac_status = 0; }; then
32077   pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= 2.4.0" 2>/dev/null`
32078 else
32079   pkg_failed=yes
32080 fi
32081  else
32082     pkg_failed=untried
32083 fi
32084 if test -n "$VALGRIND_LIBS"; then
32085     pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
32086  elif test -n "$PKG_CONFIG"; then
32087     if test -n "$PKG_CONFIG" && \
32088     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= 2.4.0\""; } >&5
32089   ($PKG_CONFIG --exists --print-errors "valgrind >= 2.4.0") 2>&5
32090   ac_status=$?
32091   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32092   test $ac_status = 0; }; then
32093   pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= 2.4.0" 2>/dev/null`
32094 else
32095   pkg_failed=yes
32096 fi
32097  else
32098     pkg_failed=untried
32099 fi
32100
32101
32102
32103 if test $pkg_failed = yes; then
32104         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32105 $as_echo "no" >&6; }
32106
32107 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32108         _pkg_short_errors_supported=yes
32109 else
32110         _pkg_short_errors_supported=no
32111 fi
32112         if test $_pkg_short_errors_supported = yes; then
32113                 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "valgrind >= 2.4.0" 2>&1`
32114         else
32115                 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --print-errors "valgrind >= 2.4.0" 2>&1`
32116         fi
32117         # Put the nasty error message in config.log where it belongs
32118         echo "$VALGRIND_PKG_ERRORS" >&5
32119
32120
32121       if test "x$want_valgrind" = "xyes" -a "x$use_strict" = "xyes" ; then
32122         as_fn_error $? "Valgrind not found (strict dependencies checking)" "$LINENO" 5
32123       fi
32124
32125
32126 elif test $pkg_failed = untried; then
32127         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32128 $as_echo "no" >&6; }
32129
32130       if test "x$want_valgrind" = "xyes" -a "x$use_strict" = "xyes" ; then
32131         as_fn_error $? "Valgrind not found (strict dependencies checking)" "$LINENO" 5
32132       fi
32133
32134
32135 else
32136         VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
32137         VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
32138         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32139 $as_echo "yes" >&6; }
32140
32141
32142 $as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
32143
32144       have_valgrind=yes
32145       requirement_evas="valgrind ${requirement_evas}"
32146
32147 fi
32148 fi
32149
32150 ## Examples
32151
32152 install_examples="yes"
32153 # Check whether --enable-install-examples was given.
32154 if test "${enable_install_examples+set}" = set; then :
32155   enableval=$enable_install_examples;
32156     if test "x${enableval}" = "xyes" ; then
32157        install_examples="yes"
32158     else
32159        install_examples="no"
32160     fi
32161
32162 else
32163   install_examples="yes"
32164 fi
32165
32166  if test "x${install_examples}" = "xyes"; then
32167   INSTALL_EXAMPLES_TRUE=
32168   INSTALL_EXAMPLES_FALSE='#'
32169 else
32170   INSTALL_EXAMPLES_TRUE='#'
32171   INSTALL_EXAMPLES_FALSE=
32172 fi
32173
32174
32175 build_examples="no"
32176 # Check whether --enable-build-examples was given.
32177 if test "${enable_build_examples+set}" = set; then :
32178   enableval=$enable_build_examples;
32179     if test "x${enableval}" = "xyes" ; then
32180        build_examples="yes"
32181        # put in here the dependencies for Evas' examples. they are
32182        # meant to be 'real world' usage examples, thus one will be
32183        # using higher level libraries on these programs
32184
32185 pkg_failed=no
32186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_EVAS" >&5
32187 $as_echo_n "checking for ECORE_EVAS... " >&6; }
32188
32189 if test -n "$ECORE_EVAS_CFLAGS"; then
32190     pkg_cv_ECORE_EVAS_CFLAGS="$ECORE_EVAS_CFLAGS"
32191  elif test -n "$PKG_CONFIG"; then
32192     if test -n "$PKG_CONFIG" && \
32193     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas ecore\""; } >&5
32194   ($PKG_CONFIG --exists --print-errors "ecore-evas ecore") 2>&5
32195   ac_status=$?
32196   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32197   test $ac_status = 0; }; then
32198   pkg_cv_ECORE_EVAS_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas ecore" 2>/dev/null`
32199 else
32200   pkg_failed=yes
32201 fi
32202  else
32203     pkg_failed=untried
32204 fi
32205 if test -n "$ECORE_EVAS_LIBS"; then
32206     pkg_cv_ECORE_EVAS_LIBS="$ECORE_EVAS_LIBS"
32207  elif test -n "$PKG_CONFIG"; then
32208     if test -n "$PKG_CONFIG" && \
32209     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas ecore\""; } >&5
32210   ($PKG_CONFIG --exists --print-errors "ecore-evas ecore") 2>&5
32211   ac_status=$?
32212   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32213   test $ac_status = 0; }; then
32214   pkg_cv_ECORE_EVAS_LIBS=`$PKG_CONFIG --libs "ecore-evas ecore" 2>/dev/null`
32215 else
32216   pkg_failed=yes
32217 fi
32218  else
32219     pkg_failed=untried
32220 fi
32221
32222
32223
32224 if test $pkg_failed = yes; then
32225         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32226 $as_echo "no" >&6; }
32227
32228 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32229         _pkg_short_errors_supported=yes
32230 else
32231         _pkg_short_errors_supported=no
32232 fi
32233         if test $_pkg_short_errors_supported = yes; then
32234                 ECORE_EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-evas ecore" 2>&1`
32235         else
32236                 ECORE_EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-evas ecore" 2>&1`
32237         fi
32238         # Put the nasty error message in config.log where it belongs
32239         echo "$ECORE_EVAS_PKG_ERRORS" >&5
32240
32241         build_examples="no"
32242 elif test $pkg_failed = untried; then
32243         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32244 $as_echo "no" >&6; }
32245         build_examples="no"
32246 else
32247         ECORE_EVAS_CFLAGS=$pkg_cv_ECORE_EVAS_CFLAGS
32248         ECORE_EVAS_LIBS=$pkg_cv_ECORE_EVAS_LIBS
32249         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32250 $as_echo "yes" >&6; }
32251
32252 fi
32253
32254 pkg_failed=no
32255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE" >&5
32256 $as_echo_n "checking for EDJE... " >&6; }
32257
32258 if test -n "$EDJE_CFLAGS"; then
32259     pkg_cv_EDJE_CFLAGS="$EDJE_CFLAGS"
32260  elif test -n "$PKG_CONFIG"; then
32261     if test -n "$PKG_CONFIG" && \
32262     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje\""; } >&5
32263   ($PKG_CONFIG --exists --print-errors "edje") 2>&5
32264   ac_status=$?
32265   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32266   test $ac_status = 0; }; then
32267   pkg_cv_EDJE_CFLAGS=`$PKG_CONFIG --cflags "edje" 2>/dev/null`
32268 else
32269   pkg_failed=yes
32270 fi
32271  else
32272     pkg_failed=untried
32273 fi
32274 if test -n "$EDJE_LIBS"; then
32275     pkg_cv_EDJE_LIBS="$EDJE_LIBS"
32276  elif test -n "$PKG_CONFIG"; then
32277     if test -n "$PKG_CONFIG" && \
32278     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje\""; } >&5
32279   ($PKG_CONFIG --exists --print-errors "edje") 2>&5
32280   ac_status=$?
32281   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32282   test $ac_status = 0; }; then
32283   pkg_cv_EDJE_LIBS=`$PKG_CONFIG --libs "edje" 2>/dev/null`
32284 else
32285   pkg_failed=yes
32286 fi
32287  else
32288     pkg_failed=untried
32289 fi
32290
32291
32292
32293 if test $pkg_failed = yes; then
32294         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32295 $as_echo "no" >&6; }
32296
32297 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32298         _pkg_short_errors_supported=yes
32299 else
32300         _pkg_short_errors_supported=no
32301 fi
32302         if test $_pkg_short_errors_supported = yes; then
32303                 EDJE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "edje" 2>&1`
32304         else
32305                 EDJE_PKG_ERRORS=`$PKG_CONFIG --print-errors "edje" 2>&1`
32306         fi
32307         # Put the nasty error message in config.log where it belongs
32308         echo "$EDJE_PKG_ERRORS" >&5
32309
32310         build_examples="no"
32311 elif test $pkg_failed = untried; then
32312         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32313 $as_echo "no" >&6; }
32314         build_examples="no"
32315 else
32316         EDJE_CFLAGS=$pkg_cv_EDJE_CFLAGS
32317         EDJE_LIBS=$pkg_cv_EDJE_LIBS
32318         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32319 $as_echo "yes" >&6; }
32320         edje_cc=$($PKG_CONFIG --variable=prefix edje)/bin/edje_cc
32321 fi
32322
32323     else
32324        build_examples="no"
32325     fi
32326
32327 else
32328   build_examples="no"
32329 fi
32330
32331  if test "x${build_examples}" = "xyes"; then
32332   BUILD_EXAMPLES_TRUE=
32333   BUILD_EXAMPLES_FALSE='#'
32334 else
32335   BUILD_EXAMPLES_TRUE='#'
32336   BUILD_EXAMPLES_FALSE=
32337 fi
32338
32339
32340 ## Unit tests, coverage
32341
32342
32343
32344
32345 # Check whether --enable-tests was given.
32346 if test "${enable_tests+set}" = set; then :
32347   enableval=$enable_tests;
32348     if test "x${enableval}" = "xyes" ; then
32349        _efl_enable_tests="yes"
32350     else
32351        _efl_enable_tests="no"
32352     fi
32353
32354 else
32355   _efl_enable_tests="no"
32356 fi
32357
32358
32359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests are built" >&5
32360 $as_echo_n "checking whether tests are built... " >&6; }
32361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_tests}" >&5
32362 $as_echo "${_efl_enable_tests}" >&6; }
32363
32364
32365
32366 if test "x${_efl_enable_tests}" = "xyes" ; then
32367
32368 pkg_failed=no
32369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
32370 $as_echo_n "checking for CHECK... " >&6; }
32371
32372 if test -n "$CHECK_CFLAGS"; then
32373     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
32374  elif test -n "$PKG_CONFIG"; then
32375     if test -n "$PKG_CONFIG" && \
32376     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
32377   ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
32378   ac_status=$?
32379   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32380   test $ac_status = 0; }; then
32381   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.5" 2>/dev/null`
32382 else
32383   pkg_failed=yes
32384 fi
32385  else
32386     pkg_failed=untried
32387 fi
32388 if test -n "$CHECK_LIBS"; then
32389     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
32390  elif test -n "$PKG_CONFIG"; then
32391     if test -n "$PKG_CONFIG" && \
32392     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
32393   ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
32394   ac_status=$?
32395   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32396   test $ac_status = 0; }; then
32397   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.5" 2>/dev/null`
32398 else
32399   pkg_failed=yes
32400 fi
32401  else
32402     pkg_failed=untried
32403 fi
32404
32405
32406
32407 if test $pkg_failed = yes; then
32408         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32409 $as_echo "no" >&6; }
32410
32411 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32412         _pkg_short_errors_supported=yes
32413 else
32414         _pkg_short_errors_supported=no
32415 fi
32416         if test $_pkg_short_errors_supported = yes; then
32417                 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "check >= 0.9.5" 2>&1`
32418         else
32419                 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors "check >= 0.9.5" 2>&1`
32420         fi
32421         # Put the nasty error message in config.log where it belongs
32422         echo "$CHECK_PKG_ERRORS" >&5
32423
32424         _efl_enable_tests="no"
32425 elif test $pkg_failed = untried; then
32426         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32427 $as_echo "no" >&6; }
32428         _efl_enable_tests="no"
32429 else
32430         CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
32431         CHECK_LIBS=$pkg_cv_CHECK_LIBS
32432         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32433 $as_echo "yes" >&6; }
32434         dummy="yes"
32435 fi
32436 fi
32437 if test "x${_efl_enable_tests}" = "xyes" ; then
32438
32439 $as_echo "#define HAVE_TESTS 1" >>confdefs.h
32440
32441 fi
32442
32443  if test "x${_efl_enable_tests}" = "xyes"; then
32444   EFL_ENABLE_TESTS_TRUE=
32445   EFL_ENABLE_TESTS_FALSE='#'
32446 else
32447   EFL_ENABLE_TESTS_TRUE='#'
32448   EFL_ENABLE_TESTS_FALSE=
32449 fi
32450
32451
32452 if test "x$_efl_enable_tests" = "xyes"; then :
32453   enable_tests="yes"
32454 else
32455   enable_tests="no"
32456 fi
32457
32458
32459
32460
32461
32462 # Check whether --enable-coverage was given.
32463 if test "${enable_coverage+set}" = set; then :
32464   enableval=$enable_coverage;
32465     if test "x${enableval}" = "xyes" ; then
32466        _efl_enable_coverage="yes"
32467     else
32468        _efl_enable_coverage="no"
32469     fi
32470
32471 else
32472   _efl_enable_coverage="no"
32473 fi
32474
32475
32476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use profiling instrumentation" >&5
32477 $as_echo_n "checking whether to use profiling instrumentation... " >&6; }
32478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_efl_enable_coverage" >&5
32479 $as_echo "$_efl_enable_coverage" >&6; }
32480
32481
32482 if test "x$_efl_enable_coverage" = "xyes" && test ! "x${enable_tests}" = "xyes" ; then
32483    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&5
32484 $as_echo "$as_me: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&2;}
32485    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Run configure with --enable-tests" >&5
32486 $as_echo "$as_me: WARNING: Run configure with --enable-tests" >&2;}
32487    _efl_enable_coverage="no"
32488 fi
32489
32490 if test "x$_efl_enable_coverage" = "xyes" ; then
32491    # Extract the first word of "lcov", so it can be a program name with args.
32492 set dummy lcov; ac_word=$2
32493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32494 $as_echo_n "checking for $ac_word... " >&6; }
32495 if test "${ac_cv_prog_have_lcov+set}" = set; then :
32496   $as_echo_n "(cached) " >&6
32497 else
32498   if test -n "$have_lcov"; then
32499   ac_cv_prog_have_lcov="$have_lcov" # Let the user override the test.
32500 else
32501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32502 for as_dir in $PATH
32503 do
32504   IFS=$as_save_IFS
32505   test -z "$as_dir" && as_dir=.
32506     for ac_exec_ext in '' $ac_executable_extensions; do
32507   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32508     ac_cv_prog_have_lcov="yes"
32509     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
32510     break 2
32511   fi
32512 done
32513   done
32514 IFS=$as_save_IFS
32515
32516   test -z "$ac_cv_prog_have_lcov" && ac_cv_prog_have_lcov="no"
32517 fi
32518 fi
32519 have_lcov=$ac_cv_prog_have_lcov
32520 if test -n "$have_lcov"; then
32521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_lcov" >&5
32522 $as_echo "$have_lcov" >&6; }
32523 else
32524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32525 $as_echo "no" >&6; }
32526 fi
32527
32528
32529    if test "x$have_lcov" = "xyes" ; then
32530       EFL_COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
32531       EFL_COVERAGE_LIBS="-lgcov"
32532 # remove any optimisation flag and force debug symbols
32533       EFL_DEBUG_CFLAGS="-g -O0 -DDEBUG"
32534    else
32535       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: lcov is not found, disable profiling instrumentation" >&5
32536 $as_echo "$as_me: WARNING: lcov is not found, disable profiling instrumentation" >&2;}
32537       _efl_enable_coverage="no"
32538    fi
32539 fi
32540
32541
32542
32543
32544  if test "x${_efl_enable_coverage}" = "xyes"; then
32545   EFL_ENABLE_COVERAGE_TRUE=
32546   EFL_ENABLE_COVERAGE_FALSE='#'
32547 else
32548   EFL_ENABLE_COVERAGE_TRUE='#'
32549   EFL_ENABLE_COVERAGE_FALSE=
32550 fi
32551
32552
32553 if test "x$_efl_enable_coverage" = "xyes"; then :
32554   enable_coverage="yes"
32555 else
32556   enable_coverage="no"
32557 fi
32558
32559 EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_COVERAGE_CFLAGS} ${EXOTIC_CFLAGS}"
32560 EVAS_LIBS="${EVAS_LIBS} ${EFL_COVERAGE_LIBS} ${EXOTIC_LIBS}"
32561 if test "x$enable_coverage" = "xyes" ; then
32562    EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_DEBUG_CFLAGS}"
32563 fi
32564
32565
32566
32567
32568 # General CFLAGS
32569
32570 EVAS_GENERAL_CFLAGS="${EINA_CFLAGS}"
32571 EVAS_GENERAL_LIBS="${EINA_LIBS}"
32572
32573
32574
32575 #####################################################################
32576 ## Fill in flags
32577
32578
32579
32580
32581
32582
32583
32584 #####################################################################
32585 ## Output
32586
32587 ac_config_files="$ac_config_files Makefile evas-directfb.pc evas-fb.pc evas-opengl-x11.pc evas-opengl-sdl.pc evas-opengl-cocoa.pc evas-software-buffer.pc evas-software-x11.pc evas-software-8-x11.pc evas-software-16-x11.pc evas-software-gdi.pc evas-software-ddraw.pc evas-direct3d.pc evas-software-16-wince.pc evas-software-sdl.pc evas-psl1ght.pc evas-wayland-shm.pc evas-wayland-egl.pc evas.pc doc/evas.dox doc/Makefile doc/Doxyfile src/Makefile src/bin/Makefile src/bin/loaders/Makefile src/bin/loaders/jpeg/Makefile src/bin/loaders/png/Makefile src/bin/loaders/eet/Makefile src/bin/loaders/tiff/Makefile src/bin/loaders/xpm/Makefile src/bin/loaders/bmp/Makefile src/bin/loaders/ico/Makefile src/bin/loaders/tga/Makefile src/bin/loaders/pmaps/Makefile src/bin/loaders/wbmp/Makefile src/bin/loaders/psd/Makefile src/lib/Makefile src/lib/canvas/Makefile src/lib/file/Makefile src/lib/cache/Makefile src/lib/cache2/Makefile src/lib/cserve/Makefile src/lib/cserve2/Makefile src/lib/engines/Makefile src/lib/engines/common/Makefile src/lib/engines/common/evas_op_add/Makefile src/lib/engines/common/evas_op_blend/Makefile src/lib/engines/common/evas_op_copy/Makefile src/lib/engines/common/evas_op_mask/Makefile src/lib/engines/common/evas_op_mul/Makefile src/lib/engines/common/evas_op_sub/Makefile src/lib/engines/common_8/Makefile src/lib/engines/common_16/Makefile src/modules/Makefile src/modules/engines/Makefile src/modules/engines/software_generic/Makefile src/modules/engines/software_gdi/Makefile src/modules/engines/software_ddraw/Makefile src/modules/engines/direct3d/Makefile src/modules/engines/software_16_wince/Makefile src/modules/engines/software_x11/Makefile src/modules/engines/fb/Makefile src/modules/engines/buffer/Makefile src/modules/engines/directfb/Makefile src/modules/engines/gl_common/Makefile src/modules/engines/gl_x11/Makefile src/modules/engines/gl_sdl/Makefile src/modules/engines/gl_cocoa/Makefile src/modules/engines/psl1ght/Makefile src/modules/engines/software_8/Makefile src/modules/engines/software_8_x11/Makefile src/modules/engines/software_16/Makefile src/modules/engines/software_16_x11/Makefile src/modules/engines/software_16_sdl/Makefile src/modules/engines/wayland_shm/Makefile src/modules/engines/wayland_egl/Makefile src/modules/loaders/Makefile src/modules/loaders/edb/Makefile src/modules/loaders/eet/Makefile src/modules/loaders/gif/Makefile src/modules/loaders/jpeg/Makefile src/modules/loaders/png/Makefile src/modules/loaders/tiff/Makefile src/modules/loaders/xpm/Makefile src/modules/loaders/bmp/Makefile src/modules/loaders/ico/Makefile src/modules/loaders/tga/Makefile src/modules/loaders/svg/Makefile src/modules/loaders/pmaps/Makefile src/modules/loaders/wbmp/Makefile src/modules/loaders/psd/Makefile src/modules/loaders/generic/Makefile src/modules/savers/Makefile src/modules/savers/edb/Makefile src/modules/savers/eet/Makefile src/modules/savers/jpeg/Makefile src/modules/savers/png/Makefile src/modules/savers/tiff/Makefile src/static_deps/Makefile src/static_deps/liblinebreak/Makefile src/lib/include/Makefile src/examples/Makefile src/tests/Makefile data/Makefile evas.spec"
32588
32589 cat >confcache <<\_ACEOF
32590 # This file is a shell script that caches the results of configure
32591 # tests run on this system so they can be shared between configure
32592 # scripts and configure runs, see configure's option --config-cache.
32593 # It is not useful on other systems.  If it contains results you don't
32594 # want to keep, you may remove or edit it.
32595 #
32596 # config.status only pays attention to the cache file if you give it
32597 # the --recheck option to rerun configure.
32598 #
32599 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32600 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32601 # following values.
32602
32603 _ACEOF
32604
32605 # The following way of writing the cache mishandles newlines in values,
32606 # but we know of no workaround that is simple, portable, and efficient.
32607 # So, we kill variables containing newlines.
32608 # Ultrix sh set writes to stderr and can't be redirected directly,
32609 # and sets the high bit in the cache file unless we assign to the vars.
32610 (
32611   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
32612     eval ac_val=\$$ac_var
32613     case $ac_val in #(
32614     *${as_nl}*)
32615       case $ac_var in #(
32616       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
32617 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
32618       esac
32619       case $ac_var in #(
32620       _ | IFS | as_nl) ;; #(
32621       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
32622       *) { eval $ac_var=; unset $ac_var;} ;;
32623       esac ;;
32624     esac
32625   done
32626
32627   (set) 2>&1 |
32628     case $as_nl`(ac_space=' '; set) 2>&1` in #(
32629     *${as_nl}ac_space=\ *)
32630       # `set' does not quote correctly, so add quotes: double-quote
32631       # substitution turns \\\\ into \\, and sed turns \\ into \.
32632       sed -n \
32633         "s/'/'\\\\''/g;
32634           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32635       ;; #(
32636     *)
32637       # `set' quotes correctly as required by POSIX, so do not add quotes.
32638       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
32639       ;;
32640     esac |
32641     sort
32642 ) |
32643   sed '
32644      /^ac_cv_env_/b end
32645      t clear
32646      :clear
32647      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32648      t end
32649      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32650      :end' >>confcache
32651 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
32652   if test -w "$cache_file"; then
32653     test "x$cache_file" != "x/dev/null" &&
32654       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
32655 $as_echo "$as_me: updating cache $cache_file" >&6;}
32656     cat confcache >$cache_file
32657   else
32658     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
32659 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
32660   fi
32661 fi
32662 rm -f confcache
32663
32664 test "x$prefix" = xNONE && prefix=$ac_default_prefix
32665 # Let make expand exec_prefix.
32666 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
32667
32668 DEFS=-DHAVE_CONFIG_H
32669
32670 ac_libobjs=
32671 ac_ltlibobjs=
32672 U=
32673 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
32674   # 1. Remove the extension, and $U if already installed.
32675   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
32676   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
32677   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
32678   #    will be set to the directory where LIBOBJS objects are built.
32679   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
32680   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
32681 done
32682 LIBOBJS=$ac_libobjs
32683
32684 LTLIBOBJS=$ac_ltlibobjs
32685
32686
32687  if test -n "$EXEEXT"; then
32688   am__EXEEXT_TRUE=
32689   am__EXEEXT_FALSE='#'
32690 else
32691   am__EXEEXT_TRUE='#'
32692   am__EXEEXT_FALSE=
32693 fi
32694
32695 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
32696   as_fn_error $? "conditional \"AMDEP\" was never defined.
32697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32698 fi
32699 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
32700   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
32701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32702 fi
32703 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
32704   as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
32705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32706 fi
32707 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
32708   as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
32709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32710 fi
32711 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
32712   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
32713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32714 fi
32715 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
32716   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
32717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32718 fi
32719 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
32720   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
32721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32722 fi
32723 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
32724   as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
32725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32726 fi
32727 if test -z "${EVAS_HAVE_EXOTIC_TRUE}" && test -z "${EVAS_HAVE_EXOTIC_FALSE}"; then
32728   as_fn_error $? "conditional \"EVAS_HAVE_EXOTIC\" was never defined.
32729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32730 fi
32731 if test -z "${EVAS_USE_LINEBREAK_TRUE}" && test -z "${EVAS_USE_LINEBREAK_FALSE}"; then
32732   as_fn_error $? "conditional \"EVAS_USE_LINEBREAK\" was never defined.
32733 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32734 fi
32735
32736 if test -z "${EVAS_CSERVE_TRUE}" && test -z "${EVAS_CSERVE_FALSE}"; then
32737   as_fn_error $? "conditional \"EVAS_CSERVE\" was never defined.
32738 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32739 fi
32740 if test -z "${EVAS_CSERVE2_TRUE}" && test -z "${EVAS_CSERVE2_FALSE}"; then
32741   as_fn_error $? "conditional \"EVAS_CSERVE2\" was never defined.
32742 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32743 fi
32744 if test -z "${BUILD_ENGINE_BUFFER_TRUE}" && test -z "${BUILD_ENGINE_BUFFER_FALSE}"; then
32745   as_fn_error $? "conditional \"BUILD_ENGINE_BUFFER\" was never defined.
32746 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32747 fi
32748 if test -z "${EVAS_STATIC_BUILD_BUFFER_TRUE}" && test -z "${EVAS_STATIC_BUILD_BUFFER_FALSE}"; then
32749   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_BUFFER\" was never defined.
32750 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32751 fi
32752 if test -z "${BUILD_ENGINE_SOFTWARE_GDI_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_GDI_FALSE}"; then
32753   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_GDI\" was never defined.
32754 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32755 fi
32756 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE}"; then
32757   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_GDI\" was never defined.
32758 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32759 fi
32760 if test -z "${BUILD_ENGINE_SOFTWARE_DDRAW_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_DDRAW_FALSE}"; then
32761   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_DDRAW\" was never defined.
32762 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32763 fi
32764 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE}"; then
32765   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_DDRAW\" was never defined.
32766 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32767 fi
32768 if test -z "${BUILD_ENGINE_DIRECT3D_TRUE}" && test -z "${BUILD_ENGINE_DIRECT3D_FALSE}"; then
32769   as_fn_error $? "conditional \"BUILD_ENGINE_DIRECT3D\" was never defined.
32770 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32771 fi
32772 if test -z "${EVAS_STATIC_BUILD_DIRECT3D_TRUE}" && test -z "${EVAS_STATIC_BUILD_DIRECT3D_FALSE}"; then
32773   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_DIRECT3D\" was never defined.
32774 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32775 fi
32776 if test -z "${BUILD_ENGINE_PSL1GHT_TRUE}" && test -z "${BUILD_ENGINE_PSL1GHT_FALSE}"; then
32777   as_fn_error $? "conditional \"BUILD_ENGINE_PSL1GHT\" was never defined.
32778 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32779 fi
32780 if test -z "${EVAS_STATIC_BUILD_PSL1GHT_TRUE}" && test -z "${EVAS_STATIC_BUILD_PSL1GHT_FALSE}"; then
32781   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PSL1GHT\" was never defined.
32782 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32783 fi
32784 if test -z "${BUILD_ENGINE_GL_SDL_TRUE}" && test -z "${BUILD_ENGINE_GL_SDL_FALSE}"; then
32785   as_fn_error $? "conditional \"BUILD_ENGINE_GL_SDL\" was never defined.
32786 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32787 fi
32788 if test -z "${EVAS_STATIC_BUILD_GL_SDL_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_SDL_FALSE}"; then
32789   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_SDL\" was never defined.
32790 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32791 fi
32792 if test -z "${BUILD_ENGINE_GL_COCOA_TRUE}" && test -z "${BUILD_ENGINE_GL_COCOA_FALSE}"; then
32793   as_fn_error $? "conditional \"BUILD_ENGINE_GL_COCOA\" was never defined.
32794 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32795 fi
32796 if test -z "${EVAS_STATIC_BUILD_GL_COCOA_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_COCOA_FALSE}"; then
32797   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_COCOA\" was never defined.
32798 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32799 fi
32800 if test -z "${BUILD_ENGINE_FB_TRUE}" && test -z "${BUILD_ENGINE_FB_FALSE}"; then
32801   as_fn_error $? "conditional \"BUILD_ENGINE_FB\" was never defined.
32802 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32803 fi
32804 if test -z "${EVAS_STATIC_BUILD_FB_TRUE}" && test -z "${EVAS_STATIC_BUILD_FB_FALSE}"; then
32805   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_FB\" was never defined.
32806 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32807 fi
32808 if test -z "${BUILD_ENGINE_DIRECTFB_TRUE}" && test -z "${BUILD_ENGINE_DIRECTFB_FALSE}"; then
32809   as_fn_error $? "conditional \"BUILD_ENGINE_DIRECTFB\" was never defined.
32810 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32811 fi
32812 if test -z "${EVAS_STATIC_BUILD_DIRECTFB_TRUE}" && test -z "${EVAS_STATIC_BUILD_DIRECTFB_FALSE}"; then
32813   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_DIRECTFB\" was never defined.
32814 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32815 fi
32816 if test -z "${BUILD_ENGINE_SOFTWARE_8_X11_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_8_X11_FALSE}"; then
32817   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_8_X11\" was never defined.
32818 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32819 fi
32820 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE}"; then
32821   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_8_X11\" was never defined.
32822 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32823 fi
32824 if test -z "${BUILD_ENGINE_SOFTWARE_16_X11_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_X11_FALSE}"; then
32825   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16_X11\" was never defined.
32826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32827 fi
32828 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE}"; then
32829   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_X11\" was never defined.
32830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32831 fi
32832 if test -z "${BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE}"; then
32833   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16_WINCE\" was never defined.
32834 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32835 fi
32836 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE}"; then
32837   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_WINCE\" was never defined.
32838 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32839 fi
32840 if test -z "${BUILD_ENGINE_SOFTWARE_16_SDL_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_SDL_FALSE}"; then
32841   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16_SDL\" was never defined.
32842 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32843 fi
32844 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE}"; then
32845   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_SDL\" was never defined.
32846 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32847 fi
32848 if test -z "${BUILD_ENGINE_WAYLAND_SHM_TRUE}" && test -z "${BUILD_ENGINE_WAYLAND_SHM_FALSE}"; then
32849   as_fn_error $? "conditional \"BUILD_ENGINE_WAYLAND_SHM\" was never defined.
32850 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32851 fi
32852 if test -z "${EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE}" && test -z "${EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE}"; then
32853   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_WAYLAND_SHM\" was never defined.
32854 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32855 fi
32856 if test -z "${BUILD_ENGINE_WAYLAND_EGL_TRUE}" && test -z "${BUILD_ENGINE_WAYLAND_EGL_FALSE}"; then
32857   as_fn_error $? "conditional \"BUILD_ENGINE_WAYLAND_EGL\" was never defined.
32858 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32859 fi
32860 if test -z "${EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE}" && test -z "${EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE}"; then
32861   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_WAYLAND_EGL\" was never defined.
32862 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32863 fi
32864 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE}"; then
32865   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_GENERIC\" was never defined.
32866 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32867 fi
32868 if test -z "${BUILD_ENGINE_SOFTWARE_XCB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XCB_FALSE}"; then
32869   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XCB\" was never defined.
32870 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32871 fi
32872 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE}"; then
32873   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XCB\" was never defined.
32874 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32875 fi
32876 if test -z "${BUILD_ENGINE_SOFTWARE_XLIB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XLIB_FALSE}"; then
32877   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XLIB\" was never defined.
32878 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32879 fi
32880 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE}"; then
32881   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XLIB\" was never defined.
32882 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32883 fi
32884 if test -z "${BUILD_ENGINE_SOFTWARE_XLIB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XLIB_FALSE}"; then
32885   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XLIB\" was never defined.
32886 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32887 fi
32888 if test -z "${BUILD_ENGINE_SOFTWARE_XCB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XCB_FALSE}"; then
32889   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XCB\" was never defined.
32890 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32891 fi
32892 if test -z "${BUILD_ENGINE_SOFTWARE_X11_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_X11_FALSE}"; then
32893   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_X11\" was never defined.
32894 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32895 fi
32896 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE}"; then
32897   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_X11\" was never defined.
32898 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32899 fi
32900 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE}"; then
32901   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XLIB\" was never defined.
32902 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32903 fi
32904 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE}"; then
32905   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XCB\" was never defined.
32906 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32907 fi
32908 if test -z "${BUILD_ENGINE_GL_XCB_TRUE}" && test -z "${BUILD_ENGINE_GL_XCB_FALSE}"; then
32909   as_fn_error $? "conditional \"BUILD_ENGINE_GL_XCB\" was never defined.
32910 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32911 fi
32912 if test -z "${EVAS_STATIC_BUILD_GL_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XCB_FALSE}"; then
32913   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XCB\" was never defined.
32914 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32915 fi
32916 if test -z "${BUILD_ENGINE_GL_XLIB_TRUE}" && test -z "${BUILD_ENGINE_GL_XLIB_FALSE}"; then
32917   as_fn_error $? "conditional \"BUILD_ENGINE_GL_XLIB\" was never defined.
32918 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32919 fi
32920 if test -z "${EVAS_STATIC_BUILD_GL_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XLIB_FALSE}"; then
32921   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XLIB\" was never defined.
32922 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32923 fi
32924 if test -z "${BUILD_ENGINE_GL_XLIB_TRUE}" && test -z "${BUILD_ENGINE_GL_XLIB_FALSE}"; then
32925   as_fn_error $? "conditional \"BUILD_ENGINE_GL_XLIB\" was never defined.
32926 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32927 fi
32928 if test -z "${BUILD_ENGINE_GL_XCB_TRUE}" && test -z "${BUILD_ENGINE_GL_XCB_FALSE}"; then
32929   as_fn_error $? "conditional \"BUILD_ENGINE_GL_XCB\" was never defined.
32930 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32931 fi
32932 if test -z "${BUILD_ENGINE_GL_X11_TRUE}" && test -z "${BUILD_ENGINE_GL_X11_FALSE}"; then
32933   as_fn_error $? "conditional \"BUILD_ENGINE_GL_X11\" was never defined.
32934 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32935 fi
32936 if test -z "${EVAS_STATIC_BUILD_GL_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_X11_FALSE}"; then
32937   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_X11\" was never defined.
32938 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32939 fi
32940 if test -z "${EVAS_STATIC_BUILD_GL_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XLIB_FALSE}"; then
32941   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XLIB\" was never defined.
32942 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32943 fi
32944 if test -z "${EVAS_STATIC_BUILD_GL_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XCB_FALSE}"; then
32945   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XCB\" was never defined.
32946 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32947 fi
32948 if test -z "${BUILD_ENGINE_GL_COMMON_TRUE}" && test -z "${BUILD_ENGINE_GL_COMMON_FALSE}"; then
32949   as_fn_error $? "conditional \"BUILD_ENGINE_GL_COMMON\" was never defined.
32950 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32951 fi
32952 if test -z "${EVAS_STATIC_BUILD_GL_COMMON_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_COMMON_FALSE}"; then
32953   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_COMMON\" was never defined.
32954 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32955 fi
32956 if test -z "${BUILD_ENGINE_SOFTWARE_16_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_FALSE}"; then
32957   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16\" was never defined.
32958 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32959 fi
32960 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_FALSE}"; then
32961   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16\" was never defined.
32962 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32963 fi
32964 if test -z "${BUILD_ENGINE_SOFTWARE_8_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_8_FALSE}"; then
32965   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_8\" was never defined.
32966 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32967 fi
32968 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_FALSE}"; then
32969   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_8\" was never defined.
32970 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32971 fi
32972 if test -z "${BUILD_LOADER_EDB_TRUE}" && test -z "${BUILD_LOADER_EDB_FALSE}"; then
32973   as_fn_error $? "conditional \"BUILD_LOADER_EDB\" was never defined.
32974 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32975 fi
32976 if test -z "${EVAS_STATIC_BUILD_EDB_TRUE}" && test -z "${EVAS_STATIC_BUILD_EDB_FALSE}"; then
32977   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_EDB\" was never defined.
32978 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32979 fi
32980 if test -z "${BUILD_LOADER_EET_TRUE}" && test -z "${BUILD_LOADER_EET_FALSE}"; then
32981   as_fn_error $? "conditional \"BUILD_LOADER_EET\" was never defined.
32982 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32983 fi
32984 if test -z "${EVAS_STATIC_BUILD_EET_TRUE}" && test -z "${EVAS_STATIC_BUILD_EET_FALSE}"; then
32985   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_EET\" was never defined.
32986 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32987 fi
32988 if test -z "${BUILD_LOADER_GIF_TRUE}" && test -z "${BUILD_LOADER_GIF_FALSE}"; then
32989   as_fn_error $? "conditional \"BUILD_LOADER_GIF\" was never defined.
32990 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32991 fi
32992 if test -z "${EVAS_STATIC_BUILD_GIF_TRUE}" && test -z "${EVAS_STATIC_BUILD_GIF_FALSE}"; then
32993   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GIF\" was never defined.
32994 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32995 fi
32996 if test -z "${BUILD_LOADER_JPEG_TRUE}" && test -z "${BUILD_LOADER_JPEG_FALSE}"; then
32997   as_fn_error $? "conditional \"BUILD_LOADER_JPEG\" was never defined.
32998 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32999 fi
33000 if test -z "${EVAS_STATIC_BUILD_JPEG_TRUE}" && test -z "${EVAS_STATIC_BUILD_JPEG_FALSE}"; then
33001   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_JPEG\" was never defined.
33002 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33003 fi
33004 if test -z "${BUILD_SAVER_JPEG_TRUE}" && test -z "${BUILD_SAVER_JPEG_FALSE}"; then
33005   as_fn_error $? "conditional \"BUILD_SAVER_JPEG\" was never defined.
33006 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33007 fi
33008 if test -z "${BUILD_LOADER_PMAPS_TRUE}" && test -z "${BUILD_LOADER_PMAPS_FALSE}"; then
33009   as_fn_error $? "conditional \"BUILD_LOADER_PMAPS\" was never defined.
33010 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33011 fi
33012 if test -z "${EVAS_STATIC_BUILD_PMAPS_TRUE}" && test -z "${EVAS_STATIC_BUILD_PMAPS_FALSE}"; then
33013   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PMAPS\" was never defined.
33014 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33015 fi
33016 if test -z "${BUILD_LOADER_PNG_TRUE}" && test -z "${BUILD_LOADER_PNG_FALSE}"; then
33017   as_fn_error $? "conditional \"BUILD_LOADER_PNG\" was never defined.
33018 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33019 fi
33020 if test -z "${EVAS_STATIC_BUILD_PNG_TRUE}" && test -z "${EVAS_STATIC_BUILD_PNG_FALSE}"; then
33021   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PNG\" was never defined.
33022 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33023 fi
33024 if test -z "${BUILD_LOADER_SVG_TRUE}" && test -z "${BUILD_LOADER_SVG_FALSE}"; then
33025   as_fn_error $? "conditional \"BUILD_LOADER_SVG\" was never defined.
33026 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33027 fi
33028 if test -z "${EVAS_STATIC_BUILD_SVG_TRUE}" && test -z "${EVAS_STATIC_BUILD_SVG_FALSE}"; then
33029   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SVG\" was never defined.
33030 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33031 fi
33032 if test -z "${BUILD_LOADER_TIFF_TRUE}" && test -z "${BUILD_LOADER_TIFF_FALSE}"; then
33033   as_fn_error $? "conditional \"BUILD_LOADER_TIFF\" was never defined.
33034 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33035 fi
33036 if test -z "${EVAS_STATIC_BUILD_TIFF_TRUE}" && test -z "${EVAS_STATIC_BUILD_TIFF_FALSE}"; then
33037   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_TIFF\" was never defined.
33038 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33039 fi
33040 if test -z "${BUILD_LOADER_XPM_TRUE}" && test -z "${BUILD_LOADER_XPM_FALSE}"; then
33041   as_fn_error $? "conditional \"BUILD_LOADER_XPM\" was never defined.
33042 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33043 fi
33044 if test -z "${EVAS_STATIC_BUILD_XPM_TRUE}" && test -z "${EVAS_STATIC_BUILD_XPM_FALSE}"; then
33045   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_XPM\" was never defined.
33046 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33047 fi
33048 if test -z "${BUILD_LOADER_BMP_TRUE}" && test -z "${BUILD_LOADER_BMP_FALSE}"; then
33049   as_fn_error $? "conditional \"BUILD_LOADER_BMP\" was never defined.
33050 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33051 fi
33052 if test -z "${EVAS_STATIC_BUILD_BMP_TRUE}" && test -z "${EVAS_STATIC_BUILD_BMP_FALSE}"; then
33053   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_BMP\" was never defined.
33054 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33055 fi
33056 if test -z "${BUILD_LOADER_TGA_TRUE}" && test -z "${BUILD_LOADER_TGA_FALSE}"; then
33057   as_fn_error $? "conditional \"BUILD_LOADER_TGA\" was never defined.
33058 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33059 fi
33060 if test -z "${EVAS_STATIC_BUILD_TGA_TRUE}" && test -z "${EVAS_STATIC_BUILD_TGA_FALSE}"; then
33061   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_TGA\" was never defined.
33062 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33063 fi
33064 if test -z "${BUILD_LOADER_WBMP_TRUE}" && test -z "${BUILD_LOADER_WBMP_FALSE}"; then
33065   as_fn_error $? "conditional \"BUILD_LOADER_WBMP\" was never defined.
33066 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33067 fi
33068 if test -z "${EVAS_STATIC_BUILD_WBMP_TRUE}" && test -z "${EVAS_STATIC_BUILD_WBMP_FALSE}"; then
33069   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_WBMP\" was never defined.
33070 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33071 fi
33072 if test -z "${BUILD_LOADER_ICO_TRUE}" && test -z "${BUILD_LOADER_ICO_FALSE}"; then
33073   as_fn_error $? "conditional \"BUILD_LOADER_ICO\" was never defined.
33074 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33075 fi
33076 if test -z "${EVAS_STATIC_BUILD_ICO_TRUE}" && test -z "${EVAS_STATIC_BUILD_ICO_FALSE}"; then
33077   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_ICO\" was never defined.
33078 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33079 fi
33080 if test -z "${BUILD_LOADER_PSD_TRUE}" && test -z "${BUILD_LOADER_PSD_FALSE}"; then
33081   as_fn_error $? "conditional \"BUILD_LOADER_PSD\" was never defined.
33082 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33083 fi
33084 if test -z "${EVAS_STATIC_BUILD_PSD_TRUE}" && test -z "${EVAS_STATIC_BUILD_PSD_FALSE}"; then
33085   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PSD\" was never defined.
33086 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33087 fi
33088 if test -z "${BUILD_LOADER_GENERIC_TRUE}" && test -z "${BUILD_LOADER_GENERIC_FALSE}"; then
33089   as_fn_error $? "conditional \"BUILD_LOADER_GENERIC\" was never defined.
33090 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33091 fi
33092 if test -z "${EVAS_STATIC_BUILD_GENERIC_TRUE}" && test -z "${EVAS_STATIC_BUILD_GENERIC_FALSE}"; then
33093   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GENERIC\" was never defined.
33094 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33095 fi
33096 if test -z "${EVAS_MAGIC_DEBUG_TRUE}" && test -z "${EVAS_MAGIC_DEBUG_FALSE}"; then
33097   as_fn_error $? "conditional \"EVAS_MAGIC_DEBUG\" was never defined.
33098 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33099 fi
33100 if test -z "${INSTALL_EXAMPLES_TRUE}" && test -z "${INSTALL_EXAMPLES_FALSE}"; then
33101   as_fn_error $? "conditional \"INSTALL_EXAMPLES\" was never defined.
33102 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33103 fi
33104 if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
33105   as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
33106 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33107 fi
33108 if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
33109   as_fn_error $? "conditional \"EFL_ENABLE_TESTS\" was never defined.
33110 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33111 fi
33112 if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then
33113   as_fn_error $? "conditional \"EFL_ENABLE_COVERAGE\" was never defined.
33114 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33115 fi
33116
33117 : ${CONFIG_STATUS=./config.status}
33118 ac_write_fail=0
33119 ac_clean_files_save=$ac_clean_files
33120 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33121 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
33122 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
33123 as_write_fail=0
33124 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
33125 #! $SHELL
33126 # Generated by $as_me.
33127 # Run this file to recreate the current configuration.
33128 # Compiler output produced by configure, useful for debugging
33129 # configure, is in config.log if it exists.
33130
33131 debug=false
33132 ac_cs_recheck=false
33133 ac_cs_silent=false
33134
33135 SHELL=\${CONFIG_SHELL-$SHELL}
33136 export SHELL
33137 _ASEOF
33138 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
33139 ## -------------------- ##
33140 ## M4sh Initialization. ##
33141 ## -------------------- ##
33142
33143 # Be more Bourne compatible
33144 DUALCASE=1; export DUALCASE # for MKS sh
33145 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
33146   emulate sh
33147   NULLCMD=:
33148   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
33149   # is contrary to our usage.  Disable this feature.
33150   alias -g '${1+"$@"}'='"$@"'
33151   setopt NO_GLOB_SUBST
33152 else
33153   case `(set -o) 2>/dev/null` in #(
33154   *posix*) :
33155     set -o posix ;; #(
33156   *) :
33157      ;;
33158 esac
33159 fi
33160
33161
33162 as_nl='
33163 '
33164 export as_nl
33165 # Printing a long string crashes Solaris 7 /usr/bin/printf.
33166 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
33167 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
33168 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
33169 # Prefer a ksh shell builtin over an external printf program on Solaris,
33170 # but without wasting forks for bash or zsh.
33171 if test -z "$BASH_VERSION$ZSH_VERSION" \
33172     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
33173   as_echo='print -r --'
33174   as_echo_n='print -rn --'
33175 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
33176   as_echo='printf %s\n'
33177   as_echo_n='printf %s'
33178 else
33179   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
33180     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
33181     as_echo_n='/usr/ucb/echo -n'
33182   else
33183     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
33184     as_echo_n_body='eval
33185       arg=$1;
33186       case $arg in #(
33187       *"$as_nl"*)
33188         expr "X$arg" : "X\\(.*\\)$as_nl";
33189         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
33190       esac;
33191       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
33192     '
33193     export as_echo_n_body
33194     as_echo_n='sh -c $as_echo_n_body as_echo'
33195   fi
33196   export as_echo_body
33197   as_echo='sh -c $as_echo_body as_echo'
33198 fi
33199
33200 # The user is always right.
33201 if test "${PATH_SEPARATOR+set}" != set; then
33202   PATH_SEPARATOR=:
33203   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
33204     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
33205       PATH_SEPARATOR=';'
33206   }
33207 fi
33208
33209
33210 # IFS
33211 # We need space, tab and new line, in precisely that order.  Quoting is
33212 # there to prevent editors from complaining about space-tab.
33213 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
33214 # splitting by setting IFS to empty value.)
33215 IFS=" ""        $as_nl"
33216
33217 # Find who we are.  Look in the path if we contain no directory separator.
33218 case $0 in #((
33219   *[\\/]* ) as_myself=$0 ;;
33220   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33221 for as_dir in $PATH
33222 do
33223   IFS=$as_save_IFS
33224   test -z "$as_dir" && as_dir=.
33225     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33226   done
33227 IFS=$as_save_IFS
33228
33229      ;;
33230 esac
33231 # We did not find ourselves, most probably we were run as `sh COMMAND'
33232 # in which case we are not to be found in the path.
33233 if test "x$as_myself" = x; then
33234   as_myself=$0
33235 fi
33236 if test ! -f "$as_myself"; then
33237   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
33238   exit 1
33239 fi
33240
33241 # Unset variables that we do not need and which cause bugs (e.g. in
33242 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
33243 # suppresses any "Segmentation fault" message there.  '((' could
33244 # trigger a bug in pdksh 5.2.14.
33245 for as_var in BASH_ENV ENV MAIL MAILPATH
33246 do eval test x\${$as_var+set} = xset \
33247   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
33248 done
33249 PS1='$ '
33250 PS2='> '
33251 PS4='+ '
33252
33253 # NLS nuisances.
33254 LC_ALL=C
33255 export LC_ALL
33256 LANGUAGE=C
33257 export LANGUAGE
33258
33259 # CDPATH.
33260 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
33261
33262
33263 # as_fn_error STATUS ERROR [LINENO LOG_FD]
33264 # ----------------------------------------
33265 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
33266 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
33267 # script with STATUS, using 1 if that was 0.
33268 as_fn_error ()
33269 {
33270   as_status=$1; test $as_status -eq 0 && as_status=1
33271   if test "$4"; then
33272     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
33273     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
33274   fi
33275   $as_echo "$as_me: error: $2" >&2
33276   as_fn_exit $as_status
33277 } # as_fn_error
33278
33279
33280 # as_fn_set_status STATUS
33281 # -----------------------
33282 # Set $? to STATUS, without forking.
33283 as_fn_set_status ()
33284 {
33285   return $1
33286 } # as_fn_set_status
33287
33288 # as_fn_exit STATUS
33289 # -----------------
33290 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
33291 as_fn_exit ()
33292 {
33293   set +e
33294   as_fn_set_status $1
33295   exit $1
33296 } # as_fn_exit
33297
33298 # as_fn_unset VAR
33299 # ---------------
33300 # Portably unset VAR.
33301 as_fn_unset ()
33302 {
33303   { eval $1=; unset $1;}
33304 }
33305 as_unset=as_fn_unset
33306 # as_fn_append VAR VALUE
33307 # ----------------------
33308 # Append the text in VALUE to the end of the definition contained in VAR. Take
33309 # advantage of any shell optimizations that allow amortized linear growth over
33310 # repeated appends, instead of the typical quadratic growth present in naive
33311 # implementations.
33312 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
33313   eval 'as_fn_append ()
33314   {
33315     eval $1+=\$2
33316   }'
33317 else
33318   as_fn_append ()
33319   {
33320     eval $1=\$$1\$2
33321   }
33322 fi # as_fn_append
33323
33324 # as_fn_arith ARG...
33325 # ------------------
33326 # Perform arithmetic evaluation on the ARGs, and store the result in the
33327 # global $as_val. Take advantage of shells that can avoid forks. The arguments
33328 # must be portable across $(()) and expr.
33329 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
33330   eval 'as_fn_arith ()
33331   {
33332     as_val=$(( $* ))
33333   }'
33334 else
33335   as_fn_arith ()
33336   {
33337     as_val=`expr "$@" || test $? -eq 1`
33338   }
33339 fi # as_fn_arith
33340
33341
33342 if expr a : '\(a\)' >/dev/null 2>&1 &&
33343    test "X`expr 00001 : '.*\(...\)'`" = X001; then
33344   as_expr=expr
33345 else
33346   as_expr=false
33347 fi
33348
33349 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
33350   as_basename=basename
33351 else
33352   as_basename=false
33353 fi
33354
33355 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
33356   as_dirname=dirname
33357 else
33358   as_dirname=false
33359 fi
33360
33361 as_me=`$as_basename -- "$0" ||
33362 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33363          X"$0" : 'X\(//\)$' \| \
33364          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
33365 $as_echo X/"$0" |
33366     sed '/^.*\/\([^/][^/]*\)\/*$/{
33367             s//\1/
33368             q
33369           }
33370           /^X\/\(\/\/\)$/{
33371             s//\1/
33372             q
33373           }
33374           /^X\/\(\/\).*/{
33375             s//\1/
33376             q
33377           }
33378           s/.*/./; q'`
33379
33380 # Avoid depending upon Character Ranges.
33381 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33382 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33383 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33384 as_cr_digits='0123456789'
33385 as_cr_alnum=$as_cr_Letters$as_cr_digits
33386
33387 ECHO_C= ECHO_N= ECHO_T=
33388 case `echo -n x` in #(((((
33389 -n*)
33390   case `echo 'xy\c'` in
33391   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
33392   xy)  ECHO_C='\c';;
33393   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
33394        ECHO_T=' ';;
33395   esac;;
33396 *)
33397   ECHO_N='-n';;
33398 esac
33399
33400 rm -f conf$$ conf$$.exe conf$$.file
33401 if test -d conf$$.dir; then
33402   rm -f conf$$.dir/conf$$.file
33403 else
33404   rm -f conf$$.dir
33405   mkdir conf$$.dir 2>/dev/null
33406 fi
33407 if (echo >conf$$.file) 2>/dev/null; then
33408   if ln -s conf$$.file conf$$ 2>/dev/null; then
33409     as_ln_s='ln -s'
33410     # ... but there are two gotchas:
33411     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
33412     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
33413     # In both cases, we have to default to `cp -p'.
33414     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
33415       as_ln_s='cp -p'
33416   elif ln conf$$.file conf$$ 2>/dev/null; then
33417     as_ln_s=ln
33418   else
33419     as_ln_s='cp -p'
33420   fi
33421 else
33422   as_ln_s='cp -p'
33423 fi
33424 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
33425 rmdir conf$$.dir 2>/dev/null
33426
33427
33428 # as_fn_mkdir_p
33429 # -------------
33430 # Create "$as_dir" as a directory, including parents if necessary.
33431 as_fn_mkdir_p ()
33432 {
33433
33434   case $as_dir in #(
33435   -*) as_dir=./$as_dir;;
33436   esac
33437   test -d "$as_dir" || eval $as_mkdir_p || {
33438     as_dirs=
33439     while :; do
33440       case $as_dir in #(
33441       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
33442       *) as_qdir=$as_dir;;
33443       esac
33444       as_dirs="'$as_qdir' $as_dirs"
33445       as_dir=`$as_dirname -- "$as_dir" ||
33446 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33447          X"$as_dir" : 'X\(//\)[^/]' \| \
33448          X"$as_dir" : 'X\(//\)$' \| \
33449          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
33450 $as_echo X"$as_dir" |
33451     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33452             s//\1/
33453             q
33454           }
33455           /^X\(\/\/\)[^/].*/{
33456             s//\1/
33457             q
33458           }
33459           /^X\(\/\/\)$/{
33460             s//\1/
33461             q
33462           }
33463           /^X\(\/\).*/{
33464             s//\1/
33465             q
33466           }
33467           s/.*/./; q'`
33468       test -d "$as_dir" && break
33469     done
33470     test -z "$as_dirs" || eval "mkdir $as_dirs"
33471   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
33472
33473
33474 } # as_fn_mkdir_p
33475 if mkdir -p . 2>/dev/null; then
33476   as_mkdir_p='mkdir -p "$as_dir"'
33477 else
33478   test -d ./-p && rmdir ./-p
33479   as_mkdir_p=false
33480 fi
33481
33482 if test -x / >/dev/null 2>&1; then
33483   as_test_x='test -x'
33484 else
33485   if ls -dL / >/dev/null 2>&1; then
33486     as_ls_L_option=L
33487   else
33488     as_ls_L_option=
33489   fi
33490   as_test_x='
33491     eval sh -c '\''
33492       if test -d "$1"; then
33493         test -d "$1/.";
33494       else
33495         case $1 in #(
33496         -*)set "./$1";;
33497         esac;
33498         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
33499         ???[sx]*):;;*)false;;esac;fi
33500     '\'' sh
33501   '
33502 fi
33503 as_executable_p=$as_test_x
33504
33505 # Sed expression to map a string onto a valid CPP name.
33506 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
33507
33508 # Sed expression to map a string onto a valid variable name.
33509 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
33510
33511
33512 exec 6>&1
33513 ## ----------------------------------- ##
33514 ## Main body of $CONFIG_STATUS script. ##
33515 ## ----------------------------------- ##
33516 _ASEOF
33517 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
33518
33519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33520 # Save the log message, to keep $0 and so on meaningful, and to
33521 # report actual input values of CONFIG_FILES etc. instead of their
33522 # values after options handling.
33523 ac_log="
33524 This file was extended by evas $as_me 1.7.1, which was
33525 generated by GNU Autoconf 2.67.  Invocation command line was
33526
33527   CONFIG_FILES    = $CONFIG_FILES
33528   CONFIG_HEADERS  = $CONFIG_HEADERS
33529   CONFIG_LINKS    = $CONFIG_LINKS
33530   CONFIG_COMMANDS = $CONFIG_COMMANDS
33531   $ $0 $@
33532
33533 on `(hostname || uname -n) 2>/dev/null | sed 1q`
33534 "
33535
33536 _ACEOF
33537
33538 case $ac_config_files in *"
33539 "*) set x $ac_config_files; shift; ac_config_files=$*;;
33540 esac
33541
33542 case $ac_config_headers in *"
33543 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
33544 esac
33545
33546
33547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33548 # Files that config.status was made for.
33549 config_files="$ac_config_files"
33550 config_headers="$ac_config_headers"
33551 config_commands="$ac_config_commands"
33552
33553 _ACEOF
33554
33555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33556 ac_cs_usage="\
33557 \`$as_me' instantiates files and other configuration actions
33558 from templates according to the current configuration.  Unless the files
33559 and actions are specified as TAGs, all are instantiated by default.
33560
33561 Usage: $0 [OPTION]... [TAG]...
33562
33563   -h, --help       print this help, then exit
33564   -V, --version    print version number and configuration settings, then exit
33565       --config     print configuration, then exit
33566   -q, --quiet, --silent
33567                    do not print progress messages
33568   -d, --debug      don't remove temporary files
33569       --recheck    update $as_me by reconfiguring in the same conditions
33570       --file=FILE[:TEMPLATE]
33571                    instantiate the configuration file FILE
33572       --header=FILE[:TEMPLATE]
33573                    instantiate the configuration header FILE
33574
33575 Configuration files:
33576 $config_files
33577
33578 Configuration headers:
33579 $config_headers
33580
33581 Configuration commands:
33582 $config_commands
33583
33584 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
33585
33586 _ACEOF
33587 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33588 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
33589 ac_cs_version="\\
33590 evas config.status 1.7.1
33591 configured by $0, generated by GNU Autoconf 2.67,
33592   with options \\"\$ac_cs_config\\"
33593
33594 Copyright (C) 2010 Free Software Foundation, Inc.
33595 This config.status script is free software; the Free Software Foundation
33596 gives unlimited permission to copy, distribute and modify it."
33597
33598 ac_pwd='$ac_pwd'
33599 srcdir='$srcdir'
33600 INSTALL='$INSTALL'
33601 MKDIR_P='$MKDIR_P'
33602 AWK='$AWK'
33603 test -n "\$AWK" || AWK=awk
33604 _ACEOF
33605
33606 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33607 # The default lists apply if the user does not specify any file.
33608 ac_need_defaults=:
33609 while test $# != 0
33610 do
33611   case $1 in
33612   --*=?*)
33613     ac_option=`expr "X$1" : 'X\([^=]*\)='`
33614     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
33615     ac_shift=:
33616     ;;
33617   --*=)
33618     ac_option=`expr "X$1" : 'X\([^=]*\)='`
33619     ac_optarg=
33620     ac_shift=:
33621     ;;
33622   *)
33623     ac_option=$1
33624     ac_optarg=$2
33625     ac_shift=shift
33626     ;;
33627   esac
33628
33629   case $ac_option in
33630   # Handling of the options.
33631   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
33632     ac_cs_recheck=: ;;
33633   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
33634     $as_echo "$ac_cs_version"; exit ;;
33635   --config | --confi | --conf | --con | --co | --c )
33636     $as_echo "$ac_cs_config"; exit ;;
33637   --debug | --debu | --deb | --de | --d | -d )
33638     debug=: ;;
33639   --file | --fil | --fi | --f )
33640     $ac_shift
33641     case $ac_optarg in
33642     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
33643     '') as_fn_error $? "missing file argument" ;;
33644     esac
33645     as_fn_append CONFIG_FILES " '$ac_optarg'"
33646     ac_need_defaults=false;;
33647   --header | --heade | --head | --hea )
33648     $ac_shift
33649     case $ac_optarg in
33650     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
33651     esac
33652     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
33653     ac_need_defaults=false;;
33654   --he | --h)
33655     # Conflict between --help and --header
33656     as_fn_error $? "ambiguous option: \`$1'
33657 Try \`$0 --help' for more information.";;
33658   --help | --hel | -h )
33659     $as_echo "$ac_cs_usage"; exit ;;
33660   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
33661   | -silent | --silent | --silen | --sile | --sil | --si | --s)
33662     ac_cs_silent=: ;;
33663
33664   # This is an error.
33665   -*) as_fn_error $? "unrecognized option: \`$1'
33666 Try \`$0 --help' for more information." ;;
33667
33668   *) as_fn_append ac_config_targets " $1"
33669      ac_need_defaults=false ;;
33670
33671   esac
33672   shift
33673 done
33674
33675 ac_configure_extra_args=
33676
33677 if $ac_cs_silent; then
33678   exec 6>/dev/null
33679   ac_configure_extra_args="$ac_configure_extra_args --silent"
33680 fi
33681
33682 _ACEOF
33683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33684 if \$ac_cs_recheck; then
33685   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
33686   shift
33687   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
33688   CONFIG_SHELL='$SHELL'
33689   export CONFIG_SHELL
33690   exec "\$@"
33691 fi
33692
33693 _ACEOF
33694 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33695 exec 5>>config.log
33696 {
33697   echo
33698   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
33699 ## Running $as_me. ##
33700 _ASBOX
33701   $as_echo "$ac_log"
33702 } >&5
33703
33704 _ACEOF
33705 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33706 #
33707 # INIT-COMMANDS
33708 #
33709 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
33710
33711
33712 # The HP-UX ksh and POSIX shell print the target directory to stdout
33713 # if CDPATH is set.
33714 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
33715
33716 sed_quote_subst='$sed_quote_subst'
33717 double_quote_subst='$double_quote_subst'
33718 delay_variable_subst='$delay_variable_subst'
33719 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
33720 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
33721 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
33722 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
33723 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
33724 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
33725 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
33726 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
33727 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
33728 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
33729 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
33730 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
33731 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
33732 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
33733 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
33734 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
33735 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
33736 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
33737 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
33738 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
33739 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
33740 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
33741 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
33742 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
33743 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
33744 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
33745 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
33746 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
33747 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
33748 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
33749 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33750 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
33751 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
33752 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
33753 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
33754 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
33755 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
33756 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33757 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33758 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33759 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
33760 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
33761 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
33762 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
33763 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
33764 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
33765 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
33766 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
33767 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
33768 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
33769 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
33770 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
33771 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
33772 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
33773 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
33774 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
33775 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
33776 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
33777 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
33778 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
33779 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
33780 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
33781 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
33782 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
33783 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33784 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33785 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
33786 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
33787 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
33788 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
33789 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
33790 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33791 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33792 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33793 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33794 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33795 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33796 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
33797 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
33798 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
33799 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
33800 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
33801 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
33802 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
33803 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
33804 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
33805 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
33806 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
33807 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
33808 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
33809 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
33810 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
33811 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33812 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
33813 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
33814 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33815 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
33816 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
33817 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
33818 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
33819 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
33820 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
33821 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
33822 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
33823 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
33824 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
33825 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
33826 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33827 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33828 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33829 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
33830 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
33831 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
33832 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
33833 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
33834 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
33835 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
33836 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
33837 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
33838 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
33839 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
33840 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
33841 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
33842 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
33843 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
33844 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
33845 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33846 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33847 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33848 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33849 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33850 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33851 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33852 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33853 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33854 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33855 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33856 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33857 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33858 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33859 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33860 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33861 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33862 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33863 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33864 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33865 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33866 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33867 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33868 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33869 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33870 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33871 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33872 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33873 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33874 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33875 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33876 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33877 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33878 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33879 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33880 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33881 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33882 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33883 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33884 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33885 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33886 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33887 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33888 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33889 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33890 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33891 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33892
33893 LTCC='$LTCC'
33894 LTCFLAGS='$LTCFLAGS'
33895 compiler='$compiler_DEFAULT'
33896
33897 # Quote evaled strings.
33898 for var in SED \
33899 GREP \
33900 EGREP \
33901 FGREP \
33902 LD \
33903 NM \
33904 LN_S \
33905 lt_SP2NL \
33906 lt_NL2SP \
33907 reload_flag \
33908 deplibs_check_method \
33909 file_magic_cmd \
33910 AR \
33911 AR_FLAGS \
33912 STRIP \
33913 RANLIB \
33914 CC \
33915 CFLAGS \
33916 compiler \
33917 lt_cv_sys_global_symbol_pipe \
33918 lt_cv_sys_global_symbol_to_cdecl \
33919 lt_cv_sys_global_symbol_to_c_name_address \
33920 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
33921 SHELL \
33922 ECHO \
33923 lt_prog_compiler_no_builtin_flag \
33924 lt_prog_compiler_wl \
33925 lt_prog_compiler_pic \
33926 lt_prog_compiler_static \
33927 lt_cv_prog_compiler_c_o \
33928 need_locks \
33929 DSYMUTIL \
33930 NMEDIT \
33931 LIPO \
33932 OTOOL \
33933 OTOOL64 \
33934 shrext_cmds \
33935 export_dynamic_flag_spec \
33936 whole_archive_flag_spec \
33937 compiler_needs_object \
33938 with_gnu_ld \
33939 allow_undefined_flag \
33940 no_undefined_flag \
33941 hardcode_libdir_flag_spec \
33942 hardcode_libdir_flag_spec_ld \
33943 hardcode_libdir_separator \
33944 fix_srcfile_path \
33945 exclude_expsyms \
33946 include_expsyms \
33947 file_list_spec \
33948 variables_saved_for_relink \
33949 libname_spec \
33950 library_names_spec \
33951 soname_spec \
33952 finish_eval \
33953 old_striplib \
33954 striplib \
33955 compiler_lib_search_dirs \
33956 predep_objects \
33957 postdep_objects \
33958 predeps \
33959 postdeps \
33960 compiler_lib_search_path \
33961 LD_CXX \
33962 compiler_CXX \
33963 lt_prog_compiler_no_builtin_flag_CXX \
33964 lt_prog_compiler_wl_CXX \
33965 lt_prog_compiler_pic_CXX \
33966 lt_prog_compiler_static_CXX \
33967 lt_cv_prog_compiler_c_o_CXX \
33968 export_dynamic_flag_spec_CXX \
33969 whole_archive_flag_spec_CXX \
33970 compiler_needs_object_CXX \
33971 with_gnu_ld_CXX \
33972 allow_undefined_flag_CXX \
33973 no_undefined_flag_CXX \
33974 hardcode_libdir_flag_spec_CXX \
33975 hardcode_libdir_flag_spec_ld_CXX \
33976 hardcode_libdir_separator_CXX \
33977 fix_srcfile_path_CXX \
33978 exclude_expsyms_CXX \
33979 include_expsyms_CXX \
33980 file_list_spec_CXX \
33981 compiler_lib_search_dirs_CXX \
33982 predep_objects_CXX \
33983 postdep_objects_CXX \
33984 predeps_CXX \
33985 postdeps_CXX \
33986 compiler_lib_search_path_CXX; do
33987     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
33988     *[\\\\\\\`\\"\\\$]*)
33989       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
33990       ;;
33991     *)
33992       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
33993       ;;
33994     esac
33995 done
33996
33997 # Double-quote double-evaled strings.
33998 for var in reload_cmds \
33999 old_postinstall_cmds \
34000 old_postuninstall_cmds \
34001 old_archive_cmds \
34002 extract_expsyms_cmds \
34003 old_archive_from_new_cmds \
34004 old_archive_from_expsyms_cmds \
34005 archive_cmds \
34006 archive_expsym_cmds \
34007 module_cmds \
34008 module_expsym_cmds \
34009 export_symbols_cmds \
34010 prelink_cmds \
34011 postinstall_cmds \
34012 postuninstall_cmds \
34013 finish_cmds \
34014 sys_lib_search_path_spec \
34015 sys_lib_dlsearch_path_spec \
34016 old_archive_cmds_CXX \
34017 old_archive_from_new_cmds_CXX \
34018 old_archive_from_expsyms_cmds_CXX \
34019 archive_cmds_CXX \
34020 archive_expsym_cmds_CXX \
34021 module_cmds_CXX \
34022 module_expsym_cmds_CXX \
34023 export_symbols_cmds_CXX \
34024 prelink_cmds_CXX; do
34025     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
34026     *[\\\\\\\`\\"\\\$]*)
34027       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
34028       ;;
34029     *)
34030       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34031       ;;
34032     esac
34033 done
34034
34035 # Fix-up fallback echo if it was mangled by the above quoting rules.
34036 case \$lt_ECHO in
34037 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
34038   ;;
34039 esac
34040
34041 ac_aux_dir='$ac_aux_dir'
34042 xsi_shell='$xsi_shell'
34043 lt_shell_append='$lt_shell_append'
34044
34045 # See if we are running on zsh, and set the options which allow our
34046 # commands through without removal of \ escapes INIT.
34047 if test -n "\${ZSH_VERSION+set}" ; then
34048    setopt NO_GLOB_SUBST
34049 fi
34050
34051
34052     PACKAGE='$PACKAGE'
34053     VERSION='$VERSION'
34054     TIMESTAMP='$TIMESTAMP'
34055     RM='$RM'
34056     ofile='$ofile'
34057
34058
34059
34060
34061
34062
34063 _ACEOF
34064
34065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34066
34067 # Handling of arguments.
34068 for ac_config_target in $ac_config_targets
34069 do
34070   case $ac_config_target in
34071     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
34072     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
34073     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
34074     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
34075     "evas-directfb.pc") CONFIG_FILES="$CONFIG_FILES evas-directfb.pc" ;;
34076     "evas-fb.pc") CONFIG_FILES="$CONFIG_FILES evas-fb.pc" ;;
34077     "evas-opengl-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-opengl-x11.pc" ;;
34078     "evas-opengl-sdl.pc") CONFIG_FILES="$CONFIG_FILES evas-opengl-sdl.pc" ;;
34079     "evas-opengl-cocoa.pc") CONFIG_FILES="$CONFIG_FILES evas-opengl-cocoa.pc" ;;
34080     "evas-software-buffer.pc") CONFIG_FILES="$CONFIG_FILES evas-software-buffer.pc" ;;
34081     "evas-software-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-software-x11.pc" ;;
34082     "evas-software-8-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-software-8-x11.pc" ;;
34083     "evas-software-16-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-software-16-x11.pc" ;;
34084     "evas-software-gdi.pc") CONFIG_FILES="$CONFIG_FILES evas-software-gdi.pc" ;;
34085     "evas-software-ddraw.pc") CONFIG_FILES="$CONFIG_FILES evas-software-ddraw.pc" ;;
34086     "evas-direct3d.pc") CONFIG_FILES="$CONFIG_FILES evas-direct3d.pc" ;;
34087     "evas-software-16-wince.pc") CONFIG_FILES="$CONFIG_FILES evas-software-16-wince.pc" ;;
34088     "evas-software-sdl.pc") CONFIG_FILES="$CONFIG_FILES evas-software-sdl.pc" ;;
34089     "evas-psl1ght.pc") CONFIG_FILES="$CONFIG_FILES evas-psl1ght.pc" ;;
34090     "evas-wayland-shm.pc") CONFIG_FILES="$CONFIG_FILES evas-wayland-shm.pc" ;;
34091     "evas-wayland-egl.pc") CONFIG_FILES="$CONFIG_FILES evas-wayland-egl.pc" ;;
34092     "evas.pc") CONFIG_FILES="$CONFIG_FILES evas.pc" ;;
34093     "doc/evas.dox") CONFIG_FILES="$CONFIG_FILES doc/evas.dox" ;;
34094     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
34095     "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
34096     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
34097     "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
34098     "src/bin/loaders/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/Makefile" ;;
34099     "src/bin/loaders/jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/jpeg/Makefile" ;;
34100     "src/bin/loaders/png/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/png/Makefile" ;;
34101     "src/bin/loaders/eet/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/eet/Makefile" ;;
34102     "src/bin/loaders/tiff/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/tiff/Makefile" ;;
34103     "src/bin/loaders/xpm/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/xpm/Makefile" ;;
34104     "src/bin/loaders/bmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/bmp/Makefile" ;;
34105     "src/bin/loaders/ico/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/ico/Makefile" ;;
34106     "src/bin/loaders/tga/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/tga/Makefile" ;;
34107     "src/bin/loaders/pmaps/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/pmaps/Makefile" ;;
34108     "src/bin/loaders/wbmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/wbmp/Makefile" ;;
34109     "src/bin/loaders/psd/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/psd/Makefile" ;;
34110     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
34111     "src/lib/canvas/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/canvas/Makefile" ;;
34112     "src/lib/file/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/file/Makefile" ;;
34113     "src/lib/cache/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cache/Makefile" ;;
34114     "src/lib/cache2/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cache2/Makefile" ;;
34115     "src/lib/cserve/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cserve/Makefile" ;;
34116     "src/lib/cserve2/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cserve2/Makefile" ;;
34117     "src/lib/engines/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/Makefile" ;;
34118     "src/lib/engines/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/Makefile" ;;
34119     "src/lib/engines/common/evas_op_add/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_add/Makefile" ;;
34120     "src/lib/engines/common/evas_op_blend/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_blend/Makefile" ;;
34121     "src/lib/engines/common/evas_op_copy/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_copy/Makefile" ;;
34122     "src/lib/engines/common/evas_op_mask/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_mask/Makefile" ;;
34123     "src/lib/engines/common/evas_op_mul/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_mul/Makefile" ;;
34124     "src/lib/engines/common/evas_op_sub/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_sub/Makefile" ;;
34125     "src/lib/engines/common_8/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common_8/Makefile" ;;
34126     "src/lib/engines/common_16/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common_16/Makefile" ;;
34127     "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
34128     "src/modules/engines/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/Makefile" ;;
34129     "src/modules/engines/software_generic/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_generic/Makefile" ;;
34130     "src/modules/engines/software_gdi/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_gdi/Makefile" ;;
34131     "src/modules/engines/software_ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_ddraw/Makefile" ;;
34132     "src/modules/engines/direct3d/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/direct3d/Makefile" ;;
34133     "src/modules/engines/software_16_wince/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16_wince/Makefile" ;;
34134     "src/modules/engines/software_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_x11/Makefile" ;;
34135     "src/modules/engines/fb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/fb/Makefile" ;;
34136     "src/modules/engines/buffer/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/buffer/Makefile" ;;
34137     "src/modules/engines/directfb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/directfb/Makefile" ;;
34138     "src/modules/engines/gl_common/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_common/Makefile" ;;
34139     "src/modules/engines/gl_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_x11/Makefile" ;;
34140     "src/modules/engines/gl_sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_sdl/Makefile" ;;
34141     "src/modules/engines/gl_cocoa/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_cocoa/Makefile" ;;
34142     "src/modules/engines/psl1ght/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/psl1ght/Makefile" ;;
34143     "src/modules/engines/software_8/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_8/Makefile" ;;
34144     "src/modules/engines/software_8_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_8_x11/Makefile" ;;
34145     "src/modules/engines/software_16/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16/Makefile" ;;
34146     "src/modules/engines/software_16_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16_x11/Makefile" ;;
34147     "src/modules/engines/software_16_sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16_sdl/Makefile" ;;
34148     "src/modules/engines/wayland_shm/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/wayland_shm/Makefile" ;;
34149     "src/modules/engines/wayland_egl/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/wayland_egl/Makefile" ;;
34150     "src/modules/loaders/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/Makefile" ;;
34151     "src/modules/loaders/edb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/edb/Makefile" ;;
34152     "src/modules/loaders/eet/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/eet/Makefile" ;;
34153     "src/modules/loaders/gif/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/gif/Makefile" ;;
34154     "src/modules/loaders/jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/jpeg/Makefile" ;;
34155     "src/modules/loaders/png/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/png/Makefile" ;;
34156     "src/modules/loaders/tiff/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/tiff/Makefile" ;;
34157     "src/modules/loaders/xpm/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/xpm/Makefile" ;;
34158     "src/modules/loaders/bmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/bmp/Makefile" ;;
34159     "src/modules/loaders/ico/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/ico/Makefile" ;;
34160     "src/modules/loaders/tga/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/tga/Makefile" ;;
34161     "src/modules/loaders/svg/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/svg/Makefile" ;;
34162     "src/modules/loaders/pmaps/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/pmaps/Makefile" ;;
34163     "src/modules/loaders/wbmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/wbmp/Makefile" ;;
34164     "src/modules/loaders/psd/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/psd/Makefile" ;;
34165     "src/modules/loaders/generic/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/generic/Makefile" ;;
34166     "src/modules/savers/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/Makefile" ;;
34167     "src/modules/savers/edb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/edb/Makefile" ;;
34168     "src/modules/savers/eet/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/eet/Makefile" ;;
34169     "src/modules/savers/jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/jpeg/Makefile" ;;
34170     "src/modules/savers/png/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/png/Makefile" ;;
34171     "src/modules/savers/tiff/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/tiff/Makefile" ;;
34172     "src/static_deps/Makefile") CONFIG_FILES="$CONFIG_FILES src/static_deps/Makefile" ;;
34173     "src/static_deps/liblinebreak/Makefile") CONFIG_FILES="$CONFIG_FILES src/static_deps/liblinebreak/Makefile" ;;
34174     "src/lib/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/include/Makefile" ;;
34175     "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
34176     "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
34177     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
34178     "evas.spec") CONFIG_FILES="$CONFIG_FILES evas.spec" ;;
34179
34180   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
34181   esac
34182 done
34183
34184
34185 # If the user did not use the arguments to specify the items to instantiate,
34186 # then the envvar interface is used.  Set only those that are not.
34187 # We use the long form for the default assignment because of an extremely
34188 # bizarre bug on SunOS 4.1.3.
34189 if $ac_need_defaults; then
34190   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
34191   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
34192   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
34193 fi
34194
34195 # Have a temporary directory for convenience.  Make it in the build tree
34196 # simply because there is no reason against having it here, and in addition,
34197 # creating and moving files from /tmp can sometimes cause problems.
34198 # Hook for its removal unless debugging.
34199 # Note that there is a small window in which the directory will not be cleaned:
34200 # after its creation but before its name has been assigned to `$tmp'.
34201 $debug ||
34202 {
34203   tmp=
34204   trap 'exit_status=$?
34205   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
34206 ' 0
34207   trap 'as_fn_exit 1' 1 2 13 15
34208 }
34209 # Create a (secure) tmp directory for tmp files.
34210
34211 {
34212   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
34213   test -n "$tmp" && test -d "$tmp"
34214 }  ||
34215 {
34216   tmp=./conf$$-$RANDOM
34217   (umask 077 && mkdir "$tmp")
34218 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
34219
34220 # Set up the scripts for CONFIG_FILES section.
34221 # No need to generate them if there are no CONFIG_FILES.
34222 # This happens for instance with `./config.status config.h'.
34223 if test -n "$CONFIG_FILES"; then
34224
34225
34226 ac_cr=`echo X | tr X '\015'`
34227 # On cygwin, bash can eat \r inside `` if the user requested igncr.
34228 # But we know of no other shell where ac_cr would be empty at this
34229 # point, so we can use a bashism as a fallback.
34230 if test "x$ac_cr" = x; then
34231   eval ac_cr=\$\'\\r\'
34232 fi
34233 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
34234 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
34235   ac_cs_awk_cr='\\r'
34236 else
34237   ac_cs_awk_cr=$ac_cr
34238 fi
34239
34240 echo 'BEGIN {' >"$tmp/subs1.awk" &&
34241 _ACEOF
34242
34243
34244 {
34245   echo "cat >conf$$subs.awk <<_ACEOF" &&
34246   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
34247   echo "_ACEOF"
34248 } >conf$$subs.sh ||
34249   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
34250 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
34251 ac_delim='%!_!# '
34252 for ac_last_try in false false false false false :; do
34253   . ./conf$$subs.sh ||
34254     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
34255
34256   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
34257   if test $ac_delim_n = $ac_delim_num; then
34258     break
34259   elif $ac_last_try; then
34260     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
34261   else
34262     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34263   fi
34264 done
34265 rm -f conf$$subs.sh
34266
34267 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34268 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
34269 _ACEOF
34270 sed -n '
34271 h
34272 s/^/S["/; s/!.*/"]=/
34273 p
34274 g
34275 s/^[^!]*!//
34276 :repl
34277 t repl
34278 s/'"$ac_delim"'$//
34279 t delim
34280 :nl
34281 h
34282 s/\(.\{148\}\)..*/\1/
34283 t more1
34284 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
34285 p
34286 n
34287 b repl
34288 :more1
34289 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
34290 p
34291 g
34292 s/.\{148\}//
34293 t nl
34294 :delim
34295 h
34296 s/\(.\{148\}\)..*/\1/
34297 t more2
34298 s/["\\]/\\&/g; s/^/"/; s/$/"/
34299 p
34300 b
34301 :more2
34302 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
34303 p
34304 g
34305 s/.\{148\}//
34306 t delim
34307 ' <conf$$subs.awk | sed '
34308 /^[^""]/{
34309   N
34310   s/\n//
34311 }
34312 ' >>$CONFIG_STATUS || ac_write_fail=1
34313 rm -f conf$$subs.awk
34314 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34315 _ACAWK
34316 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
34317   for (key in S) S_is_set[key] = 1
34318   FS = "\a"
34319
34320 }
34321 {
34322   line = $ 0
34323   nfields = split(line, field, "@")
34324   substed = 0
34325   len = length(field[1])
34326   for (i = 2; i < nfields; i++) {
34327     key = field[i]
34328     keylen = length(key)
34329     if (S_is_set[key]) {
34330       value = S[key]
34331       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
34332       len += length(value) + length(field[++i])
34333       substed = 1
34334     } else
34335       len += 1 + keylen
34336   }
34337
34338   print line
34339 }
34340
34341 _ACAWK
34342 _ACEOF
34343 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34344 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
34345   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
34346 else
34347   cat
34348 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
34349   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
34350 _ACEOF
34351
34352 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
34353 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
34354 # trailing colons and then remove the whole line if VPATH becomes empty
34355 # (actually we leave an empty line to preserve line numbers).
34356 if test "x$srcdir" = x.; then
34357   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
34358 h
34359 s///
34360 s/^/:/
34361 s/[      ]*$/:/
34362 s/:\$(srcdir):/:/g
34363 s/:\${srcdir}:/:/g
34364 s/:@srcdir@:/:/g
34365 s/^:*//
34366 s/:*$//
34367 x
34368 s/\(=[   ]*\).*/\1/
34369 G
34370 s/\n//
34371 s/^[^=]*=[       ]*$//
34372 }'
34373 fi
34374
34375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34376 fi # test -n "$CONFIG_FILES"
34377
34378 # Set up the scripts for CONFIG_HEADERS section.
34379 # No need to generate them if there are no CONFIG_HEADERS.
34380 # This happens for instance with `./config.status Makefile'.
34381 if test -n "$CONFIG_HEADERS"; then
34382 cat >"$tmp/defines.awk" <<\_ACAWK ||
34383 BEGIN {
34384 _ACEOF
34385
34386 # Transform confdefs.h into an awk script `defines.awk', embedded as
34387 # here-document in config.status, that substitutes the proper values into
34388 # config.h.in to produce config.h.
34389
34390 # Create a delimiter string that does not exist in confdefs.h, to ease
34391 # handling of long lines.
34392 ac_delim='%!_!# '
34393 for ac_last_try in false false :; do
34394   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
34395   if test -z "$ac_t"; then
34396     break
34397   elif $ac_last_try; then
34398     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
34399   else
34400     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34401   fi
34402 done
34403
34404 # For the awk script, D is an array of macro values keyed by name,
34405 # likewise P contains macro parameters if any.  Preserve backslash
34406 # newline sequences.
34407
34408 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
34409 sed -n '
34410 s/.\{148\}/&'"$ac_delim"'/g
34411 t rset
34412 :rset
34413 s/^[     ]*#[    ]*define[       ][      ]*/ /
34414 t def
34415 d
34416 :def
34417 s/\\$//
34418 t bsnl
34419 s/["\\]/\\&/g
34420 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
34421 D["\1"]=" \3"/p
34422 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
34423 d
34424 :bsnl
34425 s/["\\]/\\&/g
34426 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
34427 D["\1"]=" \3\\\\\\n"\\/p
34428 t cont
34429 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
34430 t cont
34431 d
34432 :cont
34433 n
34434 s/.\{148\}/&'"$ac_delim"'/g
34435 t clear
34436 :clear
34437 s/\\$//
34438 t bsnlc
34439 s/["\\]/\\&/g; s/^/"/; s/$/"/p
34440 d
34441 :bsnlc
34442 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
34443 b cont
34444 ' <confdefs.h | sed '
34445 s/'"$ac_delim"'/"\\\
34446 "/g' >>$CONFIG_STATUS || ac_write_fail=1
34447
34448 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34449   for (key in D) D_is_set[key] = 1
34450   FS = "\a"
34451 }
34452 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
34453   line = \$ 0
34454   split(line, arg, " ")
34455   if (arg[1] == "#") {
34456     defundef = arg[2]
34457     mac1 = arg[3]
34458   } else {
34459     defundef = substr(arg[1], 2)
34460     mac1 = arg[2]
34461   }
34462   split(mac1, mac2, "(") #)
34463   macro = mac2[1]
34464   prefix = substr(line, 1, index(line, defundef) - 1)
34465   if (D_is_set[macro]) {
34466     # Preserve the white space surrounding the "#".
34467     print prefix "define", macro P[macro] D[macro]
34468     next
34469   } else {
34470     # Replace #undef with comments.  This is necessary, for example,
34471     # in the case of _POSIX_SOURCE, which is predefined and required
34472     # on some systems where configure will not decide to define it.
34473     if (defundef == "undef") {
34474       print "/*", prefix defundef, macro, "*/"
34475       next
34476     }
34477   }
34478 }
34479 { print }
34480 _ACAWK
34481 _ACEOF
34482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34483   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
34484 fi # test -n "$CONFIG_HEADERS"
34485
34486
34487 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
34488 shift
34489 for ac_tag
34490 do
34491   case $ac_tag in
34492   :[FHLC]) ac_mode=$ac_tag; continue;;
34493   esac
34494   case $ac_mode$ac_tag in
34495   :[FHL]*:*);;
34496   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
34497   :[FH]-) ac_tag=-:-;;
34498   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
34499   esac
34500   ac_save_IFS=$IFS
34501   IFS=:
34502   set x $ac_tag
34503   IFS=$ac_save_IFS
34504   shift
34505   ac_file=$1
34506   shift
34507
34508   case $ac_mode in
34509   :L) ac_source=$1;;
34510   :[FH])
34511     ac_file_inputs=
34512     for ac_f
34513     do
34514       case $ac_f in
34515       -) ac_f="$tmp/stdin";;
34516       *) # Look for the file first in the build tree, then in the source tree
34517          # (if the path is not absolute).  The absolute path cannot be DOS-style,
34518          # because $ac_f cannot contain `:'.
34519          test -f "$ac_f" ||
34520            case $ac_f in
34521            [\\/$]*) false;;
34522            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
34523            esac ||
34524            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
34525       esac
34526       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
34527       as_fn_append ac_file_inputs " '$ac_f'"
34528     done
34529
34530     # Let's still pretend it is `configure' which instantiates (i.e., don't
34531     # use $as_me), people would be surprised to read:
34532     #    /* config.h.  Generated by config.status.  */
34533     configure_input='Generated from '`
34534           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
34535         `' by configure.'
34536     if test x"$ac_file" != x-; then
34537       configure_input="$ac_file.  $configure_input"
34538       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
34539 $as_echo "$as_me: creating $ac_file" >&6;}
34540     fi
34541     # Neutralize special characters interpreted by sed in replacement strings.
34542     case $configure_input in #(
34543     *\&* | *\|* | *\\* )
34544        ac_sed_conf_input=`$as_echo "$configure_input" |
34545        sed 's/[\\\\&|]/\\\\&/g'`;; #(
34546     *) ac_sed_conf_input=$configure_input;;
34547     esac
34548
34549     case $ac_tag in
34550     *:-:* | *:-) cat >"$tmp/stdin" \
34551       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
34552     esac
34553     ;;
34554   esac
34555
34556   ac_dir=`$as_dirname -- "$ac_file" ||
34557 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34558          X"$ac_file" : 'X\(//\)[^/]' \| \
34559          X"$ac_file" : 'X\(//\)$' \| \
34560          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
34561 $as_echo X"$ac_file" |
34562     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34563             s//\1/
34564             q
34565           }
34566           /^X\(\/\/\)[^/].*/{
34567             s//\1/
34568             q
34569           }
34570           /^X\(\/\/\)$/{
34571             s//\1/
34572             q
34573           }
34574           /^X\(\/\).*/{
34575             s//\1/
34576             q
34577           }
34578           s/.*/./; q'`
34579   as_dir="$ac_dir"; as_fn_mkdir_p
34580   ac_builddir=.
34581
34582 case "$ac_dir" in
34583 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
34584 *)
34585   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
34586   # A ".." for each directory in $ac_dir_suffix.
34587   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
34588   case $ac_top_builddir_sub in
34589   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
34590   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
34591   esac ;;
34592 esac
34593 ac_abs_top_builddir=$ac_pwd
34594 ac_abs_builddir=$ac_pwd$ac_dir_suffix
34595 # for backward compatibility:
34596 ac_top_builddir=$ac_top_build_prefix
34597
34598 case $srcdir in
34599   .)  # We are building in place.
34600     ac_srcdir=.
34601     ac_top_srcdir=$ac_top_builddir_sub
34602     ac_abs_top_srcdir=$ac_pwd ;;
34603   [\\/]* | ?:[\\/]* )  # Absolute name.
34604     ac_srcdir=$srcdir$ac_dir_suffix;
34605     ac_top_srcdir=$srcdir
34606     ac_abs_top_srcdir=$srcdir ;;
34607   *) # Relative name.
34608     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
34609     ac_top_srcdir=$ac_top_build_prefix$srcdir
34610     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
34611 esac
34612 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
34613
34614
34615   case $ac_mode in
34616   :F)
34617   #
34618   # CONFIG_FILE
34619   #
34620
34621   case $INSTALL in
34622   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
34623   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
34624   esac
34625   ac_MKDIR_P=$MKDIR_P
34626   case $MKDIR_P in
34627   [\\/$]* | ?:[\\/]* ) ;;
34628   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
34629   esac
34630 _ACEOF
34631
34632 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34633 # If the template does not know about datarootdir, expand it.
34634 # FIXME: This hack should be removed a few years after 2.60.
34635 ac_datarootdir_hack=; ac_datarootdir_seen=
34636 ac_sed_dataroot='
34637 /datarootdir/ {
34638   p
34639   q
34640 }
34641 /@datadir@/p
34642 /@docdir@/p
34643 /@infodir@/p
34644 /@localedir@/p
34645 /@mandir@/p'
34646 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
34647 *datarootdir*) ac_datarootdir_seen=yes;;
34648 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
34649   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
34650 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
34651 _ACEOF
34652 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34653   ac_datarootdir_hack='
34654   s&@datadir@&$datadir&g
34655   s&@docdir@&$docdir&g
34656   s&@infodir@&$infodir&g
34657   s&@localedir@&$localedir&g
34658   s&@mandir@&$mandir&g
34659   s&\\\${datarootdir}&$datarootdir&g' ;;
34660 esac
34661 _ACEOF
34662
34663 # Neutralize VPATH when `$srcdir' = `.'.
34664 # Shell code in configure.ac might set extrasub.
34665 # FIXME: do we really want to maintain this feature?
34666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34667 ac_sed_extra="$ac_vpsub
34668 $extrasub
34669 _ACEOF
34670 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34671 :t
34672 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34673 s|@configure_input@|$ac_sed_conf_input|;t t
34674 s&@top_builddir@&$ac_top_builddir_sub&;t t
34675 s&@top_build_prefix@&$ac_top_build_prefix&;t t
34676 s&@srcdir@&$ac_srcdir&;t t
34677 s&@abs_srcdir@&$ac_abs_srcdir&;t t
34678 s&@top_srcdir@&$ac_top_srcdir&;t t
34679 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
34680 s&@builddir@&$ac_builddir&;t t
34681 s&@abs_builddir@&$ac_abs_builddir&;t t
34682 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
34683 s&@INSTALL@&$ac_INSTALL&;t t
34684 s&@MKDIR_P@&$ac_MKDIR_P&;t t
34685 $ac_datarootdir_hack
34686 "
34687 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
34688   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
34689
34690 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
34691   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
34692   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
34693   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34694 which seems to be undefined.  Please make sure it is defined" >&5
34695 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34696 which seems to be undefined.  Please make sure it is defined" >&2;}
34697
34698   rm -f "$tmp/stdin"
34699   case $ac_file in
34700   -) cat "$tmp/out" && rm -f "$tmp/out";;
34701   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
34702   esac \
34703   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
34704  ;;
34705   :H)
34706   #
34707   # CONFIG_HEADER
34708   #
34709   if test x"$ac_file" != x-; then
34710     {
34711       $as_echo "/* $configure_input  */" \
34712       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
34713     } >"$tmp/config.h" \
34714       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
34715     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
34716       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
34717 $as_echo "$as_me: $ac_file is unchanged" >&6;}
34718     else
34719       rm -f "$ac_file"
34720       mv "$tmp/config.h" "$ac_file" \
34721         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
34722     fi
34723   else
34724     $as_echo "/* $configure_input  */" \
34725       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
34726       || as_fn_error $? "could not create -" "$LINENO" 5
34727   fi
34728 # Compute "$ac_file"'s index in $config_headers.
34729 _am_arg="$ac_file"
34730 _am_stamp_count=1
34731 for _am_header in $config_headers :; do
34732   case $_am_header in
34733     $_am_arg | $_am_arg:* )
34734       break ;;
34735     * )
34736       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
34737   esac
34738 done
34739 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
34740 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34741          X"$_am_arg" : 'X\(//\)[^/]' \| \
34742          X"$_am_arg" : 'X\(//\)$' \| \
34743          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
34744 $as_echo X"$_am_arg" |
34745     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34746             s//\1/
34747             q
34748           }
34749           /^X\(\/\/\)[^/].*/{
34750             s//\1/
34751             q
34752           }
34753           /^X\(\/\/\)$/{
34754             s//\1/
34755             q
34756           }
34757           /^X\(\/\).*/{
34758             s//\1/
34759             q
34760           }
34761           s/.*/./; q'`/stamp-h$_am_stamp_count
34762  ;;
34763
34764   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
34765 $as_echo "$as_me: executing $ac_file commands" >&6;}
34766  ;;
34767   esac
34768
34769
34770   case $ac_file$ac_mode in
34771     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
34772   # Autoconf 2.62 quotes --file arguments for eval, but not when files
34773   # are listed without --file.  Let's play safe and only enable the eval
34774   # if we detect the quoting.
34775   case $CONFIG_FILES in
34776   *\'*) eval set x "$CONFIG_FILES" ;;
34777   *)   set x $CONFIG_FILES ;;
34778   esac
34779   shift
34780   for mf
34781   do
34782     # Strip MF so we end up with the name of the file.
34783     mf=`echo "$mf" | sed -e 's/:.*$//'`
34784     # Check whether this is an Automake generated Makefile or not.
34785     # We used to match only the files named `Makefile.in', but
34786     # some people rename them; so instead we look at the file content.
34787     # Grep'ing the first line is not enough: some people post-process
34788     # each Makefile.in and add a new line on top of each file to say so.
34789     # Grep'ing the whole file is not good either: AIX grep has a line
34790     # limit of 2048, but all sed's we know have understand at least 4000.
34791     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
34792       dirpart=`$as_dirname -- "$mf" ||
34793 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34794          X"$mf" : 'X\(//\)[^/]' \| \
34795          X"$mf" : 'X\(//\)$' \| \
34796          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
34797 $as_echo X"$mf" |
34798     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34799             s//\1/
34800             q
34801           }
34802           /^X\(\/\/\)[^/].*/{
34803             s//\1/
34804             q
34805           }
34806           /^X\(\/\/\)$/{
34807             s//\1/
34808             q
34809           }
34810           /^X\(\/\).*/{
34811             s//\1/
34812             q
34813           }
34814           s/.*/./; q'`
34815     else
34816       continue
34817     fi
34818     # Extract the definition of DEPDIR, am__include, and am__quote
34819     # from the Makefile without running `make'.
34820     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
34821     test -z "$DEPDIR" && continue
34822     am__include=`sed -n 's/^am__include = //p' < "$mf"`
34823     test -z "am__include" && continue
34824     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
34825     # When using ansi2knr, U may be empty or an underscore; expand it
34826     U=`sed -n 's/^U = //p' < "$mf"`
34827     # Find all dependency output files, they are included files with
34828     # $(DEPDIR) in their names.  We invoke sed twice because it is the
34829     # simplest approach to changing $(DEPDIR) to its actual value in the
34830     # expansion.
34831     for file in `sed -n "
34832       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
34833          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
34834       # Make sure the directory exists.
34835       test -f "$dirpart/$file" && continue
34836       fdir=`$as_dirname -- "$file" ||
34837 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34838          X"$file" : 'X\(//\)[^/]' \| \
34839          X"$file" : 'X\(//\)$' \| \
34840          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
34841 $as_echo X"$file" |
34842     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34843             s//\1/
34844             q
34845           }
34846           /^X\(\/\/\)[^/].*/{
34847             s//\1/
34848             q
34849           }
34850           /^X\(\/\/\)$/{
34851             s//\1/
34852             q
34853           }
34854           /^X\(\/\).*/{
34855             s//\1/
34856             q
34857           }
34858           s/.*/./; q'`
34859       as_dir=$dirpart/$fdir; as_fn_mkdir_p
34860       # echo "creating $dirpart/$file"
34861       echo '# dummy' > "$dirpart/$file"
34862     done
34863   done
34864 }
34865  ;;
34866     "libtool":C)
34867
34868     # See if we are running on zsh, and set the options which allow our
34869     # commands through without removal of \ escapes.
34870     if test -n "${ZSH_VERSION+set}" ; then
34871       setopt NO_GLOB_SUBST
34872     fi
34873
34874     cfgfile="${ofile}T"
34875     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
34876     $RM "$cfgfile"
34877
34878     cat <<_LT_EOF >> "$cfgfile"
34879 #! $SHELL
34880
34881 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
34882 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
34883 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
34884 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
34885 #
34886 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
34887 #                 2006, 2007, 2008 Free Software Foundation, Inc.
34888 #   Written by Gordon Matzigkeit, 1996
34889 #
34890 #   This file is part of GNU Libtool.
34891 #
34892 # GNU Libtool is free software; you can redistribute it and/or
34893 # modify it under the terms of the GNU General Public License as
34894 # published by the Free Software Foundation; either version 2 of
34895 # the License, or (at your option) any later version.
34896 #
34897 # As a special exception to the GNU General Public License,
34898 # if you distribute this file as part of a program or library that
34899 # is built using GNU Libtool, you may include this file under the
34900 # same distribution terms that you use for the rest of that program.
34901 #
34902 # GNU Libtool is distributed in the hope that it will be useful,
34903 # but WITHOUT ANY WARRANTY; without even the implied warranty of
34904 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
34905 # GNU General Public License for more details.
34906 #
34907 # You should have received a copy of the GNU General Public License
34908 # along with GNU Libtool; see the file COPYING.  If not, a copy
34909 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
34910 # obtained by writing to the Free Software Foundation, Inc.,
34911 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
34912
34913
34914 # The names of the tagged configurations supported by this script.
34915 available_tags="CXX "
34916
34917 # ### BEGIN LIBTOOL CONFIG
34918
34919 # Assembler program.
34920 AS=$AS
34921
34922 # DLL creation program.
34923 DLLTOOL=$DLLTOOL
34924
34925 # Object dumper program.
34926 OBJDUMP=$OBJDUMP
34927
34928 # Which release of libtool.m4 was used?
34929 macro_version=$macro_version
34930 macro_revision=$macro_revision
34931
34932 # Whether or not to build shared libraries.
34933 build_libtool_libs=$enable_shared
34934
34935 # Whether or not to build static libraries.
34936 build_old_libs=$enable_static
34937
34938 # What type of objects to build.
34939 pic_mode=$pic_mode
34940
34941 # Whether or not to optimize for fast installation.
34942 fast_install=$enable_fast_install
34943
34944 # The host system.
34945 host_alias=$host_alias
34946 host=$host
34947 host_os=$host_os
34948
34949 # The build system.
34950 build_alias=$build_alias
34951 build=$build
34952 build_os=$build_os
34953
34954 # A sed program that does not truncate output.
34955 SED=$lt_SED
34956
34957 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
34958 Xsed="\$SED -e 1s/^X//"
34959
34960 # A grep program that handles long lines.
34961 GREP=$lt_GREP
34962
34963 # An ERE matcher.
34964 EGREP=$lt_EGREP
34965
34966 # A literal string matcher.
34967 FGREP=$lt_FGREP
34968
34969 # A BSD- or MS-compatible name lister.
34970 NM=$lt_NM
34971
34972 # Whether we need soft or hard links.
34973 LN_S=$lt_LN_S
34974
34975 # What is the maximum length of a command?
34976 max_cmd_len=$max_cmd_len
34977
34978 # Object file suffix (normally "o").
34979 objext=$ac_objext
34980
34981 # Executable file suffix (normally "").
34982 exeext=$exeext
34983
34984 # whether the shell understands "unset".
34985 lt_unset=$lt_unset
34986
34987 # turn spaces into newlines.
34988 SP2NL=$lt_lt_SP2NL
34989
34990 # turn newlines into spaces.
34991 NL2SP=$lt_lt_NL2SP
34992
34993 # How to create reloadable object files.
34994 reload_flag=$lt_reload_flag
34995 reload_cmds=$lt_reload_cmds
34996
34997 # Method to check whether dependent libraries are shared objects.
34998 deplibs_check_method=$lt_deplibs_check_method
34999
35000 # Command to use when deplibs_check_method == "file_magic".
35001 file_magic_cmd=$lt_file_magic_cmd
35002
35003 # The archiver.
35004 AR=$lt_AR
35005 AR_FLAGS=$lt_AR_FLAGS
35006
35007 # A symbol stripping program.
35008 STRIP=$lt_STRIP
35009
35010 # Commands used to install an old-style archive.
35011 RANLIB=$lt_RANLIB
35012 old_postinstall_cmds=$lt_old_postinstall_cmds
35013 old_postuninstall_cmds=$lt_old_postuninstall_cmds
35014
35015 # A C compiler.
35016 LTCC=$lt_CC
35017
35018 # LTCC compiler flags.
35019 LTCFLAGS=$lt_CFLAGS
35020
35021 # Take the output of nm and produce a listing of raw symbols and C names.
35022 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
35023
35024 # Transform the output of nm in a proper C declaration.
35025 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
35026
35027 # Transform the output of nm in a C name address pair.
35028 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
35029
35030 # Transform the output of nm in a C name address pair when lib prefix is needed.
35031 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
35032
35033 # The name of the directory that contains temporary libtool files.
35034 objdir=$objdir
35035
35036 # Shell to use when invoking shell scripts.
35037 SHELL=$lt_SHELL
35038
35039 # An echo program that does not interpret backslashes.
35040 ECHO=$lt_ECHO
35041
35042 # Used to examine libraries when file_magic_cmd begins with "file".
35043 MAGIC_CMD=$MAGIC_CMD
35044
35045 # Must we lock files when doing compilation?
35046 need_locks=$lt_need_locks
35047
35048 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
35049 DSYMUTIL=$lt_DSYMUTIL
35050
35051 # Tool to change global to local symbols on Mac OS X.
35052 NMEDIT=$lt_NMEDIT
35053
35054 # Tool to manipulate fat objects and archives on Mac OS X.
35055 LIPO=$lt_LIPO
35056
35057 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
35058 OTOOL=$lt_OTOOL
35059
35060 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
35061 OTOOL64=$lt_OTOOL64
35062
35063 # Old archive suffix (normally "a").
35064 libext=$libext
35065
35066 # Shared library suffix (normally ".so").
35067 shrext_cmds=$lt_shrext_cmds
35068
35069 # The commands to extract the exported symbol list from a shared archive.
35070 extract_expsyms_cmds=$lt_extract_expsyms_cmds
35071
35072 # Variables whose values should be saved in libtool wrapper scripts and
35073 # restored at link time.
35074 variables_saved_for_relink=$lt_variables_saved_for_relink
35075
35076 # Do we need the "lib" prefix for modules?
35077 need_lib_prefix=$need_lib_prefix
35078
35079 # Do we need a version for libraries?
35080 need_version=$need_version
35081
35082 # Library versioning type.
35083 version_type=$version_type
35084
35085 # Shared library runtime path variable.
35086 runpath_var=$runpath_var
35087
35088 # Shared library path variable.
35089 shlibpath_var=$shlibpath_var
35090
35091 # Is shlibpath searched before the hard-coded library search path?
35092 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
35093
35094 # Format of library name prefix.
35095 libname_spec=$lt_libname_spec
35096
35097 # List of archive names.  First name is the real one, the rest are links.
35098 # The last name is the one that the linker finds with -lNAME
35099 library_names_spec=$lt_library_names_spec
35100
35101 # The coded name of the library, if different from the real name.
35102 soname_spec=$lt_soname_spec
35103
35104 # Command to use after installation of a shared archive.
35105 postinstall_cmds=$lt_postinstall_cmds
35106
35107 # Command to use after uninstallation of a shared archive.
35108 postuninstall_cmds=$lt_postuninstall_cmds
35109
35110 # Commands used to finish a libtool library installation in a directory.
35111 finish_cmds=$lt_finish_cmds
35112
35113 # As "finish_cmds", except a single script fragment to be evaled but
35114 # not shown.
35115 finish_eval=$lt_finish_eval
35116
35117 # Whether we should hardcode library paths into libraries.
35118 hardcode_into_libs=$hardcode_into_libs
35119
35120 # Compile-time system search path for libraries.
35121 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
35122
35123 # Run-time system search path for libraries.
35124 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
35125
35126 # Whether dlopen is supported.
35127 dlopen_support=$enable_dlopen
35128
35129 # Whether dlopen of programs is supported.
35130 dlopen_self=$enable_dlopen_self
35131
35132 # Whether dlopen of statically linked programs is supported.
35133 dlopen_self_static=$enable_dlopen_self_static
35134
35135 # Commands to strip libraries.
35136 old_striplib=$lt_old_striplib
35137 striplib=$lt_striplib
35138
35139
35140 # The linker used to build libraries.
35141 LD=$lt_LD
35142
35143 # Commands used to build an old-style archive.
35144 old_archive_cmds=$lt_old_archive_cmds
35145
35146 # A language specific compiler.
35147 CC=$lt_compiler
35148
35149 # Is the compiler the GNU compiler?
35150 with_gcc=$GCC
35151
35152 # Compiler flag to turn off builtin functions.
35153 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
35154
35155 # How to pass a linker flag through the compiler.
35156 wl=$lt_lt_prog_compiler_wl
35157
35158 # Additional compiler flags for building library objects.
35159 pic_flag=$lt_lt_prog_compiler_pic
35160
35161 # Compiler flag to prevent dynamic linking.
35162 link_static_flag=$lt_lt_prog_compiler_static
35163
35164 # Does compiler simultaneously support -c and -o options?
35165 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
35166
35167 # Whether or not to add -lc for building shared libraries.
35168 build_libtool_need_lc=$archive_cmds_need_lc
35169
35170 # Whether or not to disallow shared libs when runtime libs are static.
35171 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
35172
35173 # Compiler flag to allow reflexive dlopens.
35174 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
35175
35176 # Compiler flag to generate shared objects directly from archives.
35177 whole_archive_flag_spec=$lt_whole_archive_flag_spec
35178
35179 # Whether the compiler copes with passing no objects directly.
35180 compiler_needs_object=$lt_compiler_needs_object
35181
35182 # Create an old-style archive from a shared archive.
35183 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
35184
35185 # Create a temporary old-style archive to link instead of a shared archive.
35186 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
35187
35188 # Commands used to build a shared archive.
35189 archive_cmds=$lt_archive_cmds
35190 archive_expsym_cmds=$lt_archive_expsym_cmds
35191
35192 # Commands used to build a loadable module if different from building
35193 # a shared archive.
35194 module_cmds=$lt_module_cmds
35195 module_expsym_cmds=$lt_module_expsym_cmds
35196
35197 # Whether we are building with GNU ld or not.
35198 with_gnu_ld=$lt_with_gnu_ld
35199
35200 # Flag that allows shared libraries with undefined symbols to be built.
35201 allow_undefined_flag=$lt_allow_undefined_flag
35202
35203 # Flag that enforces no undefined symbols.
35204 no_undefined_flag=$lt_no_undefined_flag
35205
35206 # Flag to hardcode \$libdir into a binary during linking.
35207 # This must work even if \$libdir does not exist
35208 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
35209
35210 # If ld is used when linking, flag to hardcode \$libdir into a binary
35211 # during linking.  This must work even if \$libdir does not exist.
35212 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
35213
35214 # Whether we need a single "-rpath" flag with a separated argument.
35215 hardcode_libdir_separator=$lt_hardcode_libdir_separator
35216
35217 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35218 # DIR into the resulting binary.
35219 hardcode_direct=$hardcode_direct
35220
35221 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35222 # DIR into the resulting binary and the resulting library dependency is
35223 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
35224 # library is relocated.
35225 hardcode_direct_absolute=$hardcode_direct_absolute
35226
35227 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
35228 # into the resulting binary.
35229 hardcode_minus_L=$hardcode_minus_L
35230
35231 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
35232 # into the resulting binary.
35233 hardcode_shlibpath_var=$hardcode_shlibpath_var
35234
35235 # Set to "yes" if building a shared library automatically hardcodes DIR
35236 # into the library and all subsequent libraries and executables linked
35237 # against it.
35238 hardcode_automatic=$hardcode_automatic
35239
35240 # Set to yes if linker adds runtime paths of dependent libraries
35241 # to runtime path list.
35242 inherit_rpath=$inherit_rpath
35243
35244 # Whether libtool must link a program against all its dependency libraries.
35245 link_all_deplibs=$link_all_deplibs
35246
35247 # Fix the shell variable \$srcfile for the compiler.
35248 fix_srcfile_path=$lt_fix_srcfile_path
35249
35250 # Set to "yes" if exported symbols are required.
35251 always_export_symbols=$always_export_symbols
35252
35253 # The commands to list exported symbols.
35254 export_symbols_cmds=$lt_export_symbols_cmds
35255
35256 # Symbols that should not be listed in the preloaded symbols.
35257 exclude_expsyms=$lt_exclude_expsyms
35258
35259 # Symbols that must always be exported.
35260 include_expsyms=$lt_include_expsyms
35261
35262 # Commands necessary for linking programs (against libraries) with templates.
35263 prelink_cmds=$lt_prelink_cmds
35264
35265 # Specify filename containing input files.
35266 file_list_spec=$lt_file_list_spec
35267
35268 # How to hardcode a shared library path into an executable.
35269 hardcode_action=$hardcode_action
35270
35271 # The directories searched by this compiler when creating a shared library.
35272 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
35273
35274 # Dependencies to place before and after the objects being linked to
35275 # create a shared library.
35276 predep_objects=$lt_predep_objects
35277 postdep_objects=$lt_postdep_objects
35278 predeps=$lt_predeps
35279 postdeps=$lt_postdeps
35280
35281 # The library search path used internally by the compiler when linking
35282 # a shared library.
35283 compiler_lib_search_path=$lt_compiler_lib_search_path
35284
35285 # ### END LIBTOOL CONFIG
35286
35287 _LT_EOF
35288
35289   case $host_os in
35290   aix3*)
35291     cat <<\_LT_EOF >> "$cfgfile"
35292 # AIX sometimes has problems with the GCC collect2 program.  For some
35293 # reason, if we set the COLLECT_NAMES environment variable, the problems
35294 # vanish in a puff of smoke.
35295 if test "X${COLLECT_NAMES+set}" != Xset; then
35296   COLLECT_NAMES=
35297   export COLLECT_NAMES
35298 fi
35299 _LT_EOF
35300     ;;
35301   esac
35302
35303
35304 ltmain="$ac_aux_dir/ltmain.sh"
35305
35306
35307   # We use sed instead of cat because bash on DJGPP gets confused if
35308   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
35309   # text mode, it properly converts lines to CR/LF.  This bash problem
35310   # is reportedly fixed, but why not run on old versions too?
35311   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
35312     || (rm -f "$cfgfile"; exit 1)
35313
35314   case $xsi_shell in
35315   yes)
35316     cat << \_LT_EOF >> "$cfgfile"
35317
35318 # func_dirname file append nondir_replacement
35319 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
35320 # otherwise set result to NONDIR_REPLACEMENT.
35321 func_dirname ()
35322 {
35323   case ${1} in
35324     */*) func_dirname_result="${1%/*}${2}" ;;
35325     *  ) func_dirname_result="${3}" ;;
35326   esac
35327 }
35328
35329 # func_basename file
35330 func_basename ()
35331 {
35332   func_basename_result="${1##*/}"
35333 }
35334
35335 # func_dirname_and_basename file append nondir_replacement
35336 # perform func_basename and func_dirname in a single function
35337 # call:
35338 #   dirname:  Compute the dirname of FILE.  If nonempty,
35339 #             add APPEND to the result, otherwise set result
35340 #             to NONDIR_REPLACEMENT.
35341 #             value returned in "$func_dirname_result"
35342 #   basename: Compute filename of FILE.
35343 #             value retuned in "$func_basename_result"
35344 # Implementation must be kept synchronized with func_dirname
35345 # and func_basename. For efficiency, we do not delegate to
35346 # those functions but instead duplicate the functionality here.
35347 func_dirname_and_basename ()
35348 {
35349   case ${1} in
35350     */*) func_dirname_result="${1%/*}${2}" ;;
35351     *  ) func_dirname_result="${3}" ;;
35352   esac
35353   func_basename_result="${1##*/}"
35354 }
35355
35356 # func_stripname prefix suffix name
35357 # strip PREFIX and SUFFIX off of NAME.
35358 # PREFIX and SUFFIX must not contain globbing or regex special
35359 # characters, hashes, percent signs, but SUFFIX may contain a leading
35360 # dot (in which case that matches only a dot).
35361 func_stripname ()
35362 {
35363   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
35364   # positional parameters, so assign one to ordinary parameter first.
35365   func_stripname_result=${3}
35366   func_stripname_result=${func_stripname_result#"${1}"}
35367   func_stripname_result=${func_stripname_result%"${2}"}
35368 }
35369
35370 # func_opt_split
35371 func_opt_split ()
35372 {
35373   func_opt_split_opt=${1%%=*}
35374   func_opt_split_arg=${1#*=}
35375 }
35376
35377 # func_lo2o object
35378 func_lo2o ()
35379 {
35380   case ${1} in
35381     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
35382     *)    func_lo2o_result=${1} ;;
35383   esac
35384 }
35385
35386 # func_xform libobj-or-source
35387 func_xform ()
35388 {
35389   func_xform_result=${1%.*}.lo
35390 }
35391
35392 # func_arith arithmetic-term...
35393 func_arith ()
35394 {
35395   func_arith_result=$(( $* ))
35396 }
35397
35398 # func_len string
35399 # STRING may not start with a hyphen.
35400 func_len ()
35401 {
35402   func_len_result=${#1}
35403 }
35404
35405 _LT_EOF
35406     ;;
35407   *) # Bourne compatible functions.
35408     cat << \_LT_EOF >> "$cfgfile"
35409
35410 # func_dirname file append nondir_replacement
35411 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
35412 # otherwise set result to NONDIR_REPLACEMENT.
35413 func_dirname ()
35414 {
35415   # Extract subdirectory from the argument.
35416   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
35417   if test "X$func_dirname_result" = "X${1}"; then
35418     func_dirname_result="${3}"
35419   else
35420     func_dirname_result="$func_dirname_result${2}"
35421   fi
35422 }
35423
35424 # func_basename file
35425 func_basename ()
35426 {
35427   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
35428 }
35429
35430
35431 # func_stripname prefix suffix name
35432 # strip PREFIX and SUFFIX off of NAME.
35433 # PREFIX and SUFFIX must not contain globbing or regex special
35434 # characters, hashes, percent signs, but SUFFIX may contain a leading
35435 # dot (in which case that matches only a dot).
35436 # func_strip_suffix prefix name
35437 func_stripname ()
35438 {
35439   case ${2} in
35440     .*) func_stripname_result=`$ECHO "X${3}" \
35441            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
35442     *)  func_stripname_result=`$ECHO "X${3}" \
35443            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
35444   esac
35445 }
35446
35447 # sed scripts:
35448 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
35449 my_sed_long_arg='1s/^-[^=]*=//'
35450
35451 # func_opt_split
35452 func_opt_split ()
35453 {
35454   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
35455   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
35456 }
35457
35458 # func_lo2o object
35459 func_lo2o ()
35460 {
35461   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
35462 }
35463
35464 # func_xform libobj-or-source
35465 func_xform ()
35466 {
35467   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
35468 }
35469
35470 # func_arith arithmetic-term...
35471 func_arith ()
35472 {
35473   func_arith_result=`expr "$@"`
35474 }
35475
35476 # func_len string
35477 # STRING may not start with a hyphen.
35478 func_len ()
35479 {
35480   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
35481 }
35482
35483 _LT_EOF
35484 esac
35485
35486 case $lt_shell_append in
35487   yes)
35488     cat << \_LT_EOF >> "$cfgfile"
35489
35490 # func_append var value
35491 # Append VALUE to the end of shell variable VAR.
35492 func_append ()
35493 {
35494   eval "$1+=\$2"
35495 }
35496 _LT_EOF
35497     ;;
35498   *)
35499     cat << \_LT_EOF >> "$cfgfile"
35500
35501 # func_append var value
35502 # Append VALUE to the end of shell variable VAR.
35503 func_append ()
35504 {
35505   eval "$1=\$$1\$2"
35506 }
35507
35508 _LT_EOF
35509     ;;
35510   esac
35511
35512
35513   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
35514     || (rm -f "$cfgfile"; exit 1)
35515
35516   mv -f "$cfgfile" "$ofile" ||
35517     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
35518   chmod +x "$ofile"
35519
35520
35521     cat <<_LT_EOF >> "$ofile"
35522
35523 # ### BEGIN LIBTOOL TAG CONFIG: CXX
35524
35525 # The linker used to build libraries.
35526 LD=$lt_LD_CXX
35527
35528 # Commands used to build an old-style archive.
35529 old_archive_cmds=$lt_old_archive_cmds_CXX
35530
35531 # A language specific compiler.
35532 CC=$lt_compiler_CXX
35533
35534 # Is the compiler the GNU compiler?
35535 with_gcc=$GCC_CXX
35536
35537 # Compiler flag to turn off builtin functions.
35538 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
35539
35540 # How to pass a linker flag through the compiler.
35541 wl=$lt_lt_prog_compiler_wl_CXX
35542
35543 # Additional compiler flags for building library objects.
35544 pic_flag=$lt_lt_prog_compiler_pic_CXX
35545
35546 # Compiler flag to prevent dynamic linking.
35547 link_static_flag=$lt_lt_prog_compiler_static_CXX
35548
35549 # Does compiler simultaneously support -c and -o options?
35550 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
35551
35552 # Whether or not to add -lc for building shared libraries.
35553 build_libtool_need_lc=$archive_cmds_need_lc_CXX
35554
35555 # Whether or not to disallow shared libs when runtime libs are static.
35556 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
35557
35558 # Compiler flag to allow reflexive dlopens.
35559 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
35560
35561 # Compiler flag to generate shared objects directly from archives.
35562 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
35563
35564 # Whether the compiler copes with passing no objects directly.
35565 compiler_needs_object=$lt_compiler_needs_object_CXX
35566
35567 # Create an old-style archive from a shared archive.
35568 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
35569
35570 # Create a temporary old-style archive to link instead of a shared archive.
35571 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
35572
35573 # Commands used to build a shared archive.
35574 archive_cmds=$lt_archive_cmds_CXX
35575 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
35576
35577 # Commands used to build a loadable module if different from building
35578 # a shared archive.
35579 module_cmds=$lt_module_cmds_CXX
35580 module_expsym_cmds=$lt_module_expsym_cmds_CXX
35581
35582 # Whether we are building with GNU ld or not.
35583 with_gnu_ld=$lt_with_gnu_ld_CXX
35584
35585 # Flag that allows shared libraries with undefined symbols to be built.
35586 allow_undefined_flag=$lt_allow_undefined_flag_CXX
35587
35588 # Flag that enforces no undefined symbols.
35589 no_undefined_flag=$lt_no_undefined_flag_CXX
35590
35591 # Flag to hardcode \$libdir into a binary during linking.
35592 # This must work even if \$libdir does not exist
35593 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
35594
35595 # If ld is used when linking, flag to hardcode \$libdir into a binary
35596 # during linking.  This must work even if \$libdir does not exist.
35597 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
35598
35599 # Whether we need a single "-rpath" flag with a separated argument.
35600 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
35601
35602 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35603 # DIR into the resulting binary.
35604 hardcode_direct=$hardcode_direct_CXX
35605
35606 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35607 # DIR into the resulting binary and the resulting library dependency is
35608 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
35609 # library is relocated.
35610 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
35611
35612 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
35613 # into the resulting binary.
35614 hardcode_minus_L=$hardcode_minus_L_CXX
35615
35616 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
35617 # into the resulting binary.
35618 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
35619
35620 # Set to "yes" if building a shared library automatically hardcodes DIR
35621 # into the library and all subsequent libraries and executables linked
35622 # against it.
35623 hardcode_automatic=$hardcode_automatic_CXX
35624
35625 # Set to yes if linker adds runtime paths of dependent libraries
35626 # to runtime path list.
35627 inherit_rpath=$inherit_rpath_CXX
35628
35629 # Whether libtool must link a program against all its dependency libraries.
35630 link_all_deplibs=$link_all_deplibs_CXX
35631
35632 # Fix the shell variable \$srcfile for the compiler.
35633 fix_srcfile_path=$lt_fix_srcfile_path_CXX
35634
35635 # Set to "yes" if exported symbols are required.
35636 always_export_symbols=$always_export_symbols_CXX
35637
35638 # The commands to list exported symbols.
35639 export_symbols_cmds=$lt_export_symbols_cmds_CXX
35640
35641 # Symbols that should not be listed in the preloaded symbols.
35642 exclude_expsyms=$lt_exclude_expsyms_CXX
35643
35644 # Symbols that must always be exported.
35645 include_expsyms=$lt_include_expsyms_CXX
35646
35647 # Commands necessary for linking programs (against libraries) with templates.
35648 prelink_cmds=$lt_prelink_cmds_CXX
35649
35650 # Specify filename containing input files.
35651 file_list_spec=$lt_file_list_spec_CXX
35652
35653 # How to hardcode a shared library path into an executable.
35654 hardcode_action=$hardcode_action_CXX
35655
35656 # The directories searched by this compiler when creating a shared library.
35657 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
35658
35659 # Dependencies to place before and after the objects being linked to
35660 # create a shared library.
35661 predep_objects=$lt_predep_objects_CXX
35662 postdep_objects=$lt_postdep_objects_CXX
35663 predeps=$lt_predeps_CXX
35664 postdeps=$lt_postdeps_CXX
35665
35666 # The library search path used internally by the compiler when linking
35667 # a shared library.
35668 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
35669
35670 # ### END LIBTOOL TAG CONFIG: CXX
35671 _LT_EOF
35672
35673  ;;
35674
35675   esac
35676 done # for ac_tag
35677
35678
35679 as_fn_exit 0
35680 _ACEOF
35681 ac_clean_files=$ac_clean_files_save
35682
35683 test $ac_write_fail = 0 ||
35684   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
35685
35686
35687 # configure is writing to config.log, and then calls config.status.
35688 # config.status does its own redirection, appending to config.log.
35689 # Unfortunately, on DOS this fails, as config.log is still kept open
35690 # by configure, so config.status won't be able to write to it; its
35691 # output is simply discarded.  So we exec the FD to /dev/null,
35692 # effectively closing config.log, so it can be properly (re)opened and
35693 # appended to by config.status.  When coming back to configure, we
35694 # need to make the FD available again.
35695 if test "$no_create" != yes; then
35696   ac_cs_success=:
35697   ac_config_status_args=
35698   test "$silent" = yes &&
35699     ac_config_status_args="$ac_config_status_args --quiet"
35700   exec 5>/dev/null
35701   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
35702   exec 5>>config.log
35703   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
35704   # would make configure fail if this is the last instruction.
35705   $ac_cs_success || as_fn_exit 1
35706 fi
35707 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
35708   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
35709 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
35710 fi
35711
35712
35713 #####################################################################
35714 ## Sanity Checks
35715
35716 if test "x$build_pthreads" = "xno" ; then
35717   if test "x$build_pipe_render" = "xyes" ; then
35718     echo "ERROR: PThreads off, but pipe rendering on. Pipe rendering"
35719     echo "  needs thread support."
35720     exit 1
35721   fi
35722 fi
35723
35724 if test "x${has_pthreads}" = "xno" ; then
35725   if test "x$build_async_preload" = "xyes" ; then
35726     echo "ERROR: PThreads off, but Async Preload on. Async Preload"
35727     echo "  needs thread support."
35728     exit 1
35729   fi
35730 fi
35731
35732 #####################################################################
35733 ## Info
35734
35735 echo
35736 echo
35737 echo
35738 echo "------------------------------------------------------------------------"
35739 echo "$PACKAGE $VERSION"
35740 echo "------------------------------------------------------------------------"
35741 echo
35742 echo "Configuration Options Summary:"
35743 echo
35744 echo "Engines:"
35745 echo "  Software Memory Buffer.....: $have_evas_engine_buffer"
35746 echo "  Software X11...............: $have_evas_engine_software_x11 (Xlib: $have_evas_engine_software_xlib) (XCB: $have_evas_engine_software_xcb)"
35747 echo $ECHO_N "  OpenGL X11.................: $have_evas_engine_gl_x11 (Xlib: $have_evas_engine_gl_xlib) (XCB: $have_evas_engine_gl_xcb) $ECHO_C"
35748 if test "x$have_evas_engine_gl_x11" = "xyes"; then
35749   echo "(GLES: $gl_flavor_gles) (SGX: $gles_variety_sgx) (s3c6410: $gles_variety_s3c6410)"
35750 else
35751   echo
35752 fi
35753 echo "  Software GDI...............: $have_evas_engine_software_gdi"
35754 echo "  Software DirectDraw........: $have_evas_engine_software_ddraw"
35755 echo "  Direct3d...................: $have_evas_engine_direct3d"
35756 echo "  OpenGL SDL.................: $have_evas_engine_gl_sdl $ECHO_C"
35757 if test "x$have_evas_engine_gl_sdl" = "xyes"; then
35758   echo "(GLES: $gl_flavor_gles) (SGX: $gles_variety_sgx) (s3c6410: $gles_variety_s3c6410)"
35759 else
35760   echo
35761 fi
35762 echo "  OpenGL Cocoa...............: $have_evas_engine_gl_cocoa"
35763 echo "  Software Framebuffer.......: $have_evas_engine_fb"
35764 echo "  DirectFB...................: $have_evas_engine_directfb"
35765 echo "  PSL1GHT....................: $have_evas_engine_psl1ght"
35766 echo "  Software 8bit grayscale....: $have_evas_engine_software_8"
35767 # FIXME: kill software 16bit
35768 echo "  Software 16bit ............: $have_evas_engine_software_16"
35769 echo "  Software 16bit X11.........: $have_evas_engine_software_16_x11"
35770 echo "  Software 16bit WinCE.......: $have_evas_engine_software_16_wince"
35771 echo "  Software 16bit SDL.........: $have_evas_engine_software_16_sdl (primitive: $sdl_primitive)"
35772 echo "  Wayland Shm................: $have_evas_engine_wayland_shm"
35773 echo "  Wayland Egl................: $have_evas_engine_wayland_egl"
35774 echo
35775 echo "Image Loaders:"
35776 echo "  BMP.....................: $have_evas_image_loader_bmp"
35777 echo "  EDB.....................: $have_evas_image_loader_edb"
35778 echo "  EET.....................: $have_evas_image_loader_eet"
35779 echo "  GENERIC.................: $have_evas_image_loader_generic"
35780 echo "  GIF.....................: $have_evas_image_loader_gif"
35781 echo "  ICO.....................: $have_evas_image_loader_ico"
35782 echo "  JPEG....................: $have_evas_image_loader_jpeg (region: $have_jpeg_region)"
35783 echo "  PMAPS...................: $have_evas_image_loader_pmaps"
35784 echo "  PNG.....................: $have_evas_image_loader_png"
35785 echo "  PSD.....................: $have_evas_image_loader_psd"
35786 echo "  SVG.....................: $have_evas_image_loader_svg"
35787 echo "  TGA.....................: $have_evas_image_loader_tga"
35788 echo "  TIFF....................: $have_evas_image_loader_tiff"
35789 echo "  WBMP....................: $have_evas_image_loader_wbmp"
35790 echo "  XPM.....................: $have_evas_image_loader_xpm"
35791 echo
35792 echo "Font Sourcing Systems:"
35793 echo "  EET.....................: $have_evas_font_loader_eet"
35794 echo
35795 echo "Font Searching Systems:"
35796 echo "  Fontconfig..............: $have_fontconfig"
35797 echo
35798 echo "Font Rendering Helpers:"
35799 echo "  Fribidi.................: $have_fribidi"
35800 echo "  Harfbuzz................: $have_harfbuzz"
35801 echo "  liblinebreak............: $have_linebreak"
35802 # FIXME: add non freetype2 font engine support
35803 # FIXME: make freetype2 optional
35804 echo
35805 echo "CPU Specific Extensions:"
35806 echo "  Fallback C Code.........: $build_cpu_c"
35807 echo "  MMX.....................: $build_cpu_mmx"
35808 echo "  SSE.....................: $build_cpu_sse"
35809 echo "  SSE3....................: $build_cpu_sse3"
35810 echo "  ALTIVEC.................: $build_cpu_altivec"
35811 echo "  NEON....................: $build_cpu_neon"
35812 echo "  Thread Support..........: $build_pthreads"
35813 echo
35814 echo "Features:"
35815 echo "  MAGIC_DEBUG.............: $want_evas_magic_debug"
35816 echo "  Cache Server............: $want_evas_cserve"
35817 echo "  Cache Server 2..........: $want_evas_cserve2"
35818 echo
35819 echo "  Threaded Pipe Rendering.: $build_pipe_render"
35820 echo "  Async Events............: $build_async_events"
35821 echo "  Async Image Preload.....: $build_async_preload"
35822 echo
35823 echo "  Pixman..................: $have_pixman"
35824 echo "  Pixman Fonts............: $have_pixman_font"
35825 echo "  Pixman Rects............: $have_pixman_rect"
35826 echo "  Pixman Lines............: $have_pixman_line"
35827 echo "  Pixman Polygons.........: $have_pixman_poly"
35828 echo "  Pixman Images...........: $have_pixman_image"
35829 echo "  Pixman Image ScaleSample: $have_pixman_image_scale_sample"
35830 echo
35831 echo "  Tiled 32BPP rotate......: $have_tile_rotate"
35832 echo
35833 echo "ARGB Software Engine Options:"
35834 echo "  Sampling Scaler.........: $scaler_sample"
35835 echo "  Smooth Scaler...........: $scaler_smooth"
35836 # FIXME: add an mmx scaler routine
35837 echo "  YUV Converter...........: $conv_yuv"
35838 # FIXME: add more YUV format and colorvariant support
35839 echo
35840 echo "ARGB Conversion Options:"
35841 echo "  Smaller Dither Mask.....: $conv_small_dither"
35842 echo "  Line Dither Mask........: $conv_line_dither"
35843 echo "  No Dither Mask for 16bpp: $conv_no_dither"
35844 echo "  8bpp RGB 332............: $conv_8_rgb_332"
35845 echo "  8bpp RGB 666............: $conv_8_rgb_666"
35846 echo "  8bpp RGB 232............: $conv_8_rgb_232"
35847 echo "  8bpp RGB 222............: $conv_8_rgb_222"
35848 echo "  8bpp RGB 221............: $conv_8_rgb_221"
35849 echo "  8bpp RGB 121............: $conv_8_rgb_121"
35850 echo "  8bpp RGB 111............: $conv_8_rgb_111"
35851 echo "  8bpp Grayscale (256)....: $conv_8_gry_1"
35852 echo "  8bpp Grayscale (16).....: $conv_8_gry_16"
35853 echo "  8bpp Grayscale 64-pal...: $conv_8_grayscale_64"
35854 # FIXME: add grayscale and B&W support to standard x converters
35855 echo "  16bpp RGB 565...........: $conv_16_rgb_565"
35856 echo "  16bpp BGR 565...........: $conv_16_bgr_565"
35857 echo "  16bpp RGB 555...........: $conv_16_rgb_555"
35858 echo "  16bpp RGB 444...........: $conv_16_rgb_444"
35859 echo "  16bpp RGB 565 (444 ipaq): $conv_16_rgb_ipq"
35860 # FIXME: add 555 (444 ipaq) support
35861 # FIXME: add 30bpp support
35862 # FIXME: add palletted support (ugh!)
35863 # FIXME: add 8bpp and below rotation
35864 echo "  16bpp Rotation 0........: $conv_16_rgb_rot_0"
35865 echo "  16bpp Rotation 90.......: $conv_16_rgb_rot_90"
35866 echo "  16bpp Rotation 180......: $conv_16_rgb_rot_180"
35867 echo "  16bpp Rotation 270......: $conv_16_rgb_rot_270"
35868 echo "  24bpp RGB 888...........: $conv_24_rgb_888"
35869 echo "  24bpp BGR 888...........: $conv_24_bgr_888"
35870 echo "  24bpp RGB 666 (666 ezx).: $conv_24_rgb_ezx"
35871 # FIXME: add 24bpp rotation
35872 echo "  32bpp RGB 8888..........: $conv_32_rgb_8888"
35873 echo "  32bpp RGBX 8888.........: $conv_32_rgbx_8888"
35874 echo "  32bpp BGR 8888..........: $conv_32_bgr_8888"
35875 echo "  32bpp BGRX 8888.........: $conv_32_bgrx_8888"
35876 echo "  32bpp RGB 666 (666 ezx).: $conv_32_rgb_ezx"
35877 echo "  32bpp Rotation 0........: $conv_32_rgb_rot_0"
35878 echo "  32bpp Rotation 90.......: $conv_32_rgb_rot_90"
35879 echo "  32bpp Rotation 180......: $conv_32_rgb_rot_180"
35880 echo "  32bpp Rotation 270......: $conv_32_rgb_rot_270"
35881 echo
35882 echo "Documentation.............: ${build_doc}"
35883 echo "Examples..................: install:${install_examples} build:${build_examples}"
35884 if test "x${enable_tests}" = "xyes" ; then
35885    echo "Tests.....................: ${enable_tests} (make check)"
35886 else
35887    echo "Tests.....................: ${enable_tests}"
35888 fi
35889 if test "x${enable_coverage}" = "xyes" ; then
35890    echo "Coverage..................: ${enable_coverage} (make coverage)"
35891 else
35892    echo "Coverage..................: ${enable_coverage}"
35893 fi
35894 echo
35895 echo "Compilation............: make (or gmake)"
35896 echo "  CPPFLAGS.............: $CPPFLAGS"
35897 echo "  CFLAGS...............: $CFLAGS"
35898 echo "  CXXFLAGS.............: $CXXFLAGS"
35899 echo "  LDFLAGS..............: $LDFLAGS"
35900 echo
35901 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
35902 echo "  prefix...............: $prefix"
35903 echo
35904 if test "x${have_static_module}" = "xyes" ; then
35905 echo -e "\0033\01331;31mWarning\0033\01331;0m: You are trying to link statically one or more modules to Evas."
35906 echo "         You must know what you are doing, or else you will have a lot of"
35907 echo "         problems. And Kenny will be killed."
35908 echo "         Think about that."
35909 echo
35910 fi