Imported Upstream version 1.7.8
[platform/upstream/ecore.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for ecore 1.7.8.
4 #
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138   # into an infinite loop, continuously re-executing ourselves.
139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140     _as_can_reexec=no; export _as_can_reexec;
141     # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159   fi
160   # We don't want this to propagate to other subprocesses.
161           { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164   emulate sh
165   NULLCMD=:
166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167   # is contrary to our usage.  Disable this feature.
168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
178 "
179   as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
202
203   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207     PATH=/empty FPATH=/empty; export PATH FPATH
208     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210   if (eval "$as_required") 2>/dev/null; then :
211   as_have_required=yes
212 else
213   as_have_required=no
214 fi
215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222   IFS=$as_save_IFS
223   test -z "$as_dir" && as_dir=.
224   as_found=:
225   case $as_dir in #(
226          /*)
227            for as_base in sh bash ksh sh5; do
228              # Try only shells that exist, to save several forks.
229              as_shell=$as_dir/$as_base
230              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   CONFIG_SHELL=$as_shell as_have_required=yes
233                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234   break 2
235 fi
236 fi
237            done;;
238        esac
239   as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243   CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248       if test "x$CONFIG_SHELL" != x; then :
249   export CONFIG_SHELL
250              # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258   *v*x* | *x*v* ) as_opts=-vx ;;
259   *v* ) as_opts=-v ;;
260   *x* ) as_opts=-x ;;
261   * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270     if test x$as_have_required = xno; then :
271   $as_echo "$0: This script requires a shell more modern than all"
272   $as_echo "$0: the shells that I found on your system."
273   if test x${ZSH_VERSION+set} = xset ; then
274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276   else
277     $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: enlightenment-devel@lists.sourceforge.net about your
279 $0: system, including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
282   fi
283   exit 1
284 fi
285 fi
286 fi
287 SHELL=${CONFIG_SHELL-/bin/sh}
288 export SHELL
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
292
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
296 # as_fn_unset VAR
297 # ---------------
298 # Portably unset VAR.
299 as_fn_unset ()
300 {
301   { eval $1=; unset $1;}
302 }
303 as_unset=as_fn_unset
304
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
308 as_fn_set_status ()
309 {
310   return $1
311 } # as_fn_set_status
312
313 # as_fn_exit STATUS
314 # -----------------
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 as_fn_exit ()
317 {
318   set +e
319   as_fn_set_status $1
320   exit $1
321 } # as_fn_exit
322
323 # as_fn_mkdir_p
324 # -------------
325 # Create "$as_dir" as a directory, including parents if necessary.
326 as_fn_mkdir_p ()
327 {
328
329   case $as_dir in #(
330   -*) as_dir=./$as_dir;;
331   esac
332   test -d "$as_dir" || eval $as_mkdir_p || {
333     as_dirs=
334     while :; do
335       case $as_dir in #(
336       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337       *) as_qdir=$as_dir;;
338       esac
339       as_dirs="'$as_qdir' $as_dirs"
340       as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342          X"$as_dir" : 'X\(//\)[^/]' \| \
343          X"$as_dir" : 'X\(//\)$' \| \
344          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347             s//\1/
348             q
349           }
350           /^X\(\/\/\)[^/].*/{
351             s//\1/
352             q
353           }
354           /^X\(\/\/\)$/{
355             s//\1/
356             q
357           }
358           /^X\(\/\).*/{
359             s//\1/
360             q
361           }
362           s/.*/./; q'`
363       test -d "$as_dir" && break
364     done
365     test -z "$as_dirs" || eval "mkdir $as_dirs"
366   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369 } # as_fn_mkdir_p
370
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
375 {
376   test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
383 # implementations.
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385   eval 'as_fn_append ()
386   {
387     eval $1+=\$2
388   }'
389 else
390   as_fn_append ()
391   {
392     eval $1=\$$1\$2
393   }
394 fi # as_fn_append
395
396 # as_fn_arith ARG...
397 # ------------------
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402   eval 'as_fn_arith ()
403   {
404     as_val=$(( $* ))
405   }'
406 else
407   as_fn_arith ()
408   {
409     as_val=`expr "$@" || test $? -eq 1`
410   }
411 fi # as_fn_arith
412
413
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
419 as_fn_error ()
420 {
421   as_status=$1; test $as_status -eq 0 && as_status=1
422   if test "$4"; then
423     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425   fi
426   $as_echo "$as_me: error: $2" >&2
427   as_fn_exit $as_status
428 } # as_fn_error
429
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431    test "X`expr 00001 : '.*\(...\)'`" = X001; then
432   as_expr=expr
433 else
434   as_expr=false
435 fi
436
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438   as_basename=basename
439 else
440   as_basename=false
441 fi
442
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444   as_dirname=dirname
445 else
446   as_dirname=false
447 fi
448
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451          X"$0" : 'X\(//\)$' \| \
452          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453 $as_echo X/"$0" |
454     sed '/^.*\/\([^/][^/]*\)\/*$/{
455             s//\1/
456             q
457           }
458           /^X\/\(\/\/\)$/{
459             s//\1/
460             q
461           }
462           /^X\/\(\/\).*/{
463             s//\1/
464             q
465           }
466           s/.*/./; q'`
467
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476   as_lineno_1=$LINENO as_lineno_1a=$LINENO
477   as_lineno_2=$LINENO as_lineno_2a=$LINENO
478   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481   sed -n '
482     p
483     /[$]LINENO/=
484   ' <$as_myself |
485     sed '
486       s/[$]LINENO.*/&-/
487       t lineno
488       b
489       :lineno
490       N
491       :loop
492       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493       t loop
494       s/-\n.*//
495     ' >$as_me.lineno &&
496   chmod +x "$as_me.lineno" ||
497     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500   # already done that, so ensure we don't try to do so again and fall
501   # in an infinite loop.  This has already happened in practice.
502   _as_can_reexec=no; export _as_can_reexec
503   # Don't try to exec as it changes $[0], causing all sort of problems
504   # (the dirname of $[0] is not the place where we might find the
505   # original and so on.  Autoconf is especially sensitive to this).
506   . "./$as_me.lineno"
507   # Exit status is that of the last command.
508   exit
509 }
510
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
513 -n*)
514   case `echo 'xy\c'` in
515   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
516   xy)  ECHO_C='\c';;
517   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518        ECHO_T=' ';;
519   esac;;
520 *)
521   ECHO_N='-n';;
522 esac
523
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526   rm -f conf$$.dir/conf$$.file
527 else
528   rm -f conf$$.dir
529   mkdir conf$$.dir 2>/dev/null
530 fi
531 if (echo >conf$$.file) 2>/dev/null; then
532   if ln -s conf$$.file conf$$ 2>/dev/null; then
533     as_ln_s='ln -s'
534     # ... but there are two gotchas:
535     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537     # In both cases, we have to default to `cp -pR'.
538     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539       as_ln_s='cp -pR'
540   elif ln conf$$.file conf$$ 2>/dev/null; then
541     as_ln_s=ln
542   else
543     as_ln_s='cp -pR'
544   fi
545 else
546   as_ln_s='cp -pR'
547 fi
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
550
551 if mkdir -p . 2>/dev/null; then
552   as_mkdir_p='mkdir -p "$as_dir"'
553 else
554   test -d ./-p && rmdir ./-p
555   as_mkdir_p=false
556 fi
557
558 as_test_x='test -x'
559 as_executable_p=as_fn_executable_p
560
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567 SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570 test -n "$DJDIR" || exec 7<&0 </dev/null
571 exec 6>&1
572
573 # Name of the host.
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578 #
579 # Initializations.
580 #
581 ac_default_prefix=/usr/local
582 ac_clean_files=
583 ac_config_libobj_dir=.
584 LIBOBJS=
585 cross_compiling=no
586 subdirs=
587 MFLAGS=
588 MAKEFLAGS=
589
590 # Identity of this package.
591 PACKAGE_NAME='ecore'
592 PACKAGE_TARNAME='ecore'
593 PACKAGE_VERSION='1.7.8'
594 PACKAGE_STRING='ecore 1.7.8'
595 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
596 PACKAGE_URL=''
597
598 ac_unique_file="configure.ac"
599 # Factoring default headers for most tests.
600 ac_includes_default="\
601 #include <stdio.h>
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
604 #endif
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
607 #endif
608 #ifdef STDC_HEADERS
609 # include <stdlib.h>
610 # include <stddef.h>
611 #else
612 # ifdef HAVE_STDLIB_H
613 #  include <stdlib.h>
614 # endif
615 #endif
616 #ifdef HAVE_STRING_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 #  include <memory.h>
619 # endif
620 # include <string.h>
621 #endif
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
624 #endif
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
627 #endif
628 #ifdef HAVE_STDINT_H
629 # include <stdint.h>
630 #endif
631 #ifdef HAVE_UNISTD_H
632 # include <unistd.h>
633 #endif"
634
635 gt_needs=
636 ac_subst_vars='am__EXEEXT_FALSE
637 am__EXEEXT_TRUE
638 LTLIBOBJS
639 LIBOBJS
640 requirements_ecore_wayland
641 requirements_ecore_imf_ibus
642 requirements_ecore_imf_scim
643 requirements_ecore_imf_xim
644 requirements_ecore_wince
645 requirements_ecore_win32
646 requirements_ecore_x
647 requirements_ecore_psl1ght
648 requirements_ecore_sdl
649 requirements_ecore_cocoa
650 requirements_ecore_ipc
651 requirements_ecore_input_evas
652 requirements_ecore_input
653 requirements_ecore_imf_evas
654 requirements_ecore_imf
655 requirements_ecore_file
656 requirements_ecore_fb
657 requirements_ecore_evas
658 requirements_ecore_directfb
659 requirements_ecore_con
660 requirements_ecore
661 EFL_INSTALL_EXAMPLES_FALSE
662 EFL_INSTALL_EXAMPLES_TRUE
663 EFL_BUILD_EXAMPLES_FALSE
664 EFL_BUILD_EXAMPLES_TRUE
665 EFL_ENABLE_COVERAGE_FALSE
666 EFL_ENABLE_COVERAGE_TRUE
667 EFL_COVERAGE_LIBS
668 EFL_COVERAGE_CFLAGS
669 have_lcov
670 EFL_ENABLE_TESTS_FALSE
671 EFL_ENABLE_TESTS_TRUE
672 CHECK_LIBS
673 CHECK_CFLAGS
674 WAYLAND_EGL_LIBS
675 WAYLAND_EGL_CFLAGS
676 ecore_wayland_libs
677 ecore_wayland_cflags
678 BUILD_ECORE_WAYLAND_FALSE
679 BUILD_ECORE_WAYLAND_TRUE
680 WAYLAND_LIBS
681 WAYLAND_CFLAGS
682 ecore_imf_ibus_libs
683 ecore_imf_ibus_cflags
684 BUILD_ECORE_IMF_IBUS_FALSE
685 BUILD_ECORE_IMF_IBUS_TRUE
686 IBUS_LIBS
687 IBUS_CFLAGS
688 XCB_X11_LIBS
689 XCB_X11_CFLAGS
690 ecore_evas_libs
691 ecore_evas_cflags
692 BUILD_ECORE_EVAS_FALSE
693 BUILD_ECORE_EVAS_TRUE
694 ecore_wince_libs
695 ecore_wince_cflags
696 BUILD_ECORE_WINCE_FALSE
697 BUILD_ECORE_WINCE_TRUE
698 ecore_directfb_libs
699 ecore_directfb_cflags
700 BUILD_ECORE_DIRECTFB_FALSE
701 BUILD_ECORE_DIRECTFB_TRUE
702 TSLIB_LIBS
703 TSLIB_CFLAGS
704 ecore_fb_libs
705 ecore_fb_cflags
706 BUILD_ECORE_FB_FALSE
707 BUILD_ECORE_FB_TRUE
708 ecore_psl1ght_libs
709 ecore_psl1ght_cflags
710 BUILD_ECORE_PSL1GHT_FALSE
711 BUILD_ECORE_PSL1GHT_TRUE
712 ecore_sdl_libs
713 ecore_sdl_cflags
714 BUILD_ECORE_SDL_FALSE
715 BUILD_ECORE_SDL_TRUE
716 ecore_cocoa_libs
717 ecore_cocoa_cflags
718 BUILD_ECORE_COCOA_FALSE
719 BUILD_ECORE_COCOA_TRUE
720 ecore_win32_libs
721 ecore_win32_cflags
722 BUILD_ECORE_WIN32_FALSE
723 BUILD_ECORE_WIN32_TRUE
724 ecore_x_libs
725 ecore_x_cflags
726 BUILD_ECORE_X_FALSE
727 BUILD_ECORE_X_TRUE
728 ecore_imf_scim_libs
729 ecore_imf_scim_cflags
730 BUILD_ECORE_IMF_SCIM_FALSE
731 BUILD_ECORE_IMF_SCIM_TRUE
732 SCIM_LIBS
733 SCIM_CFLAGS
734 ecore_imf_xim_libs
735 ecore_imf_xim_cflags
736 BUILD_ECORE_IMF_XIM_FALSE
737 BUILD_ECORE_IMF_XIM_TRUE
738 ecore_input_evas_libs
739 ecore_input_evas_cflags
740 BUILD_ECORE_INPUT_EVAS_FALSE
741 BUILD_ECORE_INPUT_EVAS_TRUE
742 ecore_input_libs
743 ecore_input_cflags
744 BUILD_ECORE_INPUT_FALSE
745 BUILD_ECORE_INPUT_TRUE
746 ecore_imf_evas_libs
747 ecore_imf_evas_cflags
748 BUILD_ECORE_IMF_EVAS_FALSE
749 BUILD_ECORE_IMF_EVAS_TRUE
750 ecore_imf_libs
751 ecore_imf_cflags
752 BUILD_ECORE_IMF_FALSE
753 BUILD_ECORE_IMF_TRUE
754 BUILD_ECORE_CONFIG_FALSE
755 BUILD_ECORE_CONFIG_TRUE
756 ecore_file_libs
757 ecore_file_cflags
758 BUILD_ECORE_FILE_FALSE
759 BUILD_ECORE_FILE_TRUE
760 ecore_ipc_libs
761 ecore_ipc_cflags
762 BUILD_ECORE_IPC_FALSE
763 BUILD_ECORE_IPC_TRUE
764 HAVE_CARES_FALSE
765 HAVE_CARES_TRUE
766 HAVE_IPV6_FALSE
767 HAVE_IPV6_TRUE
768 EFL_HAVE_WNO_INITIALIZER_OVERRIDES_FALSE
769 EFL_HAVE_WNO_INITIALIZER_OVERRIDES_TRUE
770 EFL_HAVE_WNO_OVERRIDE_INIT_FALSE
771 EFL_HAVE_WNO_OVERRIDE_INIT_TRUE
772 ECORE_CON_CFLAGS
773 CARES_LIBS
774 CARES_CFLAGS
775 SSL_LIBS
776 SSL_CFLAGS
777 LIBGCRYPT_LIBS
778 LIBGCRYPT_CFLAGS
779 LIBGCRYPT_CONFIG
780 TLS2_LIBS
781 TLS2_CFLAGS
782 TLS_LIBS
783 TLS_CFLAGS
784 CURL_LIBS
785 CURL_CFLAGS
786 ecore_con_libs
787 ecore_con_cflags
788 BUILD_ECORE_CON_FALSE
789 BUILD_ECORE_CON_TRUE
790 EFL_SHM_OPEN_LIBS
791 ALLOCA
792 lt_enable_auto_import
793 WIN32_CFLAGS
794 WIN32_CPPFLAGS
795 EFL_PTHREAD_LIBS
796 EFL_PTHREAD_CFLAGS
797 cocoa_ldflags
798 EVAS_LIBS
799 EVAS_CFLAGS
800 BUILD_ECORE_X_XCB_FALSE
801 BUILD_ECORE_X_XCB_TRUE
802 BUILD_ECORE_X_XLIB_FALSE
803 BUILD_ECORE_X_XLIB_TRUE
804 ecore_x_libs_private
805 x_libs
806 x_includes
807 x_cflags
808 XI2_LIBS
809 XI2_CFLAGS
810 XSS_LIBS
811 XSS_CFLAGS
812 XTEST_LIBS
813 XTEST_CFLAGS
814 XRENDER_LIBS
815 XRENDER_CFLAGS
816 XGESTURE_LIBS
817 XGESTURE_CFLAGS
818 XRANDR_LIBS
819 XRANDR_CFLAGS
820 XPRINT_LIBS
821 XPRINT_CFLAGS
822 XINERAMA_LIBS
823 XINERAMA_CFLAGS
824 XFIXES_LIBS
825 XFIXES_CFLAGS
826 XDPMS_LIBS
827 XDPMS_CFLAGS
828 XDAMAGE_LIBS
829 XDAMAGE_CFLAGS
830 XCOMPOSITE_LIBS
831 XCOMPOSITE_CFLAGS
832 XKB_LIBS
833 XKB_CFLAGS
834 Xcursor_libs
835 Xcursor_cflags
836 X_EXTRA_LIBS
837 X_LIBS
838 X_PRE_LIBS
839 X_CFLAGS
840 XMKMF
841 have_ecore_x_xcb_define
842 XCB_CURSOR_LIBS
843 XCB_CURSOR_CFLAGS
844 XCB_XINPUT_LIBS
845 XCB_XINPUT_CFLAGS
846 XCB_XTEST_LIBS
847 XCB_XTEST_CFLAGS
848 XCB_XPRINT_LIBS
849 XCB_XPRINT_CFLAGS
850 XCB_XINERAMA_LIBS
851 XCB_XINERAMA_CFLAGS
852 XCB_XFIXES_LIBS
853 XCB_XFIXES_CFLAGS
854 XCB_SYNC_LIBS
855 XCB_SYNC_CFLAGS
856 XCB_XGESTURE_LIBS
857 XCB_XGESTURE_CFLAGS
858 XCB_SHAPE_LIBS
859 XCB_SHAPE_CFLAGS
860 XCB_SCREENSAVER_LIBS
861 XCB_SCREENSAVER_CFLAGS
862 XCB_RENDER_LIBS
863 XCB_RENDER_CFLAGS
864 XCB_RANDR_LIBS
865 XCB_RANDR_CFLAGS
866 XCB_DPMS_LIBS
867 XCB_DPMS_CFLAGS
868 XCB_DAMAGE_LIBS
869 XCB_DAMAGE_CFLAGS
870 XCB_COMPOSITE_LIBS
871 XCB_COMPOSITE_CFLAGS
872 PIXMAN_LIBS
873 PIXMAN_CFLAGS
874 ECORE_XCB_LIBS
875 ECORE_XCB_CFLAGS
876 KEYSYMDEFS
877 DIRECTFB_LIBS
878 DIRECTFB_CFLAGS
879 SDL_CONFIG
880 SDL_LIBS
881 SDL_CFLAGS
882 GLIB_LIBS
883 GLIB_CFLAGS
884 EINA_LIBS
885 EINA_CFLAGS
886 rt_libs
887 dlopen_libs
888 WIN32_LIBS
889 ECORE_HAVE_PS3_FALSE
890 ECORE_HAVE_PS3_TRUE
891 ECORE_HAVE_WIN32_FALSE
892 ECORE_HAVE_WIN32_TRUE
893 ECORE_HAVE_WINCE_FALSE
894 ECORE_HAVE_WINCE_TRUE
895 EFL_ECORE_PSL1GHT_BUILD
896 EFL_ECORE_SDL_BUILD
897 EFL_ECORE_WIN32_BUILD
898 EFL_ECORE_WINCE_BUILD
899 EFL_ECORE_IPC_BUILD
900 EFL_ECORE_INPUT_EVAS_BUILD
901 EFL_ECORE_INPUT_BUILD
902 EFL_ECORE_IMF_EVAS_BUILD
903 EFL_ECORE_IMF_BUILD
904 EFL_ECORE_FILE_BUILD
905 EFL_ECORE_EVAS_BUILD
906 EFL_ECORE_CON_BUILD
907 EFL_ECORE_BUILD
908 ECORE_HAVE_EXOTIC_FALSE
909 ECORE_HAVE_EXOTIC_TRUE
910 EXOTIC_LIBS
911 EXOTIC_CFLAGS
912 ESCAPE_LIBS
913 ESCAPE_CFLAGS
914 EVIL_LIBS
915 EVIL_CFLAGS
916 pkgconfig_requires_private
917 PKG_CONFIG_LIBDIR
918 PKG_CONFIG_PATH
919 PKG_CONFIG
920 EFL_BUILD_DOC_FALSE
921 EFL_BUILD_DOC_TRUE
922 efl_doxygen
923 efl_have_doxygen
924 CXXCPP
925 am__fastdepCXX_FALSE
926 am__fastdepCXX_TRUE
927 CXXDEPMODE
928 ac_ct_CXX
929 CXXFLAGS
930 CXX
931 am__fastdepOBJC_FALSE
932 am__fastdepOBJC_TRUE
933 OBJCDEPMODE
934 ac_ct_OBJC
935 OBJCFLAGS
936 OBJC
937 HAVE_PO_FALSE
938 HAVE_PO_TRUE
939 POSUB
940 LTLIBINTL
941 LIBINTL
942 INTLLIBS
943 LTLIBICONV
944 LIBICONV
945 INTL_MACOSX_LIBS
946 XGETTEXT_EXTRA_OPTIONS
947 MSGMERGE
948 XGETTEXT_015
949 XGETTEXT
950 GMSGFMT_015
951 MSGFMT_015
952 GMSGFMT
953 MSGFMT
954 GETTEXT_MACRO_VERSION
955 USE_NLS
956 VMAJ
957 release_info
958 version_info
959 OTOOL64
960 OTOOL
961 LIPO
962 NMEDIT
963 DSYMUTIL
964 MANIFEST_TOOL
965 RANLIB
966 ac_ct_AR
967 AR
968 LN_S
969 NM
970 ac_ct_DUMPBIN
971 DUMPBIN
972 LD
973 FGREP
974 SED
975 LIBTOOL
976 OBJDUMP
977 DLLTOOL
978 AS
979 host_os
980 host_vendor
981 host_cpu
982 host
983 build_os
984 build_vendor
985 build_cpu
986 build
987 EGREP
988 GREP
989 CPP
990 am__fastdepCC_FALSE
991 am__fastdepCC_TRUE
992 CCDEPMODE
993 am__nodep
994 AMDEPBACKSLASH
995 AMDEP_FALSE
996 AMDEP_TRUE
997 am__quote
998 am__include
999 DEPDIR
1000 OBJEXT
1001 EXEEXT
1002 ac_ct_CC
1003 CPPFLAGS
1004 LDFLAGS
1005 CFLAGS
1006 CC
1007 AM_BACKSLASH
1008 AM_DEFAULT_VERBOSITY
1009 AM_DEFAULT_V
1010 AM_V
1011 am__untar
1012 am__tar
1013 AMTAR
1014 am__leading_dot
1015 SET_MAKE
1016 AWK
1017 mkdir_p
1018 MKDIR_P
1019 INSTALL_STRIP_PROGRAM
1020 STRIP
1021 install_sh
1022 MAKEINFO
1023 AUTOHEADER
1024 AUTOMAKE
1025 AUTOCONF
1026 ACLOCAL
1027 VERSION
1028 PACKAGE
1029 CYGPATH_W
1030 am__isrc
1031 INSTALL_DATA
1032 INSTALL_SCRIPT
1033 INSTALL_PROGRAM
1034 target_alias
1035 host_alias
1036 build_alias
1037 LIBS
1038 ECHO_T
1039 ECHO_N
1040 ECHO_C
1041 DEFS
1042 mandir
1043 localedir
1044 libdir
1045 psdir
1046 pdfdir
1047 dvidir
1048 htmldir
1049 infodir
1050 docdir
1051 oldincludedir
1052 includedir
1053 localstatedir
1054 sharedstatedir
1055 sysconfdir
1056 datadir
1057 datarootdir
1058 libexecdir
1059 sbindir
1060 bindir
1061 program_transform_name
1062 prefix
1063 exec_prefix
1064 PACKAGE_URL
1065 PACKAGE_BUGREPORT
1066 PACKAGE_STRING
1067 PACKAGE_VERSION
1068 PACKAGE_TARNAME
1069 PACKAGE_NAME
1070 PATH_SEPARATOR
1071 SHELL'
1072 ac_subst_files=''
1073 ac_user_opts='
1074 enable_option_checking
1075 enable_silent_rules
1076 enable_dependency_tracking
1077 enable_shared
1078 enable_static
1079 with_pic
1080 enable_fast_install
1081 with_gnu_ld
1082 with_sysroot
1083 enable_libtool_lock
1084 enable_nls
1085 enable_rpath
1086 with_libiconv_prefix
1087 with_libintl_prefix
1088 with_internal_maximum_log_level
1089 enable_glib_integration_always
1090 enable_g_main_loop
1091 enable_local_sockets
1092 enable_abstract_sockets
1093 enable_simple_x11
1094 enable_xim
1095 enable_doc
1096 with_doxygen
1097 enable_ecore_timer_dump
1098 enable_glib
1099 with_sdl_config
1100 enable_ecore_x_composite
1101 enable_ecore_x_damage
1102 enable_ecore_x_dpms
1103 enable_ecore_x_randr
1104 enable_ecore_x_render
1105 enable_ecore_x_screensaver
1106 enable_ecore_x_shape
1107 enable_ecore_x_gesture
1108 enable_ecore_x_sync
1109 enable_ecore_x_xfixes
1110 enable_ecore_x_xinerama
1111 enable_ecore_x_xprint
1112 enable_ecore_x_xtest
1113 enable_ecore_x_cursor
1114 enable_ecore_x_input
1115 enable_ecore_x_dri
1116 enable_ecore_x_xcb
1117 with_iconv_link
1118 with_x
1119 enable_largefile
1120 enable_epoll
1121 enable_posix_threads
1122 enable_win32_threads
1123 enable_debug_threads
1124 enable_thread_safety
1125 enable_atfile_source
1126 enable_ecore_con
1127 enable_ipv6
1128 enable_curl
1129 enable_gnutls
1130 with_libgcrypt_prefix
1131 with_libgcrypt_exec_prefix
1132 enable_openssl
1133 enable_cares
1134 enable_ecore_ipc
1135 enable_ecore_file
1136 enable_poll
1137 enable_inotify
1138 enable_notify_win32
1139 enable_ecore_imf
1140 enable_ecore_imf_evas
1141 enable_ecore_input
1142 enable_ecore_input_evas
1143 enable_ecore_imf_xim
1144 enable_ecore_imf_scim
1145 enable_ecore_x
1146 enable_ecore_win32
1147 enable_ecore_cocoa
1148 enable_ecore_sdl
1149 enable_ecore_psl1ght
1150 enable_ecore_fb
1151 enable_tslib
1152 enable_ecore_directfb
1153 enable_ecore_wince
1154 enable_ecore_evas
1155 enable_ecore_evas_software_buffer
1156 enable_ecore_evas_software_x11
1157 enable_ecore_evas_opengl_x11
1158 enable_ecore_evas_software_16_x11
1159 enable_ecore_evas_software_8_x11
1160 enable_ecore_evas_software_gdi
1161 enable_ecore_evas_software_ddraw
1162 enable_ecore_evas_direct3d
1163 enable_ecore_evas_opengl_glew
1164 enable_ecore_evas_software_16_ddraw
1165 enable_ecore_evas_opengl_sdl
1166 enable_ecore_evas_opengl_cocoa
1167 enable_ecore_evas_directfb
1168 enable_ecore_evas_fb
1169 enable_ecore_evas_software_16_wince
1170 enable_ecore_evas_ews
1171 enable_ecore_evas_psl1ght
1172 enable_ecore_imf_ibus
1173 enable_ecore_wayland
1174 enable_ecore_evas_wayland_shm
1175 enable_ecore_evas_wayland_egl
1176 enable_tests
1177 enable_coverage
1178 enable_build_examples
1179 enable_install_examples
1180 '
1181       ac_precious_vars='build_alias
1182 host_alias
1183 target_alias
1184 CC
1185 CFLAGS
1186 LDFLAGS
1187 LIBS
1188 CPPFLAGS
1189 CPP
1190 OBJC
1191 OBJCFLAGS
1192 CXX
1193 CXXFLAGS
1194 CCC
1195 CXXCPP
1196 PKG_CONFIG
1197 PKG_CONFIG_PATH
1198 PKG_CONFIG_LIBDIR
1199 EVIL_CFLAGS
1200 EVIL_LIBS
1201 ESCAPE_CFLAGS
1202 ESCAPE_LIBS
1203 EXOTIC_CFLAGS
1204 EXOTIC_LIBS
1205 EINA_CFLAGS
1206 EINA_LIBS
1207 GLIB_CFLAGS
1208 GLIB_LIBS
1209 SDL_CFLAGS
1210 SDL_LIBS
1211 DIRECTFB_CFLAGS
1212 DIRECTFB_LIBS
1213 ECORE_XCB_CFLAGS
1214 ECORE_XCB_LIBS
1215 PIXMAN_CFLAGS
1216 PIXMAN_LIBS
1217 XCB_COMPOSITE_CFLAGS
1218 XCB_COMPOSITE_LIBS
1219 XCB_DAMAGE_CFLAGS
1220 XCB_DAMAGE_LIBS
1221 XCB_DPMS_CFLAGS
1222 XCB_DPMS_LIBS
1223 XCB_RANDR_CFLAGS
1224 XCB_RANDR_LIBS
1225 XCB_RENDER_CFLAGS
1226 XCB_RENDER_LIBS
1227 XCB_SCREENSAVER_CFLAGS
1228 XCB_SCREENSAVER_LIBS
1229 XCB_SHAPE_CFLAGS
1230 XCB_SHAPE_LIBS
1231 XCB_XGESTURE_CFLAGS
1232 XCB_XGESTURE_LIBS
1233 XCB_SYNC_CFLAGS
1234 XCB_SYNC_LIBS
1235 XCB_XFIXES_CFLAGS
1236 XCB_XFIXES_LIBS
1237 XCB_XINERAMA_CFLAGS
1238 XCB_XINERAMA_LIBS
1239 XCB_XPRINT_CFLAGS
1240 XCB_XPRINT_LIBS
1241 XCB_XTEST_CFLAGS
1242 XCB_XTEST_LIBS
1243 XCB_XINPUT_CFLAGS
1244 XCB_XINPUT_LIBS
1245 XCB_CURSOR_CFLAGS
1246 XCB_CURSOR_LIBS
1247 XMKMF
1248 EVAS_CFLAGS
1249 EVAS_LIBS
1250 CURL_CFLAGS
1251 CURL_LIBS
1252 TLS_CFLAGS
1253 TLS_LIBS
1254 TLS2_CFLAGS
1255 TLS2_LIBS
1256 SSL_CFLAGS
1257 SSL_LIBS
1258 CARES_CFLAGS
1259 CARES_LIBS
1260 ECORE_CON_CFLAGS
1261 SCIM_CFLAGS
1262 SCIM_LIBS
1263 TSLIB_CFLAGS
1264 TSLIB_LIBS
1265 XCB_X11_CFLAGS
1266 XCB_X11_LIBS
1267 IBUS_CFLAGS
1268 IBUS_LIBS
1269 WAYLAND_CFLAGS
1270 WAYLAND_LIBS
1271 WAYLAND_EGL_CFLAGS
1272 WAYLAND_EGL_LIBS
1273 CHECK_CFLAGS
1274 CHECK_LIBS'
1275
1276
1277 # Initialize some variables set by options.
1278 ac_init_help=
1279 ac_init_version=false
1280 ac_unrecognized_opts=
1281 ac_unrecognized_sep=
1282 # The variables have the same names as the options, with
1283 # dashes changed to underlines.
1284 cache_file=/dev/null
1285 exec_prefix=NONE
1286 no_create=
1287 no_recursion=
1288 prefix=NONE
1289 program_prefix=NONE
1290 program_suffix=NONE
1291 program_transform_name=s,x,x,
1292 silent=
1293 site=
1294 srcdir=
1295 verbose=
1296 x_includes=NONE
1297 x_libraries=NONE
1298
1299 # Installation directory options.
1300 # These are left unexpanded so users can "make install exec_prefix=/foo"
1301 # and all the variables that are supposed to be based on exec_prefix
1302 # by default will actually change.
1303 # Use braces instead of parens because sh, perl, etc. also accept them.
1304 # (The list follows the same order as the GNU Coding Standards.)
1305 bindir='${exec_prefix}/bin'
1306 sbindir='${exec_prefix}/sbin'
1307 libexecdir='${exec_prefix}/libexec'
1308 datarootdir='${prefix}/share'
1309 datadir='${datarootdir}'
1310 sysconfdir='${prefix}/etc'
1311 sharedstatedir='${prefix}/com'
1312 localstatedir='${prefix}/var'
1313 includedir='${prefix}/include'
1314 oldincludedir='/usr/include'
1315 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1316 infodir='${datarootdir}/info'
1317 htmldir='${docdir}'
1318 dvidir='${docdir}'
1319 pdfdir='${docdir}'
1320 psdir='${docdir}'
1321 libdir='${exec_prefix}/lib'
1322 localedir='${datarootdir}/locale'
1323 mandir='${datarootdir}/man'
1324
1325 ac_prev=
1326 ac_dashdash=
1327 for ac_option
1328 do
1329   # If the previous option needs an argument, assign it.
1330   if test -n "$ac_prev"; then
1331     eval $ac_prev=\$ac_option
1332     ac_prev=
1333     continue
1334   fi
1335
1336   case $ac_option in
1337   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1338   *=)   ac_optarg= ;;
1339   *)    ac_optarg=yes ;;
1340   esac
1341
1342   # Accept the important Cygnus configure options, so we can diagnose typos.
1343
1344   case $ac_dashdash$ac_option in
1345   --)
1346     ac_dashdash=yes ;;
1347
1348   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1349     ac_prev=bindir ;;
1350   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1351     bindir=$ac_optarg ;;
1352
1353   -build | --build | --buil | --bui | --bu)
1354     ac_prev=build_alias ;;
1355   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1356     build_alias=$ac_optarg ;;
1357
1358   -cache-file | --cache-file | --cache-fil | --cache-fi \
1359   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1360     ac_prev=cache_file ;;
1361   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1362   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1363     cache_file=$ac_optarg ;;
1364
1365   --config-cache | -C)
1366     cache_file=config.cache ;;
1367
1368   -datadir | --datadir | --datadi | --datad)
1369     ac_prev=datadir ;;
1370   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1371     datadir=$ac_optarg ;;
1372
1373   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1374   | --dataroo | --dataro | --datar)
1375     ac_prev=datarootdir ;;
1376   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1377   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1378     datarootdir=$ac_optarg ;;
1379
1380   -disable-* | --disable-*)
1381     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1382     # Reject names that are not valid shell variable names.
1383     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1384       as_fn_error $? "invalid feature name: $ac_useropt"
1385     ac_useropt_orig=$ac_useropt
1386     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1387     case $ac_user_opts in
1388       *"
1389 "enable_$ac_useropt"
1390 "*) ;;
1391       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1392          ac_unrecognized_sep=', ';;
1393     esac
1394     eval enable_$ac_useropt=no ;;
1395
1396   -docdir | --docdir | --docdi | --doc | --do)
1397     ac_prev=docdir ;;
1398   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1399     docdir=$ac_optarg ;;
1400
1401   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1402     ac_prev=dvidir ;;
1403   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1404     dvidir=$ac_optarg ;;
1405
1406   -enable-* | --enable-*)
1407     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1408     # Reject names that are not valid shell variable names.
1409     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1410       as_fn_error $? "invalid feature name: $ac_useropt"
1411     ac_useropt_orig=$ac_useropt
1412     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1413     case $ac_user_opts in
1414       *"
1415 "enable_$ac_useropt"
1416 "*) ;;
1417       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1418          ac_unrecognized_sep=', ';;
1419     esac
1420     eval enable_$ac_useropt=\$ac_optarg ;;
1421
1422   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1423   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1424   | --exec | --exe | --ex)
1425     ac_prev=exec_prefix ;;
1426   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1427   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1428   | --exec=* | --exe=* | --ex=*)
1429     exec_prefix=$ac_optarg ;;
1430
1431   -gas | --gas | --ga | --g)
1432     # Obsolete; use --with-gas.
1433     with_gas=yes ;;
1434
1435   -help | --help | --hel | --he | -h)
1436     ac_init_help=long ;;
1437   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1438     ac_init_help=recursive ;;
1439   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1440     ac_init_help=short ;;
1441
1442   -host | --host | --hos | --ho)
1443     ac_prev=host_alias ;;
1444   -host=* | --host=* | --hos=* | --ho=*)
1445     host_alias=$ac_optarg ;;
1446
1447   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1448     ac_prev=htmldir ;;
1449   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1450   | --ht=*)
1451     htmldir=$ac_optarg ;;
1452
1453   -includedir | --includedir | --includedi | --included | --include \
1454   | --includ | --inclu | --incl | --inc)
1455     ac_prev=includedir ;;
1456   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1457   | --includ=* | --inclu=* | --incl=* | --inc=*)
1458     includedir=$ac_optarg ;;
1459
1460   -infodir | --infodir | --infodi | --infod | --info | --inf)
1461     ac_prev=infodir ;;
1462   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1463     infodir=$ac_optarg ;;
1464
1465   -libdir | --libdir | --libdi | --libd)
1466     ac_prev=libdir ;;
1467   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1468     libdir=$ac_optarg ;;
1469
1470   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1471   | --libexe | --libex | --libe)
1472     ac_prev=libexecdir ;;
1473   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1474   | --libexe=* | --libex=* | --libe=*)
1475     libexecdir=$ac_optarg ;;
1476
1477   -localedir | --localedir | --localedi | --localed | --locale)
1478     ac_prev=localedir ;;
1479   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1480     localedir=$ac_optarg ;;
1481
1482   -localstatedir | --localstatedir | --localstatedi | --localstated \
1483   | --localstate | --localstat | --localsta | --localst | --locals)
1484     ac_prev=localstatedir ;;
1485   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1486   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1487     localstatedir=$ac_optarg ;;
1488
1489   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1490     ac_prev=mandir ;;
1491   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1492     mandir=$ac_optarg ;;
1493
1494   -nfp | --nfp | --nf)
1495     # Obsolete; use --without-fp.
1496     with_fp=no ;;
1497
1498   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1499   | --no-cr | --no-c | -n)
1500     no_create=yes ;;
1501
1502   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1503   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1504     no_recursion=yes ;;
1505
1506   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1507   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1508   | --oldin | --oldi | --old | --ol | --o)
1509     ac_prev=oldincludedir ;;
1510   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1511   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1512   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1513     oldincludedir=$ac_optarg ;;
1514
1515   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1516     ac_prev=prefix ;;
1517   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1518     prefix=$ac_optarg ;;
1519
1520   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1521   | --program-pre | --program-pr | --program-p)
1522     ac_prev=program_prefix ;;
1523   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1524   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1525     program_prefix=$ac_optarg ;;
1526
1527   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1528   | --program-suf | --program-su | --program-s)
1529     ac_prev=program_suffix ;;
1530   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1531   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1532     program_suffix=$ac_optarg ;;
1533
1534   -program-transform-name | --program-transform-name \
1535   | --program-transform-nam | --program-transform-na \
1536   | --program-transform-n | --program-transform- \
1537   | --program-transform | --program-transfor \
1538   | --program-transfo | --program-transf \
1539   | --program-trans | --program-tran \
1540   | --progr-tra | --program-tr | --program-t)
1541     ac_prev=program_transform_name ;;
1542   -program-transform-name=* | --program-transform-name=* \
1543   | --program-transform-nam=* | --program-transform-na=* \
1544   | --program-transform-n=* | --program-transform-=* \
1545   | --program-transform=* | --program-transfor=* \
1546   | --program-transfo=* | --program-transf=* \
1547   | --program-trans=* | --program-tran=* \
1548   | --progr-tra=* | --program-tr=* | --program-t=*)
1549     program_transform_name=$ac_optarg ;;
1550
1551   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1552     ac_prev=pdfdir ;;
1553   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1554     pdfdir=$ac_optarg ;;
1555
1556   -psdir | --psdir | --psdi | --psd | --ps)
1557     ac_prev=psdir ;;
1558   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1559     psdir=$ac_optarg ;;
1560
1561   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1562   | -silent | --silent | --silen | --sile | --sil)
1563     silent=yes ;;
1564
1565   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1566     ac_prev=sbindir ;;
1567   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1568   | --sbi=* | --sb=*)
1569     sbindir=$ac_optarg ;;
1570
1571   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1572   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1573   | --sharedst | --shareds | --shared | --share | --shar \
1574   | --sha | --sh)
1575     ac_prev=sharedstatedir ;;
1576   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1577   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1578   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1579   | --sha=* | --sh=*)
1580     sharedstatedir=$ac_optarg ;;
1581
1582   -site | --site | --sit)
1583     ac_prev=site ;;
1584   -site=* | --site=* | --sit=*)
1585     site=$ac_optarg ;;
1586
1587   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1588     ac_prev=srcdir ;;
1589   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1590     srcdir=$ac_optarg ;;
1591
1592   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1593   | --syscon | --sysco | --sysc | --sys | --sy)
1594     ac_prev=sysconfdir ;;
1595   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1596   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1597     sysconfdir=$ac_optarg ;;
1598
1599   -target | --target | --targe | --targ | --tar | --ta | --t)
1600     ac_prev=target_alias ;;
1601   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1602     target_alias=$ac_optarg ;;
1603
1604   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1605     verbose=yes ;;
1606
1607   -version | --version | --versio | --versi | --vers | -V)
1608     ac_init_version=: ;;
1609
1610   -with-* | --with-*)
1611     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1612     # Reject names that are not valid shell variable names.
1613     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1614       as_fn_error $? "invalid package name: $ac_useropt"
1615     ac_useropt_orig=$ac_useropt
1616     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1617     case $ac_user_opts in
1618       *"
1619 "with_$ac_useropt"
1620 "*) ;;
1621       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1622          ac_unrecognized_sep=', ';;
1623     esac
1624     eval with_$ac_useropt=\$ac_optarg ;;
1625
1626   -without-* | --without-*)
1627     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1628     # Reject names that are not valid shell variable names.
1629     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1630       as_fn_error $? "invalid package name: $ac_useropt"
1631     ac_useropt_orig=$ac_useropt
1632     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1633     case $ac_user_opts in
1634       *"
1635 "with_$ac_useropt"
1636 "*) ;;
1637       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1638          ac_unrecognized_sep=', ';;
1639     esac
1640     eval with_$ac_useropt=no ;;
1641
1642   --x)
1643     # Obsolete; use --with-x.
1644     with_x=yes ;;
1645
1646   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1647   | --x-incl | --x-inc | --x-in | --x-i)
1648     ac_prev=x_includes ;;
1649   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1650   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1651     x_includes=$ac_optarg ;;
1652
1653   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1654   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1655     ac_prev=x_libraries ;;
1656   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1657   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1658     x_libraries=$ac_optarg ;;
1659
1660   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1661 Try \`$0 --help' for more information"
1662     ;;
1663
1664   *=*)
1665     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1666     # Reject names that are not valid shell variable names.
1667     case $ac_envvar in #(
1668       '' | [0-9]* | *[!_$as_cr_alnum]* )
1669       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1670     esac
1671     eval $ac_envvar=\$ac_optarg
1672     export $ac_envvar ;;
1673
1674   *)
1675     # FIXME: should be removed in autoconf 3.0.
1676     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1677     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1678       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1679     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1680     ;;
1681
1682   esac
1683 done
1684
1685 if test -n "$ac_prev"; then
1686   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1687   as_fn_error $? "missing argument to $ac_option"
1688 fi
1689
1690 if test -n "$ac_unrecognized_opts"; then
1691   case $enable_option_checking in
1692     no) ;;
1693     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1694     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1695   esac
1696 fi
1697
1698 # Check all directory arguments for consistency.
1699 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1700                 datadir sysconfdir sharedstatedir localstatedir includedir \
1701                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1702                 libdir localedir mandir
1703 do
1704   eval ac_val=\$$ac_var
1705   # Remove trailing slashes.
1706   case $ac_val in
1707     */ )
1708       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1709       eval $ac_var=\$ac_val;;
1710   esac
1711   # Be sure to have absolute directory names.
1712   case $ac_val in
1713     [\\/$]* | ?:[\\/]* )  continue;;
1714     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1715   esac
1716   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1717 done
1718
1719 # There might be people who depend on the old broken behavior: `$host'
1720 # used to hold the argument of --host etc.
1721 # FIXME: To remove some day.
1722 build=$build_alias
1723 host=$host_alias
1724 target=$target_alias
1725
1726 # FIXME: To remove some day.
1727 if test "x$host_alias" != x; then
1728   if test "x$build_alias" = x; then
1729     cross_compiling=maybe
1730   elif test "x$build_alias" != "x$host_alias"; then
1731     cross_compiling=yes
1732   fi
1733 fi
1734
1735 ac_tool_prefix=
1736 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1737
1738 test "$silent" = yes && exec 6>/dev/null
1739
1740
1741 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1742 ac_ls_di=`ls -di .` &&
1743 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1744   as_fn_error $? "working directory cannot be determined"
1745 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1746   as_fn_error $? "pwd does not report name of working directory"
1747
1748
1749 # Find the source files, if location was not specified.
1750 if test -z "$srcdir"; then
1751   ac_srcdir_defaulted=yes
1752   # Try the directory containing this script, then the parent directory.
1753   ac_confdir=`$as_dirname -- "$as_myself" ||
1754 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1755          X"$as_myself" : 'X\(//\)[^/]' \| \
1756          X"$as_myself" : 'X\(//\)$' \| \
1757          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1758 $as_echo X"$as_myself" |
1759     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1760             s//\1/
1761             q
1762           }
1763           /^X\(\/\/\)[^/].*/{
1764             s//\1/
1765             q
1766           }
1767           /^X\(\/\/\)$/{
1768             s//\1/
1769             q
1770           }
1771           /^X\(\/\).*/{
1772             s//\1/
1773             q
1774           }
1775           s/.*/./; q'`
1776   srcdir=$ac_confdir
1777   if test ! -r "$srcdir/$ac_unique_file"; then
1778     srcdir=..
1779   fi
1780 else
1781   ac_srcdir_defaulted=no
1782 fi
1783 if test ! -r "$srcdir/$ac_unique_file"; then
1784   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1785   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1786 fi
1787 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1788 ac_abs_confdir=`(
1789         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1790         pwd)`
1791 # When building in place, set srcdir=.
1792 if test "$ac_abs_confdir" = "$ac_pwd"; then
1793   srcdir=.
1794 fi
1795 # Remove unnecessary trailing slashes from srcdir.
1796 # Double slashes in file names in object file debugging info
1797 # mess up M-x gdb in Emacs.
1798 case $srcdir in
1799 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1800 esac
1801 for ac_var in $ac_precious_vars; do
1802   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1803   eval ac_env_${ac_var}_value=\$${ac_var}
1804   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1805   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1806 done
1807
1808 #
1809 # Report the --help message.
1810 #
1811 if test "$ac_init_help" = "long"; then
1812   # Omit some internal or obsolete options to make the list less imposing.
1813   # This message is too long to be a string in the A/UX 3.1 sh.
1814   cat <<_ACEOF
1815 \`configure' configures ecore 1.7.8 to adapt to many kinds of systems.
1816
1817 Usage: $0 [OPTION]... [VAR=VALUE]...
1818
1819 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1820 VAR=VALUE.  See below for descriptions of some of the useful variables.
1821
1822 Defaults for the options are specified in brackets.
1823
1824 Configuration:
1825   -h, --help              display this help and exit
1826       --help=short        display options specific to this package
1827       --help=recursive    display the short help of all the included packages
1828   -V, --version           display version information and exit
1829   -q, --quiet, --silent   do not print \`checking ...' messages
1830       --cache-file=FILE   cache test results in FILE [disabled]
1831   -C, --config-cache      alias for \`--cache-file=config.cache'
1832   -n, --no-create         do not create output files
1833       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1834
1835 Installation directories:
1836   --prefix=PREFIX         install architecture-independent files in PREFIX
1837                           [$ac_default_prefix]
1838   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1839                           [PREFIX]
1840
1841 By default, \`make install' will install all the files in
1842 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1843 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1844 for instance \`--prefix=\$HOME'.
1845
1846 For better control, use the options below.
1847
1848 Fine tuning of the installation directories:
1849   --bindir=DIR            user executables [EPREFIX/bin]
1850   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1851   --libexecdir=DIR        program executables [EPREFIX/libexec]
1852   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1853   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1854   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1855   --libdir=DIR            object code libraries [EPREFIX/lib]
1856   --includedir=DIR        C header files [PREFIX/include]
1857   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1858   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1859   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1860   --infodir=DIR           info documentation [DATAROOTDIR/info]
1861   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1862   --mandir=DIR            man documentation [DATAROOTDIR/man]
1863   --docdir=DIR            documentation root [DATAROOTDIR/doc/ecore]
1864   --htmldir=DIR           html documentation [DOCDIR]
1865   --dvidir=DIR            dvi documentation [DOCDIR]
1866   --pdfdir=DIR            pdf documentation [DOCDIR]
1867   --psdir=DIR             ps documentation [DOCDIR]
1868 _ACEOF
1869
1870   cat <<\_ACEOF
1871
1872 Program names:
1873   --program-prefix=PREFIX            prepend PREFIX to installed program names
1874   --program-suffix=SUFFIX            append SUFFIX to installed program names
1875   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1876
1877 X features:
1878   --x-includes=DIR    X include files are in DIR
1879   --x-libraries=DIR   X library files are in DIR
1880
1881 System types:
1882   --build=BUILD     configure for building on BUILD [guessed]
1883   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1884 _ACEOF
1885 fi
1886
1887 if test -n "$ac_init_help"; then
1888   case $ac_init_help in
1889      short | recursive ) echo "Configuration of ecore 1.7.8:";;
1890    esac
1891   cat <<\_ACEOF
1892
1893 Optional Features:
1894   --disable-option-checking  ignore unrecognized --enable/--with options
1895   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1896   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1897   --enable-silent-rules   less verbose build output (undo: "make V=1")
1898   --disable-silent-rules  verbose build output (undo: "make V=0")
1899   --enable-dependency-tracking
1900                           do not reject slow dependency extractors
1901   --disable-dependency-tracking
1902                           speeds up one-time build
1903   --enable-shared[=PKGS]  build shared libraries [default=yes]
1904   --enable-static[=PKGS]  build static libraries [default=yes]
1905   --enable-fast-install[=PKGS]
1906                           optimize for fast installation [default=yes]
1907   --disable-libtool-lock  avoid locking (might break parallel builds)
1908   --disable-nls           do not use Native Language Support
1909   --disable-rpath         do not hardcode runtime library paths
1910   --enable-glib-integration-always
1911                           enable glib integration when ecore_init() is called
1912                           always
1913   --enable-g-main-loop    ecore_main_loop based on g_main_loop
1914   --disable-local-sockets disable local sockets.
1915   --disable-abstract-sockets
1916                           disable abstract sockets.
1917   --enable-simple-x11     enable simple x11 linking
1918   --disable-xim           disable X Input Method.
1919   --disable-doc           Disable documentation build [default=enabled]
1920   --disable-ecore-timer-dump
1921                           disable tracking of timer allocation.
1922                           [default=enable]
1923   --disable-glib          disable glib support. [default=detect]
1924   --disable-ecore-x-composite
1925                           disable the ecore_x support for Xcomposite
1926                           extension. [default=detect]
1927   --disable-ecore-x-damage
1928                           disable the ecore_x support for Xdamage extension.
1929                           [default=detect]
1930   --disable-ecore-x-dpms  disable the ecore_x support for Xdpms extension.
1931                           [default=detect]
1932   --disable-ecore-x-randr disable the ecore_x support for Xrandr extension.
1933                           [default=detect]
1934   --disable-ecore-x-render
1935                           disable the ecore_x support for Xrender extension.
1936                           [default=detect]
1937   --disable-ecore-x-screensaver
1938                           disable the ecore_x support for Xscreensaver
1939                           extension. [default=detect]
1940   --disable-ecore-x-shape disable the ecore_x support for Xshape extension.
1941                           [default=detect]
1942   --enable-ecore-x-gesture
1943                           enable the ecore_x support for Xgesture extension.
1944                           [default=detect]
1945   --disable-ecore-x-sync  disable the ecore_x support for Xsync extension.
1946                           [default=detect]
1947   --disable-ecore-x-xfixes
1948                           disable the ecore_x support for Xfixes extension.
1949                           [default=detect]
1950   --disable-ecore-x-xinerama
1951                           disable the ecore_x support for Xinerama extension.
1952                           [default=detect]
1953   --disable-ecore-x-xprint
1954                           disable the ecore_x support for Xprint extension.
1955                           [default=detect]
1956   --disable-ecore-x-xtest disable the ecore_x support for Xtest extension.
1957                           [default=detect]
1958   --disable-ecore-x-cursor
1959                           disable the ecore_x support for Xcursor extension.
1960                           [default=detect]
1961   --disable-ecore-x-input disable the ecore_x support for Xinput/Xinput2
1962                           extension. [default=detect]
1963   --disable-ecore-x-dri   disable the ecore_x support for DRI extension.
1964                           [default=detect]
1965   --enable-ecore-x-xcb    enable the ecore_x module with XCB backend.
1966                           [default=disabled]
1967   --disable-largefile     omit support for large files
1968   --enable-epoll          enable or disable epoll support
1969   --disable-posix-threads enable POSIX threads code [default=auto]
1970   --disable-win32-threads enable Win32 threads code [default=no]
1971   --enable-debug-threads  disable assert when you forgot to call
1972                           eina_threads_init
1973   --enable-thread-safety  enable or disable thread safety
1974   --disable-atfile-source disable use of atfile source functions as openat and
1975                           mkdirat [default=detect]
1976   --enable-ecore-con      enable the ecore_con module
1977   --disable-ipv6          disable ipv6 functionality [default=detect]
1978   --disable-curl          disable curl support
1979   --disable-gnutls        disable gnutls support
1980   --disable-openssl       disable openssl support
1981   --disable-cares         disable cares support
1982   --enable-ecore-ipc      enable the ecore_ipc module
1983   --enable-ecore-file     enable the ecore_file module
1984   --disable-poll          disable poll in the ecore_file module
1985   --disable-inotify       disable inotify in the ecore_file module
1986   --disable-notify-win32  disable Windows notification in the ecore_file
1987                           module
1988   --enable-ecore-imf      enable the ecore_imf module
1989   --enable-ecore-imf-evas enable the ecore_imf_evas module
1990   --enable-ecore-input    enable the ecore_input module
1991   --enable-ecore-input-evas
1992                           enable the ecore_input_evas module
1993   --enable-ecore-imf-xim  enable the ecore_imf_xim module
1994   --enable-ecore-imf-scim enable the ecore_imf_scim module
1995   --enable-ecore-x        enable the ecore_x module
1996   --enable-ecore-win32    enable the ecore_win32 module
1997   --enable-ecore-cocoa    enable the ecore_cocoa module
1998   --enable-ecore-sdl      enable the ecore_sdl module
1999   --enable-ecore-psl1ght  enable the ecore_psl1ght module
2000   --enable-ecore-fb       enable the ecore_fb module
2001   --disable-tslib         disable the tslib support in ecore (currently
2002                           ecore-fb). [default=detect]
2003   --enable-ecore-directfb enable the ecore_directfb module
2004   --enable-ecore-wince    enable the ecore_wince module
2005   --enable-ecore-evas     enable the ecore_evas module
2006   --enable-ecore-evas-software-buffer
2007                           enable Software Buffer support in the ecore_evas
2008                           module.
2009   --enable-ecore-evas-software-x11
2010                           enable Software X11 support in the ecore_evas
2011                           module.
2012   --enable-ecore-evas-opengl-x11
2013                           enable OpenGL Xlib support in the ecore_evas module.
2014   --enable-ecore-evas-software-16-x11
2015                           enable Software Xlib 16 bits support in the
2016                           ecore_evas module.
2017   --enable-ecore-evas-software-8-x11
2018                           enable Software 8bit X11 support in the ecore_evas
2019                           module.
2020   --enable-ecore-evas-software-gdi
2021                           enable Software GDI support in the ecore_evas
2022                           module.
2023   --enable-ecore-evas-software-ddraw
2024                           enable Software DirectDraw support in the ecore_evas
2025                           module.
2026   --enable-ecore-evas-direct3d
2027                           enable Direct3d support in the ecore_evas module.
2028   --enable-ecore-evas-opengl-glew
2029                           enable Glew OpenGL support in the ecore_evas module.
2030   --enable-ecore-evas-software-16-ddraw
2031                           enable 16 bpp Software DirectDraw support in the
2032                           ecore_evas module.
2033   --enable-ecore-evas-opengl-sdl
2034                           enable OpenGL SDL support in the ecore_evas module.
2035   --enable-ecore-evas-opengl-cocoa
2036                           enable OpenGL Cocoa support in the ecore_evas
2037                           module.
2038   --enable-ecore-evas-directfb
2039                           enable DirectFB support in the ecore_evas module.
2040   --enable-ecore-evas-fb  enable Linux Framebuffer support in the ecore_evas
2041                           module.
2042   --enable-ecore-evas-software-16-wince
2043                           enable 16 bpp Software Windows CE support in the
2044                           ecore_evas module.
2045   --enable-ecore-evas-ews enable Ecore Evas Single Process Windowing System
2046                           support in the ecore_evas module.
2047   --enable-ecore-evas-psl1ght
2048                           enable PSL1GHT support in the ecore_evas module.
2049   --enable-ecore-imf-ibus enable the ecore_imf_ibus module
2050   --enable-ecore-wayland  enable the ecore_wayland module
2051   --enable-ecore-evas-wayland-shm
2052                           enable Wayland Shm support in the ecore_evas module.
2053   --enable-ecore-evas-wayland-egl
2054                           enable Wayland Egl support in the ecore_evas module.
2055   --enable-tests          enable tests [default=disabled]
2056   --enable-coverage       enable coverage profiling instrumentation
2057                           [default=disabled]
2058   --enable-build-examples enable building examples [default=disabled]
2059   --enable-install-examples
2060                           enable installing example source files
2061                           [default=disabled]
2062
2063 Optional Packages:
2064   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
2065   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
2066   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
2067                           both]
2068   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
2069   --with-sysroot=DIR Search for dependent libraries within DIR
2070                         (or the compiler's sysroot if not specified).
2071   --with-gnu-ld           assume the C compiler uses GNU ld default=no
2072   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
2073   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
2074   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
2075   --without-libintl-prefix     don't search for libintl in includedir and libdir
2076   --with-internal-maximum-log-level=NUMBER
2077                           limit ecore internal log level to the given number,
2078                           any call to EINA_LOG() with values greater than this
2079                           will be compiled out, ignoring runtime settings, but
2080                           saving function calls.
2081   --with-doxygen=FILE     doxygen program to use [default=doxygen]
2082   --with-sdl-config=PATH  use sdl-config specified
2083   --with-iconv-link=ICONV_LINK
2084                           explicitly specify an iconv link option
2085   --with-x                use the X Window System
2086   --with-libgcrypt-prefix=PFX       Prefix where libgcrypt is installed (optional)
2087   --with-libgcrypt-exec-prefix=PFX  Exec prefix where libgcrypt is installed (optional)
2088
2089 Some influential environment variables:
2090   CC          C compiler command
2091   CFLAGS      C compiler flags
2092   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
2093               nonstandard directory <lib dir>
2094   LIBS        libraries to pass to the linker, e.g. -l<library>
2095   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2096               you have headers in a nonstandard directory <include dir>
2097   CPP         C preprocessor
2098   OBJC        Objective C compiler command
2099   OBJCFLAGS   Objective C compiler flags
2100   CXX         C++ compiler command
2101   CXXFLAGS    C++ compiler flags
2102   CXXCPP      C++ preprocessor
2103   PKG_CONFIG  path to pkg-config utility
2104   PKG_CONFIG_PATH
2105               directories to add to pkg-config's search path
2106   PKG_CONFIG_LIBDIR
2107               path overriding pkg-config's built-in search path
2108   EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
2109   EVIL_LIBS   linker flags for EVIL, overriding pkg-config
2110   ESCAPE_CFLAGS
2111               C compiler flags for ESCAPE, overriding pkg-config
2112   ESCAPE_LIBS linker flags for ESCAPE, overriding pkg-config
2113   EXOTIC_CFLAGS
2114               C compiler flags for EXOTIC, overriding pkg-config
2115   EXOTIC_LIBS linker flags for EXOTIC, overriding pkg-config
2116   EINA_CFLAGS C compiler flags for EINA, overriding pkg-config
2117   EINA_LIBS   linker flags for EINA, overriding pkg-config
2118   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
2119   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
2120   SDL_CFLAGS  C compiler flags for SDL, overriding pkg-config
2121   SDL_LIBS    linker flags for SDL, overriding pkg-config
2122   DIRECTFB_CFLAGS
2123               C compiler flags for DIRECTFB, overriding pkg-config
2124   DIRECTFB_LIBS
2125               linker flags for DIRECTFB, overriding pkg-config
2126   ECORE_XCB_CFLAGS
2127               C compiler flags for ECORE_XCB, overriding pkg-config
2128   ECORE_XCB_LIBS
2129               linker flags for ECORE_XCB, overriding pkg-config
2130   PIXMAN_CFLAGS
2131               C compiler flags for PIXMAN, overriding pkg-config
2132   PIXMAN_LIBS linker flags for PIXMAN, overriding pkg-config
2133   XCB_COMPOSITE_CFLAGS
2134               C compiler flags for XCB_COMPOSITE, overriding pkg-config
2135   XCB_COMPOSITE_LIBS
2136               linker flags for XCB_COMPOSITE, overriding pkg-config
2137   XCB_DAMAGE_CFLAGS
2138               C compiler flags for XCB_DAMAGE, overriding pkg-config
2139   XCB_DAMAGE_LIBS
2140               linker flags for XCB_DAMAGE, overriding pkg-config
2141   XCB_DPMS_CFLAGS
2142               C compiler flags for XCB_DPMS, overriding pkg-config
2143   XCB_DPMS_LIBS
2144               linker flags for XCB_DPMS, overriding pkg-config
2145   XCB_RANDR_CFLAGS
2146               C compiler flags for XCB_RANDR, overriding pkg-config
2147   XCB_RANDR_LIBS
2148               linker flags for XCB_RANDR, overriding pkg-config
2149   XCB_RENDER_CFLAGS
2150               C compiler flags for XCB_RENDER, overriding pkg-config
2151   XCB_RENDER_LIBS
2152               linker flags for XCB_RENDER, overriding pkg-config
2153   XCB_SCREENSAVER_CFLAGS
2154               C compiler flags for XCB_SCREENSAVER, overriding pkg-config
2155   XCB_SCREENSAVER_LIBS
2156               linker flags for XCB_SCREENSAVER, overriding pkg-config
2157   XCB_SHAPE_CFLAGS
2158               C compiler flags for XCB_SHAPE, overriding pkg-config
2159   XCB_SHAPE_LIBS
2160               linker flags for XCB_SHAPE, overriding pkg-config
2161   XCB_XGESTURE_CFLAGS
2162               C compiler flags for XCB_XGESTURE, overriding pkg-config
2163   XCB_XGESTURE_LIBS
2164               linker flags for XCB_XGESTURE, overriding pkg-config
2165   XCB_SYNC_CFLAGS
2166               C compiler flags for XCB_SYNC, overriding pkg-config
2167   XCB_SYNC_LIBS
2168               linker flags for XCB_SYNC, overriding pkg-config
2169   XCB_XFIXES_CFLAGS
2170               C compiler flags for XCB_XFIXES, overriding pkg-config
2171   XCB_XFIXES_LIBS
2172               linker flags for XCB_XFIXES, overriding pkg-config
2173   XCB_XINERAMA_CFLAGS
2174               C compiler flags for XCB_XINERAMA, overriding pkg-config
2175   XCB_XINERAMA_LIBS
2176               linker flags for XCB_XINERAMA, overriding pkg-config
2177   XCB_XPRINT_CFLAGS
2178               C compiler flags for XCB_XPRINT, overriding pkg-config
2179   XCB_XPRINT_LIBS
2180               linker flags for XCB_XPRINT, overriding pkg-config
2181   XCB_XTEST_CFLAGS
2182               C compiler flags for XCB_XTEST, overriding pkg-config
2183   XCB_XTEST_LIBS
2184               linker flags for XCB_XTEST, overriding pkg-config
2185   XCB_XINPUT_CFLAGS
2186               C compiler flags for XCB_XINPUT, overriding pkg-config
2187   XCB_XINPUT_LIBS
2188               linker flags for XCB_XINPUT, overriding pkg-config
2189   XCB_CURSOR_CFLAGS
2190               C compiler flags for XCB_CURSOR, overriding pkg-config
2191   XCB_CURSOR_LIBS
2192               linker flags for XCB_CURSOR, overriding pkg-config
2193   XMKMF       Path to xmkmf, Makefile generator for X Window System
2194   EVAS_CFLAGS C compiler flags for EVAS, overriding pkg-config
2195   EVAS_LIBS   linker flags for EVAS, overriding pkg-config
2196   CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
2197   CURL_LIBS   linker flags for CURL, overriding pkg-config
2198   TLS_CFLAGS  C compiler flags for TLS, overriding pkg-config
2199   TLS_LIBS    linker flags for TLS, overriding pkg-config
2200   TLS2_CFLAGS C compiler flags for TLS2, overriding pkg-config
2201   TLS2_LIBS   linker flags for TLS2, overriding pkg-config
2202   SSL_CFLAGS  C compiler flags for SSL, overriding pkg-config
2203   SSL_LIBS    linker flags for SSL, overriding pkg-config
2204   CARES_CFLAGS
2205               C compiler flags for CARES, overriding pkg-config
2206   CARES_LIBS  linker flags for CARES, overriding pkg-config
2207   ECORE_CON_CFLAGS
2208               preprocessor flags for -Wno-override-init
2209   SCIM_CFLAGS C compiler flags for SCIM, overriding pkg-config
2210   SCIM_LIBS   linker flags for SCIM, overriding pkg-config
2211   TSLIB_CFLAGS
2212               C compiler flags for TSLIB, overriding pkg-config
2213   TSLIB_LIBS  linker flags for TSLIB, overriding pkg-config
2214   XCB_X11_CFLAGS
2215               C compiler flags for XCB_X11, overriding pkg-config
2216   XCB_X11_LIBS
2217               linker flags for XCB_X11, overriding pkg-config
2218   IBUS_CFLAGS C compiler flags for IBUS, overriding pkg-config
2219   IBUS_LIBS   linker flags for IBUS, overriding pkg-config
2220   WAYLAND_CFLAGS
2221               C compiler flags for WAYLAND, overriding pkg-config
2222   WAYLAND_LIBS
2223               linker flags for WAYLAND, overriding pkg-config
2224   WAYLAND_EGL_CFLAGS
2225               C compiler flags for WAYLAND_EGL, overriding pkg-config
2226   WAYLAND_EGL_LIBS
2227               linker flags for WAYLAND_EGL, overriding pkg-config
2228   CHECK_CFLAGS
2229               C compiler flags for CHECK, overriding pkg-config
2230   CHECK_LIBS  linker flags for CHECK, overriding pkg-config
2231
2232 Use these variables to override the choices made by `configure' or to help
2233 it to find libraries and programs with nonstandard names/locations.
2234
2235 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
2236 _ACEOF
2237 ac_status=$?
2238 fi
2239
2240 if test "$ac_init_help" = "recursive"; then
2241   # If there are subdirs, report their specific --help.
2242   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2243     test -d "$ac_dir" ||
2244       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2245       continue
2246     ac_builddir=.
2247
2248 case "$ac_dir" in
2249 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2250 *)
2251   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2252   # A ".." for each directory in $ac_dir_suffix.
2253   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2254   case $ac_top_builddir_sub in
2255   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2256   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2257   esac ;;
2258 esac
2259 ac_abs_top_builddir=$ac_pwd
2260 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2261 # for backward compatibility:
2262 ac_top_builddir=$ac_top_build_prefix
2263
2264 case $srcdir in
2265   .)  # We are building in place.
2266     ac_srcdir=.
2267     ac_top_srcdir=$ac_top_builddir_sub
2268     ac_abs_top_srcdir=$ac_pwd ;;
2269   [\\/]* | ?:[\\/]* )  # Absolute name.
2270     ac_srcdir=$srcdir$ac_dir_suffix;
2271     ac_top_srcdir=$srcdir
2272     ac_abs_top_srcdir=$srcdir ;;
2273   *) # Relative name.
2274     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2275     ac_top_srcdir=$ac_top_build_prefix$srcdir
2276     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2277 esac
2278 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2279
2280     cd "$ac_dir" || { ac_status=$?; continue; }
2281     # Check for guested configure.
2282     if test -f "$ac_srcdir/configure.gnu"; then
2283       echo &&
2284       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2285     elif test -f "$ac_srcdir/configure"; then
2286       echo &&
2287       $SHELL "$ac_srcdir/configure" --help=recursive
2288     else
2289       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2290     fi || ac_status=$?
2291     cd "$ac_pwd" || { ac_status=$?; break; }
2292   done
2293 fi
2294
2295 test -n "$ac_init_help" && exit $ac_status
2296 if $ac_init_version; then
2297   cat <<\_ACEOF
2298 ecore configure 1.7.8
2299 generated by GNU Autoconf 2.69
2300
2301 Copyright (C) 2012 Free Software Foundation, Inc.
2302 This configure script is free software; the Free Software Foundation
2303 gives unlimited permission to copy, distribute and modify it.
2304 _ACEOF
2305   exit
2306 fi
2307
2308 ## ------------------------ ##
2309 ## Autoconf initialization. ##
2310 ## ------------------------ ##
2311
2312 # ac_fn_c_try_compile LINENO
2313 # --------------------------
2314 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2315 ac_fn_c_try_compile ()
2316 {
2317   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2318   rm -f conftest.$ac_objext
2319   if { { ac_try="$ac_compile"
2320 case "(($ac_try" in
2321   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2322   *) ac_try_echo=$ac_try;;
2323 esac
2324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2325 $as_echo "$ac_try_echo"; } >&5
2326   (eval "$ac_compile") 2>conftest.err
2327   ac_status=$?
2328   if test -s conftest.err; then
2329     grep -v '^ *+' conftest.err >conftest.er1
2330     cat conftest.er1 >&5
2331     mv -f conftest.er1 conftest.err
2332   fi
2333   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2334   test $ac_status = 0; } && {
2335          test -z "$ac_c_werror_flag" ||
2336          test ! -s conftest.err
2337        } && test -s conftest.$ac_objext; then :
2338   ac_retval=0
2339 else
2340   $as_echo "$as_me: failed program was:" >&5
2341 sed 's/^/| /' conftest.$ac_ext >&5
2342
2343         ac_retval=1
2344 fi
2345   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2346   as_fn_set_status $ac_retval
2347
2348 } # ac_fn_c_try_compile
2349
2350 # ac_fn_c_try_cpp LINENO
2351 # ----------------------
2352 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2353 ac_fn_c_try_cpp ()
2354 {
2355   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2356   if { { ac_try="$ac_cpp conftest.$ac_ext"
2357 case "(($ac_try" in
2358   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2359   *) ac_try_echo=$ac_try;;
2360 esac
2361 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2362 $as_echo "$ac_try_echo"; } >&5
2363   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2364   ac_status=$?
2365   if test -s conftest.err; then
2366     grep -v '^ *+' conftest.err >conftest.er1
2367     cat conftest.er1 >&5
2368     mv -f conftest.er1 conftest.err
2369   fi
2370   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2371   test $ac_status = 0; } > conftest.i && {
2372          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2373          test ! -s conftest.err
2374        }; then :
2375   ac_retval=0
2376 else
2377   $as_echo "$as_me: failed program was:" >&5
2378 sed 's/^/| /' conftest.$ac_ext >&5
2379
2380     ac_retval=1
2381 fi
2382   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2383   as_fn_set_status $ac_retval
2384
2385 } # ac_fn_c_try_cpp
2386
2387 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2388 # -------------------------------------------------------
2389 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2390 # the include files in INCLUDES and setting the cache variable VAR
2391 # accordingly.
2392 ac_fn_c_check_header_mongrel ()
2393 {
2394   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2395   if eval \${$3+:} false; then :
2396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2397 $as_echo_n "checking for $2... " >&6; }
2398 if eval \${$3+:} false; then :
2399   $as_echo_n "(cached) " >&6
2400 fi
2401 eval ac_res=\$$3
2402                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2403 $as_echo "$ac_res" >&6; }
2404 else
2405   # Is the header compilable?
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2407 $as_echo_n "checking $2 usability... " >&6; }
2408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2409 /* end confdefs.h.  */
2410 $4
2411 #include <$2>
2412 _ACEOF
2413 if ac_fn_c_try_compile "$LINENO"; then :
2414   ac_header_compiler=yes
2415 else
2416   ac_header_compiler=no
2417 fi
2418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2420 $as_echo "$ac_header_compiler" >&6; }
2421
2422 # Is the header present?
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2424 $as_echo_n "checking $2 presence... " >&6; }
2425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2426 /* end confdefs.h.  */
2427 #include <$2>
2428 _ACEOF
2429 if ac_fn_c_try_cpp "$LINENO"; then :
2430   ac_header_preproc=yes
2431 else
2432   ac_header_preproc=no
2433 fi
2434 rm -f conftest.err conftest.i conftest.$ac_ext
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2436 $as_echo "$ac_header_preproc" >&6; }
2437
2438 # So?  What about this header?
2439 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2440   yes:no: )
2441     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2442 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2443     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2444 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2445     ;;
2446   no:yes:* )
2447     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2448 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2449     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2450 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2451     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2452 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2453     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2454 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2455     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2456 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2457 ( $as_echo "## -------------------------------------------------------- ##
2458 ## Report this to enlightenment-devel@lists.sourceforge.net ##
2459 ## -------------------------------------------------------- ##"
2460      ) | sed "s/^/$as_me: WARNING:     /" >&2
2461     ;;
2462 esac
2463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2464 $as_echo_n "checking for $2... " >&6; }
2465 if eval \${$3+:} false; then :
2466   $as_echo_n "(cached) " >&6
2467 else
2468   eval "$3=\$ac_header_compiler"
2469 fi
2470 eval ac_res=\$$3
2471                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2472 $as_echo "$ac_res" >&6; }
2473 fi
2474   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2475
2476 } # ac_fn_c_check_header_mongrel
2477
2478 # ac_fn_c_try_run LINENO
2479 # ----------------------
2480 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2481 # that executables *can* be run.
2482 ac_fn_c_try_run ()
2483 {
2484   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2485   if { { ac_try="$ac_link"
2486 case "(($ac_try" in
2487   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2488   *) ac_try_echo=$ac_try;;
2489 esac
2490 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2491 $as_echo "$ac_try_echo"; } >&5
2492   (eval "$ac_link") 2>&5
2493   ac_status=$?
2494   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2495   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2496   { { case "(($ac_try" in
2497   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2498   *) ac_try_echo=$ac_try;;
2499 esac
2500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2501 $as_echo "$ac_try_echo"; } >&5
2502   (eval "$ac_try") 2>&5
2503   ac_status=$?
2504   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2505   test $ac_status = 0; }; }; then :
2506   ac_retval=0
2507 else
2508   $as_echo "$as_me: program exited with status $ac_status" >&5
2509        $as_echo "$as_me: failed program was:" >&5
2510 sed 's/^/| /' conftest.$ac_ext >&5
2511
2512        ac_retval=$ac_status
2513 fi
2514   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2515   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2516   as_fn_set_status $ac_retval
2517
2518 } # ac_fn_c_try_run
2519
2520 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2521 # -------------------------------------------------------
2522 # Tests whether HEADER exists and can be compiled using the include files in
2523 # INCLUDES, setting the cache variable VAR accordingly.
2524 ac_fn_c_check_header_compile ()
2525 {
2526   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2528 $as_echo_n "checking for $2... " >&6; }
2529 if eval \${$3+:} false; then :
2530   $as_echo_n "(cached) " >&6
2531 else
2532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2533 /* end confdefs.h.  */
2534 $4
2535 #include <$2>
2536 _ACEOF
2537 if ac_fn_c_try_compile "$LINENO"; then :
2538   eval "$3=yes"
2539 else
2540   eval "$3=no"
2541 fi
2542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2543 fi
2544 eval ac_res=\$$3
2545                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2546 $as_echo "$ac_res" >&6; }
2547   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2548
2549 } # ac_fn_c_check_header_compile
2550
2551 # ac_fn_c_try_link LINENO
2552 # -----------------------
2553 # Try to link conftest.$ac_ext, and return whether this succeeded.
2554 ac_fn_c_try_link ()
2555 {
2556   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2557   rm -f conftest.$ac_objext conftest$ac_exeext
2558   if { { ac_try="$ac_link"
2559 case "(($ac_try" in
2560   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2561   *) ac_try_echo=$ac_try;;
2562 esac
2563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2564 $as_echo "$ac_try_echo"; } >&5
2565   (eval "$ac_link") 2>conftest.err
2566   ac_status=$?
2567   if test -s conftest.err; then
2568     grep -v '^ *+' conftest.err >conftest.er1
2569     cat conftest.er1 >&5
2570     mv -f conftest.er1 conftest.err
2571   fi
2572   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2573   test $ac_status = 0; } && {
2574          test -z "$ac_c_werror_flag" ||
2575          test ! -s conftest.err
2576        } && test -s conftest$ac_exeext && {
2577          test "$cross_compiling" = yes ||
2578          test -x conftest$ac_exeext
2579        }; then :
2580   ac_retval=0
2581 else
2582   $as_echo "$as_me: failed program was:" >&5
2583 sed 's/^/| /' conftest.$ac_ext >&5
2584
2585         ac_retval=1
2586 fi
2587   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2588   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2589   # interfere with the next link command; also delete a directory that is
2590   # left behind by Apple's compiler.  We do this before executing the actions.
2591   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2592   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2593   as_fn_set_status $ac_retval
2594
2595 } # ac_fn_c_try_link
2596
2597 # ac_fn_c_check_func LINENO FUNC VAR
2598 # ----------------------------------
2599 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2600 ac_fn_c_check_func ()
2601 {
2602   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2603   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2604 $as_echo_n "checking for $2... " >&6; }
2605 if eval \${$3+:} false; then :
2606   $as_echo_n "(cached) " >&6
2607 else
2608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2609 /* end confdefs.h.  */
2610 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2611    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2612 #define $2 innocuous_$2
2613
2614 /* System header to define __stub macros and hopefully few prototypes,
2615     which can conflict with char $2 (); below.
2616     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2617     <limits.h> exists even on freestanding compilers.  */
2618
2619 #ifdef __STDC__
2620 # include <limits.h>
2621 #else
2622 # include <assert.h>
2623 #endif
2624
2625 #undef $2
2626
2627 /* Override any GCC internal prototype to avoid an error.
2628    Use char because int might match the return type of a GCC
2629    builtin and then its argument prototype would still apply.  */
2630 #ifdef __cplusplus
2631 extern "C"
2632 #endif
2633 char $2 ();
2634 /* The GNU C library defines this for functions which it implements
2635     to always fail with ENOSYS.  Some functions are actually named
2636     something starting with __ and the normal name is an alias.  */
2637 #if defined __stub_$2 || defined __stub___$2
2638 choke me
2639 #endif
2640
2641 int
2642 main ()
2643 {
2644 return $2 ();
2645   ;
2646   return 0;
2647 }
2648 _ACEOF
2649 if ac_fn_c_try_link "$LINENO"; then :
2650   eval "$3=yes"
2651 else
2652   eval "$3=no"
2653 fi
2654 rm -f core conftest.err conftest.$ac_objext \
2655     conftest$ac_exeext conftest.$ac_ext
2656 fi
2657 eval ac_res=\$$3
2658                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2659 $as_echo "$ac_res" >&6; }
2660   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2661
2662 } # ac_fn_c_check_func
2663
2664 # ac_fn_objc_try_compile LINENO
2665 # -----------------------------
2666 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2667 ac_fn_objc_try_compile ()
2668 {
2669   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2670   rm -f conftest.$ac_objext
2671   if { { ac_try="$ac_compile"
2672 case "(($ac_try" in
2673   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2674   *) ac_try_echo=$ac_try;;
2675 esac
2676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2677 $as_echo "$ac_try_echo"; } >&5
2678   (eval "$ac_compile") 2>conftest.err
2679   ac_status=$?
2680   if test -s conftest.err; then
2681     grep -v '^ *+' conftest.err >conftest.er1
2682     cat conftest.er1 >&5
2683     mv -f conftest.er1 conftest.err
2684   fi
2685   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2686   test $ac_status = 0; } && {
2687          test -z "$ac_objc_werror_flag" ||
2688          test ! -s conftest.err
2689        } && test -s conftest.$ac_objext; then :
2690   ac_retval=0
2691 else
2692   $as_echo "$as_me: failed program was:" >&5
2693 sed 's/^/| /' conftest.$ac_ext >&5
2694
2695         ac_retval=1
2696 fi
2697   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2698   as_fn_set_status $ac_retval
2699
2700 } # ac_fn_objc_try_compile
2701
2702 # ac_fn_cxx_try_compile LINENO
2703 # ----------------------------
2704 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2705 ac_fn_cxx_try_compile ()
2706 {
2707   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2708   rm -f conftest.$ac_objext
2709   if { { ac_try="$ac_compile"
2710 case "(($ac_try" in
2711   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2712   *) ac_try_echo=$ac_try;;
2713 esac
2714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2715 $as_echo "$ac_try_echo"; } >&5
2716   (eval "$ac_compile") 2>conftest.err
2717   ac_status=$?
2718   if test -s conftest.err; then
2719     grep -v '^ *+' conftest.err >conftest.er1
2720     cat conftest.er1 >&5
2721     mv -f conftest.er1 conftest.err
2722   fi
2723   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2724   test $ac_status = 0; } && {
2725          test -z "$ac_cxx_werror_flag" ||
2726          test ! -s conftest.err
2727        } && test -s conftest.$ac_objext; then :
2728   ac_retval=0
2729 else
2730   $as_echo "$as_me: failed program was:" >&5
2731 sed 's/^/| /' conftest.$ac_ext >&5
2732
2733         ac_retval=1
2734 fi
2735   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2736   as_fn_set_status $ac_retval
2737
2738 } # ac_fn_cxx_try_compile
2739
2740 # ac_fn_cxx_try_cpp LINENO
2741 # ------------------------
2742 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2743 ac_fn_cxx_try_cpp ()
2744 {
2745   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2746   if { { ac_try="$ac_cpp conftest.$ac_ext"
2747 case "(($ac_try" in
2748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2749   *) ac_try_echo=$ac_try;;
2750 esac
2751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2752 $as_echo "$ac_try_echo"; } >&5
2753   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2754   ac_status=$?
2755   if test -s conftest.err; then
2756     grep -v '^ *+' conftest.err >conftest.er1
2757     cat conftest.er1 >&5
2758     mv -f conftest.er1 conftest.err
2759   fi
2760   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2761   test $ac_status = 0; } > conftest.i && {
2762          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2763          test ! -s conftest.err
2764        }; then :
2765   ac_retval=0
2766 else
2767   $as_echo "$as_me: failed program was:" >&5
2768 sed 's/^/| /' conftest.$ac_ext >&5
2769
2770     ac_retval=1
2771 fi
2772   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2773   as_fn_set_status $ac_retval
2774
2775 } # ac_fn_cxx_try_cpp
2776
2777 # ac_fn_cxx_try_link LINENO
2778 # -------------------------
2779 # Try to link conftest.$ac_ext, and return whether this succeeded.
2780 ac_fn_cxx_try_link ()
2781 {
2782   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2783   rm -f conftest.$ac_objext conftest$ac_exeext
2784   if { { ac_try="$ac_link"
2785 case "(($ac_try" in
2786   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2787   *) ac_try_echo=$ac_try;;
2788 esac
2789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2790 $as_echo "$ac_try_echo"; } >&5
2791   (eval "$ac_link") 2>conftest.err
2792   ac_status=$?
2793   if test -s conftest.err; then
2794     grep -v '^ *+' conftest.err >conftest.er1
2795     cat conftest.er1 >&5
2796     mv -f conftest.er1 conftest.err
2797   fi
2798   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2799   test $ac_status = 0; } && {
2800          test -z "$ac_cxx_werror_flag" ||
2801          test ! -s conftest.err
2802        } && test -s conftest$ac_exeext && {
2803          test "$cross_compiling" = yes ||
2804          test -x conftest$ac_exeext
2805        }; then :
2806   ac_retval=0
2807 else
2808   $as_echo "$as_me: failed program was:" >&5
2809 sed 's/^/| /' conftest.$ac_ext >&5
2810
2811         ac_retval=1
2812 fi
2813   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2814   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2815   # interfere with the next link command; also delete a directory that is
2816   # left behind by Apple's compiler.  We do this before executing the actions.
2817   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2818   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2819   as_fn_set_status $ac_retval
2820
2821 } # ac_fn_cxx_try_link
2822
2823 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2824 # ---------------------------------------------
2825 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2826 # accordingly.
2827 ac_fn_c_check_decl ()
2828 {
2829   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2830   as_decl_name=`echo $2|sed 's/ *(.*//'`
2831   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2832   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2833 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2834 if eval \${$3+:} false; then :
2835   $as_echo_n "(cached) " >&6
2836 else
2837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2838 /* end confdefs.h.  */
2839 $4
2840 int
2841 main ()
2842 {
2843 #ifndef $as_decl_name
2844 #ifdef __cplusplus
2845   (void) $as_decl_use;
2846 #else
2847   (void) $as_decl_name;
2848 #endif
2849 #endif
2850
2851   ;
2852   return 0;
2853 }
2854 _ACEOF
2855 if ac_fn_c_try_compile "$LINENO"; then :
2856   eval "$3=yes"
2857 else
2858   eval "$3=no"
2859 fi
2860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2861 fi
2862 eval ac_res=\$$3
2863                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2864 $as_echo "$ac_res" >&6; }
2865   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2866
2867 } # ac_fn_c_check_decl
2868
2869 # ac_fn_objc_try_link LINENO
2870 # --------------------------
2871 # Try to link conftest.$ac_ext, and return whether this succeeded.
2872 ac_fn_objc_try_link ()
2873 {
2874   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2875   rm -f conftest.$ac_objext conftest$ac_exeext
2876   if { { ac_try="$ac_link"
2877 case "(($ac_try" in
2878   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2879   *) ac_try_echo=$ac_try;;
2880 esac
2881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2882 $as_echo "$ac_try_echo"; } >&5
2883   (eval "$ac_link") 2>conftest.err
2884   ac_status=$?
2885   if test -s conftest.err; then
2886     grep -v '^ *+' conftest.err >conftest.er1
2887     cat conftest.er1 >&5
2888     mv -f conftest.er1 conftest.err
2889   fi
2890   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2891   test $ac_status = 0; } && {
2892          test -z "$ac_objc_werror_flag" ||
2893          test ! -s conftest.err
2894        } && test -s conftest$ac_exeext && {
2895          test "$cross_compiling" = yes ||
2896          test -x conftest$ac_exeext
2897        }; then :
2898   ac_retval=0
2899 else
2900   $as_echo "$as_me: failed program was:" >&5
2901 sed 's/^/| /' conftest.$ac_ext >&5
2902
2903         ac_retval=1
2904 fi
2905   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2906   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2907   # interfere with the next link command; also delete a directory that is
2908   # left behind by Apple's compiler.  We do this before executing the actions.
2909   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2910   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2911   as_fn_set_status $ac_retval
2912
2913 } # ac_fn_objc_try_link
2914
2915 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2916 # --------------------------------------------
2917 # Tries to find the compile-time value of EXPR in a program that includes
2918 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2919 # computed
2920 ac_fn_c_compute_int ()
2921 {
2922   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2923   if test "$cross_compiling" = yes; then
2924     # Depending upon the size, compute the lo and hi bounds.
2925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2926 /* end confdefs.h.  */
2927 $4
2928 int
2929 main ()
2930 {
2931 static int test_array [1 - 2 * !(($2) >= 0)];
2932 test_array [0] = 0;
2933 return test_array [0];
2934
2935   ;
2936   return 0;
2937 }
2938 _ACEOF
2939 if ac_fn_c_try_compile "$LINENO"; then :
2940   ac_lo=0 ac_mid=0
2941   while :; do
2942     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2943 /* end confdefs.h.  */
2944 $4
2945 int
2946 main ()
2947 {
2948 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2949 test_array [0] = 0;
2950 return test_array [0];
2951
2952   ;
2953   return 0;
2954 }
2955 _ACEOF
2956 if ac_fn_c_try_compile "$LINENO"; then :
2957   ac_hi=$ac_mid; break
2958 else
2959   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2960                         if test $ac_lo -le $ac_mid; then
2961                           ac_lo= ac_hi=
2962                           break
2963                         fi
2964                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2965 fi
2966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2967   done
2968 else
2969   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2970 /* end confdefs.h.  */
2971 $4
2972 int
2973 main ()
2974 {
2975 static int test_array [1 - 2 * !(($2) < 0)];
2976 test_array [0] = 0;
2977 return test_array [0];
2978
2979   ;
2980   return 0;
2981 }
2982 _ACEOF
2983 if ac_fn_c_try_compile "$LINENO"; then :
2984   ac_hi=-1 ac_mid=-1
2985   while :; do
2986     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2987 /* end confdefs.h.  */
2988 $4
2989 int
2990 main ()
2991 {
2992 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2993 test_array [0] = 0;
2994 return test_array [0];
2995
2996   ;
2997   return 0;
2998 }
2999 _ACEOF
3000 if ac_fn_c_try_compile "$LINENO"; then :
3001   ac_lo=$ac_mid; break
3002 else
3003   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
3004                         if test $ac_mid -le $ac_hi; then
3005                           ac_lo= ac_hi=
3006                           break
3007                         fi
3008                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
3009 fi
3010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3011   done
3012 else
3013   ac_lo= ac_hi=
3014 fi
3015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3016 fi
3017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3018 # Binary search between lo and hi bounds.
3019 while test "x$ac_lo" != "x$ac_hi"; do
3020   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
3021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3022 /* end confdefs.h.  */
3023 $4
3024 int
3025 main ()
3026 {
3027 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
3028 test_array [0] = 0;
3029 return test_array [0];
3030
3031   ;
3032   return 0;
3033 }
3034 _ACEOF
3035 if ac_fn_c_try_compile "$LINENO"; then :
3036   ac_hi=$ac_mid
3037 else
3038   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
3039 fi
3040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3041 done
3042 case $ac_lo in #((
3043 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
3044 '') ac_retval=1 ;;
3045 esac
3046   else
3047     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3048 /* end confdefs.h.  */
3049 $4
3050 static long int longval () { return $2; }
3051 static unsigned long int ulongval () { return $2; }
3052 #include <stdio.h>
3053 #include <stdlib.h>
3054 int
3055 main ()
3056 {
3057
3058   FILE *f = fopen ("conftest.val", "w");
3059   if (! f)
3060     return 1;
3061   if (($2) < 0)
3062     {
3063       long int i = longval ();
3064       if (i != ($2))
3065         return 1;
3066       fprintf (f, "%ld", i);
3067     }
3068   else
3069     {
3070       unsigned long int i = ulongval ();
3071       if (i != ($2))
3072         return 1;
3073       fprintf (f, "%lu", i);
3074     }
3075   /* Do not output a trailing newline, as this causes \r\n confusion
3076      on some platforms.  */
3077   return ferror (f) || fclose (f) != 0;
3078
3079   ;
3080   return 0;
3081 }
3082 _ACEOF
3083 if ac_fn_c_try_run "$LINENO"; then :
3084   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3085 else
3086   ac_retval=1
3087 fi
3088 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3089   conftest.$ac_objext conftest.beam conftest.$ac_ext
3090 rm -f conftest.val
3091
3092   fi
3093   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3094   as_fn_set_status $ac_retval
3095
3096 } # ac_fn_c_compute_int
3097
3098 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3099 # -------------------------------------------
3100 # Tests whether TYPE exists after having included INCLUDES, setting cache
3101 # variable VAR accordingly.
3102 ac_fn_c_check_type ()
3103 {
3104   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3106 $as_echo_n "checking for $2... " >&6; }
3107 if eval \${$3+:} false; then :
3108   $as_echo_n "(cached) " >&6
3109 else
3110   eval "$3=no"
3111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3112 /* end confdefs.h.  */
3113 $4
3114 int
3115 main ()
3116 {
3117 if (sizeof ($2))
3118          return 0;
3119   ;
3120   return 0;
3121 }
3122 _ACEOF
3123 if ac_fn_c_try_compile "$LINENO"; then :
3124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3125 /* end confdefs.h.  */
3126 $4
3127 int
3128 main ()
3129 {
3130 if (sizeof (($2)))
3131             return 0;
3132   ;
3133   return 0;
3134 }
3135 _ACEOF
3136 if ac_fn_c_try_compile "$LINENO"; then :
3137
3138 else
3139   eval "$3=yes"
3140 fi
3141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3142 fi
3143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3144 fi
3145 eval ac_res=\$$3
3146                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3147 $as_echo "$ac_res" >&6; }
3148   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3149
3150 } # ac_fn_c_check_type
3151 cat >config.log <<_ACEOF
3152 This file contains any messages produced by compilers while
3153 running configure, to aid debugging if configure makes a mistake.
3154
3155 It was created by ecore $as_me 1.7.8, which was
3156 generated by GNU Autoconf 2.69.  Invocation command line was
3157
3158   $ $0 $@
3159
3160 _ACEOF
3161 exec 5>>config.log
3162 {
3163 cat <<_ASUNAME
3164 ## --------- ##
3165 ## Platform. ##
3166 ## --------- ##
3167
3168 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3169 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3170 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3171 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3172 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3173
3174 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3175 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
3176
3177 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
3178 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
3179 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3180 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
3181 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
3182 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
3183 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
3184
3185 _ASUNAME
3186
3187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3188 for as_dir in $PATH
3189 do
3190   IFS=$as_save_IFS
3191   test -z "$as_dir" && as_dir=.
3192     $as_echo "PATH: $as_dir"
3193   done
3194 IFS=$as_save_IFS
3195
3196 } >&5
3197
3198 cat >&5 <<_ACEOF
3199
3200
3201 ## ----------- ##
3202 ## Core tests. ##
3203 ## ----------- ##
3204
3205 _ACEOF
3206
3207
3208 # Keep a trace of the command line.
3209 # Strip out --no-create and --no-recursion so they do not pile up.
3210 # Strip out --silent because we don't want to record it for future runs.
3211 # Also quote any args containing shell meta-characters.
3212 # Make two passes to allow for proper duplicate-argument suppression.
3213 ac_configure_args=
3214 ac_configure_args0=
3215 ac_configure_args1=
3216 ac_must_keep_next=false
3217 for ac_pass in 1 2
3218 do
3219   for ac_arg
3220   do
3221     case $ac_arg in
3222     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3223     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3224     | -silent | --silent | --silen | --sile | --sil)
3225       continue ;;
3226     *\'*)
3227       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3228     esac
3229     case $ac_pass in
3230     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3231     2)
3232       as_fn_append ac_configure_args1 " '$ac_arg'"
3233       if test $ac_must_keep_next = true; then
3234         ac_must_keep_next=false # Got value, back to normal.
3235       else
3236         case $ac_arg in
3237           *=* | --config-cache | -C | -disable-* | --disable-* \
3238           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3239           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3240           | -with-* | --with-* | -without-* | --without-* | --x)
3241             case "$ac_configure_args0 " in
3242               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3243             esac
3244             ;;
3245           -* ) ac_must_keep_next=true ;;
3246         esac
3247       fi
3248       as_fn_append ac_configure_args " '$ac_arg'"
3249       ;;
3250     esac
3251   done
3252 done
3253 { ac_configure_args0=; unset ac_configure_args0;}
3254 { ac_configure_args1=; unset ac_configure_args1;}
3255
3256 # When interrupted or exit'd, cleanup temporary files, and complete
3257 # config.log.  We remove comments because anyway the quotes in there
3258 # would cause problems or look ugly.
3259 # WARNING: Use '\'' to represent an apostrophe within the trap.
3260 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3261 trap 'exit_status=$?
3262   # Save into config.log some information that might help in debugging.
3263   {
3264     echo
3265
3266     $as_echo "## ---------------- ##
3267 ## Cache variables. ##
3268 ## ---------------- ##"
3269     echo
3270     # The following way of writing the cache mishandles newlines in values,
3271 (
3272   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3273     eval ac_val=\$$ac_var
3274     case $ac_val in #(
3275     *${as_nl}*)
3276       case $ac_var in #(
3277       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3278 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3279       esac
3280       case $ac_var in #(
3281       _ | IFS | as_nl) ;; #(
3282       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3283       *) { eval $ac_var=; unset $ac_var;} ;;
3284       esac ;;
3285     esac
3286   done
3287   (set) 2>&1 |
3288     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3289     *${as_nl}ac_space=\ *)
3290       sed -n \
3291         "s/'\''/'\''\\\\'\'''\''/g;
3292           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3293       ;; #(
3294     *)
3295       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3296       ;;
3297     esac |
3298     sort
3299 )
3300     echo
3301
3302     $as_echo "## ----------------- ##
3303 ## Output variables. ##
3304 ## ----------------- ##"
3305     echo
3306     for ac_var in $ac_subst_vars
3307     do
3308       eval ac_val=\$$ac_var
3309       case $ac_val in
3310       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3311       esac
3312       $as_echo "$ac_var='\''$ac_val'\''"
3313     done | sort
3314     echo
3315
3316     if test -n "$ac_subst_files"; then
3317       $as_echo "## ------------------- ##
3318 ## File substitutions. ##
3319 ## ------------------- ##"
3320       echo
3321       for ac_var in $ac_subst_files
3322       do
3323         eval ac_val=\$$ac_var
3324         case $ac_val in
3325         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3326         esac
3327         $as_echo "$ac_var='\''$ac_val'\''"
3328       done | sort
3329       echo
3330     fi
3331
3332     if test -s confdefs.h; then
3333       $as_echo "## ----------- ##
3334 ## confdefs.h. ##
3335 ## ----------- ##"
3336       echo
3337       cat confdefs.h
3338       echo
3339     fi
3340     test "$ac_signal" != 0 &&
3341       $as_echo "$as_me: caught signal $ac_signal"
3342     $as_echo "$as_me: exit $exit_status"
3343   } >&5
3344   rm -f core *.core core.conftest.* &&
3345     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3346     exit $exit_status
3347 ' 0
3348 for ac_signal in 1 2 13 15; do
3349   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3350 done
3351 ac_signal=0
3352
3353 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3354 rm -f -r conftest* confdefs.h
3355
3356 $as_echo "/* confdefs.h */" > confdefs.h
3357
3358 # Predefined preprocessor variables.
3359
3360 cat >>confdefs.h <<_ACEOF
3361 #define PACKAGE_NAME "$PACKAGE_NAME"
3362 _ACEOF
3363
3364 cat >>confdefs.h <<_ACEOF
3365 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3366 _ACEOF
3367
3368 cat >>confdefs.h <<_ACEOF
3369 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3370 _ACEOF
3371
3372 cat >>confdefs.h <<_ACEOF
3373 #define PACKAGE_STRING "$PACKAGE_STRING"
3374 _ACEOF
3375
3376 cat >>confdefs.h <<_ACEOF
3377 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3378 _ACEOF
3379
3380 cat >>confdefs.h <<_ACEOF
3381 #define PACKAGE_URL "$PACKAGE_URL"
3382 _ACEOF
3383
3384
3385 # Let the site file select an alternate cache file if it wants to.
3386 # Prefer an explicitly selected file to automatically selected ones.
3387 ac_site_file1=NONE
3388 ac_site_file2=NONE
3389 if test -n "$CONFIG_SITE"; then
3390   # We do not want a PATH search for config.site.
3391   case $CONFIG_SITE in #((
3392     -*)  ac_site_file1=./$CONFIG_SITE;;
3393     */*) ac_site_file1=$CONFIG_SITE;;
3394     *)   ac_site_file1=./$CONFIG_SITE;;
3395   esac
3396 elif test "x$prefix" != xNONE; then
3397   ac_site_file1=$prefix/share/config.site
3398   ac_site_file2=$prefix/etc/config.site
3399 else
3400   ac_site_file1=$ac_default_prefix/share/config.site
3401   ac_site_file2=$ac_default_prefix/etc/config.site
3402 fi
3403 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3404 do
3405   test "x$ac_site_file" = xNONE && continue
3406   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3407     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3408 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3409     sed 's/^/| /' "$ac_site_file" >&5
3410     . "$ac_site_file" \
3411       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3413 as_fn_error $? "failed to load site script $ac_site_file
3414 See \`config.log' for more details" "$LINENO" 5; }
3415   fi
3416 done
3417
3418 if test -r "$cache_file"; then
3419   # Some versions of bash will fail to source /dev/null (special files
3420   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
3421   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3422     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3423 $as_echo "$as_me: loading cache $cache_file" >&6;}
3424     case $cache_file in
3425       [\\/]* | ?:[\\/]* ) . "$cache_file";;
3426       *)                      . "./$cache_file";;
3427     esac
3428   fi
3429 else
3430   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3431 $as_echo "$as_me: creating cache $cache_file" >&6;}
3432   >$cache_file
3433 fi
3434
3435 gt_needs="$gt_needs "
3436 # Check that the precious variables saved in the cache have kept the same
3437 # value.
3438 ac_cache_corrupted=false
3439 for ac_var in $ac_precious_vars; do
3440   eval ac_old_set=\$ac_cv_env_${ac_var}_set
3441   eval ac_new_set=\$ac_env_${ac_var}_set
3442   eval ac_old_val=\$ac_cv_env_${ac_var}_value
3443   eval ac_new_val=\$ac_env_${ac_var}_value
3444   case $ac_old_set,$ac_new_set in
3445     set,)
3446       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3447 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3448       ac_cache_corrupted=: ;;
3449     ,set)
3450       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3451 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3452       ac_cache_corrupted=: ;;
3453     ,);;
3454     *)
3455       if test "x$ac_old_val" != "x$ac_new_val"; then
3456         # differences in whitespace do not lead to failure.
3457         ac_old_val_w=`echo x $ac_old_val`
3458         ac_new_val_w=`echo x $ac_new_val`
3459         if test "$ac_old_val_w" != "$ac_new_val_w"; then
3460           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3461 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3462           ac_cache_corrupted=:
3463         else
3464           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3465 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3466           eval $ac_var=\$ac_old_val
3467         fi
3468         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
3469 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
3470         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
3471 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
3472       fi;;
3473   esac
3474   # Pass precious variables to config.status.
3475   if test "$ac_new_set" = set; then
3476     case $ac_new_val in
3477     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3478     *) ac_arg=$ac_var=$ac_new_val ;;
3479     esac
3480     case " $ac_configure_args " in
3481       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3482       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3483     esac
3484   fi
3485 done
3486 if $ac_cache_corrupted; then
3487   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3488 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3489   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3490 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3491   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3492 fi
3493 ## -------------------- ##
3494 ## Main body of script. ##
3495 ## -------------------- ##
3496
3497 ac_ext=c
3498 ac_cpp='$CPP $CPPFLAGS'
3499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3502
3503
3504
3505
3506
3507
3508 ac_config_headers="$ac_config_headers config.h"
3509
3510
3511
3512
3513 am__api_version='1.13'
3514
3515 ac_aux_dir=
3516 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3517   if test -f "$ac_dir/install-sh"; then
3518     ac_aux_dir=$ac_dir
3519     ac_install_sh="$ac_aux_dir/install-sh -c"
3520     break
3521   elif test -f "$ac_dir/install.sh"; then
3522     ac_aux_dir=$ac_dir
3523     ac_install_sh="$ac_aux_dir/install.sh -c"
3524     break
3525   elif test -f "$ac_dir/shtool"; then
3526     ac_aux_dir=$ac_dir
3527     ac_install_sh="$ac_aux_dir/shtool install -c"
3528     break
3529   fi
3530 done
3531 if test -z "$ac_aux_dir"; then
3532   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3533 fi
3534
3535 # These three variables are undocumented and unsupported,
3536 # and are intended to be withdrawn in a future Autoconf release.
3537 # They can cause serious problems if a builder's source tree is in a directory
3538 # whose full name contains unusual characters.
3539 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3540 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3541 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3542
3543
3544 # Find a good install program.  We prefer a C program (faster),
3545 # so one script is as good as another.  But avoid the broken or
3546 # incompatible versions:
3547 # SysV /etc/install, /usr/sbin/install
3548 # SunOS /usr/etc/install
3549 # IRIX /sbin/install
3550 # AIX /bin/install
3551 # AmigaOS /C/install, which installs bootblocks on floppy discs
3552 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3553 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3554 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3555 # OS/2's system install, which has a completely different semantic
3556 # ./install, which can be erroneously created by make from ./install.sh.
3557 # Reject install programs that cannot install multiple files.
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3559 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3560 if test -z "$INSTALL"; then
3561 if ${ac_cv_path_install+:} false; then :
3562   $as_echo_n "(cached) " >&6
3563 else
3564   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3565 for as_dir in $PATH
3566 do
3567   IFS=$as_save_IFS
3568   test -z "$as_dir" && as_dir=.
3569     # Account for people who put trailing slashes in PATH elements.
3570 case $as_dir/ in #((
3571   ./ | .// | /[cC]/* | \
3572   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3573   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3574   /usr/ucb/* ) ;;
3575   *)
3576     # OSF1 and SCO ODT 3.0 have their own names for install.
3577     # Don't use installbsd from OSF since it installs stuff as root
3578     # by default.
3579     for ac_prog in ginstall scoinst install; do
3580       for ac_exec_ext in '' $ac_executable_extensions; do
3581         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3582           if test $ac_prog = install &&
3583             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3584             # AIX install.  It has an incompatible calling convention.
3585             :
3586           elif test $ac_prog = install &&
3587             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3588             # program-specific install script used by HP pwplus--don't use.
3589             :
3590           else
3591             rm -rf conftest.one conftest.two conftest.dir
3592             echo one > conftest.one
3593             echo two > conftest.two
3594             mkdir conftest.dir
3595             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3596               test -s conftest.one && test -s conftest.two &&
3597               test -s conftest.dir/conftest.one &&
3598               test -s conftest.dir/conftest.two
3599             then
3600               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3601               break 3
3602             fi
3603           fi
3604         fi
3605       done
3606     done
3607     ;;
3608 esac
3609
3610   done
3611 IFS=$as_save_IFS
3612
3613 rm -rf conftest.one conftest.two conftest.dir
3614
3615 fi
3616   if test "${ac_cv_path_install+set}" = set; then
3617     INSTALL=$ac_cv_path_install
3618   else
3619     # As a last resort, use the slow shell script.  Don't cache a
3620     # value for INSTALL within a source directory, because that will
3621     # break other packages using the cache if that directory is
3622     # removed, or if the value is a relative name.
3623     INSTALL=$ac_install_sh
3624   fi
3625 fi
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3627 $as_echo "$INSTALL" >&6; }
3628
3629 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3630 # It thinks the first close brace ends the variable substitution.
3631 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3632
3633 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3634
3635 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3636
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3638 $as_echo_n "checking whether build environment is sane... " >&6; }
3639 # Reject unsafe characters in $srcdir or the absolute working directory
3640 # name.  Accept space and tab only in the latter.
3641 am_lf='
3642 '
3643 case `pwd` in
3644   *[\\\"\#\$\&\'\`$am_lf]*)
3645     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3646 esac
3647 case $srcdir in
3648   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3649     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3650 esac
3651
3652 # Do 'set' in a subshell so we don't clobber the current shell's
3653 # arguments.  Must try -L first in case configure is actually a
3654 # symlink; some systems play weird games with the mod time of symlinks
3655 # (eg FreeBSD returns the mod time of the symlink's containing
3656 # directory).
3657 if (
3658    am_has_slept=no
3659    for am_try in 1 2; do
3660      echo "timestamp, slept: $am_has_slept" > conftest.file
3661      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3662      if test "$*" = "X"; then
3663         # -L didn't work.
3664         set X `ls -t "$srcdir/configure" conftest.file`
3665      fi
3666      if test "$*" != "X $srcdir/configure conftest.file" \
3667         && test "$*" != "X conftest.file $srcdir/configure"; then
3668
3669         # If neither matched, then we have a broken ls.  This can happen
3670         # if, for instance, CONFIG_SHELL is bash and it inherits a
3671         # broken ls alias from the environment.  This has actually
3672         # happened.  Such a system could not be considered "sane".
3673         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3674   alias in your environment" "$LINENO" 5
3675      fi
3676      if test "$2" = conftest.file || test $am_try -eq 2; then
3677        break
3678      fi
3679      # Just in case.
3680      sleep 1
3681      am_has_slept=yes
3682    done
3683    test "$2" = conftest.file
3684    )
3685 then
3686    # Ok.
3687    :
3688 else
3689    as_fn_error $? "newly created file is older than distributed files!
3690 Check your system clock" "$LINENO" 5
3691 fi
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3693 $as_echo "yes" >&6; }
3694 # If we didn't sleep, we still need to ensure time stamps of config.status and
3695 # generated files are strictly newer.
3696 am_sleep_pid=
3697 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3698   ( sleep 1 ) &
3699   am_sleep_pid=$!
3700 fi
3701
3702 rm -f conftest.file
3703
3704 test "$program_prefix" != NONE &&
3705   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3706 # Use a double $ so make ignores it.
3707 test "$program_suffix" != NONE &&
3708   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3709 # Double any \ or $.
3710 # By default was `s,x,x', remove it if useless.
3711 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3712 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3713
3714 # expand $ac_aux_dir to an absolute path
3715 am_aux_dir=`cd $ac_aux_dir && pwd`
3716
3717 if test x"${MISSING+set}" != xset; then
3718   case $am_aux_dir in
3719   *\ * | *\     *)
3720     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3721   *)
3722     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3723   esac
3724 fi
3725 # Use eval to expand $SHELL
3726 if eval "$MISSING --is-lightweight"; then
3727   am_missing_run="$MISSING "
3728 else
3729   am_missing_run=
3730   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3731 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3732 fi
3733
3734 if test x"${install_sh}" != xset; then
3735   case $am_aux_dir in
3736   *\ * | *\     *)
3737     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3738   *)
3739     install_sh="\${SHELL} $am_aux_dir/install-sh"
3740   esac
3741 fi
3742
3743 # Installed binaries are usually stripped using 'strip' when the user
3744 # run "make install-strip".  However 'strip' might not be the right
3745 # tool to use in cross-compilation environments, therefore Automake
3746 # will honor the 'STRIP' environment variable to overrule this program.
3747 if test "$cross_compiling" != no; then
3748   if test -n "$ac_tool_prefix"; then
3749   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3750 set dummy ${ac_tool_prefix}strip; ac_word=$2
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3752 $as_echo_n "checking for $ac_word... " >&6; }
3753 if ${ac_cv_prog_STRIP+:} false; then :
3754   $as_echo_n "(cached) " >&6
3755 else
3756   if test -n "$STRIP"; then
3757   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3758 else
3759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3760 for as_dir in $PATH
3761 do
3762   IFS=$as_save_IFS
3763   test -z "$as_dir" && as_dir=.
3764     for ac_exec_ext in '' $ac_executable_extensions; do
3765   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3766     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3767     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3768     break 2
3769   fi
3770 done
3771   done
3772 IFS=$as_save_IFS
3773
3774 fi
3775 fi
3776 STRIP=$ac_cv_prog_STRIP
3777 if test -n "$STRIP"; then
3778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3779 $as_echo "$STRIP" >&6; }
3780 else
3781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3782 $as_echo "no" >&6; }
3783 fi
3784
3785
3786 fi
3787 if test -z "$ac_cv_prog_STRIP"; then
3788   ac_ct_STRIP=$STRIP
3789   # Extract the first word of "strip", so it can be a program name with args.
3790 set dummy strip; ac_word=$2
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3792 $as_echo_n "checking for $ac_word... " >&6; }
3793 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3794   $as_echo_n "(cached) " >&6
3795 else
3796   if test -n "$ac_ct_STRIP"; then
3797   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3798 else
3799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3800 for as_dir in $PATH
3801 do
3802   IFS=$as_save_IFS
3803   test -z "$as_dir" && as_dir=.
3804     for ac_exec_ext in '' $ac_executable_extensions; do
3805   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3806     ac_cv_prog_ac_ct_STRIP="strip"
3807     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3808     break 2
3809   fi
3810 done
3811   done
3812 IFS=$as_save_IFS
3813
3814 fi
3815 fi
3816 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3817 if test -n "$ac_ct_STRIP"; then
3818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3819 $as_echo "$ac_ct_STRIP" >&6; }
3820 else
3821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3822 $as_echo "no" >&6; }
3823 fi
3824
3825   if test "x$ac_ct_STRIP" = x; then
3826     STRIP=":"
3827   else
3828     case $cross_compiling:$ac_tool_warned in
3829 yes:)
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3831 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3832 ac_tool_warned=yes ;;
3833 esac
3834     STRIP=$ac_ct_STRIP
3835   fi
3836 else
3837   STRIP="$ac_cv_prog_STRIP"
3838 fi
3839
3840 fi
3841 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3842
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3844 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3845 if test -z "$MKDIR_P"; then
3846   if ${ac_cv_path_mkdir+:} false; then :
3847   $as_echo_n "(cached) " >&6
3848 else
3849   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3850 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3851 do
3852   IFS=$as_save_IFS
3853   test -z "$as_dir" && as_dir=.
3854     for ac_prog in mkdir gmkdir; do
3855          for ac_exec_ext in '' $ac_executable_extensions; do
3856            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3857            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3858              'mkdir (GNU coreutils) '* | \
3859              'mkdir (coreutils) '* | \
3860              'mkdir (fileutils) '4.1*)
3861                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3862                break 3;;
3863            esac
3864          done
3865        done
3866   done
3867 IFS=$as_save_IFS
3868
3869 fi
3870
3871   test -d ./--version && rmdir ./--version
3872   if test "${ac_cv_path_mkdir+set}" = set; then
3873     MKDIR_P="$ac_cv_path_mkdir -p"
3874   else
3875     # As a last resort, use the slow shell script.  Don't cache a
3876     # value for MKDIR_P within a source directory, because that will
3877     # break other packages using the cache if that directory is
3878     # removed, or if the value is a relative name.
3879     MKDIR_P="$ac_install_sh -d"
3880   fi
3881 fi
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3883 $as_echo "$MKDIR_P" >&6; }
3884
3885 for ac_prog in gawk mawk nawk awk
3886 do
3887   # Extract the first word of "$ac_prog", so it can be a program name with args.
3888 set dummy $ac_prog; ac_word=$2
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3890 $as_echo_n "checking for $ac_word... " >&6; }
3891 if ${ac_cv_prog_AWK+:} false; then :
3892   $as_echo_n "(cached) " >&6
3893 else
3894   if test -n "$AWK"; then
3895   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3896 else
3897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3898 for as_dir in $PATH
3899 do
3900   IFS=$as_save_IFS
3901   test -z "$as_dir" && as_dir=.
3902     for ac_exec_ext in '' $ac_executable_extensions; do
3903   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3904     ac_cv_prog_AWK="$ac_prog"
3905     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3906     break 2
3907   fi
3908 done
3909   done
3910 IFS=$as_save_IFS
3911
3912 fi
3913 fi
3914 AWK=$ac_cv_prog_AWK
3915 if test -n "$AWK"; then
3916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3917 $as_echo "$AWK" >&6; }
3918 else
3919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3920 $as_echo "no" >&6; }
3921 fi
3922
3923
3924   test -n "$AWK" && break
3925 done
3926
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3928 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3929 set x ${MAKE-make}
3930 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3931 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3932   $as_echo_n "(cached) " >&6
3933 else
3934   cat >conftest.make <<\_ACEOF
3935 SHELL = /bin/sh
3936 all:
3937         @echo '@@@%%%=$(MAKE)=@@@%%%'
3938 _ACEOF
3939 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3940 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3941   *@@@%%%=?*=@@@%%%*)
3942     eval ac_cv_prog_make_${ac_make}_set=yes;;
3943   *)
3944     eval ac_cv_prog_make_${ac_make}_set=no;;
3945 esac
3946 rm -f conftest.make
3947 fi
3948 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3950 $as_echo "yes" >&6; }
3951   SET_MAKE=
3952 else
3953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3954 $as_echo "no" >&6; }
3955   SET_MAKE="MAKE=${MAKE-make}"
3956 fi
3957
3958 rm -rf .tst 2>/dev/null
3959 mkdir .tst 2>/dev/null
3960 if test -d .tst; then
3961   am__leading_dot=.
3962 else
3963   am__leading_dot=_
3964 fi
3965 rmdir .tst 2>/dev/null
3966
3967 # Check whether --enable-silent-rules was given.
3968 if test "${enable_silent_rules+set}" = set; then :
3969   enableval=$enable_silent_rules;
3970 fi
3971
3972 case $enable_silent_rules in # (((
3973   yes) AM_DEFAULT_VERBOSITY=0;;
3974    no) AM_DEFAULT_VERBOSITY=1;;
3975     *) AM_DEFAULT_VERBOSITY=1;;
3976 esac
3977 am_make=${MAKE-make}
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3979 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3980 if ${am_cv_make_support_nested_variables+:} false; then :
3981   $as_echo_n "(cached) " >&6
3982 else
3983   if $as_echo 'TRUE=$(BAR$(V))
3984 BAR0=false
3985 BAR1=true
3986 V=1
3987 am__doit:
3988         @$(TRUE)
3989 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3990   am_cv_make_support_nested_variables=yes
3991 else
3992   am_cv_make_support_nested_variables=no
3993 fi
3994 fi
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3996 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3997 if test $am_cv_make_support_nested_variables = yes; then
3998     AM_V='$(V)'
3999   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4000 else
4001   AM_V=$AM_DEFAULT_VERBOSITY
4002   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4003 fi
4004 AM_BACKSLASH='\'
4005
4006 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4007   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4008   # is not polluted with repeated "-I."
4009   am__isrc=' -I$(srcdir)'
4010   # test to see if srcdir already configured
4011   if test -f $srcdir/config.status; then
4012     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4013   fi
4014 fi
4015
4016 # test whether we have cygpath
4017 if test -z "$CYGPATH_W"; then
4018   if (cygpath --version) >/dev/null 2>/dev/null; then
4019     CYGPATH_W='cygpath -w'
4020   else
4021     CYGPATH_W=echo
4022   fi
4023 fi
4024
4025
4026 # Define the identity of the package.
4027  PACKAGE='ecore'
4028  VERSION='1.7.8'
4029
4030
4031 cat >>confdefs.h <<_ACEOF
4032 #define PACKAGE "$PACKAGE"
4033 _ACEOF
4034
4035
4036 cat >>confdefs.h <<_ACEOF
4037 #define VERSION "$VERSION"
4038 _ACEOF
4039
4040 # Some tools Automake needs.
4041
4042 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4043
4044
4045 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4046
4047
4048 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4049
4050
4051 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4052
4053
4054 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4055
4056 # For better backward compatibility.  To be removed once Automake 1.9.x
4057 # dies out for good.  For more background, see:
4058 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4059 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4060 mkdir_p='$(MKDIR_P)'
4061
4062 # We need awk for the "check" target.  The system "awk" is bad on
4063 # some platforms.
4064 # Always define AMTAR for backward compatibility.  Yes, it's still used
4065 # in the wild :-(  We should find a proper way to deprecate it ...
4066 AMTAR='$${TAR-tar}'
4067
4068
4069 # We'll loop over all known methods to create a tar archive until one works.
4070 _am_tools='gnutar  pax cpio none'
4071
4072 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4073
4074
4075
4076
4077
4078
4079 # Check whether --enable-silent-rules was given.
4080 if test "${enable_silent_rules+set}" = set; then :
4081   enableval=$enable_silent_rules;
4082 fi
4083
4084 case $enable_silent_rules in # (((
4085   yes) AM_DEFAULT_VERBOSITY=0;;
4086    no) AM_DEFAULT_VERBOSITY=1;;
4087     *) AM_DEFAULT_VERBOSITY=0;;
4088 esac
4089 am_make=${MAKE-make}
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4091 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4092 if ${am_cv_make_support_nested_variables+:} false; then :
4093   $as_echo_n "(cached) " >&6
4094 else
4095   if $as_echo 'TRUE=$(BAR$(V))
4096 BAR0=false
4097 BAR1=true
4098 V=1
4099 am__doit:
4100         @$(TRUE)
4101 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4102   am_cv_make_support_nested_variables=yes
4103 else
4104   am_cv_make_support_nested_variables=no
4105 fi
4106 fi
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4108 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4109 if test $am_cv_make_support_nested_variables = yes; then
4110     AM_V='$(V)'
4111   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4112 else
4113   AM_V=$AM_DEFAULT_VERBOSITY
4114   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4115 fi
4116 AM_BACKSLASH='\'
4117
4118
4119 DEPDIR="${am__leading_dot}deps"
4120
4121 ac_config_commands="$ac_config_commands depfiles"
4122
4123
4124 am_make=${MAKE-make}
4125 cat > confinc << 'END'
4126 am__doit:
4127         @echo this is the am__doit target
4128 .PHONY: am__doit
4129 END
4130 # If we don't find an include directive, just comment out the code.
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4132 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4133 am__include="#"
4134 am__quote=
4135 _am_result=none
4136 # First try GNU make style include.
4137 echo "include confinc" > confmf
4138 # Ignore all kinds of additional output from 'make'.
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=GNU
4144   ;;
4145 esac
4146 # Now try BSD make style include.
4147 if test "$am__include" = "#"; then
4148    echo '.include "confinc"' > confmf
4149    case `$am_make -s -f confmf 2> /dev/null` in #(
4150    *the\ am__doit\ target*)
4151      am__include=.include
4152      am__quote="\""
4153      _am_result=BSD
4154      ;;
4155    esac
4156 fi
4157
4158
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4160 $as_echo "$_am_result" >&6; }
4161 rm -f confinc confmf
4162
4163 # Check whether --enable-dependency-tracking was given.
4164 if test "${enable_dependency_tracking+set}" = set; then :
4165   enableval=$enable_dependency_tracking;
4166 fi
4167
4168 if test "x$enable_dependency_tracking" != xno; then
4169   am_depcomp="$ac_aux_dir/depcomp"
4170   AMDEPBACKSLASH='\'
4171   am__nodep='_no'
4172 fi
4173  if test "x$enable_dependency_tracking" != xno; then
4174   AMDEP_TRUE=
4175   AMDEP_FALSE='#'
4176 else
4177   AMDEP_TRUE='#'
4178   AMDEP_FALSE=
4179 fi
4180
4181
4182 ac_ext=c
4183 ac_cpp='$CPP $CPPFLAGS'
4184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4187 if test -n "$ac_tool_prefix"; then
4188   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4189 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4191 $as_echo_n "checking for $ac_word... " >&6; }
4192 if ${ac_cv_prog_CC+:} false; then :
4193   $as_echo_n "(cached) " >&6
4194 else
4195   if test -n "$CC"; then
4196   ac_cv_prog_CC="$CC" # Let the user override the test.
4197 else
4198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4199 for as_dir in $PATH
4200 do
4201   IFS=$as_save_IFS
4202   test -z "$as_dir" && as_dir=.
4203     for ac_exec_ext in '' $ac_executable_extensions; do
4204   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4205     ac_cv_prog_CC="${ac_tool_prefix}gcc"
4206     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4207     break 2
4208   fi
4209 done
4210   done
4211 IFS=$as_save_IFS
4212
4213 fi
4214 fi
4215 CC=$ac_cv_prog_CC
4216 if test -n "$CC"; then
4217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4218 $as_echo "$CC" >&6; }
4219 else
4220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4221 $as_echo "no" >&6; }
4222 fi
4223
4224
4225 fi
4226 if test -z "$ac_cv_prog_CC"; then
4227   ac_ct_CC=$CC
4228   # Extract the first word of "gcc", so it can be a program name with args.
4229 set dummy gcc; ac_word=$2
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4231 $as_echo_n "checking for $ac_word... " >&6; }
4232 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4233   $as_echo_n "(cached) " >&6
4234 else
4235   if test -n "$ac_ct_CC"; then
4236   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4237 else
4238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4239 for as_dir in $PATH
4240 do
4241   IFS=$as_save_IFS
4242   test -z "$as_dir" && as_dir=.
4243     for ac_exec_ext in '' $ac_executable_extensions; do
4244   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4245     ac_cv_prog_ac_ct_CC="gcc"
4246     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4247     break 2
4248   fi
4249 done
4250   done
4251 IFS=$as_save_IFS
4252
4253 fi
4254 fi
4255 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4256 if test -n "$ac_ct_CC"; then
4257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4258 $as_echo "$ac_ct_CC" >&6; }
4259 else
4260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4261 $as_echo "no" >&6; }
4262 fi
4263
4264   if test "x$ac_ct_CC" = x; then
4265     CC=""
4266   else
4267     case $cross_compiling:$ac_tool_warned in
4268 yes:)
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4271 ac_tool_warned=yes ;;
4272 esac
4273     CC=$ac_ct_CC
4274   fi
4275 else
4276   CC="$ac_cv_prog_CC"
4277 fi
4278
4279 if test -z "$CC"; then
4280           if test -n "$ac_tool_prefix"; then
4281     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4282 set dummy ${ac_tool_prefix}cc; ac_word=$2
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4284 $as_echo_n "checking for $ac_word... " >&6; }
4285 if ${ac_cv_prog_CC+:} false; then :
4286   $as_echo_n "(cached) " >&6
4287 else
4288   if test -n "$CC"; then
4289   ac_cv_prog_CC="$CC" # Let the user override the test.
4290 else
4291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4292 for as_dir in $PATH
4293 do
4294   IFS=$as_save_IFS
4295   test -z "$as_dir" && as_dir=.
4296     for ac_exec_ext in '' $ac_executable_extensions; do
4297   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4298     ac_cv_prog_CC="${ac_tool_prefix}cc"
4299     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4300     break 2
4301   fi
4302 done
4303   done
4304 IFS=$as_save_IFS
4305
4306 fi
4307 fi
4308 CC=$ac_cv_prog_CC
4309 if test -n "$CC"; then
4310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4311 $as_echo "$CC" >&6; }
4312 else
4313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4314 $as_echo "no" >&6; }
4315 fi
4316
4317
4318   fi
4319 fi
4320 if test -z "$CC"; then
4321   # Extract the first word of "cc", so it can be a program name with args.
4322 set dummy cc; ac_word=$2
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4324 $as_echo_n "checking for $ac_word... " >&6; }
4325 if ${ac_cv_prog_CC+:} false; then :
4326   $as_echo_n "(cached) " >&6
4327 else
4328   if test -n "$CC"; then
4329   ac_cv_prog_CC="$CC" # Let the user override the test.
4330 else
4331   ac_prog_rejected=no
4332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4333 for as_dir in $PATH
4334 do
4335   IFS=$as_save_IFS
4336   test -z "$as_dir" && as_dir=.
4337     for ac_exec_ext in '' $ac_executable_extensions; do
4338   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4339     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4340        ac_prog_rejected=yes
4341        continue
4342      fi
4343     ac_cv_prog_CC="cc"
4344     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4345     break 2
4346   fi
4347 done
4348   done
4349 IFS=$as_save_IFS
4350
4351 if test $ac_prog_rejected = yes; then
4352   # We found a bogon in the path, so make sure we never use it.
4353   set dummy $ac_cv_prog_CC
4354   shift
4355   if test $# != 0; then
4356     # We chose a different compiler from the bogus one.
4357     # However, it has the same basename, so the bogon will be chosen
4358     # first if we set CC to just the basename; use the full file name.
4359     shift
4360     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4361   fi
4362 fi
4363 fi
4364 fi
4365 CC=$ac_cv_prog_CC
4366 if test -n "$CC"; then
4367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4368 $as_echo "$CC" >&6; }
4369 else
4370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4371 $as_echo "no" >&6; }
4372 fi
4373
4374
4375 fi
4376 if test -z "$CC"; then
4377   if test -n "$ac_tool_prefix"; then
4378   for ac_prog in cl.exe
4379   do
4380     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4381 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4383 $as_echo_n "checking for $ac_word... " >&6; }
4384 if ${ac_cv_prog_CC+:} false; then :
4385   $as_echo_n "(cached) " >&6
4386 else
4387   if test -n "$CC"; then
4388   ac_cv_prog_CC="$CC" # Let the user override the test.
4389 else
4390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4391 for as_dir in $PATH
4392 do
4393   IFS=$as_save_IFS
4394   test -z "$as_dir" && as_dir=.
4395     for ac_exec_ext in '' $ac_executable_extensions; do
4396   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4397     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4398     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4399     break 2
4400   fi
4401 done
4402   done
4403 IFS=$as_save_IFS
4404
4405 fi
4406 fi
4407 CC=$ac_cv_prog_CC
4408 if test -n "$CC"; then
4409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4410 $as_echo "$CC" >&6; }
4411 else
4412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4413 $as_echo "no" >&6; }
4414 fi
4415
4416
4417     test -n "$CC" && break
4418   done
4419 fi
4420 if test -z "$CC"; then
4421   ac_ct_CC=$CC
4422   for ac_prog in cl.exe
4423 do
4424   # Extract the first word of "$ac_prog", so it can be a program name with args.
4425 set dummy $ac_prog; ac_word=$2
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4427 $as_echo_n "checking for $ac_word... " >&6; }
4428 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4429   $as_echo_n "(cached) " >&6
4430 else
4431   if test -n "$ac_ct_CC"; then
4432   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4433 else
4434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4435 for as_dir in $PATH
4436 do
4437   IFS=$as_save_IFS
4438   test -z "$as_dir" && as_dir=.
4439     for ac_exec_ext in '' $ac_executable_extensions; do
4440   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4441     ac_cv_prog_ac_ct_CC="$ac_prog"
4442     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4443     break 2
4444   fi
4445 done
4446   done
4447 IFS=$as_save_IFS
4448
4449 fi
4450 fi
4451 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4452 if test -n "$ac_ct_CC"; then
4453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4454 $as_echo "$ac_ct_CC" >&6; }
4455 else
4456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4457 $as_echo "no" >&6; }
4458 fi
4459
4460
4461   test -n "$ac_ct_CC" && break
4462 done
4463
4464   if test "x$ac_ct_CC" = x; then
4465     CC=""
4466   else
4467     case $cross_compiling:$ac_tool_warned in
4468 yes:)
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4471 ac_tool_warned=yes ;;
4472 esac
4473     CC=$ac_ct_CC
4474   fi
4475 fi
4476
4477 fi
4478
4479
4480 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4481 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4482 as_fn_error $? "no acceptable C compiler found in \$PATH
4483 See \`config.log' for more details" "$LINENO" 5; }
4484
4485 # Provide some information about the compiler.
4486 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4487 set X $ac_compile
4488 ac_compiler=$2
4489 for ac_option in --version -v -V -qversion; do
4490   { { ac_try="$ac_compiler $ac_option >&5"
4491 case "(($ac_try" in
4492   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4493   *) ac_try_echo=$ac_try;;
4494 esac
4495 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4496 $as_echo "$ac_try_echo"; } >&5
4497   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4498   ac_status=$?
4499   if test -s conftest.err; then
4500     sed '10a\
4501 ... rest of stderr output deleted ...
4502          10q' conftest.err >conftest.er1
4503     cat conftest.er1 >&5
4504   fi
4505   rm -f conftest.er1 conftest.err
4506   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4507   test $ac_status = 0; }
4508 done
4509
4510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4511 /* end confdefs.h.  */
4512
4513 int
4514 main ()
4515 {
4516
4517   ;
4518   return 0;
4519 }
4520 _ACEOF
4521 ac_clean_files_save=$ac_clean_files
4522 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4523 # Try to create an executable without -o first, disregard a.out.
4524 # It will help us diagnose broken compilers, and finding out an intuition
4525 # of exeext.
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4527 $as_echo_n "checking whether the C compiler works... " >&6; }
4528 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4529
4530 # The possible output files:
4531 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4532
4533 ac_rmfiles=
4534 for ac_file in $ac_files
4535 do
4536   case $ac_file in
4537     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4538     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4539   esac
4540 done
4541 rm -f $ac_rmfiles
4542
4543 if { { ac_try="$ac_link_default"
4544 case "(($ac_try" in
4545   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4546   *) ac_try_echo=$ac_try;;
4547 esac
4548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4549 $as_echo "$ac_try_echo"; } >&5
4550   (eval "$ac_link_default") 2>&5
4551   ac_status=$?
4552   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4553   test $ac_status = 0; }; then :
4554   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4555 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4556 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
4557 # so that the user can short-circuit this test for compilers unknown to
4558 # Autoconf.
4559 for ac_file in $ac_files ''
4560 do
4561   test -f "$ac_file" || continue
4562   case $ac_file in
4563     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4564         ;;
4565     [ab].out )
4566         # We found the default executable, but exeext='' is most
4567         # certainly right.
4568         break;;
4569     *.* )
4570         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4571         then :; else
4572            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4573         fi
4574         # We set ac_cv_exeext here because the later test for it is not
4575         # safe: cross compilers may not add the suffix if given an `-o'
4576         # argument, so we may need to know it at that point already.
4577         # Even if this section looks crufty: it has the advantage of
4578         # actually working.
4579         break;;
4580     * )
4581         break;;
4582   esac
4583 done
4584 test "$ac_cv_exeext" = no && ac_cv_exeext=
4585
4586 else
4587   ac_file=''
4588 fi
4589 if test -z "$ac_file"; then :
4590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4591 $as_echo "no" >&6; }
4592 $as_echo "$as_me: failed program was:" >&5
4593 sed 's/^/| /' conftest.$ac_ext >&5
4594
4595 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4597 as_fn_error 77 "C compiler cannot create executables
4598 See \`config.log' for more details" "$LINENO" 5; }
4599 else
4600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4601 $as_echo "yes" >&6; }
4602 fi
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4604 $as_echo_n "checking for C compiler default output file name... " >&6; }
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4606 $as_echo "$ac_file" >&6; }
4607 ac_exeext=$ac_cv_exeext
4608
4609 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4610 ac_clean_files=$ac_clean_files_save
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4612 $as_echo_n "checking for suffix of executables... " >&6; }
4613 if { { ac_try="$ac_link"
4614 case "(($ac_try" in
4615   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4616   *) ac_try_echo=$ac_try;;
4617 esac
4618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4619 $as_echo "$ac_try_echo"; } >&5
4620   (eval "$ac_link") 2>&5
4621   ac_status=$?
4622   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4623   test $ac_status = 0; }; then :
4624   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4625 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4626 # work properly (i.e., refer to `conftest.exe'), while it won't with
4627 # `rm'.
4628 for ac_file in conftest.exe conftest conftest.*; do
4629   test -f "$ac_file" || continue
4630   case $ac_file in
4631     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4632     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4633           break;;
4634     * ) break;;
4635   esac
4636 done
4637 else
4638   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4639 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4640 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4641 See \`config.log' for more details" "$LINENO" 5; }
4642 fi
4643 rm -f conftest conftest$ac_cv_exeext
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4645 $as_echo "$ac_cv_exeext" >&6; }
4646
4647 rm -f conftest.$ac_ext
4648 EXEEXT=$ac_cv_exeext
4649 ac_exeext=$EXEEXT
4650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4651 /* end confdefs.h.  */
4652 #include <stdio.h>
4653 int
4654 main ()
4655 {
4656 FILE *f = fopen ("conftest.out", "w");
4657  return ferror (f) || fclose (f) != 0;
4658
4659   ;
4660   return 0;
4661 }
4662 _ACEOF
4663 ac_clean_files="$ac_clean_files conftest.out"
4664 # Check that the compiler produces executables we can run.  If not, either
4665 # the compiler is broken, or we cross compile.
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4667 $as_echo_n "checking whether we are cross compiling... " >&6; }
4668 if test "$cross_compiling" != yes; then
4669   { { ac_try="$ac_link"
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_link") 2>&5
4677   ac_status=$?
4678   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4679   test $ac_status = 0; }
4680   if { ac_try='./conftest$ac_cv_exeext'
4681   { { case "(($ac_try" in
4682   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4683   *) ac_try_echo=$ac_try;;
4684 esac
4685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4686 $as_echo "$ac_try_echo"; } >&5
4687   (eval "$ac_try") 2>&5
4688   ac_status=$?
4689   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4690   test $ac_status = 0; }; }; then
4691     cross_compiling=no
4692   else
4693     if test "$cross_compiling" = maybe; then
4694         cross_compiling=yes
4695     else
4696         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4697 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4698 as_fn_error $? "cannot run C compiled programs.
4699 If you meant to cross compile, use \`--host'.
4700 See \`config.log' for more details" "$LINENO" 5; }
4701     fi
4702   fi
4703 fi
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4705 $as_echo "$cross_compiling" >&6; }
4706
4707 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4708 ac_clean_files=$ac_clean_files_save
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4710 $as_echo_n "checking for suffix of object files... " >&6; }
4711 if ${ac_cv_objext+:} false; then :
4712   $as_echo_n "(cached) " >&6
4713 else
4714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4715 /* end confdefs.h.  */
4716
4717 int
4718 main ()
4719 {
4720
4721   ;
4722   return 0;
4723 }
4724 _ACEOF
4725 rm -f conftest.o conftest.obj
4726 if { { ac_try="$ac_compile"
4727 case "(($ac_try" in
4728   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4729   *) ac_try_echo=$ac_try;;
4730 esac
4731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4732 $as_echo "$ac_try_echo"; } >&5
4733   (eval "$ac_compile") 2>&5
4734   ac_status=$?
4735   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4736   test $ac_status = 0; }; then :
4737   for ac_file in conftest.o conftest.obj conftest.*; do
4738   test -f "$ac_file" || continue;
4739   case $ac_file in
4740     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4741     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4742        break;;
4743   esac
4744 done
4745 else
4746   $as_echo "$as_me: failed program was:" >&5
4747 sed 's/^/| /' conftest.$ac_ext >&5
4748
4749 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4751 as_fn_error $? "cannot compute suffix of object files: cannot compile
4752 See \`config.log' for more details" "$LINENO" 5; }
4753 fi
4754 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4755 fi
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4757 $as_echo "$ac_cv_objext" >&6; }
4758 OBJEXT=$ac_cv_objext
4759 ac_objext=$OBJEXT
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4761 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4762 if ${ac_cv_c_compiler_gnu+:} false; then :
4763   $as_echo_n "(cached) " >&6
4764 else
4765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4766 /* end confdefs.h.  */
4767
4768 int
4769 main ()
4770 {
4771 #ifndef __GNUC__
4772        choke me
4773 #endif
4774
4775   ;
4776   return 0;
4777 }
4778 _ACEOF
4779 if ac_fn_c_try_compile "$LINENO"; then :
4780   ac_compiler_gnu=yes
4781 else
4782   ac_compiler_gnu=no
4783 fi
4784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4785 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4786
4787 fi
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4789 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4790 if test $ac_compiler_gnu = yes; then
4791   GCC=yes
4792 else
4793   GCC=
4794 fi
4795 ac_test_CFLAGS=${CFLAGS+set}
4796 ac_save_CFLAGS=$CFLAGS
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4798 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4799 if ${ac_cv_prog_cc_g+:} false; then :
4800   $as_echo_n "(cached) " >&6
4801 else
4802   ac_save_c_werror_flag=$ac_c_werror_flag
4803    ac_c_werror_flag=yes
4804    ac_cv_prog_cc_g=no
4805    CFLAGS="-g"
4806    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4807 /* end confdefs.h.  */
4808
4809 int
4810 main ()
4811 {
4812
4813   ;
4814   return 0;
4815 }
4816 _ACEOF
4817 if ac_fn_c_try_compile "$LINENO"; then :
4818   ac_cv_prog_cc_g=yes
4819 else
4820   CFLAGS=""
4821       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4822 /* end confdefs.h.  */
4823
4824 int
4825 main ()
4826 {
4827
4828   ;
4829   return 0;
4830 }
4831 _ACEOF
4832 if ac_fn_c_try_compile "$LINENO"; then :
4833
4834 else
4835   ac_c_werror_flag=$ac_save_c_werror_flag
4836          CFLAGS="-g"
4837          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4838 /* end confdefs.h.  */
4839
4840 int
4841 main ()
4842 {
4843
4844   ;
4845   return 0;
4846 }
4847 _ACEOF
4848 if ac_fn_c_try_compile "$LINENO"; then :
4849   ac_cv_prog_cc_g=yes
4850 fi
4851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4852 fi
4853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4854 fi
4855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4856    ac_c_werror_flag=$ac_save_c_werror_flag
4857 fi
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4859 $as_echo "$ac_cv_prog_cc_g" >&6; }
4860 if test "$ac_test_CFLAGS" = set; then
4861   CFLAGS=$ac_save_CFLAGS
4862 elif test $ac_cv_prog_cc_g = yes; then
4863   if test "$GCC" = yes; then
4864     CFLAGS="-g -O2"
4865   else
4866     CFLAGS="-g"
4867   fi
4868 else
4869   if test "$GCC" = yes; then
4870     CFLAGS="-O2"
4871   else
4872     CFLAGS=
4873   fi
4874 fi
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4876 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4877 if ${ac_cv_prog_cc_c89+:} false; then :
4878   $as_echo_n "(cached) " >&6
4879 else
4880   ac_cv_prog_cc_c89=no
4881 ac_save_CC=$CC
4882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4883 /* end confdefs.h.  */
4884 #include <stdarg.h>
4885 #include <stdio.h>
4886 struct stat;
4887 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4888 struct buf { int x; };
4889 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4890 static char *e (p, i)
4891      char **p;
4892      int i;
4893 {
4894   return p[i];
4895 }
4896 static char *f (char * (*g) (char **, int), char **p, ...)
4897 {
4898   char *s;
4899   va_list v;
4900   va_start (v,p);
4901   s = g (p, va_arg (v,int));
4902   va_end (v);
4903   return s;
4904 }
4905
4906 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4907    function prototypes and stuff, but not '\xHH' hex character constants.
4908    These don't provoke an error unfortunately, instead are silently treated
4909    as 'x'.  The following induces an error, until -std is added to get
4910    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4911    array size at least.  It's necessary to write '\x00'==0 to get something
4912    that's true only with -std.  */
4913 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4914
4915 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4916    inside strings and character constants.  */
4917 #define FOO(x) 'x'
4918 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4919
4920 int test (int i, double x);
4921 struct s1 {int (*f) (int a);};
4922 struct s2 {int (*f) (double a);};
4923 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4924 int argc;
4925 char **argv;
4926 int
4927 main ()
4928 {
4929 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4930   ;
4931   return 0;
4932 }
4933 _ACEOF
4934 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4935         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4936 do
4937   CC="$ac_save_CC $ac_arg"
4938   if ac_fn_c_try_compile "$LINENO"; then :
4939   ac_cv_prog_cc_c89=$ac_arg
4940 fi
4941 rm -f core conftest.err conftest.$ac_objext
4942   test "x$ac_cv_prog_cc_c89" != "xno" && break
4943 done
4944 rm -f conftest.$ac_ext
4945 CC=$ac_save_CC
4946
4947 fi
4948 # AC_CACHE_VAL
4949 case "x$ac_cv_prog_cc_c89" in
4950   x)
4951     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4952 $as_echo "none needed" >&6; } ;;
4953   xno)
4954     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4955 $as_echo "unsupported" >&6; } ;;
4956   *)
4957     CC="$CC $ac_cv_prog_cc_c89"
4958     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4959 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4960 esac
4961 if test "x$ac_cv_prog_cc_c89" != xno; then :
4962
4963 fi
4964
4965 ac_ext=c
4966 ac_cpp='$CPP $CPPFLAGS'
4967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4970
4971 depcc="$CC"   am_compiler_list=
4972
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4974 $as_echo_n "checking dependency style of $depcc... " >&6; }
4975 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4976   $as_echo_n "(cached) " >&6
4977 else
4978   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4979   # We make a subdir and do the tests there.  Otherwise we can end up
4980   # making bogus files that we don't know about and never remove.  For
4981   # instance it was reported that on HP-UX the gcc test will end up
4982   # making a dummy file named 'D' -- because '-MD' means "put the output
4983   # in D".
4984   rm -rf conftest.dir
4985   mkdir conftest.dir
4986   # Copy depcomp to subdir because otherwise we won't find it if we're
4987   # using a relative directory.
4988   cp "$am_depcomp" conftest.dir
4989   cd conftest.dir
4990   # We will build objects and dependencies in a subdirectory because
4991   # it helps to detect inapplicable dependency modes.  For instance
4992   # both Tru64's cc and ICC support -MD to output dependencies as a
4993   # side effect of compilation, but ICC will put the dependencies in
4994   # the current directory while Tru64 will put them in the object
4995   # directory.
4996   mkdir sub
4997
4998   am_cv_CC_dependencies_compiler_type=none
4999   if test "$am_compiler_list" = ""; then
5000      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5001   fi
5002   am__universal=false
5003   case " $depcc " in #(
5004      *\ -arch\ *\ -arch\ *) am__universal=true ;;
5005      esac
5006
5007   for depmode in $am_compiler_list; do
5008     # Setup a source with many dependencies, because some compilers
5009     # like to wrap large dependency lists on column 80 (with \), and
5010     # we should not choose a depcomp mode which is confused by this.
5011     #
5012     # We need to recreate these files for each test, as the compiler may
5013     # overwrite some of them when testing with obscure command lines.
5014     # This happens at least with the AIX C compiler.
5015     : > sub/conftest.c
5016     for i in 1 2 3 4 5 6; do
5017       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5018       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5019       # Solaris 10 /bin/sh.
5020       echo '/* dummy */' > sub/conftst$i.h
5021     done
5022     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5023
5024     # We check with '-c' and '-o' for the sake of the "dashmstdout"
5025     # mode.  It turns out that the SunPro C++ compiler does not properly
5026     # handle '-M -o', and we need to detect this.  Also, some Intel
5027     # versions had trouble with output in subdirs.
5028     am__obj=sub/conftest.${OBJEXT-o}
5029     am__minus_obj="-o $am__obj"
5030     case $depmode in
5031     gcc)
5032       # This depmode causes a compiler race in universal mode.
5033       test "$am__universal" = false || continue
5034       ;;
5035     nosideeffect)
5036       # After this tag, mechanisms are not by side-effect, so they'll
5037       # only be used when explicitly requested.
5038       if test "x$enable_dependency_tracking" = xyes; then
5039         continue
5040       else
5041         break
5042       fi
5043       ;;
5044     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5045       # This compiler won't grok '-c -o', but also, the minuso test has
5046       # not run yet.  These depmodes are late enough in the game, and
5047       # so weak that their functioning should not be impacted.
5048       am__obj=conftest.${OBJEXT-o}
5049       am__minus_obj=
5050       ;;
5051     none) break ;;
5052     esac
5053     if depmode=$depmode \
5054        source=sub/conftest.c object=$am__obj \
5055        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5056        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5057          >/dev/null 2>conftest.err &&
5058        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5059        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5060        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5061        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5062       # icc doesn't choke on unknown options, it will just issue warnings
5063       # or remarks (even with -Werror).  So we grep stderr for any message
5064       # that says an option was ignored or not supported.
5065       # When given -MP, icc 7.0 and 7.1 complain thusly:
5066       #   icc: Command line warning: ignoring option '-M'; no argument required
5067       # The diagnosis changed in icc 8.0:
5068       #   icc: Command line remark: option '-MP' not supported
5069       if (grep 'ignoring option' conftest.err ||
5070           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5071         am_cv_CC_dependencies_compiler_type=$depmode
5072         break
5073       fi
5074     fi
5075   done
5076
5077   cd ..
5078   rm -rf conftest.dir
5079 else
5080   am_cv_CC_dependencies_compiler_type=none
5081 fi
5082
5083 fi
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5085 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5086 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5087
5088  if
5089   test "x$enable_dependency_tracking" != xno \
5090   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5091   am__fastdepCC_TRUE=
5092   am__fastdepCC_FALSE='#'
5093 else
5094   am__fastdepCC_TRUE='#'
5095   am__fastdepCC_FALSE=
5096 fi
5097
5098
5099
5100 ac_ext=c
5101 ac_cpp='$CPP $CPPFLAGS'
5102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5106 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5107 # On Suns, sometimes $CPP names a directory.
5108 if test -n "$CPP" && test -d "$CPP"; then
5109   CPP=
5110 fi
5111 if test -z "$CPP"; then
5112   if ${ac_cv_prog_CPP+:} false; then :
5113   $as_echo_n "(cached) " >&6
5114 else
5115       # Double quotes because CPP needs to be expanded
5116     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5117     do
5118       ac_preproc_ok=false
5119 for ac_c_preproc_warn_flag in '' yes
5120 do
5121   # Use a header file that comes with gcc, so configuring glibc
5122   # with a fresh cross-compiler works.
5123   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5124   # <limits.h> exists even on freestanding compilers.
5125   # On the NeXT, cc -E runs the code through the compiler's parser,
5126   # not just through cpp. "Syntax error" is here to catch this case.
5127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5128 /* end confdefs.h.  */
5129 #ifdef __STDC__
5130 # include <limits.h>
5131 #else
5132 # include <assert.h>
5133 #endif
5134                      Syntax error
5135 _ACEOF
5136 if ac_fn_c_try_cpp "$LINENO"; then :
5137
5138 else
5139   # Broken: fails on valid input.
5140 continue
5141 fi
5142 rm -f conftest.err conftest.i conftest.$ac_ext
5143
5144   # OK, works on sane cases.  Now check whether nonexistent headers
5145   # can be detected and how.
5146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5147 /* end confdefs.h.  */
5148 #include <ac_nonexistent.h>
5149 _ACEOF
5150 if ac_fn_c_try_cpp "$LINENO"; then :
5151   # Broken: success on invalid input.
5152 continue
5153 else
5154   # Passes both tests.
5155 ac_preproc_ok=:
5156 break
5157 fi
5158 rm -f conftest.err conftest.i conftest.$ac_ext
5159
5160 done
5161 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5162 rm -f conftest.i conftest.err conftest.$ac_ext
5163 if $ac_preproc_ok; then :
5164   break
5165 fi
5166
5167     done
5168     ac_cv_prog_CPP=$CPP
5169
5170 fi
5171   CPP=$ac_cv_prog_CPP
5172 else
5173   ac_cv_prog_CPP=$CPP
5174 fi
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5176 $as_echo "$CPP" >&6; }
5177 ac_preproc_ok=false
5178 for ac_c_preproc_warn_flag in '' yes
5179 do
5180   # Use a header file that comes with gcc, so configuring glibc
5181   # with a fresh cross-compiler works.
5182   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5183   # <limits.h> exists even on freestanding compilers.
5184   # On the NeXT, cc -E runs the code through the compiler's parser,
5185   # not just through cpp. "Syntax error" is here to catch this case.
5186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5187 /* end confdefs.h.  */
5188 #ifdef __STDC__
5189 # include <limits.h>
5190 #else
5191 # include <assert.h>
5192 #endif
5193                      Syntax error
5194 _ACEOF
5195 if ac_fn_c_try_cpp "$LINENO"; then :
5196
5197 else
5198   # Broken: fails on valid input.
5199 continue
5200 fi
5201 rm -f conftest.err conftest.i conftest.$ac_ext
5202
5203   # OK, works on sane cases.  Now check whether nonexistent headers
5204   # can be detected and how.
5205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5206 /* end confdefs.h.  */
5207 #include <ac_nonexistent.h>
5208 _ACEOF
5209 if ac_fn_c_try_cpp "$LINENO"; then :
5210   # Broken: success on invalid input.
5211 continue
5212 else
5213   # Passes both tests.
5214 ac_preproc_ok=:
5215 break
5216 fi
5217 rm -f conftest.err conftest.i conftest.$ac_ext
5218
5219 done
5220 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5221 rm -f conftest.i conftest.err conftest.$ac_ext
5222 if $ac_preproc_ok; then :
5223
5224 else
5225   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5227 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5228 See \`config.log' for more details" "$LINENO" 5; }
5229 fi
5230
5231 ac_ext=c
5232 ac_cpp='$CPP $CPPFLAGS'
5233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5236
5237
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5239 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5240 if ${ac_cv_path_GREP+:} false; then :
5241   $as_echo_n "(cached) " >&6
5242 else
5243   if test -z "$GREP"; then
5244   ac_path_GREP_found=false
5245   # Loop through the user's path and test for each of PROGNAME-LIST
5246   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5247 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5248 do
5249   IFS=$as_save_IFS
5250   test -z "$as_dir" && as_dir=.
5251     for ac_prog in grep ggrep; do
5252     for ac_exec_ext in '' $ac_executable_extensions; do
5253       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5254       as_fn_executable_p "$ac_path_GREP" || continue
5255 # Check for GNU ac_path_GREP and select it if it is found.
5256   # Check for GNU $ac_path_GREP
5257 case `"$ac_path_GREP" --version 2>&1` in
5258 *GNU*)
5259   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5260 *)
5261   ac_count=0
5262   $as_echo_n 0123456789 >"conftest.in"
5263   while :
5264   do
5265     cat "conftest.in" "conftest.in" >"conftest.tmp"
5266     mv "conftest.tmp" "conftest.in"
5267     cp "conftest.in" "conftest.nl"
5268     $as_echo 'GREP' >> "conftest.nl"
5269     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5270     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5271     as_fn_arith $ac_count + 1 && ac_count=$as_val
5272     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5273       # Best one so far, save it but keep looking for a better one
5274       ac_cv_path_GREP="$ac_path_GREP"
5275       ac_path_GREP_max=$ac_count
5276     fi
5277     # 10*(2^10) chars as input seems more than enough
5278     test $ac_count -gt 10 && break
5279   done
5280   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5281 esac
5282
5283       $ac_path_GREP_found && break 3
5284     done
5285   done
5286   done
5287 IFS=$as_save_IFS
5288   if test -z "$ac_cv_path_GREP"; then
5289     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5290   fi
5291 else
5292   ac_cv_path_GREP=$GREP
5293 fi
5294
5295 fi
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5297 $as_echo "$ac_cv_path_GREP" >&6; }
5298  GREP="$ac_cv_path_GREP"
5299
5300
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5302 $as_echo_n "checking for egrep... " >&6; }
5303 if ${ac_cv_path_EGREP+:} false; then :
5304   $as_echo_n "(cached) " >&6
5305 else
5306   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5307    then ac_cv_path_EGREP="$GREP -E"
5308    else
5309      if test -z "$EGREP"; then
5310   ac_path_EGREP_found=false
5311   # Loop through the user's path and test for each of PROGNAME-LIST
5312   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5313 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5314 do
5315   IFS=$as_save_IFS
5316   test -z "$as_dir" && as_dir=.
5317     for ac_prog in egrep; do
5318     for ac_exec_ext in '' $ac_executable_extensions; do
5319       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5320       as_fn_executable_p "$ac_path_EGREP" || continue
5321 # Check for GNU ac_path_EGREP and select it if it is found.
5322   # Check for GNU $ac_path_EGREP
5323 case `"$ac_path_EGREP" --version 2>&1` in
5324 *GNU*)
5325   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5326 *)
5327   ac_count=0
5328   $as_echo_n 0123456789 >"conftest.in"
5329   while :
5330   do
5331     cat "conftest.in" "conftest.in" >"conftest.tmp"
5332     mv "conftest.tmp" "conftest.in"
5333     cp "conftest.in" "conftest.nl"
5334     $as_echo 'EGREP' >> "conftest.nl"
5335     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5336     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5337     as_fn_arith $ac_count + 1 && ac_count=$as_val
5338     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5339       # Best one so far, save it but keep looking for a better one
5340       ac_cv_path_EGREP="$ac_path_EGREP"
5341       ac_path_EGREP_max=$ac_count
5342     fi
5343     # 10*(2^10) chars as input seems more than enough
5344     test $ac_count -gt 10 && break
5345   done
5346   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5347 esac
5348
5349       $ac_path_EGREP_found && break 3
5350     done
5351   done
5352   done
5353 IFS=$as_save_IFS
5354   if test -z "$ac_cv_path_EGREP"; then
5355     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5356   fi
5357 else
5358   ac_cv_path_EGREP=$EGREP
5359 fi
5360
5361    fi
5362 fi
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5364 $as_echo "$ac_cv_path_EGREP" >&6; }
5365  EGREP="$ac_cv_path_EGREP"
5366
5367
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5369 $as_echo_n "checking for ANSI C header files... " >&6; }
5370 if ${ac_cv_header_stdc+:} false; then :
5371   $as_echo_n "(cached) " >&6
5372 else
5373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5374 /* end confdefs.h.  */
5375 #include <stdlib.h>
5376 #include <stdarg.h>
5377 #include <string.h>
5378 #include <float.h>
5379
5380 int
5381 main ()
5382 {
5383
5384   ;
5385   return 0;
5386 }
5387 _ACEOF
5388 if ac_fn_c_try_compile "$LINENO"; then :
5389   ac_cv_header_stdc=yes
5390 else
5391   ac_cv_header_stdc=no
5392 fi
5393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5394
5395 if test $ac_cv_header_stdc = yes; then
5396   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5398 /* end confdefs.h.  */
5399 #include <string.h>
5400
5401 _ACEOF
5402 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5403   $EGREP "memchr" >/dev/null 2>&1; then :
5404
5405 else
5406   ac_cv_header_stdc=no
5407 fi
5408 rm -f conftest*
5409
5410 fi
5411
5412 if test $ac_cv_header_stdc = yes; then
5413   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5414   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5415 /* end confdefs.h.  */
5416 #include <stdlib.h>
5417
5418 _ACEOF
5419 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5420   $EGREP "free" >/dev/null 2>&1; then :
5421
5422 else
5423   ac_cv_header_stdc=no
5424 fi
5425 rm -f conftest*
5426
5427 fi
5428
5429 if test $ac_cv_header_stdc = yes; then
5430   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5431   if test "$cross_compiling" = yes; then :
5432   :
5433 else
5434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5435 /* end confdefs.h.  */
5436 #include <ctype.h>
5437 #include <stdlib.h>
5438 #if ((' ' & 0x0FF) == 0x020)
5439 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5440 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5441 #else
5442 # define ISLOWER(c) \
5443                    (('a' <= (c) && (c) <= 'i') \
5444                      || ('j' <= (c) && (c) <= 'r') \
5445                      || ('s' <= (c) && (c) <= 'z'))
5446 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5447 #endif
5448
5449 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5450 int
5451 main ()
5452 {
5453   int i;
5454   for (i = 0; i < 256; i++)
5455     if (XOR (islower (i), ISLOWER (i))
5456         || toupper (i) != TOUPPER (i))
5457       return 2;
5458   return 0;
5459 }
5460 _ACEOF
5461 if ac_fn_c_try_run "$LINENO"; then :
5462
5463 else
5464   ac_cv_header_stdc=no
5465 fi
5466 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5467   conftest.$ac_objext conftest.beam conftest.$ac_ext
5468 fi
5469
5470 fi
5471 fi
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5473 $as_echo "$ac_cv_header_stdc" >&6; }
5474 if test $ac_cv_header_stdc = yes; then
5475
5476 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5477
5478 fi
5479
5480 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5481 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5482                   inttypes.h stdint.h unistd.h
5483 do :
5484   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5485 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5486 "
5487 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5488   cat >>confdefs.h <<_ACEOF
5489 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5490 _ACEOF
5491
5492 fi
5493
5494 done
5495
5496
5497
5498   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5499 if test "x$ac_cv_header_minix_config_h" = xyes; then :
5500   MINIX=yes
5501 else
5502   MINIX=
5503 fi
5504
5505
5506   if test "$MINIX" = yes; then
5507
5508 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5509
5510
5511 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5512
5513
5514 $as_echo "#define _MINIX 1" >>confdefs.h
5515
5516   fi
5517
5518
5519   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5520 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5521 if ${ac_cv_safe_to_define___extensions__+:} false; then :
5522   $as_echo_n "(cached) " >&6
5523 else
5524   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5525 /* end confdefs.h.  */
5526
5527 #         define __EXTENSIONS__ 1
5528           $ac_includes_default
5529 int
5530 main ()
5531 {
5532
5533   ;
5534   return 0;
5535 }
5536 _ACEOF
5537 if ac_fn_c_try_compile "$LINENO"; then :
5538   ac_cv_safe_to_define___extensions__=yes
5539 else
5540   ac_cv_safe_to_define___extensions__=no
5541 fi
5542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5543 fi
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5545 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5546   test $ac_cv_safe_to_define___extensions__ = yes &&
5547     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5548
5549   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5550
5551   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5552
5553   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5554
5555   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5556
5557
5558
5559
5560 # Make sure we can run config.sub.
5561 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5562   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5563
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5565 $as_echo_n "checking build system type... " >&6; }
5566 if ${ac_cv_build+:} false; then :
5567   $as_echo_n "(cached) " >&6
5568 else
5569   ac_build_alias=$build_alias
5570 test "x$ac_build_alias" = x &&
5571   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5572 test "x$ac_build_alias" = x &&
5573   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5574 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5575   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5576
5577 fi
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5579 $as_echo "$ac_cv_build" >&6; }
5580 case $ac_cv_build in
5581 *-*-*) ;;
5582 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5583 esac
5584 build=$ac_cv_build
5585 ac_save_IFS=$IFS; IFS='-'
5586 set x $ac_cv_build
5587 shift
5588 build_cpu=$1
5589 build_vendor=$2
5590 shift; shift
5591 # Remember, the first character of IFS is used to create $*,
5592 # except with old shells:
5593 build_os=$*
5594 IFS=$ac_save_IFS
5595 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5596
5597
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5599 $as_echo_n "checking host system type... " >&6; }
5600 if ${ac_cv_host+:} false; then :
5601   $as_echo_n "(cached) " >&6
5602 else
5603   if test "x$host_alias" = x; then
5604   ac_cv_host=$ac_cv_build
5605 else
5606   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5607     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5608 fi
5609
5610 fi
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5612 $as_echo "$ac_cv_host" >&6; }
5613 case $ac_cv_host in
5614 *-*-*) ;;
5615 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5616 esac
5617 host=$ac_cv_host
5618 ac_save_IFS=$IFS; IFS='-'
5619 set x $ac_cv_host
5620 shift
5621 host_cpu=$1
5622 host_vendor=$2
5623 shift; shift
5624 # Remember, the first character of IFS is used to create $*,
5625 # except with old shells:
5626 host_os=$*
5627 IFS=$ac_save_IFS
5628 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5629
5630
5631 enable_win32_dll=yes
5632
5633 case $host in
5634 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
5635   if test -n "$ac_tool_prefix"; then
5636   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5637 set dummy ${ac_tool_prefix}as; ac_word=$2
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5639 $as_echo_n "checking for $ac_word... " >&6; }
5640 if ${ac_cv_prog_AS+:} false; then :
5641   $as_echo_n "(cached) " >&6
5642 else
5643   if test -n "$AS"; then
5644   ac_cv_prog_AS="$AS" # Let the user override the test.
5645 else
5646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5647 for as_dir in $PATH
5648 do
5649   IFS=$as_save_IFS
5650   test -z "$as_dir" && as_dir=.
5651     for ac_exec_ext in '' $ac_executable_extensions; do
5652   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5653     ac_cv_prog_AS="${ac_tool_prefix}as"
5654     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5655     break 2
5656   fi
5657 done
5658   done
5659 IFS=$as_save_IFS
5660
5661 fi
5662 fi
5663 AS=$ac_cv_prog_AS
5664 if test -n "$AS"; then
5665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5666 $as_echo "$AS" >&6; }
5667 else
5668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5669 $as_echo "no" >&6; }
5670 fi
5671
5672
5673 fi
5674 if test -z "$ac_cv_prog_AS"; then
5675   ac_ct_AS=$AS
5676   # Extract the first word of "as", so it can be a program name with args.
5677 set dummy as; ac_word=$2
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5679 $as_echo_n "checking for $ac_word... " >&6; }
5680 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5681   $as_echo_n "(cached) " >&6
5682 else
5683   if test -n "$ac_ct_AS"; then
5684   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5685 else
5686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5687 for as_dir in $PATH
5688 do
5689   IFS=$as_save_IFS
5690   test -z "$as_dir" && as_dir=.
5691     for ac_exec_ext in '' $ac_executable_extensions; do
5692   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5693     ac_cv_prog_ac_ct_AS="as"
5694     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5695     break 2
5696   fi
5697 done
5698   done
5699 IFS=$as_save_IFS
5700
5701 fi
5702 fi
5703 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5704 if test -n "$ac_ct_AS"; then
5705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5706 $as_echo "$ac_ct_AS" >&6; }
5707 else
5708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5709 $as_echo "no" >&6; }
5710 fi
5711
5712   if test "x$ac_ct_AS" = x; then
5713     AS="false"
5714   else
5715     case $cross_compiling:$ac_tool_warned in
5716 yes:)
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5719 ac_tool_warned=yes ;;
5720 esac
5721     AS=$ac_ct_AS
5722   fi
5723 else
5724   AS="$ac_cv_prog_AS"
5725 fi
5726
5727   if test -n "$ac_tool_prefix"; then
5728   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5729 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5731 $as_echo_n "checking for $ac_word... " >&6; }
5732 if ${ac_cv_prog_DLLTOOL+:} false; then :
5733   $as_echo_n "(cached) " >&6
5734 else
5735   if test -n "$DLLTOOL"; then
5736   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5737 else
5738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5739 for as_dir in $PATH
5740 do
5741   IFS=$as_save_IFS
5742   test -z "$as_dir" && as_dir=.
5743     for ac_exec_ext in '' $ac_executable_extensions; do
5744   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5745     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5746     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5747     break 2
5748   fi
5749 done
5750   done
5751 IFS=$as_save_IFS
5752
5753 fi
5754 fi
5755 DLLTOOL=$ac_cv_prog_DLLTOOL
5756 if test -n "$DLLTOOL"; then
5757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5758 $as_echo "$DLLTOOL" >&6; }
5759 else
5760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5761 $as_echo "no" >&6; }
5762 fi
5763
5764
5765 fi
5766 if test -z "$ac_cv_prog_DLLTOOL"; then
5767   ac_ct_DLLTOOL=$DLLTOOL
5768   # Extract the first word of "dlltool", so it can be a program name with args.
5769 set dummy dlltool; ac_word=$2
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5771 $as_echo_n "checking for $ac_word... " >&6; }
5772 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5773   $as_echo_n "(cached) " >&6
5774 else
5775   if test -n "$ac_ct_DLLTOOL"; then
5776   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5777 else
5778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5779 for as_dir in $PATH
5780 do
5781   IFS=$as_save_IFS
5782   test -z "$as_dir" && as_dir=.
5783     for ac_exec_ext in '' $ac_executable_extensions; do
5784   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5785     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5786     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5787     break 2
5788   fi
5789 done
5790   done
5791 IFS=$as_save_IFS
5792
5793 fi
5794 fi
5795 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5796 if test -n "$ac_ct_DLLTOOL"; then
5797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5798 $as_echo "$ac_ct_DLLTOOL" >&6; }
5799 else
5800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5801 $as_echo "no" >&6; }
5802 fi
5803
5804   if test "x$ac_ct_DLLTOOL" = x; then
5805     DLLTOOL="false"
5806   else
5807     case $cross_compiling:$ac_tool_warned in
5808 yes:)
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5810 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5811 ac_tool_warned=yes ;;
5812 esac
5813     DLLTOOL=$ac_ct_DLLTOOL
5814   fi
5815 else
5816   DLLTOOL="$ac_cv_prog_DLLTOOL"
5817 fi
5818
5819   if test -n "$ac_tool_prefix"; then
5820   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5821 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5823 $as_echo_n "checking for $ac_word... " >&6; }
5824 if ${ac_cv_prog_OBJDUMP+:} false; then :
5825   $as_echo_n "(cached) " >&6
5826 else
5827   if test -n "$OBJDUMP"; then
5828   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5829 else
5830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5831 for as_dir in $PATH
5832 do
5833   IFS=$as_save_IFS
5834   test -z "$as_dir" && as_dir=.
5835     for ac_exec_ext in '' $ac_executable_extensions; do
5836   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5837     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5838     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5839     break 2
5840   fi
5841 done
5842   done
5843 IFS=$as_save_IFS
5844
5845 fi
5846 fi
5847 OBJDUMP=$ac_cv_prog_OBJDUMP
5848 if test -n "$OBJDUMP"; then
5849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5850 $as_echo "$OBJDUMP" >&6; }
5851 else
5852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5853 $as_echo "no" >&6; }
5854 fi
5855
5856
5857 fi
5858 if test -z "$ac_cv_prog_OBJDUMP"; then
5859   ac_ct_OBJDUMP=$OBJDUMP
5860   # Extract the first word of "objdump", so it can be a program name with args.
5861 set dummy objdump; ac_word=$2
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5863 $as_echo_n "checking for $ac_word... " >&6; }
5864 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5865   $as_echo_n "(cached) " >&6
5866 else
5867   if test -n "$ac_ct_OBJDUMP"; then
5868   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5869 else
5870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5871 for as_dir in $PATH
5872 do
5873   IFS=$as_save_IFS
5874   test -z "$as_dir" && as_dir=.
5875     for ac_exec_ext in '' $ac_executable_extensions; do
5876   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5877     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5878     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5879     break 2
5880   fi
5881 done
5882   done
5883 IFS=$as_save_IFS
5884
5885 fi
5886 fi
5887 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5888 if test -n "$ac_ct_OBJDUMP"; then
5889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5890 $as_echo "$ac_ct_OBJDUMP" >&6; }
5891 else
5892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5893 $as_echo "no" >&6; }
5894 fi
5895
5896   if test "x$ac_ct_OBJDUMP" = x; then
5897     OBJDUMP="false"
5898   else
5899     case $cross_compiling:$ac_tool_warned in
5900 yes:)
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5903 ac_tool_warned=yes ;;
5904 esac
5905     OBJDUMP=$ac_ct_OBJDUMP
5906   fi
5907 else
5908   OBJDUMP="$ac_cv_prog_OBJDUMP"
5909 fi
5910
5911   ;;
5912 esac
5913
5914 test -z "$AS" && AS=as
5915
5916
5917
5918
5919
5920 test -z "$DLLTOOL" && DLLTOOL=dlltool
5921
5922
5923
5924
5925
5926 test -z "$OBJDUMP" && OBJDUMP=objdump
5927
5928
5929
5930
5931
5932
5933
5934 case `pwd` in
5935   *\ * | *\     *)
5936     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5937 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5938 esac
5939
5940
5941
5942 macro_version='2.4.2'
5943 macro_revision='1.3337'
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957 ltmain="$ac_aux_dir/ltmain.sh"
5958
5959 # Backslashify metacharacters that are still active within
5960 # double-quoted strings.
5961 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5962
5963 # Same as above, but do not quote variable references.
5964 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5965
5966 # Sed substitution to delay expansion of an escaped shell variable in a
5967 # double_quote_subst'ed string.
5968 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5969
5970 # Sed substitution to delay expansion of an escaped single quote.
5971 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5972
5973 # Sed substitution to avoid accidental globbing in evaled expressions
5974 no_glob_subst='s/\*/\\\*/g'
5975
5976 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5977 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5978 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5979
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5981 $as_echo_n "checking how to print strings... " >&6; }
5982 # Test print first, because it will be a builtin if present.
5983 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5984    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5985   ECHO='print -r --'
5986 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5987   ECHO='printf %s\n'
5988 else
5989   # Use this function as a fallback that always works.
5990   func_fallback_echo ()
5991   {
5992     eval 'cat <<_LTECHO_EOF
5993 $1
5994 _LTECHO_EOF'
5995   }
5996   ECHO='func_fallback_echo'
5997 fi
5998
5999 # func_echo_all arg...
6000 # Invoke $ECHO with all args, space-separated.
6001 func_echo_all ()
6002 {
6003     $ECHO ""
6004 }
6005
6006 case "$ECHO" in
6007   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6008 $as_echo "printf" >&6; } ;;
6009   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6010 $as_echo "print -r" >&6; } ;;
6011   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6012 $as_echo "cat" >&6; } ;;
6013 esac
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6029 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6030 if ${ac_cv_path_SED+:} false; then :
6031   $as_echo_n "(cached) " >&6
6032 else
6033             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6034      for ac_i in 1 2 3 4 5 6 7; do
6035        ac_script="$ac_script$as_nl$ac_script"
6036      done
6037      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6038      { ac_script=; unset ac_script;}
6039      if test -z "$SED"; then
6040   ac_path_SED_found=false
6041   # Loop through the user's path and test for each of PROGNAME-LIST
6042   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6043 for as_dir in $PATH
6044 do
6045   IFS=$as_save_IFS
6046   test -z "$as_dir" && as_dir=.
6047     for ac_prog in sed gsed; do
6048     for ac_exec_ext in '' $ac_executable_extensions; do
6049       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6050       as_fn_executable_p "$ac_path_SED" || continue
6051 # Check for GNU ac_path_SED and select it if it is found.
6052   # Check for GNU $ac_path_SED
6053 case `"$ac_path_SED" --version 2>&1` in
6054 *GNU*)
6055   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6056 *)
6057   ac_count=0
6058   $as_echo_n 0123456789 >"conftest.in"
6059   while :
6060   do
6061     cat "conftest.in" "conftest.in" >"conftest.tmp"
6062     mv "conftest.tmp" "conftest.in"
6063     cp "conftest.in" "conftest.nl"
6064     $as_echo '' >> "conftest.nl"
6065     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6066     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6067     as_fn_arith $ac_count + 1 && ac_count=$as_val
6068     if test $ac_count -gt ${ac_path_SED_max-0}; then
6069       # Best one so far, save it but keep looking for a better one
6070       ac_cv_path_SED="$ac_path_SED"
6071       ac_path_SED_max=$ac_count
6072     fi
6073     # 10*(2^10) chars as input seems more than enough
6074     test $ac_count -gt 10 && break
6075   done
6076   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6077 esac
6078
6079       $ac_path_SED_found && break 3
6080     done
6081   done
6082   done
6083 IFS=$as_save_IFS
6084   if test -z "$ac_cv_path_SED"; then
6085     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6086   fi
6087 else
6088   ac_cv_path_SED=$SED
6089 fi
6090
6091 fi
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6093 $as_echo "$ac_cv_path_SED" >&6; }
6094  SED="$ac_cv_path_SED"
6095   rm -f conftest.sed
6096
6097 test -z "$SED" && SED=sed
6098 Xsed="$SED -e 1s/^X//"
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6111 $as_echo_n "checking for fgrep... " >&6; }
6112 if ${ac_cv_path_FGREP+:} false; then :
6113   $as_echo_n "(cached) " >&6
6114 else
6115   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6116    then ac_cv_path_FGREP="$GREP -F"
6117    else
6118      if test -z "$FGREP"; then
6119   ac_path_FGREP_found=false
6120   # Loop through the user's path and test for each of PROGNAME-LIST
6121   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6122 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6123 do
6124   IFS=$as_save_IFS
6125   test -z "$as_dir" && as_dir=.
6126     for ac_prog in fgrep; do
6127     for ac_exec_ext in '' $ac_executable_extensions; do
6128       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6129       as_fn_executable_p "$ac_path_FGREP" || continue
6130 # Check for GNU ac_path_FGREP and select it if it is found.
6131   # Check for GNU $ac_path_FGREP
6132 case `"$ac_path_FGREP" --version 2>&1` in
6133 *GNU*)
6134   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6135 *)
6136   ac_count=0
6137   $as_echo_n 0123456789 >"conftest.in"
6138   while :
6139   do
6140     cat "conftest.in" "conftest.in" >"conftest.tmp"
6141     mv "conftest.tmp" "conftest.in"
6142     cp "conftest.in" "conftest.nl"
6143     $as_echo 'FGREP' >> "conftest.nl"
6144     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6145     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6146     as_fn_arith $ac_count + 1 && ac_count=$as_val
6147     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6148       # Best one so far, save it but keep looking for a better one
6149       ac_cv_path_FGREP="$ac_path_FGREP"
6150       ac_path_FGREP_max=$ac_count
6151     fi
6152     # 10*(2^10) chars as input seems more than enough
6153     test $ac_count -gt 10 && break
6154   done
6155   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6156 esac
6157
6158       $ac_path_FGREP_found && break 3
6159     done
6160   done
6161   done
6162 IFS=$as_save_IFS
6163   if test -z "$ac_cv_path_FGREP"; then
6164     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6165   fi
6166 else
6167   ac_cv_path_FGREP=$FGREP
6168 fi
6169
6170    fi
6171 fi
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6173 $as_echo "$ac_cv_path_FGREP" >&6; }
6174  FGREP="$ac_cv_path_FGREP"
6175
6176
6177 test -z "$GREP" && GREP=grep
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197 # Check whether --with-gnu-ld was given.
6198 if test "${with_gnu_ld+set}" = set; then :
6199   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6200 else
6201   with_gnu_ld=no
6202 fi
6203
6204 ac_prog=ld
6205 if test "$GCC" = yes; then
6206   # Check if gcc -print-prog-name=ld gives a path.
6207   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6208 $as_echo_n "checking for ld used by $CC... " >&6; }
6209   case $host in
6210   *-*-mingw*)
6211     # gcc leaves a trailing carriage return which upsets mingw
6212     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6213   *)
6214     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6215   esac
6216   case $ac_prog in
6217     # Accept absolute paths.
6218     [\\/]* | ?:[\\/]*)
6219       re_direlt='/[^/][^/]*/\.\./'
6220       # Canonicalize the pathname of ld
6221       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6222       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6223         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6224       done
6225       test -z "$LD" && LD="$ac_prog"
6226       ;;
6227   "")
6228     # If it fails, then pretend we aren't using GCC.
6229     ac_prog=ld
6230     ;;
6231   *)
6232     # If it is relative, then search for the first ld in PATH.
6233     with_gnu_ld=unknown
6234     ;;
6235   esac
6236 elif test "$with_gnu_ld" = yes; then
6237   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6238 $as_echo_n "checking for GNU ld... " >&6; }
6239 else
6240   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6241 $as_echo_n "checking for non-GNU ld... " >&6; }
6242 fi
6243 if ${lt_cv_path_LD+:} false; then :
6244   $as_echo_n "(cached) " >&6
6245 else
6246   if test -z "$LD"; then
6247   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6248   for ac_dir in $PATH; do
6249     IFS="$lt_save_ifs"
6250     test -z "$ac_dir" && ac_dir=.
6251     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6252       lt_cv_path_LD="$ac_dir/$ac_prog"
6253       # Check to see if the program is GNU ld.  I'd rather use --version,
6254       # but apparently some variants of GNU ld only accept -v.
6255       # Break only if it was the GNU/non-GNU ld that we prefer.
6256       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6257       *GNU* | *'with BFD'*)
6258         test "$with_gnu_ld" != no && break
6259         ;;
6260       *)
6261         test "$with_gnu_ld" != yes && break
6262         ;;
6263       esac
6264     fi
6265   done
6266   IFS="$lt_save_ifs"
6267 else
6268   lt_cv_path_LD="$LD" # Let the user override the test with a path.
6269 fi
6270 fi
6271
6272 LD="$lt_cv_path_LD"
6273 if test -n "$LD"; then
6274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6275 $as_echo "$LD" >&6; }
6276 else
6277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6278 $as_echo "no" >&6; }
6279 fi
6280 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6282 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6283 if ${lt_cv_prog_gnu_ld+:} false; then :
6284   $as_echo_n "(cached) " >&6
6285 else
6286   # I'd rather use --version here, but apparently some GNU lds only accept -v.
6287 case `$LD -v 2>&1 </dev/null` in
6288 *GNU* | *'with BFD'*)
6289   lt_cv_prog_gnu_ld=yes
6290   ;;
6291 *)
6292   lt_cv_prog_gnu_ld=no
6293   ;;
6294 esac
6295 fi
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6297 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6298 with_gnu_ld=$lt_cv_prog_gnu_ld
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6309 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6310 if ${lt_cv_path_NM+:} false; then :
6311   $as_echo_n "(cached) " >&6
6312 else
6313   if test -n "$NM"; then
6314   # Let the user override the test.
6315   lt_cv_path_NM="$NM"
6316 else
6317   lt_nm_to_check="${ac_tool_prefix}nm"
6318   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6319     lt_nm_to_check="$lt_nm_to_check nm"
6320   fi
6321   for lt_tmp_nm in $lt_nm_to_check; do
6322     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6323     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6324       IFS="$lt_save_ifs"
6325       test -z "$ac_dir" && ac_dir=.
6326       tmp_nm="$ac_dir/$lt_tmp_nm"
6327       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6328         # Check to see if the nm accepts a BSD-compat flag.
6329         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6330         #   nm: unknown option "B" ignored
6331         # Tru64's nm complains that /dev/null is an invalid object file
6332         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6333         */dev/null* | *'Invalid file or object type'*)
6334           lt_cv_path_NM="$tmp_nm -B"
6335           break
6336           ;;
6337         *)
6338           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6339           */dev/null*)
6340             lt_cv_path_NM="$tmp_nm -p"
6341             break
6342             ;;
6343           *)
6344             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6345             continue # so that we can try to find one that supports BSD flags
6346             ;;
6347           esac
6348           ;;
6349         esac
6350       fi
6351     done
6352     IFS="$lt_save_ifs"
6353   done
6354   : ${lt_cv_path_NM=no}
6355 fi
6356 fi
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6358 $as_echo "$lt_cv_path_NM" >&6; }
6359 if test "$lt_cv_path_NM" != "no"; then
6360   NM="$lt_cv_path_NM"
6361 else
6362   # Didn't find any BSD compatible name lister, look for dumpbin.
6363   if test -n "$DUMPBIN"; then :
6364     # Let the user override the test.
6365   else
6366     if test -n "$ac_tool_prefix"; then
6367   for ac_prog in dumpbin "link -dump"
6368   do
6369     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6370 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6372 $as_echo_n "checking for $ac_word... " >&6; }
6373 if ${ac_cv_prog_DUMPBIN+:} false; then :
6374   $as_echo_n "(cached) " >&6
6375 else
6376   if test -n "$DUMPBIN"; then
6377   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6378 else
6379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6380 for as_dir in $PATH
6381 do
6382   IFS=$as_save_IFS
6383   test -z "$as_dir" && as_dir=.
6384     for ac_exec_ext in '' $ac_executable_extensions; do
6385   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6386     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6387     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6388     break 2
6389   fi
6390 done
6391   done
6392 IFS=$as_save_IFS
6393
6394 fi
6395 fi
6396 DUMPBIN=$ac_cv_prog_DUMPBIN
6397 if test -n "$DUMPBIN"; then
6398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6399 $as_echo "$DUMPBIN" >&6; }
6400 else
6401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6402 $as_echo "no" >&6; }
6403 fi
6404
6405
6406     test -n "$DUMPBIN" && break
6407   done
6408 fi
6409 if test -z "$DUMPBIN"; then
6410   ac_ct_DUMPBIN=$DUMPBIN
6411   for ac_prog in dumpbin "link -dump"
6412 do
6413   # Extract the first word of "$ac_prog", so it can be a program name with args.
6414 set dummy $ac_prog; ac_word=$2
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6416 $as_echo_n "checking for $ac_word... " >&6; }
6417 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6418   $as_echo_n "(cached) " >&6
6419 else
6420   if test -n "$ac_ct_DUMPBIN"; then
6421   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6422 else
6423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6424 for as_dir in $PATH
6425 do
6426   IFS=$as_save_IFS
6427   test -z "$as_dir" && as_dir=.
6428     for ac_exec_ext in '' $ac_executable_extensions; do
6429   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6430     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6431     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6432     break 2
6433   fi
6434 done
6435   done
6436 IFS=$as_save_IFS
6437
6438 fi
6439 fi
6440 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6441 if test -n "$ac_ct_DUMPBIN"; then
6442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6443 $as_echo "$ac_ct_DUMPBIN" >&6; }
6444 else
6445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6446 $as_echo "no" >&6; }
6447 fi
6448
6449
6450   test -n "$ac_ct_DUMPBIN" && break
6451 done
6452
6453   if test "x$ac_ct_DUMPBIN" = x; then
6454     DUMPBIN=":"
6455   else
6456     case $cross_compiling:$ac_tool_warned in
6457 yes:)
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6460 ac_tool_warned=yes ;;
6461 esac
6462     DUMPBIN=$ac_ct_DUMPBIN
6463   fi
6464 fi
6465
6466     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6467     *COFF*)
6468       DUMPBIN="$DUMPBIN -symbols"
6469       ;;
6470     *)
6471       DUMPBIN=:
6472       ;;
6473     esac
6474   fi
6475
6476   if test "$DUMPBIN" != ":"; then
6477     NM="$DUMPBIN"
6478   fi
6479 fi
6480 test -z "$NM" && NM=nm
6481
6482
6483
6484
6485
6486
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6488 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6489 if ${lt_cv_nm_interface+:} false; then :
6490   $as_echo_n "(cached) " >&6
6491 else
6492   lt_cv_nm_interface="BSD nm"
6493   echo "int some_variable = 0;" > conftest.$ac_ext
6494   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6495   (eval "$ac_compile" 2>conftest.err)
6496   cat conftest.err >&5
6497   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6498   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6499   cat conftest.err >&5
6500   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6501   cat conftest.out >&5
6502   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6503     lt_cv_nm_interface="MS dumpbin"
6504   fi
6505   rm -f conftest*
6506 fi
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6508 $as_echo "$lt_cv_nm_interface" >&6; }
6509
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6511 $as_echo_n "checking whether ln -s works... " >&6; }
6512 LN_S=$as_ln_s
6513 if test "$LN_S" = "ln -s"; then
6514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6515 $as_echo "yes" >&6; }
6516 else
6517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6518 $as_echo "no, using $LN_S" >&6; }
6519 fi
6520
6521 # find the maximum length of command line arguments
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6523 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6524 if ${lt_cv_sys_max_cmd_len+:} false; then :
6525   $as_echo_n "(cached) " >&6
6526 else
6527     i=0
6528   teststring="ABCD"
6529
6530   case $build_os in
6531   msdosdjgpp*)
6532     # On DJGPP, this test can blow up pretty badly due to problems in libc
6533     # (any single argument exceeding 2000 bytes causes a buffer overrun
6534     # during glob expansion).  Even if it were fixed, the result of this
6535     # check would be larger than it should be.
6536     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6537     ;;
6538
6539   gnu*)
6540     # Under GNU Hurd, this test is not required because there is
6541     # no limit to the length of command line arguments.
6542     # Libtool will interpret -1 as no limit whatsoever
6543     lt_cv_sys_max_cmd_len=-1;
6544     ;;
6545
6546   cygwin* | mingw* | cegcc*)
6547     # On Win9x/ME, this test blows up -- it succeeds, but takes
6548     # about 5 minutes as the teststring grows exponentially.
6549     # Worse, since 9x/ME are not pre-emptively multitasking,
6550     # you end up with a "frozen" computer, even though with patience
6551     # the test eventually succeeds (with a max line length of 256k).
6552     # Instead, let's just punt: use the minimum linelength reported by
6553     # all of the supported platforms: 8192 (on NT/2K/XP).
6554     lt_cv_sys_max_cmd_len=8192;
6555     ;;
6556
6557   mint*)
6558     # On MiNT this can take a long time and run out of memory.
6559     lt_cv_sys_max_cmd_len=8192;
6560     ;;
6561
6562   amigaos*)
6563     # On AmigaOS with pdksh, this test takes hours, literally.
6564     # So we just punt and use a minimum line length of 8192.
6565     lt_cv_sys_max_cmd_len=8192;
6566     ;;
6567
6568   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6569     # This has been around since 386BSD, at least.  Likely further.
6570     if test -x /sbin/sysctl; then
6571       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6572     elif test -x /usr/sbin/sysctl; then
6573       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6574     else
6575       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6576     fi
6577     # And add a safety zone
6578     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6579     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6580     ;;
6581
6582   interix*)
6583     # We know the value 262144 and hardcode it with a safety zone (like BSD)
6584     lt_cv_sys_max_cmd_len=196608
6585     ;;
6586
6587   os2*)
6588     # The test takes a long time on OS/2.
6589     lt_cv_sys_max_cmd_len=8192
6590     ;;
6591
6592   osf*)
6593     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6594     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6595     # nice to cause kernel panics so lets avoid the loop below.
6596     # First set a reasonable default.
6597     lt_cv_sys_max_cmd_len=16384
6598     #
6599     if test -x /sbin/sysconfig; then
6600       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6601         *1*) lt_cv_sys_max_cmd_len=-1 ;;
6602       esac
6603     fi
6604     ;;
6605   sco3.2v5*)
6606     lt_cv_sys_max_cmd_len=102400
6607     ;;
6608   sysv5* | sco5v6* | sysv4.2uw2*)
6609     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6610     if test -n "$kargmax"; then
6611       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6612     else
6613       lt_cv_sys_max_cmd_len=32768
6614     fi
6615     ;;
6616   *)
6617     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6618     if test -n "$lt_cv_sys_max_cmd_len"; then
6619       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6620       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6621     else
6622       # Make teststring a little bigger before we do anything with it.
6623       # a 1K string should be a reasonable start.
6624       for i in 1 2 3 4 5 6 7 8 ; do
6625         teststring=$teststring$teststring
6626       done
6627       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6628       # If test is not a shell built-in, we'll probably end up computing a
6629       # maximum length that is only half of the actual maximum length, but
6630       # we can't tell.
6631       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6632                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6633               test $i != 17 # 1/2 MB should be enough
6634       do
6635         i=`expr $i + 1`
6636         teststring=$teststring$teststring
6637       done
6638       # Only check the string length outside the loop.
6639       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6640       teststring=
6641       # Add a significant safety factor because C++ compilers can tack on
6642       # massive amounts of additional arguments before passing them to the
6643       # linker.  It appears as though 1/2 is a usable value.
6644       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6645     fi
6646     ;;
6647   esac
6648
6649 fi
6650
6651 if test -n $lt_cv_sys_max_cmd_len ; then
6652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6653 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6654 else
6655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6656 $as_echo "none" >&6; }
6657 fi
6658 max_cmd_len=$lt_cv_sys_max_cmd_len
6659
6660
6661
6662
6663
6664
6665 : ${CP="cp -f"}
6666 : ${MV="mv -f"}
6667 : ${RM="rm -f"}
6668
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6670 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6671 # Try some XSI features
6672 xsi_shell=no
6673 ( _lt_dummy="a/b/c"
6674   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6675       = c,a/b,b/c, \
6676     && eval 'test $(( 1 + 1 )) -eq 2 \
6677     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6678   && xsi_shell=yes
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6680 $as_echo "$xsi_shell" >&6; }
6681
6682
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6684 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6685 lt_shell_append=no
6686 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6687     >/dev/null 2>&1 \
6688   && lt_shell_append=yes
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6690 $as_echo "$lt_shell_append" >&6; }
6691
6692
6693 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6694   lt_unset=unset
6695 else
6696   lt_unset=false
6697 fi
6698
6699
6700
6701
6702
6703 # test EBCDIC or ASCII
6704 case `echo X|tr X '\101'` in
6705  A) # ASCII based system
6706     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6707   lt_SP2NL='tr \040 \012'
6708   lt_NL2SP='tr \015\012 \040\040'
6709   ;;
6710  *) # EBCDIC based system
6711   lt_SP2NL='tr \100 \n'
6712   lt_NL2SP='tr \r\n \100\100'
6713   ;;
6714 esac
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6725 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6726 if ${lt_cv_to_host_file_cmd+:} false; then :
6727   $as_echo_n "(cached) " >&6
6728 else
6729   case $host in
6730   *-*-mingw* )
6731     case $build in
6732       *-*-mingw* ) # actually msys
6733         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6734         ;;
6735       *-*-cygwin* )
6736         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6737         ;;
6738       * ) # otherwise, assume *nix
6739         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6740         ;;
6741     esac
6742     ;;
6743   *-*-cygwin* )
6744     case $build in
6745       *-*-mingw* ) # actually msys
6746         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6747         ;;
6748       *-*-cygwin* )
6749         lt_cv_to_host_file_cmd=func_convert_file_noop
6750         ;;
6751       * ) # otherwise, assume *nix
6752         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6753         ;;
6754     esac
6755     ;;
6756   * ) # unhandled hosts (and "normal" native builds)
6757     lt_cv_to_host_file_cmd=func_convert_file_noop
6758     ;;
6759 esac
6760
6761 fi
6762
6763 to_host_file_cmd=$lt_cv_to_host_file_cmd
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6765 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6766
6767
6768
6769
6770
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6772 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6773 if ${lt_cv_to_tool_file_cmd+:} false; then :
6774   $as_echo_n "(cached) " >&6
6775 else
6776   #assume ordinary cross tools, or native build.
6777 lt_cv_to_tool_file_cmd=func_convert_file_noop
6778 case $host in
6779   *-*-mingw* )
6780     case $build in
6781       *-*-mingw* ) # actually msys
6782         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6783         ;;
6784     esac
6785     ;;
6786 esac
6787
6788 fi
6789
6790 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6792 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6793
6794
6795
6796
6797
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6799 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6800 if ${lt_cv_ld_reload_flag+:} false; then :
6801   $as_echo_n "(cached) " >&6
6802 else
6803   lt_cv_ld_reload_flag='-r'
6804 fi
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6806 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6807 reload_flag=$lt_cv_ld_reload_flag
6808 case $reload_flag in
6809 "" | " "*) ;;
6810 *) reload_flag=" $reload_flag" ;;
6811 esac
6812 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6813 case $host_os in
6814   cygwin* | mingw* | pw32* | cegcc*)
6815     if test "$GCC" != yes; then
6816       reload_cmds=false
6817     fi
6818     ;;
6819   darwin*)
6820     if test "$GCC" = yes; then
6821       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6822     else
6823       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6824     fi
6825     ;;
6826 esac
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836 if test -n "$ac_tool_prefix"; then
6837   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6838 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6840 $as_echo_n "checking for $ac_word... " >&6; }
6841 if ${ac_cv_prog_OBJDUMP+:} false; then :
6842   $as_echo_n "(cached) " >&6
6843 else
6844   if test -n "$OBJDUMP"; then
6845   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6846 else
6847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6848 for as_dir in $PATH
6849 do
6850   IFS=$as_save_IFS
6851   test -z "$as_dir" && as_dir=.
6852     for ac_exec_ext in '' $ac_executable_extensions; do
6853   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6854     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6855     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6856     break 2
6857   fi
6858 done
6859   done
6860 IFS=$as_save_IFS
6861
6862 fi
6863 fi
6864 OBJDUMP=$ac_cv_prog_OBJDUMP
6865 if test -n "$OBJDUMP"; then
6866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6867 $as_echo "$OBJDUMP" >&6; }
6868 else
6869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6870 $as_echo "no" >&6; }
6871 fi
6872
6873
6874 fi
6875 if test -z "$ac_cv_prog_OBJDUMP"; then
6876   ac_ct_OBJDUMP=$OBJDUMP
6877   # Extract the first word of "objdump", so it can be a program name with args.
6878 set dummy objdump; ac_word=$2
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6880 $as_echo_n "checking for $ac_word... " >&6; }
6881 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6882   $as_echo_n "(cached) " >&6
6883 else
6884   if test -n "$ac_ct_OBJDUMP"; then
6885   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6886 else
6887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6888 for as_dir in $PATH
6889 do
6890   IFS=$as_save_IFS
6891   test -z "$as_dir" && as_dir=.
6892     for ac_exec_ext in '' $ac_executable_extensions; do
6893   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6894     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6895     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6896     break 2
6897   fi
6898 done
6899   done
6900 IFS=$as_save_IFS
6901
6902 fi
6903 fi
6904 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6905 if test -n "$ac_ct_OBJDUMP"; then
6906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6907 $as_echo "$ac_ct_OBJDUMP" >&6; }
6908 else
6909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6910 $as_echo "no" >&6; }
6911 fi
6912
6913   if test "x$ac_ct_OBJDUMP" = x; then
6914     OBJDUMP="false"
6915   else
6916     case $cross_compiling:$ac_tool_warned in
6917 yes:)
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6919 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6920 ac_tool_warned=yes ;;
6921 esac
6922     OBJDUMP=$ac_ct_OBJDUMP
6923   fi
6924 else
6925   OBJDUMP="$ac_cv_prog_OBJDUMP"
6926 fi
6927
6928 test -z "$OBJDUMP" && OBJDUMP=objdump
6929
6930
6931
6932
6933
6934
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6936 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6937 if ${lt_cv_deplibs_check_method+:} false; then :
6938   $as_echo_n "(cached) " >&6
6939 else
6940   lt_cv_file_magic_cmd='$MAGIC_CMD'
6941 lt_cv_file_magic_test_file=
6942 lt_cv_deplibs_check_method='unknown'
6943 # Need to set the preceding variable on all platforms that support
6944 # interlibrary dependencies.
6945 # 'none' -- dependencies not supported.
6946 # `unknown' -- same as none, but documents that we really don't know.
6947 # 'pass_all' -- all dependencies passed with no checks.
6948 # 'test_compile' -- check by making test program.
6949 # 'file_magic [[regex]]' -- check by looking for files in library path
6950 # which responds to the $file_magic_cmd with a given extended regex.
6951 # If you have `file' or equivalent on your system and you're not sure
6952 # whether `pass_all' will *always* work, you probably want this one.
6953
6954 case $host_os in
6955 aix[4-9]*)
6956   lt_cv_deplibs_check_method=pass_all
6957   ;;
6958
6959 beos*)
6960   lt_cv_deplibs_check_method=pass_all
6961   ;;
6962
6963 bsdi[45]*)
6964   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6965   lt_cv_file_magic_cmd='/usr/bin/file -L'
6966   lt_cv_file_magic_test_file=/shlib/libc.so
6967   ;;
6968
6969 cygwin*)
6970   # func_win32_libid is a shell function defined in ltmain.sh
6971   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6972   lt_cv_file_magic_cmd='func_win32_libid'
6973   ;;
6974
6975 mingw* | pw32*)
6976   # Base MSYS/MinGW do not provide the 'file' command needed by
6977   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6978   # unless we find 'file', for example because we are cross-compiling.
6979   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6980   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6981     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6982     lt_cv_file_magic_cmd='func_win32_libid'
6983   else
6984     # Keep this pattern in sync with the one in func_win32_libid.
6985     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6986     lt_cv_file_magic_cmd='$OBJDUMP -f'
6987   fi
6988   ;;
6989
6990 cegcc*)
6991   # use the weaker test based on 'objdump'. See mingw*.
6992   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6993   lt_cv_file_magic_cmd='$OBJDUMP -f'
6994   ;;
6995
6996 darwin* | rhapsody*)
6997   lt_cv_deplibs_check_method=pass_all
6998   ;;
6999
7000 freebsd* | dragonfly*)
7001   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7002     case $host_cpu in
7003     i*86 )
7004       # Not sure whether the presence of OpenBSD here was a mistake.
7005       # Let's accept both of them until this is cleared up.
7006       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7007       lt_cv_file_magic_cmd=/usr/bin/file
7008       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7009       ;;
7010     esac
7011   else
7012     lt_cv_deplibs_check_method=pass_all
7013   fi
7014   ;;
7015
7016 gnu*)
7017   lt_cv_deplibs_check_method=pass_all
7018   ;;
7019
7020 haiku*)
7021   lt_cv_deplibs_check_method=pass_all
7022   ;;
7023
7024 hpux10.20* | hpux11*)
7025   lt_cv_file_magic_cmd=/usr/bin/file
7026   case $host_cpu in
7027   ia64*)
7028     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7029     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7030     ;;
7031   hppa*64*)
7032     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
7033     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7034     ;;
7035   *)
7036     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7037     lt_cv_file_magic_test_file=/usr/lib/libc.sl
7038     ;;
7039   esac
7040   ;;
7041
7042 interix[3-9]*)
7043   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7044   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7045   ;;
7046
7047 irix5* | irix6* | nonstopux*)
7048   case $LD in
7049   *-32|*"-32 ") libmagic=32-bit;;
7050   *-n32|*"-n32 ") libmagic=N32;;
7051   *-64|*"-64 ") libmagic=64-bit;;
7052   *) libmagic=never-match;;
7053   esac
7054   lt_cv_deplibs_check_method=pass_all
7055   ;;
7056
7057 # This must be glibc/ELF.
7058 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7059   lt_cv_deplibs_check_method=pass_all
7060   ;;
7061
7062 netbsd*)
7063   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7064     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7065   else
7066     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7067   fi
7068   ;;
7069
7070 newos6*)
7071   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7072   lt_cv_file_magic_cmd=/usr/bin/file
7073   lt_cv_file_magic_test_file=/usr/lib/libnls.so
7074   ;;
7075
7076 *nto* | *qnx*)
7077   lt_cv_deplibs_check_method=pass_all
7078   ;;
7079
7080 openbsd*)
7081   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7082     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7083   else
7084     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7085   fi
7086   ;;
7087
7088 osf3* | osf4* | osf5*)
7089   lt_cv_deplibs_check_method=pass_all
7090   ;;
7091
7092 rdos*)
7093   lt_cv_deplibs_check_method=pass_all
7094   ;;
7095
7096 solaris*)
7097   lt_cv_deplibs_check_method=pass_all
7098   ;;
7099
7100 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7101   lt_cv_deplibs_check_method=pass_all
7102   ;;
7103
7104 sysv4 | sysv4.3*)
7105   case $host_vendor in
7106   motorola)
7107     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]'
7108     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7109     ;;
7110   ncr)
7111     lt_cv_deplibs_check_method=pass_all
7112     ;;
7113   sequent)
7114     lt_cv_file_magic_cmd='/bin/file'
7115     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7116     ;;
7117   sni)
7118     lt_cv_file_magic_cmd='/bin/file'
7119     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7120     lt_cv_file_magic_test_file=/lib/libc.so
7121     ;;
7122   siemens)
7123     lt_cv_deplibs_check_method=pass_all
7124     ;;
7125   pc)
7126     lt_cv_deplibs_check_method=pass_all
7127     ;;
7128   esac
7129   ;;
7130
7131 tpf*)
7132   lt_cv_deplibs_check_method=pass_all
7133   ;;
7134 esac
7135
7136 fi
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7138 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7139
7140 file_magic_glob=
7141 want_nocaseglob=no
7142 if test "$build" = "$host"; then
7143   case $host_os in
7144   mingw* | pw32*)
7145     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7146       want_nocaseglob=yes
7147     else
7148       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7149     fi
7150     ;;
7151   esac
7152 fi
7153
7154 file_magic_cmd=$lt_cv_file_magic_cmd
7155 deplibs_check_method=$lt_cv_deplibs_check_method
7156 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179 if test -n "$ac_tool_prefix"; then
7180   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7181 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7183 $as_echo_n "checking for $ac_word... " >&6; }
7184 if ${ac_cv_prog_DLLTOOL+:} false; then :
7185   $as_echo_n "(cached) " >&6
7186 else
7187   if test -n "$DLLTOOL"; then
7188   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7189 else
7190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7191 for as_dir in $PATH
7192 do
7193   IFS=$as_save_IFS
7194   test -z "$as_dir" && as_dir=.
7195     for ac_exec_ext in '' $ac_executable_extensions; do
7196   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7197     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7198     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7199     break 2
7200   fi
7201 done
7202   done
7203 IFS=$as_save_IFS
7204
7205 fi
7206 fi
7207 DLLTOOL=$ac_cv_prog_DLLTOOL
7208 if test -n "$DLLTOOL"; then
7209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7210 $as_echo "$DLLTOOL" >&6; }
7211 else
7212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7213 $as_echo "no" >&6; }
7214 fi
7215
7216
7217 fi
7218 if test -z "$ac_cv_prog_DLLTOOL"; then
7219   ac_ct_DLLTOOL=$DLLTOOL
7220   # Extract the first word of "dlltool", so it can be a program name with args.
7221 set dummy dlltool; ac_word=$2
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7223 $as_echo_n "checking for $ac_word... " >&6; }
7224 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7225   $as_echo_n "(cached) " >&6
7226 else
7227   if test -n "$ac_ct_DLLTOOL"; then
7228   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7229 else
7230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7231 for as_dir in $PATH
7232 do
7233   IFS=$as_save_IFS
7234   test -z "$as_dir" && as_dir=.
7235     for ac_exec_ext in '' $ac_executable_extensions; do
7236   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7237     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7238     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7239     break 2
7240   fi
7241 done
7242   done
7243 IFS=$as_save_IFS
7244
7245 fi
7246 fi
7247 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7248 if test -n "$ac_ct_DLLTOOL"; then
7249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7250 $as_echo "$ac_ct_DLLTOOL" >&6; }
7251 else
7252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7253 $as_echo "no" >&6; }
7254 fi
7255
7256   if test "x$ac_ct_DLLTOOL" = x; then
7257     DLLTOOL="false"
7258   else
7259     case $cross_compiling:$ac_tool_warned in
7260 yes:)
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7263 ac_tool_warned=yes ;;
7264 esac
7265     DLLTOOL=$ac_ct_DLLTOOL
7266   fi
7267 else
7268   DLLTOOL="$ac_cv_prog_DLLTOOL"
7269 fi
7270
7271 test -z "$DLLTOOL" && DLLTOOL=dlltool
7272
7273
7274
7275
7276
7277
7278
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7280 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7281 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7282   $as_echo_n "(cached) " >&6
7283 else
7284   lt_cv_sharedlib_from_linklib_cmd='unknown'
7285
7286 case $host_os in
7287 cygwin* | mingw* | pw32* | cegcc*)
7288   # two different shell functions defined in ltmain.sh
7289   # decide which to use based on capabilities of $DLLTOOL
7290   case `$DLLTOOL --help 2>&1` in
7291   *--identify-strict*)
7292     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7293     ;;
7294   *)
7295     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7296     ;;
7297   esac
7298   ;;
7299 *)
7300   # fallback: assume linklib IS sharedlib
7301   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7302   ;;
7303 esac
7304
7305 fi
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7307 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7308 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7309 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7310
7311
7312
7313
7314
7315
7316
7317 if test -n "$ac_tool_prefix"; then
7318   for ac_prog in ar
7319   do
7320     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7321 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7323 $as_echo_n "checking for $ac_word... " >&6; }
7324 if ${ac_cv_prog_AR+:} false; then :
7325   $as_echo_n "(cached) " >&6
7326 else
7327   if test -n "$AR"; then
7328   ac_cv_prog_AR="$AR" # Let the user override the test.
7329 else
7330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7331 for as_dir in $PATH
7332 do
7333   IFS=$as_save_IFS
7334   test -z "$as_dir" && as_dir=.
7335     for ac_exec_ext in '' $ac_executable_extensions; do
7336   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7337     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7338     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7339     break 2
7340   fi
7341 done
7342   done
7343 IFS=$as_save_IFS
7344
7345 fi
7346 fi
7347 AR=$ac_cv_prog_AR
7348 if test -n "$AR"; then
7349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7350 $as_echo "$AR" >&6; }
7351 else
7352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7353 $as_echo "no" >&6; }
7354 fi
7355
7356
7357     test -n "$AR" && break
7358   done
7359 fi
7360 if test -z "$AR"; then
7361   ac_ct_AR=$AR
7362   for ac_prog in ar
7363 do
7364   # Extract the first word of "$ac_prog", so it can be a program name with args.
7365 set dummy $ac_prog; ac_word=$2
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7367 $as_echo_n "checking for $ac_word... " >&6; }
7368 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7369   $as_echo_n "(cached) " >&6
7370 else
7371   if test -n "$ac_ct_AR"; then
7372   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7373 else
7374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7375 for as_dir in $PATH
7376 do
7377   IFS=$as_save_IFS
7378   test -z "$as_dir" && as_dir=.
7379     for ac_exec_ext in '' $ac_executable_extensions; do
7380   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7381     ac_cv_prog_ac_ct_AR="$ac_prog"
7382     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7383     break 2
7384   fi
7385 done
7386   done
7387 IFS=$as_save_IFS
7388
7389 fi
7390 fi
7391 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7392 if test -n "$ac_ct_AR"; then
7393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7394 $as_echo "$ac_ct_AR" >&6; }
7395 else
7396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7397 $as_echo "no" >&6; }
7398 fi
7399
7400
7401   test -n "$ac_ct_AR" && break
7402 done
7403
7404   if test "x$ac_ct_AR" = x; then
7405     AR="false"
7406   else
7407     case $cross_compiling:$ac_tool_warned in
7408 yes:)
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7410 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7411 ac_tool_warned=yes ;;
7412 esac
7413     AR=$ac_ct_AR
7414   fi
7415 fi
7416
7417 : ${AR=ar}
7418 : ${AR_FLAGS=cru}
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7431 $as_echo_n "checking for archiver @FILE support... " >&6; }
7432 if ${lt_cv_ar_at_file+:} false; then :
7433   $as_echo_n "(cached) " >&6
7434 else
7435   lt_cv_ar_at_file=no
7436    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7437 /* end confdefs.h.  */
7438
7439 int
7440 main ()
7441 {
7442
7443   ;
7444   return 0;
7445 }
7446 _ACEOF
7447 if ac_fn_c_try_compile "$LINENO"; then :
7448   echo conftest.$ac_objext > conftest.lst
7449       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7450       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7451   (eval $lt_ar_try) 2>&5
7452   ac_status=$?
7453   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7454   test $ac_status = 0; }
7455       if test "$ac_status" -eq 0; then
7456         # Ensure the archiver fails upon bogus file names.
7457         rm -f conftest.$ac_objext libconftest.a
7458         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7459   (eval $lt_ar_try) 2>&5
7460   ac_status=$?
7461   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7462   test $ac_status = 0; }
7463         if test "$ac_status" -ne 0; then
7464           lt_cv_ar_at_file=@
7465         fi
7466       fi
7467       rm -f conftest.* libconftest.a
7468
7469 fi
7470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7471
7472 fi
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7474 $as_echo "$lt_cv_ar_at_file" >&6; }
7475
7476 if test "x$lt_cv_ar_at_file" = xno; then
7477   archiver_list_spec=
7478 else
7479   archiver_list_spec=$lt_cv_ar_at_file
7480 fi
7481
7482
7483
7484
7485
7486
7487
7488 if test -n "$ac_tool_prefix"; then
7489   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7490 set dummy ${ac_tool_prefix}strip; ac_word=$2
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7492 $as_echo_n "checking for $ac_word... " >&6; }
7493 if ${ac_cv_prog_STRIP+:} false; then :
7494   $as_echo_n "(cached) " >&6
7495 else
7496   if test -n "$STRIP"; then
7497   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7498 else
7499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7500 for as_dir in $PATH
7501 do
7502   IFS=$as_save_IFS
7503   test -z "$as_dir" && as_dir=.
7504     for ac_exec_ext in '' $ac_executable_extensions; do
7505   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7506     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7507     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7508     break 2
7509   fi
7510 done
7511   done
7512 IFS=$as_save_IFS
7513
7514 fi
7515 fi
7516 STRIP=$ac_cv_prog_STRIP
7517 if test -n "$STRIP"; then
7518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7519 $as_echo "$STRIP" >&6; }
7520 else
7521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7522 $as_echo "no" >&6; }
7523 fi
7524
7525
7526 fi
7527 if test -z "$ac_cv_prog_STRIP"; then
7528   ac_ct_STRIP=$STRIP
7529   # Extract the first word of "strip", so it can be a program name with args.
7530 set dummy strip; ac_word=$2
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7532 $as_echo_n "checking for $ac_word... " >&6; }
7533 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7534   $as_echo_n "(cached) " >&6
7535 else
7536   if test -n "$ac_ct_STRIP"; then
7537   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7538 else
7539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7540 for as_dir in $PATH
7541 do
7542   IFS=$as_save_IFS
7543   test -z "$as_dir" && as_dir=.
7544     for ac_exec_ext in '' $ac_executable_extensions; do
7545   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7546     ac_cv_prog_ac_ct_STRIP="strip"
7547     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7548     break 2
7549   fi
7550 done
7551   done
7552 IFS=$as_save_IFS
7553
7554 fi
7555 fi
7556 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7557 if test -n "$ac_ct_STRIP"; then
7558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7559 $as_echo "$ac_ct_STRIP" >&6; }
7560 else
7561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7562 $as_echo "no" >&6; }
7563 fi
7564
7565   if test "x$ac_ct_STRIP" = x; then
7566     STRIP=":"
7567   else
7568     case $cross_compiling:$ac_tool_warned in
7569 yes:)
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7572 ac_tool_warned=yes ;;
7573 esac
7574     STRIP=$ac_ct_STRIP
7575   fi
7576 else
7577   STRIP="$ac_cv_prog_STRIP"
7578 fi
7579
7580 test -z "$STRIP" && STRIP=:
7581
7582
7583
7584
7585
7586
7587 if test -n "$ac_tool_prefix"; then
7588   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7589 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7591 $as_echo_n "checking for $ac_word... " >&6; }
7592 if ${ac_cv_prog_RANLIB+:} false; then :
7593   $as_echo_n "(cached) " >&6
7594 else
7595   if test -n "$RANLIB"; then
7596   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7597 else
7598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7599 for as_dir in $PATH
7600 do
7601   IFS=$as_save_IFS
7602   test -z "$as_dir" && as_dir=.
7603     for ac_exec_ext in '' $ac_executable_extensions; do
7604   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7605     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7606     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7607     break 2
7608   fi
7609 done
7610   done
7611 IFS=$as_save_IFS
7612
7613 fi
7614 fi
7615 RANLIB=$ac_cv_prog_RANLIB
7616 if test -n "$RANLIB"; then
7617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7618 $as_echo "$RANLIB" >&6; }
7619 else
7620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7621 $as_echo "no" >&6; }
7622 fi
7623
7624
7625 fi
7626 if test -z "$ac_cv_prog_RANLIB"; then
7627   ac_ct_RANLIB=$RANLIB
7628   # Extract the first word of "ranlib", so it can be a program name with args.
7629 set dummy ranlib; ac_word=$2
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7631 $as_echo_n "checking for $ac_word... " >&6; }
7632 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7633   $as_echo_n "(cached) " >&6
7634 else
7635   if test -n "$ac_ct_RANLIB"; then
7636   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7637 else
7638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7639 for as_dir in $PATH
7640 do
7641   IFS=$as_save_IFS
7642   test -z "$as_dir" && as_dir=.
7643     for ac_exec_ext in '' $ac_executable_extensions; do
7644   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7645     ac_cv_prog_ac_ct_RANLIB="ranlib"
7646     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7647     break 2
7648   fi
7649 done
7650   done
7651 IFS=$as_save_IFS
7652
7653 fi
7654 fi
7655 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7656 if test -n "$ac_ct_RANLIB"; then
7657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7658 $as_echo "$ac_ct_RANLIB" >&6; }
7659 else
7660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7661 $as_echo "no" >&6; }
7662 fi
7663
7664   if test "x$ac_ct_RANLIB" = x; then
7665     RANLIB=":"
7666   else
7667     case $cross_compiling:$ac_tool_warned in
7668 yes:)
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7670 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7671 ac_tool_warned=yes ;;
7672 esac
7673     RANLIB=$ac_ct_RANLIB
7674   fi
7675 else
7676   RANLIB="$ac_cv_prog_RANLIB"
7677 fi
7678
7679 test -z "$RANLIB" && RANLIB=:
7680
7681
7682
7683
7684
7685
7686 # Determine commands to create old-style static archives.
7687 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7688 old_postinstall_cmds='chmod 644 $oldlib'
7689 old_postuninstall_cmds=
7690
7691 if test -n "$RANLIB"; then
7692   case $host_os in
7693   openbsd*)
7694     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7695     ;;
7696   *)
7697     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7698     ;;
7699   esac
7700   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7701 fi
7702
7703 case $host_os in
7704   darwin*)
7705     lock_old_archive_extraction=yes ;;
7706   *)
7707     lock_old_archive_extraction=no ;;
7708 esac
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748 # If no C compiler was specified, use CC.
7749 LTCC=${LTCC-"$CC"}
7750
7751 # If no C compiler flags were specified, use CFLAGS.
7752 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7753
7754 # Allow CC to be a program name with arguments.
7755 compiler=$CC
7756
7757
7758 # Check for command to grab the raw symbol name followed by C symbol from nm.
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7760 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7761 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7762   $as_echo_n "(cached) " >&6
7763 else
7764
7765 # These are sane defaults that work on at least a few old systems.
7766 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7767
7768 # Character class describing NM global symbol codes.
7769 symcode='[BCDEGRST]'
7770
7771 # Regexp to match symbols that can be accessed directly from C.
7772 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7773
7774 # Define system-specific variables.
7775 case $host_os in
7776 aix*)
7777   symcode='[BCDT]'
7778   ;;
7779 cygwin* | mingw* | pw32* | cegcc*)
7780   symcode='[ABCDGISTW]'
7781   ;;
7782 hpux*)
7783   if test "$host_cpu" = ia64; then
7784     symcode='[ABCDEGRST]'
7785   fi
7786   ;;
7787 irix* | nonstopux*)
7788   symcode='[BCDEGRST]'
7789   ;;
7790 osf*)
7791   symcode='[BCDEGQRST]'
7792   ;;
7793 solaris*)
7794   symcode='[BDRT]'
7795   ;;
7796 sco3.2v5*)
7797   symcode='[DT]'
7798   ;;
7799 sysv4.2uw2*)
7800   symcode='[DT]'
7801   ;;
7802 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7803   symcode='[ABDT]'
7804   ;;
7805 sysv4)
7806   symcode='[DFNSTU]'
7807   ;;
7808 esac
7809
7810 # If we're using GNU nm, then use its standard symbol codes.
7811 case `$NM -V 2>&1` in
7812 *GNU* | *'with BFD'*)
7813   symcode='[ABCDGIRSTW]' ;;
7814 esac
7815
7816 # Transform an extracted symbol line into a proper C declaration.
7817 # Some systems (esp. on ia64) link data and code symbols differently,
7818 # so use this general approach.
7819 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7820
7821 # Transform an extracted symbol line into symbol name and symbol address
7822 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7823 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'"
7824
7825 # Handle CRLF in mingw tool chain
7826 opt_cr=
7827 case $build_os in
7828 mingw*)
7829   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7830   ;;
7831 esac
7832
7833 # Try without a prefix underscore, then with it.
7834 for ac_symprfx in "" "_"; do
7835
7836   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7837   symxfrm="\\1 $ac_symprfx\\2 \\2"
7838
7839   # Write the raw and C identifiers.
7840   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7841     # Fake it for dumpbin and say T for any non-static function
7842     # and D for any global variable.
7843     # Also find C++ and __fastcall symbols from MSVC++,
7844     # which start with @ or ?.
7845     lt_cv_sys_global_symbol_pipe="$AWK '"\
7846 "     {last_section=section; section=\$ 3};"\
7847 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7848 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7849 "     \$ 0!~/External *\|/{next};"\
7850 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7851 "     {if(hide[section]) next};"\
7852 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7853 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7854 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7855 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7856 "     ' prfx=^$ac_symprfx"
7857   else
7858     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7859   fi
7860   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7861
7862   # Check to see that the pipe works correctly.
7863   pipe_works=no
7864
7865   rm -f conftest*
7866   cat > conftest.$ac_ext <<_LT_EOF
7867 #ifdef __cplusplus
7868 extern "C" {
7869 #endif
7870 char nm_test_var;
7871 void nm_test_func(void);
7872 void nm_test_func(void){}
7873 #ifdef __cplusplus
7874 }
7875 #endif
7876 int main(){nm_test_var='a';nm_test_func();return(0);}
7877 _LT_EOF
7878
7879   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7880   (eval $ac_compile) 2>&5
7881   ac_status=$?
7882   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7883   test $ac_status = 0; }; then
7884     # Now try to grab the symbols.
7885     nlist=conftest.nm
7886     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7887   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7888   ac_status=$?
7889   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7890   test $ac_status = 0; } && test -s "$nlist"; then
7891       # Try sorting and uniquifying the output.
7892       if sort "$nlist" | uniq > "$nlist"T; then
7893         mv -f "$nlist"T "$nlist"
7894       else
7895         rm -f "$nlist"T
7896       fi
7897
7898       # Make sure that we snagged all the symbols we need.
7899       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7900         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7901           cat <<_LT_EOF > conftest.$ac_ext
7902 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7903 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7904 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7905    relocations are performed -- see ld's documentation on pseudo-relocs.  */
7906 # define LT_DLSYM_CONST
7907 #elif defined(__osf__)
7908 /* This system does not cope well with relocations in const data.  */
7909 # define LT_DLSYM_CONST
7910 #else
7911 # define LT_DLSYM_CONST const
7912 #endif
7913
7914 #ifdef __cplusplus
7915 extern "C" {
7916 #endif
7917
7918 _LT_EOF
7919           # Now generate the symbol file.
7920           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7921
7922           cat <<_LT_EOF >> conftest.$ac_ext
7923
7924 /* The mapping between symbol names and symbols.  */
7925 LT_DLSYM_CONST struct {
7926   const char *name;
7927   void       *address;
7928 }
7929 lt__PROGRAM__LTX_preloaded_symbols[] =
7930 {
7931   { "@PROGRAM@", (void *) 0 },
7932 _LT_EOF
7933           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7934           cat <<\_LT_EOF >> conftest.$ac_ext
7935   {0, (void *) 0}
7936 };
7937
7938 /* This works around a problem in FreeBSD linker */
7939 #ifdef FREEBSD_WORKAROUND
7940 static const void *lt_preloaded_setup() {
7941   return lt__PROGRAM__LTX_preloaded_symbols;
7942 }
7943 #endif
7944
7945 #ifdef __cplusplus
7946 }
7947 #endif
7948 _LT_EOF
7949           # Now try linking the two files.
7950           mv conftest.$ac_objext conftstm.$ac_objext
7951           lt_globsym_save_LIBS=$LIBS
7952           lt_globsym_save_CFLAGS=$CFLAGS
7953           LIBS="conftstm.$ac_objext"
7954           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7955           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7956   (eval $ac_link) 2>&5
7957   ac_status=$?
7958   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7959   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7960             pipe_works=yes
7961           fi
7962           LIBS=$lt_globsym_save_LIBS
7963           CFLAGS=$lt_globsym_save_CFLAGS
7964         else
7965           echo "cannot find nm_test_func in $nlist" >&5
7966         fi
7967       else
7968         echo "cannot find nm_test_var in $nlist" >&5
7969       fi
7970     else
7971       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7972     fi
7973   else
7974     echo "$progname: failed program was:" >&5
7975     cat conftest.$ac_ext >&5
7976   fi
7977   rm -rf conftest* conftst*
7978
7979   # Do not use the global_symbol_pipe unless it works.
7980   if test "$pipe_works" = yes; then
7981     break
7982   else
7983     lt_cv_sys_global_symbol_pipe=
7984   fi
7985 done
7986
7987 fi
7988
7989 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7990   lt_cv_sys_global_symbol_to_cdecl=
7991 fi
7992 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7994 $as_echo "failed" >&6; }
7995 else
7996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7997 $as_echo "ok" >&6; }
7998 fi
7999
8000 # Response file support.
8001 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8002   nm_file_list_spec='@'
8003 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8004   nm_file_list_spec='@'
8005 fi
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8034 $as_echo_n "checking for sysroot... " >&6; }
8035
8036 # Check whether --with-sysroot was given.
8037 if test "${with_sysroot+set}" = set; then :
8038   withval=$with_sysroot;
8039 else
8040   with_sysroot=no
8041 fi
8042
8043
8044 lt_sysroot=
8045 case ${with_sysroot} in #(
8046  yes)
8047    if test "$GCC" = yes; then
8048      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8049    fi
8050    ;; #(
8051  /*)
8052    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8053    ;; #(
8054  no|'')
8055    ;; #(
8056  *)
8057    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
8058 $as_echo "${with_sysroot}" >&6; }
8059    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8060    ;;
8061 esac
8062
8063  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8064 $as_echo "${lt_sysroot:-no}" >&6; }
8065
8066
8067
8068
8069
8070 # Check whether --enable-libtool-lock was given.
8071 if test "${enable_libtool_lock+set}" = set; then :
8072   enableval=$enable_libtool_lock;
8073 fi
8074
8075 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8076
8077 # Some flags need to be propagated to the compiler or linker for good
8078 # libtool support.
8079 case $host in
8080 ia64-*-hpux*)
8081   # Find out which ABI we are using.
8082   echo 'int i;' > conftest.$ac_ext
8083   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8084   (eval $ac_compile) 2>&5
8085   ac_status=$?
8086   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8087   test $ac_status = 0; }; then
8088     case `/usr/bin/file conftest.$ac_objext` in
8089       *ELF-32*)
8090         HPUX_IA64_MODE="32"
8091         ;;
8092       *ELF-64*)
8093         HPUX_IA64_MODE="64"
8094         ;;
8095     esac
8096   fi
8097   rm -rf conftest*
8098   ;;
8099 *-*-irix6*)
8100   # Find out which ABI we are using.
8101   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8102   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8103   (eval $ac_compile) 2>&5
8104   ac_status=$?
8105   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8106   test $ac_status = 0; }; then
8107     if test "$lt_cv_prog_gnu_ld" = yes; then
8108       case `/usr/bin/file conftest.$ac_objext` in
8109         *32-bit*)
8110           LD="${LD-ld} -melf32bsmip"
8111           ;;
8112         *N32*)
8113           LD="${LD-ld} -melf32bmipn32"
8114           ;;
8115         *64-bit*)
8116           LD="${LD-ld} -melf64bmip"
8117         ;;
8118       esac
8119     else
8120       case `/usr/bin/file conftest.$ac_objext` in
8121         *32-bit*)
8122           LD="${LD-ld} -32"
8123           ;;
8124         *N32*)
8125           LD="${LD-ld} -n32"
8126           ;;
8127         *64-bit*)
8128           LD="${LD-ld} -64"
8129           ;;
8130       esac
8131     fi
8132   fi
8133   rm -rf conftest*
8134   ;;
8135
8136 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8137 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8138   # Find out which ABI we are using.
8139   echo 'int i;' > conftest.$ac_ext
8140   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8141   (eval $ac_compile) 2>&5
8142   ac_status=$?
8143   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8144   test $ac_status = 0; }; then
8145     case `/usr/bin/file conftest.o` in
8146       *32-bit*)
8147         case $host in
8148           x86_64-*kfreebsd*-gnu)
8149             LD="${LD-ld} -m elf_i386_fbsd"
8150             ;;
8151           x86_64-*linux*)
8152             LD="${LD-ld} -m elf_i386"
8153             ;;
8154           ppc64-*linux*|powerpc64-*linux*)
8155             LD="${LD-ld} -m elf32ppclinux"
8156             ;;
8157           s390x-*linux*)
8158             LD="${LD-ld} -m elf_s390"
8159             ;;
8160           sparc64-*linux*)
8161             LD="${LD-ld} -m elf32_sparc"
8162             ;;
8163         esac
8164         ;;
8165       *64-bit*)
8166         case $host in
8167           x86_64-*kfreebsd*-gnu)
8168             LD="${LD-ld} -m elf_x86_64_fbsd"
8169             ;;
8170           x86_64-*linux*)
8171             LD="${LD-ld} -m elf_x86_64"
8172             ;;
8173           ppc*-*linux*|powerpc*-*linux*)
8174             LD="${LD-ld} -m elf64ppc"
8175             ;;
8176           s390*-*linux*|s390*-*tpf*)
8177             LD="${LD-ld} -m elf64_s390"
8178             ;;
8179           sparc*-*linux*)
8180             LD="${LD-ld} -m elf64_sparc"
8181             ;;
8182         esac
8183         ;;
8184     esac
8185   fi
8186   rm -rf conftest*
8187   ;;
8188
8189 *-*-sco3.2v5*)
8190   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8191   SAVE_CFLAGS="$CFLAGS"
8192   CFLAGS="$CFLAGS -belf"
8193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8194 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8195 if ${lt_cv_cc_needs_belf+:} false; then :
8196   $as_echo_n "(cached) " >&6
8197 else
8198   ac_ext=c
8199 ac_cpp='$CPP $CPPFLAGS'
8200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8203
8204      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8205 /* end confdefs.h.  */
8206
8207 int
8208 main ()
8209 {
8210
8211   ;
8212   return 0;
8213 }
8214 _ACEOF
8215 if ac_fn_c_try_link "$LINENO"; then :
8216   lt_cv_cc_needs_belf=yes
8217 else
8218   lt_cv_cc_needs_belf=no
8219 fi
8220 rm -f core conftest.err conftest.$ac_objext \
8221     conftest$ac_exeext conftest.$ac_ext
8222      ac_ext=c
8223 ac_cpp='$CPP $CPPFLAGS'
8224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8227
8228 fi
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8230 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8231   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8232     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8233     CFLAGS="$SAVE_CFLAGS"
8234   fi
8235   ;;
8236 *-*solaris*)
8237   # Find out which ABI we are using.
8238   echo 'int i;' > conftest.$ac_ext
8239   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8240   (eval $ac_compile) 2>&5
8241   ac_status=$?
8242   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8243   test $ac_status = 0; }; then
8244     case `/usr/bin/file conftest.o` in
8245     *64-bit*)
8246       case $lt_cv_prog_gnu_ld in
8247       yes*)
8248         case $host in
8249         i?86-*-solaris*)
8250           LD="${LD-ld} -m elf_x86_64"
8251           ;;
8252         sparc*-*-solaris*)
8253           LD="${LD-ld} -m elf64_sparc"
8254           ;;
8255         esac
8256         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8257         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8258           LD="${LD-ld}_sol2"
8259         fi
8260         ;;
8261       *)
8262         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8263           LD="${LD-ld} -64"
8264         fi
8265         ;;
8266       esac
8267       ;;
8268     esac
8269   fi
8270   rm -rf conftest*
8271   ;;
8272 esac
8273
8274 need_locks="$enable_libtool_lock"
8275
8276 if test -n "$ac_tool_prefix"; then
8277   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8278 set dummy ${ac_tool_prefix}mt; ac_word=$2
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8280 $as_echo_n "checking for $ac_word... " >&6; }
8281 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8282   $as_echo_n "(cached) " >&6
8283 else
8284   if test -n "$MANIFEST_TOOL"; then
8285   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8286 else
8287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8288 for as_dir in $PATH
8289 do
8290   IFS=$as_save_IFS
8291   test -z "$as_dir" && as_dir=.
8292     for ac_exec_ext in '' $ac_executable_extensions; do
8293   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8294     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8295     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8296     break 2
8297   fi
8298 done
8299   done
8300 IFS=$as_save_IFS
8301
8302 fi
8303 fi
8304 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8305 if test -n "$MANIFEST_TOOL"; then
8306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8307 $as_echo "$MANIFEST_TOOL" >&6; }
8308 else
8309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8310 $as_echo "no" >&6; }
8311 fi
8312
8313
8314 fi
8315 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8316   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8317   # Extract the first word of "mt", so it can be a program name with args.
8318 set dummy mt; ac_word=$2
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8320 $as_echo_n "checking for $ac_word... " >&6; }
8321 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8322   $as_echo_n "(cached) " >&6
8323 else
8324   if test -n "$ac_ct_MANIFEST_TOOL"; then
8325   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8326 else
8327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8328 for as_dir in $PATH
8329 do
8330   IFS=$as_save_IFS
8331   test -z "$as_dir" && as_dir=.
8332     for ac_exec_ext in '' $ac_executable_extensions; do
8333   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8334     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8335     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8336     break 2
8337   fi
8338 done
8339   done
8340 IFS=$as_save_IFS
8341
8342 fi
8343 fi
8344 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8345 if test -n "$ac_ct_MANIFEST_TOOL"; then
8346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8347 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8348 else
8349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8350 $as_echo "no" >&6; }
8351 fi
8352
8353   if test "x$ac_ct_MANIFEST_TOOL" = x; then
8354     MANIFEST_TOOL=":"
8355   else
8356     case $cross_compiling:$ac_tool_warned in
8357 yes:)
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8359 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8360 ac_tool_warned=yes ;;
8361 esac
8362     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8363   fi
8364 else
8365   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8366 fi
8367
8368 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8370 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8371 if ${lt_cv_path_mainfest_tool+:} false; then :
8372   $as_echo_n "(cached) " >&6
8373 else
8374   lt_cv_path_mainfest_tool=no
8375   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8376   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8377   cat conftest.err >&5
8378   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8379     lt_cv_path_mainfest_tool=yes
8380   fi
8381   rm -f conftest*
8382 fi
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8384 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8385 if test "x$lt_cv_path_mainfest_tool" != xyes; then
8386   MANIFEST_TOOL=:
8387 fi
8388
8389
8390
8391
8392
8393
8394   case $host_os in
8395     rhapsody* | darwin*)
8396     if test -n "$ac_tool_prefix"; then
8397   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8398 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8400 $as_echo_n "checking for $ac_word... " >&6; }
8401 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8402   $as_echo_n "(cached) " >&6
8403 else
8404   if test -n "$DSYMUTIL"; then
8405   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8406 else
8407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8408 for as_dir in $PATH
8409 do
8410   IFS=$as_save_IFS
8411   test -z "$as_dir" && as_dir=.
8412     for ac_exec_ext in '' $ac_executable_extensions; do
8413   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8414     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8415     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8416     break 2
8417   fi
8418 done
8419   done
8420 IFS=$as_save_IFS
8421
8422 fi
8423 fi
8424 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8425 if test -n "$DSYMUTIL"; then
8426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8427 $as_echo "$DSYMUTIL" >&6; }
8428 else
8429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8430 $as_echo "no" >&6; }
8431 fi
8432
8433
8434 fi
8435 if test -z "$ac_cv_prog_DSYMUTIL"; then
8436   ac_ct_DSYMUTIL=$DSYMUTIL
8437   # Extract the first word of "dsymutil", so it can be a program name with args.
8438 set dummy dsymutil; ac_word=$2
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8440 $as_echo_n "checking for $ac_word... " >&6; }
8441 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8442   $as_echo_n "(cached) " >&6
8443 else
8444   if test -n "$ac_ct_DSYMUTIL"; then
8445   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8446 else
8447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8448 for as_dir in $PATH
8449 do
8450   IFS=$as_save_IFS
8451   test -z "$as_dir" && as_dir=.
8452     for ac_exec_ext in '' $ac_executable_extensions; do
8453   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8454     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8455     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8456     break 2
8457   fi
8458 done
8459   done
8460 IFS=$as_save_IFS
8461
8462 fi
8463 fi
8464 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8465 if test -n "$ac_ct_DSYMUTIL"; then
8466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8467 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8468 else
8469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8470 $as_echo "no" >&6; }
8471 fi
8472
8473   if test "x$ac_ct_DSYMUTIL" = x; then
8474     DSYMUTIL=":"
8475   else
8476     case $cross_compiling:$ac_tool_warned in
8477 yes:)
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8480 ac_tool_warned=yes ;;
8481 esac
8482     DSYMUTIL=$ac_ct_DSYMUTIL
8483   fi
8484 else
8485   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8486 fi
8487
8488     if test -n "$ac_tool_prefix"; then
8489   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8490 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8492 $as_echo_n "checking for $ac_word... " >&6; }
8493 if ${ac_cv_prog_NMEDIT+:} false; then :
8494   $as_echo_n "(cached) " >&6
8495 else
8496   if test -n "$NMEDIT"; then
8497   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8498 else
8499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8500 for as_dir in $PATH
8501 do
8502   IFS=$as_save_IFS
8503   test -z "$as_dir" && as_dir=.
8504     for ac_exec_ext in '' $ac_executable_extensions; do
8505   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8506     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8507     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8508     break 2
8509   fi
8510 done
8511   done
8512 IFS=$as_save_IFS
8513
8514 fi
8515 fi
8516 NMEDIT=$ac_cv_prog_NMEDIT
8517 if test -n "$NMEDIT"; then
8518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8519 $as_echo "$NMEDIT" >&6; }
8520 else
8521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8522 $as_echo "no" >&6; }
8523 fi
8524
8525
8526 fi
8527 if test -z "$ac_cv_prog_NMEDIT"; then
8528   ac_ct_NMEDIT=$NMEDIT
8529   # Extract the first word of "nmedit", so it can be a program name with args.
8530 set dummy nmedit; ac_word=$2
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8532 $as_echo_n "checking for $ac_word... " >&6; }
8533 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8534   $as_echo_n "(cached) " >&6
8535 else
8536   if test -n "$ac_ct_NMEDIT"; then
8537   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8538 else
8539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8540 for as_dir in $PATH
8541 do
8542   IFS=$as_save_IFS
8543   test -z "$as_dir" && as_dir=.
8544     for ac_exec_ext in '' $ac_executable_extensions; do
8545   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8546     ac_cv_prog_ac_ct_NMEDIT="nmedit"
8547     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8548     break 2
8549   fi
8550 done
8551   done
8552 IFS=$as_save_IFS
8553
8554 fi
8555 fi
8556 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8557 if test -n "$ac_ct_NMEDIT"; then
8558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8559 $as_echo "$ac_ct_NMEDIT" >&6; }
8560 else
8561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8562 $as_echo "no" >&6; }
8563 fi
8564
8565   if test "x$ac_ct_NMEDIT" = x; then
8566     NMEDIT=":"
8567   else
8568     case $cross_compiling:$ac_tool_warned in
8569 yes:)
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8572 ac_tool_warned=yes ;;
8573 esac
8574     NMEDIT=$ac_ct_NMEDIT
8575   fi
8576 else
8577   NMEDIT="$ac_cv_prog_NMEDIT"
8578 fi
8579
8580     if test -n "$ac_tool_prefix"; then
8581   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8582 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8584 $as_echo_n "checking for $ac_word... " >&6; }
8585 if ${ac_cv_prog_LIPO+:} false; then :
8586   $as_echo_n "(cached) " >&6
8587 else
8588   if test -n "$LIPO"; then
8589   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8590 else
8591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8592 for as_dir in $PATH
8593 do
8594   IFS=$as_save_IFS
8595   test -z "$as_dir" && as_dir=.
8596     for ac_exec_ext in '' $ac_executable_extensions; do
8597   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8598     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8599     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8600     break 2
8601   fi
8602 done
8603   done
8604 IFS=$as_save_IFS
8605
8606 fi
8607 fi
8608 LIPO=$ac_cv_prog_LIPO
8609 if test -n "$LIPO"; then
8610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8611 $as_echo "$LIPO" >&6; }
8612 else
8613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8614 $as_echo "no" >&6; }
8615 fi
8616
8617
8618 fi
8619 if test -z "$ac_cv_prog_LIPO"; then
8620   ac_ct_LIPO=$LIPO
8621   # Extract the first word of "lipo", so it can be a program name with args.
8622 set dummy lipo; ac_word=$2
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8624 $as_echo_n "checking for $ac_word... " >&6; }
8625 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8626   $as_echo_n "(cached) " >&6
8627 else
8628   if test -n "$ac_ct_LIPO"; then
8629   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8630 else
8631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8632 for as_dir in $PATH
8633 do
8634   IFS=$as_save_IFS
8635   test -z "$as_dir" && as_dir=.
8636     for ac_exec_ext in '' $ac_executable_extensions; do
8637   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8638     ac_cv_prog_ac_ct_LIPO="lipo"
8639     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8640     break 2
8641   fi
8642 done
8643   done
8644 IFS=$as_save_IFS
8645
8646 fi
8647 fi
8648 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8649 if test -n "$ac_ct_LIPO"; then
8650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8651 $as_echo "$ac_ct_LIPO" >&6; }
8652 else
8653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8654 $as_echo "no" >&6; }
8655 fi
8656
8657   if test "x$ac_ct_LIPO" = x; then
8658     LIPO=":"
8659   else
8660     case $cross_compiling:$ac_tool_warned in
8661 yes:)
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8663 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8664 ac_tool_warned=yes ;;
8665 esac
8666     LIPO=$ac_ct_LIPO
8667   fi
8668 else
8669   LIPO="$ac_cv_prog_LIPO"
8670 fi
8671
8672     if test -n "$ac_tool_prefix"; then
8673   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8674 set dummy ${ac_tool_prefix}otool; ac_word=$2
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8676 $as_echo_n "checking for $ac_word... " >&6; }
8677 if ${ac_cv_prog_OTOOL+:} false; then :
8678   $as_echo_n "(cached) " >&6
8679 else
8680   if test -n "$OTOOL"; then
8681   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8682 else
8683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8684 for as_dir in $PATH
8685 do
8686   IFS=$as_save_IFS
8687   test -z "$as_dir" && as_dir=.
8688     for ac_exec_ext in '' $ac_executable_extensions; do
8689   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8690     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8691     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8692     break 2
8693   fi
8694 done
8695   done
8696 IFS=$as_save_IFS
8697
8698 fi
8699 fi
8700 OTOOL=$ac_cv_prog_OTOOL
8701 if test -n "$OTOOL"; then
8702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8703 $as_echo "$OTOOL" >&6; }
8704 else
8705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8706 $as_echo "no" >&6; }
8707 fi
8708
8709
8710 fi
8711 if test -z "$ac_cv_prog_OTOOL"; then
8712   ac_ct_OTOOL=$OTOOL
8713   # Extract the first word of "otool", so it can be a program name with args.
8714 set dummy otool; ac_word=$2
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8716 $as_echo_n "checking for $ac_word... " >&6; }
8717 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8718   $as_echo_n "(cached) " >&6
8719 else
8720   if test -n "$ac_ct_OTOOL"; then
8721   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8722 else
8723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8724 for as_dir in $PATH
8725 do
8726   IFS=$as_save_IFS
8727   test -z "$as_dir" && as_dir=.
8728     for ac_exec_ext in '' $ac_executable_extensions; do
8729   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8730     ac_cv_prog_ac_ct_OTOOL="otool"
8731     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8732     break 2
8733   fi
8734 done
8735   done
8736 IFS=$as_save_IFS
8737
8738 fi
8739 fi
8740 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8741 if test -n "$ac_ct_OTOOL"; then
8742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8743 $as_echo "$ac_ct_OTOOL" >&6; }
8744 else
8745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8746 $as_echo "no" >&6; }
8747 fi
8748
8749   if test "x$ac_ct_OTOOL" = x; then
8750     OTOOL=":"
8751   else
8752     case $cross_compiling:$ac_tool_warned in
8753 yes:)
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8755 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8756 ac_tool_warned=yes ;;
8757 esac
8758     OTOOL=$ac_ct_OTOOL
8759   fi
8760 else
8761   OTOOL="$ac_cv_prog_OTOOL"
8762 fi
8763
8764     if test -n "$ac_tool_prefix"; then
8765   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8766 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8768 $as_echo_n "checking for $ac_word... " >&6; }
8769 if ${ac_cv_prog_OTOOL64+:} false; then :
8770   $as_echo_n "(cached) " >&6
8771 else
8772   if test -n "$OTOOL64"; then
8773   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8774 else
8775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8776 for as_dir in $PATH
8777 do
8778   IFS=$as_save_IFS
8779   test -z "$as_dir" && as_dir=.
8780     for ac_exec_ext in '' $ac_executable_extensions; do
8781   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8782     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8783     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8784     break 2
8785   fi
8786 done
8787   done
8788 IFS=$as_save_IFS
8789
8790 fi
8791 fi
8792 OTOOL64=$ac_cv_prog_OTOOL64
8793 if test -n "$OTOOL64"; then
8794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8795 $as_echo "$OTOOL64" >&6; }
8796 else
8797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8798 $as_echo "no" >&6; }
8799 fi
8800
8801
8802 fi
8803 if test -z "$ac_cv_prog_OTOOL64"; then
8804   ac_ct_OTOOL64=$OTOOL64
8805   # Extract the first word of "otool64", so it can be a program name with args.
8806 set dummy otool64; ac_word=$2
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8808 $as_echo_n "checking for $ac_word... " >&6; }
8809 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8810   $as_echo_n "(cached) " >&6
8811 else
8812   if test -n "$ac_ct_OTOOL64"; then
8813   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8814 else
8815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8816 for as_dir in $PATH
8817 do
8818   IFS=$as_save_IFS
8819   test -z "$as_dir" && as_dir=.
8820     for ac_exec_ext in '' $ac_executable_extensions; do
8821   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8822     ac_cv_prog_ac_ct_OTOOL64="otool64"
8823     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8824     break 2
8825   fi
8826 done
8827   done
8828 IFS=$as_save_IFS
8829
8830 fi
8831 fi
8832 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8833 if test -n "$ac_ct_OTOOL64"; then
8834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8835 $as_echo "$ac_ct_OTOOL64" >&6; }
8836 else
8837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8838 $as_echo "no" >&6; }
8839 fi
8840
8841   if test "x$ac_ct_OTOOL64" = x; then
8842     OTOOL64=":"
8843   else
8844     case $cross_compiling:$ac_tool_warned in
8845 yes:)
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8847 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8848 ac_tool_warned=yes ;;
8849 esac
8850     OTOOL64=$ac_ct_OTOOL64
8851   fi
8852 else
8853   OTOOL64="$ac_cv_prog_OTOOL64"
8854 fi
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8883 $as_echo_n "checking for -single_module linker flag... " >&6; }
8884 if ${lt_cv_apple_cc_single_mod+:} false; then :
8885   $as_echo_n "(cached) " >&6
8886 else
8887   lt_cv_apple_cc_single_mod=no
8888       if test -z "${LT_MULTI_MODULE}"; then
8889         # By default we will add the -single_module flag. You can override
8890         # by either setting the environment variable LT_MULTI_MODULE
8891         # non-empty at configure time, or by adding -multi_module to the
8892         # link flags.
8893         rm -rf libconftest.dylib*
8894         echo "int foo(void){return 1;}" > conftest.c
8895         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8896 -dynamiclib -Wl,-single_module conftest.c" >&5
8897         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8898           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8899         _lt_result=$?
8900         # If there is a non-empty error log, and "single_module"
8901         # appears in it, assume the flag caused a linker warning
8902         if test -s conftest.err && $GREP single_module conftest.err; then
8903           cat conftest.err >&5
8904         # Otherwise, if the output was created with a 0 exit code from
8905         # the compiler, it worked.
8906         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8907           lt_cv_apple_cc_single_mod=yes
8908         else
8909           cat conftest.err >&5
8910         fi
8911         rm -rf libconftest.dylib*
8912         rm -f conftest.*
8913       fi
8914 fi
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8916 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8917
8918     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8919 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8920 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8921   $as_echo_n "(cached) " >&6
8922 else
8923   lt_cv_ld_exported_symbols_list=no
8924       save_LDFLAGS=$LDFLAGS
8925       echo "_main" > conftest.sym
8926       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8927       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8928 /* end confdefs.h.  */
8929
8930 int
8931 main ()
8932 {
8933
8934   ;
8935   return 0;
8936 }
8937 _ACEOF
8938 if ac_fn_c_try_link "$LINENO"; then :
8939   lt_cv_ld_exported_symbols_list=yes
8940 else
8941   lt_cv_ld_exported_symbols_list=no
8942 fi
8943 rm -f core conftest.err conftest.$ac_objext \
8944     conftest$ac_exeext conftest.$ac_ext
8945         LDFLAGS="$save_LDFLAGS"
8946
8947 fi
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8949 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8950
8951     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8952 $as_echo_n "checking for -force_load linker flag... " >&6; }
8953 if ${lt_cv_ld_force_load+:} false; then :
8954   $as_echo_n "(cached) " >&6
8955 else
8956   lt_cv_ld_force_load=no
8957       cat > conftest.c << _LT_EOF
8958 int forced_loaded() { return 2;}
8959 _LT_EOF
8960       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8961       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8962       echo "$AR cru libconftest.a conftest.o" >&5
8963       $AR cru libconftest.a conftest.o 2>&5
8964       echo "$RANLIB libconftest.a" >&5
8965       $RANLIB libconftest.a 2>&5
8966       cat > conftest.c << _LT_EOF
8967 int main() { return 0;}
8968 _LT_EOF
8969       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8970       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8971       _lt_result=$?
8972       if test -s conftest.err && $GREP force_load conftest.err; then
8973         cat conftest.err >&5
8974       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8975         lt_cv_ld_force_load=yes
8976       else
8977         cat conftest.err >&5
8978       fi
8979         rm -f conftest.err libconftest.a conftest conftest.c
8980         rm -rf conftest.dSYM
8981
8982 fi
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8984 $as_echo "$lt_cv_ld_force_load" >&6; }
8985     case $host_os in
8986     rhapsody* | darwin1.[012])
8987       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8988     darwin1.*)
8989       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8990     darwin*) # darwin 5.x on
8991       # if running on 10.5 or later, the deployment target defaults
8992       # to the OS version, if on x86, and 10.4, the deployment
8993       # target defaults to 10.4. Don't you love it?
8994       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8995         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8996           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8997         10.[012]*)
8998           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8999         10.*)
9000           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9001       esac
9002     ;;
9003   esac
9004     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9005       _lt_dar_single_mod='$single_module'
9006     fi
9007     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9008       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9009     else
9010       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9011     fi
9012     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9013       _lt_dsymutil='~$DSYMUTIL $lib || :'
9014     else
9015       _lt_dsymutil=
9016     fi
9017     ;;
9018   esac
9019
9020 for ac_header in dlfcn.h
9021 do :
9022   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9023 "
9024 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9025   cat >>confdefs.h <<_ACEOF
9026 #define HAVE_DLFCN_H 1
9027 _ACEOF
9028
9029 fi
9030
9031 done
9032
9033
9034
9035
9036
9037 # Set options
9038
9039
9040
9041         enable_dlopen=no
9042
9043
9044
9045             # Check whether --enable-shared was given.
9046 if test "${enable_shared+set}" = set; then :
9047   enableval=$enable_shared; p=${PACKAGE-default}
9048     case $enableval in
9049     yes) enable_shared=yes ;;
9050     no) enable_shared=no ;;
9051     *)
9052       enable_shared=no
9053       # Look at the argument we got.  We use all the common list separators.
9054       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9055       for pkg in $enableval; do
9056         IFS="$lt_save_ifs"
9057         if test "X$pkg" = "X$p"; then
9058           enable_shared=yes
9059         fi
9060       done
9061       IFS="$lt_save_ifs"
9062       ;;
9063     esac
9064 else
9065   enable_shared=yes
9066 fi
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076   # Check whether --enable-static was given.
9077 if test "${enable_static+set}" = set; then :
9078   enableval=$enable_static; p=${PACKAGE-default}
9079     case $enableval in
9080     yes) enable_static=yes ;;
9081     no) enable_static=no ;;
9082     *)
9083      enable_static=no
9084       # Look at the argument we got.  We use all the common list separators.
9085       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9086       for pkg in $enableval; do
9087         IFS="$lt_save_ifs"
9088         if test "X$pkg" = "X$p"; then
9089           enable_static=yes
9090         fi
9091       done
9092       IFS="$lt_save_ifs"
9093       ;;
9094     esac
9095 else
9096   enable_static=yes
9097 fi
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108 # Check whether --with-pic was given.
9109 if test "${with_pic+set}" = set; then :
9110   withval=$with_pic; lt_p=${PACKAGE-default}
9111     case $withval in
9112     yes|no) pic_mode=$withval ;;
9113     *)
9114       pic_mode=default
9115       # Look at the argument we got.  We use all the common list separators.
9116       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9117       for lt_pkg in $withval; do
9118         IFS="$lt_save_ifs"
9119         if test "X$lt_pkg" = "X$lt_p"; then
9120           pic_mode=yes
9121         fi
9122       done
9123       IFS="$lt_save_ifs"
9124       ;;
9125     esac
9126 else
9127   pic_mode=default
9128 fi
9129
9130
9131 test -z "$pic_mode" && pic_mode=default
9132
9133
9134
9135
9136
9137
9138
9139   # Check whether --enable-fast-install was given.
9140 if test "${enable_fast_install+set}" = set; then :
9141   enableval=$enable_fast_install; p=${PACKAGE-default}
9142     case $enableval in
9143     yes) enable_fast_install=yes ;;
9144     no) enable_fast_install=no ;;
9145     *)
9146       enable_fast_install=no
9147       # Look at the argument we got.  We use all the common list separators.
9148       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9149       for pkg in $enableval; do
9150         IFS="$lt_save_ifs"
9151         if test "X$pkg" = "X$p"; then
9152           enable_fast_install=yes
9153         fi
9154       done
9155       IFS="$lt_save_ifs"
9156       ;;
9157     esac
9158 else
9159   enable_fast_install=yes
9160 fi
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172 # This can be used to rebuild libtool when needed
9173 LIBTOOL_DEPS="$ltmain"
9174
9175 # Always use our own libtool.
9176 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207 test -z "$LN_S" && LN_S="ln -s"
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222 if test -n "${ZSH_VERSION+set}" ; then
9223    setopt NO_GLOB_SUBST
9224 fi
9225
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9227 $as_echo_n "checking for objdir... " >&6; }
9228 if ${lt_cv_objdir+:} false; then :
9229   $as_echo_n "(cached) " >&6
9230 else
9231   rm -f .libs 2>/dev/null
9232 mkdir .libs 2>/dev/null
9233 if test -d .libs; then
9234   lt_cv_objdir=.libs
9235 else
9236   # MS-DOS does not allow filenames that begin with a dot.
9237   lt_cv_objdir=_libs
9238 fi
9239 rmdir .libs 2>/dev/null
9240 fi
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9242 $as_echo "$lt_cv_objdir" >&6; }
9243 objdir=$lt_cv_objdir
9244
9245
9246
9247
9248
9249 cat >>confdefs.h <<_ACEOF
9250 #define LT_OBJDIR "$lt_cv_objdir/"
9251 _ACEOF
9252
9253
9254
9255
9256 case $host_os in
9257 aix3*)
9258   # AIX sometimes has problems with the GCC collect2 program.  For some
9259   # reason, if we set the COLLECT_NAMES environment variable, the problems
9260   # vanish in a puff of smoke.
9261   if test "X${COLLECT_NAMES+set}" != Xset; then
9262     COLLECT_NAMES=
9263     export COLLECT_NAMES
9264   fi
9265   ;;
9266 esac
9267
9268 # Global variables:
9269 ofile=libtool
9270 can_build_shared=yes
9271
9272 # All known linkers require a `.a' archive for static linking (except MSVC,
9273 # which needs '.lib').
9274 libext=a
9275
9276 with_gnu_ld="$lt_cv_prog_gnu_ld"
9277
9278 old_CC="$CC"
9279 old_CFLAGS="$CFLAGS"
9280
9281 # Set sane defaults for various variables
9282 test -z "$CC" && CC=cc
9283 test -z "$LTCC" && LTCC=$CC
9284 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9285 test -z "$LD" && LD=ld
9286 test -z "$ac_objext" && ac_objext=o
9287
9288 for cc_temp in $compiler""; do
9289   case $cc_temp in
9290     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9291     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9292     \-*) ;;
9293     *) break;;
9294   esac
9295 done
9296 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9297
9298
9299 # Only perform the check for file, if the check method requires it
9300 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9301 case $deplibs_check_method in
9302 file_magic*)
9303   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9304     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9305 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9306 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9307   $as_echo_n "(cached) " >&6
9308 else
9309   case $MAGIC_CMD in
9310 [\\/*] |  ?:[\\/]*)
9311   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9312   ;;
9313 *)
9314   lt_save_MAGIC_CMD="$MAGIC_CMD"
9315   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9316   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9317   for ac_dir in $ac_dummy; do
9318     IFS="$lt_save_ifs"
9319     test -z "$ac_dir" && ac_dir=.
9320     if test -f $ac_dir/${ac_tool_prefix}file; then
9321       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9322       if test -n "$file_magic_test_file"; then
9323         case $deplibs_check_method in
9324         "file_magic "*)
9325           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9326           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9327           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9328             $EGREP "$file_magic_regex" > /dev/null; then
9329             :
9330           else
9331             cat <<_LT_EOF 1>&2
9332
9333 *** Warning: the command libtool uses to detect shared libraries,
9334 *** $file_magic_cmd, produces output that libtool cannot recognize.
9335 *** The result is that libtool may fail to recognize shared libraries
9336 *** as such.  This will affect the creation of libtool libraries that
9337 *** depend on shared libraries, but programs linked with such libtool
9338 *** libraries will work regardless of this problem.  Nevertheless, you
9339 *** may want to report the problem to your system manager and/or to
9340 *** bug-libtool@gnu.org
9341
9342 _LT_EOF
9343           fi ;;
9344         esac
9345       fi
9346       break
9347     fi
9348   done
9349   IFS="$lt_save_ifs"
9350   MAGIC_CMD="$lt_save_MAGIC_CMD"
9351   ;;
9352 esac
9353 fi
9354
9355 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9356 if test -n "$MAGIC_CMD"; then
9357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9358 $as_echo "$MAGIC_CMD" >&6; }
9359 else
9360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9361 $as_echo "no" >&6; }
9362 fi
9363
9364
9365
9366
9367
9368 if test -z "$lt_cv_path_MAGIC_CMD"; then
9369   if test -n "$ac_tool_prefix"; then
9370     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9371 $as_echo_n "checking for file... " >&6; }
9372 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9373   $as_echo_n "(cached) " >&6
9374 else
9375   case $MAGIC_CMD in
9376 [\\/*] |  ?:[\\/]*)
9377   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9378   ;;
9379 *)
9380   lt_save_MAGIC_CMD="$MAGIC_CMD"
9381   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9382   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9383   for ac_dir in $ac_dummy; do
9384     IFS="$lt_save_ifs"
9385     test -z "$ac_dir" && ac_dir=.
9386     if test -f $ac_dir/file; then
9387       lt_cv_path_MAGIC_CMD="$ac_dir/file"
9388       if test -n "$file_magic_test_file"; then
9389         case $deplibs_check_method in
9390         "file_magic "*)
9391           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9392           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9393           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9394             $EGREP "$file_magic_regex" > /dev/null; then
9395             :
9396           else
9397             cat <<_LT_EOF 1>&2
9398
9399 *** Warning: the command libtool uses to detect shared libraries,
9400 *** $file_magic_cmd, produces output that libtool cannot recognize.
9401 *** The result is that libtool may fail to recognize shared libraries
9402 *** as such.  This will affect the creation of libtool libraries that
9403 *** depend on shared libraries, but programs linked with such libtool
9404 *** libraries will work regardless of this problem.  Nevertheless, you
9405 *** may want to report the problem to your system manager and/or to
9406 *** bug-libtool@gnu.org
9407
9408 _LT_EOF
9409           fi ;;
9410         esac
9411       fi
9412       break
9413     fi
9414   done
9415   IFS="$lt_save_ifs"
9416   MAGIC_CMD="$lt_save_MAGIC_CMD"
9417   ;;
9418 esac
9419 fi
9420
9421 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9422 if test -n "$MAGIC_CMD"; then
9423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9424 $as_echo "$MAGIC_CMD" >&6; }
9425 else
9426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9427 $as_echo "no" >&6; }
9428 fi
9429
9430
9431   else
9432     MAGIC_CMD=:
9433   fi
9434 fi
9435
9436   fi
9437   ;;
9438 esac
9439
9440 # Use C for the default configuration in the libtool script
9441
9442 lt_save_CC="$CC"
9443 ac_ext=c
9444 ac_cpp='$CPP $CPPFLAGS'
9445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9448
9449
9450 # Source file extension for C test sources.
9451 ac_ext=c
9452
9453 # Object file extension for compiled C test sources.
9454 objext=o
9455 objext=$objext
9456
9457 # Code to be used in simple compile tests
9458 lt_simple_compile_test_code="int some_variable = 0;"
9459
9460 # Code to be used in simple link tests
9461 lt_simple_link_test_code='int main(){return(0);}'
9462
9463
9464
9465
9466
9467
9468
9469 # If no C compiler was specified, use CC.
9470 LTCC=${LTCC-"$CC"}
9471
9472 # If no C compiler flags were specified, use CFLAGS.
9473 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9474
9475 # Allow CC to be a program name with arguments.
9476 compiler=$CC
9477
9478 # Save the default compiler, since it gets overwritten when the other
9479 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9480 compiler_DEFAULT=$CC
9481
9482 # save warnings/boilerplate of simple test code
9483 ac_outfile=conftest.$ac_objext
9484 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9485 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9486 _lt_compiler_boilerplate=`cat conftest.err`
9487 $RM conftest*
9488
9489 ac_outfile=conftest.$ac_objext
9490 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9491 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9492 _lt_linker_boilerplate=`cat conftest.err`
9493 $RM -r conftest*
9494
9495
9496 if test -n "$compiler"; then
9497
9498 lt_prog_compiler_no_builtin_flag=
9499
9500 if test "$GCC" = yes; then
9501   case $cc_basename in
9502   nvcc*)
9503     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9504   *)
9505     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9506   esac
9507
9508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9509 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9510 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9511   $as_echo_n "(cached) " >&6
9512 else
9513   lt_cv_prog_compiler_rtti_exceptions=no
9514    ac_outfile=conftest.$ac_objext
9515    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9516    lt_compiler_flag="-fno-rtti -fno-exceptions"
9517    # Insert the option either (1) after the last *FLAGS variable, or
9518    # (2) before a word containing "conftest.", or (3) at the end.
9519    # Note that $ac_compile itself does not contain backslashes and begins
9520    # with a dollar sign (not a hyphen), so the echo should work correctly.
9521    # The option is referenced via a variable to avoid confusing sed.
9522    lt_compile=`echo "$ac_compile" | $SED \
9523    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9524    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9525    -e 's:$: $lt_compiler_flag:'`
9526    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9527    (eval "$lt_compile" 2>conftest.err)
9528    ac_status=$?
9529    cat conftest.err >&5
9530    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9531    if (exit $ac_status) && test -s "$ac_outfile"; then
9532      # The compiler can only warn and ignore the option if not recognized
9533      # So say no if there are warnings other than the usual output.
9534      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9535      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9536      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9537        lt_cv_prog_compiler_rtti_exceptions=yes
9538      fi
9539    fi
9540    $RM conftest*
9541
9542 fi
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9544 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9545
9546 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9547     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9548 else
9549     :
9550 fi
9551
9552 fi
9553
9554
9555
9556
9557
9558
9559   lt_prog_compiler_wl=
9560 lt_prog_compiler_pic=
9561 lt_prog_compiler_static=
9562
9563
9564   if test "$GCC" = yes; then
9565     lt_prog_compiler_wl='-Wl,'
9566     lt_prog_compiler_static='-static'
9567
9568     case $host_os in
9569       aix*)
9570       # All AIX code is PIC.
9571       if test "$host_cpu" = ia64; then
9572         # AIX 5 now supports IA64 processor
9573         lt_prog_compiler_static='-Bstatic'
9574       fi
9575       ;;
9576
9577     amigaos*)
9578       case $host_cpu in
9579       powerpc)
9580             # see comment about AmigaOS4 .so support
9581             lt_prog_compiler_pic='-fPIC'
9582         ;;
9583       m68k)
9584             # FIXME: we need at least 68020 code to build shared libraries, but
9585             # adding the `-m68020' flag to GCC prevents building anything better,
9586             # like `-m68040'.
9587             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9588         ;;
9589       esac
9590       ;;
9591
9592     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9593       # PIC is the default for these OSes.
9594       ;;
9595
9596     mingw* | cygwin* | pw32* | os2* | cegcc*)
9597       # This hack is so that the source file can tell whether it is being
9598       # built for inclusion in a dll (and should export symbols for example).
9599       # Although the cygwin gcc ignores -fPIC, still need this for old-style
9600       # (--disable-auto-import) libraries
9601       lt_prog_compiler_pic='-DDLL_EXPORT'
9602       ;;
9603
9604     darwin* | rhapsody*)
9605       # PIC is the default on this platform
9606       # Common symbols not allowed in MH_DYLIB files
9607       lt_prog_compiler_pic='-fno-common'
9608       ;;
9609
9610     haiku*)
9611       # PIC is the default for Haiku.
9612       # The "-static" flag exists, but is broken.
9613       lt_prog_compiler_static=
9614       ;;
9615
9616     hpux*)
9617       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9618       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9619       # sets the default TLS model and affects inlining.
9620       case $host_cpu in
9621       hppa*64*)
9622         # +Z the default
9623         ;;
9624       *)
9625         lt_prog_compiler_pic='-fPIC'
9626         ;;
9627       esac
9628       ;;
9629
9630     interix[3-9]*)
9631       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9632       # Instead, we relocate shared libraries at runtime.
9633       ;;
9634
9635     msdosdjgpp*)
9636       # Just because we use GCC doesn't mean we suddenly get shared libraries
9637       # on systems that don't support them.
9638       lt_prog_compiler_can_build_shared=no
9639       enable_shared=no
9640       ;;
9641
9642     *nto* | *qnx*)
9643       # QNX uses GNU C++, but need to define -shared option too, otherwise
9644       # it will coredump.
9645       lt_prog_compiler_pic='-fPIC -shared'
9646       ;;
9647
9648     sysv4*MP*)
9649       if test -d /usr/nec; then
9650         lt_prog_compiler_pic=-Kconform_pic
9651       fi
9652       ;;
9653
9654     *)
9655       lt_prog_compiler_pic='-fPIC'
9656       ;;
9657     esac
9658
9659     case $cc_basename in
9660     nvcc*) # Cuda Compiler Driver 2.2
9661       lt_prog_compiler_wl='-Xlinker '
9662       if test -n "$lt_prog_compiler_pic"; then
9663         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9664       fi
9665       ;;
9666     esac
9667   else
9668     # PORTME Check for flag to pass linker flags through the system compiler.
9669     case $host_os in
9670     aix*)
9671       lt_prog_compiler_wl='-Wl,'
9672       if test "$host_cpu" = ia64; then
9673         # AIX 5 now supports IA64 processor
9674         lt_prog_compiler_static='-Bstatic'
9675       else
9676         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9677       fi
9678       ;;
9679
9680     mingw* | cygwin* | pw32* | os2* | cegcc*)
9681       # This hack is so that the source file can tell whether it is being
9682       # built for inclusion in a dll (and should export symbols for example).
9683       lt_prog_compiler_pic='-DDLL_EXPORT'
9684       ;;
9685
9686     hpux9* | hpux10* | hpux11*)
9687       lt_prog_compiler_wl='-Wl,'
9688       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9689       # not for PA HP-UX.
9690       case $host_cpu in
9691       hppa*64*|ia64*)
9692         # +Z the default
9693         ;;
9694       *)
9695         lt_prog_compiler_pic='+Z'
9696         ;;
9697       esac
9698       # Is there a better lt_prog_compiler_static that works with the bundled CC?
9699       lt_prog_compiler_static='${wl}-a ${wl}archive'
9700       ;;
9701
9702     irix5* | irix6* | nonstopux*)
9703       lt_prog_compiler_wl='-Wl,'
9704       # PIC (with -KPIC) is the default.
9705       lt_prog_compiler_static='-non_shared'
9706       ;;
9707
9708     linux* | k*bsd*-gnu | kopensolaris*-gnu)
9709       case $cc_basename in
9710       # old Intel for x86_64 which still supported -KPIC.
9711       ecc*)
9712         lt_prog_compiler_wl='-Wl,'
9713         lt_prog_compiler_pic='-KPIC'
9714         lt_prog_compiler_static='-static'
9715         ;;
9716       # icc used to be incompatible with GCC.
9717       # ICC 10 doesn't accept -KPIC any more.
9718       icc* | ifort*)
9719         lt_prog_compiler_wl='-Wl,'
9720         lt_prog_compiler_pic='-fPIC'
9721         lt_prog_compiler_static='-static'
9722         ;;
9723       # Lahey Fortran 8.1.
9724       lf95*)
9725         lt_prog_compiler_wl='-Wl,'
9726         lt_prog_compiler_pic='--shared'
9727         lt_prog_compiler_static='--static'
9728         ;;
9729       nagfor*)
9730         # NAG Fortran compiler
9731         lt_prog_compiler_wl='-Wl,-Wl,,'
9732         lt_prog_compiler_pic='-PIC'
9733         lt_prog_compiler_static='-Bstatic'
9734         ;;
9735       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9736         # Portland Group compilers (*not* the Pentium gcc compiler,
9737         # which looks to be a dead project)
9738         lt_prog_compiler_wl='-Wl,'
9739         lt_prog_compiler_pic='-fpic'
9740         lt_prog_compiler_static='-Bstatic'
9741         ;;
9742       ccc*)
9743         lt_prog_compiler_wl='-Wl,'
9744         # All Alpha code is PIC.
9745         lt_prog_compiler_static='-non_shared'
9746         ;;
9747       xl* | bgxl* | bgf* | mpixl*)
9748         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9749         lt_prog_compiler_wl='-Wl,'
9750         lt_prog_compiler_pic='-qpic'
9751         lt_prog_compiler_static='-qstaticlink'
9752         ;;
9753       *)
9754         case `$CC -V 2>&1 | sed 5q` in
9755         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9756           # Sun Fortran 8.3 passes all unrecognized flags to the linker
9757           lt_prog_compiler_pic='-KPIC'
9758           lt_prog_compiler_static='-Bstatic'
9759           lt_prog_compiler_wl=''
9760           ;;
9761         *Sun\ F* | *Sun*Fortran*)
9762           lt_prog_compiler_pic='-KPIC'
9763           lt_prog_compiler_static='-Bstatic'
9764           lt_prog_compiler_wl='-Qoption ld '
9765           ;;
9766         *Sun\ C*)
9767           # Sun C 5.9
9768           lt_prog_compiler_pic='-KPIC'
9769           lt_prog_compiler_static='-Bstatic'
9770           lt_prog_compiler_wl='-Wl,'
9771           ;;
9772         *Intel*\ [CF]*Compiler*)
9773           lt_prog_compiler_wl='-Wl,'
9774           lt_prog_compiler_pic='-fPIC'
9775           lt_prog_compiler_static='-static'
9776           ;;
9777         *Portland\ Group*)
9778           lt_prog_compiler_wl='-Wl,'
9779           lt_prog_compiler_pic='-fpic'
9780           lt_prog_compiler_static='-Bstatic'
9781           ;;
9782         esac
9783         ;;
9784       esac
9785       ;;
9786
9787     newsos6)
9788       lt_prog_compiler_pic='-KPIC'
9789       lt_prog_compiler_static='-Bstatic'
9790       ;;
9791
9792     *nto* | *qnx*)
9793       # QNX uses GNU C++, but need to define -shared option too, otherwise
9794       # it will coredump.
9795       lt_prog_compiler_pic='-fPIC -shared'
9796       ;;
9797
9798     osf3* | osf4* | osf5*)
9799       lt_prog_compiler_wl='-Wl,'
9800       # All OSF/1 code is PIC.
9801       lt_prog_compiler_static='-non_shared'
9802       ;;
9803
9804     rdos*)
9805       lt_prog_compiler_static='-non_shared'
9806       ;;
9807
9808     solaris*)
9809       lt_prog_compiler_pic='-KPIC'
9810       lt_prog_compiler_static='-Bstatic'
9811       case $cc_basename in
9812       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9813         lt_prog_compiler_wl='-Qoption ld ';;
9814       *)
9815         lt_prog_compiler_wl='-Wl,';;
9816       esac
9817       ;;
9818
9819     sunos4*)
9820       lt_prog_compiler_wl='-Qoption ld '
9821       lt_prog_compiler_pic='-PIC'
9822       lt_prog_compiler_static='-Bstatic'
9823       ;;
9824
9825     sysv4 | sysv4.2uw2* | sysv4.3*)
9826       lt_prog_compiler_wl='-Wl,'
9827       lt_prog_compiler_pic='-KPIC'
9828       lt_prog_compiler_static='-Bstatic'
9829       ;;
9830
9831     sysv4*MP*)
9832       if test -d /usr/nec ;then
9833         lt_prog_compiler_pic='-Kconform_pic'
9834         lt_prog_compiler_static='-Bstatic'
9835       fi
9836       ;;
9837
9838     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9839       lt_prog_compiler_wl='-Wl,'
9840       lt_prog_compiler_pic='-KPIC'
9841       lt_prog_compiler_static='-Bstatic'
9842       ;;
9843
9844     unicos*)
9845       lt_prog_compiler_wl='-Wl,'
9846       lt_prog_compiler_can_build_shared=no
9847       ;;
9848
9849     uts4*)
9850       lt_prog_compiler_pic='-pic'
9851       lt_prog_compiler_static='-Bstatic'
9852       ;;
9853
9854     *)
9855       lt_prog_compiler_can_build_shared=no
9856       ;;
9857     esac
9858   fi
9859
9860 case $host_os in
9861   # For platforms which do not support PIC, -DPIC is meaningless:
9862   *djgpp*)
9863     lt_prog_compiler_pic=
9864     ;;
9865   *)
9866     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9867     ;;
9868 esac
9869
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9871 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9872 if ${lt_cv_prog_compiler_pic+:} false; then :
9873   $as_echo_n "(cached) " >&6
9874 else
9875   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9876 fi
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9878 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9879 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9880
9881 #
9882 # Check to make sure the PIC flag actually works.
9883 #
9884 if test -n "$lt_prog_compiler_pic"; then
9885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9886 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9887 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9888   $as_echo_n "(cached) " >&6
9889 else
9890   lt_cv_prog_compiler_pic_works=no
9891    ac_outfile=conftest.$ac_objext
9892    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9893    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9894    # Insert the option either (1) after the last *FLAGS variable, or
9895    # (2) before a word containing "conftest.", or (3) at the end.
9896    # Note that $ac_compile itself does not contain backslashes and begins
9897    # with a dollar sign (not a hyphen), so the echo should work correctly.
9898    # The option is referenced via a variable to avoid confusing sed.
9899    lt_compile=`echo "$ac_compile" | $SED \
9900    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9901    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9902    -e 's:$: $lt_compiler_flag:'`
9903    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9904    (eval "$lt_compile" 2>conftest.err)
9905    ac_status=$?
9906    cat conftest.err >&5
9907    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9908    if (exit $ac_status) && test -s "$ac_outfile"; then
9909      # The compiler can only warn and ignore the option if not recognized
9910      # So say no if there are warnings other than the usual output.
9911      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9912      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9913      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9914        lt_cv_prog_compiler_pic_works=yes
9915      fi
9916    fi
9917    $RM conftest*
9918
9919 fi
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9921 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9922
9923 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9924     case $lt_prog_compiler_pic in
9925      "" | " "*) ;;
9926      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9927      esac
9928 else
9929     lt_prog_compiler_pic=
9930      lt_prog_compiler_can_build_shared=no
9931 fi
9932
9933 fi
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945 #
9946 # Check to make sure the static flag actually works.
9947 #
9948 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9950 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9951 if ${lt_cv_prog_compiler_static_works+:} false; then :
9952   $as_echo_n "(cached) " >&6
9953 else
9954   lt_cv_prog_compiler_static_works=no
9955    save_LDFLAGS="$LDFLAGS"
9956    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9957    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9958    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9959      # The linker can only warn and ignore the option if not recognized
9960      # So say no if there are warnings
9961      if test -s conftest.err; then
9962        # Append any errors to the config.log.
9963        cat conftest.err 1>&5
9964        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9965        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9966        if diff conftest.exp conftest.er2 >/dev/null; then
9967          lt_cv_prog_compiler_static_works=yes
9968        fi
9969      else
9970        lt_cv_prog_compiler_static_works=yes
9971      fi
9972    fi
9973    $RM -r conftest*
9974    LDFLAGS="$save_LDFLAGS"
9975
9976 fi
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9978 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9979
9980 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9981     :
9982 else
9983     lt_prog_compiler_static=
9984 fi
9985
9986
9987
9988
9989
9990
9991
9992   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9993 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9994 if ${lt_cv_prog_compiler_c_o+:} false; then :
9995   $as_echo_n "(cached) " >&6
9996 else
9997   lt_cv_prog_compiler_c_o=no
9998    $RM -r conftest 2>/dev/null
9999    mkdir conftest
10000    cd conftest
10001    mkdir out
10002    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10003
10004    lt_compiler_flag="-o out/conftest2.$ac_objext"
10005    # Insert the option either (1) after the last *FLAGS variable, or
10006    # (2) before a word containing "conftest.", or (3) at the end.
10007    # Note that $ac_compile itself does not contain backslashes and begins
10008    # with a dollar sign (not a hyphen), so the echo should work correctly.
10009    lt_compile=`echo "$ac_compile" | $SED \
10010    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10011    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10012    -e 's:$: $lt_compiler_flag:'`
10013    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10014    (eval "$lt_compile" 2>out/conftest.err)
10015    ac_status=$?
10016    cat out/conftest.err >&5
10017    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10018    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10019    then
10020      # The compiler can only warn and ignore the option if not recognized
10021      # So say no if there are warnings
10022      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10023      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10024      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10025        lt_cv_prog_compiler_c_o=yes
10026      fi
10027    fi
10028    chmod u+w . 2>&5
10029    $RM conftest*
10030    # SGI C++ compiler will create directory out/ii_files/ for
10031    # template instantiation
10032    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10033    $RM out/* && rmdir out
10034    cd ..
10035    $RM -r conftest
10036    $RM conftest*
10037
10038 fi
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10040 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10041
10042
10043
10044
10045
10046
10047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10048 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10049 if ${lt_cv_prog_compiler_c_o+:} false; then :
10050   $as_echo_n "(cached) " >&6
10051 else
10052   lt_cv_prog_compiler_c_o=no
10053    $RM -r conftest 2>/dev/null
10054    mkdir conftest
10055    cd conftest
10056    mkdir out
10057    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10058
10059    lt_compiler_flag="-o out/conftest2.$ac_objext"
10060    # Insert the option either (1) after the last *FLAGS variable, or
10061    # (2) before a word containing "conftest.", or (3) at the end.
10062    # Note that $ac_compile itself does not contain backslashes and begins
10063    # with a dollar sign (not a hyphen), so the echo should work correctly.
10064    lt_compile=`echo "$ac_compile" | $SED \
10065    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10066    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10067    -e 's:$: $lt_compiler_flag:'`
10068    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10069    (eval "$lt_compile" 2>out/conftest.err)
10070    ac_status=$?
10071    cat out/conftest.err >&5
10072    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10073    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10074    then
10075      # The compiler can only warn and ignore the option if not recognized
10076      # So say no if there are warnings
10077      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10078      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10079      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10080        lt_cv_prog_compiler_c_o=yes
10081      fi
10082    fi
10083    chmod u+w . 2>&5
10084    $RM conftest*
10085    # SGI C++ compiler will create directory out/ii_files/ for
10086    # template instantiation
10087    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10088    $RM out/* && rmdir out
10089    cd ..
10090    $RM -r conftest
10091    $RM conftest*
10092
10093 fi
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10095 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10096
10097
10098
10099
10100 hard_links="nottested"
10101 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10102   # do not overwrite the value of need_locks provided by the user
10103   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10104 $as_echo_n "checking if we can lock with hard links... " >&6; }
10105   hard_links=yes
10106   $RM conftest*
10107   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10108   touch conftest.a
10109   ln conftest.a conftest.b 2>&5 || hard_links=no
10110   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10112 $as_echo "$hard_links" >&6; }
10113   if test "$hard_links" = no; then
10114     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10115 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10116     need_locks=warn
10117   fi
10118 else
10119   need_locks=no
10120 fi
10121
10122
10123
10124
10125
10126
10127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10128 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10129
10130   runpath_var=
10131   allow_undefined_flag=
10132   always_export_symbols=no
10133   archive_cmds=
10134   archive_expsym_cmds=
10135   compiler_needs_object=no
10136   enable_shared_with_static_runtimes=no
10137   export_dynamic_flag_spec=
10138   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10139   hardcode_automatic=no
10140   hardcode_direct=no
10141   hardcode_direct_absolute=no
10142   hardcode_libdir_flag_spec=
10143   hardcode_libdir_separator=
10144   hardcode_minus_L=no
10145   hardcode_shlibpath_var=unsupported
10146   inherit_rpath=no
10147   link_all_deplibs=unknown
10148   module_cmds=
10149   module_expsym_cmds=
10150   old_archive_from_new_cmds=
10151   old_archive_from_expsyms_cmds=
10152   thread_safe_flag_spec=
10153   whole_archive_flag_spec=
10154   # include_expsyms should be a list of space-separated symbols to be *always*
10155   # included in the symbol list
10156   include_expsyms=
10157   # exclude_expsyms can be an extended regexp of symbols to exclude
10158   # it will be wrapped by ` (' and `)$', so one must not match beginning or
10159   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10160   # as well as any symbol that contains `d'.
10161   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10162   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10163   # platforms (ab)use it in PIC code, but their linkers get confused if
10164   # the symbol is explicitly referenced.  Since portable code cannot
10165   # rely on this symbol name, it's probably fine to never include it in
10166   # preloaded symbol tables.
10167   # Exclude shared library initialization/finalization symbols.
10168   extract_expsyms_cmds=
10169
10170   case $host_os in
10171   cygwin* | mingw* | pw32* | cegcc*)
10172     # FIXME: the MSVC++ port hasn't been tested in a loooong time
10173     # When not using gcc, we currently assume that we are using
10174     # Microsoft Visual C++.
10175     if test "$GCC" != yes; then
10176       with_gnu_ld=no
10177     fi
10178     ;;
10179   interix*)
10180     # we just hope/assume this is gcc and not c89 (= MSVC++)
10181     with_gnu_ld=yes
10182     ;;
10183   openbsd*)
10184     with_gnu_ld=no
10185     ;;
10186   esac
10187
10188   ld_shlibs=yes
10189
10190   # On some targets, GNU ld is compatible enough with the native linker
10191   # that we're better off using the native interface for both.
10192   lt_use_gnu_ld_interface=no
10193   if test "$with_gnu_ld" = yes; then
10194     case $host_os in
10195       aix*)
10196         # The AIX port of GNU ld has always aspired to compatibility
10197         # with the native linker.  However, as the warning in the GNU ld
10198         # block says, versions before 2.19.5* couldn't really create working
10199         # shared libraries, regardless of the interface used.
10200         case `$LD -v 2>&1` in
10201           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10202           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10203           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10204           *)
10205             lt_use_gnu_ld_interface=yes
10206             ;;
10207         esac
10208         ;;
10209       *)
10210         lt_use_gnu_ld_interface=yes
10211         ;;
10212     esac
10213   fi
10214
10215   if test "$lt_use_gnu_ld_interface" = yes; then
10216     # If archive_cmds runs LD, not CC, wlarc should be empty
10217     wlarc='${wl}'
10218
10219     # Set some defaults for GNU ld with shared library support. These
10220     # are reset later if shared libraries are not supported. Putting them
10221     # here allows them to be overridden if necessary.
10222     runpath_var=LD_RUN_PATH
10223     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10224     export_dynamic_flag_spec='${wl}--export-dynamic'
10225     # ancient GNU ld didn't support --whole-archive et. al.
10226     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10227       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10228     else
10229       whole_archive_flag_spec=
10230     fi
10231     supports_anon_versioning=no
10232     case `$LD -v 2>&1` in
10233       *GNU\ gold*) supports_anon_versioning=yes ;;
10234       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10235       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10236       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10237       *\ 2.11.*) ;; # other 2.11 versions
10238       *) supports_anon_versioning=yes ;;
10239     esac
10240
10241     # See if GNU ld supports shared libraries.
10242     case $host_os in
10243     aix[3-9]*)
10244       # On AIX/PPC, the GNU linker is very broken
10245       if test "$host_cpu" != ia64; then
10246         ld_shlibs=no
10247         cat <<_LT_EOF 1>&2
10248
10249 *** Warning: the GNU linker, at least up to release 2.19, is reported
10250 *** to be unable to reliably create shared libraries on AIX.
10251 *** Therefore, libtool is disabling shared libraries support.  If you
10252 *** really care for shared libraries, you may want to install binutils
10253 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10254 *** You will then need to restart the configuration process.
10255
10256 _LT_EOF
10257       fi
10258       ;;
10259
10260     amigaos*)
10261       case $host_cpu in
10262       powerpc)
10263             # see comment about AmigaOS4 .so support
10264             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10265             archive_expsym_cmds=''
10266         ;;
10267       m68k)
10268             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)'
10269             hardcode_libdir_flag_spec='-L$libdir'
10270             hardcode_minus_L=yes
10271         ;;
10272       esac
10273       ;;
10274
10275     beos*)
10276       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10277         allow_undefined_flag=unsupported
10278         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10279         # support --undefined.  This deserves some investigation.  FIXME
10280         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10281       else
10282         ld_shlibs=no
10283       fi
10284       ;;
10285
10286     cygwin* | mingw* | pw32* | cegcc*)
10287       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10288       # as there is no search path for DLLs.
10289       hardcode_libdir_flag_spec='-L$libdir'
10290       export_dynamic_flag_spec='${wl}--export-all-symbols'
10291       allow_undefined_flag=unsupported
10292       always_export_symbols=no
10293       enable_shared_with_static_runtimes=yes
10294       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
10295       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10296
10297       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10298         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10299         # If the export-symbols file already is a .def file (1st line
10300         # is EXPORTS), use it as is; otherwise, prepend...
10301         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10302           cp $export_symbols $output_objdir/$soname.def;
10303         else
10304           echo EXPORTS > $output_objdir/$soname.def;
10305           cat $export_symbols >> $output_objdir/$soname.def;
10306         fi~
10307         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10308       else
10309         ld_shlibs=no
10310       fi
10311       ;;
10312
10313     haiku*)
10314       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10315       link_all_deplibs=yes
10316       ;;
10317
10318     interix[3-9]*)
10319       hardcode_direct=no
10320       hardcode_shlibpath_var=no
10321       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10322       export_dynamic_flag_spec='${wl}-E'
10323       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10324       # Instead, shared libraries are loaded at an image base (0x10000000 by
10325       # default) and relocated if they conflict, which is a slow very memory
10326       # consuming and fragmenting process.  To avoid this, we pick a random,
10327       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10328       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10329       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10330       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'
10331       ;;
10332
10333     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10334       tmp_diet=no
10335       if test "$host_os" = linux-dietlibc; then
10336         case $cc_basename in
10337           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
10338         esac
10339       fi
10340       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10341          && test "$tmp_diet" = no
10342       then
10343         tmp_addflag=' $pic_flag'
10344         tmp_sharedflag='-shared'
10345         case $cc_basename,$host_cpu in
10346         pgcc*)                          # Portland Group C compiler
10347           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10348           tmp_addflag=' $pic_flag'
10349           ;;
10350         pgf77* | pgf90* | pgf95* | pgfortran*)
10351                                         # Portland Group f77 and f90 compilers
10352           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10353           tmp_addflag=' $pic_flag -Mnomain' ;;
10354         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10355           tmp_addflag=' -i_dynamic' ;;
10356         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
10357           tmp_addflag=' -i_dynamic -nofor_main' ;;
10358         ifc* | ifort*)                  # Intel Fortran compiler
10359           tmp_addflag=' -nofor_main' ;;
10360         lf95*)                          # Lahey Fortran 8.1
10361           whole_archive_flag_spec=
10362           tmp_sharedflag='--shared' ;;
10363         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10364           tmp_sharedflag='-qmkshrobj'
10365           tmp_addflag= ;;
10366         nvcc*)  # Cuda Compiler Driver 2.2
10367           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10368           compiler_needs_object=yes
10369           ;;
10370         esac
10371         case `$CC -V 2>&1 | sed 5q` in
10372         *Sun\ C*)                       # Sun C 5.9
10373           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10374           compiler_needs_object=yes
10375           tmp_sharedflag='-G' ;;
10376         *Sun\ F*)                       # Sun Fortran 8.3
10377           tmp_sharedflag='-G' ;;
10378         esac
10379         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10380
10381         if test "x$supports_anon_versioning" = xyes; then
10382           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10383             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10384             echo "local: *; };" >> $output_objdir/$libname.ver~
10385             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10386         fi
10387
10388         case $cc_basename in
10389         xlf* | bgf* | bgxlf* | mpixlf*)
10390           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10391           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10392           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10393           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10394           if test "x$supports_anon_versioning" = xyes; then
10395             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10396               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10397               echo "local: *; };" >> $output_objdir/$libname.ver~
10398               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10399           fi
10400           ;;
10401         esac
10402       else
10403         ld_shlibs=no
10404       fi
10405       ;;
10406
10407     netbsd*)
10408       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10409         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10410         wlarc=
10411       else
10412         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10413         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10414       fi
10415       ;;
10416
10417     solaris*)
10418       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10419         ld_shlibs=no
10420         cat <<_LT_EOF 1>&2
10421
10422 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10423 *** create shared libraries on Solaris systems.  Therefore, libtool
10424 *** is disabling shared libraries support.  We urge you to upgrade GNU
10425 *** binutils to release 2.9.1 or newer.  Another option is to modify
10426 *** your PATH or compiler configuration so that the native linker is
10427 *** used, and then restart.
10428
10429 _LT_EOF
10430       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10431         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10432         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10433       else
10434         ld_shlibs=no
10435       fi
10436       ;;
10437
10438     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10439       case `$LD -v 2>&1` in
10440         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10441         ld_shlibs=no
10442         cat <<_LT_EOF 1>&2
10443
10444 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10445 *** reliably create shared libraries on SCO systems.  Therefore, libtool
10446 *** is disabling shared libraries support.  We urge you to upgrade GNU
10447 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10448 *** your PATH or compiler configuration so that the native linker is
10449 *** used, and then restart.
10450
10451 _LT_EOF
10452         ;;
10453         *)
10454           # For security reasons, it is highly recommended that you always
10455           # use absolute paths for naming shared libraries, and exclude the
10456           # DT_RUNPATH tag from executables and libraries.  But doing so
10457           # requires that you compile everything twice, which is a pain.
10458           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10459             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10460             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10461             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10462           else
10463             ld_shlibs=no
10464           fi
10465         ;;
10466       esac
10467       ;;
10468
10469     sunos4*)
10470       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10471       wlarc=
10472       hardcode_direct=yes
10473       hardcode_shlibpath_var=no
10474       ;;
10475
10476     *)
10477       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10478         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10479         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10480       else
10481         ld_shlibs=no
10482       fi
10483       ;;
10484     esac
10485
10486     if test "$ld_shlibs" = no; then
10487       runpath_var=
10488       hardcode_libdir_flag_spec=
10489       export_dynamic_flag_spec=
10490       whole_archive_flag_spec=
10491     fi
10492   else
10493     # PORTME fill in a description of your system's linker (not GNU ld)
10494     case $host_os in
10495     aix3*)
10496       allow_undefined_flag=unsupported
10497       always_export_symbols=yes
10498       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'
10499       # Note: this linker hardcodes the directories in LIBPATH if there
10500       # are no directories specified by -L.
10501       hardcode_minus_L=yes
10502       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10503         # Neither direct hardcoding nor static linking is supported with a
10504         # broken collect2.
10505         hardcode_direct=unsupported
10506       fi
10507       ;;
10508
10509     aix[4-9]*)
10510       if test "$host_cpu" = ia64; then
10511         # On IA64, the linker does run time linking by default, so we don't
10512         # have to do anything special.
10513         aix_use_runtimelinking=no
10514         exp_sym_flag='-Bexport'
10515         no_entry_flag=""
10516       else
10517         # If we're using GNU nm, then we don't want the "-C" option.
10518         # -C means demangle to AIX nm, but means don't demangle with GNU nm
10519         # Also, AIX nm treats weak defined symbols like other global
10520         # defined symbols, whereas GNU nm marks them as "W".
10521         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10522           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10523         else
10524           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'
10525         fi
10526         aix_use_runtimelinking=no
10527
10528         # Test if we are trying to use run time linking or normal
10529         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10530         # need to do runtime linking.
10531         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10532           for ld_flag in $LDFLAGS; do
10533           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10534             aix_use_runtimelinking=yes
10535             break
10536           fi
10537           done
10538           ;;
10539         esac
10540
10541         exp_sym_flag='-bexport'
10542         no_entry_flag='-bnoentry'
10543       fi
10544
10545       # When large executables or shared objects are built, AIX ld can
10546       # have problems creating the table of contents.  If linking a library
10547       # or program results in "error TOC overflow" add -mminimal-toc to
10548       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10549       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10550
10551       archive_cmds=''
10552       hardcode_direct=yes
10553       hardcode_direct_absolute=yes
10554       hardcode_libdir_separator=':'
10555       link_all_deplibs=yes
10556       file_list_spec='${wl}-f,'
10557
10558       if test "$GCC" = yes; then
10559         case $host_os in aix4.[012]|aix4.[012].*)
10560         # We only want to do this on AIX 4.2 and lower, the check
10561         # below for broken collect2 doesn't work under 4.3+
10562           collect2name=`${CC} -print-prog-name=collect2`
10563           if test -f "$collect2name" &&
10564            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10565           then
10566           # We have reworked collect2
10567           :
10568           else
10569           # We have old collect2
10570           hardcode_direct=unsupported
10571           # It fails to find uninstalled libraries when the uninstalled
10572           # path is not listed in the libpath.  Setting hardcode_minus_L
10573           # to unsupported forces relinking
10574           hardcode_minus_L=yes
10575           hardcode_libdir_flag_spec='-L$libdir'
10576           hardcode_libdir_separator=
10577           fi
10578           ;;
10579         esac
10580         shared_flag='-shared'
10581         if test "$aix_use_runtimelinking" = yes; then
10582           shared_flag="$shared_flag "'${wl}-G'
10583         fi
10584       else
10585         # not using gcc
10586         if test "$host_cpu" = ia64; then
10587         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10588         # chokes on -Wl,-G. The following line is correct:
10589           shared_flag='-G'
10590         else
10591           if test "$aix_use_runtimelinking" = yes; then
10592             shared_flag='${wl}-G'
10593           else
10594             shared_flag='${wl}-bM:SRE'
10595           fi
10596         fi
10597       fi
10598
10599       export_dynamic_flag_spec='${wl}-bexpall'
10600       # It seems that -bexpall does not export symbols beginning with
10601       # underscore (_), so it is better to generate a list of symbols to export.
10602       always_export_symbols=yes
10603       if test "$aix_use_runtimelinking" = yes; then
10604         # Warning - without using the other runtime loading flags (-brtl),
10605         # -berok will link without error, but may produce a broken library.
10606         allow_undefined_flag='-berok'
10607         # Determine the default libpath from the value encoded in an
10608         # empty executable.
10609         if test "${lt_cv_aix_libpath+set}" = set; then
10610   aix_libpath=$lt_cv_aix_libpath
10611 else
10612   if ${lt_cv_aix_libpath_+:} false; then :
10613   $as_echo_n "(cached) " >&6
10614 else
10615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10616 /* end confdefs.h.  */
10617
10618 int
10619 main ()
10620 {
10621
10622   ;
10623   return 0;
10624 }
10625 _ACEOF
10626 if ac_fn_c_try_link "$LINENO"; then :
10627
10628   lt_aix_libpath_sed='
10629       /Import File Strings/,/^$/ {
10630           /^0/ {
10631               s/^0  *\([^ ]*\) *$/\1/
10632               p
10633           }
10634       }'
10635   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10636   # Check for a 64-bit object if we didn't find anything.
10637   if test -z "$lt_cv_aix_libpath_"; then
10638     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10639   fi
10640 fi
10641 rm -f core conftest.err conftest.$ac_objext \
10642     conftest$ac_exeext conftest.$ac_ext
10643   if test -z "$lt_cv_aix_libpath_"; then
10644     lt_cv_aix_libpath_="/usr/lib:/lib"
10645   fi
10646
10647 fi
10648
10649   aix_libpath=$lt_cv_aix_libpath_
10650 fi
10651
10652         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10653         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10654       else
10655         if test "$host_cpu" = ia64; then
10656           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10657           allow_undefined_flag="-z nodefs"
10658           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"
10659         else
10660          # Determine the default libpath from the value encoded in an
10661          # empty executable.
10662          if test "${lt_cv_aix_libpath+set}" = set; then
10663   aix_libpath=$lt_cv_aix_libpath
10664 else
10665   if ${lt_cv_aix_libpath_+:} false; then :
10666   $as_echo_n "(cached) " >&6
10667 else
10668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10669 /* end confdefs.h.  */
10670
10671 int
10672 main ()
10673 {
10674
10675   ;
10676   return 0;
10677 }
10678 _ACEOF
10679 if ac_fn_c_try_link "$LINENO"; then :
10680
10681   lt_aix_libpath_sed='
10682       /Import File Strings/,/^$/ {
10683           /^0/ {
10684               s/^0  *\([^ ]*\) *$/\1/
10685               p
10686           }
10687       }'
10688   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10689   # Check for a 64-bit object if we didn't find anything.
10690   if test -z "$lt_cv_aix_libpath_"; then
10691     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10692   fi
10693 fi
10694 rm -f core conftest.err conftest.$ac_objext \
10695     conftest$ac_exeext conftest.$ac_ext
10696   if test -z "$lt_cv_aix_libpath_"; then
10697     lt_cv_aix_libpath_="/usr/lib:/lib"
10698   fi
10699
10700 fi
10701
10702   aix_libpath=$lt_cv_aix_libpath_
10703 fi
10704
10705          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10706           # Warning - without using the other run time loading flags,
10707           # -berok will link without error, but may produce a broken library.
10708           no_undefined_flag=' ${wl}-bernotok'
10709           allow_undefined_flag=' ${wl}-berok'
10710           if test "$with_gnu_ld" = yes; then
10711             # We only use this code for GNU lds that support --whole-archive.
10712             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10713           else
10714             # Exported symbols can be pulled into shared objects from archives
10715             whole_archive_flag_spec='$convenience'
10716           fi
10717           archive_cmds_need_lc=yes
10718           # This is similar to how AIX traditionally builds its shared libraries.
10719           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'
10720         fi
10721       fi
10722       ;;
10723
10724     amigaos*)
10725       case $host_cpu in
10726       powerpc)
10727             # see comment about AmigaOS4 .so support
10728             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10729             archive_expsym_cmds=''
10730         ;;
10731       m68k)
10732             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)'
10733             hardcode_libdir_flag_spec='-L$libdir'
10734             hardcode_minus_L=yes
10735         ;;
10736       esac
10737       ;;
10738
10739     bsdi[45]*)
10740       export_dynamic_flag_spec=-rdynamic
10741       ;;
10742
10743     cygwin* | mingw* | pw32* | cegcc*)
10744       # When not using gcc, we currently assume that we are using
10745       # Microsoft Visual C++.
10746       # hardcode_libdir_flag_spec is actually meaningless, as there is
10747       # no search path for DLLs.
10748       case $cc_basename in
10749       cl*)
10750         # Native MSVC
10751         hardcode_libdir_flag_spec=' '
10752         allow_undefined_flag=unsupported
10753         always_export_symbols=yes
10754         file_list_spec='@'
10755         # Tell ltmain to make .lib files, not .a files.
10756         libext=lib
10757         # Tell ltmain to make .dll files, not .so files.
10758         shrext_cmds=".dll"
10759         # FIXME: Setting linknames here is a bad hack.
10760         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10761         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10762             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10763           else
10764             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10765           fi~
10766           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10767           linknames='
10768         # The linker will not automatically build a static lib if we build a DLL.
10769         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10770         enable_shared_with_static_runtimes=yes
10771         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10772         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10773         # Don't use ranlib
10774         old_postinstall_cmds='chmod 644 $oldlib'
10775         postlink_cmds='lt_outputfile="@OUTPUT@"~
10776           lt_tool_outputfile="@TOOL_OUTPUT@"~
10777           case $lt_outputfile in
10778             *.exe|*.EXE) ;;
10779             *)
10780               lt_outputfile="$lt_outputfile.exe"
10781               lt_tool_outputfile="$lt_tool_outputfile.exe"
10782               ;;
10783           esac~
10784           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10785             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10786             $RM "$lt_outputfile.manifest";
10787           fi'
10788         ;;
10789       *)
10790         # Assume MSVC wrapper
10791         hardcode_libdir_flag_spec=' '
10792         allow_undefined_flag=unsupported
10793         # Tell ltmain to make .lib files, not .a files.
10794         libext=lib
10795         # Tell ltmain to make .dll files, not .so files.
10796         shrext_cmds=".dll"
10797         # FIXME: Setting linknames here is a bad hack.
10798         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10799         # The linker will automatically build a .lib file if we build a DLL.
10800         old_archive_from_new_cmds='true'
10801         # FIXME: Should let the user specify the lib program.
10802         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10803         enable_shared_with_static_runtimes=yes
10804         ;;
10805       esac
10806       ;;
10807
10808     darwin* | rhapsody*)
10809
10810
10811   archive_cmds_need_lc=no
10812   hardcode_direct=no
10813   hardcode_automatic=yes
10814   hardcode_shlibpath_var=unsupported
10815   if test "$lt_cv_ld_force_load" = "yes"; then
10816     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10817
10818   else
10819     whole_archive_flag_spec=''
10820   fi
10821   link_all_deplibs=yes
10822   allow_undefined_flag="$_lt_dar_allow_undefined"
10823   case $cc_basename in
10824      ifort*) _lt_dar_can_shared=yes ;;
10825      *) _lt_dar_can_shared=$GCC ;;
10826   esac
10827   if test "$_lt_dar_can_shared" = "yes"; then
10828     output_verbose_link_cmd=func_echo_all
10829     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10830     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10831     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}"
10832     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}"
10833
10834   else
10835   ld_shlibs=no
10836   fi
10837
10838       ;;
10839
10840     dgux*)
10841       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10842       hardcode_libdir_flag_spec='-L$libdir'
10843       hardcode_shlibpath_var=no
10844       ;;
10845
10846     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10847     # support.  Future versions do this automatically, but an explicit c++rt0.o
10848     # does not break anything, and helps significantly (at the cost of a little
10849     # extra space).
10850     freebsd2.2*)
10851       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10852       hardcode_libdir_flag_spec='-R$libdir'
10853       hardcode_direct=yes
10854       hardcode_shlibpath_var=no
10855       ;;
10856
10857     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10858     freebsd2.*)
10859       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10860       hardcode_direct=yes
10861       hardcode_minus_L=yes
10862       hardcode_shlibpath_var=no
10863       ;;
10864
10865     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10866     freebsd* | dragonfly*)
10867       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10868       hardcode_libdir_flag_spec='-R$libdir'
10869       hardcode_direct=yes
10870       hardcode_shlibpath_var=no
10871       ;;
10872
10873     hpux9*)
10874       if test "$GCC" = yes; then
10875         archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10876       else
10877         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'
10878       fi
10879       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10880       hardcode_libdir_separator=:
10881       hardcode_direct=yes
10882
10883       # hardcode_minus_L: Not really in the search PATH,
10884       # but as the default location of the library.
10885       hardcode_minus_L=yes
10886       export_dynamic_flag_spec='${wl}-E'
10887       ;;
10888
10889     hpux10*)
10890       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10891         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10892       else
10893         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10894       fi
10895       if test "$with_gnu_ld" = no; then
10896         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10897         hardcode_libdir_separator=:
10898         hardcode_direct=yes
10899         hardcode_direct_absolute=yes
10900         export_dynamic_flag_spec='${wl}-E'
10901         # hardcode_minus_L: Not really in the search PATH,
10902         # but as the default location of the library.
10903         hardcode_minus_L=yes
10904       fi
10905       ;;
10906
10907     hpux11*)
10908       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10909         case $host_cpu in
10910         hppa*64*)
10911           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10912           ;;
10913         ia64*)
10914           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10915           ;;
10916         *)
10917           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10918           ;;
10919         esac
10920       else
10921         case $host_cpu in
10922         hppa*64*)
10923           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10924           ;;
10925         ia64*)
10926           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10927           ;;
10928         *)
10929
10930           # Older versions of the 11.00 compiler do not understand -b yet
10931           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10932           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10933 $as_echo_n "checking if $CC understands -b... " >&6; }
10934 if ${lt_cv_prog_compiler__b+:} false; then :
10935   $as_echo_n "(cached) " >&6
10936 else
10937   lt_cv_prog_compiler__b=no
10938    save_LDFLAGS="$LDFLAGS"
10939    LDFLAGS="$LDFLAGS -b"
10940    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10941    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10942      # The linker can only warn and ignore the option if not recognized
10943      # So say no if there are warnings
10944      if test -s conftest.err; then
10945        # Append any errors to the config.log.
10946        cat conftest.err 1>&5
10947        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10948        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10949        if diff conftest.exp conftest.er2 >/dev/null; then
10950          lt_cv_prog_compiler__b=yes
10951        fi
10952      else
10953        lt_cv_prog_compiler__b=yes
10954      fi
10955    fi
10956    $RM -r conftest*
10957    LDFLAGS="$save_LDFLAGS"
10958
10959 fi
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10961 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10962
10963 if test x"$lt_cv_prog_compiler__b" = xyes; then
10964     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10965 else
10966     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10967 fi
10968
10969           ;;
10970         esac
10971       fi
10972       if test "$with_gnu_ld" = no; then
10973         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10974         hardcode_libdir_separator=:
10975
10976         case $host_cpu in
10977         hppa*64*|ia64*)
10978           hardcode_direct=no
10979           hardcode_shlibpath_var=no
10980           ;;
10981         *)
10982           hardcode_direct=yes
10983           hardcode_direct_absolute=yes
10984           export_dynamic_flag_spec='${wl}-E'
10985
10986           # hardcode_minus_L: Not really in the search PATH,
10987           # but as the default location of the library.
10988           hardcode_minus_L=yes
10989           ;;
10990         esac
10991       fi
10992       ;;
10993
10994     irix5* | irix6* | nonstopux*)
10995       if test "$GCC" = yes; then
10996         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10997         # Try to use the -exported_symbol ld option, if it does not
10998         # work, assume that -exports_file does not work either and
10999         # implicitly export all symbols.
11000         # This should be the same for all languages, so no per-tag cache variable.
11001         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11002 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11003 if ${lt_cv_irix_exported_symbol+:} false; then :
11004   $as_echo_n "(cached) " >&6
11005 else
11006   save_LDFLAGS="$LDFLAGS"
11007            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11008            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11009 /* end confdefs.h.  */
11010 int foo (void) { return 0; }
11011 _ACEOF
11012 if ac_fn_c_try_link "$LINENO"; then :
11013   lt_cv_irix_exported_symbol=yes
11014 else
11015   lt_cv_irix_exported_symbol=no
11016 fi
11017 rm -f core conftest.err conftest.$ac_objext \
11018     conftest$ac_exeext conftest.$ac_ext
11019            LDFLAGS="$save_LDFLAGS"
11020 fi
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11022 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11023         if test "$lt_cv_irix_exported_symbol" = yes; then
11024           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
11025         fi
11026       else
11027         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11028         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
11029       fi
11030       archive_cmds_need_lc='no'
11031       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11032       hardcode_libdir_separator=:
11033       inherit_rpath=yes
11034       link_all_deplibs=yes
11035       ;;
11036
11037     netbsd*)
11038       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11039         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11040       else
11041         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11042       fi
11043       hardcode_libdir_flag_spec='-R$libdir'
11044       hardcode_direct=yes
11045       hardcode_shlibpath_var=no
11046       ;;
11047
11048     newsos6)
11049       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11050       hardcode_direct=yes
11051       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11052       hardcode_libdir_separator=:
11053       hardcode_shlibpath_var=no
11054       ;;
11055
11056     *nto* | *qnx*)
11057       ;;
11058
11059     openbsd*)
11060       if test -f /usr/libexec/ld.so; then
11061         hardcode_direct=yes
11062         hardcode_shlibpath_var=no
11063         hardcode_direct_absolute=yes
11064         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11065           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11066           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11067           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11068           export_dynamic_flag_spec='${wl}-E'
11069         else
11070           case $host_os in
11071            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11072              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11073              hardcode_libdir_flag_spec='-R$libdir'
11074              ;;
11075            *)
11076              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11077              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11078              ;;
11079           esac
11080         fi
11081       else
11082         ld_shlibs=no
11083       fi
11084       ;;
11085
11086     os2*)
11087       hardcode_libdir_flag_spec='-L$libdir'
11088       hardcode_minus_L=yes
11089       allow_undefined_flag=unsupported
11090       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'
11091       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11092       ;;
11093
11094     osf3*)
11095       if test "$GCC" = yes; then
11096         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11097         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11098       else
11099         allow_undefined_flag=' -expect_unresolved \*'
11100         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11101       fi
11102       archive_cmds_need_lc='no'
11103       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11104       hardcode_libdir_separator=:
11105       ;;
11106
11107     osf4* | osf5*)      # as osf3* with the addition of -msym flag
11108       if test "$GCC" = yes; then
11109         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11110         archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11111         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11112       else
11113         allow_undefined_flag=' -expect_unresolved \*'
11114         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11115         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~
11116         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
11117
11118         # Both c and cxx compiler support -rpath directly
11119         hardcode_libdir_flag_spec='-rpath $libdir'
11120       fi
11121       archive_cmds_need_lc='no'
11122       hardcode_libdir_separator=:
11123       ;;
11124
11125     solaris*)
11126       no_undefined_flag=' -z defs'
11127       if test "$GCC" = yes; then
11128         wlarc='${wl}'
11129         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11130         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11131           $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11132       else
11133         case `$CC -V 2>&1` in
11134         *"Compilers 5.0"*)
11135           wlarc=''
11136           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11137           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11138           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11139           ;;
11140         *)
11141           wlarc='${wl}'
11142           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11143           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11144           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11145           ;;
11146         esac
11147       fi
11148       hardcode_libdir_flag_spec='-R$libdir'
11149       hardcode_shlibpath_var=no
11150       case $host_os in
11151       solaris2.[0-5] | solaris2.[0-5].*) ;;
11152       *)
11153         # The compiler driver will combine and reorder linker options,
11154         # but understands `-z linker_flag'.  GCC discards it without `$wl',
11155         # but is careful enough not to reorder.
11156         # Supported since Solaris 2.6 (maybe 2.5.1?)
11157         if test "$GCC" = yes; then
11158           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11159         else
11160           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11161         fi
11162         ;;
11163       esac
11164       link_all_deplibs=yes
11165       ;;
11166
11167     sunos4*)
11168       if test "x$host_vendor" = xsequent; then
11169         # Use $CC to link under sequent, because it throws in some extra .o
11170         # files that make .init and .fini sections work.
11171         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11172       else
11173         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11174       fi
11175       hardcode_libdir_flag_spec='-L$libdir'
11176       hardcode_direct=yes
11177       hardcode_minus_L=yes
11178       hardcode_shlibpath_var=no
11179       ;;
11180
11181     sysv4)
11182       case $host_vendor in
11183         sni)
11184           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11185           hardcode_direct=yes # is this really true???
11186         ;;
11187         siemens)
11188           ## LD is ld it makes a PLAMLIB
11189           ## CC just makes a GrossModule.
11190           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11191           reload_cmds='$CC -r -o $output$reload_objs'
11192           hardcode_direct=no
11193         ;;
11194         motorola)
11195           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11196           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11197         ;;
11198       esac
11199       runpath_var='LD_RUN_PATH'
11200       hardcode_shlibpath_var=no
11201       ;;
11202
11203     sysv4.3*)
11204       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11205       hardcode_shlibpath_var=no
11206       export_dynamic_flag_spec='-Bexport'
11207       ;;
11208
11209     sysv4*MP*)
11210       if test -d /usr/nec; then
11211         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11212         hardcode_shlibpath_var=no
11213         runpath_var=LD_RUN_PATH
11214         hardcode_runpath_var=yes
11215         ld_shlibs=yes
11216       fi
11217       ;;
11218
11219     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11220       no_undefined_flag='${wl}-z,text'
11221       archive_cmds_need_lc=no
11222       hardcode_shlibpath_var=no
11223       runpath_var='LD_RUN_PATH'
11224
11225       if test "$GCC" = yes; then
11226         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11227         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11228       else
11229         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11230         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11231       fi
11232       ;;
11233
11234     sysv5* | sco3.2v5* | sco5v6*)
11235       # Note: We can NOT use -z defs as we might desire, because we do not
11236       # link with -lc, and that would cause any symbols used from libc to
11237       # always be unresolved, which means just about no library would
11238       # ever link correctly.  If we're not using GNU ld we use -z text
11239       # though, which does catch some bad symbols but isn't as heavy-handed
11240       # as -z defs.
11241       no_undefined_flag='${wl}-z,text'
11242       allow_undefined_flag='${wl}-z,nodefs'
11243       archive_cmds_need_lc=no
11244       hardcode_shlibpath_var=no
11245       hardcode_libdir_flag_spec='${wl}-R,$libdir'
11246       hardcode_libdir_separator=':'
11247       link_all_deplibs=yes
11248       export_dynamic_flag_spec='${wl}-Bexport'
11249       runpath_var='LD_RUN_PATH'
11250
11251       if test "$GCC" = yes; then
11252         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11253         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11254       else
11255         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11256         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11257       fi
11258       ;;
11259
11260     uts4*)
11261       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11262       hardcode_libdir_flag_spec='-L$libdir'
11263       hardcode_shlibpath_var=no
11264       ;;
11265
11266     *)
11267       ld_shlibs=no
11268       ;;
11269     esac
11270
11271     if test x$host_vendor = xsni; then
11272       case $host in
11273       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11274         export_dynamic_flag_spec='${wl}-Blargedynsym'
11275         ;;
11276       esac
11277     fi
11278   fi
11279
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11281 $as_echo "$ld_shlibs" >&6; }
11282 test "$ld_shlibs" = no && can_build_shared=no
11283
11284 with_gnu_ld=$with_gnu_ld
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300 #
11301 # Do we need to explicitly link libc?
11302 #
11303 case "x$archive_cmds_need_lc" in
11304 x|xyes)
11305   # Assume -lc should be added
11306   archive_cmds_need_lc=yes
11307
11308   if test "$enable_shared" = yes && test "$GCC" = yes; then
11309     case $archive_cmds in
11310     *'~'*)
11311       # FIXME: we may have to deal with multi-command sequences.
11312       ;;
11313     '$CC '*)
11314       # Test whether the compiler implicitly links with -lc since on some
11315       # systems, -lgcc has to come before -lc. If gcc already passes -lc
11316       # to ld, don't add -lc before -lgcc.
11317       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11318 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11319 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11320   $as_echo_n "(cached) " >&6
11321 else
11322   $RM conftest*
11323         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11324
11325         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11326   (eval $ac_compile) 2>&5
11327   ac_status=$?
11328   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11329   test $ac_status = 0; } 2>conftest.err; then
11330           soname=conftest
11331           lib=conftest
11332           libobjs=conftest.$ac_objext
11333           deplibs=
11334           wl=$lt_prog_compiler_wl
11335           pic_flag=$lt_prog_compiler_pic
11336           compiler_flags=-v
11337           linker_flags=-v
11338           verstring=
11339           output_objdir=.
11340           libname=conftest
11341           lt_save_allow_undefined_flag=$allow_undefined_flag
11342           allow_undefined_flag=
11343           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11344   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11345   ac_status=$?
11346   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11347   test $ac_status = 0; }
11348           then
11349             lt_cv_archive_cmds_need_lc=no
11350           else
11351             lt_cv_archive_cmds_need_lc=yes
11352           fi
11353           allow_undefined_flag=$lt_save_allow_undefined_flag
11354         else
11355           cat conftest.err 1>&5
11356         fi
11357         $RM conftest*
11358
11359 fi
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11361 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11362       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11363       ;;
11364     esac
11365   fi
11366   ;;
11367 esac
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11521 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11522
11523 if test "$GCC" = yes; then
11524   case $host_os in
11525     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11526     *) lt_awk_arg="/^libraries:/" ;;
11527   esac
11528   case $host_os in
11529     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11530     *) lt_sed_strip_eq="s,=/,/,g" ;;
11531   esac
11532   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11533   case $lt_search_path_spec in
11534   *\;*)
11535     # if the path contains ";" then we assume it to be the separator
11536     # otherwise default to the standard path separator (i.e. ":") - it is
11537     # assumed that no part of a normal pathname contains ";" but that should
11538     # okay in the real world where ";" in dirpaths is itself problematic.
11539     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11540     ;;
11541   *)
11542     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11543     ;;
11544   esac
11545   # Ok, now we have the path, separated by spaces, we can step through it
11546   # and add multilib dir if necessary.
11547   lt_tmp_lt_search_path_spec=
11548   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11549   for lt_sys_path in $lt_search_path_spec; do
11550     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11551       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11552     else
11553       test -d "$lt_sys_path" && \
11554         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11555     fi
11556   done
11557   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11558 BEGIN {RS=" "; FS="/|\n";} {
11559   lt_foo="";
11560   lt_count=0;
11561   for (lt_i = NF; lt_i > 0; lt_i--) {
11562     if ($lt_i != "" && $lt_i != ".") {
11563       if ($lt_i == "..") {
11564         lt_count++;
11565       } else {
11566         if (lt_count == 0) {
11567           lt_foo="/" $lt_i lt_foo;
11568         } else {
11569           lt_count--;
11570         }
11571       }
11572     }
11573   }
11574   if (lt_foo != "") { lt_freq[lt_foo]++; }
11575   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11576 }'`
11577   # AWK program above erroneously prepends '/' to C:/dos/paths
11578   # for these hosts.
11579   case $host_os in
11580     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11581       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11582   esac
11583   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11584 else
11585   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11586 fi
11587 library_names_spec=
11588 libname_spec='lib$name'
11589 soname_spec=
11590 shrext_cmds=".so"
11591 postinstall_cmds=
11592 postuninstall_cmds=
11593 finish_cmds=
11594 finish_eval=
11595 shlibpath_var=
11596 shlibpath_overrides_runpath=unknown
11597 version_type=none
11598 dynamic_linker="$host_os ld.so"
11599 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11600 need_lib_prefix=unknown
11601 hardcode_into_libs=no
11602
11603 # when you set need_version to no, make sure it does not cause -set_version
11604 # flags to be left without arguments
11605 need_version=unknown
11606
11607 case $host_os in
11608 aix3*)
11609   version_type=linux # correct to gnu/linux during the next big refactor
11610   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11611   shlibpath_var=LIBPATH
11612
11613   # AIX 3 has no versioning support, so we append a major version to the name.
11614   soname_spec='${libname}${release}${shared_ext}$major'
11615   ;;
11616
11617 aix[4-9]*)
11618   version_type=linux # correct to gnu/linux during the next big refactor
11619   need_lib_prefix=no
11620   need_version=no
11621   hardcode_into_libs=yes
11622   if test "$host_cpu" = ia64; then
11623     # AIX 5 supports IA64
11624     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11625     shlibpath_var=LD_LIBRARY_PATH
11626   else
11627     # With GCC up to 2.95.x, collect2 would create an import file
11628     # for dependence libraries.  The import file would start with
11629     # the line `#! .'.  This would cause the generated library to
11630     # depend on `.', always an invalid library.  This was fixed in
11631     # development snapshots of GCC prior to 3.0.
11632     case $host_os in
11633       aix4 | aix4.[01] | aix4.[01].*)
11634       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11635            echo ' yes '
11636            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11637         :
11638       else
11639         can_build_shared=no
11640       fi
11641       ;;
11642     esac
11643     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11644     # soname into executable. Probably we can add versioning support to
11645     # collect2, so additional links can be useful in future.
11646     if test "$aix_use_runtimelinking" = yes; then
11647       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11648       # instead of lib<name>.a to let people know that these are not
11649       # typical AIX shared libraries.
11650       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11651     else
11652       # We preserve .a as extension for shared libraries through AIX4.2
11653       # and later when we are not doing run time linking.
11654       library_names_spec='${libname}${release}.a $libname.a'
11655       soname_spec='${libname}${release}${shared_ext}$major'
11656     fi
11657     shlibpath_var=LIBPATH
11658   fi
11659   ;;
11660
11661 amigaos*)
11662   case $host_cpu in
11663   powerpc)
11664     # Since July 2007 AmigaOS4 officially supports .so libraries.
11665     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11666     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11667     ;;
11668   m68k)
11669     library_names_spec='$libname.ixlibrary $libname.a'
11670     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11671     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11672     ;;
11673   esac
11674   ;;
11675
11676 beos*)
11677   library_names_spec='${libname}${shared_ext}'
11678   dynamic_linker="$host_os ld.so"
11679   shlibpath_var=LIBRARY_PATH
11680   ;;
11681
11682 bsdi[45]*)
11683   version_type=linux # correct to gnu/linux during the next big refactor
11684   need_version=no
11685   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11686   soname_spec='${libname}${release}${shared_ext}$major'
11687   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11688   shlibpath_var=LD_LIBRARY_PATH
11689   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11690   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11691   # the default ld.so.conf also contains /usr/contrib/lib and
11692   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11693   # libtool to hard-code these into programs
11694   ;;
11695
11696 cygwin* | mingw* | pw32* | cegcc*)
11697   version_type=windows
11698   shrext_cmds=".dll"
11699   need_version=no
11700   need_lib_prefix=no
11701
11702   case $GCC,$cc_basename in
11703   yes,*)
11704     # gcc
11705     library_names_spec='$libname.dll.a'
11706     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11707     postinstall_cmds='base_file=`basename \${file}`~
11708       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11709       dldir=$destdir/`dirname \$dlpath`~
11710       test -d \$dldir || mkdir -p \$dldir~
11711       $install_prog $dir/$dlname \$dldir/$dlname~
11712       chmod a+x \$dldir/$dlname~
11713       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11714         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11715       fi'
11716     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11717       dlpath=$dir/\$dldll~
11718        $RM \$dlpath'
11719     shlibpath_overrides_runpath=yes
11720
11721     case $host_os in
11722     cygwin*)
11723       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11724       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11725
11726       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11727       ;;
11728     mingw* | cegcc*)
11729       # MinGW DLLs use traditional 'lib' prefix
11730       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11731       ;;
11732     pw32*)
11733       # pw32 DLLs use 'pw' prefix rather than 'lib'
11734       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11735       ;;
11736     esac
11737     dynamic_linker='Win32 ld.exe'
11738     ;;
11739
11740   *,cl*)
11741     # Native MSVC
11742     libname_spec='$name'
11743     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11744     library_names_spec='${libname}.dll.lib'
11745
11746     case $build_os in
11747     mingw*)
11748       sys_lib_search_path_spec=
11749       lt_save_ifs=$IFS
11750       IFS=';'
11751       for lt_path in $LIB
11752       do
11753         IFS=$lt_save_ifs
11754         # Let DOS variable expansion print the short 8.3 style file name.
11755         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11756         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11757       done
11758       IFS=$lt_save_ifs
11759       # Convert to MSYS style.
11760       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11761       ;;
11762     cygwin*)
11763       # Convert to unix form, then to dos form, then back to unix form
11764       # but this time dos style (no spaces!) so that the unix form looks
11765       # like /cygdrive/c/PROGRA~1:/cygdr...
11766       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11767       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11768       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11769       ;;
11770     *)
11771       sys_lib_search_path_spec="$LIB"
11772       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11773         # It is most probably a Windows format PATH.
11774         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11775       else
11776         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11777       fi
11778       # FIXME: find the short name or the path components, as spaces are
11779       # common. (e.g. "Program Files" -> "PROGRA~1")
11780       ;;
11781     esac
11782
11783     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11784     postinstall_cmds='base_file=`basename \${file}`~
11785       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11786       dldir=$destdir/`dirname \$dlpath`~
11787       test -d \$dldir || mkdir -p \$dldir~
11788       $install_prog $dir/$dlname \$dldir/$dlname'
11789     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11790       dlpath=$dir/\$dldll~
11791        $RM \$dlpath'
11792     shlibpath_overrides_runpath=yes
11793     dynamic_linker='Win32 link.exe'
11794     ;;
11795
11796   *)
11797     # Assume MSVC wrapper
11798     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11799     dynamic_linker='Win32 ld.exe'
11800     ;;
11801   esac
11802   # FIXME: first we should search . and the directory the executable is in
11803   shlibpath_var=PATH
11804   ;;
11805
11806 darwin* | rhapsody*)
11807   dynamic_linker="$host_os dyld"
11808   version_type=darwin
11809   need_lib_prefix=no
11810   need_version=no
11811   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11812   soname_spec='${libname}${release}${major}$shared_ext'
11813   shlibpath_overrides_runpath=yes
11814   shlibpath_var=DYLD_LIBRARY_PATH
11815   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11816
11817   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11818   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11819   ;;
11820
11821 dgux*)
11822   version_type=linux # correct to gnu/linux during the next big refactor
11823   need_lib_prefix=no
11824   need_version=no
11825   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11826   soname_spec='${libname}${release}${shared_ext}$major'
11827   shlibpath_var=LD_LIBRARY_PATH
11828   ;;
11829
11830 freebsd* | dragonfly*)
11831   # DragonFly does not have aout.  When/if they implement a new
11832   # versioning mechanism, adjust this.
11833   if test -x /usr/bin/objformat; then
11834     objformat=`/usr/bin/objformat`
11835   else
11836     case $host_os in
11837     freebsd[23].*) objformat=aout ;;
11838     *) objformat=elf ;;
11839     esac
11840   fi
11841   version_type=freebsd-$objformat
11842   case $version_type in
11843     freebsd-elf*)
11844       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11845       need_version=no
11846       need_lib_prefix=no
11847       ;;
11848     freebsd-*)
11849       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11850       need_version=yes
11851       ;;
11852   esac
11853   shlibpath_var=LD_LIBRARY_PATH
11854   case $host_os in
11855   freebsd2.*)
11856     shlibpath_overrides_runpath=yes
11857     ;;
11858   freebsd3.[01]* | freebsdelf3.[01]*)
11859     shlibpath_overrides_runpath=yes
11860     hardcode_into_libs=yes
11861     ;;
11862   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11863   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11864     shlibpath_overrides_runpath=no
11865     hardcode_into_libs=yes
11866     ;;
11867   *) # from 4.6 on, and DragonFly
11868     shlibpath_overrides_runpath=yes
11869     hardcode_into_libs=yes
11870     ;;
11871   esac
11872   ;;
11873
11874 gnu*)
11875   version_type=linux # correct to gnu/linux during the next big refactor
11876   need_lib_prefix=no
11877   need_version=no
11878   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11879   soname_spec='${libname}${release}${shared_ext}$major'
11880   shlibpath_var=LD_LIBRARY_PATH
11881   shlibpath_overrides_runpath=no
11882   hardcode_into_libs=yes
11883   ;;
11884
11885 haiku*)
11886   version_type=linux # correct to gnu/linux during the next big refactor
11887   need_lib_prefix=no
11888   need_version=no
11889   dynamic_linker="$host_os runtime_loader"
11890   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11891   soname_spec='${libname}${release}${shared_ext}$major'
11892   shlibpath_var=LIBRARY_PATH
11893   shlibpath_overrides_runpath=yes
11894   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11895   hardcode_into_libs=yes
11896   ;;
11897
11898 hpux9* | hpux10* | hpux11*)
11899   # Give a soname corresponding to the major version so that dld.sl refuses to
11900   # link against other versions.
11901   version_type=sunos
11902   need_lib_prefix=no
11903   need_version=no
11904   case $host_cpu in
11905   ia64*)
11906     shrext_cmds='.so'
11907     hardcode_into_libs=yes
11908     dynamic_linker="$host_os dld.so"
11909     shlibpath_var=LD_LIBRARY_PATH
11910     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11911     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11912     soname_spec='${libname}${release}${shared_ext}$major'
11913     if test "X$HPUX_IA64_MODE" = X32; then
11914       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11915     else
11916       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11917     fi
11918     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11919     ;;
11920   hppa*64*)
11921     shrext_cmds='.sl'
11922     hardcode_into_libs=yes
11923     dynamic_linker="$host_os dld.sl"
11924     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11925     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11926     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11927     soname_spec='${libname}${release}${shared_ext}$major'
11928     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11929     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11930     ;;
11931   *)
11932     shrext_cmds='.sl'
11933     dynamic_linker="$host_os dld.sl"
11934     shlibpath_var=SHLIB_PATH
11935     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11936     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11937     soname_spec='${libname}${release}${shared_ext}$major'
11938     ;;
11939   esac
11940   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11941   postinstall_cmds='chmod 555 $lib'
11942   # or fails outright, so override atomically:
11943   install_override_mode=555
11944   ;;
11945
11946 interix[3-9]*)
11947   version_type=linux # correct to gnu/linux during the next big refactor
11948   need_lib_prefix=no
11949   need_version=no
11950   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11951   soname_spec='${libname}${release}${shared_ext}$major'
11952   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11953   shlibpath_var=LD_LIBRARY_PATH
11954   shlibpath_overrides_runpath=no
11955   hardcode_into_libs=yes
11956   ;;
11957
11958 irix5* | irix6* | nonstopux*)
11959   case $host_os in
11960     nonstopux*) version_type=nonstopux ;;
11961     *)
11962         if test "$lt_cv_prog_gnu_ld" = yes; then
11963                 version_type=linux # correct to gnu/linux during the next big refactor
11964         else
11965                 version_type=irix
11966         fi ;;
11967   esac
11968   need_lib_prefix=no
11969   need_version=no
11970   soname_spec='${libname}${release}${shared_ext}$major'
11971   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11972   case $host_os in
11973   irix5* | nonstopux*)
11974     libsuff= shlibsuff=
11975     ;;
11976   *)
11977     case $LD in # libtool.m4 will add one of these switches to LD
11978     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11979       libsuff= shlibsuff= libmagic=32-bit;;
11980     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11981       libsuff=32 shlibsuff=N32 libmagic=N32;;
11982     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11983       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11984     *) libsuff= shlibsuff= libmagic=never-match;;
11985     esac
11986     ;;
11987   esac
11988   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11989   shlibpath_overrides_runpath=no
11990   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11991   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11992   hardcode_into_libs=yes
11993   ;;
11994
11995 # No shared lib support for Linux oldld, aout, or coff.
11996 linux*oldld* | linux*aout* | linux*coff*)
11997   dynamic_linker=no
11998   ;;
11999
12000 # This must be glibc/ELF.
12001 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12002   version_type=linux # correct to gnu/linux during the next big refactor
12003   need_lib_prefix=no
12004   need_version=no
12005   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12006   soname_spec='${libname}${release}${shared_ext}$major'
12007   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12008   shlibpath_var=LD_LIBRARY_PATH
12009   shlibpath_overrides_runpath=no
12010
12011   # Some binutils ld are patched to set DT_RUNPATH
12012   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12013   $as_echo_n "(cached) " >&6
12014 else
12015   lt_cv_shlibpath_overrides_runpath=no
12016     save_LDFLAGS=$LDFLAGS
12017     save_libdir=$libdir
12018     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12019          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12020     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12021 /* end confdefs.h.  */
12022
12023 int
12024 main ()
12025 {
12026
12027   ;
12028   return 0;
12029 }
12030 _ACEOF
12031 if ac_fn_c_try_link "$LINENO"; then :
12032   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12033   lt_cv_shlibpath_overrides_runpath=yes
12034 fi
12035 fi
12036 rm -f core conftest.err conftest.$ac_objext \
12037     conftest$ac_exeext conftest.$ac_ext
12038     LDFLAGS=$save_LDFLAGS
12039     libdir=$save_libdir
12040
12041 fi
12042
12043   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12044
12045   # This implies no fast_install, which is unacceptable.
12046   # Some rework will be needed to allow for fast_install
12047   # before this can be enabled.
12048   hardcode_into_libs=yes
12049
12050   # Add ABI-specific directories to the system library path.
12051   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
12052
12053   # Append ld.so.conf contents to the search path
12054   if test -f /etc/ld.so.conf; then
12055     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
12056     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12057
12058   fi
12059
12060   # We used to test for /lib/ld.so.1 and disable shared libraries on
12061   # powerpc, because MkLinux only supported shared libraries with the
12062   # GNU dynamic linker.  Since this was broken with cross compilers,
12063   # most powerpc-linux boxes support dynamic linking these days and
12064   # people can always --disable-shared, the test was removed, and we
12065   # assume the GNU/Linux dynamic linker is in use.
12066   dynamic_linker='GNU/Linux ld.so'
12067   ;;
12068
12069 netbsd*)
12070   version_type=sunos
12071   need_lib_prefix=no
12072   need_version=no
12073   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12074     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12075     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12076     dynamic_linker='NetBSD (a.out) ld.so'
12077   else
12078     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12079     soname_spec='${libname}${release}${shared_ext}$major'
12080     dynamic_linker='NetBSD ld.elf_so'
12081   fi
12082   shlibpath_var=LD_LIBRARY_PATH
12083   shlibpath_overrides_runpath=yes
12084   hardcode_into_libs=yes
12085   ;;
12086
12087 newsos6)
12088   version_type=linux # correct to gnu/linux during the next big refactor
12089   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12090   shlibpath_var=LD_LIBRARY_PATH
12091   shlibpath_overrides_runpath=yes
12092   ;;
12093
12094 *nto* | *qnx*)
12095   version_type=qnx
12096   need_lib_prefix=no
12097   need_version=no
12098   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12099   soname_spec='${libname}${release}${shared_ext}$major'
12100   shlibpath_var=LD_LIBRARY_PATH
12101   shlibpath_overrides_runpath=no
12102   hardcode_into_libs=yes
12103   dynamic_linker='ldqnx.so'
12104   ;;
12105
12106 openbsd*)
12107   version_type=sunos
12108   sys_lib_dlsearch_path_spec="/usr/lib"
12109   need_lib_prefix=no
12110   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12111   case $host_os in
12112     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
12113     *)                          need_version=no  ;;
12114   esac
12115   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12116   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12117   shlibpath_var=LD_LIBRARY_PATH
12118   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12119     case $host_os in
12120       openbsd2.[89] | openbsd2.[89].*)
12121         shlibpath_overrides_runpath=no
12122         ;;
12123       *)
12124         shlibpath_overrides_runpath=yes
12125         ;;
12126       esac
12127   else
12128     shlibpath_overrides_runpath=yes
12129   fi
12130   ;;
12131
12132 os2*)
12133   libname_spec='$name'
12134   shrext_cmds=".dll"
12135   need_lib_prefix=no
12136   library_names_spec='$libname${shared_ext} $libname.a'
12137   dynamic_linker='OS/2 ld.exe'
12138   shlibpath_var=LIBPATH
12139   ;;
12140
12141 osf3* | osf4* | osf5*)
12142   version_type=osf
12143   need_lib_prefix=no
12144   need_version=no
12145   soname_spec='${libname}${release}${shared_ext}$major'
12146   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12147   shlibpath_var=LD_LIBRARY_PATH
12148   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12149   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12150   ;;
12151
12152 rdos*)
12153   dynamic_linker=no
12154   ;;
12155
12156 solaris*)
12157   version_type=linux # correct to gnu/linux during the next big refactor
12158   need_lib_prefix=no
12159   need_version=no
12160   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12161   soname_spec='${libname}${release}${shared_ext}$major'
12162   shlibpath_var=LD_LIBRARY_PATH
12163   shlibpath_overrides_runpath=yes
12164   hardcode_into_libs=yes
12165   # ldd complains unless libraries are executable
12166   postinstall_cmds='chmod +x $lib'
12167   ;;
12168
12169 sunos4*)
12170   version_type=sunos
12171   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12172   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12173   shlibpath_var=LD_LIBRARY_PATH
12174   shlibpath_overrides_runpath=yes
12175   if test "$with_gnu_ld" = yes; then
12176     need_lib_prefix=no
12177   fi
12178   need_version=yes
12179   ;;
12180
12181 sysv4 | sysv4.3*)
12182   version_type=linux # correct to gnu/linux during the next big refactor
12183   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12184   soname_spec='${libname}${release}${shared_ext}$major'
12185   shlibpath_var=LD_LIBRARY_PATH
12186   case $host_vendor in
12187     sni)
12188       shlibpath_overrides_runpath=no
12189       need_lib_prefix=no
12190       runpath_var=LD_RUN_PATH
12191       ;;
12192     siemens)
12193       need_lib_prefix=no
12194       ;;
12195     motorola)
12196       need_lib_prefix=no
12197       need_version=no
12198       shlibpath_overrides_runpath=no
12199       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12200       ;;
12201   esac
12202   ;;
12203
12204 sysv4*MP*)
12205   if test -d /usr/nec ;then
12206     version_type=linux # correct to gnu/linux during the next big refactor
12207     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12208     soname_spec='$libname${shared_ext}.$major'
12209     shlibpath_var=LD_LIBRARY_PATH
12210   fi
12211   ;;
12212
12213 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12214   version_type=freebsd-elf
12215   need_lib_prefix=no
12216   need_version=no
12217   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12218   soname_spec='${libname}${release}${shared_ext}$major'
12219   shlibpath_var=LD_LIBRARY_PATH
12220   shlibpath_overrides_runpath=yes
12221   hardcode_into_libs=yes
12222   if test "$with_gnu_ld" = yes; then
12223     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12224   else
12225     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12226     case $host_os in
12227       sco3.2v5*)
12228         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12229         ;;
12230     esac
12231   fi
12232   sys_lib_dlsearch_path_spec='/usr/lib'
12233   ;;
12234
12235 tpf*)
12236   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12237   version_type=linux # correct to gnu/linux during the next big refactor
12238   need_lib_prefix=no
12239   need_version=no
12240   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12241   shlibpath_var=LD_LIBRARY_PATH
12242   shlibpath_overrides_runpath=no
12243   hardcode_into_libs=yes
12244   ;;
12245
12246 uts4*)
12247   version_type=linux # correct to gnu/linux during the next big refactor
12248   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12249   soname_spec='${libname}${release}${shared_ext}$major'
12250   shlibpath_var=LD_LIBRARY_PATH
12251   ;;
12252
12253 *)
12254   dynamic_linker=no
12255   ;;
12256 esac
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12258 $as_echo "$dynamic_linker" >&6; }
12259 test "$dynamic_linker" = no && can_build_shared=no
12260
12261 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12262 if test "$GCC" = yes; then
12263   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12264 fi
12265
12266 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12267   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12268 fi
12269 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12270   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12271 fi
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12365 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12366 hardcode_action=
12367 if test -n "$hardcode_libdir_flag_spec" ||
12368    test -n "$runpath_var" ||
12369    test "X$hardcode_automatic" = "Xyes" ; then
12370
12371   # We can hardcode non-existent directories.
12372   if test "$hardcode_direct" != no &&
12373      # If the only mechanism to avoid hardcoding is shlibpath_var, we
12374      # have to relink, otherwise we might link with an installed library
12375      # when we should be linking with a yet-to-be-installed one
12376      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12377      test "$hardcode_minus_L" != no; then
12378     # Linking always hardcodes the temporary library directory.
12379     hardcode_action=relink
12380   else
12381     # We can link without hardcoding, and we can hardcode nonexisting dirs.
12382     hardcode_action=immediate
12383   fi
12384 else
12385   # We cannot hardcode anything, or else we can only hardcode existing
12386   # directories.
12387   hardcode_action=unsupported
12388 fi
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12390 $as_echo "$hardcode_action" >&6; }
12391
12392 if test "$hardcode_action" = relink ||
12393    test "$inherit_rpath" = yes; then
12394   # Fast installation is not supported
12395   enable_fast_install=no
12396 elif test "$shlibpath_overrides_runpath" = yes ||
12397      test "$enable_shared" = no; then
12398   # Fast installation is not necessary
12399   enable_fast_install=needless
12400 fi
12401
12402
12403
12404
12405
12406
12407   if test "x$enable_dlopen" != xyes; then
12408   enable_dlopen=unknown
12409   enable_dlopen_self=unknown
12410   enable_dlopen_self_static=unknown
12411 else
12412   lt_cv_dlopen=no
12413   lt_cv_dlopen_libs=
12414
12415   case $host_os in
12416   beos*)
12417     lt_cv_dlopen="load_add_on"
12418     lt_cv_dlopen_libs=
12419     lt_cv_dlopen_self=yes
12420     ;;
12421
12422   mingw* | pw32* | cegcc*)
12423     lt_cv_dlopen="LoadLibrary"
12424     lt_cv_dlopen_libs=
12425     ;;
12426
12427   cygwin*)
12428     lt_cv_dlopen="dlopen"
12429     lt_cv_dlopen_libs=
12430     ;;
12431
12432   darwin*)
12433   # if libdl is installed we need to link against it
12434     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12435 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12436 if ${ac_cv_lib_dl_dlopen+:} false; then :
12437   $as_echo_n "(cached) " >&6
12438 else
12439   ac_check_lib_save_LIBS=$LIBS
12440 LIBS="-ldl  $LIBS"
12441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12442 /* end confdefs.h.  */
12443
12444 /* Override any GCC internal prototype to avoid an error.
12445    Use char because int might match the return type of a GCC
12446    builtin and then its argument prototype would still apply.  */
12447 #ifdef __cplusplus
12448 extern "C"
12449 #endif
12450 char dlopen ();
12451 int
12452 main ()
12453 {
12454 return dlopen ();
12455   ;
12456   return 0;
12457 }
12458 _ACEOF
12459 if ac_fn_c_try_link "$LINENO"; then :
12460   ac_cv_lib_dl_dlopen=yes
12461 else
12462   ac_cv_lib_dl_dlopen=no
12463 fi
12464 rm -f core conftest.err conftest.$ac_objext \
12465     conftest$ac_exeext conftest.$ac_ext
12466 LIBS=$ac_check_lib_save_LIBS
12467 fi
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12469 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12470 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12471   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12472 else
12473
12474     lt_cv_dlopen="dyld"
12475     lt_cv_dlopen_libs=
12476     lt_cv_dlopen_self=yes
12477
12478 fi
12479
12480     ;;
12481
12482   *)
12483     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12484 if test "x$ac_cv_func_shl_load" = xyes; then :
12485   lt_cv_dlopen="shl_load"
12486 else
12487   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12488 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12489 if ${ac_cv_lib_dld_shl_load+:} false; then :
12490   $as_echo_n "(cached) " >&6
12491 else
12492   ac_check_lib_save_LIBS=$LIBS
12493 LIBS="-ldld  $LIBS"
12494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12495 /* end confdefs.h.  */
12496
12497 /* Override any GCC internal prototype to avoid an error.
12498    Use char because int might match the return type of a GCC
12499    builtin and then its argument prototype would still apply.  */
12500 #ifdef __cplusplus
12501 extern "C"
12502 #endif
12503 char shl_load ();
12504 int
12505 main ()
12506 {
12507 return shl_load ();
12508   ;
12509   return 0;
12510 }
12511 _ACEOF
12512 if ac_fn_c_try_link "$LINENO"; then :
12513   ac_cv_lib_dld_shl_load=yes
12514 else
12515   ac_cv_lib_dld_shl_load=no
12516 fi
12517 rm -f core conftest.err conftest.$ac_objext \
12518     conftest$ac_exeext conftest.$ac_ext
12519 LIBS=$ac_check_lib_save_LIBS
12520 fi
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12522 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12523 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12524   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12525 else
12526   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12527 if test "x$ac_cv_func_dlopen" = xyes; then :
12528   lt_cv_dlopen="dlopen"
12529 else
12530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12531 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12532 if ${ac_cv_lib_dl_dlopen+:} false; then :
12533   $as_echo_n "(cached) " >&6
12534 else
12535   ac_check_lib_save_LIBS=$LIBS
12536 LIBS="-ldl  $LIBS"
12537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12538 /* end confdefs.h.  */
12539
12540 /* Override any GCC internal prototype to avoid an error.
12541    Use char because int might match the return type of a GCC
12542    builtin and then its argument prototype would still apply.  */
12543 #ifdef __cplusplus
12544 extern "C"
12545 #endif
12546 char dlopen ();
12547 int
12548 main ()
12549 {
12550 return dlopen ();
12551   ;
12552   return 0;
12553 }
12554 _ACEOF
12555 if ac_fn_c_try_link "$LINENO"; then :
12556   ac_cv_lib_dl_dlopen=yes
12557 else
12558   ac_cv_lib_dl_dlopen=no
12559 fi
12560 rm -f core conftest.err conftest.$ac_objext \
12561     conftest$ac_exeext conftest.$ac_ext
12562 LIBS=$ac_check_lib_save_LIBS
12563 fi
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12565 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12566 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12567   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12568 else
12569   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12570 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12571 if ${ac_cv_lib_svld_dlopen+:} false; then :
12572   $as_echo_n "(cached) " >&6
12573 else
12574   ac_check_lib_save_LIBS=$LIBS
12575 LIBS="-lsvld  $LIBS"
12576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12577 /* end confdefs.h.  */
12578
12579 /* Override any GCC internal prototype to avoid an error.
12580    Use char because int might match the return type of a GCC
12581    builtin and then its argument prototype would still apply.  */
12582 #ifdef __cplusplus
12583 extern "C"
12584 #endif
12585 char dlopen ();
12586 int
12587 main ()
12588 {
12589 return dlopen ();
12590   ;
12591   return 0;
12592 }
12593 _ACEOF
12594 if ac_fn_c_try_link "$LINENO"; then :
12595   ac_cv_lib_svld_dlopen=yes
12596 else
12597   ac_cv_lib_svld_dlopen=no
12598 fi
12599 rm -f core conftest.err conftest.$ac_objext \
12600     conftest$ac_exeext conftest.$ac_ext
12601 LIBS=$ac_check_lib_save_LIBS
12602 fi
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12604 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12605 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12606   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12607 else
12608   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12609 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12610 if ${ac_cv_lib_dld_dld_link+:} false; then :
12611   $as_echo_n "(cached) " >&6
12612 else
12613   ac_check_lib_save_LIBS=$LIBS
12614 LIBS="-ldld  $LIBS"
12615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12616 /* end confdefs.h.  */
12617
12618 /* Override any GCC internal prototype to avoid an error.
12619    Use char because int might match the return type of a GCC
12620    builtin and then its argument prototype would still apply.  */
12621 #ifdef __cplusplus
12622 extern "C"
12623 #endif
12624 char dld_link ();
12625 int
12626 main ()
12627 {
12628 return dld_link ();
12629   ;
12630   return 0;
12631 }
12632 _ACEOF
12633 if ac_fn_c_try_link "$LINENO"; then :
12634   ac_cv_lib_dld_dld_link=yes
12635 else
12636   ac_cv_lib_dld_dld_link=no
12637 fi
12638 rm -f core conftest.err conftest.$ac_objext \
12639     conftest$ac_exeext conftest.$ac_ext
12640 LIBS=$ac_check_lib_save_LIBS
12641 fi
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12643 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12644 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12645   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12646 fi
12647
12648
12649 fi
12650
12651
12652 fi
12653
12654
12655 fi
12656
12657
12658 fi
12659
12660
12661 fi
12662
12663     ;;
12664   esac
12665
12666   if test "x$lt_cv_dlopen" != xno; then
12667     enable_dlopen=yes
12668   else
12669     enable_dlopen=no
12670   fi
12671
12672   case $lt_cv_dlopen in
12673   dlopen)
12674     save_CPPFLAGS="$CPPFLAGS"
12675     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12676
12677     save_LDFLAGS="$LDFLAGS"
12678     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12679
12680     save_LIBS="$LIBS"
12681     LIBS="$lt_cv_dlopen_libs $LIBS"
12682
12683     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12684 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12685 if ${lt_cv_dlopen_self+:} false; then :
12686   $as_echo_n "(cached) " >&6
12687 else
12688           if test "$cross_compiling" = yes; then :
12689   lt_cv_dlopen_self=cross
12690 else
12691   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12692   lt_status=$lt_dlunknown
12693   cat > conftest.$ac_ext <<_LT_EOF
12694 #line $LINENO "configure"
12695 #include "confdefs.h"
12696
12697 #if HAVE_DLFCN_H
12698 #include <dlfcn.h>
12699 #endif
12700
12701 #include <stdio.h>
12702
12703 #ifdef RTLD_GLOBAL
12704 #  define LT_DLGLOBAL           RTLD_GLOBAL
12705 #else
12706 #  ifdef DL_GLOBAL
12707 #    define LT_DLGLOBAL         DL_GLOBAL
12708 #  else
12709 #    define LT_DLGLOBAL         0
12710 #  endif
12711 #endif
12712
12713 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12714    find out it does not work in some platform. */
12715 #ifndef LT_DLLAZY_OR_NOW
12716 #  ifdef RTLD_LAZY
12717 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12718 #  else
12719 #    ifdef DL_LAZY
12720 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12721 #    else
12722 #      ifdef RTLD_NOW
12723 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12724 #      else
12725 #        ifdef DL_NOW
12726 #          define LT_DLLAZY_OR_NOW      DL_NOW
12727 #        else
12728 #          define LT_DLLAZY_OR_NOW      0
12729 #        endif
12730 #      endif
12731 #    endif
12732 #  endif
12733 #endif
12734
12735 /* When -fvisbility=hidden is used, assume the code has been annotated
12736    correspondingly for the symbols needed.  */
12737 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12738 int fnord () __attribute__((visibility("default")));
12739 #endif
12740
12741 int fnord () { return 42; }
12742 int main ()
12743 {
12744   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12745   int status = $lt_dlunknown;
12746
12747   if (self)
12748     {
12749       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12750       else
12751         {
12752           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12753           else puts (dlerror ());
12754         }
12755       /* dlclose (self); */
12756     }
12757   else
12758     puts (dlerror ());
12759
12760   return status;
12761 }
12762 _LT_EOF
12763   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12764   (eval $ac_link) 2>&5
12765   ac_status=$?
12766   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12767   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12768     (./conftest; exit; ) >&5 2>/dev/null
12769     lt_status=$?
12770     case x$lt_status in
12771       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12772       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12773       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12774     esac
12775   else :
12776     # compilation failed
12777     lt_cv_dlopen_self=no
12778   fi
12779 fi
12780 rm -fr conftest*
12781
12782
12783 fi
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12785 $as_echo "$lt_cv_dlopen_self" >&6; }
12786
12787     if test "x$lt_cv_dlopen_self" = xyes; then
12788       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12789       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12790 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12791 if ${lt_cv_dlopen_self_static+:} false; then :
12792   $as_echo_n "(cached) " >&6
12793 else
12794           if test "$cross_compiling" = yes; then :
12795   lt_cv_dlopen_self_static=cross
12796 else
12797   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12798   lt_status=$lt_dlunknown
12799   cat > conftest.$ac_ext <<_LT_EOF
12800 #line $LINENO "configure"
12801 #include "confdefs.h"
12802
12803 #if HAVE_DLFCN_H
12804 #include <dlfcn.h>
12805 #endif
12806
12807 #include <stdio.h>
12808
12809 #ifdef RTLD_GLOBAL
12810 #  define LT_DLGLOBAL           RTLD_GLOBAL
12811 #else
12812 #  ifdef DL_GLOBAL
12813 #    define LT_DLGLOBAL         DL_GLOBAL
12814 #  else
12815 #    define LT_DLGLOBAL         0
12816 #  endif
12817 #endif
12818
12819 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12820    find out it does not work in some platform. */
12821 #ifndef LT_DLLAZY_OR_NOW
12822 #  ifdef RTLD_LAZY
12823 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12824 #  else
12825 #    ifdef DL_LAZY
12826 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12827 #    else
12828 #      ifdef RTLD_NOW
12829 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12830 #      else
12831 #        ifdef DL_NOW
12832 #          define LT_DLLAZY_OR_NOW      DL_NOW
12833 #        else
12834 #          define LT_DLLAZY_OR_NOW      0
12835 #        endif
12836 #      endif
12837 #    endif
12838 #  endif
12839 #endif
12840
12841 /* When -fvisbility=hidden is used, assume the code has been annotated
12842    correspondingly for the symbols needed.  */
12843 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12844 int fnord () __attribute__((visibility("default")));
12845 #endif
12846
12847 int fnord () { return 42; }
12848 int main ()
12849 {
12850   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12851   int status = $lt_dlunknown;
12852
12853   if (self)
12854     {
12855       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12856       else
12857         {
12858           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12859           else puts (dlerror ());
12860         }
12861       /* dlclose (self); */
12862     }
12863   else
12864     puts (dlerror ());
12865
12866   return status;
12867 }
12868 _LT_EOF
12869   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12870   (eval $ac_link) 2>&5
12871   ac_status=$?
12872   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12873   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12874     (./conftest; exit; ) >&5 2>/dev/null
12875     lt_status=$?
12876     case x$lt_status in
12877       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12878       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12879       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12880     esac
12881   else :
12882     # compilation failed
12883     lt_cv_dlopen_self_static=no
12884   fi
12885 fi
12886 rm -fr conftest*
12887
12888
12889 fi
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12891 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12892     fi
12893
12894     CPPFLAGS="$save_CPPFLAGS"
12895     LDFLAGS="$save_LDFLAGS"
12896     LIBS="$save_LIBS"
12897     ;;
12898   esac
12899
12900   case $lt_cv_dlopen_self in
12901   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12902   *) enable_dlopen_self=unknown ;;
12903   esac
12904
12905   case $lt_cv_dlopen_self_static in
12906   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12907   *) enable_dlopen_self_static=unknown ;;
12908   esac
12909 fi
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927 striplib=
12928 old_striplib=
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12930 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12931 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12932   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12933   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12935 $as_echo "yes" >&6; }
12936 else
12937 # FIXME - insert some real tests, host_os isn't really good enough
12938   case $host_os in
12939   darwin*)
12940     if test -n "$STRIP" ; then
12941       striplib="$STRIP -x"
12942       old_striplib="$STRIP -S"
12943       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12944 $as_echo "yes" >&6; }
12945     else
12946       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12947 $as_echo "no" >&6; }
12948     fi
12949     ;;
12950   *)
12951     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12952 $as_echo "no" >&6; }
12953     ;;
12954   esac
12955 fi
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968   # Report which library types will actually be built
12969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12970 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12972 $as_echo "$can_build_shared" >&6; }
12973
12974   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12975 $as_echo_n "checking whether to build shared libraries... " >&6; }
12976   test "$can_build_shared" = "no" && enable_shared=no
12977
12978   # On AIX, shared libraries and static libraries use the same namespace, and
12979   # are all built from PIC.
12980   case $host_os in
12981   aix3*)
12982     test "$enable_shared" = yes && enable_static=no
12983     if test -n "$RANLIB"; then
12984       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12985       postinstall_cmds='$RANLIB $lib'
12986     fi
12987     ;;
12988
12989   aix[4-9]*)
12990     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12991       test "$enable_shared" = yes && enable_static=no
12992     fi
12993     ;;
12994   esac
12995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12996 $as_echo "$enable_shared" >&6; }
12997
12998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12999 $as_echo_n "checking whether to build static libraries... " >&6; }
13000   # Make sure either enable_shared or enable_static is yes.
13001   test "$enable_shared" = yes || enable_static=yes
13002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13003 $as_echo "$enable_static" >&6; }
13004
13005
13006
13007
13008 fi
13009 ac_ext=c
13010 ac_cpp='$CPP $CPPFLAGS'
13011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13014
13015 CC="$lt_save_CC"
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031         ac_config_commands="$ac_config_commands libtool"
13032
13033
13034
13035
13036 # Only expand once:
13037
13038
13039
13040 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
13041 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
13042
13043
13044
13045 cat >>confdefs.h <<_ACEOF
13046 #define VERS_MAJ 1
13047 _ACEOF
13048
13049
13050 cat >>confdefs.h <<_ACEOF
13051 #define VERS_MIN 7
13052 _ACEOF
13053
13054
13055 cat >>confdefs.h <<_ACEOF
13056 #define VERS_MIC 8
13057 _ACEOF
13058
13059
13060 cat >>confdefs.h <<_ACEOF
13061 #define VERS_REV 0
13062 _ACEOF
13063
13064 version_info="8:8:7"
13065 release_info=""
13066
13067
13068 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
13069 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
13070 VMAJ=1
13071
13072
13073
13074
13075
13076
13077 mkdir_p="$MKDIR_P"
13078 case $mkdir_p in
13079   [\\/$]* | ?:[\\/]*) ;;
13080   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
13081 esac
13082
13083
13084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13085 $as_echo_n "checking whether NLS is requested... " >&6; }
13086     # Check whether --enable-nls was given.
13087 if test "${enable_nls+set}" = set; then :
13088   enableval=$enable_nls; USE_NLS=$enableval
13089 else
13090   USE_NLS=yes
13091 fi
13092
13093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13094 $as_echo "$USE_NLS" >&6; }
13095
13096
13097
13098
13099       GETTEXT_MACRO_VERSION=0.17
13100
13101
13102
13103
13104 # Prepare PATH_SEPARATOR.
13105 # The user is always right.
13106 if test "${PATH_SEPARATOR+set}" != set; then
13107   echo "#! /bin/sh" >conf$$.sh
13108   echo  "exit 0"   >>conf$$.sh
13109   chmod +x conf$$.sh
13110   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13111     PATH_SEPARATOR=';'
13112   else
13113     PATH_SEPARATOR=:
13114   fi
13115   rm -f conf$$.sh
13116 fi
13117
13118 # Find out how to test for executable files. Don't use a zero-byte file,
13119 # as systems may use methods other than mode bits to determine executability.
13120 cat >conf$$.file <<_ASEOF
13121 #! /bin/sh
13122 exit 0
13123 _ASEOF
13124 chmod +x conf$$.file
13125 if test -x conf$$.file >/dev/null 2>&1; then
13126   ac_executable_p="test -x"
13127 else
13128   ac_executable_p="test -f"
13129 fi
13130 rm -f conf$$.file
13131
13132 # Extract the first word of "msgfmt", so it can be a program name with args.
13133 set dummy msgfmt; ac_word=$2
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13135 $as_echo_n "checking for $ac_word... " >&6; }
13136 if ${ac_cv_path_MSGFMT+:} false; then :
13137   $as_echo_n "(cached) " >&6
13138 else
13139   case "$MSGFMT" in
13140   [\\/]* | ?:[\\/]*)
13141     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13142     ;;
13143   *)
13144     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13145     for ac_dir in $PATH; do
13146       IFS="$ac_save_IFS"
13147       test -z "$ac_dir" && ac_dir=.
13148       for ac_exec_ext in '' $ac_executable_extensions; do
13149         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13150           echo "$as_me: trying $ac_dir/$ac_word..." >&5
13151           if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
13152      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13153             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
13154             break 2
13155           fi
13156         fi
13157       done
13158     done
13159     IFS="$ac_save_IFS"
13160   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
13161     ;;
13162 esac
13163 fi
13164 MSGFMT="$ac_cv_path_MSGFMT"
13165 if test "$MSGFMT" != ":"; then
13166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13167 $as_echo "$MSGFMT" >&6; }
13168 else
13169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13170 $as_echo "no" >&6; }
13171 fi
13172
13173   # Extract the first word of "gmsgfmt", so it can be a program name with args.
13174 set dummy gmsgfmt; ac_word=$2
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13176 $as_echo_n "checking for $ac_word... " >&6; }
13177 if ${ac_cv_path_GMSGFMT+:} false; then :
13178   $as_echo_n "(cached) " >&6
13179 else
13180   case $GMSGFMT in
13181   [\\/]* | ?:[\\/]*)
13182   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13183   ;;
13184   *)
13185   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13186 for as_dir in $PATH
13187 do
13188   IFS=$as_save_IFS
13189   test -z "$as_dir" && as_dir=.
13190     for ac_exec_ext in '' $ac_executable_extensions; do
13191   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13192     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13193     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13194     break 2
13195   fi
13196 done
13197   done
13198 IFS=$as_save_IFS
13199
13200   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13201   ;;
13202 esac
13203 fi
13204 GMSGFMT=$ac_cv_path_GMSGFMT
13205 if test -n "$GMSGFMT"; then
13206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13207 $as_echo "$GMSGFMT" >&6; }
13208 else
13209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13210 $as_echo "no" >&6; }
13211 fi
13212
13213
13214
13215     case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13216     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
13217     *) MSGFMT_015=$MSGFMT ;;
13218   esac
13219
13220   case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13221     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
13222     *) GMSGFMT_015=$GMSGFMT ;;
13223   esac
13224
13225
13226
13227 # Prepare PATH_SEPARATOR.
13228 # The user is always right.
13229 if test "${PATH_SEPARATOR+set}" != set; then
13230   echo "#! /bin/sh" >conf$$.sh
13231   echo  "exit 0"   >>conf$$.sh
13232   chmod +x conf$$.sh
13233   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13234     PATH_SEPARATOR=';'
13235   else
13236     PATH_SEPARATOR=:
13237   fi
13238   rm -f conf$$.sh
13239 fi
13240
13241 # Find out how to test for executable files. Don't use a zero-byte file,
13242 # as systems may use methods other than mode bits to determine executability.
13243 cat >conf$$.file <<_ASEOF
13244 #! /bin/sh
13245 exit 0
13246 _ASEOF
13247 chmod +x conf$$.file
13248 if test -x conf$$.file >/dev/null 2>&1; then
13249   ac_executable_p="test -x"
13250 else
13251   ac_executable_p="test -f"
13252 fi
13253 rm -f conf$$.file
13254
13255 # Extract the first word of "xgettext", so it can be a program name with args.
13256 set dummy xgettext; ac_word=$2
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13258 $as_echo_n "checking for $ac_word... " >&6; }
13259 if ${ac_cv_path_XGETTEXT+:} false; then :
13260   $as_echo_n "(cached) " >&6
13261 else
13262   case "$XGETTEXT" in
13263   [\\/]* | ?:[\\/]*)
13264     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13265     ;;
13266   *)
13267     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13268     for ac_dir in $PATH; do
13269       IFS="$ac_save_IFS"
13270       test -z "$ac_dir" && ac_dir=.
13271       for ac_exec_ext in '' $ac_executable_extensions; do
13272         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13273           echo "$as_me: trying $ac_dir/$ac_word..." >&5
13274           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
13275      (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13276             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
13277             break 2
13278           fi
13279         fi
13280       done
13281     done
13282     IFS="$ac_save_IFS"
13283   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13284     ;;
13285 esac
13286 fi
13287 XGETTEXT="$ac_cv_path_XGETTEXT"
13288 if test "$XGETTEXT" != ":"; then
13289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13290 $as_echo "$XGETTEXT" >&6; }
13291 else
13292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13293 $as_echo "no" >&6; }
13294 fi
13295
13296     rm -f messages.po
13297
13298     case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13299     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
13300     *) XGETTEXT_015=$XGETTEXT ;;
13301   esac
13302
13303
13304
13305 # Prepare PATH_SEPARATOR.
13306 # The user is always right.
13307 if test "${PATH_SEPARATOR+set}" != set; then
13308   echo "#! /bin/sh" >conf$$.sh
13309   echo  "exit 0"   >>conf$$.sh
13310   chmod +x conf$$.sh
13311   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13312     PATH_SEPARATOR=';'
13313   else
13314     PATH_SEPARATOR=:
13315   fi
13316   rm -f conf$$.sh
13317 fi
13318
13319 # Find out how to test for executable files. Don't use a zero-byte file,
13320 # as systems may use methods other than mode bits to determine executability.
13321 cat >conf$$.file <<_ASEOF
13322 #! /bin/sh
13323 exit 0
13324 _ASEOF
13325 chmod +x conf$$.file
13326 if test -x conf$$.file >/dev/null 2>&1; then
13327   ac_executable_p="test -x"
13328 else
13329   ac_executable_p="test -f"
13330 fi
13331 rm -f conf$$.file
13332
13333 # Extract the first word of "msgmerge", so it can be a program name with args.
13334 set dummy msgmerge; ac_word=$2
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13336 $as_echo_n "checking for $ac_word... " >&6; }
13337 if ${ac_cv_path_MSGMERGE+:} false; then :
13338   $as_echo_n "(cached) " >&6
13339 else
13340   case "$MSGMERGE" in
13341   [\\/]* | ?:[\\/]*)
13342     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13343     ;;
13344   *)
13345     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13346     for ac_dir in $PATH; do
13347       IFS="$ac_save_IFS"
13348       test -z "$ac_dir" && ac_dir=.
13349       for ac_exec_ext in '' $ac_executable_extensions; do
13350         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13351           echo "$as_me: trying $ac_dir/$ac_word..." >&5
13352           if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
13353             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
13354             break 2
13355           fi
13356         fi
13357       done
13358     done
13359     IFS="$ac_save_IFS"
13360   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
13361     ;;
13362 esac
13363 fi
13364 MSGMERGE="$ac_cv_path_MSGMERGE"
13365 if test "$MSGMERGE" != ":"; then
13366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13367 $as_echo "$MSGMERGE" >&6; }
13368 else
13369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13370 $as_echo "no" >&6; }
13371 fi
13372
13373
13374         test -n "$localedir" || localedir='${datadir}/locale'
13375
13376
13377     test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
13378
13379
13380   ac_config_commands="$ac_config_commands po-directories"
13381
13382
13383
13384       if test "X$prefix" = "XNONE"; then
13385     acl_final_prefix="$ac_default_prefix"
13386   else
13387     acl_final_prefix="$prefix"
13388   fi
13389   if test "X$exec_prefix" = "XNONE"; then
13390     acl_final_exec_prefix='${prefix}'
13391   else
13392     acl_final_exec_prefix="$exec_prefix"
13393   fi
13394   acl_save_prefix="$prefix"
13395   prefix="$acl_final_prefix"
13396   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
13397   prefix="$acl_save_prefix"
13398
13399
13400 # Check whether --with-gnu-ld was given.
13401 if test "${with_gnu_ld+set}" = set; then :
13402   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13403 else
13404   with_gnu_ld=no
13405 fi
13406
13407 # Prepare PATH_SEPARATOR.
13408 # The user is always right.
13409 if test "${PATH_SEPARATOR+set}" != set; then
13410   echo "#! /bin/sh" >conf$$.sh
13411   echo  "exit 0"   >>conf$$.sh
13412   chmod +x conf$$.sh
13413   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13414     PATH_SEPARATOR=';'
13415   else
13416     PATH_SEPARATOR=:
13417   fi
13418   rm -f conf$$.sh
13419 fi
13420 ac_prog=ld
13421 if test "$GCC" = yes; then
13422   # Check if gcc -print-prog-name=ld gives a path.
13423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
13424 $as_echo_n "checking for ld used by GCC... " >&6; }
13425   case $host in
13426   *-*-mingw*)
13427     # gcc leaves a trailing carriage return which upsets mingw
13428     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13429   *)
13430     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13431   esac
13432   case $ac_prog in
13433     # Accept absolute paths.
13434     [\\/]* | [A-Za-z]:[\\/]*)
13435       re_direlt='/[^/][^/]*/\.\./'
13436       # Canonicalize the path of ld
13437       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
13438       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13439         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
13440       done
13441       test -z "$LD" && LD="$ac_prog"
13442       ;;
13443   "")
13444     # If it fails, then pretend we aren't using GCC.
13445     ac_prog=ld
13446     ;;
13447   *)
13448     # If it is relative, then search for the first ld in PATH.
13449     with_gnu_ld=unknown
13450     ;;
13451   esac
13452 elif test "$with_gnu_ld" = yes; then
13453   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13454 $as_echo_n "checking for GNU ld... " >&6; }
13455 else
13456   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13457 $as_echo_n "checking for non-GNU ld... " >&6; }
13458 fi
13459 if ${acl_cv_path_LD+:} false; then :
13460   $as_echo_n "(cached) " >&6
13461 else
13462   if test -z "$LD"; then
13463   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
13464   for ac_dir in $PATH; do
13465     test -z "$ac_dir" && ac_dir=.
13466     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13467       acl_cv_path_LD="$ac_dir/$ac_prog"
13468       # Check to see if the program is GNU ld.  I'd rather use --version,
13469       # but apparently some GNU ld's only accept -v.
13470       # Break only if it was the GNU/non-GNU ld that we prefer.
13471       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
13472       *GNU* | *'with BFD'*)
13473         test "$with_gnu_ld" != no && break ;;
13474       *)
13475         test "$with_gnu_ld" != yes && break ;;
13476       esac
13477     fi
13478   done
13479   IFS="$ac_save_ifs"
13480 else
13481   acl_cv_path_LD="$LD" # Let the user override the test with a path.
13482 fi
13483 fi
13484
13485 LD="$acl_cv_path_LD"
13486 if test -n "$LD"; then
13487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13488 $as_echo "$LD" >&6; }
13489 else
13490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13491 $as_echo "no" >&6; }
13492 fi
13493 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13495 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13496 if ${acl_cv_prog_gnu_ld+:} false; then :
13497   $as_echo_n "(cached) " >&6
13498 else
13499   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13500 case `$LD -v 2>&1 </dev/null` in
13501 *GNU* | *'with BFD'*)
13502   acl_cv_prog_gnu_ld=yes ;;
13503 *)
13504   acl_cv_prog_gnu_ld=no ;;
13505 esac
13506 fi
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
13508 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
13509 with_gnu_ld=$acl_cv_prog_gnu_ld
13510
13511
13512
13513
13514                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
13515 $as_echo_n "checking for shared library run path origin... " >&6; }
13516 if ${acl_cv_rpath+:} false; then :
13517   $as_echo_n "(cached) " >&6
13518 else
13519
13520     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
13521     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
13522     . ./conftest.sh
13523     rm -f ./conftest.sh
13524     acl_cv_rpath=done
13525
13526 fi
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
13528 $as_echo "$acl_cv_rpath" >&6; }
13529   wl="$acl_cv_wl"
13530   acl_libext="$acl_cv_libext"
13531   acl_shlibext="$acl_cv_shlibext"
13532   acl_libname_spec="$acl_cv_libname_spec"
13533   acl_library_names_spec="$acl_cv_library_names_spec"
13534   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
13535   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
13536   acl_hardcode_direct="$acl_cv_hardcode_direct"
13537   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
13538     # Check whether --enable-rpath was given.
13539 if test "${enable_rpath+set}" = set; then :
13540   enableval=$enable_rpath; :
13541 else
13542   enable_rpath=yes
13543 fi
13544
13545
13546
13547                   acl_libdirstem=lib
13548   searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
13549   if test -n "$searchpath"; then
13550     acl_save_IFS="${IFS=        }"; IFS=":"
13551     for searchdir in $searchpath; do
13552       if test -d "$searchdir"; then
13553         case "$searchdir" in
13554           */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
13555           *) searchdir=`cd "$searchdir" && pwd`
13556              case "$searchdir" in
13557                */lib64 ) acl_libdirstem=lib64 ;;
13558              esac ;;
13559         esac
13560       fi
13561     done
13562     IFS="$acl_save_IFS"
13563   fi
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573     use_additional=yes
13574
13575   acl_save_prefix="$prefix"
13576   prefix="$acl_final_prefix"
13577   acl_save_exec_prefix="$exec_prefix"
13578   exec_prefix="$acl_final_exec_prefix"
13579
13580     eval additional_includedir=\"$includedir\"
13581     eval additional_libdir=\"$libdir\"
13582
13583   exec_prefix="$acl_save_exec_prefix"
13584   prefix="$acl_save_prefix"
13585
13586
13587 # Check whether --with-libiconv-prefix was given.
13588 if test "${with_libiconv_prefix+set}" = set; then :
13589   withval=$with_libiconv_prefix;
13590     if test "X$withval" = "Xno"; then
13591       use_additional=no
13592     else
13593       if test "X$withval" = "X"; then
13594
13595   acl_save_prefix="$prefix"
13596   prefix="$acl_final_prefix"
13597   acl_save_exec_prefix="$exec_prefix"
13598   exec_prefix="$acl_final_exec_prefix"
13599
13600           eval additional_includedir=\"$includedir\"
13601           eval additional_libdir=\"$libdir\"
13602
13603   exec_prefix="$acl_save_exec_prefix"
13604   prefix="$acl_save_prefix"
13605
13606       else
13607         additional_includedir="$withval/include"
13608         additional_libdir="$withval/$acl_libdirstem"
13609       fi
13610     fi
13611
13612 fi
13613
13614       LIBICONV=
13615   LTLIBICONV=
13616   INCICONV=
13617   LIBICONV_PREFIX=
13618   rpathdirs=
13619   ltrpathdirs=
13620   names_already_handled=
13621   names_next_round='iconv '
13622   while test -n "$names_next_round"; do
13623     names_this_round="$names_next_round"
13624     names_next_round=
13625     for name in $names_this_round; do
13626       already_handled=
13627       for n in $names_already_handled; do
13628         if test "$n" = "$name"; then
13629           already_handled=yes
13630           break
13631         fi
13632       done
13633       if test -z "$already_handled"; then
13634         names_already_handled="$names_already_handled $name"
13635                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13636         eval value=\"\$HAVE_LIB$uppername\"
13637         if test -n "$value"; then
13638           if test "$value" = yes; then
13639             eval value=\"\$LIB$uppername\"
13640             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
13641             eval value=\"\$LTLIB$uppername\"
13642             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
13643           else
13644                                     :
13645           fi
13646         else
13647                               found_dir=
13648           found_la=
13649           found_so=
13650           found_a=
13651           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
13652           if test -n "$acl_shlibext"; then
13653             shrext=".$acl_shlibext"             # typically: shrext=.so
13654           else
13655             shrext=
13656           fi
13657           if test $use_additional = yes; then
13658             dir="$additional_libdir"
13659                                     if test -n "$acl_shlibext"; then
13660               if test -f "$dir/$libname$shrext"; then
13661                 found_dir="$dir"
13662                 found_so="$dir/$libname$shrext"
13663               else
13664                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13665                   ver=`(cd "$dir" && \
13666                         for f in "$libname$shrext".*; do echo "$f"; done \
13667                         | sed -e "s,^$libname$shrext\\\\.,," \
13668                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13669                         | sed 1q ) 2>/dev/null`
13670                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13671                     found_dir="$dir"
13672                     found_so="$dir/$libname$shrext.$ver"
13673                   fi
13674                 else
13675                   eval library_names=\"$acl_library_names_spec\"
13676                   for f in $library_names; do
13677                     if test -f "$dir/$f"; then
13678                       found_dir="$dir"
13679                       found_so="$dir/$f"
13680                       break
13681                     fi
13682                   done
13683                 fi
13684               fi
13685             fi
13686                         if test "X$found_dir" = "X"; then
13687               if test -f "$dir/$libname.$acl_libext"; then
13688                 found_dir="$dir"
13689                 found_a="$dir/$libname.$acl_libext"
13690               fi
13691             fi
13692             if test "X$found_dir" != "X"; then
13693               if test -f "$dir/$libname.la"; then
13694                 found_la="$dir/$libname.la"
13695               fi
13696             fi
13697           fi
13698           if test "X$found_dir" = "X"; then
13699             for x in $LDFLAGS $LTLIBICONV; do
13700
13701   acl_save_prefix="$prefix"
13702   prefix="$acl_final_prefix"
13703   acl_save_exec_prefix="$exec_prefix"
13704   exec_prefix="$acl_final_exec_prefix"
13705   eval x=\"$x\"
13706   exec_prefix="$acl_save_exec_prefix"
13707   prefix="$acl_save_prefix"
13708
13709               case "$x" in
13710                 -L*)
13711                   dir=`echo "X$x" | sed -e 's/^X-L//'`
13712                                     if test -n "$acl_shlibext"; then
13713                     if test -f "$dir/$libname$shrext"; then
13714                       found_dir="$dir"
13715                       found_so="$dir/$libname$shrext"
13716                     else
13717                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13718                         ver=`(cd "$dir" && \
13719                               for f in "$libname$shrext".*; do echo "$f"; done \
13720                               | sed -e "s,^$libname$shrext\\\\.,," \
13721                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13722                               | sed 1q ) 2>/dev/null`
13723                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13724                           found_dir="$dir"
13725                           found_so="$dir/$libname$shrext.$ver"
13726                         fi
13727                       else
13728                         eval library_names=\"$acl_library_names_spec\"
13729                         for f in $library_names; do
13730                           if test -f "$dir/$f"; then
13731                             found_dir="$dir"
13732                             found_so="$dir/$f"
13733                             break
13734                           fi
13735                         done
13736                       fi
13737                     fi
13738                   fi
13739                                     if test "X$found_dir" = "X"; then
13740                     if test -f "$dir/$libname.$acl_libext"; then
13741                       found_dir="$dir"
13742                       found_a="$dir/$libname.$acl_libext"
13743                     fi
13744                   fi
13745                   if test "X$found_dir" != "X"; then
13746                     if test -f "$dir/$libname.la"; then
13747                       found_la="$dir/$libname.la"
13748                     fi
13749                   fi
13750                   ;;
13751               esac
13752               if test "X$found_dir" != "X"; then
13753                 break
13754               fi
13755             done
13756           fi
13757           if test "X$found_dir" != "X"; then
13758                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
13759             if test "X$found_so" != "X"; then
13760                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13761                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13762               else
13763                                                                                 haveit=
13764                 for x in $ltrpathdirs; do
13765                   if test "X$x" = "X$found_dir"; then
13766                     haveit=yes
13767                     break
13768                   fi
13769                 done
13770                 if test -z "$haveit"; then
13771                   ltrpathdirs="$ltrpathdirs $found_dir"
13772                 fi
13773                                 if test "$acl_hardcode_direct" = yes; then
13774                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13775                 else
13776                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13777                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13778                                                             haveit=
13779                     for x in $rpathdirs; do
13780                       if test "X$x" = "X$found_dir"; then
13781                         haveit=yes
13782                         break
13783                       fi
13784                     done
13785                     if test -z "$haveit"; then
13786                       rpathdirs="$rpathdirs $found_dir"
13787                     fi
13788                   else
13789                                                                                 haveit=
13790                     for x in $LDFLAGS $LIBICONV; do
13791
13792   acl_save_prefix="$prefix"
13793   prefix="$acl_final_prefix"
13794   acl_save_exec_prefix="$exec_prefix"
13795   exec_prefix="$acl_final_exec_prefix"
13796   eval x=\"$x\"
13797   exec_prefix="$acl_save_exec_prefix"
13798   prefix="$acl_save_prefix"
13799
13800                       if test "X$x" = "X-L$found_dir"; then
13801                         haveit=yes
13802                         break
13803                       fi
13804                     done
13805                     if test -z "$haveit"; then
13806                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
13807                     fi
13808                     if test "$acl_hardcode_minus_L" != no; then
13809                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13810                     else
13811                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13812                     fi
13813                   fi
13814                 fi
13815               fi
13816             else
13817               if test "X$found_a" != "X"; then
13818                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
13819               else
13820                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
13821               fi
13822             fi
13823                         additional_includedir=
13824             case "$found_dir" in
13825               */$acl_libdirstem | */$acl_libdirstem/)
13826                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13827                 LIBICONV_PREFIX="$basedir"
13828                 additional_includedir="$basedir/include"
13829                 ;;
13830             esac
13831             if test "X$additional_includedir" != "X"; then
13832                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
13833                 haveit=
13834                 if test "X$additional_includedir" = "X/usr/local/include"; then
13835                   if test -n "$GCC"; then
13836                     case $host_os in
13837                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13838                     esac
13839                   fi
13840                 fi
13841                 if test -z "$haveit"; then
13842                   for x in $CPPFLAGS $INCICONV; do
13843
13844   acl_save_prefix="$prefix"
13845   prefix="$acl_final_prefix"
13846   acl_save_exec_prefix="$exec_prefix"
13847   exec_prefix="$acl_final_exec_prefix"
13848   eval x=\"$x\"
13849   exec_prefix="$acl_save_exec_prefix"
13850   prefix="$acl_save_prefix"
13851
13852                     if test "X$x" = "X-I$additional_includedir"; then
13853                       haveit=yes
13854                       break
13855                     fi
13856                   done
13857                   if test -z "$haveit"; then
13858                     if test -d "$additional_includedir"; then
13859                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
13860                     fi
13861                   fi
13862                 fi
13863               fi
13864             fi
13865                         if test -n "$found_la"; then
13866                                                         save_libdir="$libdir"
13867               case "$found_la" in
13868                 */* | *\\*) . "$found_la" ;;
13869                 *) . "./$found_la" ;;
13870               esac
13871               libdir="$save_libdir"
13872                             for dep in $dependency_libs; do
13873                 case "$dep" in
13874                   -L*)
13875                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13876                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13877                       haveit=
13878                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13879                         if test -n "$GCC"; then
13880                           case $host_os in
13881                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13882                           esac
13883                         fi
13884                       fi
13885                       if test -z "$haveit"; then
13886                         haveit=
13887                         for x in $LDFLAGS $LIBICONV; do
13888
13889   acl_save_prefix="$prefix"
13890   prefix="$acl_final_prefix"
13891   acl_save_exec_prefix="$exec_prefix"
13892   exec_prefix="$acl_final_exec_prefix"
13893   eval x=\"$x\"
13894   exec_prefix="$acl_save_exec_prefix"
13895   prefix="$acl_save_prefix"
13896
13897                           if test "X$x" = "X-L$additional_libdir"; then
13898                             haveit=yes
13899                             break
13900                           fi
13901                         done
13902                         if test -z "$haveit"; then
13903                           if test -d "$additional_libdir"; then
13904                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
13905                           fi
13906                         fi
13907                         haveit=
13908                         for x in $LDFLAGS $LTLIBICONV; do
13909
13910   acl_save_prefix="$prefix"
13911   prefix="$acl_final_prefix"
13912   acl_save_exec_prefix="$exec_prefix"
13913   exec_prefix="$acl_final_exec_prefix"
13914   eval x=\"$x\"
13915   exec_prefix="$acl_save_exec_prefix"
13916   prefix="$acl_save_prefix"
13917
13918                           if test "X$x" = "X-L$additional_libdir"; then
13919                             haveit=yes
13920                             break
13921                           fi
13922                         done
13923                         if test -z "$haveit"; then
13924                           if test -d "$additional_libdir"; then
13925                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
13926                           fi
13927                         fi
13928                       fi
13929                     fi
13930                     ;;
13931                   -R*)
13932                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
13933                     if test "$enable_rpath" != no; then
13934                                                                   haveit=
13935                       for x in $rpathdirs; do
13936                         if test "X$x" = "X$dir"; then
13937                           haveit=yes
13938                           break
13939                         fi
13940                       done
13941                       if test -z "$haveit"; then
13942                         rpathdirs="$rpathdirs $dir"
13943                       fi
13944                                                                   haveit=
13945                       for x in $ltrpathdirs; do
13946                         if test "X$x" = "X$dir"; then
13947                           haveit=yes
13948                           break
13949                         fi
13950                       done
13951                       if test -z "$haveit"; then
13952                         ltrpathdirs="$ltrpathdirs $dir"
13953                       fi
13954                     fi
13955                     ;;
13956                   -l*)
13957                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13958                     ;;
13959                   *.la)
13960                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13961                     ;;
13962                   *)
13963                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
13964                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
13965                     ;;
13966                 esac
13967               done
13968             fi
13969           else
13970                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13971             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
13972           fi
13973         fi
13974       fi
13975     done
13976   done
13977   if test "X$rpathdirs" != "X"; then
13978     if test -n "$acl_hardcode_libdir_separator"; then
13979                         alldirs=
13980       for found_dir in $rpathdirs; do
13981         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13982       done
13983             acl_save_libdir="$libdir"
13984       libdir="$alldirs"
13985       eval flag=\"$acl_hardcode_libdir_flag_spec\"
13986       libdir="$acl_save_libdir"
13987       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13988     else
13989             for found_dir in $rpathdirs; do
13990         acl_save_libdir="$libdir"
13991         libdir="$found_dir"
13992         eval flag=\"$acl_hardcode_libdir_flag_spec\"
13993         libdir="$acl_save_libdir"
13994         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13995       done
13996     fi
13997   fi
13998   if test "X$ltrpathdirs" != "X"; then
13999             for found_dir in $ltrpathdirs; do
14000       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
14001     done
14002   fi
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
14029 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
14030 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
14031   $as_echo_n "(cached) " >&6
14032 else
14033   gt_save_LIBS="$LIBS"
14034      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14035      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14036 /* end confdefs.h.  */
14037 #include <CoreFoundation/CFPreferences.h>
14038 int
14039 main ()
14040 {
14041 CFPreferencesCopyAppValue(NULL, NULL)
14042   ;
14043   return 0;
14044 }
14045 _ACEOF
14046 if ac_fn_c_try_link "$LINENO"; then :
14047   gt_cv_func_CFPreferencesCopyAppValue=yes
14048 else
14049   gt_cv_func_CFPreferencesCopyAppValue=no
14050 fi
14051 rm -f core conftest.err conftest.$ac_objext \
14052     conftest$ac_exeext conftest.$ac_ext
14053      LIBS="$gt_save_LIBS"
14054 fi
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
14056 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
14057   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
14058
14059 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
14060
14061   fi
14062     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
14063 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
14064 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
14065   $as_echo_n "(cached) " >&6
14066 else
14067   gt_save_LIBS="$LIBS"
14068      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14069      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14070 /* end confdefs.h.  */
14071 #include <CoreFoundation/CFLocale.h>
14072 int
14073 main ()
14074 {
14075 CFLocaleCopyCurrent();
14076   ;
14077   return 0;
14078 }
14079 _ACEOF
14080 if ac_fn_c_try_link "$LINENO"; then :
14081   gt_cv_func_CFLocaleCopyCurrent=yes
14082 else
14083   gt_cv_func_CFLocaleCopyCurrent=no
14084 fi
14085 rm -f core conftest.err conftest.$ac_objext \
14086     conftest$ac_exeext conftest.$ac_ext
14087      LIBS="$gt_save_LIBS"
14088 fi
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
14090 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
14091   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14092
14093 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
14094
14095   fi
14096   INTL_MACOSX_LIBS=
14097   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14098     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
14099   fi
14100
14101
14102
14103
14104
14105
14106   LIBINTL=
14107   LTLIBINTL=
14108   POSUB=
14109
14110     case " $gt_needs " in
14111     *" need-formatstring-macros "*) gt_api_version=3 ;;
14112     *" need-ngettext "*) gt_api_version=2 ;;
14113     *) gt_api_version=1 ;;
14114   esac
14115   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
14116   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
14117
14118     if test "$USE_NLS" = "yes"; then
14119     gt_use_preinstalled_gnugettext=no
14120
14121
14122         if test $gt_api_version -ge 3; then
14123           gt_revision_test_code='
14124 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
14125 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
14126 #endif
14127 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
14128 '
14129         else
14130           gt_revision_test_code=
14131         fi
14132         if test $gt_api_version -ge 2; then
14133           gt_expression_test_code=' + * ngettext ("", "", 0)'
14134         else
14135           gt_expression_test_code=
14136         fi
14137
14138         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
14139 $as_echo_n "checking for GNU gettext in libc... " >&6; }
14140 if eval \${$gt_func_gnugettext_libc+:} false; then :
14141   $as_echo_n "(cached) " >&6
14142 else
14143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14144 /* end confdefs.h.  */
14145 #include <libintl.h>
14146 $gt_revision_test_code
14147 extern int _nl_msg_cat_cntr;
14148 extern int *_nl_domain_bindings;
14149 int
14150 main ()
14151 {
14152 bindtextdomain ("", "");
14153 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
14154   ;
14155   return 0;
14156 }
14157 _ACEOF
14158 if ac_fn_c_try_link "$LINENO"; then :
14159   eval "$gt_func_gnugettext_libc=yes"
14160 else
14161   eval "$gt_func_gnugettext_libc=no"
14162 fi
14163 rm -f core conftest.err conftest.$ac_objext \
14164     conftest$ac_exeext conftest.$ac_ext
14165 fi
14166 eval ac_res=\$$gt_func_gnugettext_libc
14167                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14168 $as_echo "$ac_res" >&6; }
14169
14170         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
14171
14172
14173
14174
14175
14176           am_save_CPPFLAGS="$CPPFLAGS"
14177
14178   for element in $INCICONV; do
14179     haveit=
14180     for x in $CPPFLAGS; do
14181
14182   acl_save_prefix="$prefix"
14183   prefix="$acl_final_prefix"
14184   acl_save_exec_prefix="$exec_prefix"
14185   exec_prefix="$acl_final_exec_prefix"
14186   eval x=\"$x\"
14187   exec_prefix="$acl_save_exec_prefix"
14188   prefix="$acl_save_prefix"
14189
14190       if test "X$x" = "X$element"; then
14191         haveit=yes
14192         break
14193       fi
14194     done
14195     if test -z "$haveit"; then
14196       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14197     fi
14198   done
14199
14200
14201   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
14202 $as_echo_n "checking for iconv... " >&6; }
14203 if ${am_cv_func_iconv+:} false; then :
14204   $as_echo_n "(cached) " >&6
14205 else
14206
14207     am_cv_func_iconv="no, consider installing GNU libiconv"
14208     am_cv_lib_iconv=no
14209     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14210 /* end confdefs.h.  */
14211 #include <stdlib.h>
14212 #include <iconv.h>
14213 int
14214 main ()
14215 {
14216 iconv_t cd = iconv_open("","");
14217        iconv(cd,NULL,NULL,NULL,NULL);
14218        iconv_close(cd);
14219   ;
14220   return 0;
14221 }
14222 _ACEOF
14223 if ac_fn_c_try_link "$LINENO"; then :
14224   am_cv_func_iconv=yes
14225 fi
14226 rm -f core conftest.err conftest.$ac_objext \
14227     conftest$ac_exeext conftest.$ac_ext
14228     if test "$am_cv_func_iconv" != yes; then
14229       am_save_LIBS="$LIBS"
14230       LIBS="$LIBS $LIBICONV"
14231       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14232 /* end confdefs.h.  */
14233 #include <stdlib.h>
14234 #include <iconv.h>
14235 int
14236 main ()
14237 {
14238 iconv_t cd = iconv_open("","");
14239          iconv(cd,NULL,NULL,NULL,NULL);
14240          iconv_close(cd);
14241   ;
14242   return 0;
14243 }
14244 _ACEOF
14245 if ac_fn_c_try_link "$LINENO"; then :
14246   am_cv_lib_iconv=yes
14247         am_cv_func_iconv=yes
14248 fi
14249 rm -f core conftest.err conftest.$ac_objext \
14250     conftest$ac_exeext conftest.$ac_ext
14251       LIBS="$am_save_LIBS"
14252     fi
14253
14254 fi
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
14256 $as_echo "$am_cv_func_iconv" >&6; }
14257   if test "$am_cv_func_iconv" = yes; then
14258     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
14259 $as_echo_n "checking for working iconv... " >&6; }
14260 if ${am_cv_func_iconv_works+:} false; then :
14261   $as_echo_n "(cached) " >&6
14262 else
14263
14264             am_save_LIBS="$LIBS"
14265       if test $am_cv_lib_iconv = yes; then
14266         LIBS="$LIBS $LIBICONV"
14267       fi
14268       if test "$cross_compiling" = yes; then :
14269   case "$host_os" in
14270            aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
14271            *)            am_cv_func_iconv_works="guessing yes" ;;
14272          esac
14273 else
14274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14275 /* end confdefs.h.  */
14276
14277 #include <iconv.h>
14278 #include <string.h>
14279 int main ()
14280 {
14281   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
14282      returns.  */
14283   {
14284     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
14285     if (cd_utf8_to_88591 != (iconv_t)(-1))
14286       {
14287         static const char input[] = "\342\202\254"; /* EURO SIGN */
14288         char buf[10];
14289         const char *inptr = input;
14290         size_t inbytesleft = strlen (input);
14291         char *outptr = buf;
14292         size_t outbytesleft = sizeof (buf);
14293         size_t res = iconv (cd_utf8_to_88591,
14294                             (char **) &inptr, &inbytesleft,
14295                             &outptr, &outbytesleft);
14296         if (res == 0)
14297           return 1;
14298       }
14299   }
14300 #if 0 /* This bug could be worked around by the caller.  */
14301   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
14302   {
14303     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
14304     if (cd_88591_to_utf8 != (iconv_t)(-1))
14305       {
14306         static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
14307         char buf[50];
14308         const char *inptr = input;
14309         size_t inbytesleft = strlen (input);
14310         char *outptr = buf;
14311         size_t outbytesleft = sizeof (buf);
14312         size_t res = iconv (cd_88591_to_utf8,
14313                             (char **) &inptr, &inbytesleft,
14314                             &outptr, &outbytesleft);
14315         if ((int)res > 0)
14316           return 1;
14317       }
14318   }
14319 #endif
14320   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
14321      provided.  */
14322   if (/* Try standardized names.  */
14323       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
14324       /* Try IRIX, OSF/1 names.  */
14325       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
14326       /* Try AIX names.  */
14327       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
14328       /* Try HP-UX names.  */
14329       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
14330     return 1;
14331   return 0;
14332 }
14333 _ACEOF
14334 if ac_fn_c_try_run "$LINENO"; then :
14335   am_cv_func_iconv_works=yes
14336 else
14337   am_cv_func_iconv_works=no
14338 fi
14339 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14340   conftest.$ac_objext conftest.beam conftest.$ac_ext
14341 fi
14342
14343       LIBS="$am_save_LIBS"
14344
14345 fi
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
14347 $as_echo "$am_cv_func_iconv_works" >&6; }
14348     case "$am_cv_func_iconv_works" in
14349       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
14350       *)   am_func_iconv=yes ;;
14351     esac
14352   else
14353     am_func_iconv=no am_cv_lib_iconv=no
14354   fi
14355   if test "$am_func_iconv" = yes; then
14356
14357 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
14358
14359   fi
14360   if test "$am_cv_lib_iconv" = yes; then
14361     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
14362 $as_echo_n "checking how to link with libiconv... " >&6; }
14363     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
14364 $as_echo "$LIBICONV" >&6; }
14365   else
14366             CPPFLAGS="$am_save_CPPFLAGS"
14367     LIBICONV=
14368     LTLIBICONV=
14369   fi
14370
14371
14372
14373
14374
14375
14376
14377
14378     use_additional=yes
14379
14380   acl_save_prefix="$prefix"
14381   prefix="$acl_final_prefix"
14382   acl_save_exec_prefix="$exec_prefix"
14383   exec_prefix="$acl_final_exec_prefix"
14384
14385     eval additional_includedir=\"$includedir\"
14386     eval additional_libdir=\"$libdir\"
14387
14388   exec_prefix="$acl_save_exec_prefix"
14389   prefix="$acl_save_prefix"
14390
14391
14392 # Check whether --with-libintl-prefix was given.
14393 if test "${with_libintl_prefix+set}" = set; then :
14394   withval=$with_libintl_prefix;
14395     if test "X$withval" = "Xno"; then
14396       use_additional=no
14397     else
14398       if test "X$withval" = "X"; then
14399
14400   acl_save_prefix="$prefix"
14401   prefix="$acl_final_prefix"
14402   acl_save_exec_prefix="$exec_prefix"
14403   exec_prefix="$acl_final_exec_prefix"
14404
14405           eval additional_includedir=\"$includedir\"
14406           eval additional_libdir=\"$libdir\"
14407
14408   exec_prefix="$acl_save_exec_prefix"
14409   prefix="$acl_save_prefix"
14410
14411       else
14412         additional_includedir="$withval/include"
14413         additional_libdir="$withval/$acl_libdirstem"
14414       fi
14415     fi
14416
14417 fi
14418
14419       LIBINTL=
14420   LTLIBINTL=
14421   INCINTL=
14422   LIBINTL_PREFIX=
14423   rpathdirs=
14424   ltrpathdirs=
14425   names_already_handled=
14426   names_next_round='intl '
14427   while test -n "$names_next_round"; do
14428     names_this_round="$names_next_round"
14429     names_next_round=
14430     for name in $names_this_round; do
14431       already_handled=
14432       for n in $names_already_handled; do
14433         if test "$n" = "$name"; then
14434           already_handled=yes
14435           break
14436         fi
14437       done
14438       if test -z "$already_handled"; then
14439         names_already_handled="$names_already_handled $name"
14440                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14441         eval value=\"\$HAVE_LIB$uppername\"
14442         if test -n "$value"; then
14443           if test "$value" = yes; then
14444             eval value=\"\$LIB$uppername\"
14445             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
14446             eval value=\"\$LTLIB$uppername\"
14447             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
14448           else
14449                                     :
14450           fi
14451         else
14452                               found_dir=
14453           found_la=
14454           found_so=
14455           found_a=
14456           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
14457           if test -n "$acl_shlibext"; then
14458             shrext=".$acl_shlibext"             # typically: shrext=.so
14459           else
14460             shrext=
14461           fi
14462           if test $use_additional = yes; then
14463             dir="$additional_libdir"
14464                                     if test -n "$acl_shlibext"; then
14465               if test -f "$dir/$libname$shrext"; then
14466                 found_dir="$dir"
14467                 found_so="$dir/$libname$shrext"
14468               else
14469                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14470                   ver=`(cd "$dir" && \
14471                         for f in "$libname$shrext".*; do echo "$f"; done \
14472                         | sed -e "s,^$libname$shrext\\\\.,," \
14473                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14474                         | sed 1q ) 2>/dev/null`
14475                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14476                     found_dir="$dir"
14477                     found_so="$dir/$libname$shrext.$ver"
14478                   fi
14479                 else
14480                   eval library_names=\"$acl_library_names_spec\"
14481                   for f in $library_names; do
14482                     if test -f "$dir/$f"; then
14483                       found_dir="$dir"
14484                       found_so="$dir/$f"
14485                       break
14486                     fi
14487                   done
14488                 fi
14489               fi
14490             fi
14491                         if test "X$found_dir" = "X"; then
14492               if test -f "$dir/$libname.$acl_libext"; then
14493                 found_dir="$dir"
14494                 found_a="$dir/$libname.$acl_libext"
14495               fi
14496             fi
14497             if test "X$found_dir" != "X"; then
14498               if test -f "$dir/$libname.la"; then
14499                 found_la="$dir/$libname.la"
14500               fi
14501             fi
14502           fi
14503           if test "X$found_dir" = "X"; then
14504             for x in $LDFLAGS $LTLIBINTL; do
14505
14506   acl_save_prefix="$prefix"
14507   prefix="$acl_final_prefix"
14508   acl_save_exec_prefix="$exec_prefix"
14509   exec_prefix="$acl_final_exec_prefix"
14510   eval x=\"$x\"
14511   exec_prefix="$acl_save_exec_prefix"
14512   prefix="$acl_save_prefix"
14513
14514               case "$x" in
14515                 -L*)
14516                   dir=`echo "X$x" | sed -e 's/^X-L//'`
14517                                     if test -n "$acl_shlibext"; then
14518                     if test -f "$dir/$libname$shrext"; then
14519                       found_dir="$dir"
14520                       found_so="$dir/$libname$shrext"
14521                     else
14522                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14523                         ver=`(cd "$dir" && \
14524                               for f in "$libname$shrext".*; do echo "$f"; done \
14525                               | sed -e "s,^$libname$shrext\\\\.,," \
14526                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14527                               | sed 1q ) 2>/dev/null`
14528                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14529                           found_dir="$dir"
14530                           found_so="$dir/$libname$shrext.$ver"
14531                         fi
14532                       else
14533                         eval library_names=\"$acl_library_names_spec\"
14534                         for f in $library_names; do
14535                           if test -f "$dir/$f"; then
14536                             found_dir="$dir"
14537                             found_so="$dir/$f"
14538                             break
14539                           fi
14540                         done
14541                       fi
14542                     fi
14543                   fi
14544                                     if test "X$found_dir" = "X"; then
14545                     if test -f "$dir/$libname.$acl_libext"; then
14546                       found_dir="$dir"
14547                       found_a="$dir/$libname.$acl_libext"
14548                     fi
14549                   fi
14550                   if test "X$found_dir" != "X"; then
14551                     if test -f "$dir/$libname.la"; then
14552                       found_la="$dir/$libname.la"
14553                     fi
14554                   fi
14555                   ;;
14556               esac
14557               if test "X$found_dir" != "X"; then
14558                 break
14559               fi
14560             done
14561           fi
14562           if test "X$found_dir" != "X"; then
14563                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
14564             if test "X$found_so" != "X"; then
14565                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
14566                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14567               else
14568                                                                                 haveit=
14569                 for x in $ltrpathdirs; do
14570                   if test "X$x" = "X$found_dir"; then
14571                     haveit=yes
14572                     break
14573                   fi
14574                 done
14575                 if test -z "$haveit"; then
14576                   ltrpathdirs="$ltrpathdirs $found_dir"
14577                 fi
14578                                 if test "$acl_hardcode_direct" = yes; then
14579                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14580                 else
14581                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14582                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14583                                                             haveit=
14584                     for x in $rpathdirs; do
14585                       if test "X$x" = "X$found_dir"; then
14586                         haveit=yes
14587                         break
14588                       fi
14589                     done
14590                     if test -z "$haveit"; then
14591                       rpathdirs="$rpathdirs $found_dir"
14592                     fi
14593                   else
14594                                                                                 haveit=
14595                     for x in $LDFLAGS $LIBINTL; do
14596
14597   acl_save_prefix="$prefix"
14598   prefix="$acl_final_prefix"
14599   acl_save_exec_prefix="$exec_prefix"
14600   exec_prefix="$acl_final_exec_prefix"
14601   eval x=\"$x\"
14602   exec_prefix="$acl_save_exec_prefix"
14603   prefix="$acl_save_prefix"
14604
14605                       if test "X$x" = "X-L$found_dir"; then
14606                         haveit=yes
14607                         break
14608                       fi
14609                     done
14610                     if test -z "$haveit"; then
14611                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
14612                     fi
14613                     if test "$acl_hardcode_minus_L" != no; then
14614                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14615                     else
14616                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14617                     fi
14618                   fi
14619                 fi
14620               fi
14621             else
14622               if test "X$found_a" != "X"; then
14623                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
14624               else
14625                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
14626               fi
14627             fi
14628                         additional_includedir=
14629             case "$found_dir" in
14630               */$acl_libdirstem | */$acl_libdirstem/)
14631                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14632                 LIBINTL_PREFIX="$basedir"
14633                 additional_includedir="$basedir/include"
14634                 ;;
14635             esac
14636             if test "X$additional_includedir" != "X"; then
14637                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
14638                 haveit=
14639                 if test "X$additional_includedir" = "X/usr/local/include"; then
14640                   if test -n "$GCC"; then
14641                     case $host_os in
14642                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14643                     esac
14644                   fi
14645                 fi
14646                 if test -z "$haveit"; then
14647                   for x in $CPPFLAGS $INCINTL; do
14648
14649   acl_save_prefix="$prefix"
14650   prefix="$acl_final_prefix"
14651   acl_save_exec_prefix="$exec_prefix"
14652   exec_prefix="$acl_final_exec_prefix"
14653   eval x=\"$x\"
14654   exec_prefix="$acl_save_exec_prefix"
14655   prefix="$acl_save_prefix"
14656
14657                     if test "X$x" = "X-I$additional_includedir"; then
14658                       haveit=yes
14659                       break
14660                     fi
14661                   done
14662                   if test -z "$haveit"; then
14663                     if test -d "$additional_includedir"; then
14664                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
14665                     fi
14666                   fi
14667                 fi
14668               fi
14669             fi
14670                         if test -n "$found_la"; then
14671                                                         save_libdir="$libdir"
14672               case "$found_la" in
14673                 */* | *\\*) . "$found_la" ;;
14674                 *) . "./$found_la" ;;
14675               esac
14676               libdir="$save_libdir"
14677                             for dep in $dependency_libs; do
14678                 case "$dep" in
14679                   -L*)
14680                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
14681                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14682                       haveit=
14683                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
14684                         if test -n "$GCC"; then
14685                           case $host_os in
14686                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14687                           esac
14688                         fi
14689                       fi
14690                       if test -z "$haveit"; then
14691                         haveit=
14692                         for x in $LDFLAGS $LIBINTL; do
14693
14694   acl_save_prefix="$prefix"
14695   prefix="$acl_final_prefix"
14696   acl_save_exec_prefix="$exec_prefix"
14697   exec_prefix="$acl_final_exec_prefix"
14698   eval x=\"$x\"
14699   exec_prefix="$acl_save_exec_prefix"
14700   prefix="$acl_save_prefix"
14701
14702                           if test "X$x" = "X-L$additional_libdir"; then
14703                             haveit=yes
14704                             break
14705                           fi
14706                         done
14707                         if test -z "$haveit"; then
14708                           if test -d "$additional_libdir"; then
14709                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
14710                           fi
14711                         fi
14712                         haveit=
14713                         for x in $LDFLAGS $LTLIBINTL; do
14714
14715   acl_save_prefix="$prefix"
14716   prefix="$acl_final_prefix"
14717   acl_save_exec_prefix="$exec_prefix"
14718   exec_prefix="$acl_final_exec_prefix"
14719   eval x=\"$x\"
14720   exec_prefix="$acl_save_exec_prefix"
14721   prefix="$acl_save_prefix"
14722
14723                           if test "X$x" = "X-L$additional_libdir"; then
14724                             haveit=yes
14725                             break
14726                           fi
14727                         done
14728                         if test -z "$haveit"; then
14729                           if test -d "$additional_libdir"; then
14730                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
14731                           fi
14732                         fi
14733                       fi
14734                     fi
14735                     ;;
14736                   -R*)
14737                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
14738                     if test "$enable_rpath" != no; then
14739                                                                   haveit=
14740                       for x in $rpathdirs; do
14741                         if test "X$x" = "X$dir"; then
14742                           haveit=yes
14743                           break
14744                         fi
14745                       done
14746                       if test -z "$haveit"; then
14747                         rpathdirs="$rpathdirs $dir"
14748                       fi
14749                                                                   haveit=
14750                       for x in $ltrpathdirs; do
14751                         if test "X$x" = "X$dir"; then
14752                           haveit=yes
14753                           break
14754                         fi
14755                       done
14756                       if test -z "$haveit"; then
14757                         ltrpathdirs="$ltrpathdirs $dir"
14758                       fi
14759                     fi
14760                     ;;
14761                   -l*)
14762                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14763                     ;;
14764                   *.la)
14765                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14766                     ;;
14767                   *)
14768                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
14769                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
14770                     ;;
14771                 esac
14772               done
14773             fi
14774           else
14775                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14776             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
14777           fi
14778         fi
14779       fi
14780     done
14781   done
14782   if test "X$rpathdirs" != "X"; then
14783     if test -n "$acl_hardcode_libdir_separator"; then
14784                         alldirs=
14785       for found_dir in $rpathdirs; do
14786         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
14787       done
14788             acl_save_libdir="$libdir"
14789       libdir="$alldirs"
14790       eval flag=\"$acl_hardcode_libdir_flag_spec\"
14791       libdir="$acl_save_libdir"
14792       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14793     else
14794             for found_dir in $rpathdirs; do
14795         acl_save_libdir="$libdir"
14796         libdir="$found_dir"
14797         eval flag=\"$acl_hardcode_libdir_flag_spec\"
14798         libdir="$acl_save_libdir"
14799         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14800       done
14801     fi
14802   fi
14803   if test "X$ltrpathdirs" != "X"; then
14804             for found_dir in $ltrpathdirs; do
14805       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
14806     done
14807   fi
14808
14809           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
14810 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
14811 if eval \${$gt_func_gnugettext_libintl+:} false; then :
14812   $as_echo_n "(cached) " >&6
14813 else
14814   gt_save_CPPFLAGS="$CPPFLAGS"
14815             CPPFLAGS="$CPPFLAGS $INCINTL"
14816             gt_save_LIBS="$LIBS"
14817             LIBS="$LIBS $LIBINTL"
14818                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14819 /* end confdefs.h.  */
14820 #include <libintl.h>
14821 $gt_revision_test_code
14822 extern int _nl_msg_cat_cntr;
14823 extern
14824 #ifdef __cplusplus
14825 "C"
14826 #endif
14827 const char *_nl_expand_alias (const char *);
14828 int
14829 main ()
14830 {
14831 bindtextdomain ("", "");
14832 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14833   ;
14834   return 0;
14835 }
14836 _ACEOF
14837 if ac_fn_c_try_link "$LINENO"; then :
14838   eval "$gt_func_gnugettext_libintl=yes"
14839 else
14840   eval "$gt_func_gnugettext_libintl=no"
14841 fi
14842 rm -f core conftest.err conftest.$ac_objext \
14843     conftest$ac_exeext conftest.$ac_ext
14844                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
14845               LIBS="$LIBS $LIBICONV"
14846               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14847 /* end confdefs.h.  */
14848 #include <libintl.h>
14849 $gt_revision_test_code
14850 extern int _nl_msg_cat_cntr;
14851 extern
14852 #ifdef __cplusplus
14853 "C"
14854 #endif
14855 const char *_nl_expand_alias (const char *);
14856 int
14857 main ()
14858 {
14859 bindtextdomain ("", "");
14860 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14861   ;
14862   return 0;
14863 }
14864 _ACEOF
14865 if ac_fn_c_try_link "$LINENO"; then :
14866   LIBINTL="$LIBINTL $LIBICONV"
14867                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
14868                 eval "$gt_func_gnugettext_libintl=yes"
14869
14870 fi
14871 rm -f core conftest.err conftest.$ac_objext \
14872     conftest$ac_exeext conftest.$ac_ext
14873             fi
14874             CPPFLAGS="$gt_save_CPPFLAGS"
14875             LIBS="$gt_save_LIBS"
14876 fi
14877 eval ac_res=\$$gt_func_gnugettext_libintl
14878                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14879 $as_echo "$ac_res" >&6; }
14880         fi
14881
14882                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
14883            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
14884                 && test "$PACKAGE" != gettext-runtime \
14885                 && test "$PACKAGE" != gettext-tools; }; then
14886           gt_use_preinstalled_gnugettext=yes
14887         else
14888                     LIBINTL=
14889           LTLIBINTL=
14890           INCINTL=
14891         fi
14892
14893
14894
14895     if test -n "$INTL_MACOSX_LIBS"; then
14896       if test "$gt_use_preinstalled_gnugettext" = "yes" \
14897          || test "$nls_cv_use_gnu_gettext" = "yes"; then
14898                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
14899         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
14900       fi
14901     fi
14902
14903     if test "$gt_use_preinstalled_gnugettext" = "yes" \
14904        || test "$nls_cv_use_gnu_gettext" = "yes"; then
14905
14906 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
14907
14908     else
14909       USE_NLS=no
14910     fi
14911   fi
14912
14913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
14914 $as_echo_n "checking whether to use NLS... " >&6; }
14915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14916 $as_echo "$USE_NLS" >&6; }
14917   if test "$USE_NLS" = "yes"; then
14918     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
14919 $as_echo_n "checking where the gettext function comes from... " >&6; }
14920     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14921       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14922         gt_source="external libintl"
14923       else
14924         gt_source="libc"
14925       fi
14926     else
14927       gt_source="included intl directory"
14928     fi
14929     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
14930 $as_echo "$gt_source" >&6; }
14931   fi
14932
14933   if test "$USE_NLS" = "yes"; then
14934
14935     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14936       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14937         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
14938 $as_echo_n "checking how to link with libintl... " >&6; }
14939         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
14940 $as_echo "$LIBINTL" >&6; }
14941
14942   for element in $INCINTL; do
14943     haveit=
14944     for x in $CPPFLAGS; do
14945
14946   acl_save_prefix="$prefix"
14947   prefix="$acl_final_prefix"
14948   acl_save_exec_prefix="$exec_prefix"
14949   exec_prefix="$acl_final_exec_prefix"
14950   eval x=\"$x\"
14951   exec_prefix="$acl_save_exec_prefix"
14952   prefix="$acl_save_prefix"
14953
14954       if test "X$x" = "X$element"; then
14955         haveit=yes
14956         break
14957       fi
14958     done
14959     if test -z "$haveit"; then
14960       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14961     fi
14962   done
14963
14964       fi
14965
14966
14967 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14968
14969
14970 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
14971
14972     fi
14973
14974         POSUB=po
14975   fi
14976
14977
14978
14979     INTLLIBS="$LIBINTL"
14980
14981
14982
14983
14984
14985
14986 po_makefile_in=po/Makefile.in
14987 have_po="yes"
14988
14989
14990
14991 if test "x${POSUB}" = "x" ; then
14992    have_po="no"
14993 fi
14994
14995  if test "x${have_po}" = "xyes"; then
14996   HAVE_PO_TRUE=
14997   HAVE_PO_FALSE='#'
14998 else
14999   HAVE_PO_TRUE='#'
15000   HAVE_PO_FALSE=
15001 fi
15002
15003
15004 with_max_log_level="<unset>"
15005
15006 # Check whether --with-internal-maximum-log-level was given.
15007 if test "${with_internal_maximum_log_level+set}" = set; then :
15008   withval=$with_internal_maximum_log_level;
15009     if test "x${withval}" != "xno"; then
15010        if echo "${withval}" | grep -E '^[0-9]+$' >/dev/null 2>/dev/null; then
15011           { $as_echo "$as_me:${as_lineno-$LINENO}: ignoring any EINA_LOG() with level greater than ${withval}" >&5
15012 $as_echo "$as_me: ignoring any EINA_LOG() with level greater than ${withval}" >&6;}
15013
15014 cat >>confdefs.h <<_ACEOF
15015 #define EINA_LOG_LEVEL_MAXIMUM ${withval}
15016 _ACEOF
15017
15018           with_max_log_level="${withval}"
15019        else
15020           as_fn_error $? "--with-internal-maximum-log-level takes a decimal number, got \"${withval}\" instead." "$LINENO" 5
15021        fi
15022     fi
15023
15024 else
15025   :
15026 fi
15027
15028
15029
15030 ### Default options with respect to host
15031
15032
15033
15034
15035 # dependencies and options
15036 want_curl="no"
15037 want_local_sockets="yes"
15038 want_abstract_sockets="no"
15039 want_gnutls="no"
15040 want_openssl="no"
15041 want_cares="no"
15042 want_cipher="no"
15043 want_signature="no"
15044 want_poll="yes"
15045 want_inotify="no"
15046 want_notify_win32="no"
15047 want_tslib="no"
15048 want_glib="no"
15049
15050 # core modules
15051 want_ecore_con="yes"
15052 want_ecore_ipc="yes"
15053 want_ecore_file="yes"
15054 #want_ecore_config="no"
15055 want_ecore_imf="no"
15056 want_ecore_input="yes"
15057
15058 # graphic system modules
15059 want_evas_simple_x11="no"
15060 want_ecore_x_xcb="no"
15061 want_ecore_x="no"
15062 want_ecore_win32="no"
15063 want_ecore_cocoa="no"
15064 want_ecore_sdl="no"
15065 want_ecore_psl1ght="no"
15066 want_ecore_fb="no"
15067 want_ecore_directfb="no"
15068 want_ecore_wince="no"
15069 want_ecore_wayland="no"
15070
15071 # ecore_x options (both xlib and xcb)
15072 want_ecore_x_composite="yes"
15073 want_ecore_x_damage="yes"
15074 want_ecore_x_dpms="yes"
15075 want_ecore_x_randr="yes"
15076 want_ecore_x_render="yes"
15077 want_ecore_x_screensaver="yes"
15078 want_ecore_x_shape="yes"
15079 want_ecore_x_gesture="no"
15080 want_ecore_x_sync="yes"
15081 want_ecore_x_xfixes="yes"
15082 want_ecore_x_xinerama="yes"
15083 want_ecore_x_xprint="yes"
15084 want_ecore_x_xtest="yes"
15085 want_ecore_x_cursor="yes"
15086 want_ecore_x_input="yes"
15087 want_ecore_x_dri="yes"
15088
15089 # ecore_evas modules
15090 want_ecore_evas="yes"
15091 want_ecore_evas_software_buffer="yes"
15092 want_ecore_evas_software_x11="no"
15093 want_ecore_evas_opengl_x11="no"
15094 want_ecore_evas_software_16_x11="no"
15095 want_ecore_evas_software_8_x11="no"
15096 want_ecore_evas_software_xcb="no"
15097 want_ecore_evas_software_gdi="no"
15098 want_ecore_evas_software_ddraw="no"
15099 want_ecore_evas_direct3d="no"
15100 want_ecore_evas_opengl_glew="no"
15101 want_ecore_evas_software_16_ddraw="no"
15102 want_ecore_evas_software_sdl="no"
15103 want_ecore_evas_gl_sdl="no"
15104 want_ecore_evas_gl_cocoa="no"
15105 want_ecore_evas_psl1ght="no"
15106 want_ecore_evas_directfb="no"
15107 want_ecore_evas_fb="no"
15108 want_ecore_evas_software_16_wince="no"
15109 want_ecore_evas_ews="yes"
15110 want_ecore_evas_extn="yes"
15111 want_ecore_evas_wayland_shm="no"
15112 want_ecore_evas_wayland_egl="no"
15113
15114 # ecore_imf modules
15115 want_ecore_imf_xim="no"
15116 want_ecore_imf_scim="no"
15117 want_ecore_imf_ibus="no"
15118
15119 case "$host_os" in
15120    mingw32ce*)
15121       want_ecore_con="no"
15122       want_ecore_ipc="no"
15123       want_ecore_wince="yes"
15124       want_ecore_evas_software_16_wince="yes"
15125       want_ecore_evas_extn="no"
15126       ;;
15127    mingw*)
15128       want_notify_win32="yes"
15129       want_curl="yes"
15130       want_glib="auto"
15131       want_gnutls="auto"
15132       want_openssl="auto"
15133       want_ecore_imf="yes"
15134       want_ecore_win32="yes"
15135       want_ecore_evas_software_gdi="yes"
15136       want_ecore_evas_software_ddraw="yes"
15137       want_ecore_evas_direct3d="yes"
15138       want_ecore_evas_opengl_glew="yes"
15139       want_ecore_evas_software_16_ddraw="auto"
15140       want_ecore_evas_software_sdl="yes"
15141       want_ecore_evas_gl_sdl="yes"
15142       ;;
15143    darwin*)
15144       want_curl="yes"
15145       want_glib="auto"
15146       want_gnutls="auto"
15147       want_openssl="auto"
15148       want_ecore_imf="yes"
15149       want_ecore_cocoa="yes"
15150       want_ecore_evas_software_sdl="yes"
15151       want_ecore_evas_gl_sdl="yes"
15152       want_ecore_evas_gl_cocoa="yes"
15153       ;;
15154    *)
15155       want_curl="yes"
15156       want_glib="auto"
15157       want_abstract_sockets="yes"
15158       want_gnutls="auto"
15159       want_openssl="auto"
15160       want_cipher="yes"
15161       want_signature="yes"
15162       want_inotify="yes"
15163       want_tslib="yes"
15164       want_ecore_fb="yes"
15165       want_ecore_imf="yes"
15166       want_ecore_x="yes"
15167       want_ecore_wayland="yes"
15168       want_ecore_evas_software_x11="yes"
15169       want_ecore_evas_opengl_x11="yes"
15170       want_ecore_evas_software_16_x11="yes"
15171       want_ecore_evas_software_8_x11="yes"
15172       want_ecore_evas_software_xcb="no"
15173       want_ecore_evas_software_sdl="yes"
15174       want_ecore_evas_gl_sdl="yes"
15175       want_ecore_evas_gl_cocoa="no"
15176       want_ecore_evas_directfb="yes"
15177       want_ecore_evas_fb="yes"
15178       want_ecore_evas_wayland_shm="yes"
15179       want_ecore_evas_wayland_egl="yes"
15180       want_ecore_imf_xim="yes"
15181       want_ecore_imf_scim="yes"
15182       want_ecore_imf_ibus="yes"
15183       ;;
15184 esac
15185
15186 case "$host_vendor" in
15187   ps3*)
15188       want_local_sockets="no"
15189       ;;
15190 esac
15191 requirements_ecore=""
15192 requirements_ecore_con=""
15193 #requirements_ecore_config=""
15194 requirements_ecore_directfb=""
15195 requirements_ecore_evas=""
15196 requirements_ecore_fb=""
15197 requirements_ecore_file=""
15198 requirements_ecore_imf=""
15199 requirements_ecore_imf_evas=""
15200 requirements_ecore_input=""
15201 requirements_ecore_input_evas=""
15202 requirements_ecore_ipc=""
15203 requirements_ecore_cocoa=""
15204 requirements_ecore_sdl=""
15205 requirements_ecore_psl1ght=""
15206 requirements_ecore_x=""
15207 requirements_ecore_win32=""
15208 requirements_ecore_wince=""
15209 requirements_ecore_imf_xim=""
15210 requirements_ecore_imf_scim=""
15211 requirements_ecore_imf_ibus=""
15212 requirements_ecore_wayland=""
15213
15214 ### Additional options to configure
15215
15216 want_glib_integration_always=no
15217 # Check whether --enable-glib-integration-always was given.
15218 if test "${enable_glib_integration_always+set}" = set; then :
15219   enableval=$enable_glib_integration_always; want_glib_integration_always=$enableval
15220 fi
15221
15222
15223 if test "x${want_glib_integration_always}" = "xyes" ; then
15224
15225 $as_echo "#define GLIB_INTEGRATION_ALWAYS 1" >>confdefs.h
15226
15227   want_glib=yes
15228 fi
15229
15230 want_g_main_loop=no
15231 # Check whether --enable-g-main-loop was given.
15232 if test "${enable_g_main_loop+set}" = set; then :
15233   enableval=$enable_g_main_loop; want_g_main_loop=$enableval
15234 fi
15235
15236
15237 if test "x${want_g_main_loop}" = "xyes" ; then
15238
15239 $as_echo "#define USE_G_MAIN_LOOP 1" >>confdefs.h
15240
15241   want_glib=yes
15242 fi
15243
15244 if test "x${want_glib_integration_always}" = "xyes" -a "x${want_g_main_loop}" = "xyes"; then
15245   as_fn_error $? "--enable-glib-integration-always and --enable-glib-main-loop are mutually exclusive" "$LINENO" 5
15246 fi
15247
15248 # local sockets (ecore_con.c)
15249 # Check whether --enable-local-sockets was given.
15250 if test "${enable_local_sockets+set}" = set; then :
15251   enableval=$enable_local_sockets;
15252     if test "x${enableval}" = "xyes" ; then
15253        want_ecore_con_local_sockets="yes"
15254     else
15255        want_ecore_con_local_sockets="no"
15256     fi
15257
15258 else
15259   want_ecore_con_local_sockets=${want_local_sockets}
15260 fi
15261
15262
15263 if test "x${want_ecore_con_local_sockets}" = "xyes" ; then
15264
15265 $as_echo "#define HAVE_LOCAL_SOCKETS 1" >>confdefs.h
15266
15267 fi
15268
15269 # abstract sockets (ecore_con.c)
15270 # Check whether --enable-abstract-sockets was given.
15271 if test "${enable_abstract_sockets+set}" = set; then :
15272   enableval=$enable_abstract_sockets;
15273     if test "x${enableval}" = "xyes" ; then
15274        want_ecore_con_abstract_sockets="yes"
15275     else
15276        want_ecore_con_abstract_sockets="no"
15277     fi
15278
15279 else
15280   want_ecore_con_abstract_sockets=${want_abstract_sockets}
15281 fi
15282
15283
15284 if test "x${want_ecore_con_abstract_sockets}" = "xyes" ; then
15285
15286 $as_echo "#define HAVE_ABSTRACT_SOCKETS 1" >>confdefs.h
15287
15288 fi
15289
15290 # Simple X11 build/link
15291
15292 # Check whether --enable-simple-x11 was given.
15293 if test "${enable_simple_x11+set}" = set; then :
15294   enableval=$enable_simple_x11; want_evas_simple_x11=$enableval
15295 fi
15296
15297
15298 # XIM
15299 # Check whether --enable-xim was given.
15300 if test "${enable_xim+set}" = set; then :
15301   enableval=$enable_xim;
15302     if test "x${enableval}" = "xyes" ; then
15303        want_xim="yes"
15304     else
15305        want_xim="no"
15306     fi
15307
15308 else
15309   want_xim="yes"
15310 fi
15311
15312
15313 if test "x${want_xim}" = "xyes" ; then
15314
15315 $as_echo "#define ENABLE_XIM 1" >>confdefs.h
15316
15317 fi
15318
15319 ### Checks for programs
15320
15321
15322     ac_ext=m
15323 ac_cpp='$OBJCPP $CPPFLAGS'
15324 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15325 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15326 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
15327 if test -n "$ac_tool_prefix"; then
15328   for ac_prog in gcc objcc objc cc CC
15329   do
15330     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15331 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15333 $as_echo_n "checking for $ac_word... " >&6; }
15334 if ${ac_cv_prog_OBJC+:} false; then :
15335   $as_echo_n "(cached) " >&6
15336 else
15337   if test -n "$OBJC"; then
15338   ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
15339 else
15340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15341 for as_dir in $PATH
15342 do
15343   IFS=$as_save_IFS
15344   test -z "$as_dir" && as_dir=.
15345     for ac_exec_ext in '' $ac_executable_extensions; do
15346   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15347     ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
15348     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15349     break 2
15350   fi
15351 done
15352   done
15353 IFS=$as_save_IFS
15354
15355 fi
15356 fi
15357 OBJC=$ac_cv_prog_OBJC
15358 if test -n "$OBJC"; then
15359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
15360 $as_echo "$OBJC" >&6; }
15361 else
15362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15363 $as_echo "no" >&6; }
15364 fi
15365
15366
15367     test -n "$OBJC" && break
15368   done
15369 fi
15370 if test -z "$OBJC"; then
15371   ac_ct_OBJC=$OBJC
15372   for ac_prog in gcc objcc objc cc CC
15373 do
15374   # Extract the first word of "$ac_prog", so it can be a program name with args.
15375 set dummy $ac_prog; ac_word=$2
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15377 $as_echo_n "checking for $ac_word... " >&6; }
15378 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
15379   $as_echo_n "(cached) " >&6
15380 else
15381   if test -n "$ac_ct_OBJC"; then
15382   ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
15383 else
15384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15385 for as_dir in $PATH
15386 do
15387   IFS=$as_save_IFS
15388   test -z "$as_dir" && as_dir=.
15389     for ac_exec_ext in '' $ac_executable_extensions; do
15390   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15391     ac_cv_prog_ac_ct_OBJC="$ac_prog"
15392     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15393     break 2
15394   fi
15395 done
15396   done
15397 IFS=$as_save_IFS
15398
15399 fi
15400 fi
15401 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
15402 if test -n "$ac_ct_OBJC"; then
15403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
15404 $as_echo "$ac_ct_OBJC" >&6; }
15405 else
15406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15407 $as_echo "no" >&6; }
15408 fi
15409
15410
15411   test -n "$ac_ct_OBJC" && break
15412 done
15413
15414   if test "x$ac_ct_OBJC" = x; then
15415     OBJC="gcc"
15416   else
15417     case $cross_compiling:$ac_tool_warned in
15418 yes:)
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15421 ac_tool_warned=yes ;;
15422 esac
15423     OBJC=$ac_ct_OBJC
15424   fi
15425 fi
15426
15427 # Provide some information about the compiler.
15428 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
15429 set X $ac_compile
15430 ac_compiler=$2
15431 for ac_option in --version -v -V -qversion; do
15432   { { ac_try="$ac_compiler $ac_option >&5"
15433 case "(($ac_try" in
15434   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15435   *) ac_try_echo=$ac_try;;
15436 esac
15437 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15438 $as_echo "$ac_try_echo"; } >&5
15439   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
15440   ac_status=$?
15441   if test -s conftest.err; then
15442     sed '10a\
15443 ... rest of stderr output deleted ...
15444          10q' conftest.err >conftest.er1
15445     cat conftest.er1 >&5
15446   fi
15447   rm -f conftest.er1 conftest.err
15448   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15449   test $ac_status = 0; }
15450 done
15451
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
15453 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
15454 if ${ac_cv_objc_compiler_gnu+:} false; then :
15455   $as_echo_n "(cached) " >&6
15456 else
15457   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15458 /* end confdefs.h.  */
15459
15460 int
15461 main ()
15462 {
15463 #ifndef __GNUC__
15464        choke me
15465 #endif
15466
15467   ;
15468   return 0;
15469 }
15470 _ACEOF
15471 if ac_fn_objc_try_compile "$LINENO"; then :
15472   ac_compiler_gnu=yes
15473 else
15474   ac_compiler_gnu=no
15475 fi
15476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15477 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
15478
15479 fi
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
15481 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
15482 if test $ac_compiler_gnu = yes; then
15483   GOBJC=yes
15484 else
15485   GOBJC=
15486 fi
15487 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
15488 ac_save_OBJCFLAGS=$OBJCFLAGS
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
15490 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
15491 if ${ac_cv_prog_objc_g+:} false; then :
15492   $as_echo_n "(cached) " >&6
15493 else
15494   ac_save_objc_werror_flag=$ac_objc_werror_flag
15495    ac_objc_werror_flag=yes
15496    ac_cv_prog_objc_g=no
15497    OBJCFLAGS="-g"
15498    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15499 /* end confdefs.h.  */
15500
15501 int
15502 main ()
15503 {
15504
15505   ;
15506   return 0;
15507 }
15508 _ACEOF
15509 if ac_fn_objc_try_compile "$LINENO"; then :
15510   ac_cv_prog_objc_g=yes
15511 else
15512   OBJCFLAGS=""
15513       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15514 /* end confdefs.h.  */
15515
15516 int
15517 main ()
15518 {
15519
15520   ;
15521   return 0;
15522 }
15523 _ACEOF
15524 if ac_fn_objc_try_compile "$LINENO"; then :
15525
15526 else
15527   ac_objc_werror_flag=$ac_save_objc_werror_flag
15528          OBJCFLAGS="-g"
15529          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15530 /* end confdefs.h.  */
15531
15532 int
15533 main ()
15534 {
15535
15536   ;
15537   return 0;
15538 }
15539 _ACEOF
15540 if ac_fn_objc_try_compile "$LINENO"; then :
15541   ac_cv_prog_objc_g=yes
15542 fi
15543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15544 fi
15545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15546 fi
15547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15548    ac_objc_werror_flag=$ac_save_objc_werror_flag
15549 fi
15550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
15551 $as_echo "$ac_cv_prog_objc_g" >&6; }
15552 if test "$ac_test_OBJCFLAGS" = set; then
15553   OBJCFLAGS=$ac_save_OBJCFLAGS
15554 elif test $ac_cv_prog_objc_g = yes; then
15555   if test "$GOBJC" = yes; then
15556     OBJCFLAGS="-g -O2"
15557   else
15558     OBJCFLAGS="-g"
15559   fi
15560 else
15561   if test "$GOBJC" = yes; then
15562     OBJCFLAGS="-O2"
15563   else
15564     OBJCFLAGS=
15565   fi
15566 fi
15567 ac_ext=c
15568 ac_cpp='$CPP $CPPFLAGS'
15569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15572
15573 depcc="$OBJC" am_compiler_list='gcc3 gcc'
15574
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
15576 $as_echo_n "checking dependency style of $depcc... " >&6; }
15577 if ${am_cv_OBJC_dependencies_compiler_type+:} false; then :
15578   $as_echo_n "(cached) " >&6
15579 else
15580   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15581   # We make a subdir and do the tests there.  Otherwise we can end up
15582   # making bogus files that we don't know about and never remove.  For
15583   # instance it was reported that on HP-UX the gcc test will end up
15584   # making a dummy file named 'D' -- because '-MD' means "put the output
15585   # in D".
15586   rm -rf conftest.dir
15587   mkdir conftest.dir
15588   # Copy depcomp to subdir because otherwise we won't find it if we're
15589   # using a relative directory.
15590   cp "$am_depcomp" conftest.dir
15591   cd conftest.dir
15592   # We will build objects and dependencies in a subdirectory because
15593   # it helps to detect inapplicable dependency modes.  For instance
15594   # both Tru64's cc and ICC support -MD to output dependencies as a
15595   # side effect of compilation, but ICC will put the dependencies in
15596   # the current directory while Tru64 will put them in the object
15597   # directory.
15598   mkdir sub
15599
15600   am_cv_OBJC_dependencies_compiler_type=none
15601   if test "$am_compiler_list" = ""; then
15602      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15603   fi
15604   am__universal=false
15605
15606
15607   for depmode in $am_compiler_list; do
15608     # Setup a source with many dependencies, because some compilers
15609     # like to wrap large dependency lists on column 80 (with \), and
15610     # we should not choose a depcomp mode which is confused by this.
15611     #
15612     # We need to recreate these files for each test, as the compiler may
15613     # overwrite some of them when testing with obscure command lines.
15614     # This happens at least with the AIX C compiler.
15615     : > sub/conftest.c
15616     for i in 1 2 3 4 5 6; do
15617       echo '#include "conftst'$i'.h"' >> sub/conftest.c
15618       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
15619       # Solaris 10 /bin/sh.
15620       echo '/* dummy */' > sub/conftst$i.h
15621     done
15622     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15623
15624     # We check with '-c' and '-o' for the sake of the "dashmstdout"
15625     # mode.  It turns out that the SunPro C++ compiler does not properly
15626     # handle '-M -o', and we need to detect this.  Also, some Intel
15627     # versions had trouble with output in subdirs.
15628     am__obj=sub/conftest.${OBJEXT-o}
15629     am__minus_obj="-o $am__obj"
15630     case $depmode in
15631     gcc)
15632       # This depmode causes a compiler race in universal mode.
15633       test "$am__universal" = false || continue
15634       ;;
15635     nosideeffect)
15636       # After this tag, mechanisms are not by side-effect, so they'll
15637       # only be used when explicitly requested.
15638       if test "x$enable_dependency_tracking" = xyes; then
15639         continue
15640       else
15641         break
15642       fi
15643       ;;
15644     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
15645       # This compiler won't grok '-c -o', but also, the minuso test has
15646       # not run yet.  These depmodes are late enough in the game, and
15647       # so weak that their functioning should not be impacted.
15648       am__obj=conftest.${OBJEXT-o}
15649       am__minus_obj=
15650       ;;
15651     none) break ;;
15652     esac
15653     if depmode=$depmode \
15654        source=sub/conftest.c object=$am__obj \
15655        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
15656        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
15657          >/dev/null 2>conftest.err &&
15658        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
15659        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
15660        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
15661        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
15662       # icc doesn't choke on unknown options, it will just issue warnings
15663       # or remarks (even with -Werror).  So we grep stderr for any message
15664       # that says an option was ignored or not supported.
15665       # When given -MP, icc 7.0 and 7.1 complain thusly:
15666       #   icc: Command line warning: ignoring option '-M'; no argument required
15667       # The diagnosis changed in icc 8.0:
15668       #   icc: Command line remark: option '-MP' not supported
15669       if (grep 'ignoring option' conftest.err ||
15670           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
15671         am_cv_OBJC_dependencies_compiler_type=$depmode
15672         break
15673       fi
15674     fi
15675   done
15676
15677   cd ..
15678   rm -rf conftest.dir
15679 else
15680   am_cv_OBJC_dependencies_compiler_type=none
15681 fi
15682
15683 fi
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
15685 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
15686 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
15687
15688  if
15689   test "x$enable_dependency_tracking" != xno \
15690   && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
15691   am__fastdepOBJC_TRUE=
15692   am__fastdepOBJC_FALSE='#'
15693 else
15694   am__fastdepOBJC_TRUE='#'
15695   am__fastdepOBJC_FALSE=
15696 fi
15697
15698
15699
15700 depcc="$OBJC" am_compiler_list='gcc3 gcc'
15701
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
15703 $as_echo_n "checking dependency style of $depcc... " >&6; }
15704 if ${am_cv_OBJC_dependencies_compiler_type+:} false; then :
15705   $as_echo_n "(cached) " >&6
15706 else
15707   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15708   # We make a subdir and do the tests there.  Otherwise we can end up
15709   # making bogus files that we don't know about and never remove.  For
15710   # instance it was reported that on HP-UX the gcc test will end up
15711   # making a dummy file named 'D' -- because '-MD' means "put the output
15712   # in D".
15713   rm -rf conftest.dir
15714   mkdir conftest.dir
15715   # Copy depcomp to subdir because otherwise we won't find it if we're
15716   # using a relative directory.
15717   cp "$am_depcomp" conftest.dir
15718   cd conftest.dir
15719   # We will build objects and dependencies in a subdirectory because
15720   # it helps to detect inapplicable dependency modes.  For instance
15721   # both Tru64's cc and ICC support -MD to output dependencies as a
15722   # side effect of compilation, but ICC will put the dependencies in
15723   # the current directory while Tru64 will put them in the object
15724   # directory.
15725   mkdir sub
15726
15727   am_cv_OBJC_dependencies_compiler_type=none
15728   if test "$am_compiler_list" = ""; then
15729      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15730   fi
15731   am__universal=false
15732
15733
15734   for depmode in $am_compiler_list; do
15735     # Setup a source with many dependencies, because some compilers
15736     # like to wrap large dependency lists on column 80 (with \), and
15737     # we should not choose a depcomp mode which is confused by this.
15738     #
15739     # We need to recreate these files for each test, as the compiler may
15740     # overwrite some of them when testing with obscure command lines.
15741     # This happens at least with the AIX C compiler.
15742     : > sub/conftest.c
15743     for i in 1 2 3 4 5 6; do
15744       echo '#include "conftst'$i'.h"' >> sub/conftest.c
15745       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
15746       # Solaris 10 /bin/sh.
15747       echo '/* dummy */' > sub/conftst$i.h
15748     done
15749     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15750
15751     # We check with '-c' and '-o' for the sake of the "dashmstdout"
15752     # mode.  It turns out that the SunPro C++ compiler does not properly
15753     # handle '-M -o', and we need to detect this.  Also, some Intel
15754     # versions had trouble with output in subdirs.
15755     am__obj=sub/conftest.${OBJEXT-o}
15756     am__minus_obj="-o $am__obj"
15757     case $depmode in
15758     gcc)
15759       # This depmode causes a compiler race in universal mode.
15760       test "$am__universal" = false || continue
15761       ;;
15762     nosideeffect)
15763       # After this tag, mechanisms are not by side-effect, so they'll
15764       # only be used when explicitly requested.
15765       if test "x$enable_dependency_tracking" = xyes; then
15766         continue
15767       else
15768         break
15769       fi
15770       ;;
15771     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
15772       # This compiler won't grok '-c -o', but also, the minuso test has
15773       # not run yet.  These depmodes are late enough in the game, and
15774       # so weak that their functioning should not be impacted.
15775       am__obj=conftest.${OBJEXT-o}
15776       am__minus_obj=
15777       ;;
15778     none) break ;;
15779     esac
15780     if depmode=$depmode \
15781        source=sub/conftest.c object=$am__obj \
15782        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
15783        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
15784          >/dev/null 2>conftest.err &&
15785        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
15786        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
15787        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
15788        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
15789       # icc doesn't choke on unknown options, it will just issue warnings
15790       # or remarks (even with -Werror).  So we grep stderr for any message
15791       # that says an option was ignored or not supported.
15792       # When given -MP, icc 7.0 and 7.1 complain thusly:
15793       #   icc: Command line warning: ignoring option '-M'; no argument required
15794       # The diagnosis changed in icc 8.0:
15795       #   icc: Command line remark: option '-MP' not supported
15796       if (grep 'ignoring option' conftest.err ||
15797           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
15798         am_cv_OBJC_dependencies_compiler_type=$depmode
15799         break
15800       fi
15801     fi
15802   done
15803
15804   cd ..
15805   rm -rf conftest.dir
15806 else
15807   am_cv_OBJC_dependencies_compiler_type=none
15808 fi
15809
15810 fi
15811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
15812 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
15813 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
15814
15815  if
15816   test "x$enable_dependency_tracking" != xno \
15817   && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
15818   am__fastdepOBJC_TRUE=
15819   am__fastdepOBJC_FALSE='#'
15820 else
15821   am__fastdepOBJC_TRUE='#'
15822   am__fastdepOBJC_FALSE=
15823 fi
15824
15825
15826
15827
15828      if false; then
15829   am__fastdepOBJC_TRUE=
15830   am__fastdepOBJC_FALSE='#'
15831 else
15832   am__fastdepOBJC_TRUE='#'
15833   am__fastdepOBJC_FALSE=
15834 fi
15835
15836
15837
15838 ac_ext=cpp
15839 ac_cpp='$CXXCPP $CPPFLAGS'
15840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15843 if test -z "$CXX"; then
15844   if test -n "$CCC"; then
15845     CXX=$CCC
15846   else
15847     if test -n "$ac_tool_prefix"; then
15848   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15849   do
15850     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15851 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15853 $as_echo_n "checking for $ac_word... " >&6; }
15854 if ${ac_cv_prog_CXX+:} false; then :
15855   $as_echo_n "(cached) " >&6
15856 else
15857   if test -n "$CXX"; then
15858   ac_cv_prog_CXX="$CXX" # Let the user override the test.
15859 else
15860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15861 for as_dir in $PATH
15862 do
15863   IFS=$as_save_IFS
15864   test -z "$as_dir" && as_dir=.
15865     for ac_exec_ext in '' $ac_executable_extensions; do
15866   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15867     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15868     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15869     break 2
15870   fi
15871 done
15872   done
15873 IFS=$as_save_IFS
15874
15875 fi
15876 fi
15877 CXX=$ac_cv_prog_CXX
15878 if test -n "$CXX"; then
15879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
15880 $as_echo "$CXX" >&6; }
15881 else
15882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15883 $as_echo "no" >&6; }
15884 fi
15885
15886
15887     test -n "$CXX" && break
15888   done
15889 fi
15890 if test -z "$CXX"; then
15891   ac_ct_CXX=$CXX
15892   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15893 do
15894   # Extract the first word of "$ac_prog", so it can be a program name with args.
15895 set dummy $ac_prog; ac_word=$2
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15897 $as_echo_n "checking for $ac_word... " >&6; }
15898 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
15899   $as_echo_n "(cached) " >&6
15900 else
15901   if test -n "$ac_ct_CXX"; then
15902   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15903 else
15904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15905 for as_dir in $PATH
15906 do
15907   IFS=$as_save_IFS
15908   test -z "$as_dir" && as_dir=.
15909     for ac_exec_ext in '' $ac_executable_extensions; do
15910   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15911     ac_cv_prog_ac_ct_CXX="$ac_prog"
15912     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15913     break 2
15914   fi
15915 done
15916   done
15917 IFS=$as_save_IFS
15918
15919 fi
15920 fi
15921 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15922 if test -n "$ac_ct_CXX"; then
15923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
15924 $as_echo "$ac_ct_CXX" >&6; }
15925 else
15926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15927 $as_echo "no" >&6; }
15928 fi
15929
15930
15931   test -n "$ac_ct_CXX" && break
15932 done
15933
15934   if test "x$ac_ct_CXX" = x; then
15935     CXX="g++"
15936   else
15937     case $cross_compiling:$ac_tool_warned in
15938 yes:)
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15940 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15941 ac_tool_warned=yes ;;
15942 esac
15943     CXX=$ac_ct_CXX
15944   fi
15945 fi
15946
15947   fi
15948 fi
15949 # Provide some information about the compiler.
15950 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
15951 set X $ac_compile
15952 ac_compiler=$2
15953 for ac_option in --version -v -V -qversion; do
15954   { { ac_try="$ac_compiler $ac_option >&5"
15955 case "(($ac_try" in
15956   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15957   *) ac_try_echo=$ac_try;;
15958 esac
15959 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15960 $as_echo "$ac_try_echo"; } >&5
15961   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
15962   ac_status=$?
15963   if test -s conftest.err; then
15964     sed '10a\
15965 ... rest of stderr output deleted ...
15966          10q' conftest.err >conftest.er1
15967     cat conftest.er1 >&5
15968   fi
15969   rm -f conftest.er1 conftest.err
15970   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15971   test $ac_status = 0; }
15972 done
15973
15974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
15975 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
15976 if ${ac_cv_cxx_compiler_gnu+:} false; then :
15977   $as_echo_n "(cached) " >&6
15978 else
15979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15980 /* end confdefs.h.  */
15981
15982 int
15983 main ()
15984 {
15985 #ifndef __GNUC__
15986        choke me
15987 #endif
15988
15989   ;
15990   return 0;
15991 }
15992 _ACEOF
15993 if ac_fn_cxx_try_compile "$LINENO"; then :
15994   ac_compiler_gnu=yes
15995 else
15996   ac_compiler_gnu=no
15997 fi
15998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15999 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16000
16001 fi
16002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
16003 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
16004 if test $ac_compiler_gnu = yes; then
16005   GXX=yes
16006 else
16007   GXX=
16008 fi
16009 ac_test_CXXFLAGS=${CXXFLAGS+set}
16010 ac_save_CXXFLAGS=$CXXFLAGS
16011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
16012 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
16013 if ${ac_cv_prog_cxx_g+:} false; then :
16014   $as_echo_n "(cached) " >&6
16015 else
16016   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16017    ac_cxx_werror_flag=yes
16018    ac_cv_prog_cxx_g=no
16019    CXXFLAGS="-g"
16020    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16021 /* end confdefs.h.  */
16022
16023 int
16024 main ()
16025 {
16026
16027   ;
16028   return 0;
16029 }
16030 _ACEOF
16031 if ac_fn_cxx_try_compile "$LINENO"; then :
16032   ac_cv_prog_cxx_g=yes
16033 else
16034   CXXFLAGS=""
16035       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16036 /* end confdefs.h.  */
16037
16038 int
16039 main ()
16040 {
16041
16042   ;
16043   return 0;
16044 }
16045 _ACEOF
16046 if ac_fn_cxx_try_compile "$LINENO"; then :
16047
16048 else
16049   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16050          CXXFLAGS="-g"
16051          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16052 /* end confdefs.h.  */
16053
16054 int
16055 main ()
16056 {
16057
16058   ;
16059   return 0;
16060 }
16061 _ACEOF
16062 if ac_fn_cxx_try_compile "$LINENO"; then :
16063   ac_cv_prog_cxx_g=yes
16064 fi
16065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16066 fi
16067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16068 fi
16069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16070    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16071 fi
16072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
16073 $as_echo "$ac_cv_prog_cxx_g" >&6; }
16074 if test "$ac_test_CXXFLAGS" = set; then
16075   CXXFLAGS=$ac_save_CXXFLAGS
16076 elif test $ac_cv_prog_cxx_g = yes; then
16077   if test "$GXX" = yes; then
16078     CXXFLAGS="-g -O2"
16079   else
16080     CXXFLAGS="-g"
16081   fi
16082 else
16083   if test "$GXX" = yes; then
16084     CXXFLAGS="-O2"
16085   else
16086     CXXFLAGS=
16087   fi
16088 fi
16089 ac_ext=c
16090 ac_cpp='$CPP $CPPFLAGS'
16091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16094
16095 depcc="$CXX"  am_compiler_list=
16096
16097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16098 $as_echo_n "checking dependency style of $depcc... " >&6; }
16099 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
16100   $as_echo_n "(cached) " >&6
16101 else
16102   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16103   # We make a subdir and do the tests there.  Otherwise we can end up
16104   # making bogus files that we don't know about and never remove.  For
16105   # instance it was reported that on HP-UX the gcc test will end up
16106   # making a dummy file named 'D' -- because '-MD' means "put the output
16107   # in D".
16108   rm -rf conftest.dir
16109   mkdir conftest.dir
16110   # Copy depcomp to subdir because otherwise we won't find it if we're
16111   # using a relative directory.
16112   cp "$am_depcomp" conftest.dir
16113   cd conftest.dir
16114   # We will build objects and dependencies in a subdirectory because
16115   # it helps to detect inapplicable dependency modes.  For instance
16116   # both Tru64's cc and ICC support -MD to output dependencies as a
16117   # side effect of compilation, but ICC will put the dependencies in
16118   # the current directory while Tru64 will put them in the object
16119   # directory.
16120   mkdir sub
16121
16122   am_cv_CXX_dependencies_compiler_type=none
16123   if test "$am_compiler_list" = ""; then
16124      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16125   fi
16126   am__universal=false
16127   case " $depcc " in #(
16128      *\ -arch\ *\ -arch\ *) am__universal=true ;;
16129      esac
16130
16131   for depmode in $am_compiler_list; do
16132     # Setup a source with many dependencies, because some compilers
16133     # like to wrap large dependency lists on column 80 (with \), and
16134     # we should not choose a depcomp mode which is confused by this.
16135     #
16136     # We need to recreate these files for each test, as the compiler may
16137     # overwrite some of them when testing with obscure command lines.
16138     # This happens at least with the AIX C compiler.
16139     : > sub/conftest.c
16140     for i in 1 2 3 4 5 6; do
16141       echo '#include "conftst'$i'.h"' >> sub/conftest.c
16142       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
16143       # Solaris 10 /bin/sh.
16144       echo '/* dummy */' > sub/conftst$i.h
16145     done
16146     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16147
16148     # We check with '-c' and '-o' for the sake of the "dashmstdout"
16149     # mode.  It turns out that the SunPro C++ compiler does not properly
16150     # handle '-M -o', and we need to detect this.  Also, some Intel
16151     # versions had trouble with output in subdirs.
16152     am__obj=sub/conftest.${OBJEXT-o}
16153     am__minus_obj="-o $am__obj"
16154     case $depmode in
16155     gcc)
16156       # This depmode causes a compiler race in universal mode.
16157       test "$am__universal" = false || continue
16158       ;;
16159     nosideeffect)
16160       # After this tag, mechanisms are not by side-effect, so they'll
16161       # only be used when explicitly requested.
16162       if test "x$enable_dependency_tracking" = xyes; then
16163         continue
16164       else
16165         break
16166       fi
16167       ;;
16168     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
16169       # This compiler won't grok '-c -o', but also, the minuso test has
16170       # not run yet.  These depmodes are late enough in the game, and
16171       # so weak that their functioning should not be impacted.
16172       am__obj=conftest.${OBJEXT-o}
16173       am__minus_obj=
16174       ;;
16175     none) break ;;
16176     esac
16177     if depmode=$depmode \
16178        source=sub/conftest.c object=$am__obj \
16179        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
16180        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
16181          >/dev/null 2>conftest.err &&
16182        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
16183        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
16184        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
16185        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
16186       # icc doesn't choke on unknown options, it will just issue warnings
16187       # or remarks (even with -Werror).  So we grep stderr for any message
16188       # that says an option was ignored or not supported.
16189       # When given -MP, icc 7.0 and 7.1 complain thusly:
16190       #   icc: Command line warning: ignoring option '-M'; no argument required
16191       # The diagnosis changed in icc 8.0:
16192       #   icc: Command line remark: option '-MP' not supported
16193       if (grep 'ignoring option' conftest.err ||
16194           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
16195         am_cv_CXX_dependencies_compiler_type=$depmode
16196         break
16197       fi
16198     fi
16199   done
16200
16201   cd ..
16202   rm -rf conftest.dir
16203 else
16204   am_cv_CXX_dependencies_compiler_type=none
16205 fi
16206
16207 fi
16208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
16209 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
16210 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
16211
16212  if
16213   test "x$enable_dependency_tracking" != xno \
16214   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
16215   am__fastdepCXX_TRUE=
16216   am__fastdepCXX_FALSE='#'
16217 else
16218   am__fastdepCXX_TRUE='#'
16219   am__fastdepCXX_FALSE=
16220 fi
16221
16222
16223
16224
16225 func_stripname_cnf ()
16226 {
16227   case ${2} in
16228   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16229   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16230   esac
16231 } # func_stripname_cnf
16232
16233       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
16234     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
16235     (test "X$CXX" != "Xg++"))) ; then
16236   ac_ext=cpp
16237 ac_cpp='$CXXCPP $CPPFLAGS'
16238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
16242 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
16243 if test -z "$CXXCPP"; then
16244   if ${ac_cv_prog_CXXCPP+:} false; then :
16245   $as_echo_n "(cached) " >&6
16246 else
16247       # Double quotes because CXXCPP needs to be expanded
16248     for CXXCPP in "$CXX -E" "/lib/cpp"
16249     do
16250       ac_preproc_ok=false
16251 for ac_cxx_preproc_warn_flag in '' yes
16252 do
16253   # Use a header file that comes with gcc, so configuring glibc
16254   # with a fresh cross-compiler works.
16255   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16256   # <limits.h> exists even on freestanding compilers.
16257   # On the NeXT, cc -E runs the code through the compiler's parser,
16258   # not just through cpp. "Syntax error" is here to catch this case.
16259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16260 /* end confdefs.h.  */
16261 #ifdef __STDC__
16262 # include <limits.h>
16263 #else
16264 # include <assert.h>
16265 #endif
16266                      Syntax error
16267 _ACEOF
16268 if ac_fn_cxx_try_cpp "$LINENO"; then :
16269
16270 else
16271   # Broken: fails on valid input.
16272 continue
16273 fi
16274 rm -f conftest.err conftest.i conftest.$ac_ext
16275
16276   # OK, works on sane cases.  Now check whether nonexistent headers
16277   # can be detected and how.
16278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16279 /* end confdefs.h.  */
16280 #include <ac_nonexistent.h>
16281 _ACEOF
16282 if ac_fn_cxx_try_cpp "$LINENO"; then :
16283   # Broken: success on invalid input.
16284 continue
16285 else
16286   # Passes both tests.
16287 ac_preproc_ok=:
16288 break
16289 fi
16290 rm -f conftest.err conftest.i conftest.$ac_ext
16291
16292 done
16293 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16294 rm -f conftest.i conftest.err conftest.$ac_ext
16295 if $ac_preproc_ok; then :
16296   break
16297 fi
16298
16299     done
16300     ac_cv_prog_CXXCPP=$CXXCPP
16301
16302 fi
16303   CXXCPP=$ac_cv_prog_CXXCPP
16304 else
16305   ac_cv_prog_CXXCPP=$CXXCPP
16306 fi
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
16308 $as_echo "$CXXCPP" >&6; }
16309 ac_preproc_ok=false
16310 for ac_cxx_preproc_warn_flag in '' yes
16311 do
16312   # Use a header file that comes with gcc, so configuring glibc
16313   # with a fresh cross-compiler works.
16314   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16315   # <limits.h> exists even on freestanding compilers.
16316   # On the NeXT, cc -E runs the code through the compiler's parser,
16317   # not just through cpp. "Syntax error" is here to catch this case.
16318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16319 /* end confdefs.h.  */
16320 #ifdef __STDC__
16321 # include <limits.h>
16322 #else
16323 # include <assert.h>
16324 #endif
16325                      Syntax error
16326 _ACEOF
16327 if ac_fn_cxx_try_cpp "$LINENO"; then :
16328
16329 else
16330   # Broken: fails on valid input.
16331 continue
16332 fi
16333 rm -f conftest.err conftest.i conftest.$ac_ext
16334
16335   # OK, works on sane cases.  Now check whether nonexistent headers
16336   # can be detected and how.
16337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16338 /* end confdefs.h.  */
16339 #include <ac_nonexistent.h>
16340 _ACEOF
16341 if ac_fn_cxx_try_cpp "$LINENO"; then :
16342   # Broken: success on invalid input.
16343 continue
16344 else
16345   # Passes both tests.
16346 ac_preproc_ok=:
16347 break
16348 fi
16349 rm -f conftest.err conftest.i conftest.$ac_ext
16350
16351 done
16352 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16353 rm -f conftest.i conftest.err conftest.$ac_ext
16354 if $ac_preproc_ok; then :
16355
16356 else
16357   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16359 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
16360 See \`config.log' for more details" "$LINENO" 5; }
16361 fi
16362
16363 ac_ext=c
16364 ac_cpp='$CPP $CPPFLAGS'
16365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16368
16369 else
16370   _lt_caught_CXX_error=yes
16371 fi
16372
16373 ac_ext=cpp
16374 ac_cpp='$CXXCPP $CPPFLAGS'
16375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16378
16379 archive_cmds_need_lc_CXX=no
16380 allow_undefined_flag_CXX=
16381 always_export_symbols_CXX=no
16382 archive_expsym_cmds_CXX=
16383 compiler_needs_object_CXX=no
16384 export_dynamic_flag_spec_CXX=
16385 hardcode_direct_CXX=no
16386 hardcode_direct_absolute_CXX=no
16387 hardcode_libdir_flag_spec_CXX=
16388 hardcode_libdir_separator_CXX=
16389 hardcode_minus_L_CXX=no
16390 hardcode_shlibpath_var_CXX=unsupported
16391 hardcode_automatic_CXX=no
16392 inherit_rpath_CXX=no
16393 module_cmds_CXX=
16394 module_expsym_cmds_CXX=
16395 link_all_deplibs_CXX=unknown
16396 old_archive_cmds_CXX=$old_archive_cmds
16397 reload_flag_CXX=$reload_flag
16398 reload_cmds_CXX=$reload_cmds
16399 no_undefined_flag_CXX=
16400 whole_archive_flag_spec_CXX=
16401 enable_shared_with_static_runtimes_CXX=no
16402
16403 # Source file extension for C++ test sources.
16404 ac_ext=cpp
16405
16406 # Object file extension for compiled C++ test sources.
16407 objext=o
16408 objext_CXX=$objext
16409
16410 # No sense in running all these tests if we already determined that
16411 # the CXX compiler isn't working.  Some variables (like enable_shared)
16412 # are currently assumed to apply to all compilers on this platform,
16413 # and will be corrupted by setting them based on a non-working compiler.
16414 if test "$_lt_caught_CXX_error" != yes; then
16415   # Code to be used in simple compile tests
16416   lt_simple_compile_test_code="int some_variable = 0;"
16417
16418   # Code to be used in simple link tests
16419   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
16420
16421   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16422
16423
16424
16425
16426
16427
16428 # If no C compiler was specified, use CC.
16429 LTCC=${LTCC-"$CC"}
16430
16431 # If no C compiler flags were specified, use CFLAGS.
16432 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16433
16434 # Allow CC to be a program name with arguments.
16435 compiler=$CC
16436
16437
16438   # save warnings/boilerplate of simple test code
16439   ac_outfile=conftest.$ac_objext
16440 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16441 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16442 _lt_compiler_boilerplate=`cat conftest.err`
16443 $RM conftest*
16444
16445   ac_outfile=conftest.$ac_objext
16446 echo "$lt_simple_link_test_code" >conftest.$ac_ext
16447 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16448 _lt_linker_boilerplate=`cat conftest.err`
16449 $RM -r conftest*
16450
16451
16452   # Allow CC to be a program name with arguments.
16453   lt_save_CC=$CC
16454   lt_save_CFLAGS=$CFLAGS
16455   lt_save_LD=$LD
16456   lt_save_GCC=$GCC
16457   GCC=$GXX
16458   lt_save_with_gnu_ld=$with_gnu_ld
16459   lt_save_path_LD=$lt_cv_path_LD
16460   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
16461     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
16462   else
16463     $as_unset lt_cv_prog_gnu_ld
16464   fi
16465   if test -n "${lt_cv_path_LDCXX+set}"; then
16466     lt_cv_path_LD=$lt_cv_path_LDCXX
16467   else
16468     $as_unset lt_cv_path_LD
16469   fi
16470   test -z "${LDCXX+set}" || LD=$LDCXX
16471   CC=${CXX-"c++"}
16472   CFLAGS=$CXXFLAGS
16473   compiler=$CC
16474   compiler_CXX=$CC
16475   for cc_temp in $compiler""; do
16476   case $cc_temp in
16477     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16478     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16479     \-*) ;;
16480     *) break;;
16481   esac
16482 done
16483 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
16484
16485
16486   if test -n "$compiler"; then
16487     # We don't want -fno-exception when compiling C++ code, so set the
16488     # no_builtin_flag separately
16489     if test "$GXX" = yes; then
16490       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
16491     else
16492       lt_prog_compiler_no_builtin_flag_CXX=
16493     fi
16494
16495     if test "$GXX" = yes; then
16496       # Set up default GNU C++ configuration
16497
16498
16499
16500 # Check whether --with-gnu-ld was given.
16501 if test "${with_gnu_ld+set}" = set; then :
16502   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
16503 else
16504   with_gnu_ld=no
16505 fi
16506
16507 ac_prog=ld
16508 if test "$GCC" = yes; then
16509   # Check if gcc -print-prog-name=ld gives a path.
16510   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
16511 $as_echo_n "checking for ld used by $CC... " >&6; }
16512   case $host in
16513   *-*-mingw*)
16514     # gcc leaves a trailing carriage return which upsets mingw
16515     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16516   *)
16517     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
16518   esac
16519   case $ac_prog in
16520     # Accept absolute paths.
16521     [\\/]* | ?:[\\/]*)
16522       re_direlt='/[^/][^/]*/\.\./'
16523       # Canonicalize the pathname of ld
16524       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
16525       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
16526         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
16527       done
16528       test -z "$LD" && LD="$ac_prog"
16529       ;;
16530   "")
16531     # If it fails, then pretend we aren't using GCC.
16532     ac_prog=ld
16533     ;;
16534   *)
16535     # If it is relative, then search for the first ld in PATH.
16536     with_gnu_ld=unknown
16537     ;;
16538   esac
16539 elif test "$with_gnu_ld" = yes; then
16540   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16541 $as_echo_n "checking for GNU ld... " >&6; }
16542 else
16543   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16544 $as_echo_n "checking for non-GNU ld... " >&6; }
16545 fi
16546 if ${lt_cv_path_LD+:} false; then :
16547   $as_echo_n "(cached) " >&6
16548 else
16549   if test -z "$LD"; then
16550   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
16551   for ac_dir in $PATH; do
16552     IFS="$lt_save_ifs"
16553     test -z "$ac_dir" && ac_dir=.
16554     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
16555       lt_cv_path_LD="$ac_dir/$ac_prog"
16556       # Check to see if the program is GNU ld.  I'd rather use --version,
16557       # but apparently some variants of GNU ld only accept -v.
16558       # Break only if it was the GNU/non-GNU ld that we prefer.
16559       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
16560       *GNU* | *'with BFD'*)
16561         test "$with_gnu_ld" != no && break
16562         ;;
16563       *)
16564         test "$with_gnu_ld" != yes && break
16565         ;;
16566       esac
16567     fi
16568   done
16569   IFS="$lt_save_ifs"
16570 else
16571   lt_cv_path_LD="$LD" # Let the user override the test with a path.
16572 fi
16573 fi
16574
16575 LD="$lt_cv_path_LD"
16576 if test -n "$LD"; then
16577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16578 $as_echo "$LD" >&6; }
16579 else
16580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16581 $as_echo "no" >&6; }
16582 fi
16583 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
16584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16585 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16586 if ${lt_cv_prog_gnu_ld+:} false; then :
16587   $as_echo_n "(cached) " >&6
16588 else
16589   # I'd rather use --version here, but apparently some GNU lds only accept -v.
16590 case `$LD -v 2>&1 </dev/null` in
16591 *GNU* | *'with BFD'*)
16592   lt_cv_prog_gnu_ld=yes
16593   ;;
16594 *)
16595   lt_cv_prog_gnu_ld=no
16596   ;;
16597 esac
16598 fi
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
16600 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
16601 with_gnu_ld=$lt_cv_prog_gnu_ld
16602
16603
16604
16605
16606
16607
16608
16609       # Check if GNU C++ uses GNU ld as the underlying linker, since the
16610       # archiving commands below assume that GNU ld is being used.
16611       if test "$with_gnu_ld" = yes; then
16612         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
16613         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16614
16615         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16616         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16617
16618         # If archive_cmds runs LD, not CC, wlarc should be empty
16619         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
16620         #     investigate it a little bit more. (MM)
16621         wlarc='${wl}'
16622
16623         # ancient GNU ld didn't support --whole-archive et. al.
16624         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
16625           $GREP 'no-whole-archive' > /dev/null; then
16626           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16627         else
16628           whole_archive_flag_spec_CXX=
16629         fi
16630       else
16631         with_gnu_ld=no
16632         wlarc=
16633
16634         # A generic and very simple default shared library creation
16635         # command for GNU C++ for the case where it uses the native
16636         # linker, instead of GNU ld.  If possible, this setting should
16637         # overridden to take advantage of the native linker features on
16638         # the platform it is being used on.
16639         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16640       fi
16641
16642       # Commands to make compiler produce verbose output that lists
16643       # what "hidden" libraries, object files and flags are used when
16644       # linking a shared library.
16645       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16646
16647     else
16648       GXX=no
16649       with_gnu_ld=no
16650       wlarc=
16651     fi
16652
16653     # PORTME: fill in a description of your system's C++ link characteristics
16654     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16655 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16656     ld_shlibs_CXX=yes
16657     case $host_os in
16658       aix3*)
16659         # FIXME: insert proper C++ library support
16660         ld_shlibs_CXX=no
16661         ;;
16662       aix[4-9]*)
16663         if test "$host_cpu" = ia64; then
16664           # On IA64, the linker does run time linking by default, so we don't
16665           # have to do anything special.
16666           aix_use_runtimelinking=no
16667           exp_sym_flag='-Bexport'
16668           no_entry_flag=""
16669         else
16670           aix_use_runtimelinking=no
16671
16672           # Test if we are trying to use run time linking or normal
16673           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16674           # need to do runtime linking.
16675           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
16676             for ld_flag in $LDFLAGS; do
16677               case $ld_flag in
16678               *-brtl*)
16679                 aix_use_runtimelinking=yes
16680                 break
16681                 ;;
16682               esac
16683             done
16684             ;;
16685           esac
16686
16687           exp_sym_flag='-bexport'
16688           no_entry_flag='-bnoentry'
16689         fi
16690
16691         # When large executables or shared objects are built, AIX ld can
16692         # have problems creating the table of contents.  If linking a library
16693         # or program results in "error TOC overflow" add -mminimal-toc to
16694         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
16695         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16696
16697         archive_cmds_CXX=''
16698         hardcode_direct_CXX=yes
16699         hardcode_direct_absolute_CXX=yes
16700         hardcode_libdir_separator_CXX=':'
16701         link_all_deplibs_CXX=yes
16702         file_list_spec_CXX='${wl}-f,'
16703
16704         if test "$GXX" = yes; then
16705           case $host_os in aix4.[012]|aix4.[012].*)
16706           # We only want to do this on AIX 4.2 and lower, the check
16707           # below for broken collect2 doesn't work under 4.3+
16708           collect2name=`${CC} -print-prog-name=collect2`
16709           if test -f "$collect2name" &&
16710              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
16711           then
16712             # We have reworked collect2
16713             :
16714           else
16715             # We have old collect2
16716             hardcode_direct_CXX=unsupported
16717             # It fails to find uninstalled libraries when the uninstalled
16718             # path is not listed in the libpath.  Setting hardcode_minus_L
16719             # to unsupported forces relinking
16720             hardcode_minus_L_CXX=yes
16721             hardcode_libdir_flag_spec_CXX='-L$libdir'
16722             hardcode_libdir_separator_CXX=
16723           fi
16724           esac
16725           shared_flag='-shared'
16726           if test "$aix_use_runtimelinking" = yes; then
16727             shared_flag="$shared_flag "'${wl}-G'
16728           fi
16729         else
16730           # not using gcc
16731           if test "$host_cpu" = ia64; then
16732           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16733           # chokes on -Wl,-G. The following line is correct:
16734           shared_flag='-G'
16735           else
16736             if test "$aix_use_runtimelinking" = yes; then
16737               shared_flag='${wl}-G'
16738             else
16739               shared_flag='${wl}-bM:SRE'
16740             fi
16741           fi
16742         fi
16743
16744         export_dynamic_flag_spec_CXX='${wl}-bexpall'
16745         # It seems that -bexpall does not export symbols beginning with
16746         # underscore (_), so it is better to generate a list of symbols to
16747         # export.
16748         always_export_symbols_CXX=yes
16749         if test "$aix_use_runtimelinking" = yes; then
16750           # Warning - without using the other runtime loading flags (-brtl),
16751           # -berok will link without error, but may produce a broken library.
16752           allow_undefined_flag_CXX='-berok'
16753           # Determine the default libpath from the value encoded in an empty
16754           # executable.
16755           if test "${lt_cv_aix_libpath+set}" = set; then
16756   aix_libpath=$lt_cv_aix_libpath
16757 else
16758   if ${lt_cv_aix_libpath__CXX+:} false; then :
16759   $as_echo_n "(cached) " >&6
16760 else
16761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16762 /* end confdefs.h.  */
16763
16764 int
16765 main ()
16766 {
16767
16768   ;
16769   return 0;
16770 }
16771 _ACEOF
16772 if ac_fn_cxx_try_link "$LINENO"; then :
16773
16774   lt_aix_libpath_sed='
16775       /Import File Strings/,/^$/ {
16776           /^0/ {
16777               s/^0  *\([^ ]*\) *$/\1/
16778               p
16779           }
16780       }'
16781   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16782   # Check for a 64-bit object if we didn't find anything.
16783   if test -z "$lt_cv_aix_libpath__CXX"; then
16784     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16785   fi
16786 fi
16787 rm -f core conftest.err conftest.$ac_objext \
16788     conftest$ac_exeext conftest.$ac_ext
16789   if test -z "$lt_cv_aix_libpath__CXX"; then
16790     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
16791   fi
16792
16793 fi
16794
16795   aix_libpath=$lt_cv_aix_libpath__CXX
16796 fi
16797
16798           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
16799
16800           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16801         else
16802           if test "$host_cpu" = ia64; then
16803             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
16804             allow_undefined_flag_CXX="-z nodefs"
16805             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"
16806           else
16807             # Determine the default libpath from the value encoded in an
16808             # empty executable.
16809             if test "${lt_cv_aix_libpath+set}" = set; then
16810   aix_libpath=$lt_cv_aix_libpath
16811 else
16812   if ${lt_cv_aix_libpath__CXX+:} false; then :
16813   $as_echo_n "(cached) " >&6
16814 else
16815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16816 /* end confdefs.h.  */
16817
16818 int
16819 main ()
16820 {
16821
16822   ;
16823   return 0;
16824 }
16825 _ACEOF
16826 if ac_fn_cxx_try_link "$LINENO"; then :
16827
16828   lt_aix_libpath_sed='
16829       /Import File Strings/,/^$/ {
16830           /^0/ {
16831               s/^0  *\([^ ]*\) *$/\1/
16832               p
16833           }
16834       }'
16835   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16836   # Check for a 64-bit object if we didn't find anything.
16837   if test -z "$lt_cv_aix_libpath__CXX"; then
16838     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16839   fi
16840 fi
16841 rm -f core conftest.err conftest.$ac_objext \
16842     conftest$ac_exeext conftest.$ac_ext
16843   if test -z "$lt_cv_aix_libpath__CXX"; then
16844     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
16845   fi
16846
16847 fi
16848
16849   aix_libpath=$lt_cv_aix_libpath__CXX
16850 fi
16851
16852             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
16853             # Warning - without using the other run time loading flags,
16854             # -berok will link without error, but may produce a broken library.
16855             no_undefined_flag_CXX=' ${wl}-bernotok'
16856             allow_undefined_flag_CXX=' ${wl}-berok'
16857             if test "$with_gnu_ld" = yes; then
16858               # We only use this code for GNU lds that support --whole-archive.
16859               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
16860             else
16861               # Exported symbols can be pulled into shared objects from archives
16862               whole_archive_flag_spec_CXX='$convenience'
16863             fi
16864             archive_cmds_need_lc_CXX=yes
16865             # This is similar to how AIX traditionally builds its shared
16866             # libraries.
16867             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'
16868           fi
16869         fi
16870         ;;
16871
16872       beos*)
16873         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
16874           allow_undefined_flag_CXX=unsupported
16875           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16876           # support --undefined.  This deserves some investigation.  FIXME
16877           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16878         else
16879           ld_shlibs_CXX=no
16880         fi
16881         ;;
16882
16883       chorus*)
16884         case $cc_basename in
16885           *)
16886           # FIXME: insert proper C++ library support
16887           ld_shlibs_CXX=no
16888           ;;
16889         esac
16890         ;;
16891
16892       cygwin* | mingw* | pw32* | cegcc*)
16893         case $GXX,$cc_basename in
16894         ,cl* | no,cl*)
16895           # Native MSVC
16896           # hardcode_libdir_flag_spec is actually meaningless, as there is
16897           # no search path for DLLs.
16898           hardcode_libdir_flag_spec_CXX=' '
16899           allow_undefined_flag_CXX=unsupported
16900           always_export_symbols_CXX=yes
16901           file_list_spec_CXX='@'
16902           # Tell ltmain to make .lib files, not .a files.
16903           libext=lib
16904           # Tell ltmain to make .dll files, not .so files.
16905           shrext_cmds=".dll"
16906           # FIXME: Setting linknames here is a bad hack.
16907           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
16908           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16909               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
16910             else
16911               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
16912             fi~
16913             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
16914             linknames='
16915           # The linker will not automatically build a static lib if we build a DLL.
16916           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
16917           enable_shared_with_static_runtimes_CXX=yes
16918           # Don't use ranlib
16919           old_postinstall_cmds_CXX='chmod 644 $oldlib'
16920           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
16921             lt_tool_outputfile="@TOOL_OUTPUT@"~
16922             case $lt_outputfile in
16923               *.exe|*.EXE) ;;
16924               *)
16925                 lt_outputfile="$lt_outputfile.exe"
16926                 lt_tool_outputfile="$lt_tool_outputfile.exe"
16927                 ;;
16928             esac~
16929             func_to_tool_file "$lt_outputfile"~
16930             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
16931               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
16932               $RM "$lt_outputfile.manifest";
16933             fi'
16934           ;;
16935         *)
16936           # g++
16937           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
16938           # as there is no search path for DLLs.
16939           hardcode_libdir_flag_spec_CXX='-L$libdir'
16940           export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
16941           allow_undefined_flag_CXX=unsupported
16942           always_export_symbols_CXX=no
16943           enable_shared_with_static_runtimes_CXX=yes
16944
16945           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
16946             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'
16947             # If the export-symbols file already is a .def file (1st line
16948             # is EXPORTS), use it as is; otherwise, prepend...
16949             archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16950               cp $export_symbols $output_objdir/$soname.def;
16951             else
16952               echo EXPORTS > $output_objdir/$soname.def;
16953               cat $export_symbols >> $output_objdir/$soname.def;
16954             fi~
16955             $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'
16956           else
16957             ld_shlibs_CXX=no
16958           fi
16959           ;;
16960         esac
16961         ;;
16962       darwin* | rhapsody*)
16963
16964
16965   archive_cmds_need_lc_CXX=no
16966   hardcode_direct_CXX=no
16967   hardcode_automatic_CXX=yes
16968   hardcode_shlibpath_var_CXX=unsupported
16969   if test "$lt_cv_ld_force_load" = "yes"; then
16970     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
16971
16972   else
16973     whole_archive_flag_spec_CXX=''
16974   fi
16975   link_all_deplibs_CXX=yes
16976   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
16977   case $cc_basename in
16978      ifort*) _lt_dar_can_shared=yes ;;
16979      *) _lt_dar_can_shared=$GCC ;;
16980   esac
16981   if test "$_lt_dar_can_shared" = "yes"; then
16982     output_verbose_link_cmd=func_echo_all
16983     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}"
16984     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
16985     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}"
16986     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}"
16987        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
16988       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}"
16989       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}"
16990     fi
16991
16992   else
16993   ld_shlibs_CXX=no
16994   fi
16995
16996         ;;
16997
16998       dgux*)
16999         case $cc_basename in
17000           ec++*)
17001             # FIXME: insert proper C++ library support
17002             ld_shlibs_CXX=no
17003             ;;
17004           ghcx*)
17005             # Green Hills C++ Compiler
17006             # FIXME: insert proper C++ library support
17007             ld_shlibs_CXX=no
17008             ;;
17009           *)
17010             # FIXME: insert proper C++ library support
17011             ld_shlibs_CXX=no
17012             ;;
17013         esac
17014         ;;
17015
17016       freebsd2.*)
17017         # C++ shared libraries reported to be fairly broken before
17018         # switch to ELF
17019         ld_shlibs_CXX=no
17020         ;;
17021
17022       freebsd-elf*)
17023         archive_cmds_need_lc_CXX=no
17024         ;;
17025
17026       freebsd* | dragonfly*)
17027         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
17028         # conventions
17029         ld_shlibs_CXX=yes
17030         ;;
17031
17032       gnu*)
17033         ;;
17034
17035       haiku*)
17036         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17037         link_all_deplibs_CXX=yes
17038         ;;
17039
17040       hpux9*)
17041         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
17042         hardcode_libdir_separator_CXX=:
17043         export_dynamic_flag_spec_CXX='${wl}-E'
17044         hardcode_direct_CXX=yes
17045         hardcode_minus_L_CXX=yes # Not in the search PATH,
17046                                              # but as the default
17047                                              # location of the library.
17048
17049         case $cc_basename in
17050           CC*)
17051             # FIXME: insert proper C++ library support
17052             ld_shlibs_CXX=no
17053             ;;
17054           aCC*)
17055             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'
17056             # Commands to make compiler produce verbose output that lists
17057             # what "hidden" libraries, object files and flags are used when
17058             # linking a shared library.
17059             #
17060             # There doesn't appear to be a way to prevent this compiler from
17061             # explicitly linking system object files so we need to strip them
17062             # from the output so that they don't get included in the library
17063             # dependencies.
17064             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
17065             ;;
17066           *)
17067             if test "$GXX" = yes; then
17068               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17069             else
17070               # FIXME: insert proper C++ library support
17071               ld_shlibs_CXX=no
17072             fi
17073             ;;
17074         esac
17075         ;;
17076
17077       hpux10*|hpux11*)
17078         if test $with_gnu_ld = no; then
17079           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
17080           hardcode_libdir_separator_CXX=:
17081
17082           case $host_cpu in
17083             hppa*64*|ia64*)
17084               ;;
17085             *)
17086               export_dynamic_flag_spec_CXX='${wl}-E'
17087               ;;
17088           esac
17089         fi
17090         case $host_cpu in
17091           hppa*64*|ia64*)
17092             hardcode_direct_CXX=no
17093             hardcode_shlibpath_var_CXX=no
17094             ;;
17095           *)
17096             hardcode_direct_CXX=yes
17097             hardcode_direct_absolute_CXX=yes
17098             hardcode_minus_L_CXX=yes # Not in the search PATH,
17099                                                  # but as the default
17100                                                  # location of the library.
17101             ;;
17102         esac
17103
17104         case $cc_basename in
17105           CC*)
17106             # FIXME: insert proper C++ library support
17107             ld_shlibs_CXX=no
17108             ;;
17109           aCC*)
17110             case $host_cpu in
17111               hppa*64*)
17112                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17113                 ;;
17114               ia64*)
17115                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17116                 ;;
17117               *)
17118                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17119                 ;;
17120             esac
17121             # Commands to make compiler produce verbose output that lists
17122             # what "hidden" libraries, object files and flags are used when
17123             # linking a shared library.
17124             #
17125             # There doesn't appear to be a way to prevent this compiler from
17126             # explicitly linking system object files so we need to strip them
17127             # from the output so that they don't get included in the library
17128             # dependencies.
17129             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
17130             ;;
17131           *)
17132             if test "$GXX" = yes; then
17133               if test $with_gnu_ld = no; then
17134                 case $host_cpu in
17135                   hppa*64*)
17136                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17137                     ;;
17138                   ia64*)
17139                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17140                     ;;
17141                   *)
17142                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17143                     ;;
17144                 esac
17145               fi
17146             else
17147               # FIXME: insert proper C++ library support
17148               ld_shlibs_CXX=no
17149             fi
17150             ;;
17151         esac
17152         ;;
17153
17154       interix[3-9]*)
17155         hardcode_direct_CXX=no
17156         hardcode_shlibpath_var_CXX=no
17157         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
17158         export_dynamic_flag_spec_CXX='${wl}-E'
17159         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17160         # Instead, shared libraries are loaded at an image base (0x10000000 by
17161         # default) and relocated if they conflict, which is a slow very memory
17162         # consuming and fragmenting process.  To avoid this, we pick a random,
17163         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17164         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
17165         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'
17166         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'
17167         ;;
17168       irix5* | irix6*)
17169         case $cc_basename in
17170           CC*)
17171             # SGI C++
17172             archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
17173
17174             # Archives containing C++ object files must be created using
17175             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
17176             # necessary to make sure instantiated templates are included
17177             # in the archive.
17178             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
17179             ;;
17180           *)
17181             if test "$GXX" = yes; then
17182               if test "$with_gnu_ld" = no; then
17183                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17184               else
17185                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
17186               fi
17187             fi
17188             link_all_deplibs_CXX=yes
17189             ;;
17190         esac
17191         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17192         hardcode_libdir_separator_CXX=:
17193         inherit_rpath_CXX=yes
17194         ;;
17195
17196       linux* | k*bsd*-gnu | kopensolaris*-gnu)
17197         case $cc_basename in
17198           KCC*)
17199             # Kuck and Associates, Inc. (KAI) C++ Compiler
17200
17201             # KCC will only create a shared library if the output file
17202             # ends with ".so" (or ".sl" for HP-UX), so rename the library
17203             # to its proper name (with version) after linking.
17204             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'
17205             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'
17206             # Commands to make compiler produce verbose output that lists
17207             # what "hidden" libraries, object files and flags are used when
17208             # linking a shared library.
17209             #
17210             # There doesn't appear to be a way to prevent this compiler from
17211             # explicitly linking system object files so we need to strip them
17212             # from the output so that they don't get included in the library
17213             # dependencies.
17214             output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
17215
17216             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
17217             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
17218
17219             # Archives containing C++ object files must be created using
17220             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
17221             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
17222             ;;
17223           icpc* | ecpc* )
17224             # Intel C++
17225             with_gnu_ld=yes
17226             # version 8.0 and above of icpc choke on multiply defined symbols
17227             # if we add $predep_objects and $postdep_objects, however 7.1 and
17228             # earlier do not add the objects themselves.
17229             case `$CC -V 2>&1` in
17230               *"Version 7."*)
17231                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
17232                 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'
17233                 ;;
17234               *)  # Version 8.0 or newer
17235                 tmp_idyn=
17236                 case $host_cpu in
17237                   ia64*) tmp_idyn=' -i_dynamic';;
17238                 esac
17239                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17240                 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'
17241                 ;;
17242             esac
17243             archive_cmds_need_lc_CXX=no
17244             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
17245             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
17246             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
17247             ;;
17248           pgCC* | pgcpp*)
17249             # Portland Group C++ compiler
17250             case `$CC -V` in
17251             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
17252               prelink_cmds_CXX='tpldir=Template.dir~
17253                 rm -rf $tpldir~
17254                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
17255                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
17256               old_archive_cmds_CXX='tpldir=Template.dir~
17257                 rm -rf $tpldir~
17258                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
17259                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
17260                 $RANLIB $oldlib'
17261               archive_cmds_CXX='tpldir=Template.dir~
17262                 rm -rf $tpldir~
17263                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
17264                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
17265               archive_expsym_cmds_CXX='tpldir=Template.dir~
17266                 rm -rf $tpldir~
17267                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
17268                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
17269               ;;
17270             *) # Version 6 and above use weak symbols
17271               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
17272               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'
17273               ;;
17274             esac
17275
17276             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
17277             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
17278             whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
17279             ;;
17280           cxx*)
17281             # Compaq C++
17282             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
17283             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'
17284
17285             runpath_var=LD_RUN_PATH
17286             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
17287             hardcode_libdir_separator_CXX=:
17288
17289             # Commands to make compiler produce verbose output that lists
17290             # what "hidden" libraries, object files and flags are used when
17291             # linking a shared library.
17292             #
17293             # There doesn't appear to be a way to prevent this compiler from
17294             # explicitly linking system object files so we need to strip them
17295             # from the output so that they don't get included in the library
17296             # dependencies.
17297             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
17298             ;;
17299           xl* | mpixl* | bgxl*)
17300             # IBM XL 8.0 on PPC, with GNU ld
17301             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17302             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
17303             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17304             if test "x$supports_anon_versioning" = xyes; then
17305               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
17306                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17307                 echo "local: *; };" >> $output_objdir/$libname.ver~
17308                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17309             fi
17310             ;;
17311           *)
17312             case `$CC -V 2>&1 | sed 5q` in
17313             *Sun\ C*)
17314               # Sun C++ 5.9
17315               no_undefined_flag_CXX=' -zdefs'
17316               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17317               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'
17318               hardcode_libdir_flag_spec_CXX='-R$libdir'
17319               whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
17320               compiler_needs_object_CXX=yes
17321
17322               # Not sure whether something based on
17323               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
17324               # would be better.
17325               output_verbose_link_cmd='func_echo_all'
17326
17327               # Archives containing C++ object files must be created using
17328               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
17329               # necessary to make sure instantiated templates are included
17330               # in the archive.
17331               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
17332               ;;
17333             esac
17334             ;;
17335         esac
17336         ;;
17337
17338       lynxos*)
17339         # FIXME: insert proper C++ library support
17340         ld_shlibs_CXX=no
17341         ;;
17342
17343       m88k*)
17344         # FIXME: insert proper C++ library support
17345         ld_shlibs_CXX=no
17346         ;;
17347
17348       mvs*)
17349         case $cc_basename in
17350           cxx*)
17351             # FIXME: insert proper C++ library support
17352             ld_shlibs_CXX=no
17353             ;;
17354           *)
17355             # FIXME: insert proper C++ library support
17356             ld_shlibs_CXX=no
17357             ;;
17358         esac
17359         ;;
17360
17361       netbsd*)
17362         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17363           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
17364           wlarc=
17365           hardcode_libdir_flag_spec_CXX='-R$libdir'
17366           hardcode_direct_CXX=yes
17367           hardcode_shlibpath_var_CXX=no
17368         fi
17369         # Workaround some broken pre-1.5 toolchains
17370         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
17371         ;;
17372
17373       *nto* | *qnx*)
17374         ld_shlibs_CXX=yes
17375         ;;
17376
17377       openbsd2*)
17378         # C++ shared libraries are fairly broken
17379         ld_shlibs_CXX=no
17380         ;;
17381
17382       openbsd*)
17383         if test -f /usr/libexec/ld.so; then
17384           hardcode_direct_CXX=yes
17385           hardcode_shlibpath_var_CXX=no
17386           hardcode_direct_absolute_CXX=yes
17387           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
17388           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
17389           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17390             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
17391             export_dynamic_flag_spec_CXX='${wl}-E'
17392             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17393           fi
17394           output_verbose_link_cmd=func_echo_all
17395         else
17396           ld_shlibs_CXX=no
17397         fi
17398         ;;
17399
17400       osf3* | osf4* | osf5*)
17401         case $cc_basename in
17402           KCC*)
17403             # Kuck and Associates, Inc. (KAI) C++ Compiler
17404
17405             # KCC will only create a shared library if the output file
17406             # ends with ".so" (or ".sl" for HP-UX), so rename the library
17407             # to its proper name (with version) after linking.
17408             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'
17409
17410             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
17411             hardcode_libdir_separator_CXX=:
17412
17413             # Archives containing C++ object files must be created using
17414             # the KAI C++ compiler.
17415             case $host in
17416               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
17417               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
17418             esac
17419             ;;
17420           RCC*)
17421             # Rational C++ 2.4.1
17422             # FIXME: insert proper C++ library support
17423             ld_shlibs_CXX=no
17424             ;;
17425           cxx*)
17426             case $host in
17427               osf3*)
17428                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
17429                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
17430                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17431                 ;;
17432               *)
17433                 allow_undefined_flag_CXX=' -expect_unresolved \*'
17434                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
17435                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
17436                   echo "-hidden">> $lib.exp~
17437                   $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
17438                   $RM $lib.exp'
17439                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
17440                 ;;
17441             esac
17442
17443             hardcode_libdir_separator_CXX=:
17444
17445             # Commands to make compiler produce verbose output that lists
17446             # what "hidden" libraries, object files and flags are used when
17447             # linking a shared library.
17448             #
17449             # There doesn't appear to be a way to prevent this compiler from
17450             # explicitly linking system object files so we need to strip them
17451             # from the output so that they don't get included in the library
17452             # dependencies.
17453             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
17454             ;;
17455           *)
17456             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
17457               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
17458               case $host in
17459                 osf3*)
17460                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17461                   ;;
17462                 *)
17463                   archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17464                   ;;
17465               esac
17466
17467               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17468               hardcode_libdir_separator_CXX=:
17469
17470               # Commands to make compiler produce verbose output that lists
17471               # what "hidden" libraries, object files and flags are used when
17472               # linking a shared library.
17473               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
17474
17475             else
17476               # FIXME: insert proper C++ library support
17477               ld_shlibs_CXX=no
17478             fi
17479             ;;
17480         esac
17481         ;;
17482
17483       psos*)
17484         # FIXME: insert proper C++ library support
17485         ld_shlibs_CXX=no
17486         ;;
17487
17488       sunos4*)
17489         case $cc_basename in
17490           CC*)
17491             # Sun C++ 4.x
17492             # FIXME: insert proper C++ library support
17493             ld_shlibs_CXX=no
17494             ;;
17495           lcc*)
17496             # Lucid
17497             # FIXME: insert proper C++ library support
17498             ld_shlibs_CXX=no
17499             ;;
17500           *)
17501             # FIXME: insert proper C++ library support
17502             ld_shlibs_CXX=no
17503             ;;
17504         esac
17505         ;;
17506
17507       solaris*)
17508         case $cc_basename in
17509           CC* | sunCC*)
17510             # Sun C++ 4.2, 5.x and Centerline C++
17511             archive_cmds_need_lc_CXX=yes
17512             no_undefined_flag_CXX=' -zdefs'
17513             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17514             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17515               $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'
17516
17517             hardcode_libdir_flag_spec_CXX='-R$libdir'
17518             hardcode_shlibpath_var_CXX=no
17519             case $host_os in
17520               solaris2.[0-5] | solaris2.[0-5].*) ;;
17521               *)
17522                 # The compiler driver will combine and reorder linker options,
17523                 # but understands `-z linker_flag'.
17524                 # Supported since Solaris 2.6 (maybe 2.5.1?)
17525                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
17526                 ;;
17527             esac
17528             link_all_deplibs_CXX=yes
17529
17530             output_verbose_link_cmd='func_echo_all'
17531
17532             # Archives containing C++ object files must be created using
17533             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
17534             # necessary to make sure instantiated templates are included
17535             # in the archive.
17536             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
17537             ;;
17538           gcx*)
17539             # Green Hills C++ Compiler
17540             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
17541
17542             # The C++ compiler must be used to create the archive.
17543             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
17544             ;;
17545           *)
17546             # GNU C++ compiler with Solaris linker
17547             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
17548               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
17549               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
17550                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
17551                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17552                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
17553
17554                 # Commands to make compiler produce verbose output that lists
17555                 # what "hidden" libraries, object files and flags are used when
17556                 # linking a shared library.
17557                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
17558               else
17559                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
17560                 # platform.
17561                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
17562                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17563                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
17564
17565                 # Commands to make compiler produce verbose output that lists
17566                 # what "hidden" libraries, object files and flags are used when
17567                 # linking a shared library.
17568                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
17569               fi
17570
17571               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
17572               case $host_os in
17573                 solaris2.[0-5] | solaris2.[0-5].*) ;;
17574                 *)
17575                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17576                   ;;
17577               esac
17578             fi
17579             ;;
17580         esac
17581         ;;
17582
17583     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
17584       no_undefined_flag_CXX='${wl}-z,text'
17585       archive_cmds_need_lc_CXX=no
17586       hardcode_shlibpath_var_CXX=no
17587       runpath_var='LD_RUN_PATH'
17588
17589       case $cc_basename in
17590         CC*)
17591           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17592           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17593           ;;
17594         *)
17595           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17596           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17597           ;;
17598       esac
17599       ;;
17600
17601       sysv5* | sco3.2v5* | sco5v6*)
17602         # Note: We can NOT use -z defs as we might desire, because we do not
17603         # link with -lc, and that would cause any symbols used from libc to
17604         # always be unresolved, which means just about no library would
17605         # ever link correctly.  If we're not using GNU ld we use -z text
17606         # though, which does catch some bad symbols but isn't as heavy-handed
17607         # as -z defs.
17608         no_undefined_flag_CXX='${wl}-z,text'
17609         allow_undefined_flag_CXX='${wl}-z,nodefs'
17610         archive_cmds_need_lc_CXX=no
17611         hardcode_shlibpath_var_CXX=no
17612         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
17613         hardcode_libdir_separator_CXX=':'
17614         link_all_deplibs_CXX=yes
17615         export_dynamic_flag_spec_CXX='${wl}-Bexport'
17616         runpath_var='LD_RUN_PATH'
17617
17618         case $cc_basename in
17619           CC*)
17620             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17621             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17622             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
17623               '"$old_archive_cmds_CXX"
17624             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
17625               '"$reload_cmds_CXX"
17626             ;;
17627           *)
17628             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17629             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17630             ;;
17631         esac
17632       ;;
17633
17634       tandem*)
17635         case $cc_basename in
17636           NCC*)
17637             # NonStop-UX NCC 3.20
17638             # FIXME: insert proper C++ library support
17639             ld_shlibs_CXX=no
17640             ;;
17641           *)
17642             # FIXME: insert proper C++ library support
17643             ld_shlibs_CXX=no
17644             ;;
17645         esac
17646         ;;
17647
17648       vxworks*)
17649         # FIXME: insert proper C++ library support
17650         ld_shlibs_CXX=no
17651         ;;
17652
17653       *)
17654         # FIXME: insert proper C++ library support
17655         ld_shlibs_CXX=no
17656         ;;
17657     esac
17658
17659     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17660 $as_echo "$ld_shlibs_CXX" >&6; }
17661     test "$ld_shlibs_CXX" = no && can_build_shared=no
17662
17663     GCC_CXX="$GXX"
17664     LD_CXX="$LD"
17665
17666     ## CAVEAT EMPTOR:
17667     ## There is no encapsulation within the following macros, do not change
17668     ## the running order or otherwise move them around unless you know exactly
17669     ## what you are doing...
17670     # Dependencies to place before and after the object being linked:
17671 predep_objects_CXX=
17672 postdep_objects_CXX=
17673 predeps_CXX=
17674 postdeps_CXX=
17675 compiler_lib_search_path_CXX=
17676
17677 cat > conftest.$ac_ext <<_LT_EOF
17678 class Foo
17679 {
17680 public:
17681   Foo (void) { a = 0; }
17682 private:
17683   int a;
17684 };
17685 _LT_EOF
17686
17687
17688 _lt_libdeps_save_CFLAGS=$CFLAGS
17689 case "$CC $CFLAGS " in #(
17690 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
17691 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
17692 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
17693 esac
17694
17695 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17696   (eval $ac_compile) 2>&5
17697   ac_status=$?
17698   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17699   test $ac_status = 0; }; then
17700   # Parse the compiler output and extract the necessary
17701   # objects, libraries and library flags.
17702
17703   # Sentinel used to keep track of whether or not we are before
17704   # the conftest object file.
17705   pre_test_object_deps_done=no
17706
17707   for p in `eval "$output_verbose_link_cmd"`; do
17708     case ${prev}${p} in
17709
17710     -L* | -R* | -l*)
17711        # Some compilers place space between "-{L,R}" and the path.
17712        # Remove the space.
17713        if test $p = "-L" ||
17714           test $p = "-R"; then
17715          prev=$p
17716          continue
17717        fi
17718
17719        # Expand the sysroot to ease extracting the directories later.
17720        if test -z "$prev"; then
17721          case $p in
17722          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
17723          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
17724          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
17725          esac
17726        fi
17727        case $p in
17728        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
17729        esac
17730        if test "$pre_test_object_deps_done" = no; then
17731          case ${prev} in
17732          -L | -R)
17733            # Internal compiler library paths should come after those
17734            # provided the user.  The postdeps already come after the
17735            # user supplied libs so there is no need to process them.
17736            if test -z "$compiler_lib_search_path_CXX"; then
17737              compiler_lib_search_path_CXX="${prev}${p}"
17738            else
17739              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
17740            fi
17741            ;;
17742          # The "-l" case would never come before the object being
17743          # linked, so don't bother handling this case.
17744          esac
17745        else
17746          if test -z "$postdeps_CXX"; then
17747            postdeps_CXX="${prev}${p}"
17748          else
17749            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
17750          fi
17751        fi
17752        prev=
17753        ;;
17754
17755     *.lto.$objext) ;; # Ignore GCC LTO objects
17756     *.$objext)
17757        # This assumes that the test object file only shows up
17758        # once in the compiler output.
17759        if test "$p" = "conftest.$objext"; then
17760          pre_test_object_deps_done=yes
17761          continue
17762        fi
17763
17764        if test "$pre_test_object_deps_done" = no; then
17765          if test -z "$predep_objects_CXX"; then
17766            predep_objects_CXX="$p"
17767          else
17768            predep_objects_CXX="$predep_objects_CXX $p"
17769          fi
17770        else
17771          if test -z "$postdep_objects_CXX"; then
17772            postdep_objects_CXX="$p"
17773          else
17774            postdep_objects_CXX="$postdep_objects_CXX $p"
17775          fi
17776        fi
17777        ;;
17778
17779     *) ;; # Ignore the rest.
17780
17781     esac
17782   done
17783
17784   # Clean up.
17785   rm -f a.out a.exe
17786 else
17787   echo "libtool.m4: error: problem compiling CXX test program"
17788 fi
17789
17790 $RM -f confest.$objext
17791 CFLAGS=$_lt_libdeps_save_CFLAGS
17792
17793 # PORTME: override above test on systems where it is broken
17794 case $host_os in
17795 interix[3-9]*)
17796   # Interix 3.5 installs completely hosed .la files for C++, so rather than
17797   # hack all around it, let's just trust "g++" to DTRT.
17798   predep_objects_CXX=
17799   postdep_objects_CXX=
17800   postdeps_CXX=
17801   ;;
17802
17803 linux*)
17804   case `$CC -V 2>&1 | sed 5q` in
17805   *Sun\ C*)
17806     # Sun C++ 5.9
17807
17808     # The more standards-conforming stlport4 library is
17809     # incompatible with the Cstd library. Avoid specifying
17810     # it if it's in CXXFLAGS. Ignore libCrun as
17811     # -library=stlport4 depends on it.
17812     case " $CXX $CXXFLAGS " in
17813     *" -library=stlport4 "*)
17814       solaris_use_stlport4=yes
17815       ;;
17816     esac
17817
17818     if test "$solaris_use_stlport4" != yes; then
17819       postdeps_CXX='-library=Cstd -library=Crun'
17820     fi
17821     ;;
17822   esac
17823   ;;
17824
17825 solaris*)
17826   case $cc_basename in
17827   CC* | sunCC*)
17828     # The more standards-conforming stlport4 library is
17829     # incompatible with the Cstd library. Avoid specifying
17830     # it if it's in CXXFLAGS. Ignore libCrun as
17831     # -library=stlport4 depends on it.
17832     case " $CXX $CXXFLAGS " in
17833     *" -library=stlport4 "*)
17834       solaris_use_stlport4=yes
17835       ;;
17836     esac
17837
17838     # Adding this requires a known-good setup of shared libraries for
17839     # Sun compiler versions before 5.6, else PIC objects from an old
17840     # archive will be linked into the output, leading to subtle bugs.
17841     if test "$solaris_use_stlport4" != yes; then
17842       postdeps_CXX='-library=Cstd -library=Crun'
17843     fi
17844     ;;
17845   esac
17846   ;;
17847 esac
17848
17849
17850 case " $postdeps_CXX " in
17851 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
17852 esac
17853  compiler_lib_search_dirs_CXX=
17854 if test -n "${compiler_lib_search_path_CXX}"; then
17855  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
17856 fi
17857
17858
17859
17860
17861
17862
17863
17864
17865
17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
17877
17878
17879
17880
17881
17882
17883
17884
17885
17886
17887
17888     lt_prog_compiler_wl_CXX=
17889 lt_prog_compiler_pic_CXX=
17890 lt_prog_compiler_static_CXX=
17891
17892
17893   # C++ specific cases for pic, static, wl, etc.
17894   if test "$GXX" = yes; then
17895     lt_prog_compiler_wl_CXX='-Wl,'
17896     lt_prog_compiler_static_CXX='-static'
17897
17898     case $host_os in
17899     aix*)
17900       # All AIX code is PIC.
17901       if test "$host_cpu" = ia64; then
17902         # AIX 5 now supports IA64 processor
17903         lt_prog_compiler_static_CXX='-Bstatic'
17904       fi
17905       ;;
17906
17907     amigaos*)
17908       case $host_cpu in
17909       powerpc)
17910             # see comment about AmigaOS4 .so support
17911             lt_prog_compiler_pic_CXX='-fPIC'
17912         ;;
17913       m68k)
17914             # FIXME: we need at least 68020 code to build shared libraries, but
17915             # adding the `-m68020' flag to GCC prevents building anything better,
17916             # like `-m68040'.
17917             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
17918         ;;
17919       esac
17920       ;;
17921
17922     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17923       # PIC is the default for these OSes.
17924       ;;
17925     mingw* | cygwin* | os2* | pw32* | cegcc*)
17926       # This hack is so that the source file can tell whether it is being
17927       # built for inclusion in a dll (and should export symbols for example).
17928       # Although the cygwin gcc ignores -fPIC, still need this for old-style
17929       # (--disable-auto-import) libraries
17930       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
17931       ;;
17932     darwin* | rhapsody*)
17933       # PIC is the default on this platform
17934       # Common symbols not allowed in MH_DYLIB files
17935       lt_prog_compiler_pic_CXX='-fno-common'
17936       ;;
17937     *djgpp*)
17938       # DJGPP does not support shared libraries at all
17939       lt_prog_compiler_pic_CXX=
17940       ;;
17941     haiku*)
17942       # PIC is the default for Haiku.
17943       # The "-static" flag exists, but is broken.
17944       lt_prog_compiler_static_CXX=
17945       ;;
17946     interix[3-9]*)
17947       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17948       # Instead, we relocate shared libraries at runtime.
17949       ;;
17950     sysv4*MP*)
17951       if test -d /usr/nec; then
17952         lt_prog_compiler_pic_CXX=-Kconform_pic
17953       fi
17954       ;;
17955     hpux*)
17956       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
17957       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
17958       # sets the default TLS model and affects inlining.
17959       case $host_cpu in
17960       hppa*64*)
17961         ;;
17962       *)
17963         lt_prog_compiler_pic_CXX='-fPIC'
17964         ;;
17965       esac
17966       ;;
17967     *qnx* | *nto*)
17968       # QNX uses GNU C++, but need to define -shared option too, otherwise
17969       # it will coredump.
17970       lt_prog_compiler_pic_CXX='-fPIC -shared'
17971       ;;
17972     *)
17973       lt_prog_compiler_pic_CXX='-fPIC'
17974       ;;
17975     esac
17976   else
17977     case $host_os in
17978       aix[4-9]*)
17979         # All AIX code is PIC.
17980         if test "$host_cpu" = ia64; then
17981           # AIX 5 now supports IA64 processor
17982           lt_prog_compiler_static_CXX='-Bstatic'
17983         else
17984           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
17985         fi
17986         ;;
17987       chorus*)
17988         case $cc_basename in
17989         cxch68*)
17990           # Green Hills C++ Compiler
17991           # _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"
17992           ;;
17993         esac
17994         ;;
17995       mingw* | cygwin* | os2* | pw32* | cegcc*)
17996         # This hack is so that the source file can tell whether it is being
17997         # built for inclusion in a dll (and should export symbols for example).
17998         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
17999         ;;
18000       dgux*)
18001         case $cc_basename in
18002           ec++*)
18003             lt_prog_compiler_pic_CXX='-KPIC'
18004             ;;
18005           ghcx*)
18006             # Green Hills C++ Compiler
18007             lt_prog_compiler_pic_CXX='-pic'
18008             ;;
18009           *)
18010             ;;
18011         esac
18012         ;;
18013       freebsd* | dragonfly*)
18014         # FreeBSD uses GNU C++
18015         ;;
18016       hpux9* | hpux10* | hpux11*)
18017         case $cc_basename in
18018           CC*)
18019             lt_prog_compiler_wl_CXX='-Wl,'
18020             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
18021             if test "$host_cpu" != ia64; then
18022               lt_prog_compiler_pic_CXX='+Z'
18023             fi
18024             ;;
18025           aCC*)
18026             lt_prog_compiler_wl_CXX='-Wl,'
18027             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
18028             case $host_cpu in
18029             hppa*64*|ia64*)
18030               # +Z the default
18031               ;;
18032             *)
18033               lt_prog_compiler_pic_CXX='+Z'
18034               ;;
18035             esac
18036             ;;
18037           *)
18038             ;;
18039         esac
18040         ;;
18041       interix*)
18042         # This is c89, which is MS Visual C++ (no shared libs)
18043         # Anyone wants to do a port?
18044         ;;
18045       irix5* | irix6* | nonstopux*)
18046         case $cc_basename in
18047           CC*)
18048             lt_prog_compiler_wl_CXX='-Wl,'
18049             lt_prog_compiler_static_CXX='-non_shared'
18050             # CC pic flag -KPIC is the default.
18051             ;;
18052           *)
18053             ;;
18054         esac
18055         ;;
18056       linux* | k*bsd*-gnu | kopensolaris*-gnu)
18057         case $cc_basename in
18058           KCC*)
18059             # KAI C++ Compiler
18060             lt_prog_compiler_wl_CXX='--backend -Wl,'
18061             lt_prog_compiler_pic_CXX='-fPIC'
18062             ;;
18063           ecpc* )
18064             # old Intel C++ for x86_64 which still supported -KPIC.
18065             lt_prog_compiler_wl_CXX='-Wl,'
18066             lt_prog_compiler_pic_CXX='-KPIC'
18067             lt_prog_compiler_static_CXX='-static'
18068             ;;
18069           icpc* )
18070             # Intel C++, used to be incompatible with GCC.
18071             # ICC 10 doesn't accept -KPIC any more.
18072             lt_prog_compiler_wl_CXX='-Wl,'
18073             lt_prog_compiler_pic_CXX='-fPIC'
18074             lt_prog_compiler_static_CXX='-static'
18075             ;;
18076           pgCC* | pgcpp*)
18077             # Portland Group C++ compiler
18078             lt_prog_compiler_wl_CXX='-Wl,'
18079             lt_prog_compiler_pic_CXX='-fpic'
18080             lt_prog_compiler_static_CXX='-Bstatic'
18081             ;;
18082           cxx*)
18083             # Compaq C++
18084             # Make sure the PIC flag is empty.  It appears that all Alpha
18085             # Linux and Compaq Tru64 Unix objects are PIC.
18086             lt_prog_compiler_pic_CXX=
18087             lt_prog_compiler_static_CXX='-non_shared'
18088             ;;
18089           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
18090             # IBM XL 8.0, 9.0 on PPC and BlueGene
18091             lt_prog_compiler_wl_CXX='-Wl,'
18092             lt_prog_compiler_pic_CXX='-qpic'
18093             lt_prog_compiler_static_CXX='-qstaticlink'
18094             ;;
18095           *)
18096             case `$CC -V 2>&1 | sed 5q` in
18097             *Sun\ C*)
18098               # Sun C++ 5.9
18099               lt_prog_compiler_pic_CXX='-KPIC'
18100               lt_prog_compiler_static_CXX='-Bstatic'
18101               lt_prog_compiler_wl_CXX='-Qoption ld '
18102               ;;
18103             esac
18104             ;;
18105         esac
18106         ;;
18107       lynxos*)
18108         ;;
18109       m88k*)
18110         ;;
18111       mvs*)
18112         case $cc_basename in
18113           cxx*)
18114             lt_prog_compiler_pic_CXX='-W c,exportall'
18115             ;;
18116           *)
18117             ;;
18118         esac
18119         ;;
18120       netbsd*)
18121         ;;
18122       *qnx* | *nto*)
18123         # QNX uses GNU C++, but need to define -shared option too, otherwise
18124         # it will coredump.
18125         lt_prog_compiler_pic_CXX='-fPIC -shared'
18126         ;;
18127       osf3* | osf4* | osf5*)
18128         case $cc_basename in
18129           KCC*)
18130             lt_prog_compiler_wl_CXX='--backend -Wl,'
18131             ;;
18132           RCC*)
18133             # Rational C++ 2.4.1
18134             lt_prog_compiler_pic_CXX='-pic'
18135             ;;
18136           cxx*)
18137             # Digital/Compaq C++
18138             lt_prog_compiler_wl_CXX='-Wl,'
18139             # Make sure the PIC flag is empty.  It appears that all Alpha
18140             # Linux and Compaq Tru64 Unix objects are PIC.
18141             lt_prog_compiler_pic_CXX=
18142             lt_prog_compiler_static_CXX='-non_shared'
18143             ;;
18144           *)
18145             ;;
18146         esac
18147         ;;
18148       psos*)
18149         ;;
18150       solaris*)
18151         case $cc_basename in
18152           CC* | sunCC*)
18153             # Sun C++ 4.2, 5.x and Centerline C++
18154             lt_prog_compiler_pic_CXX='-KPIC'
18155             lt_prog_compiler_static_CXX='-Bstatic'
18156             lt_prog_compiler_wl_CXX='-Qoption ld '
18157             ;;
18158           gcx*)
18159             # Green Hills C++ Compiler
18160             lt_prog_compiler_pic_CXX='-PIC'
18161             ;;
18162           *)
18163             ;;
18164         esac
18165         ;;
18166       sunos4*)
18167         case $cc_basename in
18168           CC*)
18169             # Sun C++ 4.x
18170             lt_prog_compiler_pic_CXX='-pic'
18171             lt_prog_compiler_static_CXX='-Bstatic'
18172             ;;
18173           lcc*)
18174             # Lucid
18175             lt_prog_compiler_pic_CXX='-pic'
18176             ;;
18177           *)
18178             ;;
18179         esac
18180         ;;
18181       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
18182         case $cc_basename in
18183           CC*)
18184             lt_prog_compiler_wl_CXX='-Wl,'
18185             lt_prog_compiler_pic_CXX='-KPIC'
18186             lt_prog_compiler_static_CXX='-Bstatic'
18187             ;;
18188         esac
18189         ;;
18190       tandem*)
18191         case $cc_basename in
18192           NCC*)
18193             # NonStop-UX NCC 3.20
18194             lt_prog_compiler_pic_CXX='-KPIC'
18195             ;;
18196           *)
18197             ;;
18198         esac
18199         ;;
18200       vxworks*)
18201         ;;
18202       *)
18203         lt_prog_compiler_can_build_shared_CXX=no
18204         ;;
18205     esac
18206   fi
18207
18208 case $host_os in
18209   # For platforms which do not support PIC, -DPIC is meaningless:
18210   *djgpp*)
18211     lt_prog_compiler_pic_CXX=
18212     ;;
18213   *)
18214     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
18215     ;;
18216 esac
18217
18218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
18219 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
18220 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
18221   $as_echo_n "(cached) " >&6
18222 else
18223   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
18224 fi
18225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
18226 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
18227 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
18228
18229 #
18230 # Check to make sure the PIC flag actually works.
18231 #
18232 if test -n "$lt_prog_compiler_pic_CXX"; then
18233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
18234 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
18235 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
18236   $as_echo_n "(cached) " >&6
18237 else
18238   lt_cv_prog_compiler_pic_works_CXX=no
18239    ac_outfile=conftest.$ac_objext
18240    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18241    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
18242    # Insert the option either (1) after the last *FLAGS variable, or
18243    # (2) before a word containing "conftest.", or (3) at the end.
18244    # Note that $ac_compile itself does not contain backslashes and begins
18245    # with a dollar sign (not a hyphen), so the echo should work correctly.
18246    # The option is referenced via a variable to avoid confusing sed.
18247    lt_compile=`echo "$ac_compile" | $SED \
18248    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18249    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18250    -e 's:$: $lt_compiler_flag:'`
18251    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18252    (eval "$lt_compile" 2>conftest.err)
18253    ac_status=$?
18254    cat conftest.err >&5
18255    echo "$as_me:$LINENO: \$? = $ac_status" >&5
18256    if (exit $ac_status) && test -s "$ac_outfile"; then
18257      # The compiler can only warn and ignore the option if not recognized
18258      # So say no if there are warnings other than the usual output.
18259      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
18260      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18261      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18262        lt_cv_prog_compiler_pic_works_CXX=yes
18263      fi
18264    fi
18265    $RM conftest*
18266
18267 fi
18268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
18269 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
18270
18271 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
18272     case $lt_prog_compiler_pic_CXX in
18273      "" | " "*) ;;
18274      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
18275      esac
18276 else
18277     lt_prog_compiler_pic_CXX=
18278      lt_prog_compiler_can_build_shared_CXX=no
18279 fi
18280
18281 fi
18282
18283
18284
18285
18286
18287 #
18288 # Check to make sure the static flag actually works.
18289 #
18290 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
18291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18292 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
18293 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
18294   $as_echo_n "(cached) " >&6
18295 else
18296   lt_cv_prog_compiler_static_works_CXX=no
18297    save_LDFLAGS="$LDFLAGS"
18298    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
18299    echo "$lt_simple_link_test_code" > conftest.$ac_ext
18300    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
18301      # The linker can only warn and ignore the option if not recognized
18302      # So say no if there are warnings
18303      if test -s conftest.err; then
18304        # Append any errors to the config.log.
18305        cat conftest.err 1>&5
18306        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
18307        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18308        if diff conftest.exp conftest.er2 >/dev/null; then
18309          lt_cv_prog_compiler_static_works_CXX=yes
18310        fi
18311      else
18312        lt_cv_prog_compiler_static_works_CXX=yes
18313      fi
18314    fi
18315    $RM -r conftest*
18316    LDFLAGS="$save_LDFLAGS"
18317
18318 fi
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
18320 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
18321
18322 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
18323     :
18324 else
18325     lt_prog_compiler_static_CXX=
18326 fi
18327
18328
18329
18330
18331     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
18332 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18333 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
18334   $as_echo_n "(cached) " >&6
18335 else
18336   lt_cv_prog_compiler_c_o_CXX=no
18337    $RM -r conftest 2>/dev/null
18338    mkdir conftest
18339    cd conftest
18340    mkdir out
18341    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18342
18343    lt_compiler_flag="-o out/conftest2.$ac_objext"
18344    # Insert the option either (1) after the last *FLAGS variable, or
18345    # (2) before a word containing "conftest.", or (3) at the end.
18346    # Note that $ac_compile itself does not contain backslashes and begins
18347    # with a dollar sign (not a hyphen), so the echo should work correctly.
18348    lt_compile=`echo "$ac_compile" | $SED \
18349    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18350    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18351    -e 's:$: $lt_compiler_flag:'`
18352    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18353    (eval "$lt_compile" 2>out/conftest.err)
18354    ac_status=$?
18355    cat out/conftest.err >&5
18356    echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357    if (exit $ac_status) && test -s out/conftest2.$ac_objext
18358    then
18359      # The compiler can only warn and ignore the option if not recognized
18360      # So say no if there are warnings
18361      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
18362      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18363      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18364        lt_cv_prog_compiler_c_o_CXX=yes
18365      fi
18366    fi
18367    chmod u+w . 2>&5
18368    $RM conftest*
18369    # SGI C++ compiler will create directory out/ii_files/ for
18370    # template instantiation
18371    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
18372    $RM out/* && rmdir out
18373    cd ..
18374    $RM -r conftest
18375    $RM conftest*
18376
18377 fi
18378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
18379 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
18380
18381
18382
18383     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
18384 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18385 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
18386   $as_echo_n "(cached) " >&6
18387 else
18388   lt_cv_prog_compiler_c_o_CXX=no
18389    $RM -r conftest 2>/dev/null
18390    mkdir conftest
18391    cd conftest
18392    mkdir out
18393    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18394
18395    lt_compiler_flag="-o out/conftest2.$ac_objext"
18396    # Insert the option either (1) after the last *FLAGS variable, or
18397    # (2) before a word containing "conftest.", or (3) at the end.
18398    # Note that $ac_compile itself does not contain backslashes and begins
18399    # with a dollar sign (not a hyphen), so the echo should work correctly.
18400    lt_compile=`echo "$ac_compile" | $SED \
18401    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18402    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18403    -e 's:$: $lt_compiler_flag:'`
18404    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18405    (eval "$lt_compile" 2>out/conftest.err)
18406    ac_status=$?
18407    cat out/conftest.err >&5
18408    echo "$as_me:$LINENO: \$? = $ac_status" >&5
18409    if (exit $ac_status) && test -s out/conftest2.$ac_objext
18410    then
18411      # The compiler can only warn and ignore the option if not recognized
18412      # So say no if there are warnings
18413      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
18414      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18415      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18416        lt_cv_prog_compiler_c_o_CXX=yes
18417      fi
18418    fi
18419    chmod u+w . 2>&5
18420    $RM conftest*
18421    # SGI C++ compiler will create directory out/ii_files/ for
18422    # template instantiation
18423    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
18424    $RM out/* && rmdir out
18425    cd ..
18426    $RM -r conftest
18427    $RM conftest*
18428
18429 fi
18430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
18431 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
18432
18433
18434
18435
18436 hard_links="nottested"
18437 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
18438   # do not overwrite the value of need_locks provided by the user
18439   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
18440 $as_echo_n "checking if we can lock with hard links... " >&6; }
18441   hard_links=yes
18442   $RM conftest*
18443   ln conftest.a conftest.b 2>/dev/null && hard_links=no
18444   touch conftest.a
18445   ln conftest.a conftest.b 2>&5 || hard_links=no
18446   ln conftest.a conftest.b 2>/dev/null && hard_links=no
18447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
18448 $as_echo "$hard_links" >&6; }
18449   if test "$hard_links" = no; then
18450     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18451 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18452     need_locks=warn
18453   fi
18454 else
18455   need_locks=no
18456 fi
18457
18458
18459
18460     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18461 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
18462
18463   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18464   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
18465   case $host_os in
18466   aix[4-9]*)
18467     # If we're using GNU nm, then we don't want the "-C" option.
18468     # -C means demangle to AIX nm, but means don't demangle with GNU nm
18469     # Also, AIX nm treats weak defined symbols like other global defined
18470     # symbols, whereas GNU nm marks them as "W".
18471     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
18472       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
18473     else
18474       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'
18475     fi
18476     ;;
18477   pw32*)
18478     export_symbols_cmds_CXX="$ltdll_cmds"
18479     ;;
18480   cygwin* | mingw* | cegcc*)
18481     case $cc_basename in
18482     cl*)
18483       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
18484       ;;
18485     *)
18486       export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
18487       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
18488       ;;
18489     esac
18490     ;;
18491   *)
18492     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18493     ;;
18494   esac
18495
18496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
18497 $as_echo "$ld_shlibs_CXX" >&6; }
18498 test "$ld_shlibs_CXX" = no && can_build_shared=no
18499
18500 with_gnu_ld_CXX=$with_gnu_ld
18501
18502
18503
18504
18505
18506
18507 #
18508 # Do we need to explicitly link libc?
18509 #
18510 case "x$archive_cmds_need_lc_CXX" in
18511 x|xyes)
18512   # Assume -lc should be added
18513   archive_cmds_need_lc_CXX=yes
18514
18515   if test "$enable_shared" = yes && test "$GCC" = yes; then
18516     case $archive_cmds_CXX in
18517     *'~'*)
18518       # FIXME: we may have to deal with multi-command sequences.
18519       ;;
18520     '$CC '*)
18521       # Test whether the compiler implicitly links with -lc since on some
18522       # systems, -lgcc has to come before -lc. If gcc already passes -lc
18523       # to ld, don't add -lc before -lgcc.
18524       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
18525 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18526 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
18527   $as_echo_n "(cached) " >&6
18528 else
18529   $RM conftest*
18530         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18531
18532         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18533   (eval $ac_compile) 2>&5
18534   ac_status=$?
18535   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18536   test $ac_status = 0; } 2>conftest.err; then
18537           soname=conftest
18538           lib=conftest
18539           libobjs=conftest.$ac_objext
18540           deplibs=
18541           wl=$lt_prog_compiler_wl_CXX
18542           pic_flag=$lt_prog_compiler_pic_CXX
18543           compiler_flags=-v
18544           linker_flags=-v
18545           verstring=
18546           output_objdir=.
18547           libname=conftest
18548           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
18549           allow_undefined_flag_CXX=
18550           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
18551   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
18552   ac_status=$?
18553   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18554   test $ac_status = 0; }
18555           then
18556             lt_cv_archive_cmds_need_lc_CXX=no
18557           else
18558             lt_cv_archive_cmds_need_lc_CXX=yes
18559           fi
18560           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
18561         else
18562           cat conftest.err 1>&5
18563         fi
18564         $RM conftest*
18565
18566 fi
18567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
18568 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
18569       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
18570       ;;
18571     esac
18572   fi
18573   ;;
18574 esac
18575
18576
18577
18578
18579
18580
18581
18582
18583
18584
18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
18595
18596
18597
18598
18599
18600
18601
18602
18603
18604
18605
18606
18607
18608
18609
18610
18611
18612
18613
18614
18615
18616
18617
18618
18619
18620
18621
18622
18623
18624
18625
18626
18627
18628
18629
18630
18631
18632
18633
18634
18635
18636
18637     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
18638 $as_echo_n "checking dynamic linker characteristics... " >&6; }
18639
18640 library_names_spec=
18641 libname_spec='lib$name'
18642 soname_spec=
18643 shrext_cmds=".so"
18644 postinstall_cmds=
18645 postuninstall_cmds=
18646 finish_cmds=
18647 finish_eval=
18648 shlibpath_var=
18649 shlibpath_overrides_runpath=unknown
18650 version_type=none
18651 dynamic_linker="$host_os ld.so"
18652 sys_lib_dlsearch_path_spec="/lib /usr/lib"
18653 need_lib_prefix=unknown
18654 hardcode_into_libs=no
18655
18656 # when you set need_version to no, make sure it does not cause -set_version
18657 # flags to be left without arguments
18658 need_version=unknown
18659
18660 case $host_os in
18661 aix3*)
18662   version_type=linux # correct to gnu/linux during the next big refactor
18663   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18664   shlibpath_var=LIBPATH
18665
18666   # AIX 3 has no versioning support, so we append a major version to the name.
18667   soname_spec='${libname}${release}${shared_ext}$major'
18668   ;;
18669
18670 aix[4-9]*)
18671   version_type=linux # correct to gnu/linux during the next big refactor
18672   need_lib_prefix=no
18673   need_version=no
18674   hardcode_into_libs=yes
18675   if test "$host_cpu" = ia64; then
18676     # AIX 5 supports IA64
18677     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18678     shlibpath_var=LD_LIBRARY_PATH
18679   else
18680     # With GCC up to 2.95.x, collect2 would create an import file
18681     # for dependence libraries.  The import file would start with
18682     # the line `#! .'.  This would cause the generated library to
18683     # depend on `.', always an invalid library.  This was fixed in
18684     # development snapshots of GCC prior to 3.0.
18685     case $host_os in
18686       aix4 | aix4.[01] | aix4.[01].*)
18687       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18688            echo ' yes '
18689            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
18690         :
18691       else
18692         can_build_shared=no
18693       fi
18694       ;;
18695     esac
18696     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18697     # soname into executable. Probably we can add versioning support to
18698     # collect2, so additional links can be useful in future.
18699     if test "$aix_use_runtimelinking" = yes; then
18700       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18701       # instead of lib<name>.a to let people know that these are not
18702       # typical AIX shared libraries.
18703       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18704     else
18705       # We preserve .a as extension for shared libraries through AIX4.2
18706       # and later when we are not doing run time linking.
18707       library_names_spec='${libname}${release}.a $libname.a'
18708       soname_spec='${libname}${release}${shared_ext}$major'
18709     fi
18710     shlibpath_var=LIBPATH
18711   fi
18712   ;;
18713
18714 amigaos*)
18715   case $host_cpu in
18716   powerpc)
18717     # Since July 2007 AmigaOS4 officially supports .so libraries.
18718     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
18719     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18720     ;;
18721   m68k)
18722     library_names_spec='$libname.ixlibrary $libname.a'
18723     # Create ${libname}_ixlibrary.a entries in /sys/libs.
18724     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
18725     ;;
18726   esac
18727   ;;
18728
18729 beos*)
18730   library_names_spec='${libname}${shared_ext}'
18731   dynamic_linker="$host_os ld.so"
18732   shlibpath_var=LIBRARY_PATH
18733   ;;
18734
18735 bsdi[45]*)
18736   version_type=linux # correct to gnu/linux during the next big refactor
18737   need_version=no
18738   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18739   soname_spec='${libname}${release}${shared_ext}$major'
18740   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18741   shlibpath_var=LD_LIBRARY_PATH
18742   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18743   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18744   # the default ld.so.conf also contains /usr/contrib/lib and
18745   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18746   # libtool to hard-code these into programs
18747   ;;
18748
18749 cygwin* | mingw* | pw32* | cegcc*)
18750   version_type=windows
18751   shrext_cmds=".dll"
18752   need_version=no
18753   need_lib_prefix=no
18754
18755   case $GCC,$cc_basename in
18756   yes,*)
18757     # gcc
18758     library_names_spec='$libname.dll.a'
18759     # DLL is installed to $(libdir)/../bin by postinstall_cmds
18760     postinstall_cmds='base_file=`basename \${file}`~
18761       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
18762       dldir=$destdir/`dirname \$dlpath`~
18763       test -d \$dldir || mkdir -p \$dldir~
18764       $install_prog $dir/$dlname \$dldir/$dlname~
18765       chmod a+x \$dldir/$dlname~
18766       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
18767         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
18768       fi'
18769     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18770       dlpath=$dir/\$dldll~
18771        $RM \$dlpath'
18772     shlibpath_overrides_runpath=yes
18773
18774     case $host_os in
18775     cygwin*)
18776       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18777       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18778
18779       ;;
18780     mingw* | cegcc*)
18781       # MinGW DLLs use traditional 'lib' prefix
18782       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18783       ;;
18784     pw32*)
18785       # pw32 DLLs use 'pw' prefix rather than 'lib'
18786       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18787       ;;
18788     esac
18789     dynamic_linker='Win32 ld.exe'
18790     ;;
18791
18792   *,cl*)
18793     # Native MSVC
18794     libname_spec='$name'
18795     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18796     library_names_spec='${libname}.dll.lib'
18797
18798     case $build_os in
18799     mingw*)
18800       sys_lib_search_path_spec=
18801       lt_save_ifs=$IFS
18802       IFS=';'
18803       for lt_path in $LIB
18804       do
18805         IFS=$lt_save_ifs
18806         # Let DOS variable expansion print the short 8.3 style file name.
18807         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
18808         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
18809       done
18810       IFS=$lt_save_ifs
18811       # Convert to MSYS style.
18812       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
18813       ;;
18814     cygwin*)
18815       # Convert to unix form, then to dos form, then back to unix form
18816       # but this time dos style (no spaces!) so that the unix form looks
18817       # like /cygdrive/c/PROGRA~1:/cygdr...
18818       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
18819       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
18820       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18821       ;;
18822     *)
18823       sys_lib_search_path_spec="$LIB"
18824       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
18825         # It is most probably a Windows format PATH.
18826         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18827       else
18828         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18829       fi
18830       # FIXME: find the short name or the path components, as spaces are
18831       # common. (e.g. "Program Files" -> "PROGRA~1")
18832       ;;
18833     esac
18834
18835     # DLL is installed to $(libdir)/../bin by postinstall_cmds
18836     postinstall_cmds='base_file=`basename \${file}`~
18837       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
18838       dldir=$destdir/`dirname \$dlpath`~
18839       test -d \$dldir || mkdir -p \$dldir~
18840       $install_prog $dir/$dlname \$dldir/$dlname'
18841     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18842       dlpath=$dir/\$dldll~
18843        $RM \$dlpath'
18844     shlibpath_overrides_runpath=yes
18845     dynamic_linker='Win32 link.exe'
18846     ;;
18847
18848   *)
18849     # Assume MSVC wrapper
18850     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18851     dynamic_linker='Win32 ld.exe'
18852     ;;
18853   esac
18854   # FIXME: first we should search . and the directory the executable is in
18855   shlibpath_var=PATH
18856   ;;
18857
18858 darwin* | rhapsody*)
18859   dynamic_linker="$host_os dyld"
18860   version_type=darwin
18861   need_lib_prefix=no
18862   need_version=no
18863   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18864   soname_spec='${libname}${release}${major}$shared_ext'
18865   shlibpath_overrides_runpath=yes
18866   shlibpath_var=DYLD_LIBRARY_PATH
18867   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18868
18869   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18870   ;;
18871
18872 dgux*)
18873   version_type=linux # correct to gnu/linux during the next big refactor
18874   need_lib_prefix=no
18875   need_version=no
18876   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18877   soname_spec='${libname}${release}${shared_ext}$major'
18878   shlibpath_var=LD_LIBRARY_PATH
18879   ;;
18880
18881 freebsd* | dragonfly*)
18882   # DragonFly does not have aout.  When/if they implement a new
18883   # versioning mechanism, adjust this.
18884   if test -x /usr/bin/objformat; then
18885     objformat=`/usr/bin/objformat`
18886   else
18887     case $host_os in
18888     freebsd[23].*) objformat=aout ;;
18889     *) objformat=elf ;;
18890     esac
18891   fi
18892   version_type=freebsd-$objformat
18893   case $version_type in
18894     freebsd-elf*)
18895       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18896       need_version=no
18897       need_lib_prefix=no
18898       ;;
18899     freebsd-*)
18900       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18901       need_version=yes
18902       ;;
18903   esac
18904   shlibpath_var=LD_LIBRARY_PATH
18905   case $host_os in
18906   freebsd2.*)
18907     shlibpath_overrides_runpath=yes
18908     ;;
18909   freebsd3.[01]* | freebsdelf3.[01]*)
18910     shlibpath_overrides_runpath=yes
18911     hardcode_into_libs=yes
18912     ;;
18913   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18914   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18915     shlibpath_overrides_runpath=no
18916     hardcode_into_libs=yes
18917     ;;
18918   *) # from 4.6 on, and DragonFly
18919     shlibpath_overrides_runpath=yes
18920     hardcode_into_libs=yes
18921     ;;
18922   esac
18923   ;;
18924
18925 gnu*)
18926   version_type=linux # correct to gnu/linux during the next big refactor
18927   need_lib_prefix=no
18928   need_version=no
18929   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18930   soname_spec='${libname}${release}${shared_ext}$major'
18931   shlibpath_var=LD_LIBRARY_PATH
18932   shlibpath_overrides_runpath=no
18933   hardcode_into_libs=yes
18934   ;;
18935
18936 haiku*)
18937   version_type=linux # correct to gnu/linux during the next big refactor
18938   need_lib_prefix=no
18939   need_version=no
18940   dynamic_linker="$host_os runtime_loader"
18941   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18942   soname_spec='${libname}${release}${shared_ext}$major'
18943   shlibpath_var=LIBRARY_PATH
18944   shlibpath_overrides_runpath=yes
18945   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
18946   hardcode_into_libs=yes
18947   ;;
18948
18949 hpux9* | hpux10* | hpux11*)
18950   # Give a soname corresponding to the major version so that dld.sl refuses to
18951   # link against other versions.
18952   version_type=sunos
18953   need_lib_prefix=no
18954   need_version=no
18955   case $host_cpu in
18956   ia64*)
18957     shrext_cmds='.so'
18958     hardcode_into_libs=yes
18959     dynamic_linker="$host_os dld.so"
18960     shlibpath_var=LD_LIBRARY_PATH
18961     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18962     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18963     soname_spec='${libname}${release}${shared_ext}$major'
18964     if test "X$HPUX_IA64_MODE" = X32; then
18965       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18966     else
18967       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18968     fi
18969     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18970     ;;
18971   hppa*64*)
18972     shrext_cmds='.sl'
18973     hardcode_into_libs=yes
18974     dynamic_linker="$host_os dld.sl"
18975     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18976     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18977     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18978     soname_spec='${libname}${release}${shared_ext}$major'
18979     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18980     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18981     ;;
18982   *)
18983     shrext_cmds='.sl'
18984     dynamic_linker="$host_os dld.sl"
18985     shlibpath_var=SHLIB_PATH
18986     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18987     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18988     soname_spec='${libname}${release}${shared_ext}$major'
18989     ;;
18990   esac
18991   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
18992   postinstall_cmds='chmod 555 $lib'
18993   # or fails outright, so override atomically:
18994   install_override_mode=555
18995   ;;
18996
18997 interix[3-9]*)
18998   version_type=linux # correct to gnu/linux during the next big refactor
18999   need_lib_prefix=no
19000   need_version=no
19001   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19002   soname_spec='${libname}${release}${shared_ext}$major'
19003   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
19004   shlibpath_var=LD_LIBRARY_PATH
19005   shlibpath_overrides_runpath=no
19006   hardcode_into_libs=yes
19007   ;;
19008
19009 irix5* | irix6* | nonstopux*)
19010   case $host_os in
19011     nonstopux*) version_type=nonstopux ;;
19012     *)
19013         if test "$lt_cv_prog_gnu_ld" = yes; then
19014                 version_type=linux # correct to gnu/linux during the next big refactor
19015         else
19016                 version_type=irix
19017         fi ;;
19018   esac
19019   need_lib_prefix=no
19020   need_version=no
19021   soname_spec='${libname}${release}${shared_ext}$major'
19022   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19023   case $host_os in
19024   irix5* | nonstopux*)
19025     libsuff= shlibsuff=
19026     ;;
19027   *)
19028     case $LD in # libtool.m4 will add one of these switches to LD
19029     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19030       libsuff= shlibsuff= libmagic=32-bit;;
19031     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19032       libsuff=32 shlibsuff=N32 libmagic=N32;;
19033     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19034       libsuff=64 shlibsuff=64 libmagic=64-bit;;
19035     *) libsuff= shlibsuff= libmagic=never-match;;
19036     esac
19037     ;;
19038   esac
19039   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19040   shlibpath_overrides_runpath=no
19041   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19042   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19043   hardcode_into_libs=yes
19044   ;;
19045
19046 # No shared lib support for Linux oldld, aout, or coff.
19047 linux*oldld* | linux*aout* | linux*coff*)
19048   dynamic_linker=no
19049   ;;
19050
19051 # This must be glibc/ELF.
19052 linux* | k*bsd*-gnu | kopensolaris*-gnu)
19053   version_type=linux # correct to gnu/linux during the next big refactor
19054   need_lib_prefix=no
19055   need_version=no
19056   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19057   soname_spec='${libname}${release}${shared_ext}$major'
19058   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19059   shlibpath_var=LD_LIBRARY_PATH
19060   shlibpath_overrides_runpath=no
19061
19062   # Some binutils ld are patched to set DT_RUNPATH
19063   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
19064   $as_echo_n "(cached) " >&6
19065 else
19066   lt_cv_shlibpath_overrides_runpath=no
19067     save_LDFLAGS=$LDFLAGS
19068     save_libdir=$libdir
19069     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
19070          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
19071     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19072 /* end confdefs.h.  */
19073
19074 int
19075 main ()
19076 {
19077
19078   ;
19079   return 0;
19080 }
19081 _ACEOF
19082 if ac_fn_cxx_try_link "$LINENO"; then :
19083   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
19084   lt_cv_shlibpath_overrides_runpath=yes
19085 fi
19086 fi
19087 rm -f core conftest.err conftest.$ac_objext \
19088     conftest$ac_exeext conftest.$ac_ext
19089     LDFLAGS=$save_LDFLAGS
19090     libdir=$save_libdir
19091
19092 fi
19093
19094   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
19095
19096   # This implies no fast_install, which is unacceptable.
19097   # Some rework will be needed to allow for fast_install
19098   # before this can be enabled.
19099   hardcode_into_libs=yes
19100
19101   # Add ABI-specific directories to the system library path.
19102   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
19103
19104   # Append ld.so.conf contents to the search path
19105   if test -f /etc/ld.so.conf; then
19106     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
19107     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
19108
19109   fi
19110
19111   # We used to test for /lib/ld.so.1 and disable shared libraries on
19112   # powerpc, because MkLinux only supported shared libraries with the
19113   # GNU dynamic linker.  Since this was broken with cross compilers,
19114   # most powerpc-linux boxes support dynamic linking these days and
19115   # people can always --disable-shared, the test was removed, and we
19116   # assume the GNU/Linux dynamic linker is in use.
19117   dynamic_linker='GNU/Linux ld.so'
19118   ;;
19119
19120 netbsd*)
19121   version_type=sunos
19122   need_lib_prefix=no
19123   need_version=no
19124   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
19125     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19126     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19127     dynamic_linker='NetBSD (a.out) ld.so'
19128   else
19129     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19130     soname_spec='${libname}${release}${shared_ext}$major'
19131     dynamic_linker='NetBSD ld.elf_so'
19132   fi
19133   shlibpath_var=LD_LIBRARY_PATH
19134   shlibpath_overrides_runpath=yes
19135   hardcode_into_libs=yes
19136   ;;
19137
19138 newsos6)
19139   version_type=linux # correct to gnu/linux during the next big refactor
19140   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19141   shlibpath_var=LD_LIBRARY_PATH
19142   shlibpath_overrides_runpath=yes
19143   ;;
19144
19145 *nto* | *qnx*)
19146   version_type=qnx
19147   need_lib_prefix=no
19148   need_version=no
19149   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19150   soname_spec='${libname}${release}${shared_ext}$major'
19151   shlibpath_var=LD_LIBRARY_PATH
19152   shlibpath_overrides_runpath=no
19153   hardcode_into_libs=yes
19154   dynamic_linker='ldqnx.so'
19155   ;;
19156
19157 openbsd*)
19158   version_type=sunos
19159   sys_lib_dlsearch_path_spec="/usr/lib"
19160   need_lib_prefix=no
19161   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19162   case $host_os in
19163     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
19164     *)                          need_version=no  ;;
19165   esac
19166   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19167   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19168   shlibpath_var=LD_LIBRARY_PATH
19169   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19170     case $host_os in
19171       openbsd2.[89] | openbsd2.[89].*)
19172         shlibpath_overrides_runpath=no
19173         ;;
19174       *)
19175         shlibpath_overrides_runpath=yes
19176         ;;
19177       esac
19178   else
19179     shlibpath_overrides_runpath=yes
19180   fi
19181   ;;
19182
19183 os2*)
19184   libname_spec='$name'
19185   shrext_cmds=".dll"
19186   need_lib_prefix=no
19187   library_names_spec='$libname${shared_ext} $libname.a'
19188   dynamic_linker='OS/2 ld.exe'
19189   shlibpath_var=LIBPATH
19190   ;;
19191
19192 osf3* | osf4* | osf5*)
19193   version_type=osf
19194   need_lib_prefix=no
19195   need_version=no
19196   soname_spec='${libname}${release}${shared_ext}$major'
19197   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19198   shlibpath_var=LD_LIBRARY_PATH
19199   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19200   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19201   ;;
19202
19203 rdos*)
19204   dynamic_linker=no
19205   ;;
19206
19207 solaris*)
19208   version_type=linux # correct to gnu/linux during the next big refactor
19209   need_lib_prefix=no
19210   need_version=no
19211   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19212   soname_spec='${libname}${release}${shared_ext}$major'
19213   shlibpath_var=LD_LIBRARY_PATH
19214   shlibpath_overrides_runpath=yes
19215   hardcode_into_libs=yes
19216   # ldd complains unless libraries are executable
19217   postinstall_cmds='chmod +x $lib'
19218   ;;
19219
19220 sunos4*)
19221   version_type=sunos
19222   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19223   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19224   shlibpath_var=LD_LIBRARY_PATH
19225   shlibpath_overrides_runpath=yes
19226   if test "$with_gnu_ld" = yes; then
19227     need_lib_prefix=no
19228   fi
19229   need_version=yes
19230   ;;
19231
19232 sysv4 | sysv4.3*)
19233   version_type=linux # correct to gnu/linux during the next big refactor
19234   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19235   soname_spec='${libname}${release}${shared_ext}$major'
19236   shlibpath_var=LD_LIBRARY_PATH
19237   case $host_vendor in
19238     sni)
19239       shlibpath_overrides_runpath=no
19240       need_lib_prefix=no
19241       runpath_var=LD_RUN_PATH
19242       ;;
19243     siemens)
19244       need_lib_prefix=no
19245       ;;
19246     motorola)
19247       need_lib_prefix=no
19248       need_version=no
19249       shlibpath_overrides_runpath=no
19250       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19251       ;;
19252   esac
19253   ;;
19254
19255 sysv4*MP*)
19256   if test -d /usr/nec ;then
19257     version_type=linux # correct to gnu/linux during the next big refactor
19258     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19259     soname_spec='$libname${shared_ext}.$major'
19260     shlibpath_var=LD_LIBRARY_PATH
19261   fi
19262   ;;
19263
19264 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
19265   version_type=freebsd-elf
19266   need_lib_prefix=no
19267   need_version=no
19268   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19269   soname_spec='${libname}${release}${shared_ext}$major'
19270   shlibpath_var=LD_LIBRARY_PATH
19271   shlibpath_overrides_runpath=yes
19272   hardcode_into_libs=yes
19273   if test "$with_gnu_ld" = yes; then
19274     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19275   else
19276     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
19277     case $host_os in
19278       sco3.2v5*)
19279         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
19280         ;;
19281     esac
19282   fi
19283   sys_lib_dlsearch_path_spec='/usr/lib'
19284   ;;
19285
19286 tpf*)
19287   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
19288   version_type=linux # correct to gnu/linux during the next big refactor
19289   need_lib_prefix=no
19290   need_version=no
19291   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19292   shlibpath_var=LD_LIBRARY_PATH
19293   shlibpath_overrides_runpath=no
19294   hardcode_into_libs=yes
19295   ;;
19296
19297 uts4*)
19298   version_type=linux # correct to gnu/linux during the next big refactor
19299   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19300   soname_spec='${libname}${release}${shared_ext}$major'
19301   shlibpath_var=LD_LIBRARY_PATH
19302   ;;
19303
19304 *)
19305   dynamic_linker=no
19306   ;;
19307 esac
19308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
19309 $as_echo "$dynamic_linker" >&6; }
19310 test "$dynamic_linker" = no && can_build_shared=no
19311
19312 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19313 if test "$GCC" = yes; then
19314   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19315 fi
19316
19317 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
19318   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
19319 fi
19320 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
19321   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
19322 fi
19323
19324
19325
19326
19327
19328
19329
19330
19331
19332
19333
19334
19335
19336
19337
19338
19339
19340
19341
19342
19343
19344
19345
19346
19347
19348
19349
19350
19351
19352
19353
19354
19355
19356
19357
19358
19359
19360
19361     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
19362 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
19363 hardcode_action_CXX=
19364 if test -n "$hardcode_libdir_flag_spec_CXX" ||
19365    test -n "$runpath_var_CXX" ||
19366    test "X$hardcode_automatic_CXX" = "Xyes" ; then
19367
19368   # We can hardcode non-existent directories.
19369   if test "$hardcode_direct_CXX" != no &&
19370      # If the only mechanism to avoid hardcoding is shlibpath_var, we
19371      # have to relink, otherwise we might link with an installed library
19372      # when we should be linking with a yet-to-be-installed one
19373      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
19374      test "$hardcode_minus_L_CXX" != no; then
19375     # Linking always hardcodes the temporary library directory.
19376     hardcode_action_CXX=relink
19377   else
19378     # We can link without hardcoding, and we can hardcode nonexisting dirs.
19379     hardcode_action_CXX=immediate
19380   fi
19381 else
19382   # We cannot hardcode anything, or else we can only hardcode existing
19383   # directories.
19384   hardcode_action_CXX=unsupported
19385 fi
19386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
19387 $as_echo "$hardcode_action_CXX" >&6; }
19388
19389 if test "$hardcode_action_CXX" = relink ||
19390    test "$inherit_rpath_CXX" = yes; then
19391   # Fast installation is not supported
19392   enable_fast_install=no
19393 elif test "$shlibpath_overrides_runpath" = yes ||
19394      test "$enable_shared" = no; then
19395   # Fast installation is not necessary
19396   enable_fast_install=needless
19397 fi
19398
19399
19400
19401
19402
19403
19404
19405   fi # test -n "$compiler"
19406
19407   CC=$lt_save_CC
19408   CFLAGS=$lt_save_CFLAGS
19409   LDCXX=$LD
19410   LD=$lt_save_LD
19411   GCC=$lt_save_GCC
19412   with_gnu_ld=$lt_save_with_gnu_ld
19413   lt_cv_path_LDCXX=$lt_cv_path_LD
19414   lt_cv_path_LD=$lt_save_path_LD
19415   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
19416   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
19417 fi # test "$_lt_caught_CXX_error" != yes
19418
19419 ac_ext=c
19420 ac_cpp='$CPP $CPPFLAGS'
19421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19424
19425
19426    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
19427 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
19428 if ${ac_cv_prog_cc_c99+:} false; then :
19429   $as_echo_n "(cached) " >&6
19430 else
19431   ac_cv_prog_cc_c99=no
19432 ac_save_CC=$CC
19433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19434 /* end confdefs.h.  */
19435 #include <stdarg.h>
19436 #include <stdbool.h>
19437 #include <stdlib.h>
19438 #include <wchar.h>
19439 #include <stdio.h>
19440
19441 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
19442 #define debug(...) fprintf (stderr, __VA_ARGS__)
19443 #define showlist(...) puts (#__VA_ARGS__)
19444 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
19445 static void
19446 test_varargs_macros (void)
19447 {
19448   int x = 1234;
19449   int y = 5678;
19450   debug ("Flag");
19451   debug ("X = %d\n", x);
19452   showlist (The first, second, and third items.);
19453   report (x>y, "x is %d but y is %d", x, y);
19454 }
19455
19456 // Check long long types.
19457 #define BIG64 18446744073709551615ull
19458 #define BIG32 4294967295ul
19459 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
19460 #if !BIG_OK
19461   your preprocessor is broken;
19462 #endif
19463 #if BIG_OK
19464 #else
19465   your preprocessor is broken;
19466 #endif
19467 static long long int bignum = -9223372036854775807LL;
19468 static unsigned long long int ubignum = BIG64;
19469
19470 struct incomplete_array
19471 {
19472   int datasize;
19473   double data[];
19474 };
19475
19476 struct named_init {
19477   int number;
19478   const wchar_t *name;
19479   double average;
19480 };
19481
19482 typedef const char *ccp;
19483
19484 static inline int
19485 test_restrict (ccp restrict text)
19486 {
19487   // See if C++-style comments work.
19488   // Iterate through items via the restricted pointer.
19489   // Also check for declarations in for loops.
19490   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
19491     continue;
19492   return 0;
19493 }
19494
19495 // Check varargs and va_copy.
19496 static void
19497 test_varargs (const char *format, ...)
19498 {
19499   va_list args;
19500   va_start (args, format);
19501   va_list args_copy;
19502   va_copy (args_copy, args);
19503
19504   const char *str;
19505   int number;
19506   float fnumber;
19507
19508   while (*format)
19509     {
19510       switch (*format++)
19511         {
19512         case 's': // string
19513           str = va_arg (args_copy, const char *);
19514           break;
19515         case 'd': // int
19516           number = va_arg (args_copy, int);
19517           break;
19518         case 'f': // float
19519           fnumber = va_arg (args_copy, double);
19520           break;
19521         default:
19522           break;
19523         }
19524     }
19525   va_end (args_copy);
19526   va_end (args);
19527 }
19528
19529 int
19530 main ()
19531 {
19532
19533   // Check bool.
19534   _Bool success = false;
19535
19536   // Check restrict.
19537   if (test_restrict ("String literal") == 0)
19538     success = true;
19539   char *restrict newvar = "Another string";
19540
19541   // Check varargs.
19542   test_varargs ("s, d' f .", "string", 65, 34.234);
19543   test_varargs_macros ();
19544
19545   // Check flexible array members.
19546   struct incomplete_array *ia =
19547     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
19548   ia->datasize = 10;
19549   for (int i = 0; i < ia->datasize; ++i)
19550     ia->data[i] = i * 1.234;
19551
19552   // Check named initializers.
19553   struct named_init ni = {
19554     .number = 34,
19555     .name = L"Test wide string",
19556     .average = 543.34343,
19557   };
19558
19559   ni.number = 58;
19560
19561   int dynamic_array[ni.number];
19562   dynamic_array[ni.number - 1] = 543;
19563
19564   // work around unused variable warnings
19565   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
19566           || dynamic_array[ni.number - 1] != 543);
19567
19568   ;
19569   return 0;
19570 }
19571 _ACEOF
19572 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
19573 do
19574   CC="$ac_save_CC $ac_arg"
19575   if ac_fn_c_try_compile "$LINENO"; then :
19576   ac_cv_prog_cc_c99=$ac_arg
19577 fi
19578 rm -f core conftest.err conftest.$ac_objext
19579   test "x$ac_cv_prog_cc_c99" != "xno" && break
19580 done
19581 rm -f conftest.$ac_ext
19582 CC=$ac_save_CC
19583
19584 fi
19585 # AC_CACHE_VAL
19586 case "x$ac_cv_prog_cc_c99" in
19587   x)
19588     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
19589 $as_echo "none needed" >&6; } ;;
19590   xno)
19591     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
19592 $as_echo "unsupported" >&6; } ;;
19593   *)
19594     CC="$CC $ac_cv_prog_cc_c99"
19595     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
19596 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
19597 esac
19598 if test "x$ac_cv_prog_cc_c99" != xno; then :
19599
19600 fi
19601
19602
19603 if test "x${ac_cv_prog_cc_c99}" = "xno" ; then
19604    as_fn_error $? "ecore requires a c99-capable compiler" "$LINENO" 5
19605 fi
19606
19607 have_gnu_objc=${ac_cv_objc_compiler_gnu}
19608
19609 # doxygen program for documentation building
19610
19611
19612
19613 # Check whether --enable-doc was given.
19614 if test "${enable_doc+set}" = set; then :
19615   enableval=$enable_doc;
19616     if test "x${enableval}" = "xyes" ; then
19617        efl_enable_doc="yes"
19618     else
19619        efl_enable_doc="no"
19620     fi
19621
19622 else
19623   efl_enable_doc="yes"
19624 fi
19625
19626
19627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
19628 $as_echo_n "checking whether to build documentation... " >&6; }
19629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
19630 $as_echo "${efl_enable_doc}" >&6; }
19631
19632 if test "x${efl_enable_doc}" = "xyes" ; then
19633
19634
19635    efl_doxygen="doxygen"
19636
19637
19638 # Check whether --with-doxygen was given.
19639 if test "${with_doxygen+set}" = set; then :
19640   withval=$with_doxygen;
19641       efl_doxygen=${withval}
19642        # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
19643 set dummy ${efl_doxygen}; ac_word=$2
19644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19645 $as_echo_n "checking for $ac_word... " >&6; }
19646 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
19647   $as_echo_n "(cached) " >&6
19648 else
19649   if test -n "$efl_have_doxygen"; then
19650   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
19651 else
19652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19653 for as_dir in $PATH
19654 do
19655   IFS=$as_save_IFS
19656   test -z "$as_dir" && as_dir=.
19657     for ac_exec_ext in '' $ac_executable_extensions; do
19658   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19659     ac_cv_prog_efl_have_doxygen="yes"
19660     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19661     break 2
19662   fi
19663 done
19664   done
19665 IFS=$as_save_IFS
19666
19667   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
19668 fi
19669 fi
19670 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
19671 if test -n "$efl_have_doxygen"; then
19672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
19673 $as_echo "$efl_have_doxygen" >&6; }
19674 else
19675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19676 $as_echo "no" >&6; }
19677 fi
19678
19679
19680        if test "x${efl_have_doxygen}" = "xno" ; then
19681           echo "WARNING:"
19682           echo "The doxygen program you specified:"
19683           echo "${efl_doxygen}"
19684           echo "was not found.  Please check the path and make sure "
19685           echo "the program exists and is executable."
19686           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
19687 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
19688        fi
19689
19690 else
19691   # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
19692 set dummy ${efl_doxygen}; ac_word=$2
19693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19694 $as_echo_n "checking for $ac_word... " >&6; }
19695 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
19696   $as_echo_n "(cached) " >&6
19697 else
19698   if test -n "$efl_have_doxygen"; then
19699   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
19700 else
19701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19702 for as_dir in $PATH
19703 do
19704   IFS=$as_save_IFS
19705   test -z "$as_dir" && as_dir=.
19706     for ac_exec_ext in '' $ac_executable_extensions; do
19707   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19708     ac_cv_prog_efl_have_doxygen="yes"
19709     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19710     break 2
19711   fi
19712 done
19713   done
19714 IFS=$as_save_IFS
19715
19716   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
19717 fi
19718 fi
19719 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
19720 if test -n "$efl_have_doxygen"; then
19721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
19722 $as_echo "$efl_have_doxygen" >&6; }
19723 else
19724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19725 $as_echo "no" >&6; }
19726 fi
19727
19728
19729        if test "x${efl_have_doxygen}" = "xno" ; then
19730           echo "WARNING:"
19731           echo "The doxygen program was not found in your execute path."
19732           echo "You may have doxygen installed somewhere not covered by your path."
19733           echo ""
19734           echo "If this is the case make sure you have the packages installed, AND"
19735           echo "that the doxygen program is in your execute path (see your"
19736           echo "shell manual page on setting the \$PATH environment variable), OR"
19737           echo "alternatively, specify the program to use with --with-doxygen."
19738           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
19739 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
19740        fi
19741
19742 fi
19743
19744 fi
19745
19746
19747
19748 if ! test "x${efl_have_doxygen}" = "xyes" ; then
19749    efl_enable_doc="no"
19750 fi
19751
19752  if test "x${efl_enable_doc}" = "xyes"; then
19753   EFL_BUILD_DOC_TRUE=
19754   EFL_BUILD_DOC_FALSE='#'
19755 else
19756   EFL_BUILD_DOC_TRUE='#'
19757   EFL_BUILD_DOC_FALSE=
19758 fi
19759
19760
19761 if test "x${efl_enable_doc}" = "xyes" ; then
19762   build_doc="yes"
19763 else
19764   build_doc="no"
19765 fi
19766
19767
19768
19769
19770
19771
19772 CFLAGS_save="${CFLAGS}"
19773 CFLAGS="${CFLAGS} -Wall"
19774
19775 ac_ext=c
19776 ac_cpp='$CPP $CPPFLAGS'
19777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19780
19781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
19782 $as_echo_n "checking whether the compiler supports -Wall... " >&6; }
19783
19784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19785 /* end confdefs.h.  */
19786
19787 int
19788 main ()
19789 {
19790
19791   ;
19792   return 0;
19793 }
19794 _ACEOF
19795 if ac_fn_c_try_compile "$LINENO"; then :
19796   have_flag="yes"
19797 else
19798   have_flag="no"
19799 fi
19800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
19802 $as_echo "${have_flag}" >&6; }
19803
19804 if test "x${have_flag}" = "xno" ; then
19805    CFLAGS="${CFLAGS_save}"
19806 fi
19807 ac_ext=c
19808 ac_cpp='$CPP $CPPFLAGS'
19809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19812
19813
19814
19815
19816
19817 CFLAGS_save="${CFLAGS}"
19818 CFLAGS="${CFLAGS} -W"
19819
19820 ac_ext=c
19821 ac_cpp='$CPP $CPPFLAGS'
19822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19825
19826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
19827 $as_echo_n "checking whether the compiler supports -W... " >&6; }
19828
19829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19830 /* end confdefs.h.  */
19831
19832 int
19833 main ()
19834 {
19835
19836   ;
19837   return 0;
19838 }
19839 _ACEOF
19840 if ac_fn_c_try_compile "$LINENO"; then :
19841   have_flag="yes"
19842 else
19843   have_flag="no"
19844 fi
19845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
19847 $as_echo "${have_flag}" >&6; }
19848
19849 if test "x${have_flag}" = "xno" ; then
19850    CFLAGS="${CFLAGS_save}"
19851 fi
19852 ac_ext=c
19853 ac_cpp='$CPP $CPPFLAGS'
19854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19857
19858
19859
19860
19861
19862 # The first call to PKG_CHECK_MODULES is done conditionally,
19863 # so we should include this here:
19864
19865
19866
19867
19868
19869
19870
19871 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
19872         if test -n "$ac_tool_prefix"; then
19873   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19874 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
19875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19876 $as_echo_n "checking for $ac_word... " >&6; }
19877 if ${ac_cv_path_PKG_CONFIG+:} false; then :
19878   $as_echo_n "(cached) " >&6
19879 else
19880   case $PKG_CONFIG in
19881   [\\/]* | ?:[\\/]*)
19882   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19883   ;;
19884   *)
19885   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19886 for as_dir in $PATH
19887 do
19888   IFS=$as_save_IFS
19889   test -z "$as_dir" && as_dir=.
19890     for ac_exec_ext in '' $ac_executable_extensions; do
19891   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19892     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19893     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19894     break 2
19895   fi
19896 done
19897   done
19898 IFS=$as_save_IFS
19899
19900   ;;
19901 esac
19902 fi
19903 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19904 if test -n "$PKG_CONFIG"; then
19905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19906 $as_echo "$PKG_CONFIG" >&6; }
19907 else
19908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19909 $as_echo "no" >&6; }
19910 fi
19911
19912
19913 fi
19914 if test -z "$ac_cv_path_PKG_CONFIG"; then
19915   ac_pt_PKG_CONFIG=$PKG_CONFIG
19916   # Extract the first word of "pkg-config", so it can be a program name with args.
19917 set dummy pkg-config; ac_word=$2
19918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19919 $as_echo_n "checking for $ac_word... " >&6; }
19920 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
19921   $as_echo_n "(cached) " >&6
19922 else
19923   case $ac_pt_PKG_CONFIG in
19924   [\\/]* | ?:[\\/]*)
19925   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
19926   ;;
19927   *)
19928   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19929 for as_dir in $PATH
19930 do
19931   IFS=$as_save_IFS
19932   test -z "$as_dir" && as_dir=.
19933     for ac_exec_ext in '' $ac_executable_extensions; do
19934   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19935     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19936     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19937     break 2
19938   fi
19939 done
19940   done
19941 IFS=$as_save_IFS
19942
19943   ;;
19944 esac
19945 fi
19946 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
19947 if test -n "$ac_pt_PKG_CONFIG"; then
19948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
19949 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
19950 else
19951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19952 $as_echo "no" >&6; }
19953 fi
19954
19955   if test "x$ac_pt_PKG_CONFIG" = x; then
19956     PKG_CONFIG=""
19957   else
19958     case $cross_compiling:$ac_tool_warned in
19959 yes:)
19960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19961 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19962 ac_tool_warned=yes ;;
19963 esac
19964     PKG_CONFIG=$ac_pt_PKG_CONFIG
19965   fi
19966 else
19967   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
19968 fi
19969
19970 fi
19971 if test -n "$PKG_CONFIG"; then
19972         _pkg_min_version=0.9.0
19973         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
19974 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
19975         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
19976                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19977 $as_echo "yes" >&6; }
19978         else
19979                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19980 $as_echo "no" >&6; }
19981                 PKG_CONFIG=""
19982         fi
19983 fi
19984
19985 # Check whether pkg-config supports Requires.private
19986 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
19987    pkgconfig_requires_private="Requires.private"
19988 else
19989    pkgconfig_requires_private="Requires"
19990 fi
19991
19992
19993 ### Checks for some build time option
19994 have_backtrace="no"
19995 for ac_func in backtrace
19996 do :
19997   ac_fn_c_check_func "$LINENO" "backtrace" "ac_cv_func_backtrace"
19998 if test "x$ac_cv_func_backtrace" = xyes; then :
19999   cat >>confdefs.h <<_ACEOF
20000 #define HAVE_BACKTRACE 1
20001 _ACEOF
20002  have_backtrace="yes"
20003 fi
20004 done
20005
20006
20007 want_ecore_timer_dump="no"
20008
20009 # Check whether --enable-ecore-timer-dump was given.
20010 if test "${enable_ecore_timer_dump+set}" = set; then :
20011   enableval=$enable_ecore_timer_dump; want_ecore_timer_dump=$enableval
20012 fi
20013
20014
20015 if test "x$want_ecore_timer_dump" = "xyes" -a "x$have_backtrace" = "xyes"; then
20016
20017 $as_echo "#define WANT_ECORE_TIMER_DUMP 1" >>confdefs.h
20018
20019 fi
20020
20021 ### Checks for libraries
20022
20023 # Evil library for compilation on Windows
20024
20025 case "$host_os" in
20026    mingw*)
20027
20028 pkg_failed=no
20029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
20030 $as_echo_n "checking for EVIL... " >&6; }
20031
20032 if test -n "$EVIL_CFLAGS"; then
20033     pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
20034  elif test -n "$PKG_CONFIG"; then
20035     if test -n "$PKG_CONFIG" && \
20036     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.7.8\""; } >&5
20037   ($PKG_CONFIG --exists --print-errors "evil >= 1.7.8") 2>&5
20038   ac_status=$?
20039   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20040   test $ac_status = 0; }; then
20041   pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.7.8" 2>/dev/null`
20042                       test "x$?" != "x0" && pkg_failed=yes
20043 else
20044   pkg_failed=yes
20045 fi
20046  else
20047     pkg_failed=untried
20048 fi
20049 if test -n "$EVIL_LIBS"; then
20050     pkg_cv_EVIL_LIBS="$EVIL_LIBS"
20051  elif test -n "$PKG_CONFIG"; then
20052     if test -n "$PKG_CONFIG" && \
20053     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.7.8\""; } >&5
20054   ($PKG_CONFIG --exists --print-errors "evil >= 1.7.8") 2>&5
20055   ac_status=$?
20056   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20057   test $ac_status = 0; }; then
20058   pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.7.8" 2>/dev/null`
20059                       test "x$?" != "x0" && pkg_failed=yes
20060 else
20061   pkg_failed=yes
20062 fi
20063  else
20064     pkg_failed=untried
20065 fi
20066
20067
20068
20069 if test $pkg_failed = yes; then
20070         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20071 $as_echo "no" >&6; }
20072
20073 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20074         _pkg_short_errors_supported=yes
20075 else
20076         _pkg_short_errors_supported=no
20077 fi
20078         if test $_pkg_short_errors_supported = yes; then
20079                 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evil >= 1.7.8" 2>&1`
20080         else
20081                 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evil >= 1.7.8" 2>&1`
20082         fi
20083         # Put the nasty error message in config.log where it belongs
20084         echo "$EVIL_PKG_ERRORS" >&5
20085
20086         as_fn_error $? "Package requirements (evil >= 1.7.8) were not met:
20087
20088 $EVIL_PKG_ERRORS
20089
20090 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20091 installed software in a non-standard prefix.
20092
20093 Alternatively, you may set the environment variables EVIL_CFLAGS
20094 and EVIL_LIBS to avoid the need to call pkg-config.
20095 See the pkg-config man page for more details." "$LINENO" 5
20096 elif test $pkg_failed = untried; then
20097         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20098 $as_echo "no" >&6; }
20099         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20101 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
20102 is in your PATH or set the PKG_CONFIG environment variable to the full
20103 path to pkg-config.
20104
20105 Alternatively, you may set the environment variables EVIL_CFLAGS
20106 and EVIL_LIBS to avoid the need to call pkg-config.
20107 See the pkg-config man page for more details.
20108
20109 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20110 See \`config.log' for more details" "$LINENO" 5; }
20111 else
20112         EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
20113         EVIL_LIBS=$pkg_cv_EVIL_LIBS
20114         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20115 $as_echo "yes" >&6; }
20116
20117 fi
20118
20119 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
20120
20121       requirements_ecore="evil ${requirements_ecore}"
20122       requirements_ecore_evas="evil ${requirements_ecore_evas}"
20123       requirements_ecore_file="evil ${requirements_ecore_file}"
20124       requirements_ecore_imf="evil ${requirements_ecore_imf}"
20125       requirements_ecore_imf_evas="evil ${requirements_ecore_imf_evas}"
20126       EFL_ECORE_BUILD="-DEFL_ECORE_BUILD"
20127       EFL_ECORE_CON_BUILD="-DEFL_ECORE_CON_BUILD"
20128       EFL_ECORE_EVAS_BUILD="-DEFL_ECORE_EVAS_BUILD"
20129       EFL_ECORE_FILE_BUILD="-DEFL_ECORE_FILE_BUILD"
20130       EFL_ECORE_IMF_BUILD="-DEFL_ECORE_IMF_BUILD"
20131       EFL_ECORE_IMF_EVAS_BUILD="-DEFL_ECORE_IMF_EVAS_BUILD"
20132       EFL_ECORE_INPUT_BUILD="-DEFL_ECORE_INPUT_BUILD"
20133       EFL_ECORE_INPUT_EVAS_BUILD="-DEFL_ECORE_INPUT_EVAS_BUILD"
20134       EFL_ECORE_IPC_BUILD="-DEFL_ECORE_IPC_BUILD"
20135       ;;
20136 esac
20137
20138 have_win32=""
20139 have_wince=""
20140 case "$host_os" in
20141    mingw32ce* | cegcc*)
20142       EFL_ECORE_WINCE_BUILD="-DEFL_ECORE_WINCE_BUILD"
20143       requirements_ecore_wince="evil ${requirements_ecore_wince}"
20144       have_wince="yes"
20145       ;;
20146    mingw*)
20147       EFL_ECORE_WIN32_BUILD="-DEFL_ECORE_WIN32_BUILD"
20148       EFL_ECORE_SDL_BUILD="-DEFL_ECORE_SDL_BUILD"
20149       requirements_ecore_win32="evil ${requirements_ecore_win32}"
20150       requirements_ecore_sdl="evil ${requirements_ecore_sdl}"
20151       have_win32="yes"
20152       ;;
20153 esac
20154
20155 have_ps3=""
20156 case "$host_vendor" in
20157   ps3*)
20158       have_ps3="yes"
20159
20160 pkg_failed=no
20161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ESCAPE" >&5
20162 $as_echo_n "checking for ESCAPE... " >&6; }
20163
20164 if test -n "$ESCAPE_CFLAGS"; then
20165     pkg_cv_ESCAPE_CFLAGS="$ESCAPE_CFLAGS"
20166  elif test -n "$PKG_CONFIG"; then
20167     if test -n "$PKG_CONFIG" && \
20168     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"escape\""; } >&5
20169   ($PKG_CONFIG --exists --print-errors "escape") 2>&5
20170   ac_status=$?
20171   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20172   test $ac_status = 0; }; then
20173   pkg_cv_ESCAPE_CFLAGS=`$PKG_CONFIG --cflags "escape" 2>/dev/null`
20174                       test "x$?" != "x0" && pkg_failed=yes
20175 else
20176   pkg_failed=yes
20177 fi
20178  else
20179     pkg_failed=untried
20180 fi
20181 if test -n "$ESCAPE_LIBS"; then
20182     pkg_cv_ESCAPE_LIBS="$ESCAPE_LIBS"
20183  elif test -n "$PKG_CONFIG"; then
20184     if test -n "$PKG_CONFIG" && \
20185     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"escape\""; } >&5
20186   ($PKG_CONFIG --exists --print-errors "escape") 2>&5
20187   ac_status=$?
20188   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20189   test $ac_status = 0; }; then
20190   pkg_cv_ESCAPE_LIBS=`$PKG_CONFIG --libs "escape" 2>/dev/null`
20191                       test "x$?" != "x0" && pkg_failed=yes
20192 else
20193   pkg_failed=yes
20194 fi
20195  else
20196     pkg_failed=untried
20197 fi
20198
20199
20200
20201 if test $pkg_failed = yes; then
20202         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20203 $as_echo "no" >&6; }
20204
20205 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20206         _pkg_short_errors_supported=yes
20207 else
20208         _pkg_short_errors_supported=no
20209 fi
20210         if test $_pkg_short_errors_supported = yes; then
20211                 ESCAPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "escape" 2>&1`
20212         else
20213                 ESCAPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "escape" 2>&1`
20214         fi
20215         # Put the nasty error message in config.log where it belongs
20216         echo "$ESCAPE_PKG_ERRORS" >&5
20217
20218         as_fn_error $? "Package requirements (escape) were not met:
20219
20220 $ESCAPE_PKG_ERRORS
20221
20222 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20223 installed software in a non-standard prefix.
20224
20225 Alternatively, you may set the environment variables ESCAPE_CFLAGS
20226 and ESCAPE_LIBS to avoid the need to call pkg-config.
20227 See the pkg-config man page for more details." "$LINENO" 5
20228 elif test $pkg_failed = untried; then
20229         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20230 $as_echo "no" >&6; }
20231         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20233 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
20234 is in your PATH or set the PKG_CONFIG environment variable to the full
20235 path to pkg-config.
20236
20237 Alternatively, you may set the environment variables ESCAPE_CFLAGS
20238 and ESCAPE_LIBS to avoid the need to call pkg-config.
20239 See the pkg-config man page for more details.
20240
20241 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20242 See \`config.log' for more details" "$LINENO" 5; }
20243 else
20244         ESCAPE_CFLAGS=$pkg_cv_ESCAPE_CFLAGS
20245         ESCAPE_LIBS=$pkg_cv_ESCAPE_LIBS
20246         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20247 $as_echo "yes" >&6; }
20248
20249 fi
20250       CFLAGS="$CFLAGS $ESCAPE_CFLAGS"
20251
20252 $as_echo "#define HAVE_ESCAPE 1" >>confdefs.h
20253
20254       EFL_ECORE_PSL1GHT_BUILD="-DEFL_ECORE_PSL1GHT_BUILD"
20255       requirements_ecore="escape ${requirements_ecore}"
20256       requirements_ecore_evas="escape ${requirements_ecore_evas}"
20257       requirements_ecore_file="escape ${requirements_ecore_file}"
20258       requirements_ecore_imf="escape ${requirements_ecore_imf}"
20259       requirements_ecore_imf_evas="escape ${requirements_ecore_imf_evas}"
20260       requirements_ecore_sdl="escape ${requirements_ecore_sdl}"
20261       want_ecore_psl1ght="yes"
20262       want_ecore_evas_psl1ght="yes"
20263       ;;
20264 esac
20265
20266
20267 ### Checks for portability layer
20268
20269
20270 pkg_failed=no
20271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXOTIC" >&5
20272 $as_echo_n "checking for EXOTIC... " >&6; }
20273
20274 if test -n "$EXOTIC_CFLAGS"; then
20275     pkg_cv_EXOTIC_CFLAGS="$EXOTIC_CFLAGS"
20276  elif test -n "$PKG_CONFIG"; then
20277     if test -n "$PKG_CONFIG" && \
20278     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
20279   ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
20280   ac_status=$?
20281   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20282   test $ac_status = 0; }; then
20283   pkg_cv_EXOTIC_CFLAGS=`$PKG_CONFIG --cflags "exotic" 2>/dev/null`
20284                       test "x$?" != "x0" && pkg_failed=yes
20285 else
20286   pkg_failed=yes
20287 fi
20288  else
20289     pkg_failed=untried
20290 fi
20291 if test -n "$EXOTIC_LIBS"; then
20292     pkg_cv_EXOTIC_LIBS="$EXOTIC_LIBS"
20293  elif test -n "$PKG_CONFIG"; then
20294     if test -n "$PKG_CONFIG" && \
20295     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
20296   ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
20297   ac_status=$?
20298   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20299   test $ac_status = 0; }; then
20300   pkg_cv_EXOTIC_LIBS=`$PKG_CONFIG --libs "exotic" 2>/dev/null`
20301                       test "x$?" != "x0" && pkg_failed=yes
20302 else
20303   pkg_failed=yes
20304 fi
20305  else
20306     pkg_failed=untried
20307 fi
20308
20309
20310
20311 if test $pkg_failed = yes; then
20312         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20313 $as_echo "no" >&6; }
20314
20315 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20316         _pkg_short_errors_supported=yes
20317 else
20318         _pkg_short_errors_supported=no
20319 fi
20320         if test $_pkg_short_errors_supported = yes; then
20321                 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "exotic" 2>&1`
20322         else
20323                 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "exotic" 2>&1`
20324         fi
20325         # Put the nasty error message in config.log where it belongs
20326         echo "$EXOTIC_PKG_ERRORS" >&5
20327
20328         enable_exotic="no"
20329 elif test $pkg_failed = untried; then
20330         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20331 $as_echo "no" >&6; }
20332         enable_exotic="no"
20333 else
20334         EXOTIC_CFLAGS=$pkg_cv_EXOTIC_CFLAGS
20335         EXOTIC_LIBS=$pkg_cv_EXOTIC_LIBS
20336         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20337 $as_echo "yes" >&6; }
20338         enable_exotic="yes"
20339 fi
20340
20341 if test "x${enable_exotic}" = "xyes"; then
20342     requirements_ecore="exotic ${requirements_ecore}"
20343
20344
20345 $as_echo "#define HAVE_EXOTIC 1" >>confdefs.h
20346
20347 fi
20348  if test "x${enable_exotic}" = "xyes"; then
20349   ECORE_HAVE_EXOTIC_TRUE=
20350   ECORE_HAVE_EXOTIC_FALSE='#'
20351 else
20352   ECORE_HAVE_EXOTIC_TRUE='#'
20353   ECORE_HAVE_EXOTIC_FALSE=
20354 fi
20355
20356
20357
20358
20359
20360
20361
20362
20363
20364
20365
20366
20367
20368
20369
20370
20371  if test "x${have_wince}" = "xyes"; then
20372   ECORE_HAVE_WINCE_TRUE=
20373   ECORE_HAVE_WINCE_FALSE='#'
20374 else
20375   ECORE_HAVE_WINCE_TRUE='#'
20376   ECORE_HAVE_WINCE_FALSE=
20377 fi
20378
20379  if test "x${have_win32}" = "xyes"; then
20380   ECORE_HAVE_WIN32_TRUE=
20381   ECORE_HAVE_WIN32_FALSE='#'
20382 else
20383   ECORE_HAVE_WIN32_TRUE='#'
20384   ECORE_HAVE_WIN32_FALSE=
20385 fi
20386
20387  if test "x${have_ps3}" = "xyes"; then
20388   ECORE_HAVE_PS3_TRUE=
20389   ECORE_HAVE_PS3_FALSE='#'
20390 else
20391   ECORE_HAVE_PS3_TRUE='#'
20392   ECORE_HAVE_PS3_FALSE=
20393 fi
20394
20395
20396 WIN32_LIBS=""
20397 case "$host_os" in
20398    mingw32ce* | cegcc*)
20399       WIN32_LIBS="-lws2"
20400       dlopen_libs="-ldl"
20401       ;;
20402    mingw*)
20403       WIN32_LIBS="-lws2_32"
20404       dlopen_libs="-ldl"
20405       ;;
20406    *)
20407       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lc" >&5
20408 $as_echo_n "checking for dlopen in -lc... " >&6; }
20409 if ${ac_cv_lib_c_dlopen+:} false; then :
20410   $as_echo_n "(cached) " >&6
20411 else
20412   ac_check_lib_save_LIBS=$LIBS
20413 LIBS="-lc  $LIBS"
20414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20415 /* end confdefs.h.  */
20416
20417 /* Override any GCC internal prototype to avoid an error.
20418    Use char because int might match the return type of a GCC
20419    builtin and then its argument prototype would still apply.  */
20420 #ifdef __cplusplus
20421 extern "C"
20422 #endif
20423 char dlopen ();
20424 int
20425 main ()
20426 {
20427 return dlopen ();
20428   ;
20429   return 0;
20430 }
20431 _ACEOF
20432 if ac_fn_c_try_link "$LINENO"; then :
20433   ac_cv_lib_c_dlopen=yes
20434 else
20435   ac_cv_lib_c_dlopen=no
20436 fi
20437 rm -f core conftest.err conftest.$ac_objext \
20438     conftest$ac_exeext conftest.$ac_ext
20439 LIBS=$ac_check_lib_save_LIBS
20440 fi
20441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_dlopen" >&5
20442 $as_echo "$ac_cv_lib_c_dlopen" >&6; }
20443 if test "x$ac_cv_lib_c_dlopen" = xyes; then :
20444   cat >>confdefs.h <<_ACEOF
20445 #define HAVE_LIBC 1
20446 _ACEOF
20447
20448   LIBS="-lc $LIBS"
20449
20450 else
20451   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
20452 $as_echo_n "checking for dlopen in -ldl... " >&6; }
20453 if ${ac_cv_lib_dl_dlopen+:} false; then :
20454   $as_echo_n "(cached) " >&6
20455 else
20456   ac_check_lib_save_LIBS=$LIBS
20457 LIBS="-ldl  $LIBS"
20458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20459 /* end confdefs.h.  */
20460
20461 /* Override any GCC internal prototype to avoid an error.
20462    Use char because int might match the return type of a GCC
20463    builtin and then its argument prototype would still apply.  */
20464 #ifdef __cplusplus
20465 extern "C"
20466 #endif
20467 char dlopen ();
20468 int
20469 main ()
20470 {
20471 return dlopen ();
20472   ;
20473   return 0;
20474 }
20475 _ACEOF
20476 if ac_fn_c_try_link "$LINENO"; then :
20477   ac_cv_lib_dl_dlopen=yes
20478 else
20479   ac_cv_lib_dl_dlopen=no
20480 fi
20481 rm -f core conftest.err conftest.$ac_objext \
20482     conftest$ac_exeext conftest.$ac_ext
20483 LIBS=$ac_check_lib_save_LIBS
20484 fi
20485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
20486 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
20487 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
20488   dlopen_libs=-ldl
20489 fi
20490
20491
20492 fi
20493
20494       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lc" >&5
20495 $as_echo_n "checking for clock_gettime in -lc... " >&6; }
20496 if ${ac_cv_lib_c_clock_gettime+:} false; then :
20497   $as_echo_n "(cached) " >&6
20498 else
20499   ac_check_lib_save_LIBS=$LIBS
20500 LIBS="-lc  $LIBS"
20501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20502 /* end confdefs.h.  */
20503
20504 /* Override any GCC internal prototype to avoid an error.
20505    Use char because int might match the return type of a GCC
20506    builtin and then its argument prototype would still apply.  */
20507 #ifdef __cplusplus
20508 extern "C"
20509 #endif
20510 char clock_gettime ();
20511 int
20512 main ()
20513 {
20514 return clock_gettime ();
20515   ;
20516   return 0;
20517 }
20518 _ACEOF
20519 if ac_fn_c_try_link "$LINENO"; then :
20520   ac_cv_lib_c_clock_gettime=yes
20521 else
20522   ac_cv_lib_c_clock_gettime=no
20523 fi
20524 rm -f core conftest.err conftest.$ac_objext \
20525     conftest$ac_exeext conftest.$ac_ext
20526 LIBS=$ac_check_lib_save_LIBS
20527 fi
20528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_clock_gettime" >&5
20529 $as_echo "$ac_cv_lib_c_clock_gettime" >&6; }
20530 if test "x$ac_cv_lib_c_clock_gettime" = xyes; then :
20531
20532 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20533
20534 else
20535   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
20536 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
20537 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
20538   $as_echo_n "(cached) " >&6
20539 else
20540   ac_check_lib_save_LIBS=$LIBS
20541 LIBS="-lrt  $LIBS"
20542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20543 /* end confdefs.h.  */
20544
20545 /* Override any GCC internal prototype to avoid an error.
20546    Use char because int might match the return type of a GCC
20547    builtin and then its argument prototype would still apply.  */
20548 #ifdef __cplusplus
20549 extern "C"
20550 #endif
20551 char clock_gettime ();
20552 int
20553 main ()
20554 {
20555 return clock_gettime ();
20556   ;
20557   return 0;
20558 }
20559 _ACEOF
20560 if ac_fn_c_try_link "$LINENO"; then :
20561   ac_cv_lib_rt_clock_gettime=yes
20562 else
20563   ac_cv_lib_rt_clock_gettime=no
20564 fi
20565 rm -f core conftest.err conftest.$ac_objext \
20566     conftest$ac_exeext conftest.$ac_ext
20567 LIBS=$ac_check_lib_save_LIBS
20568 fi
20569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
20570 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
20571 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
20572
20573               rt_libs=-lrt
20574
20575 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20576
20577
20578 fi
20579
20580
20581 fi
20582
20583       ;;
20584 esac
20585
20586
20587
20588
20589 # Eina library
20590
20591
20592 pkg_failed=no
20593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EINA" >&5
20594 $as_echo_n "checking for EINA... " >&6; }
20595
20596 if test -n "$EINA_CFLAGS"; then
20597     pkg_cv_EINA_CFLAGS="$EINA_CFLAGS"
20598  elif test -n "$PKG_CONFIG"; then
20599     if test -n "$PKG_CONFIG" && \
20600     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.7.8\""; } >&5
20601   ($PKG_CONFIG --exists --print-errors "eina >= 1.7.8") 2>&5
20602   ac_status=$?
20603   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20604   test $ac_status = 0; }; then
20605   pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.7.8" 2>/dev/null`
20606                       test "x$?" != "x0" && pkg_failed=yes
20607 else
20608   pkg_failed=yes
20609 fi
20610  else
20611     pkg_failed=untried
20612 fi
20613 if test -n "$EINA_LIBS"; then
20614     pkg_cv_EINA_LIBS="$EINA_LIBS"
20615  elif test -n "$PKG_CONFIG"; then
20616     if test -n "$PKG_CONFIG" && \
20617     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.7.8\""; } >&5
20618   ($PKG_CONFIG --exists --print-errors "eina >= 1.7.8") 2>&5
20619   ac_status=$?
20620   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20621   test $ac_status = 0; }; then
20622   pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina >= 1.7.8" 2>/dev/null`
20623                       test "x$?" != "x0" && pkg_failed=yes
20624 else
20625   pkg_failed=yes
20626 fi
20627  else
20628     pkg_failed=untried
20629 fi
20630
20631
20632
20633 if test $pkg_failed = yes; then
20634         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20635 $as_echo "no" >&6; }
20636
20637 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20638         _pkg_short_errors_supported=yes
20639 else
20640         _pkg_short_errors_supported=no
20641 fi
20642         if test $_pkg_short_errors_supported = yes; then
20643                 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eina >= 1.7.8" 2>&1`
20644         else
20645                 EINA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eina >= 1.7.8" 2>&1`
20646         fi
20647         # Put the nasty error message in config.log where it belongs
20648         echo "$EINA_PKG_ERRORS" >&5
20649
20650         as_fn_error $? "Package requirements (eina >= 1.7.8) were not met:
20651
20652 $EINA_PKG_ERRORS
20653
20654 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20655 installed software in a non-standard prefix.
20656
20657 Alternatively, you may set the environment variables EINA_CFLAGS
20658 and EINA_LIBS to avoid the need to call pkg-config.
20659 See the pkg-config man page for more details." "$LINENO" 5
20660 elif test $pkg_failed = untried; then
20661         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20662 $as_echo "no" >&6; }
20663         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20665 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
20666 is in your PATH or set the PKG_CONFIG environment variable to the full
20667 path to pkg-config.
20668
20669 Alternatively, you may set the environment variables EINA_CFLAGS
20670 and EINA_LIBS to avoid the need to call pkg-config.
20671 See the pkg-config man page for more details.
20672
20673 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20674 See \`config.log' for more details" "$LINENO" 5; }
20675 else
20676         EINA_CFLAGS=$pkg_cv_EINA_CFLAGS
20677         EINA_LIBS=$pkg_cv_EINA_LIBS
20678         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20679 $as_echo "yes" >&6; }
20680
20681 fi
20682 #FIXME check all the requirements when the eina move will be finished
20683 requirements_ecore="eina >= 1.7.8 ${requirements_ecore}"
20684 requirements_ecore_con="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_con}"
20685 #requirements_ecore_config="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_config}"
20686 requirements_ecore_directfb="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_directfb}"
20687 requirements_ecore_evas="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_evas}"
20688 requirements_ecore_fb="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_fb}"
20689 requirements_ecore_file="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_file}"
20690 requirements_ecore_imf="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_imf}"
20691 requirements_ecore_imf_evas="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_imf_evas}"
20692 requirements_ecore_input="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_input}"
20693 requirements_ecore_input_evas="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_input_evas}"
20694 requirements_ecore_ipc="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_ipc}"
20695 requirements_ecore_cocoa="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_cocoa}"
20696 requirements_ecore_sdl="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_sdl}"
20697 requirements_ecore_psl1ght="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_psl1ght}"
20698 requirements_ecore_win32="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_win32}"
20699 requirements_ecore_wince="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_wince}"
20700 requirements_ecore_x="ecore >= 1.7.8 eina >= 1.7.8 ${requirements_ecore_x}"
20701
20702
20703 # glib support (main loop integration)
20704 # Check whether --enable-glib was given.
20705 if test "${enable_glib+set}" = set; then :
20706   enableval=$enable_glib; want_glib=$enableval
20707 fi
20708
20709
20710 if test "x$want_glib" != "xno"; then
20711
20712 pkg_failed=no
20713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
20714 $as_echo_n "checking for GLIB... " >&6; }
20715
20716 if test -n "$GLIB_CFLAGS"; then
20717     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
20718  elif test -n "$PKG_CONFIG"; then
20719     if test -n "$PKG_CONFIG" && \
20720     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
20721   ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
20722   ac_status=$?
20723   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20724   test $ac_status = 0; }; then
20725   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
20726                       test "x$?" != "x0" && pkg_failed=yes
20727 else
20728   pkg_failed=yes
20729 fi
20730  else
20731     pkg_failed=untried
20732 fi
20733 if test -n "$GLIB_LIBS"; then
20734     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
20735  elif test -n "$PKG_CONFIG"; then
20736     if test -n "$PKG_CONFIG" && \
20737     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
20738   ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
20739   ac_status=$?
20740   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20741   test $ac_status = 0; }; then
20742   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
20743                       test "x$?" != "x0" && pkg_failed=yes
20744 else
20745   pkg_failed=yes
20746 fi
20747  else
20748     pkg_failed=untried
20749 fi
20750
20751
20752
20753 if test $pkg_failed = yes; then
20754         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20755 $as_echo "no" >&6; }
20756
20757 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20758         _pkg_short_errors_supported=yes
20759 else
20760         _pkg_short_errors_supported=no
20761 fi
20762         if test $_pkg_short_errors_supported = yes; then
20763                 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0" 2>&1`
20764         else
20765                 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0" 2>&1`
20766         fi
20767         # Put the nasty error message in config.log where it belongs
20768         echo "$GLIB_PKG_ERRORS" >&5
20769
20770         have_glib="no"
20771 elif test $pkg_failed = untried; then
20772         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20773 $as_echo "no" >&6; }
20774         have_glib="no"
20775 else
20776         GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
20777         GLIB_LIBS=$pkg_cv_GLIB_LIBS
20778         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20779 $as_echo "yes" >&6; }
20780         have_glib="yes"
20781 fi
20782 else
20783    have_glib="no"
20784 fi
20785 if test "x$want_glib" = "xyes" -a "x$have_glib" = "xno"; then
20786    as_fn_error $? "GLib support requested, but no GLib found by pkg-config." "$LINENO" 5
20787 elif test "x$have_glib" = "xyes"; then
20788
20789 $as_echo "#define HAVE_GLIB 1" >>confdefs.h
20790
20791    requirements_ecore="glib-2.0 ${requirements_ecore}"
20792 fi
20793
20794
20795 # SDL library (ecore_sdl)
20796
20797 have_sdl="no"
20798
20799 pkg_failed=no
20800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
20801 $as_echo_n "checking for SDL... " >&6; }
20802
20803 if test -n "$SDL_CFLAGS"; then
20804     pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
20805  elif test -n "$PKG_CONFIG"; then
20806     if test -n "$PKG_CONFIG" && \
20807     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
20808   ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
20809   ac_status=$?
20810   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20811   test $ac_status = 0; }; then
20812   pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl >= 1.2.0" 2>/dev/null`
20813                       test "x$?" != "x0" && pkg_failed=yes
20814 else
20815   pkg_failed=yes
20816 fi
20817  else
20818     pkg_failed=untried
20819 fi
20820 if test -n "$SDL_LIBS"; then
20821     pkg_cv_SDL_LIBS="$SDL_LIBS"
20822  elif test -n "$PKG_CONFIG"; then
20823     if test -n "$PKG_CONFIG" && \
20824     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
20825   ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
20826   ac_status=$?
20827   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20828   test $ac_status = 0; }; then
20829   pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl >= 1.2.0" 2>/dev/null`
20830                       test "x$?" != "x0" && pkg_failed=yes
20831 else
20832   pkg_failed=yes
20833 fi
20834  else
20835     pkg_failed=untried
20836 fi
20837
20838
20839
20840 if test $pkg_failed = yes; then
20841         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20842 $as_echo "no" >&6; }
20843
20844 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20845         _pkg_short_errors_supported=yes
20846 else
20847         _pkg_short_errors_supported=no
20848 fi
20849         if test $_pkg_short_errors_supported = yes; then
20850                 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sdl >= 1.2.0" 2>&1`
20851         else
20852                 SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sdl >= 1.2.0" 2>&1`
20853         fi
20854         # Put the nasty error message in config.log where it belongs
20855         echo "$SDL_PKG_ERRORS" >&5
20856
20857         have_sdl="no"
20858 elif test $pkg_failed = untried; then
20859         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20860 $as_echo "no" >&6; }
20861         have_sdl="no"
20862 else
20863         SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
20864         SDL_LIBS=$pkg_cv_SDL_LIBS
20865         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20866 $as_echo "yes" >&6; }
20867         have_sdl="yes"
20868 fi
20869 if test "x${have_sdl}" != "xyes" ; then
20870    SDL_CONFIG="sdl-config"
20871
20872 # Check whether --with-sdl-config was given.
20873 if test "${with_sdl_config+set}" = set; then :
20874   withval=$with_sdl_config;
20875        SDL_CONFIG=$withval
20876        { $as_echo "$as_me:${as_lineno-$LINENO}: using ${SDL_CONFIG} for sdl-config" >&5
20877 $as_echo "$as_me: using ${SDL_CONFIG} for sdl-config" >&6;}
20878
20879 fi
20880
20881
20882    # Extract the first word of ""sdl-config"", so it can be a program name with args.
20883 set dummy "sdl-config"; ac_word=$2
20884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20885 $as_echo_n "checking for $ac_word... " >&6; }
20886 if ${ac_cv_path_SDL_CONFIG+:} false; then :
20887   $as_echo_n "(cached) " >&6
20888 else
20889   case $SDL_CONFIG in
20890   [\\/]* | ?:[\\/]*)
20891   ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
20892   ;;
20893   *)
20894   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20895 for as_dir in $PATH
20896 do
20897   IFS=$as_save_IFS
20898   test -z "$as_dir" && as_dir=.
20899     for ac_exec_ext in '' $ac_executable_extensions; do
20900   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20901     ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20902     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20903     break 2
20904   fi
20905 done
20906   done
20907 IFS=$as_save_IFS
20908
20909   test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG=""""
20910   ;;
20911 esac
20912 fi
20913 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
20914 if test -n "$SDL_CONFIG"; then
20915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
20916 $as_echo "$SDL_CONFIG" >&6; }
20917 else
20918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20919 $as_echo "no" >&6; }
20920 fi
20921
20922
20923
20924    if test -n "$SDL_CONFIG" ; then
20925       SDL_CFLAGS=`$SDL_CONFIG --cflags`
20926       SDL_LIBS=`$SDL_CONFIG --libs`
20927
20928
20929       have_sdl="yes"
20930    fi
20931 fi
20932
20933 if test "x${have_sdl}" = "xyes" ; then
20934    if test -n "$PKG_CONFIG" && \
20935     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.3.0\""; } >&5
20936   ($PKG_CONFIG --exists --print-errors "sdl >= 1.3.0") 2>&5
20937   ac_status=$?
20938   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20939   test $ac_status = 0; }; then
20940
20941 $as_echo "#define BUILD_ECORE_EVAS_SDL_130 1" >>confdefs.h
20942
20943 fi
20944 fi
20945
20946
20947 # DirectFB library (ecore_directfb)
20948
20949
20950 pkg_failed=no
20951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
20952 $as_echo_n "checking for DIRECTFB... " >&6; }
20953
20954 if test -n "$DIRECTFB_CFLAGS"; then
20955     pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
20956  elif test -n "$PKG_CONFIG"; then
20957     if test -n "$PKG_CONFIG" && \
20958     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5
20959   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5
20960   ac_status=$?
20961   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20962   test $ac_status = 0; }; then
20963   pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.16" 2>/dev/null`
20964                       test "x$?" != "x0" && pkg_failed=yes
20965 else
20966   pkg_failed=yes
20967 fi
20968  else
20969     pkg_failed=untried
20970 fi
20971 if test -n "$DIRECTFB_LIBS"; then
20972     pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
20973  elif test -n "$PKG_CONFIG"; then
20974     if test -n "$PKG_CONFIG" && \
20975     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5
20976   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5
20977   ac_status=$?
20978   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20979   test $ac_status = 0; }; then
20980   pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.16" 2>/dev/null`
20981                       test "x$?" != "x0" && pkg_failed=yes
20982 else
20983   pkg_failed=yes
20984 fi
20985  else
20986     pkg_failed=untried
20987 fi
20988
20989
20990
20991 if test $pkg_failed = yes; then
20992         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20993 $as_echo "no" >&6; }
20994
20995 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20996         _pkg_short_errors_supported=yes
20997 else
20998         _pkg_short_errors_supported=no
20999 fi
21000         if test $_pkg_short_errors_supported = yes; then
21001                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "directfb >= 0.9.16" 2>&1`
21002         else
21003                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "directfb >= 0.9.16" 2>&1`
21004         fi
21005         # Put the nasty error message in config.log where it belongs
21006         echo "$DIRECTFB_PKG_ERRORS" >&5
21007
21008         have_directfb="no"
21009 elif test $pkg_failed = untried; then
21010         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21011 $as_echo "no" >&6; }
21012         have_directfb="no"
21013 else
21014         DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
21015         DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
21016         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21017 $as_echo "yes" >&6; }
21018         have_directfb="yes"
21019 fi
21020
21021
21022 # Eet library (ecore_config)
21023
21024 #PKG_CHECK_MODULES([EET],
21025 #   [eet >= 1.7.8],
21026 #   [have_eet="yes"],
21027 #   [have_eet="no"])
21028
21029
21030 # Xlib and XCB (ecore_x)
21031
21032 ac_fn_c_check_decl "$LINENO" "MAXHOSTNAMELEN" "ac_cv_have_decl_MAXHOSTNAMELEN" "$ac_includes_default"
21033 if test "x$ac_cv_have_decl_MAXHOSTNAMELEN" = xyes; then :
21034   FOUND_MAXHOSTNAMELEN=yes
21035 fi
21036
21037
21038 if test "x${FOUND_MAXHOSTNAMELEN}" != "xyes" ; then
21039    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for header that defines MAXHOSTNAMELEN" >&5
21040 $as_echo_n "checking for header that defines MAXHOSTNAMELEN... " >&6; }
21041    FOUND_MAXHOSTNAMELEN="not found"
21042
21043    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21044 /* end confdefs.h.  */
21045
21046
21047 #include <sys/param.h>
21048
21049 int
21050 main ()
21051 {
21052
21053 int h = MAXHOSTNAMELEN;
21054
21055   ;
21056   return 0;
21057 }
21058
21059 _ACEOF
21060 if ac_fn_c_try_compile "$LINENO"; then :
21061
21062        FOUND_MAXHOSTNAMELEN="sys/param.h"
21063
21064 $as_echo "#define NEED_SYS_PARAM_H 1" >>confdefs.h
21065
21066
21067 fi
21068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21069
21070    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21071 /* end confdefs.h.  */
21072
21073
21074 #include <netdb.h>
21075
21076 int
21077 main ()
21078 {
21079
21080 int h = MAXHOSTNAMELEN;
21081
21082   ;
21083   return 0;
21084 }
21085
21086 _ACEOF
21087 if ac_fn_c_try_compile "$LINENO"; then :
21088
21089        FOUND_MAXHOSTNAMELEN="netdb.h"
21090
21091 $as_echo "#define NEED_NETDB_H 1" >>confdefs.h
21092
21093
21094 fi
21095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21096
21097    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_MAXHOSTNAMELEN" >&5
21098 $as_echo "$FOUND_MAXHOSTNAMELEN" >&6; }
21099 fi
21100
21101 have_x="no"
21102 have_ecore_x="no"
21103 have_ecore_x_xlib="no"
21104 have_ecore_x_xcb="no"
21105
21106 x_dir="";
21107 x_includes="";
21108 x_cflags="";
21109 x_libs="";
21110
21111 ecore_x_libs_private=""
21112
21113 # Check whether --enable-ecore-x-composite was given.
21114 if test "${enable_ecore_x_composite+set}" = set; then :
21115   enableval=$enable_ecore_x_composite; want_ecore_x_composite=$enableval
21116 fi
21117
21118
21119 # Check whether --enable-ecore-x-damage was given.
21120 if test "${enable_ecore_x_damage+set}" = set; then :
21121   enableval=$enable_ecore_x_damage; want_ecore_x_damage=$enableval
21122 fi
21123
21124
21125 # Check whether --enable-ecore-x-dpms was given.
21126 if test "${enable_ecore_x_dpms+set}" = set; then :
21127   enableval=$enable_ecore_x_dpms; want_ecore_x_dpms=$enableval
21128 fi
21129
21130
21131 # Check whether --enable-ecore-x-randr was given.
21132 if test "${enable_ecore_x_randr+set}" = set; then :
21133   enableval=$enable_ecore_x_randr; want_ecore_x_randr=$enableval
21134 fi
21135
21136
21137 # Check whether --enable-ecore-x-render was given.
21138 if test "${enable_ecore_x_render+set}" = set; then :
21139   enableval=$enable_ecore_x_render; want_ecore_x_render=$enableval
21140 fi
21141
21142
21143 # Check whether --enable-ecore-x-screensaver was given.
21144 if test "${enable_ecore_x_screensaver+set}" = set; then :
21145   enableval=$enable_ecore_x_screensaver; want_ecore_x_screensaver=$enableval
21146 fi
21147
21148
21149 # Check whether --enable-ecore-x-shape was given.
21150 if test "${enable_ecore_x_shape+set}" = set; then :
21151   enableval=$enable_ecore_x_shape; want_ecore_x_shape=$enableval
21152 fi
21153
21154
21155 # Check whether --enable-ecore-x-gesture was given.
21156 if test "${enable_ecore_x_gesture+set}" = set; then :
21157   enableval=$enable_ecore_x_gesture; want_ecore_x_gesture=$enableval
21158 fi
21159
21160
21161 # Check whether --enable-ecore-x-sync was given.
21162 if test "${enable_ecore_x_sync+set}" = set; then :
21163   enableval=$enable_ecore_x_sync; want_ecore_x_sync=$enableval
21164 fi
21165
21166
21167 # Check whether --enable-ecore-x-xfixes was given.
21168 if test "${enable_ecore_x_xfixes+set}" = set; then :
21169   enableval=$enable_ecore_x_xfixes; want_ecore_x_xfixes=$enableval
21170 fi
21171
21172
21173 # Check whether --enable-ecore-x-xinerama was given.
21174 if test "${enable_ecore_x_xinerama+set}" = set; then :
21175   enableval=$enable_ecore_x_xinerama; want_ecore_x_xinerama=$enableval
21176 fi
21177
21178
21179 # Check whether --enable-ecore-x-xprint was given.
21180 if test "${enable_ecore_x_xprint+set}" = set; then :
21181   enableval=$enable_ecore_x_xprint; want_ecore_x_xprint=$enableval
21182 fi
21183
21184
21185 # Check whether --enable-ecore-x-xtest was given.
21186 if test "${enable_ecore_x_xtest+set}" = set; then :
21187   enableval=$enable_ecore_x_xtest; want_ecore_x_xtest=$enableval
21188 fi
21189
21190
21191 # Check whether --enable-ecore-x-cursor was given.
21192 if test "${enable_ecore_x_cursor+set}" = set; then :
21193   enableval=$enable_ecore_x_cursor; want_ecore_x_cursor=$enableval
21194 fi
21195
21196
21197 # Check whether --enable-ecore-x-input was given.
21198 if test "${enable_ecore_x_input+set}" = set; then :
21199   enableval=$enable_ecore_x_input; want_ecore_x_input=$enableval
21200 fi
21201
21202
21203 # Check whether --enable-ecore-x-dri was given.
21204 if test "${enable_ecore_x_dri+set}" = set; then :
21205   enableval=$enable_ecore_x_dri; want_ecore_x_dri=$enableval
21206 fi
21207
21208
21209 # Check whether --enable-ecore-x-xcb was given.
21210 if test "${enable_ecore_x_xcb+set}" = set; then :
21211   enableval=$enable_ecore_x_xcb; want_ecore_x_xcb=$enableval
21212 fi
21213
21214
21215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_x with XCB backend is to be built" >&5
21216 $as_echo_n "checking whether ecore_x with XCB backend is to be built... " >&6; }
21217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_ecore_x_xcb" >&5
21218 $as_echo "$want_ecore_x_xcb" >&6; }
21219
21220 if test "x$want_ecore_x_xcb" = "xyes" ; then
21221
21222   { $as_echo "$as_me:${as_lineno-$LINENO}: checking keysym definitions" >&5
21223 $as_echo_n "checking keysym definitions... " >&6; }
21224   KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11
21225   FILES="keysymdef.h XF86keysym.h Sunkeysym.h DECkeysym.h HPkeysym.h"
21226   for i in $FILES; do
21227       if test -f "$KEYSYMDEFDIR/$i"; then
21228         KEYSYMDEFS="$KEYSYMDEFS $KEYSYMDEFDIR/$i"
21229       elif test "x$i" = "xkeysymdef.h"; then
21230         as_fn_error $? "Cannot find keysymdef.h" "$LINENO" 5
21231       fi
21232   done
21233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KEYSYMDEFS" >&5
21234 $as_echo "$KEYSYMDEFS" >&6; }
21235
21236
21237   have_iconv="no"
21238
21239 # Check whether --with-iconv-link was given.
21240 if test "${with_iconv_link+set}" = set; then :
21241   withval=$with_iconv_link;
21242         LIBS="$withval $LIBS"
21243         have_iconv="yes"
21244
21245 fi
21246
21247
21248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for explicit iconv link options" >&5
21249 $as_echo_n "checking for explicit iconv link options... " >&6; }
21250   if test "x${iconv_libs}" = "x" ; then
21251     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no explicit iconv link option" >&5
21252 $as_echo "no explicit iconv link option" >&6; }
21253   else
21254     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $iconv_libs" >&5
21255 $as_echo "$iconv_libs" >&6; }
21256   fi
21257
21258   if test "x${have_iconv}" = "xno" ; then
21259     for ac_header in iconv.h
21260 do :
21261   ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default"
21262 if test "x$ac_cv_header_iconv_h" = xyes; then :
21263   cat >>confdefs.h <<_ACEOF
21264 #define HAVE_ICONV_H 1
21265 _ACEOF
21266  have_iconv="yes"
21267 fi
21268
21269 done
21270
21271
21272     if test "x${have_iconv}" = "xyes" ; then
21273       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iconv() is in libc" >&5
21274 $as_echo_n "checking whether iconv() is in libc... " >&6; }
21275
21276       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21277 /* end confdefs.h.  */
21278
21279           #include <stdlib.h>
21280           #include <iconv.h>
21281
21282 int
21283 main ()
21284 {
21285
21286           iconv_t ic;
21287           size_t count = iconv(ic, NULL, NULL, NULL, NULL);
21288
21289   ;
21290   return 0;
21291 }
21292 _ACEOF
21293 if ac_fn_c_try_link "$LINENO"; then :
21294   have_iconv="yes"
21295 else
21296   have_iconv="no"
21297 fi
21298 rm -f core conftest.err conftest.$ac_objext \
21299     conftest$ac_exeext conftest.$ac_ext
21300
21301       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_iconv}" >&5
21302 $as_echo "${have_iconv}" >&6; }
21303     fi
21304
21305     if test "x${have_iconv}" = "xno" ; then
21306       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iconv() is in libiconv.a" >&5
21307 $as_echo_n "checking whether iconv() is in libiconv.a... " >&6; }
21308
21309       LIBS_save="${LIBS}"
21310       LIBS="-liconv $LIBS"
21311       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21312 /* end confdefs.h.  */
21313
21314           #include <stdlib.h>
21315           #include <iconv.h>
21316
21317 int
21318 main ()
21319 {
21320
21321           iconv_t ic;
21322           size_t count;
21323           count = iconv(ic, NULL, NULL, NULL, NULL);
21324
21325   ;
21326   return 0;
21327 }
21328 _ACEOF
21329 if ac_fn_c_try_link "$LINENO"; then :
21330   have_iconv="yes"
21331 else
21332
21333           have_iconv="no"
21334           LIBS=${LIBS_save}
21335
21336 fi
21337 rm -f core conftest.err conftest.$ac_objext \
21338     conftest$ac_exeext conftest.$ac_ext
21339
21340       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_iconv}" >&5
21341 $as_echo "${have_iconv}" >&6; }
21342     fi
21343
21344     if test "x${have_iconv}" = "xno" ; then
21345       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iconv() is in libiconv_plug.a" >&5
21346 $as_echo_n "checking whether iconv() is in libiconv_plug.a... " >&6; }
21347
21348       LIBS_save="${LIBS}"
21349       LIBS="-liconv_plug $LIBS"
21350       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21351 /* end confdefs.h.  */
21352
21353         #include <stdlib.h>
21354         #include <iconv.h>
21355
21356 int
21357 main ()
21358 {
21359
21360         iconv_t ic;
21361         size_t count = iconv(ic, NULL, NULL, NULL, NULL);
21362
21363   ;
21364   return 0;
21365 }
21366 _ACEOF
21367 if ac_fn_c_try_link "$LINENO"; then :
21368   have_iconv="yes"
21369 else
21370
21371         have_iconv="no"
21372         LIBS=${LIBS_save}
21373
21374 fi
21375 rm -f core conftest.err conftest.$ac_objext \
21376     conftest$ac_exeext conftest.$ac_ext
21377
21378       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_iconv}" >&5
21379 $as_echo "${have_iconv}" >&6; }
21380     fi
21381
21382     if test "x${have_iconv}" = "xyes" ; then
21383
21384 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
21385
21386     fi
21387   fi
21388
21389
21390 pkg_failed=no
21391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_XCB" >&5
21392 $as_echo_n "checking for ECORE_XCB... " >&6; }
21393
21394 if test -n "$ECORE_XCB_CFLAGS"; then
21395     pkg_cv_ECORE_XCB_CFLAGS="$ECORE_XCB_CFLAGS"
21396  elif test -n "$PKG_CONFIG"; then
21397     if test -n "$PKG_CONFIG" && \
21398     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8\""; } >&5
21399   ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8") 2>&5
21400   ac_status=$?
21401   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21402   test $ac_status = 0; }; then
21403   pkg_cv_ECORE_XCB_CFLAGS=`$PKG_CONFIG --cflags "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8" 2>/dev/null`
21404                       test "x$?" != "x0" && pkg_failed=yes
21405 else
21406   pkg_failed=yes
21407 fi
21408  else
21409     pkg_failed=untried
21410 fi
21411 if test -n "$ECORE_XCB_LIBS"; then
21412     pkg_cv_ECORE_XCB_LIBS="$ECORE_XCB_LIBS"
21413  elif test -n "$PKG_CONFIG"; then
21414     if test -n "$PKG_CONFIG" && \
21415     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8\""; } >&5
21416   ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8") 2>&5
21417   ac_status=$?
21418   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21419   test $ac_status = 0; }; then
21420   pkg_cv_ECORE_XCB_LIBS=`$PKG_CONFIG --libs "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8" 2>/dev/null`
21421                       test "x$?" != "x0" && pkg_failed=yes
21422 else
21423   pkg_failed=yes
21424 fi
21425  else
21426     pkg_failed=untried
21427 fi
21428
21429
21430
21431 if test $pkg_failed = yes; then
21432         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21433 $as_echo "no" >&6; }
21434
21435 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21436         _pkg_short_errors_supported=yes
21437 else
21438         _pkg_short_errors_supported=no
21439 fi
21440         if test $_pkg_short_errors_supported = yes; then
21441                 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8" 2>&1`
21442         else
21443                 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8" 2>&1`
21444         fi
21445         # Put the nasty error message in config.log where it belongs
21446         echo "$ECORE_XCB_PKG_ERRORS" >&5
21447
21448
21449
21450 pkg_failed=no
21451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_XCB" >&5
21452 $as_echo_n "checking for ECORE_XCB... " >&6; }
21453
21454 if test -n "$ECORE_XCB_CFLAGS"; then
21455     pkg_cv_ECORE_XCB_CFLAGS="$ECORE_XCB_CFLAGS"
21456  elif test -n "$PKG_CONFIG"; then
21457     if test -n "$PKG_CONFIG" && \
21458     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms\""; } >&5
21459   ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms") 2>&5
21460   ac_status=$?
21461   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21462   test $ac_status = 0; }; then
21463   pkg_cv_ECORE_XCB_CFLAGS=`$PKG_CONFIG --cflags "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>/dev/null`
21464                       test "x$?" != "x0" && pkg_failed=yes
21465 else
21466   pkg_failed=yes
21467 fi
21468  else
21469     pkg_failed=untried
21470 fi
21471 if test -n "$ECORE_XCB_LIBS"; then
21472     pkg_cv_ECORE_XCB_LIBS="$ECORE_XCB_LIBS"
21473  elif test -n "$PKG_CONFIG"; then
21474     if test -n "$PKG_CONFIG" && \
21475     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms\""; } >&5
21476   ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms") 2>&5
21477   ac_status=$?
21478   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21479   test $ac_status = 0; }; then
21480   pkg_cv_ECORE_XCB_LIBS=`$PKG_CONFIG --libs "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>/dev/null`
21481                       test "x$?" != "x0" && pkg_failed=yes
21482 else
21483   pkg_failed=yes
21484 fi
21485  else
21486     pkg_failed=untried
21487 fi
21488
21489
21490
21491 if test $pkg_failed = yes; then
21492         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21493 $as_echo "no" >&6; }
21494
21495 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21496         _pkg_short_errors_supported=yes
21497 else
21498         _pkg_short_errors_supported=no
21499 fi
21500         if test $_pkg_short_errors_supported = yes; then
21501                 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>&1`
21502         else
21503                 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>&1`
21504         fi
21505         # Put the nasty error message in config.log where it belongs
21506         echo "$ECORE_XCB_PKG_ERRORS" >&5
21507
21508          have_ecore_x_xcb="no"
21509 elif test $pkg_failed = untried; then
21510         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21511 $as_echo "no" >&6; }
21512          have_ecore_x_xcb="no"
21513 else
21514         ECORE_XCB_CFLAGS=$pkg_cv_ECORE_XCB_CFLAGS
21515         ECORE_XCB_LIBS=$pkg_cv_ECORE_XCB_LIBS
21516         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21517 $as_echo "yes" >&6; }
21518          have_ecore_x_xcb="yes"
21519
21520 $as_echo "#define OLD_XCB_VERSION 1" >>confdefs.h
21521
21522             requirements_ecore_x="x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms ${requirements_ecore_x}"
21523 fi
21524
21525 elif test $pkg_failed = untried; then
21526         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21527 $as_echo "no" >&6; }
21528
21529
21530 pkg_failed=no
21531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_XCB" >&5
21532 $as_echo_n "checking for ECORE_XCB... " >&6; }
21533
21534 if test -n "$ECORE_XCB_CFLAGS"; then
21535     pkg_cv_ECORE_XCB_CFLAGS="$ECORE_XCB_CFLAGS"
21536  elif test -n "$PKG_CONFIG"; then
21537     if test -n "$PKG_CONFIG" && \
21538     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms\""; } >&5
21539   ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms") 2>&5
21540   ac_status=$?
21541   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21542   test $ac_status = 0; }; then
21543   pkg_cv_ECORE_XCB_CFLAGS=`$PKG_CONFIG --cflags "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>/dev/null`
21544                       test "x$?" != "x0" && pkg_failed=yes
21545 else
21546   pkg_failed=yes
21547 fi
21548  else
21549     pkg_failed=untried
21550 fi
21551 if test -n "$ECORE_XCB_LIBS"; then
21552     pkg_cv_ECORE_XCB_LIBS="$ECORE_XCB_LIBS"
21553  elif test -n "$PKG_CONFIG"; then
21554     if test -n "$PKG_CONFIG" && \
21555     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms\""; } >&5
21556   ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms") 2>&5
21557   ac_status=$?
21558   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21559   test $ac_status = 0; }; then
21560   pkg_cv_ECORE_XCB_LIBS=`$PKG_CONFIG --libs "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>/dev/null`
21561                       test "x$?" != "x0" && pkg_failed=yes
21562 else
21563   pkg_failed=yes
21564 fi
21565  else
21566     pkg_failed=untried
21567 fi
21568
21569
21570
21571 if test $pkg_failed = yes; then
21572         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21573 $as_echo "no" >&6; }
21574
21575 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21576         _pkg_short_errors_supported=yes
21577 else
21578         _pkg_short_errors_supported=no
21579 fi
21580         if test $_pkg_short_errors_supported = yes; then
21581                 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>&1`
21582         else
21583                 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>&1`
21584         fi
21585         # Put the nasty error message in config.log where it belongs
21586         echo "$ECORE_XCB_PKG_ERRORS" >&5
21587
21588          have_ecore_x_xcb="no"
21589 elif test $pkg_failed = untried; then
21590         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21591 $as_echo "no" >&6; }
21592          have_ecore_x_xcb="no"
21593 else
21594         ECORE_XCB_CFLAGS=$pkg_cv_ECORE_XCB_CFLAGS
21595         ECORE_XCB_LIBS=$pkg_cv_ECORE_XCB_LIBS
21596         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21597 $as_echo "yes" >&6; }
21598          have_ecore_x_xcb="yes"
21599
21600 $as_echo "#define OLD_XCB_VERSION 1" >>confdefs.h
21601
21602             requirements_ecore_x="x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms ${requirements_ecore_x}"
21603 fi
21604
21605 else
21606         ECORE_XCB_CFLAGS=$pkg_cv_ECORE_XCB_CFLAGS
21607         ECORE_XCB_LIBS=$pkg_cv_ECORE_XCB_LIBS
21608         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21609 $as_echo "yes" >&6; }
21610          have_ecore_x_xcb="yes"
21611       requirements_ecore_x="x11-xcb xcb xcb-shm xcb-event xcb-icccm xcb-util xcb-image xcb-keysyms ${requirements_ecore_x}"
21612
21613 fi
21614
21615   if test "x$have_ecore_x_xcb" = "xyes" ; then
21616
21617
21618 pkg_failed=no
21619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PIXMAN" >&5
21620 $as_echo_n "checking for PIXMAN... " >&6; }
21621
21622 if test -n "$PIXMAN_CFLAGS"; then
21623     pkg_cv_PIXMAN_CFLAGS="$PIXMAN_CFLAGS"
21624  elif test -n "$PKG_CONFIG"; then
21625     if test -n "$PKG_CONFIG" && \
21626     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5
21627   ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5
21628   ac_status=$?
21629   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21630   test $ac_status = 0; }; then
21631   pkg_cv_PIXMAN_CFLAGS=`$PKG_CONFIG --cflags "pixman-1" 2>/dev/null`
21632                       test "x$?" != "x0" && pkg_failed=yes
21633 else
21634   pkg_failed=yes
21635 fi
21636  else
21637     pkg_failed=untried
21638 fi
21639 if test -n "$PIXMAN_LIBS"; then
21640     pkg_cv_PIXMAN_LIBS="$PIXMAN_LIBS"
21641  elif test -n "$PKG_CONFIG"; then
21642     if test -n "$PKG_CONFIG" && \
21643     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5
21644   ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5
21645   ac_status=$?
21646   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21647   test $ac_status = 0; }; then
21648   pkg_cv_PIXMAN_LIBS=`$PKG_CONFIG --libs "pixman-1" 2>/dev/null`
21649                       test "x$?" != "x0" && pkg_failed=yes
21650 else
21651   pkg_failed=yes
21652 fi
21653  else
21654     pkg_failed=untried
21655 fi
21656
21657
21658
21659 if test $pkg_failed = yes; then
21660         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21661 $as_echo "no" >&6; }
21662
21663 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21664         _pkg_short_errors_supported=yes
21665 else
21666         _pkg_short_errors_supported=no
21667 fi
21668         if test $_pkg_short_errors_supported = yes; then
21669                 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pixman-1" 2>&1`
21670         else
21671                 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pixman-1" 2>&1`
21672         fi
21673         # Put the nasty error message in config.log where it belongs
21674         echo "$PIXMAN_PKG_ERRORS" >&5
21675
21676
21677        if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21678           as_fn_error $? "Pixman not found (strict dependencies checking)" "$LINENO" 5
21679        fi
21680
21681 elif test $pkg_failed = untried; then
21682         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21683 $as_echo "no" >&6; }
21684
21685        if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21686           as_fn_error $? "Pixman not found (strict dependencies checking)" "$LINENO" 5
21687        fi
21688
21689 else
21690         PIXMAN_CFLAGS=$pkg_cv_PIXMAN_CFLAGS
21691         PIXMAN_LIBS=$pkg_cv_PIXMAN_LIBS
21692         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21693 $as_echo "yes" >&6; }
21694
21695        have_pixman="yes"
21696
21697 $as_echo "#define HAVE_PIXMAN 1" >>confdefs.h
21698
21699        requirements_ecore_x="pixman-1 ${requirements_ecore_x}"
21700
21701 fi
21702
21703     if test "x$want_ecore_x_composite" != "xno"; then
21704
21705 pkg_failed=no
21706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_COMPOSITE" >&5
21707 $as_echo_n "checking for XCB_COMPOSITE... " >&6; }
21708
21709 if test -n "$XCB_COMPOSITE_CFLAGS"; then
21710     pkg_cv_XCB_COMPOSITE_CFLAGS="$XCB_COMPOSITE_CFLAGS"
21711  elif test -n "$PKG_CONFIG"; then
21712     if test -n "$PKG_CONFIG" && \
21713     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-composite\""; } >&5
21714   ($PKG_CONFIG --exists --print-errors "xcb-composite") 2>&5
21715   ac_status=$?
21716   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21717   test $ac_status = 0; }; then
21718   pkg_cv_XCB_COMPOSITE_CFLAGS=`$PKG_CONFIG --cflags "xcb-composite" 2>/dev/null`
21719                       test "x$?" != "x0" && pkg_failed=yes
21720 else
21721   pkg_failed=yes
21722 fi
21723  else
21724     pkg_failed=untried
21725 fi
21726 if test -n "$XCB_COMPOSITE_LIBS"; then
21727     pkg_cv_XCB_COMPOSITE_LIBS="$XCB_COMPOSITE_LIBS"
21728  elif test -n "$PKG_CONFIG"; then
21729     if test -n "$PKG_CONFIG" && \
21730     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-composite\""; } >&5
21731   ($PKG_CONFIG --exists --print-errors "xcb-composite") 2>&5
21732   ac_status=$?
21733   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21734   test $ac_status = 0; }; then
21735   pkg_cv_XCB_COMPOSITE_LIBS=`$PKG_CONFIG --libs "xcb-composite" 2>/dev/null`
21736                       test "x$?" != "x0" && pkg_failed=yes
21737 else
21738   pkg_failed=yes
21739 fi
21740  else
21741     pkg_failed=untried
21742 fi
21743
21744
21745
21746 if test $pkg_failed = yes; then
21747         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21748 $as_echo "no" >&6; }
21749
21750 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21751         _pkg_short_errors_supported=yes
21752 else
21753         _pkg_short_errors_supported=no
21754 fi
21755         if test $_pkg_short_errors_supported = yes; then
21756                 XCB_COMPOSITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-composite" 2>&1`
21757         else
21758                 XCB_COMPOSITE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-composite" 2>&1`
21759         fi
21760         # Put the nasty error message in config.log where it belongs
21761         echo "$XCB_COMPOSITE_PKG_ERRORS" >&5
21762
21763          have_ecore_x_xcb_composite="no"
21764 elif test $pkg_failed = untried; then
21765         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21766 $as_echo "no" >&6; }
21767          have_ecore_x_xcb_composite="no"
21768 else
21769         XCB_COMPOSITE_CFLAGS=$pkg_cv_XCB_COMPOSITE_CFLAGS
21770         XCB_COMPOSITE_LIBS=$pkg_cv_XCB_COMPOSITE_LIBS
21771         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21772 $as_echo "yes" >&6; }
21773          have_ecore_x_xcb_composite="yes"
21774           requirements_ecore_x="xcb-composite ${requirements_ecore_x}"
21775
21776 $as_echo "#define ECORE_XCB_COMPOSITE 1" >>confdefs.h
21777
21778 fi
21779     else
21780       have_ecore_x_xcb_composite="no"
21781       { $as_echo "$as_me:${as_lineno-$LINENO}: \"composite extension explicitly disabled\"" >&5
21782 $as_echo "$as_me: \"composite extension explicitly disabled\"" >&6;}
21783     fi
21784
21785     if test "x$want_ecore_x_damage" != "xno"; then
21786
21787 pkg_failed=no
21788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_DAMAGE" >&5
21789 $as_echo_n "checking for XCB_DAMAGE... " >&6; }
21790
21791 if test -n "$XCB_DAMAGE_CFLAGS"; then
21792     pkg_cv_XCB_DAMAGE_CFLAGS="$XCB_DAMAGE_CFLAGS"
21793  elif test -n "$PKG_CONFIG"; then
21794     if test -n "$PKG_CONFIG" && \
21795     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-damage\""; } >&5
21796   ($PKG_CONFIG --exists --print-errors "xcb-damage") 2>&5
21797   ac_status=$?
21798   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21799   test $ac_status = 0; }; then
21800   pkg_cv_XCB_DAMAGE_CFLAGS=`$PKG_CONFIG --cflags "xcb-damage" 2>/dev/null`
21801                       test "x$?" != "x0" && pkg_failed=yes
21802 else
21803   pkg_failed=yes
21804 fi
21805  else
21806     pkg_failed=untried
21807 fi
21808 if test -n "$XCB_DAMAGE_LIBS"; then
21809     pkg_cv_XCB_DAMAGE_LIBS="$XCB_DAMAGE_LIBS"
21810  elif test -n "$PKG_CONFIG"; then
21811     if test -n "$PKG_CONFIG" && \
21812     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-damage\""; } >&5
21813   ($PKG_CONFIG --exists --print-errors "xcb-damage") 2>&5
21814   ac_status=$?
21815   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21816   test $ac_status = 0; }; then
21817   pkg_cv_XCB_DAMAGE_LIBS=`$PKG_CONFIG --libs "xcb-damage" 2>/dev/null`
21818                       test "x$?" != "x0" && pkg_failed=yes
21819 else
21820   pkg_failed=yes
21821 fi
21822  else
21823     pkg_failed=untried
21824 fi
21825
21826
21827
21828 if test $pkg_failed = yes; then
21829         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21830 $as_echo "no" >&6; }
21831
21832 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21833         _pkg_short_errors_supported=yes
21834 else
21835         _pkg_short_errors_supported=no
21836 fi
21837         if test $_pkg_short_errors_supported = yes; then
21838                 XCB_DAMAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-damage" 2>&1`
21839         else
21840                 XCB_DAMAGE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-damage" 2>&1`
21841         fi
21842         # Put the nasty error message in config.log where it belongs
21843         echo "$XCB_DAMAGE_PKG_ERRORS" >&5
21844
21845          have_ecore_x_xcb_damage="no"
21846 elif test $pkg_failed = untried; then
21847         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21848 $as_echo "no" >&6; }
21849          have_ecore_x_xcb_damage="no"
21850 else
21851         XCB_DAMAGE_CFLAGS=$pkg_cv_XCB_DAMAGE_CFLAGS
21852         XCB_DAMAGE_LIBS=$pkg_cv_XCB_DAMAGE_LIBS
21853         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21854 $as_echo "yes" >&6; }
21855          have_ecore_x_xcb_damage="yes"
21856           requirements_ecore_x="xcb-damage ${requirements_ecore_x}"
21857
21858 $as_echo "#define ECORE_XCB_DAMAGE 1" >>confdefs.h
21859
21860 fi
21861     else
21862       have_ecore_x_xcb_damage="no"
21863       { $as_echo "$as_me:${as_lineno-$LINENO}: \"damage extension explicitly disabled\"" >&5
21864 $as_echo "$as_me: \"damage extension explicitly disabled\"" >&6;}
21865     fi
21866
21867     if test "x$want_ecore_x_dpms" != "xno"; then
21868
21869 pkg_failed=no
21870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_DPMS" >&5
21871 $as_echo_n "checking for XCB_DPMS... " >&6; }
21872
21873 if test -n "$XCB_DPMS_CFLAGS"; then
21874     pkg_cv_XCB_DPMS_CFLAGS="$XCB_DPMS_CFLAGS"
21875  elif test -n "$PKG_CONFIG"; then
21876     if test -n "$PKG_CONFIG" && \
21877     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-dpms\""; } >&5
21878   ($PKG_CONFIG --exists --print-errors "xcb-dpms") 2>&5
21879   ac_status=$?
21880   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21881   test $ac_status = 0; }; then
21882   pkg_cv_XCB_DPMS_CFLAGS=`$PKG_CONFIG --cflags "xcb-dpms" 2>/dev/null`
21883                       test "x$?" != "x0" && pkg_failed=yes
21884 else
21885   pkg_failed=yes
21886 fi
21887  else
21888     pkg_failed=untried
21889 fi
21890 if test -n "$XCB_DPMS_LIBS"; then
21891     pkg_cv_XCB_DPMS_LIBS="$XCB_DPMS_LIBS"
21892  elif test -n "$PKG_CONFIG"; then
21893     if test -n "$PKG_CONFIG" && \
21894     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-dpms\""; } >&5
21895   ($PKG_CONFIG --exists --print-errors "xcb-dpms") 2>&5
21896   ac_status=$?
21897   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21898   test $ac_status = 0; }; then
21899   pkg_cv_XCB_DPMS_LIBS=`$PKG_CONFIG --libs "xcb-dpms" 2>/dev/null`
21900                       test "x$?" != "x0" && pkg_failed=yes
21901 else
21902   pkg_failed=yes
21903 fi
21904  else
21905     pkg_failed=untried
21906 fi
21907
21908
21909
21910 if test $pkg_failed = yes; then
21911         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21912 $as_echo "no" >&6; }
21913
21914 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21915         _pkg_short_errors_supported=yes
21916 else
21917         _pkg_short_errors_supported=no
21918 fi
21919         if test $_pkg_short_errors_supported = yes; then
21920                 XCB_DPMS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-dpms" 2>&1`
21921         else
21922                 XCB_DPMS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-dpms" 2>&1`
21923         fi
21924         # Put the nasty error message in config.log where it belongs
21925         echo "$XCB_DPMS_PKG_ERRORS" >&5
21926
21927          have_ecore_x_xcb_dpms="no"
21928 elif test $pkg_failed = untried; then
21929         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21930 $as_echo "no" >&6; }
21931          have_ecore_x_xcb_dpms="no"
21932 else
21933         XCB_DPMS_CFLAGS=$pkg_cv_XCB_DPMS_CFLAGS
21934         XCB_DPMS_LIBS=$pkg_cv_XCB_DPMS_LIBS
21935         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21936 $as_echo "yes" >&6; }
21937          have_ecore_x_xcb_dpms="yes"
21938           requirements_ecore_x="xcb-dpms ${requirements_ecore_x}"
21939
21940 $as_echo "#define ECORE_XCB_DPMS 1" >>confdefs.h
21941
21942 fi
21943     else
21944       have_ecore_x_xcb_dpms="no"
21945       { $as_echo "$as_me:${as_lineno-$LINENO}: \"dpms extension explicitly disabled\"" >&5
21946 $as_echo "$as_me: \"dpms extension explicitly disabled\"" >&6;}
21947     fi
21948
21949     if test "x$want_ecore_x_randr" != "xno"; then
21950
21951 pkg_failed=no
21952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_RANDR" >&5
21953 $as_echo_n "checking for XCB_RANDR... " >&6; }
21954
21955 if test -n "$XCB_RANDR_CFLAGS"; then
21956     pkg_cv_XCB_RANDR_CFLAGS="$XCB_RANDR_CFLAGS"
21957  elif test -n "$PKG_CONFIG"; then
21958     if test -n "$PKG_CONFIG" && \
21959     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-randr\""; } >&5
21960   ($PKG_CONFIG --exists --print-errors "xcb-randr") 2>&5
21961   ac_status=$?
21962   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21963   test $ac_status = 0; }; then
21964   pkg_cv_XCB_RANDR_CFLAGS=`$PKG_CONFIG --cflags "xcb-randr" 2>/dev/null`
21965                       test "x$?" != "x0" && pkg_failed=yes
21966 else
21967   pkg_failed=yes
21968 fi
21969  else
21970     pkg_failed=untried
21971 fi
21972 if test -n "$XCB_RANDR_LIBS"; then
21973     pkg_cv_XCB_RANDR_LIBS="$XCB_RANDR_LIBS"
21974  elif test -n "$PKG_CONFIG"; then
21975     if test -n "$PKG_CONFIG" && \
21976     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-randr\""; } >&5
21977   ($PKG_CONFIG --exists --print-errors "xcb-randr") 2>&5
21978   ac_status=$?
21979   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21980   test $ac_status = 0; }; then
21981   pkg_cv_XCB_RANDR_LIBS=`$PKG_CONFIG --libs "xcb-randr" 2>/dev/null`
21982                       test "x$?" != "x0" && pkg_failed=yes
21983 else
21984   pkg_failed=yes
21985 fi
21986  else
21987     pkg_failed=untried
21988 fi
21989
21990
21991
21992 if test $pkg_failed = yes; then
21993         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21994 $as_echo "no" >&6; }
21995
21996 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21997         _pkg_short_errors_supported=yes
21998 else
21999         _pkg_short_errors_supported=no
22000 fi
22001         if test $_pkg_short_errors_supported = yes; then
22002                 XCB_RANDR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-randr" 2>&1`
22003         else
22004                 XCB_RANDR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-randr" 2>&1`
22005         fi
22006         # Put the nasty error message in config.log where it belongs
22007         echo "$XCB_RANDR_PKG_ERRORS" >&5
22008
22009          have_ecore_x_xcb_randr="no"
22010 elif test $pkg_failed = untried; then
22011         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22012 $as_echo "no" >&6; }
22013          have_ecore_x_xcb_randr="no"
22014 else
22015         XCB_RANDR_CFLAGS=$pkg_cv_XCB_RANDR_CFLAGS
22016         XCB_RANDR_LIBS=$pkg_cv_XCB_RANDR_LIBS
22017         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22018 $as_echo "yes" >&6; }
22019          have_ecore_x_xcb_randr="yes"
22020           requirements_ecore_x="xcb-randr ${requirements_ecore_x}"
22021
22022 $as_echo "#define ECORE_XCB_RANDR 1" >>confdefs.h
22023
22024 fi
22025     else
22026       have_ecore_x_xcb_randr="no"
22027       { $as_echo "$as_me:${as_lineno-$LINENO}: \"randr extension explicitly disabled\"" >&5
22028 $as_echo "$as_me: \"randr extension explicitly disabled\"" >&6;}
22029     fi
22030
22031     if test "x$want_ecore_x_render" != "xno"; then
22032
22033 pkg_failed=no
22034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_RENDER" >&5
22035 $as_echo_n "checking for XCB_RENDER... " >&6; }
22036
22037 if test -n "$XCB_RENDER_CFLAGS"; then
22038     pkg_cv_XCB_RENDER_CFLAGS="$XCB_RENDER_CFLAGS"
22039  elif test -n "$PKG_CONFIG"; then
22040     if test -n "$PKG_CONFIG" && \
22041     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-render xcb-renderutil\""; } >&5
22042   ($PKG_CONFIG --exists --print-errors "xcb-render xcb-renderutil") 2>&5
22043   ac_status=$?
22044   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22045   test $ac_status = 0; }; then
22046   pkg_cv_XCB_RENDER_CFLAGS=`$PKG_CONFIG --cflags "xcb-render xcb-renderutil" 2>/dev/null`
22047                       test "x$?" != "x0" && pkg_failed=yes
22048 else
22049   pkg_failed=yes
22050 fi
22051  else
22052     pkg_failed=untried
22053 fi
22054 if test -n "$XCB_RENDER_LIBS"; then
22055     pkg_cv_XCB_RENDER_LIBS="$XCB_RENDER_LIBS"
22056  elif test -n "$PKG_CONFIG"; then
22057     if test -n "$PKG_CONFIG" && \
22058     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-render xcb-renderutil\""; } >&5
22059   ($PKG_CONFIG --exists --print-errors "xcb-render xcb-renderutil") 2>&5
22060   ac_status=$?
22061   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22062   test $ac_status = 0; }; then
22063   pkg_cv_XCB_RENDER_LIBS=`$PKG_CONFIG --libs "xcb-render xcb-renderutil" 2>/dev/null`
22064                       test "x$?" != "x0" && pkg_failed=yes
22065 else
22066   pkg_failed=yes
22067 fi
22068  else
22069     pkg_failed=untried
22070 fi
22071
22072
22073
22074 if test $pkg_failed = yes; then
22075         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22076 $as_echo "no" >&6; }
22077
22078 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22079         _pkg_short_errors_supported=yes
22080 else
22081         _pkg_short_errors_supported=no
22082 fi
22083         if test $_pkg_short_errors_supported = yes; then
22084                 XCB_RENDER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-render xcb-renderutil" 2>&1`
22085         else
22086                 XCB_RENDER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-render xcb-renderutil" 2>&1`
22087         fi
22088         # Put the nasty error message in config.log where it belongs
22089         echo "$XCB_RENDER_PKG_ERRORS" >&5
22090
22091          have_ecore_x_xcb_render="no"
22092 elif test $pkg_failed = untried; then
22093         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22094 $as_echo "no" >&6; }
22095          have_ecore_x_xcb_render="no"
22096 else
22097         XCB_RENDER_CFLAGS=$pkg_cv_XCB_RENDER_CFLAGS
22098         XCB_RENDER_LIBS=$pkg_cv_XCB_RENDER_LIBS
22099         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22100 $as_echo "yes" >&6; }
22101          have_ecore_x_xcb_render="yes"
22102           requirements_ecore_x="xcb-render xcb-renderutil ${requirements_ecore_x}"
22103
22104 $as_echo "#define ECORE_XCB_RENDER 1" >>confdefs.h
22105
22106 fi
22107     else
22108       have_ecore_x_xcb_render="no"
22109       { $as_echo "$as_me:${as_lineno-$LINENO}: \"render extension explicitly disabled\"" >&5
22110 $as_echo "$as_me: \"render extension explicitly disabled\"" >&6;}
22111     fi
22112
22113     if test "x$want_ecore_x_screensaver" != "xno"; then
22114
22115 pkg_failed=no
22116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_SCREENSAVER" >&5
22117 $as_echo_n "checking for XCB_SCREENSAVER... " >&6; }
22118
22119 if test -n "$XCB_SCREENSAVER_CFLAGS"; then
22120     pkg_cv_XCB_SCREENSAVER_CFLAGS="$XCB_SCREENSAVER_CFLAGS"
22121  elif test -n "$PKG_CONFIG"; then
22122     if test -n "$PKG_CONFIG" && \
22123     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-screensaver\""; } >&5
22124   ($PKG_CONFIG --exists --print-errors "xcb-screensaver") 2>&5
22125   ac_status=$?
22126   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22127   test $ac_status = 0; }; then
22128   pkg_cv_XCB_SCREENSAVER_CFLAGS=`$PKG_CONFIG --cflags "xcb-screensaver" 2>/dev/null`
22129                       test "x$?" != "x0" && pkg_failed=yes
22130 else
22131   pkg_failed=yes
22132 fi
22133  else
22134     pkg_failed=untried
22135 fi
22136 if test -n "$XCB_SCREENSAVER_LIBS"; then
22137     pkg_cv_XCB_SCREENSAVER_LIBS="$XCB_SCREENSAVER_LIBS"
22138  elif test -n "$PKG_CONFIG"; then
22139     if test -n "$PKG_CONFIG" && \
22140     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-screensaver\""; } >&5
22141   ($PKG_CONFIG --exists --print-errors "xcb-screensaver") 2>&5
22142   ac_status=$?
22143   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22144   test $ac_status = 0; }; then
22145   pkg_cv_XCB_SCREENSAVER_LIBS=`$PKG_CONFIG --libs "xcb-screensaver" 2>/dev/null`
22146                       test "x$?" != "x0" && pkg_failed=yes
22147 else
22148   pkg_failed=yes
22149 fi
22150  else
22151     pkg_failed=untried
22152 fi
22153
22154
22155
22156 if test $pkg_failed = yes; then
22157         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22158 $as_echo "no" >&6; }
22159
22160 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22161         _pkg_short_errors_supported=yes
22162 else
22163         _pkg_short_errors_supported=no
22164 fi
22165         if test $_pkg_short_errors_supported = yes; then
22166                 XCB_SCREENSAVER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-screensaver" 2>&1`
22167         else
22168                 XCB_SCREENSAVER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-screensaver" 2>&1`
22169         fi
22170         # Put the nasty error message in config.log where it belongs
22171         echo "$XCB_SCREENSAVER_PKG_ERRORS" >&5
22172
22173          have_ecore_x_xcb_screensaver="no"
22174 elif test $pkg_failed = untried; then
22175         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22176 $as_echo "no" >&6; }
22177          have_ecore_x_xcb_screensaver="no"
22178 else
22179         XCB_SCREENSAVER_CFLAGS=$pkg_cv_XCB_SCREENSAVER_CFLAGS
22180         XCB_SCREENSAVER_LIBS=$pkg_cv_XCB_SCREENSAVER_LIBS
22181         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22182 $as_echo "yes" >&6; }
22183          have_ecore_x_xcb_screensaver="yes"
22184           requirements_ecore_x="xcb-screensaver ${requirements_ecore_x}"
22185
22186 $as_echo "#define ECORE_XCB_SCREENSAVER 1" >>confdefs.h
22187
22188 fi
22189     else
22190       have_ecore_x_xcb_screensaver="no"
22191       { $as_echo "$as_me:${as_lineno-$LINENO}: \"screensaver extension explicitly disabled\"" >&5
22192 $as_echo "$as_me: \"screensaver extension explicitly disabled\"" >&6;}
22193     fi
22194
22195     if test "x$want_ecore_x_shape" != "xno"; then
22196
22197 pkg_failed=no
22198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_SHAPE" >&5
22199 $as_echo_n "checking for XCB_SHAPE... " >&6; }
22200
22201 if test -n "$XCB_SHAPE_CFLAGS"; then
22202     pkg_cv_XCB_SHAPE_CFLAGS="$XCB_SHAPE_CFLAGS"
22203  elif test -n "$PKG_CONFIG"; then
22204     if test -n "$PKG_CONFIG" && \
22205     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-shape\""; } >&5
22206   ($PKG_CONFIG --exists --print-errors "xcb-shape") 2>&5
22207   ac_status=$?
22208   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22209   test $ac_status = 0; }; then
22210   pkg_cv_XCB_SHAPE_CFLAGS=`$PKG_CONFIG --cflags "xcb-shape" 2>/dev/null`
22211                       test "x$?" != "x0" && pkg_failed=yes
22212 else
22213   pkg_failed=yes
22214 fi
22215  else
22216     pkg_failed=untried
22217 fi
22218 if test -n "$XCB_SHAPE_LIBS"; then
22219     pkg_cv_XCB_SHAPE_LIBS="$XCB_SHAPE_LIBS"
22220  elif test -n "$PKG_CONFIG"; then
22221     if test -n "$PKG_CONFIG" && \
22222     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-shape\""; } >&5
22223   ($PKG_CONFIG --exists --print-errors "xcb-shape") 2>&5
22224   ac_status=$?
22225   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22226   test $ac_status = 0; }; then
22227   pkg_cv_XCB_SHAPE_LIBS=`$PKG_CONFIG --libs "xcb-shape" 2>/dev/null`
22228                       test "x$?" != "x0" && pkg_failed=yes
22229 else
22230   pkg_failed=yes
22231 fi
22232  else
22233     pkg_failed=untried
22234 fi
22235
22236
22237
22238 if test $pkg_failed = yes; then
22239         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22240 $as_echo "no" >&6; }
22241
22242 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22243         _pkg_short_errors_supported=yes
22244 else
22245         _pkg_short_errors_supported=no
22246 fi
22247         if test $_pkg_short_errors_supported = yes; then
22248                 XCB_SHAPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-shape" 2>&1`
22249         else
22250                 XCB_SHAPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-shape" 2>&1`
22251         fi
22252         # Put the nasty error message in config.log where it belongs
22253         echo "$XCB_SHAPE_PKG_ERRORS" >&5
22254
22255          have_ecore_x_xcb_shape="no"
22256 elif test $pkg_failed = untried; then
22257         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22258 $as_echo "no" >&6; }
22259          have_ecore_x_xcb_shape="no"
22260 else
22261         XCB_SHAPE_CFLAGS=$pkg_cv_XCB_SHAPE_CFLAGS
22262         XCB_SHAPE_LIBS=$pkg_cv_XCB_SHAPE_LIBS
22263         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22264 $as_echo "yes" >&6; }
22265          have_ecore_x_xcb_shape="yes"
22266           requirements_ecore_x="xcb-shape ${requirements_ecore_x}"
22267
22268 $as_echo "#define ECORE_XCB_SHAPE 1" >>confdefs.h
22269
22270 fi
22271     else
22272       have_ecore_x_xcb_shape="no"
22273       { $as_echo "$as_me:${as_lineno-$LINENO}: \"shape extension explicitly disabled\"" >&5
22274 $as_echo "$as_me: \"shape extension explicitly disabled\"" >&6;}
22275     fi
22276
22277     if test "x$want_ecore_x_gesture" != "xno"; then
22278
22279 pkg_failed=no
22280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XGESTURE" >&5
22281 $as_echo_n "checking for XCB_XGESTURE... " >&6; }
22282
22283 if test -n "$XCB_XGESTURE_CFLAGS"; then
22284     pkg_cv_XCB_XGESTURE_CFLAGS="$XCB_XGESTURE_CFLAGS"
22285  elif test -n "$PKG_CONFIG"; then
22286     if test -n "$PKG_CONFIG" && \
22287     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-gesture\""; } >&5
22288   ($PKG_CONFIG --exists --print-errors "xcb-gesture") 2>&5
22289   ac_status=$?
22290   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22291   test $ac_status = 0; }; then
22292   pkg_cv_XCB_XGESTURE_CFLAGS=`$PKG_CONFIG --cflags "xcb-gesture" 2>/dev/null`
22293                       test "x$?" != "x0" && pkg_failed=yes
22294 else
22295   pkg_failed=yes
22296 fi
22297  else
22298     pkg_failed=untried
22299 fi
22300 if test -n "$XCB_XGESTURE_LIBS"; then
22301     pkg_cv_XCB_XGESTURE_LIBS="$XCB_XGESTURE_LIBS"
22302  elif test -n "$PKG_CONFIG"; then
22303     if test -n "$PKG_CONFIG" && \
22304     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-gesture\""; } >&5
22305   ($PKG_CONFIG --exists --print-errors "xcb-gesture") 2>&5
22306   ac_status=$?
22307   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22308   test $ac_status = 0; }; then
22309   pkg_cv_XCB_XGESTURE_LIBS=`$PKG_CONFIG --libs "xcb-gesture" 2>/dev/null`
22310                       test "x$?" != "x0" && pkg_failed=yes
22311 else
22312   pkg_failed=yes
22313 fi
22314  else
22315     pkg_failed=untried
22316 fi
22317
22318
22319
22320 if test $pkg_failed = yes; then
22321         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22322 $as_echo "no" >&6; }
22323
22324 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22325         _pkg_short_errors_supported=yes
22326 else
22327         _pkg_short_errors_supported=no
22328 fi
22329         if test $_pkg_short_errors_supported = yes; then
22330                 XCB_XGESTURE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-gesture" 2>&1`
22331         else
22332                 XCB_XGESTURE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-gesture" 2>&1`
22333         fi
22334         # Put the nasty error message in config.log where it belongs
22335         echo "$XCB_XGESTURE_PKG_ERRORS" >&5
22336
22337          have_ecore_x_xcb_gesture="no"
22338 elif test $pkg_failed = untried; then
22339         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22340 $as_echo "no" >&6; }
22341          have_ecore_x_xcb_gesture="no"
22342 else
22343         XCB_XGESTURE_CFLAGS=$pkg_cv_XCB_XGESTURE_CFLAGS
22344         XCB_XGESTURE_LIBS=$pkg_cv_XCB_XGESTURE_LIBS
22345         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22346 $as_echo "yes" >&6; }
22347          have_ecore_x_xcb_gesture="yes"
22348           requirements_ecore_x="xcb-gesture ${requirements_ecore_x}"
22349
22350 $as_echo "#define ECORE_XCB_XGESTURE 1" >>confdefs.h
22351
22352 fi
22353     else
22354       have_ecore_x_xcb_gesture="no"
22355       { $as_echo "$as_me:${as_lineno-$LINENO}: \"gesture extension explicitly disabled\"" >&5
22356 $as_echo "$as_me: \"gesture extension explicitly disabled\"" >&6;}
22357     fi
22358
22359     if test "x$want_ecore_x_sync" != "xno"; then
22360
22361 pkg_failed=no
22362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_SYNC" >&5
22363 $as_echo_n "checking for XCB_SYNC... " >&6; }
22364
22365 if test -n "$XCB_SYNC_CFLAGS"; then
22366     pkg_cv_XCB_SYNC_CFLAGS="$XCB_SYNC_CFLAGS"
22367  elif test -n "$PKG_CONFIG"; then
22368     if test -n "$PKG_CONFIG" && \
22369     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-sync\""; } >&5
22370   ($PKG_CONFIG --exists --print-errors "xcb-sync") 2>&5
22371   ac_status=$?
22372   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22373   test $ac_status = 0; }; then
22374   pkg_cv_XCB_SYNC_CFLAGS=`$PKG_CONFIG --cflags "xcb-sync" 2>/dev/null`
22375                       test "x$?" != "x0" && pkg_failed=yes
22376 else
22377   pkg_failed=yes
22378 fi
22379  else
22380     pkg_failed=untried
22381 fi
22382 if test -n "$XCB_SYNC_LIBS"; then
22383     pkg_cv_XCB_SYNC_LIBS="$XCB_SYNC_LIBS"
22384  elif test -n "$PKG_CONFIG"; then
22385     if test -n "$PKG_CONFIG" && \
22386     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-sync\""; } >&5
22387   ($PKG_CONFIG --exists --print-errors "xcb-sync") 2>&5
22388   ac_status=$?
22389   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22390   test $ac_status = 0; }; then
22391   pkg_cv_XCB_SYNC_LIBS=`$PKG_CONFIG --libs "xcb-sync" 2>/dev/null`
22392                       test "x$?" != "x0" && pkg_failed=yes
22393 else
22394   pkg_failed=yes
22395 fi
22396  else
22397     pkg_failed=untried
22398 fi
22399
22400
22401
22402 if test $pkg_failed = yes; then
22403         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22404 $as_echo "no" >&6; }
22405
22406 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22407         _pkg_short_errors_supported=yes
22408 else
22409         _pkg_short_errors_supported=no
22410 fi
22411         if test $_pkg_short_errors_supported = yes; then
22412                 XCB_SYNC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-sync" 2>&1`
22413         else
22414                 XCB_SYNC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-sync" 2>&1`
22415         fi
22416         # Put the nasty error message in config.log where it belongs
22417         echo "$XCB_SYNC_PKG_ERRORS" >&5
22418
22419          have_ecore_x_xcb_sync="no"
22420 elif test $pkg_failed = untried; then
22421         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22422 $as_echo "no" >&6; }
22423          have_ecore_x_xcb_sync="no"
22424 else
22425         XCB_SYNC_CFLAGS=$pkg_cv_XCB_SYNC_CFLAGS
22426         XCB_SYNC_LIBS=$pkg_cv_XCB_SYNC_LIBS
22427         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22428 $as_echo "yes" >&6; }
22429          have_ecore_x_xcb_sync="yes"
22430           requirements_ecore_x="xcb-sync ${requirements_ecore_x}"
22431
22432 $as_echo "#define ECORE_XCB_SYNC 1" >>confdefs.h
22433
22434 fi
22435     else
22436       have_ecore_x_xcb_sync="no"
22437       { $as_echo "$as_me:${as_lineno-$LINENO}: \"sync extension explicitly disabled\"" >&5
22438 $as_echo "$as_me: \"sync extension explicitly disabled\"" >&6;}
22439     fi
22440
22441     if test "x$want_ecore_x_xfixes" != "xno"; then
22442
22443 pkg_failed=no
22444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XFIXES" >&5
22445 $as_echo_n "checking for XCB_XFIXES... " >&6; }
22446
22447 if test -n "$XCB_XFIXES_CFLAGS"; then
22448     pkg_cv_XCB_XFIXES_CFLAGS="$XCB_XFIXES_CFLAGS"
22449  elif test -n "$PKG_CONFIG"; then
22450     if test -n "$PKG_CONFIG" && \
22451     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xfixes\""; } >&5
22452   ($PKG_CONFIG --exists --print-errors "xcb-xfixes") 2>&5
22453   ac_status=$?
22454   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22455   test $ac_status = 0; }; then
22456   pkg_cv_XCB_XFIXES_CFLAGS=`$PKG_CONFIG --cflags "xcb-xfixes" 2>/dev/null`
22457                       test "x$?" != "x0" && pkg_failed=yes
22458 else
22459   pkg_failed=yes
22460 fi
22461  else
22462     pkg_failed=untried
22463 fi
22464 if test -n "$XCB_XFIXES_LIBS"; then
22465     pkg_cv_XCB_XFIXES_LIBS="$XCB_XFIXES_LIBS"
22466  elif test -n "$PKG_CONFIG"; then
22467     if test -n "$PKG_CONFIG" && \
22468     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xfixes\""; } >&5
22469   ($PKG_CONFIG --exists --print-errors "xcb-xfixes") 2>&5
22470   ac_status=$?
22471   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22472   test $ac_status = 0; }; then
22473   pkg_cv_XCB_XFIXES_LIBS=`$PKG_CONFIG --libs "xcb-xfixes" 2>/dev/null`
22474                       test "x$?" != "x0" && pkg_failed=yes
22475 else
22476   pkg_failed=yes
22477 fi
22478  else
22479     pkg_failed=untried
22480 fi
22481
22482
22483
22484 if test $pkg_failed = yes; then
22485         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22486 $as_echo "no" >&6; }
22487
22488 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22489         _pkg_short_errors_supported=yes
22490 else
22491         _pkg_short_errors_supported=no
22492 fi
22493         if test $_pkg_short_errors_supported = yes; then
22494                 XCB_XFIXES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-xfixes" 2>&1`
22495         else
22496                 XCB_XFIXES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-xfixes" 2>&1`
22497         fi
22498         # Put the nasty error message in config.log where it belongs
22499         echo "$XCB_XFIXES_PKG_ERRORS" >&5
22500
22501          have_ecore_x_xcb_xfixes="no"
22502 elif test $pkg_failed = untried; then
22503         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22504 $as_echo "no" >&6; }
22505          have_ecore_x_xcb_xfixes="no"
22506 else
22507         XCB_XFIXES_CFLAGS=$pkg_cv_XCB_XFIXES_CFLAGS
22508         XCB_XFIXES_LIBS=$pkg_cv_XCB_XFIXES_LIBS
22509         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22510 $as_echo "yes" >&6; }
22511          have_ecore_x_xcb_xfixes="yes"
22512           requirements_ecore_x="xcb-xfixes ${requirements_ecore_x}"
22513
22514 $as_echo "#define ECORE_XCB_XFIXES 1" >>confdefs.h
22515
22516 fi
22517     else
22518       have_ecore_x_xcb_xfixes="no"
22519       { $as_echo "$as_me:${as_lineno-$LINENO}: \"xfixes extension explicitly disabled\"" >&5
22520 $as_echo "$as_me: \"xfixes extension explicitly disabled\"" >&6;}
22521     fi
22522
22523     if test "x$want_ecore_x_xinerama" != "xno"; then
22524
22525 pkg_failed=no
22526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XINERAMA" >&5
22527 $as_echo_n "checking for XCB_XINERAMA... " >&6; }
22528
22529 if test -n "$XCB_XINERAMA_CFLAGS"; then
22530     pkg_cv_XCB_XINERAMA_CFLAGS="$XCB_XINERAMA_CFLAGS"
22531  elif test -n "$PKG_CONFIG"; then
22532     if test -n "$PKG_CONFIG" && \
22533     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xinerama\""; } >&5
22534   ($PKG_CONFIG --exists --print-errors "xcb-xinerama") 2>&5
22535   ac_status=$?
22536   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22537   test $ac_status = 0; }; then
22538   pkg_cv_XCB_XINERAMA_CFLAGS=`$PKG_CONFIG --cflags "xcb-xinerama" 2>/dev/null`
22539                       test "x$?" != "x0" && pkg_failed=yes
22540 else
22541   pkg_failed=yes
22542 fi
22543  else
22544     pkg_failed=untried
22545 fi
22546 if test -n "$XCB_XINERAMA_LIBS"; then
22547     pkg_cv_XCB_XINERAMA_LIBS="$XCB_XINERAMA_LIBS"
22548  elif test -n "$PKG_CONFIG"; then
22549     if test -n "$PKG_CONFIG" && \
22550     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xinerama\""; } >&5
22551   ($PKG_CONFIG --exists --print-errors "xcb-xinerama") 2>&5
22552   ac_status=$?
22553   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22554   test $ac_status = 0; }; then
22555   pkg_cv_XCB_XINERAMA_LIBS=`$PKG_CONFIG --libs "xcb-xinerama" 2>/dev/null`
22556                       test "x$?" != "x0" && pkg_failed=yes
22557 else
22558   pkg_failed=yes
22559 fi
22560  else
22561     pkg_failed=untried
22562 fi
22563
22564
22565
22566 if test $pkg_failed = yes; then
22567         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22568 $as_echo "no" >&6; }
22569
22570 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22571         _pkg_short_errors_supported=yes
22572 else
22573         _pkg_short_errors_supported=no
22574 fi
22575         if test $_pkg_short_errors_supported = yes; then
22576                 XCB_XINERAMA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-xinerama" 2>&1`
22577         else
22578                 XCB_XINERAMA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-xinerama" 2>&1`
22579         fi
22580         # Put the nasty error message in config.log where it belongs
22581         echo "$XCB_XINERAMA_PKG_ERRORS" >&5
22582
22583          have_ecore_x_xcb_xinerama="no"
22584 elif test $pkg_failed = untried; then
22585         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22586 $as_echo "no" >&6; }
22587          have_ecore_x_xcb_xinerama="no"
22588 else
22589         XCB_XINERAMA_CFLAGS=$pkg_cv_XCB_XINERAMA_CFLAGS
22590         XCB_XINERAMA_LIBS=$pkg_cv_XCB_XINERAMA_LIBS
22591         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22592 $as_echo "yes" >&6; }
22593          have_ecore_x_xcb_xinerama="yes"
22594           requirements_ecore_x="xcb-xinerama ${requirements_ecore_x}"
22595
22596 $as_echo "#define ECORE_XCB_XINERAMA 1" >>confdefs.h
22597
22598 fi
22599     else
22600       have_ecore_x_xcb_xinerama="no"
22601       { $as_echo "$as_me:${as_lineno-$LINENO}: \"xinerama extension explicitly disabled\"" >&5
22602 $as_echo "$as_me: \"xinerama extension explicitly disabled\"" >&6;}
22603     fi
22604
22605     if test "x$want_ecore_x_xprint" != "xno"; then
22606
22607 pkg_failed=no
22608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XPRINT" >&5
22609 $as_echo_n "checking for XCB_XPRINT... " >&6; }
22610
22611 if test -n "$XCB_XPRINT_CFLAGS"; then
22612     pkg_cv_XCB_XPRINT_CFLAGS="$XCB_XPRINT_CFLAGS"
22613  elif test -n "$PKG_CONFIG"; then
22614     if test -n "$PKG_CONFIG" && \
22615     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xprint\""; } >&5
22616   ($PKG_CONFIG --exists --print-errors "xcb-xprint") 2>&5
22617   ac_status=$?
22618   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22619   test $ac_status = 0; }; then
22620   pkg_cv_XCB_XPRINT_CFLAGS=`$PKG_CONFIG --cflags "xcb-xprint" 2>/dev/null`
22621                       test "x$?" != "x0" && pkg_failed=yes
22622 else
22623   pkg_failed=yes
22624 fi
22625  else
22626     pkg_failed=untried
22627 fi
22628 if test -n "$XCB_XPRINT_LIBS"; then
22629     pkg_cv_XCB_XPRINT_LIBS="$XCB_XPRINT_LIBS"
22630  elif test -n "$PKG_CONFIG"; then
22631     if test -n "$PKG_CONFIG" && \
22632     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xprint\""; } >&5
22633   ($PKG_CONFIG --exists --print-errors "xcb-xprint") 2>&5
22634   ac_status=$?
22635   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22636   test $ac_status = 0; }; then
22637   pkg_cv_XCB_XPRINT_LIBS=`$PKG_CONFIG --libs "xcb-xprint" 2>/dev/null`
22638                       test "x$?" != "x0" && pkg_failed=yes
22639 else
22640   pkg_failed=yes
22641 fi
22642  else
22643     pkg_failed=untried
22644 fi
22645
22646
22647
22648 if test $pkg_failed = yes; then
22649         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22650 $as_echo "no" >&6; }
22651
22652 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22653         _pkg_short_errors_supported=yes
22654 else
22655         _pkg_short_errors_supported=no
22656 fi
22657         if test $_pkg_short_errors_supported = yes; then
22658                 XCB_XPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-xprint" 2>&1`
22659         else
22660                 XCB_XPRINT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-xprint" 2>&1`
22661         fi
22662         # Put the nasty error message in config.log where it belongs
22663         echo "$XCB_XPRINT_PKG_ERRORS" >&5
22664
22665          have_ecore_x_xcb_xprint="no"
22666 elif test $pkg_failed = untried; then
22667         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22668 $as_echo "no" >&6; }
22669          have_ecore_x_xcb_xprint="no"
22670 else
22671         XCB_XPRINT_CFLAGS=$pkg_cv_XCB_XPRINT_CFLAGS
22672         XCB_XPRINT_LIBS=$pkg_cv_XCB_XPRINT_LIBS
22673         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22674 $as_echo "yes" >&6; }
22675          have_ecore_x_xcb_xprint="yes"
22676           requirements_ecore_x="xcb-xprint ${requirements_ecore_x}"
22677
22678 $as_echo "#define ECORE_XCB_XPRINT 1" >>confdefs.h
22679
22680 fi
22681     else
22682       have_ecore_x_xcb_xprint="no"
22683       { $as_echo "$as_me:${as_lineno-$LINENO}: \"xprint extension explicitly disabled\"" >&5
22684 $as_echo "$as_me: \"xprint extension explicitly disabled\"" >&6;}
22685     fi
22686
22687     if test "x$want_ecore_x_xtest" != "xno"; then
22688
22689 pkg_failed=no
22690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XTEST" >&5
22691 $as_echo_n "checking for XCB_XTEST... " >&6; }
22692
22693 if test -n "$XCB_XTEST_CFLAGS"; then
22694     pkg_cv_XCB_XTEST_CFLAGS="$XCB_XTEST_CFLAGS"
22695  elif test -n "$PKG_CONFIG"; then
22696     if test -n "$PKG_CONFIG" && \
22697     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xtest\""; } >&5
22698   ($PKG_CONFIG --exists --print-errors "xcb-xtest") 2>&5
22699   ac_status=$?
22700   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22701   test $ac_status = 0; }; then
22702   pkg_cv_XCB_XTEST_CFLAGS=`$PKG_CONFIG --cflags "xcb-xtest" 2>/dev/null`
22703                       test "x$?" != "x0" && pkg_failed=yes
22704 else
22705   pkg_failed=yes
22706 fi
22707  else
22708     pkg_failed=untried
22709 fi
22710 if test -n "$XCB_XTEST_LIBS"; then
22711     pkg_cv_XCB_XTEST_LIBS="$XCB_XTEST_LIBS"
22712  elif test -n "$PKG_CONFIG"; then
22713     if test -n "$PKG_CONFIG" && \
22714     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xtest\""; } >&5
22715   ($PKG_CONFIG --exists --print-errors "xcb-xtest") 2>&5
22716   ac_status=$?
22717   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22718   test $ac_status = 0; }; then
22719   pkg_cv_XCB_XTEST_LIBS=`$PKG_CONFIG --libs "xcb-xtest" 2>/dev/null`
22720                       test "x$?" != "x0" && pkg_failed=yes
22721 else
22722   pkg_failed=yes
22723 fi
22724  else
22725     pkg_failed=untried
22726 fi
22727
22728
22729
22730 if test $pkg_failed = yes; then
22731         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22732 $as_echo "no" >&6; }
22733
22734 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22735         _pkg_short_errors_supported=yes
22736 else
22737         _pkg_short_errors_supported=no
22738 fi
22739         if test $_pkg_short_errors_supported = yes; then
22740                 XCB_XTEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-xtest" 2>&1`
22741         else
22742                 XCB_XTEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-xtest" 2>&1`
22743         fi
22744         # Put the nasty error message in config.log where it belongs
22745         echo "$XCB_XTEST_PKG_ERRORS" >&5
22746
22747          have_ecore_x_xcb_xtest="no"
22748 elif test $pkg_failed = untried; then
22749         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22750 $as_echo "no" >&6; }
22751          have_ecore_x_xcb_xtest="no"
22752 else
22753         XCB_XTEST_CFLAGS=$pkg_cv_XCB_XTEST_CFLAGS
22754         XCB_XTEST_LIBS=$pkg_cv_XCB_XTEST_LIBS
22755         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22756 $as_echo "yes" >&6; }
22757          have_ecore_x_xcb_xtest="yes"
22758           requirements_ecore_x="xcb-xtest ${requirements_ecore_x}"
22759
22760 $as_echo "#define ECORE_XCB_XTEST 1" >>confdefs.h
22761
22762 fi
22763     else
22764       have_ecore_x_xcb_xtest="no"
22765       { $as_echo "$as_me:${as_lineno-$LINENO}: \"xtest extension explicitly disabled\"" >&5
22766 $as_echo "$as_me: \"xtest extension explicitly disabled\"" >&6;}
22767     fi
22768
22769 # input extension disabled currently in xcb as xcb-input has some issues
22770     want_ecore_x_input="no"
22771     if test "x$want_ecore_x_input" != "xno"; then
22772
22773 pkg_failed=no
22774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XINPUT" >&5
22775 $as_echo_n "checking for XCB_XINPUT... " >&6; }
22776
22777 if test -n "$XCB_XINPUT_CFLAGS"; then
22778     pkg_cv_XCB_XINPUT_CFLAGS="$XCB_XINPUT_CFLAGS"
22779  elif test -n "$PKG_CONFIG"; then
22780     if test -n "$PKG_CONFIG" && \
22781     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xinput\""; } >&5
22782   ($PKG_CONFIG --exists --print-errors "xcb-xinput") 2>&5
22783   ac_status=$?
22784   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22785   test $ac_status = 0; }; then
22786   pkg_cv_XCB_XINPUT_CFLAGS=`$PKG_CONFIG --cflags "xcb-xinput" 2>/dev/null`
22787                       test "x$?" != "x0" && pkg_failed=yes
22788 else
22789   pkg_failed=yes
22790 fi
22791  else
22792     pkg_failed=untried
22793 fi
22794 if test -n "$XCB_XINPUT_LIBS"; then
22795     pkg_cv_XCB_XINPUT_LIBS="$XCB_XINPUT_LIBS"
22796  elif test -n "$PKG_CONFIG"; then
22797     if test -n "$PKG_CONFIG" && \
22798     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xinput\""; } >&5
22799   ($PKG_CONFIG --exists --print-errors "xcb-xinput") 2>&5
22800   ac_status=$?
22801   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22802   test $ac_status = 0; }; then
22803   pkg_cv_XCB_XINPUT_LIBS=`$PKG_CONFIG --libs "xcb-xinput" 2>/dev/null`
22804                       test "x$?" != "x0" && pkg_failed=yes
22805 else
22806   pkg_failed=yes
22807 fi
22808  else
22809     pkg_failed=untried
22810 fi
22811
22812
22813
22814 if test $pkg_failed = yes; then
22815         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22816 $as_echo "no" >&6; }
22817
22818 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22819         _pkg_short_errors_supported=yes
22820 else
22821         _pkg_short_errors_supported=no
22822 fi
22823         if test $_pkg_short_errors_supported = yes; then
22824                 XCB_XINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-xinput" 2>&1`
22825         else
22826                 XCB_XINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-xinput" 2>&1`
22827         fi
22828         # Put the nasty error message in config.log where it belongs
22829         echo "$XCB_XINPUT_PKG_ERRORS" >&5
22830
22831          have_ecore_x_xcb_xinput="no"
22832 elif test $pkg_failed = untried; then
22833         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22834 $as_echo "no" >&6; }
22835          have_ecore_x_xcb_xinput="no"
22836 else
22837         XCB_XINPUT_CFLAGS=$pkg_cv_XCB_XINPUT_CFLAGS
22838         XCB_XINPUT_LIBS=$pkg_cv_XCB_XINPUT_LIBS
22839         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22840 $as_echo "yes" >&6; }
22841          have_ecore_x_xcb_xinput="yes"
22842           requirements_ecore_x="xcb-xinput ${requirements_ecore_x}"
22843
22844 $as_echo "#define ECORE_XCB_XINPUT 1" >>confdefs.h
22845
22846 fi
22847     else
22848       have_ecore_x_xcb_xinput="no"
22849       { $as_echo "$as_me:${as_lineno-$LINENO}: \"xinput extension explicitly disabled\"" >&5
22850 $as_echo "$as_me: \"xinput extension explicitly disabled\"" >&6;}
22851     fi
22852
22853     if test "x$want_ecore_x_cursor" != "xno"; then
22854
22855 pkg_failed=no
22856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_CURSOR" >&5
22857 $as_echo_n "checking for XCB_CURSOR... " >&6; }
22858
22859 if test -n "$XCB_CURSOR_CFLAGS"; then
22860     pkg_cv_XCB_CURSOR_CFLAGS="$XCB_CURSOR_CFLAGS"
22861  elif test -n "$PKG_CONFIG"; then
22862     if test -n "$PKG_CONFIG" && \
22863     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-render xcb-renderutil\""; } >&5
22864   ($PKG_CONFIG --exists --print-errors "xcb-render xcb-renderutil") 2>&5
22865   ac_status=$?
22866   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22867   test $ac_status = 0; }; then
22868   pkg_cv_XCB_CURSOR_CFLAGS=`$PKG_CONFIG --cflags "xcb-render xcb-renderutil" 2>/dev/null`
22869                       test "x$?" != "x0" && pkg_failed=yes
22870 else
22871   pkg_failed=yes
22872 fi
22873  else
22874     pkg_failed=untried
22875 fi
22876 if test -n "$XCB_CURSOR_LIBS"; then
22877     pkg_cv_XCB_CURSOR_LIBS="$XCB_CURSOR_LIBS"
22878  elif test -n "$PKG_CONFIG"; then
22879     if test -n "$PKG_CONFIG" && \
22880     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-render xcb-renderutil\""; } >&5
22881   ($PKG_CONFIG --exists --print-errors "xcb-render xcb-renderutil") 2>&5
22882   ac_status=$?
22883   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22884   test $ac_status = 0; }; then
22885   pkg_cv_XCB_CURSOR_LIBS=`$PKG_CONFIG --libs "xcb-render xcb-renderutil" 2>/dev/null`
22886                       test "x$?" != "x0" && pkg_failed=yes
22887 else
22888   pkg_failed=yes
22889 fi
22890  else
22891     pkg_failed=untried
22892 fi
22893
22894
22895
22896 if test $pkg_failed = yes; then
22897         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22898 $as_echo "no" >&6; }
22899
22900 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22901         _pkg_short_errors_supported=yes
22902 else
22903         _pkg_short_errors_supported=no
22904 fi
22905         if test $_pkg_short_errors_supported = yes; then
22906                 XCB_CURSOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-render xcb-renderutil" 2>&1`
22907         else
22908                 XCB_CURSOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-render xcb-renderutil" 2>&1`
22909         fi
22910         # Put the nasty error message in config.log where it belongs
22911         echo "$XCB_CURSOR_PKG_ERRORS" >&5
22912
22913          have_ecore_x_xcb_cursor="no"
22914 elif test $pkg_failed = untried; then
22915         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22916 $as_echo "no" >&6; }
22917          have_ecore_x_xcb_cursor="no"
22918 else
22919         XCB_CURSOR_CFLAGS=$pkg_cv_XCB_CURSOR_CFLAGS
22920         XCB_CURSOR_LIBS=$pkg_cv_XCB_CURSOR_LIBS
22921         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22922 $as_echo "yes" >&6; }
22923          have_ecore_x_xcb_cursor="yes"
22924           requirements_ecore_x="xcb-render xcb-renderutil ${requirements_ecore_x}"
22925
22926 $as_echo "#define ECORE_XCB_CURSOR 1" >>confdefs.h
22927
22928 fi
22929     else
22930       have_ecore_x_xcb_cursor="no"
22931       { $as_echo "$as_me:${as_lineno-$LINENO}: \"cursor extension explicitly disabled\"" >&5
22932 $as_echo "$as_me: \"cursor extension explicitly disabled\"" >&6;}
22933     fi
22934
22935 #    if test "x$want_ecore_x_dri" != "xno"; then
22936 #      PKG_CHECK_MODULES(XCB_DRI, xcb-dri2,
22937 #        [ have_ecore_x_xcb_dri="yes"
22938 #          requirements_ecore_x="xcb-dri2 ${requirements_ecore_x}"
22939 #          AC_DEFINE(ECORE_XCB_DRI, 1, [Build support for XCB dri/dri2]) ],
22940 #        [ have_ecore_x_xcb_dri="no" ])
22941 #    else
22942 #      have_ecore_x_xcb_dri="no"
22943 #      AC_MSG_NOTICE("dri extension explicitly disabled")
22944 #    fi
22945
22946
22947 $as_echo "#define HAVE_ECORE_X_XCB 1" >>confdefs.h
22948
22949
22950     x_cflags=$ECORE_XCB_CFLAGS
22951     x_libs=$ECORE_XCB_LIBS
22952     have_x="yes"
22953
22954     have_ecore_x_xcb_define="-DHAVE_ECORE_X_XCB"
22955
22956   fi
22957 fi
22958
22959 if ! test "x$have_ecore_x_xcb" = "xyes" ; then
22960   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
22961 $as_echo_n "checking for X... " >&6; }
22962
22963
22964 # Check whether --with-x was given.
22965 if test "${with_x+set}" = set; then :
22966   withval=$with_x;
22967 fi
22968
22969 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
22970 if test "x$with_x" = xno; then
22971   # The user explicitly disabled X.
22972   have_x=disabled
22973 else
22974   case $x_includes,$x_libraries in #(
22975     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
22976     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
22977   $as_echo_n "(cached) " >&6
22978 else
22979   # One or both of the vars are not set, and there is no cached value.
22980 ac_x_includes=no ac_x_libraries=no
22981 rm -f -r conftest.dir
22982 if mkdir conftest.dir; then
22983   cd conftest.dir
22984   cat >Imakefile <<'_ACEOF'
22985 incroot:
22986         @echo incroot='${INCROOT}'
22987 usrlibdir:
22988         @echo usrlibdir='${USRLIBDIR}'
22989 libdir:
22990         @echo libdir='${LIBDIR}'
22991 _ACEOF
22992   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
22993     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
22994     for ac_var in incroot usrlibdir libdir; do
22995       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
22996     done
22997     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
22998     for ac_extension in a so sl dylib la dll; do
22999       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
23000          test -f "$ac_im_libdir/libX11.$ac_extension"; then
23001         ac_im_usrlibdir=$ac_im_libdir; break
23002       fi
23003     done
23004     # Screen out bogus values from the imake configuration.  They are
23005     # bogus both because they are the default anyway, and because
23006     # using them would break gcc on systems where it needs fixed includes.
23007     case $ac_im_incroot in
23008         /usr/include) ac_x_includes= ;;
23009         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
23010     esac
23011     case $ac_im_usrlibdir in
23012         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
23013         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
23014     esac
23015   fi
23016   cd ..
23017   rm -f -r conftest.dir
23018 fi
23019
23020 # Standard set of common directories for X headers.
23021 # Check X11 before X11Rn because it is often a symlink to the current release.
23022 ac_x_header_dirs='
23023 /usr/X11/include
23024 /usr/X11R7/include
23025 /usr/X11R6/include
23026 /usr/X11R5/include
23027 /usr/X11R4/include
23028
23029 /usr/include/X11
23030 /usr/include/X11R7
23031 /usr/include/X11R6
23032 /usr/include/X11R5
23033 /usr/include/X11R4
23034
23035 /usr/local/X11/include
23036 /usr/local/X11R7/include
23037 /usr/local/X11R6/include
23038 /usr/local/X11R5/include
23039 /usr/local/X11R4/include
23040
23041 /usr/local/include/X11
23042 /usr/local/include/X11R7
23043 /usr/local/include/X11R6
23044 /usr/local/include/X11R5
23045 /usr/local/include/X11R4
23046
23047 /usr/X386/include
23048 /usr/x386/include
23049 /usr/XFree86/include/X11
23050
23051 /usr/include
23052 /usr/local/include
23053 /usr/unsupported/include
23054 /usr/athena/include
23055 /usr/local/x11r5/include
23056 /usr/lpp/Xamples/include
23057
23058 /usr/openwin/include
23059 /usr/openwin/share/include'
23060
23061 if test "$ac_x_includes" = no; then
23062   # Guess where to find include files, by looking for Xlib.h.
23063   # First, try using that file with no special directory specified.
23064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23065 /* end confdefs.h.  */
23066 #include <X11/Xlib.h>
23067 _ACEOF
23068 if ac_fn_c_try_cpp "$LINENO"; then :
23069   # We can compile using X headers with no special include directory.
23070 ac_x_includes=
23071 else
23072   for ac_dir in $ac_x_header_dirs; do
23073   if test -r "$ac_dir/X11/Xlib.h"; then
23074     ac_x_includes=$ac_dir
23075     break
23076   fi
23077 done
23078 fi
23079 rm -f conftest.err conftest.i conftest.$ac_ext
23080 fi # $ac_x_includes = no
23081
23082 if test "$ac_x_libraries" = no; then
23083   # Check for the libraries.
23084   # See if we find them without any special options.
23085   # Don't add to $LIBS permanently.
23086   ac_save_LIBS=$LIBS
23087   LIBS="-lX11 $LIBS"
23088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23089 /* end confdefs.h.  */
23090 #include <X11/Xlib.h>
23091 int
23092 main ()
23093 {
23094 XrmInitialize ()
23095   ;
23096   return 0;
23097 }
23098 _ACEOF
23099 if ac_fn_c_try_link "$LINENO"; then :
23100   LIBS=$ac_save_LIBS
23101 # We can link X programs with no special library path.
23102 ac_x_libraries=
23103 else
23104   LIBS=$ac_save_LIBS
23105 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
23106 do
23107   # Don't even attempt the hair of trying to link an X program!
23108   for ac_extension in a so sl dylib la dll; do
23109     if test -r "$ac_dir/libX11.$ac_extension"; then
23110       ac_x_libraries=$ac_dir
23111       break 2
23112     fi
23113   done
23114 done
23115 fi
23116 rm -f core conftest.err conftest.$ac_objext \
23117     conftest$ac_exeext conftest.$ac_ext
23118 fi # $ac_x_libraries = no
23119
23120 case $ac_x_includes,$ac_x_libraries in #(
23121   no,* | *,no | *\'*)
23122     # Didn't find X, or a directory has "'" in its name.
23123     ac_cv_have_x="have_x=no";; #(
23124   *)
23125     # Record where we found X for the cache.
23126     ac_cv_have_x="have_x=yes\
23127         ac_x_includes='$ac_x_includes'\
23128         ac_x_libraries='$ac_x_libraries'"
23129 esac
23130 fi
23131 ;; #(
23132     *) have_x=yes;;
23133   esac
23134   eval "$ac_cv_have_x"
23135 fi # $with_x != no
23136
23137 if test "$have_x" != yes; then
23138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
23139 $as_echo "$have_x" >&6; }
23140   no_x=yes
23141 else
23142   # If each of the values was on the command line, it overrides each guess.
23143   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
23144   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
23145   # Update the cache value to reflect the command line values.
23146   ac_cv_have_x="have_x=yes\
23147         ac_x_includes='$x_includes'\
23148         ac_x_libraries='$x_libraries'"
23149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
23150 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
23151 fi
23152
23153 if test "$no_x" = yes; then
23154   # Not all programs may use this symbol, but it does not hurt to define it.
23155
23156 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
23157
23158   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
23159 else
23160   if test -n "$x_includes"; then
23161     X_CFLAGS="$X_CFLAGS -I$x_includes"
23162   fi
23163
23164   # It would also be nice to do this for all -L options, not just this one.
23165   if test -n "$x_libraries"; then
23166     X_LIBS="$X_LIBS -L$x_libraries"
23167     # For Solaris; some versions of Sun CC require a space after -R and
23168     # others require no space.  Words are not sufficient . . . .
23169     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
23170 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
23171     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
23172     ac_xsave_c_werror_flag=$ac_c_werror_flag
23173     ac_c_werror_flag=yes
23174     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23175 /* end confdefs.h.  */
23176
23177 int
23178 main ()
23179 {
23180
23181   ;
23182   return 0;
23183 }
23184 _ACEOF
23185 if ac_fn_c_try_link "$LINENO"; then :
23186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23187 $as_echo "no" >&6; }
23188        X_LIBS="$X_LIBS -R$x_libraries"
23189 else
23190   LIBS="$ac_xsave_LIBS -R $x_libraries"
23191        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23192 /* end confdefs.h.  */
23193
23194 int
23195 main ()
23196 {
23197
23198   ;
23199   return 0;
23200 }
23201 _ACEOF
23202 if ac_fn_c_try_link "$LINENO"; then :
23203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23204 $as_echo "yes" >&6; }
23205           X_LIBS="$X_LIBS -R $x_libraries"
23206 else
23207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
23208 $as_echo "neither works" >&6; }
23209 fi
23210 rm -f core conftest.err conftest.$ac_objext \
23211     conftest$ac_exeext conftest.$ac_ext
23212 fi
23213 rm -f core conftest.err conftest.$ac_objext \
23214     conftest$ac_exeext conftest.$ac_ext
23215     ac_c_werror_flag=$ac_xsave_c_werror_flag
23216     LIBS=$ac_xsave_LIBS
23217   fi
23218
23219   # Check for system-dependent libraries X programs must link with.
23220   # Do this before checking for the system-independent R6 libraries
23221   # (-lICE), since we may need -lsocket or whatever for X linking.
23222
23223   if test "$ISC" = yes; then
23224     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23225   else
23226     # Martyn Johnson says this is needed for Ultrix, if the X
23227     # libraries were built with DECnet support.  And Karl Berry says
23228     # the Alpha needs dnet_stub (dnet does not exist).
23229     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23230     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23231 /* end confdefs.h.  */
23232
23233 /* Override any GCC internal prototype to avoid an error.
23234    Use char because int might match the return type of a GCC
23235    builtin and then its argument prototype would still apply.  */
23236 #ifdef __cplusplus
23237 extern "C"
23238 #endif
23239 char XOpenDisplay ();
23240 int
23241 main ()
23242 {
23243 return XOpenDisplay ();
23244   ;
23245   return 0;
23246 }
23247 _ACEOF
23248 if ac_fn_c_try_link "$LINENO"; then :
23249
23250 else
23251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
23252 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
23253 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
23254   $as_echo_n "(cached) " >&6
23255 else
23256   ac_check_lib_save_LIBS=$LIBS
23257 LIBS="-ldnet  $LIBS"
23258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23259 /* end confdefs.h.  */
23260
23261 /* Override any GCC internal prototype to avoid an error.
23262    Use char because int might match the return type of a GCC
23263    builtin and then its argument prototype would still apply.  */
23264 #ifdef __cplusplus
23265 extern "C"
23266 #endif
23267 char dnet_ntoa ();
23268 int
23269 main ()
23270 {
23271 return dnet_ntoa ();
23272   ;
23273   return 0;
23274 }
23275 _ACEOF
23276 if ac_fn_c_try_link "$LINENO"; then :
23277   ac_cv_lib_dnet_dnet_ntoa=yes
23278 else
23279   ac_cv_lib_dnet_dnet_ntoa=no
23280 fi
23281 rm -f core conftest.err conftest.$ac_objext \
23282     conftest$ac_exeext conftest.$ac_ext
23283 LIBS=$ac_check_lib_save_LIBS
23284 fi
23285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23286 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
23287 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
23288   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23289 fi
23290
23291     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23292       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
23293 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
23294 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
23295   $as_echo_n "(cached) " >&6
23296 else
23297   ac_check_lib_save_LIBS=$LIBS
23298 LIBS="-ldnet_stub  $LIBS"
23299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23300 /* end confdefs.h.  */
23301
23302 /* Override any GCC internal prototype to avoid an error.
23303    Use char because int might match the return type of a GCC
23304    builtin and then its argument prototype would still apply.  */
23305 #ifdef __cplusplus
23306 extern "C"
23307 #endif
23308 char dnet_ntoa ();
23309 int
23310 main ()
23311 {
23312 return dnet_ntoa ();
23313   ;
23314   return 0;
23315 }
23316 _ACEOF
23317 if ac_fn_c_try_link "$LINENO"; then :
23318   ac_cv_lib_dnet_stub_dnet_ntoa=yes
23319 else
23320   ac_cv_lib_dnet_stub_dnet_ntoa=no
23321 fi
23322 rm -f core conftest.err conftest.$ac_objext \
23323     conftest$ac_exeext conftest.$ac_ext
23324 LIBS=$ac_check_lib_save_LIBS
23325 fi
23326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23327 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
23328 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
23329   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23330 fi
23331
23332     fi
23333 fi
23334 rm -f core conftest.err conftest.$ac_objext \
23335     conftest$ac_exeext conftest.$ac_ext
23336     LIBS="$ac_xsave_LIBS"
23337
23338     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23339     # to get the SysV transport functions.
23340     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23341     # needs -lnsl.
23342     # The nsl library prevents programs from opening the X display
23343     # on Irix 5.2, according to T.E. Dickey.
23344     # The functions gethostbyname, getservbyname, and inet_addr are
23345     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23346     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
23347 if test "x$ac_cv_func_gethostbyname" = xyes; then :
23348
23349 fi
23350
23351     if test $ac_cv_func_gethostbyname = no; then
23352       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
23353 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
23354 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
23355   $as_echo_n "(cached) " >&6
23356 else
23357   ac_check_lib_save_LIBS=$LIBS
23358 LIBS="-lnsl  $LIBS"
23359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23360 /* end confdefs.h.  */
23361
23362 /* Override any GCC internal prototype to avoid an error.
23363    Use char because int might match the return type of a GCC
23364    builtin and then its argument prototype would still apply.  */
23365 #ifdef __cplusplus
23366 extern "C"
23367 #endif
23368 char gethostbyname ();
23369 int
23370 main ()
23371 {
23372 return gethostbyname ();
23373   ;
23374   return 0;
23375 }
23376 _ACEOF
23377 if ac_fn_c_try_link "$LINENO"; then :
23378   ac_cv_lib_nsl_gethostbyname=yes
23379 else
23380   ac_cv_lib_nsl_gethostbyname=no
23381 fi
23382 rm -f core conftest.err conftest.$ac_objext \
23383     conftest$ac_exeext conftest.$ac_ext
23384 LIBS=$ac_check_lib_save_LIBS
23385 fi
23386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
23387 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
23388 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
23389   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23390 fi
23391
23392       if test $ac_cv_lib_nsl_gethostbyname = no; then
23393         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
23394 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
23395 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
23396   $as_echo_n "(cached) " >&6
23397 else
23398   ac_check_lib_save_LIBS=$LIBS
23399 LIBS="-lbsd  $LIBS"
23400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23401 /* end confdefs.h.  */
23402
23403 /* Override any GCC internal prototype to avoid an error.
23404    Use char because int might match the return type of a GCC
23405    builtin and then its argument prototype would still apply.  */
23406 #ifdef __cplusplus
23407 extern "C"
23408 #endif
23409 char gethostbyname ();
23410 int
23411 main ()
23412 {
23413 return gethostbyname ();
23414   ;
23415   return 0;
23416 }
23417 _ACEOF
23418 if ac_fn_c_try_link "$LINENO"; then :
23419   ac_cv_lib_bsd_gethostbyname=yes
23420 else
23421   ac_cv_lib_bsd_gethostbyname=no
23422 fi
23423 rm -f core conftest.err conftest.$ac_objext \
23424     conftest$ac_exeext conftest.$ac_ext
23425 LIBS=$ac_check_lib_save_LIBS
23426 fi
23427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
23428 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
23429 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
23430   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23431 fi
23432
23433       fi
23434     fi
23435
23436     # lieder@skyler.mavd.honeywell.com says without -lsocket,
23437     # socket/setsockopt and other routines are undefined under SCO ODT
23438     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
23439     # on later versions), says Simon Leinen: it contains gethostby*
23440     # variants that don't use the name server (or something).  -lsocket
23441     # must be given before -lnsl if both are needed.  We assume that
23442     # if connect needs -lnsl, so does gethostbyname.
23443     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
23444 if test "x$ac_cv_func_connect" = xyes; then :
23445
23446 fi
23447
23448     if test $ac_cv_func_connect = no; then
23449       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
23450 $as_echo_n "checking for connect in -lsocket... " >&6; }
23451 if ${ac_cv_lib_socket_connect+:} false; then :
23452   $as_echo_n "(cached) " >&6
23453 else
23454   ac_check_lib_save_LIBS=$LIBS
23455 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23457 /* end confdefs.h.  */
23458
23459 /* Override any GCC internal prototype to avoid an error.
23460    Use char because int might match the return type of a GCC
23461    builtin and then its argument prototype would still apply.  */
23462 #ifdef __cplusplus
23463 extern "C"
23464 #endif
23465 char connect ();
23466 int
23467 main ()
23468 {
23469 return connect ();
23470   ;
23471   return 0;
23472 }
23473 _ACEOF
23474 if ac_fn_c_try_link "$LINENO"; then :
23475   ac_cv_lib_socket_connect=yes
23476 else
23477   ac_cv_lib_socket_connect=no
23478 fi
23479 rm -f core conftest.err conftest.$ac_objext \
23480     conftest$ac_exeext conftest.$ac_ext
23481 LIBS=$ac_check_lib_save_LIBS
23482 fi
23483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
23484 $as_echo "$ac_cv_lib_socket_connect" >&6; }
23485 if test "x$ac_cv_lib_socket_connect" = xyes; then :
23486   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23487 fi
23488
23489     fi
23490
23491     # Guillermo Gomez says -lposix is necessary on A/UX.
23492     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
23493 if test "x$ac_cv_func_remove" = xyes; then :
23494
23495 fi
23496
23497     if test $ac_cv_func_remove = no; then
23498       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
23499 $as_echo_n "checking for remove in -lposix... " >&6; }
23500 if ${ac_cv_lib_posix_remove+:} false; then :
23501   $as_echo_n "(cached) " >&6
23502 else
23503   ac_check_lib_save_LIBS=$LIBS
23504 LIBS="-lposix  $LIBS"
23505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23506 /* end confdefs.h.  */
23507
23508 /* Override any GCC internal prototype to avoid an error.
23509    Use char because int might match the return type of a GCC
23510    builtin and then its argument prototype would still apply.  */
23511 #ifdef __cplusplus
23512 extern "C"
23513 #endif
23514 char remove ();
23515 int
23516 main ()
23517 {
23518 return remove ();
23519   ;
23520   return 0;
23521 }
23522 _ACEOF
23523 if ac_fn_c_try_link "$LINENO"; then :
23524   ac_cv_lib_posix_remove=yes
23525 else
23526   ac_cv_lib_posix_remove=no
23527 fi
23528 rm -f core conftest.err conftest.$ac_objext \
23529     conftest$ac_exeext conftest.$ac_ext
23530 LIBS=$ac_check_lib_save_LIBS
23531 fi
23532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
23533 $as_echo "$ac_cv_lib_posix_remove" >&6; }
23534 if test "x$ac_cv_lib_posix_remove" = xyes; then :
23535   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23536 fi
23537
23538     fi
23539
23540     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23541     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
23542 if test "x$ac_cv_func_shmat" = xyes; then :
23543
23544 fi
23545
23546     if test $ac_cv_func_shmat = no; then
23547       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
23548 $as_echo_n "checking for shmat in -lipc... " >&6; }
23549 if ${ac_cv_lib_ipc_shmat+:} false; then :
23550   $as_echo_n "(cached) " >&6
23551 else
23552   ac_check_lib_save_LIBS=$LIBS
23553 LIBS="-lipc  $LIBS"
23554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23555 /* end confdefs.h.  */
23556
23557 /* Override any GCC internal prototype to avoid an error.
23558    Use char because int might match the return type of a GCC
23559    builtin and then its argument prototype would still apply.  */
23560 #ifdef __cplusplus
23561 extern "C"
23562 #endif
23563 char shmat ();
23564 int
23565 main ()
23566 {
23567 return shmat ();
23568   ;
23569   return 0;
23570 }
23571 _ACEOF
23572 if ac_fn_c_try_link "$LINENO"; then :
23573   ac_cv_lib_ipc_shmat=yes
23574 else
23575   ac_cv_lib_ipc_shmat=no
23576 fi
23577 rm -f core conftest.err conftest.$ac_objext \
23578     conftest$ac_exeext conftest.$ac_ext
23579 LIBS=$ac_check_lib_save_LIBS
23580 fi
23581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
23582 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
23583 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
23584   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23585 fi
23586
23587     fi
23588   fi
23589
23590   # Check for libraries that X11R6 Xt/Xaw programs need.
23591   ac_save_LDFLAGS=$LDFLAGS
23592   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23593   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23594   # check for ICE first), but we must link in the order -lSM -lICE or
23595   # we get undefined symbols.  So assume we have SM if we have ICE.
23596   # These have to be linked with before -lX11, unlike the other
23597   # libraries we check for below, so use a different variable.
23598   # John Interrante, Karl Berry
23599   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
23600 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
23601 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
23602   $as_echo_n "(cached) " >&6
23603 else
23604   ac_check_lib_save_LIBS=$LIBS
23605 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23607 /* end confdefs.h.  */
23608
23609 /* Override any GCC internal prototype to avoid an error.
23610    Use char because int might match the return type of a GCC
23611    builtin and then its argument prototype would still apply.  */
23612 #ifdef __cplusplus
23613 extern "C"
23614 #endif
23615 char IceConnectionNumber ();
23616 int
23617 main ()
23618 {
23619 return IceConnectionNumber ();
23620   ;
23621   return 0;
23622 }
23623 _ACEOF
23624 if ac_fn_c_try_link "$LINENO"; then :
23625   ac_cv_lib_ICE_IceConnectionNumber=yes
23626 else
23627   ac_cv_lib_ICE_IceConnectionNumber=no
23628 fi
23629 rm -f core conftest.err conftest.$ac_objext \
23630     conftest$ac_exeext conftest.$ac_ext
23631 LIBS=$ac_check_lib_save_LIBS
23632 fi
23633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23634 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
23635 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
23636   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23637 fi
23638
23639   LDFLAGS=$ac_save_LDFLAGS
23640
23641 fi
23642
23643   ac_fn_c_check_header_mongrel "$LINENO" "X11/X.h" "ac_cv_header_X11_X_h" "$ac_includes_default"
23644 if test "x$ac_cv_header_X11_X_h" = xyes; then :
23645
23646      if test "x$want_evas_simple_x11" = "xyes"; then
23647        x_libs="${x_libs} -lX11 -lXext"
23648      else
23649        x_dir=${x_dir:-/usr/X11R6}
23650        x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
23651        x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
23652      fi
23653      have_ecore_x_xlib="yes"
23654
23655
23656 fi
23657
23658
23659
23660   if test "x$have_ecore_x_xlib" = "xyes"; then
23661     Xcursor_libs=""
23662     Xcursor_cflags=""
23663     use_Xcursor="no"
23664     PCFLAGS=$CFLAGS
23665     CFLAGS="$x_cflags $x_includes"
23666
23667     if test "x$want_ecore_x_cursor" = "xyes"; then
23668       ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "
23669           #include <X11/Xlib.h>
23670
23671
23672 "
23673 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes; then :
23674
23675           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XcursorImageLoadCursor in -lXcursor" >&5
23676 $as_echo_n "checking for XcursorImageLoadCursor in -lXcursor... " >&6; }
23677 if ${ac_cv_lib_Xcursor_XcursorImageLoadCursor+:} false; then :
23678   $as_echo_n "(cached) " >&6
23679 else
23680   ac_check_lib_save_LIBS=$LIBS
23681 LIBS="-lXcursor
23682               $x_libs -lXrender
23683
23684            $LIBS"
23685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23686 /* end confdefs.h.  */
23687
23688 /* Override any GCC internal prototype to avoid an error.
23689    Use char because int might match the return type of a GCC
23690    builtin and then its argument prototype would still apply.  */
23691 #ifdef __cplusplus
23692 extern "C"
23693 #endif
23694 char XcursorImageLoadCursor ();
23695 int
23696 main ()
23697 {
23698 return XcursorImageLoadCursor ();
23699   ;
23700   return 0;
23701 }
23702 _ACEOF
23703 if ac_fn_c_try_link "$LINENO"; then :
23704   ac_cv_lib_Xcursor_XcursorImageLoadCursor=yes
23705 else
23706   ac_cv_lib_Xcursor_XcursorImageLoadCursor=no
23707 fi
23708 rm -f core conftest.err conftest.$ac_objext \
23709     conftest$ac_exeext conftest.$ac_ext
23710 LIBS=$ac_check_lib_save_LIBS
23711 fi
23712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xcursor_XcursorImageLoadCursor" >&5
23713 $as_echo "$ac_cv_lib_Xcursor_XcursorImageLoadCursor" >&6; }
23714 if test "x$ac_cv_lib_Xcursor_XcursorImageLoadCursor" = xyes; then :
23715
23716
23717 $as_echo "#define ECORE_XCURSOR 1" >>confdefs.h
23718
23719               Xcursor_cflags=""
23720               Xcursor_libs="-lXcursor"
23721               use_Xcursor="yes"
23722
23723 else
23724
23725               Xcursor_cflags=""
23726               Xcursor_libs=""
23727               use_Xcursor="no"
23728
23729 fi
23730
23731
23732 else
23733
23734           Xcursor_cflags=""
23735           Xcursor_libs=""
23736           use_Xcursor="no"
23737
23738 fi
23739
23740
23741       CFLAGS=$PCFLAGS
23742     else
23743       Xcursor_cflags=""
23744       Xcursor_libs=""
23745       use_Xcursor="no"
23746       { $as_echo "$as_me:${as_lineno-$LINENO}: \"Xcursor explicitly disabled\"" >&5
23747 $as_echo "$as_me: \"Xcursor explicitly disabled\"" >&6;}
23748     fi
23749
23750
23751
23752
23753
23754
23755 XKB_CFLAGS=""
23756 XKB_LIBS=""
23757 use_xkb="no"
23758
23759 if test "x$want_ecore_x_xkb" != "xno"; then
23760   SAVE_CFLAGS=$CFLAGS
23761   CFLAGS="$x_cflags $x_includes"
23762   ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XKB.h" "ac_cv_header_X11_extensions_XKB_h" " #include <X11/Xlib.h>
23763
23764 "
23765 if test "x$ac_cv_header_X11_extensions_XKB_h" = xyes; then :
23766
23767      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbSetDetectableAutoRepeat in -lX11" >&5
23768 $as_echo_n "checking for XkbSetDetectableAutoRepeat in -lX11... " >&6; }
23769 if ${ac_cv_lib_X11_XkbSetDetectableAutoRepeat+:} false; then :
23770   $as_echo_n "(cached) " >&6
23771 else
23772   ac_check_lib_save_LIBS=$LIBS
23773 LIBS="-lX11  $x_libs
23774       $LIBS"
23775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23776 /* end confdefs.h.  */
23777
23778 /* Override any GCC internal prototype to avoid an error.
23779    Use char because int might match the return type of a GCC
23780    builtin and then its argument prototype would still apply.  */
23781 #ifdef __cplusplus
23782 extern "C"
23783 #endif
23784 char XkbSetDetectableAutoRepeat ();
23785 int
23786 main ()
23787 {
23788 return XkbSetDetectableAutoRepeat ();
23789   ;
23790   return 0;
23791 }
23792 _ACEOF
23793 if ac_fn_c_try_link "$LINENO"; then :
23794   ac_cv_lib_X11_XkbSetDetectableAutoRepeat=yes
23795 else
23796   ac_cv_lib_X11_XkbSetDetectableAutoRepeat=no
23797 fi
23798 rm -f core conftest.err conftest.$ac_objext \
23799     conftest$ac_exeext conftest.$ac_ext
23800 LIBS=$ac_check_lib_save_LIBS
23801 fi
23802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbSetDetectableAutoRepeat" >&5
23803 $as_echo "$ac_cv_lib_X11_XkbSetDetectableAutoRepeat" >&6; }
23804 if test "x$ac_cv_lib_X11_XkbSetDetectableAutoRepeat" = xyes; then :
23805
23806
23807 $as_echo "#define ECORE_XKB 1" >>confdefs.h
23808
23809         XKB_LIBS="-lX11"
23810         use_xkb="yes"
23811
23812 else
23813    use_xkb="no"
23814 fi
23815
23816
23817 else
23818    use_xkb="no"
23819 fi
23820
23821
23822   CFLAGS=$SAVE_CFLAGS
23823 else
23824   use_xkb="no"
23825   { $as_echo "$as_me:${as_lineno-$LINENO}: Xkb support disabled" >&5
23826 $as_echo "$as_me: Xkb support disabled" >&6;}
23827 fi
23828
23829
23830
23831
23832
23833
23834
23835
23836
23837 XCOMPOSITE_CFLAGS=""
23838 XCOMPOSITE_LIBS=""
23839 use_xcomposite="no"
23840
23841 if test "x$want_ecore_x_composite" != "xno"; then
23842   SAVE_CFLAGS=$CFLAGS
23843   CFLAGS="$x_cflags $x_includes"
23844   ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" " #include <X11/Xlib.h>
23845
23846 "
23847 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes; then :
23848
23849      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCompositeQueryExtension in -lXcomposite" >&5
23850 $as_echo_n "checking for XCompositeQueryExtension in -lXcomposite... " >&6; }
23851 if ${ac_cv_lib_Xcomposite_XCompositeQueryExtension+:} false; then :
23852   $as_echo_n "(cached) " >&6
23853 else
23854   ac_check_lib_save_LIBS=$LIBS
23855 LIBS="-lXcomposite  $x_libs
23856       $LIBS"
23857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23858 /* end confdefs.h.  */
23859
23860 /* Override any GCC internal prototype to avoid an error.
23861    Use char because int might match the return type of a GCC
23862    builtin and then its argument prototype would still apply.  */
23863 #ifdef __cplusplus
23864 extern "C"
23865 #endif
23866 char XCompositeQueryExtension ();
23867 int
23868 main ()
23869 {
23870 return XCompositeQueryExtension ();
23871   ;
23872   return 0;
23873 }
23874 _ACEOF
23875 if ac_fn_c_try_link "$LINENO"; then :
23876   ac_cv_lib_Xcomposite_XCompositeQueryExtension=yes
23877 else
23878   ac_cv_lib_Xcomposite_XCompositeQueryExtension=no
23879 fi
23880 rm -f core conftest.err conftest.$ac_objext \
23881     conftest$ac_exeext conftest.$ac_ext
23882 LIBS=$ac_check_lib_save_LIBS
23883 fi
23884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xcomposite_XCompositeQueryExtension" >&5
23885 $as_echo "$ac_cv_lib_Xcomposite_XCompositeQueryExtension" >&6; }
23886 if test "x$ac_cv_lib_Xcomposite_XCompositeQueryExtension" = xyes; then :
23887
23888
23889 $as_echo "#define ECORE_XCOMPOSITE 1" >>confdefs.h
23890
23891         XCOMPOSITE_LIBS="-lXcomposite"
23892         use_xcomposite="yes"
23893
23894 else
23895    use_xcomposite="no"
23896 fi
23897
23898
23899 else
23900    use_xcomposite="no"
23901 fi
23902
23903
23904   CFLAGS=$SAVE_CFLAGS
23905 else
23906   use_xcomposite="no"
23907   { $as_echo "$as_me:${as_lineno-$LINENO}: Xcomposite support disabled" >&5
23908 $as_echo "$as_me: Xcomposite support disabled" >&6;}
23909 fi
23910
23911
23912
23913
23914
23915
23916
23917
23918
23919 XDAMAGE_CFLAGS=""
23920 XDAMAGE_LIBS=""
23921 use_xdamage="no"
23922
23923 if test "x$want_ecore_x_damage" != "xno"; then
23924   SAVE_CFLAGS=$CFLAGS
23925   CFLAGS="$x_cflags $x_includes"
23926   ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xdamage.h" "ac_cv_header_X11_extensions_Xdamage_h" " #include <X11/Xlib.h>
23927
23928 "
23929 if test "x$ac_cv_header_X11_extensions_Xdamage_h" = xyes; then :
23930
23931      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XDamageSubtract in -lXdamage" >&5
23932 $as_echo_n "checking for XDamageSubtract in -lXdamage... " >&6; }
23933 if ${ac_cv_lib_Xdamage_XDamageSubtract+:} false; then :
23934   $as_echo_n "(cached) " >&6
23935 else
23936   ac_check_lib_save_LIBS=$LIBS
23937 LIBS="-lXdamage  $x_libs
23938       $LIBS"
23939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23940 /* end confdefs.h.  */
23941
23942 /* Override any GCC internal prototype to avoid an error.
23943    Use char because int might match the return type of a GCC
23944    builtin and then its argument prototype would still apply.  */
23945 #ifdef __cplusplus
23946 extern "C"
23947 #endif
23948 char XDamageSubtract ();
23949 int
23950 main ()
23951 {
23952 return XDamageSubtract ();
23953   ;
23954   return 0;
23955 }
23956 _ACEOF
23957 if ac_fn_c_try_link "$LINENO"; then :
23958   ac_cv_lib_Xdamage_XDamageSubtract=yes
23959 else
23960   ac_cv_lib_Xdamage_XDamageSubtract=no
23961 fi
23962 rm -f core conftest.err conftest.$ac_objext \
23963     conftest$ac_exeext conftest.$ac_ext
23964 LIBS=$ac_check_lib_save_LIBS
23965 fi
23966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xdamage_XDamageSubtract" >&5
23967 $as_echo "$ac_cv_lib_Xdamage_XDamageSubtract" >&6; }
23968 if test "x$ac_cv_lib_Xdamage_XDamageSubtract" = xyes; then :
23969
23970
23971 $as_echo "#define ECORE_XDAMAGE 1" >>confdefs.h
23972
23973         XDAMAGE_LIBS="-lXdamage"
23974         use_xdamage="yes"
23975
23976 else
23977    use_xdamage="no"
23978 fi
23979
23980
23981 else
23982    use_xdamage="no"
23983 fi
23984
23985
23986   CFLAGS=$SAVE_CFLAGS
23987 else
23988   use_xdamage="no"
23989   { $as_echo "$as_me:${as_lineno-$LINENO}: Xdamage support disabled" >&5
23990 $as_echo "$as_me: Xdamage support disabled" >&6;}
23991 fi
23992
23993
23994
23995
23996
23997
23998
23999
24000
24001 XDPMS_CFLAGS=""
24002 XDPMS_LIBS=""
24003 use_xdpms="no"
24004
24005 if test "x$want_ecore_x_dpms" != "xno"; then
24006   SAVE_CFLAGS=$CFLAGS
24007   CFLAGS="$x_cflags $x_includes"
24008   ac_fn_c_check_header_compile "$LINENO" "X11/extensions/dpms.h" "ac_cv_header_X11_extensions_dpms_h" " #include <X11/Xlib.h>
24009
24010 "
24011 if test "x$ac_cv_header_X11_extensions_dpms_h" = xyes; then :
24012
24013      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DPMSQueryExtension in -lXdpms" >&5
24014 $as_echo_n "checking for DPMSQueryExtension in -lXdpms... " >&6; }
24015 if ${ac_cv_lib_Xdpms_DPMSQueryExtension+:} false; then :
24016   $as_echo_n "(cached) " >&6
24017 else
24018   ac_check_lib_save_LIBS=$LIBS
24019 LIBS="-lXdpms  $x_libs
24020       $LIBS"
24021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24022 /* end confdefs.h.  */
24023
24024 /* Override any GCC internal prototype to avoid an error.
24025    Use char because int might match the return type of a GCC
24026    builtin and then its argument prototype would still apply.  */
24027 #ifdef __cplusplus
24028 extern "C"
24029 #endif
24030 char DPMSQueryExtension ();
24031 int
24032 main ()
24033 {
24034 return DPMSQueryExtension ();
24035   ;
24036   return 0;
24037 }
24038 _ACEOF
24039 if ac_fn_c_try_link "$LINENO"; then :
24040   ac_cv_lib_Xdpms_DPMSQueryExtension=yes
24041 else
24042   ac_cv_lib_Xdpms_DPMSQueryExtension=no
24043 fi
24044 rm -f core conftest.err conftest.$ac_objext \
24045     conftest$ac_exeext conftest.$ac_ext
24046 LIBS=$ac_check_lib_save_LIBS
24047 fi
24048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xdpms_DPMSQueryExtension" >&5
24049 $as_echo "$ac_cv_lib_Xdpms_DPMSQueryExtension" >&6; }
24050 if test "x$ac_cv_lib_Xdpms_DPMSQueryExtension" = xyes; then :
24051
24052
24053 $as_echo "#define ECORE_XDPMS 1" >>confdefs.h
24054
24055         XDPMS_LIBS="-lXdpms"
24056         use_xdpms="yes"
24057
24058 else
24059    use_xdpms="no"
24060 fi
24061
24062
24063 else
24064    use_xdpms="no"
24065 fi
24066
24067
24068   CFLAGS=$SAVE_CFLAGS
24069 else
24070   use_xdpms="no"
24071   { $as_echo "$as_me:${as_lineno-$LINENO}: Xdpms support disabled" >&5
24072 $as_echo "$as_me: Xdpms support disabled" >&6;}
24073 fi
24074
24075
24076
24077
24078
24079
24080
24081     if test "x$use_xdpms" = "xno" ; then
24082
24083
24084 XDPMS_CFLAGS=""
24085 XDPMS_LIBS=""
24086 use_xdpms="no"
24087
24088 if test "x$want_ecore_x_dpms" != "xno"; then
24089   SAVE_CFLAGS=$CFLAGS
24090   CFLAGS="$x_cflags $x_includes"
24091   ac_fn_c_check_header_compile "$LINENO" "X11/extensions/dpms.h" "ac_cv_header_X11_extensions_dpms_h" " #include <X11/Xlib.h>
24092
24093 "
24094 if test "x$ac_cv_header_X11_extensions_dpms_h" = xyes; then :
24095
24096      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DPMSQueryExtension in -lXext" >&5
24097 $as_echo_n "checking for DPMSQueryExtension in -lXext... " >&6; }
24098 if ${ac_cv_lib_Xext_DPMSQueryExtension+:} false; then :
24099   $as_echo_n "(cached) " >&6
24100 else
24101   ac_check_lib_save_LIBS=$LIBS
24102 LIBS="-lXext  $x_libs
24103       $LIBS"
24104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24105 /* end confdefs.h.  */
24106
24107 /* Override any GCC internal prototype to avoid an error.
24108    Use char because int might match the return type of a GCC
24109    builtin and then its argument prototype would still apply.  */
24110 #ifdef __cplusplus
24111 extern "C"
24112 #endif
24113 char DPMSQueryExtension ();
24114 int
24115 main ()
24116 {
24117 return DPMSQueryExtension ();
24118   ;
24119   return 0;
24120 }
24121 _ACEOF
24122 if ac_fn_c_try_link "$LINENO"; then :
24123   ac_cv_lib_Xext_DPMSQueryExtension=yes
24124 else
24125   ac_cv_lib_Xext_DPMSQueryExtension=no
24126 fi
24127 rm -f core conftest.err conftest.$ac_objext \
24128     conftest$ac_exeext conftest.$ac_ext
24129 LIBS=$ac_check_lib_save_LIBS
24130 fi
24131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_DPMSQueryExtension" >&5
24132 $as_echo "$ac_cv_lib_Xext_DPMSQueryExtension" >&6; }
24133 if test "x$ac_cv_lib_Xext_DPMSQueryExtension" = xyes; then :
24134
24135
24136 $as_echo "#define ECORE_XDPMS 1" >>confdefs.h
24137
24138         XDPMS_LIBS="-lXext"
24139         use_xdpms="yes"
24140
24141 else
24142    use_xdpms="no"
24143 fi
24144
24145
24146 else
24147    use_xdpms="no"
24148 fi
24149
24150
24151   CFLAGS=$SAVE_CFLAGS
24152 else
24153   use_xdpms="no"
24154   { $as_echo "$as_me:${as_lineno-$LINENO}: Xdpms support disabled" >&5
24155 $as_echo "$as_me: Xdpms support disabled" >&6;}
24156 fi
24157
24158
24159
24160
24161
24162
24163
24164     fi
24165
24166
24167 XFIXES_CFLAGS=""
24168 XFIXES_LIBS=""
24169 use_xfixes="no"
24170
24171 if test "x$want_ecore_x_xfixes" != "xno"; then
24172   SAVE_CFLAGS=$CFLAGS
24173   CFLAGS="$x_cflags $x_includes"
24174   ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" " #include <X11/Xlib.h>
24175
24176 "
24177 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes; then :
24178
24179      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFixesExpandRegion in -lXfixes" >&5
24180 $as_echo_n "checking for XFixesExpandRegion in -lXfixes... " >&6; }
24181 if ${ac_cv_lib_Xfixes_XFixesExpandRegion+:} false; then :
24182   $as_echo_n "(cached) " >&6
24183 else
24184   ac_check_lib_save_LIBS=$LIBS
24185 LIBS="-lXfixes  $x_libs
24186       $LIBS"
24187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24188 /* end confdefs.h.  */
24189
24190 /* Override any GCC internal prototype to avoid an error.
24191    Use char because int might match the return type of a GCC
24192    builtin and then its argument prototype would still apply.  */
24193 #ifdef __cplusplus
24194 extern "C"
24195 #endif
24196 char XFixesExpandRegion ();
24197 int
24198 main ()
24199 {
24200 return XFixesExpandRegion ();
24201   ;
24202   return 0;
24203 }
24204 _ACEOF
24205 if ac_fn_c_try_link "$LINENO"; then :
24206   ac_cv_lib_Xfixes_XFixesExpandRegion=yes
24207 else
24208   ac_cv_lib_Xfixes_XFixesExpandRegion=no
24209 fi
24210 rm -f core conftest.err conftest.$ac_objext \
24211     conftest$ac_exeext conftest.$ac_ext
24212 LIBS=$ac_check_lib_save_LIBS
24213 fi
24214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xfixes_XFixesExpandRegion" >&5
24215 $as_echo "$ac_cv_lib_Xfixes_XFixesExpandRegion" >&6; }
24216 if test "x$ac_cv_lib_Xfixes_XFixesExpandRegion" = xyes; then :
24217
24218
24219 $as_echo "#define ECORE_XFIXES 1" >>confdefs.h
24220
24221         XFIXES_LIBS="-lXfixes"
24222         use_xfixes="yes"
24223
24224 else
24225    use_xfixes="no"
24226 fi
24227
24228
24229 else
24230    use_xfixes="no"
24231 fi
24232
24233
24234   CFLAGS=$SAVE_CFLAGS
24235 else
24236   use_xfixes="no"
24237   { $as_echo "$as_me:${as_lineno-$LINENO}: Xfixes support disabled" >&5
24238 $as_echo "$as_me: Xfixes support disabled" >&6;}
24239 fi
24240
24241
24242
24243
24244
24245
24246
24247
24248
24249 XINERAMA_CFLAGS=""
24250 XINERAMA_LIBS=""
24251 use_xinerama="no"
24252
24253 if test "x$want_ecore_x_xinerama" != "xno"; then
24254   SAVE_CFLAGS=$CFLAGS
24255   CFLAGS="$x_cflags $x_includes"
24256   ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" " #include <X11/Xlib.h>
24257
24258 "
24259 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes; then :
24260
24261      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
24262 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
24263 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
24264   $as_echo_n "(cached) " >&6
24265 else
24266   ac_check_lib_save_LIBS=$LIBS
24267 LIBS="-lXinerama  $x_libs
24268       $LIBS"
24269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24270 /* end confdefs.h.  */
24271
24272 /* Override any GCC internal prototype to avoid an error.
24273    Use char because int might match the return type of a GCC
24274    builtin and then its argument prototype would still apply.  */
24275 #ifdef __cplusplus
24276 extern "C"
24277 #endif
24278 char XineramaQueryScreens ();
24279 int
24280 main ()
24281 {
24282 return XineramaQueryScreens ();
24283   ;
24284   return 0;
24285 }
24286 _ACEOF
24287 if ac_fn_c_try_link "$LINENO"; then :
24288   ac_cv_lib_Xinerama_XineramaQueryScreens=yes
24289 else
24290   ac_cv_lib_Xinerama_XineramaQueryScreens=no
24291 fi
24292 rm -f core conftest.err conftest.$ac_objext \
24293     conftest$ac_exeext conftest.$ac_ext
24294 LIBS=$ac_check_lib_save_LIBS
24295 fi
24296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
24297 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
24298 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
24299
24300
24301 $as_echo "#define ECORE_XINERAMA 1" >>confdefs.h
24302
24303         XINERAMA_LIBS="-lXinerama"
24304         use_xinerama="yes"
24305
24306 else
24307    use_xinerama="no"
24308 fi
24309
24310
24311 else
24312    use_xinerama="no"
24313 fi
24314
24315
24316   CFLAGS=$SAVE_CFLAGS
24317 else
24318   use_xinerama="no"
24319   { $as_echo "$as_me:${as_lineno-$LINENO}: Xinerama support disabled" >&5
24320 $as_echo "$as_me: Xinerama support disabled" >&6;}
24321 fi
24322
24323
24324
24325
24326
24327
24328
24329
24330
24331 XPRINT_CFLAGS=""
24332 XPRINT_LIBS=""
24333 use_xprint="no"
24334
24335 if test "x$want_ecore_x_xprint" != "xno"; then
24336   SAVE_CFLAGS=$CFLAGS
24337   CFLAGS="$x_cflags $x_includes"
24338   ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Print.h" "ac_cv_header_X11_extensions_Print_h" " #include <X11/Xlib.h>
24339
24340 "
24341 if test "x$ac_cv_header_X11_extensions_Print_h" = xyes; then :
24342
24343      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpQueryScreens in -lXp" >&5
24344 $as_echo_n "checking for XpQueryScreens in -lXp... " >&6; }
24345 if ${ac_cv_lib_Xp_XpQueryScreens+:} false; then :
24346   $as_echo_n "(cached) " >&6
24347 else
24348   ac_check_lib_save_LIBS=$LIBS
24349 LIBS="-lXp  $x_libs
24350       $LIBS"
24351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24352 /* end confdefs.h.  */
24353
24354 /* Override any GCC internal prototype to avoid an error.
24355    Use char because int might match the return type of a GCC
24356    builtin and then its argument prototype would still apply.  */
24357 #ifdef __cplusplus
24358 extern "C"
24359 #endif
24360 char XpQueryScreens ();
24361 int
24362 main ()
24363 {
24364 return XpQueryScreens ();
24365   ;
24366   return 0;
24367 }
24368 _ACEOF
24369 if ac_fn_c_try_link "$LINENO"; then :
24370   ac_cv_lib_Xp_XpQueryScreens=yes
24371 else
24372   ac_cv_lib_Xp_XpQueryScreens=no
24373 fi
24374 rm -f core conftest.err conftest.$ac_objext \
24375     conftest$ac_exeext conftest.$ac_ext
24376 LIBS=$ac_check_lib_save_LIBS
24377 fi
24378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpQueryScreens" >&5
24379 $as_echo "$ac_cv_lib_Xp_XpQueryScreens" >&6; }
24380 if test "x$ac_cv_lib_Xp_XpQueryScreens" = xyes; then :
24381
24382
24383 $as_echo "#define ECORE_XPRINT 1" >>confdefs.h
24384
24385         XPRINT_LIBS="-lXp"
24386         use_xprint="yes"
24387
24388 else
24389    use_xprint="no"
24390 fi
24391
24392
24393 else
24394    use_xprint="no"
24395 fi
24396
24397
24398   CFLAGS=$SAVE_CFLAGS
24399 else
24400   use_xprint="no"
24401   { $as_echo "$as_me:${as_lineno-$LINENO}: Xprint support disabled" >&5
24402 $as_echo "$as_me: Xprint support disabled" >&6;}
24403 fi
24404
24405
24406
24407
24408
24409
24410
24411
24412
24413 XRANDR_CFLAGS=""
24414 XRANDR_LIBS=""
24415 use_xrandr="no"
24416
24417 if test "x$want_ecore_x_randr" != "xno"; then
24418   SAVE_CFLAGS=$CFLAGS
24419   CFLAGS="$x_cflags $x_includes"
24420   ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" " #include <X11/Xlib.h>
24421
24422 "
24423 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes; then :
24424
24425      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRRGetScreenResourcesCurrent in -lXrandr" >&5
24426 $as_echo_n "checking for XRRGetScreenResourcesCurrent in -lXrandr... " >&6; }
24427 if ${ac_cv_lib_Xrandr_XRRGetScreenResourcesCurrent+:} false; then :
24428   $as_echo_n "(cached) " >&6
24429 else
24430   ac_check_lib_save_LIBS=$LIBS
24431 LIBS="-lXrandr  $x_libs
24432       $LIBS"
24433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24434 /* end confdefs.h.  */
24435
24436 /* Override any GCC internal prototype to avoid an error.
24437    Use char because int might match the return type of a GCC
24438    builtin and then its argument prototype would still apply.  */
24439 #ifdef __cplusplus
24440 extern "C"
24441 #endif
24442 char XRRGetScreenResourcesCurrent ();
24443 int
24444 main ()
24445 {
24446 return XRRGetScreenResourcesCurrent ();
24447   ;
24448   return 0;
24449 }
24450 _ACEOF
24451 if ac_fn_c_try_link "$LINENO"; then :
24452   ac_cv_lib_Xrandr_XRRGetScreenResourcesCurrent=yes
24453 else
24454   ac_cv_lib_Xrandr_XRRGetScreenResourcesCurrent=no
24455 fi
24456 rm -f core conftest.err conftest.$ac_objext \
24457     conftest$ac_exeext conftest.$ac_ext
24458 LIBS=$ac_check_lib_save_LIBS
24459 fi
24460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrandr_XRRGetScreenResourcesCurrent" >&5
24461 $as_echo "$ac_cv_lib_Xrandr_XRRGetScreenResourcesCurrent" >&6; }
24462 if test "x$ac_cv_lib_Xrandr_XRRGetScreenResourcesCurrent" = xyes; then :
24463
24464
24465 $as_echo "#define ECORE_XRANDR 1" >>confdefs.h
24466
24467         XRANDR_LIBS="-lXrandr"
24468         use_xrandr="yes"
24469
24470 else
24471    use_xrandr="no"
24472 fi
24473
24474
24475 else
24476    use_xrandr="no"
24477 fi
24478
24479
24480   CFLAGS=$SAVE_CFLAGS
24481 else
24482   use_xrandr="no"
24483   { $as_echo "$as_me:${as_lineno-$LINENO}: Xrandr support disabled" >&5
24484 $as_echo "$as_me: Xrandr support disabled" >&6;}
24485 fi
24486
24487
24488
24489
24490
24491
24492
24493
24494
24495 XGESTURE_CFLAGS=""
24496 XGESTURE_LIBS=""
24497 use_xgesture="no"
24498
24499 if test "x$want_ecore_x_gesture" != "xno"; then
24500   SAVE_CFLAGS=$CFLAGS
24501   CFLAGS="$x_cflags $x_includes"
24502   ac_fn_c_check_header_compile "$LINENO" "X11/extensions/gesture.h" "ac_cv_header_X11_extensions_gesture_h" " #include <X11/Xlib.h>
24503
24504 "
24505 if test "x$ac_cv_header_X11_extensions_gesture_h" = xyes; then :
24506
24507      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XGestureQueryExtension in -lXgesture" >&5
24508 $as_echo_n "checking for XGestureQueryExtension in -lXgesture... " >&6; }
24509 if ${ac_cv_lib_Xgesture_XGestureQueryExtension+:} false; then :
24510   $as_echo_n "(cached) " >&6
24511 else
24512   ac_check_lib_save_LIBS=$LIBS
24513 LIBS="-lXgesture  $x_libs
24514       $LIBS"
24515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24516 /* end confdefs.h.  */
24517
24518 /* Override any GCC internal prototype to avoid an error.
24519    Use char because int might match the return type of a GCC
24520    builtin and then its argument prototype would still apply.  */
24521 #ifdef __cplusplus
24522 extern "C"
24523 #endif
24524 char XGestureQueryExtension ();
24525 int
24526 main ()
24527 {
24528 return XGestureQueryExtension ();
24529   ;
24530   return 0;
24531 }
24532 _ACEOF
24533 if ac_fn_c_try_link "$LINENO"; then :
24534   ac_cv_lib_Xgesture_XGestureQueryExtension=yes
24535 else
24536   ac_cv_lib_Xgesture_XGestureQueryExtension=no
24537 fi
24538 rm -f core conftest.err conftest.$ac_objext \
24539     conftest$ac_exeext conftest.$ac_ext
24540 LIBS=$ac_check_lib_save_LIBS
24541 fi
24542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xgesture_XGestureQueryExtension" >&5
24543 $as_echo "$ac_cv_lib_Xgesture_XGestureQueryExtension" >&6; }
24544 if test "x$ac_cv_lib_Xgesture_XGestureQueryExtension" = xyes; then :
24545
24546
24547 $as_echo "#define ECORE_XGESTURE 1" >>confdefs.h
24548
24549         XGESTURE_LIBS="-lXgesture"
24550         use_xgesture="yes"
24551
24552 else
24553    use_xgesture="no"
24554 fi
24555
24556
24557 else
24558    use_xgesture="no"
24559 fi
24560
24561
24562   CFLAGS=$SAVE_CFLAGS
24563 else
24564   use_xgesture="no"
24565   { $as_echo "$as_me:${as_lineno-$LINENO}: Xgesture support disabled" >&5
24566 $as_echo "$as_me: Xgesture support disabled" >&6;}
24567 fi
24568
24569
24570
24571
24572
24573
24574
24575
24576
24577 XRENDER_CFLAGS=""
24578 XRENDER_LIBS=""
24579 use_xrender="no"
24580
24581 if test "x$want_ecore_x_render" != "xno"; then
24582   SAVE_CFLAGS=$CFLAGS
24583   CFLAGS="$x_cflags $x_includes"
24584   ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" " #include <X11/Xlib.h>
24585
24586 "
24587 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes; then :
24588
24589      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderFindVisualFormat in -lXrender" >&5
24590 $as_echo_n "checking for XRenderFindVisualFormat in -lXrender... " >&6; }
24591 if ${ac_cv_lib_Xrender_XRenderFindVisualFormat+:} false; then :
24592   $as_echo_n "(cached) " >&6
24593 else
24594   ac_check_lib_save_LIBS=$LIBS
24595 LIBS="-lXrender  $x_libs
24596       $LIBS"
24597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24598 /* end confdefs.h.  */
24599
24600 /* Override any GCC internal prototype to avoid an error.
24601    Use char because int might match the return type of a GCC
24602    builtin and then its argument prototype would still apply.  */
24603 #ifdef __cplusplus
24604 extern "C"
24605 #endif
24606 char XRenderFindVisualFormat ();
24607 int
24608 main ()
24609 {
24610 return XRenderFindVisualFormat ();
24611   ;
24612   return 0;
24613 }
24614 _ACEOF
24615 if ac_fn_c_try_link "$LINENO"; then :
24616   ac_cv_lib_Xrender_XRenderFindVisualFormat=yes
24617 else
24618   ac_cv_lib_Xrender_XRenderFindVisualFormat=no
24619 fi
24620 rm -f core conftest.err conftest.$ac_objext \
24621     conftest$ac_exeext conftest.$ac_ext
24622 LIBS=$ac_check_lib_save_LIBS
24623 fi
24624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderFindVisualFormat" >&5
24625 $as_echo "$ac_cv_lib_Xrender_XRenderFindVisualFormat" >&6; }
24626 if test "x$ac_cv_lib_Xrender_XRenderFindVisualFormat" = xyes; then :
24627
24628
24629 $as_echo "#define ECORE_XRENDER 1" >>confdefs.h
24630
24631         XRENDER_LIBS="-lXrender"
24632         use_xrender="yes"
24633
24634 else
24635    use_xrender="no"
24636 fi
24637
24638
24639 else
24640    use_xrender="no"
24641 fi
24642
24643
24644   CFLAGS=$SAVE_CFLAGS
24645 else
24646   use_xrender="no"
24647   { $as_echo "$as_me:${as_lineno-$LINENO}: Xrender support disabled" >&5
24648 $as_echo "$as_me: Xrender support disabled" >&6;}
24649 fi
24650
24651
24652
24653
24654
24655
24656
24657
24658
24659 XTEST_CFLAGS=""
24660 XTEST_LIBS=""
24661 use_xtest="no"
24662
24663 if test "x$want_ecore_x_xtest" != "xno"; then
24664   SAVE_CFLAGS=$CFLAGS
24665   CFLAGS="$x_cflags $x_includes"
24666   ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XTest.h" "ac_cv_header_X11_extensions_XTest_h" " #include <X11/Xlib.h>
24667
24668 "
24669 if test "x$ac_cv_header_X11_extensions_XTest_h" = xyes; then :
24670
24671      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestFakeKeyEvent in -lXtst" >&5
24672 $as_echo_n "checking for XTestFakeKeyEvent in -lXtst... " >&6; }
24673 if ${ac_cv_lib_Xtst_XTestFakeKeyEvent+:} false; then :
24674   $as_echo_n "(cached) " >&6
24675 else
24676   ac_check_lib_save_LIBS=$LIBS
24677 LIBS="-lXtst  $x_libs
24678       $LIBS"
24679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24680 /* end confdefs.h.  */
24681
24682 /* Override any GCC internal prototype to avoid an error.
24683    Use char because int might match the return type of a GCC
24684    builtin and then its argument prototype would still apply.  */
24685 #ifdef __cplusplus
24686 extern "C"
24687 #endif
24688 char XTestFakeKeyEvent ();
24689 int
24690 main ()
24691 {
24692 return XTestFakeKeyEvent ();
24693   ;
24694   return 0;
24695 }
24696 _ACEOF
24697 if ac_fn_c_try_link "$LINENO"; then :
24698   ac_cv_lib_Xtst_XTestFakeKeyEvent=yes
24699 else
24700   ac_cv_lib_Xtst_XTestFakeKeyEvent=no
24701 fi
24702 rm -f core conftest.err conftest.$ac_objext \
24703     conftest$ac_exeext conftest.$ac_ext
24704 LIBS=$ac_check_lib_save_LIBS
24705 fi
24706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestFakeKeyEvent" >&5
24707 $as_echo "$ac_cv_lib_Xtst_XTestFakeKeyEvent" >&6; }
24708 if test "x$ac_cv_lib_Xtst_XTestFakeKeyEvent" = xyes; then :
24709
24710
24711 $as_echo "#define ECORE_XTEST 1" >>confdefs.h
24712
24713         XTEST_LIBS="-lXtst"
24714         use_xtest="yes"
24715
24716 else
24717    use_xtest="no"
24718 fi
24719
24720
24721 else
24722    use_xtest="no"
24723 fi
24724
24725
24726   CFLAGS=$SAVE_CFLAGS
24727 else
24728   use_xtest="no"
24729   { $as_echo "$as_me:${as_lineno-$LINENO}: Xtest support disabled" >&5
24730 $as_echo "$as_me: Xtest support disabled" >&6;}
24731 fi
24732
24733
24734
24735
24736
24737
24738
24739
24740
24741 XSS_CFLAGS=""
24742 XSS_LIBS=""
24743 use_xss="no"
24744
24745 if test "x$want_ecore_x_screensaver" != "xno"; then
24746   SAVE_CFLAGS=$CFLAGS
24747   CFLAGS="$x_cflags $x_includes"
24748   ac_fn_c_check_header_compile "$LINENO" "X11/extensions/scrnsaver.h" "ac_cv_header_X11_extensions_scrnsaver_h" " #include <X11/Xlib.h>
24749
24750 "
24751 if test "x$ac_cv_header_X11_extensions_scrnsaver_h" = xyes; then :
24752
24753      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XScreenSaverSelectInput in -lXss" >&5
24754 $as_echo_n "checking for XScreenSaverSelectInput in -lXss... " >&6; }
24755 if ${ac_cv_lib_Xss_XScreenSaverSelectInput+:} false; then :
24756   $as_echo_n "(cached) " >&6
24757 else
24758   ac_check_lib_save_LIBS=$LIBS
24759 LIBS="-lXss  $x_libs
24760       $LIBS"
24761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24762 /* end confdefs.h.  */
24763
24764 /* Override any GCC internal prototype to avoid an error.
24765    Use char because int might match the return type of a GCC
24766    builtin and then its argument prototype would still apply.  */
24767 #ifdef __cplusplus
24768 extern "C"
24769 #endif
24770 char XScreenSaverSelectInput ();
24771 int
24772 main ()
24773 {
24774 return XScreenSaverSelectInput ();
24775   ;
24776   return 0;
24777 }
24778 _ACEOF
24779 if ac_fn_c_try_link "$LINENO"; then :
24780   ac_cv_lib_Xss_XScreenSaverSelectInput=yes
24781 else
24782   ac_cv_lib_Xss_XScreenSaverSelectInput=no
24783 fi
24784 rm -f core conftest.err conftest.$ac_objext \
24785     conftest$ac_exeext conftest.$ac_ext
24786 LIBS=$ac_check_lib_save_LIBS
24787 fi
24788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xss_XScreenSaverSelectInput" >&5
24789 $as_echo "$ac_cv_lib_Xss_XScreenSaverSelectInput" >&6; }
24790 if test "x$ac_cv_lib_Xss_XScreenSaverSelectInput" = xyes; then :
24791
24792
24793 $as_echo "#define ECORE_XSS 1" >>confdefs.h
24794
24795         XSS_LIBS="-lXss"
24796         use_xss="yes"
24797
24798 else
24799    use_xss="no"
24800 fi
24801
24802
24803 else
24804    use_xss="no"
24805 fi
24806
24807
24808   CFLAGS=$SAVE_CFLAGS
24809 else
24810   use_xss="no"
24811   { $as_echo "$as_me:${as_lineno-$LINENO}: Xss support disabled" >&5
24812 $as_echo "$as_me: Xss support disabled" >&6;}
24813 fi
24814
24815
24816
24817
24818
24819
24820
24821
24822
24823 XI2_CFLAGS=""
24824 XI2_LIBS=""
24825 use_xi2="no"
24826
24827 if test "x$want_ecore_x_input" != "xno"; then
24828   SAVE_CFLAGS=$CFLAGS
24829   CFLAGS="$x_cflags $x_includes"
24830   ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" " #include <X11/Xlib.h>
24831
24832 "
24833 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes; then :
24834
24835      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XIQueryDevice in -lXi" >&5
24836 $as_echo_n "checking for XIQueryDevice in -lXi... " >&6; }
24837 if ${ac_cv_lib_Xi_XIQueryDevice+:} false; then :
24838   $as_echo_n "(cached) " >&6
24839 else
24840   ac_check_lib_save_LIBS=$LIBS
24841 LIBS="-lXi  $x_libs
24842       $LIBS"
24843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24844 /* end confdefs.h.  */
24845
24846 /* Override any GCC internal prototype to avoid an error.
24847    Use char because int might match the return type of a GCC
24848    builtin and then its argument prototype would still apply.  */
24849 #ifdef __cplusplus
24850 extern "C"
24851 #endif
24852 char XIQueryDevice ();
24853 int
24854 main ()
24855 {
24856 return XIQueryDevice ();
24857   ;
24858   return 0;
24859 }
24860 _ACEOF
24861 if ac_fn_c_try_link "$LINENO"; then :
24862   ac_cv_lib_Xi_XIQueryDevice=yes
24863 else
24864   ac_cv_lib_Xi_XIQueryDevice=no
24865 fi
24866 rm -f core conftest.err conftest.$ac_objext \
24867     conftest$ac_exeext conftest.$ac_ext
24868 LIBS=$ac_check_lib_save_LIBS
24869 fi
24870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xi_XIQueryDevice" >&5
24871 $as_echo "$ac_cv_lib_Xi_XIQueryDevice" >&6; }
24872 if test "x$ac_cv_lib_Xi_XIQueryDevice" = xyes; then :
24873
24874
24875 $as_echo "#define ECORE_XI2 1" >>confdefs.h
24876
24877         XI2_LIBS="-lXi"
24878         use_xi2="yes"
24879
24880 else
24881    use_xi2="no"
24882 fi
24883
24884
24885 else
24886    use_xi2="no"
24887 fi
24888
24889
24890   CFLAGS=$SAVE_CFLAGS
24891 else
24892   use_xi2="no"
24893   { $as_echo "$as_me:${as_lineno-$LINENO}: Xi2 support disabled" >&5
24894 $as_echo "$as_me: Xi2 support disabled" >&6;}
24895 fi
24896
24897
24898
24899
24900
24901
24902
24903
24904     ecore_x_libs_private="${Xcursor_libs} ${XKB_LIBS} ${XCOMPOSITE_LIBS} ${XGESTURE_LIBS} ${XDAMAGE_LIBS} ${XDPMS_LIBS} ${XFIXES_LIBS} ${XINERAMA_LIBS} ${XPRINT_LIBS} ${XRANDR_LIBS} ${XRENDER_LIBS} ${XTEST_LIBS} ${XSS_LIBS} ${XI2_LIBS}"
24905
24906
24907 $as_echo "#define HAVE_ECORE_X_XLIB 1" >>confdefs.h
24908
24909     have_x="yes"
24910
24911     have_ecore_x_xlib="yes"
24912   fi
24913 fi
24914
24915
24916
24917
24918
24919
24920  if test $have_ecore_x_xlib = yes; then
24921   BUILD_ECORE_X_XLIB_TRUE=
24922   BUILD_ECORE_X_XLIB_FALSE='#'
24923 else
24924   BUILD_ECORE_X_XLIB_TRUE='#'
24925   BUILD_ECORE_X_XLIB_FALSE=
24926 fi
24927
24928  if test $have_ecore_x_xcb = yes; then
24929   BUILD_ECORE_X_XCB_TRUE=
24930   BUILD_ECORE_X_XCB_FALSE='#'
24931 else
24932   BUILD_ECORE_X_XCB_TRUE='#'
24933   BUILD_ECORE_X_XCB_FALSE=
24934 fi
24935
24936
24937
24938 # Evas library (ecore_config, ecore_input_evas, ecore_imf_evas and ecore_evas)
24939
24940
24941 pkg_failed=no
24942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVAS" >&5
24943 $as_echo_n "checking for EVAS... " >&6; }
24944
24945 if test -n "$EVAS_CFLAGS"; then
24946     pkg_cv_EVAS_CFLAGS="$EVAS_CFLAGS"
24947  elif test -n "$PKG_CONFIG"; then
24948     if test -n "$PKG_CONFIG" && \
24949     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.7.8\""; } >&5
24950   ($PKG_CONFIG --exists --print-errors "evas >= 1.7.8") 2>&5
24951   ac_status=$?
24952   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24953   test $ac_status = 0; }; then
24954   pkg_cv_EVAS_CFLAGS=`$PKG_CONFIG --cflags "evas >= 1.7.8" 2>/dev/null`
24955                       test "x$?" != "x0" && pkg_failed=yes
24956 else
24957   pkg_failed=yes
24958 fi
24959  else
24960     pkg_failed=untried
24961 fi
24962 if test -n "$EVAS_LIBS"; then
24963     pkg_cv_EVAS_LIBS="$EVAS_LIBS"
24964  elif test -n "$PKG_CONFIG"; then
24965     if test -n "$PKG_CONFIG" && \
24966     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.7.8\""; } >&5
24967   ($PKG_CONFIG --exists --print-errors "evas >= 1.7.8") 2>&5
24968   ac_status=$?
24969   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24970   test $ac_status = 0; }; then
24971   pkg_cv_EVAS_LIBS=`$PKG_CONFIG --libs "evas >= 1.7.8" 2>/dev/null`
24972                       test "x$?" != "x0" && pkg_failed=yes
24973 else
24974   pkg_failed=yes
24975 fi
24976  else
24977     pkg_failed=untried
24978 fi
24979
24980
24981
24982 if test $pkg_failed = yes; then
24983         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24984 $as_echo "no" >&6; }
24985
24986 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24987         _pkg_short_errors_supported=yes
24988 else
24989         _pkg_short_errors_supported=no
24990 fi
24991         if test $_pkg_short_errors_supported = yes; then
24992                 EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evas >= 1.7.8" 2>&1`
24993         else
24994                 EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evas >= 1.7.8" 2>&1`
24995         fi
24996         # Put the nasty error message in config.log where it belongs
24997         echo "$EVAS_PKG_ERRORS" >&5
24998
24999         have_evas="no"
25000 elif test $pkg_failed = untried; then
25001         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25002 $as_echo "no" >&6; }
25003         have_evas="no"
25004 else
25005         EVAS_CFLAGS=$pkg_cv_EVAS_CFLAGS
25006         EVAS_LIBS=$pkg_cv_EVAS_LIBS
25007         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25008 $as_echo "yes" >&6; }
25009         have_evas="yes"
25010 fi
25011
25012
25013 ### Checks for header files
25014
25015 for ac_header in sys/select.h sys/prctl.h
25016 do :
25017   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25018 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25019 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
25020   cat >>confdefs.h <<_ACEOF
25021 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25022 _ACEOF
25023
25024 fi
25025
25026 done
25027
25028
25029
25030
25031 default_max="4096"
25032 ac_ext=c
25033 ac_cpp='$CPP $CPPFLAGS'
25034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25037
25038
25039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
25040 $as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
25041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25042 /* end confdefs.h.  */
25043
25044 #include <limits.h>
25045
25046 int
25047 main ()
25048 {
25049
25050 int i = PATH_MAX;
25051
25052   ;
25053   return 0;
25054 }
25055 _ACEOF
25056 if ac_fn_c_try_compile "$LINENO"; then :
25057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25058 $as_echo "yes" >&6; }
25059 else
25060
25061
25062 cat >>confdefs.h <<_ACEOF
25063 #define PATH_MAX ${default_max}
25064 _ACEOF
25065
25066     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
25067 $as_echo "no: using ${default_max}" >&6; }
25068
25069 fi
25070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25071
25072 ac_ext=c
25073 ac_cpp='$CPP $CPPFLAGS'
25074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25077
25078
25079
25080
25081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
25082 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
25083 if ${ac_cv_header_sys_wait_h+:} false; then :
25084   $as_echo_n "(cached) " >&6
25085 else
25086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25087 /* end confdefs.h.  */
25088 #include <sys/types.h>
25089 #include <sys/wait.h>
25090 #ifndef WEXITSTATUS
25091 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
25092 #endif
25093 #ifndef WIFEXITED
25094 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
25095 #endif
25096
25097 int
25098 main ()
25099 {
25100   int s;
25101   wait (&s);
25102   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
25103   ;
25104   return 0;
25105 }
25106 _ACEOF
25107 if ac_fn_c_try_compile "$LINENO"; then :
25108   ac_cv_header_sys_wait_h=yes
25109 else
25110   ac_cv_header_sys_wait_h=no
25111 fi
25112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25113 fi
25114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
25115 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
25116 if test $ac_cv_header_sys_wait_h = yes; then
25117
25118 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
25119
25120 fi
25121
25122 # Check whether --enable-largefile was given.
25123 if test "${enable_largefile+set}" = set; then :
25124   enableval=$enable_largefile;
25125 fi
25126
25127 if test "$enable_largefile" != no; then
25128
25129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
25130 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
25131 if ${ac_cv_sys_largefile_CC+:} false; then :
25132   $as_echo_n "(cached) " >&6
25133 else
25134   ac_cv_sys_largefile_CC=no
25135      if test "$GCC" != yes; then
25136        ac_save_CC=$CC
25137        while :; do
25138          # IRIX 6.2 and later do not support large files by default,
25139          # so use the C compiler's -n32 option if that helps.
25140          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25141 /* end confdefs.h.  */
25142 #include <sys/types.h>
25143  /* Check that off_t can represent 2**63 - 1 correctly.
25144     We can't simply define LARGE_OFF_T to be 9223372036854775807,
25145     since some C++ compilers masquerading as C compilers
25146     incorrectly reject 9223372036854775807.  */
25147 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
25148   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
25149                        && LARGE_OFF_T % 2147483647 == 1)
25150                       ? 1 : -1];
25151 int
25152 main ()
25153 {
25154
25155   ;
25156   return 0;
25157 }
25158 _ACEOF
25159          if ac_fn_c_try_compile "$LINENO"; then :
25160   break
25161 fi
25162 rm -f core conftest.err conftest.$ac_objext
25163          CC="$CC -n32"
25164          if ac_fn_c_try_compile "$LINENO"; then :
25165   ac_cv_sys_largefile_CC=' -n32'; break
25166 fi
25167 rm -f core conftest.err conftest.$ac_objext
25168          break
25169        done
25170        CC=$ac_save_CC
25171        rm -f conftest.$ac_ext
25172     fi
25173 fi
25174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
25175 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
25176   if test "$ac_cv_sys_largefile_CC" != no; then
25177     CC=$CC$ac_cv_sys_largefile_CC
25178   fi
25179
25180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25181 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
25182 if ${ac_cv_sys_file_offset_bits+:} false; then :
25183   $as_echo_n "(cached) " >&6
25184 else
25185   while :; do
25186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25187 /* end confdefs.h.  */
25188 #include <sys/types.h>
25189  /* Check that off_t can represent 2**63 - 1 correctly.
25190     We can't simply define LARGE_OFF_T to be 9223372036854775807,
25191     since some C++ compilers masquerading as C compilers
25192     incorrectly reject 9223372036854775807.  */
25193 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
25194   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
25195                        && LARGE_OFF_T % 2147483647 == 1)
25196                       ? 1 : -1];
25197 int
25198 main ()
25199 {
25200
25201   ;
25202   return 0;
25203 }
25204 _ACEOF
25205 if ac_fn_c_try_compile "$LINENO"; then :
25206   ac_cv_sys_file_offset_bits=no; break
25207 fi
25208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25210 /* end confdefs.h.  */
25211 #define _FILE_OFFSET_BITS 64
25212 #include <sys/types.h>
25213  /* Check that off_t can represent 2**63 - 1 correctly.
25214     We can't simply define LARGE_OFF_T to be 9223372036854775807,
25215     since some C++ compilers masquerading as C compilers
25216     incorrectly reject 9223372036854775807.  */
25217 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
25218   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
25219                        && LARGE_OFF_T % 2147483647 == 1)
25220                       ? 1 : -1];
25221 int
25222 main ()
25223 {
25224
25225   ;
25226   return 0;
25227 }
25228 _ACEOF
25229 if ac_fn_c_try_compile "$LINENO"; then :
25230   ac_cv_sys_file_offset_bits=64; break
25231 fi
25232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25233   ac_cv_sys_file_offset_bits=unknown
25234   break
25235 done
25236 fi
25237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
25238 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
25239 case $ac_cv_sys_file_offset_bits in #(
25240   no | unknown) ;;
25241   *)
25242 cat >>confdefs.h <<_ACEOF
25243 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25244 _ACEOF
25245 ;;
25246 esac
25247 rm -rf conftest*
25248   if test $ac_cv_sys_file_offset_bits = unknown; then
25249     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
25250 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
25251 if ${ac_cv_sys_large_files+:} false; then :
25252   $as_echo_n "(cached) " >&6
25253 else
25254   while :; do
25255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25256 /* end confdefs.h.  */
25257 #include <sys/types.h>
25258  /* Check that off_t can represent 2**63 - 1 correctly.
25259     We can't simply define LARGE_OFF_T to be 9223372036854775807,
25260     since some C++ compilers masquerading as C compilers
25261     incorrectly reject 9223372036854775807.  */
25262 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
25263   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
25264                        && LARGE_OFF_T % 2147483647 == 1)
25265                       ? 1 : -1];
25266 int
25267 main ()
25268 {
25269
25270   ;
25271   return 0;
25272 }
25273 _ACEOF
25274 if ac_fn_c_try_compile "$LINENO"; then :
25275   ac_cv_sys_large_files=no; break
25276 fi
25277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25279 /* end confdefs.h.  */
25280 #define _LARGE_FILES 1
25281 #include <sys/types.h>
25282  /* Check that off_t can represent 2**63 - 1 correctly.
25283     We can't simply define LARGE_OFF_T to be 9223372036854775807,
25284     since some C++ compilers masquerading as C compilers
25285     incorrectly reject 9223372036854775807.  */
25286 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
25287   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
25288                        && LARGE_OFF_T % 2147483647 == 1)
25289                       ? 1 : -1];
25290 int
25291 main ()
25292 {
25293
25294   ;
25295   return 0;
25296 }
25297 _ACEOF
25298 if ac_fn_c_try_compile "$LINENO"; then :
25299   ac_cv_sys_large_files=1; break
25300 fi
25301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25302   ac_cv_sys_large_files=unknown
25303   break
25304 done
25305 fi
25306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
25307 $as_echo "$ac_cv_sys_large_files" >&6; }
25308 case $ac_cv_sys_large_files in #(
25309   no | unknown) ;;
25310   *)
25311 cat >>confdefs.h <<_ACEOF
25312 #define _LARGE_FILES $ac_cv_sys_large_files
25313 _ACEOF
25314 ;;
25315 esac
25316 rm -rf conftest*
25317   fi
25318
25319
25320 fi
25321
25322
25323 have_addrinfo="no"
25324 case "$host_os" in
25325    mingw* | cegcc*)
25326
25327 $as_echo "#define HAVE_DLFCN_H 1" >>confdefs.h
25328
25329
25330 $as_echo "#define HAVE_SYS_MMAN_H 1" >>confdefs.h
25331
25332
25333 $as_echo "#define HAVE_SYS_TIME_H 1" >>confdefs.h
25334
25335       have_addrinfo="yes"
25336       ;;
25337    *)
25338       for ac_header in dlfcn.h features.h langinfo.h locale.h sys/time.h sys/mman.h signal.h sys/resource.h
25339 do :
25340   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25341 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25342 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
25343   cat >>confdefs.h <<_ACEOF
25344 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25345 _ACEOF
25346
25347 fi
25348
25349 done
25350
25351       ;;
25352 esac
25353
25354 # ecore_con
25355
25356 for ac_header in sys/socket.h
25357 do :
25358   ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
25359 if test "x$ac_cv_header_sys_socket_h" = xyes; then :
25360   cat >>confdefs.h <<_ACEOF
25361 #define HAVE_SYS_SOCKET_H 1
25362 _ACEOF
25363
25364 fi
25365
25366 done
25367
25368 for ac_header in net/if.h
25369 do :
25370   ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "
25371 #include <stdio.h>
25372 #ifdef STDC_HEADERS
25373 # include <stdlib.h>
25374 # include <stddef.h>
25375 #else
25376 # ifdef HAVE_STDLIB_H
25377 #  include <stdlib.h>
25378 # endif
25379 #endif
25380 #ifdef HAVE_SYS_SOCKET_H
25381 # include <sys/socket.h>
25382 #endif
25383
25384 "
25385 if test "x$ac_cv_header_net_if_h" = xyes; then :
25386   cat >>confdefs.h <<_ACEOF
25387 #define HAVE_NET_IF_H 1
25388 _ACEOF
25389
25390 fi
25391
25392 done
25393
25394 for ac_header in sys/un.h
25395 do :
25396   ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "
25397 #include <stdio.h>
25398 #ifdef STDC_HEADERS
25399 # include <stdlib.h>
25400 # include <stddef.h>
25401 #else
25402 # ifdef HAVE_STDLIB_H
25403 #  include <stdlib.h>
25404 # endif
25405 #endif
25406 #ifdef HAVE_SYS_SOCKET_H
25407 # include <sys/socket.h>
25408 #endif
25409
25410 "
25411 if test "x$ac_cv_header_sys_un_h" = xyes; then :
25412   cat >>confdefs.h <<_ACEOF
25413 #define HAVE_SYS_UN_H 1
25414 _ACEOF
25415
25416 fi
25417
25418 done
25419
25420 for ac_header in arpa/inet.h arpa/nameser.h netinet/tcp.h netinet/in.h ws2tcpip.h netdb.h errno.h
25421 do :
25422   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25423 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25424 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
25425   cat >>confdefs.h <<_ACEOF
25426 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25427 _ACEOF
25428
25429 fi
25430
25431 done
25432
25433
25434 if test "x${ac_cv_header_netdb_h}" = "xyes" ; then
25435    have_addrinfo="yes"
25436 fi
25437
25438 # Framebuffer (ecore_fb)
25439 have_fb="no"
25440 ac_fn_c_check_header_mongrel "$LINENO" "linux/fb.h" "ac_cv_header_linux_fb_h" "$ac_includes_default"
25441 if test "x$ac_cv_header_linux_fb_h" = xyes; then :
25442   ac_fn_c_check_header_mongrel "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
25443 if test "x$ac_cv_header_linux_input_h" = xyes; then :
25444   have_fb="yes"
25445 fi
25446
25447
25448 fi
25449
25450
25451
25452 # Cocoa header files (ecore_cocoa)
25453
25454 if test "x${want_ecore_cocoa}" = "xyes" ; then
25455    cocoa_ldflags=""
25456    have_cocoa="no"
25457
25458        if test "x${have_gnu_objc}" = "xyes" ; then
25459           ac_ext=m
25460 ac_cpp='$OBJCPP $CPPFLAGS'
25461 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25462 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25463 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
25464
25465           LIBS_save="$LIBS"
25466           LIBS="$LIBS -framework Cocoa"
25467
25468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25469 /* end confdefs.h.  */
25470
25471 #include <Cocoa/Cocoa.h>
25472
25473 int
25474 main ()
25475 {
25476
25477 NSWindow *window;
25478 window = [[NSWindow alloc]
25479            initWithContentRect:NSMakeRect(0, 0, 1, 1)
25480            styleMask:(NSTitledWindowMask)
25481            backing:NSBackingStoreBuffered
25482            defer:NO
25483            screen:nil
25484          ];
25485
25486   ;
25487   return 0;
25488 }
25489 _ACEOF
25490 if ac_fn_objc_try_link "$LINENO"; then :
25491
25492               have_cocoa="yes"
25493               cocoa_ldflags="-framework Cocoa"
25494
25495 else
25496   have_cocoa="no"
25497 fi
25498 rm -f core conftest.err conftest.$ac_objext \
25499     conftest$ac_exeext conftest.$ac_ext
25500           LIBS="$LIBS_save"
25501           { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Cocoa framework is supported" >&5
25502 $as_echo_n "checking whether Cocoa framework is supported... " >&6; }
25503           { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_cocoa}" >&5
25504 $as_echo "${have_cocoa}" >&6; }
25505           ac_ext=c
25506 ac_cpp='$CPP $CPPFLAGS'
25507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25510
25511        fi
25512
25513 fi
25514
25515
25516 want_epoll=yes
25517 # Check whether --enable-epoll was given.
25518 if test "${enable_epoll+set}" = set; then :
25519   enableval=$enable_epoll; want_epoll=$enableval
25520 fi
25521
25522
25523 if test "x${want_epoll}" = "xyes" ; then
25524   # check for epoll support
25525   for ac_header in sys/epoll.h
25526 do :
25527   ac_fn_c_check_header_mongrel "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
25528 if test "x$ac_cv_header_sys_epoll_h" = xyes; then :
25529   cat >>confdefs.h <<_ACEOF
25530 #define HAVE_SYS_EPOLL_H 1
25531 _ACEOF
25532
25533 fi
25534
25535 done
25536
25537 fi
25538
25539 # timerfd_create
25540 for ac_header in sys/timerfd.h
25541 do :
25542   ac_fn_c_check_header_mongrel "$LINENO" "sys/timerfd.h" "ac_cv_header_sys_timerfd_h" "$ac_includes_default"
25543 if test "x$ac_cv_header_sys_timerfd_h" = xyes; then :
25544   cat >>confdefs.h <<_ACEOF
25545 #define HAVE_SYS_TIMERFD_H 1
25546 _ACEOF
25547
25548 fi
25549
25550 done
25551
25552 for ac_func in timerfd_create
25553 do :
25554   ac_fn_c_check_func "$LINENO" "timerfd_create" "ac_cv_func_timerfd_create"
25555 if test "x$ac_cv_func_timerfd_create" = xyes; then :
25556   cat >>confdefs.h <<_ACEOF
25557 #define HAVE_TIMERFD_CREATE 1
25558 _ACEOF
25559
25560 fi
25561 done
25562
25563
25564 # thread support
25565
25566
25567
25568
25569 # Check whether --enable-posix-threads was given.
25570 if test "${enable_posix_threads+set}" = set; then :
25571   enableval=$enable_posix_threads;
25572     if test "x${enableval}" = "xyes" ; then
25573        _efl_enable_posix_threads="yes"
25574     else
25575        _efl_enable_posix_threads="no"
25576     fi
25577
25578 else
25579   _efl_enable_posix_threads="auto"
25580 fi
25581
25582
25583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build POSIX threads code" >&5
25584 $as_echo_n "checking whether to build POSIX threads code... " >&6; }
25585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_posix_threads}" >&5
25586 $as_echo "${_efl_enable_posix_threads}" >&6; }
25587
25588 # Check whether --enable-win32-threads was given.
25589 if test "${enable_win32_threads+set}" = set; then :
25590   enableval=$enable_win32_threads;
25591     if test "x${enableval}" = "xyes" ; then
25592        _efl_enable_win32_threads="yes"
25593     else
25594        _efl_enable_win32_threads="no"
25595     fi
25596
25597 else
25598   _efl_enable_win32_threads="no"
25599 fi
25600
25601
25602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Windows threads code" >&5
25603 $as_echo_n "checking whether to build Windows threads code... " >&6; }
25604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_win32_threads}" >&5
25605 $as_echo "${_efl_enable_win32_threads}" >&6; }
25606
25607
25608 if  test "x${_efl_enable_posix_threads}" = "xyes" && test "x${_efl_enable_win32_threads}" = "xyes" ; then
25609    case "$host_os" in
25610       mingw*)
25611          _efl_enable_posix_threads=no
25612          ;;
25613       *)
25614          _efl_enable_win32_threads=no
25615          ;;
25616    esac
25617 fi
25618
25619 if  test "x${_efl_enable_win32_threads}" = "xyes" ; then
25620    case "$host_os" in
25621       mingw*)
25622          ;;
25623       *)
25624          as_fn_error $? "Win32 threads support requested but non Windows system found." "$LINENO" 5
25625          ;;
25626    esac
25627 fi
25628
25629 if  test "x${_efl_enable_posix_threads}" = "xyes" ; then
25630    case "$host_os" in
25631       mingw*)
25632          as_fn_error $? "POSIX threads support requested but Windows system found." "$LINENO" 5
25633          ;;
25634       *)
25635          ;;
25636    esac
25637 fi
25638
25639
25640 case "$host_os" in
25641    mingw*)
25642       ;;
25643    solaris*)
25644       _efl_threads_cflags="-mt"
25645       _efl_threads_libs="-mt"
25646       ;;
25647    *)
25648       _efl_threads_cflags="-pthread"
25649       _efl_threads_libs="-pthread"
25650       ;;
25651 esac
25652
25653 _efl_have_posix_threads="no"
25654 _efl_have_win32_threads="no"
25655
25656 if test "x${_efl_enable_posix_threads}" = "xyes" || test "x${_efl_enable_posix_threads}" = "xauto" ; then
25657
25658    SAVE_CFLAGS=${CFLAGS}
25659    CFLAGS="${CFLAGS} ${_efl_threads_cflags}"
25660    SAVE_LIBS=${LIBS}
25661    LIBS="${LIBS} ${_efl_threads_libs}"
25662    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25663 /* end confdefs.h.  */
25664
25665 #include <pthread.h>
25666
25667 int
25668 main ()
25669 {
25670
25671 pthread_t id;
25672 id = pthread_self();
25673
25674   ;
25675   return 0;
25676 }
25677 _ACEOF
25678 if ac_fn_c_try_link "$LINENO"; then :
25679   _efl_have_posix_threads="yes"
25680 else
25681   _efl_have_posix_threads="no"
25682 fi
25683 rm -f core conftest.err conftest.$ac_objext \
25684     conftest$ac_exeext conftest.$ac_ext
25685    CFLAGS=${SAVE_CFLAGS}
25686    LIBS=${SAVE_LIBS}
25687
25688 fi
25689
25690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system support POSIX threads" >&5
25691 $as_echo_n "checking whether system support POSIX threads... " >&6; }
25692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_posix_threads}" >&5
25693 $as_echo "${_efl_have_posix_threads}" >&6; }
25694 if test "$x{_efl_enable_posix_threads}" = "xyes" && test "x${_efl_have_posix_threads}" = "xno"; then
25695    as_fn_error $? "POSIX threads support requested but not found." "$LINENO" 5
25696 fi
25697
25698 EFL_PTHREAD_CFLAGS=""
25699 EFL_PTHREAD_LIBS=""
25700 if test "x${_efl_have_posix_threads}" = "xyes" ; then
25701    EFL_PTHREAD_CFLAGS=${_efl_threads_cflags}
25702    EFL_PTHREAD_LIBS=${_efl_threads_libs}
25703 fi
25704
25705
25706
25707
25708 _efl_enable_debug_threads="no"
25709 # Check whether --enable-debug-threads was given.
25710 if test "${enable_debug_threads+set}" = set; then :
25711   enableval=$enable_debug_threads; _efl_enable_debug_threads="${enableval}"
25712 fi
25713
25714
25715 have_debug_threads="no"
25716 if test "x${_efl_have_posix_threads}" = "xyes" -a "x${_efl_enable_debug_threads}" = "xyes"; then
25717    have_debug_threads="yes"
25718
25719 $as_echo "#define EFL_DEBUG_THREADS 1" >>confdefs.h
25720
25721 fi
25722
25723 if test "x${_efl_have_posix_threads}" = "xyes" ; then
25724
25725 $as_echo "#define EFL_HAVE_POSIX_THREADS 1" >>confdefs.h
25726
25727 fi
25728
25729 if test "x${_efl_enable_win32_threads}" = "xyes" ; then
25730    _efl_have_win32_threads="yes"
25731
25732 $as_echo "#define EFL_HAVE_WIN32_THREADS 1" >>confdefs.h
25733
25734 fi
25735
25736 if test "x${_efl_have_posix_threads}" = "xyes" || test "x${_efl_have_win32_threads}" = "xyes" ; then
25737
25738 $as_echo "#define EFL_HAVE_THREADS 1" >>confdefs.h
25739
25740 fi
25741
25742 if test "x$_efl_have_posix_threads" = "xyes" || test "x$_efl_have_win32_threads" = "xyes"; then :
25743
25744     if test "x${_efl_have_posix_threads}" = "xyes" ; then
25745        have_threads="POSIX"
25746     else
25747        if test "x${_efl_have_win32_threads}" = "xyes" ; then
25748           have_threads="Win32"
25749        else
25750           have_threads="no"
25751        fi
25752     fi
25753
25754 else
25755   have_threads="no"
25756 fi
25757
25758
25759 ### enable thread safety if we have threads, unless specifically asked not to
25760 if test "x${have_threads}" = "xno"
25761 then
25762   want_thread_safety="no"
25763 else
25764   want_thread_safety="no"  # to be changed to yes when ready
25765   # Check whether --enable-thread-safety was given.
25766 if test "${enable_thread_safety+set}" = set; then :
25767   enableval=$enable_thread_safety; want_thread_safety=$enableval
25768 fi
25769
25770 fi
25771
25772 if test "x${want_thread_safety}" = "xyes"
25773 then
25774
25775 $as_echo "#define HAVE_THREAD_SAFETY 1" >>confdefs.h
25776
25777 fi
25778
25779 ### Checks for types
25780 # The cast to long int works around a bug in the HP C Compiler
25781 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25782 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25783 # This bug is HP SR number 8606223364.
25784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
25785 $as_echo_n "checking size of int... " >&6; }
25786 if ${ac_cv_sizeof_int+:} false; then :
25787   $as_echo_n "(cached) " >&6
25788 else
25789   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
25790
25791 else
25792   if test "$ac_cv_type_int" = yes; then
25793      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25794 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25795 as_fn_error 77 "cannot compute sizeof (int)
25796 See \`config.log' for more details" "$LINENO" 5; }
25797    else
25798      ac_cv_sizeof_int=0
25799    fi
25800 fi
25801
25802 fi
25803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
25804 $as_echo "$ac_cv_sizeof_int" >&6; }
25805
25806
25807
25808 cat >>confdefs.h <<_ACEOF
25809 #define SIZEOF_INT $ac_cv_sizeof_int
25810 _ACEOF
25811
25812
25813 # The cast to long int works around a bug in the HP C Compiler
25814 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25815 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25816 # This bug is HP SR number 8606223364.
25817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
25818 $as_echo_n "checking size of long... " >&6; }
25819 if ${ac_cv_sizeof_long+:} false; then :
25820   $as_echo_n "(cached) " >&6
25821 else
25822   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
25823
25824 else
25825   if test "$ac_cv_type_long" = yes; then
25826      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25827 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25828 as_fn_error 77 "cannot compute sizeof (long)
25829 See \`config.log' for more details" "$LINENO" 5; }
25830    else
25831      ac_cv_sizeof_long=0
25832    fi
25833 fi
25834
25835 fi
25836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
25837 $as_echo "$ac_cv_sizeof_long" >&6; }
25838
25839
25840
25841 cat >>confdefs.h <<_ACEOF
25842 #define SIZEOF_LONG $ac_cv_sizeof_long
25843 _ACEOF
25844
25845
25846
25847
25848 ### Checks for structures
25849
25850
25851 ### Checks for compiler characteristics
25852    case $ac_cv_prog_cc_stdc in #(
25853   no) :
25854     ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
25855   *) :
25856     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
25857 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
25858 if ${ac_cv_prog_cc_c99+:} false; then :
25859   $as_echo_n "(cached) " >&6
25860 else
25861   ac_cv_prog_cc_c99=no
25862 ac_save_CC=$CC
25863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25864 /* end confdefs.h.  */
25865 #include <stdarg.h>
25866 #include <stdbool.h>
25867 #include <stdlib.h>
25868 #include <wchar.h>
25869 #include <stdio.h>
25870
25871 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
25872 #define debug(...) fprintf (stderr, __VA_ARGS__)
25873 #define showlist(...) puts (#__VA_ARGS__)
25874 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
25875 static void
25876 test_varargs_macros (void)
25877 {
25878   int x = 1234;
25879   int y = 5678;
25880   debug ("Flag");
25881   debug ("X = %d\n", x);
25882   showlist (The first, second, and third items.);
25883   report (x>y, "x is %d but y is %d", x, y);
25884 }
25885
25886 // Check long long types.
25887 #define BIG64 18446744073709551615ull
25888 #define BIG32 4294967295ul
25889 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
25890 #if !BIG_OK
25891   your preprocessor is broken;
25892 #endif
25893 #if BIG_OK
25894 #else
25895   your preprocessor is broken;
25896 #endif
25897 static long long int bignum = -9223372036854775807LL;
25898 static unsigned long long int ubignum = BIG64;
25899
25900 struct incomplete_array
25901 {
25902   int datasize;
25903   double data[];
25904 };
25905
25906 struct named_init {
25907   int number;
25908   const wchar_t *name;
25909   double average;
25910 };
25911
25912 typedef const char *ccp;
25913
25914 static inline int
25915 test_restrict (ccp restrict text)
25916 {
25917   // See if C++-style comments work.
25918   // Iterate through items via the restricted pointer.
25919   // Also check for declarations in for loops.
25920   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
25921     continue;
25922   return 0;
25923 }
25924
25925 // Check varargs and va_copy.
25926 static void
25927 test_varargs (const char *format, ...)
25928 {
25929   va_list args;
25930   va_start (args, format);
25931   va_list args_copy;
25932   va_copy (args_copy, args);
25933
25934   const char *str;
25935   int number;
25936   float fnumber;
25937
25938   while (*format)
25939     {
25940       switch (*format++)
25941         {
25942         case 's': // string
25943           str = va_arg (args_copy, const char *);
25944           break;
25945         case 'd': // int
25946           number = va_arg (args_copy, int);
25947           break;
25948         case 'f': // float
25949           fnumber = va_arg (args_copy, double);
25950           break;
25951         default:
25952           break;
25953         }
25954     }
25955   va_end (args_copy);
25956   va_end (args);
25957 }
25958
25959 int
25960 main ()
25961 {
25962
25963   // Check bool.
25964   _Bool success = false;
25965
25966   // Check restrict.
25967   if (test_restrict ("String literal") == 0)
25968     success = true;
25969   char *restrict newvar = "Another string";
25970
25971   // Check varargs.
25972   test_varargs ("s, d' f .", "string", 65, 34.234);
25973   test_varargs_macros ();
25974
25975   // Check flexible array members.
25976   struct incomplete_array *ia =
25977     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
25978   ia->datasize = 10;
25979   for (int i = 0; i < ia->datasize; ++i)
25980     ia->data[i] = i * 1.234;
25981
25982   // Check named initializers.
25983   struct named_init ni = {
25984     .number = 34,
25985     .name = L"Test wide string",
25986     .average = 543.34343,
25987   };
25988
25989   ni.number = 58;
25990
25991   int dynamic_array[ni.number];
25992   dynamic_array[ni.number - 1] = 543;
25993
25994   // work around unused variable warnings
25995   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
25996           || dynamic_array[ni.number - 1] != 543);
25997
25998   ;
25999   return 0;
26000 }
26001 _ACEOF
26002 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
26003 do
26004   CC="$ac_save_CC $ac_arg"
26005   if ac_fn_c_try_compile "$LINENO"; then :
26006   ac_cv_prog_cc_c99=$ac_arg
26007 fi
26008 rm -f core conftest.err conftest.$ac_objext
26009   test "x$ac_cv_prog_cc_c99" != "xno" && break
26010 done
26011 rm -f conftest.$ac_ext
26012 CC=$ac_save_CC
26013
26014 fi
26015 # AC_CACHE_VAL
26016 case "x$ac_cv_prog_cc_c99" in
26017   x)
26018     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
26019 $as_echo "none needed" >&6; } ;;
26020   xno)
26021     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
26022 $as_echo "unsupported" >&6; } ;;
26023   *)
26024     CC="$CC $ac_cv_prog_cc_c99"
26025     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
26026 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
26027 esac
26028 if test "x$ac_cv_prog_cc_c99" != xno; then :
26029   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
26030 else
26031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
26032 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
26033 if ${ac_cv_prog_cc_c89+:} false; then :
26034   $as_echo_n "(cached) " >&6
26035 else
26036   ac_cv_prog_cc_c89=no
26037 ac_save_CC=$CC
26038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26039 /* end confdefs.h.  */
26040 #include <stdarg.h>
26041 #include <stdio.h>
26042 struct stat;
26043 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
26044 struct buf { int x; };
26045 FILE * (*rcsopen) (struct buf *, struct stat *, int);
26046 static char *e (p, i)
26047      char **p;
26048      int i;
26049 {
26050   return p[i];
26051 }
26052 static char *f (char * (*g) (char **, int), char **p, ...)
26053 {
26054   char *s;
26055   va_list v;
26056   va_start (v,p);
26057   s = g (p, va_arg (v,int));
26058   va_end (v);
26059   return s;
26060 }
26061
26062 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
26063    function prototypes and stuff, but not '\xHH' hex character constants.
26064    These don't provoke an error unfortunately, instead are silently treated
26065    as 'x'.  The following induces an error, until -std is added to get
26066    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
26067    array size at least.  It's necessary to write '\x00'==0 to get something
26068    that's true only with -std.  */
26069 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
26070
26071 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
26072    inside strings and character constants.  */
26073 #define FOO(x) 'x'
26074 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
26075
26076 int test (int i, double x);
26077 struct s1 {int (*f) (int a);};
26078 struct s2 {int (*f) (double a);};
26079 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
26080 int argc;
26081 char **argv;
26082 int
26083 main ()
26084 {
26085 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
26086   ;
26087   return 0;
26088 }
26089 _ACEOF
26090 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
26091         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
26092 do
26093   CC="$ac_save_CC $ac_arg"
26094   if ac_fn_c_try_compile "$LINENO"; then :
26095   ac_cv_prog_cc_c89=$ac_arg
26096 fi
26097 rm -f core conftest.err conftest.$ac_objext
26098   test "x$ac_cv_prog_cc_c89" != "xno" && break
26099 done
26100 rm -f conftest.$ac_ext
26101 CC=$ac_save_CC
26102
26103 fi
26104 # AC_CACHE_VAL
26105 case "x$ac_cv_prog_cc_c89" in
26106   x)
26107     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
26108 $as_echo "none needed" >&6; } ;;
26109   xno)
26110     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
26111 $as_echo "unsupported" >&6; } ;;
26112   *)
26113     CC="$CC $ac_cv_prog_cc_c89"
26114     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
26115 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
26116 esac
26117 if test "x$ac_cv_prog_cc_c89" != xno; then :
26118   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
26119 else
26120   ac_cv_prog_cc_stdc=no
26121 fi
26122
26123 fi
26124  ;;
26125 esac
26126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
26127 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
26128   if ${ac_cv_prog_cc_stdc+:} false; then :
26129   $as_echo_n "(cached) " >&6
26130 fi
26131
26132   case $ac_cv_prog_cc_stdc in #(
26133   no) :
26134     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
26135 $as_echo "unsupported" >&6; } ;; #(
26136   '') :
26137     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
26138 $as_echo "none needed" >&6; } ;; #(
26139   *) :
26140     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
26141 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
26142 esac
26143
26144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
26145 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
26146 if ${ac_cv_c_const+:} false; then :
26147   $as_echo_n "(cached) " >&6
26148 else
26149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26150 /* end confdefs.h.  */
26151
26152 int
26153 main ()
26154 {
26155
26156 #ifndef __cplusplus
26157   /* Ultrix mips cc rejects this sort of thing.  */
26158   typedef int charset[2];
26159   const charset cs = { 0, 0 };
26160   /* SunOS 4.1.1 cc rejects this.  */
26161   char const *const *pcpcc;
26162   char **ppc;
26163   /* NEC SVR4.0.2 mips cc rejects this.  */
26164   struct point {int x, y;};
26165   static struct point const zero = {0,0};
26166   /* AIX XL C 1.02.0.0 rejects this.
26167      It does not let you subtract one const X* pointer from another in
26168      an arm of an if-expression whose if-part is not a constant
26169      expression */
26170   const char *g = "string";
26171   pcpcc = &g + (g ? g-g : 0);
26172   /* HPUX 7.0 cc rejects these. */
26173   ++pcpcc;
26174   ppc = (char**) pcpcc;
26175   pcpcc = (char const *const *) ppc;
26176   { /* SCO 3.2v4 cc rejects this sort of thing.  */
26177     char tx;
26178     char *t = &tx;
26179     char const *s = 0 ? (char *) 0 : (char const *) 0;
26180
26181     *t++ = 0;
26182     if (s) return 0;
26183   }
26184   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
26185     int x[] = {25, 17};
26186     const int *foo = &x[0];
26187     ++foo;
26188   }
26189   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
26190     typedef const int *iptr;
26191     iptr p = 0;
26192     ++p;
26193   }
26194   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
26195        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
26196     struct s { int j; const int *ap[3]; } bx;
26197     struct s *b = &bx; b->j = 5;
26198   }
26199   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
26200     const int foo = 10;
26201     if (!foo) return 0;
26202   }
26203   return !cs[0] && !zero.x;
26204 #endif
26205
26206   ;
26207   return 0;
26208 }
26209 _ACEOF
26210 if ac_fn_c_try_compile "$LINENO"; then :
26211   ac_cv_c_const=yes
26212 else
26213   ac_cv_c_const=no
26214 fi
26215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26216 fi
26217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
26218 $as_echo "$ac_cv_c_const" >&6; }
26219 if test $ac_cv_c_const = no; then
26220
26221 $as_echo "#define const /**/" >>confdefs.h
26222
26223 fi
26224
26225  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
26226 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
26227 if ${ac_cv_c_bigendian+:} false; then :
26228   $as_echo_n "(cached) " >&6
26229 else
26230   ac_cv_c_bigendian=unknown
26231     # See if we're dealing with a universal compiler.
26232     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26233 /* end confdefs.h.  */
26234 #ifndef __APPLE_CC__
26235                not a universal capable compiler
26236              #endif
26237              typedef int dummy;
26238
26239 _ACEOF
26240 if ac_fn_c_try_compile "$LINENO"; then :
26241
26242         # Check for potential -arch flags.  It is not universal unless
26243         # there are at least two -arch flags with different values.
26244         ac_arch=
26245         ac_prev=
26246         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
26247          if test -n "$ac_prev"; then
26248            case $ac_word in
26249              i?86 | x86_64 | ppc | ppc64)
26250                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
26251                  ac_arch=$ac_word
26252                else
26253                  ac_cv_c_bigendian=universal
26254                  break
26255                fi
26256                ;;
26257            esac
26258            ac_prev=
26259          elif test "x$ac_word" = "x-arch"; then
26260            ac_prev=arch
26261          fi
26262        done
26263 fi
26264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26265     if test $ac_cv_c_bigendian = unknown; then
26266       # See if sys/param.h defines the BYTE_ORDER macro.
26267       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26268 /* end confdefs.h.  */
26269 #include <sys/types.h>
26270              #include <sys/param.h>
26271
26272 int
26273 main ()
26274 {
26275 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
26276                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
26277                      && LITTLE_ENDIAN)
26278               bogus endian macros
26279              #endif
26280
26281   ;
26282   return 0;
26283 }
26284 _ACEOF
26285 if ac_fn_c_try_compile "$LINENO"; then :
26286   # It does; now see whether it defined to BIG_ENDIAN or not.
26287          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26288 /* end confdefs.h.  */
26289 #include <sys/types.h>
26290                 #include <sys/param.h>
26291
26292 int
26293 main ()
26294 {
26295 #if BYTE_ORDER != BIG_ENDIAN
26296                  not big endian
26297                 #endif
26298
26299   ;
26300   return 0;
26301 }
26302 _ACEOF
26303 if ac_fn_c_try_compile "$LINENO"; then :
26304   ac_cv_c_bigendian=yes
26305 else
26306   ac_cv_c_bigendian=no
26307 fi
26308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26309 fi
26310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26311     fi
26312     if test $ac_cv_c_bigendian = unknown; then
26313       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
26314       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26315 /* end confdefs.h.  */
26316 #include <limits.h>
26317
26318 int
26319 main ()
26320 {
26321 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
26322               bogus endian macros
26323              #endif
26324
26325   ;
26326   return 0;
26327 }
26328 _ACEOF
26329 if ac_fn_c_try_compile "$LINENO"; then :
26330   # It does; now see whether it defined to _BIG_ENDIAN or not.
26331          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26332 /* end confdefs.h.  */
26333 #include <limits.h>
26334
26335 int
26336 main ()
26337 {
26338 #ifndef _BIG_ENDIAN
26339                  not big endian
26340                 #endif
26341
26342   ;
26343   return 0;
26344 }
26345 _ACEOF
26346 if ac_fn_c_try_compile "$LINENO"; then :
26347   ac_cv_c_bigendian=yes
26348 else
26349   ac_cv_c_bigendian=no
26350 fi
26351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26352 fi
26353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26354     fi
26355     if test $ac_cv_c_bigendian = unknown; then
26356       # Compile a test program.
26357       if test "$cross_compiling" = yes; then :
26358   # Try to guess by grepping values from an object file.
26359          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26360 /* end confdefs.h.  */
26361 short int ascii_mm[] =
26362                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
26363                 short int ascii_ii[] =
26364                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
26365                 int use_ascii (int i) {
26366                   return ascii_mm[i] + ascii_ii[i];
26367                 }
26368                 short int ebcdic_ii[] =
26369                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
26370                 short int ebcdic_mm[] =
26371                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
26372                 int use_ebcdic (int i) {
26373                   return ebcdic_mm[i] + ebcdic_ii[i];
26374                 }
26375                 extern int foo;
26376
26377 int
26378 main ()
26379 {
26380 return use_ascii (foo) == use_ebcdic (foo);
26381   ;
26382   return 0;
26383 }
26384 _ACEOF
26385 if ac_fn_c_try_compile "$LINENO"; then :
26386   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
26387               ac_cv_c_bigendian=yes
26388             fi
26389             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
26390               if test "$ac_cv_c_bigendian" = unknown; then
26391                 ac_cv_c_bigendian=no
26392               else
26393                 # finding both strings is unlikely to happen, but who knows?
26394                 ac_cv_c_bigendian=unknown
26395               fi
26396             fi
26397 fi
26398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26399 else
26400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26401 /* end confdefs.h.  */
26402 $ac_includes_default
26403 int
26404 main ()
26405 {
26406
26407              /* Are we little or big endian?  From Harbison&Steele.  */
26408              union
26409              {
26410                long int l;
26411                char c[sizeof (long int)];
26412              } u;
26413              u.l = 1;
26414              return u.c[sizeof (long int) - 1] == 1;
26415
26416   ;
26417   return 0;
26418 }
26419 _ACEOF
26420 if ac_fn_c_try_run "$LINENO"; then :
26421   ac_cv_c_bigendian=no
26422 else
26423   ac_cv_c_bigendian=yes
26424 fi
26425 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26426   conftest.$ac_objext conftest.beam conftest.$ac_ext
26427 fi
26428
26429     fi
26430 fi
26431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
26432 $as_echo "$ac_cv_c_bigendian" >&6; }
26433  case $ac_cv_c_bigendian in #(
26434    yes)
26435      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
26436 ;; #(
26437    no)
26438       ;; #(
26439    universal)
26440
26441 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
26442
26443      ;; #(
26444    *)
26445      as_fn_error $? "unknown endianness
26446  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
26447  esac
26448
26449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
26450 $as_echo_n "checking for ANSI C header files... " >&6; }
26451 if ${ac_cv_header_stdc+:} false; then :
26452   $as_echo_n "(cached) " >&6
26453 else
26454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26455 /* end confdefs.h.  */
26456 #include <stdlib.h>
26457 #include <stdarg.h>
26458 #include <string.h>
26459 #include <float.h>
26460
26461 int
26462 main ()
26463 {
26464
26465   ;
26466   return 0;
26467 }
26468 _ACEOF
26469 if ac_fn_c_try_compile "$LINENO"; then :
26470   ac_cv_header_stdc=yes
26471 else
26472   ac_cv_header_stdc=no
26473 fi
26474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26475
26476 if test $ac_cv_header_stdc = yes; then
26477   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
26478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26479 /* end confdefs.h.  */
26480 #include <string.h>
26481
26482 _ACEOF
26483 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26484   $EGREP "memchr" >/dev/null 2>&1; then :
26485
26486 else
26487   ac_cv_header_stdc=no
26488 fi
26489 rm -f conftest*
26490
26491 fi
26492
26493 if test $ac_cv_header_stdc = yes; then
26494   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
26495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26496 /* end confdefs.h.  */
26497 #include <stdlib.h>
26498
26499 _ACEOF
26500 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26501   $EGREP "free" >/dev/null 2>&1; then :
26502
26503 else
26504   ac_cv_header_stdc=no
26505 fi
26506 rm -f conftest*
26507
26508 fi
26509
26510 if test $ac_cv_header_stdc = yes; then
26511   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
26512   if test "$cross_compiling" = yes; then :
26513   :
26514 else
26515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26516 /* end confdefs.h.  */
26517 #include <ctype.h>
26518 #include <stdlib.h>
26519 #if ((' ' & 0x0FF) == 0x020)
26520 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
26521 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
26522 #else
26523 # define ISLOWER(c) \
26524                    (('a' <= (c) && (c) <= 'i') \
26525                      || ('j' <= (c) && (c) <= 'r') \
26526                      || ('s' <= (c) && (c) <= 'z'))
26527 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
26528 #endif
26529
26530 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
26531 int
26532 main ()
26533 {
26534   int i;
26535   for (i = 0; i < 256; i++)
26536     if (XOR (islower (i), ISLOWER (i))
26537         || toupper (i) != TOUPPER (i))
26538       return 2;
26539   return 0;
26540 }
26541 _ACEOF
26542 if ac_fn_c_try_run "$LINENO"; then :
26543
26544 else
26545   ac_cv_header_stdc=no
26546 fi
26547 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26548   conftest.$ac_objext conftest.beam conftest.$ac_ext
26549 fi
26550
26551 fi
26552 fi
26553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
26554 $as_echo "$ac_cv_header_stdc" >&6; }
26555 if test $ac_cv_header_stdc = yes; then
26556
26557 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
26558
26559 fi
26560
26561
26562
26563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
26564 $as_echo_n "checking for __attribute__... " >&6; }
26565
26566 if ${ac_cv___attribute__+:} false; then :
26567   $as_echo_n "(cached) " >&6
26568 else
26569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26570 /* end confdefs.h.  */
26571
26572 #include <stdlib.h>
26573
26574 int func(int x);
26575 int foo(int x __attribute__ ((unused)))
26576 {
26577    exit(1);
26578 }
26579
26580 int
26581 main ()
26582 {
26583
26584   ;
26585   return 0;
26586 }
26587 _ACEOF
26588 if ac_fn_c_try_compile "$LINENO"; then :
26589   ac_cv___attribute__="yes"
26590 else
26591   ac_cv___attribute__="no"
26592
26593 fi
26594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26595 fi
26596
26597
26598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
26599 $as_echo "$ac_cv___attribute__" >&6; }
26600
26601 if test "x${ac_cv___attribute__}" = "xyes" ; then
26602
26603 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
26604
26605
26606 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
26607
26608   else
26609
26610 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
26611
26612 fi
26613
26614
26615
26616 WIN32_CPPFLAGS=""
26617 WIN32_CFLAGS=""
26618 case "$host_os" in
26619    mingw32ce*)
26620       WIN32_CPPFLAGS="-D_WIN32_WCE=0x0420"
26621       ;;
26622    cegcc*)
26623       WIN32_CPPFLAGS="-D_WIN32_WCE=0x0420"
26624       WIN32_CFLAGS="-mwin32"
26625       ;;
26626    mingw*)
26627       WIN32_CPPFLAGS="-D_WIN32_WINNT=0x0501"
26628       ;;
26629 esac
26630
26631
26632
26633
26634 ### Checks for linker characteristics
26635
26636 # use --enable-auto-import on Windows
26637
26638 lt_enable_auto_import=""
26639 case "$host_os" in
26640    mingw* | cegcc*)
26641       lt_enable_auto_import="-Wl,--enable-auto-import"
26642       ;;
26643 esac
26644
26645
26646 ### Checks for library functions
26647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
26648 $as_echo_n "checking for library containing strerror... " >&6; }
26649 if ${ac_cv_search_strerror+:} false; then :
26650   $as_echo_n "(cached) " >&6
26651 else
26652   ac_func_search_save_LIBS=$LIBS
26653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26654 /* end confdefs.h.  */
26655
26656 /* Override any GCC internal prototype to avoid an error.
26657    Use char because int might match the return type of a GCC
26658    builtin and then its argument prototype would still apply.  */
26659 #ifdef __cplusplus
26660 extern "C"
26661 #endif
26662 char strerror ();
26663 int
26664 main ()
26665 {
26666 return strerror ();
26667   ;
26668   return 0;
26669 }
26670 _ACEOF
26671 for ac_lib in '' cposix; do
26672   if test -z "$ac_lib"; then
26673     ac_res="none required"
26674   else
26675     ac_res=-l$ac_lib
26676     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
26677   fi
26678   if ac_fn_c_try_link "$LINENO"; then :
26679   ac_cv_search_strerror=$ac_res
26680 fi
26681 rm -f core conftest.err conftest.$ac_objext \
26682     conftest$ac_exeext
26683   if ${ac_cv_search_strerror+:} false; then :
26684   break
26685 fi
26686 done
26687 if ${ac_cv_search_strerror+:} false; then :
26688
26689 else
26690   ac_cv_search_strerror=no
26691 fi
26692 rm conftest.$ac_ext
26693 LIBS=$ac_func_search_save_LIBS
26694 fi
26695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
26696 $as_echo "$ac_cv_search_strerror" >&6; }
26697 ac_res=$ac_cv_search_strerror
26698 if test "$ac_res" != no; then :
26699   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
26700
26701 fi
26702
26703 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
26704 if test "x$ac_cv_type_size_t" = xyes; then :
26705
26706 else
26707
26708 cat >>confdefs.h <<_ACEOF
26709 #define size_t unsigned int
26710 _ACEOF
26711
26712 fi
26713
26714 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
26715 # for constant arguments.  Useless!
26716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
26717 $as_echo_n "checking for working alloca.h... " >&6; }
26718 if ${ac_cv_working_alloca_h+:} false; then :
26719   $as_echo_n "(cached) " >&6
26720 else
26721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26722 /* end confdefs.h.  */
26723 #include <alloca.h>
26724 int
26725 main ()
26726 {
26727 char *p = (char *) alloca (2 * sizeof (int));
26728                           if (p) return 0;
26729   ;
26730   return 0;
26731 }
26732 _ACEOF
26733 if ac_fn_c_try_link "$LINENO"; then :
26734   ac_cv_working_alloca_h=yes
26735 else
26736   ac_cv_working_alloca_h=no
26737 fi
26738 rm -f core conftest.err conftest.$ac_objext \
26739     conftest$ac_exeext conftest.$ac_ext
26740 fi
26741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
26742 $as_echo "$ac_cv_working_alloca_h" >&6; }
26743 if test $ac_cv_working_alloca_h = yes; then
26744
26745 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
26746
26747 fi
26748
26749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
26750 $as_echo_n "checking for alloca... " >&6; }
26751 if ${ac_cv_func_alloca_works+:} false; then :
26752   $as_echo_n "(cached) " >&6
26753 else
26754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26755 /* end confdefs.h.  */
26756 #ifdef __GNUC__
26757 # define alloca __builtin_alloca
26758 #else
26759 # ifdef _MSC_VER
26760 #  include <malloc.h>
26761 #  define alloca _alloca
26762 # else
26763 #  ifdef HAVE_ALLOCA_H
26764 #   include <alloca.h>
26765 #  else
26766 #   ifdef _AIX
26767  #pragma alloca
26768 #   else
26769 #    ifndef alloca /* predefined by HP cc +Olibcalls */
26770 void *alloca (size_t);
26771 #    endif
26772 #   endif
26773 #  endif
26774 # endif
26775 #endif
26776
26777 int
26778 main ()
26779 {
26780 char *p = (char *) alloca (1);
26781                                     if (p) return 0;
26782   ;
26783   return 0;
26784 }
26785 _ACEOF
26786 if ac_fn_c_try_link "$LINENO"; then :
26787   ac_cv_func_alloca_works=yes
26788 else
26789   ac_cv_func_alloca_works=no
26790 fi
26791 rm -f core conftest.err conftest.$ac_objext \
26792     conftest$ac_exeext conftest.$ac_ext
26793 fi
26794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
26795 $as_echo "$ac_cv_func_alloca_works" >&6; }
26796
26797 if test $ac_cv_func_alloca_works = yes; then
26798
26799 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
26800
26801 else
26802   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
26803 # that cause trouble.  Some versions do not even contain alloca or
26804 # contain a buggy version.  If you still want to use their alloca,
26805 # use ar to extract alloca.o from them instead of compiling alloca.c.
26806
26807 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
26808
26809 $as_echo "#define C_ALLOCA 1" >>confdefs.h
26810
26811
26812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
26813 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
26814 if ${ac_cv_os_cray+:} false; then :
26815   $as_echo_n "(cached) " >&6
26816 else
26817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26818 /* end confdefs.h.  */
26819 #if defined CRAY && ! defined CRAY2
26820 webecray
26821 #else
26822 wenotbecray
26823 #endif
26824
26825 _ACEOF
26826 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26827   $EGREP "webecray" >/dev/null 2>&1; then :
26828   ac_cv_os_cray=yes
26829 else
26830   ac_cv_os_cray=no
26831 fi
26832 rm -f conftest*
26833
26834 fi
26835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
26836 $as_echo "$ac_cv_os_cray" >&6; }
26837 if test $ac_cv_os_cray = yes; then
26838   for ac_func in _getb67 GETB67 getb67; do
26839     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26840 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26841 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26842
26843 cat >>confdefs.h <<_ACEOF
26844 #define CRAY_STACKSEG_END $ac_func
26845 _ACEOF
26846
26847     break
26848 fi
26849
26850   done
26851 fi
26852
26853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
26854 $as_echo_n "checking stack direction for C alloca... " >&6; }
26855 if ${ac_cv_c_stack_direction+:} false; then :
26856   $as_echo_n "(cached) " >&6
26857 else
26858   if test "$cross_compiling" = yes; then :
26859   ac_cv_c_stack_direction=0
26860 else
26861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26862 /* end confdefs.h.  */
26863 $ac_includes_default
26864 int
26865 find_stack_direction (int *addr, int depth)
26866 {
26867   int dir, dummy = 0;
26868   if (! addr)
26869     addr = &dummy;
26870   *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
26871   dir = depth ? find_stack_direction (addr, depth - 1) : 0;
26872   return dir + dummy;
26873 }
26874
26875 int
26876 main (int argc, char **argv)
26877 {
26878   return find_stack_direction (0, argc + !argv + 20) < 0;
26879 }
26880 _ACEOF
26881 if ac_fn_c_try_run "$LINENO"; then :
26882   ac_cv_c_stack_direction=1
26883 else
26884   ac_cv_c_stack_direction=-1
26885 fi
26886 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26887   conftest.$ac_objext conftest.beam conftest.$ac_ext
26888 fi
26889
26890 fi
26891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
26892 $as_echo "$ac_cv_c_stack_direction" >&6; }
26893 cat >>confdefs.h <<_ACEOF
26894 #define STACK_DIRECTION $ac_cv_c_stack_direction
26895 _ACEOF
26896
26897
26898 fi
26899
26900 for ac_func in gettimeofday strlcpy execvp
26901 do :
26902   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26903 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26904 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26905   cat >>confdefs.h <<_ACEOF
26906 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26907 _ACEOF
26908
26909 fi
26910 done
26911
26912
26913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26914 /* end confdefs.h.  */
26915
26916 #include <math.h>
26917
26918 int
26919 main ()
26920 {
26921
26922 int i = isfinite(0);
26923
26924   ;
26925   return 0;
26926 }
26927 _ACEOF
26928 if ac_fn_c_try_compile "$LINENO"; then :
26929
26930
26931 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
26932
26933     have_isfinite="yes"
26934
26935 else
26936   have_isfinite="no"
26937 fi
26938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26939
26940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
26941 $as_echo_n "checking for isfinite... " >&6; }
26942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_isfinite}" >&5
26943 $as_echo "${have_isfinite}" >&6; }
26944
26945 have_atfile_source=auto
26946 # Check whether --enable-atfile-source was given.
26947 if test "${enable_atfile_source+set}" = set; then :
26948   enableval=$enable_atfile_source;
26949     if test "x${enableval}" = "xyes" ; then
26950        have_atfile_source="yes"
26951     else
26952        have_atfile_source="no"
26953     fi
26954 else
26955   have_atfile_source=auto
26956 fi
26957
26958
26959 if ! test "x${have_atfile_source}" = "xno" ; then
26960    for ac_func in mkdirat
26961 do :
26962   ac_fn_c_check_func "$LINENO" "mkdirat" "ac_cv_func_mkdirat"
26963 if test "x$ac_cv_func_mkdirat" = xyes; then :
26964   cat >>confdefs.h <<_ACEOF
26965 #define HAVE_MKDIRAT 1
26966 _ACEOF
26967
26968        have_atfile_source="yes"
26969
26970 $as_echo "#define HAVE_ATFILE_SOURCE 1" >>confdefs.h
26971
26972
26973 else
26974
26975        if test "x${have_atfile_source}" = "xyes" ; then
26976           as_fn_error $? "required atfile-source but no mkdirat()" "$LINENO" 5
26977        fi
26978        have_atfile_source="no"
26979
26980 fi
26981 done
26982
26983 fi
26984
26985 # shm_open
26986
26987 _efl_have_shm_open="no"
26988
26989
26990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in libc" >&5
26991 $as_echo_n "checking for shm_open in libc... " >&6; }
26992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26993 /* end confdefs.h.  */
26994
26995 #include <sys/mman.h>
26996 #include <sys/stat.h>        /* For mode constants */
26997 #include <fcntl.h>           /* For O_* constants */
26998
26999 int
27000 main ()
27001 {
27002
27003 int fd;
27004
27005 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
27006
27007   ;
27008   return 0;
27009 }
27010 _ACEOF
27011 if ac_fn_c_try_link "$LINENO"; then :
27012   _efl_have_shm_open="yes"
27013 else
27014   _efl_have_shm_open="no"
27015 fi
27016 rm -f core conftest.err conftest.$ac_objext \
27017     conftest$ac_exeext conftest.$ac_ext
27018
27019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
27020 $as_echo "${_efl_have_shm_open}" >&6; }
27021
27022 if test "x$_efl_have_shm_open" = "xno" ; then
27023    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in librt" >&5
27024 $as_echo_n "checking for shm_open in librt... " >&6; }
27025
27026    LIBS_save="${LIBS}"
27027    LIBS="${LIBS} -lrt"
27028    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27029 /* end confdefs.h.  */
27030
27031 #include <sys/mman.h>
27032 #include <sys/stat.h>        /* For mode constants */
27033 #include <fcntl.h>           /* For O_* constants */
27034
27035 int
27036 main ()
27037 {
27038
27039 int fd;
27040
27041 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
27042
27043   ;
27044   return 0;
27045 }
27046 _ACEOF
27047 if ac_fn_c_try_link "$LINENO"; then :
27048
27049        EFL_SHM_OPEN_LIBS="-lrt"
27050        _efl_have_shm_open="yes"
27051 else
27052   _efl_have_shm_open="no"
27053 fi
27054 rm -f core conftest.err conftest.$ac_objext \
27055     conftest$ac_exeext conftest.$ac_ext
27056
27057    LIBS="${LIBS_save}"
27058
27059    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
27060 $as_echo "${_efl_have_shm_open}" >&6; }
27061 fi
27062
27063
27064
27065 if test "x$_efl_have_shm_open" = "xyes" ; then
27066
27067 $as_echo "#define HAVE_SHM_OPEN 1" >>confdefs.h
27068
27069 fi
27070
27071 if test "x$_efl_have_shm_open" = "xyes"; then :
27072   have_shm_open="yes"
27073 else
27074   have_shm_open="no"
27075 fi
27076
27077
27078
27079 ### Checks for optionnal feature
27080 ac_fn_c_check_func "$LINENO" "mallinfo" "ac_cv_func_mallinfo"
27081 if test "x$ac_cv_func_mallinfo" = xyes; then :
27082
27083     have_mallinfo="yes"
27084
27085 $as_echo "#define HAVE_MALLINFO 1" >>confdefs.h
27086
27087
27088 else
27089   have_mallinfo="no"
27090 fi
27091
27092
27093 ### Ecore modules
27094
27095 ## Core modules
27096
27097 # ecore_con
27098
27099
27100 have_ecore_con=no
27101 ecore_con_cflags=
27102 ecore_con_libs=
27103 want_module=${want_ecore_con}
27104
27105 # Check whether --enable-ecore-con was given.
27106 if test "${enable_ecore_con+set}" = set; then :
27107   enableval=$enable_ecore_con;
27108     if test "x${enableval}" = "xyes" ; then
27109        want_module="yes"
27110     else
27111        want_module="no"
27112     fi
27113
27114 fi
27115
27116
27117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Con module is to be built" >&5
27118 $as_echo_n "checking whether Ecore_Con module is to be built... " >&6; }
27119
27120 if test "x${want_module}" = "xyes" ; then
27121    if test "x${have_addrinfo}" = "x" || test "x${have_addrinfo}" = "xyes" ; then
27122
27123 $as_echo "#define BUILD_ECORE_CON 1" >>confdefs.h
27124
27125       have_ecore_con="yes"
27126       ecore_con_libs="-lecore_con"
27127       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27128 $as_echo "yes" >&6; }
27129    else
27130       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
27131 $as_echo "no (dependency failed)" >&6; }
27132    fi
27133 else
27134    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27135 $as_echo "no" >&6; }
27136 fi
27137
27138  if test "x$have_ecore_con" = "xyes"; then
27139   BUILD_ECORE_CON_TRUE=
27140   BUILD_ECORE_CON_FALSE='#'
27141 else
27142   BUILD_ECORE_CON_TRUE='#'
27143   BUILD_ECORE_CON_FALSE=
27144 fi
27145
27146
27147 if test "x$have_ecore_con" = "xyes"; then :
27148
27149 fi
27150
27151
27152
27153
27154
27155
27156
27157
27158 have_curl="no"
27159 have_gnutls="no"
27160 have_openssl="no"
27161 have_cares="no"
27162 want_ipv6="yes"
27163 have_ipv6="no"
27164
27165 # Check whether --enable-ipv6 was given.
27166 if test "${enable_ipv6+set}" = set; then :
27167   enableval=$enable_ipv6;
27168     if test "x${enableval}" = "xyes" ; then
27169        want_ipv6="yes"
27170     else
27171        want_ipv6="no"
27172     fi
27173 else
27174   want_ipv6="auto"
27175 fi
27176
27177
27178 if test "x${have_ecore_con}" = "xyes" ; then
27179
27180    # Verify IPV6 availability in headers
27181    if test "x${want_ipv6}" != "xno" ; then
27182       ac_fn_c_check_type "$LINENO" "struct ipv6_mreq" "ac_cv_type_struct_ipv6_mreq" "
27183 #ifdef HAVE_NETINET_IN_H
27184 # include <netinet/in.h>
27185 #endif
27186 #ifdef HAVE_WS2TCPIP_H
27187 # include <ws2tcpip.h>
27188 #endif
27189
27190 "
27191 if test "x$ac_cv_type_struct_ipv6_mreq" = xyes; then :
27192
27193 cat >>confdefs.h <<_ACEOF
27194 #define HAVE_STRUCT_IPV6_MREQ 1
27195 _ACEOF
27196
27197 have_ipv6="yes"
27198 else
27199   have_ipv6="no"
27200 fi
27201
27202    fi
27203
27204    if test "x${have_ipv6}" = "xyes" ; then
27205
27206 $as_echo "#define HAVE_IPV6 1" >>confdefs.h
27207
27208    fi
27209
27210
27211 _ecore_want_curl=${want_curl}
27212 _ecore_have_curl="no"
27213
27214 # Check whether --enable-curl was given.
27215 if test "${enable_curl+set}" = set; then :
27216   enableval=$enable_curl;
27217     if test "x${enableval}" = "xyes" ; then
27218        _ecore_want_curl="yes"
27219     else
27220        _ecore_want_curl="no"
27221     fi
27222
27223 fi
27224
27225
27226 if test "x${_ecore_want_curl}" = "xyes" ; then
27227
27228 pkg_failed=no
27229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
27230 $as_echo_n "checking for CURL... " >&6; }
27231
27232 if test -n "$CURL_CFLAGS"; then
27233     pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
27234  elif test -n "$PKG_CONFIG"; then
27235     if test -n "$PKG_CONFIG" && \
27236     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
27237   ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
27238   ac_status=$?
27239   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27240   test $ac_status = 0; }; then
27241   pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
27242                       test "x$?" != "x0" && pkg_failed=yes
27243 else
27244   pkg_failed=yes
27245 fi
27246  else
27247     pkg_failed=untried
27248 fi
27249 if test -n "$CURL_LIBS"; then
27250     pkg_cv_CURL_LIBS="$CURL_LIBS"
27251  elif test -n "$PKG_CONFIG"; then
27252     if test -n "$PKG_CONFIG" && \
27253     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
27254   ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
27255   ac_status=$?
27256   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27257   test $ac_status = 0; }; then
27258   pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
27259                       test "x$?" != "x0" && pkg_failed=yes
27260 else
27261   pkg_failed=yes
27262 fi
27263  else
27264     pkg_failed=untried
27265 fi
27266
27267
27268
27269 if test $pkg_failed = yes; then
27270         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27271 $as_echo "no" >&6; }
27272
27273 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27274         _pkg_short_errors_supported=yes
27275 else
27276         _pkg_short_errors_supported=no
27277 fi
27278         if test $_pkg_short_errors_supported = yes; then
27279                 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl" 2>&1`
27280         else
27281                 CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl" 2>&1`
27282         fi
27283         # Put the nasty error message in config.log where it belongs
27284         echo "$CURL_PKG_ERRORS" >&5
27285
27286         _ecore_have_curl="no"
27287 elif test $pkg_failed = untried; then
27288         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27289 $as_echo "no" >&6; }
27290         _ecore_have_curl="no"
27291 else
27292         CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
27293         CURL_LIBS=$pkg_cv_CURL_LIBS
27294         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27295 $as_echo "yes" >&6; }
27296
27297
27298 $as_echo "#define HAVE_CURL 1" >>confdefs.h
27299
27300        _ecore_have_curl="yes"
27301
27302 fi
27303 fi
27304
27305 if test "x$_ecore_have_curl" = "xyes" ; then
27306
27307        have_curl="yes"
27308        requirements_ecore_con="libcurl ${requirements_ecore_con}"
27309
27310 else
27311    have_curl="no"
27312 fi
27313
27314
27315
27316 _ecore_want_gnutls=${want_gnutls}
27317 _ecore_have_gnutls="no"
27318
27319 # Check whether --enable-gnutls was given.
27320 if test "${enable_gnutls+set}" = set; then :
27321   enableval=$enable_gnutls;
27322     if test "x${enableval}" = "xyes" ; then
27323        _ecore_want_gnutls="yes"
27324     else
27325        _ecore_want_gnutls="no"
27326     fi
27327
27328 fi
27329
27330
27331 if test "x${_ecore_want_gnutls}" = "xyes" -o "x${_ecore_want_gnutls}" = "xauto" ; then
27332
27333 pkg_failed=no
27334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TLS" >&5
27335 $as_echo_n "checking for TLS... " >&6; }
27336
27337 if test -n "$TLS_CFLAGS"; then
27338     pkg_cv_TLS_CFLAGS="$TLS_CFLAGS"
27339  elif test -n "$PKG_CONFIG"; then
27340     if test -n "$PKG_CONFIG" && \
27341     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.12.16\""; } >&5
27342   ($PKG_CONFIG --exists --print-errors "gnutls >= 2.12.16") 2>&5
27343   ac_status=$?
27344   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27345   test $ac_status = 0; }; then
27346   pkg_cv_TLS_CFLAGS=`$PKG_CONFIG --cflags "gnutls >= 2.12.16" 2>/dev/null`
27347                       test "x$?" != "x0" && pkg_failed=yes
27348 else
27349   pkg_failed=yes
27350 fi
27351  else
27352     pkg_failed=untried
27353 fi
27354 if test -n "$TLS_LIBS"; then
27355     pkg_cv_TLS_LIBS="$TLS_LIBS"
27356  elif test -n "$PKG_CONFIG"; then
27357     if test -n "$PKG_CONFIG" && \
27358     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.12.16\""; } >&5
27359   ($PKG_CONFIG --exists --print-errors "gnutls >= 2.12.16") 2>&5
27360   ac_status=$?
27361   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27362   test $ac_status = 0; }; then
27363   pkg_cv_TLS_LIBS=`$PKG_CONFIG --libs "gnutls >= 2.12.16" 2>/dev/null`
27364                       test "x$?" != "x0" && pkg_failed=yes
27365 else
27366   pkg_failed=yes
27367 fi
27368  else
27369     pkg_failed=untried
27370 fi
27371
27372
27373
27374 if test $pkg_failed = yes; then
27375         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27376 $as_echo "no" >&6; }
27377
27378 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27379         _pkg_short_errors_supported=yes
27380 else
27381         _pkg_short_errors_supported=no
27382 fi
27383         if test $_pkg_short_errors_supported = yes; then
27384                 TLS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnutls >= 2.12.16" 2>&1`
27385         else
27386                 TLS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gnutls >= 2.12.16" 2>&1`
27387         fi
27388         # Put the nasty error message in config.log where it belongs
27389         echo "$TLS_PKG_ERRORS" >&5
27390
27391         _ecore_have_gnutls="no"
27392 elif test $pkg_failed = untried; then
27393         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27394 $as_echo "no" >&6; }
27395         _ecore_have_gnutls="no"
27396 else
27397         TLS_CFLAGS=$pkg_cv_TLS_CFLAGS
27398         TLS_LIBS=$pkg_cv_TLS_LIBS
27399         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27400 $as_echo "yes" >&6; }
27401
27402
27403 $as_echo "#define USE_GNUTLS 1" >>confdefs.h
27404
27405        _ecore_have_gnutls="yes"
27406
27407 fi
27408    # for ecore_con_ssl.c
27409
27410 pkg_failed=no
27411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TLS2" >&5
27412 $as_echo_n "checking for TLS2... " >&6; }
27413
27414 if test -n "$TLS2_CFLAGS"; then
27415     pkg_cv_TLS2_CFLAGS="$TLS2_CFLAGS"
27416  elif test -n "$PKG_CONFIG"; then
27417     if test -n "$PKG_CONFIG" && \
27418     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.12.16\""; } >&5
27419   ($PKG_CONFIG --exists --print-errors "gnutls >= 2.12.16") 2>&5
27420   ac_status=$?
27421   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27422   test $ac_status = 0; }; then
27423   pkg_cv_TLS2_CFLAGS=`$PKG_CONFIG --cflags "gnutls >= 2.12.16" 2>/dev/null`
27424                       test "x$?" != "x0" && pkg_failed=yes
27425 else
27426   pkg_failed=yes
27427 fi
27428  else
27429     pkg_failed=untried
27430 fi
27431 if test -n "$TLS2_LIBS"; then
27432     pkg_cv_TLS2_LIBS="$TLS2_LIBS"
27433  elif test -n "$PKG_CONFIG"; then
27434     if test -n "$PKG_CONFIG" && \
27435     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.12.16\""; } >&5
27436   ($PKG_CONFIG --exists --print-errors "gnutls >= 2.12.16") 2>&5
27437   ac_status=$?
27438   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27439   test $ac_status = 0; }; then
27440   pkg_cv_TLS2_LIBS=`$PKG_CONFIG --libs "gnutls >= 2.12.16" 2>/dev/null`
27441                       test "x$?" != "x0" && pkg_failed=yes
27442 else
27443   pkg_failed=yes
27444 fi
27445  else
27446     pkg_failed=untried
27447 fi
27448
27449
27450
27451 if test $pkg_failed = yes; then
27452         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27453 $as_echo "no" >&6; }
27454
27455 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27456         _pkg_short_errors_supported=yes
27457 else
27458         _pkg_short_errors_supported=no
27459 fi
27460         if test $_pkg_short_errors_supported = yes; then
27461                 TLS2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnutls >= 2.12.16" 2>&1`
27462         else
27463                 TLS2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gnutls >= 2.12.16" 2>&1`
27464         fi
27465         # Put the nasty error message in config.log where it belongs
27466         echo "$TLS2_PKG_ERRORS" >&5
27467
27468         dummy="no"
27469 elif test $pkg_failed = untried; then
27470         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27471 $as_echo "no" >&6; }
27472         dummy="no"
27473 else
27474         TLS2_CFLAGS=$pkg_cv_TLS2_CFLAGS
27475         TLS2_LIBS=$pkg_cv_TLS2_LIBS
27476         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27477 $as_echo "yes" >&6; }
27478
27479 $as_echo "#define USE_GNUTLS2 1" >>confdefs.h
27480
27481 fi
27482    if test "x$_ecore_have_gnutls" = "xyes";then
27483
27484
27485 # Check whether --with-libgcrypt-prefix was given.
27486 if test "${with_libgcrypt_prefix+set}" = set; then :
27487   withval=$with_libgcrypt_prefix; libgcrypt_config_prefix="$withval"
27488 else
27489   libgcrypt_config_prefix=""
27490 fi
27491
27492
27493 # Check whether --with-libgcrypt-exec-prefix was given.
27494 if test "${with_libgcrypt_exec_prefix+set}" = set; then :
27495   withval=$with_libgcrypt_exec_prefix; libgcrypt_config_exec_prefix="$withval"
27496 else
27497   libgcrypt_config_exec_prefix=""
27498 fi
27499
27500
27501   if test x$libgcrypt_config_exec_prefix != x ; then
27502      libgcrypt_config_args="$libgcrypt_config_args --exec-prefix=$libgcrypt_config_exec_prefix"
27503      if test x${LIBGCRYPT_CONFIG+set} != xset ; then
27504        LIBGCRYPT_CONFIG=$libgcrypt_config_exec_prefix/bin/libgcrypt-config
27505      fi
27506   fi
27507   if test x$libgcrypt_config_prefix != x ; then
27508      libgcrypt_config_args="$libgcrypt_config_args --prefix=$libgcrypt_config_prefix"
27509      if test x${LIBGCRYPT_CONFIG+set} != xset ; then
27510        LIBGCRYPT_CONFIG=$libgcrypt_config_prefix/bin/libgcrypt-config
27511      fi
27512   fi
27513
27514   # Extract the first word of "libgcrypt-config", so it can be a program name with args.
27515 set dummy libgcrypt-config; ac_word=$2
27516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27517 $as_echo_n "checking for $ac_word... " >&6; }
27518 if ${ac_cv_path_LIBGCRYPT_CONFIG+:} false; then :
27519   $as_echo_n "(cached) " >&6
27520 else
27521   case $LIBGCRYPT_CONFIG in
27522   [\\/]* | ?:[\\/]*)
27523   ac_cv_path_LIBGCRYPT_CONFIG="$LIBGCRYPT_CONFIG" # Let the user override the test with a path.
27524   ;;
27525   *)
27526   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27527 for as_dir in $PATH
27528 do
27529   IFS=$as_save_IFS
27530   test -z "$as_dir" && as_dir=.
27531     for ac_exec_ext in '' $ac_executable_extensions; do
27532   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27533     ac_cv_path_LIBGCRYPT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27534     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27535     break 2
27536   fi
27537 done
27538   done
27539 IFS=$as_save_IFS
27540
27541   test -z "$ac_cv_path_LIBGCRYPT_CONFIG" && ac_cv_path_LIBGCRYPT_CONFIG="no"
27542   ;;
27543 esac
27544 fi
27545 LIBGCRYPT_CONFIG=$ac_cv_path_LIBGCRYPT_CONFIG
27546 if test -n "$LIBGCRYPT_CONFIG"; then
27547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGCRYPT_CONFIG" >&5
27548 $as_echo "$LIBGCRYPT_CONFIG" >&6; }
27549 else
27550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27551 $as_echo "no" >&6; }
27552 fi
27553
27554
27555   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgcrypt" >&5
27556 $as_echo_n "checking for libgcrypt... " >&6; }
27557   no_libgcrypt=""
27558   if test "$LIBGCRYPT_CONFIG" = "no" ; then
27559      no_libgcrypt=yes
27560   else
27561      LIBGCRYPT_CFLAGS="`$LIBGCRYPT_CONFIG $libgcrypt_config_args --cflags`"
27562      LIBGCRYPT_LIBS="`$LIBGCRYPT_CONFIG $libgcrypt_config_args --libs`"
27563
27564   fi
27565   if test "x$no_libgcrypt" = x ; then
27566      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27567 $as_echo "yes" >&6; }
27568      _ecore_have_gnutls="yes"
27569   else
27570      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27571 $as_echo "no" >&6; }
27572      if test "$LIBGCRYPT_CONFIG" = "no" ; then
27573        echo "*** The libgcrypt-config script installed by libgcrypt could not be found"
27574        echo "*** If libgcrypt was installed in PREFIX, make sure PREFIX/bin is in"
27575        echo "*** your path, or set the LIBGCRYPT_CONFIG environment variable to the"
27576        echo "*** full path to libgcrypt-config."
27577      fi
27578      LIBGCRYPT_CFLAGS=""
27579      LIBGCRYPT_LIBS=""
27580      _ecore_have_gnutls="no"
27581   fi
27582
27583
27584
27585
27586
27587
27588         if test "x${_ecore_have_gnutls}" = "xyes" ; then
27589            TLS_CFLAGS="${TLS_CFLAGS} ${LIBGCRYPT_CFLAGS}"
27590            TLS_LIBS="${TLS_LIBS} ${LIBGCRYPT_LIBS}"
27591         fi
27592    fi
27593
27594 fi
27595
27596 if test "x$_ecore_have_gnutls" = "xyes" ; then
27597   have_gnutls="yes"
27598 else
27599   have_gnutls="no"
27600 fi
27601
27602
27603
27604 _ecore_want_openssl=${want_openssl}
27605 _ecore_have_openssl="no"
27606
27607 # Check whether --enable-openssl was given.
27608 if test "${enable_openssl+set}" = set; then :
27609   enableval=$enable_openssl;
27610     if test "x${enableval}" = "xyes" ; then
27611        _ecore_want_openssl="yes"
27612     else
27613        _ecore_want_openssl="no"
27614     fi
27615
27616 fi
27617
27618
27619 if test "x${_ecore_have_gnutls}" = "xyes";then
27620   _ecore_want_openssl=no
27621 fi
27622
27623 if test "x${_ecore_want_openssl}" = "xyes" -o "x${_ecore_want_openssl}" = "xauto"; then
27624
27625 pkg_failed=no
27626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL" >&5
27627 $as_echo_n "checking for SSL... " >&6; }
27628
27629 if test -n "$SSL_CFLAGS"; then
27630     pkg_cv_SSL_CFLAGS="$SSL_CFLAGS"
27631  elif test -n "$PKG_CONFIG"; then
27632     if test -n "$PKG_CONFIG" && \
27633     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
27634   ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
27635   ac_status=$?
27636   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27637   test $ac_status = 0; }; then
27638   pkg_cv_SSL_CFLAGS=`$PKG_CONFIG --cflags "openssl" 2>/dev/null`
27639                       test "x$?" != "x0" && pkg_failed=yes
27640 else
27641   pkg_failed=yes
27642 fi
27643  else
27644     pkg_failed=untried
27645 fi
27646 if test -n "$SSL_LIBS"; then
27647     pkg_cv_SSL_LIBS="$SSL_LIBS"
27648  elif test -n "$PKG_CONFIG"; then
27649     if test -n "$PKG_CONFIG" && \
27650     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
27651   ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
27652   ac_status=$?
27653   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27654   test $ac_status = 0; }; then
27655   pkg_cv_SSL_LIBS=`$PKG_CONFIG --libs "openssl" 2>/dev/null`
27656                       test "x$?" != "x0" && pkg_failed=yes
27657 else
27658   pkg_failed=yes
27659 fi
27660  else
27661     pkg_failed=untried
27662 fi
27663
27664
27665
27666 if test $pkg_failed = yes; then
27667         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27668 $as_echo "no" >&6; }
27669
27670 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27671         _pkg_short_errors_supported=yes
27672 else
27673         _pkg_short_errors_supported=no
27674 fi
27675         if test $_pkg_short_errors_supported = yes; then
27676                 SSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl" 2>&1`
27677         else
27678                 SSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl" 2>&1`
27679         fi
27680         # Put the nasty error message in config.log where it belongs
27681         echo "$SSL_PKG_ERRORS" >&5
27682
27683         _ecore_have_openssl="no"
27684 elif test $pkg_failed = untried; then
27685         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27686 $as_echo "no" >&6; }
27687         _ecore_have_openssl="no"
27688 else
27689         SSL_CFLAGS=$pkg_cv_SSL_CFLAGS
27690         SSL_LIBS=$pkg_cv_SSL_LIBS
27691         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27692 $as_echo "yes" >&6; }
27693
27694
27695 $as_echo "#define USE_OPENSSL 1" >>confdefs.h
27696
27697        _ecore_have_openssl="yes"
27698
27699 fi
27700 fi
27701
27702 if test "x$_ecore_have_openssl" = "xyes" ; then
27703    have_openssl="yes"
27704 else
27705    have_openssl="no"
27706 fi
27707
27708
27709    if test "x${have_gnutls}" = "xyes" ; then
27710       requirements_ecore_con="gnutls ${requirements_ecore_con}"
27711       # no need to add it to req_ecore_ipc, since they
27712       # depends on ecore_con anyway.
27713    else
27714       if test "x${have_openssl}" = "xyes" ; then
27715          requirements_ecore_con="openssl ${requirements_ecore_con}"
27716          # no need to add it to req_ecore_ipc, since they
27717          # depends on ecore_con anyway.
27718       fi
27719    fi
27720
27721
27722 _ecore_want_cares=${want_cares}
27723 _ecore_have_cares="no"
27724
27725 # Check whether --enable-cares was given.
27726 if test "${enable_cares+set}" = set; then :
27727   enableval=$enable_cares;
27728     if test "x${enableval}" = "xyes" ; then
27729        _ecore_want_cares="yes"
27730     else
27731        _ecore_want_cares="no"
27732     fi
27733
27734 fi
27735
27736
27737 if test "x${_ecore_want_cares}" = "xyes" -o "x${_ecore_want_cares}" = "xauto" ; then
27738
27739 pkg_failed=no
27740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CARES" >&5
27741 $as_echo_n "checking for CARES... " >&6; }
27742
27743 if test -n "$CARES_CFLAGS"; then
27744     pkg_cv_CARES_CFLAGS="$CARES_CFLAGS"
27745  elif test -n "$PKG_CONFIG"; then
27746     if test -n "$PKG_CONFIG" && \
27747     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcares >= 1.6.1\""; } >&5
27748   ($PKG_CONFIG --exists --print-errors "libcares >= 1.6.1") 2>&5
27749   ac_status=$?
27750   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27751   test $ac_status = 0; }; then
27752   pkg_cv_CARES_CFLAGS=`$PKG_CONFIG --cflags "libcares >= 1.6.1" 2>/dev/null`
27753                       test "x$?" != "x0" && pkg_failed=yes
27754 else
27755   pkg_failed=yes
27756 fi
27757  else
27758     pkg_failed=untried
27759 fi
27760 if test -n "$CARES_LIBS"; then
27761     pkg_cv_CARES_LIBS="$CARES_LIBS"
27762  elif test -n "$PKG_CONFIG"; then
27763     if test -n "$PKG_CONFIG" && \
27764     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcares >= 1.6.1\""; } >&5
27765   ($PKG_CONFIG --exists --print-errors "libcares >= 1.6.1") 2>&5
27766   ac_status=$?
27767   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27768   test $ac_status = 0; }; then
27769   pkg_cv_CARES_LIBS=`$PKG_CONFIG --libs "libcares >= 1.6.1" 2>/dev/null`
27770                       test "x$?" != "x0" && pkg_failed=yes
27771 else
27772   pkg_failed=yes
27773 fi
27774  else
27775     pkg_failed=untried
27776 fi
27777
27778
27779
27780 if test $pkg_failed = yes; then
27781         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27782 $as_echo "no" >&6; }
27783
27784 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27785         _pkg_short_errors_supported=yes
27786 else
27787         _pkg_short_errors_supported=no
27788 fi
27789         if test $_pkg_short_errors_supported = yes; then
27790                 CARES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcares >= 1.6.1" 2>&1`
27791         else
27792                 CARES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcares >= 1.6.1" 2>&1`
27793         fi
27794         # Put the nasty error message in config.log where it belongs
27795         echo "$CARES_PKG_ERRORS" >&5
27796
27797         _ecore_have_cares="no"
27798 elif test $pkg_failed = untried; then
27799         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27800 $as_echo "no" >&6; }
27801         _ecore_have_cares="no"
27802 else
27803         CARES_CFLAGS=$pkg_cv_CARES_CFLAGS
27804         CARES_LIBS=$pkg_cv_CARES_LIBS
27805         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27806 $as_echo "yes" >&6; }
27807         _ecore_have_cares="yes"
27808 fi
27809 fi
27810
27811 if test "x${_ecore_have_cares}" = "xyes" ; then
27812
27813 $as_echo "#define HAVE_CARES 1" >>confdefs.h
27814
27815 fi
27816
27817 if test "x$_ecore_have_cares" = "xyes" ; then
27818
27819        have_cares="yes"
27820        requirements_ecore_con="libcares ${requirements_ecore_con}"
27821
27822 else
27823    have_cares="no"
27824 fi
27825
27826
27827 fi
27828
27829
27830
27831
27832
27833
27834
27835 option=-Woverride-init
27836
27837 CFLAGS_save="${CFLAGS}"
27838 CFLAGS="${CFLAGS} ${option}"
27839
27840 ac_ext=c
27841 ac_cpp='$CPP $CPPFLAGS'
27842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27845
27846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-override-init" >&5
27847 $as_echo_n "checking whether the compiler supports -Wno-override-init... " >&6; }
27848
27849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27850 /* end confdefs.h.  */
27851
27852 int
27853 main ()
27854 {
27855
27856   ;
27857   return 0;
27858 }
27859 _ACEOF
27860 if ac_fn_c_try_compile "$LINENO"; then :
27861   have_flag="yes"
27862 else
27863   have_flag="no"
27864 fi
27865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
27867 $as_echo "${have_flag}" >&6; }
27868
27869 CFLAGS="${CFLAGS_save}"
27870 ac_ext=c
27871 ac_cpp='$CPP $CPPFLAGS'
27872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27875
27876
27877 if test "x${have_flag}" = "xyes" ; then
27878    ECORE_CON_CFLAGS="${ECORE_CON_CFLAGS} -Wno-override-init"
27879 fi
27880
27881
27882
27883  if test "x${have_flag}" = "xyes"; then
27884   EFL_HAVE_WNO_OVERRIDE_INIT_TRUE=
27885   EFL_HAVE_WNO_OVERRIDE_INIT_FALSE='#'
27886 else
27887   EFL_HAVE_WNO_OVERRIDE_INIT_TRUE='#'
27888   EFL_HAVE_WNO_OVERRIDE_INIT_FALSE=
27889 fi
27890
27891
27892
27893
27894
27895
27896
27897
27898 option=-Winitializer-overrides
27899
27900 CFLAGS_save="${CFLAGS}"
27901 CFLAGS="${CFLAGS} ${option}"
27902
27903 ac_ext=c
27904 ac_cpp='$CPP $CPPFLAGS'
27905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27908
27909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-initializer-overrides" >&5
27910 $as_echo_n "checking whether the compiler supports -Wno-initializer-overrides... " >&6; }
27911
27912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27913 /* end confdefs.h.  */
27914
27915 int
27916 main ()
27917 {
27918
27919   ;
27920   return 0;
27921 }
27922 _ACEOF
27923 if ac_fn_c_try_compile "$LINENO"; then :
27924   have_flag="yes"
27925 else
27926   have_flag="no"
27927 fi
27928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
27930 $as_echo "${have_flag}" >&6; }
27931
27932 CFLAGS="${CFLAGS_save}"
27933 ac_ext=c
27934 ac_cpp='$CPP $CPPFLAGS'
27935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27938
27939
27940 if test "x${have_flag}" = "xyes" ; then
27941    ECORE_CON_CFLAGS="${ECORE_CON_CFLAGS} -Wno-initializer-overrides"
27942 fi
27943
27944
27945
27946  if test "x${have_flag}" = "xyes"; then
27947   EFL_HAVE_WNO_INITIALIZER_OVERRIDES_TRUE=
27948   EFL_HAVE_WNO_INITIALIZER_OVERRIDES_FALSE='#'
27949 else
27950   EFL_HAVE_WNO_INITIALIZER_OVERRIDES_TRUE='#'
27951   EFL_HAVE_WNO_INITIALIZER_OVERRIDES_FALSE=
27952 fi
27953
27954
27955
27956
27957
27958
27959
27960  if test "x${have_ipv6}" = "xyes"; then
27961   HAVE_IPV6_TRUE=
27962   HAVE_IPV6_FALSE='#'
27963 else
27964   HAVE_IPV6_TRUE='#'
27965   HAVE_IPV6_FALSE=
27966 fi
27967
27968  if test "x${have_cares}" = "xyes"; then
27969   HAVE_CARES_TRUE=
27970   HAVE_CARES_FALSE='#'
27971 else
27972   HAVE_CARES_TRUE='#'
27973   HAVE_CARES_FALSE=
27974 fi
27975
27976
27977 # ecore_ipc
27978
27979
27980 have_ecore_ipc=no
27981 ecore_ipc_cflags=
27982 ecore_ipc_libs=
27983 want_module=${want_ecore_ipc}
27984
27985 # Check whether --enable-ecore-ipc was given.
27986 if test "${enable_ecore_ipc+set}" = set; then :
27987   enableval=$enable_ecore_ipc;
27988     if test "x${enableval}" = "xyes" ; then
27989        want_module="yes"
27990     else
27991        want_module="no"
27992     fi
27993
27994 fi
27995
27996
27997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Ipc module is to be built" >&5
27998 $as_echo_n "checking whether Ecore_Ipc module is to be built... " >&6; }
27999
28000 if test "x${want_module}" = "xyes" ; then
28001    if test "x${have_ecore_con}" = "x" || test "x${have_ecore_con}" = "xyes" ; then
28002
28003 $as_echo "#define BUILD_ECORE_IPC 1" >>confdefs.h
28004
28005       have_ecore_ipc="yes"
28006       ecore_ipc_libs="-lecore_ipc"
28007       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28008 $as_echo "yes" >&6; }
28009    else
28010       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28011 $as_echo "no (dependency failed)" >&6; }
28012    fi
28013 else
28014    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28015 $as_echo "no" >&6; }
28016 fi
28017
28018  if test "x$have_ecore_ipc" = "xyes"; then
28019   BUILD_ECORE_IPC_TRUE=
28020   BUILD_ECORE_IPC_FALSE='#'
28021 else
28022   BUILD_ECORE_IPC_TRUE='#'
28023   BUILD_ECORE_IPC_FALSE=
28024 fi
28025
28026
28027 if test "x$have_ecore_ipc" = "xyes"; then :
28028
28029      requirements_ecore_ipc="ecore-con >= 1.7.8 ${requirements_ecore_ipc}"
28030      requirements_ecore_evas="ecore-ipc >= 1.7.8 ${requirements_ecore_evas}"
28031
28032 fi
28033
28034
28035
28036
28037
28038
28039
28040
28041 # ecore_file
28042
28043
28044 have_ecore_file=no
28045 ecore_file_cflags=
28046 ecore_file_libs=
28047 want_module=${want_ecore_file}
28048
28049 # Check whether --enable-ecore-file was given.
28050 if test "${enable_ecore_file+set}" = set; then :
28051   enableval=$enable_ecore_file;
28052     if test "x${enableval}" = "xyes" ; then
28053        want_module="yes"
28054     else
28055        want_module="no"
28056     fi
28057
28058 fi
28059
28060
28061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_File module is to be built" >&5
28062 $as_echo_n "checking whether Ecore_File module is to be built... " >&6; }
28063
28064 if test "x${want_module}" = "xyes" ; then
28065    if test "x" = "x" || test "x" = "xyes" ; then
28066
28067 $as_echo "#define BUILD_ECORE_FILE 1" >>confdefs.h
28068
28069       have_ecore_file="yes"
28070       ecore_file_libs="-lecore_file"
28071       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28072 $as_echo "yes" >&6; }
28073    else
28074       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28075 $as_echo "no (dependency failed)" >&6; }
28076    fi
28077 else
28078    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28079 $as_echo "no" >&6; }
28080 fi
28081
28082  if test "x$have_ecore_file" = "xyes"; then
28083   BUILD_ECORE_FILE_TRUE=
28084   BUILD_ECORE_FILE_FALSE='#'
28085 else
28086   BUILD_ECORE_FILE_TRUE='#'
28087   BUILD_ECORE_FILE_FALSE=
28088 fi
28089
28090
28091 if test "x$have_ecore_file" = "xyes"; then :
28092
28093 fi
28094
28095
28096
28097
28098
28099
28100
28101
28102 have_poll="no"
28103 have_inotify="no"
28104 have_notify_win32="no"
28105 if test "x${have_ecore_file}" = "xyes" ; then
28106
28107 _ecore_want_poll=${want_poll}
28108 _ecore_have_poll="no"
28109
28110 # Check whether --enable-poll was given.
28111 if test "${enable_poll+set}" = set; then :
28112   enableval=$enable_poll;
28113     if test "x${enableval}" = "xyes" ; then
28114        _ecore_want_poll="yes"
28115     else
28116        _ecore_want_poll="no"
28117     fi
28118
28119 fi
28120
28121
28122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether polling is to be used for filemonitoring" >&5
28123 $as_echo_n "checking whether polling is to be used for filemonitoring... " >&6; }
28124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_ecore_want_poll}" >&5
28125 $as_echo "${_ecore_want_poll}" >&6; }
28126
28127 if test "x${_ecore_want_poll}" = "xyes" ; then
28128
28129 $as_echo "#define HAVE_POLL 1" >>confdefs.h
28130
28131    _ecore_have_poll="yes"
28132 fi
28133
28134 if test "x${_ecore_have_poll}" = "xyes" ; then
28135    have_poll="yes"
28136 else
28137    have_poll="no"
28138 fi
28139
28140
28141 _ecore_want_inotify=${want_inotify}
28142 _ecore_have_inotify="no"
28143
28144 _ecore_want_inotify="yes"
28145 # Check whether --enable-inotify was given.
28146 if test "${enable_inotify+set}" = set; then :
28147   enableval=$enable_inotify;
28148     if test "x${enableval}" = "xyes" ; then
28149        _ecore_want_inotify="yes"
28150     else
28151        _ecore_want_inotify="no"
28152     fi
28153
28154 fi
28155
28156
28157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether inotify is to be used for filemonitoring" >&5
28158 $as_echo_n "checking whether inotify is to be used for filemonitoring... " >&6; }
28159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_ecore_want_inotify" >&5
28160 $as_echo "$_ecore_want_inotify" >&6; }
28161
28162
28163 if test "x${_ecore_want_inotify}" = "xyes" ; then
28164    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_init in -lc" >&5
28165 $as_echo_n "checking for inotify_init in -lc... " >&6; }
28166 if ${ac_cv_lib_c_inotify_init+:} false; then :
28167   $as_echo_n "(cached) " >&6
28168 else
28169   ac_check_lib_save_LIBS=$LIBS
28170 LIBS="-lc  $LIBS"
28171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28172 /* end confdefs.h.  */
28173
28174 /* Override any GCC internal prototype to avoid an error.
28175    Use char because int might match the return type of a GCC
28176    builtin and then its argument prototype would still apply.  */
28177 #ifdef __cplusplus
28178 extern "C"
28179 #endif
28180 char inotify_init ();
28181 int
28182 main ()
28183 {
28184 return inotify_init ();
28185   ;
28186   return 0;
28187 }
28188 _ACEOF
28189 if ac_fn_c_try_link "$LINENO"; then :
28190   ac_cv_lib_c_inotify_init=yes
28191 else
28192   ac_cv_lib_c_inotify_init=no
28193 fi
28194 rm -f core conftest.err conftest.$ac_objext \
28195     conftest$ac_exeext conftest.$ac_ext
28196 LIBS=$ac_check_lib_save_LIBS
28197 fi
28198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_inotify_init" >&5
28199 $as_echo "$ac_cv_lib_c_inotify_init" >&6; }
28200 if test "x$ac_cv_lib_c_inotify_init" = xyes; then :
28201
28202
28203 $as_echo "#define HAVE_INOTIFY 1" >>confdefs.h
28204
28205
28206 $as_echo "#define HAVE_SYS_INOTIFY 1" >>confdefs.h
28207
28208        _ecore_have_inotify="yes"
28209
28210 else
28211
28212        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28213 /* end confdefs.h.  */
28214
28215            #include <asm/unistd.h>
28216            #include <linux/inotify.h>
28217
28218 int
28219 main ()
28220 {
28221 int a = __NR_inotify_init; int b = IN_MOVE_SELF;
28222   ;
28223   return 0;
28224 }
28225 _ACEOF
28226 if ac_fn_c_try_compile "$LINENO"; then :
28227
28228
28229 $as_echo "#define HAVE_INOTIFY 1" >>confdefs.h
28230
28231            _ecore_have_inotify="yes"
28232
28233 else
28234   _ecore_have_inotify="no"
28235 fi
28236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28237
28238 fi
28239
28240 fi
28241
28242 if test "x$_ecore_have_inotify" = "xyes" ; then
28243    have_inotify="yes"
28244 else
28245    have_inotify="no"
28246 fi
28247
28248
28249 _ecore_want_notify_win32=${want_notify_win32}
28250 _ecore_have_notify_win32="no"
28251
28252 # Check whether --enable-notify-win32 was given.
28253 if test "${enable_notify_win32+set}" = set; then :
28254   enableval=$enable_notify_win32;
28255     if test "x${enableval}" = "xyes" ; then
28256        _ecore_want_notify_win32="yes"
28257     else
28258        _ecore_want_notify_win32="no"
28259     fi
28260
28261 fi
28262
28263
28264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Windows notification is to be used for filemonitoring" >&5
28265 $as_echo_n "checking whether Windows notification is to be used for filemonitoring... " >&6; }
28266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_ecore_want_notify_win32}" >&5
28267 $as_echo "${_ecore_want_notify_win32}" >&6; }
28268
28269 if test "x${_ecore_want_notify_win32}" = "xyes" ; then
28270
28271 $as_echo "#define HAVE_NOTIFY_WIN32 1" >>confdefs.h
28272
28273    _ecore_have_notify_win32="yes"
28274 fi
28275
28276 if test "x${_ecore_have_notify_win32}" = "xyes" ; then
28277    have_notify_win32="yes"
28278 else
28279    have_notify_win32="no"
28280 fi
28281
28282
28283    if test "x${have_ecore_con}" = "xyes" ; then
28284       requirements_ecore_file="ecore-con >= 1.7.8 ${requirements_ecore_file}"
28285    else
28286
28287 _ecore_want_curl=${want_curl}
28288 _ecore_have_curl="no"
28289
28290 # Check whether --enable-curl was given.
28291 if test "${enable_curl+set}" = set; then :
28292   enableval=$enable_curl;
28293     if test "x${enableval}" = "xyes" ; then
28294        _ecore_want_curl="yes"
28295     else
28296        _ecore_want_curl="no"
28297     fi
28298
28299 fi
28300
28301
28302 if test "x${_ecore_want_curl}" = "xyes" ; then
28303
28304 pkg_failed=no
28305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
28306 $as_echo_n "checking for CURL... " >&6; }
28307
28308 if test -n "$CURL_CFLAGS"; then
28309     pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
28310  elif test -n "$PKG_CONFIG"; then
28311     if test -n "$PKG_CONFIG" && \
28312     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
28313   ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
28314   ac_status=$?
28315   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28316   test $ac_status = 0; }; then
28317   pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
28318                       test "x$?" != "x0" && pkg_failed=yes
28319 else
28320   pkg_failed=yes
28321 fi
28322  else
28323     pkg_failed=untried
28324 fi
28325 if test -n "$CURL_LIBS"; then
28326     pkg_cv_CURL_LIBS="$CURL_LIBS"
28327  elif test -n "$PKG_CONFIG"; then
28328     if test -n "$PKG_CONFIG" && \
28329     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
28330   ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
28331   ac_status=$?
28332   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28333   test $ac_status = 0; }; then
28334   pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
28335                       test "x$?" != "x0" && pkg_failed=yes
28336 else
28337   pkg_failed=yes
28338 fi
28339  else
28340     pkg_failed=untried
28341 fi
28342
28343
28344
28345 if test $pkg_failed = yes; then
28346         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28347 $as_echo "no" >&6; }
28348
28349 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28350         _pkg_short_errors_supported=yes
28351 else
28352         _pkg_short_errors_supported=no
28353 fi
28354         if test $_pkg_short_errors_supported = yes; then
28355                 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl" 2>&1`
28356         else
28357                 CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl" 2>&1`
28358         fi
28359         # Put the nasty error message in config.log where it belongs
28360         echo "$CURL_PKG_ERRORS" >&5
28361
28362         _ecore_have_curl="no"
28363 elif test $pkg_failed = untried; then
28364         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28365 $as_echo "no" >&6; }
28366         _ecore_have_curl="no"
28367 else
28368         CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
28369         CURL_LIBS=$pkg_cv_CURL_LIBS
28370         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28371 $as_echo "yes" >&6; }
28372
28373
28374 $as_echo "#define HAVE_CURL 1" >>confdefs.h
28375
28376        _ecore_have_curl="yes"
28377
28378 fi
28379 fi
28380
28381 if test "x$_ecore_have_curl" = "xyes" ; then
28382
28383           have_curl="yes"
28384           requirements_ecore_file="libcurl ${requirements_ecore_file}"
28385
28386 else
28387    have_curl="no"
28388 fi
28389
28390    fi
28391
28392 fi
28393
28394 # ecore_config
28395 #ecore_config_deps="no"
28396 #if test "x${have_eet}" = "xyes" -a "x${have_evas}"  -a "x${have_ecore_ipc}" ; then
28397 #   ecore_config_deps="yes"
28398 #fi
28399
28400 #ECORE_CHECK_MODULE([config], [${want_ecore_config}], [Config], [${ecore_config_deps}],
28401 #   [requirements_ecore_config="ecore-ipc >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 ${requirements_ecore_config}"])
28402
28403  if false; then
28404   BUILD_ECORE_CONFIG_TRUE=
28405   BUILD_ECORE_CONFIG_FALSE='#'
28406 else
28407   BUILD_ECORE_CONFIG_TRUE='#'
28408   BUILD_ECORE_CONFIG_FALSE=
28409 fi
28410
28411
28412 # ecore_imf
28413
28414
28415
28416 have_ecore_imf=no
28417 ecore_imf_cflags=
28418 ecore_imf_libs=
28419 want_module=${want_ecore_imf}
28420
28421 # Check whether --enable-ecore-imf was given.
28422 if test "${enable_ecore_imf+set}" = set; then :
28423   enableval=$enable_ecore_imf;
28424     if test "x${enableval}" = "xyes" ; then
28425        want_module="yes"
28426     else
28427        want_module="no"
28428     fi
28429
28430 fi
28431
28432
28433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Imf module is to be built" >&5
28434 $as_echo_n "checking whether Ecore_Imf module is to be built... " >&6; }
28435
28436 if test "x${want_module}" = "xyes" ; then
28437    if test "x" = "x" || test "x" = "xyes" ; then
28438
28439 $as_echo "#define BUILD_ECORE_IMF 1" >>confdefs.h
28440
28441       have_ecore_imf="yes"
28442       ecore_imf_libs="-lecore_imf"
28443       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28444 $as_echo "yes" >&6; }
28445    else
28446       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28447 $as_echo "no (dependency failed)" >&6; }
28448    fi
28449 else
28450    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28451 $as_echo "no" >&6; }
28452 fi
28453
28454  if test "x$have_ecore_imf" = "xyes"; then
28455   BUILD_ECORE_IMF_TRUE=
28456   BUILD_ECORE_IMF_FALSE='#'
28457 else
28458   BUILD_ECORE_IMF_TRUE='#'
28459   BUILD_ECORE_IMF_FALSE=
28460 fi
28461
28462
28463 if test "x$have_ecore_imf" = "xyes"; then :
28464
28465 fi
28466
28467
28468
28469
28470
28471
28472
28473
28474 # ecore_imf_evas
28475
28476 ecore_imf_evas_deps="no"
28477 if test "x${have_ecore_imf}" = "xyes" -a "x${have_evas}" = "xyes" ; then
28478    ecore_imf_evas_deps="yes"
28479 fi
28480
28481
28482
28483 have_ecore_imf_evas=no
28484 ecore_imf_evas_cflags=
28485 ecore_imf_evas_libs=
28486 want_module=${want_ecore_imf}
28487
28488 # Check whether --enable-ecore-imf-evas was given.
28489 if test "${enable_ecore_imf_evas+set}" = set; then :
28490   enableval=$enable_ecore_imf_evas;
28491     if test "x${enableval}" = "xyes" ; then
28492        want_module="yes"
28493     else
28494        want_module="no"
28495     fi
28496
28497 fi
28498
28499
28500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Imf_Evas module is to be built" >&5
28501 $as_echo_n "checking whether Ecore_Imf_Evas module is to be built... " >&6; }
28502
28503 if test "x${want_module}" = "xyes" ; then
28504    if test "x${ecore_imf_evas_deps}" = "x" || test "x${ecore_imf_evas_deps}" = "xyes" ; then
28505
28506 $as_echo "#define BUILD_ECORE_IMF_EVAS 1" >>confdefs.h
28507
28508       have_ecore_imf_evas="yes"
28509       ecore_imf_evas_libs="-lecore_imf_evas"
28510       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28511 $as_echo "yes" >&6; }
28512    else
28513       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28514 $as_echo "no (dependency failed)" >&6; }
28515    fi
28516 else
28517    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28518 $as_echo "no" >&6; }
28519 fi
28520
28521  if test "x$have_ecore_imf_evas" = "xyes"; then
28522   BUILD_ECORE_IMF_EVAS_TRUE=
28523   BUILD_ECORE_IMF_EVAS_FALSE='#'
28524 else
28525   BUILD_ECORE_IMF_EVAS_TRUE='#'
28526   BUILD_ECORE_IMF_EVAS_FALSE=
28527 fi
28528
28529
28530 if test "x$have_ecore_imf_evas" = "xyes"; then :
28531   requirements_ecore_imf_evas="ecore-imf >= 1.7.8 evas >= 1.7.8 ${requirements_ecore_imf_evas}"
28532 fi
28533
28534
28535
28536
28537
28538
28539
28540
28541 # ecore_input{_evas}
28542
28543
28544 have_ecore_input=no
28545 ecore_input_cflags=
28546 ecore_input_libs=
28547 want_module=${want_ecore_input}
28548
28549 # Check whether --enable-ecore-input was given.
28550 if test "${enable_ecore_input+set}" = set; then :
28551   enableval=$enable_ecore_input;
28552     if test "x${enableval}" = "xyes" ; then
28553        want_module="yes"
28554     else
28555        want_module="no"
28556     fi
28557
28558 fi
28559
28560
28561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Input module is to be built" >&5
28562 $as_echo_n "checking whether Ecore_Input module is to be built... " >&6; }
28563
28564 if test "x${want_module}" = "xyes" ; then
28565    if test "x" = "x" || test "x" = "xyes" ; then
28566
28567 $as_echo "#define BUILD_ECORE_INPUT 1" >>confdefs.h
28568
28569       have_ecore_input="yes"
28570       ecore_input_libs="-lecore_input"
28571       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28572 $as_echo "yes" >&6; }
28573    else
28574       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28575 $as_echo "no (dependency failed)" >&6; }
28576    fi
28577 else
28578    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28579 $as_echo "no" >&6; }
28580 fi
28581
28582  if test "x$have_ecore_input" = "xyes"; then
28583   BUILD_ECORE_INPUT_TRUE=
28584   BUILD_ECORE_INPUT_FALSE='#'
28585 else
28586   BUILD_ECORE_INPUT_TRUE='#'
28587   BUILD_ECORE_INPUT_FALSE=
28588 fi
28589
28590
28591 if test "x$have_ecore_input" = "xyes"; then :
28592
28593 fi
28594
28595
28596
28597
28598
28599
28600
28601
28602
28603 have_ecore_input_evas=no
28604 ecore_input_evas_cflags=
28605 ecore_input_evas_libs=
28606 want_module=${want_ecore_input}
28607
28608 # Check whether --enable-ecore-input-evas was given.
28609 if test "${enable_ecore_input_evas+set}" = set; then :
28610   enableval=$enable_ecore_input_evas;
28611     if test "x${enableval}" = "xyes" ; then
28612        want_module="yes"
28613     else
28614        want_module="no"
28615     fi
28616
28617 fi
28618
28619
28620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Input_Evas module is to be built" >&5
28621 $as_echo_n "checking whether Ecore_Input_Evas module is to be built... " >&6; }
28622
28623 if test "x${want_module}" = "xyes" ; then
28624    if test "x${have_evas}" = "x" || test "x${have_evas}" = "xyes" ; then
28625
28626 $as_echo "#define BUILD_ECORE_INPUT_EVAS 1" >>confdefs.h
28627
28628       have_ecore_input_evas="yes"
28629       ecore_input_evas_libs="-lecore_input_evas"
28630       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28631 $as_echo "yes" >&6; }
28632    else
28633       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28634 $as_echo "no (dependency failed)" >&6; }
28635    fi
28636 else
28637    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28638 $as_echo "no" >&6; }
28639 fi
28640
28641  if test "x$have_ecore_input_evas" = "xyes"; then
28642   BUILD_ECORE_INPUT_EVAS_TRUE=
28643   BUILD_ECORE_INPUT_EVAS_FALSE='#'
28644 else
28645   BUILD_ECORE_INPUT_EVAS_TRUE='#'
28646   BUILD_ECORE_INPUT_EVAS_FALSE=
28647 fi
28648
28649
28650 if test "x$have_ecore_input_evas" = "xyes"; then :
28651   requirements_ecore_input_evas="ecore-input >= 1.7.8 evas >= 1.7.8 ${requirements_ecore_input}"
28652 fi
28653
28654
28655
28656
28657
28658
28659
28660
28661 # ecore_imf_xim
28662  if false; then
28663   BUILD_ECORE_IMF_XIM_TRUE=
28664   BUILD_ECORE_IMF_XIM_FALSE='#'
28665 else
28666   BUILD_ECORE_IMF_XIM_TRUE='#'
28667   BUILD_ECORE_IMF_XIM_FALSE=
28668 fi
28669
28670 ecore_imf_xim_deps="no"
28671 echo "have_ecore_x_xlib: ${have_ecore_x_xlib}"
28672 if test    "x${have_ecore_imf}" = "xyes" \
28673         -a "x${have_ecore_x_xlib}" = "xyes" \
28674         -a "x${have_ecore_input}" = "xyes" ; then
28675    ecore_imf_xim_deps="yes"
28676
28677 $as_echo "#define BUILD_ECORE_IMF_XIM 1" >>confdefs.h
28678
28679 fi
28680
28681
28682
28683 have_ecore_imf_xim=no
28684 ecore_imf_xim_cflags=
28685 ecore_imf_xim_libs=
28686 want_module=${want_ecore_imf}
28687
28688 # Check whether --enable-ecore-imf-xim was given.
28689 if test "${enable_ecore_imf_xim+set}" = set; then :
28690   enableval=$enable_ecore_imf_xim;
28691     if test "x${enableval}" = "xyes" ; then
28692        want_module="yes"
28693     else
28694        want_module="no"
28695     fi
28696
28697 fi
28698
28699
28700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Imf_XIM module is to be built" >&5
28701 $as_echo_n "checking whether Ecore_Imf_XIM module is to be built... " >&6; }
28702
28703 if test "x${want_module}" = "xyes" ; then
28704    if test "x${ecore_imf_xim_deps}" = "x" || test "x${ecore_imf_xim_deps}" = "xyes" ; then
28705
28706 $as_echo "#define BUILD_ECORE_IMF_XIM 1" >>confdefs.h
28707
28708       have_ecore_imf_xim="yes"
28709       ecore_imf_xim_libs="-lecore_imf_xim"
28710       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28711 $as_echo "yes" >&6; }
28712    else
28713       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28714 $as_echo "no (dependency failed)" >&6; }
28715    fi
28716 else
28717    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28718 $as_echo "no" >&6; }
28719 fi
28720
28721  if test "x$have_ecore_imf_xim" = "xyes"; then
28722   BUILD_ECORE_IMF_XIM_TRUE=
28723   BUILD_ECORE_IMF_XIM_FALSE='#'
28724 else
28725   BUILD_ECORE_IMF_XIM_TRUE='#'
28726   BUILD_ECORE_IMF_XIM_FALSE=
28727 fi
28728
28729
28730 if test "x$have_ecore_imf_xim" = "xyes"; then :
28731   requirements_ecore_imf_xim="ecore-imf >= 1.7.8 ecore-x >= 1.7.8 ecore-input >= 1.7.8 ${requirements_ecore_imf_xim}"
28732 fi
28733
28734
28735
28736
28737
28738
28739
28740
28741 # ecore_imf_scim
28742
28743 pkg_failed=no
28744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SCIM" >&5
28745 $as_echo_n "checking for SCIM... " >&6; }
28746
28747 if test -n "$SCIM_CFLAGS"; then
28748     pkg_cv_SCIM_CFLAGS="$SCIM_CFLAGS"
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 \"scim\""; } >&5
28752   ($PKG_CONFIG --exists --print-errors "scim") 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_SCIM_CFLAGS=`$PKG_CONFIG --cflags "scim" 2>/dev/null`
28757                       test "x$?" != "x0" && pkg_failed=yes
28758 else
28759   pkg_failed=yes
28760 fi
28761  else
28762     pkg_failed=untried
28763 fi
28764 if test -n "$SCIM_LIBS"; then
28765     pkg_cv_SCIM_LIBS="$SCIM_LIBS"
28766  elif test -n "$PKG_CONFIG"; then
28767     if test -n "$PKG_CONFIG" && \
28768     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"scim\""; } >&5
28769   ($PKG_CONFIG --exists --print-errors "scim") 2>&5
28770   ac_status=$?
28771   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28772   test $ac_status = 0; }; then
28773   pkg_cv_SCIM_LIBS=`$PKG_CONFIG --libs "scim" 2>/dev/null`
28774                       test "x$?" != "x0" && pkg_failed=yes
28775 else
28776   pkg_failed=yes
28777 fi
28778  else
28779     pkg_failed=untried
28780 fi
28781
28782
28783
28784 if test $pkg_failed = yes; then
28785         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28786 $as_echo "no" >&6; }
28787
28788 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28789         _pkg_short_errors_supported=yes
28790 else
28791         _pkg_short_errors_supported=no
28792 fi
28793         if test $_pkg_short_errors_supported = yes; then
28794                 SCIM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "scim" 2>&1`
28795         else
28796                 SCIM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "scim" 2>&1`
28797         fi
28798         # Put the nasty error message in config.log where it belongs
28799         echo "$SCIM_PKG_ERRORS" >&5
28800
28801         have_scim="no"
28802 elif test $pkg_failed = untried; then
28803         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28804 $as_echo "no" >&6; }
28805         have_scim="no"
28806 else
28807         SCIM_CFLAGS=$pkg_cv_SCIM_CFLAGS
28808         SCIM_LIBS=$pkg_cv_SCIM_LIBS
28809         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28810 $as_echo "yes" >&6; }
28811         have_scim="yes"
28812 fi
28813
28814  if false; then
28815   BUILD_ECORE_IMF_SCIM_TRUE=
28816   BUILD_ECORE_IMF_SCIM_FALSE='#'
28817 else
28818   BUILD_ECORE_IMF_SCIM_TRUE='#'
28819   BUILD_ECORE_IMF_SCIM_FALSE=
28820 fi
28821
28822 ecore_imf_scim_deps="no"
28823 echo "have_ecore_x_xlib: ${have_ecore_x_xlib}"
28824 if test    "x${have_ecore_imf}" = "xyes" \
28825         -a "x${have_scim}" =  "xyes" \
28826         -a "x${have_ecore_input}" = "xyes" ; then
28827    ecore_imf_scim_deps="yes"
28828
28829 $as_echo "#define BUILD_ECORE_IMF_SCIM 1" >>confdefs.h
28830
28831 fi
28832
28833
28834
28835 have_ecore_imf_scim=no
28836 ecore_imf_scim_cflags=
28837 ecore_imf_scim_libs=
28838 want_module=${want_ecore_imf}
28839
28840 # Check whether --enable-ecore-imf-scim was given.
28841 if test "${enable_ecore_imf_scim+set}" = set; then :
28842   enableval=$enable_ecore_imf_scim;
28843     if test "x${enableval}" = "xyes" ; then
28844        want_module="yes"
28845     else
28846        want_module="no"
28847     fi
28848
28849 fi
28850
28851
28852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Imf_SCIM module is to be built" >&5
28853 $as_echo_n "checking whether Ecore_Imf_SCIM module is to be built... " >&6; }
28854
28855 if test "x${want_module}" = "xyes" ; then
28856    if test "x${ecore_imf_scim_deps}" = "x" || test "x${ecore_imf_scim_deps}" = "xyes" ; then
28857
28858 $as_echo "#define BUILD_ECORE_IMF_SCIM 1" >>confdefs.h
28859
28860       have_ecore_imf_scim="yes"
28861       ecore_imf_scim_libs="-lecore_imf_scim"
28862       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28863 $as_echo "yes" >&6; }
28864    else
28865       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28866 $as_echo "no (dependency failed)" >&6; }
28867    fi
28868 else
28869    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28870 $as_echo "no" >&6; }
28871 fi
28872
28873  if test "x$have_ecore_imf_scim" = "xyes"; then
28874   BUILD_ECORE_IMF_SCIM_TRUE=
28875   BUILD_ECORE_IMF_SCIM_FALSE='#'
28876 else
28877   BUILD_ECORE_IMF_SCIM_TRUE='#'
28878   BUILD_ECORE_IMF_SCIM_FALSE=
28879 fi
28880
28881
28882 if test "x$have_ecore_imf_scim" = "xyes"; then :
28883   requirements_ecore_imf_scim="ecore-imf >= 1.7.8 ecore-x >= 1.7.8 ecore-input >= 1.7.8 ${requirements_ecore_imf_scim}"
28884 fi
28885
28886
28887
28888
28889
28890
28891
28892
28893 ## Graphic systems
28894
28895 # ecore_x{cb}
28896
28897 ecore_x_deps="no"
28898 if test "x${have_x}" = "xyes" -a \
28899         "x${have_ecore_input}" = "xyes" ; then
28900    ecore_x_deps="yes"
28901 fi
28902
28903
28904
28905 have_ecore_x=no
28906 ecore_x_cflags=
28907 ecore_x_libs=
28908 want_module=${want_ecore_x}
28909
28910 # Check whether --enable-ecore-x was given.
28911 if test "${enable_ecore_x+set}" = set; then :
28912   enableval=$enable_ecore_x;
28913     if test "x${enableval}" = "xyes" ; then
28914        want_module="yes"
28915     else
28916        want_module="no"
28917     fi
28918
28919 fi
28920
28921
28922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_X module is to be built" >&5
28923 $as_echo_n "checking whether Ecore_X module is to be built... " >&6; }
28924
28925 if test "x${want_module}" = "xyes" ; then
28926    if test "x${ecore_x_deps}" = "x" || test "x${ecore_x_deps}" = "xyes" ; then
28927
28928 $as_echo "#define BUILD_ECORE_X 1" >>confdefs.h
28929
28930       have_ecore_x="yes"
28931       ecore_x_libs="-lecore_x"
28932       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28933 $as_echo "yes" >&6; }
28934    else
28935       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28936 $as_echo "no (dependency failed)" >&6; }
28937    fi
28938 else
28939    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28940 $as_echo "no" >&6; }
28941 fi
28942
28943  if test "x$have_ecore_x" = "xyes"; then
28944   BUILD_ECORE_X_TRUE=
28945   BUILD_ECORE_X_FALSE='#'
28946 else
28947   BUILD_ECORE_X_TRUE='#'
28948   BUILD_ECORE_X_FALSE=
28949 fi
28950
28951
28952 if test "x$have_ecore_x" = "xyes"; then :
28953
28954    ecore_x_libs="$ecore_x_libs $x_libs"
28955    requirements_ecore_x="ecore-input >= 1.7.8 ${requirements_ecore_x}"
28956
28957 fi
28958
28959
28960
28961
28962
28963
28964
28965
28966 # ecore_win32
28967
28968
28969
28970 have_ecore_win32=no
28971 ecore_win32_cflags=
28972 ecore_win32_libs=
28973 want_module=${want_ecore_win32}
28974
28975 # Check whether --enable-ecore-win32 was given.
28976 if test "${enable_ecore_win32+set}" = set; then :
28977   enableval=$enable_ecore_win32;
28978     if test "x${enableval}" = "xyes" ; then
28979        want_module="yes"
28980     else
28981        want_module="no"
28982     fi
28983
28984 fi
28985
28986
28987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Win32 module is to be built" >&5
28988 $as_echo_n "checking whether Ecore_Win32 module is to be built... " >&6; }
28989
28990 if test "x${want_module}" = "xyes" ; then
28991    if test "x${have_ecore_input}" = "x" || test "x${have_ecore_input}" = "xyes" ; then
28992
28993 $as_echo "#define BUILD_ECORE_WIN32 1" >>confdefs.h
28994
28995       have_ecore_win32="yes"
28996       ecore_win32_libs="-lecore_win32"
28997       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28998 $as_echo "yes" >&6; }
28999    else
29000       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
29001 $as_echo "no (dependency failed)" >&6; }
29002    fi
29003 else
29004    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29005 $as_echo "no" >&6; }
29006 fi
29007
29008  if test "x$have_ecore_win32" = "xyes"; then
29009   BUILD_ECORE_WIN32_TRUE=
29010   BUILD_ECORE_WIN32_FALSE='#'
29011 else
29012   BUILD_ECORE_WIN32_TRUE='#'
29013   BUILD_ECORE_WIN32_FALSE=
29014 fi
29015
29016
29017 if test "x$have_ecore_win32" = "xyes"; then :
29018
29019     ecore_win32_libs="-lole32 -lgdi32"
29020     requirements_ecore_win32="ecore-input >= 1.7.8 ${requirements_ecore_win32}"
29021
29022 fi
29023
29024
29025
29026
29027
29028
29029
29030
29031
29032 # ecore_cocoa
29033
29034 ecore_cocoa_deps="no"
29035 if test "x${have_ecore_input}" = "xyes" -a "x${have_cocoa}" = "xyes" ; then
29036    ecore_cocoa_deps="yes"
29037 fi
29038
29039
29040
29041 have_ecore_cocoa=no
29042 ecore_cocoa_cflags=
29043 ecore_cocoa_libs=
29044 want_module=${want_ecore_cocoa}
29045
29046 # Check whether --enable-ecore-cocoa was given.
29047 if test "${enable_ecore_cocoa+set}" = set; then :
29048   enableval=$enable_ecore_cocoa;
29049     if test "x${enableval}" = "xyes" ; then
29050        want_module="yes"
29051     else
29052        want_module="no"
29053     fi
29054
29055 fi
29056
29057
29058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Cocoa module is to be built" >&5
29059 $as_echo_n "checking whether Ecore_Cocoa module is to be built... " >&6; }
29060
29061 if test "x${want_module}" = "xyes" ; then
29062    if test "x${ecore_cocoa_deps}" = "x" || test "x${ecore_cocoa_deps}" = "xyes" ; then
29063
29064 $as_echo "#define BUILD_ECORE_COCOA 1" >>confdefs.h
29065
29066       have_ecore_cocoa="yes"
29067       ecore_cocoa_libs="-lecore_cocoa"
29068       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29069 $as_echo "yes" >&6; }
29070    else
29071       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
29072 $as_echo "no (dependency failed)" >&6; }
29073    fi
29074 else
29075    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29076 $as_echo "no" >&6; }
29077 fi
29078
29079  if test "x$have_ecore_cocoa" = "xyes"; then
29080   BUILD_ECORE_COCOA_TRUE=
29081   BUILD_ECORE_COCOA_FALSE='#'
29082 else
29083   BUILD_ECORE_COCOA_TRUE='#'
29084   BUILD_ECORE_COCOA_FALSE=
29085 fi
29086
29087
29088 if test "x$have_ecore_cocoa" = "xyes"; then :
29089   requirements_ecore_cocoa="ecore-input >= 1.7.8 ${requirements_ecore_cocoa}"
29090 fi
29091
29092
29093
29094
29095
29096
29097
29098
29099 # ecore_sdl
29100
29101 ecore_sdl_deps="no"
29102 if test "x${have_sdl}" = "xyes" -a "x${have_ecore_input}" = "xyes" ; then
29103    ecore_sdl_deps="yes"
29104 fi
29105
29106
29107
29108 have_ecore_sdl=no
29109 ecore_sdl_cflags=
29110 ecore_sdl_libs=
29111 want_module=${want_ecore_sdl}
29112
29113 # Check whether --enable-ecore-sdl was given.
29114 if test "${enable_ecore_sdl+set}" = set; then :
29115   enableval=$enable_ecore_sdl;
29116     if test "x${enableval}" = "xyes" ; then
29117        want_module="yes"
29118     else
29119        want_module="no"
29120     fi
29121
29122 fi
29123
29124
29125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Sdl module is to be built" >&5
29126 $as_echo_n "checking whether Ecore_Sdl module is to be built... " >&6; }
29127
29128 if test "x${want_module}" = "xyes" ; then
29129    if test "x${ecore_sdl_deps}" = "x" || test "x${ecore_sdl_deps}" = "xyes" ; then
29130
29131 $as_echo "#define BUILD_ECORE_SDL 1" >>confdefs.h
29132
29133       have_ecore_sdl="yes"
29134       ecore_sdl_libs="-lecore_sdl"
29135       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29136 $as_echo "yes" >&6; }
29137    else
29138       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
29139 $as_echo "no (dependency failed)" >&6; }
29140    fi
29141 else
29142    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29143 $as_echo "no" >&6; }
29144 fi
29145
29146  if test "x$have_ecore_sdl" = "xyes"; then
29147   BUILD_ECORE_SDL_TRUE=
29148   BUILD_ECORE_SDL_FALSE='#'
29149 else
29150   BUILD_ECORE_SDL_TRUE='#'
29151   BUILD_ECORE_SDL_FALSE=
29152 fi
29153
29154
29155 if test "x$have_ecore_sdl" = "xyes"; then :
29156   requirements_ecore_sdl="ecore-input >= 1.7.8 ${requirements_ecore_sdl}"
29157 fi
29158
29159
29160
29161
29162
29163
29164
29165
29166
29167
29168 have_ecore_psl1ght=no
29169 ecore_psl1ght_cflags=
29170 ecore_psl1ght_libs=
29171 want_module=${want_ecore_psl1ght}
29172
29173 # Check whether --enable-ecore-psl1ght was given.
29174 if test "${enable_ecore_psl1ght+set}" = set; then :
29175   enableval=$enable_ecore_psl1ght;
29176     if test "x${enableval}" = "xyes" ; then
29177        want_module="yes"
29178     else
29179        want_module="no"
29180     fi
29181
29182 fi
29183
29184
29185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_psl1ght module is to be built" >&5
29186 $as_echo_n "checking whether Ecore_psl1ght module is to be built... " >&6; }
29187
29188 if test "x${want_module}" = "xyes" ; then
29189    if test "x${ecore_psl1ght_deps}" = "x" || test "x${ecore_psl1ght_deps}" = "xyes" ; then
29190
29191 $as_echo "#define BUILD_ECORE_PSL1GHT 1" >>confdefs.h
29192
29193       have_ecore_psl1ght="yes"
29194       ecore_psl1ght_libs="-lecore_psl1ght"
29195       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29196 $as_echo "yes" >&6; }
29197    else
29198       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
29199 $as_echo "no (dependency failed)" >&6; }
29200    fi
29201 else
29202    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29203 $as_echo "no" >&6; }
29204 fi
29205
29206  if test "x$have_ecore_psl1ght" = "xyes"; then
29207   BUILD_ECORE_PSL1GHT_TRUE=
29208   BUILD_ECORE_PSL1GHT_FALSE='#'
29209 else
29210   BUILD_ECORE_PSL1GHT_TRUE='#'
29211   BUILD_ECORE_PSL1GHT_FALSE=
29212 fi
29213
29214
29215 if test "x$have_ecore_psl1ght" = "xyes"; then :
29216   requirements_ecore_psl1ght="ecore-input >= 1.7.8 ${requirements_ecore_psl1ght}"
29217 fi
29218
29219
29220
29221
29222
29223
29224
29225
29226 # ecore_fb
29227
29228
29229 have_ecore_fb=no
29230 ecore_fb_cflags=
29231 ecore_fb_libs=
29232 want_module=${want_ecore_fb}
29233
29234 # Check whether --enable-ecore-fb was given.
29235 if test "${enable_ecore_fb+set}" = set; then :
29236   enableval=$enable_ecore_fb;
29237     if test "x${enableval}" = "xyes" ; then
29238        want_module="yes"
29239     else
29240        want_module="no"
29241     fi
29242
29243 fi
29244
29245
29246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_FB module is to be built" >&5
29247 $as_echo_n "checking whether Ecore_FB module is to be built... " >&6; }
29248
29249 if test "x${want_module}" = "xyes" ; then
29250    if test "x$have_fb" = "x" || test "x$have_fb" = "xyes" ; then
29251
29252 $as_echo "#define BUILD_ECORE_FB 1" >>confdefs.h
29253
29254       have_ecore_fb="yes"
29255       ecore_fb_libs="-lecore_fb"
29256       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29257 $as_echo "yes" >&6; }
29258    else
29259       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
29260 $as_echo "no (dependency failed)" >&6; }
29261    fi
29262 else
29263    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29264 $as_echo "no" >&6; }
29265 fi
29266
29267  if test "x$have_ecore_fb" = "xyes"; then
29268   BUILD_ECORE_FB_TRUE=
29269   BUILD_ECORE_FB_FALSE='#'
29270 else
29271   BUILD_ECORE_FB_TRUE='#'
29272   BUILD_ECORE_FB_FALSE=
29273 fi
29274
29275
29276 if test "x$have_ecore_fb" = "xyes"; then :
29277
29278 fi
29279
29280
29281
29282
29283
29284
29285
29286
29287 if test "x${have_ecore_fb}" = "xyes" ; then
29288
29289 _tslib_requirement=""
29290 _ecore_want_tslib=${want_tslib}
29291 _ecore_have_tslib="no"
29292 TSLIB_LIBS=""
29293 TSLIB_CFLAGS=""
29294
29295 # Check whether --enable-tslib was given.
29296 if test "${enable_tslib+set}" = set; then :
29297   enableval=$enable_tslib;
29298     if test "x${enableval}" = "xyes" ; then
29299        _ecore_want_tslib="yes"
29300     else
29301        _ecore_want_tslib="no"
29302     fi
29303
29304 fi
29305
29306
29307 if test "x${_ecore_want_tslib}" = "xyes" -o "x${_ecore_want_tslib}" = "xauto" ; then
29308
29309 pkg_failed=no
29310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TSLIB" >&5
29311 $as_echo_n "checking for TSLIB... " >&6; }
29312
29313 if test -n "$TSLIB_CFLAGS"; then
29314     pkg_cv_TSLIB_CFLAGS="$TSLIB_CFLAGS"
29315  elif test -n "$PKG_CONFIG"; then
29316     if test -n "$PKG_CONFIG" && \
29317     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib-1.0\""; } >&5
29318   ($PKG_CONFIG --exists --print-errors "tslib-1.0") 2>&5
29319   ac_status=$?
29320   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29321   test $ac_status = 0; }; then
29322   pkg_cv_TSLIB_CFLAGS=`$PKG_CONFIG --cflags "tslib-1.0" 2>/dev/null`
29323                       test "x$?" != "x0" && pkg_failed=yes
29324 else
29325   pkg_failed=yes
29326 fi
29327  else
29328     pkg_failed=untried
29329 fi
29330 if test -n "$TSLIB_LIBS"; then
29331     pkg_cv_TSLIB_LIBS="$TSLIB_LIBS"
29332  elif test -n "$PKG_CONFIG"; then
29333     if test -n "$PKG_CONFIG" && \
29334     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib-1.0\""; } >&5
29335   ($PKG_CONFIG --exists --print-errors "tslib-1.0") 2>&5
29336   ac_status=$?
29337   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29338   test $ac_status = 0; }; then
29339   pkg_cv_TSLIB_LIBS=`$PKG_CONFIG --libs "tslib-1.0" 2>/dev/null`
29340                       test "x$?" != "x0" && pkg_failed=yes
29341 else
29342   pkg_failed=yes
29343 fi
29344  else
29345     pkg_failed=untried
29346 fi
29347
29348
29349
29350 if test $pkg_failed = yes; then
29351         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29352 $as_echo "no" >&6; }
29353
29354 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29355         _pkg_short_errors_supported=yes
29356 else
29357         _pkg_short_errors_supported=no
29358 fi
29359         if test $_pkg_short_errors_supported = yes; then
29360                 TSLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tslib-1.0" 2>&1`
29361         else
29362                 TSLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tslib-1.0" 2>&1`
29363         fi
29364         # Put the nasty error message in config.log where it belongs
29365         echo "$TSLIB_PKG_ERRORS" >&5
29366
29367
29368
29369 pkg_failed=no
29370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TSLIB" >&5
29371 $as_echo_n "checking for TSLIB... " >&6; }
29372
29373 if test -n "$TSLIB_CFLAGS"; then
29374     pkg_cv_TSLIB_CFLAGS="$TSLIB_CFLAGS"
29375  elif test -n "$PKG_CONFIG"; then
29376     if test -n "$PKG_CONFIG" && \
29377     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib\""; } >&5
29378   ($PKG_CONFIG --exists --print-errors "tslib") 2>&5
29379   ac_status=$?
29380   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29381   test $ac_status = 0; }; then
29382   pkg_cv_TSLIB_CFLAGS=`$PKG_CONFIG --cflags "tslib" 2>/dev/null`
29383                       test "x$?" != "x0" && pkg_failed=yes
29384 else
29385   pkg_failed=yes
29386 fi
29387  else
29388     pkg_failed=untried
29389 fi
29390 if test -n "$TSLIB_LIBS"; then
29391     pkg_cv_TSLIB_LIBS="$TSLIB_LIBS"
29392  elif test -n "$PKG_CONFIG"; then
29393     if test -n "$PKG_CONFIG" && \
29394     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib\""; } >&5
29395   ($PKG_CONFIG --exists --print-errors "tslib") 2>&5
29396   ac_status=$?
29397   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29398   test $ac_status = 0; }; then
29399   pkg_cv_TSLIB_LIBS=`$PKG_CONFIG --libs "tslib" 2>/dev/null`
29400                       test "x$?" != "x0" && pkg_failed=yes
29401 else
29402   pkg_failed=yes
29403 fi
29404  else
29405     pkg_failed=untried
29406 fi
29407
29408
29409
29410 if test $pkg_failed = yes; then
29411         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29412 $as_echo "no" >&6; }
29413
29414 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29415         _pkg_short_errors_supported=yes
29416 else
29417         _pkg_short_errors_supported=no
29418 fi
29419         if test $_pkg_short_errors_supported = yes; then
29420                 TSLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tslib" 2>&1`
29421         else
29422                 TSLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tslib" 2>&1`
29423         fi
29424         # Put the nasty error message in config.log where it belongs
29425         echo "$TSLIB_PKG_ERRORS" >&5
29426
29427
29428          ac_fn_c_check_header_mongrel "$LINENO" "tslib.h" "ac_cv_header_tslib_h" "$ac_includes_default"
29429 if test "x$ac_cv_header_tslib_h" = xyes; then :
29430
29431             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -lts" >&5
29432 $as_echo_n "checking for ts_open in -lts... " >&6; }
29433 if ${ac_cv_lib_ts_ts_open+:} false; then :
29434   $as_echo_n "(cached) " >&6
29435 else
29436   ac_check_lib_save_LIBS=$LIBS
29437 LIBS="-lts  $LIBS"
29438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29439 /* end confdefs.h.  */
29440
29441 /* Override any GCC internal prototype to avoid an error.
29442    Use char because int might match the return type of a GCC
29443    builtin and then its argument prototype would still apply.  */
29444 #ifdef __cplusplus
29445 extern "C"
29446 #endif
29447 char ts_open ();
29448 int
29449 main ()
29450 {
29451 return ts_open ();
29452   ;
29453   return 0;
29454 }
29455 _ACEOF
29456 if ac_fn_c_try_link "$LINENO"; then :
29457   ac_cv_lib_ts_ts_open=yes
29458 else
29459   ac_cv_lib_ts_ts_open=no
29460 fi
29461 rm -f core conftest.err conftest.$ac_objext \
29462     conftest$ac_exeext conftest.$ac_ext
29463 LIBS=$ac_check_lib_save_LIBS
29464 fi
29465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ts_ts_open" >&5
29466 $as_echo "$ac_cv_lib_ts_ts_open" >&6; }
29467 if test "x$ac_cv_lib_ts_ts_open" = xyes; then :
29468
29469                TSLIB_LIBS="-lts"
29470                TSLIB_CFLAGS=""
29471
29472 $as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29473
29474                _ecore_have_tslib="yes"
29475
29476 else
29477
29478                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -ltslib" >&5
29479 $as_echo_n "checking for ts_open in -ltslib... " >&6; }
29480 if ${ac_cv_lib_tslib_ts_open+:} false; then :
29481   $as_echo_n "(cached) " >&6
29482 else
29483   ac_check_lib_save_LIBS=$LIBS
29484 LIBS="-ltslib  $LIBS"
29485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29486 /* end confdefs.h.  */
29487
29488 /* Override any GCC internal prototype to avoid an error.
29489    Use char because int might match the return type of a GCC
29490    builtin and then its argument prototype would still apply.  */
29491 #ifdef __cplusplus
29492 extern "C"
29493 #endif
29494 char ts_open ();
29495 int
29496 main ()
29497 {
29498 return ts_open ();
29499   ;
29500   return 0;
29501 }
29502 _ACEOF
29503 if ac_fn_c_try_link "$LINENO"; then :
29504   ac_cv_lib_tslib_ts_open=yes
29505 else
29506   ac_cv_lib_tslib_ts_open=no
29507 fi
29508 rm -f core conftest.err conftest.$ac_objext \
29509     conftest$ac_exeext conftest.$ac_ext
29510 LIBS=$ac_check_lib_save_LIBS
29511 fi
29512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tslib_ts_open" >&5
29513 $as_echo "$ac_cv_lib_tslib_ts_open" >&6; }
29514 if test "x$ac_cv_lib_tslib_ts_open" = xyes; then :
29515
29516                   TSLIB_LIBS="-ltslib"
29517                   TSLIB_CFLAGS=""
29518
29519 $as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29520
29521                   _ecore_have_tslib="yes"
29522
29523 else
29524
29525                   _ecore_have_tslib="no"
29526
29527 fi
29528
29529
29530 fi
29531
29532
29533 fi
29534
29535
29536
29537 elif test $pkg_failed = untried; then
29538         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29539 $as_echo "no" >&6; }
29540
29541          ac_fn_c_check_header_mongrel "$LINENO" "tslib.h" "ac_cv_header_tslib_h" "$ac_includes_default"
29542 if test "x$ac_cv_header_tslib_h" = xyes; then :
29543
29544             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -lts" >&5
29545 $as_echo_n "checking for ts_open in -lts... " >&6; }
29546 if ${ac_cv_lib_ts_ts_open+:} false; then :
29547   $as_echo_n "(cached) " >&6
29548 else
29549   ac_check_lib_save_LIBS=$LIBS
29550 LIBS="-lts  $LIBS"
29551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29552 /* end confdefs.h.  */
29553
29554 /* Override any GCC internal prototype to avoid an error.
29555    Use char because int might match the return type of a GCC
29556    builtin and then its argument prototype would still apply.  */
29557 #ifdef __cplusplus
29558 extern "C"
29559 #endif
29560 char ts_open ();
29561 int
29562 main ()
29563 {
29564 return ts_open ();
29565   ;
29566   return 0;
29567 }
29568 _ACEOF
29569 if ac_fn_c_try_link "$LINENO"; then :
29570   ac_cv_lib_ts_ts_open=yes
29571 else
29572   ac_cv_lib_ts_ts_open=no
29573 fi
29574 rm -f core conftest.err conftest.$ac_objext \
29575     conftest$ac_exeext conftest.$ac_ext
29576 LIBS=$ac_check_lib_save_LIBS
29577 fi
29578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ts_ts_open" >&5
29579 $as_echo "$ac_cv_lib_ts_ts_open" >&6; }
29580 if test "x$ac_cv_lib_ts_ts_open" = xyes; then :
29581
29582                TSLIB_LIBS="-lts"
29583                TSLIB_CFLAGS=""
29584
29585 $as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29586
29587                _ecore_have_tslib="yes"
29588
29589 else
29590
29591                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -ltslib" >&5
29592 $as_echo_n "checking for ts_open in -ltslib... " >&6; }
29593 if ${ac_cv_lib_tslib_ts_open+:} false; then :
29594   $as_echo_n "(cached) " >&6
29595 else
29596   ac_check_lib_save_LIBS=$LIBS
29597 LIBS="-ltslib  $LIBS"
29598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29599 /* end confdefs.h.  */
29600
29601 /* Override any GCC internal prototype to avoid an error.
29602    Use char because int might match the return type of a GCC
29603    builtin and then its argument prototype would still apply.  */
29604 #ifdef __cplusplus
29605 extern "C"
29606 #endif
29607 char ts_open ();
29608 int
29609 main ()
29610 {
29611 return ts_open ();
29612   ;
29613   return 0;
29614 }
29615 _ACEOF
29616 if ac_fn_c_try_link "$LINENO"; then :
29617   ac_cv_lib_tslib_ts_open=yes
29618 else
29619   ac_cv_lib_tslib_ts_open=no
29620 fi
29621 rm -f core conftest.err conftest.$ac_objext \
29622     conftest$ac_exeext conftest.$ac_ext
29623 LIBS=$ac_check_lib_save_LIBS
29624 fi
29625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tslib_ts_open" >&5
29626 $as_echo "$ac_cv_lib_tslib_ts_open" >&6; }
29627 if test "x$ac_cv_lib_tslib_ts_open" = xyes; then :
29628
29629                   TSLIB_LIBS="-ltslib"
29630                   TSLIB_CFLAGS=""
29631
29632 $as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29633
29634                   _ecore_have_tslib="yes"
29635
29636 else
29637
29638                   _ecore_have_tslib="no"
29639
29640 fi
29641
29642
29643 fi
29644
29645
29646 fi
29647
29648
29649
29650 else
29651         TSLIB_CFLAGS=$pkg_cv_TSLIB_CFLAGS
29652         TSLIB_LIBS=$pkg_cv_TSLIB_LIBS
29653         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29654 $as_echo "yes" >&6; }
29655
29656
29657 $as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29658
29659          _ecore_have_tslib="yes"
29660          _tslib_requirement="tslib"
29661
29662 fi
29663
29664 elif test $pkg_failed = untried; then
29665         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29666 $as_echo "no" >&6; }
29667
29668
29669 pkg_failed=no
29670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TSLIB" >&5
29671 $as_echo_n "checking for TSLIB... " >&6; }
29672
29673 if test -n "$TSLIB_CFLAGS"; then
29674     pkg_cv_TSLIB_CFLAGS="$TSLIB_CFLAGS"
29675  elif test -n "$PKG_CONFIG"; then
29676     if test -n "$PKG_CONFIG" && \
29677     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib\""; } >&5
29678   ($PKG_CONFIG --exists --print-errors "tslib") 2>&5
29679   ac_status=$?
29680   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29681   test $ac_status = 0; }; then
29682   pkg_cv_TSLIB_CFLAGS=`$PKG_CONFIG --cflags "tslib" 2>/dev/null`
29683                       test "x$?" != "x0" && pkg_failed=yes
29684 else
29685   pkg_failed=yes
29686 fi
29687  else
29688     pkg_failed=untried
29689 fi
29690 if test -n "$TSLIB_LIBS"; then
29691     pkg_cv_TSLIB_LIBS="$TSLIB_LIBS"
29692  elif test -n "$PKG_CONFIG"; then
29693     if test -n "$PKG_CONFIG" && \
29694     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib\""; } >&5
29695   ($PKG_CONFIG --exists --print-errors "tslib") 2>&5
29696   ac_status=$?
29697   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29698   test $ac_status = 0; }; then
29699   pkg_cv_TSLIB_LIBS=`$PKG_CONFIG --libs "tslib" 2>/dev/null`
29700                       test "x$?" != "x0" && pkg_failed=yes
29701 else
29702   pkg_failed=yes
29703 fi
29704  else
29705     pkg_failed=untried
29706 fi
29707
29708
29709
29710 if test $pkg_failed = yes; then
29711         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29712 $as_echo "no" >&6; }
29713
29714 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29715         _pkg_short_errors_supported=yes
29716 else
29717         _pkg_short_errors_supported=no
29718 fi
29719         if test $_pkg_short_errors_supported = yes; then
29720                 TSLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tslib" 2>&1`
29721         else
29722                 TSLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tslib" 2>&1`
29723         fi
29724         # Put the nasty error message in config.log where it belongs
29725         echo "$TSLIB_PKG_ERRORS" >&5
29726
29727
29728          ac_fn_c_check_header_mongrel "$LINENO" "tslib.h" "ac_cv_header_tslib_h" "$ac_includes_default"
29729 if test "x$ac_cv_header_tslib_h" = xyes; then :
29730
29731             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -lts" >&5
29732 $as_echo_n "checking for ts_open in -lts... " >&6; }
29733 if ${ac_cv_lib_ts_ts_open+:} false; then :
29734   $as_echo_n "(cached) " >&6
29735 else
29736   ac_check_lib_save_LIBS=$LIBS
29737 LIBS="-lts  $LIBS"
29738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29739 /* end confdefs.h.  */
29740
29741 /* Override any GCC internal prototype to avoid an error.
29742    Use char because int might match the return type of a GCC
29743    builtin and then its argument prototype would still apply.  */
29744 #ifdef __cplusplus
29745 extern "C"
29746 #endif
29747 char ts_open ();
29748 int
29749 main ()
29750 {
29751 return ts_open ();
29752   ;
29753   return 0;
29754 }
29755 _ACEOF
29756 if ac_fn_c_try_link "$LINENO"; then :
29757   ac_cv_lib_ts_ts_open=yes
29758 else
29759   ac_cv_lib_ts_ts_open=no
29760 fi
29761 rm -f core conftest.err conftest.$ac_objext \
29762     conftest$ac_exeext conftest.$ac_ext
29763 LIBS=$ac_check_lib_save_LIBS
29764 fi
29765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ts_ts_open" >&5
29766 $as_echo "$ac_cv_lib_ts_ts_open" >&6; }
29767 if test "x$ac_cv_lib_ts_ts_open" = xyes; then :
29768
29769                TSLIB_LIBS="-lts"
29770                TSLIB_CFLAGS=""
29771
29772 $as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29773
29774                _ecore_have_tslib="yes"
29775
29776 else
29777
29778                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -ltslib" >&5
29779 $as_echo_n "checking for ts_open in -ltslib... " >&6; }
29780 if ${ac_cv_lib_tslib_ts_open+:} false; then :
29781   $as_echo_n "(cached) " >&6
29782 else
29783   ac_check_lib_save_LIBS=$LIBS
29784 LIBS="-ltslib  $LIBS"
29785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29786 /* end confdefs.h.  */
29787
29788 /* Override any GCC internal prototype to avoid an error.
29789    Use char because int might match the return type of a GCC
29790    builtin and then its argument prototype would still apply.  */
29791 #ifdef __cplusplus
29792 extern "C"
29793 #endif
29794 char ts_open ();
29795 int
29796 main ()
29797 {
29798 return ts_open ();
29799   ;
29800   return 0;
29801 }
29802 _ACEOF
29803 if ac_fn_c_try_link "$LINENO"; then :
29804   ac_cv_lib_tslib_ts_open=yes
29805 else
29806   ac_cv_lib_tslib_ts_open=no
29807 fi
29808 rm -f core conftest.err conftest.$ac_objext \
29809     conftest$ac_exeext conftest.$ac_ext
29810 LIBS=$ac_check_lib_save_LIBS
29811 fi
29812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tslib_ts_open" >&5
29813 $as_echo "$ac_cv_lib_tslib_ts_open" >&6; }
29814 if test "x$ac_cv_lib_tslib_ts_open" = xyes; then :
29815
29816                   TSLIB_LIBS="-ltslib"
29817                   TSLIB_CFLAGS=""
29818
29819 $as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29820
29821                   _ecore_have_tslib="yes"
29822
29823 else
29824
29825                   _ecore_have_tslib="no"
29826
29827 fi
29828
29829
29830 fi
29831
29832
29833 fi
29834
29835
29836
29837 elif test $pkg_failed = untried; then
29838         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29839 $as_echo "no" >&6; }
29840
29841          ac_fn_c_check_header_mongrel "$LINENO" "tslib.h" "ac_cv_header_tslib_h" "$ac_includes_default"
29842 if test "x$ac_cv_header_tslib_h" = xyes; then :
29843
29844             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -lts" >&5
29845 $as_echo_n "checking for ts_open in -lts... " >&6; }
29846 if ${ac_cv_lib_ts_ts_open+:} false; then :
29847   $as_echo_n "(cached) " >&6
29848 else
29849   ac_check_lib_save_LIBS=$LIBS
29850 LIBS="-lts  $LIBS"
29851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29852 /* end confdefs.h.  */
29853
29854 /* Override any GCC internal prototype to avoid an error.
29855    Use char because int might match the return type of a GCC
29856    builtin and then its argument prototype would still apply.  */
29857 #ifdef __cplusplus
29858 extern "C"
29859 #endif
29860 char ts_open ();
29861 int
29862 main ()
29863 {
29864 return ts_open ();
29865   ;
29866   return 0;
29867 }
29868 _ACEOF
29869 if ac_fn_c_try_link "$LINENO"; then :
29870   ac_cv_lib_ts_ts_open=yes
29871 else
29872   ac_cv_lib_ts_ts_open=no
29873 fi
29874 rm -f core conftest.err conftest.$ac_objext \
29875     conftest$ac_exeext conftest.$ac_ext
29876 LIBS=$ac_check_lib_save_LIBS
29877 fi
29878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ts_ts_open" >&5
29879 $as_echo "$ac_cv_lib_ts_ts_open" >&6; }
29880 if test "x$ac_cv_lib_ts_ts_open" = xyes; then :
29881
29882                TSLIB_LIBS="-lts"
29883                TSLIB_CFLAGS=""
29884
29885 $as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29886
29887                _ecore_have_tslib="yes"
29888
29889 else
29890
29891                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -ltslib" >&5
29892 $as_echo_n "checking for ts_open in -ltslib... " >&6; }
29893 if ${ac_cv_lib_tslib_ts_open+:} false; then :
29894   $as_echo_n "(cached) " >&6
29895 else
29896   ac_check_lib_save_LIBS=$LIBS
29897 LIBS="-ltslib  $LIBS"
29898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29899 /* end confdefs.h.  */
29900
29901 /* Override any GCC internal prototype to avoid an error.
29902    Use char because int might match the return type of a GCC
29903    builtin and then its argument prototype would still apply.  */
29904 #ifdef __cplusplus
29905 extern "C"
29906 #endif
29907 char ts_open ();
29908 int
29909 main ()
29910 {
29911 return ts_open ();
29912   ;
29913   return 0;
29914 }
29915 _ACEOF
29916 if ac_fn_c_try_link "$LINENO"; then :
29917   ac_cv_lib_tslib_ts_open=yes
29918 else
29919   ac_cv_lib_tslib_ts_open=no
29920 fi
29921 rm -f core conftest.err conftest.$ac_objext \
29922     conftest$ac_exeext conftest.$ac_ext
29923 LIBS=$ac_check_lib_save_LIBS
29924 fi
29925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tslib_ts_open" >&5
29926 $as_echo "$ac_cv_lib_tslib_ts_open" >&6; }
29927 if test "x$ac_cv_lib_tslib_ts_open" = xyes; then :
29928
29929                   TSLIB_LIBS="-ltslib"
29930                   TSLIB_CFLAGS=""
29931
29932 $as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29933
29934                   _ecore_have_tslib="yes"
29935
29936 else
29937
29938                   _ecore_have_tslib="no"
29939
29940 fi
29941
29942
29943 fi
29944
29945
29946 fi
29947
29948
29949
29950 else
29951         TSLIB_CFLAGS=$pkg_cv_TSLIB_CFLAGS
29952         TSLIB_LIBS=$pkg_cv_TSLIB_LIBS
29953         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29954 $as_echo "yes" >&6; }
29955
29956
29957 $as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29958
29959          _ecore_have_tslib="yes"
29960          _tslib_requirement="tslib"
29961
29962 fi
29963
29964 else
29965         TSLIB_CFLAGS=$pkg_cv_TSLIB_CFLAGS
29966         TSLIB_LIBS=$pkg_cv_TSLIB_LIBS
29967         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29968 $as_echo "yes" >&6; }
29969
29970
29971 $as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29972
29973       _ecore_have_tslib="yes"
29974       _tslib_requirement="tslib-1.0"
29975
29976 fi
29977 fi
29978
29979
29980
29981
29982 if test "x$_ecore_have_tslib" = "xyes" ; then
29983
29984        have_tslib="yes"
29985        requirements_ecore_fb="${_tslib_requirement} ${requirements_ecore_fb}"
29986
29987 else
29988    have_tslib="no"
29989 fi
29990
29991 fi
29992
29993 # ecore_directfb
29994
29995
29996
29997 have_ecore_directfb=no
29998 ecore_directfb_cflags=
29999 ecore_directfb_libs=
30000 want_module=${want_ecore_directfb}
30001
30002 # Check whether --enable-ecore-directfb was given.
30003 if test "${enable_ecore_directfb+set}" = set; then :
30004   enableval=$enable_ecore_directfb;
30005     if test "x${enableval}" = "xyes" ; then
30006        want_module="yes"
30007     else
30008        want_module="no"
30009     fi
30010
30011 fi
30012
30013
30014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_DirectFB module is to be built" >&5
30015 $as_echo_n "checking whether Ecore_DirectFB module is to be built... " >&6; }
30016
30017 if test "x${want_module}" = "xyes" ; then
30018    if test "x${have_directfb}" = "x" || test "x${have_directfb}" = "xyes" ; then
30019
30020 $as_echo "#define BUILD_ECORE_DIRECTFB 1" >>confdefs.h
30021
30022       have_ecore_directfb="yes"
30023       ecore_directfb_libs="-lecore_directfb"
30024       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30025 $as_echo "yes" >&6; }
30026    else
30027       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
30028 $as_echo "no (dependency failed)" >&6; }
30029    fi
30030 else
30031    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30032 $as_echo "no" >&6; }
30033 fi
30034
30035  if test "x$have_ecore_directfb" = "xyes"; then
30036   BUILD_ECORE_DIRECTFB_TRUE=
30037   BUILD_ECORE_DIRECTFB_FALSE='#'
30038 else
30039   BUILD_ECORE_DIRECTFB_TRUE='#'
30040   BUILD_ECORE_DIRECTFB_FALSE=
30041 fi
30042
30043
30044 if test "x$have_ecore_directfb" = "xyes"; then :
30045   requirements_ecore_directfb="directfb ${requirements_ecore_directfb}"
30046 fi
30047
30048
30049
30050
30051
30052
30053
30054
30055 # ecore_wince
30056
30057
30058
30059 have_ecore_wince=no
30060 ecore_wince_cflags=
30061 ecore_wince_libs=
30062 want_module=${want_ecore_wince}
30063
30064 # Check whether --enable-ecore-wince was given.
30065 if test "${enable_ecore_wince+set}" = set; then :
30066   enableval=$enable_ecore_wince;
30067     if test "x${enableval}" = "xyes" ; then
30068        want_module="yes"
30069     else
30070        want_module="no"
30071     fi
30072
30073 fi
30074
30075
30076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_WinCE module is to be built" >&5
30077 $as_echo_n "checking whether Ecore_WinCE module is to be built... " >&6; }
30078
30079 if test "x${want_module}" = "xyes" ; then
30080    if test "x${have_ecore_input}" = "x" || test "x${have_ecore_input}" = "xyes" ; then
30081
30082 $as_echo "#define BUILD_ECORE_WINCE 1" >>confdefs.h
30083
30084       have_ecore_wince="yes"
30085       ecore_wince_libs="-lecore_wince"
30086       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30087 $as_echo "yes" >&6; }
30088    else
30089       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
30090 $as_echo "no (dependency failed)" >&6; }
30091    fi
30092 else
30093    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30094 $as_echo "no" >&6; }
30095 fi
30096
30097  if test "x$have_ecore_wince" = "xyes"; then
30098   BUILD_ECORE_WINCE_TRUE=
30099   BUILD_ECORE_WINCE_FALSE='#'
30100 else
30101   BUILD_ECORE_WINCE_TRUE='#'
30102   BUILD_ECORE_WINCE_FALSE=
30103 fi
30104
30105
30106 if test "x$have_ecore_wince" = "xyes"; then :
30107   requirements_ecore_wince="ecore-input >= 1.7.8 ${requirements_ecore_wince}"
30108 fi
30109
30110
30111
30112
30113
30114
30115
30116
30117 ## Ecore Evas
30118
30119 # ecore_evas
30120
30121 ecore_evas_deps="no"
30122 if test "x${have_evas}" = "xyes" && test "x${have_ecore_input}" = "xyes" && test "x${have_ecore_input_evas}" = "xyes" ; then
30123    ecore_evas_deps="yes"
30124 fi
30125
30126
30127
30128 have_ecore_evas=no
30129 ecore_evas_cflags=
30130 ecore_evas_libs=
30131 want_module=${want_ecore_evas}
30132
30133 # Check whether --enable-ecore-evas was given.
30134 if test "${enable_ecore_evas+set}" = set; then :
30135   enableval=$enable_ecore_evas;
30136     if test "x${enableval}" = "xyes" ; then
30137        want_module="yes"
30138     else
30139        want_module="no"
30140     fi
30141
30142 fi
30143
30144
30145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Evas module is to be built" >&5
30146 $as_echo_n "checking whether Ecore_Evas module is to be built... " >&6; }
30147
30148 if test "x${want_module}" = "xyes" ; then
30149    if test "x${ecore_evas_deps}" = "x" || test "x${ecore_evas_deps}" = "xyes" ; then
30150
30151 $as_echo "#define BUILD_ECORE_EVAS 1" >>confdefs.h
30152
30153       have_ecore_evas="yes"
30154       ecore_evas_libs="-lecore_evas"
30155       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30156 $as_echo "yes" >&6; }
30157    else
30158       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
30159 $as_echo "no (dependency failed)" >&6; }
30160    fi
30161 else
30162    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30163 $as_echo "no" >&6; }
30164 fi
30165
30166  if test "x$have_ecore_evas" = "xyes"; then
30167   BUILD_ECORE_EVAS_TRUE=
30168   BUILD_ECORE_EVAS_FALSE='#'
30169 else
30170   BUILD_ECORE_EVAS_TRUE='#'
30171   BUILD_ECORE_EVAS_FALSE=
30172 fi
30173
30174
30175 if test "x$have_ecore_evas" = "xyes"; then :
30176   requirements_ecore_evas="ecore-input >= 1.7.8 ecore-input-evas >= 1.7.8 evas >= 1.7.8 ${requirements_ecore_evas}"
30177 fi
30178
30179
30180
30181
30182
30183
30184
30185
30186 # ecore_evas_buffer
30187
30188
30189
30190 have_ecore_evas_software_buffer="no"
30191 want_module="${want_ecore_evas_software_buffer}"
30192
30193 # Check whether --enable-ecore-evas-software-buffer was given.
30194 if test "${enable_ecore_evas_software_buffer+set}" = set; then :
30195   enableval=$enable_ecore_evas_software_buffer;
30196     if test "x${enableval}" = "xyes" ; then
30197        want_module="yes"
30198     else
30199        want_module="no"
30200     fi
30201
30202 fi
30203
30204
30205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software Buffer support is to be built" >&5
30206 $as_echo_n "checking whether ecore_evas Software Buffer support is to be built... " >&6; }
30207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30208 $as_echo "${want_module}" >&6; }
30209
30210 if test "xyes" = "xyes" && \
30211    test "x$have_ecore_evas" = "xyes" && \
30212    test "x$want_module" = "xyes" ; then
30213    if test -n "$PKG_CONFIG" && \
30214     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-buffer\""; } >&5
30215   ($PKG_CONFIG --exists --print-errors "evas-software-buffer") 2>&5
30216   ac_status=$?
30217   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30218   test $ac_status = 0; }; then
30219
30220
30221 $as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_BUFFER 1" >>confdefs.h
30222
30223        have_ecore_evas_software_buffer="yes"
30224
30225 fi
30226 fi
30227
30228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software Buffer support is built" >&5
30229 $as_echo_n "checking whether ecore_evas Software Buffer support is built... " >&6; }
30230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_buffer" >&5
30231 $as_echo "$have_ecore_evas_software_buffer" >&6; }
30232
30233 if test "x$have_ecore_evas_software_buffer" = "xyes"; then :
30234
30235 fi
30236
30237
30238
30239
30240
30241 # ecore_evas_x11
30242
30243 # ecore_evas_software_x11
30244
30245
30246
30247 have_ecore_evas_software_x11="no"
30248 want_module="${want_ecore_evas_software_x11}"
30249
30250 # Check whether --enable-ecore-evas-software-x11 was given.
30251 if test "${enable_ecore_evas_software_x11+set}" = set; then :
30252   enableval=$enable_ecore_evas_software_x11;
30253     if test "x${enableval}" = "xyes" ; then
30254        want_module="yes"
30255     else
30256        want_module="no"
30257     fi
30258
30259 fi
30260
30261
30262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software X11 support is to be built" >&5
30263 $as_echo_n "checking whether ecore_evas Software X11 support is to be built... " >&6; }
30264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30265 $as_echo "${want_module}" >&6; }
30266
30267 if test "x${have_ecore_x}" = "xyes" && \
30268    test "x$have_ecore_evas" = "xyes" && \
30269    test "x$want_module" = "xyes" ; then
30270    if test -n "$PKG_CONFIG" && \
30271     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-x11\""; } >&5
30272   ($PKG_CONFIG --exists --print-errors "evas-software-x11") 2>&5
30273   ac_status=$?
30274   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30275   test $ac_status = 0; }; then
30276
30277
30278 $as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_X11 1" >>confdefs.h
30279
30280        have_ecore_evas_software_x11="yes"
30281
30282 fi
30283 fi
30284
30285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software X11 support is built" >&5
30286 $as_echo_n "checking whether ecore_evas Software X11 support is built... " >&6; }
30287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_x11" >&5
30288 $as_echo "$have_ecore_evas_software_x11" >&6; }
30289
30290 if test "x$have_ecore_evas_software_x11" = "xyes"; then :
30291
30292 fi
30293
30294
30295
30296
30297
30298 have_ecore_evas_software_xlib="no"
30299 have_ecore_evas_software_xcb="no"
30300 if test "x$have_ecore_evas_software_x11" = "xyes" ; then
30301    have_ecore_evas_software_xlib=`${PKG_CONFIG} --variable=Xlib evas-software-x11`
30302    if test "x${have_ecore_evas_software_xlib}" = "xstatic"; then
30303       have_ecore_evas_software_xlib="yes"
30304    fi
30305    if test "x${have_ecore_evas_software_xlib}" = "xyes" -a "x${have_ecore_x_xlib}" = "xyes" ; then
30306
30307 $as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_XLIB 1" >>confdefs.h
30308
30309    fi
30310    have_ecore_evas_software_xcb=`${PKG_CONFIG} --variable=XCB evas-software-x11`
30311    if test "x$have_ecore_evas_software_xcb" = "xstatic"; then
30312       have_ecore_evas_software_xcb="yes"
30313    fi
30314    if test "x$have_ecore_evas_software_xcb" = "xyes" -a "x${have_ecore_x_xcb}" = "xyes" ; then
30315
30316 $as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_XCB 1" >>confdefs.h
30317
30318    fi
30319 fi
30320
30321 # ecore_evas_opengl_x11
30322
30323
30324
30325 have_ecore_evas_opengl_x11="no"
30326 want_module="${want_ecore_evas_opengl_x11}"
30327
30328 # Check whether --enable-ecore-evas-opengl-x11 was given.
30329 if test "${enable_ecore_evas_opengl_x11+set}" = set; then :
30330   enableval=$enable_ecore_evas_opengl_x11;
30331     if test "x${enableval}" = "xyes" ; then
30332        want_module="yes"
30333     else
30334        want_module="no"
30335     fi
30336
30337 fi
30338
30339
30340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas OpenGL Xlib support is to be built" >&5
30341 $as_echo_n "checking whether ecore_evas OpenGL Xlib support is to be built... " >&6; }
30342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30343 $as_echo "${want_module}" >&6; }
30344
30345 if test "x${have_ecore_x}" = "xyes" && \
30346    test "x$have_ecore_evas" = "xyes" && \
30347    test "x$want_module" = "xyes" ; then
30348    if test -n "$PKG_CONFIG" && \
30349     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-opengl-x11\""; } >&5
30350   ($PKG_CONFIG --exists --print-errors "evas-opengl-x11") 2>&5
30351   ac_status=$?
30352   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30353   test $ac_status = 0; }; then
30354
30355
30356 $as_echo "#define BUILD_ECORE_EVAS_OPENGL_X11 1" >>confdefs.h
30357
30358        have_ecore_evas_opengl_x11="yes"
30359
30360 fi
30361 fi
30362
30363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas OpenGL Xlib support is built" >&5
30364 $as_echo_n "checking whether ecore_evas OpenGL Xlib support is built... " >&6; }
30365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_opengl_x11" >&5
30366 $as_echo "$have_ecore_evas_opengl_x11" >&6; }
30367
30368 if test "x$have_ecore_evas_opengl_x11" = "xyes"; then :
30369
30370 fi
30371
30372
30373
30374
30375
30376 have_ecore_evas_opengl_xlib="no"
30377 have_ecore_evas_opengl_xcb="no"
30378 if test "x${have_ecore_evas_opengl_x11}" = "xyes" -o "x${have_ecore_evas_opengl_x11}" = "xstatic" ; then
30379    have_ecore_evas_opengl_xlib=`${PKG_CONFIG} --variable=Xlib evas-opengl-x11`
30380    if test "x${have_ecore_evas_opengl_xlib}" = "xyes" ; then
30381
30382 $as_echo "#define BUILD_ECORE_EVAS_OPENGL_XLIB 1" >>confdefs.h
30383
30384    fi
30385
30386 # opengl does not work with xcb (yet)
30387    have_ecore_evas_opengl_xcb=`${PKG_CONFIG} --variable=XCB evas-opengl-x11`
30388    if test "x${have_ecore_evas_opengl_xcb}" = "xstatic"; then
30389       have_ecore_evas_opengl_xcb="yes"
30390    fi
30391    if test "x${have_ecore_evas_opengl_xcb}" = "xyes" -a "x${have_ecore_x_xcb}" = "xyes" ; then
30392
30393 pkg_failed=no
30394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_X11" >&5
30395 $as_echo_n "checking for XCB_X11... " >&6; }
30396
30397 if test -n "$XCB_X11_CFLAGS"; then
30398     pkg_cv_XCB_X11_CFLAGS="$XCB_X11_CFLAGS"
30399  elif test -n "$PKG_CONFIG"; then
30400     if test -n "$PKG_CONFIG" && \
30401     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb\""; } >&5
30402   ($PKG_CONFIG --exists --print-errors "x11-xcb") 2>&5
30403   ac_status=$?
30404   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30405   test $ac_status = 0; }; then
30406   pkg_cv_XCB_X11_CFLAGS=`$PKG_CONFIG --cflags "x11-xcb" 2>/dev/null`
30407                       test "x$?" != "x0" && pkg_failed=yes
30408 else
30409   pkg_failed=yes
30410 fi
30411  else
30412     pkg_failed=untried
30413 fi
30414 if test -n "$XCB_X11_LIBS"; then
30415     pkg_cv_XCB_X11_LIBS="$XCB_X11_LIBS"
30416  elif test -n "$PKG_CONFIG"; then
30417     if test -n "$PKG_CONFIG" && \
30418     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb\""; } >&5
30419   ($PKG_CONFIG --exists --print-errors "x11-xcb") 2>&5
30420   ac_status=$?
30421   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30422   test $ac_status = 0; }; then
30423   pkg_cv_XCB_X11_LIBS=`$PKG_CONFIG --libs "x11-xcb" 2>/dev/null`
30424                       test "x$?" != "x0" && pkg_failed=yes
30425 else
30426   pkg_failed=yes
30427 fi
30428  else
30429     pkg_failed=untried
30430 fi
30431
30432
30433
30434 if test $pkg_failed = yes; then
30435         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30436 $as_echo "no" >&6; }
30437
30438 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30439         _pkg_short_errors_supported=yes
30440 else
30441         _pkg_short_errors_supported=no
30442 fi
30443         if test $_pkg_short_errors_supported = yes; then
30444                 XCB_X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11-xcb" 2>&1`
30445         else
30446                 XCB_X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11-xcb" 2>&1`
30447         fi
30448         # Put the nasty error message in config.log where it belongs
30449         echo "$XCB_X11_PKG_ERRORS" >&5
30450
30451          have_ecore_x_opengl_xcb="no"
30452 elif test $pkg_failed = untried; then
30453         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30454 $as_echo "no" >&6; }
30455          have_ecore_x_opengl_xcb="no"
30456 else
30457         XCB_X11_CFLAGS=$pkg_cv_XCB_X11_CFLAGS
30458         XCB_X11_LIBS=$pkg_cv_XCB_X11_LIBS
30459         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30460 $as_echo "yes" >&6; }
30461          have_ecore_x_opengl_xcb="yes"
30462           requirements_ecore_x="x11-xcb ${requirements_ecore_x}"
30463
30464 $as_echo "#define BUILD_ECORE_X_OPENGL_XCB 1" >>confdefs.h
30465
30466
30467 $as_echo "#define BUILD_ECORE_EVAS_OPENGL_XCB 1" >>confdefs.h
30468
30469
30470 fi
30471     else
30472       have_ecore_x_opengl_xcb="no"
30473       { $as_echo "$as_me:${as_lineno-$LINENO}: \"XCB-based OpenGL explicitly disabled\"" >&5
30474 $as_echo "$as_me: \"XCB-based OpenGL explicitly disabled\"" >&6;}
30475     fi
30476 fi
30477
30478 # ecore_evas_software_x11 16 bits
30479
30480
30481
30482 have_ecore_evas_software_16_x11="no"
30483 want_module="${want_ecore_evas_software_16_x11}"
30484
30485 # Check whether --enable-ecore-evas-software-16-x11 was given.
30486 if test "${enable_ecore_evas_software_16_x11+set}" = set; then :
30487   enableval=$enable_ecore_evas_software_16_x11;
30488     if test "x${enableval}" = "xyes" ; then
30489        want_module="yes"
30490     else
30491        want_module="no"
30492     fi
30493
30494 fi
30495
30496
30497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software Xlib 16 bits support is to be built" >&5
30498 $as_echo_n "checking whether ecore_evas Software Xlib 16 bits support is to be built... " >&6; }
30499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30500 $as_echo "${want_module}" >&6; }
30501
30502 if test "x${have_ecore_x_xlib}" = "xyes" && \
30503    test "x$have_ecore_evas" = "xyes" && \
30504    test "x$want_module" = "xyes" ; then
30505    if test -n "$PKG_CONFIG" && \
30506     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-16-x11\""; } >&5
30507   ($PKG_CONFIG --exists --print-errors "evas-software-16-x11") 2>&5
30508   ac_status=$?
30509   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30510   test $ac_status = 0; }; then
30511
30512
30513 $as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_16_X11 1" >>confdefs.h
30514
30515        have_ecore_evas_software_16_x11="yes"
30516
30517 fi
30518 fi
30519
30520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software Xlib 16 bits support is built" >&5
30521 $as_echo_n "checking whether ecore_evas Software Xlib 16 bits support is built... " >&6; }
30522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_16_x11" >&5
30523 $as_echo "$have_ecore_evas_software_16_x11" >&6; }
30524
30525 if test "x$have_ecore_evas_software_16_x11" = "xyes"; then :
30526
30527 fi
30528
30529
30530
30531
30532
30533
30534
30535 have_ecore_evas_software_8_x11="no"
30536 want_module="$want_ecore_evas_software_8_x11"
30537
30538 # Check whether --enable-ecore-evas-software-8-x11 was given.
30539 if test "${enable_ecore_evas_software_8_x11+set}" = set; then :
30540   enableval=$enable_ecore_evas_software_8_x11;
30541     if test "x${enableval}" = "xyes" ; then
30542        want_module="yes"
30543     else
30544        want_module="no"
30545     fi
30546
30547 fi
30548
30549
30550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software 8bit X11 support is to be built" >&5
30551 $as_echo_n "checking whether ecore_evas Software 8bit X11 support is to be built... " >&6; }
30552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30553 $as_echo "${want_module}" >&6; }
30554
30555 if test "x$have_ecore_x_xcb" = "xyes" && \
30556    test "x$have_ecore_evas" = "xyes" && \
30557    test "x$want_module" = "xyes" ; then
30558    if test -n "$PKG_CONFIG" && \
30559     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-8-x11\""; } >&5
30560   ($PKG_CONFIG --exists --print-errors "evas-software-8-x11") 2>&5
30561   ac_status=$?
30562   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30563   test $ac_status = 0; }; then
30564
30565
30566 $as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_8_X11 1" >>confdefs.h
30567
30568        have_ecore_evas_software_8_x11="yes"
30569
30570 fi
30571 fi
30572
30573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software 8bit X11 support is built" >&5
30574 $as_echo_n "checking whether ecore_evas Software 8bit X11 support is built... " >&6; }
30575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_8_x11" >&5
30576 $as_echo "$have_ecore_evas_software_8_x11" >&6; }
30577
30578 if test "x$have_ecore_evas_software_8_x11" = "xyes"; then :
30579
30580 fi
30581
30582
30583
30584
30585
30586
30587 if test "x$have_ecore_evas_software_x11" = "xyes" -o \
30588         "x$have_ecore_evas_opengl_x11" = "xyes" -o \
30589         "x$have_ecore_evas_software_8_x11" = "xyes" -o \
30590         "x$have_ecore_evas_software_16_x11" = "xyes" -o \
30591         "x$have_ecore_evas_software_xcb" = "xyes"; then
30592
30593 $as_echo "#define BUILD_ECORE_EVAS_X11 1" >>confdefs.h
30594
30595    requirements_ecore_evas="ecore-x >= 1.7.8 ${requirements_ecore_evas}"
30596 fi
30597
30598 # ecore_evas_win32
30599
30600
30601
30602 have_ecore_evas_software_gdi="no"
30603 want_module="${want_ecore_evas_software_gdi}"
30604
30605 # Check whether --enable-ecore-evas-software-gdi was given.
30606 if test "${enable_ecore_evas_software_gdi+set}" = set; then :
30607   enableval=$enable_ecore_evas_software_gdi;
30608     if test "x${enableval}" = "xyes" ; then
30609        want_module="yes"
30610     else
30611        want_module="no"
30612     fi
30613
30614 fi
30615
30616
30617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software GDI support is to be built" >&5
30618 $as_echo_n "checking whether ecore_evas Software GDI support is to be built... " >&6; }
30619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30620 $as_echo "${want_module}" >&6; }
30621
30622 if test "x${have_ecore_win32}" = "xyes" && \
30623    test "x$have_ecore_evas" = "xyes" && \
30624    test "x$want_module" = "xyes" ; then
30625    if test -n "$PKG_CONFIG" && \
30626     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-gdi\""; } >&5
30627   ($PKG_CONFIG --exists --print-errors "evas-software-gdi") 2>&5
30628   ac_status=$?
30629   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30630   test $ac_status = 0; }; then
30631
30632
30633 $as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_GDI 1" >>confdefs.h
30634
30635        have_ecore_evas_software_gdi="yes"
30636
30637 fi
30638 fi
30639
30640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software GDI support is built" >&5
30641 $as_echo_n "checking whether ecore_evas Software GDI support is built... " >&6; }
30642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_gdi" >&5
30643 $as_echo "$have_ecore_evas_software_gdi" >&6; }
30644
30645 if test "x$have_ecore_evas_software_gdi" = "xyes"; then :
30646
30647 fi
30648
30649
30650
30651
30652
30653
30654
30655 have_ecore_evas_software_ddraw="no"
30656 want_module="${want_ecore_evas_software_ddraw}"
30657
30658 # Check whether --enable-ecore-evas-software-ddraw was given.
30659 if test "${enable_ecore_evas_software_ddraw+set}" = set; then :
30660   enableval=$enable_ecore_evas_software_ddraw;
30661     if test "x${enableval}" = "xyes" ; then
30662        want_module="yes"
30663     else
30664        want_module="no"
30665     fi
30666
30667 fi
30668
30669
30670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software DirectDraw support is to be built" >&5
30671 $as_echo_n "checking whether ecore_evas Software DirectDraw support is to be built... " >&6; }
30672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30673 $as_echo "${want_module}" >&6; }
30674
30675 if test "x${have_ecore_win32}" = "xyes" && \
30676    test "x$have_ecore_evas" = "xyes" && \
30677    test "x$want_module" = "xyes" ; then
30678    if test -n "$PKG_CONFIG" && \
30679     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-ddraw\""; } >&5
30680   ($PKG_CONFIG --exists --print-errors "evas-software-ddraw") 2>&5
30681   ac_status=$?
30682   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30683   test $ac_status = 0; }; then
30684
30685
30686 $as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_DDRAW 1" >>confdefs.h
30687
30688        have_ecore_evas_software_ddraw="yes"
30689
30690 fi
30691 fi
30692
30693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software DirectDraw support is built" >&5
30694 $as_echo_n "checking whether ecore_evas Software DirectDraw support is built... " >&6; }
30695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_ddraw" >&5
30696 $as_echo "$have_ecore_evas_software_ddraw" >&6; }
30697
30698 if test "x$have_ecore_evas_software_ddraw" = "xyes"; then :
30699
30700 fi
30701
30702
30703
30704
30705
30706
30707
30708 have_ecore_evas_direct3d="no"
30709 want_module="${want_ecore_evas_direct3d}"
30710
30711 # Check whether --enable-ecore-evas-direct3d was given.
30712 if test "${enable_ecore_evas_direct3d+set}" = set; then :
30713   enableval=$enable_ecore_evas_direct3d;
30714     if test "x${enableval}" = "xyes" ; then
30715        want_module="yes"
30716     else
30717        want_module="no"
30718     fi
30719
30720 fi
30721
30722
30723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Direct3d support is to be built" >&5
30724 $as_echo_n "checking whether ecore_evas Direct3d support is to be built... " >&6; }
30725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30726 $as_echo "${want_module}" >&6; }
30727
30728 if test "x${have_ecore_win32}" = "xyes" && \
30729    test "x$have_ecore_evas" = "xyes" && \
30730    test "x$want_module" = "xyes" ; then
30731    if test -n "$PKG_CONFIG" && \
30732     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-direct3d\""; } >&5
30733   ($PKG_CONFIG --exists --print-errors "evas-direct3d") 2>&5
30734   ac_status=$?
30735   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30736   test $ac_status = 0; }; then
30737
30738
30739 $as_echo "#define BUILD_ECORE_EVAS_DIRECT3D 1" >>confdefs.h
30740
30741        have_ecore_evas_direct3d="yes"
30742
30743 fi
30744 fi
30745
30746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Direct3d support is built" >&5
30747 $as_echo_n "checking whether ecore_evas Direct3d support is built... " >&6; }
30748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_direct3d" >&5
30749 $as_echo "$have_ecore_evas_direct3d" >&6; }
30750
30751 if test "x$have_ecore_evas_direct3d" = "xyes"; then :
30752
30753 fi
30754
30755
30756
30757
30758
30759
30760
30761 have_ecore_evas_opengl_glew="no"
30762 want_module="${want_ecore_evas_opengl_glew}"
30763
30764 # Check whether --enable-ecore-evas-opengl-glew was given.
30765 if test "${enable_ecore_evas_opengl_glew+set}" = set; then :
30766   enableval=$enable_ecore_evas_opengl_glew;
30767     if test "x${enableval}" = "xyes" ; then
30768        want_module="yes"
30769     else
30770        want_module="no"
30771     fi
30772
30773 fi
30774
30775
30776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Glew OpenGL support is to be built" >&5
30777 $as_echo_n "checking whether ecore_evas Glew OpenGL support is to be built... " >&6; }
30778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30779 $as_echo "${want_module}" >&6; }
30780
30781 if test "x${have_ecore_win32}" = "xyes" && \
30782    test "x$have_ecore_evas" = "xyes" && \
30783    test "x$want_module" = "xyes" ; then
30784    if test -n "$PKG_CONFIG" && \
30785     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-opengl-glew\""; } >&5
30786   ($PKG_CONFIG --exists --print-errors "evas-opengl-glew") 2>&5
30787   ac_status=$?
30788   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30789   test $ac_status = 0; }; then
30790
30791
30792 $as_echo "#define BUILD_ECORE_EVAS_OPENGL_GLEW 1" >>confdefs.h
30793
30794        have_ecore_evas_opengl_glew="yes"
30795
30796 fi
30797 fi
30798
30799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Glew OpenGL support is built" >&5
30800 $as_echo_n "checking whether ecore_evas Glew OpenGL support is built... " >&6; }
30801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_opengl_glew" >&5
30802 $as_echo "$have_ecore_evas_opengl_glew" >&6; }
30803
30804 if test "x$have_ecore_evas_opengl_glew" = "xyes"; then :
30805
30806 fi
30807
30808
30809
30810
30811
30812
30813
30814 have_ecore_evas_software_16_ddraw="no"
30815 want_module="${want_ecore_evas_software_16_ddraw}"
30816
30817 # Check whether --enable-ecore-evas-software-16-ddraw was given.
30818 if test "${enable_ecore_evas_software_16_ddraw+set}" = set; then :
30819   enableval=$enable_ecore_evas_software_16_ddraw;
30820     if test "x${enableval}" = "xyes" ; then
30821        want_module="yes"
30822     else
30823        want_module="no"
30824     fi
30825
30826 fi
30827
30828
30829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas 16 bpp Software DirectDraw support is to be built" >&5
30830 $as_echo_n "checking whether ecore_evas 16 bpp Software DirectDraw support is to be built... " >&6; }
30831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30832 $as_echo "${want_module}" >&6; }
30833
30834 if test "x${have_ecore_win32}" = "xyes" && \
30835    test "x$have_ecore_evas" = "xyes" && \
30836    test "x$want_module" = "xyes" ; then
30837    if test -n "$PKG_CONFIG" && \
30838     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-16-ddraw\""; } >&5
30839   ($PKG_CONFIG --exists --print-errors "evas-software-16-ddraw") 2>&5
30840   ac_status=$?
30841   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30842   test $ac_status = 0; }; then
30843
30844
30845 $as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_16_DDRAW 1" >>confdefs.h
30846
30847        have_ecore_evas_software_16_ddraw="yes"
30848
30849 fi
30850 fi
30851
30852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas 16 bpp Software DirectDraw support is built" >&5
30853 $as_echo_n "checking whether ecore_evas 16 bpp Software DirectDraw support is built... " >&6; }
30854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_16_ddraw" >&5
30855 $as_echo "$have_ecore_evas_software_16_ddraw" >&6; }
30856
30857 if test "x$have_ecore_evas_software_16_ddraw" = "xyes"; then :
30858
30859 fi
30860
30861
30862
30863
30864
30865 if test "x${have_ecore_evas_software_gdi}" = "xyes" -o \
30866         "x${have_ecore_evas_software_ddraw}" = "xyes" -o \
30867         "x${have_ecore_evas_direct3d}" = "xyes" -o \
30868         "x${have_ecore_evas_opengl_glew}" = "xyes" -o \
30869         "x${have_ecore_evas_software_16_ddraw}" = "xyes" ; then
30870
30871 $as_echo "#define BUILD_ECORE_EVAS_WIN32 1" >>confdefs.h
30872
30873    requirements_ecore_evas="ecore-win32 >= 1.7.8 ${requirements_ecore_evas}"
30874 fi
30875
30876 # ecore_evas_software_sdl
30877
30878 have_ecore_evas_software_sdl="no"
30879 if test "x${have_ecore_sdl}" = "xyes"; then
30880    requirements_ecore_evas="ecore-sdl >= 1.7.8 ${requirements_ecore_evas}"
30881    have_ecore_evas_software_sdl="yes"
30882
30883 $as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_SDL 1" >>confdefs.h
30884
30885    requirements_ecore_evas="ecore-sdl >= 1.7.8 ${requirements_ecore_evas}"
30886 fi
30887
30888 # ecore_evas_gl_sdl
30889
30890
30891
30892 have_ecore_evas_opengl_sdl="no"
30893 want_module="${want_ecore_evas_gl_sdl}"
30894
30895 # Check whether --enable-ecore-evas-opengl-sdl was given.
30896 if test "${enable_ecore_evas_opengl_sdl+set}" = set; then :
30897   enableval=$enable_ecore_evas_opengl_sdl;
30898     if test "x${enableval}" = "xyes" ; then
30899        want_module="yes"
30900     else
30901        want_module="no"
30902     fi
30903
30904 fi
30905
30906
30907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas OpenGL SDL support is to be built" >&5
30908 $as_echo_n "checking whether ecore_evas OpenGL SDL support is to be built... " >&6; }
30909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30910 $as_echo "${want_module}" >&6; }
30911
30912 if test "x${have_ecore_sdl}" = "xyes" && \
30913    test "x$have_ecore_evas" = "xyes" && \
30914    test "x$want_module" = "xyes" ; then
30915    if test -n "$PKG_CONFIG" && \
30916     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-opengl-sdl\""; } >&5
30917   ($PKG_CONFIG --exists --print-errors "evas-opengl-sdl") 2>&5
30918   ac_status=$?
30919   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30920   test $ac_status = 0; }; then
30921
30922
30923 $as_echo "#define BUILD_ECORE_EVAS_OPENGL_SDL 1" >>confdefs.h
30924
30925        have_ecore_evas_opengl_sdl="yes"
30926
30927 fi
30928 fi
30929
30930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas OpenGL SDL support is built" >&5
30931 $as_echo_n "checking whether ecore_evas OpenGL SDL support is built... " >&6; }
30932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_opengl_sdl" >&5
30933 $as_echo "$have_ecore_evas_opengl_sdl" >&6; }
30934
30935 if test "x$have_ecore_evas_opengl_sdl" = "xyes"; then :
30936   requirements_ecore_evas="ecore-sdl >= 1.7.8 ${requirements_ecore_evas}"
30937 fi
30938
30939
30940
30941
30942
30943 # ecore_evas_cocoa
30944
30945
30946
30947 have_ecore_evas_opengl_cocoa="no"
30948 want_module="${want_ecore_evas_gl_cocoa}"
30949
30950 # Check whether --enable-ecore-evas-opengl-cocoa was given.
30951 if test "${enable_ecore_evas_opengl_cocoa+set}" = set; then :
30952   enableval=$enable_ecore_evas_opengl_cocoa;
30953     if test "x${enableval}" = "xyes" ; then
30954        want_module="yes"
30955     else
30956        want_module="no"
30957     fi
30958
30959 fi
30960
30961
30962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas OpenGL Cocoa support is to be built" >&5
30963 $as_echo_n "checking whether ecore_evas OpenGL Cocoa support is to be built... " >&6; }
30964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30965 $as_echo "${want_module}" >&6; }
30966
30967 if test "x${have_ecore_cocoa}" = "xyes" && \
30968    test "x$have_ecore_evas" = "xyes" && \
30969    test "x$want_module" = "xyes" ; then
30970    if test -n "$PKG_CONFIG" && \
30971     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-opengl-cocoa\""; } >&5
30972   ($PKG_CONFIG --exists --print-errors "evas-opengl-cocoa") 2>&5
30973   ac_status=$?
30974   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30975   test $ac_status = 0; }; then
30976
30977
30978 $as_echo "#define BUILD_ECORE_EVAS_OPENGL_COCOA 1" >>confdefs.h
30979
30980        have_ecore_evas_opengl_cocoa="yes"
30981
30982 fi
30983 fi
30984
30985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas OpenGL Cocoa support is built" >&5
30986 $as_echo_n "checking whether ecore_evas OpenGL Cocoa support is built... " >&6; }
30987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_opengl_cocoa" >&5
30988 $as_echo "$have_ecore_evas_opengl_cocoa" >&6; }
30989
30990 if test "x$have_ecore_evas_opengl_cocoa" = "xyes"; then :
30991   requirements_ecore_evas="ecore-cocoa >= 1.7.8 ${requirements_ecore_evas}"
30992 fi
30993
30994
30995
30996
30997
30998 # ecore_evas_directfb
30999
31000
31001
31002 have_ecore_evas_directfb="no"
31003 want_module="${want_ecore_evas_directfb}"
31004
31005 # Check whether --enable-ecore-evas-directfb was given.
31006 if test "${enable_ecore_evas_directfb+set}" = set; then :
31007   enableval=$enable_ecore_evas_directfb;
31008     if test "x${enableval}" = "xyes" ; then
31009        want_module="yes"
31010     else
31011        want_module="no"
31012     fi
31013
31014 fi
31015
31016
31017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas DirectFB support is to be built" >&5
31018 $as_echo_n "checking whether ecore_evas DirectFB support is to be built... " >&6; }
31019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
31020 $as_echo "${want_module}" >&6; }
31021
31022 if test "x${have_ecore_directfb}" = "xyes" && \
31023    test "x$have_ecore_evas" = "xyes" && \
31024    test "x$want_module" = "xyes" ; then
31025    if test -n "$PKG_CONFIG" && \
31026     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-directfb\""; } >&5
31027   ($PKG_CONFIG --exists --print-errors "evas-directfb") 2>&5
31028   ac_status=$?
31029   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31030   test $ac_status = 0; }; then
31031
31032
31033 $as_echo "#define BUILD_ECORE_EVAS_DIRECTFB 1" >>confdefs.h
31034
31035        have_ecore_evas_directfb="yes"
31036
31037 fi
31038 fi
31039
31040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas DirectFB support is built" >&5
31041 $as_echo_n "checking whether ecore_evas DirectFB support is built... " >&6; }
31042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_directfb" >&5
31043 $as_echo "$have_ecore_evas_directfb" >&6; }
31044
31045 if test "x$have_ecore_evas_directfb" = "xyes"; then :
31046   requirements_ecore_evas="ecore-directfb >= 1.7.8 ${requirements_ecore_evas}"
31047 fi
31048
31049
31050
31051
31052
31053 # ecore_evas_fb
31054
31055
31056
31057 have_ecore_evas_fb="no"
31058 want_module="${want_ecore_evas_fb}"
31059
31060 # Check whether --enable-ecore-evas-fb was given.
31061 if test "${enable_ecore_evas_fb+set}" = set; then :
31062   enableval=$enable_ecore_evas_fb;
31063     if test "x${enableval}" = "xyes" ; then
31064        want_module="yes"
31065     else
31066        want_module="no"
31067     fi
31068
31069 fi
31070
31071
31072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Linux Framebuffer support is to be built" >&5
31073 $as_echo_n "checking whether ecore_evas Linux Framebuffer support is to be built... " >&6; }
31074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
31075 $as_echo "${want_module}" >&6; }
31076
31077 if test "x${have_ecore_fb}" = "xyes" && \
31078    test "x$have_ecore_evas" = "xyes" && \
31079    test "x$want_module" = "xyes" ; then
31080    if test -n "$PKG_CONFIG" && \
31081     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-fb\""; } >&5
31082   ($PKG_CONFIG --exists --print-errors "evas-fb") 2>&5
31083   ac_status=$?
31084   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31085   test $ac_status = 0; }; then
31086
31087
31088 $as_echo "#define BUILD_ECORE_EVAS_FB 1" >>confdefs.h
31089
31090        have_ecore_evas_fb="yes"
31091
31092 fi
31093 fi
31094
31095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Linux Framebuffer support is built" >&5
31096 $as_echo_n "checking whether ecore_evas Linux Framebuffer support is built... " >&6; }
31097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_fb" >&5
31098 $as_echo "$have_ecore_evas_fb" >&6; }
31099
31100 if test "x$have_ecore_evas_fb" = "xyes"; then :
31101   requirements_ecore_evas="ecore-fb >= 1.7.8 ${requirements_ecore_evas}"
31102 fi
31103
31104
31105
31106
31107
31108 # ecore_evas_wince
31109
31110
31111
31112 have_ecore_evas_software_16_wince="no"
31113 want_module="${want_ecore_evas_software_16_wince}"
31114
31115 # Check whether --enable-ecore-evas-software-16-wince was given.
31116 if test "${enable_ecore_evas_software_16_wince+set}" = set; then :
31117   enableval=$enable_ecore_evas_software_16_wince;
31118     if test "x${enableval}" = "xyes" ; then
31119        want_module="yes"
31120     else
31121        want_module="no"
31122     fi
31123
31124 fi
31125
31126
31127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas 16 bpp Software Windows CE support is to be built" >&5
31128 $as_echo_n "checking whether ecore_evas 16 bpp Software Windows CE support is to be built... " >&6; }
31129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
31130 $as_echo "${want_module}" >&6; }
31131
31132 if test "x${have_ecore_wince}" = "xyes" && \
31133    test "x$have_ecore_evas" = "xyes" && \
31134    test "x$want_module" = "xyes" ; then
31135    if test -n "$PKG_CONFIG" && \
31136     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-16-wince\""; } >&5
31137   ($PKG_CONFIG --exists --print-errors "evas-software-16-wince") 2>&5
31138   ac_status=$?
31139   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31140   test $ac_status = 0; }; then
31141
31142
31143 $as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_16_WINCE 1" >>confdefs.h
31144
31145        have_ecore_evas_software_16_wince="yes"
31146
31147 fi
31148 fi
31149
31150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas 16 bpp Software Windows CE support is built" >&5
31151 $as_echo_n "checking whether ecore_evas 16 bpp Software Windows CE support is built... " >&6; }
31152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_16_wince" >&5
31153 $as_echo "$have_ecore_evas_software_16_wince" >&6; }
31154
31155 if test "x$have_ecore_evas_software_16_wince" = "xyes"; then :
31156   requirements_ecore_evas="ecore-wince >= 1.7.8 ${requirements_ecore_evas}"
31157 fi
31158
31159
31160
31161
31162
31163 # ecore_evas_ews
31164
31165
31166
31167 have_ecore_evas_ews="no"
31168 want_module="${want_ecore_evas_ews}"
31169
31170 # Check whether --enable-ecore-evas-ews was given.
31171 if test "${enable_ecore_evas_ews+set}" = set; then :
31172   enableval=$enable_ecore_evas_ews;
31173     if test "x${enableval}" = "xyes" ; then
31174        want_module="yes"
31175     else
31176        want_module="no"
31177     fi
31178
31179 fi
31180
31181
31182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Ecore Evas Single Process Windowing System support is to be built" >&5
31183 $as_echo_n "checking whether ecore_evas Ecore Evas Single Process Windowing System support is to be built... " >&6; }
31184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
31185 $as_echo "${want_module}" >&6; }
31186
31187 if test "xyes" = "xyes" && \
31188    test "x$have_ecore_evas" = "xyes" && \
31189    test "x$want_module" = "xyes" ; then
31190    if test -n "$PKG_CONFIG" && \
31191     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-buffer\""; } >&5
31192   ($PKG_CONFIG --exists --print-errors "evas-software-buffer") 2>&5
31193   ac_status=$?
31194   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31195   test $ac_status = 0; }; then
31196
31197
31198 $as_echo "#define BUILD_ECORE_EVAS_EWS 1" >>confdefs.h
31199
31200        have_ecore_evas_ews="yes"
31201
31202 fi
31203 fi
31204
31205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Ecore Evas Single Process Windowing System support is built" >&5
31206 $as_echo_n "checking whether ecore_evas Ecore Evas Single Process Windowing System support is built... " >&6; }
31207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_ews" >&5
31208 $as_echo "$have_ecore_evas_ews" >&6; }
31209
31210 if test "x$have_ecore_evas_ews" = "xyes"; then :
31211
31212 fi
31213
31214
31215
31216
31217
31218 # ecore_evas_extn
31219
31220 have_extn="yes"
31221 if test "x${have_ecore_ipc}" = "xno" || \
31222    test "x${have_ecore_evas_software_buffer}" = "xno" || \
31223    test "x${have_shm_open}" = "xno" ; then
31224    have_extn="no"
31225 fi
31226
31227 have_ecore_evas_extn="no"
31228 if test "x${want_ecore_evas_extn}" = "xyes" && \
31229    test "x${have_extn}" = "xyes" && \
31230    test "x${have_ecore_evas}" = "xyes"; then
31231
31232 $as_echo "#define BUILD_ECORE_EVAS_EXTN 1" >>confdefs.h
31233
31234    have_ecore_evas_extn="yes"
31235 fi
31236
31237 # ecore_evas_psl1ght
31238
31239
31240
31241 have_ecore_evas_psl1ght="no"
31242 want_module="${want_ecore_evas_psl1ght}"
31243
31244 # Check whether --enable-ecore-evas-psl1ght was given.
31245 if test "${enable_ecore_evas_psl1ght+set}" = set; then :
31246   enableval=$enable_ecore_evas_psl1ght;
31247     if test "x${enableval}" = "xyes" ; then
31248        want_module="yes"
31249     else
31250        want_module="no"
31251     fi
31252
31253 fi
31254
31255
31256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas PSL1GHT support is to be built" >&5
31257 $as_echo_n "checking whether ecore_evas PSL1GHT support is to be built... " >&6; }
31258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
31259 $as_echo "${want_module}" >&6; }
31260
31261 if test "x${have_ecore_psl1ght}" = "xyes" && \
31262    test "x$have_ecore_evas" = "xyes" && \
31263    test "x$want_module" = "xyes" ; then
31264    if test -n "$PKG_CONFIG" && \
31265     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-psl1ght\""; } >&5
31266   ($PKG_CONFIG --exists --print-errors "evas-psl1ght") 2>&5
31267   ac_status=$?
31268   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31269   test $ac_status = 0; }; then
31270
31271
31272 $as_echo "#define BUILD_ECORE_EVAS_PSL1GHT 1" >>confdefs.h
31273
31274        have_ecore_evas_psl1ght="yes"
31275
31276 fi
31277 fi
31278
31279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas PSL1GHT support is built" >&5
31280 $as_echo_n "checking whether ecore_evas PSL1GHT support is built... " >&6; }
31281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_psl1ght" >&5
31282 $as_echo "$have_ecore_evas_psl1ght" >&6; }
31283
31284 if test "x$have_ecore_evas_psl1ght" = "xyes"; then :
31285   requirements_ecore_evas="ecore-psl1ght >= 1.7.8 ${requirements_ecore_evas}"
31286 fi
31287
31288
31289
31290
31291
31292 # ecore_imf_ibus
31293
31294 pkg_failed=no
31295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IBUS" >&5
31296 $as_echo_n "checking for IBUS... " >&6; }
31297
31298 if test -n "$IBUS_CFLAGS"; then
31299     pkg_cv_IBUS_CFLAGS="$IBUS_CFLAGS"
31300  elif test -n "$PKG_CONFIG"; then
31301     if test -n "$PKG_CONFIG" && \
31302     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ibus-1.0 >= 1.4\""; } >&5
31303   ($PKG_CONFIG --exists --print-errors "ibus-1.0 >= 1.4") 2>&5
31304   ac_status=$?
31305   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31306   test $ac_status = 0; }; then
31307   pkg_cv_IBUS_CFLAGS=`$PKG_CONFIG --cflags "ibus-1.0 >= 1.4" 2>/dev/null`
31308                       test "x$?" != "x0" && pkg_failed=yes
31309 else
31310   pkg_failed=yes
31311 fi
31312  else
31313     pkg_failed=untried
31314 fi
31315 if test -n "$IBUS_LIBS"; then
31316     pkg_cv_IBUS_LIBS="$IBUS_LIBS"
31317  elif test -n "$PKG_CONFIG"; then
31318     if test -n "$PKG_CONFIG" && \
31319     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ibus-1.0 >= 1.4\""; } >&5
31320   ($PKG_CONFIG --exists --print-errors "ibus-1.0 >= 1.4") 2>&5
31321   ac_status=$?
31322   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31323   test $ac_status = 0; }; then
31324   pkg_cv_IBUS_LIBS=`$PKG_CONFIG --libs "ibus-1.0 >= 1.4" 2>/dev/null`
31325                       test "x$?" != "x0" && pkg_failed=yes
31326 else
31327   pkg_failed=yes
31328 fi
31329  else
31330     pkg_failed=untried
31331 fi
31332
31333
31334
31335 if test $pkg_failed = yes; then
31336         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31337 $as_echo "no" >&6; }
31338
31339 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31340         _pkg_short_errors_supported=yes
31341 else
31342         _pkg_short_errors_supported=no
31343 fi
31344         if test $_pkg_short_errors_supported = yes; then
31345                 IBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ibus-1.0 >= 1.4" 2>&1`
31346         else
31347                 IBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ibus-1.0 >= 1.4" 2>&1`
31348         fi
31349         # Put the nasty error message in config.log where it belongs
31350         echo "$IBUS_PKG_ERRORS" >&5
31351
31352         have_ibus="no"
31353 elif test $pkg_failed = untried; then
31354         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31355 $as_echo "no" >&6; }
31356         have_ibus="no"
31357 else
31358         IBUS_CFLAGS=$pkg_cv_IBUS_CFLAGS
31359         IBUS_LIBS=$pkg_cv_IBUS_LIBS
31360         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31361 $as_echo "yes" >&6; }
31362         have_ibus="yes"
31363 fi
31364
31365  if false; then
31366   BUILD_ECORE_IMF_IBUS_TRUE=
31367   BUILD_ECORE_IMF_IBUS_FALSE='#'
31368 else
31369   BUILD_ECORE_IMF_IBUS_TRUE='#'
31370   BUILD_ECORE_IMF_IBUS_FALSE=
31371 fi
31372
31373 ecore_imf_ibus_deps="no"
31374 echo "have_ecore_x_xlib: ${have_ecore_x_xlib}"
31375 if test    "x${have_ecore_imf}" = "xyes" \
31376         -a "x${have_ecore_evas}" = "xyes" \
31377         -a "x${have_glib}" =  "xyes" \
31378         -a "x${have_ibus}" =  "xyes" \
31379         -a "x${have_ecore_input}" = "xyes" ; then
31380    ecore_imf_ibus_deps="yes"
31381
31382 $as_echo "#define BUILD_ECORE_IMF_IBUS 1" >>confdefs.h
31383
31384 fi
31385
31386
31387
31388 have_ecore_imf_ibus=no
31389 ecore_imf_ibus_cflags=
31390 ecore_imf_ibus_libs=
31391 want_module=${want_ecore_imf}
31392
31393 # Check whether --enable-ecore-imf-ibus was given.
31394 if test "${enable_ecore_imf_ibus+set}" = set; then :
31395   enableval=$enable_ecore_imf_ibus;
31396     if test "x${enableval}" = "xyes" ; then
31397        want_module="yes"
31398     else
31399        want_module="no"
31400     fi
31401
31402 fi
31403
31404
31405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Imf_IBUS module is to be built" >&5
31406 $as_echo_n "checking whether Ecore_Imf_IBUS module is to be built... " >&6; }
31407
31408 if test "x${want_module}" = "xyes" ; then
31409    if test "x${ecore_imf_ibus_deps}" = "x" || test "x${ecore_imf_ibus_deps}" = "xyes" ; then
31410
31411 $as_echo "#define BUILD_ECORE_IMF_IBUS 1" >>confdefs.h
31412
31413       have_ecore_imf_ibus="yes"
31414       ecore_imf_ibus_libs="-lecore_imf_ibus"
31415       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31416 $as_echo "yes" >&6; }
31417    else
31418       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
31419 $as_echo "no (dependency failed)" >&6; }
31420    fi
31421 else
31422    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31423 $as_echo "no" >&6; }
31424 fi
31425
31426  if test "x$have_ecore_imf_ibus" = "xyes"; then
31427   BUILD_ECORE_IMF_IBUS_TRUE=
31428   BUILD_ECORE_IMF_IBUS_FALSE='#'
31429 else
31430   BUILD_ECORE_IMF_IBUS_TRUE='#'
31431   BUILD_ECORE_IMF_IBUS_FALSE=
31432 fi
31433
31434
31435 if test "x$have_ecore_imf_ibus" = "xyes"; then :
31436   requirements_ecore_imf_ibus="ecore-imf >= 1.7.8 ecore-x >= 1.7.8 ecore-input >= 1.7.8 ${requirements_ecore_imf_ibus}"
31437 fi
31438
31439
31440
31441
31442
31443
31444
31445
31446 ### WAYLAND
31447
31448 ecore_wayland_deps="no"
31449 have_wayland="no"
31450 if test "x${want_ecore_wayland}" = "xyes" ; then
31451
31452 pkg_failed=no
31453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND" >&5
31454 $as_echo_n "checking for WAYLAND... " >&6; }
31455
31456 if test -n "$WAYLAND_CFLAGS"; then
31457     pkg_cv_WAYLAND_CFLAGS="$WAYLAND_CFLAGS"
31458  elif test -n "$PKG_CONFIG"; then
31459     if test -n "$PKG_CONFIG" && \
31460     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client wayland-cursor xkbcommon\""; } >&5
31461   ($PKG_CONFIG --exists --print-errors "wayland-client wayland-cursor xkbcommon") 2>&5
31462   ac_status=$?
31463   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31464   test $ac_status = 0; }; then
31465   pkg_cv_WAYLAND_CFLAGS=`$PKG_CONFIG --cflags "wayland-client wayland-cursor xkbcommon" 2>/dev/null`
31466                       test "x$?" != "x0" && pkg_failed=yes
31467 else
31468   pkg_failed=yes
31469 fi
31470  else
31471     pkg_failed=untried
31472 fi
31473 if test -n "$WAYLAND_LIBS"; then
31474     pkg_cv_WAYLAND_LIBS="$WAYLAND_LIBS"
31475  elif test -n "$PKG_CONFIG"; then
31476     if test -n "$PKG_CONFIG" && \
31477     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client wayland-cursor xkbcommon\""; } >&5
31478   ($PKG_CONFIG --exists --print-errors "wayland-client wayland-cursor xkbcommon") 2>&5
31479   ac_status=$?
31480   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31481   test $ac_status = 0; }; then
31482   pkg_cv_WAYLAND_LIBS=`$PKG_CONFIG --libs "wayland-client wayland-cursor xkbcommon" 2>/dev/null`
31483                       test "x$?" != "x0" && pkg_failed=yes
31484 else
31485   pkg_failed=yes
31486 fi
31487  else
31488     pkg_failed=untried
31489 fi
31490
31491
31492
31493 if test $pkg_failed = yes; then
31494         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31495 $as_echo "no" >&6; }
31496
31497 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31498         _pkg_short_errors_supported=yes
31499 else
31500         _pkg_short_errors_supported=no
31501 fi
31502         if test $_pkg_short_errors_supported = yes; then
31503                 WAYLAND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "wayland-client wayland-cursor xkbcommon" 2>&1`
31504         else
31505                 WAYLAND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "wayland-client wayland-cursor xkbcommon" 2>&1`
31506         fi
31507         # Put the nasty error message in config.log where it belongs
31508         echo "$WAYLAND_PKG_ERRORS" >&5
31509
31510         have_wayland="no"
31511 elif test $pkg_failed = untried; then
31512         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31513 $as_echo "no" >&6; }
31514         have_wayland="no"
31515 else
31516         WAYLAND_CFLAGS=$pkg_cv_WAYLAND_CFLAGS
31517         WAYLAND_LIBS=$pkg_cv_WAYLAND_LIBS
31518         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31519 $as_echo "yes" >&6; }
31520         have_wayland="yes"
31521 fi
31522 fi
31523 if test "x${have_ecore_input}" = "xyes" -a "x${have_wayland}" = "xyes" ; then
31524   ecore_wayland_deps="yes"
31525 fi
31526
31527
31528
31529 have_ecore_wayland=no
31530 ecore_wayland_cflags=
31531 ecore_wayland_libs=
31532 want_module=${want_ecore_wayland}
31533
31534 # Check whether --enable-ecore-wayland was given.
31535 if test "${enable_ecore_wayland+set}" = set; then :
31536   enableval=$enable_ecore_wayland;
31537     if test "x${enableval}" = "xyes" ; then
31538        want_module="yes"
31539     else
31540        want_module="no"
31541     fi
31542
31543 fi
31544
31545
31546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Wayland module is to be built" >&5
31547 $as_echo_n "checking whether Ecore_Wayland module is to be built... " >&6; }
31548
31549 if test "x${want_module}" = "xyes" ; then
31550    if test "x${ecore_wayland_deps}" = "x" || test "x${ecore_wayland_deps}" = "xyes" ; then
31551
31552 $as_echo "#define BUILD_ECORE_WAYLAND 1" >>confdefs.h
31553
31554       have_ecore_wayland="yes"
31555       ecore_wayland_libs="-lecore_wayland"
31556       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31557 $as_echo "yes" >&6; }
31558    else
31559       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
31560 $as_echo "no (dependency failed)" >&6; }
31561    fi
31562 else
31563    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31564 $as_echo "no" >&6; }
31565 fi
31566
31567  if test "x$have_ecore_wayland" = "xyes"; then
31568   BUILD_ECORE_WAYLAND_TRUE=
31569   BUILD_ECORE_WAYLAND_FALSE='#'
31570 else
31571   BUILD_ECORE_WAYLAND_TRUE='#'
31572   BUILD_ECORE_WAYLAND_FALSE=
31573 fi
31574
31575
31576 if test "x$have_ecore_wayland" = "xyes"; then :
31577
31578 fi
31579
31580
31581
31582
31583
31584
31585
31586 if test "x${have_ecore_wayland}" = "xyes" ; then
31587   requirements_ecore_wayland="ecore-input >= 1.7.8 wayland-client wayland-cursor xkbcommon ${requirements_ecore_wayland}"
31588 fi
31589
31590
31591
31592 have_ecore_evas_wayland_shm="no"
31593 want_module="${want_ecore_evas_wayland_shm}"
31594
31595 # Check whether --enable-ecore-evas-wayland-shm was given.
31596 if test "${enable_ecore_evas_wayland_shm+set}" = set; then :
31597   enableval=$enable_ecore_evas_wayland_shm;
31598     if test "x${enableval}" = "xyes" ; then
31599        want_module="yes"
31600     else
31601        want_module="no"
31602     fi
31603
31604 fi
31605
31606
31607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Wayland Shm support is to be built" >&5
31608 $as_echo_n "checking whether ecore_evas Wayland Shm support is to be built... " >&6; }
31609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
31610 $as_echo "${want_module}" >&6; }
31611
31612 if test "x${have_ecore_wayland}" = "xyes" && \
31613    test "x$have_ecore_evas" = "xyes" && \
31614    test "x$want_module" = "xyes" ; then
31615    if test -n "$PKG_CONFIG" && \
31616     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-wayland-shm\""; } >&5
31617   ($PKG_CONFIG --exists --print-errors "evas-wayland-shm") 2>&5
31618   ac_status=$?
31619   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31620   test $ac_status = 0; }; then
31621
31622
31623 $as_echo "#define BUILD_ECORE_EVAS_WAYLAND_SHM 1" >>confdefs.h
31624
31625        have_ecore_evas_wayland_shm="yes"
31626
31627 fi
31628 fi
31629
31630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Wayland Shm support is built" >&5
31631 $as_echo_n "checking whether ecore_evas Wayland Shm support is built... " >&6; }
31632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_wayland_shm" >&5
31633 $as_echo "$have_ecore_evas_wayland_shm" >&6; }
31634
31635 if test "x$have_ecore_evas_wayland_shm" = "xyes"; then :
31636   requirements_ecore_evas="${requirements_ecore_wayland} ${requirements_ecore_evas}"
31637 fi
31638
31639
31640
31641
31642
31643
31644
31645 have_ecore_evas_wayland_egl="no"
31646 want_module="${want_ecore_evas_wayland_egl}"
31647
31648 # Check whether --enable-ecore-evas-wayland-egl was given.
31649 if test "${enable_ecore_evas_wayland_egl+set}" = set; then :
31650   enableval=$enable_ecore_evas_wayland_egl;
31651     if test "x${enableval}" = "xyes" ; then
31652        want_module="yes"
31653     else
31654        want_module="no"
31655     fi
31656
31657 fi
31658
31659
31660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Wayland Egl support is to be built" >&5
31661 $as_echo_n "checking whether ecore_evas Wayland Egl support is to be built... " >&6; }
31662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
31663 $as_echo "${want_module}" >&6; }
31664
31665 if test "x${have_ecore_wayland}" = "xyes" && \
31666    test "x$have_ecore_evas" = "xyes" && \
31667    test "x$want_module" = "xyes" ; then
31668    if test -n "$PKG_CONFIG" && \
31669     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-wayland-egl egl >= 7.10\""; } >&5
31670   ($PKG_CONFIG --exists --print-errors "evas-wayland-egl egl >= 7.10") 2>&5
31671   ac_status=$?
31672   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31673   test $ac_status = 0; }; then
31674
31675
31676 $as_echo "#define BUILD_ECORE_EVAS_WAYLAND_EGL 1" >>confdefs.h
31677
31678        have_ecore_evas_wayland_egl="yes"
31679
31680 fi
31681 fi
31682
31683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Wayland Egl support is built" >&5
31684 $as_echo_n "checking whether ecore_evas Wayland Egl support is built... " >&6; }
31685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_wayland_egl" >&5
31686 $as_echo "$have_ecore_evas_wayland_egl" >&6; }
31687
31688 if test "x$have_ecore_evas_wayland_egl" = "xyes"; then :
31689
31690
31691 pkg_failed=no
31692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND_EGL" >&5
31693 $as_echo_n "checking for WAYLAND_EGL... " >&6; }
31694
31695 if test -n "$WAYLAND_EGL_CFLAGS"; then
31696     pkg_cv_WAYLAND_EGL_CFLAGS="$WAYLAND_EGL_CFLAGS"
31697  elif test -n "$PKG_CONFIG"; then
31698     if test -n "$PKG_CONFIG" && \
31699     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-egl\""; } >&5
31700   ($PKG_CONFIG --exists --print-errors "wayland-egl") 2>&5
31701   ac_status=$?
31702   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31703   test $ac_status = 0; }; then
31704   pkg_cv_WAYLAND_EGL_CFLAGS=`$PKG_CONFIG --cflags "wayland-egl" 2>/dev/null`
31705                       test "x$?" != "x0" && pkg_failed=yes
31706 else
31707   pkg_failed=yes
31708 fi
31709  else
31710     pkg_failed=untried
31711 fi
31712 if test -n "$WAYLAND_EGL_LIBS"; then
31713     pkg_cv_WAYLAND_EGL_LIBS="$WAYLAND_EGL_LIBS"
31714  elif test -n "$PKG_CONFIG"; then
31715     if test -n "$PKG_CONFIG" && \
31716     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-egl\""; } >&5
31717   ($PKG_CONFIG --exists --print-errors "wayland-egl") 2>&5
31718   ac_status=$?
31719   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31720   test $ac_status = 0; }; then
31721   pkg_cv_WAYLAND_EGL_LIBS=`$PKG_CONFIG --libs "wayland-egl" 2>/dev/null`
31722                       test "x$?" != "x0" && pkg_failed=yes
31723 else
31724   pkg_failed=yes
31725 fi
31726  else
31727     pkg_failed=untried
31728 fi
31729
31730
31731
31732 if test $pkg_failed = yes; then
31733         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31734 $as_echo "no" >&6; }
31735
31736 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31737         _pkg_short_errors_supported=yes
31738 else
31739         _pkg_short_errors_supported=no
31740 fi
31741         if test $_pkg_short_errors_supported = yes; then
31742                 WAYLAND_EGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "wayland-egl" 2>&1`
31743         else
31744                 WAYLAND_EGL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "wayland-egl" 2>&1`
31745         fi
31746         # Put the nasty error message in config.log where it belongs
31747         echo "$WAYLAND_EGL_PKG_ERRORS" >&5
31748
31749         have_wayland_egl="no"
31750 elif test $pkg_failed = untried; then
31751         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31752 $as_echo "no" >&6; }
31753         have_wayland_egl="no"
31754 else
31755         WAYLAND_EGL_CFLAGS=$pkg_cv_WAYLAND_EGL_CFLAGS
31756         WAYLAND_EGL_LIBS=$pkg_cv_WAYLAND_EGL_LIBS
31757         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31758 $as_echo "yes" >&6; }
31759         have_wayland_egl="yes"
31760 fi
31761       if test "x${have_wayland_egl}" = "xyes" ; then
31762          requirements_ecore_evas="wayland-egl egl >= 7.10 ${requirements_ecore_wayland} ${requirements_ecore_evas}"
31763       fi
31764
31765 fi
31766
31767
31768
31769
31770
31771 ### Unit tests and coverage
31772
31773
31774
31775
31776 # Check whether --enable-tests was given.
31777 if test "${enable_tests+set}" = set; then :
31778   enableval=$enable_tests;
31779     if test "x${enableval}" = "xyes" ; then
31780        _efl_enable_tests="yes"
31781     else
31782        _efl_enable_tests="no"
31783     fi
31784
31785 else
31786   _efl_enable_tests="no"
31787 fi
31788
31789
31790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests are built" >&5
31791 $as_echo_n "checking whether tests are built... " >&6; }
31792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_tests}" >&5
31793 $as_echo "${_efl_enable_tests}" >&6; }
31794
31795
31796
31797 if test "x${_efl_enable_tests}" = "xyes" ; then
31798
31799 pkg_failed=no
31800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
31801 $as_echo_n "checking for CHECK... " >&6; }
31802
31803 if test -n "$CHECK_CFLAGS"; then
31804     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
31805  elif test -n "$PKG_CONFIG"; then
31806     if test -n "$PKG_CONFIG" && \
31807     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
31808   ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
31809   ac_status=$?
31810   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31811   test $ac_status = 0; }; then
31812   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.5" 2>/dev/null`
31813                       test "x$?" != "x0" && pkg_failed=yes
31814 else
31815   pkg_failed=yes
31816 fi
31817  else
31818     pkg_failed=untried
31819 fi
31820 if test -n "$CHECK_LIBS"; then
31821     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
31822  elif test -n "$PKG_CONFIG"; then
31823     if test -n "$PKG_CONFIG" && \
31824     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
31825   ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
31826   ac_status=$?
31827   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31828   test $ac_status = 0; }; then
31829   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.5" 2>/dev/null`
31830                       test "x$?" != "x0" && pkg_failed=yes
31831 else
31832   pkg_failed=yes
31833 fi
31834  else
31835     pkg_failed=untried
31836 fi
31837
31838
31839
31840 if test $pkg_failed = yes; then
31841         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31842 $as_echo "no" >&6; }
31843
31844 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31845         _pkg_short_errors_supported=yes
31846 else
31847         _pkg_short_errors_supported=no
31848 fi
31849         if test $_pkg_short_errors_supported = yes; then
31850                 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.5" 2>&1`
31851         else
31852                 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.5" 2>&1`
31853         fi
31854         # Put the nasty error message in config.log where it belongs
31855         echo "$CHECK_PKG_ERRORS" >&5
31856
31857         _efl_enable_tests="no"
31858 elif test $pkg_failed = untried; then
31859         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31860 $as_echo "no" >&6; }
31861         _efl_enable_tests="no"
31862 else
31863         CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
31864         CHECK_LIBS=$pkg_cv_CHECK_LIBS
31865         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31866 $as_echo "yes" >&6; }
31867         dummy="yes"
31868 fi
31869 fi
31870
31871  if test "x${_efl_enable_tests}" = "xyes"; then
31872   EFL_ENABLE_TESTS_TRUE=
31873   EFL_ENABLE_TESTS_FALSE='#'
31874 else
31875   EFL_ENABLE_TESTS_TRUE='#'
31876   EFL_ENABLE_TESTS_FALSE=
31877 fi
31878
31879
31880 if test "x$_efl_enable_tests" = "xyes"; then :
31881   enable_tests="yes"
31882 else
31883   enable_tests="no"
31884 fi
31885
31886
31887
31888
31889
31890 # Check whether --enable-coverage was given.
31891 if test "${enable_coverage+set}" = set; then :
31892   enableval=$enable_coverage;
31893     if test "x${enableval}" = "xyes" ; then
31894        _efl_enable_coverage="yes"
31895     else
31896        _efl_enable_coverage="no"
31897     fi
31898
31899 else
31900   _efl_enable_coverage="no"
31901 fi
31902
31903
31904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use profiling instrumentation" >&5
31905 $as_echo_n "checking whether to use profiling instrumentation... " >&6; }
31906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_efl_enable_coverage" >&5
31907 $as_echo "$_efl_enable_coverage" >&6; }
31908
31909
31910 if test "x$_efl_enable_coverage" = "xyes" && test ! "x${enable_tests}" = "xyes" ; then
31911    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&5
31912 $as_echo "$as_me: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&2;}
31913    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Run configure with --enable-tests" >&5
31914 $as_echo "$as_me: WARNING: Run configure with --enable-tests" >&2;}
31915    _efl_enable_coverage="no"
31916 fi
31917
31918 if test "x$_efl_enable_coverage" = "xyes" ; then
31919    # Extract the first word of "lcov", so it can be a program name with args.
31920 set dummy lcov; ac_word=$2
31921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31922 $as_echo_n "checking for $ac_word... " >&6; }
31923 if ${ac_cv_prog_have_lcov+:} false; then :
31924   $as_echo_n "(cached) " >&6
31925 else
31926   if test -n "$have_lcov"; then
31927   ac_cv_prog_have_lcov="$have_lcov" # Let the user override the test.
31928 else
31929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31930 for as_dir in $PATH
31931 do
31932   IFS=$as_save_IFS
31933   test -z "$as_dir" && as_dir=.
31934     for ac_exec_ext in '' $ac_executable_extensions; do
31935   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31936     ac_cv_prog_have_lcov="yes"
31937     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
31938     break 2
31939   fi
31940 done
31941   done
31942 IFS=$as_save_IFS
31943
31944   test -z "$ac_cv_prog_have_lcov" && ac_cv_prog_have_lcov="no"
31945 fi
31946 fi
31947 have_lcov=$ac_cv_prog_have_lcov
31948 if test -n "$have_lcov"; then
31949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_lcov" >&5
31950 $as_echo "$have_lcov" >&6; }
31951 else
31952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31953 $as_echo "no" >&6; }
31954 fi
31955
31956
31957    if test "x$have_lcov" = "xyes" ; then
31958       EFL_COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
31959       EFL_COVERAGE_LIBS="-lgcov"
31960 # remove any optimisation flag and force debug symbols
31961       EFL_DEBUG_CFLAGS="-g -O0 -DDEBUG"
31962    else
31963       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: lcov is not found, disable profiling instrumentation" >&5
31964 $as_echo "$as_me: WARNING: lcov is not found, disable profiling instrumentation" >&2;}
31965       _efl_enable_coverage="no"
31966    fi
31967 fi
31968
31969
31970
31971
31972  if test "x${_efl_enable_coverage}" = "xyes"; then
31973   EFL_ENABLE_COVERAGE_TRUE=
31974   EFL_ENABLE_COVERAGE_FALSE='#'
31975 else
31976   EFL_ENABLE_COVERAGE_TRUE='#'
31977   EFL_ENABLE_COVERAGE_FALSE=
31978 fi
31979
31980
31981 if test "x$_efl_enable_coverage" = "xyes"; then :
31982   enable_coverage="yes"
31983 else
31984   enable_coverage="no"
31985 fi
31986
31987 CFLAGS="${CFLAGS} ${EFL_COVERAGE_CFLAGS}"
31988 ECORE_LIBS="${ECORE_LIBS} ${EFL_COVERAGE_LIBS}"
31989 if test "x$enable_coverage" = "xyes" ; then
31990    CFLAGS="${CFLAGS} ${EFL_DEBUG_CFLAGS}"
31991 fi
31992
31993 ### install and build examples
31994
31995
31996
31997
31998 # Check whether --enable-build-examples was given.
31999 if test "${enable_build_examples+set}" = set; then :
32000   enableval=$enable_build_examples;
32001     if test "x${enableval}" = "xyes" ; then
32002        _efl_enable_build_examples="yes"
32003     else
32004        _efl_enable_build_examples="no"
32005     fi
32006
32007 else
32008   _efl_enable_build_examples="no"
32009 fi
32010
32011
32012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are built" >&5
32013 $as_echo_n "checking whether examples are built... " >&6; }
32014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_build_examples}" >&5
32015 $as_echo "${_efl_enable_build_examples}" >&6; }
32016
32017  if test "x${_efl_enable_build_examples}" = "xyes"; then
32018   EFL_BUILD_EXAMPLES_TRUE=
32019   EFL_BUILD_EXAMPLES_FALSE='#'
32020 else
32021   EFL_BUILD_EXAMPLES_TRUE='#'
32022   EFL_BUILD_EXAMPLES_FALSE=
32023 fi
32024
32025
32026 if test "x$_efl_enable_build_examples" = "xyes"; then :
32027   enable_build_examples="yes"
32028 else
32029   enable_build_examples="no"
32030 fi
32031
32032
32033
32034
32035 # Check whether --enable-install-examples was given.
32036 if test "${enable_install_examples+set}" = set; then :
32037   enableval=$enable_install_examples;
32038     if test "x${enableval}" = "xyes" ; then
32039        _efl_enable_install_examples="yes"
32040     else
32041        _efl_enable_install_examples="no"
32042     fi
32043
32044 else
32045   _efl_enable_install_examples="no"
32046 fi
32047
32048
32049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are installed" >&5
32050 $as_echo_n "checking whether examples are installed... " >&6; }
32051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_install_examples}" >&5
32052 $as_echo "${_efl_enable_install_examples}" >&6; }
32053
32054  if test "x${_efl_enable_install_examples}" = "xyes"; then
32055   EFL_INSTALL_EXAMPLES_TRUE=
32056   EFL_INSTALL_EXAMPLES_FALSE='#'
32057 else
32058   EFL_INSTALL_EXAMPLES_TRUE='#'
32059   EFL_INSTALL_EXAMPLES_FALSE=
32060 fi
32061
32062
32063 if test "x$_efl_enable_install_examples" = "xyes"; then :
32064   enable_install_examples="yes"
32065 else
32066   enable_install_examples="no"
32067 fi
32068
32069
32070 ### requirements
32071
32072
32073
32074 #AC_SUBST(requirements_ecore_config)
32075
32076
32077
32078
32079
32080
32081
32082
32083
32084
32085
32086
32087
32088
32089
32090
32091
32092
32093
32094
32095 ac_config_files="$ac_config_files Makefile ecore-con.pc ecore-config.pc ecore-directfb.pc ecore-evas.pc ecore-fb.pc ecore-file.pc ecore-imf.pc ecore-imf-evas.pc ecore-ipc.pc ecore-x.pc ecore-input.pc ecore-input-evas.pc ecore-win32.pc ecore-sdl.pc ecore-cocoa.pc ecore-psl1ght.pc ecore-wince.pc ecore-wayland.pc ecore.pc doc/ecore.dox doc/Makefile doc/Doxyfile src/Makefile src/util/Makefile src/bin/Makefile src/lib/Makefile src/lib/ecore/Makefile src/lib/ecore_con/Makefile src/lib/ecore_config/Makefile src/lib/ecore_directfb/Makefile src/lib/ecore_evas/Makefile src/lib/ecore_fb/Makefile src/lib/ecore_file/Makefile src/lib/ecore_cocoa/Makefile src/lib/ecore_sdl/Makefile src/lib/ecore_psl1ght/Makefile src/lib/ecore_imf/Makefile src/lib/ecore_imf_evas/Makefile src/lib/ecore_input/Makefile src/lib/ecore_input_evas/Makefile src/lib/ecore_ipc/Makefile src/lib/ecore_win32/Makefile src/lib/ecore_wince/Makefile src/lib/ecore_x/Makefile src/lib/ecore_x/xlib/Makefile src/lib/ecore_x/xcb/Makefile src/lib/ecore_wayland/Makefile src/examples/Makefile src/tests/Makefile src/modules/Makefile src/modules/immodules/Makefile src/modules/immodules/xim/Makefile src/modules/immodules/scim/Makefile src/modules/immodules/ibus/Makefile ecore.spec $po_makefile_in"
32096
32097
32098 cat >confcache <<\_ACEOF
32099 # This file is a shell script that caches the results of configure
32100 # tests run on this system so they can be shared between configure
32101 # scripts and configure runs, see configure's option --config-cache.
32102 # It is not useful on other systems.  If it contains results you don't
32103 # want to keep, you may remove or edit it.
32104 #
32105 # config.status only pays attention to the cache file if you give it
32106 # the --recheck option to rerun configure.
32107 #
32108 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32109 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32110 # following values.
32111
32112 _ACEOF
32113
32114 # The following way of writing the cache mishandles newlines in values,
32115 # but we know of no workaround that is simple, portable, and efficient.
32116 # So, we kill variables containing newlines.
32117 # Ultrix sh set writes to stderr and can't be redirected directly,
32118 # and sets the high bit in the cache file unless we assign to the vars.
32119 (
32120   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
32121     eval ac_val=\$$ac_var
32122     case $ac_val in #(
32123     *${as_nl}*)
32124       case $ac_var in #(
32125       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
32126 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
32127       esac
32128       case $ac_var in #(
32129       _ | IFS | as_nl) ;; #(
32130       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
32131       *) { eval $ac_var=; unset $ac_var;} ;;
32132       esac ;;
32133     esac
32134   done
32135
32136   (set) 2>&1 |
32137     case $as_nl`(ac_space=' '; set) 2>&1` in #(
32138     *${as_nl}ac_space=\ *)
32139       # `set' does not quote correctly, so add quotes: double-quote
32140       # substitution turns \\\\ into \\, and sed turns \\ into \.
32141       sed -n \
32142         "s/'/'\\\\''/g;
32143           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32144       ;; #(
32145     *)
32146       # `set' quotes correctly as required by POSIX, so do not add quotes.
32147       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
32148       ;;
32149     esac |
32150     sort
32151 ) |
32152   sed '
32153      /^ac_cv_env_/b end
32154      t clear
32155      :clear
32156      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32157      t end
32158      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32159      :end' >>confcache
32160 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
32161   if test -w "$cache_file"; then
32162     if test "x$cache_file" != "x/dev/null"; then
32163       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
32164 $as_echo "$as_me: updating cache $cache_file" >&6;}
32165       if test ! -f "$cache_file" || test -h "$cache_file"; then
32166         cat confcache >"$cache_file"
32167       else
32168         case $cache_file in #(
32169         */* | ?:*)
32170           mv -f confcache "$cache_file"$$ &&
32171           mv -f "$cache_file"$$ "$cache_file" ;; #(
32172         *)
32173           mv -f confcache "$cache_file" ;;
32174         esac
32175       fi
32176     fi
32177   else
32178     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
32179 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
32180   fi
32181 fi
32182 rm -f confcache
32183
32184 test "x$prefix" = xNONE && prefix=$ac_default_prefix
32185 # Let make expand exec_prefix.
32186 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
32187
32188 DEFS=-DHAVE_CONFIG_H
32189
32190 ac_libobjs=
32191 ac_ltlibobjs=
32192 U=
32193 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
32194   # 1. Remove the extension, and $U if already installed.
32195   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
32196   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
32197   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
32198   #    will be set to the directory where LIBOBJS objects are built.
32199   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
32200   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
32201 done
32202 LIBOBJS=$ac_libobjs
32203
32204 LTLIBOBJS=$ac_ltlibobjs
32205
32206
32207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
32208 $as_echo_n "checking that generated files are newer than configure... " >&6; }
32209    if test -n "$am_sleep_pid"; then
32210      # Hide warnings about reused PIDs.
32211      wait $am_sleep_pid 2>/dev/null
32212    fi
32213    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
32214 $as_echo "done" >&6; }
32215  if test -n "$EXEEXT"; then
32216   am__EXEEXT_TRUE=
32217   am__EXEEXT_FALSE='#'
32218 else
32219   am__EXEEXT_TRUE='#'
32220   am__EXEEXT_FALSE=
32221 fi
32222
32223 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
32224   as_fn_error $? "conditional \"AMDEP\" was never defined.
32225 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32226 fi
32227 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
32228   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
32229 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32230 fi
32231 if test -z "${HAVE_PO_TRUE}" && test -z "${HAVE_PO_FALSE}"; then
32232   as_fn_error $? "conditional \"HAVE_PO\" was never defined.
32233 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32234 fi
32235 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
32236   as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
32237 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32238 fi
32239 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
32240   as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
32241 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32242 fi
32243 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
32244   as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
32245 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32246 fi
32247 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
32248   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
32249 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32250 fi
32251 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
32252   as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
32253 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32254 fi
32255 if test -z "${ECORE_HAVE_EXOTIC_TRUE}" && test -z "${ECORE_HAVE_EXOTIC_FALSE}"; then
32256   as_fn_error $? "conditional \"ECORE_HAVE_EXOTIC\" was never defined.
32257 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32258 fi
32259 if test -z "${ECORE_HAVE_WINCE_TRUE}" && test -z "${ECORE_HAVE_WINCE_FALSE}"; then
32260   as_fn_error $? "conditional \"ECORE_HAVE_WINCE\" was never defined.
32261 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32262 fi
32263 if test -z "${ECORE_HAVE_WIN32_TRUE}" && test -z "${ECORE_HAVE_WIN32_FALSE}"; then
32264   as_fn_error $? "conditional \"ECORE_HAVE_WIN32\" was never defined.
32265 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32266 fi
32267 if test -z "${ECORE_HAVE_PS3_TRUE}" && test -z "${ECORE_HAVE_PS3_FALSE}"; then
32268   as_fn_error $? "conditional \"ECORE_HAVE_PS3\" was never defined.
32269 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32270 fi
32271 if test -z "${BUILD_ECORE_X_XLIB_TRUE}" && test -z "${BUILD_ECORE_X_XLIB_FALSE}"; then
32272   as_fn_error $? "conditional \"BUILD_ECORE_X_XLIB\" was never defined.
32273 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32274 fi
32275 if test -z "${BUILD_ECORE_X_XCB_TRUE}" && test -z "${BUILD_ECORE_X_XCB_FALSE}"; then
32276   as_fn_error $? "conditional \"BUILD_ECORE_X_XCB\" was never defined.
32277 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32278 fi
32279
32280 if test -z "${BUILD_ECORE_CON_TRUE}" && test -z "${BUILD_ECORE_CON_FALSE}"; then
32281   as_fn_error $? "conditional \"BUILD_ECORE_CON\" was never defined.
32282 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32283 fi
32284 if test -z "${EFL_HAVE_WNO_OVERRIDE_INIT_TRUE}" && test -z "${EFL_HAVE_WNO_OVERRIDE_INIT_FALSE}"; then
32285   as_fn_error $? "conditional \"EFL_HAVE_WNO_OVERRIDE_INIT\" was never defined.
32286 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32287 fi
32288 if test -z "${EFL_HAVE_WNO_INITIALIZER_OVERRIDES_TRUE}" && test -z "${EFL_HAVE_WNO_INITIALIZER_OVERRIDES_FALSE}"; then
32289   as_fn_error $? "conditional \"EFL_HAVE_WNO_INITIALIZER_OVERRIDES\" was never defined.
32290 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32291 fi
32292 if test -z "${HAVE_IPV6_TRUE}" && test -z "${HAVE_IPV6_FALSE}"; then
32293   as_fn_error $? "conditional \"HAVE_IPV6\" was never defined.
32294 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32295 fi
32296 if test -z "${HAVE_CARES_TRUE}" && test -z "${HAVE_CARES_FALSE}"; then
32297   as_fn_error $? "conditional \"HAVE_CARES\" was never defined.
32298 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32299 fi
32300 if test -z "${BUILD_ECORE_IPC_TRUE}" && test -z "${BUILD_ECORE_IPC_FALSE}"; then
32301   as_fn_error $? "conditional \"BUILD_ECORE_IPC\" was never defined.
32302 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32303 fi
32304 if test -z "${BUILD_ECORE_FILE_TRUE}" && test -z "${BUILD_ECORE_FILE_FALSE}"; then
32305   as_fn_error $? "conditional \"BUILD_ECORE_FILE\" was never defined.
32306 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32307 fi
32308 if test -z "${BUILD_ECORE_CONFIG_TRUE}" && test -z "${BUILD_ECORE_CONFIG_FALSE}"; then
32309   as_fn_error $? "conditional \"BUILD_ECORE_CONFIG\" was never defined.
32310 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32311 fi
32312 if test -z "${BUILD_ECORE_IMF_TRUE}" && test -z "${BUILD_ECORE_IMF_FALSE}"; then
32313   as_fn_error $? "conditional \"BUILD_ECORE_IMF\" was never defined.
32314 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32315 fi
32316 if test -z "${BUILD_ECORE_IMF_EVAS_TRUE}" && test -z "${BUILD_ECORE_IMF_EVAS_FALSE}"; then
32317   as_fn_error $? "conditional \"BUILD_ECORE_IMF_EVAS\" was never defined.
32318 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32319 fi
32320 if test -z "${BUILD_ECORE_INPUT_TRUE}" && test -z "${BUILD_ECORE_INPUT_FALSE}"; then
32321   as_fn_error $? "conditional \"BUILD_ECORE_INPUT\" was never defined.
32322 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32323 fi
32324 if test -z "${BUILD_ECORE_INPUT_EVAS_TRUE}" && test -z "${BUILD_ECORE_INPUT_EVAS_FALSE}"; then
32325   as_fn_error $? "conditional \"BUILD_ECORE_INPUT_EVAS\" was never defined.
32326 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32327 fi
32328 if test -z "${BUILD_ECORE_IMF_XIM_TRUE}" && test -z "${BUILD_ECORE_IMF_XIM_FALSE}"; then
32329   as_fn_error $? "conditional \"BUILD_ECORE_IMF_XIM\" was never defined.
32330 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32331 fi
32332 if test -z "${BUILD_ECORE_IMF_XIM_TRUE}" && test -z "${BUILD_ECORE_IMF_XIM_FALSE}"; then
32333   as_fn_error $? "conditional \"BUILD_ECORE_IMF_XIM\" was never defined.
32334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32335 fi
32336 if test -z "${BUILD_ECORE_IMF_SCIM_TRUE}" && test -z "${BUILD_ECORE_IMF_SCIM_FALSE}"; then
32337   as_fn_error $? "conditional \"BUILD_ECORE_IMF_SCIM\" was never defined.
32338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32339 fi
32340 if test -z "${BUILD_ECORE_IMF_SCIM_TRUE}" && test -z "${BUILD_ECORE_IMF_SCIM_FALSE}"; then
32341   as_fn_error $? "conditional \"BUILD_ECORE_IMF_SCIM\" was never defined.
32342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32343 fi
32344 if test -z "${BUILD_ECORE_X_TRUE}" && test -z "${BUILD_ECORE_X_FALSE}"; then
32345   as_fn_error $? "conditional \"BUILD_ECORE_X\" was never defined.
32346 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32347 fi
32348 if test -z "${BUILD_ECORE_WIN32_TRUE}" && test -z "${BUILD_ECORE_WIN32_FALSE}"; then
32349   as_fn_error $? "conditional \"BUILD_ECORE_WIN32\" was never defined.
32350 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32351 fi
32352 if test -z "${BUILD_ECORE_COCOA_TRUE}" && test -z "${BUILD_ECORE_COCOA_FALSE}"; then
32353   as_fn_error $? "conditional \"BUILD_ECORE_COCOA\" was never defined.
32354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32355 fi
32356 if test -z "${BUILD_ECORE_SDL_TRUE}" && test -z "${BUILD_ECORE_SDL_FALSE}"; then
32357   as_fn_error $? "conditional \"BUILD_ECORE_SDL\" was never defined.
32358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32359 fi
32360 if test -z "${BUILD_ECORE_PSL1GHT_TRUE}" && test -z "${BUILD_ECORE_PSL1GHT_FALSE}"; then
32361   as_fn_error $? "conditional \"BUILD_ECORE_PSL1GHT\" was never defined.
32362 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32363 fi
32364 if test -z "${BUILD_ECORE_FB_TRUE}" && test -z "${BUILD_ECORE_FB_FALSE}"; then
32365   as_fn_error $? "conditional \"BUILD_ECORE_FB\" was never defined.
32366 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32367 fi
32368 if test -z "${BUILD_ECORE_DIRECTFB_TRUE}" && test -z "${BUILD_ECORE_DIRECTFB_FALSE}"; then
32369   as_fn_error $? "conditional \"BUILD_ECORE_DIRECTFB\" was never defined.
32370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32371 fi
32372 if test -z "${BUILD_ECORE_WINCE_TRUE}" && test -z "${BUILD_ECORE_WINCE_FALSE}"; then
32373   as_fn_error $? "conditional \"BUILD_ECORE_WINCE\" was never defined.
32374 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32375 fi
32376 if test -z "${BUILD_ECORE_EVAS_TRUE}" && test -z "${BUILD_ECORE_EVAS_FALSE}"; then
32377   as_fn_error $? "conditional \"BUILD_ECORE_EVAS\" was never defined.
32378 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32379 fi
32380 if test -z "${BUILD_ECORE_IMF_IBUS_TRUE}" && test -z "${BUILD_ECORE_IMF_IBUS_FALSE}"; then
32381   as_fn_error $? "conditional \"BUILD_ECORE_IMF_IBUS\" was never defined.
32382 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32383 fi
32384 if test -z "${BUILD_ECORE_IMF_IBUS_TRUE}" && test -z "${BUILD_ECORE_IMF_IBUS_FALSE}"; then
32385   as_fn_error $? "conditional \"BUILD_ECORE_IMF_IBUS\" was never defined.
32386 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32387 fi
32388 if test -z "${BUILD_ECORE_WAYLAND_TRUE}" && test -z "${BUILD_ECORE_WAYLAND_FALSE}"; then
32389   as_fn_error $? "conditional \"BUILD_ECORE_WAYLAND\" was never defined.
32390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32391 fi
32392 if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
32393   as_fn_error $? "conditional \"EFL_ENABLE_TESTS\" was never defined.
32394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32395 fi
32396 if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then
32397   as_fn_error $? "conditional \"EFL_ENABLE_COVERAGE\" was never defined.
32398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32399 fi
32400 if test -z "${EFL_BUILD_EXAMPLES_TRUE}" && test -z "${EFL_BUILD_EXAMPLES_FALSE}"; then
32401   as_fn_error $? "conditional \"EFL_BUILD_EXAMPLES\" was never defined.
32402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32403 fi
32404 if test -z "${EFL_INSTALL_EXAMPLES_TRUE}" && test -z "${EFL_INSTALL_EXAMPLES_FALSE}"; then
32405   as_fn_error $? "conditional \"EFL_INSTALL_EXAMPLES\" was never defined.
32406 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32407 fi
32408
32409 : "${CONFIG_STATUS=./config.status}"
32410 ac_write_fail=0
32411 ac_clean_files_save=$ac_clean_files
32412 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
32413 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
32414 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
32415 as_write_fail=0
32416 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
32417 #! $SHELL
32418 # Generated by $as_me.
32419 # Run this file to recreate the current configuration.
32420 # Compiler output produced by configure, useful for debugging
32421 # configure, is in config.log if it exists.
32422
32423 debug=false
32424 ac_cs_recheck=false
32425 ac_cs_silent=false
32426
32427 SHELL=\${CONFIG_SHELL-$SHELL}
32428 export SHELL
32429 _ASEOF
32430 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
32431 ## -------------------- ##
32432 ## M4sh Initialization. ##
32433 ## -------------------- ##
32434
32435 # Be more Bourne compatible
32436 DUALCASE=1; export DUALCASE # for MKS sh
32437 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
32438   emulate sh
32439   NULLCMD=:
32440   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
32441   # is contrary to our usage.  Disable this feature.
32442   alias -g '${1+"$@"}'='"$@"'
32443   setopt NO_GLOB_SUBST
32444 else
32445   case `(set -o) 2>/dev/null` in #(
32446   *posix*) :
32447     set -o posix ;; #(
32448   *) :
32449      ;;
32450 esac
32451 fi
32452
32453
32454 as_nl='
32455 '
32456 export as_nl
32457 # Printing a long string crashes Solaris 7 /usr/bin/printf.
32458 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
32459 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
32460 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
32461 # Prefer a ksh shell builtin over an external printf program on Solaris,
32462 # but without wasting forks for bash or zsh.
32463 if test -z "$BASH_VERSION$ZSH_VERSION" \
32464     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
32465   as_echo='print -r --'
32466   as_echo_n='print -rn --'
32467 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
32468   as_echo='printf %s\n'
32469   as_echo_n='printf %s'
32470 else
32471   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
32472     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
32473     as_echo_n='/usr/ucb/echo -n'
32474   else
32475     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
32476     as_echo_n_body='eval
32477       arg=$1;
32478       case $arg in #(
32479       *"$as_nl"*)
32480         expr "X$arg" : "X\\(.*\\)$as_nl";
32481         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
32482       esac;
32483       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
32484     '
32485     export as_echo_n_body
32486     as_echo_n='sh -c $as_echo_n_body as_echo'
32487   fi
32488   export as_echo_body
32489   as_echo='sh -c $as_echo_body as_echo'
32490 fi
32491
32492 # The user is always right.
32493 if test "${PATH_SEPARATOR+set}" != set; then
32494   PATH_SEPARATOR=:
32495   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
32496     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
32497       PATH_SEPARATOR=';'
32498   }
32499 fi
32500
32501
32502 # IFS
32503 # We need space, tab and new line, in precisely that order.  Quoting is
32504 # there to prevent editors from complaining about space-tab.
32505 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
32506 # splitting by setting IFS to empty value.)
32507 IFS=" ""        $as_nl"
32508
32509 # Find who we are.  Look in the path if we contain no directory separator.
32510 as_myself=
32511 case $0 in #((
32512   *[\\/]* ) as_myself=$0 ;;
32513   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32514 for as_dir in $PATH
32515 do
32516   IFS=$as_save_IFS
32517   test -z "$as_dir" && as_dir=.
32518     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
32519   done
32520 IFS=$as_save_IFS
32521
32522      ;;
32523 esac
32524 # We did not find ourselves, most probably we were run as `sh COMMAND'
32525 # in which case we are not to be found in the path.
32526 if test "x$as_myself" = x; then
32527   as_myself=$0
32528 fi
32529 if test ! -f "$as_myself"; then
32530   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
32531   exit 1
32532 fi
32533
32534 # Unset variables that we do not need and which cause bugs (e.g. in
32535 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
32536 # suppresses any "Segmentation fault" message there.  '((' could
32537 # trigger a bug in pdksh 5.2.14.
32538 for as_var in BASH_ENV ENV MAIL MAILPATH
32539 do eval test x\${$as_var+set} = xset \
32540   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
32541 done
32542 PS1='$ '
32543 PS2='> '
32544 PS4='+ '
32545
32546 # NLS nuisances.
32547 LC_ALL=C
32548 export LC_ALL
32549 LANGUAGE=C
32550 export LANGUAGE
32551
32552 # CDPATH.
32553 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
32554
32555
32556 # as_fn_error STATUS ERROR [LINENO LOG_FD]
32557 # ----------------------------------------
32558 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
32559 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
32560 # script with STATUS, using 1 if that was 0.
32561 as_fn_error ()
32562 {
32563   as_status=$1; test $as_status -eq 0 && as_status=1
32564   if test "$4"; then
32565     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
32566     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
32567   fi
32568   $as_echo "$as_me: error: $2" >&2
32569   as_fn_exit $as_status
32570 } # as_fn_error
32571
32572
32573 # as_fn_set_status STATUS
32574 # -----------------------
32575 # Set $? to STATUS, without forking.
32576 as_fn_set_status ()
32577 {
32578   return $1
32579 } # as_fn_set_status
32580
32581 # as_fn_exit STATUS
32582 # -----------------
32583 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
32584 as_fn_exit ()
32585 {
32586   set +e
32587   as_fn_set_status $1
32588   exit $1
32589 } # as_fn_exit
32590
32591 # as_fn_unset VAR
32592 # ---------------
32593 # Portably unset VAR.
32594 as_fn_unset ()
32595 {
32596   { eval $1=; unset $1;}
32597 }
32598 as_unset=as_fn_unset
32599 # as_fn_append VAR VALUE
32600 # ----------------------
32601 # Append the text in VALUE to the end of the definition contained in VAR. Take
32602 # advantage of any shell optimizations that allow amortized linear growth over
32603 # repeated appends, instead of the typical quadratic growth present in naive
32604 # implementations.
32605 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
32606   eval 'as_fn_append ()
32607   {
32608     eval $1+=\$2
32609   }'
32610 else
32611   as_fn_append ()
32612   {
32613     eval $1=\$$1\$2
32614   }
32615 fi # as_fn_append
32616
32617 # as_fn_arith ARG...
32618 # ------------------
32619 # Perform arithmetic evaluation on the ARGs, and store the result in the
32620 # global $as_val. Take advantage of shells that can avoid forks. The arguments
32621 # must be portable across $(()) and expr.
32622 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
32623   eval 'as_fn_arith ()
32624   {
32625     as_val=$(( $* ))
32626   }'
32627 else
32628   as_fn_arith ()
32629   {
32630     as_val=`expr "$@" || test $? -eq 1`
32631   }
32632 fi # as_fn_arith
32633
32634
32635 if expr a : '\(a\)' >/dev/null 2>&1 &&
32636    test "X`expr 00001 : '.*\(...\)'`" = X001; then
32637   as_expr=expr
32638 else
32639   as_expr=false
32640 fi
32641
32642 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
32643   as_basename=basename
32644 else
32645   as_basename=false
32646 fi
32647
32648 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
32649   as_dirname=dirname
32650 else
32651   as_dirname=false
32652 fi
32653
32654 as_me=`$as_basename -- "$0" ||
32655 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
32656          X"$0" : 'X\(//\)$' \| \
32657          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
32658 $as_echo X/"$0" |
32659     sed '/^.*\/\([^/][^/]*\)\/*$/{
32660             s//\1/
32661             q
32662           }
32663           /^X\/\(\/\/\)$/{
32664             s//\1/
32665             q
32666           }
32667           /^X\/\(\/\).*/{
32668             s//\1/
32669             q
32670           }
32671           s/.*/./; q'`
32672
32673 # Avoid depending upon Character Ranges.
32674 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
32675 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32676 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
32677 as_cr_digits='0123456789'
32678 as_cr_alnum=$as_cr_Letters$as_cr_digits
32679
32680 ECHO_C= ECHO_N= ECHO_T=
32681 case `echo -n x` in #(((((
32682 -n*)
32683   case `echo 'xy\c'` in
32684   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
32685   xy)  ECHO_C='\c';;
32686   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
32687        ECHO_T=' ';;
32688   esac;;
32689 *)
32690   ECHO_N='-n';;
32691 esac
32692
32693 rm -f conf$$ conf$$.exe conf$$.file
32694 if test -d conf$$.dir; then
32695   rm -f conf$$.dir/conf$$.file
32696 else
32697   rm -f conf$$.dir
32698   mkdir conf$$.dir 2>/dev/null
32699 fi
32700 if (echo >conf$$.file) 2>/dev/null; then
32701   if ln -s conf$$.file conf$$ 2>/dev/null; then
32702     as_ln_s='ln -s'
32703     # ... but there are two gotchas:
32704     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
32705     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
32706     # In both cases, we have to default to `cp -pR'.
32707     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
32708       as_ln_s='cp -pR'
32709   elif ln conf$$.file conf$$ 2>/dev/null; then
32710     as_ln_s=ln
32711   else
32712     as_ln_s='cp -pR'
32713   fi
32714 else
32715   as_ln_s='cp -pR'
32716 fi
32717 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
32718 rmdir conf$$.dir 2>/dev/null
32719
32720
32721 # as_fn_mkdir_p
32722 # -------------
32723 # Create "$as_dir" as a directory, including parents if necessary.
32724 as_fn_mkdir_p ()
32725 {
32726
32727   case $as_dir in #(
32728   -*) as_dir=./$as_dir;;
32729   esac
32730   test -d "$as_dir" || eval $as_mkdir_p || {
32731     as_dirs=
32732     while :; do
32733       case $as_dir in #(
32734       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
32735       *) as_qdir=$as_dir;;
32736       esac
32737       as_dirs="'$as_qdir' $as_dirs"
32738       as_dir=`$as_dirname -- "$as_dir" ||
32739 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32740          X"$as_dir" : 'X\(//\)[^/]' \| \
32741          X"$as_dir" : 'X\(//\)$' \| \
32742          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
32743 $as_echo X"$as_dir" |
32744     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32745             s//\1/
32746             q
32747           }
32748           /^X\(\/\/\)[^/].*/{
32749             s//\1/
32750             q
32751           }
32752           /^X\(\/\/\)$/{
32753             s//\1/
32754             q
32755           }
32756           /^X\(\/\).*/{
32757             s//\1/
32758             q
32759           }
32760           s/.*/./; q'`
32761       test -d "$as_dir" && break
32762     done
32763     test -z "$as_dirs" || eval "mkdir $as_dirs"
32764   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
32765
32766
32767 } # as_fn_mkdir_p
32768 if mkdir -p . 2>/dev/null; then
32769   as_mkdir_p='mkdir -p "$as_dir"'
32770 else
32771   test -d ./-p && rmdir ./-p
32772   as_mkdir_p=false
32773 fi
32774
32775
32776 # as_fn_executable_p FILE
32777 # -----------------------
32778 # Test if FILE is an executable regular file.
32779 as_fn_executable_p ()
32780 {
32781   test -f "$1" && test -x "$1"
32782 } # as_fn_executable_p
32783 as_test_x='test -x'
32784 as_executable_p=as_fn_executable_p
32785
32786 # Sed expression to map a string onto a valid CPP name.
32787 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
32788
32789 # Sed expression to map a string onto a valid variable name.
32790 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
32791
32792
32793 exec 6>&1
32794 ## ----------------------------------- ##
32795 ## Main body of $CONFIG_STATUS script. ##
32796 ## ----------------------------------- ##
32797 _ASEOF
32798 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
32799
32800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32801 # Save the log message, to keep $0 and so on meaningful, and to
32802 # report actual input values of CONFIG_FILES etc. instead of their
32803 # values after options handling.
32804 ac_log="
32805 This file was extended by ecore $as_me 1.7.8, which was
32806 generated by GNU Autoconf 2.69.  Invocation command line was
32807
32808   CONFIG_FILES    = $CONFIG_FILES
32809   CONFIG_HEADERS  = $CONFIG_HEADERS
32810   CONFIG_LINKS    = $CONFIG_LINKS
32811   CONFIG_COMMANDS = $CONFIG_COMMANDS
32812   $ $0 $@
32813
32814 on `(hostname || uname -n) 2>/dev/null | sed 1q`
32815 "
32816
32817 _ACEOF
32818
32819 case $ac_config_files in *"
32820 "*) set x $ac_config_files; shift; ac_config_files=$*;;
32821 esac
32822
32823 case $ac_config_headers in *"
32824 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
32825 esac
32826
32827
32828 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32829 # Files that config.status was made for.
32830 config_files="$ac_config_files"
32831 config_headers="$ac_config_headers"
32832 config_commands="$ac_config_commands"
32833
32834 _ACEOF
32835
32836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32837 ac_cs_usage="\
32838 \`$as_me' instantiates files and other configuration actions
32839 from templates according to the current configuration.  Unless the files
32840 and actions are specified as TAGs, all are instantiated by default.
32841
32842 Usage: $0 [OPTION]... [TAG]...
32843
32844   -h, --help       print this help, then exit
32845   -V, --version    print version number and configuration settings, then exit
32846       --config     print configuration, then exit
32847   -q, --quiet, --silent
32848                    do not print progress messages
32849   -d, --debug      don't remove temporary files
32850       --recheck    update $as_me by reconfiguring in the same conditions
32851       --file=FILE[:TEMPLATE]
32852                    instantiate the configuration file FILE
32853       --header=FILE[:TEMPLATE]
32854                    instantiate the configuration header FILE
32855
32856 Configuration files:
32857 $config_files
32858
32859 Configuration headers:
32860 $config_headers
32861
32862 Configuration commands:
32863 $config_commands
32864
32865 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
32866
32867 _ACEOF
32868 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32869 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
32870 ac_cs_version="\\
32871 ecore config.status 1.7.8
32872 configured by $0, generated by GNU Autoconf 2.69,
32873   with options \\"\$ac_cs_config\\"
32874
32875 Copyright (C) 2012 Free Software Foundation, Inc.
32876 This config.status script is free software; the Free Software Foundation
32877 gives unlimited permission to copy, distribute and modify it."
32878
32879 ac_pwd='$ac_pwd'
32880 srcdir='$srcdir'
32881 INSTALL='$INSTALL'
32882 MKDIR_P='$MKDIR_P'
32883 AWK='$AWK'
32884 test -n "\$AWK" || AWK=awk
32885 _ACEOF
32886
32887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32888 # The default lists apply if the user does not specify any file.
32889 ac_need_defaults=:
32890 while test $# != 0
32891 do
32892   case $1 in
32893   --*=?*)
32894     ac_option=`expr "X$1" : 'X\([^=]*\)='`
32895     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
32896     ac_shift=:
32897     ;;
32898   --*=)
32899     ac_option=`expr "X$1" : 'X\([^=]*\)='`
32900     ac_optarg=
32901     ac_shift=:
32902     ;;
32903   *)
32904     ac_option=$1
32905     ac_optarg=$2
32906     ac_shift=shift
32907     ;;
32908   esac
32909
32910   case $ac_option in
32911   # Handling of the options.
32912   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
32913     ac_cs_recheck=: ;;
32914   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
32915     $as_echo "$ac_cs_version"; exit ;;
32916   --config | --confi | --conf | --con | --co | --c )
32917     $as_echo "$ac_cs_config"; exit ;;
32918   --debug | --debu | --deb | --de | --d | -d )
32919     debug=: ;;
32920   --file | --fil | --fi | --f )
32921     $ac_shift
32922     case $ac_optarg in
32923     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32924     '') as_fn_error $? "missing file argument" ;;
32925     esac
32926     as_fn_append CONFIG_FILES " '$ac_optarg'"
32927     ac_need_defaults=false;;
32928   --header | --heade | --head | --hea )
32929     $ac_shift
32930     case $ac_optarg in
32931     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32932     esac
32933     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
32934     ac_need_defaults=false;;
32935   --he | --h)
32936     # Conflict between --help and --header
32937     as_fn_error $? "ambiguous option: \`$1'
32938 Try \`$0 --help' for more information.";;
32939   --help | --hel | -h )
32940     $as_echo "$ac_cs_usage"; exit ;;
32941   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
32942   | -silent | --silent | --silen | --sile | --sil | --si | --s)
32943     ac_cs_silent=: ;;
32944
32945   # This is an error.
32946   -*) as_fn_error $? "unrecognized option: \`$1'
32947 Try \`$0 --help' for more information." ;;
32948
32949   *) as_fn_append ac_config_targets " $1"
32950      ac_need_defaults=false ;;
32951
32952   esac
32953   shift
32954 done
32955
32956 ac_configure_extra_args=
32957
32958 if $ac_cs_silent; then
32959   exec 6>/dev/null
32960   ac_configure_extra_args="$ac_configure_extra_args --silent"
32961 fi
32962
32963 _ACEOF
32964 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32965 if \$ac_cs_recheck; then
32966   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32967   shift
32968   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
32969   CONFIG_SHELL='$SHELL'
32970   export CONFIG_SHELL
32971   exec "\$@"
32972 fi
32973
32974 _ACEOF
32975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32976 exec 5>>config.log
32977 {
32978   echo
32979   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
32980 ## Running $as_me. ##
32981 _ASBOX
32982   $as_echo "$ac_log"
32983 } >&5
32984
32985 _ACEOF
32986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32987 #
32988 # INIT-COMMANDS
32989 #
32990 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
32991
32992
32993 # The HP-UX ksh and POSIX shell print the target directory to stdout
32994 # if CDPATH is set.
32995 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
32996
32997 sed_quote_subst='$sed_quote_subst'
32998 double_quote_subst='$double_quote_subst'
32999 delay_variable_subst='$delay_variable_subst'
33000 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
33001 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
33002 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
33003 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
33004 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
33005 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
33006 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
33007 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
33008 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
33009 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
33010 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
33011 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
33012 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
33013 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
33014 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
33015 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
33016 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
33017 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
33018 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
33019 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
33020 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
33021 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
33022 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
33023 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
33024 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
33025 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
33026 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
33027 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
33028 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
33029 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
33030 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
33031 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
33032 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
33033 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
33034 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
33035 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
33036 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
33037 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
33038 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
33039 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
33040 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
33041 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
33042 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
33043 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
33044 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
33045 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
33046 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
33047 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
33048 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
33049 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
33050 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
33051 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
33052 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
33053 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
33054 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
33055 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
33056 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
33057 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
33058 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
33059 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
33060 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
33061 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
33062 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
33063 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
33064 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
33065 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
33066 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
33067 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
33068 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
33069 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
33070 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
33071 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
33072 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
33073 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
33074 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
33075 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
33076 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
33077 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
33078 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
33079 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
33080 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
33081 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
33082 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
33083 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
33084 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
33085 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
33086 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
33087 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
33088 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
33089 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
33090 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
33091 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
33092 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
33093 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
33094 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
33095 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
33096 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
33097 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
33098 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
33099 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
33100 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
33101 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
33102 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
33103 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
33104 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
33105 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
33106 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
33107 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
33108 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
33109 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
33110 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
33111 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
33112 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
33113 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
33114 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
33115 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
33116 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
33117 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
33118 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
33119 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
33120 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
33121 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
33122 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
33123 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
33124 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
33125 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
33126 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
33127 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
33128 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
33129 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
33130 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
33131 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
33132 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
33133 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
33134 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
33135 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
33136 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
33137 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
33138 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
33139 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33140 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33141 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
33142 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
33143 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
33144 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
33145 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
33146 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
33147 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
33148 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
33149 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
33150 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
33151 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
33152 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
33153 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33154 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33155 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33156 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33157 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33158 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33159 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
33160 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
33161 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
33162 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
33163 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
33164 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
33165 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
33166 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
33167 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
33168 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
33169 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
33170 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
33171 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
33172 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33173 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
33174 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
33175 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33176 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33177 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
33178 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
33179 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
33180 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
33181 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
33182 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
33183 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
33184 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
33185
33186 LTCC='$LTCC'
33187 LTCFLAGS='$LTCFLAGS'
33188 compiler='$compiler_DEFAULT'
33189
33190 # A function that is used when there is no print builtin or printf.
33191 func_fallback_echo ()
33192 {
33193   eval 'cat <<_LTECHO_EOF
33194 \$1
33195 _LTECHO_EOF'
33196 }
33197
33198 # Quote evaled strings.
33199 for var in AS \
33200 DLLTOOL \
33201 OBJDUMP \
33202 SHELL \
33203 ECHO \
33204 PATH_SEPARATOR \
33205 SED \
33206 GREP \
33207 EGREP \
33208 FGREP \
33209 LD \
33210 NM \
33211 LN_S \
33212 lt_SP2NL \
33213 lt_NL2SP \
33214 reload_flag \
33215 deplibs_check_method \
33216 file_magic_cmd \
33217 file_magic_glob \
33218 want_nocaseglob \
33219 sharedlib_from_linklib_cmd \
33220 AR \
33221 AR_FLAGS \
33222 archiver_list_spec \
33223 STRIP \
33224 RANLIB \
33225 CC \
33226 CFLAGS \
33227 compiler \
33228 lt_cv_sys_global_symbol_pipe \
33229 lt_cv_sys_global_symbol_to_cdecl \
33230 lt_cv_sys_global_symbol_to_c_name_address \
33231 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
33232 nm_file_list_spec \
33233 lt_prog_compiler_no_builtin_flag \
33234 lt_prog_compiler_pic \
33235 lt_prog_compiler_wl \
33236 lt_prog_compiler_static \
33237 lt_cv_prog_compiler_c_o \
33238 need_locks \
33239 MANIFEST_TOOL \
33240 DSYMUTIL \
33241 NMEDIT \
33242 LIPO \
33243 OTOOL \
33244 OTOOL64 \
33245 shrext_cmds \
33246 export_dynamic_flag_spec \
33247 whole_archive_flag_spec \
33248 compiler_needs_object \
33249 with_gnu_ld \
33250 allow_undefined_flag \
33251 no_undefined_flag \
33252 hardcode_libdir_flag_spec \
33253 hardcode_libdir_separator \
33254 exclude_expsyms \
33255 include_expsyms \
33256 file_list_spec \
33257 variables_saved_for_relink \
33258 libname_spec \
33259 library_names_spec \
33260 soname_spec \
33261 install_override_mode \
33262 finish_eval \
33263 old_striplib \
33264 striplib \
33265 compiler_lib_search_dirs \
33266 predep_objects \
33267 postdep_objects \
33268 predeps \
33269 postdeps \
33270 compiler_lib_search_path \
33271 LD_CXX \
33272 reload_flag_CXX \
33273 compiler_CXX \
33274 lt_prog_compiler_no_builtin_flag_CXX \
33275 lt_prog_compiler_pic_CXX \
33276 lt_prog_compiler_wl_CXX \
33277 lt_prog_compiler_static_CXX \
33278 lt_cv_prog_compiler_c_o_CXX \
33279 export_dynamic_flag_spec_CXX \
33280 whole_archive_flag_spec_CXX \
33281 compiler_needs_object_CXX \
33282 with_gnu_ld_CXX \
33283 allow_undefined_flag_CXX \
33284 no_undefined_flag_CXX \
33285 hardcode_libdir_flag_spec_CXX \
33286 hardcode_libdir_separator_CXX \
33287 exclude_expsyms_CXX \
33288 include_expsyms_CXX \
33289 file_list_spec_CXX \
33290 compiler_lib_search_dirs_CXX \
33291 predep_objects_CXX \
33292 postdep_objects_CXX \
33293 predeps_CXX \
33294 postdeps_CXX \
33295 compiler_lib_search_path_CXX; do
33296     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
33297     *[\\\\\\\`\\"\\\$]*)
33298       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
33299       ;;
33300     *)
33301       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
33302       ;;
33303     esac
33304 done
33305
33306 # Double-quote double-evaled strings.
33307 for var in reload_cmds \
33308 old_postinstall_cmds \
33309 old_postuninstall_cmds \
33310 old_archive_cmds \
33311 extract_expsyms_cmds \
33312 old_archive_from_new_cmds \
33313 old_archive_from_expsyms_cmds \
33314 archive_cmds \
33315 archive_expsym_cmds \
33316 module_cmds \
33317 module_expsym_cmds \
33318 export_symbols_cmds \
33319 prelink_cmds \
33320 postlink_cmds \
33321 postinstall_cmds \
33322 postuninstall_cmds \
33323 finish_cmds \
33324 sys_lib_search_path_spec \
33325 sys_lib_dlsearch_path_spec \
33326 reload_cmds_CXX \
33327 old_archive_cmds_CXX \
33328 old_archive_from_new_cmds_CXX \
33329 old_archive_from_expsyms_cmds_CXX \
33330 archive_cmds_CXX \
33331 archive_expsym_cmds_CXX \
33332 module_cmds_CXX \
33333 module_expsym_cmds_CXX \
33334 export_symbols_cmds_CXX \
33335 prelink_cmds_CXX \
33336 postlink_cmds_CXX; do
33337     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
33338     *[\\\\\\\`\\"\\\$]*)
33339       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
33340       ;;
33341     *)
33342       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
33343       ;;
33344     esac
33345 done
33346
33347 ac_aux_dir='$ac_aux_dir'
33348 xsi_shell='$xsi_shell'
33349 lt_shell_append='$lt_shell_append'
33350
33351 # See if we are running on zsh, and set the options which allow our
33352 # commands through without removal of \ escapes INIT.
33353 if test -n "\${ZSH_VERSION+set}" ; then
33354    setopt NO_GLOB_SUBST
33355 fi
33356
33357
33358     PACKAGE='$PACKAGE'
33359     VERSION='$VERSION'
33360     TIMESTAMP='$TIMESTAMP'
33361     RM='$RM'
33362     ofile='$ofile'
33363
33364
33365
33366
33367
33368 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
33369     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
33370     # from automake < 1.5.
33371     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
33372     # Capture the value of LINGUAS because we need it to compute CATALOGS.
33373     LINGUAS="${LINGUAS-%UNSET%}"
33374
33375
33376 _ACEOF
33377
33378 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33379
33380 # Handling of arguments.
33381 for ac_config_target in $ac_config_targets
33382 do
33383   case $ac_config_target in
33384     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
33385     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
33386     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
33387     "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
33388     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
33389     "ecore-con.pc") CONFIG_FILES="$CONFIG_FILES ecore-con.pc" ;;
33390     "ecore-config.pc") CONFIG_FILES="$CONFIG_FILES ecore-config.pc" ;;
33391     "ecore-directfb.pc") CONFIG_FILES="$CONFIG_FILES ecore-directfb.pc" ;;
33392     "ecore-evas.pc") CONFIG_FILES="$CONFIG_FILES ecore-evas.pc" ;;
33393     "ecore-fb.pc") CONFIG_FILES="$CONFIG_FILES ecore-fb.pc" ;;
33394     "ecore-file.pc") CONFIG_FILES="$CONFIG_FILES ecore-file.pc" ;;
33395     "ecore-imf.pc") CONFIG_FILES="$CONFIG_FILES ecore-imf.pc" ;;
33396     "ecore-imf-evas.pc") CONFIG_FILES="$CONFIG_FILES ecore-imf-evas.pc" ;;
33397     "ecore-ipc.pc") CONFIG_FILES="$CONFIG_FILES ecore-ipc.pc" ;;
33398     "ecore-x.pc") CONFIG_FILES="$CONFIG_FILES ecore-x.pc" ;;
33399     "ecore-input.pc") CONFIG_FILES="$CONFIG_FILES ecore-input.pc" ;;
33400     "ecore-input-evas.pc") CONFIG_FILES="$CONFIG_FILES ecore-input-evas.pc" ;;
33401     "ecore-win32.pc") CONFIG_FILES="$CONFIG_FILES ecore-win32.pc" ;;
33402     "ecore-sdl.pc") CONFIG_FILES="$CONFIG_FILES ecore-sdl.pc" ;;
33403     "ecore-cocoa.pc") CONFIG_FILES="$CONFIG_FILES ecore-cocoa.pc" ;;
33404     "ecore-psl1ght.pc") CONFIG_FILES="$CONFIG_FILES ecore-psl1ght.pc" ;;
33405     "ecore-wince.pc") CONFIG_FILES="$CONFIG_FILES ecore-wince.pc" ;;
33406     "ecore-wayland.pc") CONFIG_FILES="$CONFIG_FILES ecore-wayland.pc" ;;
33407     "ecore.pc") CONFIG_FILES="$CONFIG_FILES ecore.pc" ;;
33408     "doc/ecore.dox") CONFIG_FILES="$CONFIG_FILES doc/ecore.dox" ;;
33409     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
33410     "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
33411     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
33412     "src/util/Makefile") CONFIG_FILES="$CONFIG_FILES src/util/Makefile" ;;
33413     "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
33414     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
33415     "src/lib/ecore/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore/Makefile" ;;
33416     "src/lib/ecore_con/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_con/Makefile" ;;
33417     "src/lib/ecore_config/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_config/Makefile" ;;
33418     "src/lib/ecore_directfb/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_directfb/Makefile" ;;
33419     "src/lib/ecore_evas/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_evas/Makefile" ;;
33420     "src/lib/ecore_fb/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_fb/Makefile" ;;
33421     "src/lib/ecore_file/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_file/Makefile" ;;
33422     "src/lib/ecore_cocoa/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_cocoa/Makefile" ;;
33423     "src/lib/ecore_sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_sdl/Makefile" ;;
33424     "src/lib/ecore_psl1ght/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_psl1ght/Makefile" ;;
33425     "src/lib/ecore_imf/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_imf/Makefile" ;;
33426     "src/lib/ecore_imf_evas/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_imf_evas/Makefile" ;;
33427     "src/lib/ecore_input/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_input/Makefile" ;;
33428     "src/lib/ecore_input_evas/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_input_evas/Makefile" ;;
33429     "src/lib/ecore_ipc/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_ipc/Makefile" ;;
33430     "src/lib/ecore_win32/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_win32/Makefile" ;;
33431     "src/lib/ecore_wince/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_wince/Makefile" ;;
33432     "src/lib/ecore_x/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_x/Makefile" ;;
33433     "src/lib/ecore_x/xlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_x/xlib/Makefile" ;;
33434     "src/lib/ecore_x/xcb/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_x/xcb/Makefile" ;;
33435     "src/lib/ecore_wayland/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_wayland/Makefile" ;;
33436     "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
33437     "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
33438     "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
33439     "src/modules/immodules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/immodules/Makefile" ;;
33440     "src/modules/immodules/xim/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/immodules/xim/Makefile" ;;
33441     "src/modules/immodules/scim/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/immodules/scim/Makefile" ;;
33442     "src/modules/immodules/ibus/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/immodules/ibus/Makefile" ;;
33443     "ecore.spec") CONFIG_FILES="$CONFIG_FILES ecore.spec" ;;
33444     "$po_makefile_in") CONFIG_FILES="$CONFIG_FILES $po_makefile_in" ;;
33445
33446   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
33447   esac
33448 done
33449
33450
33451 # If the user did not use the arguments to specify the items to instantiate,
33452 # then the envvar interface is used.  Set only those that are not.
33453 # We use the long form for the default assignment because of an extremely
33454 # bizarre bug on SunOS 4.1.3.
33455 if $ac_need_defaults; then
33456   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
33457   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
33458   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
33459 fi
33460
33461 # Have a temporary directory for convenience.  Make it in the build tree
33462 # simply because there is no reason against having it here, and in addition,
33463 # creating and moving files from /tmp can sometimes cause problems.
33464 # Hook for its removal unless debugging.
33465 # Note that there is a small window in which the directory will not be cleaned:
33466 # after its creation but before its name has been assigned to `$tmp'.
33467 $debug ||
33468 {
33469   tmp= ac_tmp=
33470   trap 'exit_status=$?
33471   : "${ac_tmp:=$tmp}"
33472   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
33473 ' 0
33474   trap 'as_fn_exit 1' 1 2 13 15
33475 }
33476 # Create a (secure) tmp directory for tmp files.
33477
33478 {
33479   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
33480   test -d "$tmp"
33481 }  ||
33482 {
33483   tmp=./conf$$-$RANDOM
33484   (umask 077 && mkdir "$tmp")
33485 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
33486 ac_tmp=$tmp
33487
33488 # Set up the scripts for CONFIG_FILES section.
33489 # No need to generate them if there are no CONFIG_FILES.
33490 # This happens for instance with `./config.status config.h'.
33491 if test -n "$CONFIG_FILES"; then
33492
33493
33494 ac_cr=`echo X | tr X '\015'`
33495 # On cygwin, bash can eat \r inside `` if the user requested igncr.
33496 # But we know of no other shell where ac_cr would be empty at this
33497 # point, so we can use a bashism as a fallback.
33498 if test "x$ac_cr" = x; then
33499   eval ac_cr=\$\'\\r\'
33500 fi
33501 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
33502 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
33503   ac_cs_awk_cr='\\r'
33504 else
33505   ac_cs_awk_cr=$ac_cr
33506 fi
33507
33508 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
33509 _ACEOF
33510
33511
33512 {
33513   echo "cat >conf$$subs.awk <<_ACEOF" &&
33514   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
33515   echo "_ACEOF"
33516 } >conf$$subs.sh ||
33517   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
33518 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
33519 ac_delim='%!_!# '
33520 for ac_last_try in false false false false false :; do
33521   . ./conf$$subs.sh ||
33522     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
33523
33524   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
33525   if test $ac_delim_n = $ac_delim_num; then
33526     break
33527   elif $ac_last_try; then
33528     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
33529   else
33530     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
33531   fi
33532 done
33533 rm -f conf$$subs.sh
33534
33535 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33536 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
33537 _ACEOF
33538 sed -n '
33539 h
33540 s/^/S["/; s/!.*/"]=/
33541 p
33542 g
33543 s/^[^!]*!//
33544 :repl
33545 t repl
33546 s/'"$ac_delim"'$//
33547 t delim
33548 :nl
33549 h
33550 s/\(.\{148\}\)..*/\1/
33551 t more1
33552 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
33553 p
33554 n
33555 b repl
33556 :more1
33557 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
33558 p
33559 g
33560 s/.\{148\}//
33561 t nl
33562 :delim
33563 h
33564 s/\(.\{148\}\)..*/\1/
33565 t more2
33566 s/["\\]/\\&/g; s/^/"/; s/$/"/
33567 p
33568 b
33569 :more2
33570 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
33571 p
33572 g
33573 s/.\{148\}//
33574 t delim
33575 ' <conf$$subs.awk | sed '
33576 /^[^""]/{
33577   N
33578   s/\n//
33579 }
33580 ' >>$CONFIG_STATUS || ac_write_fail=1
33581 rm -f conf$$subs.awk
33582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33583 _ACAWK
33584 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
33585   for (key in S) S_is_set[key] = 1
33586   FS = "\a"
33587
33588 }
33589 {
33590   line = $ 0
33591   nfields = split(line, field, "@")
33592   substed = 0
33593   len = length(field[1])
33594   for (i = 2; i < nfields; i++) {
33595     key = field[i]
33596     keylen = length(key)
33597     if (S_is_set[key]) {
33598       value = S[key]
33599       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
33600       len += length(value) + length(field[++i])
33601       substed = 1
33602     } else
33603       len += 1 + keylen
33604   }
33605
33606   print line
33607 }
33608
33609 _ACAWK
33610 _ACEOF
33611 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33612 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
33613   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
33614 else
33615   cat
33616 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
33617   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
33618 _ACEOF
33619
33620 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
33621 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
33622 # trailing colons and then remove the whole line if VPATH becomes empty
33623 # (actually we leave an empty line to preserve line numbers).
33624 if test "x$srcdir" = x.; then
33625   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
33626 h
33627 s///
33628 s/^/:/
33629 s/[      ]*$/:/
33630 s/:\$(srcdir):/:/g
33631 s/:\${srcdir}:/:/g
33632 s/:@srcdir@:/:/g
33633 s/^:*//
33634 s/:*$//
33635 x
33636 s/\(=[   ]*\).*/\1/
33637 G
33638 s/\n//
33639 s/^[^=]*=[       ]*$//
33640 }'
33641 fi
33642
33643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33644 fi # test -n "$CONFIG_FILES"
33645
33646 # Set up the scripts for CONFIG_HEADERS section.
33647 # No need to generate them if there are no CONFIG_HEADERS.
33648 # This happens for instance with `./config.status Makefile'.
33649 if test -n "$CONFIG_HEADERS"; then
33650 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
33651 BEGIN {
33652 _ACEOF
33653
33654 # Transform confdefs.h into an awk script `defines.awk', embedded as
33655 # here-document in config.status, that substitutes the proper values into
33656 # config.h.in to produce config.h.
33657
33658 # Create a delimiter string that does not exist in confdefs.h, to ease
33659 # handling of long lines.
33660 ac_delim='%!_!# '
33661 for ac_last_try in false false :; do
33662   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
33663   if test -z "$ac_tt"; then
33664     break
33665   elif $ac_last_try; then
33666     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
33667   else
33668     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
33669   fi
33670 done
33671
33672 # For the awk script, D is an array of macro values keyed by name,
33673 # likewise P contains macro parameters if any.  Preserve backslash
33674 # newline sequences.
33675
33676 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
33677 sed -n '
33678 s/.\{148\}/&'"$ac_delim"'/g
33679 t rset
33680 :rset
33681 s/^[     ]*#[    ]*define[       ][      ]*/ /
33682 t def
33683 d
33684 :def
33685 s/\\$//
33686 t bsnl
33687 s/["\\]/\\&/g
33688 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
33689 D["\1"]=" \3"/p
33690 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
33691 d
33692 :bsnl
33693 s/["\\]/\\&/g
33694 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
33695 D["\1"]=" \3\\\\\\n"\\/p
33696 t cont
33697 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
33698 t cont
33699 d
33700 :cont
33701 n
33702 s/.\{148\}/&'"$ac_delim"'/g
33703 t clear
33704 :clear
33705 s/\\$//
33706 t bsnlc
33707 s/["\\]/\\&/g; s/^/"/; s/$/"/p
33708 d
33709 :bsnlc
33710 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
33711 b cont
33712 ' <confdefs.h | sed '
33713 s/'"$ac_delim"'/"\\\
33714 "/g' >>$CONFIG_STATUS || ac_write_fail=1
33715
33716 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33717   for (key in D) D_is_set[key] = 1
33718   FS = "\a"
33719 }
33720 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
33721   line = \$ 0
33722   split(line, arg, " ")
33723   if (arg[1] == "#") {
33724     defundef = arg[2]
33725     mac1 = arg[3]
33726   } else {
33727     defundef = substr(arg[1], 2)
33728     mac1 = arg[2]
33729   }
33730   split(mac1, mac2, "(") #)
33731   macro = mac2[1]
33732   prefix = substr(line, 1, index(line, defundef) - 1)
33733   if (D_is_set[macro]) {
33734     # Preserve the white space surrounding the "#".
33735     print prefix "define", macro P[macro] D[macro]
33736     next
33737   } else {
33738     # Replace #undef with comments.  This is necessary, for example,
33739     # in the case of _POSIX_SOURCE, which is predefined and required
33740     # on some systems where configure will not decide to define it.
33741     if (defundef == "undef") {
33742       print "/*", prefix defundef, macro, "*/"
33743       next
33744     }
33745   }
33746 }
33747 { print }
33748 _ACAWK
33749 _ACEOF
33750 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33751   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
33752 fi # test -n "$CONFIG_HEADERS"
33753
33754
33755 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
33756 shift
33757 for ac_tag
33758 do
33759   case $ac_tag in
33760   :[FHLC]) ac_mode=$ac_tag; continue;;
33761   esac
33762   case $ac_mode$ac_tag in
33763   :[FHL]*:*);;
33764   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
33765   :[FH]-) ac_tag=-:-;;
33766   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
33767   esac
33768   ac_save_IFS=$IFS
33769   IFS=:
33770   set x $ac_tag
33771   IFS=$ac_save_IFS
33772   shift
33773   ac_file=$1
33774   shift
33775
33776   case $ac_mode in
33777   :L) ac_source=$1;;
33778   :[FH])
33779     ac_file_inputs=
33780     for ac_f
33781     do
33782       case $ac_f in
33783       -) ac_f="$ac_tmp/stdin";;
33784       *) # Look for the file first in the build tree, then in the source tree
33785          # (if the path is not absolute).  The absolute path cannot be DOS-style,
33786          # because $ac_f cannot contain `:'.
33787          test -f "$ac_f" ||
33788            case $ac_f in
33789            [\\/$]*) false;;
33790            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
33791            esac ||
33792            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
33793       esac
33794       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
33795       as_fn_append ac_file_inputs " '$ac_f'"
33796     done
33797
33798     # Let's still pretend it is `configure' which instantiates (i.e., don't
33799     # use $as_me), people would be surprised to read:
33800     #    /* config.h.  Generated by config.status.  */
33801     configure_input='Generated from '`
33802           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
33803         `' by configure.'
33804     if test x"$ac_file" != x-; then
33805       configure_input="$ac_file.  $configure_input"
33806       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
33807 $as_echo "$as_me: creating $ac_file" >&6;}
33808     fi
33809     # Neutralize special characters interpreted by sed in replacement strings.
33810     case $configure_input in #(
33811     *\&* | *\|* | *\\* )
33812        ac_sed_conf_input=`$as_echo "$configure_input" |
33813        sed 's/[\\\\&|]/\\\\&/g'`;; #(
33814     *) ac_sed_conf_input=$configure_input;;
33815     esac
33816
33817     case $ac_tag in
33818     *:-:* | *:-) cat >"$ac_tmp/stdin" \
33819       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
33820     esac
33821     ;;
33822   esac
33823
33824   ac_dir=`$as_dirname -- "$ac_file" ||
33825 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33826          X"$ac_file" : 'X\(//\)[^/]' \| \
33827          X"$ac_file" : 'X\(//\)$' \| \
33828          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
33829 $as_echo X"$ac_file" |
33830     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33831             s//\1/
33832             q
33833           }
33834           /^X\(\/\/\)[^/].*/{
33835             s//\1/
33836             q
33837           }
33838           /^X\(\/\/\)$/{
33839             s//\1/
33840             q
33841           }
33842           /^X\(\/\).*/{
33843             s//\1/
33844             q
33845           }
33846           s/.*/./; q'`
33847   as_dir="$ac_dir"; as_fn_mkdir_p
33848   ac_builddir=.
33849
33850 case "$ac_dir" in
33851 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
33852 *)
33853   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
33854   # A ".." for each directory in $ac_dir_suffix.
33855   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
33856   case $ac_top_builddir_sub in
33857   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
33858   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
33859   esac ;;
33860 esac
33861 ac_abs_top_builddir=$ac_pwd
33862 ac_abs_builddir=$ac_pwd$ac_dir_suffix
33863 # for backward compatibility:
33864 ac_top_builddir=$ac_top_build_prefix
33865
33866 case $srcdir in
33867   .)  # We are building in place.
33868     ac_srcdir=.
33869     ac_top_srcdir=$ac_top_builddir_sub
33870     ac_abs_top_srcdir=$ac_pwd ;;
33871   [\\/]* | ?:[\\/]* )  # Absolute name.
33872     ac_srcdir=$srcdir$ac_dir_suffix;
33873     ac_top_srcdir=$srcdir
33874     ac_abs_top_srcdir=$srcdir ;;
33875   *) # Relative name.
33876     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
33877     ac_top_srcdir=$ac_top_build_prefix$srcdir
33878     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
33879 esac
33880 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
33881
33882
33883   case $ac_mode in
33884   :F)
33885   #
33886   # CONFIG_FILE
33887   #
33888
33889   case $INSTALL in
33890   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
33891   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
33892   esac
33893   ac_MKDIR_P=$MKDIR_P
33894   case $MKDIR_P in
33895   [\\/$]* | ?:[\\/]* ) ;;
33896   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
33897   esac
33898 _ACEOF
33899
33900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33901 # If the template does not know about datarootdir, expand it.
33902 # FIXME: This hack should be removed a few years after 2.60.
33903 ac_datarootdir_hack=; ac_datarootdir_seen=
33904 ac_sed_dataroot='
33905 /datarootdir/ {
33906   p
33907   q
33908 }
33909 /@datadir@/p
33910 /@docdir@/p
33911 /@infodir@/p
33912 /@localedir@/p
33913 /@mandir@/p'
33914 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
33915 *datarootdir*) ac_datarootdir_seen=yes;;
33916 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
33917   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
33918 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
33919 _ACEOF
33920 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33921   ac_datarootdir_hack='
33922   s&@datadir@&$datadir&g
33923   s&@docdir@&$docdir&g
33924   s&@infodir@&$infodir&g
33925   s&@localedir@&$localedir&g
33926   s&@mandir@&$mandir&g
33927   s&\\\${datarootdir}&$datarootdir&g' ;;
33928 esac
33929 _ACEOF
33930
33931 # Neutralize VPATH when `$srcdir' = `.'.
33932 # Shell code in configure.ac might set extrasub.
33933 # FIXME: do we really want to maintain this feature?
33934 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33935 ac_sed_extra="$ac_vpsub
33936 $extrasub
33937 _ACEOF
33938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33939 :t
33940 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
33941 s|@configure_input@|$ac_sed_conf_input|;t t
33942 s&@top_builddir@&$ac_top_builddir_sub&;t t
33943 s&@top_build_prefix@&$ac_top_build_prefix&;t t
33944 s&@srcdir@&$ac_srcdir&;t t
33945 s&@abs_srcdir@&$ac_abs_srcdir&;t t
33946 s&@top_srcdir@&$ac_top_srcdir&;t t
33947 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
33948 s&@builddir@&$ac_builddir&;t t
33949 s&@abs_builddir@&$ac_abs_builddir&;t t
33950 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
33951 s&@INSTALL@&$ac_INSTALL&;t t
33952 s&@MKDIR_P@&$ac_MKDIR_P&;t t
33953 $ac_datarootdir_hack
33954 "
33955 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
33956   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33957
33958 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
33959   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
33960   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
33961       "$ac_tmp/out"`; test -z "$ac_out"; } &&
33962   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33963 which seems to be undefined.  Please make sure it is defined" >&5
33964 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33965 which seems to be undefined.  Please make sure it is defined" >&2;}
33966
33967   rm -f "$ac_tmp/stdin"
33968   case $ac_file in
33969   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
33970   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
33971   esac \
33972   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33973  ;;
33974   :H)
33975   #
33976   # CONFIG_HEADER
33977   #
33978   if test x"$ac_file" != x-; then
33979     {
33980       $as_echo "/* $configure_input  */" \
33981       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
33982     } >"$ac_tmp/config.h" \
33983       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33984     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
33985       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
33986 $as_echo "$as_me: $ac_file is unchanged" >&6;}
33987     else
33988       rm -f "$ac_file"
33989       mv "$ac_tmp/config.h" "$ac_file" \
33990         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33991     fi
33992   else
33993     $as_echo "/* $configure_input  */" \
33994       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
33995       || as_fn_error $? "could not create -" "$LINENO" 5
33996   fi
33997 # Compute "$ac_file"'s index in $config_headers.
33998 _am_arg="$ac_file"
33999 _am_stamp_count=1
34000 for _am_header in $config_headers :; do
34001   case $_am_header in
34002     $_am_arg | $_am_arg:* )
34003       break ;;
34004     * )
34005       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
34006   esac
34007 done
34008 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
34009 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34010          X"$_am_arg" : 'X\(//\)[^/]' \| \
34011          X"$_am_arg" : 'X\(//\)$' \| \
34012          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
34013 $as_echo X"$_am_arg" |
34014     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34015             s//\1/
34016             q
34017           }
34018           /^X\(\/\/\)[^/].*/{
34019             s//\1/
34020             q
34021           }
34022           /^X\(\/\/\)$/{
34023             s//\1/
34024             q
34025           }
34026           /^X\(\/\).*/{
34027             s//\1/
34028             q
34029           }
34030           s/.*/./; q'`/stamp-h$_am_stamp_count
34031  ;;
34032
34033   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
34034 $as_echo "$as_me: executing $ac_file commands" >&6;}
34035  ;;
34036   esac
34037
34038
34039   case $ac_file$ac_mode in
34040     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
34041   # Older Autoconf quotes --file arguments for eval, but not when files
34042   # are listed without --file.  Let's play safe and only enable the eval
34043   # if we detect the quoting.
34044   case $CONFIG_FILES in
34045   *\'*) eval set x "$CONFIG_FILES" ;;
34046   *)   set x $CONFIG_FILES ;;
34047   esac
34048   shift
34049   for mf
34050   do
34051     # Strip MF so we end up with the name of the file.
34052     mf=`echo "$mf" | sed -e 's/:.*$//'`
34053     # Check whether this is an Automake generated Makefile or not.
34054     # We used to match only the files named 'Makefile.in', but
34055     # some people rename them; so instead we look at the file content.
34056     # Grep'ing the first line is not enough: some people post-process
34057     # each Makefile.in and add a new line on top of each file to say so.
34058     # Grep'ing the whole file is not good either: AIX grep has a line
34059     # limit of 2048, but all sed's we know have understand at least 4000.
34060     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
34061       dirpart=`$as_dirname -- "$mf" ||
34062 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34063          X"$mf" : 'X\(//\)[^/]' \| \
34064          X"$mf" : 'X\(//\)$' \| \
34065          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
34066 $as_echo X"$mf" |
34067     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34068             s//\1/
34069             q
34070           }
34071           /^X\(\/\/\)[^/].*/{
34072             s//\1/
34073             q
34074           }
34075           /^X\(\/\/\)$/{
34076             s//\1/
34077             q
34078           }
34079           /^X\(\/\).*/{
34080             s//\1/
34081             q
34082           }
34083           s/.*/./; q'`
34084     else
34085       continue
34086     fi
34087     # Extract the definition of DEPDIR, am__include, and am__quote
34088     # from the Makefile without running 'make'.
34089     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
34090     test -z "$DEPDIR" && continue
34091     am__include=`sed -n 's/^am__include = //p' < "$mf"`
34092     test -z "$am__include" && continue
34093     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
34094     # Find all dependency output files, they are included files with
34095     # $(DEPDIR) in their names.  We invoke sed twice because it is the
34096     # simplest approach to changing $(DEPDIR) to its actual value in the
34097     # expansion.
34098     for file in `sed -n "
34099       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
34100          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
34101       # Make sure the directory exists.
34102       test -f "$dirpart/$file" && continue
34103       fdir=`$as_dirname -- "$file" ||
34104 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34105          X"$file" : 'X\(//\)[^/]' \| \
34106          X"$file" : 'X\(//\)$' \| \
34107          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
34108 $as_echo X"$file" |
34109     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34110             s//\1/
34111             q
34112           }
34113           /^X\(\/\/\)[^/].*/{
34114             s//\1/
34115             q
34116           }
34117           /^X\(\/\/\)$/{
34118             s//\1/
34119             q
34120           }
34121           /^X\(\/\).*/{
34122             s//\1/
34123             q
34124           }
34125           s/.*/./; q'`
34126       as_dir=$dirpart/$fdir; as_fn_mkdir_p
34127       # echo "creating $dirpart/$file"
34128       echo '# dummy' > "$dirpart/$file"
34129     done
34130   done
34131 }
34132  ;;
34133     "libtool":C)
34134
34135     # See if we are running on zsh, and set the options which allow our
34136     # commands through without removal of \ escapes.
34137     if test -n "${ZSH_VERSION+set}" ; then
34138       setopt NO_GLOB_SUBST
34139     fi
34140
34141     cfgfile="${ofile}T"
34142     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
34143     $RM "$cfgfile"
34144
34145     cat <<_LT_EOF >> "$cfgfile"
34146 #! $SHELL
34147
34148 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
34149 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
34150 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
34151 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
34152 #
34153 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
34154 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
34155 #                 Foundation, Inc.
34156 #   Written by Gordon Matzigkeit, 1996
34157 #
34158 #   This file is part of GNU Libtool.
34159 #
34160 # GNU Libtool is free software; you can redistribute it and/or
34161 # modify it under the terms of the GNU General Public License as
34162 # published by the Free Software Foundation; either version 2 of
34163 # the License, or (at your option) any later version.
34164 #
34165 # As a special exception to the GNU General Public License,
34166 # if you distribute this file as part of a program or library that
34167 # is built using GNU Libtool, you may include this file under the
34168 # same distribution terms that you use for the rest of that program.
34169 #
34170 # GNU Libtool is distributed in the hope that it will be useful,
34171 # but WITHOUT ANY WARRANTY; without even the implied warranty of
34172 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
34173 # GNU General Public License for more details.
34174 #
34175 # You should have received a copy of the GNU General Public License
34176 # along with GNU Libtool; see the file COPYING.  If not, a copy
34177 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
34178 # obtained by writing to the Free Software Foundation, Inc.,
34179 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
34180
34181
34182 # The names of the tagged configurations supported by this script.
34183 available_tags="CXX "
34184
34185 # ### BEGIN LIBTOOL CONFIG
34186
34187 # Assembler program.
34188 AS=$lt_AS
34189
34190 # DLL creation program.
34191 DLLTOOL=$lt_DLLTOOL
34192
34193 # Object dumper program.
34194 OBJDUMP=$lt_OBJDUMP
34195
34196 # Which release of libtool.m4 was used?
34197 macro_version=$macro_version
34198 macro_revision=$macro_revision
34199
34200 # Whether or not to build shared libraries.
34201 build_libtool_libs=$enable_shared
34202
34203 # Whether or not to build static libraries.
34204 build_old_libs=$enable_static
34205
34206 # What type of objects to build.
34207 pic_mode=$pic_mode
34208
34209 # Whether or not to optimize for fast installation.
34210 fast_install=$enable_fast_install
34211
34212 # Shell to use when invoking shell scripts.
34213 SHELL=$lt_SHELL
34214
34215 # An echo program that protects backslashes.
34216 ECHO=$lt_ECHO
34217
34218 # The PATH separator for the build system.
34219 PATH_SEPARATOR=$lt_PATH_SEPARATOR
34220
34221 # The host system.
34222 host_alias=$host_alias
34223 host=$host
34224 host_os=$host_os
34225
34226 # The build system.
34227 build_alias=$build_alias
34228 build=$build
34229 build_os=$build_os
34230
34231 # A sed program that does not truncate output.
34232 SED=$lt_SED
34233
34234 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
34235 Xsed="\$SED -e 1s/^X//"
34236
34237 # A grep program that handles long lines.
34238 GREP=$lt_GREP
34239
34240 # An ERE matcher.
34241 EGREP=$lt_EGREP
34242
34243 # A literal string matcher.
34244 FGREP=$lt_FGREP
34245
34246 # A BSD- or MS-compatible name lister.
34247 NM=$lt_NM
34248
34249 # Whether we need soft or hard links.
34250 LN_S=$lt_LN_S
34251
34252 # What is the maximum length of a command?
34253 max_cmd_len=$max_cmd_len
34254
34255 # Object file suffix (normally "o").
34256 objext=$ac_objext
34257
34258 # Executable file suffix (normally "").
34259 exeext=$exeext
34260
34261 # whether the shell understands "unset".
34262 lt_unset=$lt_unset
34263
34264 # turn spaces into newlines.
34265 SP2NL=$lt_lt_SP2NL
34266
34267 # turn newlines into spaces.
34268 NL2SP=$lt_lt_NL2SP
34269
34270 # convert \$build file names to \$host format.
34271 to_host_file_cmd=$lt_cv_to_host_file_cmd
34272
34273 # convert \$build files to toolchain format.
34274 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
34275
34276 # Method to check whether dependent libraries are shared objects.
34277 deplibs_check_method=$lt_deplibs_check_method
34278
34279 # Command to use when deplibs_check_method = "file_magic".
34280 file_magic_cmd=$lt_file_magic_cmd
34281
34282 # How to find potential files when deplibs_check_method = "file_magic".
34283 file_magic_glob=$lt_file_magic_glob
34284
34285 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
34286 want_nocaseglob=$lt_want_nocaseglob
34287
34288 # Command to associate shared and link libraries.
34289 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
34290
34291 # The archiver.
34292 AR=$lt_AR
34293
34294 # Flags to create an archive.
34295 AR_FLAGS=$lt_AR_FLAGS
34296
34297 # How to feed a file listing to the archiver.
34298 archiver_list_spec=$lt_archiver_list_spec
34299
34300 # A symbol stripping program.
34301 STRIP=$lt_STRIP
34302
34303 # Commands used to install an old-style archive.
34304 RANLIB=$lt_RANLIB
34305 old_postinstall_cmds=$lt_old_postinstall_cmds
34306 old_postuninstall_cmds=$lt_old_postuninstall_cmds
34307
34308 # Whether to use a lock for old archive extraction.
34309 lock_old_archive_extraction=$lock_old_archive_extraction
34310
34311 # A C compiler.
34312 LTCC=$lt_CC
34313
34314 # LTCC compiler flags.
34315 LTCFLAGS=$lt_CFLAGS
34316
34317 # Take the output of nm and produce a listing of raw symbols and C names.
34318 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
34319
34320 # Transform the output of nm in a proper C declaration.
34321 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
34322
34323 # Transform the output of nm in a C name address pair.
34324 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
34325
34326 # Transform the output of nm in a C name address pair when lib prefix is needed.
34327 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
34328
34329 # Specify filename containing input files for \$NM.
34330 nm_file_list_spec=$lt_nm_file_list_spec
34331
34332 # The root where to search for dependent libraries,and in which our libraries should be installed.
34333 lt_sysroot=$lt_sysroot
34334
34335 # The name of the directory that contains temporary libtool files.
34336 objdir=$objdir
34337
34338 # Used to examine libraries when file_magic_cmd begins with "file".
34339 MAGIC_CMD=$MAGIC_CMD
34340
34341 # Must we lock files when doing compilation?
34342 need_locks=$lt_need_locks
34343
34344 # Manifest tool.
34345 MANIFEST_TOOL=$lt_MANIFEST_TOOL
34346
34347 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
34348 DSYMUTIL=$lt_DSYMUTIL
34349
34350 # Tool to change global to local symbols on Mac OS X.
34351 NMEDIT=$lt_NMEDIT
34352
34353 # Tool to manipulate fat objects and archives on Mac OS X.
34354 LIPO=$lt_LIPO
34355
34356 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
34357 OTOOL=$lt_OTOOL
34358
34359 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
34360 OTOOL64=$lt_OTOOL64
34361
34362 # Old archive suffix (normally "a").
34363 libext=$libext
34364
34365 # Shared library suffix (normally ".so").
34366 shrext_cmds=$lt_shrext_cmds
34367
34368 # The commands to extract the exported symbol list from a shared archive.
34369 extract_expsyms_cmds=$lt_extract_expsyms_cmds
34370
34371 # Variables whose values should be saved in libtool wrapper scripts and
34372 # restored at link time.
34373 variables_saved_for_relink=$lt_variables_saved_for_relink
34374
34375 # Do we need the "lib" prefix for modules?
34376 need_lib_prefix=$need_lib_prefix
34377
34378 # Do we need a version for libraries?
34379 need_version=$need_version
34380
34381 # Library versioning type.
34382 version_type=$version_type
34383
34384 # Shared library runtime path variable.
34385 runpath_var=$runpath_var
34386
34387 # Shared library path variable.
34388 shlibpath_var=$shlibpath_var
34389
34390 # Is shlibpath searched before the hard-coded library search path?
34391 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
34392
34393 # Format of library name prefix.
34394 libname_spec=$lt_libname_spec
34395
34396 # List of archive names.  First name is the real one, the rest are links.
34397 # The last name is the one that the linker finds with -lNAME
34398 library_names_spec=$lt_library_names_spec
34399
34400 # The coded name of the library, if different from the real name.
34401 soname_spec=$lt_soname_spec
34402
34403 # Permission mode override for installation of shared libraries.
34404 install_override_mode=$lt_install_override_mode
34405
34406 # Command to use after installation of a shared archive.
34407 postinstall_cmds=$lt_postinstall_cmds
34408
34409 # Command to use after uninstallation of a shared archive.
34410 postuninstall_cmds=$lt_postuninstall_cmds
34411
34412 # Commands used to finish a libtool library installation in a directory.
34413 finish_cmds=$lt_finish_cmds
34414
34415 # As "finish_cmds", except a single script fragment to be evaled but
34416 # not shown.
34417 finish_eval=$lt_finish_eval
34418
34419 # Whether we should hardcode library paths into libraries.
34420 hardcode_into_libs=$hardcode_into_libs
34421
34422 # Compile-time system search path for libraries.
34423 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
34424
34425 # Run-time system search path for libraries.
34426 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
34427
34428 # Whether dlopen is supported.
34429 dlopen_support=$enable_dlopen
34430
34431 # Whether dlopen of programs is supported.
34432 dlopen_self=$enable_dlopen_self
34433
34434 # Whether dlopen of statically linked programs is supported.
34435 dlopen_self_static=$enable_dlopen_self_static
34436
34437 # Commands to strip libraries.
34438 old_striplib=$lt_old_striplib
34439 striplib=$lt_striplib
34440
34441
34442 # The linker used to build libraries.
34443 LD=$lt_LD
34444
34445 # How to create reloadable object files.
34446 reload_flag=$lt_reload_flag
34447 reload_cmds=$lt_reload_cmds
34448
34449 # Commands used to build an old-style archive.
34450 old_archive_cmds=$lt_old_archive_cmds
34451
34452 # A language specific compiler.
34453 CC=$lt_compiler
34454
34455 # Is the compiler the GNU compiler?
34456 with_gcc=$GCC
34457
34458 # Compiler flag to turn off builtin functions.
34459 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
34460
34461 # Additional compiler flags for building library objects.
34462 pic_flag=$lt_lt_prog_compiler_pic
34463
34464 # How to pass a linker flag through the compiler.
34465 wl=$lt_lt_prog_compiler_wl
34466
34467 # Compiler flag to prevent dynamic linking.
34468 link_static_flag=$lt_lt_prog_compiler_static
34469
34470 # Does compiler simultaneously support -c and -o options?
34471 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
34472
34473 # Whether or not to add -lc for building shared libraries.
34474 build_libtool_need_lc=$archive_cmds_need_lc
34475
34476 # Whether or not to disallow shared libs when runtime libs are static.
34477 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
34478
34479 # Compiler flag to allow reflexive dlopens.
34480 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
34481
34482 # Compiler flag to generate shared objects directly from archives.
34483 whole_archive_flag_spec=$lt_whole_archive_flag_spec
34484
34485 # Whether the compiler copes with passing no objects directly.
34486 compiler_needs_object=$lt_compiler_needs_object
34487
34488 # Create an old-style archive from a shared archive.
34489 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
34490
34491 # Create a temporary old-style archive to link instead of a shared archive.
34492 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
34493
34494 # Commands used to build a shared archive.
34495 archive_cmds=$lt_archive_cmds
34496 archive_expsym_cmds=$lt_archive_expsym_cmds
34497
34498 # Commands used to build a loadable module if different from building
34499 # a shared archive.
34500 module_cmds=$lt_module_cmds
34501 module_expsym_cmds=$lt_module_expsym_cmds
34502
34503 # Whether we are building with GNU ld or not.
34504 with_gnu_ld=$lt_with_gnu_ld
34505
34506 # Flag that allows shared libraries with undefined symbols to be built.
34507 allow_undefined_flag=$lt_allow_undefined_flag
34508
34509 # Flag that enforces no undefined symbols.
34510 no_undefined_flag=$lt_no_undefined_flag
34511
34512 # Flag to hardcode \$libdir into a binary during linking.
34513 # This must work even if \$libdir does not exist
34514 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
34515
34516 # Whether we need a single "-rpath" flag with a separated argument.
34517 hardcode_libdir_separator=$lt_hardcode_libdir_separator
34518
34519 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34520 # DIR into the resulting binary.
34521 hardcode_direct=$hardcode_direct
34522
34523 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34524 # DIR into the resulting binary and the resulting library dependency is
34525 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
34526 # library is relocated.
34527 hardcode_direct_absolute=$hardcode_direct_absolute
34528
34529 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
34530 # into the resulting binary.
34531 hardcode_minus_L=$hardcode_minus_L
34532
34533 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
34534 # into the resulting binary.
34535 hardcode_shlibpath_var=$hardcode_shlibpath_var
34536
34537 # Set to "yes" if building a shared library automatically hardcodes DIR
34538 # into the library and all subsequent libraries and executables linked
34539 # against it.
34540 hardcode_automatic=$hardcode_automatic
34541
34542 # Set to yes if linker adds runtime paths of dependent libraries
34543 # to runtime path list.
34544 inherit_rpath=$inherit_rpath
34545
34546 # Whether libtool must link a program against all its dependency libraries.
34547 link_all_deplibs=$link_all_deplibs
34548
34549 # Set to "yes" if exported symbols are required.
34550 always_export_symbols=$always_export_symbols
34551
34552 # The commands to list exported symbols.
34553 export_symbols_cmds=$lt_export_symbols_cmds
34554
34555 # Symbols that should not be listed in the preloaded symbols.
34556 exclude_expsyms=$lt_exclude_expsyms
34557
34558 # Symbols that must always be exported.
34559 include_expsyms=$lt_include_expsyms
34560
34561 # Commands necessary for linking programs (against libraries) with templates.
34562 prelink_cmds=$lt_prelink_cmds
34563
34564 # Commands necessary for finishing linking programs.
34565 postlink_cmds=$lt_postlink_cmds
34566
34567 # Specify filename containing input files.
34568 file_list_spec=$lt_file_list_spec
34569
34570 # How to hardcode a shared library path into an executable.
34571 hardcode_action=$hardcode_action
34572
34573 # The directories searched by this compiler when creating a shared library.
34574 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
34575
34576 # Dependencies to place before and after the objects being linked to
34577 # create a shared library.
34578 predep_objects=$lt_predep_objects
34579 postdep_objects=$lt_postdep_objects
34580 predeps=$lt_predeps
34581 postdeps=$lt_postdeps
34582
34583 # The library search path used internally by the compiler when linking
34584 # a shared library.
34585 compiler_lib_search_path=$lt_compiler_lib_search_path
34586
34587 # ### END LIBTOOL CONFIG
34588
34589 _LT_EOF
34590
34591   case $host_os in
34592   aix3*)
34593     cat <<\_LT_EOF >> "$cfgfile"
34594 # AIX sometimes has problems with the GCC collect2 program.  For some
34595 # reason, if we set the COLLECT_NAMES environment variable, the problems
34596 # vanish in a puff of smoke.
34597 if test "X${COLLECT_NAMES+set}" != Xset; then
34598   COLLECT_NAMES=
34599   export COLLECT_NAMES
34600 fi
34601 _LT_EOF
34602     ;;
34603   esac
34604
34605
34606 ltmain="$ac_aux_dir/ltmain.sh"
34607
34608
34609   # We use sed instead of cat because bash on DJGPP gets confused if
34610   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
34611   # text mode, it properly converts lines to CR/LF.  This bash problem
34612   # is reportedly fixed, but why not run on old versions too?
34613   sed '$q' "$ltmain" >> "$cfgfile" \
34614      || (rm -f "$cfgfile"; exit 1)
34615
34616   if test x"$xsi_shell" = xyes; then
34617   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
34618 func_dirname ()\
34619 {\
34620 \    case ${1} in\
34621 \      */*) func_dirname_result="${1%/*}${2}" ;;\
34622 \      *  ) func_dirname_result="${3}" ;;\
34623 \    esac\
34624 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
34625   && mv -f "$cfgfile.tmp" "$cfgfile" \
34626     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34627 test 0 -eq $? || _lt_function_replace_fail=:
34628
34629
34630   sed -e '/^func_basename ()$/,/^} # func_basename /c\
34631 func_basename ()\
34632 {\
34633 \    func_basename_result="${1##*/}"\
34634 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
34635   && mv -f "$cfgfile.tmp" "$cfgfile" \
34636     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34637 test 0 -eq $? || _lt_function_replace_fail=:
34638
34639
34640   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
34641 func_dirname_and_basename ()\
34642 {\
34643 \    case ${1} in\
34644 \      */*) func_dirname_result="${1%/*}${2}" ;;\
34645 \      *  ) func_dirname_result="${3}" ;;\
34646 \    esac\
34647 \    func_basename_result="${1##*/}"\
34648 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
34649   && mv -f "$cfgfile.tmp" "$cfgfile" \
34650     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34651 test 0 -eq $? || _lt_function_replace_fail=:
34652
34653
34654   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
34655 func_stripname ()\
34656 {\
34657 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
34658 \    # positional parameters, so assign one to ordinary parameter first.\
34659 \    func_stripname_result=${3}\
34660 \    func_stripname_result=${func_stripname_result#"${1}"}\
34661 \    func_stripname_result=${func_stripname_result%"${2}"}\
34662 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
34663   && mv -f "$cfgfile.tmp" "$cfgfile" \
34664     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34665 test 0 -eq $? || _lt_function_replace_fail=:
34666
34667
34668   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
34669 func_split_long_opt ()\
34670 {\
34671 \    func_split_long_opt_name=${1%%=*}\
34672 \    func_split_long_opt_arg=${1#*=}\
34673 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
34674   && mv -f "$cfgfile.tmp" "$cfgfile" \
34675     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34676 test 0 -eq $? || _lt_function_replace_fail=:
34677
34678
34679   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
34680 func_split_short_opt ()\
34681 {\
34682 \    func_split_short_opt_arg=${1#??}\
34683 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
34684 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
34685   && mv -f "$cfgfile.tmp" "$cfgfile" \
34686     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34687 test 0 -eq $? || _lt_function_replace_fail=:
34688
34689
34690   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
34691 func_lo2o ()\
34692 {\
34693 \    case ${1} in\
34694 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
34695 \      *)    func_lo2o_result=${1} ;;\
34696 \    esac\
34697 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
34698   && mv -f "$cfgfile.tmp" "$cfgfile" \
34699     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34700 test 0 -eq $? || _lt_function_replace_fail=:
34701
34702
34703   sed -e '/^func_xform ()$/,/^} # func_xform /c\
34704 func_xform ()\
34705 {\
34706     func_xform_result=${1%.*}.lo\
34707 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
34708   && mv -f "$cfgfile.tmp" "$cfgfile" \
34709     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34710 test 0 -eq $? || _lt_function_replace_fail=:
34711
34712
34713   sed -e '/^func_arith ()$/,/^} # func_arith /c\
34714 func_arith ()\
34715 {\
34716     func_arith_result=$(( $* ))\
34717 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
34718   && mv -f "$cfgfile.tmp" "$cfgfile" \
34719     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34720 test 0 -eq $? || _lt_function_replace_fail=:
34721
34722
34723   sed -e '/^func_len ()$/,/^} # func_len /c\
34724 func_len ()\
34725 {\
34726     func_len_result=${#1}\
34727 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
34728   && mv -f "$cfgfile.tmp" "$cfgfile" \
34729     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34730 test 0 -eq $? || _lt_function_replace_fail=:
34731
34732 fi
34733
34734 if test x"$lt_shell_append" = xyes; then
34735   sed -e '/^func_append ()$/,/^} # func_append /c\
34736 func_append ()\
34737 {\
34738     eval "${1}+=\\${2}"\
34739 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
34740   && mv -f "$cfgfile.tmp" "$cfgfile" \
34741     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34742 test 0 -eq $? || _lt_function_replace_fail=:
34743
34744
34745   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
34746 func_append_quoted ()\
34747 {\
34748 \    func_quote_for_eval "${2}"\
34749 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
34750 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
34751   && mv -f "$cfgfile.tmp" "$cfgfile" \
34752     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34753 test 0 -eq $? || _lt_function_replace_fail=:
34754
34755
34756   # Save a `func_append' function call where possible by direct use of '+='
34757   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
34758     && mv -f "$cfgfile.tmp" "$cfgfile" \
34759       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34760   test 0 -eq $? || _lt_function_replace_fail=:
34761 else
34762   # Save a `func_append' function call even when '+=' is not available
34763   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
34764     && mv -f "$cfgfile.tmp" "$cfgfile" \
34765       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34766   test 0 -eq $? || _lt_function_replace_fail=:
34767 fi
34768
34769 if test x"$_lt_function_replace_fail" = x":"; then
34770   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
34771 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
34772 fi
34773
34774
34775    mv -f "$cfgfile" "$ofile" ||
34776     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
34777   chmod +x "$ofile"
34778
34779
34780     cat <<_LT_EOF >> "$ofile"
34781
34782 # ### BEGIN LIBTOOL TAG CONFIG: CXX
34783
34784 # The linker used to build libraries.
34785 LD=$lt_LD_CXX
34786
34787 # How to create reloadable object files.
34788 reload_flag=$lt_reload_flag_CXX
34789 reload_cmds=$lt_reload_cmds_CXX
34790
34791 # Commands used to build an old-style archive.
34792 old_archive_cmds=$lt_old_archive_cmds_CXX
34793
34794 # A language specific compiler.
34795 CC=$lt_compiler_CXX
34796
34797 # Is the compiler the GNU compiler?
34798 with_gcc=$GCC_CXX
34799
34800 # Compiler flag to turn off builtin functions.
34801 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
34802
34803 # Additional compiler flags for building library objects.
34804 pic_flag=$lt_lt_prog_compiler_pic_CXX
34805
34806 # How to pass a linker flag through the compiler.
34807 wl=$lt_lt_prog_compiler_wl_CXX
34808
34809 # Compiler flag to prevent dynamic linking.
34810 link_static_flag=$lt_lt_prog_compiler_static_CXX
34811
34812 # Does compiler simultaneously support -c and -o options?
34813 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
34814
34815 # Whether or not to add -lc for building shared libraries.
34816 build_libtool_need_lc=$archive_cmds_need_lc_CXX
34817
34818 # Whether or not to disallow shared libs when runtime libs are static.
34819 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
34820
34821 # Compiler flag to allow reflexive dlopens.
34822 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
34823
34824 # Compiler flag to generate shared objects directly from archives.
34825 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
34826
34827 # Whether the compiler copes with passing no objects directly.
34828 compiler_needs_object=$lt_compiler_needs_object_CXX
34829
34830 # Create an old-style archive from a shared archive.
34831 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
34832
34833 # Create a temporary old-style archive to link instead of a shared archive.
34834 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
34835
34836 # Commands used to build a shared archive.
34837 archive_cmds=$lt_archive_cmds_CXX
34838 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
34839
34840 # Commands used to build a loadable module if different from building
34841 # a shared archive.
34842 module_cmds=$lt_module_cmds_CXX
34843 module_expsym_cmds=$lt_module_expsym_cmds_CXX
34844
34845 # Whether we are building with GNU ld or not.
34846 with_gnu_ld=$lt_with_gnu_ld_CXX
34847
34848 # Flag that allows shared libraries with undefined symbols to be built.
34849 allow_undefined_flag=$lt_allow_undefined_flag_CXX
34850
34851 # Flag that enforces no undefined symbols.
34852 no_undefined_flag=$lt_no_undefined_flag_CXX
34853
34854 # Flag to hardcode \$libdir into a binary during linking.
34855 # This must work even if \$libdir does not exist
34856 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
34857
34858 # Whether we need a single "-rpath" flag with a separated argument.
34859 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
34860
34861 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34862 # DIR into the resulting binary.
34863 hardcode_direct=$hardcode_direct_CXX
34864
34865 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34866 # DIR into the resulting binary and the resulting library dependency is
34867 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
34868 # library is relocated.
34869 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
34870
34871 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
34872 # into the resulting binary.
34873 hardcode_minus_L=$hardcode_minus_L_CXX
34874
34875 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
34876 # into the resulting binary.
34877 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
34878
34879 # Set to "yes" if building a shared library automatically hardcodes DIR
34880 # into the library and all subsequent libraries and executables linked
34881 # against it.
34882 hardcode_automatic=$hardcode_automatic_CXX
34883
34884 # Set to yes if linker adds runtime paths of dependent libraries
34885 # to runtime path list.
34886 inherit_rpath=$inherit_rpath_CXX
34887
34888 # Whether libtool must link a program against all its dependency libraries.
34889 link_all_deplibs=$link_all_deplibs_CXX
34890
34891 # Set to "yes" if exported symbols are required.
34892 always_export_symbols=$always_export_symbols_CXX
34893
34894 # The commands to list exported symbols.
34895 export_symbols_cmds=$lt_export_symbols_cmds_CXX
34896
34897 # Symbols that should not be listed in the preloaded symbols.
34898 exclude_expsyms=$lt_exclude_expsyms_CXX
34899
34900 # Symbols that must always be exported.
34901 include_expsyms=$lt_include_expsyms_CXX
34902
34903 # Commands necessary for linking programs (against libraries) with templates.
34904 prelink_cmds=$lt_prelink_cmds_CXX
34905
34906 # Commands necessary for finishing linking programs.
34907 postlink_cmds=$lt_postlink_cmds_CXX
34908
34909 # Specify filename containing input files.
34910 file_list_spec=$lt_file_list_spec_CXX
34911
34912 # How to hardcode a shared library path into an executable.
34913 hardcode_action=$hardcode_action_CXX
34914
34915 # The directories searched by this compiler when creating a shared library.
34916 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
34917
34918 # Dependencies to place before and after the objects being linked to
34919 # create a shared library.
34920 predep_objects=$lt_predep_objects_CXX
34921 postdep_objects=$lt_postdep_objects_CXX
34922 predeps=$lt_predeps_CXX
34923 postdeps=$lt_postdeps_CXX
34924
34925 # The library search path used internally by the compiler when linking
34926 # a shared library.
34927 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
34928
34929 # ### END LIBTOOL TAG CONFIG: CXX
34930 _LT_EOF
34931
34932  ;;
34933     "po-directories":C)
34934     for ac_file in $CONFIG_FILES; do
34935       # Support "outfile[:infile[:infile...]]"
34936       case "$ac_file" in
34937         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
34938       esac
34939       # PO directories have a Makefile.in generated from Makefile.in.in.
34940       case "$ac_file" in */Makefile.in)
34941         # Adjust a relative srcdir.
34942         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
34943         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
34944         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
34945         # In autoconf-2.13 it is called $ac_given_srcdir.
34946         # In autoconf-2.50 it is called $srcdir.
34947         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
34948         case "$ac_given_srcdir" in
34949           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
34950           /*) top_srcdir="$ac_given_srcdir" ;;
34951           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
34952         esac
34953         # Treat a directory as a PO directory if and only if it has a
34954         # POTFILES.in file. This allows packages to have multiple PO
34955         # directories under different names or in different locations.
34956         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
34957           rm -f "$ac_dir/POTFILES"
34958           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
34959           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
34960           POMAKEFILEDEPS="POTFILES.in"
34961           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
34962           # on $ac_dir but don't depend on user-specified configuration
34963           # parameters.
34964           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
34965             # The LINGUAS file contains the set of available languages.
34966             if test -n "$OBSOLETE_ALL_LINGUAS"; then
34967               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
34968             fi
34969             ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
34970             # Hide the ALL_LINGUAS assigment from automake < 1.5.
34971             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
34972             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
34973           else
34974             # The set of available languages was given in configure.in.
34975             # Hide the ALL_LINGUAS assigment from automake < 1.5.
34976             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
34977           fi
34978           # Compute POFILES
34979           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
34980           # Compute UPDATEPOFILES
34981           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
34982           # Compute DUMMYPOFILES
34983           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
34984           # Compute GMOFILES
34985           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
34986           case "$ac_given_srcdir" in
34987             .) srcdirpre= ;;
34988             *) srcdirpre='$(srcdir)/' ;;
34989           esac
34990           POFILES=
34991           UPDATEPOFILES=
34992           DUMMYPOFILES=
34993           GMOFILES=
34994           for lang in $ALL_LINGUAS; do
34995             POFILES="$POFILES $srcdirpre$lang.po"
34996             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
34997             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
34998             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
34999           done
35000           # CATALOGS depends on both $ac_dir and the user's LINGUAS
35001           # environment variable.
35002           INST_LINGUAS=
35003           if test -n "$ALL_LINGUAS"; then
35004             for presentlang in $ALL_LINGUAS; do
35005               useit=no
35006               if test "%UNSET%" != "$LINGUAS"; then
35007                 desiredlanguages="$LINGUAS"
35008               else
35009                 desiredlanguages="$ALL_LINGUAS"
35010               fi
35011               for desiredlang in $desiredlanguages; do
35012                 # Use the presentlang catalog if desiredlang is
35013                 #   a. equal to presentlang, or
35014                 #   b. a variant of presentlang (because in this case,
35015                 #      presentlang can be used as a fallback for messages
35016                 #      which are not translated in the desiredlang catalog).
35017                 case "$desiredlang" in
35018                   "$presentlang"*) useit=yes;;
35019                 esac
35020               done
35021               if test $useit = yes; then
35022                 INST_LINGUAS="$INST_LINGUAS $presentlang"
35023               fi
35024             done
35025           fi
35026           CATALOGS=
35027           if test -n "$INST_LINGUAS"; then
35028             for lang in $INST_LINGUAS; do
35029               CATALOGS="$CATALOGS $lang.gmo"
35030             done
35031           fi
35032           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
35033           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
35034           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
35035             if test -f "$f"; then
35036               case "$f" in
35037                 *.orig | *.bak | *~) ;;
35038                 *) cat "$f" >> "$ac_dir/Makefile" ;;
35039               esac
35040             fi
35041           done
35042         fi
35043         ;;
35044       esac
35045     done ;;
35046
35047   esac
35048 done # for ac_tag
35049
35050
35051 as_fn_exit 0
35052 _ACEOF
35053 ac_clean_files=$ac_clean_files_save
35054
35055 test $ac_write_fail = 0 ||
35056   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
35057
35058
35059 # configure is writing to config.log, and then calls config.status.
35060 # config.status does its own redirection, appending to config.log.
35061 # Unfortunately, on DOS this fails, as config.log is still kept open
35062 # by configure, so config.status won't be able to write to it; its
35063 # output is simply discarded.  So we exec the FD to /dev/null,
35064 # effectively closing config.log, so it can be properly (re)opened and
35065 # appended to by config.status.  When coming back to configure, we
35066 # need to make the FD available again.
35067 if test "$no_create" != yes; then
35068   ac_cs_success=:
35069   ac_config_status_args=
35070   test "$silent" = yes &&
35071     ac_config_status_args="$ac_config_status_args --quiet"
35072   exec 5>/dev/null
35073   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
35074   exec 5>>config.log
35075   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
35076   # would make configure fail if this is the last instruction.
35077   $ac_cs_success || as_fn_exit 1
35078 fi
35079 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
35080   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
35081 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
35082 fi
35083
35084
35085 echo
35086 echo "$PACKAGE $VERSION"
35087 echo
35088 echo "Optional Modules:"
35089 echo
35090 echo " Core:"
35091 echo
35092 echo "  Ecore........................: always"
35093 echo "    Thread support.............: $have_threads"
35094 echo "    Thread safety..............: $want_thread_safety"
35095 echo "    GLib support...............: $have_glib"
35096 echo "    Always integrate GLib......: $want_glib_integration_always"
35097 echo "    Use g_main_loop............: $want_g_main_loop"
35098 echo "    Gathering memory statistic.: $have_mallinfo"
35099 echo "    Gathering timer allocation.: $want_ecore_timer_dump"
35100 echo "  Ecore_Con....................: $have_ecore_con"
35101 if test "x$have_ecore_con" = "xyes" ; then
35102   echo $ECHO_N "    OpenSSL....................: $have_openssl $ECHO_C"
35103 if test "x$have_gnutls" = "xyes" ; then
35104   echo " (disabled)"
35105 else
35106   echo
35107 fi
35108   echo "    IPv6.......................: $have_ipv6"
35109   echo "    GnuTLS.....................: $have_gnutls"
35110   echo "    CURL.......................: $have_curl"
35111   echo "    Local Sockets..............: $want_ecore_con_local_sockets"
35112 if test "x$want_ecore_con_local_sockets" = "xyes" ; then
35113   echo "      Abstract Sockets.........: $want_ecore_con_abstract_sockets"
35114 fi
35115 if test "x$have_cares" = "xyes" ; then
35116   echo "    Resolver...................: c-ares"
35117 elif test "x$have_ipv6" = "xyes" ; then
35118   echo "    Resolver...................: dns.c"
35119 else
35120   echo "    Resolver...................: fork"
35121 fi
35122 fi
35123 echo "  Ecore_Ipc....................: $have_ecore_ipc"
35124 if test "x$have_ecore_ipc" = "xyes" ; then
35125   echo $ECHO_N "    OpenSSL....................: $have_openssl $ECHO_C"
35126 if test "x$have_gnutls" = "xyes" ; then
35127   echo " (disabled)"
35128 else
35129   echo
35130 fi
35131   echo "    GnuTLS.....................: $have_gnutls"
35132 fi
35133 echo "  Ecore_File...................: $have_ecore_file"
35134 if test "x$have_ecore_file" = "xyes" ; then
35135   echo "    Inotify....................: $have_inotify"
35136   echo "    Windows notification.......: $have_notify_win32"
35137   echo "    Poll.......................: $have_poll"
35138   echo "    CURL.......................: $have_curl"
35139 fi
35140 #echo "  Ecore_Config.................: $have_ecore_config (deprecated)"
35141 echo "  Ecore_IMF....................: $have_ecore_imf"
35142 echo "    XIM........................: $have_ecore_imf_xim"
35143 echo "    SCIM.......................: $have_ecore_imf_scim"
35144 echo "    IBUS.......................: $have_ecore_imf_ibus"
35145 echo "  Ecore_IMF_Evas...............: $have_ecore_imf_evas"
35146 echo "  Ecore_Input..................: $have_ecore_input"
35147 echo "  Ecore_Input_Evas.............: $have_ecore_input_evas"
35148
35149 echo
35150 echo " Graphic systems:"
35151 echo
35152
35153 if test "x$have_ecore_x" = "xyes" ; then
35154   if test "x$have_ecore_x_xcb" = "xyes" ; then
35155     echo "  Ecore_X (XCB backend)........: $have_ecore_x_xcb"
35156     echo "    Xprint.....................: $have_ecore_x_xcb_xprint"
35157     echo "    Xinerama...................: $have_ecore_x_xcb_xinerama"
35158     echo "    Xrandr.....................: $have_ecore_x_xcb_randr"
35159     echo "    Xscreensaver...............: $have_ecore_x_xcb_screensaver"
35160     echo "    Xshape.....................: $have_ecore_x_xcb_shape"
35161     echo "    Xgesture...................: $have_ecore_x_xcb_gesture"
35162     echo "    Xsync......................: $have_ecore_x_xcb_sync"
35163     echo "    Xrender....................: $have_ecore_x_xcb_render"
35164     echo "    Xcomposite.................: $have_ecore_x_xcb_composite"
35165     echo "    Xfixes.....................: $have_ecore_x_xcb_xfixes"
35166     echo "    Xdamage....................: $have_ecore_x_xcb_damage"
35167     echo "    Xdpms......................: $have_ecore_x_xcb_dpms"
35168     echo "    Xtest......................: $have_ecore_x_xcb_xtest"
35169   else
35170     echo "  Ecore_X (Xlib backend).......: $have_ecore_x"
35171     echo "    Xcursor....................: $use_Xcursor"
35172     echo "    Xkb........................: $use_xkb"
35173     echo "    Xprint.....................: $use_xprint"
35174     echo "    Xinerama...................: $use_xinerama"
35175     echo "    Xrandr.....................: $use_xrandr"
35176     echo "    Xgesture...................: $use_xgesture"
35177     echo "    Xscreensaver...............: $use_xss"
35178     echo "    Xrender....................: $use_xrender"
35179     echo "    Xcomposite.................: $use_xcomposite"
35180     echo "    Xfixes.....................: $use_xfixes"
35181     echo "    Xdamage....................: $use_xdamage"
35182     echo "    Xdpms......................: $use_xdpms"
35183     echo "    Xtest......................: $use_xtest"
35184     echo "    XIM........................: $want_xim"
35185     echo "    Xi2........................: $use_xi2"
35186   fi
35187 else
35188   echo "  Ecore_X......................: $have_ecore_x"
35189 fi
35190 echo "  Ecore_Win32..................: $have_ecore_win32"
35191 echo "  Ecore_Cocoa..................: $have_ecore_cocoa"
35192 echo "  Ecore_SDL....................: $have_ecore_sdl"
35193 echo "  Ecore_FB.....................: $have_ecore_fb"
35194 if test "x${have_ecore_fb}" = "xyes" ; then
35195   echo "    Touchscreen................: $have_tslib"
35196 fi
35197 echo "  Ecore_DirectFB...............: $have_ecore_directfb"
35198 echo "  Ecore_WinCE..................: $have_ecore_wince"
35199 echo "  Ecore_PSL1GHT................: $have_ecore_psl1ght"
35200 echo "  Ecore_Wayland................: $have_ecore_wayland"
35201
35202 echo
35203 echo " Ecore Evas:"
35204 echo
35205
35206 echo "  Ecore_Evas...................: $have_ecore_evas"
35207 if test "x${have_ecore_evas}" = "xyes" ; then
35208   echo "    Software Memory Buffer.....: $have_ecore_evas_software_buffer"
35209   if test "x${have_ecore_evas_software_x11}" = "xyes" ; then
35210     echo "    Software X11...............: $have_ecore_evas_software_x11 (Xlib=${have_ecore_evas_software_xlib}) (XCB=${have_ecore_evas_software_xcb})"
35211   else
35212     echo "    Software X11...............: $have_ecore_evas_software_x11"
35213   fi
35214   if test "x${have_ecore_evas_opengl_x11}" = "xyes" ; then
35215     echo "    OpenGL X11.................: $have_ecore_evas_opengl_x11 (Xlib=${have_ecore_evas_opengl_xlib}) (XCB=${have_ecore_evas_opengl_xcb})"
35216   else
35217     echo "    OpenGL X11.................: $have_ecore_evas_opengl_x11"
35218   fi
35219   echo "    Software GDI...............: $have_ecore_evas_software_gdi"
35220   echo "    Software DirectDraw........: $have_ecore_evas_software_ddraw"
35221   echo "    Direct3D...................: $have_ecore_evas_direct3d"
35222   echo "    OpenGL Glew................: $have_ecore_evas_opengl_glew"
35223   echo "    Software SDL...............: $have_ecore_evas_software_sdl"
35224   echo "    OpenGL SDL.................: $have_ecore_evas_opengl_sdl"
35225   echo "    OpenGL Cocoa...............: $have_ecore_evas_opengl_cocoa"
35226   echo "    DirectFB...................: $have_ecore_evas_directfb"
35227   echo "    PSL1GHT....................: $have_ecore_evas_psl1ght"
35228   echo "    Software Framebuffer.......: $have_ecore_evas_fb"
35229   echo "    Software 8bit grayscale XCB: $have_ecore_evas_software_8_x11"
35230   echo "    Software 16bit X11.........: $have_ecore_evas_software_16_x11"
35231   echo "    Software 16bit DirectDraw..: $have_ecore_evas_software_16_ddraw"
35232   echo "    Software 16bit WinCE.......: $have_ecore_evas_software_16_wince"
35233   echo "    Sing.Proc. Windowing System: $have_ecore_evas_ews"
35234   echo "    Wayland Shm................: $have_ecore_evas_wayland_shm"
35235   echo "    Wayland Egl................: $have_ecore_evas_wayland_egl"
35236   echo "    Extn (Plug/socket Extn)....: $have_ecore_evas_extn"
35237 fi
35238 echo
35239 echo "  Tests................: ${enable_tests}"
35240 echo "  Coverage.............: ${enable_coverage}"
35241 echo "  Maximum log level....: ${with_max_log_level}"
35242 echo "Documentation..........: ${build_doc}"
35243 echo "Examples...............: ${enable_build_examples}"
35244 echo "Examples installed.....: ${enable_install_examples}"
35245 echo
35246 echo "Compilation............: make (or gmake)"
35247 echo "  CPPFLAGS.............: $CPPFLAGS"
35248 echo "  CFLAGS...............: $CFLAGS"
35249 echo "  CXXFLAGS.............: $CXXFLAGS"
35250 echo "  LDFLAGS..............: $LDFLAGS"
35251 echo
35252 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
35253 echo "  prefix...............: $prefix"
35254 echo