Imported Upstream version 1.7.7
[platform/upstream/edje.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for edje 1.7.7.
4 #
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182     PATH=/empty FPATH=/empty; export PATH FPATH
183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186   if (eval "$as_required") 2>/dev/null; then :
187   as_have_required=yes
188 else
189   as_have_required=no
190 fi
191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193 else
194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198   IFS=$as_save_IFS
199   test -z "$as_dir" && as_dir=.
200   as_found=:
201   case $as_dir in #(
202          /*)
203            for as_base in sh bash ksh sh5; do
204              # Try only shells that exist, to save several forks.
205              as_shell=$as_dir/$as_base
206              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208   CONFIG_SHELL=$as_shell as_have_required=yes
209                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210   break 2
211 fi
212 fi
213            done;;
214        esac
215   as_found=false
216 done
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219   CONFIG_SHELL=$SHELL as_have_required=yes
220 fi; }
221 IFS=$as_save_IFS
222
223
224       if test "x$CONFIG_SHELL" != x; then :
225   # We cannot yet assume a decent shell, so we have to provide a
226         # neutralization value for shells without unset; and this also
227         # works around shells that cannot unset nonexistent variables.
228         # Preserve -v and -x to the replacement shell.
229         BASH_ENV=/dev/null
230         ENV=/dev/null
231         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232         export CONFIG_SHELL
233         case $- in # ((((
234           *v*x* | *x*v* ) as_opts=-vx ;;
235           *v* ) as_opts=-v ;;
236           *x* ) as_opts=-x ;;
237           * ) as_opts= ;;
238         esac
239         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 fi
241
242     if test x$as_have_required = xno; then :
243   $as_echo "$0: This script requires a shell more modern than all"
244   $as_echo "$0: the shells that I found on your system."
245   if test x${ZSH_VERSION+set} = xset ; then
246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248   else
249     $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: enlightenment-devel@lists.sourceforge.net about your
251 $0: system, including any error possibly output before this
252 $0: message. Then install a modern shell, or manually run
253 $0: the script under such a shell if you do have one."
254   fi
255   exit 1
256 fi
257 fi
258 fi
259 SHELL=${CONFIG_SHELL-/bin/sh}
260 export SHELL
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
264
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
268 # as_fn_unset VAR
269 # ---------------
270 # Portably unset VAR.
271 as_fn_unset ()
272 {
273   { eval $1=; unset $1;}
274 }
275 as_unset=as_fn_unset
276
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
280 as_fn_set_status ()
281 {
282   return $1
283 } # as_fn_set_status
284
285 # as_fn_exit STATUS
286 # -----------------
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
288 as_fn_exit ()
289 {
290   set +e
291   as_fn_set_status $1
292   exit $1
293 } # as_fn_exit
294
295 # as_fn_mkdir_p
296 # -------------
297 # Create "$as_dir" as a directory, including parents if necessary.
298 as_fn_mkdir_p ()
299 {
300
301   case $as_dir in #(
302   -*) as_dir=./$as_dir;;
303   esac
304   test -d "$as_dir" || eval $as_mkdir_p || {
305     as_dirs=
306     while :; do
307       case $as_dir in #(
308       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
309       *) as_qdir=$as_dir;;
310       esac
311       as_dirs="'$as_qdir' $as_dirs"
312       as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314          X"$as_dir" : 'X\(//\)[^/]' \| \
315          X"$as_dir" : 'X\(//\)$' \| \
316          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319             s//\1/
320             q
321           }
322           /^X\(\/\/\)[^/].*/{
323             s//\1/
324             q
325           }
326           /^X\(\/\/\)$/{
327             s//\1/
328             q
329           }
330           /^X\(\/\).*/{
331             s//\1/
332             q
333           }
334           s/.*/./; q'`
335       test -d "$as_dir" && break
336     done
337     test -z "$as_dirs" || eval "mkdir $as_dirs"
338   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339
340
341 } # as_fn_mkdir_p
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
347 # implementations.
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349   eval 'as_fn_append ()
350   {
351     eval $1+=\$2
352   }'
353 else
354   as_fn_append ()
355   {
356     eval $1=\$$1\$2
357   }
358 fi # as_fn_append
359
360 # as_fn_arith ARG...
361 # ------------------
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366   eval 'as_fn_arith ()
367   {
368     as_val=$(( $* ))
369   }'
370 else
371   as_fn_arith ()
372   {
373     as_val=`expr "$@" || test $? -eq 1`
374   }
375 fi # as_fn_arith
376
377
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
383 as_fn_error ()
384 {
385   as_status=$1; test $as_status -eq 0 && as_status=1
386   if test "$4"; then
387     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
389   fi
390   $as_echo "$as_me: error: $2" >&2
391   as_fn_exit $as_status
392 } # as_fn_error
393
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395    test "X`expr 00001 : '.*\(...\)'`" = X001; then
396   as_expr=expr
397 else
398   as_expr=false
399 fi
400
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
402   as_basename=basename
403 else
404   as_basename=false
405 fi
406
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
408   as_dirname=dirname
409 else
410   as_dirname=false
411 fi
412
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415          X"$0" : 'X\(//\)$' \| \
416          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
417 $as_echo X/"$0" |
418     sed '/^.*\/\([^/][^/]*\)\/*$/{
419             s//\1/
420             q
421           }
422           /^X\/\(\/\/\)$/{
423             s//\1/
424             q
425           }
426           /^X\/\(\/\).*/{
427             s//\1/
428             q
429           }
430           s/.*/./; q'`
431
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
438
439
440   as_lineno_1=$LINENO as_lineno_1a=$LINENO
441   as_lineno_2=$LINENO as_lineno_2a=$LINENO
442   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
445   sed -n '
446     p
447     /[$]LINENO/=
448   ' <$as_myself |
449     sed '
450       s/[$]LINENO.*/&-/
451       t lineno
452       b
453       :lineno
454       N
455       :loop
456       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457       t loop
458       s/-\n.*//
459     ' >$as_me.lineno &&
460   chmod +x "$as_me.lineno" ||
461     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
462
463   # Don't try to exec as it changes $[0], causing all sort of problems
464   # (the dirname of $[0] is not the place where we might find the
465   # original and so on.  Autoconf is especially sensitive to this).
466   . "./$as_me.lineno"
467   # Exit status is that of the last command.
468   exit
469 }
470
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
473 -n*)
474   case `echo 'xy\c'` in
475   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
476   xy)  ECHO_C='\c';;
477   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
478        ECHO_T=' ';;
479   esac;;
480 *)
481   ECHO_N='-n';;
482 esac
483
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486   rm -f conf$$.dir/conf$$.file
487 else
488   rm -f conf$$.dir
489   mkdir conf$$.dir 2>/dev/null
490 fi
491 if (echo >conf$$.file) 2>/dev/null; then
492   if ln -s conf$$.file conf$$ 2>/dev/null; then
493     as_ln_s='ln -s'
494     # ... but there are two gotchas:
495     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497     # In both cases, we have to default to `cp -p'.
498     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499       as_ln_s='cp -p'
500   elif ln conf$$.file conf$$ 2>/dev/null; then
501     as_ln_s=ln
502   else
503     as_ln_s='cp -p'
504   fi
505 else
506   as_ln_s='cp -p'
507 fi
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
510
511 if mkdir -p . 2>/dev/null; then
512   as_mkdir_p='mkdir -p "$as_dir"'
513 else
514   test -d ./-p && rmdir ./-p
515   as_mkdir_p=false
516 fi
517
518 if test -x / >/dev/null 2>&1; then
519   as_test_x='test -x'
520 else
521   if ls -dL / >/dev/null 2>&1; then
522     as_ls_L_option=L
523   else
524     as_ls_L_option=
525   fi
526   as_test_x='
527     eval sh -c '\''
528       if test -d "$1"; then
529         test -d "$1/.";
530       else
531         case $1 in #(
532         -*)set "./$1";;
533         esac;
534         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535         ???[sx]*):;;*)false;;esac;fi
536     '\'' sh
537   '
538 fi
539 as_executable_p=$as_test_x
540
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
543
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
546
547 SHELL=${CONFIG_SHELL-/bin/sh}
548
549
550 test -n "$DJDIR" || exec 7<&0 </dev/null
551 exec 6>&1
552
553 # Name of the host.
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
557
558 #
559 # Initializations.
560 #
561 ac_default_prefix=/usr/local
562 ac_clean_files=
563 ac_config_libobj_dir=.
564 LIBOBJS=
565 cross_compiling=no
566 subdirs=
567 MFLAGS=
568 MAKEFLAGS=
569
570 # Identity of this package.
571 PACKAGE_NAME='edje'
572 PACKAGE_TARNAME='edje'
573 PACKAGE_VERSION='1.7.7'
574 PACKAGE_STRING='edje 1.7.7'
575 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
576 PACKAGE_URL=''
577
578 ac_unique_file="configure.ac"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
581 #include <stdio.h>
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
584 #endif
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
587 #endif
588 #ifdef STDC_HEADERS
589 # include <stdlib.h>
590 # include <stddef.h>
591 #else
592 # ifdef HAVE_STDLIB_H
593 #  include <stdlib.h>
594 # endif
595 #endif
596 #ifdef HAVE_STRING_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
598 #  include <memory.h>
599 # endif
600 # include <string.h>
601 #endif
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
604 #endif
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
607 #endif
608 #ifdef HAVE_STDINT_H
609 # include <stdint.h>
610 #endif
611 #ifdef HAVE_UNISTD_H
612 # include <unistd.h>
613 #endif"
614
615 ac_subst_vars='am__EXEEXT_FALSE
616 am__EXEEXT_TRUE
617 LTLIBOBJS
618 LIBOBJS
619 requirement_edje
620 BUILD_EXAMPLES_FALSE
621 BUILD_EXAMPLES_TRUE
622 EFL_ENABLE_COVERAGE_FALSE
623 EFL_ENABLE_COVERAGE_TRUE
624 EFL_COVERAGE_LIBS
625 EFL_COVERAGE_CFLAGS
626 have_lcov
627 EFL_ENABLE_TESTS_FALSE
628 EFL_ENABLE_TESTS_TRUE
629 CHECK_LIBS
630 CHECK_CFLAGS
631 ALLOCA
632 lt_enable_auto_import
633 EDJE_WATCH_LIBS
634 EDJE_WATCH_CFLAGS
635 EDJE_EXTERNAL_INSPECTOR_LIBS
636 EDJE_EXTERNAL_INSPECTOR_CFLAGS
637 EDJE_INSPECTOR_LIBS
638 EDJE_INSPECTOR_CFLAGS
639 EDJE_PLAYER_LIBS
640 EDJE_PLAYER_CFLAGS
641 EDJE_DECC_LIBS
642 EDJE_DECC_CFLAGS
643 BUILD_EPP_FALSE
644 BUILD_EPP_TRUE
645 EDJE_CC_LIBS
646 EDJE_CC_CFLAGS
647 want_multisense
648 FLAC_LIBS
649 FLAC_CFLAGS
650 HAVE_LIBALSA_FALSE
651 HAVE_LIBALSA_TRUE
652 ALSA_LIBS
653 ALSA_CFLAGS
654 VORBISENC_LIBS
655 VORBISENC_CFLAGS
656 HAVE_LIBREMIX_FALSE
657 HAVE_LIBREMIX_TRUE
658 REMIX_PLUGIN_DIR
659 REMIX_LIBS
660 REMIX_CFLAGS
661 HAVE_LIBSNDFILE_FALSE
662 HAVE_LIBSNDFILE_TRUE
663 SNDFILE_LIBS
664 SNDFILE_CFLAGS
665 ENABLE_MULTISENSE_FALSE
666 ENABLE_MULTISENSE_TRUE
667 EIO_LIBS
668 EIO_CFLAGS
669 ECORE_IMF_LIBS
670 ECORE_IMF_CFLAGS
671 EDJE_LIBS
672 EDJE_CFLAGS
673 MINIMAL_LIBS
674 MINIMAL_CFLAGS
675 lua_libs
676 LUA_LIBS
677 LUA_CFLAGS
678 EFL_EDJE_BUILD
679 EVIL_LIBS
680 EVIL_CFLAGS
681 pkgconfig_requires_private
682 PKG_CONFIG_LIBDIR
683 PKG_CONFIG_PATH
684 PKG_CONFIG
685 HAVE_PYTHON_FALSE
686 HAVE_PYTHON_TRUE
687 pkgpyexecdir
688 pyexecdir
689 pkgpythondir
690 pythondir
691 PYTHON_PLATFORM
692 PYTHON_EXEC_PREFIX
693 PYTHON_PREFIX
694 PYTHON_VERSION
695 PYTHON
696 EFL_BUILD_DOC_FALSE
697 EFL_BUILD_DOC_TRUE
698 efl_doxygen
699 efl_have_doxygen
700 vimdir
701 BUILD_EDJE_FP_FALSE
702 BUILD_EDJE_FP_TRUE
703 EDJE_CALC_CACHE_FALSE
704 EDJE_CALC_CACHE_TRUE
705 EDJE_PROGRAM_CACHE_FALSE
706 EDJE_PROGRAM_CACHE_TRUE
707 BUILD_EDJE_WATCH_FALSE
708 BUILD_EDJE_WATCH_TRUE
709 EDJE_WATCH_PRG
710 BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE
711 BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE
712 EDJE_EXTERNAL_INSPECTOR_PRG
713 BUILD_EDJE_INSPECTOR_FALSE
714 BUILD_EDJE_INSPECTOR_TRUE
715 EDJE_INSPECTOR_PRG
716 BUILD_EDJE_PLAYER_FALSE
717 BUILD_EDJE_PLAYER_TRUE
718 EDJE_PLAYER_PRG
719 BUILD_EDJE_RECC_FALSE
720 BUILD_EDJE_RECC_TRUE
721 EDJE_RECC_PRG
722 BUILD_EDJE_DECC_FALSE
723 BUILD_EDJE_DECC_TRUE
724 EDJE_DECC_PRG
725 BUILD_EDJE_CC_FALSE
726 BUILD_EDJE_CC_TRUE
727 EDJE_CC_PRG
728 edje_cc
729 EDJE_AMALGAMATION_FALSE
730 EDJE_AMALGAMATION_TRUE
731 MODULE_ARCH
732 VMAJ
733 release_info
734 version_info
735 CPP
736 OTOOL64
737 OTOOL
738 LIPO
739 NMEDIT
740 DSYMUTIL
741 MANIFEST_TOOL
742 RANLIB
743 ac_ct_AR
744 AR
745 LN_S
746 NM
747 ac_ct_DUMPBIN
748 DUMPBIN
749 LD
750 FGREP
751 EGREP
752 GREP
753 SED
754 am__fastdepCC_FALSE
755 am__fastdepCC_TRUE
756 CCDEPMODE
757 am__nodep
758 AMDEPBACKSLASH
759 AMDEP_FALSE
760 AMDEP_TRUE
761 am__quote
762 am__include
763 DEPDIR
764 OBJEXT
765 EXEEXT
766 ac_ct_CC
767 CPPFLAGS
768 LDFLAGS
769 CFLAGS
770 CC
771 LIBTOOL
772 OBJDUMP
773 DLLTOOL
774 AS
775 host_os
776 host_vendor
777 host_cpu
778 host
779 build_os
780 build_vendor
781 build_cpu
782 build
783 AM_BACKSLASH
784 AM_DEFAULT_VERBOSITY
785 AM_DEFAULT_V
786 AM_V
787 am__untar
788 am__tar
789 AMTAR
790 am__leading_dot
791 SET_MAKE
792 AWK
793 mkdir_p
794 MKDIR_P
795 INSTALL_STRIP_PROGRAM
796 STRIP
797 install_sh
798 MAKEINFO
799 AUTOHEADER
800 AUTOMAKE
801 AUTOCONF
802 ACLOCAL
803 VERSION
804 PACKAGE
805 CYGPATH_W
806 am__isrc
807 INSTALL_DATA
808 INSTALL_SCRIPT
809 INSTALL_PROGRAM
810 target_alias
811 host_alias
812 build_alias
813 LIBS
814 ECHO_T
815 ECHO_N
816 ECHO_C
817 DEFS
818 mandir
819 localedir
820 libdir
821 psdir
822 pdfdir
823 dvidir
824 htmldir
825 infodir
826 docdir
827 oldincludedir
828 includedir
829 localstatedir
830 sharedstatedir
831 sysconfdir
832 datadir
833 datarootdir
834 libexecdir
835 sbindir
836 bindir
837 program_transform_name
838 prefix
839 exec_prefix
840 PACKAGE_URL
841 PACKAGE_BUGREPORT
842 PACKAGE_STRING
843 PACKAGE_VERSION
844 PACKAGE_TARNAME
845 PACKAGE_NAME
846 PATH_SEPARATOR
847 SHELL'
848 ac_subst_files=''
849 ac_user_opts='
850 enable_option_checking
851 enable_silent_rules
852 enable_shared
853 enable_static
854 with_pic
855 enable_fast_install
856 enable_dependency_tracking
857 with_gnu_ld
858 with_sysroot
859 enable_libtool_lock
860 enable_amalgamation
861 with_edje_cc
862 enable_edje_cc
863 enable_edje_decc
864 enable_edje_recc
865 enable_edje_player
866 enable_edje_inspector
867 enable_edje_external_inspector
868 enable_edje_watch
869 enable_edje_program_cache
870 enable_edje_calc_cache
871 enable_fixed_point
872 with_vim
873 enable_doc
874 with_doxygen
875 enable_sndfile
876 enable_remix
877 enable_vorbisenc
878 enable_alsa
879 enable_flac
880 enable_tests
881 enable_coverage
882 enable_build_examples
883 '
884       ac_precious_vars='build_alias
885 host_alias
886 target_alias
887 CC
888 CFLAGS
889 LDFLAGS
890 LIBS
891 CPPFLAGS
892 CPP
893 PYTHON
894 PKG_CONFIG
895 PKG_CONFIG_PATH
896 PKG_CONFIG_LIBDIR
897 EVIL_CFLAGS
898 EVIL_LIBS
899 LUA_CFLAGS
900 LUA_LIBS
901 MINIMAL_CFLAGS
902 MINIMAL_LIBS
903 EDJE_CFLAGS
904 EDJE_LIBS
905 ECORE_IMF_CFLAGS
906 ECORE_IMF_LIBS
907 EIO_CFLAGS
908 EIO_LIBS
909 SNDFILE_CFLAGS
910 SNDFILE_LIBS
911 REMIX_CFLAGS
912 REMIX_LIBS
913 VORBISENC_CFLAGS
914 VORBISENC_LIBS
915 ALSA_CFLAGS
916 ALSA_LIBS
917 FLAC_CFLAGS
918 FLAC_LIBS
919 EDJE_CC_CFLAGS
920 EDJE_CC_LIBS
921 EDJE_DECC_CFLAGS
922 EDJE_DECC_LIBS
923 EDJE_PLAYER_CFLAGS
924 EDJE_PLAYER_LIBS
925 EDJE_INSPECTOR_CFLAGS
926 EDJE_INSPECTOR_LIBS
927 EDJE_EXTERNAL_INSPECTOR_CFLAGS
928 EDJE_EXTERNAL_INSPECTOR_LIBS
929 EDJE_WATCH_CFLAGS
930 EDJE_WATCH_LIBS
931 CHECK_CFLAGS
932 CHECK_LIBS'
933
934
935 # Initialize some variables set by options.
936 ac_init_help=
937 ac_init_version=false
938 ac_unrecognized_opts=
939 ac_unrecognized_sep=
940 # The variables have the same names as the options, with
941 # dashes changed to underlines.
942 cache_file=/dev/null
943 exec_prefix=NONE
944 no_create=
945 no_recursion=
946 prefix=NONE
947 program_prefix=NONE
948 program_suffix=NONE
949 program_transform_name=s,x,x,
950 silent=
951 site=
952 srcdir=
953 verbose=
954 x_includes=NONE
955 x_libraries=NONE
956
957 # Installation directory options.
958 # These are left unexpanded so users can "make install exec_prefix=/foo"
959 # and all the variables that are supposed to be based on exec_prefix
960 # by default will actually change.
961 # Use braces instead of parens because sh, perl, etc. also accept them.
962 # (The list follows the same order as the GNU Coding Standards.)
963 bindir='${exec_prefix}/bin'
964 sbindir='${exec_prefix}/sbin'
965 libexecdir='${exec_prefix}/libexec'
966 datarootdir='${prefix}/share'
967 datadir='${datarootdir}'
968 sysconfdir='${prefix}/etc'
969 sharedstatedir='${prefix}/com'
970 localstatedir='${prefix}/var'
971 includedir='${prefix}/include'
972 oldincludedir='/usr/include'
973 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
974 infodir='${datarootdir}/info'
975 htmldir='${docdir}'
976 dvidir='${docdir}'
977 pdfdir='${docdir}'
978 psdir='${docdir}'
979 libdir='${exec_prefix}/lib'
980 localedir='${datarootdir}/locale'
981 mandir='${datarootdir}/man'
982
983 ac_prev=
984 ac_dashdash=
985 for ac_option
986 do
987   # If the previous option needs an argument, assign it.
988   if test -n "$ac_prev"; then
989     eval $ac_prev=\$ac_option
990     ac_prev=
991     continue
992   fi
993
994   case $ac_option in
995   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
996   *=)   ac_optarg= ;;
997   *)    ac_optarg=yes ;;
998   esac
999
1000   # Accept the important Cygnus configure options, so we can diagnose typos.
1001
1002   case $ac_dashdash$ac_option in
1003   --)
1004     ac_dashdash=yes ;;
1005
1006   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1007     ac_prev=bindir ;;
1008   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1009     bindir=$ac_optarg ;;
1010
1011   -build | --build | --buil | --bui | --bu)
1012     ac_prev=build_alias ;;
1013   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1014     build_alias=$ac_optarg ;;
1015
1016   -cache-file | --cache-file | --cache-fil | --cache-fi \
1017   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1018     ac_prev=cache_file ;;
1019   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1020   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1021     cache_file=$ac_optarg ;;
1022
1023   --config-cache | -C)
1024     cache_file=config.cache ;;
1025
1026   -datadir | --datadir | --datadi | --datad)
1027     ac_prev=datadir ;;
1028   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1029     datadir=$ac_optarg ;;
1030
1031   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1032   | --dataroo | --dataro | --datar)
1033     ac_prev=datarootdir ;;
1034   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1035   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1036     datarootdir=$ac_optarg ;;
1037
1038   -disable-* | --disable-*)
1039     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1040     # Reject names that are not valid shell variable names.
1041     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1042       as_fn_error $? "invalid feature name: $ac_useropt"
1043     ac_useropt_orig=$ac_useropt
1044     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1045     case $ac_user_opts in
1046       *"
1047 "enable_$ac_useropt"
1048 "*) ;;
1049       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1050          ac_unrecognized_sep=', ';;
1051     esac
1052     eval enable_$ac_useropt=no ;;
1053
1054   -docdir | --docdir | --docdi | --doc | --do)
1055     ac_prev=docdir ;;
1056   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1057     docdir=$ac_optarg ;;
1058
1059   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1060     ac_prev=dvidir ;;
1061   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1062     dvidir=$ac_optarg ;;
1063
1064   -enable-* | --enable-*)
1065     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1066     # Reject names that are not valid shell variable names.
1067     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1068       as_fn_error $? "invalid feature name: $ac_useropt"
1069     ac_useropt_orig=$ac_useropt
1070     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1071     case $ac_user_opts in
1072       *"
1073 "enable_$ac_useropt"
1074 "*) ;;
1075       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1076          ac_unrecognized_sep=', ';;
1077     esac
1078     eval enable_$ac_useropt=\$ac_optarg ;;
1079
1080   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1081   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1082   | --exec | --exe | --ex)
1083     ac_prev=exec_prefix ;;
1084   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1085   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1086   | --exec=* | --exe=* | --ex=*)
1087     exec_prefix=$ac_optarg ;;
1088
1089   -gas | --gas | --ga | --g)
1090     # Obsolete; use --with-gas.
1091     with_gas=yes ;;
1092
1093   -help | --help | --hel | --he | -h)
1094     ac_init_help=long ;;
1095   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1096     ac_init_help=recursive ;;
1097   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1098     ac_init_help=short ;;
1099
1100   -host | --host | --hos | --ho)
1101     ac_prev=host_alias ;;
1102   -host=* | --host=* | --hos=* | --ho=*)
1103     host_alias=$ac_optarg ;;
1104
1105   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1106     ac_prev=htmldir ;;
1107   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1108   | --ht=*)
1109     htmldir=$ac_optarg ;;
1110
1111   -includedir | --includedir | --includedi | --included | --include \
1112   | --includ | --inclu | --incl | --inc)
1113     ac_prev=includedir ;;
1114   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1115   | --includ=* | --inclu=* | --incl=* | --inc=*)
1116     includedir=$ac_optarg ;;
1117
1118   -infodir | --infodir | --infodi | --infod | --info | --inf)
1119     ac_prev=infodir ;;
1120   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1121     infodir=$ac_optarg ;;
1122
1123   -libdir | --libdir | --libdi | --libd)
1124     ac_prev=libdir ;;
1125   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1126     libdir=$ac_optarg ;;
1127
1128   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1129   | --libexe | --libex | --libe)
1130     ac_prev=libexecdir ;;
1131   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1132   | --libexe=* | --libex=* | --libe=*)
1133     libexecdir=$ac_optarg ;;
1134
1135   -localedir | --localedir | --localedi | --localed | --locale)
1136     ac_prev=localedir ;;
1137   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1138     localedir=$ac_optarg ;;
1139
1140   -localstatedir | --localstatedir | --localstatedi | --localstated \
1141   | --localstate | --localstat | --localsta | --localst | --locals)
1142     ac_prev=localstatedir ;;
1143   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1144   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1145     localstatedir=$ac_optarg ;;
1146
1147   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1148     ac_prev=mandir ;;
1149   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1150     mandir=$ac_optarg ;;
1151
1152   -nfp | --nfp | --nf)
1153     # Obsolete; use --without-fp.
1154     with_fp=no ;;
1155
1156   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1157   | --no-cr | --no-c | -n)
1158     no_create=yes ;;
1159
1160   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1161   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1162     no_recursion=yes ;;
1163
1164   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1165   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1166   | --oldin | --oldi | --old | --ol | --o)
1167     ac_prev=oldincludedir ;;
1168   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1169   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1170   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1171     oldincludedir=$ac_optarg ;;
1172
1173   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1174     ac_prev=prefix ;;
1175   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1176     prefix=$ac_optarg ;;
1177
1178   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1179   | --program-pre | --program-pr | --program-p)
1180     ac_prev=program_prefix ;;
1181   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1182   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1183     program_prefix=$ac_optarg ;;
1184
1185   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1186   | --program-suf | --program-su | --program-s)
1187     ac_prev=program_suffix ;;
1188   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1189   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1190     program_suffix=$ac_optarg ;;
1191
1192   -program-transform-name | --program-transform-name \
1193   | --program-transform-nam | --program-transform-na \
1194   | --program-transform-n | --program-transform- \
1195   | --program-transform | --program-transfor \
1196   | --program-transfo | --program-transf \
1197   | --program-trans | --program-tran \
1198   | --progr-tra | --program-tr | --program-t)
1199     ac_prev=program_transform_name ;;
1200   -program-transform-name=* | --program-transform-name=* \
1201   | --program-transform-nam=* | --program-transform-na=* \
1202   | --program-transform-n=* | --program-transform-=* \
1203   | --program-transform=* | --program-transfor=* \
1204   | --program-transfo=* | --program-transf=* \
1205   | --program-trans=* | --program-tran=* \
1206   | --progr-tra=* | --program-tr=* | --program-t=*)
1207     program_transform_name=$ac_optarg ;;
1208
1209   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1210     ac_prev=pdfdir ;;
1211   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1212     pdfdir=$ac_optarg ;;
1213
1214   -psdir | --psdir | --psdi | --psd | --ps)
1215     ac_prev=psdir ;;
1216   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1217     psdir=$ac_optarg ;;
1218
1219   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1220   | -silent | --silent | --silen | --sile | --sil)
1221     silent=yes ;;
1222
1223   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1224     ac_prev=sbindir ;;
1225   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1226   | --sbi=* | --sb=*)
1227     sbindir=$ac_optarg ;;
1228
1229   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1230   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1231   | --sharedst | --shareds | --shared | --share | --shar \
1232   | --sha | --sh)
1233     ac_prev=sharedstatedir ;;
1234   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1235   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1236   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1237   | --sha=* | --sh=*)
1238     sharedstatedir=$ac_optarg ;;
1239
1240   -site | --site | --sit)
1241     ac_prev=site ;;
1242   -site=* | --site=* | --sit=*)
1243     site=$ac_optarg ;;
1244
1245   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1246     ac_prev=srcdir ;;
1247   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1248     srcdir=$ac_optarg ;;
1249
1250   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1251   | --syscon | --sysco | --sysc | --sys | --sy)
1252     ac_prev=sysconfdir ;;
1253   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1254   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1255     sysconfdir=$ac_optarg ;;
1256
1257   -target | --target | --targe | --targ | --tar | --ta | --t)
1258     ac_prev=target_alias ;;
1259   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1260     target_alias=$ac_optarg ;;
1261
1262   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1263     verbose=yes ;;
1264
1265   -version | --version | --versio | --versi | --vers | -V)
1266     ac_init_version=: ;;
1267
1268   -with-* | --with-*)
1269     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1270     # Reject names that are not valid shell variable names.
1271     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1272       as_fn_error $? "invalid package name: $ac_useropt"
1273     ac_useropt_orig=$ac_useropt
1274     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1275     case $ac_user_opts in
1276       *"
1277 "with_$ac_useropt"
1278 "*) ;;
1279       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1280          ac_unrecognized_sep=', ';;
1281     esac
1282     eval with_$ac_useropt=\$ac_optarg ;;
1283
1284   -without-* | --without-*)
1285     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1286     # Reject names that are not valid shell variable names.
1287     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1288       as_fn_error $? "invalid package name: $ac_useropt"
1289     ac_useropt_orig=$ac_useropt
1290     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1291     case $ac_user_opts in
1292       *"
1293 "with_$ac_useropt"
1294 "*) ;;
1295       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1296          ac_unrecognized_sep=', ';;
1297     esac
1298     eval with_$ac_useropt=no ;;
1299
1300   --x)
1301     # Obsolete; use --with-x.
1302     with_x=yes ;;
1303
1304   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1305   | --x-incl | --x-inc | --x-in | --x-i)
1306     ac_prev=x_includes ;;
1307   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1308   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1309     x_includes=$ac_optarg ;;
1310
1311   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1312   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1313     ac_prev=x_libraries ;;
1314   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1315   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1316     x_libraries=$ac_optarg ;;
1317
1318   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1319 Try \`$0 --help' for more information"
1320     ;;
1321
1322   *=*)
1323     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1324     # Reject names that are not valid shell variable names.
1325     case $ac_envvar in #(
1326       '' | [0-9]* | *[!_$as_cr_alnum]* )
1327       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1328     esac
1329     eval $ac_envvar=\$ac_optarg
1330     export $ac_envvar ;;
1331
1332   *)
1333     # FIXME: should be removed in autoconf 3.0.
1334     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1335     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1336       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1337     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1338     ;;
1339
1340   esac
1341 done
1342
1343 if test -n "$ac_prev"; then
1344   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1345   as_fn_error $? "missing argument to $ac_option"
1346 fi
1347
1348 if test -n "$ac_unrecognized_opts"; then
1349   case $enable_option_checking in
1350     no) ;;
1351     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1352     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1353   esac
1354 fi
1355
1356 # Check all directory arguments for consistency.
1357 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1358                 datadir sysconfdir sharedstatedir localstatedir includedir \
1359                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1360                 libdir localedir mandir
1361 do
1362   eval ac_val=\$$ac_var
1363   # Remove trailing slashes.
1364   case $ac_val in
1365     */ )
1366       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1367       eval $ac_var=\$ac_val;;
1368   esac
1369   # Be sure to have absolute directory names.
1370   case $ac_val in
1371     [\\/$]* | ?:[\\/]* )  continue;;
1372     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1373   esac
1374   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1375 done
1376
1377 # There might be people who depend on the old broken behavior: `$host'
1378 # used to hold the argument of --host etc.
1379 # FIXME: To remove some day.
1380 build=$build_alias
1381 host=$host_alias
1382 target=$target_alias
1383
1384 # FIXME: To remove some day.
1385 if test "x$host_alias" != x; then
1386   if test "x$build_alias" = x; then
1387     cross_compiling=maybe
1388     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1389     If a cross compiler is detected then cross compile mode will be used" >&2
1390   elif test "x$build_alias" != "x$host_alias"; then
1391     cross_compiling=yes
1392   fi
1393 fi
1394
1395 ac_tool_prefix=
1396 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1397
1398 test "$silent" = yes && exec 6>/dev/null
1399
1400
1401 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1402 ac_ls_di=`ls -di .` &&
1403 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1404   as_fn_error $? "working directory cannot be determined"
1405 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1406   as_fn_error $? "pwd does not report name of working directory"
1407
1408
1409 # Find the source files, if location was not specified.
1410 if test -z "$srcdir"; then
1411   ac_srcdir_defaulted=yes
1412   # Try the directory containing this script, then the parent directory.
1413   ac_confdir=`$as_dirname -- "$as_myself" ||
1414 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1415          X"$as_myself" : 'X\(//\)[^/]' \| \
1416          X"$as_myself" : 'X\(//\)$' \| \
1417          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1418 $as_echo X"$as_myself" |
1419     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1420             s//\1/
1421             q
1422           }
1423           /^X\(\/\/\)[^/].*/{
1424             s//\1/
1425             q
1426           }
1427           /^X\(\/\/\)$/{
1428             s//\1/
1429             q
1430           }
1431           /^X\(\/\).*/{
1432             s//\1/
1433             q
1434           }
1435           s/.*/./; q'`
1436   srcdir=$ac_confdir
1437   if test ! -r "$srcdir/$ac_unique_file"; then
1438     srcdir=..
1439   fi
1440 else
1441   ac_srcdir_defaulted=no
1442 fi
1443 if test ! -r "$srcdir/$ac_unique_file"; then
1444   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1445   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1446 fi
1447 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1448 ac_abs_confdir=`(
1449         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1450         pwd)`
1451 # When building in place, set srcdir=.
1452 if test "$ac_abs_confdir" = "$ac_pwd"; then
1453   srcdir=.
1454 fi
1455 # Remove unnecessary trailing slashes from srcdir.
1456 # Double slashes in file names in object file debugging info
1457 # mess up M-x gdb in Emacs.
1458 case $srcdir in
1459 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1460 esac
1461 for ac_var in $ac_precious_vars; do
1462   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1463   eval ac_env_${ac_var}_value=\$${ac_var}
1464   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1465   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1466 done
1467
1468 #
1469 # Report the --help message.
1470 #
1471 if test "$ac_init_help" = "long"; then
1472   # Omit some internal or obsolete options to make the list less imposing.
1473   # This message is too long to be a string in the A/UX 3.1 sh.
1474   cat <<_ACEOF
1475 \`configure' configures edje 1.7.7 to adapt to many kinds of systems.
1476
1477 Usage: $0 [OPTION]... [VAR=VALUE]...
1478
1479 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1480 VAR=VALUE.  See below for descriptions of some of the useful variables.
1481
1482 Defaults for the options are specified in brackets.
1483
1484 Configuration:
1485   -h, --help              display this help and exit
1486       --help=short        display options specific to this package
1487       --help=recursive    display the short help of all the included packages
1488   -V, --version           display version information and exit
1489   -q, --quiet, --silent   do not print \`checking ...' messages
1490       --cache-file=FILE   cache test results in FILE [disabled]
1491   -C, --config-cache      alias for \`--cache-file=config.cache'
1492   -n, --no-create         do not create output files
1493       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1494
1495 Installation directories:
1496   --prefix=PREFIX         install architecture-independent files in PREFIX
1497                           [$ac_default_prefix]
1498   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1499                           [PREFIX]
1500
1501 By default, \`make install' will install all the files in
1502 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1503 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1504 for instance \`--prefix=\$HOME'.
1505
1506 For better control, use the options below.
1507
1508 Fine tuning of the installation directories:
1509   --bindir=DIR            user executables [EPREFIX/bin]
1510   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1511   --libexecdir=DIR        program executables [EPREFIX/libexec]
1512   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1513   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1514   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1515   --libdir=DIR            object code libraries [EPREFIX/lib]
1516   --includedir=DIR        C header files [PREFIX/include]
1517   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1518   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1519   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1520   --infodir=DIR           info documentation [DATAROOTDIR/info]
1521   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1522   --mandir=DIR            man documentation [DATAROOTDIR/man]
1523   --docdir=DIR            documentation root [DATAROOTDIR/doc/edje]
1524   --htmldir=DIR           html documentation [DOCDIR]
1525   --dvidir=DIR            dvi documentation [DOCDIR]
1526   --pdfdir=DIR            pdf documentation [DOCDIR]
1527   --psdir=DIR             ps documentation [DOCDIR]
1528 _ACEOF
1529
1530   cat <<\_ACEOF
1531
1532 Program names:
1533   --program-prefix=PREFIX            prepend PREFIX to installed program names
1534   --program-suffix=SUFFIX            append SUFFIX to installed program names
1535   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1536
1537 System types:
1538   --build=BUILD     configure for building on BUILD [guessed]
1539   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1540 _ACEOF
1541 fi
1542
1543 if test -n "$ac_init_help"; then
1544   case $ac_init_help in
1545      short | recursive ) echo "Configuration of edje 1.7.7:";;
1546    esac
1547   cat <<\_ACEOF
1548
1549 Optional Features:
1550   --disable-option-checking  ignore unrecognized --enable/--with options
1551   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1552   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1553   --enable-silent-rules          less verbose build output (undo: `make V=1')
1554   --disable-silent-rules         verbose build output (undo: `make V=0')
1555   --enable-shared[=PKGS]  build shared libraries [default=yes]
1556   --enable-static[=PKGS]  build static libraries [default=yes]
1557   --enable-fast-install[=PKGS]
1558                           optimize for fast installation [default=yes]
1559   --disable-dependency-tracking  speeds up one-time build
1560   --enable-dependency-tracking   do not reject slow dependency extractors
1561   --disable-libtool-lock  avoid locking (might break parallel builds)
1562   --enable-amalgamation   enable generation of one single file with all source
1563                           code in it, helps compiler optimizations.
1564   --disable-edje-cc       disable building of edje_cc
1565   --disable-edje-decc     disable building of edje_decc
1566   --disable-edje-recc     disable building of edje_recc
1567   --disable-edje-player   disable building of edje_player
1568   --disable-edje-inspector
1569                           disable building of edje_inspector
1570   --disable-edje-external-inspector
1571                           disable building of edje_external_inspector
1572   --disable-edje-watch    disable building of edje_watch
1573   --enable-edje-program-cache
1574                           enable EDJE_PROGRAM_CACHE support.
1575                           [[default=disabled]]
1576   --enable-edje-calc-cache
1577                           enable EDJE_CALC_CACHE support. [[default=disabled]]
1578   --enable-fixed-point    reduce use of FPU by using Fixed Point provided by
1579                           Eina and Eet, [[default=disabled]]
1580   --disable-doc           Disable documentation build [default=enabled]
1581   --disable-sndfile       disable sndfile support. [default=detect]
1582   --disable-remix         disable remix support. [default=detect]
1583   --disable-vorbis        disable ogg-vorbis support. [default=detect]
1584   --disable-alsa          disable alsa support. [default=detect]
1585   --disable-flac          disable flac support. [default=detect]
1586   --enable-tests          enable tests [default=disabled]
1587   --enable-coverage       enable coverage profiling instrumentation
1588                           [default=disabled]
1589   --enable-build-examples Enable building examples. This requires extra
1590                           dependencies. If you don't have them installed yet,
1591                           don't build with this option or it will fail. Build
1592                           again when you have it, overriding the previous
1593                           installation). [default==disabled]
1594
1595 Optional Packages:
1596   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1597   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1598   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1599                           both]
1600   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1601   --with-sysroot=DIR Search for dependent libraries within DIR
1602                         (or the compiler's sysroot if not specified).
1603   --with-edje-cc=PATH     specify a specific path to edje_cc [default=edje_cc]
1604   --with-vim=DIR          Location of Vim data files [[autodetect]]
1605   --with-doxygen=FILE     doxygen program to use [default=doxygen]
1606
1607 Some influential environment variables:
1608   CC          C compiler command
1609   CFLAGS      C compiler flags
1610   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1611               nonstandard directory <lib dir>
1612   LIBS        libraries to pass to the linker, e.g. -l<library>
1613   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1614               you have headers in a nonstandard directory <include dir>
1615   CPP         C preprocessor
1616   PYTHON      the Python interpreter
1617   PKG_CONFIG  path to pkg-config utility
1618   PKG_CONFIG_PATH
1619               directories to add to pkg-config's search path
1620   PKG_CONFIG_LIBDIR
1621               path overriding pkg-config's built-in search path
1622   EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
1623   EVIL_LIBS   linker flags for EVIL, overriding pkg-config
1624   LUA_CFLAGS  C compiler flags for LUA, overriding pkg-config
1625   LUA_LIBS    linker flags for LUA, overriding pkg-config
1626   MINIMAL_CFLAGS
1627               C compiler flags for MINIMAL, overriding pkg-config
1628   MINIMAL_LIBS
1629               linker flags for MINIMAL, overriding pkg-config
1630   EDJE_CFLAGS C compiler flags for EDJE, overriding pkg-config
1631   EDJE_LIBS   linker flags for EDJE, overriding pkg-config
1632   ECORE_IMF_CFLAGS
1633               C compiler flags for ECORE_IMF, overriding pkg-config
1634   ECORE_IMF_LIBS
1635               linker flags for ECORE_IMF, overriding pkg-config
1636   EIO_CFLAGS  C compiler flags for EIO, overriding pkg-config
1637   EIO_LIBS    linker flags for EIO, overriding pkg-config
1638   SNDFILE_CFLAGS
1639               C compiler flags for SNDFILE, overriding pkg-config
1640   SNDFILE_LIBS
1641               linker flags for SNDFILE, overriding pkg-config
1642   REMIX_CFLAGS
1643               C compiler flags for REMIX, overriding pkg-config
1644   REMIX_LIBS  linker flags for REMIX, overriding pkg-config
1645   VORBISENC_CFLAGS
1646               C compiler flags for VORBISENC, overriding pkg-config
1647   VORBISENC_LIBS
1648               linker flags for VORBISENC, overriding pkg-config
1649   ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
1650   ALSA_LIBS   linker flags for ALSA, overriding pkg-config
1651   FLAC_CFLAGS C compiler flags for FLAC, overriding pkg-config
1652   FLAC_LIBS   linker flags for FLAC, overriding pkg-config
1653   EDJE_CC_CFLAGS
1654               C compiler flags for EDJE_CC, overriding pkg-config
1655   EDJE_CC_LIBS
1656               linker flags for EDJE_CC, overriding pkg-config
1657   EDJE_DECC_CFLAGS
1658               C compiler flags for EDJE_DECC, overriding pkg-config
1659   EDJE_DECC_LIBS
1660               linker flags for EDJE_DECC, overriding pkg-config
1661   EDJE_PLAYER_CFLAGS
1662               C compiler flags for EDJE_PLAYER, overriding pkg-config
1663   EDJE_PLAYER_LIBS
1664               linker flags for EDJE_PLAYER, overriding pkg-config
1665   EDJE_INSPECTOR_CFLAGS
1666               C compiler flags for EDJE_INSPECTOR, overriding pkg-config
1667   EDJE_INSPECTOR_LIBS
1668               linker flags for EDJE_INSPECTOR, overriding pkg-config
1669   EDJE_EXTERNAL_INSPECTOR_CFLAGS
1670               C compiler flags for EDJE_EXTERNAL_INSPECTOR, overriding
1671               pkg-config
1672   EDJE_EXTERNAL_INSPECTOR_LIBS
1673               linker flags for EDJE_EXTERNAL_INSPECTOR, overriding pkg-config
1674   EDJE_WATCH_CFLAGS
1675               C compiler flags for EDJE_WATCH, overriding pkg-config
1676   EDJE_WATCH_LIBS
1677               linker flags for EDJE_WATCH, overriding pkg-config
1678   CHECK_CFLAGS
1679               C compiler flags for CHECK, overriding pkg-config
1680   CHECK_LIBS  linker flags for CHECK, overriding pkg-config
1681
1682 Use these variables to override the choices made by `configure' or to help
1683 it to find libraries and programs with nonstandard names/locations.
1684
1685 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1686 _ACEOF
1687 ac_status=$?
1688 fi
1689
1690 if test "$ac_init_help" = "recursive"; then
1691   # If there are subdirs, report their specific --help.
1692   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1693     test -d "$ac_dir" ||
1694       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1695       continue
1696     ac_builddir=.
1697
1698 case "$ac_dir" in
1699 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1700 *)
1701   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1702   # A ".." for each directory in $ac_dir_suffix.
1703   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1704   case $ac_top_builddir_sub in
1705   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1706   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1707   esac ;;
1708 esac
1709 ac_abs_top_builddir=$ac_pwd
1710 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1711 # for backward compatibility:
1712 ac_top_builddir=$ac_top_build_prefix
1713
1714 case $srcdir in
1715   .)  # We are building in place.
1716     ac_srcdir=.
1717     ac_top_srcdir=$ac_top_builddir_sub
1718     ac_abs_top_srcdir=$ac_pwd ;;
1719   [\\/]* | ?:[\\/]* )  # Absolute name.
1720     ac_srcdir=$srcdir$ac_dir_suffix;
1721     ac_top_srcdir=$srcdir
1722     ac_abs_top_srcdir=$srcdir ;;
1723   *) # Relative name.
1724     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1725     ac_top_srcdir=$ac_top_build_prefix$srcdir
1726     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1727 esac
1728 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1729
1730     cd "$ac_dir" || { ac_status=$?; continue; }
1731     # Check for guested configure.
1732     if test -f "$ac_srcdir/configure.gnu"; then
1733       echo &&
1734       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1735     elif test -f "$ac_srcdir/configure"; then
1736       echo &&
1737       $SHELL "$ac_srcdir/configure" --help=recursive
1738     else
1739       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1740     fi || ac_status=$?
1741     cd "$ac_pwd" || { ac_status=$?; break; }
1742   done
1743 fi
1744
1745 test -n "$ac_init_help" && exit $ac_status
1746 if $ac_init_version; then
1747   cat <<\_ACEOF
1748 edje configure 1.7.7
1749 generated by GNU Autoconf 2.68
1750
1751 Copyright (C) 2010 Free Software Foundation, Inc.
1752 This configure script is free software; the Free Software Foundation
1753 gives unlimited permission to copy, distribute and modify it.
1754 _ACEOF
1755   exit
1756 fi
1757
1758 ## ------------------------ ##
1759 ## Autoconf initialization. ##
1760 ## ------------------------ ##
1761
1762 # ac_fn_c_try_compile LINENO
1763 # --------------------------
1764 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1765 ac_fn_c_try_compile ()
1766 {
1767   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768   rm -f conftest.$ac_objext
1769   if { { ac_try="$ac_compile"
1770 case "(($ac_try" in
1771   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1772   *) ac_try_echo=$ac_try;;
1773 esac
1774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776   (eval "$ac_compile") 2>conftest.err
1777   ac_status=$?
1778   if test -s conftest.err; then
1779     grep -v '^ *+' conftest.err >conftest.er1
1780     cat conftest.er1 >&5
1781     mv -f conftest.er1 conftest.err
1782   fi
1783   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784   test $ac_status = 0; } && {
1785          test -z "$ac_c_werror_flag" ||
1786          test ! -s conftest.err
1787        } && test -s conftest.$ac_objext; then :
1788   ac_retval=0
1789 else
1790   $as_echo "$as_me: failed program was:" >&5
1791 sed 's/^/| /' conftest.$ac_ext >&5
1792
1793         ac_retval=1
1794 fi
1795   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796   as_fn_set_status $ac_retval
1797
1798 } # ac_fn_c_try_compile
1799
1800 # ac_fn_c_try_link LINENO
1801 # -----------------------
1802 # Try to link conftest.$ac_ext, and return whether this succeeded.
1803 ac_fn_c_try_link ()
1804 {
1805   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806   rm -f conftest.$ac_objext conftest$ac_exeext
1807   if { { ac_try="$ac_link"
1808 case "(($ac_try" in
1809   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1810   *) ac_try_echo=$ac_try;;
1811 esac
1812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1813 $as_echo "$ac_try_echo"; } >&5
1814   (eval "$ac_link") 2>conftest.err
1815   ac_status=$?
1816   if test -s conftest.err; then
1817     grep -v '^ *+' conftest.err >conftest.er1
1818     cat conftest.er1 >&5
1819     mv -f conftest.er1 conftest.err
1820   fi
1821   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1822   test $ac_status = 0; } && {
1823          test -z "$ac_c_werror_flag" ||
1824          test ! -s conftest.err
1825        } && test -s conftest$ac_exeext && {
1826          test "$cross_compiling" = yes ||
1827          $as_test_x conftest$ac_exeext
1828        }; then :
1829   ac_retval=0
1830 else
1831   $as_echo "$as_me: failed program was:" >&5
1832 sed 's/^/| /' conftest.$ac_ext >&5
1833
1834         ac_retval=1
1835 fi
1836   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1837   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1838   # interfere with the next link command; also delete a directory that is
1839   # left behind by Apple's compiler.  We do this before executing the actions.
1840   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1841   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1842   as_fn_set_status $ac_retval
1843
1844 } # ac_fn_c_try_link
1845
1846 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1847 # -------------------------------------------------------
1848 # Tests whether HEADER exists and can be compiled using the include files in
1849 # INCLUDES, setting the cache variable VAR accordingly.
1850 ac_fn_c_check_header_compile ()
1851 {
1852   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1854 $as_echo_n "checking for $2... " >&6; }
1855 if eval \${$3+:} false; then :
1856   $as_echo_n "(cached) " >&6
1857 else
1858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1859 /* end confdefs.h.  */
1860 $4
1861 #include <$2>
1862 _ACEOF
1863 if ac_fn_c_try_compile "$LINENO"; then :
1864   eval "$3=yes"
1865 else
1866   eval "$3=no"
1867 fi
1868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1869 fi
1870 eval ac_res=\$$3
1871                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1872 $as_echo "$ac_res" >&6; }
1873   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1874
1875 } # ac_fn_c_check_header_compile
1876
1877 # ac_fn_c_try_cpp LINENO
1878 # ----------------------
1879 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1880 ac_fn_c_try_cpp ()
1881 {
1882   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883   if { { ac_try="$ac_cpp conftest.$ac_ext"
1884 case "(($ac_try" in
1885   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1886   *) ac_try_echo=$ac_try;;
1887 esac
1888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1889 $as_echo "$ac_try_echo"; } >&5
1890   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1891   ac_status=$?
1892   if test -s conftest.err; then
1893     grep -v '^ *+' conftest.err >conftest.er1
1894     cat conftest.er1 >&5
1895     mv -f conftest.er1 conftest.err
1896   fi
1897   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1898   test $ac_status = 0; } > conftest.i && {
1899          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1900          test ! -s conftest.err
1901        }; then :
1902   ac_retval=0
1903 else
1904   $as_echo "$as_me: failed program was:" >&5
1905 sed 's/^/| /' conftest.$ac_ext >&5
1906
1907     ac_retval=1
1908 fi
1909   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1910   as_fn_set_status $ac_retval
1911
1912 } # ac_fn_c_try_cpp
1913
1914 # ac_fn_c_try_run LINENO
1915 # ----------------------
1916 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1917 # that executables *can* be run.
1918 ac_fn_c_try_run ()
1919 {
1920   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1921   if { { ac_try="$ac_link"
1922 case "(($ac_try" in
1923   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1924   *) ac_try_echo=$ac_try;;
1925 esac
1926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1927 $as_echo "$ac_try_echo"; } >&5
1928   (eval "$ac_link") 2>&5
1929   ac_status=$?
1930   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1931   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1932   { { case "(($ac_try" in
1933   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1934   *) ac_try_echo=$ac_try;;
1935 esac
1936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1937 $as_echo "$ac_try_echo"; } >&5
1938   (eval "$ac_try") 2>&5
1939   ac_status=$?
1940   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1941   test $ac_status = 0; }; }; then :
1942   ac_retval=0
1943 else
1944   $as_echo "$as_me: program exited with status $ac_status" >&5
1945        $as_echo "$as_me: failed program was:" >&5
1946 sed 's/^/| /' conftest.$ac_ext >&5
1947
1948        ac_retval=$ac_status
1949 fi
1950   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1951   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1952   as_fn_set_status $ac_retval
1953
1954 } # ac_fn_c_try_run
1955
1956 # ac_fn_c_check_func LINENO FUNC VAR
1957 # ----------------------------------
1958 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1959 ac_fn_c_check_func ()
1960 {
1961   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1963 $as_echo_n "checking for $2... " >&6; }
1964 if eval \${$3+:} false; then :
1965   $as_echo_n "(cached) " >&6
1966 else
1967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1968 /* end confdefs.h.  */
1969 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1970    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1971 #define $2 innocuous_$2
1972
1973 /* System header to define __stub macros and hopefully few prototypes,
1974     which can conflict with char $2 (); below.
1975     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1976     <limits.h> exists even on freestanding compilers.  */
1977
1978 #ifdef __STDC__
1979 # include <limits.h>
1980 #else
1981 # include <assert.h>
1982 #endif
1983
1984 #undef $2
1985
1986 /* Override any GCC internal prototype to avoid an error.
1987    Use char because int might match the return type of a GCC
1988    builtin and then its argument prototype would still apply.  */
1989 #ifdef __cplusplus
1990 extern "C"
1991 #endif
1992 char $2 ();
1993 /* The GNU C library defines this for functions which it implements
1994     to always fail with ENOSYS.  Some functions are actually named
1995     something starting with __ and the normal name is an alias.  */
1996 #if defined __stub_$2 || defined __stub___$2
1997 choke me
1998 #endif
1999
2000 int
2001 main ()
2002 {
2003 return $2 ();
2004   ;
2005   return 0;
2006 }
2007 _ACEOF
2008 if ac_fn_c_try_link "$LINENO"; then :
2009   eval "$3=yes"
2010 else
2011   eval "$3=no"
2012 fi
2013 rm -f core conftest.err conftest.$ac_objext \
2014     conftest$ac_exeext conftest.$ac_ext
2015 fi
2016 eval ac_res=\$$3
2017                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2018 $as_echo "$ac_res" >&6; }
2019   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2020
2021 } # ac_fn_c_check_func
2022
2023 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2024 # -------------------------------------------------------
2025 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2026 # the include files in INCLUDES and setting the cache variable VAR
2027 # accordingly.
2028 ac_fn_c_check_header_mongrel ()
2029 {
2030   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2031   if eval \${$3+:} false; then :
2032   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2033 $as_echo_n "checking for $2... " >&6; }
2034 if eval \${$3+:} false; then :
2035   $as_echo_n "(cached) " >&6
2036 fi
2037 eval ac_res=\$$3
2038                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2039 $as_echo "$ac_res" >&6; }
2040 else
2041   # Is the header compilable?
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2043 $as_echo_n "checking $2 usability... " >&6; }
2044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2045 /* end confdefs.h.  */
2046 $4
2047 #include <$2>
2048 _ACEOF
2049 if ac_fn_c_try_compile "$LINENO"; then :
2050   ac_header_compiler=yes
2051 else
2052   ac_header_compiler=no
2053 fi
2054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2056 $as_echo "$ac_header_compiler" >&6; }
2057
2058 # Is the header present?
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2060 $as_echo_n "checking $2 presence... " >&6; }
2061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2062 /* end confdefs.h.  */
2063 #include <$2>
2064 _ACEOF
2065 if ac_fn_c_try_cpp "$LINENO"; then :
2066   ac_header_preproc=yes
2067 else
2068   ac_header_preproc=no
2069 fi
2070 rm -f conftest.err conftest.i conftest.$ac_ext
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2072 $as_echo "$ac_header_preproc" >&6; }
2073
2074 # So?  What about this header?
2075 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2076   yes:no: )
2077     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2078 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2079     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2080 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2081     ;;
2082   no:yes:* )
2083     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2084 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2085     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2086 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2087     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2088 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2089     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2090 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2091     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2092 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2093 ( $as_echo "## -------------------------------------------------------- ##
2094 ## Report this to enlightenment-devel@lists.sourceforge.net ##
2095 ## -------------------------------------------------------- ##"
2096      ) | sed "s/^/$as_me: WARNING:     /" >&2
2097     ;;
2098 esac
2099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2100 $as_echo_n "checking for $2... " >&6; }
2101 if eval \${$3+:} false; then :
2102   $as_echo_n "(cached) " >&6
2103 else
2104   eval "$3=\$ac_header_compiler"
2105 fi
2106 eval ac_res=\$$3
2107                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2108 $as_echo "$ac_res" >&6; }
2109 fi
2110   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2111
2112 } # ac_fn_c_check_header_mongrel
2113
2114 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2115 # -------------------------------------------
2116 # Tests whether TYPE exists after having included INCLUDES, setting cache
2117 # variable VAR accordingly.
2118 ac_fn_c_check_type ()
2119 {
2120   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2122 $as_echo_n "checking for $2... " >&6; }
2123 if eval \${$3+:} false; then :
2124   $as_echo_n "(cached) " >&6
2125 else
2126   eval "$3=no"
2127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2128 /* end confdefs.h.  */
2129 $4
2130 int
2131 main ()
2132 {
2133 if (sizeof ($2))
2134          return 0;
2135   ;
2136   return 0;
2137 }
2138 _ACEOF
2139 if ac_fn_c_try_compile "$LINENO"; then :
2140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2141 /* end confdefs.h.  */
2142 $4
2143 int
2144 main ()
2145 {
2146 if (sizeof (($2)))
2147             return 0;
2148   ;
2149   return 0;
2150 }
2151 _ACEOF
2152 if ac_fn_c_try_compile "$LINENO"; then :
2153
2154 else
2155   eval "$3=yes"
2156 fi
2157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2158 fi
2159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2160 fi
2161 eval ac_res=\$$3
2162                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2163 $as_echo "$ac_res" >&6; }
2164   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2165
2166 } # ac_fn_c_check_type
2167 cat >config.log <<_ACEOF
2168 This file contains any messages produced by compilers while
2169 running configure, to aid debugging if configure makes a mistake.
2170
2171 It was created by edje $as_me 1.7.7, which was
2172 generated by GNU Autoconf 2.68.  Invocation command line was
2173
2174   $ $0 $@
2175
2176 _ACEOF
2177 exec 5>>config.log
2178 {
2179 cat <<_ASUNAME
2180 ## --------- ##
2181 ## Platform. ##
2182 ## --------- ##
2183
2184 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2185 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2186 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2187 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2188 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2189
2190 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2191 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2192
2193 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2194 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2195 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2196 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2197 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2198 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2199 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2200
2201 _ASUNAME
2202
2203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2204 for as_dir in $PATH
2205 do
2206   IFS=$as_save_IFS
2207   test -z "$as_dir" && as_dir=.
2208     $as_echo "PATH: $as_dir"
2209   done
2210 IFS=$as_save_IFS
2211
2212 } >&5
2213
2214 cat >&5 <<_ACEOF
2215
2216
2217 ## ----------- ##
2218 ## Core tests. ##
2219 ## ----------- ##
2220
2221 _ACEOF
2222
2223
2224 # Keep a trace of the command line.
2225 # Strip out --no-create and --no-recursion so they do not pile up.
2226 # Strip out --silent because we don't want to record it for future runs.
2227 # Also quote any args containing shell meta-characters.
2228 # Make two passes to allow for proper duplicate-argument suppression.
2229 ac_configure_args=
2230 ac_configure_args0=
2231 ac_configure_args1=
2232 ac_must_keep_next=false
2233 for ac_pass in 1 2
2234 do
2235   for ac_arg
2236   do
2237     case $ac_arg in
2238     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2239     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2240     | -silent | --silent | --silen | --sile | --sil)
2241       continue ;;
2242     *\'*)
2243       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2244     esac
2245     case $ac_pass in
2246     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2247     2)
2248       as_fn_append ac_configure_args1 " '$ac_arg'"
2249       if test $ac_must_keep_next = true; then
2250         ac_must_keep_next=false # Got value, back to normal.
2251       else
2252         case $ac_arg in
2253           *=* | --config-cache | -C | -disable-* | --disable-* \
2254           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2255           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2256           | -with-* | --with-* | -without-* | --without-* | --x)
2257             case "$ac_configure_args0 " in
2258               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2259             esac
2260             ;;
2261           -* ) ac_must_keep_next=true ;;
2262         esac
2263       fi
2264       as_fn_append ac_configure_args " '$ac_arg'"
2265       ;;
2266     esac
2267   done
2268 done
2269 { ac_configure_args0=; unset ac_configure_args0;}
2270 { ac_configure_args1=; unset ac_configure_args1;}
2271
2272 # When interrupted or exit'd, cleanup temporary files, and complete
2273 # config.log.  We remove comments because anyway the quotes in there
2274 # would cause problems or look ugly.
2275 # WARNING: Use '\'' to represent an apostrophe within the trap.
2276 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2277 trap 'exit_status=$?
2278   # Save into config.log some information that might help in debugging.
2279   {
2280     echo
2281
2282     $as_echo "## ---------------- ##
2283 ## Cache variables. ##
2284 ## ---------------- ##"
2285     echo
2286     # The following way of writing the cache mishandles newlines in values,
2287 (
2288   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2289     eval ac_val=\$$ac_var
2290     case $ac_val in #(
2291     *${as_nl}*)
2292       case $ac_var in #(
2293       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2294 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2295       esac
2296       case $ac_var in #(
2297       _ | IFS | as_nl) ;; #(
2298       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2299       *) { eval $ac_var=; unset $ac_var;} ;;
2300       esac ;;
2301     esac
2302   done
2303   (set) 2>&1 |
2304     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2305     *${as_nl}ac_space=\ *)
2306       sed -n \
2307         "s/'\''/'\''\\\\'\'''\''/g;
2308           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2309       ;; #(
2310     *)
2311       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2312       ;;
2313     esac |
2314     sort
2315 )
2316     echo
2317
2318     $as_echo "## ----------------- ##
2319 ## Output variables. ##
2320 ## ----------------- ##"
2321     echo
2322     for ac_var in $ac_subst_vars
2323     do
2324       eval ac_val=\$$ac_var
2325       case $ac_val in
2326       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2327       esac
2328       $as_echo "$ac_var='\''$ac_val'\''"
2329     done | sort
2330     echo
2331
2332     if test -n "$ac_subst_files"; then
2333       $as_echo "## ------------------- ##
2334 ## File substitutions. ##
2335 ## ------------------- ##"
2336       echo
2337       for ac_var in $ac_subst_files
2338       do
2339         eval ac_val=\$$ac_var
2340         case $ac_val in
2341         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2342         esac
2343         $as_echo "$ac_var='\''$ac_val'\''"
2344       done | sort
2345       echo
2346     fi
2347
2348     if test -s confdefs.h; then
2349       $as_echo "## ----------- ##
2350 ## confdefs.h. ##
2351 ## ----------- ##"
2352       echo
2353       cat confdefs.h
2354       echo
2355     fi
2356     test "$ac_signal" != 0 &&
2357       $as_echo "$as_me: caught signal $ac_signal"
2358     $as_echo "$as_me: exit $exit_status"
2359   } >&5
2360   rm -f core *.core core.conftest.* &&
2361     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2362     exit $exit_status
2363 ' 0
2364 for ac_signal in 1 2 13 15; do
2365   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2366 done
2367 ac_signal=0
2368
2369 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2370 rm -f -r conftest* confdefs.h
2371
2372 $as_echo "/* confdefs.h */" > confdefs.h
2373
2374 # Predefined preprocessor variables.
2375
2376 cat >>confdefs.h <<_ACEOF
2377 #define PACKAGE_NAME "$PACKAGE_NAME"
2378 _ACEOF
2379
2380 cat >>confdefs.h <<_ACEOF
2381 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2382 _ACEOF
2383
2384 cat >>confdefs.h <<_ACEOF
2385 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2386 _ACEOF
2387
2388 cat >>confdefs.h <<_ACEOF
2389 #define PACKAGE_STRING "$PACKAGE_STRING"
2390 _ACEOF
2391
2392 cat >>confdefs.h <<_ACEOF
2393 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2394 _ACEOF
2395
2396 cat >>confdefs.h <<_ACEOF
2397 #define PACKAGE_URL "$PACKAGE_URL"
2398 _ACEOF
2399
2400
2401 # Let the site file select an alternate cache file if it wants to.
2402 # Prefer an explicitly selected file to automatically selected ones.
2403 ac_site_file1=NONE
2404 ac_site_file2=NONE
2405 if test -n "$CONFIG_SITE"; then
2406   # We do not want a PATH search for config.site.
2407   case $CONFIG_SITE in #((
2408     -*)  ac_site_file1=./$CONFIG_SITE;;
2409     */*) ac_site_file1=$CONFIG_SITE;;
2410     *)   ac_site_file1=./$CONFIG_SITE;;
2411   esac
2412 elif test "x$prefix" != xNONE; then
2413   ac_site_file1=$prefix/share/config.site
2414   ac_site_file2=$prefix/etc/config.site
2415 else
2416   ac_site_file1=$ac_default_prefix/share/config.site
2417   ac_site_file2=$ac_default_prefix/etc/config.site
2418 fi
2419 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2420 do
2421   test "x$ac_site_file" = xNONE && continue
2422   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2423     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2424 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2425     sed 's/^/| /' "$ac_site_file" >&5
2426     . "$ac_site_file" \
2427       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2429 as_fn_error $? "failed to load site script $ac_site_file
2430 See \`config.log' for more details" "$LINENO" 5; }
2431   fi
2432 done
2433
2434 if test -r "$cache_file"; then
2435   # Some versions of bash will fail to source /dev/null (special files
2436   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2437   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2438     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2439 $as_echo "$as_me: loading cache $cache_file" >&6;}
2440     case $cache_file in
2441       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2442       *)                      . "./$cache_file";;
2443     esac
2444   fi
2445 else
2446   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2447 $as_echo "$as_me: creating cache $cache_file" >&6;}
2448   >$cache_file
2449 fi
2450
2451 # Check that the precious variables saved in the cache have kept the same
2452 # value.
2453 ac_cache_corrupted=false
2454 for ac_var in $ac_precious_vars; do
2455   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2456   eval ac_new_set=\$ac_env_${ac_var}_set
2457   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2458   eval ac_new_val=\$ac_env_${ac_var}_value
2459   case $ac_old_set,$ac_new_set in
2460     set,)
2461       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2462 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2463       ac_cache_corrupted=: ;;
2464     ,set)
2465       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2466 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2467       ac_cache_corrupted=: ;;
2468     ,);;
2469     *)
2470       if test "x$ac_old_val" != "x$ac_new_val"; then
2471         # differences in whitespace do not lead to failure.
2472         ac_old_val_w=`echo x $ac_old_val`
2473         ac_new_val_w=`echo x $ac_new_val`
2474         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2475           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2476 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2477           ac_cache_corrupted=:
2478         else
2479           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2480 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2481           eval $ac_var=\$ac_old_val
2482         fi
2483         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2484 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2485         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2486 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2487       fi;;
2488   esac
2489   # Pass precious variables to config.status.
2490   if test "$ac_new_set" = set; then
2491     case $ac_new_val in
2492     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2493     *) ac_arg=$ac_var=$ac_new_val ;;
2494     esac
2495     case " $ac_configure_args " in
2496       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2497       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2498     esac
2499   fi
2500 done
2501 if $ac_cache_corrupted; then
2502   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2504   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2505 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2506   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2507 fi
2508 ## -------------------- ##
2509 ## Main body of script. ##
2510 ## -------------------- ##
2511
2512 ac_ext=c
2513 ac_cpp='$CPP $CPPFLAGS'
2514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2517
2518
2519
2520
2521
2522
2523 ac_config_headers="$ac_config_headers config.h"
2524
2525
2526
2527
2528 am__api_version='1.11'
2529
2530 ac_aux_dir=
2531 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2532   if test -f "$ac_dir/install-sh"; then
2533     ac_aux_dir=$ac_dir
2534     ac_install_sh="$ac_aux_dir/install-sh -c"
2535     break
2536   elif test -f "$ac_dir/install.sh"; then
2537     ac_aux_dir=$ac_dir
2538     ac_install_sh="$ac_aux_dir/install.sh -c"
2539     break
2540   elif test -f "$ac_dir/shtool"; then
2541     ac_aux_dir=$ac_dir
2542     ac_install_sh="$ac_aux_dir/shtool install -c"
2543     break
2544   fi
2545 done
2546 if test -z "$ac_aux_dir"; then
2547   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2548 fi
2549
2550 # These three variables are undocumented and unsupported,
2551 # and are intended to be withdrawn in a future Autoconf release.
2552 # They can cause serious problems if a builder's source tree is in a directory
2553 # whose full name contains unusual characters.
2554 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2555 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2556 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2557
2558
2559 # Find a good install program.  We prefer a C program (faster),
2560 # so one script is as good as another.  But avoid the broken or
2561 # incompatible versions:
2562 # SysV /etc/install, /usr/sbin/install
2563 # SunOS /usr/etc/install
2564 # IRIX /sbin/install
2565 # AIX /bin/install
2566 # AmigaOS /C/install, which installs bootblocks on floppy discs
2567 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2568 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2569 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2570 # OS/2's system install, which has a completely different semantic
2571 # ./install, which can be erroneously created by make from ./install.sh.
2572 # Reject install programs that cannot install multiple files.
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2574 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2575 if test -z "$INSTALL"; then
2576 if ${ac_cv_path_install+:} false; then :
2577   $as_echo_n "(cached) " >&6
2578 else
2579   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2580 for as_dir in $PATH
2581 do
2582   IFS=$as_save_IFS
2583   test -z "$as_dir" && as_dir=.
2584     # Account for people who put trailing slashes in PATH elements.
2585 case $as_dir/ in #((
2586   ./ | .// | /[cC]/* | \
2587   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2588   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2589   /usr/ucb/* ) ;;
2590   *)
2591     # OSF1 and SCO ODT 3.0 have their own names for install.
2592     # Don't use installbsd from OSF since it installs stuff as root
2593     # by default.
2594     for ac_prog in ginstall scoinst install; do
2595       for ac_exec_ext in '' $ac_executable_extensions; do
2596         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2597           if test $ac_prog = install &&
2598             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2599             # AIX install.  It has an incompatible calling convention.
2600             :
2601           elif test $ac_prog = install &&
2602             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2603             # program-specific install script used by HP pwplus--don't use.
2604             :
2605           else
2606             rm -rf conftest.one conftest.two conftest.dir
2607             echo one > conftest.one
2608             echo two > conftest.two
2609             mkdir conftest.dir
2610             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2611               test -s conftest.one && test -s conftest.two &&
2612               test -s conftest.dir/conftest.one &&
2613               test -s conftest.dir/conftest.two
2614             then
2615               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2616               break 3
2617             fi
2618           fi
2619         fi
2620       done
2621     done
2622     ;;
2623 esac
2624
2625   done
2626 IFS=$as_save_IFS
2627
2628 rm -rf conftest.one conftest.two conftest.dir
2629
2630 fi
2631   if test "${ac_cv_path_install+set}" = set; then
2632     INSTALL=$ac_cv_path_install
2633   else
2634     # As a last resort, use the slow shell script.  Don't cache a
2635     # value for INSTALL within a source directory, because that will
2636     # break other packages using the cache if that directory is
2637     # removed, or if the value is a relative name.
2638     INSTALL=$ac_install_sh
2639   fi
2640 fi
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2642 $as_echo "$INSTALL" >&6; }
2643
2644 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2645 # It thinks the first close brace ends the variable substitution.
2646 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2647
2648 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2649
2650 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2651
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2653 $as_echo_n "checking whether build environment is sane... " >&6; }
2654 # Just in case
2655 sleep 1
2656 echo timestamp > conftest.file
2657 # Reject unsafe characters in $srcdir or the absolute working directory
2658 # name.  Accept space and tab only in the latter.
2659 am_lf='
2660 '
2661 case `pwd` in
2662   *[\\\"\#\$\&\'\`$am_lf]*)
2663     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2664 esac
2665 case $srcdir in
2666   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2667     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2668 esac
2669
2670 # Do `set' in a subshell so we don't clobber the current shell's
2671 # arguments.  Must try -L first in case configure is actually a
2672 # symlink; some systems play weird games with the mod time of symlinks
2673 # (eg FreeBSD returns the mod time of the symlink's containing
2674 # directory).
2675 if (
2676    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2677    if test "$*" = "X"; then
2678       # -L didn't work.
2679       set X `ls -t "$srcdir/configure" conftest.file`
2680    fi
2681    rm -f conftest.file
2682    if test "$*" != "X $srcdir/configure conftest.file" \
2683       && test "$*" != "X conftest.file $srcdir/configure"; then
2684
2685       # If neither matched, then we have a broken ls.  This can happen
2686       # if, for instance, CONFIG_SHELL is bash and it inherits a
2687       # broken ls alias from the environment.  This has actually
2688       # happened.  Such a system could not be considered "sane".
2689       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2690 alias in your environment" "$LINENO" 5
2691    fi
2692
2693    test "$2" = conftest.file
2694    )
2695 then
2696    # Ok.
2697    :
2698 else
2699    as_fn_error $? "newly created file is older than distributed files!
2700 Check your system clock" "$LINENO" 5
2701 fi
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2703 $as_echo "yes" >&6; }
2704 test "$program_prefix" != NONE &&
2705   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2706 # Use a double $ so make ignores it.
2707 test "$program_suffix" != NONE &&
2708   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2709 # Double any \ or $.
2710 # By default was `s,x,x', remove it if useless.
2711 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2712 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2713
2714 # expand $ac_aux_dir to an absolute path
2715 am_aux_dir=`cd $ac_aux_dir && pwd`
2716
2717 if test x"${MISSING+set}" != xset; then
2718   case $am_aux_dir in
2719   *\ * | *\     *)
2720     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2721   *)
2722     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2723   esac
2724 fi
2725 # Use eval to expand $SHELL
2726 if eval "$MISSING --run true"; then
2727   am_missing_run="$MISSING --run "
2728 else
2729   am_missing_run=
2730   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2731 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2732 fi
2733
2734 if test x"${install_sh}" != xset; then
2735   case $am_aux_dir in
2736   *\ * | *\     *)
2737     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2738   *)
2739     install_sh="\${SHELL} $am_aux_dir/install-sh"
2740   esac
2741 fi
2742
2743 # Installed binaries are usually stripped using `strip' when the user
2744 # run `make install-strip'.  However `strip' might not be the right
2745 # tool to use in cross-compilation environments, therefore Automake
2746 # will honor the `STRIP' environment variable to overrule this program.
2747 if test "$cross_compiling" != no; then
2748   if test -n "$ac_tool_prefix"; then
2749   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2750 set dummy ${ac_tool_prefix}strip; ac_word=$2
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2752 $as_echo_n "checking for $ac_word... " >&6; }
2753 if ${ac_cv_prog_STRIP+:} false; then :
2754   $as_echo_n "(cached) " >&6
2755 else
2756   if test -n "$STRIP"; then
2757   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2758 else
2759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2760 for as_dir in $PATH
2761 do
2762   IFS=$as_save_IFS
2763   test -z "$as_dir" && as_dir=.
2764     for ac_exec_ext in '' $ac_executable_extensions; do
2765   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2766     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2767     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2768     break 2
2769   fi
2770 done
2771   done
2772 IFS=$as_save_IFS
2773
2774 fi
2775 fi
2776 STRIP=$ac_cv_prog_STRIP
2777 if test -n "$STRIP"; then
2778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2779 $as_echo "$STRIP" >&6; }
2780 else
2781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2782 $as_echo "no" >&6; }
2783 fi
2784
2785
2786 fi
2787 if test -z "$ac_cv_prog_STRIP"; then
2788   ac_ct_STRIP=$STRIP
2789   # Extract the first word of "strip", so it can be a program name with args.
2790 set dummy strip; ac_word=$2
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2792 $as_echo_n "checking for $ac_word... " >&6; }
2793 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2794   $as_echo_n "(cached) " >&6
2795 else
2796   if test -n "$ac_ct_STRIP"; then
2797   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2798 else
2799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2800 for as_dir in $PATH
2801 do
2802   IFS=$as_save_IFS
2803   test -z "$as_dir" && as_dir=.
2804     for ac_exec_ext in '' $ac_executable_extensions; do
2805   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2806     ac_cv_prog_ac_ct_STRIP="strip"
2807     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2808     break 2
2809   fi
2810 done
2811   done
2812 IFS=$as_save_IFS
2813
2814 fi
2815 fi
2816 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2817 if test -n "$ac_ct_STRIP"; then
2818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2819 $as_echo "$ac_ct_STRIP" >&6; }
2820 else
2821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2822 $as_echo "no" >&6; }
2823 fi
2824
2825   if test "x$ac_ct_STRIP" = x; then
2826     STRIP=":"
2827   else
2828     case $cross_compiling:$ac_tool_warned in
2829 yes:)
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2831 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2832 ac_tool_warned=yes ;;
2833 esac
2834     STRIP=$ac_ct_STRIP
2835   fi
2836 else
2837   STRIP="$ac_cv_prog_STRIP"
2838 fi
2839
2840 fi
2841 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2842
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2844 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2845 if test -z "$MKDIR_P"; then
2846   if ${ac_cv_path_mkdir+:} false; then :
2847   $as_echo_n "(cached) " >&6
2848 else
2849   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2850 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2851 do
2852   IFS=$as_save_IFS
2853   test -z "$as_dir" && as_dir=.
2854     for ac_prog in mkdir gmkdir; do
2855          for ac_exec_ext in '' $ac_executable_extensions; do
2856            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2857            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2858              'mkdir (GNU coreutils) '* | \
2859              'mkdir (coreutils) '* | \
2860              'mkdir (fileutils) '4.1*)
2861                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2862                break 3;;
2863            esac
2864          done
2865        done
2866   done
2867 IFS=$as_save_IFS
2868
2869 fi
2870
2871   test -d ./--version && rmdir ./--version
2872   if test "${ac_cv_path_mkdir+set}" = set; then
2873     MKDIR_P="$ac_cv_path_mkdir -p"
2874   else
2875     # As a last resort, use the slow shell script.  Don't cache a
2876     # value for MKDIR_P within a source directory, because that will
2877     # break other packages using the cache if that directory is
2878     # removed, or if the value is a relative name.
2879     MKDIR_P="$ac_install_sh -d"
2880   fi
2881 fi
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2883 $as_echo "$MKDIR_P" >&6; }
2884
2885 mkdir_p="$MKDIR_P"
2886 case $mkdir_p in
2887   [\\/$]* | ?:[\\/]*) ;;
2888   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2889 esac
2890
2891 for ac_prog in gawk mawk nawk awk
2892 do
2893   # Extract the first word of "$ac_prog", so it can be a program name with args.
2894 set dummy $ac_prog; ac_word=$2
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2896 $as_echo_n "checking for $ac_word... " >&6; }
2897 if ${ac_cv_prog_AWK+:} false; then :
2898   $as_echo_n "(cached) " >&6
2899 else
2900   if test -n "$AWK"; then
2901   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2902 else
2903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2904 for as_dir in $PATH
2905 do
2906   IFS=$as_save_IFS
2907   test -z "$as_dir" && as_dir=.
2908     for ac_exec_ext in '' $ac_executable_extensions; do
2909   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2910     ac_cv_prog_AWK="$ac_prog"
2911     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2912     break 2
2913   fi
2914 done
2915   done
2916 IFS=$as_save_IFS
2917
2918 fi
2919 fi
2920 AWK=$ac_cv_prog_AWK
2921 if test -n "$AWK"; then
2922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2923 $as_echo "$AWK" >&6; }
2924 else
2925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2926 $as_echo "no" >&6; }
2927 fi
2928
2929
2930   test -n "$AWK" && break
2931 done
2932
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2934 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2935 set x ${MAKE-make}
2936 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2937 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2938   $as_echo_n "(cached) " >&6
2939 else
2940   cat >conftest.make <<\_ACEOF
2941 SHELL = /bin/sh
2942 all:
2943         @echo '@@@%%%=$(MAKE)=@@@%%%'
2944 _ACEOF
2945 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2946 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2947   *@@@%%%=?*=@@@%%%*)
2948     eval ac_cv_prog_make_${ac_make}_set=yes;;
2949   *)
2950     eval ac_cv_prog_make_${ac_make}_set=no;;
2951 esac
2952 rm -f conftest.make
2953 fi
2954 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2956 $as_echo "yes" >&6; }
2957   SET_MAKE=
2958 else
2959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2960 $as_echo "no" >&6; }
2961   SET_MAKE="MAKE=${MAKE-make}"
2962 fi
2963
2964 rm -rf .tst 2>/dev/null
2965 mkdir .tst 2>/dev/null
2966 if test -d .tst; then
2967   am__leading_dot=.
2968 else
2969   am__leading_dot=_
2970 fi
2971 rmdir .tst 2>/dev/null
2972
2973 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2974   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2975   # is not polluted with repeated "-I."
2976   am__isrc=' -I$(srcdir)'
2977   # test to see if srcdir already configured
2978   if test -f $srcdir/config.status; then
2979     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2980   fi
2981 fi
2982
2983 # test whether we have cygpath
2984 if test -z "$CYGPATH_W"; then
2985   if (cygpath --version) >/dev/null 2>/dev/null; then
2986     CYGPATH_W='cygpath -w'
2987   else
2988     CYGPATH_W=echo
2989   fi
2990 fi
2991
2992
2993 # Define the identity of the package.
2994  PACKAGE='edje'
2995  VERSION='1.7.7'
2996
2997
2998 cat >>confdefs.h <<_ACEOF
2999 #define PACKAGE "$PACKAGE"
3000 _ACEOF
3001
3002
3003 cat >>confdefs.h <<_ACEOF
3004 #define VERSION "$VERSION"
3005 _ACEOF
3006
3007 # Some tools Automake needs.
3008
3009 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3010
3011
3012 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3013
3014
3015 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3016
3017
3018 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3019
3020
3021 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3022
3023 # We need awk for the "check" target.  The system "awk" is bad on
3024 # some platforms.
3025 # Always define AMTAR for backward compatibility.  Yes, it's still used
3026 # in the wild :-(  We should find a proper way to deprecate it ...
3027 AMTAR='$${TAR-tar}'
3028
3029 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3030
3031
3032
3033
3034
3035 # Check whether --enable-silent-rules was given.
3036 if test "${enable_silent_rules+set}" = set; then :
3037   enableval=$enable_silent_rules;
3038 fi
3039
3040 case $enable_silent_rules in
3041 yes) AM_DEFAULT_VERBOSITY=0;;
3042 no)  AM_DEFAULT_VERBOSITY=1;;
3043 *)   AM_DEFAULT_VERBOSITY=0;;
3044 esac
3045 am_make=${MAKE-make}
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3047 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3048 if ${am_cv_make_support_nested_variables+:} false; then :
3049   $as_echo_n "(cached) " >&6
3050 else
3051   if $as_echo 'TRUE=$(BAR$(V))
3052 BAR0=false
3053 BAR1=true
3054 V=1
3055 am__doit:
3056         @$(TRUE)
3057 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3058   am_cv_make_support_nested_variables=yes
3059 else
3060   am_cv_make_support_nested_variables=no
3061 fi
3062 fi
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3064 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3065 if test $am_cv_make_support_nested_variables = yes; then
3066     AM_V='$(V)'
3067   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3068 else
3069   AM_V=$AM_DEFAULT_VERBOSITY
3070   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3071 fi
3072 AM_BACKSLASH='\'
3073
3074
3075 # Make sure we can run config.sub.
3076 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3077   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3078
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3080 $as_echo_n "checking build system type... " >&6; }
3081 if ${ac_cv_build+:} false; then :
3082   $as_echo_n "(cached) " >&6
3083 else
3084   ac_build_alias=$build_alias
3085 test "x$ac_build_alias" = x &&
3086   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3087 test "x$ac_build_alias" = x &&
3088   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3089 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3090   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3091
3092 fi
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3094 $as_echo "$ac_cv_build" >&6; }
3095 case $ac_cv_build in
3096 *-*-*) ;;
3097 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3098 esac
3099 build=$ac_cv_build
3100 ac_save_IFS=$IFS; IFS='-'
3101 set x $ac_cv_build
3102 shift
3103 build_cpu=$1
3104 build_vendor=$2
3105 shift; shift
3106 # Remember, the first character of IFS is used to create $*,
3107 # except with old shells:
3108 build_os=$*
3109 IFS=$ac_save_IFS
3110 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3111
3112
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3114 $as_echo_n "checking host system type... " >&6; }
3115 if ${ac_cv_host+:} false; then :
3116   $as_echo_n "(cached) " >&6
3117 else
3118   if test "x$host_alias" = x; then
3119   ac_cv_host=$ac_cv_build
3120 else
3121   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3122     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3123 fi
3124
3125 fi
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3127 $as_echo "$ac_cv_host" >&6; }
3128 case $ac_cv_host in
3129 *-*-*) ;;
3130 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3131 esac
3132 host=$ac_cv_host
3133 ac_save_IFS=$IFS; IFS='-'
3134 set x $ac_cv_host
3135 shift
3136 host_cpu=$1
3137 host_vendor=$2
3138 shift; shift
3139 # Remember, the first character of IFS is used to create $*,
3140 # except with old shells:
3141 host_os=$*
3142 IFS=$ac_save_IFS
3143 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3144
3145
3146 enable_win32_dll=yes
3147
3148 case $host in
3149 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
3150   if test -n "$ac_tool_prefix"; then
3151   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3152 set dummy ${ac_tool_prefix}as; ac_word=$2
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3154 $as_echo_n "checking for $ac_word... " >&6; }
3155 if ${ac_cv_prog_AS+:} false; then :
3156   $as_echo_n "(cached) " >&6
3157 else
3158   if test -n "$AS"; then
3159   ac_cv_prog_AS="$AS" # Let the user override the test.
3160 else
3161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3162 for as_dir in $PATH
3163 do
3164   IFS=$as_save_IFS
3165   test -z "$as_dir" && as_dir=.
3166     for ac_exec_ext in '' $ac_executable_extensions; do
3167   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3168     ac_cv_prog_AS="${ac_tool_prefix}as"
3169     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3170     break 2
3171   fi
3172 done
3173   done
3174 IFS=$as_save_IFS
3175
3176 fi
3177 fi
3178 AS=$ac_cv_prog_AS
3179 if test -n "$AS"; then
3180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3181 $as_echo "$AS" >&6; }
3182 else
3183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3184 $as_echo "no" >&6; }
3185 fi
3186
3187
3188 fi
3189 if test -z "$ac_cv_prog_AS"; then
3190   ac_ct_AS=$AS
3191   # Extract the first word of "as", so it can be a program name with args.
3192 set dummy as; ac_word=$2
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3194 $as_echo_n "checking for $ac_word... " >&6; }
3195 if ${ac_cv_prog_ac_ct_AS+:} false; then :
3196   $as_echo_n "(cached) " >&6
3197 else
3198   if test -n "$ac_ct_AS"; then
3199   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3200 else
3201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3202 for as_dir in $PATH
3203 do
3204   IFS=$as_save_IFS
3205   test -z "$as_dir" && as_dir=.
3206     for ac_exec_ext in '' $ac_executable_extensions; do
3207   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3208     ac_cv_prog_ac_ct_AS="as"
3209     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3210     break 2
3211   fi
3212 done
3213   done
3214 IFS=$as_save_IFS
3215
3216 fi
3217 fi
3218 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3219 if test -n "$ac_ct_AS"; then
3220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3221 $as_echo "$ac_ct_AS" >&6; }
3222 else
3223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3224 $as_echo "no" >&6; }
3225 fi
3226
3227   if test "x$ac_ct_AS" = x; then
3228     AS="false"
3229   else
3230     case $cross_compiling:$ac_tool_warned in
3231 yes:)
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3233 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3234 ac_tool_warned=yes ;;
3235 esac
3236     AS=$ac_ct_AS
3237   fi
3238 else
3239   AS="$ac_cv_prog_AS"
3240 fi
3241
3242   if test -n "$ac_tool_prefix"; then
3243   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3244 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3246 $as_echo_n "checking for $ac_word... " >&6; }
3247 if ${ac_cv_prog_DLLTOOL+:} false; then :
3248   $as_echo_n "(cached) " >&6
3249 else
3250   if test -n "$DLLTOOL"; then
3251   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3252 else
3253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3254 for as_dir in $PATH
3255 do
3256   IFS=$as_save_IFS
3257   test -z "$as_dir" && as_dir=.
3258     for ac_exec_ext in '' $ac_executable_extensions; do
3259   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3260     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3261     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3262     break 2
3263   fi
3264 done
3265   done
3266 IFS=$as_save_IFS
3267
3268 fi
3269 fi
3270 DLLTOOL=$ac_cv_prog_DLLTOOL
3271 if test -n "$DLLTOOL"; then
3272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3273 $as_echo "$DLLTOOL" >&6; }
3274 else
3275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3276 $as_echo "no" >&6; }
3277 fi
3278
3279
3280 fi
3281 if test -z "$ac_cv_prog_DLLTOOL"; then
3282   ac_ct_DLLTOOL=$DLLTOOL
3283   # Extract the first word of "dlltool", so it can be a program name with args.
3284 set dummy dlltool; ac_word=$2
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3286 $as_echo_n "checking for $ac_word... " >&6; }
3287 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
3288   $as_echo_n "(cached) " >&6
3289 else
3290   if test -n "$ac_ct_DLLTOOL"; then
3291   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3292 else
3293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3294 for as_dir in $PATH
3295 do
3296   IFS=$as_save_IFS
3297   test -z "$as_dir" && as_dir=.
3298     for ac_exec_ext in '' $ac_executable_extensions; do
3299   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3300     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3301     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3302     break 2
3303   fi
3304 done
3305   done
3306 IFS=$as_save_IFS
3307
3308 fi
3309 fi
3310 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3311 if test -n "$ac_ct_DLLTOOL"; then
3312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3313 $as_echo "$ac_ct_DLLTOOL" >&6; }
3314 else
3315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3316 $as_echo "no" >&6; }
3317 fi
3318
3319   if test "x$ac_ct_DLLTOOL" = x; then
3320     DLLTOOL="false"
3321   else
3322     case $cross_compiling:$ac_tool_warned in
3323 yes:)
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3325 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3326 ac_tool_warned=yes ;;
3327 esac
3328     DLLTOOL=$ac_ct_DLLTOOL
3329   fi
3330 else
3331   DLLTOOL="$ac_cv_prog_DLLTOOL"
3332 fi
3333
3334   if test -n "$ac_tool_prefix"; then
3335   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3336 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3338 $as_echo_n "checking for $ac_word... " >&6; }
3339 if ${ac_cv_prog_OBJDUMP+:} false; then :
3340   $as_echo_n "(cached) " >&6
3341 else
3342   if test -n "$OBJDUMP"; then
3343   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3344 else
3345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3346 for as_dir in $PATH
3347 do
3348   IFS=$as_save_IFS
3349   test -z "$as_dir" && as_dir=.
3350     for ac_exec_ext in '' $ac_executable_extensions; do
3351   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3352     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3353     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3354     break 2
3355   fi
3356 done
3357   done
3358 IFS=$as_save_IFS
3359
3360 fi
3361 fi
3362 OBJDUMP=$ac_cv_prog_OBJDUMP
3363 if test -n "$OBJDUMP"; then
3364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3365 $as_echo "$OBJDUMP" >&6; }
3366 else
3367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3368 $as_echo "no" >&6; }
3369 fi
3370
3371
3372 fi
3373 if test -z "$ac_cv_prog_OBJDUMP"; then
3374   ac_ct_OBJDUMP=$OBJDUMP
3375   # Extract the first word of "objdump", so it can be a program name with args.
3376 set dummy objdump; ac_word=$2
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3378 $as_echo_n "checking for $ac_word... " >&6; }
3379 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
3380   $as_echo_n "(cached) " >&6
3381 else
3382   if test -n "$ac_ct_OBJDUMP"; then
3383   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3384 else
3385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3386 for as_dir in $PATH
3387 do
3388   IFS=$as_save_IFS
3389   test -z "$as_dir" && as_dir=.
3390     for ac_exec_ext in '' $ac_executable_extensions; do
3391   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3392     ac_cv_prog_ac_ct_OBJDUMP="objdump"
3393     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3394     break 2
3395   fi
3396 done
3397   done
3398 IFS=$as_save_IFS
3399
3400 fi
3401 fi
3402 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3403 if test -n "$ac_ct_OBJDUMP"; then
3404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3405 $as_echo "$ac_ct_OBJDUMP" >&6; }
3406 else
3407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3408 $as_echo "no" >&6; }
3409 fi
3410
3411   if test "x$ac_ct_OBJDUMP" = x; then
3412     OBJDUMP="false"
3413   else
3414     case $cross_compiling:$ac_tool_warned in
3415 yes:)
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3418 ac_tool_warned=yes ;;
3419 esac
3420     OBJDUMP=$ac_ct_OBJDUMP
3421   fi
3422 else
3423   OBJDUMP="$ac_cv_prog_OBJDUMP"
3424 fi
3425
3426   ;;
3427 esac
3428
3429 test -z "$AS" && AS=as
3430
3431
3432
3433
3434
3435 test -z "$DLLTOOL" && DLLTOOL=dlltool
3436
3437
3438
3439
3440
3441 test -z "$OBJDUMP" && OBJDUMP=objdump
3442
3443
3444
3445
3446
3447
3448
3449 case `pwd` in
3450   *\ * | *\     *)
3451     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3452 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3453 esac
3454
3455
3456
3457 macro_version='2.4.2'
3458 macro_revision='1.3337'
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472 ltmain="$ac_aux_dir/ltmain.sh"
3473
3474 # Backslashify metacharacters that are still active within
3475 # double-quoted strings.
3476 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3477
3478 # Same as above, but do not quote variable references.
3479 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3480
3481 # Sed substitution to delay expansion of an escaped shell variable in a
3482 # double_quote_subst'ed string.
3483 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3484
3485 # Sed substitution to delay expansion of an escaped single quote.
3486 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3487
3488 # Sed substitution to avoid accidental globbing in evaled expressions
3489 no_glob_subst='s/\*/\\\*/g'
3490
3491 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3492 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3493 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3494
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3496 $as_echo_n "checking how to print strings... " >&6; }
3497 # Test print first, because it will be a builtin if present.
3498 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3499    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3500   ECHO='print -r --'
3501 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3502   ECHO='printf %s\n'
3503 else
3504   # Use this function as a fallback that always works.
3505   func_fallback_echo ()
3506   {
3507     eval 'cat <<_LTECHO_EOF
3508 $1
3509 _LTECHO_EOF'
3510   }
3511   ECHO='func_fallback_echo'
3512 fi
3513
3514 # func_echo_all arg...
3515 # Invoke $ECHO with all args, space-separated.
3516 func_echo_all ()
3517 {
3518     $ECHO ""
3519 }
3520
3521 case "$ECHO" in
3522   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3523 $as_echo "printf" >&6; } ;;
3524   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3525 $as_echo "print -r" >&6; } ;;
3526   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3527 $as_echo "cat" >&6; } ;;
3528 esac
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543 DEPDIR="${am__leading_dot}deps"
3544
3545 ac_config_commands="$ac_config_commands depfiles"
3546
3547
3548 am_make=${MAKE-make}
3549 cat > confinc << 'END'
3550 am__doit:
3551         @echo this is the am__doit target
3552 .PHONY: am__doit
3553 END
3554 # If we don't find an include directive, just comment out the code.
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3556 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3557 am__include="#"
3558 am__quote=
3559 _am_result=none
3560 # First try GNU make style include.
3561 echo "include confinc" > confmf
3562 # Ignore all kinds of additional output from `make'.
3563 case `$am_make -s -f confmf 2> /dev/null` in #(
3564 *the\ am__doit\ target*)
3565   am__include=include
3566   am__quote=
3567   _am_result=GNU
3568   ;;
3569 esac
3570 # Now try BSD make style include.
3571 if test "$am__include" = "#"; then
3572    echo '.include "confinc"' > confmf
3573    case `$am_make -s -f confmf 2> /dev/null` in #(
3574    *the\ am__doit\ target*)
3575      am__include=.include
3576      am__quote="\""
3577      _am_result=BSD
3578      ;;
3579    esac
3580 fi
3581
3582
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3584 $as_echo "$_am_result" >&6; }
3585 rm -f confinc confmf
3586
3587 # Check whether --enable-dependency-tracking was given.
3588 if test "${enable_dependency_tracking+set}" = set; then :
3589   enableval=$enable_dependency_tracking;
3590 fi
3591
3592 if test "x$enable_dependency_tracking" != xno; then
3593   am_depcomp="$ac_aux_dir/depcomp"
3594   AMDEPBACKSLASH='\'
3595   am__nodep='_no'
3596 fi
3597  if test "x$enable_dependency_tracking" != xno; then
3598   AMDEP_TRUE=
3599   AMDEP_FALSE='#'
3600 else
3601   AMDEP_TRUE='#'
3602   AMDEP_FALSE=
3603 fi
3604
3605
3606 ac_ext=c
3607 ac_cpp='$CPP $CPPFLAGS'
3608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3611 if test -n "$ac_tool_prefix"; then
3612   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3613 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3615 $as_echo_n "checking for $ac_word... " >&6; }
3616 if ${ac_cv_prog_CC+:} false; then :
3617   $as_echo_n "(cached) " >&6
3618 else
3619   if test -n "$CC"; then
3620   ac_cv_prog_CC="$CC" # Let the user override the test.
3621 else
3622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3623 for as_dir in $PATH
3624 do
3625   IFS=$as_save_IFS
3626   test -z "$as_dir" && as_dir=.
3627     for ac_exec_ext in '' $ac_executable_extensions; do
3628   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3629     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3630     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3631     break 2
3632   fi
3633 done
3634   done
3635 IFS=$as_save_IFS
3636
3637 fi
3638 fi
3639 CC=$ac_cv_prog_CC
3640 if test -n "$CC"; then
3641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3642 $as_echo "$CC" >&6; }
3643 else
3644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3645 $as_echo "no" >&6; }
3646 fi
3647
3648
3649 fi
3650 if test -z "$ac_cv_prog_CC"; then
3651   ac_ct_CC=$CC
3652   # Extract the first word of "gcc", so it can be a program name with args.
3653 set dummy gcc; ac_word=$2
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3655 $as_echo_n "checking for $ac_word... " >&6; }
3656 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3657   $as_echo_n "(cached) " >&6
3658 else
3659   if test -n "$ac_ct_CC"; then
3660   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3661 else
3662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3663 for as_dir in $PATH
3664 do
3665   IFS=$as_save_IFS
3666   test -z "$as_dir" && as_dir=.
3667     for ac_exec_ext in '' $ac_executable_extensions; do
3668   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3669     ac_cv_prog_ac_ct_CC="gcc"
3670     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3671     break 2
3672   fi
3673 done
3674   done
3675 IFS=$as_save_IFS
3676
3677 fi
3678 fi
3679 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3680 if test -n "$ac_ct_CC"; then
3681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3682 $as_echo "$ac_ct_CC" >&6; }
3683 else
3684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3685 $as_echo "no" >&6; }
3686 fi
3687
3688   if test "x$ac_ct_CC" = x; then
3689     CC=""
3690   else
3691     case $cross_compiling:$ac_tool_warned in
3692 yes:)
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3695 ac_tool_warned=yes ;;
3696 esac
3697     CC=$ac_ct_CC
3698   fi
3699 else
3700   CC="$ac_cv_prog_CC"
3701 fi
3702
3703 if test -z "$CC"; then
3704           if test -n "$ac_tool_prefix"; then
3705     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3706 set dummy ${ac_tool_prefix}cc; ac_word=$2
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3708 $as_echo_n "checking for $ac_word... " >&6; }
3709 if ${ac_cv_prog_CC+:} false; then :
3710   $as_echo_n "(cached) " >&6
3711 else
3712   if test -n "$CC"; then
3713   ac_cv_prog_CC="$CC" # Let the user override the test.
3714 else
3715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3716 for as_dir in $PATH
3717 do
3718   IFS=$as_save_IFS
3719   test -z "$as_dir" && as_dir=.
3720     for ac_exec_ext in '' $ac_executable_extensions; do
3721   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3722     ac_cv_prog_CC="${ac_tool_prefix}cc"
3723     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3724     break 2
3725   fi
3726 done
3727   done
3728 IFS=$as_save_IFS
3729
3730 fi
3731 fi
3732 CC=$ac_cv_prog_CC
3733 if test -n "$CC"; then
3734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3735 $as_echo "$CC" >&6; }
3736 else
3737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3738 $as_echo "no" >&6; }
3739 fi
3740
3741
3742   fi
3743 fi
3744 if test -z "$CC"; then
3745   # Extract the first word of "cc", so it can be a program name with args.
3746 set dummy cc; ac_word=$2
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3748 $as_echo_n "checking for $ac_word... " >&6; }
3749 if ${ac_cv_prog_CC+:} false; then :
3750   $as_echo_n "(cached) " >&6
3751 else
3752   if test -n "$CC"; then
3753   ac_cv_prog_CC="$CC" # Let the user override the test.
3754 else
3755   ac_prog_rejected=no
3756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3757 for as_dir in $PATH
3758 do
3759   IFS=$as_save_IFS
3760   test -z "$as_dir" && as_dir=.
3761     for ac_exec_ext in '' $ac_executable_extensions; do
3762   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3763     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3764        ac_prog_rejected=yes
3765        continue
3766      fi
3767     ac_cv_prog_CC="cc"
3768     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3769     break 2
3770   fi
3771 done
3772   done
3773 IFS=$as_save_IFS
3774
3775 if test $ac_prog_rejected = yes; then
3776   # We found a bogon in the path, so make sure we never use it.
3777   set dummy $ac_cv_prog_CC
3778   shift
3779   if test $# != 0; then
3780     # We chose a different compiler from the bogus one.
3781     # However, it has the same basename, so the bogon will be chosen
3782     # first if we set CC to just the basename; use the full file name.
3783     shift
3784     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3785   fi
3786 fi
3787 fi
3788 fi
3789 CC=$ac_cv_prog_CC
3790 if test -n "$CC"; then
3791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3792 $as_echo "$CC" >&6; }
3793 else
3794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3795 $as_echo "no" >&6; }
3796 fi
3797
3798
3799 fi
3800 if test -z "$CC"; then
3801   if test -n "$ac_tool_prefix"; then
3802   for ac_prog in cl.exe
3803   do
3804     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3805 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3807 $as_echo_n "checking for $ac_word... " >&6; }
3808 if ${ac_cv_prog_CC+:} false; then :
3809   $as_echo_n "(cached) " >&6
3810 else
3811   if test -n "$CC"; then
3812   ac_cv_prog_CC="$CC" # Let the user override the test.
3813 else
3814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3815 for as_dir in $PATH
3816 do
3817   IFS=$as_save_IFS
3818   test -z "$as_dir" && as_dir=.
3819     for ac_exec_ext in '' $ac_executable_extensions; do
3820   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3821     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3822     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3823     break 2
3824   fi
3825 done
3826   done
3827 IFS=$as_save_IFS
3828
3829 fi
3830 fi
3831 CC=$ac_cv_prog_CC
3832 if test -n "$CC"; then
3833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3834 $as_echo "$CC" >&6; }
3835 else
3836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3837 $as_echo "no" >&6; }
3838 fi
3839
3840
3841     test -n "$CC" && break
3842   done
3843 fi
3844 if test -z "$CC"; then
3845   ac_ct_CC=$CC
3846   for ac_prog in cl.exe
3847 do
3848   # Extract the first word of "$ac_prog", so it can be a program name with args.
3849 set dummy $ac_prog; ac_word=$2
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3851 $as_echo_n "checking for $ac_word... " >&6; }
3852 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3853   $as_echo_n "(cached) " >&6
3854 else
3855   if test -n "$ac_ct_CC"; then
3856   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3857 else
3858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3859 for as_dir in $PATH
3860 do
3861   IFS=$as_save_IFS
3862   test -z "$as_dir" && as_dir=.
3863     for ac_exec_ext in '' $ac_executable_extensions; do
3864   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3865     ac_cv_prog_ac_ct_CC="$ac_prog"
3866     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3867     break 2
3868   fi
3869 done
3870   done
3871 IFS=$as_save_IFS
3872
3873 fi
3874 fi
3875 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3876 if test -n "$ac_ct_CC"; then
3877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3878 $as_echo "$ac_ct_CC" >&6; }
3879 else
3880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3881 $as_echo "no" >&6; }
3882 fi
3883
3884
3885   test -n "$ac_ct_CC" && break
3886 done
3887
3888   if test "x$ac_ct_CC" = x; then
3889     CC=""
3890   else
3891     case $cross_compiling:$ac_tool_warned in
3892 yes:)
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3894 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3895 ac_tool_warned=yes ;;
3896 esac
3897     CC=$ac_ct_CC
3898   fi
3899 fi
3900
3901 fi
3902
3903
3904 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3905 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3906 as_fn_error $? "no acceptable C compiler found in \$PATH
3907 See \`config.log' for more details" "$LINENO" 5; }
3908
3909 # Provide some information about the compiler.
3910 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3911 set X $ac_compile
3912 ac_compiler=$2
3913 for ac_option in --version -v -V -qversion; do
3914   { { ac_try="$ac_compiler $ac_option >&5"
3915 case "(($ac_try" in
3916   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3917   *) ac_try_echo=$ac_try;;
3918 esac
3919 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3920 $as_echo "$ac_try_echo"; } >&5
3921   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3922   ac_status=$?
3923   if test -s conftest.err; then
3924     sed '10a\
3925 ... rest of stderr output deleted ...
3926          10q' conftest.err >conftest.er1
3927     cat conftest.er1 >&5
3928   fi
3929   rm -f conftest.er1 conftest.err
3930   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3931   test $ac_status = 0; }
3932 done
3933
3934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3935 /* end confdefs.h.  */
3936
3937 int
3938 main ()
3939 {
3940
3941   ;
3942   return 0;
3943 }
3944 _ACEOF
3945 ac_clean_files_save=$ac_clean_files
3946 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3947 # Try to create an executable without -o first, disregard a.out.
3948 # It will help us diagnose broken compilers, and finding out an intuition
3949 # of exeext.
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3951 $as_echo_n "checking whether the C compiler works... " >&6; }
3952 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3953
3954 # The possible output files:
3955 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3956
3957 ac_rmfiles=
3958 for ac_file in $ac_files
3959 do
3960   case $ac_file in
3961     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3962     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3963   esac
3964 done
3965 rm -f $ac_rmfiles
3966
3967 if { { ac_try="$ac_link_default"
3968 case "(($ac_try" in
3969   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3970   *) ac_try_echo=$ac_try;;
3971 esac
3972 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3973 $as_echo "$ac_try_echo"; } >&5
3974   (eval "$ac_link_default") 2>&5
3975   ac_status=$?
3976   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3977   test $ac_status = 0; }; then :
3978   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3979 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3980 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3981 # so that the user can short-circuit this test for compilers unknown to
3982 # Autoconf.
3983 for ac_file in $ac_files ''
3984 do
3985   test -f "$ac_file" || continue
3986   case $ac_file in
3987     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3988         ;;
3989     [ab].out )
3990         # We found the default executable, but exeext='' is most
3991         # certainly right.
3992         break;;
3993     *.* )
3994         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3995         then :; else
3996            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3997         fi
3998         # We set ac_cv_exeext here because the later test for it is not
3999         # safe: cross compilers may not add the suffix if given an `-o'
4000         # argument, so we may need to know it at that point already.
4001         # Even if this section looks crufty: it has the advantage of
4002         # actually working.
4003         break;;
4004     * )
4005         break;;
4006   esac
4007 done
4008 test "$ac_cv_exeext" = no && ac_cv_exeext=
4009
4010 else
4011   ac_file=''
4012 fi
4013 if test -z "$ac_file"; then :
4014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4015 $as_echo "no" >&6; }
4016 $as_echo "$as_me: failed program was:" >&5
4017 sed 's/^/| /' conftest.$ac_ext >&5
4018
4019 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4020 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4021 as_fn_error 77 "C compiler cannot create executables
4022 See \`config.log' for more details" "$LINENO" 5; }
4023 else
4024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4025 $as_echo "yes" >&6; }
4026 fi
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4028 $as_echo_n "checking for C compiler default output file name... " >&6; }
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4030 $as_echo "$ac_file" >&6; }
4031 ac_exeext=$ac_cv_exeext
4032
4033 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4034 ac_clean_files=$ac_clean_files_save
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4036 $as_echo_n "checking for suffix of executables... " >&6; }
4037 if { { ac_try="$ac_link"
4038 case "(($ac_try" in
4039   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4040   *) ac_try_echo=$ac_try;;
4041 esac
4042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4043 $as_echo "$ac_try_echo"; } >&5
4044   (eval "$ac_link") 2>&5
4045   ac_status=$?
4046   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4047   test $ac_status = 0; }; then :
4048   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4049 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4050 # work properly (i.e., refer to `conftest.exe'), while it won't with
4051 # `rm'.
4052 for ac_file in conftest.exe conftest conftest.*; do
4053   test -f "$ac_file" || continue
4054   case $ac_file in
4055     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4056     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4057           break;;
4058     * ) break;;
4059   esac
4060 done
4061 else
4062   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4063 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4064 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4065 See \`config.log' for more details" "$LINENO" 5; }
4066 fi
4067 rm -f conftest conftest$ac_cv_exeext
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4069 $as_echo "$ac_cv_exeext" >&6; }
4070
4071 rm -f conftest.$ac_ext
4072 EXEEXT=$ac_cv_exeext
4073 ac_exeext=$EXEEXT
4074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4075 /* end confdefs.h.  */
4076 #include <stdio.h>
4077 int
4078 main ()
4079 {
4080 FILE *f = fopen ("conftest.out", "w");
4081  return ferror (f) || fclose (f) != 0;
4082
4083   ;
4084   return 0;
4085 }
4086 _ACEOF
4087 ac_clean_files="$ac_clean_files conftest.out"
4088 # Check that the compiler produces executables we can run.  If not, either
4089 # the compiler is broken, or we cross compile.
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4091 $as_echo_n "checking whether we are cross compiling... " >&6; }
4092 if test "$cross_compiling" != yes; then
4093   { { ac_try="$ac_link"
4094 case "(($ac_try" in
4095   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4096   *) ac_try_echo=$ac_try;;
4097 esac
4098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4099 $as_echo "$ac_try_echo"; } >&5
4100   (eval "$ac_link") 2>&5
4101   ac_status=$?
4102   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4103   test $ac_status = 0; }
4104   if { ac_try='./conftest$ac_cv_exeext'
4105   { { case "(($ac_try" in
4106   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4107   *) ac_try_echo=$ac_try;;
4108 esac
4109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4110 $as_echo "$ac_try_echo"; } >&5
4111   (eval "$ac_try") 2>&5
4112   ac_status=$?
4113   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4114   test $ac_status = 0; }; }; then
4115     cross_compiling=no
4116   else
4117     if test "$cross_compiling" = maybe; then
4118         cross_compiling=yes
4119     else
4120         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4122 as_fn_error $? "cannot run C compiled programs.
4123 If you meant to cross compile, use \`--host'.
4124 See \`config.log' for more details" "$LINENO" 5; }
4125     fi
4126   fi
4127 fi
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4129 $as_echo "$cross_compiling" >&6; }
4130
4131 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4132 ac_clean_files=$ac_clean_files_save
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4134 $as_echo_n "checking for suffix of object files... " >&6; }
4135 if ${ac_cv_objext+:} false; then :
4136   $as_echo_n "(cached) " >&6
4137 else
4138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h.  */
4140
4141 int
4142 main ()
4143 {
4144
4145   ;
4146   return 0;
4147 }
4148 _ACEOF
4149 rm -f conftest.o conftest.obj
4150 if { { ac_try="$ac_compile"
4151 case "(($ac_try" in
4152   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4153   *) ac_try_echo=$ac_try;;
4154 esac
4155 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4156 $as_echo "$ac_try_echo"; } >&5
4157   (eval "$ac_compile") 2>&5
4158   ac_status=$?
4159   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4160   test $ac_status = 0; }; then :
4161   for ac_file in conftest.o conftest.obj conftest.*; do
4162   test -f "$ac_file" || continue;
4163   case $ac_file in
4164     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4165     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4166        break;;
4167   esac
4168 done
4169 else
4170   $as_echo "$as_me: failed program was:" >&5
4171 sed 's/^/| /' conftest.$ac_ext >&5
4172
4173 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4175 as_fn_error $? "cannot compute suffix of object files: cannot compile
4176 See \`config.log' for more details" "$LINENO" 5; }
4177 fi
4178 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4179 fi
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4181 $as_echo "$ac_cv_objext" >&6; }
4182 OBJEXT=$ac_cv_objext
4183 ac_objext=$OBJEXT
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4185 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4186 if ${ac_cv_c_compiler_gnu+:} false; then :
4187   $as_echo_n "(cached) " >&6
4188 else
4189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4190 /* end confdefs.h.  */
4191
4192 int
4193 main ()
4194 {
4195 #ifndef __GNUC__
4196        choke me
4197 #endif
4198
4199   ;
4200   return 0;
4201 }
4202 _ACEOF
4203 if ac_fn_c_try_compile "$LINENO"; then :
4204   ac_compiler_gnu=yes
4205 else
4206   ac_compiler_gnu=no
4207 fi
4208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4209 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4210
4211 fi
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4213 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4214 if test $ac_compiler_gnu = yes; then
4215   GCC=yes
4216 else
4217   GCC=
4218 fi
4219 ac_test_CFLAGS=${CFLAGS+set}
4220 ac_save_CFLAGS=$CFLAGS
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4222 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4223 if ${ac_cv_prog_cc_g+:} false; then :
4224   $as_echo_n "(cached) " >&6
4225 else
4226   ac_save_c_werror_flag=$ac_c_werror_flag
4227    ac_c_werror_flag=yes
4228    ac_cv_prog_cc_g=no
4229    CFLAGS="-g"
4230    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4231 /* end confdefs.h.  */
4232
4233 int
4234 main ()
4235 {
4236
4237   ;
4238   return 0;
4239 }
4240 _ACEOF
4241 if ac_fn_c_try_compile "$LINENO"; then :
4242   ac_cv_prog_cc_g=yes
4243 else
4244   CFLAGS=""
4245       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4246 /* end confdefs.h.  */
4247
4248 int
4249 main ()
4250 {
4251
4252   ;
4253   return 0;
4254 }
4255 _ACEOF
4256 if ac_fn_c_try_compile "$LINENO"; then :
4257
4258 else
4259   ac_c_werror_flag=$ac_save_c_werror_flag
4260          CFLAGS="-g"
4261          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4262 /* end confdefs.h.  */
4263
4264 int
4265 main ()
4266 {
4267
4268   ;
4269   return 0;
4270 }
4271 _ACEOF
4272 if ac_fn_c_try_compile "$LINENO"; then :
4273   ac_cv_prog_cc_g=yes
4274 fi
4275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4276 fi
4277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4278 fi
4279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4280    ac_c_werror_flag=$ac_save_c_werror_flag
4281 fi
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4283 $as_echo "$ac_cv_prog_cc_g" >&6; }
4284 if test "$ac_test_CFLAGS" = set; then
4285   CFLAGS=$ac_save_CFLAGS
4286 elif test $ac_cv_prog_cc_g = yes; then
4287   if test "$GCC" = yes; then
4288     CFLAGS="-g -O2"
4289   else
4290     CFLAGS="-g"
4291   fi
4292 else
4293   if test "$GCC" = yes; then
4294     CFLAGS="-O2"
4295   else
4296     CFLAGS=
4297   fi
4298 fi
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4300 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4301 if ${ac_cv_prog_cc_c89+:} false; then :
4302   $as_echo_n "(cached) " >&6
4303 else
4304   ac_cv_prog_cc_c89=no
4305 ac_save_CC=$CC
4306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4307 /* end confdefs.h.  */
4308 #include <stdarg.h>
4309 #include <stdio.h>
4310 #include <sys/types.h>
4311 #include <sys/stat.h>
4312 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4313 struct buf { int x; };
4314 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4315 static char *e (p, i)
4316      char **p;
4317      int i;
4318 {
4319   return p[i];
4320 }
4321 static char *f (char * (*g) (char **, int), char **p, ...)
4322 {
4323   char *s;
4324   va_list v;
4325   va_start (v,p);
4326   s = g (p, va_arg (v,int));
4327   va_end (v);
4328   return s;
4329 }
4330
4331 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4332    function prototypes and stuff, but not '\xHH' hex character constants.
4333    These don't provoke an error unfortunately, instead are silently treated
4334    as 'x'.  The following induces an error, until -std is added to get
4335    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4336    array size at least.  It's necessary to write '\x00'==0 to get something
4337    that's true only with -std.  */
4338 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4339
4340 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4341    inside strings and character constants.  */
4342 #define FOO(x) 'x'
4343 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4344
4345 int test (int i, double x);
4346 struct s1 {int (*f) (int a);};
4347 struct s2 {int (*f) (double a);};
4348 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4349 int argc;
4350 char **argv;
4351 int
4352 main ()
4353 {
4354 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4355   ;
4356   return 0;
4357 }
4358 _ACEOF
4359 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4360         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4361 do
4362   CC="$ac_save_CC $ac_arg"
4363   if ac_fn_c_try_compile "$LINENO"; then :
4364   ac_cv_prog_cc_c89=$ac_arg
4365 fi
4366 rm -f core conftest.err conftest.$ac_objext
4367   test "x$ac_cv_prog_cc_c89" != "xno" && break
4368 done
4369 rm -f conftest.$ac_ext
4370 CC=$ac_save_CC
4371
4372 fi
4373 # AC_CACHE_VAL
4374 case "x$ac_cv_prog_cc_c89" in
4375   x)
4376     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4377 $as_echo "none needed" >&6; } ;;
4378   xno)
4379     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4380 $as_echo "unsupported" >&6; } ;;
4381   *)
4382     CC="$CC $ac_cv_prog_cc_c89"
4383     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4384 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4385 esac
4386 if test "x$ac_cv_prog_cc_c89" != xno; then :
4387
4388 fi
4389
4390 ac_ext=c
4391 ac_cpp='$CPP $CPPFLAGS'
4392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4395
4396 depcc="$CC"   am_compiler_list=
4397
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4399 $as_echo_n "checking dependency style of $depcc... " >&6; }
4400 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4401   $as_echo_n "(cached) " >&6
4402 else
4403   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4404   # We make a subdir and do the tests there.  Otherwise we can end up
4405   # making bogus files that we don't know about and never remove.  For
4406   # instance it was reported that on HP-UX the gcc test will end up
4407   # making a dummy file named `D' -- because `-MD' means `put the output
4408   # in D'.
4409   rm -rf conftest.dir
4410   mkdir conftest.dir
4411   # Copy depcomp to subdir because otherwise we won't find it if we're
4412   # using a relative directory.
4413   cp "$am_depcomp" conftest.dir
4414   cd conftest.dir
4415   # We will build objects and dependencies in a subdirectory because
4416   # it helps to detect inapplicable dependency modes.  For instance
4417   # both Tru64's cc and ICC support -MD to output dependencies as a
4418   # side effect of compilation, but ICC will put the dependencies in
4419   # the current directory while Tru64 will put them in the object
4420   # directory.
4421   mkdir sub
4422
4423   am_cv_CC_dependencies_compiler_type=none
4424   if test "$am_compiler_list" = ""; then
4425      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4426   fi
4427   am__universal=false
4428   case " $depcc " in #(
4429      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4430      esac
4431
4432   for depmode in $am_compiler_list; do
4433     # Setup a source with many dependencies, because some compilers
4434     # like to wrap large dependency lists on column 80 (with \), and
4435     # we should not choose a depcomp mode which is confused by this.
4436     #
4437     # We need to recreate these files for each test, as the compiler may
4438     # overwrite some of them when testing with obscure command lines.
4439     # This happens at least with the AIX C compiler.
4440     : > sub/conftest.c
4441     for i in 1 2 3 4 5 6; do
4442       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4443       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4444       # Solaris 8's {/usr,}/bin/sh.
4445       touch sub/conftst$i.h
4446     done
4447     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4448
4449     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4450     # mode.  It turns out that the SunPro C++ compiler does not properly
4451     # handle `-M -o', and we need to detect this.  Also, some Intel
4452     # versions had trouble with output in subdirs
4453     am__obj=sub/conftest.${OBJEXT-o}
4454     am__minus_obj="-o $am__obj"
4455     case $depmode in
4456     gcc)
4457       # This depmode causes a compiler race in universal mode.
4458       test "$am__universal" = false || continue
4459       ;;
4460     nosideeffect)
4461       # after this tag, mechanisms are not by side-effect, so they'll
4462       # only be used when explicitly requested
4463       if test "x$enable_dependency_tracking" = xyes; then
4464         continue
4465       else
4466         break
4467       fi
4468       ;;
4469     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4470       # This compiler won't grok `-c -o', but also, the minuso test has
4471       # not run yet.  These depmodes are late enough in the game, and
4472       # so weak that their functioning should not be impacted.
4473       am__obj=conftest.${OBJEXT-o}
4474       am__minus_obj=
4475       ;;
4476     none) break ;;
4477     esac
4478     if depmode=$depmode \
4479        source=sub/conftest.c object=$am__obj \
4480        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4481        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4482          >/dev/null 2>conftest.err &&
4483        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4484        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4485        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4486        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4487       # icc doesn't choke on unknown options, it will just issue warnings
4488       # or remarks (even with -Werror).  So we grep stderr for any message
4489       # that says an option was ignored or not supported.
4490       # When given -MP, icc 7.0 and 7.1 complain thusly:
4491       #   icc: Command line warning: ignoring option '-M'; no argument required
4492       # The diagnosis changed in icc 8.0:
4493       #   icc: Command line remark: option '-MP' not supported
4494       if (grep 'ignoring option' conftest.err ||
4495           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4496         am_cv_CC_dependencies_compiler_type=$depmode
4497         break
4498       fi
4499     fi
4500   done
4501
4502   cd ..
4503   rm -rf conftest.dir
4504 else
4505   am_cv_CC_dependencies_compiler_type=none
4506 fi
4507
4508 fi
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4510 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4511 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4512
4513  if
4514   test "x$enable_dependency_tracking" != xno \
4515   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4516   am__fastdepCC_TRUE=
4517   am__fastdepCC_FALSE='#'
4518 else
4519   am__fastdepCC_TRUE='#'
4520   am__fastdepCC_FALSE=
4521 fi
4522
4523
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4525 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4526 if ${ac_cv_path_SED+:} false; then :
4527   $as_echo_n "(cached) " >&6
4528 else
4529             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4530      for ac_i in 1 2 3 4 5 6 7; do
4531        ac_script="$ac_script$as_nl$ac_script"
4532      done
4533      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4534      { ac_script=; unset ac_script;}
4535      if test -z "$SED"; then
4536   ac_path_SED_found=false
4537   # Loop through the user's path and test for each of PROGNAME-LIST
4538   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4539 for as_dir in $PATH
4540 do
4541   IFS=$as_save_IFS
4542   test -z "$as_dir" && as_dir=.
4543     for ac_prog in sed gsed; do
4544     for ac_exec_ext in '' $ac_executable_extensions; do
4545       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4546       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4547 # Check for GNU ac_path_SED and select it if it is found.
4548   # Check for GNU $ac_path_SED
4549 case `"$ac_path_SED" --version 2>&1` in
4550 *GNU*)
4551   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4552 *)
4553   ac_count=0
4554   $as_echo_n 0123456789 >"conftest.in"
4555   while :
4556   do
4557     cat "conftest.in" "conftest.in" >"conftest.tmp"
4558     mv "conftest.tmp" "conftest.in"
4559     cp "conftest.in" "conftest.nl"
4560     $as_echo '' >> "conftest.nl"
4561     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4562     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4563     as_fn_arith $ac_count + 1 && ac_count=$as_val
4564     if test $ac_count -gt ${ac_path_SED_max-0}; then
4565       # Best one so far, save it but keep looking for a better one
4566       ac_cv_path_SED="$ac_path_SED"
4567       ac_path_SED_max=$ac_count
4568     fi
4569     # 10*(2^10) chars as input seems more than enough
4570     test $ac_count -gt 10 && break
4571   done
4572   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4573 esac
4574
4575       $ac_path_SED_found && break 3
4576     done
4577   done
4578   done
4579 IFS=$as_save_IFS
4580   if test -z "$ac_cv_path_SED"; then
4581     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4582   fi
4583 else
4584   ac_cv_path_SED=$SED
4585 fi
4586
4587 fi
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4589 $as_echo "$ac_cv_path_SED" >&6; }
4590  SED="$ac_cv_path_SED"
4591   rm -f conftest.sed
4592
4593 test -z "$SED" && SED=sed
4594 Xsed="$SED -e 1s/^X//"
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4607 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4608 if ${ac_cv_path_GREP+:} false; then :
4609   $as_echo_n "(cached) " >&6
4610 else
4611   if test -z "$GREP"; then
4612   ac_path_GREP_found=false
4613   # Loop through the user's path and test for each of PROGNAME-LIST
4614   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4615 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4616 do
4617   IFS=$as_save_IFS
4618   test -z "$as_dir" && as_dir=.
4619     for ac_prog in grep ggrep; do
4620     for ac_exec_ext in '' $ac_executable_extensions; do
4621       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4622       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4623 # Check for GNU ac_path_GREP and select it if it is found.
4624   # Check for GNU $ac_path_GREP
4625 case `"$ac_path_GREP" --version 2>&1` in
4626 *GNU*)
4627   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4628 *)
4629   ac_count=0
4630   $as_echo_n 0123456789 >"conftest.in"
4631   while :
4632   do
4633     cat "conftest.in" "conftest.in" >"conftest.tmp"
4634     mv "conftest.tmp" "conftest.in"
4635     cp "conftest.in" "conftest.nl"
4636     $as_echo 'GREP' >> "conftest.nl"
4637     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4638     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4639     as_fn_arith $ac_count + 1 && ac_count=$as_val
4640     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4641       # Best one so far, save it but keep looking for a better one
4642       ac_cv_path_GREP="$ac_path_GREP"
4643       ac_path_GREP_max=$ac_count
4644     fi
4645     # 10*(2^10) chars as input seems more than enough
4646     test $ac_count -gt 10 && break
4647   done
4648   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4649 esac
4650
4651       $ac_path_GREP_found && break 3
4652     done
4653   done
4654   done
4655 IFS=$as_save_IFS
4656   if test -z "$ac_cv_path_GREP"; then
4657     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4658   fi
4659 else
4660   ac_cv_path_GREP=$GREP
4661 fi
4662
4663 fi
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4665 $as_echo "$ac_cv_path_GREP" >&6; }
4666  GREP="$ac_cv_path_GREP"
4667
4668
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4670 $as_echo_n "checking for egrep... " >&6; }
4671 if ${ac_cv_path_EGREP+:} false; then :
4672   $as_echo_n "(cached) " >&6
4673 else
4674   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4675    then ac_cv_path_EGREP="$GREP -E"
4676    else
4677      if test -z "$EGREP"; then
4678   ac_path_EGREP_found=false
4679   # Loop through the user's path and test for each of PROGNAME-LIST
4680   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4681 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4682 do
4683   IFS=$as_save_IFS
4684   test -z "$as_dir" && as_dir=.
4685     for ac_prog in egrep; do
4686     for ac_exec_ext in '' $ac_executable_extensions; do
4687       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4688       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4689 # Check for GNU ac_path_EGREP and select it if it is found.
4690   # Check for GNU $ac_path_EGREP
4691 case `"$ac_path_EGREP" --version 2>&1` in
4692 *GNU*)
4693   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4694 *)
4695   ac_count=0
4696   $as_echo_n 0123456789 >"conftest.in"
4697   while :
4698   do
4699     cat "conftest.in" "conftest.in" >"conftest.tmp"
4700     mv "conftest.tmp" "conftest.in"
4701     cp "conftest.in" "conftest.nl"
4702     $as_echo 'EGREP' >> "conftest.nl"
4703     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4704     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4705     as_fn_arith $ac_count + 1 && ac_count=$as_val
4706     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4707       # Best one so far, save it but keep looking for a better one
4708       ac_cv_path_EGREP="$ac_path_EGREP"
4709       ac_path_EGREP_max=$ac_count
4710     fi
4711     # 10*(2^10) chars as input seems more than enough
4712     test $ac_count -gt 10 && break
4713   done
4714   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4715 esac
4716
4717       $ac_path_EGREP_found && break 3
4718     done
4719   done
4720   done
4721 IFS=$as_save_IFS
4722   if test -z "$ac_cv_path_EGREP"; then
4723     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4724   fi
4725 else
4726   ac_cv_path_EGREP=$EGREP
4727 fi
4728
4729    fi
4730 fi
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4732 $as_echo "$ac_cv_path_EGREP" >&6; }
4733  EGREP="$ac_cv_path_EGREP"
4734
4735
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4737 $as_echo_n "checking for fgrep... " >&6; }
4738 if ${ac_cv_path_FGREP+:} false; then :
4739   $as_echo_n "(cached) " >&6
4740 else
4741   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4742    then ac_cv_path_FGREP="$GREP -F"
4743    else
4744      if test -z "$FGREP"; then
4745   ac_path_FGREP_found=false
4746   # Loop through the user's path and test for each of PROGNAME-LIST
4747   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4748 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4749 do
4750   IFS=$as_save_IFS
4751   test -z "$as_dir" && as_dir=.
4752     for ac_prog in fgrep; do
4753     for ac_exec_ext in '' $ac_executable_extensions; do
4754       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4755       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4756 # Check for GNU ac_path_FGREP and select it if it is found.
4757   # Check for GNU $ac_path_FGREP
4758 case `"$ac_path_FGREP" --version 2>&1` in
4759 *GNU*)
4760   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4761 *)
4762   ac_count=0
4763   $as_echo_n 0123456789 >"conftest.in"
4764   while :
4765   do
4766     cat "conftest.in" "conftest.in" >"conftest.tmp"
4767     mv "conftest.tmp" "conftest.in"
4768     cp "conftest.in" "conftest.nl"
4769     $as_echo 'FGREP' >> "conftest.nl"
4770     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4771     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4772     as_fn_arith $ac_count + 1 && ac_count=$as_val
4773     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4774       # Best one so far, save it but keep looking for a better one
4775       ac_cv_path_FGREP="$ac_path_FGREP"
4776       ac_path_FGREP_max=$ac_count
4777     fi
4778     # 10*(2^10) chars as input seems more than enough
4779     test $ac_count -gt 10 && break
4780   done
4781   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4782 esac
4783
4784       $ac_path_FGREP_found && break 3
4785     done
4786   done
4787   done
4788 IFS=$as_save_IFS
4789   if test -z "$ac_cv_path_FGREP"; then
4790     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4791   fi
4792 else
4793   ac_cv_path_FGREP=$FGREP
4794 fi
4795
4796    fi
4797 fi
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4799 $as_echo "$ac_cv_path_FGREP" >&6; }
4800  FGREP="$ac_cv_path_FGREP"
4801
4802
4803 test -z "$GREP" && GREP=grep
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823 # Check whether --with-gnu-ld was given.
4824 if test "${with_gnu_ld+set}" = set; then :
4825   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4826 else
4827   with_gnu_ld=no
4828 fi
4829
4830 ac_prog=ld
4831 if test "$GCC" = yes; then
4832   # Check if gcc -print-prog-name=ld gives a path.
4833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4834 $as_echo_n "checking for ld used by $CC... " >&6; }
4835   case $host in
4836   *-*-mingw*)
4837     # gcc leaves a trailing carriage return which upsets mingw
4838     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4839   *)
4840     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4841   esac
4842   case $ac_prog in
4843     # Accept absolute paths.
4844     [\\/]* | ?:[\\/]*)
4845       re_direlt='/[^/][^/]*/\.\./'
4846       # Canonicalize the pathname of ld
4847       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4848       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4849         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4850       done
4851       test -z "$LD" && LD="$ac_prog"
4852       ;;
4853   "")
4854     # If it fails, then pretend we aren't using GCC.
4855     ac_prog=ld
4856     ;;
4857   *)
4858     # If it is relative, then search for the first ld in PATH.
4859     with_gnu_ld=unknown
4860     ;;
4861   esac
4862 elif test "$with_gnu_ld" = yes; then
4863   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4864 $as_echo_n "checking for GNU ld... " >&6; }
4865 else
4866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4867 $as_echo_n "checking for non-GNU ld... " >&6; }
4868 fi
4869 if ${lt_cv_path_LD+:} false; then :
4870   $as_echo_n "(cached) " >&6
4871 else
4872   if test -z "$LD"; then
4873   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4874   for ac_dir in $PATH; do
4875     IFS="$lt_save_ifs"
4876     test -z "$ac_dir" && ac_dir=.
4877     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4878       lt_cv_path_LD="$ac_dir/$ac_prog"
4879       # Check to see if the program is GNU ld.  I'd rather use --version,
4880       # but apparently some variants of GNU ld only accept -v.
4881       # Break only if it was the GNU/non-GNU ld that we prefer.
4882       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4883       *GNU* | *'with BFD'*)
4884         test "$with_gnu_ld" != no && break
4885         ;;
4886       *)
4887         test "$with_gnu_ld" != yes && break
4888         ;;
4889       esac
4890     fi
4891   done
4892   IFS="$lt_save_ifs"
4893 else
4894   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4895 fi
4896 fi
4897
4898 LD="$lt_cv_path_LD"
4899 if test -n "$LD"; then
4900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4901 $as_echo "$LD" >&6; }
4902 else
4903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4904 $as_echo "no" >&6; }
4905 fi
4906 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4908 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4909 if ${lt_cv_prog_gnu_ld+:} false; then :
4910   $as_echo_n "(cached) " >&6
4911 else
4912   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4913 case `$LD -v 2>&1 </dev/null` in
4914 *GNU* | *'with BFD'*)
4915   lt_cv_prog_gnu_ld=yes
4916   ;;
4917 *)
4918   lt_cv_prog_gnu_ld=no
4919   ;;
4920 esac
4921 fi
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4923 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4924 with_gnu_ld=$lt_cv_prog_gnu_ld
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4935 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4936 if ${lt_cv_path_NM+:} false; then :
4937   $as_echo_n "(cached) " >&6
4938 else
4939   if test -n "$NM"; then
4940   # Let the user override the test.
4941   lt_cv_path_NM="$NM"
4942 else
4943   lt_nm_to_check="${ac_tool_prefix}nm"
4944   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4945     lt_nm_to_check="$lt_nm_to_check nm"
4946   fi
4947   for lt_tmp_nm in $lt_nm_to_check; do
4948     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4949     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4950       IFS="$lt_save_ifs"
4951       test -z "$ac_dir" && ac_dir=.
4952       tmp_nm="$ac_dir/$lt_tmp_nm"
4953       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4954         # Check to see if the nm accepts a BSD-compat flag.
4955         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4956         #   nm: unknown option "B" ignored
4957         # Tru64's nm complains that /dev/null is an invalid object file
4958         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4959         */dev/null* | *'Invalid file or object type'*)
4960           lt_cv_path_NM="$tmp_nm -B"
4961           break
4962           ;;
4963         *)
4964           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4965           */dev/null*)
4966             lt_cv_path_NM="$tmp_nm -p"
4967             break
4968             ;;
4969           *)
4970             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4971             continue # so that we can try to find one that supports BSD flags
4972             ;;
4973           esac
4974           ;;
4975         esac
4976       fi
4977     done
4978     IFS="$lt_save_ifs"
4979   done
4980   : ${lt_cv_path_NM=no}
4981 fi
4982 fi
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4984 $as_echo "$lt_cv_path_NM" >&6; }
4985 if test "$lt_cv_path_NM" != "no"; then
4986   NM="$lt_cv_path_NM"
4987 else
4988   # Didn't find any BSD compatible name lister, look for dumpbin.
4989   if test -n "$DUMPBIN"; then :
4990     # Let the user override the test.
4991   else
4992     if test -n "$ac_tool_prefix"; then
4993   for ac_prog in dumpbin "link -dump"
4994   do
4995     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4996 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4998 $as_echo_n "checking for $ac_word... " >&6; }
4999 if ${ac_cv_prog_DUMPBIN+:} false; then :
5000   $as_echo_n "(cached) " >&6
5001 else
5002   if test -n "$DUMPBIN"; then
5003   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5004 else
5005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5006 for as_dir in $PATH
5007 do
5008   IFS=$as_save_IFS
5009   test -z "$as_dir" && as_dir=.
5010     for ac_exec_ext in '' $ac_executable_extensions; do
5011   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5012     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5013     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5014     break 2
5015   fi
5016 done
5017   done
5018 IFS=$as_save_IFS
5019
5020 fi
5021 fi
5022 DUMPBIN=$ac_cv_prog_DUMPBIN
5023 if test -n "$DUMPBIN"; then
5024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5025 $as_echo "$DUMPBIN" >&6; }
5026 else
5027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5028 $as_echo "no" >&6; }
5029 fi
5030
5031
5032     test -n "$DUMPBIN" && break
5033   done
5034 fi
5035 if test -z "$DUMPBIN"; then
5036   ac_ct_DUMPBIN=$DUMPBIN
5037   for ac_prog in dumpbin "link -dump"
5038 do
5039   # Extract the first word of "$ac_prog", so it can be a program name with args.
5040 set dummy $ac_prog; ac_word=$2
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5042 $as_echo_n "checking for $ac_word... " >&6; }
5043 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5044   $as_echo_n "(cached) " >&6
5045 else
5046   if test -n "$ac_ct_DUMPBIN"; then
5047   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5048 else
5049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5050 for as_dir in $PATH
5051 do
5052   IFS=$as_save_IFS
5053   test -z "$as_dir" && as_dir=.
5054     for ac_exec_ext in '' $ac_executable_extensions; do
5055   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5056     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5057     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5058     break 2
5059   fi
5060 done
5061   done
5062 IFS=$as_save_IFS
5063
5064 fi
5065 fi
5066 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5067 if test -n "$ac_ct_DUMPBIN"; then
5068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5069 $as_echo "$ac_ct_DUMPBIN" >&6; }
5070 else
5071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5072 $as_echo "no" >&6; }
5073 fi
5074
5075
5076   test -n "$ac_ct_DUMPBIN" && break
5077 done
5078
5079   if test "x$ac_ct_DUMPBIN" = x; then
5080     DUMPBIN=":"
5081   else
5082     case $cross_compiling:$ac_tool_warned in
5083 yes:)
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5086 ac_tool_warned=yes ;;
5087 esac
5088     DUMPBIN=$ac_ct_DUMPBIN
5089   fi
5090 fi
5091
5092     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5093     *COFF*)
5094       DUMPBIN="$DUMPBIN -symbols"
5095       ;;
5096     *)
5097       DUMPBIN=:
5098       ;;
5099     esac
5100   fi
5101
5102   if test "$DUMPBIN" != ":"; then
5103     NM="$DUMPBIN"
5104   fi
5105 fi
5106 test -z "$NM" && NM=nm
5107
5108
5109
5110
5111
5112
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5114 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5115 if ${lt_cv_nm_interface+:} false; then :
5116   $as_echo_n "(cached) " >&6
5117 else
5118   lt_cv_nm_interface="BSD nm"
5119   echo "int some_variable = 0;" > conftest.$ac_ext
5120   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5121   (eval "$ac_compile" 2>conftest.err)
5122   cat conftest.err >&5
5123   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5124   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5125   cat conftest.err >&5
5126   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5127   cat conftest.out >&5
5128   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5129     lt_cv_nm_interface="MS dumpbin"
5130   fi
5131   rm -f conftest*
5132 fi
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5134 $as_echo "$lt_cv_nm_interface" >&6; }
5135
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5137 $as_echo_n "checking whether ln -s works... " >&6; }
5138 LN_S=$as_ln_s
5139 if test "$LN_S" = "ln -s"; then
5140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5141 $as_echo "yes" >&6; }
5142 else
5143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5144 $as_echo "no, using $LN_S" >&6; }
5145 fi
5146
5147 # find the maximum length of command line arguments
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5149 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5150 if ${lt_cv_sys_max_cmd_len+:} false; then :
5151   $as_echo_n "(cached) " >&6
5152 else
5153     i=0
5154   teststring="ABCD"
5155
5156   case $build_os in
5157   msdosdjgpp*)
5158     # On DJGPP, this test can blow up pretty badly due to problems in libc
5159     # (any single argument exceeding 2000 bytes causes a buffer overrun
5160     # during glob expansion).  Even if it were fixed, the result of this
5161     # check would be larger than it should be.
5162     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5163     ;;
5164
5165   gnu*)
5166     # Under GNU Hurd, this test is not required because there is
5167     # no limit to the length of command line arguments.
5168     # Libtool will interpret -1 as no limit whatsoever
5169     lt_cv_sys_max_cmd_len=-1;
5170     ;;
5171
5172   cygwin* | mingw* | cegcc*)
5173     # On Win9x/ME, this test blows up -- it succeeds, but takes
5174     # about 5 minutes as the teststring grows exponentially.
5175     # Worse, since 9x/ME are not pre-emptively multitasking,
5176     # you end up with a "frozen" computer, even though with patience
5177     # the test eventually succeeds (with a max line length of 256k).
5178     # Instead, let's just punt: use the minimum linelength reported by
5179     # all of the supported platforms: 8192 (on NT/2K/XP).
5180     lt_cv_sys_max_cmd_len=8192;
5181     ;;
5182
5183   mint*)
5184     # On MiNT this can take a long time and run out of memory.
5185     lt_cv_sys_max_cmd_len=8192;
5186     ;;
5187
5188   amigaos*)
5189     # On AmigaOS with pdksh, this test takes hours, literally.
5190     # So we just punt and use a minimum line length of 8192.
5191     lt_cv_sys_max_cmd_len=8192;
5192     ;;
5193
5194   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5195     # This has been around since 386BSD, at least.  Likely further.
5196     if test -x /sbin/sysctl; then
5197       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5198     elif test -x /usr/sbin/sysctl; then
5199       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5200     else
5201       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5202     fi
5203     # And add a safety zone
5204     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5205     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5206     ;;
5207
5208   interix*)
5209     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5210     lt_cv_sys_max_cmd_len=196608
5211     ;;
5212
5213   os2*)
5214     # The test takes a long time on OS/2.
5215     lt_cv_sys_max_cmd_len=8192
5216     ;;
5217
5218   osf*)
5219     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5220     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5221     # nice to cause kernel panics so lets avoid the loop below.
5222     # First set a reasonable default.
5223     lt_cv_sys_max_cmd_len=16384
5224     #
5225     if test -x /sbin/sysconfig; then
5226       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5227         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5228       esac
5229     fi
5230     ;;
5231   sco3.2v5*)
5232     lt_cv_sys_max_cmd_len=102400
5233     ;;
5234   sysv5* | sco5v6* | sysv4.2uw2*)
5235     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5236     if test -n "$kargmax"; then
5237       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5238     else
5239       lt_cv_sys_max_cmd_len=32768
5240     fi
5241     ;;
5242   *)
5243     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5244     if test -n "$lt_cv_sys_max_cmd_len"; then
5245       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5246       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5247     else
5248       # Make teststring a little bigger before we do anything with it.
5249       # a 1K string should be a reasonable start.
5250       for i in 1 2 3 4 5 6 7 8 ; do
5251         teststring=$teststring$teststring
5252       done
5253       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5254       # If test is not a shell built-in, we'll probably end up computing a
5255       # maximum length that is only half of the actual maximum length, but
5256       # we can't tell.
5257       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5258                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5259               test $i != 17 # 1/2 MB should be enough
5260       do
5261         i=`expr $i + 1`
5262         teststring=$teststring$teststring
5263       done
5264       # Only check the string length outside the loop.
5265       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5266       teststring=
5267       # Add a significant safety factor because C++ compilers can tack on
5268       # massive amounts of additional arguments before passing them to the
5269       # linker.  It appears as though 1/2 is a usable value.
5270       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5271     fi
5272     ;;
5273   esac
5274
5275 fi
5276
5277 if test -n $lt_cv_sys_max_cmd_len ; then
5278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5279 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5280 else
5281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5282 $as_echo "none" >&6; }
5283 fi
5284 max_cmd_len=$lt_cv_sys_max_cmd_len
5285
5286
5287
5288
5289
5290
5291 : ${CP="cp -f"}
5292 : ${MV="mv -f"}
5293 : ${RM="rm -f"}
5294
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5296 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5297 # Try some XSI features
5298 xsi_shell=no
5299 ( _lt_dummy="a/b/c"
5300   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5301       = c,a/b,b/c, \
5302     && eval 'test $(( 1 + 1 )) -eq 2 \
5303     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5304   && xsi_shell=yes
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5306 $as_echo "$xsi_shell" >&6; }
5307
5308
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5310 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5311 lt_shell_append=no
5312 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5313     >/dev/null 2>&1 \
5314   && lt_shell_append=yes
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5316 $as_echo "$lt_shell_append" >&6; }
5317
5318
5319 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5320   lt_unset=unset
5321 else
5322   lt_unset=false
5323 fi
5324
5325
5326
5327
5328
5329 # test EBCDIC or ASCII
5330 case `echo X|tr X '\101'` in
5331  A) # ASCII based system
5332     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5333   lt_SP2NL='tr \040 \012'
5334   lt_NL2SP='tr \015\012 \040\040'
5335   ;;
5336  *) # EBCDIC based system
5337   lt_SP2NL='tr \100 \n'
5338   lt_NL2SP='tr \r\n \100\100'
5339   ;;
5340 esac
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5351 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5352 if ${lt_cv_to_host_file_cmd+:} false; then :
5353   $as_echo_n "(cached) " >&6
5354 else
5355   case $host in
5356   *-*-mingw* )
5357     case $build in
5358       *-*-mingw* ) # actually msys
5359         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5360         ;;
5361       *-*-cygwin* )
5362         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5363         ;;
5364       * ) # otherwise, assume *nix
5365         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5366         ;;
5367     esac
5368     ;;
5369   *-*-cygwin* )
5370     case $build in
5371       *-*-mingw* ) # actually msys
5372         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5373         ;;
5374       *-*-cygwin* )
5375         lt_cv_to_host_file_cmd=func_convert_file_noop
5376         ;;
5377       * ) # otherwise, assume *nix
5378         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5379         ;;
5380     esac
5381     ;;
5382   * ) # unhandled hosts (and "normal" native builds)
5383     lt_cv_to_host_file_cmd=func_convert_file_noop
5384     ;;
5385 esac
5386
5387 fi
5388
5389 to_host_file_cmd=$lt_cv_to_host_file_cmd
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5391 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5392
5393
5394
5395
5396
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5398 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5399 if ${lt_cv_to_tool_file_cmd+:} false; then :
5400   $as_echo_n "(cached) " >&6
5401 else
5402   #assume ordinary cross tools, or native build.
5403 lt_cv_to_tool_file_cmd=func_convert_file_noop
5404 case $host in
5405   *-*-mingw* )
5406     case $build in
5407       *-*-mingw* ) # actually msys
5408         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5409         ;;
5410     esac
5411     ;;
5412 esac
5413
5414 fi
5415
5416 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5418 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5419
5420
5421
5422
5423
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5425 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5426 if ${lt_cv_ld_reload_flag+:} false; then :
5427   $as_echo_n "(cached) " >&6
5428 else
5429   lt_cv_ld_reload_flag='-r'
5430 fi
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5432 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5433 reload_flag=$lt_cv_ld_reload_flag
5434 case $reload_flag in
5435 "" | " "*) ;;
5436 *) reload_flag=" $reload_flag" ;;
5437 esac
5438 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5439 case $host_os in
5440   cygwin* | mingw* | pw32* | cegcc*)
5441     if test "$GCC" != yes; then
5442       reload_cmds=false
5443     fi
5444     ;;
5445   darwin*)
5446     if test "$GCC" = yes; then
5447       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5448     else
5449       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5450     fi
5451     ;;
5452 esac
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462 if test -n "$ac_tool_prefix"; then
5463   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5464 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5466 $as_echo_n "checking for $ac_word... " >&6; }
5467 if ${ac_cv_prog_OBJDUMP+:} false; then :
5468   $as_echo_n "(cached) " >&6
5469 else
5470   if test -n "$OBJDUMP"; then
5471   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5472 else
5473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5474 for as_dir in $PATH
5475 do
5476   IFS=$as_save_IFS
5477   test -z "$as_dir" && as_dir=.
5478     for ac_exec_ext in '' $ac_executable_extensions; do
5479   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5480     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5481     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5482     break 2
5483   fi
5484 done
5485   done
5486 IFS=$as_save_IFS
5487
5488 fi
5489 fi
5490 OBJDUMP=$ac_cv_prog_OBJDUMP
5491 if test -n "$OBJDUMP"; then
5492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5493 $as_echo "$OBJDUMP" >&6; }
5494 else
5495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5496 $as_echo "no" >&6; }
5497 fi
5498
5499
5500 fi
5501 if test -z "$ac_cv_prog_OBJDUMP"; then
5502   ac_ct_OBJDUMP=$OBJDUMP
5503   # Extract the first word of "objdump", so it can be a program name with args.
5504 set dummy objdump; ac_word=$2
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5506 $as_echo_n "checking for $ac_word... " >&6; }
5507 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5508   $as_echo_n "(cached) " >&6
5509 else
5510   if test -n "$ac_ct_OBJDUMP"; then
5511   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5512 else
5513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5514 for as_dir in $PATH
5515 do
5516   IFS=$as_save_IFS
5517   test -z "$as_dir" && as_dir=.
5518     for ac_exec_ext in '' $ac_executable_extensions; do
5519   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5520     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5521     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5522     break 2
5523   fi
5524 done
5525   done
5526 IFS=$as_save_IFS
5527
5528 fi
5529 fi
5530 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5531 if test -n "$ac_ct_OBJDUMP"; then
5532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5533 $as_echo "$ac_ct_OBJDUMP" >&6; }
5534 else
5535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5536 $as_echo "no" >&6; }
5537 fi
5538
5539   if test "x$ac_ct_OBJDUMP" = x; then
5540     OBJDUMP="false"
5541   else
5542     case $cross_compiling:$ac_tool_warned in
5543 yes:)
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5546 ac_tool_warned=yes ;;
5547 esac
5548     OBJDUMP=$ac_ct_OBJDUMP
5549   fi
5550 else
5551   OBJDUMP="$ac_cv_prog_OBJDUMP"
5552 fi
5553
5554 test -z "$OBJDUMP" && OBJDUMP=objdump
5555
5556
5557
5558
5559
5560
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5562 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5563 if ${lt_cv_deplibs_check_method+:} false; then :
5564   $as_echo_n "(cached) " >&6
5565 else
5566   lt_cv_file_magic_cmd='$MAGIC_CMD'
5567 lt_cv_file_magic_test_file=
5568 lt_cv_deplibs_check_method='unknown'
5569 # Need to set the preceding variable on all platforms that support
5570 # interlibrary dependencies.
5571 # 'none' -- dependencies not supported.
5572 # `unknown' -- same as none, but documents that we really don't know.
5573 # 'pass_all' -- all dependencies passed with no checks.
5574 # 'test_compile' -- check by making test program.
5575 # 'file_magic [[regex]]' -- check by looking for files in library path
5576 # which responds to the $file_magic_cmd with a given extended regex.
5577 # If you have `file' or equivalent on your system and you're not sure
5578 # whether `pass_all' will *always* work, you probably want this one.
5579
5580 case $host_os in
5581 aix[4-9]*)
5582   lt_cv_deplibs_check_method=pass_all
5583   ;;
5584
5585 beos*)
5586   lt_cv_deplibs_check_method=pass_all
5587   ;;
5588
5589 bsdi[45]*)
5590   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5591   lt_cv_file_magic_cmd='/usr/bin/file -L'
5592   lt_cv_file_magic_test_file=/shlib/libc.so
5593   ;;
5594
5595 cygwin*)
5596   # func_win32_libid is a shell function defined in ltmain.sh
5597   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5598   lt_cv_file_magic_cmd='func_win32_libid'
5599   ;;
5600
5601 mingw* | pw32*)
5602   # Base MSYS/MinGW do not provide the 'file' command needed by
5603   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5604   # unless we find 'file', for example because we are cross-compiling.
5605   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5606   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5607     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5608     lt_cv_file_magic_cmd='func_win32_libid'
5609   else
5610     # Keep this pattern in sync with the one in func_win32_libid.
5611     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5612     lt_cv_file_magic_cmd='$OBJDUMP -f'
5613   fi
5614   ;;
5615
5616 cegcc*)
5617   # use the weaker test based on 'objdump'. See mingw*.
5618   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5619   lt_cv_file_magic_cmd='$OBJDUMP -f'
5620   ;;
5621
5622 darwin* | rhapsody*)
5623   lt_cv_deplibs_check_method=pass_all
5624   ;;
5625
5626 freebsd* | dragonfly*)
5627   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5628     case $host_cpu in
5629     i*86 )
5630       # Not sure whether the presence of OpenBSD here was a mistake.
5631       # Let's accept both of them until this is cleared up.
5632       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5633       lt_cv_file_magic_cmd=/usr/bin/file
5634       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5635       ;;
5636     esac
5637   else
5638     lt_cv_deplibs_check_method=pass_all
5639   fi
5640   ;;
5641
5642 gnu*)
5643   lt_cv_deplibs_check_method=pass_all
5644   ;;
5645
5646 haiku*)
5647   lt_cv_deplibs_check_method=pass_all
5648   ;;
5649
5650 hpux10.20* | hpux11*)
5651   lt_cv_file_magic_cmd=/usr/bin/file
5652   case $host_cpu in
5653   ia64*)
5654     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5655     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5656     ;;
5657   hppa*64*)
5658     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]'
5659     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5660     ;;
5661   *)
5662     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5663     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5664     ;;
5665   esac
5666   ;;
5667
5668 interix[3-9]*)
5669   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5670   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5671   ;;
5672
5673 irix5* | irix6* | nonstopux*)
5674   case $LD in
5675   *-32|*"-32 ") libmagic=32-bit;;
5676   *-n32|*"-n32 ") libmagic=N32;;
5677   *-64|*"-64 ") libmagic=64-bit;;
5678   *) libmagic=never-match;;
5679   esac
5680   lt_cv_deplibs_check_method=pass_all
5681   ;;
5682
5683 # This must be glibc/ELF.
5684 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5685   lt_cv_deplibs_check_method=pass_all
5686   ;;
5687
5688 netbsd*)
5689   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5690     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5691   else
5692     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5693   fi
5694   ;;
5695
5696 newos6*)
5697   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5698   lt_cv_file_magic_cmd=/usr/bin/file
5699   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5700   ;;
5701
5702 *nto* | *qnx*)
5703   lt_cv_deplibs_check_method=pass_all
5704   ;;
5705
5706 openbsd*)
5707   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5708     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5709   else
5710     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5711   fi
5712   ;;
5713
5714 osf3* | osf4* | osf5*)
5715   lt_cv_deplibs_check_method=pass_all
5716   ;;
5717
5718 rdos*)
5719   lt_cv_deplibs_check_method=pass_all
5720   ;;
5721
5722 solaris*)
5723   lt_cv_deplibs_check_method=pass_all
5724   ;;
5725
5726 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5727   lt_cv_deplibs_check_method=pass_all
5728   ;;
5729
5730 sysv4 | sysv4.3*)
5731   case $host_vendor in
5732   motorola)
5733     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]'
5734     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5735     ;;
5736   ncr)
5737     lt_cv_deplibs_check_method=pass_all
5738     ;;
5739   sequent)
5740     lt_cv_file_magic_cmd='/bin/file'
5741     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5742     ;;
5743   sni)
5744     lt_cv_file_magic_cmd='/bin/file'
5745     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5746     lt_cv_file_magic_test_file=/lib/libc.so
5747     ;;
5748   siemens)
5749     lt_cv_deplibs_check_method=pass_all
5750     ;;
5751   pc)
5752     lt_cv_deplibs_check_method=pass_all
5753     ;;
5754   esac
5755   ;;
5756
5757 tpf*)
5758   lt_cv_deplibs_check_method=pass_all
5759   ;;
5760 esac
5761
5762 fi
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5764 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5765
5766 file_magic_glob=
5767 want_nocaseglob=no
5768 if test "$build" = "$host"; then
5769   case $host_os in
5770   mingw* | pw32*)
5771     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5772       want_nocaseglob=yes
5773     else
5774       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5775     fi
5776     ;;
5777   esac
5778 fi
5779
5780 file_magic_cmd=$lt_cv_file_magic_cmd
5781 deplibs_check_method=$lt_cv_deplibs_check_method
5782 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805 if test -n "$ac_tool_prefix"; then
5806   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5807 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5809 $as_echo_n "checking for $ac_word... " >&6; }
5810 if ${ac_cv_prog_DLLTOOL+:} false; then :
5811   $as_echo_n "(cached) " >&6
5812 else
5813   if test -n "$DLLTOOL"; then
5814   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5815 else
5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5817 for as_dir in $PATH
5818 do
5819   IFS=$as_save_IFS
5820   test -z "$as_dir" && as_dir=.
5821     for ac_exec_ext in '' $ac_executable_extensions; do
5822   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5823     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5824     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5825     break 2
5826   fi
5827 done
5828   done
5829 IFS=$as_save_IFS
5830
5831 fi
5832 fi
5833 DLLTOOL=$ac_cv_prog_DLLTOOL
5834 if test -n "$DLLTOOL"; then
5835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5836 $as_echo "$DLLTOOL" >&6; }
5837 else
5838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5839 $as_echo "no" >&6; }
5840 fi
5841
5842
5843 fi
5844 if test -z "$ac_cv_prog_DLLTOOL"; then
5845   ac_ct_DLLTOOL=$DLLTOOL
5846   # Extract the first word of "dlltool", so it can be a program name with args.
5847 set dummy dlltool; ac_word=$2
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5849 $as_echo_n "checking for $ac_word... " >&6; }
5850 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5851   $as_echo_n "(cached) " >&6
5852 else
5853   if test -n "$ac_ct_DLLTOOL"; then
5854   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5855 else
5856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5857 for as_dir in $PATH
5858 do
5859   IFS=$as_save_IFS
5860   test -z "$as_dir" && as_dir=.
5861     for ac_exec_ext in '' $ac_executable_extensions; do
5862   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5863     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5864     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5865     break 2
5866   fi
5867 done
5868   done
5869 IFS=$as_save_IFS
5870
5871 fi
5872 fi
5873 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5874 if test -n "$ac_ct_DLLTOOL"; then
5875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5876 $as_echo "$ac_ct_DLLTOOL" >&6; }
5877 else
5878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5879 $as_echo "no" >&6; }
5880 fi
5881
5882   if test "x$ac_ct_DLLTOOL" = x; then
5883     DLLTOOL="false"
5884   else
5885     case $cross_compiling:$ac_tool_warned in
5886 yes:)
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5889 ac_tool_warned=yes ;;
5890 esac
5891     DLLTOOL=$ac_ct_DLLTOOL
5892   fi
5893 else
5894   DLLTOOL="$ac_cv_prog_DLLTOOL"
5895 fi
5896
5897 test -z "$DLLTOOL" && DLLTOOL=dlltool
5898
5899
5900
5901
5902
5903
5904
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5906 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5907 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5908   $as_echo_n "(cached) " >&6
5909 else
5910   lt_cv_sharedlib_from_linklib_cmd='unknown'
5911
5912 case $host_os in
5913 cygwin* | mingw* | pw32* | cegcc*)
5914   # two different shell functions defined in ltmain.sh
5915   # decide which to use based on capabilities of $DLLTOOL
5916   case `$DLLTOOL --help 2>&1` in
5917   *--identify-strict*)
5918     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5919     ;;
5920   *)
5921     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5922     ;;
5923   esac
5924   ;;
5925 *)
5926   # fallback: assume linklib IS sharedlib
5927   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5928   ;;
5929 esac
5930
5931 fi
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5933 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5934 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5935 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5936
5937
5938
5939
5940
5941
5942
5943
5944 if test -n "$ac_tool_prefix"; then
5945   for ac_prog in ar
5946   do
5947     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5948 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5950 $as_echo_n "checking for $ac_word... " >&6; }
5951 if ${ac_cv_prog_AR+:} false; then :
5952   $as_echo_n "(cached) " >&6
5953 else
5954   if test -n "$AR"; then
5955   ac_cv_prog_AR="$AR" # Let the user override the test.
5956 else
5957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5958 for as_dir in $PATH
5959 do
5960   IFS=$as_save_IFS
5961   test -z "$as_dir" && as_dir=.
5962     for ac_exec_ext in '' $ac_executable_extensions; do
5963   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5964     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5965     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5966     break 2
5967   fi
5968 done
5969   done
5970 IFS=$as_save_IFS
5971
5972 fi
5973 fi
5974 AR=$ac_cv_prog_AR
5975 if test -n "$AR"; then
5976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5977 $as_echo "$AR" >&6; }
5978 else
5979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5980 $as_echo "no" >&6; }
5981 fi
5982
5983
5984     test -n "$AR" && break
5985   done
5986 fi
5987 if test -z "$AR"; then
5988   ac_ct_AR=$AR
5989   for ac_prog in ar
5990 do
5991   # Extract the first word of "$ac_prog", so it can be a program name with args.
5992 set dummy $ac_prog; ac_word=$2
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5994 $as_echo_n "checking for $ac_word... " >&6; }
5995 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5996   $as_echo_n "(cached) " >&6
5997 else
5998   if test -n "$ac_ct_AR"; then
5999   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6000 else
6001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6002 for as_dir in $PATH
6003 do
6004   IFS=$as_save_IFS
6005   test -z "$as_dir" && as_dir=.
6006     for ac_exec_ext in '' $ac_executable_extensions; do
6007   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6008     ac_cv_prog_ac_ct_AR="$ac_prog"
6009     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6010     break 2
6011   fi
6012 done
6013   done
6014 IFS=$as_save_IFS
6015
6016 fi
6017 fi
6018 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6019 if test -n "$ac_ct_AR"; then
6020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6021 $as_echo "$ac_ct_AR" >&6; }
6022 else
6023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6024 $as_echo "no" >&6; }
6025 fi
6026
6027
6028   test -n "$ac_ct_AR" && break
6029 done
6030
6031   if test "x$ac_ct_AR" = x; then
6032     AR="false"
6033   else
6034     case $cross_compiling:$ac_tool_warned in
6035 yes:)
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6037 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6038 ac_tool_warned=yes ;;
6039 esac
6040     AR=$ac_ct_AR
6041   fi
6042 fi
6043
6044 : ${AR=ar}
6045 : ${AR_FLAGS=cru}
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6058 $as_echo_n "checking for archiver @FILE support... " >&6; }
6059 if ${lt_cv_ar_at_file+:} false; then :
6060   $as_echo_n "(cached) " >&6
6061 else
6062   lt_cv_ar_at_file=no
6063    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6064 /* end confdefs.h.  */
6065
6066 int
6067 main ()
6068 {
6069
6070   ;
6071   return 0;
6072 }
6073 _ACEOF
6074 if ac_fn_c_try_compile "$LINENO"; then :
6075   echo conftest.$ac_objext > conftest.lst
6076       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6077       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6078   (eval $lt_ar_try) 2>&5
6079   ac_status=$?
6080   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6081   test $ac_status = 0; }
6082       if test "$ac_status" -eq 0; then
6083         # Ensure the archiver fails upon bogus file names.
6084         rm -f conftest.$ac_objext libconftest.a
6085         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6086   (eval $lt_ar_try) 2>&5
6087   ac_status=$?
6088   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6089   test $ac_status = 0; }
6090         if test "$ac_status" -ne 0; then
6091           lt_cv_ar_at_file=@
6092         fi
6093       fi
6094       rm -f conftest.* libconftest.a
6095
6096 fi
6097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6098
6099 fi
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6101 $as_echo "$lt_cv_ar_at_file" >&6; }
6102
6103 if test "x$lt_cv_ar_at_file" = xno; then
6104   archiver_list_spec=
6105 else
6106   archiver_list_spec=$lt_cv_ar_at_file
6107 fi
6108
6109
6110
6111
6112
6113
6114
6115 if test -n "$ac_tool_prefix"; then
6116   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6117 set dummy ${ac_tool_prefix}strip; ac_word=$2
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6119 $as_echo_n "checking for $ac_word... " >&6; }
6120 if ${ac_cv_prog_STRIP+:} false; then :
6121   $as_echo_n "(cached) " >&6
6122 else
6123   if test -n "$STRIP"; then
6124   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6125 else
6126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6127 for as_dir in $PATH
6128 do
6129   IFS=$as_save_IFS
6130   test -z "$as_dir" && as_dir=.
6131     for ac_exec_ext in '' $ac_executable_extensions; do
6132   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6133     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6134     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6135     break 2
6136   fi
6137 done
6138   done
6139 IFS=$as_save_IFS
6140
6141 fi
6142 fi
6143 STRIP=$ac_cv_prog_STRIP
6144 if test -n "$STRIP"; then
6145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6146 $as_echo "$STRIP" >&6; }
6147 else
6148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6149 $as_echo "no" >&6; }
6150 fi
6151
6152
6153 fi
6154 if test -z "$ac_cv_prog_STRIP"; then
6155   ac_ct_STRIP=$STRIP
6156   # Extract the first word of "strip", so it can be a program name with args.
6157 set dummy strip; ac_word=$2
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6159 $as_echo_n "checking for $ac_word... " >&6; }
6160 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6161   $as_echo_n "(cached) " >&6
6162 else
6163   if test -n "$ac_ct_STRIP"; then
6164   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6165 else
6166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6167 for as_dir in $PATH
6168 do
6169   IFS=$as_save_IFS
6170   test -z "$as_dir" && as_dir=.
6171     for ac_exec_ext in '' $ac_executable_extensions; do
6172   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6173     ac_cv_prog_ac_ct_STRIP="strip"
6174     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6175     break 2
6176   fi
6177 done
6178   done
6179 IFS=$as_save_IFS
6180
6181 fi
6182 fi
6183 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6184 if test -n "$ac_ct_STRIP"; then
6185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6186 $as_echo "$ac_ct_STRIP" >&6; }
6187 else
6188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6189 $as_echo "no" >&6; }
6190 fi
6191
6192   if test "x$ac_ct_STRIP" = x; then
6193     STRIP=":"
6194   else
6195     case $cross_compiling:$ac_tool_warned in
6196 yes:)
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6198 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6199 ac_tool_warned=yes ;;
6200 esac
6201     STRIP=$ac_ct_STRIP
6202   fi
6203 else
6204   STRIP="$ac_cv_prog_STRIP"
6205 fi
6206
6207 test -z "$STRIP" && STRIP=:
6208
6209
6210
6211
6212
6213
6214 if test -n "$ac_tool_prefix"; then
6215   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6216 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6218 $as_echo_n "checking for $ac_word... " >&6; }
6219 if ${ac_cv_prog_RANLIB+:} false; then :
6220   $as_echo_n "(cached) " >&6
6221 else
6222   if test -n "$RANLIB"; then
6223   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6224 else
6225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6226 for as_dir in $PATH
6227 do
6228   IFS=$as_save_IFS
6229   test -z "$as_dir" && as_dir=.
6230     for ac_exec_ext in '' $ac_executable_extensions; do
6231   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6232     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6233     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6234     break 2
6235   fi
6236 done
6237   done
6238 IFS=$as_save_IFS
6239
6240 fi
6241 fi
6242 RANLIB=$ac_cv_prog_RANLIB
6243 if test -n "$RANLIB"; then
6244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6245 $as_echo "$RANLIB" >&6; }
6246 else
6247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6248 $as_echo "no" >&6; }
6249 fi
6250
6251
6252 fi
6253 if test -z "$ac_cv_prog_RANLIB"; then
6254   ac_ct_RANLIB=$RANLIB
6255   # Extract the first word of "ranlib", so it can be a program name with args.
6256 set dummy ranlib; ac_word=$2
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6258 $as_echo_n "checking for $ac_word... " >&6; }
6259 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6260   $as_echo_n "(cached) " >&6
6261 else
6262   if test -n "$ac_ct_RANLIB"; then
6263   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6264 else
6265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6266 for as_dir in $PATH
6267 do
6268   IFS=$as_save_IFS
6269   test -z "$as_dir" && as_dir=.
6270     for ac_exec_ext in '' $ac_executable_extensions; do
6271   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6272     ac_cv_prog_ac_ct_RANLIB="ranlib"
6273     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6274     break 2
6275   fi
6276 done
6277   done
6278 IFS=$as_save_IFS
6279
6280 fi
6281 fi
6282 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6283 if test -n "$ac_ct_RANLIB"; then
6284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6285 $as_echo "$ac_ct_RANLIB" >&6; }
6286 else
6287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6288 $as_echo "no" >&6; }
6289 fi
6290
6291   if test "x$ac_ct_RANLIB" = x; then
6292     RANLIB=":"
6293   else
6294     case $cross_compiling:$ac_tool_warned in
6295 yes:)
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6297 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6298 ac_tool_warned=yes ;;
6299 esac
6300     RANLIB=$ac_ct_RANLIB
6301   fi
6302 else
6303   RANLIB="$ac_cv_prog_RANLIB"
6304 fi
6305
6306 test -z "$RANLIB" && RANLIB=:
6307
6308
6309
6310
6311
6312
6313 # Determine commands to create old-style static archives.
6314 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6315 old_postinstall_cmds='chmod 644 $oldlib'
6316 old_postuninstall_cmds=
6317
6318 if test -n "$RANLIB"; then
6319   case $host_os in
6320   openbsd*)
6321     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6322     ;;
6323   *)
6324     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6325     ;;
6326   esac
6327   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6328 fi
6329
6330 case $host_os in
6331   darwin*)
6332     lock_old_archive_extraction=yes ;;
6333   *)
6334     lock_old_archive_extraction=no ;;
6335 esac
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375 # If no C compiler was specified, use CC.
6376 LTCC=${LTCC-"$CC"}
6377
6378 # If no C compiler flags were specified, use CFLAGS.
6379 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6380
6381 # Allow CC to be a program name with arguments.
6382 compiler=$CC
6383
6384
6385 # Check for command to grab the raw symbol name followed by C symbol from nm.
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6387 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6388 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6389   $as_echo_n "(cached) " >&6
6390 else
6391
6392 # These are sane defaults that work on at least a few old systems.
6393 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6394
6395 # Character class describing NM global symbol codes.
6396 symcode='[BCDEGRST]'
6397
6398 # Regexp to match symbols that can be accessed directly from C.
6399 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6400
6401 # Define system-specific variables.
6402 case $host_os in
6403 aix*)
6404   symcode='[BCDT]'
6405   ;;
6406 cygwin* | mingw* | pw32* | cegcc*)
6407   symcode='[ABCDGISTW]'
6408   ;;
6409 hpux*)
6410   if test "$host_cpu" = ia64; then
6411     symcode='[ABCDEGRST]'
6412   fi
6413   ;;
6414 irix* | nonstopux*)
6415   symcode='[BCDEGRST]'
6416   ;;
6417 osf*)
6418   symcode='[BCDEGQRST]'
6419   ;;
6420 solaris*)
6421   symcode='[BDRT]'
6422   ;;
6423 sco3.2v5*)
6424   symcode='[DT]'
6425   ;;
6426 sysv4.2uw2*)
6427   symcode='[DT]'
6428   ;;
6429 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6430   symcode='[ABDT]'
6431   ;;
6432 sysv4)
6433   symcode='[DFNSTU]'
6434   ;;
6435 esac
6436
6437 # If we're using GNU nm, then use its standard symbol codes.
6438 case `$NM -V 2>&1` in
6439 *GNU* | *'with BFD'*)
6440   symcode='[ABCDGIRSTW]' ;;
6441 esac
6442
6443 # Transform an extracted symbol line into a proper C declaration.
6444 # Some systems (esp. on ia64) link data and code symbols differently,
6445 # so use this general approach.
6446 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6447
6448 # Transform an extracted symbol line into symbol name and symbol address
6449 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6450 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'"
6451
6452 # Handle CRLF in mingw tool chain
6453 opt_cr=
6454 case $build_os in
6455 mingw*)
6456   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6457   ;;
6458 esac
6459
6460 # Try without a prefix underscore, then with it.
6461 for ac_symprfx in "" "_"; do
6462
6463   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6464   symxfrm="\\1 $ac_symprfx\\2 \\2"
6465
6466   # Write the raw and C identifiers.
6467   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6468     # Fake it for dumpbin and say T for any non-static function
6469     # and D for any global variable.
6470     # Also find C++ and __fastcall symbols from MSVC++,
6471     # which start with @ or ?.
6472     lt_cv_sys_global_symbol_pipe="$AWK '"\
6473 "     {last_section=section; section=\$ 3};"\
6474 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6475 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6476 "     \$ 0!~/External *\|/{next};"\
6477 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6478 "     {if(hide[section]) next};"\
6479 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6480 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6481 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6482 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6483 "     ' prfx=^$ac_symprfx"
6484   else
6485     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6486   fi
6487   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6488
6489   # Check to see that the pipe works correctly.
6490   pipe_works=no
6491
6492   rm -f conftest*
6493   cat > conftest.$ac_ext <<_LT_EOF
6494 #ifdef __cplusplus
6495 extern "C" {
6496 #endif
6497 char nm_test_var;
6498 void nm_test_func(void);
6499 void nm_test_func(void){}
6500 #ifdef __cplusplus
6501 }
6502 #endif
6503 int main(){nm_test_var='a';nm_test_func();return(0);}
6504 _LT_EOF
6505
6506   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6507   (eval $ac_compile) 2>&5
6508   ac_status=$?
6509   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6510   test $ac_status = 0; }; then
6511     # Now try to grab the symbols.
6512     nlist=conftest.nm
6513     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6514   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6515   ac_status=$?
6516   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6517   test $ac_status = 0; } && test -s "$nlist"; then
6518       # Try sorting and uniquifying the output.
6519       if sort "$nlist" | uniq > "$nlist"T; then
6520         mv -f "$nlist"T "$nlist"
6521       else
6522         rm -f "$nlist"T
6523       fi
6524
6525       # Make sure that we snagged all the symbols we need.
6526       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6527         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6528           cat <<_LT_EOF > conftest.$ac_ext
6529 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6530 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6531 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6532    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6533 # define LT_DLSYM_CONST
6534 #elif defined(__osf__)
6535 /* This system does not cope well with relocations in const data.  */
6536 # define LT_DLSYM_CONST
6537 #else
6538 # define LT_DLSYM_CONST const
6539 #endif
6540
6541 #ifdef __cplusplus
6542 extern "C" {
6543 #endif
6544
6545 _LT_EOF
6546           # Now generate the symbol file.
6547           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6548
6549           cat <<_LT_EOF >> conftest.$ac_ext
6550
6551 /* The mapping between symbol names and symbols.  */
6552 LT_DLSYM_CONST struct {
6553   const char *name;
6554   void       *address;
6555 }
6556 lt__PROGRAM__LTX_preloaded_symbols[] =
6557 {
6558   { "@PROGRAM@", (void *) 0 },
6559 _LT_EOF
6560           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6561           cat <<\_LT_EOF >> conftest.$ac_ext
6562   {0, (void *) 0}
6563 };
6564
6565 /* This works around a problem in FreeBSD linker */
6566 #ifdef FREEBSD_WORKAROUND
6567 static const void *lt_preloaded_setup() {
6568   return lt__PROGRAM__LTX_preloaded_symbols;
6569 }
6570 #endif
6571
6572 #ifdef __cplusplus
6573 }
6574 #endif
6575 _LT_EOF
6576           # Now try linking the two files.
6577           mv conftest.$ac_objext conftstm.$ac_objext
6578           lt_globsym_save_LIBS=$LIBS
6579           lt_globsym_save_CFLAGS=$CFLAGS
6580           LIBS="conftstm.$ac_objext"
6581           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6582           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6583   (eval $ac_link) 2>&5
6584   ac_status=$?
6585   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6586   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6587             pipe_works=yes
6588           fi
6589           LIBS=$lt_globsym_save_LIBS
6590           CFLAGS=$lt_globsym_save_CFLAGS
6591         else
6592           echo "cannot find nm_test_func in $nlist" >&5
6593         fi
6594       else
6595         echo "cannot find nm_test_var in $nlist" >&5
6596       fi
6597     else
6598       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6599     fi
6600   else
6601     echo "$progname: failed program was:" >&5
6602     cat conftest.$ac_ext >&5
6603   fi
6604   rm -rf conftest* conftst*
6605
6606   # Do not use the global_symbol_pipe unless it works.
6607   if test "$pipe_works" = yes; then
6608     break
6609   else
6610     lt_cv_sys_global_symbol_pipe=
6611   fi
6612 done
6613
6614 fi
6615
6616 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6617   lt_cv_sys_global_symbol_to_cdecl=
6618 fi
6619 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6621 $as_echo "failed" >&6; }
6622 else
6623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6624 $as_echo "ok" >&6; }
6625 fi
6626
6627 # Response file support.
6628 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6629   nm_file_list_spec='@'
6630 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6631   nm_file_list_spec='@'
6632 fi
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6661 $as_echo_n "checking for sysroot... " >&6; }
6662
6663 # Check whether --with-sysroot was given.
6664 if test "${with_sysroot+set}" = set; then :
6665   withval=$with_sysroot;
6666 else
6667   with_sysroot=no
6668 fi
6669
6670
6671 lt_sysroot=
6672 case ${with_sysroot} in #(
6673  yes)
6674    if test "$GCC" = yes; then
6675      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6676    fi
6677    ;; #(
6678  /*)
6679    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6680    ;; #(
6681  no|'')
6682    ;; #(
6683  *)
6684    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6685 $as_echo "${with_sysroot}" >&6; }
6686    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6687    ;;
6688 esac
6689
6690  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6691 $as_echo "${lt_sysroot:-no}" >&6; }
6692
6693
6694
6695
6696
6697 # Check whether --enable-libtool-lock was given.
6698 if test "${enable_libtool_lock+set}" = set; then :
6699   enableval=$enable_libtool_lock;
6700 fi
6701
6702 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6703
6704 # Some flags need to be propagated to the compiler or linker for good
6705 # libtool support.
6706 case $host in
6707 ia64-*-hpux*)
6708   # Find out which ABI we are using.
6709   echo 'int i;' > conftest.$ac_ext
6710   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6711   (eval $ac_compile) 2>&5
6712   ac_status=$?
6713   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6714   test $ac_status = 0; }; then
6715     case `/usr/bin/file conftest.$ac_objext` in
6716       *ELF-32*)
6717         HPUX_IA64_MODE="32"
6718         ;;
6719       *ELF-64*)
6720         HPUX_IA64_MODE="64"
6721         ;;
6722     esac
6723   fi
6724   rm -rf conftest*
6725   ;;
6726 *-*-irix6*)
6727   # Find out which ABI we are using.
6728   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6729   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6730   (eval $ac_compile) 2>&5
6731   ac_status=$?
6732   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6733   test $ac_status = 0; }; then
6734     if test "$lt_cv_prog_gnu_ld" = yes; then
6735       case `/usr/bin/file conftest.$ac_objext` in
6736         *32-bit*)
6737           LD="${LD-ld} -melf32bsmip"
6738           ;;
6739         *N32*)
6740           LD="${LD-ld} -melf32bmipn32"
6741           ;;
6742         *64-bit*)
6743           LD="${LD-ld} -melf64bmip"
6744         ;;
6745       esac
6746     else
6747       case `/usr/bin/file conftest.$ac_objext` in
6748         *32-bit*)
6749           LD="${LD-ld} -32"
6750           ;;
6751         *N32*)
6752           LD="${LD-ld} -n32"
6753           ;;
6754         *64-bit*)
6755           LD="${LD-ld} -64"
6756           ;;
6757       esac
6758     fi
6759   fi
6760   rm -rf conftest*
6761   ;;
6762
6763 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6764 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6765   # Find out which ABI we are using.
6766   echo 'int i;' > conftest.$ac_ext
6767   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6768   (eval $ac_compile) 2>&5
6769   ac_status=$?
6770   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6771   test $ac_status = 0; }; then
6772     case `/usr/bin/file conftest.o` in
6773       *32-bit*)
6774         case $host in
6775           x86_64-*kfreebsd*-gnu)
6776             LD="${LD-ld} -m elf_i386_fbsd"
6777             ;;
6778           x86_64-*linux*)
6779             LD="${LD-ld} -m elf_i386"
6780             ;;
6781           ppc64-*linux*|powerpc64-*linux*)
6782             LD="${LD-ld} -m elf32ppclinux"
6783             ;;
6784           s390x-*linux*)
6785             LD="${LD-ld} -m elf_s390"
6786             ;;
6787           sparc64-*linux*)
6788             LD="${LD-ld} -m elf32_sparc"
6789             ;;
6790         esac
6791         ;;
6792       *64-bit*)
6793         case $host in
6794           x86_64-*kfreebsd*-gnu)
6795             LD="${LD-ld} -m elf_x86_64_fbsd"
6796             ;;
6797           x86_64-*linux*)
6798             LD="${LD-ld} -m elf_x86_64"
6799             ;;
6800           ppc*-*linux*|powerpc*-*linux*)
6801             LD="${LD-ld} -m elf64ppc"
6802             ;;
6803           s390*-*linux*|s390*-*tpf*)
6804             LD="${LD-ld} -m elf64_s390"
6805             ;;
6806           sparc*-*linux*)
6807             LD="${LD-ld} -m elf64_sparc"
6808             ;;
6809         esac
6810         ;;
6811     esac
6812   fi
6813   rm -rf conftest*
6814   ;;
6815
6816 *-*-sco3.2v5*)
6817   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6818   SAVE_CFLAGS="$CFLAGS"
6819   CFLAGS="$CFLAGS -belf"
6820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6821 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6822 if ${lt_cv_cc_needs_belf+:} false; then :
6823   $as_echo_n "(cached) " >&6
6824 else
6825   ac_ext=c
6826 ac_cpp='$CPP $CPPFLAGS'
6827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6830
6831      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6832 /* end confdefs.h.  */
6833
6834 int
6835 main ()
6836 {
6837
6838   ;
6839   return 0;
6840 }
6841 _ACEOF
6842 if ac_fn_c_try_link "$LINENO"; then :
6843   lt_cv_cc_needs_belf=yes
6844 else
6845   lt_cv_cc_needs_belf=no
6846 fi
6847 rm -f core conftest.err conftest.$ac_objext \
6848     conftest$ac_exeext conftest.$ac_ext
6849      ac_ext=c
6850 ac_cpp='$CPP $CPPFLAGS'
6851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6854
6855 fi
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6857 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6858   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6859     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6860     CFLAGS="$SAVE_CFLAGS"
6861   fi
6862   ;;
6863 *-*solaris*)
6864   # Find out which ABI we are using.
6865   echo 'int i;' > conftest.$ac_ext
6866   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6867   (eval $ac_compile) 2>&5
6868   ac_status=$?
6869   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6870   test $ac_status = 0; }; then
6871     case `/usr/bin/file conftest.o` in
6872     *64-bit*)
6873       case $lt_cv_prog_gnu_ld in
6874       yes*)
6875         case $host in
6876         i?86-*-solaris*)
6877           LD="${LD-ld} -m elf_x86_64"
6878           ;;
6879         sparc*-*-solaris*)
6880           LD="${LD-ld} -m elf64_sparc"
6881           ;;
6882         esac
6883         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6884         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6885           LD="${LD-ld}_sol2"
6886         fi
6887         ;;
6888       *)
6889         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6890           LD="${LD-ld} -64"
6891         fi
6892         ;;
6893       esac
6894       ;;
6895     esac
6896   fi
6897   rm -rf conftest*
6898   ;;
6899 esac
6900
6901 need_locks="$enable_libtool_lock"
6902
6903 if test -n "$ac_tool_prefix"; then
6904   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6905 set dummy ${ac_tool_prefix}mt; ac_word=$2
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6907 $as_echo_n "checking for $ac_word... " >&6; }
6908 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6909   $as_echo_n "(cached) " >&6
6910 else
6911   if test -n "$MANIFEST_TOOL"; then
6912   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6913 else
6914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6915 for as_dir in $PATH
6916 do
6917   IFS=$as_save_IFS
6918   test -z "$as_dir" && as_dir=.
6919     for ac_exec_ext in '' $ac_executable_extensions; do
6920   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6921     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6922     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6923     break 2
6924   fi
6925 done
6926   done
6927 IFS=$as_save_IFS
6928
6929 fi
6930 fi
6931 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6932 if test -n "$MANIFEST_TOOL"; then
6933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6934 $as_echo "$MANIFEST_TOOL" >&6; }
6935 else
6936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6937 $as_echo "no" >&6; }
6938 fi
6939
6940
6941 fi
6942 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6943   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6944   # Extract the first word of "mt", so it can be a program name with args.
6945 set dummy mt; ac_word=$2
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6947 $as_echo_n "checking for $ac_word... " >&6; }
6948 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6949   $as_echo_n "(cached) " >&6
6950 else
6951   if test -n "$ac_ct_MANIFEST_TOOL"; then
6952   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6953 else
6954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6955 for as_dir in $PATH
6956 do
6957   IFS=$as_save_IFS
6958   test -z "$as_dir" && as_dir=.
6959     for ac_exec_ext in '' $ac_executable_extensions; do
6960   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6961     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6962     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6963     break 2
6964   fi
6965 done
6966   done
6967 IFS=$as_save_IFS
6968
6969 fi
6970 fi
6971 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6972 if test -n "$ac_ct_MANIFEST_TOOL"; then
6973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6974 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6975 else
6976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6977 $as_echo "no" >&6; }
6978 fi
6979
6980   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6981     MANIFEST_TOOL=":"
6982   else
6983     case $cross_compiling:$ac_tool_warned in
6984 yes:)
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6986 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6987 ac_tool_warned=yes ;;
6988 esac
6989     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6990   fi
6991 else
6992   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6993 fi
6994
6995 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6997 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6998 if ${lt_cv_path_mainfest_tool+:} false; then :
6999   $as_echo_n "(cached) " >&6
7000 else
7001   lt_cv_path_mainfest_tool=no
7002   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7003   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7004   cat conftest.err >&5
7005   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7006     lt_cv_path_mainfest_tool=yes
7007   fi
7008   rm -f conftest*
7009 fi
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7011 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7012 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7013   MANIFEST_TOOL=:
7014 fi
7015
7016
7017
7018
7019
7020
7021   case $host_os in
7022     rhapsody* | darwin*)
7023     if test -n "$ac_tool_prefix"; then
7024   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7025 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7027 $as_echo_n "checking for $ac_word... " >&6; }
7028 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7029   $as_echo_n "(cached) " >&6
7030 else
7031   if test -n "$DSYMUTIL"; then
7032   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7033 else
7034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7035 for as_dir in $PATH
7036 do
7037   IFS=$as_save_IFS
7038   test -z "$as_dir" && as_dir=.
7039     for ac_exec_ext in '' $ac_executable_extensions; do
7040   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7041     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7042     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7043     break 2
7044   fi
7045 done
7046   done
7047 IFS=$as_save_IFS
7048
7049 fi
7050 fi
7051 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7052 if test -n "$DSYMUTIL"; then
7053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7054 $as_echo "$DSYMUTIL" >&6; }
7055 else
7056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7057 $as_echo "no" >&6; }
7058 fi
7059
7060
7061 fi
7062 if test -z "$ac_cv_prog_DSYMUTIL"; then
7063   ac_ct_DSYMUTIL=$DSYMUTIL
7064   # Extract the first word of "dsymutil", so it can be a program name with args.
7065 set dummy dsymutil; ac_word=$2
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7067 $as_echo_n "checking for $ac_word... " >&6; }
7068 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7069   $as_echo_n "(cached) " >&6
7070 else
7071   if test -n "$ac_ct_DSYMUTIL"; then
7072   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7073 else
7074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7075 for as_dir in $PATH
7076 do
7077   IFS=$as_save_IFS
7078   test -z "$as_dir" && as_dir=.
7079     for ac_exec_ext in '' $ac_executable_extensions; do
7080   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7081     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7082     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7083     break 2
7084   fi
7085 done
7086   done
7087 IFS=$as_save_IFS
7088
7089 fi
7090 fi
7091 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7092 if test -n "$ac_ct_DSYMUTIL"; then
7093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7094 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7095 else
7096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7097 $as_echo "no" >&6; }
7098 fi
7099
7100   if test "x$ac_ct_DSYMUTIL" = x; then
7101     DSYMUTIL=":"
7102   else
7103     case $cross_compiling:$ac_tool_warned in
7104 yes:)
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7107 ac_tool_warned=yes ;;
7108 esac
7109     DSYMUTIL=$ac_ct_DSYMUTIL
7110   fi
7111 else
7112   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7113 fi
7114
7115     if test -n "$ac_tool_prefix"; then
7116   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7117 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7119 $as_echo_n "checking for $ac_word... " >&6; }
7120 if ${ac_cv_prog_NMEDIT+:} false; then :
7121   $as_echo_n "(cached) " >&6
7122 else
7123   if test -n "$NMEDIT"; then
7124   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7125 else
7126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7127 for as_dir in $PATH
7128 do
7129   IFS=$as_save_IFS
7130   test -z "$as_dir" && as_dir=.
7131     for ac_exec_ext in '' $ac_executable_extensions; do
7132   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7133     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7134     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7135     break 2
7136   fi
7137 done
7138   done
7139 IFS=$as_save_IFS
7140
7141 fi
7142 fi
7143 NMEDIT=$ac_cv_prog_NMEDIT
7144 if test -n "$NMEDIT"; then
7145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7146 $as_echo "$NMEDIT" >&6; }
7147 else
7148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7149 $as_echo "no" >&6; }
7150 fi
7151
7152
7153 fi
7154 if test -z "$ac_cv_prog_NMEDIT"; then
7155   ac_ct_NMEDIT=$NMEDIT
7156   # Extract the first word of "nmedit", so it can be a program name with args.
7157 set dummy nmedit; ac_word=$2
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7159 $as_echo_n "checking for $ac_word... " >&6; }
7160 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7161   $as_echo_n "(cached) " >&6
7162 else
7163   if test -n "$ac_ct_NMEDIT"; then
7164   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7165 else
7166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7167 for as_dir in $PATH
7168 do
7169   IFS=$as_save_IFS
7170   test -z "$as_dir" && as_dir=.
7171     for ac_exec_ext in '' $ac_executable_extensions; do
7172   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7173     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7174     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7175     break 2
7176   fi
7177 done
7178   done
7179 IFS=$as_save_IFS
7180
7181 fi
7182 fi
7183 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7184 if test -n "$ac_ct_NMEDIT"; then
7185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7186 $as_echo "$ac_ct_NMEDIT" >&6; }
7187 else
7188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7189 $as_echo "no" >&6; }
7190 fi
7191
7192   if test "x$ac_ct_NMEDIT" = x; then
7193     NMEDIT=":"
7194   else
7195     case $cross_compiling:$ac_tool_warned in
7196 yes:)
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7198 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7199 ac_tool_warned=yes ;;
7200 esac
7201     NMEDIT=$ac_ct_NMEDIT
7202   fi
7203 else
7204   NMEDIT="$ac_cv_prog_NMEDIT"
7205 fi
7206
7207     if test -n "$ac_tool_prefix"; then
7208   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7209 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7211 $as_echo_n "checking for $ac_word... " >&6; }
7212 if ${ac_cv_prog_LIPO+:} false; then :
7213   $as_echo_n "(cached) " >&6
7214 else
7215   if test -n "$LIPO"; then
7216   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7217 else
7218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7219 for as_dir in $PATH
7220 do
7221   IFS=$as_save_IFS
7222   test -z "$as_dir" && as_dir=.
7223     for ac_exec_ext in '' $ac_executable_extensions; do
7224   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7225     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7226     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7227     break 2
7228   fi
7229 done
7230   done
7231 IFS=$as_save_IFS
7232
7233 fi
7234 fi
7235 LIPO=$ac_cv_prog_LIPO
7236 if test -n "$LIPO"; then
7237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7238 $as_echo "$LIPO" >&6; }
7239 else
7240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7241 $as_echo "no" >&6; }
7242 fi
7243
7244
7245 fi
7246 if test -z "$ac_cv_prog_LIPO"; then
7247   ac_ct_LIPO=$LIPO
7248   # Extract the first word of "lipo", so it can be a program name with args.
7249 set dummy lipo; ac_word=$2
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7251 $as_echo_n "checking for $ac_word... " >&6; }
7252 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7253   $as_echo_n "(cached) " >&6
7254 else
7255   if test -n "$ac_ct_LIPO"; then
7256   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7257 else
7258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7259 for as_dir in $PATH
7260 do
7261   IFS=$as_save_IFS
7262   test -z "$as_dir" && as_dir=.
7263     for ac_exec_ext in '' $ac_executable_extensions; do
7264   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7265     ac_cv_prog_ac_ct_LIPO="lipo"
7266     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7267     break 2
7268   fi
7269 done
7270   done
7271 IFS=$as_save_IFS
7272
7273 fi
7274 fi
7275 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7276 if test -n "$ac_ct_LIPO"; then
7277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7278 $as_echo "$ac_ct_LIPO" >&6; }
7279 else
7280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7281 $as_echo "no" >&6; }
7282 fi
7283
7284   if test "x$ac_ct_LIPO" = x; then
7285     LIPO=":"
7286   else
7287     case $cross_compiling:$ac_tool_warned in
7288 yes:)
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7291 ac_tool_warned=yes ;;
7292 esac
7293     LIPO=$ac_ct_LIPO
7294   fi
7295 else
7296   LIPO="$ac_cv_prog_LIPO"
7297 fi
7298
7299     if test -n "$ac_tool_prefix"; then
7300   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7301 set dummy ${ac_tool_prefix}otool; ac_word=$2
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7303 $as_echo_n "checking for $ac_word... " >&6; }
7304 if ${ac_cv_prog_OTOOL+:} false; then :
7305   $as_echo_n "(cached) " >&6
7306 else
7307   if test -n "$OTOOL"; then
7308   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7309 else
7310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7311 for as_dir in $PATH
7312 do
7313   IFS=$as_save_IFS
7314   test -z "$as_dir" && as_dir=.
7315     for ac_exec_ext in '' $ac_executable_extensions; do
7316   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7317     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7318     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7319     break 2
7320   fi
7321 done
7322   done
7323 IFS=$as_save_IFS
7324
7325 fi
7326 fi
7327 OTOOL=$ac_cv_prog_OTOOL
7328 if test -n "$OTOOL"; then
7329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7330 $as_echo "$OTOOL" >&6; }
7331 else
7332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7333 $as_echo "no" >&6; }
7334 fi
7335
7336
7337 fi
7338 if test -z "$ac_cv_prog_OTOOL"; then
7339   ac_ct_OTOOL=$OTOOL
7340   # Extract the first word of "otool", so it can be a program name with args.
7341 set dummy otool; ac_word=$2
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7343 $as_echo_n "checking for $ac_word... " >&6; }
7344 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7345   $as_echo_n "(cached) " >&6
7346 else
7347   if test -n "$ac_ct_OTOOL"; then
7348   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7349 else
7350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7351 for as_dir in $PATH
7352 do
7353   IFS=$as_save_IFS
7354   test -z "$as_dir" && as_dir=.
7355     for ac_exec_ext in '' $ac_executable_extensions; do
7356   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7357     ac_cv_prog_ac_ct_OTOOL="otool"
7358     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7359     break 2
7360   fi
7361 done
7362   done
7363 IFS=$as_save_IFS
7364
7365 fi
7366 fi
7367 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7368 if test -n "$ac_ct_OTOOL"; then
7369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7370 $as_echo "$ac_ct_OTOOL" >&6; }
7371 else
7372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7373 $as_echo "no" >&6; }
7374 fi
7375
7376   if test "x$ac_ct_OTOOL" = x; then
7377     OTOOL=":"
7378   else
7379     case $cross_compiling:$ac_tool_warned in
7380 yes:)
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7382 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7383 ac_tool_warned=yes ;;
7384 esac
7385     OTOOL=$ac_ct_OTOOL
7386   fi
7387 else
7388   OTOOL="$ac_cv_prog_OTOOL"
7389 fi
7390
7391     if test -n "$ac_tool_prefix"; then
7392   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7393 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7395 $as_echo_n "checking for $ac_word... " >&6; }
7396 if ${ac_cv_prog_OTOOL64+:} false; then :
7397   $as_echo_n "(cached) " >&6
7398 else
7399   if test -n "$OTOOL64"; then
7400   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7401 else
7402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7403 for as_dir in $PATH
7404 do
7405   IFS=$as_save_IFS
7406   test -z "$as_dir" && as_dir=.
7407     for ac_exec_ext in '' $ac_executable_extensions; do
7408   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7409     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7410     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7411     break 2
7412   fi
7413 done
7414   done
7415 IFS=$as_save_IFS
7416
7417 fi
7418 fi
7419 OTOOL64=$ac_cv_prog_OTOOL64
7420 if test -n "$OTOOL64"; then
7421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7422 $as_echo "$OTOOL64" >&6; }
7423 else
7424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7425 $as_echo "no" >&6; }
7426 fi
7427
7428
7429 fi
7430 if test -z "$ac_cv_prog_OTOOL64"; then
7431   ac_ct_OTOOL64=$OTOOL64
7432   # Extract the first word of "otool64", so it can be a program name with args.
7433 set dummy otool64; ac_word=$2
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7435 $as_echo_n "checking for $ac_word... " >&6; }
7436 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7437   $as_echo_n "(cached) " >&6
7438 else
7439   if test -n "$ac_ct_OTOOL64"; then
7440   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7441 else
7442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7443 for as_dir in $PATH
7444 do
7445   IFS=$as_save_IFS
7446   test -z "$as_dir" && as_dir=.
7447     for ac_exec_ext in '' $ac_executable_extensions; do
7448   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7449     ac_cv_prog_ac_ct_OTOOL64="otool64"
7450     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7451     break 2
7452   fi
7453 done
7454   done
7455 IFS=$as_save_IFS
7456
7457 fi
7458 fi
7459 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7460 if test -n "$ac_ct_OTOOL64"; then
7461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7462 $as_echo "$ac_ct_OTOOL64" >&6; }
7463 else
7464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7465 $as_echo "no" >&6; }
7466 fi
7467
7468   if test "x$ac_ct_OTOOL64" = x; then
7469     OTOOL64=":"
7470   else
7471     case $cross_compiling:$ac_tool_warned in
7472 yes:)
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7474 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7475 ac_tool_warned=yes ;;
7476 esac
7477     OTOOL64=$ac_ct_OTOOL64
7478   fi
7479 else
7480   OTOOL64="$ac_cv_prog_OTOOL64"
7481 fi
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7510 $as_echo_n "checking for -single_module linker flag... " >&6; }
7511 if ${lt_cv_apple_cc_single_mod+:} false; then :
7512   $as_echo_n "(cached) " >&6
7513 else
7514   lt_cv_apple_cc_single_mod=no
7515       if test -z "${LT_MULTI_MODULE}"; then
7516         # By default we will add the -single_module flag. You can override
7517         # by either setting the environment variable LT_MULTI_MODULE
7518         # non-empty at configure time, or by adding -multi_module to the
7519         # link flags.
7520         rm -rf libconftest.dylib*
7521         echo "int foo(void){return 1;}" > conftest.c
7522         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7523 -dynamiclib -Wl,-single_module conftest.c" >&5
7524         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7525           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7526         _lt_result=$?
7527         # If there is a non-empty error log, and "single_module"
7528         # appears in it, assume the flag caused a linker warning
7529         if test -s conftest.err && $GREP single_module conftest.err; then
7530           cat conftest.err >&5
7531         # Otherwise, if the output was created with a 0 exit code from
7532         # the compiler, it worked.
7533         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7534           lt_cv_apple_cc_single_mod=yes
7535         else
7536           cat conftest.err >&5
7537         fi
7538         rm -rf libconftest.dylib*
7539         rm -f conftest.*
7540       fi
7541 fi
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7543 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7544
7545     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7546 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7547 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7548   $as_echo_n "(cached) " >&6
7549 else
7550   lt_cv_ld_exported_symbols_list=no
7551       save_LDFLAGS=$LDFLAGS
7552       echo "_main" > conftest.sym
7553       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7554       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7555 /* end confdefs.h.  */
7556
7557 int
7558 main ()
7559 {
7560
7561   ;
7562   return 0;
7563 }
7564 _ACEOF
7565 if ac_fn_c_try_link "$LINENO"; then :
7566   lt_cv_ld_exported_symbols_list=yes
7567 else
7568   lt_cv_ld_exported_symbols_list=no
7569 fi
7570 rm -f core conftest.err conftest.$ac_objext \
7571     conftest$ac_exeext conftest.$ac_ext
7572         LDFLAGS="$save_LDFLAGS"
7573
7574 fi
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7576 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7577
7578     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7579 $as_echo_n "checking for -force_load linker flag... " >&6; }
7580 if ${lt_cv_ld_force_load+:} false; then :
7581   $as_echo_n "(cached) " >&6
7582 else
7583   lt_cv_ld_force_load=no
7584       cat > conftest.c << _LT_EOF
7585 int forced_loaded() { return 2;}
7586 _LT_EOF
7587       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7588       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7589       echo "$AR cru libconftest.a conftest.o" >&5
7590       $AR cru libconftest.a conftest.o 2>&5
7591       echo "$RANLIB libconftest.a" >&5
7592       $RANLIB libconftest.a 2>&5
7593       cat > conftest.c << _LT_EOF
7594 int main() { return 0;}
7595 _LT_EOF
7596       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7597       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7598       _lt_result=$?
7599       if test -s conftest.err && $GREP force_load conftest.err; then
7600         cat conftest.err >&5
7601       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7602         lt_cv_ld_force_load=yes
7603       else
7604         cat conftest.err >&5
7605       fi
7606         rm -f conftest.err libconftest.a conftest conftest.c
7607         rm -rf conftest.dSYM
7608
7609 fi
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7611 $as_echo "$lt_cv_ld_force_load" >&6; }
7612     case $host_os in
7613     rhapsody* | darwin1.[012])
7614       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7615     darwin1.*)
7616       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7617     darwin*) # darwin 5.x on
7618       # if running on 10.5 or later, the deployment target defaults
7619       # to the OS version, if on x86, and 10.4, the deployment
7620       # target defaults to 10.4. Don't you love it?
7621       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7622         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7623           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7624         10.[012]*)
7625           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7626         10.*)
7627           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7628       esac
7629     ;;
7630   esac
7631     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7632       _lt_dar_single_mod='$single_module'
7633     fi
7634     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7635       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7636     else
7637       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7638     fi
7639     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7640       _lt_dsymutil='~$DSYMUTIL $lib || :'
7641     else
7642       _lt_dsymutil=
7643     fi
7644     ;;
7645   esac
7646
7647 ac_ext=c
7648 ac_cpp='$CPP $CPPFLAGS'
7649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7653 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7654 # On Suns, sometimes $CPP names a directory.
7655 if test -n "$CPP" && test -d "$CPP"; then
7656   CPP=
7657 fi
7658 if test -z "$CPP"; then
7659   if ${ac_cv_prog_CPP+:} false; then :
7660   $as_echo_n "(cached) " >&6
7661 else
7662       # Double quotes because CPP needs to be expanded
7663     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7664     do
7665       ac_preproc_ok=false
7666 for ac_c_preproc_warn_flag in '' yes
7667 do
7668   # Use a header file that comes with gcc, so configuring glibc
7669   # with a fresh cross-compiler works.
7670   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7671   # <limits.h> exists even on freestanding compilers.
7672   # On the NeXT, cc -E runs the code through the compiler's parser,
7673   # not just through cpp. "Syntax error" is here to catch this case.
7674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7675 /* end confdefs.h.  */
7676 #ifdef __STDC__
7677 # include <limits.h>
7678 #else
7679 # include <assert.h>
7680 #endif
7681                      Syntax error
7682 _ACEOF
7683 if ac_fn_c_try_cpp "$LINENO"; then :
7684
7685 else
7686   # Broken: fails on valid input.
7687 continue
7688 fi
7689 rm -f conftest.err conftest.i conftest.$ac_ext
7690
7691   # OK, works on sane cases.  Now check whether nonexistent headers
7692   # can be detected and how.
7693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7694 /* end confdefs.h.  */
7695 #include <ac_nonexistent.h>
7696 _ACEOF
7697 if ac_fn_c_try_cpp "$LINENO"; then :
7698   # Broken: success on invalid input.
7699 continue
7700 else
7701   # Passes both tests.
7702 ac_preproc_ok=:
7703 break
7704 fi
7705 rm -f conftest.err conftest.i conftest.$ac_ext
7706
7707 done
7708 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7709 rm -f conftest.i conftest.err conftest.$ac_ext
7710 if $ac_preproc_ok; then :
7711   break
7712 fi
7713
7714     done
7715     ac_cv_prog_CPP=$CPP
7716
7717 fi
7718   CPP=$ac_cv_prog_CPP
7719 else
7720   ac_cv_prog_CPP=$CPP
7721 fi
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7723 $as_echo "$CPP" >&6; }
7724 ac_preproc_ok=false
7725 for ac_c_preproc_warn_flag in '' yes
7726 do
7727   # Use a header file that comes with gcc, so configuring glibc
7728   # with a fresh cross-compiler works.
7729   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7730   # <limits.h> exists even on freestanding compilers.
7731   # On the NeXT, cc -E runs the code through the compiler's parser,
7732   # not just through cpp. "Syntax error" is here to catch this case.
7733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7734 /* end confdefs.h.  */
7735 #ifdef __STDC__
7736 # include <limits.h>
7737 #else
7738 # include <assert.h>
7739 #endif
7740                      Syntax error
7741 _ACEOF
7742 if ac_fn_c_try_cpp "$LINENO"; then :
7743
7744 else
7745   # Broken: fails on valid input.
7746 continue
7747 fi
7748 rm -f conftest.err conftest.i conftest.$ac_ext
7749
7750   # OK, works on sane cases.  Now check whether nonexistent headers
7751   # can be detected and how.
7752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7753 /* end confdefs.h.  */
7754 #include <ac_nonexistent.h>
7755 _ACEOF
7756 if ac_fn_c_try_cpp "$LINENO"; then :
7757   # Broken: success on invalid input.
7758 continue
7759 else
7760   # Passes both tests.
7761 ac_preproc_ok=:
7762 break
7763 fi
7764 rm -f conftest.err conftest.i conftest.$ac_ext
7765
7766 done
7767 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7768 rm -f conftest.i conftest.err conftest.$ac_ext
7769 if $ac_preproc_ok; then :
7770
7771 else
7772   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7773 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7774 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7775 See \`config.log' for more details" "$LINENO" 5; }
7776 fi
7777
7778 ac_ext=c
7779 ac_cpp='$CPP $CPPFLAGS'
7780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7783
7784
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7786 $as_echo_n "checking for ANSI C header files... " >&6; }
7787 if ${ac_cv_header_stdc+:} false; then :
7788   $as_echo_n "(cached) " >&6
7789 else
7790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7791 /* end confdefs.h.  */
7792 #include <stdlib.h>
7793 #include <stdarg.h>
7794 #include <string.h>
7795 #include <float.h>
7796
7797 int
7798 main ()
7799 {
7800
7801   ;
7802   return 0;
7803 }
7804 _ACEOF
7805 if ac_fn_c_try_compile "$LINENO"; then :
7806   ac_cv_header_stdc=yes
7807 else
7808   ac_cv_header_stdc=no
7809 fi
7810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7811
7812 if test $ac_cv_header_stdc = yes; then
7813   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7815 /* end confdefs.h.  */
7816 #include <string.h>
7817
7818 _ACEOF
7819 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7820   $EGREP "memchr" >/dev/null 2>&1; then :
7821
7822 else
7823   ac_cv_header_stdc=no
7824 fi
7825 rm -f conftest*
7826
7827 fi
7828
7829 if test $ac_cv_header_stdc = yes; then
7830   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7832 /* end confdefs.h.  */
7833 #include <stdlib.h>
7834
7835 _ACEOF
7836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7837   $EGREP "free" >/dev/null 2>&1; then :
7838
7839 else
7840   ac_cv_header_stdc=no
7841 fi
7842 rm -f conftest*
7843
7844 fi
7845
7846 if test $ac_cv_header_stdc = yes; then
7847   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7848   if test "$cross_compiling" = yes; then :
7849   :
7850 else
7851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7852 /* end confdefs.h.  */
7853 #include <ctype.h>
7854 #include <stdlib.h>
7855 #if ((' ' & 0x0FF) == 0x020)
7856 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7857 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7858 #else
7859 # define ISLOWER(c) \
7860                    (('a' <= (c) && (c) <= 'i') \
7861                      || ('j' <= (c) && (c) <= 'r') \
7862                      || ('s' <= (c) && (c) <= 'z'))
7863 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7864 #endif
7865
7866 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7867 int
7868 main ()
7869 {
7870   int i;
7871   for (i = 0; i < 256; i++)
7872     if (XOR (islower (i), ISLOWER (i))
7873         || toupper (i) != TOUPPER (i))
7874       return 2;
7875   return 0;
7876 }
7877 _ACEOF
7878 if ac_fn_c_try_run "$LINENO"; then :
7879
7880 else
7881   ac_cv_header_stdc=no
7882 fi
7883 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7884   conftest.$ac_objext conftest.beam conftest.$ac_ext
7885 fi
7886
7887 fi
7888 fi
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7890 $as_echo "$ac_cv_header_stdc" >&6; }
7891 if test $ac_cv_header_stdc = yes; then
7892
7893 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7894
7895 fi
7896
7897 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7898 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7899                   inttypes.h stdint.h unistd.h
7900 do :
7901   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7902 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7903 "
7904 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7905   cat >>confdefs.h <<_ACEOF
7906 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7907 _ACEOF
7908
7909 fi
7910
7911 done
7912
7913
7914 for ac_header in dlfcn.h
7915 do :
7916   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7917 "
7918 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7919   cat >>confdefs.h <<_ACEOF
7920 #define HAVE_DLFCN_H 1
7921 _ACEOF
7922
7923 fi
7924
7925 done
7926
7927
7928
7929
7930
7931 # Set options
7932
7933
7934
7935         enable_dlopen=no
7936
7937
7938
7939             # Check whether --enable-shared was given.
7940 if test "${enable_shared+set}" = set; then :
7941   enableval=$enable_shared; p=${PACKAGE-default}
7942     case $enableval in
7943     yes) enable_shared=yes ;;
7944     no) enable_shared=no ;;
7945     *)
7946       enable_shared=no
7947       # Look at the argument we got.  We use all the common list separators.
7948       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7949       for pkg in $enableval; do
7950         IFS="$lt_save_ifs"
7951         if test "X$pkg" = "X$p"; then
7952           enable_shared=yes
7953         fi
7954       done
7955       IFS="$lt_save_ifs"
7956       ;;
7957     esac
7958 else
7959   enable_shared=yes
7960 fi
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970   # Check whether --enable-static was given.
7971 if test "${enable_static+set}" = set; then :
7972   enableval=$enable_static; p=${PACKAGE-default}
7973     case $enableval in
7974     yes) enable_static=yes ;;
7975     no) enable_static=no ;;
7976     *)
7977      enable_static=no
7978       # Look at the argument we got.  We use all the common list separators.
7979       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7980       for pkg in $enableval; do
7981         IFS="$lt_save_ifs"
7982         if test "X$pkg" = "X$p"; then
7983           enable_static=yes
7984         fi
7985       done
7986       IFS="$lt_save_ifs"
7987       ;;
7988     esac
7989 else
7990   enable_static=yes
7991 fi
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002 # Check whether --with-pic was given.
8003 if test "${with_pic+set}" = set; then :
8004   withval=$with_pic; lt_p=${PACKAGE-default}
8005     case $withval in
8006     yes|no) pic_mode=$withval ;;
8007     *)
8008       pic_mode=default
8009       # Look at the argument we got.  We use all the common list separators.
8010       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8011       for lt_pkg in $withval; do
8012         IFS="$lt_save_ifs"
8013         if test "X$lt_pkg" = "X$lt_p"; then
8014           pic_mode=yes
8015         fi
8016       done
8017       IFS="$lt_save_ifs"
8018       ;;
8019     esac
8020 else
8021   pic_mode=default
8022 fi
8023
8024
8025 test -z "$pic_mode" && pic_mode=default
8026
8027
8028
8029
8030
8031
8032
8033   # Check whether --enable-fast-install was given.
8034 if test "${enable_fast_install+set}" = set; then :
8035   enableval=$enable_fast_install; p=${PACKAGE-default}
8036     case $enableval in
8037     yes) enable_fast_install=yes ;;
8038     no) enable_fast_install=no ;;
8039     *)
8040       enable_fast_install=no
8041       # Look at the argument we got.  We use all the common list separators.
8042       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8043       for pkg in $enableval; do
8044         IFS="$lt_save_ifs"
8045         if test "X$pkg" = "X$p"; then
8046           enable_fast_install=yes
8047         fi
8048       done
8049       IFS="$lt_save_ifs"
8050       ;;
8051     esac
8052 else
8053   enable_fast_install=yes
8054 fi
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066 # This can be used to rebuild libtool when needed
8067 LIBTOOL_DEPS="$ltmain"
8068
8069 # Always use our own libtool.
8070 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101 test -z "$LN_S" && LN_S="ln -s"
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116 if test -n "${ZSH_VERSION+set}" ; then
8117    setopt NO_GLOB_SUBST
8118 fi
8119
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8121 $as_echo_n "checking for objdir... " >&6; }
8122 if ${lt_cv_objdir+:} false; then :
8123   $as_echo_n "(cached) " >&6
8124 else
8125   rm -f .libs 2>/dev/null
8126 mkdir .libs 2>/dev/null
8127 if test -d .libs; then
8128   lt_cv_objdir=.libs
8129 else
8130   # MS-DOS does not allow filenames that begin with a dot.
8131   lt_cv_objdir=_libs
8132 fi
8133 rmdir .libs 2>/dev/null
8134 fi
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8136 $as_echo "$lt_cv_objdir" >&6; }
8137 objdir=$lt_cv_objdir
8138
8139
8140
8141
8142
8143 cat >>confdefs.h <<_ACEOF
8144 #define LT_OBJDIR "$lt_cv_objdir/"
8145 _ACEOF
8146
8147
8148
8149
8150 case $host_os in
8151 aix3*)
8152   # AIX sometimes has problems with the GCC collect2 program.  For some
8153   # reason, if we set the COLLECT_NAMES environment variable, the problems
8154   # vanish in a puff of smoke.
8155   if test "X${COLLECT_NAMES+set}" != Xset; then
8156     COLLECT_NAMES=
8157     export COLLECT_NAMES
8158   fi
8159   ;;
8160 esac
8161
8162 # Global variables:
8163 ofile=libtool
8164 can_build_shared=yes
8165
8166 # All known linkers require a `.a' archive for static linking (except MSVC,
8167 # which needs '.lib').
8168 libext=a
8169
8170 with_gnu_ld="$lt_cv_prog_gnu_ld"
8171
8172 old_CC="$CC"
8173 old_CFLAGS="$CFLAGS"
8174
8175 # Set sane defaults for various variables
8176 test -z "$CC" && CC=cc
8177 test -z "$LTCC" && LTCC=$CC
8178 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8179 test -z "$LD" && LD=ld
8180 test -z "$ac_objext" && ac_objext=o
8181
8182 for cc_temp in $compiler""; do
8183   case $cc_temp in
8184     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8185     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8186     \-*) ;;
8187     *) break;;
8188   esac
8189 done
8190 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8191
8192
8193 # Only perform the check for file, if the check method requires it
8194 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8195 case $deplibs_check_method in
8196 file_magic*)
8197   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8198     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8199 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8200 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8201   $as_echo_n "(cached) " >&6
8202 else
8203   case $MAGIC_CMD in
8204 [\\/*] |  ?:[\\/]*)
8205   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8206   ;;
8207 *)
8208   lt_save_MAGIC_CMD="$MAGIC_CMD"
8209   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8210   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8211   for ac_dir in $ac_dummy; do
8212     IFS="$lt_save_ifs"
8213     test -z "$ac_dir" && ac_dir=.
8214     if test -f $ac_dir/${ac_tool_prefix}file; then
8215       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8216       if test -n "$file_magic_test_file"; then
8217         case $deplibs_check_method in
8218         "file_magic "*)
8219           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8220           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8221           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8222             $EGREP "$file_magic_regex" > /dev/null; then
8223             :
8224           else
8225             cat <<_LT_EOF 1>&2
8226
8227 *** Warning: the command libtool uses to detect shared libraries,
8228 *** $file_magic_cmd, produces output that libtool cannot recognize.
8229 *** The result is that libtool may fail to recognize shared libraries
8230 *** as such.  This will affect the creation of libtool libraries that
8231 *** depend on shared libraries, but programs linked with such libtool
8232 *** libraries will work regardless of this problem.  Nevertheless, you
8233 *** may want to report the problem to your system manager and/or to
8234 *** bug-libtool@gnu.org
8235
8236 _LT_EOF
8237           fi ;;
8238         esac
8239       fi
8240       break
8241     fi
8242   done
8243   IFS="$lt_save_ifs"
8244   MAGIC_CMD="$lt_save_MAGIC_CMD"
8245   ;;
8246 esac
8247 fi
8248
8249 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8250 if test -n "$MAGIC_CMD"; then
8251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8252 $as_echo "$MAGIC_CMD" >&6; }
8253 else
8254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8255 $as_echo "no" >&6; }
8256 fi
8257
8258
8259
8260
8261
8262 if test -z "$lt_cv_path_MAGIC_CMD"; then
8263   if test -n "$ac_tool_prefix"; then
8264     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8265 $as_echo_n "checking for file... " >&6; }
8266 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8267   $as_echo_n "(cached) " >&6
8268 else
8269   case $MAGIC_CMD in
8270 [\\/*] |  ?:[\\/]*)
8271   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8272   ;;
8273 *)
8274   lt_save_MAGIC_CMD="$MAGIC_CMD"
8275   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8276   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8277   for ac_dir in $ac_dummy; do
8278     IFS="$lt_save_ifs"
8279     test -z "$ac_dir" && ac_dir=.
8280     if test -f $ac_dir/file; then
8281       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8282       if test -n "$file_magic_test_file"; then
8283         case $deplibs_check_method in
8284         "file_magic "*)
8285           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8286           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8287           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8288             $EGREP "$file_magic_regex" > /dev/null; then
8289             :
8290           else
8291             cat <<_LT_EOF 1>&2
8292
8293 *** Warning: the command libtool uses to detect shared libraries,
8294 *** $file_magic_cmd, produces output that libtool cannot recognize.
8295 *** The result is that libtool may fail to recognize shared libraries
8296 *** as such.  This will affect the creation of libtool libraries that
8297 *** depend on shared libraries, but programs linked with such libtool
8298 *** libraries will work regardless of this problem.  Nevertheless, you
8299 *** may want to report the problem to your system manager and/or to
8300 *** bug-libtool@gnu.org
8301
8302 _LT_EOF
8303           fi ;;
8304         esac
8305       fi
8306       break
8307     fi
8308   done
8309   IFS="$lt_save_ifs"
8310   MAGIC_CMD="$lt_save_MAGIC_CMD"
8311   ;;
8312 esac
8313 fi
8314
8315 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8316 if test -n "$MAGIC_CMD"; then
8317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8318 $as_echo "$MAGIC_CMD" >&6; }
8319 else
8320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8321 $as_echo "no" >&6; }
8322 fi
8323
8324
8325   else
8326     MAGIC_CMD=:
8327   fi
8328 fi
8329
8330   fi
8331   ;;
8332 esac
8333
8334 # Use C for the default configuration in the libtool script
8335
8336 lt_save_CC="$CC"
8337 ac_ext=c
8338 ac_cpp='$CPP $CPPFLAGS'
8339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8342
8343
8344 # Source file extension for C test sources.
8345 ac_ext=c
8346
8347 # Object file extension for compiled C test sources.
8348 objext=o
8349 objext=$objext
8350
8351 # Code to be used in simple compile tests
8352 lt_simple_compile_test_code="int some_variable = 0;"
8353
8354 # Code to be used in simple link tests
8355 lt_simple_link_test_code='int main(){return(0);}'
8356
8357
8358
8359
8360
8361
8362
8363 # If no C compiler was specified, use CC.
8364 LTCC=${LTCC-"$CC"}
8365
8366 # If no C compiler flags were specified, use CFLAGS.
8367 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8368
8369 # Allow CC to be a program name with arguments.
8370 compiler=$CC
8371
8372 # Save the default compiler, since it gets overwritten when the other
8373 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8374 compiler_DEFAULT=$CC
8375
8376 # save warnings/boilerplate of simple test code
8377 ac_outfile=conftest.$ac_objext
8378 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8379 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8380 _lt_compiler_boilerplate=`cat conftest.err`
8381 $RM conftest*
8382
8383 ac_outfile=conftest.$ac_objext
8384 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8385 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8386 _lt_linker_boilerplate=`cat conftest.err`
8387 $RM -r conftest*
8388
8389
8390 ## CAVEAT EMPTOR:
8391 ## There is no encapsulation within the following macros, do not change
8392 ## the running order or otherwise move them around unless you know exactly
8393 ## what you are doing...
8394 if test -n "$compiler"; then
8395
8396 lt_prog_compiler_no_builtin_flag=
8397
8398 if test "$GCC" = yes; then
8399   case $cc_basename in
8400   nvcc*)
8401     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8402   *)
8403     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8404   esac
8405
8406   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8407 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8408 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8409   $as_echo_n "(cached) " >&6
8410 else
8411   lt_cv_prog_compiler_rtti_exceptions=no
8412    ac_outfile=conftest.$ac_objext
8413    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8414    lt_compiler_flag="-fno-rtti -fno-exceptions"
8415    # Insert the option either (1) after the last *FLAGS variable, or
8416    # (2) before a word containing "conftest.", or (3) at the end.
8417    # Note that $ac_compile itself does not contain backslashes and begins
8418    # with a dollar sign (not a hyphen), so the echo should work correctly.
8419    # The option is referenced via a variable to avoid confusing sed.
8420    lt_compile=`echo "$ac_compile" | $SED \
8421    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8422    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8423    -e 's:$: $lt_compiler_flag:'`
8424    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8425    (eval "$lt_compile" 2>conftest.err)
8426    ac_status=$?
8427    cat conftest.err >&5
8428    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429    if (exit $ac_status) && test -s "$ac_outfile"; then
8430      # The compiler can only warn and ignore the option if not recognized
8431      # So say no if there are warnings other than the usual output.
8432      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8433      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8434      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8435        lt_cv_prog_compiler_rtti_exceptions=yes
8436      fi
8437    fi
8438    $RM conftest*
8439
8440 fi
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8442 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8443
8444 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8445     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8446 else
8447     :
8448 fi
8449
8450 fi
8451
8452
8453
8454
8455
8456
8457   lt_prog_compiler_wl=
8458 lt_prog_compiler_pic=
8459 lt_prog_compiler_static=
8460
8461
8462   if test "$GCC" = yes; then
8463     lt_prog_compiler_wl='-Wl,'
8464     lt_prog_compiler_static='-static'
8465
8466     case $host_os in
8467       aix*)
8468       # All AIX code is PIC.
8469       if test "$host_cpu" = ia64; then
8470         # AIX 5 now supports IA64 processor
8471         lt_prog_compiler_static='-Bstatic'
8472       fi
8473       ;;
8474
8475     amigaos*)
8476       case $host_cpu in
8477       powerpc)
8478             # see comment about AmigaOS4 .so support
8479             lt_prog_compiler_pic='-fPIC'
8480         ;;
8481       m68k)
8482             # FIXME: we need at least 68020 code to build shared libraries, but
8483             # adding the `-m68020' flag to GCC prevents building anything better,
8484             # like `-m68040'.
8485             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8486         ;;
8487       esac
8488       ;;
8489
8490     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8491       # PIC is the default for these OSes.
8492       ;;
8493
8494     mingw* | cygwin* | pw32* | os2* | cegcc*)
8495       # This hack is so that the source file can tell whether it is being
8496       # built for inclusion in a dll (and should export symbols for example).
8497       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8498       # (--disable-auto-import) libraries
8499       lt_prog_compiler_pic='-DDLL_EXPORT'
8500       ;;
8501
8502     darwin* | rhapsody*)
8503       # PIC is the default on this platform
8504       # Common symbols not allowed in MH_DYLIB files
8505       lt_prog_compiler_pic='-fno-common'
8506       ;;
8507
8508     haiku*)
8509       # PIC is the default for Haiku.
8510       # The "-static" flag exists, but is broken.
8511       lt_prog_compiler_static=
8512       ;;
8513
8514     hpux*)
8515       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8516       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8517       # sets the default TLS model and affects inlining.
8518       case $host_cpu in
8519       hppa*64*)
8520         # +Z the default
8521         ;;
8522       *)
8523         lt_prog_compiler_pic='-fPIC'
8524         ;;
8525       esac
8526       ;;
8527
8528     interix[3-9]*)
8529       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8530       # Instead, we relocate shared libraries at runtime.
8531       ;;
8532
8533     msdosdjgpp*)
8534       # Just because we use GCC doesn't mean we suddenly get shared libraries
8535       # on systems that don't support them.
8536       lt_prog_compiler_can_build_shared=no
8537       enable_shared=no
8538       ;;
8539
8540     *nto* | *qnx*)
8541       # QNX uses GNU C++, but need to define -shared option too, otherwise
8542       # it will coredump.
8543       lt_prog_compiler_pic='-fPIC -shared'
8544       ;;
8545
8546     sysv4*MP*)
8547       if test -d /usr/nec; then
8548         lt_prog_compiler_pic=-Kconform_pic
8549       fi
8550       ;;
8551
8552     *)
8553       lt_prog_compiler_pic='-fPIC'
8554       ;;
8555     esac
8556
8557     case $cc_basename in
8558     nvcc*) # Cuda Compiler Driver 2.2
8559       lt_prog_compiler_wl='-Xlinker '
8560       if test -n "$lt_prog_compiler_pic"; then
8561         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8562       fi
8563       ;;
8564     esac
8565   else
8566     # PORTME Check for flag to pass linker flags through the system compiler.
8567     case $host_os in
8568     aix*)
8569       lt_prog_compiler_wl='-Wl,'
8570       if test "$host_cpu" = ia64; then
8571         # AIX 5 now supports IA64 processor
8572         lt_prog_compiler_static='-Bstatic'
8573       else
8574         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8575       fi
8576       ;;
8577
8578     mingw* | cygwin* | pw32* | os2* | cegcc*)
8579       # This hack is so that the source file can tell whether it is being
8580       # built for inclusion in a dll (and should export symbols for example).
8581       lt_prog_compiler_pic='-DDLL_EXPORT'
8582       ;;
8583
8584     hpux9* | hpux10* | hpux11*)
8585       lt_prog_compiler_wl='-Wl,'
8586       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8587       # not for PA HP-UX.
8588       case $host_cpu in
8589       hppa*64*|ia64*)
8590         # +Z the default
8591         ;;
8592       *)
8593         lt_prog_compiler_pic='+Z'
8594         ;;
8595       esac
8596       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8597       lt_prog_compiler_static='${wl}-a ${wl}archive'
8598       ;;
8599
8600     irix5* | irix6* | nonstopux*)
8601       lt_prog_compiler_wl='-Wl,'
8602       # PIC (with -KPIC) is the default.
8603       lt_prog_compiler_static='-non_shared'
8604       ;;
8605
8606     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8607       case $cc_basename in
8608       # old Intel for x86_64 which still supported -KPIC.
8609       ecc*)
8610         lt_prog_compiler_wl='-Wl,'
8611         lt_prog_compiler_pic='-KPIC'
8612         lt_prog_compiler_static='-static'
8613         ;;
8614       # icc used to be incompatible with GCC.
8615       # ICC 10 doesn't accept -KPIC any more.
8616       icc* | ifort*)
8617         lt_prog_compiler_wl='-Wl,'
8618         lt_prog_compiler_pic='-fPIC'
8619         lt_prog_compiler_static='-static'
8620         ;;
8621       # Lahey Fortran 8.1.
8622       lf95*)
8623         lt_prog_compiler_wl='-Wl,'
8624         lt_prog_compiler_pic='--shared'
8625         lt_prog_compiler_static='--static'
8626         ;;
8627       nagfor*)
8628         # NAG Fortran compiler
8629         lt_prog_compiler_wl='-Wl,-Wl,,'
8630         lt_prog_compiler_pic='-PIC'
8631         lt_prog_compiler_static='-Bstatic'
8632         ;;
8633       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8634         # Portland Group compilers (*not* the Pentium gcc compiler,
8635         # which looks to be a dead project)
8636         lt_prog_compiler_wl='-Wl,'
8637         lt_prog_compiler_pic='-fpic'
8638         lt_prog_compiler_static='-Bstatic'
8639         ;;
8640       ccc*)
8641         lt_prog_compiler_wl='-Wl,'
8642         # All Alpha code is PIC.
8643         lt_prog_compiler_static='-non_shared'
8644         ;;
8645       xl* | bgxl* | bgf* | mpixl*)
8646         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8647         lt_prog_compiler_wl='-Wl,'
8648         lt_prog_compiler_pic='-qpic'
8649         lt_prog_compiler_static='-qstaticlink'
8650         ;;
8651       *)
8652         case `$CC -V 2>&1 | sed 5q` in
8653         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8654           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8655           lt_prog_compiler_pic='-KPIC'
8656           lt_prog_compiler_static='-Bstatic'
8657           lt_prog_compiler_wl=''
8658           ;;
8659         *Sun\ F* | *Sun*Fortran*)
8660           lt_prog_compiler_pic='-KPIC'
8661           lt_prog_compiler_static='-Bstatic'
8662           lt_prog_compiler_wl='-Qoption ld '
8663           ;;
8664         *Sun\ C*)
8665           # Sun C 5.9
8666           lt_prog_compiler_pic='-KPIC'
8667           lt_prog_compiler_static='-Bstatic'
8668           lt_prog_compiler_wl='-Wl,'
8669           ;;
8670         *Intel*\ [CF]*Compiler*)
8671           lt_prog_compiler_wl='-Wl,'
8672           lt_prog_compiler_pic='-fPIC'
8673           lt_prog_compiler_static='-static'
8674           ;;
8675         *Portland\ Group*)
8676           lt_prog_compiler_wl='-Wl,'
8677           lt_prog_compiler_pic='-fpic'
8678           lt_prog_compiler_static='-Bstatic'
8679           ;;
8680         esac
8681         ;;
8682       esac
8683       ;;
8684
8685     newsos6)
8686       lt_prog_compiler_pic='-KPIC'
8687       lt_prog_compiler_static='-Bstatic'
8688       ;;
8689
8690     *nto* | *qnx*)
8691       # QNX uses GNU C++, but need to define -shared option too, otherwise
8692       # it will coredump.
8693       lt_prog_compiler_pic='-fPIC -shared'
8694       ;;
8695
8696     osf3* | osf4* | osf5*)
8697       lt_prog_compiler_wl='-Wl,'
8698       # All OSF/1 code is PIC.
8699       lt_prog_compiler_static='-non_shared'
8700       ;;
8701
8702     rdos*)
8703       lt_prog_compiler_static='-non_shared'
8704       ;;
8705
8706     solaris*)
8707       lt_prog_compiler_pic='-KPIC'
8708       lt_prog_compiler_static='-Bstatic'
8709       case $cc_basename in
8710       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8711         lt_prog_compiler_wl='-Qoption ld ';;
8712       *)
8713         lt_prog_compiler_wl='-Wl,';;
8714       esac
8715       ;;
8716
8717     sunos4*)
8718       lt_prog_compiler_wl='-Qoption ld '
8719       lt_prog_compiler_pic='-PIC'
8720       lt_prog_compiler_static='-Bstatic'
8721       ;;
8722
8723     sysv4 | sysv4.2uw2* | sysv4.3*)
8724       lt_prog_compiler_wl='-Wl,'
8725       lt_prog_compiler_pic='-KPIC'
8726       lt_prog_compiler_static='-Bstatic'
8727       ;;
8728
8729     sysv4*MP*)
8730       if test -d /usr/nec ;then
8731         lt_prog_compiler_pic='-Kconform_pic'
8732         lt_prog_compiler_static='-Bstatic'
8733       fi
8734       ;;
8735
8736     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8737       lt_prog_compiler_wl='-Wl,'
8738       lt_prog_compiler_pic='-KPIC'
8739       lt_prog_compiler_static='-Bstatic'
8740       ;;
8741
8742     unicos*)
8743       lt_prog_compiler_wl='-Wl,'
8744       lt_prog_compiler_can_build_shared=no
8745       ;;
8746
8747     uts4*)
8748       lt_prog_compiler_pic='-pic'
8749       lt_prog_compiler_static='-Bstatic'
8750       ;;
8751
8752     *)
8753       lt_prog_compiler_can_build_shared=no
8754       ;;
8755     esac
8756   fi
8757
8758 case $host_os in
8759   # For platforms which do not support PIC, -DPIC is meaningless:
8760   *djgpp*)
8761     lt_prog_compiler_pic=
8762     ;;
8763   *)
8764     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8765     ;;
8766 esac
8767
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8769 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8770 if ${lt_cv_prog_compiler_pic+:} false; then :
8771   $as_echo_n "(cached) " >&6
8772 else
8773   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8774 fi
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8776 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8777 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8778
8779 #
8780 # Check to make sure the PIC flag actually works.
8781 #
8782 if test -n "$lt_prog_compiler_pic"; then
8783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8784 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8785 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8786   $as_echo_n "(cached) " >&6
8787 else
8788   lt_cv_prog_compiler_pic_works=no
8789    ac_outfile=conftest.$ac_objext
8790    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8791    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8792    # Insert the option either (1) after the last *FLAGS variable, or
8793    # (2) before a word containing "conftest.", or (3) at the end.
8794    # Note that $ac_compile itself does not contain backslashes and begins
8795    # with a dollar sign (not a hyphen), so the echo should work correctly.
8796    # The option is referenced via a variable to avoid confusing sed.
8797    lt_compile=`echo "$ac_compile" | $SED \
8798    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8799    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8800    -e 's:$: $lt_compiler_flag:'`
8801    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8802    (eval "$lt_compile" 2>conftest.err)
8803    ac_status=$?
8804    cat conftest.err >&5
8805    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8806    if (exit $ac_status) && test -s "$ac_outfile"; then
8807      # The compiler can only warn and ignore the option if not recognized
8808      # So say no if there are warnings other than the usual output.
8809      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8810      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8811      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8812        lt_cv_prog_compiler_pic_works=yes
8813      fi
8814    fi
8815    $RM conftest*
8816
8817 fi
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8819 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8820
8821 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8822     case $lt_prog_compiler_pic in
8823      "" | " "*) ;;
8824      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8825      esac
8826 else
8827     lt_prog_compiler_pic=
8828      lt_prog_compiler_can_build_shared=no
8829 fi
8830
8831 fi
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843 #
8844 # Check to make sure the static flag actually works.
8845 #
8846 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8848 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8849 if ${lt_cv_prog_compiler_static_works+:} false; then :
8850   $as_echo_n "(cached) " >&6
8851 else
8852   lt_cv_prog_compiler_static_works=no
8853    save_LDFLAGS="$LDFLAGS"
8854    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8855    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8856    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8857      # The linker can only warn and ignore the option if not recognized
8858      # So say no if there are warnings
8859      if test -s conftest.err; then
8860        # Append any errors to the config.log.
8861        cat conftest.err 1>&5
8862        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8863        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8864        if diff conftest.exp conftest.er2 >/dev/null; then
8865          lt_cv_prog_compiler_static_works=yes
8866        fi
8867      else
8868        lt_cv_prog_compiler_static_works=yes
8869      fi
8870    fi
8871    $RM -r conftest*
8872    LDFLAGS="$save_LDFLAGS"
8873
8874 fi
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8876 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8877
8878 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8879     :
8880 else
8881     lt_prog_compiler_static=
8882 fi
8883
8884
8885
8886
8887
8888
8889
8890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8891 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8892 if ${lt_cv_prog_compiler_c_o+:} false; then :
8893   $as_echo_n "(cached) " >&6
8894 else
8895   lt_cv_prog_compiler_c_o=no
8896    $RM -r conftest 2>/dev/null
8897    mkdir conftest
8898    cd conftest
8899    mkdir out
8900    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8901
8902    lt_compiler_flag="-o out/conftest2.$ac_objext"
8903    # Insert the option either (1) after the last *FLAGS variable, or
8904    # (2) before a word containing "conftest.", or (3) at the end.
8905    # Note that $ac_compile itself does not contain backslashes and begins
8906    # with a dollar sign (not a hyphen), so the echo should work correctly.
8907    lt_compile=`echo "$ac_compile" | $SED \
8908    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8909    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8910    -e 's:$: $lt_compiler_flag:'`
8911    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8912    (eval "$lt_compile" 2>out/conftest.err)
8913    ac_status=$?
8914    cat out/conftest.err >&5
8915    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8916    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8917    then
8918      # The compiler can only warn and ignore the option if not recognized
8919      # So say no if there are warnings
8920      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8921      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8922      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8923        lt_cv_prog_compiler_c_o=yes
8924      fi
8925    fi
8926    chmod u+w . 2>&5
8927    $RM conftest*
8928    # SGI C++ compiler will create directory out/ii_files/ for
8929    # template instantiation
8930    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8931    $RM out/* && rmdir out
8932    cd ..
8933    $RM -r conftest
8934    $RM conftest*
8935
8936 fi
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8938 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8939
8940
8941
8942
8943
8944
8945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8946 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8947 if ${lt_cv_prog_compiler_c_o+:} false; then :
8948   $as_echo_n "(cached) " >&6
8949 else
8950   lt_cv_prog_compiler_c_o=no
8951    $RM -r conftest 2>/dev/null
8952    mkdir conftest
8953    cd conftest
8954    mkdir out
8955    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8956
8957    lt_compiler_flag="-o out/conftest2.$ac_objext"
8958    # Insert the option either (1) after the last *FLAGS variable, or
8959    # (2) before a word containing "conftest.", or (3) at the end.
8960    # Note that $ac_compile itself does not contain backslashes and begins
8961    # with a dollar sign (not a hyphen), so the echo should work correctly.
8962    lt_compile=`echo "$ac_compile" | $SED \
8963    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8964    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8965    -e 's:$: $lt_compiler_flag:'`
8966    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8967    (eval "$lt_compile" 2>out/conftest.err)
8968    ac_status=$?
8969    cat out/conftest.err >&5
8970    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8971    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8972    then
8973      # The compiler can only warn and ignore the option if not recognized
8974      # So say no if there are warnings
8975      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8976      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8977      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8978        lt_cv_prog_compiler_c_o=yes
8979      fi
8980    fi
8981    chmod u+w . 2>&5
8982    $RM conftest*
8983    # SGI C++ compiler will create directory out/ii_files/ for
8984    # template instantiation
8985    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8986    $RM out/* && rmdir out
8987    cd ..
8988    $RM -r conftest
8989    $RM conftest*
8990
8991 fi
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8993 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8994
8995
8996
8997
8998 hard_links="nottested"
8999 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9000   # do not overwrite the value of need_locks provided by the user
9001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9002 $as_echo_n "checking if we can lock with hard links... " >&6; }
9003   hard_links=yes
9004   $RM conftest*
9005   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9006   touch conftest.a
9007   ln conftest.a conftest.b 2>&5 || hard_links=no
9008   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9010 $as_echo "$hard_links" >&6; }
9011   if test "$hard_links" = no; then
9012     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9013 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9014     need_locks=warn
9015   fi
9016 else
9017   need_locks=no
9018 fi
9019
9020
9021
9022
9023
9024
9025   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9026 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9027
9028   runpath_var=
9029   allow_undefined_flag=
9030   always_export_symbols=no
9031   archive_cmds=
9032   archive_expsym_cmds=
9033   compiler_needs_object=no
9034   enable_shared_with_static_runtimes=no
9035   export_dynamic_flag_spec=
9036   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9037   hardcode_automatic=no
9038   hardcode_direct=no
9039   hardcode_direct_absolute=no
9040   hardcode_libdir_flag_spec=
9041   hardcode_libdir_separator=
9042   hardcode_minus_L=no
9043   hardcode_shlibpath_var=unsupported
9044   inherit_rpath=no
9045   link_all_deplibs=unknown
9046   module_cmds=
9047   module_expsym_cmds=
9048   old_archive_from_new_cmds=
9049   old_archive_from_expsyms_cmds=
9050   thread_safe_flag_spec=
9051   whole_archive_flag_spec=
9052   # include_expsyms should be a list of space-separated symbols to be *always*
9053   # included in the symbol list
9054   include_expsyms=
9055   # exclude_expsyms can be an extended regexp of symbols to exclude
9056   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9057   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9058   # as well as any symbol that contains `d'.
9059   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9060   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9061   # platforms (ab)use it in PIC code, but their linkers get confused if
9062   # the symbol is explicitly referenced.  Since portable code cannot
9063   # rely on this symbol name, it's probably fine to never include it in
9064   # preloaded symbol tables.
9065   # Exclude shared library initialization/finalization symbols.
9066   extract_expsyms_cmds=
9067
9068   case $host_os in
9069   cygwin* | mingw* | pw32* | cegcc*)
9070     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9071     # When not using gcc, we currently assume that we are using
9072     # Microsoft Visual C++.
9073     if test "$GCC" != yes; then
9074       with_gnu_ld=no
9075     fi
9076     ;;
9077   interix*)
9078     # we just hope/assume this is gcc and not c89 (= MSVC++)
9079     with_gnu_ld=yes
9080     ;;
9081   openbsd*)
9082     with_gnu_ld=no
9083     ;;
9084   esac
9085
9086   ld_shlibs=yes
9087
9088   # On some targets, GNU ld is compatible enough with the native linker
9089   # that we're better off using the native interface for both.
9090   lt_use_gnu_ld_interface=no
9091   if test "$with_gnu_ld" = yes; then
9092     case $host_os in
9093       aix*)
9094         # The AIX port of GNU ld has always aspired to compatibility
9095         # with the native linker.  However, as the warning in the GNU ld
9096         # block says, versions before 2.19.5* couldn't really create working
9097         # shared libraries, regardless of the interface used.
9098         case `$LD -v 2>&1` in
9099           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9100           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9101           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9102           *)
9103             lt_use_gnu_ld_interface=yes
9104             ;;
9105         esac
9106         ;;
9107       *)
9108         lt_use_gnu_ld_interface=yes
9109         ;;
9110     esac
9111   fi
9112
9113   if test "$lt_use_gnu_ld_interface" = yes; then
9114     # If archive_cmds runs LD, not CC, wlarc should be empty
9115     wlarc='${wl}'
9116
9117     # Set some defaults for GNU ld with shared library support. These
9118     # are reset later if shared libraries are not supported. Putting them
9119     # here allows them to be overridden if necessary.
9120     runpath_var=LD_RUN_PATH
9121     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9122     export_dynamic_flag_spec='${wl}--export-dynamic'
9123     # ancient GNU ld didn't support --whole-archive et. al.
9124     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9125       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9126     else
9127       whole_archive_flag_spec=
9128     fi
9129     supports_anon_versioning=no
9130     case `$LD -v 2>&1` in
9131       *GNU\ gold*) supports_anon_versioning=yes ;;
9132       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9133       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9134       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9135       *\ 2.11.*) ;; # other 2.11 versions
9136       *) supports_anon_versioning=yes ;;
9137     esac
9138
9139     # See if GNU ld supports shared libraries.
9140     case $host_os in
9141     aix[3-9]*)
9142       # On AIX/PPC, the GNU linker is very broken
9143       if test "$host_cpu" != ia64; then
9144         ld_shlibs=no
9145         cat <<_LT_EOF 1>&2
9146
9147 *** Warning: the GNU linker, at least up to release 2.19, is reported
9148 *** to be unable to reliably create shared libraries on AIX.
9149 *** Therefore, libtool is disabling shared libraries support.  If you
9150 *** really care for shared libraries, you may want to install binutils
9151 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9152 *** You will then need to restart the configuration process.
9153
9154 _LT_EOF
9155       fi
9156       ;;
9157
9158     amigaos*)
9159       case $host_cpu in
9160       powerpc)
9161             # see comment about AmigaOS4 .so support
9162             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9163             archive_expsym_cmds=''
9164         ;;
9165       m68k)
9166             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)'
9167             hardcode_libdir_flag_spec='-L$libdir'
9168             hardcode_minus_L=yes
9169         ;;
9170       esac
9171       ;;
9172
9173     beos*)
9174       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9175         allow_undefined_flag=unsupported
9176         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9177         # support --undefined.  This deserves some investigation.  FIXME
9178         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9179       else
9180         ld_shlibs=no
9181       fi
9182       ;;
9183
9184     cygwin* | mingw* | pw32* | cegcc*)
9185       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9186       # as there is no search path for DLLs.
9187       hardcode_libdir_flag_spec='-L$libdir'
9188       export_dynamic_flag_spec='${wl}--export-all-symbols'
9189       allow_undefined_flag=unsupported
9190       always_export_symbols=no
9191       enable_shared_with_static_runtimes=yes
9192       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'
9193       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9194
9195       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9196         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9197         # If the export-symbols file already is a .def file (1st line
9198         # is EXPORTS), use it as is; otherwise, prepend...
9199         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9200           cp $export_symbols $output_objdir/$soname.def;
9201         else
9202           echo EXPORTS > $output_objdir/$soname.def;
9203           cat $export_symbols >> $output_objdir/$soname.def;
9204         fi~
9205         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9206       else
9207         ld_shlibs=no
9208       fi
9209       ;;
9210
9211     haiku*)
9212       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9213       link_all_deplibs=yes
9214       ;;
9215
9216     interix[3-9]*)
9217       hardcode_direct=no
9218       hardcode_shlibpath_var=no
9219       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9220       export_dynamic_flag_spec='${wl}-E'
9221       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9222       # Instead, shared libraries are loaded at an image base (0x10000000 by
9223       # default) and relocated if they conflict, which is a slow very memory
9224       # consuming and fragmenting process.  To avoid this, we pick a random,
9225       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9226       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9227       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9228       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'
9229       ;;
9230
9231     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9232       tmp_diet=no
9233       if test "$host_os" = linux-dietlibc; then
9234         case $cc_basename in
9235           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9236         esac
9237       fi
9238       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9239          && test "$tmp_diet" = no
9240       then
9241         tmp_addflag=' $pic_flag'
9242         tmp_sharedflag='-shared'
9243         case $cc_basename,$host_cpu in
9244         pgcc*)                          # Portland Group C compiler
9245           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'
9246           tmp_addflag=' $pic_flag'
9247           ;;
9248         pgf77* | pgf90* | pgf95* | pgfortran*)
9249                                         # Portland Group f77 and f90 compilers
9250           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'
9251           tmp_addflag=' $pic_flag -Mnomain' ;;
9252         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9253           tmp_addflag=' -i_dynamic' ;;
9254         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9255           tmp_addflag=' -i_dynamic -nofor_main' ;;
9256         ifc* | ifort*)                  # Intel Fortran compiler
9257           tmp_addflag=' -nofor_main' ;;
9258         lf95*)                          # Lahey Fortran 8.1
9259           whole_archive_flag_spec=
9260           tmp_sharedflag='--shared' ;;
9261         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9262           tmp_sharedflag='-qmkshrobj'
9263           tmp_addflag= ;;
9264         nvcc*)  # Cuda Compiler Driver 2.2
9265           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'
9266           compiler_needs_object=yes
9267           ;;
9268         esac
9269         case `$CC -V 2>&1 | sed 5q` in
9270         *Sun\ C*)                       # Sun C 5.9
9271           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'
9272           compiler_needs_object=yes
9273           tmp_sharedflag='-G' ;;
9274         *Sun\ F*)                       # Sun Fortran 8.3
9275           tmp_sharedflag='-G' ;;
9276         esac
9277         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9278
9279         if test "x$supports_anon_versioning" = xyes; then
9280           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9281             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9282             echo "local: *; };" >> $output_objdir/$libname.ver~
9283             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9284         fi
9285
9286         case $cc_basename in
9287         xlf* | bgf* | bgxlf* | mpixlf*)
9288           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9289           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9290           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9291           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9292           if test "x$supports_anon_versioning" = xyes; then
9293             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9294               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9295               echo "local: *; };" >> $output_objdir/$libname.ver~
9296               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9297           fi
9298           ;;
9299         esac
9300       else
9301         ld_shlibs=no
9302       fi
9303       ;;
9304
9305     netbsd*)
9306       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9307         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9308         wlarc=
9309       else
9310         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9311         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9312       fi
9313       ;;
9314
9315     solaris*)
9316       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9317         ld_shlibs=no
9318         cat <<_LT_EOF 1>&2
9319
9320 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9321 *** create shared libraries on Solaris systems.  Therefore, libtool
9322 *** is disabling shared libraries support.  We urge you to upgrade GNU
9323 *** binutils to release 2.9.1 or newer.  Another option is to modify
9324 *** your PATH or compiler configuration so that the native linker is
9325 *** used, and then restart.
9326
9327 _LT_EOF
9328       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9329         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9330         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9331       else
9332         ld_shlibs=no
9333       fi
9334       ;;
9335
9336     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9337       case `$LD -v 2>&1` in
9338         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9339         ld_shlibs=no
9340         cat <<_LT_EOF 1>&2
9341
9342 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9343 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9344 *** is disabling shared libraries support.  We urge you to upgrade GNU
9345 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9346 *** your PATH or compiler configuration so that the native linker is
9347 *** used, and then restart.
9348
9349 _LT_EOF
9350         ;;
9351         *)
9352           # For security reasons, it is highly recommended that you always
9353           # use absolute paths for naming shared libraries, and exclude the
9354           # DT_RUNPATH tag from executables and libraries.  But doing so
9355           # requires that you compile everything twice, which is a pain.
9356           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9357             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9358             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9359             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9360           else
9361             ld_shlibs=no
9362           fi
9363         ;;
9364       esac
9365       ;;
9366
9367     sunos4*)
9368       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9369       wlarc=
9370       hardcode_direct=yes
9371       hardcode_shlibpath_var=no
9372       ;;
9373
9374     *)
9375       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9376         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9377         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9378       else
9379         ld_shlibs=no
9380       fi
9381       ;;
9382     esac
9383
9384     if test "$ld_shlibs" = no; then
9385       runpath_var=
9386       hardcode_libdir_flag_spec=
9387       export_dynamic_flag_spec=
9388       whole_archive_flag_spec=
9389     fi
9390   else
9391     # PORTME fill in a description of your system's linker (not GNU ld)
9392     case $host_os in
9393     aix3*)
9394       allow_undefined_flag=unsupported
9395       always_export_symbols=yes
9396       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'
9397       # Note: this linker hardcodes the directories in LIBPATH if there
9398       # are no directories specified by -L.
9399       hardcode_minus_L=yes
9400       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9401         # Neither direct hardcoding nor static linking is supported with a
9402         # broken collect2.
9403         hardcode_direct=unsupported
9404       fi
9405       ;;
9406
9407     aix[4-9]*)
9408       if test "$host_cpu" = ia64; then
9409         # On IA64, the linker does run time linking by default, so we don't
9410         # have to do anything special.
9411         aix_use_runtimelinking=no
9412         exp_sym_flag='-Bexport'
9413         no_entry_flag=""
9414       else
9415         # If we're using GNU nm, then we don't want the "-C" option.
9416         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9417         # Also, AIX nm treats weak defined symbols like other global
9418         # defined symbols, whereas GNU nm marks them as "W".
9419         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9420           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'
9421         else
9422           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'
9423         fi
9424         aix_use_runtimelinking=no
9425
9426         # Test if we are trying to use run time linking or normal
9427         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9428         # need to do runtime linking.
9429         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9430           for ld_flag in $LDFLAGS; do
9431           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9432             aix_use_runtimelinking=yes
9433             break
9434           fi
9435           done
9436           ;;
9437         esac
9438
9439         exp_sym_flag='-bexport'
9440         no_entry_flag='-bnoentry'
9441       fi
9442
9443       # When large executables or shared objects are built, AIX ld can
9444       # have problems creating the table of contents.  If linking a library
9445       # or program results in "error TOC overflow" add -mminimal-toc to
9446       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9447       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9448
9449       archive_cmds=''
9450       hardcode_direct=yes
9451       hardcode_direct_absolute=yes
9452       hardcode_libdir_separator=':'
9453       link_all_deplibs=yes
9454       file_list_spec='${wl}-f,'
9455
9456       if test "$GCC" = yes; then
9457         case $host_os in aix4.[012]|aix4.[012].*)
9458         # We only want to do this on AIX 4.2 and lower, the check
9459         # below for broken collect2 doesn't work under 4.3+
9460           collect2name=`${CC} -print-prog-name=collect2`
9461           if test -f "$collect2name" &&
9462            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9463           then
9464           # We have reworked collect2
9465           :
9466           else
9467           # We have old collect2
9468           hardcode_direct=unsupported
9469           # It fails to find uninstalled libraries when the uninstalled
9470           # path is not listed in the libpath.  Setting hardcode_minus_L
9471           # to unsupported forces relinking
9472           hardcode_minus_L=yes
9473           hardcode_libdir_flag_spec='-L$libdir'
9474           hardcode_libdir_separator=
9475           fi
9476           ;;
9477         esac
9478         shared_flag='-shared'
9479         if test "$aix_use_runtimelinking" = yes; then
9480           shared_flag="$shared_flag "'${wl}-G'
9481         fi
9482       else
9483         # not using gcc
9484         if test "$host_cpu" = ia64; then
9485         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9486         # chokes on -Wl,-G. The following line is correct:
9487           shared_flag='-G'
9488         else
9489           if test "$aix_use_runtimelinking" = yes; then
9490             shared_flag='${wl}-G'
9491           else
9492             shared_flag='${wl}-bM:SRE'
9493           fi
9494         fi
9495       fi
9496
9497       export_dynamic_flag_spec='${wl}-bexpall'
9498       # It seems that -bexpall does not export symbols beginning with
9499       # underscore (_), so it is better to generate a list of symbols to export.
9500       always_export_symbols=yes
9501       if test "$aix_use_runtimelinking" = yes; then
9502         # Warning - without using the other runtime loading flags (-brtl),
9503         # -berok will link without error, but may produce a broken library.
9504         allow_undefined_flag='-berok'
9505         # Determine the default libpath from the value encoded in an
9506         # empty executable.
9507         if test "${lt_cv_aix_libpath+set}" = set; then
9508   aix_libpath=$lt_cv_aix_libpath
9509 else
9510   if ${lt_cv_aix_libpath_+:} false; then :
9511   $as_echo_n "(cached) " >&6
9512 else
9513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9514 /* end confdefs.h.  */
9515
9516 int
9517 main ()
9518 {
9519
9520   ;
9521   return 0;
9522 }
9523 _ACEOF
9524 if ac_fn_c_try_link "$LINENO"; then :
9525
9526   lt_aix_libpath_sed='
9527       /Import File Strings/,/^$/ {
9528           /^0/ {
9529               s/^0  *\([^ ]*\) *$/\1/
9530               p
9531           }
9532       }'
9533   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9534   # Check for a 64-bit object if we didn't find anything.
9535   if test -z "$lt_cv_aix_libpath_"; then
9536     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9537   fi
9538 fi
9539 rm -f core conftest.err conftest.$ac_objext \
9540     conftest$ac_exeext conftest.$ac_ext
9541   if test -z "$lt_cv_aix_libpath_"; then
9542     lt_cv_aix_libpath_="/usr/lib:/lib"
9543   fi
9544
9545 fi
9546
9547   aix_libpath=$lt_cv_aix_libpath_
9548 fi
9549
9550         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9551         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"
9552       else
9553         if test "$host_cpu" = ia64; then
9554           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9555           allow_undefined_flag="-z nodefs"
9556           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"
9557         else
9558          # Determine the default libpath from the value encoded in an
9559          # empty executable.
9560          if test "${lt_cv_aix_libpath+set}" = set; then
9561   aix_libpath=$lt_cv_aix_libpath
9562 else
9563   if ${lt_cv_aix_libpath_+:} false; then :
9564   $as_echo_n "(cached) " >&6
9565 else
9566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9567 /* end confdefs.h.  */
9568
9569 int
9570 main ()
9571 {
9572
9573   ;
9574   return 0;
9575 }
9576 _ACEOF
9577 if ac_fn_c_try_link "$LINENO"; then :
9578
9579   lt_aix_libpath_sed='
9580       /Import File Strings/,/^$/ {
9581           /^0/ {
9582               s/^0  *\([^ ]*\) *$/\1/
9583               p
9584           }
9585       }'
9586   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9587   # Check for a 64-bit object if we didn't find anything.
9588   if test -z "$lt_cv_aix_libpath_"; then
9589     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9590   fi
9591 fi
9592 rm -f core conftest.err conftest.$ac_objext \
9593     conftest$ac_exeext conftest.$ac_ext
9594   if test -z "$lt_cv_aix_libpath_"; then
9595     lt_cv_aix_libpath_="/usr/lib:/lib"
9596   fi
9597
9598 fi
9599
9600   aix_libpath=$lt_cv_aix_libpath_
9601 fi
9602
9603          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9604           # Warning - without using the other run time loading flags,
9605           # -berok will link without error, but may produce a broken library.
9606           no_undefined_flag=' ${wl}-bernotok'
9607           allow_undefined_flag=' ${wl}-berok'
9608           if test "$with_gnu_ld" = yes; then
9609             # We only use this code for GNU lds that support --whole-archive.
9610             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9611           else
9612             # Exported symbols can be pulled into shared objects from archives
9613             whole_archive_flag_spec='$convenience'
9614           fi
9615           archive_cmds_need_lc=yes
9616           # This is similar to how AIX traditionally builds its shared libraries.
9617           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'
9618         fi
9619       fi
9620       ;;
9621
9622     amigaos*)
9623       case $host_cpu in
9624       powerpc)
9625             # see comment about AmigaOS4 .so support
9626             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9627             archive_expsym_cmds=''
9628         ;;
9629       m68k)
9630             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)'
9631             hardcode_libdir_flag_spec='-L$libdir'
9632             hardcode_minus_L=yes
9633         ;;
9634       esac
9635       ;;
9636
9637     bsdi[45]*)
9638       export_dynamic_flag_spec=-rdynamic
9639       ;;
9640
9641     cygwin* | mingw* | pw32* | cegcc*)
9642       # When not using gcc, we currently assume that we are using
9643       # Microsoft Visual C++.
9644       # hardcode_libdir_flag_spec is actually meaningless, as there is
9645       # no search path for DLLs.
9646       case $cc_basename in
9647       cl*)
9648         # Native MSVC
9649         hardcode_libdir_flag_spec=' '
9650         allow_undefined_flag=unsupported
9651         always_export_symbols=yes
9652         file_list_spec='@'
9653         # Tell ltmain to make .lib files, not .a files.
9654         libext=lib
9655         # Tell ltmain to make .dll files, not .so files.
9656         shrext_cmds=".dll"
9657         # FIXME: Setting linknames here is a bad hack.
9658         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9659         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9660             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9661           else
9662             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9663           fi~
9664           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9665           linknames='
9666         # The linker will not automatically build a static lib if we build a DLL.
9667         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9668         enable_shared_with_static_runtimes=yes
9669         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9670         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9671         # Don't use ranlib
9672         old_postinstall_cmds='chmod 644 $oldlib'
9673         postlink_cmds='lt_outputfile="@OUTPUT@"~
9674           lt_tool_outputfile="@TOOL_OUTPUT@"~
9675           case $lt_outputfile in
9676             *.exe|*.EXE) ;;
9677             *)
9678               lt_outputfile="$lt_outputfile.exe"
9679               lt_tool_outputfile="$lt_tool_outputfile.exe"
9680               ;;
9681           esac~
9682           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9683             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9684             $RM "$lt_outputfile.manifest";
9685           fi'
9686         ;;
9687       *)
9688         # Assume MSVC wrapper
9689         hardcode_libdir_flag_spec=' '
9690         allow_undefined_flag=unsupported
9691         # Tell ltmain to make .lib files, not .a files.
9692         libext=lib
9693         # Tell ltmain to make .dll files, not .so files.
9694         shrext_cmds=".dll"
9695         # FIXME: Setting linknames here is a bad hack.
9696         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9697         # The linker will automatically build a .lib file if we build a DLL.
9698         old_archive_from_new_cmds='true'
9699         # FIXME: Should let the user specify the lib program.
9700         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9701         enable_shared_with_static_runtimes=yes
9702         ;;
9703       esac
9704       ;;
9705
9706     darwin* | rhapsody*)
9707
9708
9709   archive_cmds_need_lc=no
9710   hardcode_direct=no
9711   hardcode_automatic=yes
9712   hardcode_shlibpath_var=unsupported
9713   if test "$lt_cv_ld_force_load" = "yes"; then
9714     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\"`'
9715
9716   else
9717     whole_archive_flag_spec=''
9718   fi
9719   link_all_deplibs=yes
9720   allow_undefined_flag="$_lt_dar_allow_undefined"
9721   case $cc_basename in
9722      ifort*) _lt_dar_can_shared=yes ;;
9723      *) _lt_dar_can_shared=$GCC ;;
9724   esac
9725   if test "$_lt_dar_can_shared" = "yes"; then
9726     output_verbose_link_cmd=func_echo_all
9727     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9728     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9729     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}"
9730     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}"
9731
9732   else
9733   ld_shlibs=no
9734   fi
9735
9736       ;;
9737
9738     dgux*)
9739       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9740       hardcode_libdir_flag_spec='-L$libdir'
9741       hardcode_shlibpath_var=no
9742       ;;
9743
9744     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9745     # support.  Future versions do this automatically, but an explicit c++rt0.o
9746     # does not break anything, and helps significantly (at the cost of a little
9747     # extra space).
9748     freebsd2.2*)
9749       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9750       hardcode_libdir_flag_spec='-R$libdir'
9751       hardcode_direct=yes
9752       hardcode_shlibpath_var=no
9753       ;;
9754
9755     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9756     freebsd2.*)
9757       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9758       hardcode_direct=yes
9759       hardcode_minus_L=yes
9760       hardcode_shlibpath_var=no
9761       ;;
9762
9763     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9764     freebsd* | dragonfly*)
9765       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9766       hardcode_libdir_flag_spec='-R$libdir'
9767       hardcode_direct=yes
9768       hardcode_shlibpath_var=no
9769       ;;
9770
9771     hpux9*)
9772       if test "$GCC" = yes; then
9773         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'
9774       else
9775         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'
9776       fi
9777       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9778       hardcode_libdir_separator=:
9779       hardcode_direct=yes
9780
9781       # hardcode_minus_L: Not really in the search PATH,
9782       # but as the default location of the library.
9783       hardcode_minus_L=yes
9784       export_dynamic_flag_spec='${wl}-E'
9785       ;;
9786
9787     hpux10*)
9788       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9789         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9790       else
9791         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9792       fi
9793       if test "$with_gnu_ld" = no; then
9794         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9795         hardcode_libdir_separator=:
9796         hardcode_direct=yes
9797         hardcode_direct_absolute=yes
9798         export_dynamic_flag_spec='${wl}-E'
9799         # hardcode_minus_L: Not really in the search PATH,
9800         # but as the default location of the library.
9801         hardcode_minus_L=yes
9802       fi
9803       ;;
9804
9805     hpux11*)
9806       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9807         case $host_cpu in
9808         hppa*64*)
9809           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9810           ;;
9811         ia64*)
9812           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9813           ;;
9814         *)
9815           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9816           ;;
9817         esac
9818       else
9819         case $host_cpu in
9820         hppa*64*)
9821           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9822           ;;
9823         ia64*)
9824           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9825           ;;
9826         *)
9827
9828           # Older versions of the 11.00 compiler do not understand -b yet
9829           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9830           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9831 $as_echo_n "checking if $CC understands -b... " >&6; }
9832 if ${lt_cv_prog_compiler__b+:} false; then :
9833   $as_echo_n "(cached) " >&6
9834 else
9835   lt_cv_prog_compiler__b=no
9836    save_LDFLAGS="$LDFLAGS"
9837    LDFLAGS="$LDFLAGS -b"
9838    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9839    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9840      # The linker can only warn and ignore the option if not recognized
9841      # So say no if there are warnings
9842      if test -s conftest.err; then
9843        # Append any errors to the config.log.
9844        cat conftest.err 1>&5
9845        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9846        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9847        if diff conftest.exp conftest.er2 >/dev/null; then
9848          lt_cv_prog_compiler__b=yes
9849        fi
9850      else
9851        lt_cv_prog_compiler__b=yes
9852      fi
9853    fi
9854    $RM -r conftest*
9855    LDFLAGS="$save_LDFLAGS"
9856
9857 fi
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9859 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9860
9861 if test x"$lt_cv_prog_compiler__b" = xyes; then
9862     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9863 else
9864     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9865 fi
9866
9867           ;;
9868         esac
9869       fi
9870       if test "$with_gnu_ld" = no; then
9871         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9872         hardcode_libdir_separator=:
9873
9874         case $host_cpu in
9875         hppa*64*|ia64*)
9876           hardcode_direct=no
9877           hardcode_shlibpath_var=no
9878           ;;
9879         *)
9880           hardcode_direct=yes
9881           hardcode_direct_absolute=yes
9882           export_dynamic_flag_spec='${wl}-E'
9883
9884           # hardcode_minus_L: Not really in the search PATH,
9885           # but as the default location of the library.
9886           hardcode_minus_L=yes
9887           ;;
9888         esac
9889       fi
9890       ;;
9891
9892     irix5* | irix6* | nonstopux*)
9893       if test "$GCC" = yes; then
9894         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'
9895         # Try to use the -exported_symbol ld option, if it does not
9896         # work, assume that -exports_file does not work either and
9897         # implicitly export all symbols.
9898         # This should be the same for all languages, so no per-tag cache variable.
9899         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9900 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9901 if ${lt_cv_irix_exported_symbol+:} false; then :
9902   $as_echo_n "(cached) " >&6
9903 else
9904   save_LDFLAGS="$LDFLAGS"
9905            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9906            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9907 /* end confdefs.h.  */
9908 int foo (void) { return 0; }
9909 _ACEOF
9910 if ac_fn_c_try_link "$LINENO"; then :
9911   lt_cv_irix_exported_symbol=yes
9912 else
9913   lt_cv_irix_exported_symbol=no
9914 fi
9915 rm -f core conftest.err conftest.$ac_objext \
9916     conftest$ac_exeext conftest.$ac_ext
9917            LDFLAGS="$save_LDFLAGS"
9918 fi
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9920 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9921         if test "$lt_cv_irix_exported_symbol" = yes; then
9922           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'
9923         fi
9924       else
9925         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'
9926         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'
9927       fi
9928       archive_cmds_need_lc='no'
9929       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9930       hardcode_libdir_separator=:
9931       inherit_rpath=yes
9932       link_all_deplibs=yes
9933       ;;
9934
9935     netbsd*)
9936       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9937         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9938       else
9939         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9940       fi
9941       hardcode_libdir_flag_spec='-R$libdir'
9942       hardcode_direct=yes
9943       hardcode_shlibpath_var=no
9944       ;;
9945
9946     newsos6)
9947       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9948       hardcode_direct=yes
9949       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9950       hardcode_libdir_separator=:
9951       hardcode_shlibpath_var=no
9952       ;;
9953
9954     *nto* | *qnx*)
9955       ;;
9956
9957     openbsd*)
9958       if test -f /usr/libexec/ld.so; then
9959         hardcode_direct=yes
9960         hardcode_shlibpath_var=no
9961         hardcode_direct_absolute=yes
9962         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9963           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9964           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9965           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9966           export_dynamic_flag_spec='${wl}-E'
9967         else
9968           case $host_os in
9969            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9970              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9971              hardcode_libdir_flag_spec='-R$libdir'
9972              ;;
9973            *)
9974              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9975              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9976              ;;
9977           esac
9978         fi
9979       else
9980         ld_shlibs=no
9981       fi
9982       ;;
9983
9984     os2*)
9985       hardcode_libdir_flag_spec='-L$libdir'
9986       hardcode_minus_L=yes
9987       allow_undefined_flag=unsupported
9988       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'
9989       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9990       ;;
9991
9992     osf3*)
9993       if test "$GCC" = yes; then
9994         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9995         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'
9996       else
9997         allow_undefined_flag=' -expect_unresolved \*'
9998         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'
9999       fi
10000       archive_cmds_need_lc='no'
10001       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10002       hardcode_libdir_separator=:
10003       ;;
10004
10005     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10006       if test "$GCC" = yes; then
10007         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10008         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'
10009         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10010       else
10011         allow_undefined_flag=' -expect_unresolved \*'
10012         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'
10013         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~
10014         $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'
10015
10016         # Both c and cxx compiler support -rpath directly
10017         hardcode_libdir_flag_spec='-rpath $libdir'
10018       fi
10019       archive_cmds_need_lc='no'
10020       hardcode_libdir_separator=:
10021       ;;
10022
10023     solaris*)
10024       no_undefined_flag=' -z defs'
10025       if test "$GCC" = yes; then
10026         wlarc='${wl}'
10027         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10028         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10029           $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'
10030       else
10031         case `$CC -V 2>&1` in
10032         *"Compilers 5.0"*)
10033           wlarc=''
10034           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10035           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10036           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10037           ;;
10038         *)
10039           wlarc='${wl}'
10040           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10041           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10042           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10043           ;;
10044         esac
10045       fi
10046       hardcode_libdir_flag_spec='-R$libdir'
10047       hardcode_shlibpath_var=no
10048       case $host_os in
10049       solaris2.[0-5] | solaris2.[0-5].*) ;;
10050       *)
10051         # The compiler driver will combine and reorder linker options,
10052         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10053         # but is careful enough not to reorder.
10054         # Supported since Solaris 2.6 (maybe 2.5.1?)
10055         if test "$GCC" = yes; then
10056           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10057         else
10058           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10059         fi
10060         ;;
10061       esac
10062       link_all_deplibs=yes
10063       ;;
10064
10065     sunos4*)
10066       if test "x$host_vendor" = xsequent; then
10067         # Use $CC to link under sequent, because it throws in some extra .o
10068         # files that make .init and .fini sections work.
10069         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10070       else
10071         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10072       fi
10073       hardcode_libdir_flag_spec='-L$libdir'
10074       hardcode_direct=yes
10075       hardcode_minus_L=yes
10076       hardcode_shlibpath_var=no
10077       ;;
10078
10079     sysv4)
10080       case $host_vendor in
10081         sni)
10082           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10083           hardcode_direct=yes # is this really true???
10084         ;;
10085         siemens)
10086           ## LD is ld it makes a PLAMLIB
10087           ## CC just makes a GrossModule.
10088           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10089           reload_cmds='$CC -r -o $output$reload_objs'
10090           hardcode_direct=no
10091         ;;
10092         motorola)
10093           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10094           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10095         ;;
10096       esac
10097       runpath_var='LD_RUN_PATH'
10098       hardcode_shlibpath_var=no
10099       ;;
10100
10101     sysv4.3*)
10102       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10103       hardcode_shlibpath_var=no
10104       export_dynamic_flag_spec='-Bexport'
10105       ;;
10106
10107     sysv4*MP*)
10108       if test -d /usr/nec; then
10109         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10110         hardcode_shlibpath_var=no
10111         runpath_var=LD_RUN_PATH
10112         hardcode_runpath_var=yes
10113         ld_shlibs=yes
10114       fi
10115       ;;
10116
10117     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10118       no_undefined_flag='${wl}-z,text'
10119       archive_cmds_need_lc=no
10120       hardcode_shlibpath_var=no
10121       runpath_var='LD_RUN_PATH'
10122
10123       if test "$GCC" = yes; then
10124         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10125         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10126       else
10127         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10128         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10129       fi
10130       ;;
10131
10132     sysv5* | sco3.2v5* | sco5v6*)
10133       # Note: We can NOT use -z defs as we might desire, because we do not
10134       # link with -lc, and that would cause any symbols used from libc to
10135       # always be unresolved, which means just about no library would
10136       # ever link correctly.  If we're not using GNU ld we use -z text
10137       # though, which does catch some bad symbols but isn't as heavy-handed
10138       # as -z defs.
10139       no_undefined_flag='${wl}-z,text'
10140       allow_undefined_flag='${wl}-z,nodefs'
10141       archive_cmds_need_lc=no
10142       hardcode_shlibpath_var=no
10143       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10144       hardcode_libdir_separator=':'
10145       link_all_deplibs=yes
10146       export_dynamic_flag_spec='${wl}-Bexport'
10147       runpath_var='LD_RUN_PATH'
10148
10149       if test "$GCC" = yes; then
10150         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10151         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10152       else
10153         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10154         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10155       fi
10156       ;;
10157
10158     uts4*)
10159       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10160       hardcode_libdir_flag_spec='-L$libdir'
10161       hardcode_shlibpath_var=no
10162       ;;
10163
10164     *)
10165       ld_shlibs=no
10166       ;;
10167     esac
10168
10169     if test x$host_vendor = xsni; then
10170       case $host in
10171       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10172         export_dynamic_flag_spec='${wl}-Blargedynsym'
10173         ;;
10174       esac
10175     fi
10176   fi
10177
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10179 $as_echo "$ld_shlibs" >&6; }
10180 test "$ld_shlibs" = no && can_build_shared=no
10181
10182 with_gnu_ld=$with_gnu_ld
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198 #
10199 # Do we need to explicitly link libc?
10200 #
10201 case "x$archive_cmds_need_lc" in
10202 x|xyes)
10203   # Assume -lc should be added
10204   archive_cmds_need_lc=yes
10205
10206   if test "$enable_shared" = yes && test "$GCC" = yes; then
10207     case $archive_cmds in
10208     *'~'*)
10209       # FIXME: we may have to deal with multi-command sequences.
10210       ;;
10211     '$CC '*)
10212       # Test whether the compiler implicitly links with -lc since on some
10213       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10214       # to ld, don't add -lc before -lgcc.
10215       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10216 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10217 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10218   $as_echo_n "(cached) " >&6
10219 else
10220   $RM conftest*
10221         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10222
10223         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10224   (eval $ac_compile) 2>&5
10225   ac_status=$?
10226   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10227   test $ac_status = 0; } 2>conftest.err; then
10228           soname=conftest
10229           lib=conftest
10230           libobjs=conftest.$ac_objext
10231           deplibs=
10232           wl=$lt_prog_compiler_wl
10233           pic_flag=$lt_prog_compiler_pic
10234           compiler_flags=-v
10235           linker_flags=-v
10236           verstring=
10237           output_objdir=.
10238           libname=conftest
10239           lt_save_allow_undefined_flag=$allow_undefined_flag
10240           allow_undefined_flag=
10241           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10242   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10243   ac_status=$?
10244   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10245   test $ac_status = 0; }
10246           then
10247             lt_cv_archive_cmds_need_lc=no
10248           else
10249             lt_cv_archive_cmds_need_lc=yes
10250           fi
10251           allow_undefined_flag=$lt_save_allow_undefined_flag
10252         else
10253           cat conftest.err 1>&5
10254         fi
10255         $RM conftest*
10256
10257 fi
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10259 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10260       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10261       ;;
10262     esac
10263   fi
10264   ;;
10265 esac
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10419 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10420
10421 if test "$GCC" = yes; then
10422   case $host_os in
10423     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10424     *) lt_awk_arg="/^libraries:/" ;;
10425   esac
10426   case $host_os in
10427     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10428     *) lt_sed_strip_eq="s,=/,/,g" ;;
10429   esac
10430   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10431   case $lt_search_path_spec in
10432   *\;*)
10433     # if the path contains ";" then we assume it to be the separator
10434     # otherwise default to the standard path separator (i.e. ":") - it is
10435     # assumed that no part of a normal pathname contains ";" but that should
10436     # okay in the real world where ";" in dirpaths is itself problematic.
10437     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10438     ;;
10439   *)
10440     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10441     ;;
10442   esac
10443   # Ok, now we have the path, separated by spaces, we can step through it
10444   # and add multilib dir if necessary.
10445   lt_tmp_lt_search_path_spec=
10446   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10447   for lt_sys_path in $lt_search_path_spec; do
10448     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10449       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10450     else
10451       test -d "$lt_sys_path" && \
10452         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10453     fi
10454   done
10455   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10456 BEGIN {RS=" "; FS="/|\n";} {
10457   lt_foo="";
10458   lt_count=0;
10459   for (lt_i = NF; lt_i > 0; lt_i--) {
10460     if ($lt_i != "" && $lt_i != ".") {
10461       if ($lt_i == "..") {
10462         lt_count++;
10463       } else {
10464         if (lt_count == 0) {
10465           lt_foo="/" $lt_i lt_foo;
10466         } else {
10467           lt_count--;
10468         }
10469       }
10470     }
10471   }
10472   if (lt_foo != "") { lt_freq[lt_foo]++; }
10473   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10474 }'`
10475   # AWK program above erroneously prepends '/' to C:/dos/paths
10476   # for these hosts.
10477   case $host_os in
10478     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10479       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10480   esac
10481   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10482 else
10483   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10484 fi
10485 library_names_spec=
10486 libname_spec='lib$name'
10487 soname_spec=
10488 shrext_cmds=".so"
10489 postinstall_cmds=
10490 postuninstall_cmds=
10491 finish_cmds=
10492 finish_eval=
10493 shlibpath_var=
10494 shlibpath_overrides_runpath=unknown
10495 version_type=none
10496 dynamic_linker="$host_os ld.so"
10497 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10498 need_lib_prefix=unknown
10499 hardcode_into_libs=no
10500
10501 # when you set need_version to no, make sure it does not cause -set_version
10502 # flags to be left without arguments
10503 need_version=unknown
10504
10505 case $host_os in
10506 aix3*)
10507   version_type=linux # correct to gnu/linux during the next big refactor
10508   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10509   shlibpath_var=LIBPATH
10510
10511   # AIX 3 has no versioning support, so we append a major version to the name.
10512   soname_spec='${libname}${release}${shared_ext}$major'
10513   ;;
10514
10515 aix[4-9]*)
10516   version_type=linux # correct to gnu/linux during the next big refactor
10517   need_lib_prefix=no
10518   need_version=no
10519   hardcode_into_libs=yes
10520   if test "$host_cpu" = ia64; then
10521     # AIX 5 supports IA64
10522     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10523     shlibpath_var=LD_LIBRARY_PATH
10524   else
10525     # With GCC up to 2.95.x, collect2 would create an import file
10526     # for dependence libraries.  The import file would start with
10527     # the line `#! .'.  This would cause the generated library to
10528     # depend on `.', always an invalid library.  This was fixed in
10529     # development snapshots of GCC prior to 3.0.
10530     case $host_os in
10531       aix4 | aix4.[01] | aix4.[01].*)
10532       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10533            echo ' yes '
10534            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10535         :
10536       else
10537         can_build_shared=no
10538       fi
10539       ;;
10540     esac
10541     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10542     # soname into executable. Probably we can add versioning support to
10543     # collect2, so additional links can be useful in future.
10544     if test "$aix_use_runtimelinking" = yes; then
10545       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10546       # instead of lib<name>.a to let people know that these are not
10547       # typical AIX shared libraries.
10548       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10549     else
10550       # We preserve .a as extension for shared libraries through AIX4.2
10551       # and later when we are not doing run time linking.
10552       library_names_spec='${libname}${release}.a $libname.a'
10553       soname_spec='${libname}${release}${shared_ext}$major'
10554     fi
10555     shlibpath_var=LIBPATH
10556   fi
10557   ;;
10558
10559 amigaos*)
10560   case $host_cpu in
10561   powerpc)
10562     # Since July 2007 AmigaOS4 officially supports .so libraries.
10563     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10564     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10565     ;;
10566   m68k)
10567     library_names_spec='$libname.ixlibrary $libname.a'
10568     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10569     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'
10570     ;;
10571   esac
10572   ;;
10573
10574 beos*)
10575   library_names_spec='${libname}${shared_ext}'
10576   dynamic_linker="$host_os ld.so"
10577   shlibpath_var=LIBRARY_PATH
10578   ;;
10579
10580 bsdi[45]*)
10581   version_type=linux # correct to gnu/linux during the next big refactor
10582   need_version=no
10583   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10584   soname_spec='${libname}${release}${shared_ext}$major'
10585   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10586   shlibpath_var=LD_LIBRARY_PATH
10587   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10588   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10589   # the default ld.so.conf also contains /usr/contrib/lib and
10590   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10591   # libtool to hard-code these into programs
10592   ;;
10593
10594 cygwin* | mingw* | pw32* | cegcc*)
10595   version_type=windows
10596   shrext_cmds=".dll"
10597   need_version=no
10598   need_lib_prefix=no
10599
10600   case $GCC,$cc_basename in
10601   yes,*)
10602     # gcc
10603     library_names_spec='$libname.dll.a'
10604     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10605     postinstall_cmds='base_file=`basename \${file}`~
10606       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10607       dldir=$destdir/`dirname \$dlpath`~
10608       test -d \$dldir || mkdir -p \$dldir~
10609       $install_prog $dir/$dlname \$dldir/$dlname~
10610       chmod a+x \$dldir/$dlname~
10611       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10612         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10613       fi'
10614     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10615       dlpath=$dir/\$dldll~
10616        $RM \$dlpath'
10617     shlibpath_overrides_runpath=yes
10618
10619     case $host_os in
10620     cygwin*)
10621       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10622       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10623
10624       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10625       ;;
10626     mingw* | cegcc*)
10627       # MinGW DLLs use traditional 'lib' prefix
10628       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10629       ;;
10630     pw32*)
10631       # pw32 DLLs use 'pw' prefix rather than 'lib'
10632       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10633       ;;
10634     esac
10635     dynamic_linker='Win32 ld.exe'
10636     ;;
10637
10638   *,cl*)
10639     # Native MSVC
10640     libname_spec='$name'
10641     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10642     library_names_spec='${libname}.dll.lib'
10643
10644     case $build_os in
10645     mingw*)
10646       sys_lib_search_path_spec=
10647       lt_save_ifs=$IFS
10648       IFS=';'
10649       for lt_path in $LIB
10650       do
10651         IFS=$lt_save_ifs
10652         # Let DOS variable expansion print the short 8.3 style file name.
10653         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10654         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10655       done
10656       IFS=$lt_save_ifs
10657       # Convert to MSYS style.
10658       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10659       ;;
10660     cygwin*)
10661       # Convert to unix form, then to dos form, then back to unix form
10662       # but this time dos style (no spaces!) so that the unix form looks
10663       # like /cygdrive/c/PROGRA~1:/cygdr...
10664       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10665       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10666       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10667       ;;
10668     *)
10669       sys_lib_search_path_spec="$LIB"
10670       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10671         # It is most probably a Windows format PATH.
10672         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10673       else
10674         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10675       fi
10676       # FIXME: find the short name or the path components, as spaces are
10677       # common. (e.g. "Program Files" -> "PROGRA~1")
10678       ;;
10679     esac
10680
10681     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10682     postinstall_cmds='base_file=`basename \${file}`~
10683       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10684       dldir=$destdir/`dirname \$dlpath`~
10685       test -d \$dldir || mkdir -p \$dldir~
10686       $install_prog $dir/$dlname \$dldir/$dlname'
10687     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10688       dlpath=$dir/\$dldll~
10689        $RM \$dlpath'
10690     shlibpath_overrides_runpath=yes
10691     dynamic_linker='Win32 link.exe'
10692     ;;
10693
10694   *)
10695     # Assume MSVC wrapper
10696     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10697     dynamic_linker='Win32 ld.exe'
10698     ;;
10699   esac
10700   # FIXME: first we should search . and the directory the executable is in
10701   shlibpath_var=PATH
10702   ;;
10703
10704 darwin* | rhapsody*)
10705   dynamic_linker="$host_os dyld"
10706   version_type=darwin
10707   need_lib_prefix=no
10708   need_version=no
10709   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10710   soname_spec='${libname}${release}${major}$shared_ext'
10711   shlibpath_overrides_runpath=yes
10712   shlibpath_var=DYLD_LIBRARY_PATH
10713   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10714
10715   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10716   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10717   ;;
10718
10719 dgux*)
10720   version_type=linux # correct to gnu/linux during the next big refactor
10721   need_lib_prefix=no
10722   need_version=no
10723   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10724   soname_spec='${libname}${release}${shared_ext}$major'
10725   shlibpath_var=LD_LIBRARY_PATH
10726   ;;
10727
10728 freebsd* | dragonfly*)
10729   # DragonFly does not have aout.  When/if they implement a new
10730   # versioning mechanism, adjust this.
10731   if test -x /usr/bin/objformat; then
10732     objformat=`/usr/bin/objformat`
10733   else
10734     case $host_os in
10735     freebsd[23].*) objformat=aout ;;
10736     *) objformat=elf ;;
10737     esac
10738   fi
10739   version_type=freebsd-$objformat
10740   case $version_type in
10741     freebsd-elf*)
10742       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10743       need_version=no
10744       need_lib_prefix=no
10745       ;;
10746     freebsd-*)
10747       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10748       need_version=yes
10749       ;;
10750   esac
10751   shlibpath_var=LD_LIBRARY_PATH
10752   case $host_os in
10753   freebsd2.*)
10754     shlibpath_overrides_runpath=yes
10755     ;;
10756   freebsd3.[01]* | freebsdelf3.[01]*)
10757     shlibpath_overrides_runpath=yes
10758     hardcode_into_libs=yes
10759     ;;
10760   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10761   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10762     shlibpath_overrides_runpath=no
10763     hardcode_into_libs=yes
10764     ;;
10765   *) # from 4.6 on, and DragonFly
10766     shlibpath_overrides_runpath=yes
10767     hardcode_into_libs=yes
10768     ;;
10769   esac
10770   ;;
10771
10772 gnu*)
10773   version_type=linux # correct to gnu/linux during the next big refactor
10774   need_lib_prefix=no
10775   need_version=no
10776   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10777   soname_spec='${libname}${release}${shared_ext}$major'
10778   shlibpath_var=LD_LIBRARY_PATH
10779   shlibpath_overrides_runpath=no
10780   hardcode_into_libs=yes
10781   ;;
10782
10783 haiku*)
10784   version_type=linux # correct to gnu/linux during the next big refactor
10785   need_lib_prefix=no
10786   need_version=no
10787   dynamic_linker="$host_os runtime_loader"
10788   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10789   soname_spec='${libname}${release}${shared_ext}$major'
10790   shlibpath_var=LIBRARY_PATH
10791   shlibpath_overrides_runpath=yes
10792   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10793   hardcode_into_libs=yes
10794   ;;
10795
10796 hpux9* | hpux10* | hpux11*)
10797   # Give a soname corresponding to the major version so that dld.sl refuses to
10798   # link against other versions.
10799   version_type=sunos
10800   need_lib_prefix=no
10801   need_version=no
10802   case $host_cpu in
10803   ia64*)
10804     shrext_cmds='.so'
10805     hardcode_into_libs=yes
10806     dynamic_linker="$host_os dld.so"
10807     shlibpath_var=LD_LIBRARY_PATH
10808     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10809     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10810     soname_spec='${libname}${release}${shared_ext}$major'
10811     if test "X$HPUX_IA64_MODE" = X32; then
10812       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10813     else
10814       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10815     fi
10816     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10817     ;;
10818   hppa*64*)
10819     shrext_cmds='.sl'
10820     hardcode_into_libs=yes
10821     dynamic_linker="$host_os dld.sl"
10822     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10823     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10824     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10825     soname_spec='${libname}${release}${shared_ext}$major'
10826     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10827     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10828     ;;
10829   *)
10830     shrext_cmds='.sl'
10831     dynamic_linker="$host_os dld.sl"
10832     shlibpath_var=SHLIB_PATH
10833     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10834     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10835     soname_spec='${libname}${release}${shared_ext}$major'
10836     ;;
10837   esac
10838   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10839   postinstall_cmds='chmod 555 $lib'
10840   # or fails outright, so override atomically:
10841   install_override_mode=555
10842   ;;
10843
10844 interix[3-9]*)
10845   version_type=linux # correct to gnu/linux during the next big refactor
10846   need_lib_prefix=no
10847   need_version=no
10848   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10849   soname_spec='${libname}${release}${shared_ext}$major'
10850   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10851   shlibpath_var=LD_LIBRARY_PATH
10852   shlibpath_overrides_runpath=no
10853   hardcode_into_libs=yes
10854   ;;
10855
10856 irix5* | irix6* | nonstopux*)
10857   case $host_os in
10858     nonstopux*) version_type=nonstopux ;;
10859     *)
10860         if test "$lt_cv_prog_gnu_ld" = yes; then
10861                 version_type=linux # correct to gnu/linux during the next big refactor
10862         else
10863                 version_type=irix
10864         fi ;;
10865   esac
10866   need_lib_prefix=no
10867   need_version=no
10868   soname_spec='${libname}${release}${shared_ext}$major'
10869   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10870   case $host_os in
10871   irix5* | nonstopux*)
10872     libsuff= shlibsuff=
10873     ;;
10874   *)
10875     case $LD in # libtool.m4 will add one of these switches to LD
10876     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10877       libsuff= shlibsuff= libmagic=32-bit;;
10878     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10879       libsuff=32 shlibsuff=N32 libmagic=N32;;
10880     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10881       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10882     *) libsuff= shlibsuff= libmagic=never-match;;
10883     esac
10884     ;;
10885   esac
10886   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10887   shlibpath_overrides_runpath=no
10888   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10889   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10890   hardcode_into_libs=yes
10891   ;;
10892
10893 # No shared lib support for Linux oldld, aout, or coff.
10894 linux*oldld* | linux*aout* | linux*coff*)
10895   dynamic_linker=no
10896   ;;
10897
10898 # This must be glibc/ELF.
10899 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10900   version_type=linux # correct to gnu/linux during the next big refactor
10901   need_lib_prefix=no
10902   need_version=no
10903   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10904   soname_spec='${libname}${release}${shared_ext}$major'
10905   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10906   shlibpath_var=LD_LIBRARY_PATH
10907   shlibpath_overrides_runpath=no
10908
10909   # Some binutils ld are patched to set DT_RUNPATH
10910   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10911   $as_echo_n "(cached) " >&6
10912 else
10913   lt_cv_shlibpath_overrides_runpath=no
10914     save_LDFLAGS=$LDFLAGS
10915     save_libdir=$libdir
10916     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10917          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10918     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10919 /* end confdefs.h.  */
10920
10921 int
10922 main ()
10923 {
10924
10925   ;
10926   return 0;
10927 }
10928 _ACEOF
10929 if ac_fn_c_try_link "$LINENO"; then :
10930   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10931   lt_cv_shlibpath_overrides_runpath=yes
10932 fi
10933 fi
10934 rm -f core conftest.err conftest.$ac_objext \
10935     conftest$ac_exeext conftest.$ac_ext
10936     LDFLAGS=$save_LDFLAGS
10937     libdir=$save_libdir
10938
10939 fi
10940
10941   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10942
10943   # This implies no fast_install, which is unacceptable.
10944   # Some rework will be needed to allow for fast_install
10945   # before this can be enabled.
10946   hardcode_into_libs=yes
10947
10948   # Add ABI-specific directories to the system library path.
10949   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10950
10951   # Append ld.so.conf contents to the search path
10952   if test -f /etc/ld.so.conf; then
10953     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' ' '`
10954     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10955
10956   fi
10957
10958   # We used to test for /lib/ld.so.1 and disable shared libraries on
10959   # powerpc, because MkLinux only supported shared libraries with the
10960   # GNU dynamic linker.  Since this was broken with cross compilers,
10961   # most powerpc-linux boxes support dynamic linking these days and
10962   # people can always --disable-shared, the test was removed, and we
10963   # assume the GNU/Linux dynamic linker is in use.
10964   dynamic_linker='GNU/Linux ld.so'
10965   ;;
10966
10967 netbsd*)
10968   version_type=sunos
10969   need_lib_prefix=no
10970   need_version=no
10971   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10972     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10973     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10974     dynamic_linker='NetBSD (a.out) ld.so'
10975   else
10976     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10977     soname_spec='${libname}${release}${shared_ext}$major'
10978     dynamic_linker='NetBSD ld.elf_so'
10979   fi
10980   shlibpath_var=LD_LIBRARY_PATH
10981   shlibpath_overrides_runpath=yes
10982   hardcode_into_libs=yes
10983   ;;
10984
10985 newsos6)
10986   version_type=linux # correct to gnu/linux during the next big refactor
10987   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10988   shlibpath_var=LD_LIBRARY_PATH
10989   shlibpath_overrides_runpath=yes
10990   ;;
10991
10992 *nto* | *qnx*)
10993   version_type=qnx
10994   need_lib_prefix=no
10995   need_version=no
10996   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10997   soname_spec='${libname}${release}${shared_ext}$major'
10998   shlibpath_var=LD_LIBRARY_PATH
10999   shlibpath_overrides_runpath=no
11000   hardcode_into_libs=yes
11001   dynamic_linker='ldqnx.so'
11002   ;;
11003
11004 openbsd*)
11005   version_type=sunos
11006   sys_lib_dlsearch_path_spec="/usr/lib"
11007   need_lib_prefix=no
11008   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11009   case $host_os in
11010     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11011     *)                          need_version=no  ;;
11012   esac
11013   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11014   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11015   shlibpath_var=LD_LIBRARY_PATH
11016   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11017     case $host_os in
11018       openbsd2.[89] | openbsd2.[89].*)
11019         shlibpath_overrides_runpath=no
11020         ;;
11021       *)
11022         shlibpath_overrides_runpath=yes
11023         ;;
11024       esac
11025   else
11026     shlibpath_overrides_runpath=yes
11027   fi
11028   ;;
11029
11030 os2*)
11031   libname_spec='$name'
11032   shrext_cmds=".dll"
11033   need_lib_prefix=no
11034   library_names_spec='$libname${shared_ext} $libname.a'
11035   dynamic_linker='OS/2 ld.exe'
11036   shlibpath_var=LIBPATH
11037   ;;
11038
11039 osf3* | osf4* | osf5*)
11040   version_type=osf
11041   need_lib_prefix=no
11042   need_version=no
11043   soname_spec='${libname}${release}${shared_ext}$major'
11044   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11045   shlibpath_var=LD_LIBRARY_PATH
11046   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11047   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11048   ;;
11049
11050 rdos*)
11051   dynamic_linker=no
11052   ;;
11053
11054 solaris*)
11055   version_type=linux # correct to gnu/linux during the next big refactor
11056   need_lib_prefix=no
11057   need_version=no
11058   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11059   soname_spec='${libname}${release}${shared_ext}$major'
11060   shlibpath_var=LD_LIBRARY_PATH
11061   shlibpath_overrides_runpath=yes
11062   hardcode_into_libs=yes
11063   # ldd complains unless libraries are executable
11064   postinstall_cmds='chmod +x $lib'
11065   ;;
11066
11067 sunos4*)
11068   version_type=sunos
11069   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11070   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11071   shlibpath_var=LD_LIBRARY_PATH
11072   shlibpath_overrides_runpath=yes
11073   if test "$with_gnu_ld" = yes; then
11074     need_lib_prefix=no
11075   fi
11076   need_version=yes
11077   ;;
11078
11079 sysv4 | sysv4.3*)
11080   version_type=linux # correct to gnu/linux during the next big refactor
11081   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11082   soname_spec='${libname}${release}${shared_ext}$major'
11083   shlibpath_var=LD_LIBRARY_PATH
11084   case $host_vendor in
11085     sni)
11086       shlibpath_overrides_runpath=no
11087       need_lib_prefix=no
11088       runpath_var=LD_RUN_PATH
11089       ;;
11090     siemens)
11091       need_lib_prefix=no
11092       ;;
11093     motorola)
11094       need_lib_prefix=no
11095       need_version=no
11096       shlibpath_overrides_runpath=no
11097       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11098       ;;
11099   esac
11100   ;;
11101
11102 sysv4*MP*)
11103   if test -d /usr/nec ;then
11104     version_type=linux # correct to gnu/linux during the next big refactor
11105     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11106     soname_spec='$libname${shared_ext}.$major'
11107     shlibpath_var=LD_LIBRARY_PATH
11108   fi
11109   ;;
11110
11111 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11112   version_type=freebsd-elf
11113   need_lib_prefix=no
11114   need_version=no
11115   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11116   soname_spec='${libname}${release}${shared_ext}$major'
11117   shlibpath_var=LD_LIBRARY_PATH
11118   shlibpath_overrides_runpath=yes
11119   hardcode_into_libs=yes
11120   if test "$with_gnu_ld" = yes; then
11121     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11122   else
11123     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11124     case $host_os in
11125       sco3.2v5*)
11126         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11127         ;;
11128     esac
11129   fi
11130   sys_lib_dlsearch_path_spec='/usr/lib'
11131   ;;
11132
11133 tpf*)
11134   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11135   version_type=linux # correct to gnu/linux during the next big refactor
11136   need_lib_prefix=no
11137   need_version=no
11138   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11139   shlibpath_var=LD_LIBRARY_PATH
11140   shlibpath_overrides_runpath=no
11141   hardcode_into_libs=yes
11142   ;;
11143
11144 uts4*)
11145   version_type=linux # correct to gnu/linux during the next big refactor
11146   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11147   soname_spec='${libname}${release}${shared_ext}$major'
11148   shlibpath_var=LD_LIBRARY_PATH
11149   ;;
11150
11151 *)
11152   dynamic_linker=no
11153   ;;
11154 esac
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11156 $as_echo "$dynamic_linker" >&6; }
11157 test "$dynamic_linker" = no && can_build_shared=no
11158
11159 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11160 if test "$GCC" = yes; then
11161   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11162 fi
11163
11164 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11165   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11166 fi
11167 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11168   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11169 fi
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11263 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11264 hardcode_action=
11265 if test -n "$hardcode_libdir_flag_spec" ||
11266    test -n "$runpath_var" ||
11267    test "X$hardcode_automatic" = "Xyes" ; then
11268
11269   # We can hardcode non-existent directories.
11270   if test "$hardcode_direct" != no &&
11271      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11272      # have to relink, otherwise we might link with an installed library
11273      # when we should be linking with a yet-to-be-installed one
11274      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11275      test "$hardcode_minus_L" != no; then
11276     # Linking always hardcodes the temporary library directory.
11277     hardcode_action=relink
11278   else
11279     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11280     hardcode_action=immediate
11281   fi
11282 else
11283   # We cannot hardcode anything, or else we can only hardcode existing
11284   # directories.
11285   hardcode_action=unsupported
11286 fi
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11288 $as_echo "$hardcode_action" >&6; }
11289
11290 if test "$hardcode_action" = relink ||
11291    test "$inherit_rpath" = yes; then
11292   # Fast installation is not supported
11293   enable_fast_install=no
11294 elif test "$shlibpath_overrides_runpath" = yes ||
11295      test "$enable_shared" = no; then
11296   # Fast installation is not necessary
11297   enable_fast_install=needless
11298 fi
11299
11300
11301
11302
11303
11304
11305   if test "x$enable_dlopen" != xyes; then
11306   enable_dlopen=unknown
11307   enable_dlopen_self=unknown
11308   enable_dlopen_self_static=unknown
11309 else
11310   lt_cv_dlopen=no
11311   lt_cv_dlopen_libs=
11312
11313   case $host_os in
11314   beos*)
11315     lt_cv_dlopen="load_add_on"
11316     lt_cv_dlopen_libs=
11317     lt_cv_dlopen_self=yes
11318     ;;
11319
11320   mingw* | pw32* | cegcc*)
11321     lt_cv_dlopen="LoadLibrary"
11322     lt_cv_dlopen_libs=
11323     ;;
11324
11325   cygwin*)
11326     lt_cv_dlopen="dlopen"
11327     lt_cv_dlopen_libs=
11328     ;;
11329
11330   darwin*)
11331   # if libdl is installed we need to link against it
11332     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11333 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11334 if ${ac_cv_lib_dl_dlopen+:} false; then :
11335   $as_echo_n "(cached) " >&6
11336 else
11337   ac_check_lib_save_LIBS=$LIBS
11338 LIBS="-ldl  $LIBS"
11339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11340 /* end confdefs.h.  */
11341
11342 /* Override any GCC internal prototype to avoid an error.
11343    Use char because int might match the return type of a GCC
11344    builtin and then its argument prototype would still apply.  */
11345 #ifdef __cplusplus
11346 extern "C"
11347 #endif
11348 char dlopen ();
11349 int
11350 main ()
11351 {
11352 return dlopen ();
11353   ;
11354   return 0;
11355 }
11356 _ACEOF
11357 if ac_fn_c_try_link "$LINENO"; then :
11358   ac_cv_lib_dl_dlopen=yes
11359 else
11360   ac_cv_lib_dl_dlopen=no
11361 fi
11362 rm -f core conftest.err conftest.$ac_objext \
11363     conftest$ac_exeext conftest.$ac_ext
11364 LIBS=$ac_check_lib_save_LIBS
11365 fi
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11367 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11368 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11369   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11370 else
11371
11372     lt_cv_dlopen="dyld"
11373     lt_cv_dlopen_libs=
11374     lt_cv_dlopen_self=yes
11375
11376 fi
11377
11378     ;;
11379
11380   *)
11381     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11382 if test "x$ac_cv_func_shl_load" = xyes; then :
11383   lt_cv_dlopen="shl_load"
11384 else
11385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11386 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11387 if ${ac_cv_lib_dld_shl_load+:} false; then :
11388   $as_echo_n "(cached) " >&6
11389 else
11390   ac_check_lib_save_LIBS=$LIBS
11391 LIBS="-ldld  $LIBS"
11392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11393 /* end confdefs.h.  */
11394
11395 /* Override any GCC internal prototype to avoid an error.
11396    Use char because int might match the return type of a GCC
11397    builtin and then its argument prototype would still apply.  */
11398 #ifdef __cplusplus
11399 extern "C"
11400 #endif
11401 char shl_load ();
11402 int
11403 main ()
11404 {
11405 return shl_load ();
11406   ;
11407   return 0;
11408 }
11409 _ACEOF
11410 if ac_fn_c_try_link "$LINENO"; then :
11411   ac_cv_lib_dld_shl_load=yes
11412 else
11413   ac_cv_lib_dld_shl_load=no
11414 fi
11415 rm -f core conftest.err conftest.$ac_objext \
11416     conftest$ac_exeext conftest.$ac_ext
11417 LIBS=$ac_check_lib_save_LIBS
11418 fi
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11420 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11421 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11422   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11423 else
11424   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11425 if test "x$ac_cv_func_dlopen" = xyes; then :
11426   lt_cv_dlopen="dlopen"
11427 else
11428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11429 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11430 if ${ac_cv_lib_dl_dlopen+:} false; then :
11431   $as_echo_n "(cached) " >&6
11432 else
11433   ac_check_lib_save_LIBS=$LIBS
11434 LIBS="-ldl  $LIBS"
11435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11436 /* end confdefs.h.  */
11437
11438 /* Override any GCC internal prototype to avoid an error.
11439    Use char because int might match the return type of a GCC
11440    builtin and then its argument prototype would still apply.  */
11441 #ifdef __cplusplus
11442 extern "C"
11443 #endif
11444 char dlopen ();
11445 int
11446 main ()
11447 {
11448 return dlopen ();
11449   ;
11450   return 0;
11451 }
11452 _ACEOF
11453 if ac_fn_c_try_link "$LINENO"; then :
11454   ac_cv_lib_dl_dlopen=yes
11455 else
11456   ac_cv_lib_dl_dlopen=no
11457 fi
11458 rm -f core conftest.err conftest.$ac_objext \
11459     conftest$ac_exeext conftest.$ac_ext
11460 LIBS=$ac_check_lib_save_LIBS
11461 fi
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11463 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11464 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11465   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11466 else
11467   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11468 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11469 if ${ac_cv_lib_svld_dlopen+:} false; then :
11470   $as_echo_n "(cached) " >&6
11471 else
11472   ac_check_lib_save_LIBS=$LIBS
11473 LIBS="-lsvld  $LIBS"
11474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11475 /* end confdefs.h.  */
11476
11477 /* Override any GCC internal prototype to avoid an error.
11478    Use char because int might match the return type of a GCC
11479    builtin and then its argument prototype would still apply.  */
11480 #ifdef __cplusplus
11481 extern "C"
11482 #endif
11483 char dlopen ();
11484 int
11485 main ()
11486 {
11487 return dlopen ();
11488   ;
11489   return 0;
11490 }
11491 _ACEOF
11492 if ac_fn_c_try_link "$LINENO"; then :
11493   ac_cv_lib_svld_dlopen=yes
11494 else
11495   ac_cv_lib_svld_dlopen=no
11496 fi
11497 rm -f core conftest.err conftest.$ac_objext \
11498     conftest$ac_exeext conftest.$ac_ext
11499 LIBS=$ac_check_lib_save_LIBS
11500 fi
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11502 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11503 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11504   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11505 else
11506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11507 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11508 if ${ac_cv_lib_dld_dld_link+:} false; then :
11509   $as_echo_n "(cached) " >&6
11510 else
11511   ac_check_lib_save_LIBS=$LIBS
11512 LIBS="-ldld  $LIBS"
11513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11514 /* end confdefs.h.  */
11515
11516 /* Override any GCC internal prototype to avoid an error.
11517    Use char because int might match the return type of a GCC
11518    builtin and then its argument prototype would still apply.  */
11519 #ifdef __cplusplus
11520 extern "C"
11521 #endif
11522 char dld_link ();
11523 int
11524 main ()
11525 {
11526 return dld_link ();
11527   ;
11528   return 0;
11529 }
11530 _ACEOF
11531 if ac_fn_c_try_link "$LINENO"; then :
11532   ac_cv_lib_dld_dld_link=yes
11533 else
11534   ac_cv_lib_dld_dld_link=no
11535 fi
11536 rm -f core conftest.err conftest.$ac_objext \
11537     conftest$ac_exeext conftest.$ac_ext
11538 LIBS=$ac_check_lib_save_LIBS
11539 fi
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11541 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11542 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11543   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11544 fi
11545
11546
11547 fi
11548
11549
11550 fi
11551
11552
11553 fi
11554
11555
11556 fi
11557
11558
11559 fi
11560
11561     ;;
11562   esac
11563
11564   if test "x$lt_cv_dlopen" != xno; then
11565     enable_dlopen=yes
11566   else
11567     enable_dlopen=no
11568   fi
11569
11570   case $lt_cv_dlopen in
11571   dlopen)
11572     save_CPPFLAGS="$CPPFLAGS"
11573     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11574
11575     save_LDFLAGS="$LDFLAGS"
11576     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11577
11578     save_LIBS="$LIBS"
11579     LIBS="$lt_cv_dlopen_libs $LIBS"
11580
11581     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11582 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11583 if ${lt_cv_dlopen_self+:} false; then :
11584   $as_echo_n "(cached) " >&6
11585 else
11586           if test "$cross_compiling" = yes; then :
11587   lt_cv_dlopen_self=cross
11588 else
11589   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11590   lt_status=$lt_dlunknown
11591   cat > conftest.$ac_ext <<_LT_EOF
11592 #line $LINENO "configure"
11593 #include "confdefs.h"
11594
11595 #if HAVE_DLFCN_H
11596 #include <dlfcn.h>
11597 #endif
11598
11599 #include <stdio.h>
11600
11601 #ifdef RTLD_GLOBAL
11602 #  define LT_DLGLOBAL           RTLD_GLOBAL
11603 #else
11604 #  ifdef DL_GLOBAL
11605 #    define LT_DLGLOBAL         DL_GLOBAL
11606 #  else
11607 #    define LT_DLGLOBAL         0
11608 #  endif
11609 #endif
11610
11611 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11612    find out it does not work in some platform. */
11613 #ifndef LT_DLLAZY_OR_NOW
11614 #  ifdef RTLD_LAZY
11615 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11616 #  else
11617 #    ifdef DL_LAZY
11618 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11619 #    else
11620 #      ifdef RTLD_NOW
11621 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11622 #      else
11623 #        ifdef DL_NOW
11624 #          define LT_DLLAZY_OR_NOW      DL_NOW
11625 #        else
11626 #          define LT_DLLAZY_OR_NOW      0
11627 #        endif
11628 #      endif
11629 #    endif
11630 #  endif
11631 #endif
11632
11633 /* When -fvisbility=hidden is used, assume the code has been annotated
11634    correspondingly for the symbols needed.  */
11635 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11636 int fnord () __attribute__((visibility("default")));
11637 #endif
11638
11639 int fnord () { return 42; }
11640 int main ()
11641 {
11642   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11643   int status = $lt_dlunknown;
11644
11645   if (self)
11646     {
11647       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11648       else
11649         {
11650           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11651           else puts (dlerror ());
11652         }
11653       /* dlclose (self); */
11654     }
11655   else
11656     puts (dlerror ());
11657
11658   return status;
11659 }
11660 _LT_EOF
11661   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11662   (eval $ac_link) 2>&5
11663   ac_status=$?
11664   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11665   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11666     (./conftest; exit; ) >&5 2>/dev/null
11667     lt_status=$?
11668     case x$lt_status in
11669       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11670       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11671       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11672     esac
11673   else :
11674     # compilation failed
11675     lt_cv_dlopen_self=no
11676   fi
11677 fi
11678 rm -fr conftest*
11679
11680
11681 fi
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11683 $as_echo "$lt_cv_dlopen_self" >&6; }
11684
11685     if test "x$lt_cv_dlopen_self" = xyes; then
11686       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11687       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11688 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11689 if ${lt_cv_dlopen_self_static+:} false; then :
11690   $as_echo_n "(cached) " >&6
11691 else
11692           if test "$cross_compiling" = yes; then :
11693   lt_cv_dlopen_self_static=cross
11694 else
11695   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11696   lt_status=$lt_dlunknown
11697   cat > conftest.$ac_ext <<_LT_EOF
11698 #line $LINENO "configure"
11699 #include "confdefs.h"
11700
11701 #if HAVE_DLFCN_H
11702 #include <dlfcn.h>
11703 #endif
11704
11705 #include <stdio.h>
11706
11707 #ifdef RTLD_GLOBAL
11708 #  define LT_DLGLOBAL           RTLD_GLOBAL
11709 #else
11710 #  ifdef DL_GLOBAL
11711 #    define LT_DLGLOBAL         DL_GLOBAL
11712 #  else
11713 #    define LT_DLGLOBAL         0
11714 #  endif
11715 #endif
11716
11717 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11718    find out it does not work in some platform. */
11719 #ifndef LT_DLLAZY_OR_NOW
11720 #  ifdef RTLD_LAZY
11721 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11722 #  else
11723 #    ifdef DL_LAZY
11724 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11725 #    else
11726 #      ifdef RTLD_NOW
11727 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11728 #      else
11729 #        ifdef DL_NOW
11730 #          define LT_DLLAZY_OR_NOW      DL_NOW
11731 #        else
11732 #          define LT_DLLAZY_OR_NOW      0
11733 #        endif
11734 #      endif
11735 #    endif
11736 #  endif
11737 #endif
11738
11739 /* When -fvisbility=hidden is used, assume the code has been annotated
11740    correspondingly for the symbols needed.  */
11741 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11742 int fnord () __attribute__((visibility("default")));
11743 #endif
11744
11745 int fnord () { return 42; }
11746 int main ()
11747 {
11748   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11749   int status = $lt_dlunknown;
11750
11751   if (self)
11752     {
11753       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11754       else
11755         {
11756           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11757           else puts (dlerror ());
11758         }
11759       /* dlclose (self); */
11760     }
11761   else
11762     puts (dlerror ());
11763
11764   return status;
11765 }
11766 _LT_EOF
11767   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11768   (eval $ac_link) 2>&5
11769   ac_status=$?
11770   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11771   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11772     (./conftest; exit; ) >&5 2>/dev/null
11773     lt_status=$?
11774     case x$lt_status in
11775       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11776       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11777       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11778     esac
11779   else :
11780     # compilation failed
11781     lt_cv_dlopen_self_static=no
11782   fi
11783 fi
11784 rm -fr conftest*
11785
11786
11787 fi
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11789 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11790     fi
11791
11792     CPPFLAGS="$save_CPPFLAGS"
11793     LDFLAGS="$save_LDFLAGS"
11794     LIBS="$save_LIBS"
11795     ;;
11796   esac
11797
11798   case $lt_cv_dlopen_self in
11799   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11800   *) enable_dlopen_self=unknown ;;
11801   esac
11802
11803   case $lt_cv_dlopen_self_static in
11804   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11805   *) enable_dlopen_self_static=unknown ;;
11806   esac
11807 fi
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825 striplib=
11826 old_striplib=
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11828 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11829 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11830   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11831   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11833 $as_echo "yes" >&6; }
11834 else
11835 # FIXME - insert some real tests, host_os isn't really good enough
11836   case $host_os in
11837   darwin*)
11838     if test -n "$STRIP" ; then
11839       striplib="$STRIP -x"
11840       old_striplib="$STRIP -S"
11841       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11842 $as_echo "yes" >&6; }
11843     else
11844       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11845 $as_echo "no" >&6; }
11846     fi
11847     ;;
11848   *)
11849     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11850 $as_echo "no" >&6; }
11851     ;;
11852   esac
11853 fi
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866   # Report which library types will actually be built
11867   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11868 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11870 $as_echo "$can_build_shared" >&6; }
11871
11872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11873 $as_echo_n "checking whether to build shared libraries... " >&6; }
11874   test "$can_build_shared" = "no" && enable_shared=no
11875
11876   # On AIX, shared libraries and static libraries use the same namespace, and
11877   # are all built from PIC.
11878   case $host_os in
11879   aix3*)
11880     test "$enable_shared" = yes && enable_static=no
11881     if test -n "$RANLIB"; then
11882       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11883       postinstall_cmds='$RANLIB $lib'
11884     fi
11885     ;;
11886
11887   aix[4-9]*)
11888     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11889       test "$enable_shared" = yes && enable_static=no
11890     fi
11891     ;;
11892   esac
11893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11894 $as_echo "$enable_shared" >&6; }
11895
11896   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11897 $as_echo_n "checking whether to build static libraries... " >&6; }
11898   # Make sure either enable_shared or enable_static is yes.
11899   test "$enable_shared" = yes || enable_static=yes
11900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11901 $as_echo "$enable_static" >&6; }
11902
11903
11904
11905
11906 fi
11907 ac_ext=c
11908 ac_cpp='$CPP $CPPFLAGS'
11909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11912
11913 CC="$lt_save_CC"
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929         ac_config_commands="$ac_config_commands libtool"
11930
11931
11932
11933
11934 # Only expand once:
11935
11936
11937
11938 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11939 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11940
11941
11942
11943 cat >>confdefs.h <<_ACEOF
11944 #define VMAJ 1
11945 _ACEOF
11946
11947
11948 cat >>confdefs.h <<_ACEOF
11949 #define VMIN 7
11950 _ACEOF
11951
11952
11953 cat >>confdefs.h <<_ACEOF
11954 #define VMIC 7
11955 _ACEOF
11956
11957
11958 cat >>confdefs.h <<_ACEOF
11959 #define VREV 0
11960 _ACEOF
11961
11962 version_info="8:7:7"
11963 release_info=""
11964
11965
11966 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11967 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11968 VMAJ=1
11969
11970
11971
11972 cat >>confdefs.h <<_ACEOF
11973 #define SHARED_LIB_SUFFIX "$shrext_cmds"
11974 _ACEOF
11975
11976
11977 ### Default options with respect to host
11978
11979
11980
11981
11982 case "$host_os" in
11983    mingw32ce*)
11984       MODULE_ARCH="$host_os-$host_cpu"
11985       install_vim="no"
11986       have_edje_cc="no"
11987       ;;
11988    *)
11989       MODULE_ARCH="$host_os-$host_cpu-1.0.0"
11990       install_vim="yes"
11991       have_edje_cc="yes"
11992       ;;
11993 esac
11994
11995 requirement_edje=""
11996
11997
11998
11999 cat >>confdefs.h <<_ACEOF
12000 #define MODULE_ARCH "${MODULE_ARCH}"
12001 _ACEOF
12002
12003
12004 ### Additional options to configure
12005
12006 # Check whether --enable-amalgamation was given.
12007 if test "${enable_amalgamation+set}" = set; then :
12008   enableval=$enable_amalgamation; if test "x${enableval}" = "xyes"; then
12009        do_amalgamation="yes"
12010     else
12011        do_amalgamation="no"
12012     fi
12013
12014 else
12015   do_amalgamation="no"
12016
12017 fi
12018
12019  if test "x${do_amalgamation}" = "xyes"; then
12020   EDJE_AMALGAMATION_TRUE=
12021   EDJE_AMALGAMATION_FALSE='#'
12022 else
12023   EDJE_AMALGAMATION_TRUE='#'
12024   EDJE_AMALGAMATION_FALSE=
12025 fi
12026
12027
12028
12029
12030
12031
12032
12033 # Check whether --with-edje-cc was given.
12034 if test "${with_edje_cc+set}" = set; then :
12035   withval=$with_edje_cc; _efl_with_binary=${withval}
12036 else
12037   _efl_with_binary=$(pkg-config --variable=prefix edje)/bin/edje_cc
12038 fi
12039
12040
12041 edje_cc=${_efl_with_binary}
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: edje_cc set to ${_efl_with_binary}" >&5
12043 $as_echo "$as_me: edje_cc set to ${_efl_with_binary}" >&6;}
12044
12045 with_binary_edje_cc=${_efl_with_binary}
12046
12047
12048
12049
12050
12051
12052
12053
12054 have_edje_cc="yes"
12055
12056
12057 # Check whether --enable-edje-cc was given.
12058 if test "${enable_edje_cc+set}" = set; then :
12059   enableval=$enable_edje_cc;
12060     if test "x${enableval}" = "xyes" ; then
12061        have_edje_cc="yes"
12062     else
12063        have_edje_cc="no"
12064     fi
12065
12066 fi
12067
12068
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_cc binary" >&5
12070 $as_echo_n "checking whether to build edje_cc binary... " >&6; }
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_cc" >&5
12072 $as_echo "$have_edje_cc" >&6; }
12073
12074 if test "x$have_edje_cc" = "xyes"; then
12075    EDJE_CC_PRG=edje_cc${EXEEXT}
12076 fi
12077
12078
12079
12080  if test "x$have_edje_cc" = "xyes"; then
12081   BUILD_EDJE_CC_TRUE=
12082   BUILD_EDJE_CC_FALSE='#'
12083 else
12084   BUILD_EDJE_CC_TRUE='#'
12085   BUILD_EDJE_CC_FALSE=
12086 fi
12087
12088
12089 if test "x$have_edje_cc" = "xyes"; then :
12090
12091 fi
12092
12093
12094
12095
12096
12097 have_edje_decc="yes"
12098
12099
12100 # Check whether --enable-edje-decc was given.
12101 if test "${enable_edje_decc+set}" = set; then :
12102   enableval=$enable_edje_decc;
12103     if test "x${enableval}" = "xyes" ; then
12104        have_edje_decc="yes"
12105     else
12106        have_edje_decc="no"
12107     fi
12108
12109 fi
12110
12111
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_decc binary" >&5
12113 $as_echo_n "checking whether to build edje_decc binary... " >&6; }
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_decc" >&5
12115 $as_echo "$have_edje_decc" >&6; }
12116
12117 if test "x$have_edje_decc" = "xyes"; then
12118    EDJE_DECC_PRG=edje_decc${EXEEXT}
12119 fi
12120
12121
12122
12123  if test "x$have_edje_decc" = "xyes"; then
12124   BUILD_EDJE_DECC_TRUE=
12125   BUILD_EDJE_DECC_FALSE='#'
12126 else
12127   BUILD_EDJE_DECC_TRUE='#'
12128   BUILD_EDJE_DECC_FALSE=
12129 fi
12130
12131
12132 if test "x$have_edje_decc" = "xyes"; then :
12133
12134 fi
12135
12136
12137
12138
12139
12140 have_edje_recc="yes"
12141
12142
12143 # Check whether --enable-edje-recc was given.
12144 if test "${enable_edje_recc+set}" = set; then :
12145   enableval=$enable_edje_recc;
12146     if test "x${enableval}" = "xyes" ; then
12147        have_edje_recc="yes"
12148     else
12149        have_edje_recc="no"
12150     fi
12151
12152 fi
12153
12154
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_recc binary" >&5
12156 $as_echo_n "checking whether to build edje_recc binary... " >&6; }
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_recc" >&5
12158 $as_echo "$have_edje_recc" >&6; }
12159
12160 if test "x$have_edje_recc" = "xyes"; then
12161    EDJE_RECC_PRG=edje_recc${EXEEXT}
12162 fi
12163
12164
12165
12166  if test "x$have_edje_recc" = "xyes"; then
12167   BUILD_EDJE_RECC_TRUE=
12168   BUILD_EDJE_RECC_FALSE='#'
12169 else
12170   BUILD_EDJE_RECC_TRUE='#'
12171   BUILD_EDJE_RECC_FALSE=
12172 fi
12173
12174
12175 if test "x$have_edje_recc" = "xyes"; then :
12176
12177 fi
12178
12179
12180
12181
12182
12183 have_edje_player="yes"
12184
12185
12186 # Check whether --enable-edje-player was given.
12187 if test "${enable_edje_player+set}" = set; then :
12188   enableval=$enable_edje_player;
12189     if test "x${enableval}" = "xyes" ; then
12190        have_edje_player="yes"
12191     else
12192        have_edje_player="no"
12193     fi
12194
12195 fi
12196
12197
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_player binary" >&5
12199 $as_echo_n "checking whether to build edje_player binary... " >&6; }
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_player" >&5
12201 $as_echo "$have_edje_player" >&6; }
12202
12203 if test "x$have_edje_player" = "xyes"; then
12204    EDJE_PLAYER_PRG=edje_player${EXEEXT}
12205 fi
12206
12207
12208
12209  if test "x$have_edje_player" = "xyes"; then
12210   BUILD_EDJE_PLAYER_TRUE=
12211   BUILD_EDJE_PLAYER_FALSE='#'
12212 else
12213   BUILD_EDJE_PLAYER_TRUE='#'
12214   BUILD_EDJE_PLAYER_FALSE=
12215 fi
12216
12217
12218 if test "x$have_edje_player" = "xyes"; then :
12219
12220 fi
12221
12222
12223
12224
12225
12226 have_edje_inspector="yes"
12227
12228
12229 # Check whether --enable-edje-inspector was given.
12230 if test "${enable_edje_inspector+set}" = set; then :
12231   enableval=$enable_edje_inspector;
12232     if test "x${enableval}" = "xyes" ; then
12233        have_edje_inspector="yes"
12234     else
12235        have_edje_inspector="no"
12236     fi
12237
12238 fi
12239
12240
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_inspector binary" >&5
12242 $as_echo_n "checking whether to build edje_inspector binary... " >&6; }
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_inspector" >&5
12244 $as_echo "$have_edje_inspector" >&6; }
12245
12246 if test "x$have_edje_inspector" = "xyes"; then
12247    EDJE_INSPECTOR_PRG=edje_inspector${EXEEXT}
12248 fi
12249
12250
12251
12252  if test "x$have_edje_inspector" = "xyes"; then
12253   BUILD_EDJE_INSPECTOR_TRUE=
12254   BUILD_EDJE_INSPECTOR_FALSE='#'
12255 else
12256   BUILD_EDJE_INSPECTOR_TRUE='#'
12257   BUILD_EDJE_INSPECTOR_FALSE=
12258 fi
12259
12260
12261 if test "x$have_edje_inspector" = "xyes"; then :
12262
12263 fi
12264
12265
12266
12267
12268
12269 have_edje_external_inspector="yes"
12270
12271
12272 # Check whether --enable-edje-external-inspector was given.
12273 if test "${enable_edje_external_inspector+set}" = set; then :
12274   enableval=$enable_edje_external_inspector;
12275     if test "x${enableval}" = "xyes" ; then
12276        have_edje_external_inspector="yes"
12277     else
12278        have_edje_external_inspector="no"
12279     fi
12280
12281 fi
12282
12283
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_external_inspector binary" >&5
12285 $as_echo_n "checking whether to build edje_external_inspector binary... " >&6; }
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_external_inspector" >&5
12287 $as_echo "$have_edje_external_inspector" >&6; }
12288
12289 if test "x$have_edje_external_inspector" = "xyes"; then
12290    EDJE_EXTERNAL_INSPECTOR_PRG=edje_external_inspector${EXEEXT}
12291 fi
12292
12293
12294
12295  if test "x$have_edje_external_inspector" = "xyes"; then
12296   BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE=
12297   BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE='#'
12298 else
12299   BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE='#'
12300   BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE=
12301 fi
12302
12303
12304 if test "x$have_edje_external_inspector" = "xyes"; then :
12305
12306 fi
12307
12308
12309
12310
12311
12312 have_edje_watch="yes"
12313
12314
12315 # Check whether --enable-edje-watch was given.
12316 if test "${enable_edje_watch+set}" = set; then :
12317   enableval=$enable_edje_watch;
12318     if test "x${enableval}" = "xyes" ; then
12319        have_edje_watch="yes"
12320     else
12321        have_edje_watch="no"
12322     fi
12323
12324 fi
12325
12326
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_watch binary" >&5
12328 $as_echo_n "checking whether to build edje_watch binary... " >&6; }
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_watch" >&5
12330 $as_echo "$have_edje_watch" >&6; }
12331
12332 if test "x$have_edje_watch" = "xyes"; then
12333    EDJE_WATCH_PRG=edje_watch${EXEEXT}
12334 fi
12335
12336
12337
12338  if test "x$have_edje_watch" = "xyes"; then
12339   BUILD_EDJE_WATCH_TRUE=
12340   BUILD_EDJE_WATCH_FALSE='#'
12341 else
12342   BUILD_EDJE_WATCH_TRUE='#'
12343   BUILD_EDJE_WATCH_FALSE=
12344 fi
12345
12346
12347 if test "x$have_edje_watch" = "xyes"; then :
12348
12349 fi
12350
12351
12352
12353 # Optional EDJE_PROGRAM_CACHE (use much more ram, but increase speed in some cases)
12354 want_edje_program_cache="no"
12355
12356 # Check whether --enable-edje-program-cache was given.
12357 if test "${enable_edje_program_cache+set}" = set; then :
12358   enableval=$enable_edje_program_cache; want_edje_program_cache=$enableval
12359
12360 fi
12361
12362  if test "x${want_edje_program_cache}" = "xyes"; then
12363   EDJE_PROGRAM_CACHE_TRUE=
12364   EDJE_PROGRAM_CACHE_FALSE='#'
12365 else
12366   EDJE_PROGRAM_CACHE_TRUE='#'
12367   EDJE_PROGRAM_CACHE_FALSE=
12368 fi
12369
12370
12371 if test "x${want_edje_program_cache}" = "xyes" ; then
12372
12373 $as_echo "#define EDJE_PROGRAM_CACHE 1" >>confdefs.h
12374
12375 fi
12376
12377 # Optional EDJE_CALC_CACHE (use more ram, but increase speed by reducing the need to recalculate static stuff)
12378 want_edje_calc_cache="yes"
12379
12380 # Check whether --enable-edje-calc-cache was given.
12381 if test "${enable_edje_calc_cache+set}" = set; then :
12382   enableval=$enable_edje_calc_cache; want_edje_calc_cache=$enableval
12383
12384 fi
12385
12386  if test "x${want_edje_calc_cache}" = "xyes"; then
12387   EDJE_CALC_CACHE_TRUE=
12388   EDJE_CALC_CACHE_FALSE='#'
12389 else
12390   EDJE_CALC_CACHE_TRUE='#'
12391   EDJE_CALC_CACHE_FALSE=
12392 fi
12393
12394
12395 if test "x${want_edje_calc_cache}" = "xyes" ; then
12396
12397 $as_echo "#define EDJE_CALC_CACHE 1" >>confdefs.h
12398
12399 fi
12400
12401 # Enable Fixed Point use
12402 want_fixed_point="no"
12403
12404 # Check whether --enable-fixed-point was given.
12405 if test "${enable_fixed_point+set}" = set; then :
12406   enableval=$enable_fixed_point; want_fixed_point=$enableval
12407
12408 fi
12409
12410  if test "x${want_fixed_point}" = "xyes"; then
12411   BUILD_EDJE_FP_TRUE=
12412   BUILD_EDJE_FP_FALSE='#'
12413 else
12414   BUILD_EDJE_FP_TRUE='#'
12415   BUILD_EDJE_FP_FALSE=
12416 fi
12417
12418
12419 if test "x${want_fixed_point}" = "xyes" ; then
12420
12421 $as_echo "#define BUILD_EDJE_FP 1" >>confdefs.h
12422
12423 fi
12424
12425 install_vim="yes"
12426
12427 # Check whether --with-vim was given.
12428 if test "${with_vim+set}" = set; then :
12429   withval=$with_vim;
12430      if test -d "${withval}"; then
12431         vimdir="${withval}"
12432      fi
12433
12434
12435 fi
12436
12437
12438 if test "x${vimdir}" = "x" ; then
12439    if test -d "${prefix}/share/vim"; then
12440       vimdir="${prefix}/share/vim"
12441    elif test -d "/usr/share/vim"; then
12442       vimdir="/usr/share/vim"
12443    elif test -d "/usr/local/share/vim"; then
12444       vimdir="/usr/local/share/vim"
12445    elif test -d "/opt/share/vim"; then
12446       vimdir="/opt/share/vim"
12447    else
12448       install_vim="no"
12449    fi
12450 fi
12451
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for location of Vim data files" >&5
12453 $as_echo_n "checking for location of Vim data files... " >&6; }
12454
12455 if test "${install_vim}" = "yes"; then
12456    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vimdir" >&5
12457 $as_echo "$vimdir" >&6; }
12458 else
12459    { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found, EDC syntax file will not be installed" >&5
12460 $as_echo "Not found, EDC syntax file will not be installed" >&6; }
12461 fi
12462
12463
12464
12465 ### Checks for programs
12466 ac_ext=c
12467 ac_cpp='$CPP $CPPFLAGS'
12468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12471 if test -n "$ac_tool_prefix"; then
12472   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12473 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12475 $as_echo_n "checking for $ac_word... " >&6; }
12476 if ${ac_cv_prog_CC+:} false; then :
12477   $as_echo_n "(cached) " >&6
12478 else
12479   if test -n "$CC"; then
12480   ac_cv_prog_CC="$CC" # Let the user override the test.
12481 else
12482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12483 for as_dir in $PATH
12484 do
12485   IFS=$as_save_IFS
12486   test -z "$as_dir" && as_dir=.
12487     for ac_exec_ext in '' $ac_executable_extensions; do
12488   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12489     ac_cv_prog_CC="${ac_tool_prefix}gcc"
12490     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12491     break 2
12492   fi
12493 done
12494   done
12495 IFS=$as_save_IFS
12496
12497 fi
12498 fi
12499 CC=$ac_cv_prog_CC
12500 if test -n "$CC"; then
12501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12502 $as_echo "$CC" >&6; }
12503 else
12504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12505 $as_echo "no" >&6; }
12506 fi
12507
12508
12509 fi
12510 if test -z "$ac_cv_prog_CC"; then
12511   ac_ct_CC=$CC
12512   # Extract the first word of "gcc", so it can be a program name with args.
12513 set dummy gcc; ac_word=$2
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12515 $as_echo_n "checking for $ac_word... " >&6; }
12516 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12517   $as_echo_n "(cached) " >&6
12518 else
12519   if test -n "$ac_ct_CC"; then
12520   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12521 else
12522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12523 for as_dir in $PATH
12524 do
12525   IFS=$as_save_IFS
12526   test -z "$as_dir" && as_dir=.
12527     for ac_exec_ext in '' $ac_executable_extensions; do
12528   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12529     ac_cv_prog_ac_ct_CC="gcc"
12530     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12531     break 2
12532   fi
12533 done
12534   done
12535 IFS=$as_save_IFS
12536
12537 fi
12538 fi
12539 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12540 if test -n "$ac_ct_CC"; then
12541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12542 $as_echo "$ac_ct_CC" >&6; }
12543 else
12544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12545 $as_echo "no" >&6; }
12546 fi
12547
12548   if test "x$ac_ct_CC" = x; then
12549     CC=""
12550   else
12551     case $cross_compiling:$ac_tool_warned in
12552 yes:)
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12554 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12555 ac_tool_warned=yes ;;
12556 esac
12557     CC=$ac_ct_CC
12558   fi
12559 else
12560   CC="$ac_cv_prog_CC"
12561 fi
12562
12563 if test -z "$CC"; then
12564           if test -n "$ac_tool_prefix"; then
12565     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12566 set dummy ${ac_tool_prefix}cc; ac_word=$2
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12568 $as_echo_n "checking for $ac_word... " >&6; }
12569 if ${ac_cv_prog_CC+:} false; then :
12570   $as_echo_n "(cached) " >&6
12571 else
12572   if test -n "$CC"; then
12573   ac_cv_prog_CC="$CC" # Let the user override the test.
12574 else
12575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12576 for as_dir in $PATH
12577 do
12578   IFS=$as_save_IFS
12579   test -z "$as_dir" && as_dir=.
12580     for ac_exec_ext in '' $ac_executable_extensions; do
12581   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12582     ac_cv_prog_CC="${ac_tool_prefix}cc"
12583     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12584     break 2
12585   fi
12586 done
12587   done
12588 IFS=$as_save_IFS
12589
12590 fi
12591 fi
12592 CC=$ac_cv_prog_CC
12593 if test -n "$CC"; then
12594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12595 $as_echo "$CC" >&6; }
12596 else
12597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12598 $as_echo "no" >&6; }
12599 fi
12600
12601
12602   fi
12603 fi
12604 if test -z "$CC"; then
12605   # Extract the first word of "cc", so it can be a program name with args.
12606 set dummy cc; ac_word=$2
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12608 $as_echo_n "checking for $ac_word... " >&6; }
12609 if ${ac_cv_prog_CC+:} false; then :
12610   $as_echo_n "(cached) " >&6
12611 else
12612   if test -n "$CC"; then
12613   ac_cv_prog_CC="$CC" # Let the user override the test.
12614 else
12615   ac_prog_rejected=no
12616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12617 for as_dir in $PATH
12618 do
12619   IFS=$as_save_IFS
12620   test -z "$as_dir" && as_dir=.
12621     for ac_exec_ext in '' $ac_executable_extensions; do
12622   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12623     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12624        ac_prog_rejected=yes
12625        continue
12626      fi
12627     ac_cv_prog_CC="cc"
12628     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12629     break 2
12630   fi
12631 done
12632   done
12633 IFS=$as_save_IFS
12634
12635 if test $ac_prog_rejected = yes; then
12636   # We found a bogon in the path, so make sure we never use it.
12637   set dummy $ac_cv_prog_CC
12638   shift
12639   if test $# != 0; then
12640     # We chose a different compiler from the bogus one.
12641     # However, it has the same basename, so the bogon will be chosen
12642     # first if we set CC to just the basename; use the full file name.
12643     shift
12644     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12645   fi
12646 fi
12647 fi
12648 fi
12649 CC=$ac_cv_prog_CC
12650 if test -n "$CC"; then
12651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12652 $as_echo "$CC" >&6; }
12653 else
12654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12655 $as_echo "no" >&6; }
12656 fi
12657
12658
12659 fi
12660 if test -z "$CC"; then
12661   if test -n "$ac_tool_prefix"; then
12662   for ac_prog in cl.exe
12663   do
12664     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12665 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12667 $as_echo_n "checking for $ac_word... " >&6; }
12668 if ${ac_cv_prog_CC+:} false; then :
12669   $as_echo_n "(cached) " >&6
12670 else
12671   if test -n "$CC"; then
12672   ac_cv_prog_CC="$CC" # Let the user override the test.
12673 else
12674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12675 for as_dir in $PATH
12676 do
12677   IFS=$as_save_IFS
12678   test -z "$as_dir" && as_dir=.
12679     for ac_exec_ext in '' $ac_executable_extensions; do
12680   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12681     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12682     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12683     break 2
12684   fi
12685 done
12686   done
12687 IFS=$as_save_IFS
12688
12689 fi
12690 fi
12691 CC=$ac_cv_prog_CC
12692 if test -n "$CC"; then
12693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12694 $as_echo "$CC" >&6; }
12695 else
12696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12697 $as_echo "no" >&6; }
12698 fi
12699
12700
12701     test -n "$CC" && break
12702   done
12703 fi
12704 if test -z "$CC"; then
12705   ac_ct_CC=$CC
12706   for ac_prog in cl.exe
12707 do
12708   # Extract the first word of "$ac_prog", so it can be a program name with args.
12709 set dummy $ac_prog; ac_word=$2
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12711 $as_echo_n "checking for $ac_word... " >&6; }
12712 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12713   $as_echo_n "(cached) " >&6
12714 else
12715   if test -n "$ac_ct_CC"; then
12716   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12717 else
12718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12719 for as_dir in $PATH
12720 do
12721   IFS=$as_save_IFS
12722   test -z "$as_dir" && as_dir=.
12723     for ac_exec_ext in '' $ac_executable_extensions; do
12724   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12725     ac_cv_prog_ac_ct_CC="$ac_prog"
12726     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12727     break 2
12728   fi
12729 done
12730   done
12731 IFS=$as_save_IFS
12732
12733 fi
12734 fi
12735 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12736 if test -n "$ac_ct_CC"; then
12737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12738 $as_echo "$ac_ct_CC" >&6; }
12739 else
12740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12741 $as_echo "no" >&6; }
12742 fi
12743
12744
12745   test -n "$ac_ct_CC" && break
12746 done
12747
12748   if test "x$ac_ct_CC" = x; then
12749     CC=""
12750   else
12751     case $cross_compiling:$ac_tool_warned in
12752 yes:)
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12754 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12755 ac_tool_warned=yes ;;
12756 esac
12757     CC=$ac_ct_CC
12758   fi
12759 fi
12760
12761 fi
12762
12763
12764 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12765 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12766 as_fn_error $? "no acceptable C compiler found in \$PATH
12767 See \`config.log' for more details" "$LINENO" 5; }
12768
12769 # Provide some information about the compiler.
12770 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12771 set X $ac_compile
12772 ac_compiler=$2
12773 for ac_option in --version -v -V -qversion; do
12774   { { ac_try="$ac_compiler $ac_option >&5"
12775 case "(($ac_try" in
12776   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12777   *) ac_try_echo=$ac_try;;
12778 esac
12779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12780 $as_echo "$ac_try_echo"; } >&5
12781   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12782   ac_status=$?
12783   if test -s conftest.err; then
12784     sed '10a\
12785 ... rest of stderr output deleted ...
12786          10q' conftest.err >conftest.er1
12787     cat conftest.er1 >&5
12788   fi
12789   rm -f conftest.er1 conftest.err
12790   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12791   test $ac_status = 0; }
12792 done
12793
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12795 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12796 if ${ac_cv_c_compiler_gnu+:} false; then :
12797   $as_echo_n "(cached) " >&6
12798 else
12799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12800 /* end confdefs.h.  */
12801
12802 int
12803 main ()
12804 {
12805 #ifndef __GNUC__
12806        choke me
12807 #endif
12808
12809   ;
12810   return 0;
12811 }
12812 _ACEOF
12813 if ac_fn_c_try_compile "$LINENO"; then :
12814   ac_compiler_gnu=yes
12815 else
12816   ac_compiler_gnu=no
12817 fi
12818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12819 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12820
12821 fi
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12823 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12824 if test $ac_compiler_gnu = yes; then
12825   GCC=yes
12826 else
12827   GCC=
12828 fi
12829 ac_test_CFLAGS=${CFLAGS+set}
12830 ac_save_CFLAGS=$CFLAGS
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12832 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12833 if ${ac_cv_prog_cc_g+:} false; then :
12834   $as_echo_n "(cached) " >&6
12835 else
12836   ac_save_c_werror_flag=$ac_c_werror_flag
12837    ac_c_werror_flag=yes
12838    ac_cv_prog_cc_g=no
12839    CFLAGS="-g"
12840    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12841 /* end confdefs.h.  */
12842
12843 int
12844 main ()
12845 {
12846
12847   ;
12848   return 0;
12849 }
12850 _ACEOF
12851 if ac_fn_c_try_compile "$LINENO"; then :
12852   ac_cv_prog_cc_g=yes
12853 else
12854   CFLAGS=""
12855       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12856 /* end confdefs.h.  */
12857
12858 int
12859 main ()
12860 {
12861
12862   ;
12863   return 0;
12864 }
12865 _ACEOF
12866 if ac_fn_c_try_compile "$LINENO"; then :
12867
12868 else
12869   ac_c_werror_flag=$ac_save_c_werror_flag
12870          CFLAGS="-g"
12871          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12872 /* end confdefs.h.  */
12873
12874 int
12875 main ()
12876 {
12877
12878   ;
12879   return 0;
12880 }
12881 _ACEOF
12882 if ac_fn_c_try_compile "$LINENO"; then :
12883   ac_cv_prog_cc_g=yes
12884 fi
12885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12886 fi
12887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12888 fi
12889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12890    ac_c_werror_flag=$ac_save_c_werror_flag
12891 fi
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12893 $as_echo "$ac_cv_prog_cc_g" >&6; }
12894 if test "$ac_test_CFLAGS" = set; then
12895   CFLAGS=$ac_save_CFLAGS
12896 elif test $ac_cv_prog_cc_g = yes; then
12897   if test "$GCC" = yes; then
12898     CFLAGS="-g -O2"
12899   else
12900     CFLAGS="-g"
12901   fi
12902 else
12903   if test "$GCC" = yes; then
12904     CFLAGS="-O2"
12905   else
12906     CFLAGS=
12907   fi
12908 fi
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12910 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12911 if ${ac_cv_prog_cc_c89+:} false; then :
12912   $as_echo_n "(cached) " >&6
12913 else
12914   ac_cv_prog_cc_c89=no
12915 ac_save_CC=$CC
12916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12917 /* end confdefs.h.  */
12918 #include <stdarg.h>
12919 #include <stdio.h>
12920 #include <sys/types.h>
12921 #include <sys/stat.h>
12922 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12923 struct buf { int x; };
12924 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12925 static char *e (p, i)
12926      char **p;
12927      int i;
12928 {
12929   return p[i];
12930 }
12931 static char *f (char * (*g) (char **, int), char **p, ...)
12932 {
12933   char *s;
12934   va_list v;
12935   va_start (v,p);
12936   s = g (p, va_arg (v,int));
12937   va_end (v);
12938   return s;
12939 }
12940
12941 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12942    function prototypes and stuff, but not '\xHH' hex character constants.
12943    These don't provoke an error unfortunately, instead are silently treated
12944    as 'x'.  The following induces an error, until -std is added to get
12945    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12946    array size at least.  It's necessary to write '\x00'==0 to get something
12947    that's true only with -std.  */
12948 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12949
12950 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12951    inside strings and character constants.  */
12952 #define FOO(x) 'x'
12953 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12954
12955 int test (int i, double x);
12956 struct s1 {int (*f) (int a);};
12957 struct s2 {int (*f) (double a);};
12958 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12959 int argc;
12960 char **argv;
12961 int
12962 main ()
12963 {
12964 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12965   ;
12966   return 0;
12967 }
12968 _ACEOF
12969 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12970         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12971 do
12972   CC="$ac_save_CC $ac_arg"
12973   if ac_fn_c_try_compile "$LINENO"; then :
12974   ac_cv_prog_cc_c89=$ac_arg
12975 fi
12976 rm -f core conftest.err conftest.$ac_objext
12977   test "x$ac_cv_prog_cc_c89" != "xno" && break
12978 done
12979 rm -f conftest.$ac_ext
12980 CC=$ac_save_CC
12981
12982 fi
12983 # AC_CACHE_VAL
12984 case "x$ac_cv_prog_cc_c89" in
12985   x)
12986     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12987 $as_echo "none needed" >&6; } ;;
12988   xno)
12989     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12990 $as_echo "unsupported" >&6; } ;;
12991   *)
12992     CC="$CC $ac_cv_prog_cc_c89"
12993     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12994 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12995 esac
12996 if test "x$ac_cv_prog_cc_c89" != xno; then :
12997
12998 fi
12999
13000 ac_ext=c
13001 ac_cpp='$CPP $CPPFLAGS'
13002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13005
13006 depcc="$CC"   am_compiler_list=
13007
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13009 $as_echo_n "checking dependency style of $depcc... " >&6; }
13010 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
13011   $as_echo_n "(cached) " >&6
13012 else
13013   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13014   # We make a subdir and do the tests there.  Otherwise we can end up
13015   # making bogus files that we don't know about and never remove.  For
13016   # instance it was reported that on HP-UX the gcc test will end up
13017   # making a dummy file named `D' -- because `-MD' means `put the output
13018   # in D'.
13019   rm -rf conftest.dir
13020   mkdir conftest.dir
13021   # Copy depcomp to subdir because otherwise we won't find it if we're
13022   # using a relative directory.
13023   cp "$am_depcomp" conftest.dir
13024   cd conftest.dir
13025   # We will build objects and dependencies in a subdirectory because
13026   # it helps to detect inapplicable dependency modes.  For instance
13027   # both Tru64's cc and ICC support -MD to output dependencies as a
13028   # side effect of compilation, but ICC will put the dependencies in
13029   # the current directory while Tru64 will put them in the object
13030   # directory.
13031   mkdir sub
13032
13033   am_cv_CC_dependencies_compiler_type=none
13034   if test "$am_compiler_list" = ""; then
13035      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13036   fi
13037   am__universal=false
13038   case " $depcc " in #(
13039      *\ -arch\ *\ -arch\ *) am__universal=true ;;
13040      esac
13041
13042   for depmode in $am_compiler_list; do
13043     # Setup a source with many dependencies, because some compilers
13044     # like to wrap large dependency lists on column 80 (with \), and
13045     # we should not choose a depcomp mode which is confused by this.
13046     #
13047     # We need to recreate these files for each test, as the compiler may
13048     # overwrite some of them when testing with obscure command lines.
13049     # This happens at least with the AIX C compiler.
13050     : > sub/conftest.c
13051     for i in 1 2 3 4 5 6; do
13052       echo '#include "conftst'$i'.h"' >> sub/conftest.c
13053       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13054       # Solaris 8's {/usr,}/bin/sh.
13055       touch sub/conftst$i.h
13056     done
13057     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13058
13059     # We check with `-c' and `-o' for the sake of the "dashmstdout"
13060     # mode.  It turns out that the SunPro C++ compiler does not properly
13061     # handle `-M -o', and we need to detect this.  Also, some Intel
13062     # versions had trouble with output in subdirs
13063     am__obj=sub/conftest.${OBJEXT-o}
13064     am__minus_obj="-o $am__obj"
13065     case $depmode in
13066     gcc)
13067       # This depmode causes a compiler race in universal mode.
13068       test "$am__universal" = false || continue
13069       ;;
13070     nosideeffect)
13071       # after this tag, mechanisms are not by side-effect, so they'll
13072       # only be used when explicitly requested
13073       if test "x$enable_dependency_tracking" = xyes; then
13074         continue
13075       else
13076         break
13077       fi
13078       ;;
13079     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13080       # This compiler won't grok `-c -o', but also, the minuso test has
13081       # not run yet.  These depmodes are late enough in the game, and
13082       # so weak that their functioning should not be impacted.
13083       am__obj=conftest.${OBJEXT-o}
13084       am__minus_obj=
13085       ;;
13086     none) break ;;
13087     esac
13088     if depmode=$depmode \
13089        source=sub/conftest.c object=$am__obj \
13090        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13091        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13092          >/dev/null 2>conftest.err &&
13093        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13094        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13095        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13096        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13097       # icc doesn't choke on unknown options, it will just issue warnings
13098       # or remarks (even with -Werror).  So we grep stderr for any message
13099       # that says an option was ignored or not supported.
13100       # When given -MP, icc 7.0 and 7.1 complain thusly:
13101       #   icc: Command line warning: ignoring option '-M'; no argument required
13102       # The diagnosis changed in icc 8.0:
13103       #   icc: Command line remark: option '-MP' not supported
13104       if (grep 'ignoring option' conftest.err ||
13105           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13106         am_cv_CC_dependencies_compiler_type=$depmode
13107         break
13108       fi
13109     fi
13110   done
13111
13112   cd ..
13113   rm -rf conftest.dir
13114 else
13115   am_cv_CC_dependencies_compiler_type=none
13116 fi
13117
13118 fi
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13120 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13121 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13122
13123  if
13124   test "x$enable_dependency_tracking" != xno \
13125   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13126   am__fastdepCC_TRUE=
13127   am__fastdepCC_FALSE='#'
13128 else
13129   am__fastdepCC_TRUE='#'
13130   am__fastdepCC_FALSE=
13131 fi
13132
13133
13134
13135 # doxygen program for documentation building
13136
13137
13138
13139 # Check whether --enable-doc was given.
13140 if test "${enable_doc+set}" = set; then :
13141   enableval=$enable_doc;
13142     if test "x${enableval}" = "xyes" ; then
13143        efl_enable_doc="yes"
13144     else
13145        efl_enable_doc="no"
13146     fi
13147
13148 else
13149   efl_enable_doc="yes"
13150 fi
13151
13152
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
13154 $as_echo_n "checking whether to build documentation... " >&6; }
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
13156 $as_echo "${efl_enable_doc}" >&6; }
13157
13158 if test "x${efl_enable_doc}" = "xyes" ; then
13159
13160
13161    efl_doxygen="doxygen"
13162
13163
13164 # Check whether --with-doxygen was given.
13165 if test "${with_doxygen+set}" = set; then :
13166   withval=$with_doxygen;
13167       efl_doxygen=${withval}
13168        # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
13169 set dummy ${efl_doxygen}; ac_word=$2
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13171 $as_echo_n "checking for $ac_word... " >&6; }
13172 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
13173   $as_echo_n "(cached) " >&6
13174 else
13175   if test -n "$efl_have_doxygen"; then
13176   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
13177 else
13178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13179 for as_dir in $PATH
13180 do
13181   IFS=$as_save_IFS
13182   test -z "$as_dir" && as_dir=.
13183     for ac_exec_ext in '' $ac_executable_extensions; do
13184   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13185     ac_cv_prog_efl_have_doxygen="yes"
13186     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13187     break 2
13188   fi
13189 done
13190   done
13191 IFS=$as_save_IFS
13192
13193   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
13194 fi
13195 fi
13196 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
13197 if test -n "$efl_have_doxygen"; then
13198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
13199 $as_echo "$efl_have_doxygen" >&6; }
13200 else
13201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13202 $as_echo "no" >&6; }
13203 fi
13204
13205
13206        if test "x${efl_have_doxygen}" = "xno" ; then
13207           echo "WARNING:"
13208           echo "The doxygen program you specified:"
13209           echo "${efl_doxygen}"
13210           echo "was not found.  Please check the path and make sure "
13211           echo "the program exists and is executable."
13212           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
13213 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
13214        fi
13215
13216 else
13217   # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
13218 set dummy ${efl_doxygen}; ac_word=$2
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13220 $as_echo_n "checking for $ac_word... " >&6; }
13221 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
13222   $as_echo_n "(cached) " >&6
13223 else
13224   if test -n "$efl_have_doxygen"; then
13225   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
13226 else
13227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13228 for as_dir in $PATH
13229 do
13230   IFS=$as_save_IFS
13231   test -z "$as_dir" && as_dir=.
13232     for ac_exec_ext in '' $ac_executable_extensions; do
13233   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13234     ac_cv_prog_efl_have_doxygen="yes"
13235     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13236     break 2
13237   fi
13238 done
13239   done
13240 IFS=$as_save_IFS
13241
13242   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
13243 fi
13244 fi
13245 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
13246 if test -n "$efl_have_doxygen"; then
13247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
13248 $as_echo "$efl_have_doxygen" >&6; }
13249 else
13250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13251 $as_echo "no" >&6; }
13252 fi
13253
13254
13255        if test "x${efl_have_doxygen}" = "xno" ; then
13256           echo "WARNING:"
13257           echo "The doxygen program was not found in your execute path."
13258           echo "You may have doxygen installed somewhere not covered by your path."
13259           echo ""
13260           echo "If this is the case make sure you have the packages installed, AND"
13261           echo "that the doxygen program is in your execute path (see your"
13262           echo "shell manual page on setting the \$PATH environment variable), OR"
13263           echo "alternatively, specify the program to use with --with-doxygen."
13264           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
13265 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
13266        fi
13267
13268 fi
13269
13270 fi
13271
13272
13273
13274 if ! test "x${efl_have_doxygen}" = "xyes" ; then
13275    efl_enable_doc="no"
13276 fi
13277
13278  if test "x${efl_enable_doc}" = "xyes"; then
13279   EFL_BUILD_DOC_TRUE=
13280   EFL_BUILD_DOC_FALSE='#'
13281 else
13282   EFL_BUILD_DOC_TRUE='#'
13283   EFL_BUILD_DOC_FALSE=
13284 fi
13285
13286
13287 if test "x${efl_enable_doc}" = "xyes" ; then
13288   build_doc="yes"
13289 else
13290   build_doc="no"
13291 fi
13292
13293
13294
13295 # python
13296
13297
13298
13299
13300
13301
13302
13303         if test -n "$PYTHON"; then
13304       # If the user set $PYTHON, use it and don't search something else.
13305       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
13306 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
13307       prog="import sys
13308 # split strings by '.' and convert to numeric.  Append some zeros
13309 # because we need at least 4 digits for the hex conversion.
13310 # map returns an iterator in Python 3.0 and a list in 2.x
13311 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
13312 minverhex = 0
13313 # xrange is not present in Python 3.0 and range returns an iterator
13314 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
13315 sys.exit(sys.hexversion < minverhex)"
13316   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
13317    ($PYTHON -c "$prog") >&5 2>&5
13318    ac_status=$?
13319    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13320    (exit $ac_status); }; then :
13321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13322 $as_echo "yes" >&6; }
13323 else
13324   as_fn_error $? "too old" "$LINENO" 5
13325 fi
13326       am_display_PYTHON=$PYTHON
13327     else
13328       # Otherwise, try each interpreter until we find one that satisfies
13329       # VERSION.
13330       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
13331 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
13332 if ${am_cv_pathless_PYTHON+:} false; then :
13333   $as_echo_n "(cached) " >&6
13334 else
13335
13336         for am_cv_pathless_PYTHON in python python2 python3 python3.2 python3.1 python3.0 python2.7  python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
13337           test "$am_cv_pathless_PYTHON" = none && break
13338           prog="import sys
13339 # split strings by '.' and convert to numeric.  Append some zeros
13340 # because we need at least 4 digits for the hex conversion.
13341 # map returns an iterator in Python 3.0 and a list in 2.x
13342 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
13343 minverhex = 0
13344 # xrange is not present in Python 3.0 and range returns an iterator
13345 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
13346 sys.exit(sys.hexversion < minverhex)"
13347   if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
13348    ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
13349    ac_status=$?
13350    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13351    (exit $ac_status); }; then :
13352   break
13353 fi
13354         done
13355 fi
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
13357 $as_echo "$am_cv_pathless_PYTHON" >&6; }
13358       # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
13359       if test "$am_cv_pathless_PYTHON" = none; then
13360         PYTHON=:
13361       else
13362         # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
13363 set dummy $am_cv_pathless_PYTHON; ac_word=$2
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13365 $as_echo_n "checking for $ac_word... " >&6; }
13366 if ${ac_cv_path_PYTHON+:} false; then :
13367   $as_echo_n "(cached) " >&6
13368 else
13369   case $PYTHON in
13370   [\\/]* | ?:[\\/]*)
13371   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
13372   ;;
13373   *)
13374   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13375 for as_dir in $PATH
13376 do
13377   IFS=$as_save_IFS
13378   test -z "$as_dir" && as_dir=.
13379     for ac_exec_ext in '' $ac_executable_extensions; do
13380   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13381     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
13382     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13383     break 2
13384   fi
13385 done
13386   done
13387 IFS=$as_save_IFS
13388
13389   ;;
13390 esac
13391 fi
13392 PYTHON=$ac_cv_path_PYTHON
13393 if test -n "$PYTHON"; then
13394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
13395 $as_echo "$PYTHON" >&6; }
13396 else
13397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13398 $as_echo "no" >&6; }
13399 fi
13400
13401
13402       fi
13403       am_display_PYTHON=$am_cv_pathless_PYTHON
13404     fi
13405
13406
13407   if test "$PYTHON" = :; then
13408       :
13409   else
13410
13411
13412   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
13413 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
13414 if ${am_cv_python_version+:} false; then :
13415   $as_echo_n "(cached) " >&6
13416 else
13417   am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
13418 fi
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
13420 $as_echo "$am_cv_python_version" >&6; }
13421   PYTHON_VERSION=$am_cv_python_version
13422
13423
13424
13425   PYTHON_PREFIX='${prefix}'
13426
13427   PYTHON_EXEC_PREFIX='${exec_prefix}'
13428
13429
13430
13431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
13432 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
13433 if ${am_cv_python_platform+:} false; then :
13434   $as_echo_n "(cached) " >&6
13435 else
13436   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
13437 fi
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
13439 $as_echo "$am_cv_python_platform" >&6; }
13440   PYTHON_PLATFORM=$am_cv_python_platform
13441
13442
13443
13444
13445             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
13446 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
13447 if ${am_cv_python_pythondir+:} false; then :
13448   $as_echo_n "(cached) " >&6
13449 else
13450   if test "x$prefix" = xNONE
13451      then
13452        am_py_prefix=$ac_default_prefix
13453      else
13454        am_py_prefix=$prefix
13455      fi
13456      am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null`
13457      case $am_cv_python_pythondir in
13458      $am_py_prefix*)
13459        am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
13460        am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
13461        ;;
13462      *)
13463        case $am_py_prefix in
13464          /usr|/System*) ;;
13465          *)
13466           am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
13467           ;;
13468        esac
13469        ;;
13470      esac
13471
13472 fi
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
13474 $as_echo "$am_cv_python_pythondir" >&6; }
13475   pythondir=$am_cv_python_pythondir
13476
13477
13478
13479   pkgpythondir=\${pythondir}/$PACKAGE
13480
13481
13482         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
13483 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
13484 if ${am_cv_python_pyexecdir+:} false; then :
13485   $as_echo_n "(cached) " >&6
13486 else
13487   if test "x$exec_prefix" = xNONE
13488      then
13489        am_py_exec_prefix=$am_py_prefix
13490      else
13491        am_py_exec_prefix=$exec_prefix
13492      fi
13493      am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null`
13494      case $am_cv_python_pyexecdir in
13495      $am_py_exec_prefix*)
13496        am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
13497        am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
13498        ;;
13499      *)
13500        case $am_py_exec_prefix in
13501          /usr|/System*) ;;
13502          *)
13503            am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
13504            ;;
13505        esac
13506        ;;
13507      esac
13508
13509 fi
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
13511 $as_echo "$am_cv_python_pyexecdir" >&6; }
13512   pyexecdir=$am_cv_python_pyexecdir
13513
13514
13515
13516   pkgpyexecdir=\${pyexecdir}/$PACKAGE
13517
13518
13519
13520   fi
13521
13522
13523  if test "$PYTHON" != : ; then
13524   HAVE_PYTHON_TRUE=
13525   HAVE_PYTHON_FALSE='#'
13526 else
13527   HAVE_PYTHON_TRUE='#'
13528   HAVE_PYTHON_FALSE=
13529 fi
13530
13531
13532 # pkg-config
13533
13534
13535
13536
13537
13538
13539
13540 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13541         if test -n "$ac_tool_prefix"; then
13542   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13543 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13545 $as_echo_n "checking for $ac_word... " >&6; }
13546 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13547   $as_echo_n "(cached) " >&6
13548 else
13549   case $PKG_CONFIG in
13550   [\\/]* | ?:[\\/]*)
13551   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13552   ;;
13553   *)
13554   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13555 for as_dir in $PATH
13556 do
13557   IFS=$as_save_IFS
13558   test -z "$as_dir" && as_dir=.
13559     for ac_exec_ext in '' $ac_executable_extensions; do
13560   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13561     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13562     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13563     break 2
13564   fi
13565 done
13566   done
13567 IFS=$as_save_IFS
13568
13569   ;;
13570 esac
13571 fi
13572 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13573 if test -n "$PKG_CONFIG"; then
13574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13575 $as_echo "$PKG_CONFIG" >&6; }
13576 else
13577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13578 $as_echo "no" >&6; }
13579 fi
13580
13581
13582 fi
13583 if test -z "$ac_cv_path_PKG_CONFIG"; then
13584   ac_pt_PKG_CONFIG=$PKG_CONFIG
13585   # Extract the first word of "pkg-config", so it can be a program name with args.
13586 set dummy pkg-config; ac_word=$2
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13588 $as_echo_n "checking for $ac_word... " >&6; }
13589 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13590   $as_echo_n "(cached) " >&6
13591 else
13592   case $ac_pt_PKG_CONFIG in
13593   [\\/]* | ?:[\\/]*)
13594   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13595   ;;
13596   *)
13597   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13598 for as_dir in $PATH
13599 do
13600   IFS=$as_save_IFS
13601   test -z "$as_dir" && as_dir=.
13602     for ac_exec_ext in '' $ac_executable_extensions; do
13603   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13604     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13605     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13606     break 2
13607   fi
13608 done
13609   done
13610 IFS=$as_save_IFS
13611
13612   ;;
13613 esac
13614 fi
13615 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13616 if test -n "$ac_pt_PKG_CONFIG"; then
13617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13618 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13619 else
13620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13621 $as_echo "no" >&6; }
13622 fi
13623
13624   if test "x$ac_pt_PKG_CONFIG" = x; then
13625     PKG_CONFIG=""
13626   else
13627     case $cross_compiling:$ac_tool_warned in
13628 yes:)
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13631 ac_tool_warned=yes ;;
13632 esac
13633     PKG_CONFIG=$ac_pt_PKG_CONFIG
13634   fi
13635 else
13636   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13637 fi
13638
13639 fi
13640 if test -n "$PKG_CONFIG"; then
13641         _pkg_min_version=0.9.0
13642         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13643 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13644         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13645                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13646 $as_echo "yes" >&6; }
13647         else
13648                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13649 $as_echo "no" >&6; }
13650                 PKG_CONFIG=""
13651         fi
13652 fi
13653
13654 # Check whether pkg-config supports Requires.private
13655
13656 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
13657    pkgconfig_requires_private="Requires.private"
13658 else
13659    pkgconfig_requires_private="Requires"
13660 fi
13661
13662
13663
13664 ### Checks for libraries
13665
13666 # Evil library for compilation on Windows
13667
13668 EFL_EDJE_BUILD=""
13669 case "$host_os" in
13670    mingw*)
13671
13672 pkg_failed=no
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
13674 $as_echo_n "checking for EVIL... " >&6; }
13675
13676 if test -n "$EVIL_CFLAGS"; then
13677     pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
13678  elif test -n "$PKG_CONFIG"; then
13679     if test -n "$PKG_CONFIG" && \
13680     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.7.7\""; } >&5
13681   ($PKG_CONFIG --exists --print-errors "evil >= 1.7.7") 2>&5
13682   ac_status=$?
13683   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13684   test $ac_status = 0; }; then
13685   pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.7.7" 2>/dev/null`
13686 else
13687   pkg_failed=yes
13688 fi
13689  else
13690     pkg_failed=untried
13691 fi
13692 if test -n "$EVIL_LIBS"; then
13693     pkg_cv_EVIL_LIBS="$EVIL_LIBS"
13694  elif test -n "$PKG_CONFIG"; then
13695     if test -n "$PKG_CONFIG" && \
13696     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.7.7\""; } >&5
13697   ($PKG_CONFIG --exists --print-errors "evil >= 1.7.7") 2>&5
13698   ac_status=$?
13699   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13700   test $ac_status = 0; }; then
13701   pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.7.7" 2>/dev/null`
13702 else
13703   pkg_failed=yes
13704 fi
13705  else
13706     pkg_failed=untried
13707 fi
13708
13709
13710
13711 if test $pkg_failed = yes; then
13712         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13713 $as_echo "no" >&6; }
13714
13715 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13716         _pkg_short_errors_supported=yes
13717 else
13718         _pkg_short_errors_supported=no
13719 fi
13720         if test $_pkg_short_errors_supported = yes; then
13721                 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evil >= 1.7.7" 2>&1`
13722         else
13723                 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "evil >= 1.7.7" 2>&1`
13724         fi
13725         # Put the nasty error message in config.log where it belongs
13726         echo "$EVIL_PKG_ERRORS" >&5
13727
13728         as_fn_error $? "Package requirements (evil >= 1.7.7) were not met:
13729
13730 $EVIL_PKG_ERRORS
13731
13732 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13733 installed software in a non-standard prefix.
13734
13735 Alternatively, you may set the environment variables EVIL_CFLAGS
13736 and EVIL_LIBS to avoid the need to call pkg-config.
13737 See the pkg-config man page for more details." "$LINENO" 5
13738
13739 elif test $pkg_failed = untried; then
13740         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13741 $as_echo "no" >&6; }
13742         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13743 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13744 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13745 is in your PATH or set the PKG_CONFIG environment variable to the full
13746 path to pkg-config.
13747
13748 Alternatively, you may set the environment variables EVIL_CFLAGS
13749 and EVIL_LIBS to avoid the need to call pkg-config.
13750 See the pkg-config man page for more details.
13751
13752 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13753 See \`config.log' for more details" "$LINENO" 5; }
13754
13755 else
13756         EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
13757         EVIL_LIBS=$pkg_cv_EVIL_LIBS
13758         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13759 $as_echo "yes" >&6; }
13760
13761 fi
13762
13763 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
13764
13765       requirement_edje="evil ${requirement_edje}"
13766       EFL_EDJE_BUILD="-DEFL_EDJE_BUILD"
13767    ;;
13768 esac
13769
13770
13771 # Dependencies for the library
13772
13773 # Lua pkg-config hack for different naming conventions
13774 have_lua="yes"
13775 requirement_lua=""
13776 lua_libs=""
13777
13778 pkg_failed=no
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13780 $as_echo_n "checking for LUA... " >&6; }
13781
13782 if test -n "$LUA_CFLAGS"; then
13783     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13784  elif test -n "$PKG_CONFIG"; then
13785     if test -n "$PKG_CONFIG" && \
13786     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1.0\""; } >&5
13787   ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
13788   ac_status=$?
13789   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13790   test $ac_status = 0; }; then
13791   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1.0" 2>/dev/null`
13792 else
13793   pkg_failed=yes
13794 fi
13795  else
13796     pkg_failed=untried
13797 fi
13798 if test -n "$LUA_LIBS"; then
13799     pkg_cv_LUA_LIBS="$LUA_LIBS"
13800  elif test -n "$PKG_CONFIG"; then
13801     if test -n "$PKG_CONFIG" && \
13802     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1.0\""; } >&5
13803   ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
13804   ac_status=$?
13805   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13806   test $ac_status = 0; }; then
13807   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1.0" 2>/dev/null`
13808 else
13809   pkg_failed=yes
13810 fi
13811  else
13812     pkg_failed=untried
13813 fi
13814
13815
13816
13817 if test $pkg_failed = yes; then
13818         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13819 $as_echo "no" >&6; }
13820
13821 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13822         _pkg_short_errors_supported=yes
13823 else
13824         _pkg_short_errors_supported=no
13825 fi
13826         if test $_pkg_short_errors_supported = yes; then
13827                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.1.0" 2>&1`
13828         else
13829                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.1.0" 2>&1`
13830         fi
13831         # Put the nasty error message in config.log where it belongs
13832         echo "$LUA_PKG_ERRORS" >&5
13833
13834
13835 pkg_failed=no
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13837 $as_echo_n "checking for LUA... " >&6; }
13838
13839 if test -n "$LUA_CFLAGS"; then
13840     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13841  elif test -n "$PKG_CONFIG"; then
13842     if test -n "$PKG_CONFIG" && \
13843     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
13844   ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
13845   ac_status=$?
13846   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13847   test $ac_status = 0; }; then
13848   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1.0" 2>/dev/null`
13849 else
13850   pkg_failed=yes
13851 fi
13852  else
13853     pkg_failed=untried
13854 fi
13855 if test -n "$LUA_LIBS"; then
13856     pkg_cv_LUA_LIBS="$LUA_LIBS"
13857  elif test -n "$PKG_CONFIG"; then
13858     if test -n "$PKG_CONFIG" && \
13859     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
13860   ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
13861   ac_status=$?
13862   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13863   test $ac_status = 0; }; then
13864   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1.0" 2>/dev/null`
13865 else
13866   pkg_failed=yes
13867 fi
13868  else
13869     pkg_failed=untried
13870 fi
13871
13872
13873
13874 if test $pkg_failed = yes; then
13875         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13876 $as_echo "no" >&6; }
13877
13878 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13879         _pkg_short_errors_supported=yes
13880 else
13881         _pkg_short_errors_supported=no
13882 fi
13883         if test $_pkg_short_errors_supported = yes; then
13884                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1.0" 2>&1`
13885         else
13886                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1.0" 2>&1`
13887         fi
13888         # Put the nasty error message in config.log where it belongs
13889         echo "$LUA_PKG_ERRORS" >&5
13890
13891
13892 pkg_failed=no
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13894 $as_echo_n "checking for LUA... " >&6; }
13895
13896 if test -n "$LUA_CFLAGS"; then
13897     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13898  elif test -n "$PKG_CONFIG"; then
13899     if test -n "$PKG_CONFIG" && \
13900     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13901   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13902   ac_status=$?
13903   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13904   test $ac_status = 0; }; then
13905   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
13906 else
13907   pkg_failed=yes
13908 fi
13909  else
13910     pkg_failed=untried
13911 fi
13912 if test -n "$LUA_LIBS"; then
13913     pkg_cv_LUA_LIBS="$LUA_LIBS"
13914  elif test -n "$PKG_CONFIG"; then
13915     if test -n "$PKG_CONFIG" && \
13916     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13917   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13918   ac_status=$?
13919   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13920   test $ac_status = 0; }; then
13921   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
13922 else
13923   pkg_failed=yes
13924 fi
13925  else
13926     pkg_failed=untried
13927 fi
13928
13929
13930
13931 if test $pkg_failed = yes; then
13932         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13933 $as_echo "no" >&6; }
13934
13935 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13936         _pkg_short_errors_supported=yes
13937 else
13938         _pkg_short_errors_supported=no
13939 fi
13940         if test $_pkg_short_errors_supported = yes; then
13941                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13942         else
13943                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13944         fi
13945         # Put the nasty error message in config.log where it belongs
13946         echo "$LUA_PKG_ERRORS" >&5
13947
13948
13949 pkg_failed=no
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13951 $as_echo_n "checking for LUA... " >&6; }
13952
13953 if test -n "$LUA_CFLAGS"; then
13954     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13955  elif test -n "$PKG_CONFIG"; then
13956     if test -n "$PKG_CONFIG" && \
13957     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13958   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13959   ac_status=$?
13960   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13961   test $ac_status = 0; }; then
13962   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
13963 else
13964   pkg_failed=yes
13965 fi
13966  else
13967     pkg_failed=untried
13968 fi
13969 if test -n "$LUA_LIBS"; then
13970     pkg_cv_LUA_LIBS="$LUA_LIBS"
13971  elif test -n "$PKG_CONFIG"; then
13972     if test -n "$PKG_CONFIG" && \
13973     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13974   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13975   ac_status=$?
13976   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13977   test $ac_status = 0; }; then
13978   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
13979 else
13980   pkg_failed=yes
13981 fi
13982  else
13983     pkg_failed=untried
13984 fi
13985
13986
13987
13988 if test $pkg_failed = yes; then
13989         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13990 $as_echo "no" >&6; }
13991
13992 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13993         _pkg_short_errors_supported=yes
13994 else
13995         _pkg_short_errors_supported=no
13996 fi
13997         if test $_pkg_short_errors_supported = yes; then
13998                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13999         else
14000                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
14001         fi
14002         # Put the nasty error message in config.log where it belongs
14003         echo "$LUA_PKG_ERRORS" >&5
14004
14005         have_lua="no"
14006 elif test $pkg_failed = untried; then
14007         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14008 $as_echo "no" >&6; }
14009         have_lua="no"
14010 else
14011         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14012         LUA_LIBS=$pkg_cv_LUA_LIBS
14013         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14014 $as_echo "yes" >&6; }
14015         requirement_lua="lua51"
14016 fi
14017 elif test $pkg_failed = untried; then
14018         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14019 $as_echo "no" >&6; }
14020
14021 pkg_failed=no
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14023 $as_echo_n "checking for LUA... " >&6; }
14024
14025 if test -n "$LUA_CFLAGS"; then
14026     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14027  elif test -n "$PKG_CONFIG"; then
14028     if test -n "$PKG_CONFIG" && \
14029     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14030   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14031   ac_status=$?
14032   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14033   test $ac_status = 0; }; then
14034   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14035 else
14036   pkg_failed=yes
14037 fi
14038  else
14039     pkg_failed=untried
14040 fi
14041 if test -n "$LUA_LIBS"; then
14042     pkg_cv_LUA_LIBS="$LUA_LIBS"
14043  elif test -n "$PKG_CONFIG"; then
14044     if test -n "$PKG_CONFIG" && \
14045     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14046   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14047   ac_status=$?
14048   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14049   test $ac_status = 0; }; then
14050   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14051 else
14052   pkg_failed=yes
14053 fi
14054  else
14055     pkg_failed=untried
14056 fi
14057
14058
14059
14060 if test $pkg_failed = yes; then
14061         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14062 $as_echo "no" >&6; }
14063
14064 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14065         _pkg_short_errors_supported=yes
14066 else
14067         _pkg_short_errors_supported=no
14068 fi
14069         if test $_pkg_short_errors_supported = yes; then
14070                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
14071         else
14072                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
14073         fi
14074         # Put the nasty error message in config.log where it belongs
14075         echo "$LUA_PKG_ERRORS" >&5
14076
14077         have_lua="no"
14078 elif test $pkg_failed = untried; then
14079         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14080 $as_echo "no" >&6; }
14081         have_lua="no"
14082 else
14083         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14084         LUA_LIBS=$pkg_cv_LUA_LIBS
14085         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14086 $as_echo "yes" >&6; }
14087         requirement_lua="lua51"
14088 fi
14089 else
14090         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14091         LUA_LIBS=$pkg_cv_LUA_LIBS
14092         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14093 $as_echo "yes" >&6; }
14094         requirement_lua="lua-5.1"
14095 fi
14096 elif test $pkg_failed = untried; then
14097         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14098 $as_echo "no" >&6; }
14099
14100 pkg_failed=no
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14102 $as_echo_n "checking for LUA... " >&6; }
14103
14104 if test -n "$LUA_CFLAGS"; then
14105     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14106  elif test -n "$PKG_CONFIG"; then
14107     if test -n "$PKG_CONFIG" && \
14108     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14109   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14110   ac_status=$?
14111   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14112   test $ac_status = 0; }; then
14113   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
14114 else
14115   pkg_failed=yes
14116 fi
14117  else
14118     pkg_failed=untried
14119 fi
14120 if test -n "$LUA_LIBS"; then
14121     pkg_cv_LUA_LIBS="$LUA_LIBS"
14122  elif test -n "$PKG_CONFIG"; then
14123     if test -n "$PKG_CONFIG" && \
14124     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14125   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14126   ac_status=$?
14127   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14128   test $ac_status = 0; }; then
14129   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
14130 else
14131   pkg_failed=yes
14132 fi
14133  else
14134     pkg_failed=untried
14135 fi
14136
14137
14138
14139 if test $pkg_failed = yes; then
14140         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14141 $as_echo "no" >&6; }
14142
14143 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14144         _pkg_short_errors_supported=yes
14145 else
14146         _pkg_short_errors_supported=no
14147 fi
14148         if test $_pkg_short_errors_supported = yes; then
14149                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1.0" 2>&1`
14150         else
14151                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1.0" 2>&1`
14152         fi
14153         # Put the nasty error message in config.log where it belongs
14154         echo "$LUA_PKG_ERRORS" >&5
14155
14156
14157 pkg_failed=no
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14159 $as_echo_n "checking for LUA... " >&6; }
14160
14161 if test -n "$LUA_CFLAGS"; then
14162     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14163  elif test -n "$PKG_CONFIG"; then
14164     if test -n "$PKG_CONFIG" && \
14165     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14166   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14167   ac_status=$?
14168   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14169   test $ac_status = 0; }; then
14170   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14171 else
14172   pkg_failed=yes
14173 fi
14174  else
14175     pkg_failed=untried
14176 fi
14177 if test -n "$LUA_LIBS"; then
14178     pkg_cv_LUA_LIBS="$LUA_LIBS"
14179  elif test -n "$PKG_CONFIG"; then
14180     if test -n "$PKG_CONFIG" && \
14181     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14182   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14183   ac_status=$?
14184   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14185   test $ac_status = 0; }; then
14186   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14187 else
14188   pkg_failed=yes
14189 fi
14190  else
14191     pkg_failed=untried
14192 fi
14193
14194
14195
14196 if test $pkg_failed = yes; then
14197         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14198 $as_echo "no" >&6; }
14199
14200 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14201         _pkg_short_errors_supported=yes
14202 else
14203         _pkg_short_errors_supported=no
14204 fi
14205         if test $_pkg_short_errors_supported = yes; then
14206                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
14207         else
14208                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
14209         fi
14210         # Put the nasty error message in config.log where it belongs
14211         echo "$LUA_PKG_ERRORS" >&5
14212
14213         have_lua="no"
14214 elif test $pkg_failed = untried; then
14215         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14216 $as_echo "no" >&6; }
14217         have_lua="no"
14218 else
14219         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14220         LUA_LIBS=$pkg_cv_LUA_LIBS
14221         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14222 $as_echo "yes" >&6; }
14223         requirement_lua="lua51"
14224 fi
14225 elif test $pkg_failed = untried; then
14226         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14227 $as_echo "no" >&6; }
14228
14229 pkg_failed=no
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14231 $as_echo_n "checking for LUA... " >&6; }
14232
14233 if test -n "$LUA_CFLAGS"; then
14234     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14235  elif test -n "$PKG_CONFIG"; then
14236     if test -n "$PKG_CONFIG" && \
14237     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14238   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14239   ac_status=$?
14240   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14241   test $ac_status = 0; }; then
14242   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14243 else
14244   pkg_failed=yes
14245 fi
14246  else
14247     pkg_failed=untried
14248 fi
14249 if test -n "$LUA_LIBS"; then
14250     pkg_cv_LUA_LIBS="$LUA_LIBS"
14251  elif test -n "$PKG_CONFIG"; then
14252     if test -n "$PKG_CONFIG" && \
14253     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14254   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14255   ac_status=$?
14256   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14257   test $ac_status = 0; }; then
14258   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14259 else
14260   pkg_failed=yes
14261 fi
14262  else
14263     pkg_failed=untried
14264 fi
14265
14266
14267
14268 if test $pkg_failed = yes; then
14269         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14270 $as_echo "no" >&6; }
14271
14272 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14273         _pkg_short_errors_supported=yes
14274 else
14275         _pkg_short_errors_supported=no
14276 fi
14277         if test $_pkg_short_errors_supported = yes; then
14278                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
14279         else
14280                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
14281         fi
14282         # Put the nasty error message in config.log where it belongs
14283         echo "$LUA_PKG_ERRORS" >&5
14284
14285         have_lua="no"
14286 elif test $pkg_failed = untried; then
14287         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14288 $as_echo "no" >&6; }
14289         have_lua="no"
14290 else
14291         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14292         LUA_LIBS=$pkg_cv_LUA_LIBS
14293         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14294 $as_echo "yes" >&6; }
14295         requirement_lua="lua51"
14296 fi
14297 else
14298         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14299         LUA_LIBS=$pkg_cv_LUA_LIBS
14300         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14301 $as_echo "yes" >&6; }
14302         requirement_lua="lua-5.1"
14303 fi
14304 else
14305         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14306         LUA_LIBS=$pkg_cv_LUA_LIBS
14307         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14308 $as_echo "yes" >&6; }
14309         requirement_lua="lua5.1"
14310 fi
14311 elif test $pkg_failed = untried; then
14312         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14313 $as_echo "no" >&6; }
14314
14315 pkg_failed=no
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14317 $as_echo_n "checking for LUA... " >&6; }
14318
14319 if test -n "$LUA_CFLAGS"; then
14320     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14321  elif test -n "$PKG_CONFIG"; then
14322     if test -n "$PKG_CONFIG" && \
14323     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
14324   ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
14325   ac_status=$?
14326   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14327   test $ac_status = 0; }; then
14328   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1.0" 2>/dev/null`
14329 else
14330   pkg_failed=yes
14331 fi
14332  else
14333     pkg_failed=untried
14334 fi
14335 if test -n "$LUA_LIBS"; then
14336     pkg_cv_LUA_LIBS="$LUA_LIBS"
14337  elif test -n "$PKG_CONFIG"; then
14338     if test -n "$PKG_CONFIG" && \
14339     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
14340   ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
14341   ac_status=$?
14342   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14343   test $ac_status = 0; }; then
14344   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1.0" 2>/dev/null`
14345 else
14346   pkg_failed=yes
14347 fi
14348  else
14349     pkg_failed=untried
14350 fi
14351
14352
14353
14354 if test $pkg_failed = yes; then
14355         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14356 $as_echo "no" >&6; }
14357
14358 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14359         _pkg_short_errors_supported=yes
14360 else
14361         _pkg_short_errors_supported=no
14362 fi
14363         if test $_pkg_short_errors_supported = yes; then
14364                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1.0" 2>&1`
14365         else
14366                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1.0" 2>&1`
14367         fi
14368         # Put the nasty error message in config.log where it belongs
14369         echo "$LUA_PKG_ERRORS" >&5
14370
14371
14372 pkg_failed=no
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14374 $as_echo_n "checking for LUA... " >&6; }
14375
14376 if test -n "$LUA_CFLAGS"; then
14377     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14378  elif test -n "$PKG_CONFIG"; then
14379     if test -n "$PKG_CONFIG" && \
14380     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14381   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14382   ac_status=$?
14383   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14384   test $ac_status = 0; }; then
14385   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
14386 else
14387   pkg_failed=yes
14388 fi
14389  else
14390     pkg_failed=untried
14391 fi
14392 if test -n "$LUA_LIBS"; then
14393     pkg_cv_LUA_LIBS="$LUA_LIBS"
14394  elif test -n "$PKG_CONFIG"; then
14395     if test -n "$PKG_CONFIG" && \
14396     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14397   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14398   ac_status=$?
14399   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14400   test $ac_status = 0; }; then
14401   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
14402 else
14403   pkg_failed=yes
14404 fi
14405  else
14406     pkg_failed=untried
14407 fi
14408
14409
14410
14411 if test $pkg_failed = yes; then
14412         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14413 $as_echo "no" >&6; }
14414
14415 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14416         _pkg_short_errors_supported=yes
14417 else
14418         _pkg_short_errors_supported=no
14419 fi
14420         if test $_pkg_short_errors_supported = yes; then
14421                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1.0" 2>&1`
14422         else
14423                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1.0" 2>&1`
14424         fi
14425         # Put the nasty error message in config.log where it belongs
14426         echo "$LUA_PKG_ERRORS" >&5
14427
14428
14429 pkg_failed=no
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14431 $as_echo_n "checking for LUA... " >&6; }
14432
14433 if test -n "$LUA_CFLAGS"; then
14434     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14435  elif test -n "$PKG_CONFIG"; then
14436     if test -n "$PKG_CONFIG" && \
14437     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14438   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14439   ac_status=$?
14440   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14441   test $ac_status = 0; }; then
14442   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14443 else
14444   pkg_failed=yes
14445 fi
14446  else
14447     pkg_failed=untried
14448 fi
14449 if test -n "$LUA_LIBS"; then
14450     pkg_cv_LUA_LIBS="$LUA_LIBS"
14451  elif test -n "$PKG_CONFIG"; then
14452     if test -n "$PKG_CONFIG" && \
14453     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14454   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14455   ac_status=$?
14456   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14457   test $ac_status = 0; }; then
14458   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14459 else
14460   pkg_failed=yes
14461 fi
14462  else
14463     pkg_failed=untried
14464 fi
14465
14466
14467
14468 if test $pkg_failed = yes; then
14469         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14470 $as_echo "no" >&6; }
14471
14472 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14473         _pkg_short_errors_supported=yes
14474 else
14475         _pkg_short_errors_supported=no
14476 fi
14477         if test $_pkg_short_errors_supported = yes; then
14478                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
14479         else
14480                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
14481         fi
14482         # Put the nasty error message in config.log where it belongs
14483         echo "$LUA_PKG_ERRORS" >&5
14484
14485         have_lua="no"
14486 elif test $pkg_failed = untried; then
14487         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14488 $as_echo "no" >&6; }
14489         have_lua="no"
14490 else
14491         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14492         LUA_LIBS=$pkg_cv_LUA_LIBS
14493         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14494 $as_echo "yes" >&6; }
14495         requirement_lua="lua51"
14496 fi
14497 elif test $pkg_failed = untried; then
14498         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14499 $as_echo "no" >&6; }
14500
14501 pkg_failed=no
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14503 $as_echo_n "checking for LUA... " >&6; }
14504
14505 if test -n "$LUA_CFLAGS"; then
14506     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14507  elif test -n "$PKG_CONFIG"; then
14508     if test -n "$PKG_CONFIG" && \
14509     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14510   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14511   ac_status=$?
14512   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14513   test $ac_status = 0; }; then
14514   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14515 else
14516   pkg_failed=yes
14517 fi
14518  else
14519     pkg_failed=untried
14520 fi
14521 if test -n "$LUA_LIBS"; then
14522     pkg_cv_LUA_LIBS="$LUA_LIBS"
14523  elif test -n "$PKG_CONFIG"; then
14524     if test -n "$PKG_CONFIG" && \
14525     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14526   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14527   ac_status=$?
14528   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14529   test $ac_status = 0; }; then
14530   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14531 else
14532   pkg_failed=yes
14533 fi
14534  else
14535     pkg_failed=untried
14536 fi
14537
14538
14539
14540 if test $pkg_failed = yes; then
14541         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14542 $as_echo "no" >&6; }
14543
14544 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14545         _pkg_short_errors_supported=yes
14546 else
14547         _pkg_short_errors_supported=no
14548 fi
14549         if test $_pkg_short_errors_supported = yes; then
14550                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
14551         else
14552                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
14553         fi
14554         # Put the nasty error message in config.log where it belongs
14555         echo "$LUA_PKG_ERRORS" >&5
14556
14557         have_lua="no"
14558 elif test $pkg_failed = untried; then
14559         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14560 $as_echo "no" >&6; }
14561         have_lua="no"
14562 else
14563         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14564         LUA_LIBS=$pkg_cv_LUA_LIBS
14565         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14566 $as_echo "yes" >&6; }
14567         requirement_lua="lua51"
14568 fi
14569 else
14570         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14571         LUA_LIBS=$pkg_cv_LUA_LIBS
14572         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14573 $as_echo "yes" >&6; }
14574         requirement_lua="lua-5.1"
14575 fi
14576 elif test $pkg_failed = untried; then
14577         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14578 $as_echo "no" >&6; }
14579
14580 pkg_failed=no
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14582 $as_echo_n "checking for LUA... " >&6; }
14583
14584 if test -n "$LUA_CFLAGS"; then
14585     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14586  elif test -n "$PKG_CONFIG"; then
14587     if test -n "$PKG_CONFIG" && \
14588     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14589   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14590   ac_status=$?
14591   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14592   test $ac_status = 0; }; then
14593   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
14594 else
14595   pkg_failed=yes
14596 fi
14597  else
14598     pkg_failed=untried
14599 fi
14600 if test -n "$LUA_LIBS"; then
14601     pkg_cv_LUA_LIBS="$LUA_LIBS"
14602  elif test -n "$PKG_CONFIG"; then
14603     if test -n "$PKG_CONFIG" && \
14604     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14605   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14606   ac_status=$?
14607   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14608   test $ac_status = 0; }; then
14609   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
14610 else
14611   pkg_failed=yes
14612 fi
14613  else
14614     pkg_failed=untried
14615 fi
14616
14617
14618
14619 if test $pkg_failed = yes; then
14620         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14621 $as_echo "no" >&6; }
14622
14623 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14624         _pkg_short_errors_supported=yes
14625 else
14626         _pkg_short_errors_supported=no
14627 fi
14628         if test $_pkg_short_errors_supported = yes; then
14629                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1.0" 2>&1`
14630         else
14631                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1.0" 2>&1`
14632         fi
14633         # Put the nasty error message in config.log where it belongs
14634         echo "$LUA_PKG_ERRORS" >&5
14635
14636
14637 pkg_failed=no
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14639 $as_echo_n "checking for LUA... " >&6; }
14640
14641 if test -n "$LUA_CFLAGS"; then
14642     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14643  elif test -n "$PKG_CONFIG"; then
14644     if test -n "$PKG_CONFIG" && \
14645     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14646   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14647   ac_status=$?
14648   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14649   test $ac_status = 0; }; then
14650   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14651 else
14652   pkg_failed=yes
14653 fi
14654  else
14655     pkg_failed=untried
14656 fi
14657 if test -n "$LUA_LIBS"; then
14658     pkg_cv_LUA_LIBS="$LUA_LIBS"
14659  elif test -n "$PKG_CONFIG"; then
14660     if test -n "$PKG_CONFIG" && \
14661     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14662   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14663   ac_status=$?
14664   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14665   test $ac_status = 0; }; then
14666   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14667 else
14668   pkg_failed=yes
14669 fi
14670  else
14671     pkg_failed=untried
14672 fi
14673
14674
14675
14676 if test $pkg_failed = yes; then
14677         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14678 $as_echo "no" >&6; }
14679
14680 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14681         _pkg_short_errors_supported=yes
14682 else
14683         _pkg_short_errors_supported=no
14684 fi
14685         if test $_pkg_short_errors_supported = yes; then
14686                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
14687         else
14688                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
14689         fi
14690         # Put the nasty error message in config.log where it belongs
14691         echo "$LUA_PKG_ERRORS" >&5
14692
14693         have_lua="no"
14694 elif test $pkg_failed = untried; then
14695         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14696 $as_echo "no" >&6; }
14697         have_lua="no"
14698 else
14699         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14700         LUA_LIBS=$pkg_cv_LUA_LIBS
14701         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14702 $as_echo "yes" >&6; }
14703         requirement_lua="lua51"
14704 fi
14705 elif test $pkg_failed = untried; then
14706         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14707 $as_echo "no" >&6; }
14708
14709 pkg_failed=no
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14711 $as_echo_n "checking for LUA... " >&6; }
14712
14713 if test -n "$LUA_CFLAGS"; then
14714     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14715  elif test -n "$PKG_CONFIG"; then
14716     if test -n "$PKG_CONFIG" && \
14717     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14718   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14719   ac_status=$?
14720   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14721   test $ac_status = 0; }; then
14722   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14723 else
14724   pkg_failed=yes
14725 fi
14726  else
14727     pkg_failed=untried
14728 fi
14729 if test -n "$LUA_LIBS"; then
14730     pkg_cv_LUA_LIBS="$LUA_LIBS"
14731  elif test -n "$PKG_CONFIG"; then
14732     if test -n "$PKG_CONFIG" && \
14733     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14734   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14735   ac_status=$?
14736   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14737   test $ac_status = 0; }; then
14738   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14739 else
14740   pkg_failed=yes
14741 fi
14742  else
14743     pkg_failed=untried
14744 fi
14745
14746
14747
14748 if test $pkg_failed = yes; then
14749         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14750 $as_echo "no" >&6; }
14751
14752 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14753         _pkg_short_errors_supported=yes
14754 else
14755         _pkg_short_errors_supported=no
14756 fi
14757         if test $_pkg_short_errors_supported = yes; then
14758                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
14759         else
14760                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
14761         fi
14762         # Put the nasty error message in config.log where it belongs
14763         echo "$LUA_PKG_ERRORS" >&5
14764
14765         have_lua="no"
14766 elif test $pkg_failed = untried; then
14767         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14768 $as_echo "no" >&6; }
14769         have_lua="no"
14770 else
14771         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14772         LUA_LIBS=$pkg_cv_LUA_LIBS
14773         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14774 $as_echo "yes" >&6; }
14775         requirement_lua="lua51"
14776 fi
14777 else
14778         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14779         LUA_LIBS=$pkg_cv_LUA_LIBS
14780         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14781 $as_echo "yes" >&6; }
14782         requirement_lua="lua-5.1"
14783 fi
14784 else
14785         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14786         LUA_LIBS=$pkg_cv_LUA_LIBS
14787         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14788 $as_echo "yes" >&6; }
14789         requirement_lua="lua5.1"
14790 fi
14791 else
14792         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14793         LUA_LIBS=$pkg_cv_LUA_LIBS
14794         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14795 $as_echo "yes" >&6; }
14796         requirement_lua="lua"
14797 fi
14798
14799 if test "x${have_lua}" = "xno" ; then
14800    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lua_newstate() is in liblua" >&5
14801 $as_echo_n "checking whether lua_newstate() is in liblua... " >&6; }
14802    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lua_newstate in -llua" >&5
14803 $as_echo_n "checking for lua_newstate in -llua... " >&6; }
14804 if ${ac_cv_lib_lua_lua_newstate+:} false; then :
14805   $as_echo_n "(cached) " >&6
14806 else
14807   ac_check_lib_save_LIBS=$LIBS
14808 LIBS="-llua  $LIBS"
14809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14810 /* end confdefs.h.  */
14811
14812 /* Override any GCC internal prototype to avoid an error.
14813    Use char because int might match the return type of a GCC
14814    builtin and then its argument prototype would still apply.  */
14815 #ifdef __cplusplus
14816 extern "C"
14817 #endif
14818 char lua_newstate ();
14819 int
14820 main ()
14821 {
14822 return lua_newstate ();
14823   ;
14824   return 0;
14825 }
14826 _ACEOF
14827 if ac_fn_c_try_link "$LINENO"; then :
14828   ac_cv_lib_lua_lua_newstate=yes
14829 else
14830   ac_cv_lib_lua_lua_newstate=no
14831 fi
14832 rm -f core conftest.err conftest.$ac_objext \
14833     conftest$ac_exeext conftest.$ac_ext
14834 LIBS=$ac_check_lib_save_LIBS
14835 fi
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lua_lua_newstate" >&5
14837 $as_echo "$ac_cv_lib_lua_lua_newstate" >&6; }
14838 if test "x$ac_cv_lib_lua_lua_newstate" = xyes; then :
14839
14840        have_lua="yes"
14841        lua_libs="-llua"
14842
14843 else
14844   have_lua="no"
14845 fi
14846
14847    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_lua}" >&5
14848 $as_echo "${have_lua}" >&6; }
14849 fi
14850
14851
14852 if test "x${have_lua}" = "xno" ; then
14853    as_fn_error $? "Cannot find lua library. Be sure that you have installed it and set CFLAGS and LDFLAGS correctly" "$LINENO" 5
14854 fi
14855
14856
14857 pkg_failed=no
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MINIMAL" >&5
14859 $as_echo_n "checking for MINIMAL... " >&6; }
14860
14861 if test -n "$MINIMAL_CFLAGS"; then
14862     pkg_cv_MINIMAL_CFLAGS="$MINIMAL_CFLAGS"
14863  elif test -n "$PKG_CONFIG"; then
14864     if test -n "$PKG_CONFIG" && \
14865     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14866     eina >= 1.7.7
14867     eet >= 1.7.7
14868    \""; } >&5
14869   ($PKG_CONFIG --exists --print-errors "
14870     eina >= 1.7.7
14871     eet >= 1.7.7
14872    ") 2>&5
14873   ac_status=$?
14874   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14875   test $ac_status = 0; }; then
14876   pkg_cv_MINIMAL_CFLAGS=`$PKG_CONFIG --cflags "
14877     eina >= 1.7.7
14878     eet >= 1.7.7
14879    " 2>/dev/null`
14880 else
14881   pkg_failed=yes
14882 fi
14883  else
14884     pkg_failed=untried
14885 fi
14886 if test -n "$MINIMAL_LIBS"; then
14887     pkg_cv_MINIMAL_LIBS="$MINIMAL_LIBS"
14888  elif test -n "$PKG_CONFIG"; then
14889     if test -n "$PKG_CONFIG" && \
14890     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14891     eina >= 1.7.7
14892     eet >= 1.7.7
14893    \""; } >&5
14894   ($PKG_CONFIG --exists --print-errors "
14895     eina >= 1.7.7
14896     eet >= 1.7.7
14897    ") 2>&5
14898   ac_status=$?
14899   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14900   test $ac_status = 0; }; then
14901   pkg_cv_MINIMAL_LIBS=`$PKG_CONFIG --libs "
14902     eina >= 1.7.7
14903     eet >= 1.7.7
14904    " 2>/dev/null`
14905 else
14906   pkg_failed=yes
14907 fi
14908  else
14909     pkg_failed=untried
14910 fi
14911
14912
14913
14914 if test $pkg_failed = yes; then
14915         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14916 $as_echo "no" >&6; }
14917
14918 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14919         _pkg_short_errors_supported=yes
14920 else
14921         _pkg_short_errors_supported=no
14922 fi
14923         if test $_pkg_short_errors_supported = yes; then
14924                 MINIMAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
14925     eina >= 1.7.7
14926     eet >= 1.7.7
14927    " 2>&1`
14928         else
14929                 MINIMAL_PKG_ERRORS=`$PKG_CONFIG --print-errors "
14930     eina >= 1.7.7
14931     eet >= 1.7.7
14932    " 2>&1`
14933         fi
14934         # Put the nasty error message in config.log where it belongs
14935         echo "$MINIMAL_PKG_ERRORS" >&5
14936
14937         as_fn_error $? "Package requirements (
14938     eina >= 1.7.7
14939     eet >= 1.7.7
14940    ) were not met:
14941
14942 $MINIMAL_PKG_ERRORS
14943
14944 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14945 installed software in a non-standard prefix.
14946
14947 Alternatively, you may set the environment variables MINIMAL_CFLAGS
14948 and MINIMAL_LIBS to avoid the need to call pkg-config.
14949 See the pkg-config man page for more details." "$LINENO" 5
14950
14951 elif test $pkg_failed = untried; then
14952         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14953 $as_echo "no" >&6; }
14954         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14955 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14956 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14957 is in your PATH or set the PKG_CONFIG environment variable to the full
14958 path to pkg-config.
14959
14960 Alternatively, you may set the environment variables MINIMAL_CFLAGS
14961 and MINIMAL_LIBS to avoid the need to call pkg-config.
14962 See the pkg-config man page for more details.
14963
14964 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14965 See \`config.log' for more details" "$LINENO" 5; }
14966
14967 else
14968         MINIMAL_CFLAGS=$pkg_cv_MINIMAL_CFLAGS
14969         MINIMAL_LIBS=$pkg_cv_MINIMAL_LIBS
14970         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14971 $as_echo "yes" >&6; }
14972
14973 fi
14974
14975
14976 pkg_failed=no
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE" >&5
14978 $as_echo_n "checking for EDJE... " >&6; }
14979
14980 if test -n "$EDJE_CFLAGS"; then
14981     pkg_cv_EDJE_CFLAGS="$EDJE_CFLAGS"
14982  elif test -n "$PKG_CONFIG"; then
14983     if test -n "$PKG_CONFIG" && \
14984     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14985     eina >= 1.7.7
14986     eet >= 1.7.7
14987     evas >= 1.7.7
14988     ecore >= 1.7.7
14989     ecore-evas >= 1.7.7
14990     ecore-file >= 1.7.7
14991     ecore-input >= 1.7.7
14992     embryo >= 1.7.7
14993    \""; } >&5
14994   ($PKG_CONFIG --exists --print-errors "
14995     eina >= 1.7.7
14996     eet >= 1.7.7
14997     evas >= 1.7.7
14998     ecore >= 1.7.7
14999     ecore-evas >= 1.7.7
15000     ecore-file >= 1.7.7
15001     ecore-input >= 1.7.7
15002     embryo >= 1.7.7
15003    ") 2>&5
15004   ac_status=$?
15005   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15006   test $ac_status = 0; }; then
15007   pkg_cv_EDJE_CFLAGS=`$PKG_CONFIG --cflags "
15008     eina >= 1.7.7
15009     eet >= 1.7.7
15010     evas >= 1.7.7
15011     ecore >= 1.7.7
15012     ecore-evas >= 1.7.7
15013     ecore-file >= 1.7.7
15014     ecore-input >= 1.7.7
15015     embryo >= 1.7.7
15016    " 2>/dev/null`
15017 else
15018   pkg_failed=yes
15019 fi
15020  else
15021     pkg_failed=untried
15022 fi
15023 if test -n "$EDJE_LIBS"; then
15024     pkg_cv_EDJE_LIBS="$EDJE_LIBS"
15025  elif test -n "$PKG_CONFIG"; then
15026     if test -n "$PKG_CONFIG" && \
15027     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15028     eina >= 1.7.7
15029     eet >= 1.7.7
15030     evas >= 1.7.7
15031     ecore >= 1.7.7
15032     ecore-evas >= 1.7.7
15033     ecore-file >= 1.7.7
15034     ecore-input >= 1.7.7
15035     embryo >= 1.7.7
15036    \""; } >&5
15037   ($PKG_CONFIG --exists --print-errors "
15038     eina >= 1.7.7
15039     eet >= 1.7.7
15040     evas >= 1.7.7
15041     ecore >= 1.7.7
15042     ecore-evas >= 1.7.7
15043     ecore-file >= 1.7.7
15044     ecore-input >= 1.7.7
15045     embryo >= 1.7.7
15046    ") 2>&5
15047   ac_status=$?
15048   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15049   test $ac_status = 0; }; then
15050   pkg_cv_EDJE_LIBS=`$PKG_CONFIG --libs "
15051     eina >= 1.7.7
15052     eet >= 1.7.7
15053     evas >= 1.7.7
15054     ecore >= 1.7.7
15055     ecore-evas >= 1.7.7
15056     ecore-file >= 1.7.7
15057     ecore-input >= 1.7.7
15058     embryo >= 1.7.7
15059    " 2>/dev/null`
15060 else
15061   pkg_failed=yes
15062 fi
15063  else
15064     pkg_failed=untried
15065 fi
15066
15067
15068
15069 if test $pkg_failed = yes; then
15070         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15071 $as_echo "no" >&6; }
15072
15073 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15074         _pkg_short_errors_supported=yes
15075 else
15076         _pkg_short_errors_supported=no
15077 fi
15078         if test $_pkg_short_errors_supported = yes; then
15079                 EDJE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15080     eina >= 1.7.7
15081     eet >= 1.7.7
15082     evas >= 1.7.7
15083     ecore >= 1.7.7
15084     ecore-evas >= 1.7.7
15085     ecore-file >= 1.7.7
15086     ecore-input >= 1.7.7
15087     embryo >= 1.7.7
15088    " 2>&1`
15089         else
15090                 EDJE_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15091     eina >= 1.7.7
15092     eet >= 1.7.7
15093     evas >= 1.7.7
15094     ecore >= 1.7.7
15095     ecore-evas >= 1.7.7
15096     ecore-file >= 1.7.7
15097     ecore-input >= 1.7.7
15098     embryo >= 1.7.7
15099    " 2>&1`
15100         fi
15101         # Put the nasty error message in config.log where it belongs
15102         echo "$EDJE_PKG_ERRORS" >&5
15103
15104         as_fn_error $? "Package requirements (
15105     eina >= 1.7.7
15106     eet >= 1.7.7
15107     evas >= 1.7.7
15108     ecore >= 1.7.7
15109     ecore-evas >= 1.7.7
15110     ecore-file >= 1.7.7
15111     ecore-input >= 1.7.7
15112     embryo >= 1.7.7
15113    ) were not met:
15114
15115 $EDJE_PKG_ERRORS
15116
15117 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15118 installed software in a non-standard prefix.
15119
15120 Alternatively, you may set the environment variables EDJE_CFLAGS
15121 and EDJE_LIBS to avoid the need to call pkg-config.
15122 See the pkg-config man page for more details." "$LINENO" 5
15123
15124 elif test $pkg_failed = untried; then
15125         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15126 $as_echo "no" >&6; }
15127         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15129 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15130 is in your PATH or set the PKG_CONFIG environment variable to the full
15131 path to pkg-config.
15132
15133 Alternatively, you may set the environment variables EDJE_CFLAGS
15134 and EDJE_LIBS to avoid the need to call pkg-config.
15135 See the pkg-config man page for more details.
15136
15137 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15138 See \`config.log' for more details" "$LINENO" 5; }
15139
15140 else
15141         EDJE_CFLAGS=$pkg_cv_EDJE_CFLAGS
15142         EDJE_LIBS=$pkg_cv_EDJE_LIBS
15143         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15144 $as_echo "yes" >&6; }
15145
15146 fi
15147
15148 EDJE_LIBS="${EDJE_LIBS} ${LUA_LIBS} ${lua_libs}"
15149 EDJE_CFLAGS="${EDJE_CFLAGS} ${LUA_CFLAGS}"
15150
15151 requirement_edje="embryo >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.7.7 eina >= 1.7.7 ${requirement_edje}"
15152 requirement_edje="${requirement_lua} ${requirement_edje}"
15153
15154 have_ecore_imf="no"
15155
15156 pkg_failed=no
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_IMF" >&5
15158 $as_echo_n "checking for ECORE_IMF... " >&6; }
15159
15160 if test -n "$ECORE_IMF_CFLAGS"; then
15161     pkg_cv_ECORE_IMF_CFLAGS="$ECORE_IMF_CFLAGS"
15162  elif test -n "$PKG_CONFIG"; then
15163     if test -n "$PKG_CONFIG" && \
15164     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15165     ecore-imf >= 1.7.7
15166     ecore-imf-evas >= 1.7.7
15167    \""; } >&5
15168   ($PKG_CONFIG --exists --print-errors "
15169     ecore-imf >= 1.7.7
15170     ecore-imf-evas >= 1.7.7
15171    ") 2>&5
15172   ac_status=$?
15173   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15174   test $ac_status = 0; }; then
15175   pkg_cv_ECORE_IMF_CFLAGS=`$PKG_CONFIG --cflags "
15176     ecore-imf >= 1.7.7
15177     ecore-imf-evas >= 1.7.7
15178    " 2>/dev/null`
15179 else
15180   pkg_failed=yes
15181 fi
15182  else
15183     pkg_failed=untried
15184 fi
15185 if test -n "$ECORE_IMF_LIBS"; then
15186     pkg_cv_ECORE_IMF_LIBS="$ECORE_IMF_LIBS"
15187  elif test -n "$PKG_CONFIG"; then
15188     if test -n "$PKG_CONFIG" && \
15189     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15190     ecore-imf >= 1.7.7
15191     ecore-imf-evas >= 1.7.7
15192    \""; } >&5
15193   ($PKG_CONFIG --exists --print-errors "
15194     ecore-imf >= 1.7.7
15195     ecore-imf-evas >= 1.7.7
15196    ") 2>&5
15197   ac_status=$?
15198   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15199   test $ac_status = 0; }; then
15200   pkg_cv_ECORE_IMF_LIBS=`$PKG_CONFIG --libs "
15201     ecore-imf >= 1.7.7
15202     ecore-imf-evas >= 1.7.7
15203    " 2>/dev/null`
15204 else
15205   pkg_failed=yes
15206 fi
15207  else
15208     pkg_failed=untried
15209 fi
15210
15211
15212
15213 if test $pkg_failed = yes; then
15214         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15215 $as_echo "no" >&6; }
15216
15217 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15218         _pkg_short_errors_supported=yes
15219 else
15220         _pkg_short_errors_supported=no
15221 fi
15222         if test $_pkg_short_errors_supported = yes; then
15223                 ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15224     ecore-imf >= 1.7.7
15225     ecore-imf-evas >= 1.7.7
15226    " 2>&1`
15227         else
15228                 ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15229     ecore-imf >= 1.7.7
15230     ecore-imf-evas >= 1.7.7
15231    " 2>&1`
15232         fi
15233         # Put the nasty error message in config.log where it belongs
15234         echo "$ECORE_IMF_PKG_ERRORS" >&5
15235
15236         have_ecore_imf="no"
15237 elif test $pkg_failed = untried; then
15238         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15239 $as_echo "no" >&6; }
15240         have_ecore_imf="no"
15241 else
15242         ECORE_IMF_CFLAGS=$pkg_cv_ECORE_IMF_CFLAGS
15243         ECORE_IMF_LIBS=$pkg_cv_ECORE_IMF_LIBS
15244         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15245 $as_echo "yes" >&6; }
15246
15247
15248 $as_echo "#define HAVE_ECORE_IMF 1" >>confdefs.h
15249
15250     have_ecore_imf="yes"
15251     requirement_edje="ecore-imf-evas >= 1.7.7 ecore-imf >= 1.7.7 ${requirement_edje}"
15252
15253 fi
15254
15255
15256 pkg_failed=no
15257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIO" >&5
15258 $as_echo_n "checking for EIO... " >&6; }
15259
15260 if test -n "$EIO_CFLAGS"; then
15261     pkg_cv_EIO_CFLAGS="$EIO_CFLAGS"
15262  elif test -n "$PKG_CONFIG"; then
15263     if test -n "$PKG_CONFIG" && \
15264     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio >= 1.7.7\""; } >&5
15265   ($PKG_CONFIG --exists --print-errors "eio >= 1.7.7") 2>&5
15266   ac_status=$?
15267   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15268   test $ac_status = 0; }; then
15269   pkg_cv_EIO_CFLAGS=`$PKG_CONFIG --cflags "eio >= 1.7.7" 2>/dev/null`
15270 else
15271   pkg_failed=yes
15272 fi
15273  else
15274     pkg_failed=untried
15275 fi
15276 if test -n "$EIO_LIBS"; then
15277     pkg_cv_EIO_LIBS="$EIO_LIBS"
15278  elif test -n "$PKG_CONFIG"; then
15279     if test -n "$PKG_CONFIG" && \
15280     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio >= 1.7.7\""; } >&5
15281   ($PKG_CONFIG --exists --print-errors "eio >= 1.7.7") 2>&5
15282   ac_status=$?
15283   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15284   test $ac_status = 0; }; then
15285   pkg_cv_EIO_LIBS=`$PKG_CONFIG --libs "eio >= 1.7.7" 2>/dev/null`
15286 else
15287   pkg_failed=yes
15288 fi
15289  else
15290     pkg_failed=untried
15291 fi
15292
15293
15294
15295 if test $pkg_failed = yes; then
15296         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15297 $as_echo "no" >&6; }
15298
15299 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15300         _pkg_short_errors_supported=yes
15301 else
15302         _pkg_short_errors_supported=no
15303 fi
15304         if test $_pkg_short_errors_supported = yes; then
15305                 EIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eio >= 1.7.7" 2>&1`
15306         else
15307                 EIO_PKG_ERRORS=`$PKG_CONFIG --print-errors "eio >= 1.7.7" 2>&1`
15308         fi
15309         # Put the nasty error message in config.log where it belongs
15310         echo "$EIO_PKG_ERRORS" >&5
15311
15312         have_eio="no"
15313 elif test $pkg_failed = untried; then
15314         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15315 $as_echo "no" >&6; }
15316         have_eio="no"
15317 else
15318         EIO_CFLAGS=$pkg_cv_EIO_CFLAGS
15319         EIO_LIBS=$pkg_cv_EIO_LIBS
15320         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15321 $as_echo "yes" >&6; }
15322
15323
15324 $as_echo "#define HAVE_EIO 1" >>confdefs.h
15325
15326     have_eio="yes"
15327     requirement_edje="eio >= 1.7.7 ${requirement_edje}"
15328
15329 fi
15330
15331 # Enable Multisense use
15332 want_multisense="no"
15333  if test "x${want_multisense}" = "xyes"; then
15334   ENABLE_MULTISENSE_TRUE=
15335   ENABLE_MULTISENSE_FALSE='#'
15336 else
15337   ENABLE_MULTISENSE_TRUE='#'
15338   ENABLE_MULTISENSE_FALSE=
15339 fi
15340
15341
15342 ##sndfile library
15343 have_sndfile="no"
15344 want_sndfile="auto"
15345 # Check whether --enable-sndfile was given.
15346 if test "${enable_sndfile+set}" = set; then :
15347   enableval=$enable_sndfile; want_sndfile=$enableval
15348 fi
15349
15350
15351 if test "x${want_multisense}" = "xyes" -a  "x$want_sndfile" != "xno"; then
15352
15353
15354 pkg_failed=no
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDFILE" >&5
15356 $as_echo_n "checking for SNDFILE... " >&6; }
15357
15358 if test -n "$SNDFILE_CFLAGS"; then
15359     pkg_cv_SNDFILE_CFLAGS="$SNDFILE_CFLAGS"
15360  elif test -n "$PKG_CONFIG"; then
15361     if test -n "$PKG_CONFIG" && \
15362     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.21\""; } >&5
15363   ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.21") 2>&5
15364   ac_status=$?
15365   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15366   test $ac_status = 0; }; then
15367   pkg_cv_SNDFILE_CFLAGS=`$PKG_CONFIG --cflags "sndfile >= 1.0.21" 2>/dev/null`
15368 else
15369   pkg_failed=yes
15370 fi
15371  else
15372     pkg_failed=untried
15373 fi
15374 if test -n "$SNDFILE_LIBS"; then
15375     pkg_cv_SNDFILE_LIBS="$SNDFILE_LIBS"
15376  elif test -n "$PKG_CONFIG"; then
15377     if test -n "$PKG_CONFIG" && \
15378     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.21\""; } >&5
15379   ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.21") 2>&5
15380   ac_status=$?
15381   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15382   test $ac_status = 0; }; then
15383   pkg_cv_SNDFILE_LIBS=`$PKG_CONFIG --libs "sndfile >= 1.0.21" 2>/dev/null`
15384 else
15385   pkg_failed=yes
15386 fi
15387  else
15388     pkg_failed=untried
15389 fi
15390
15391
15392
15393 if test $pkg_failed = yes; then
15394         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15395 $as_echo "no" >&6; }
15396
15397 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15398         _pkg_short_errors_supported=yes
15399 else
15400         _pkg_short_errors_supported=no
15401 fi
15402         if test $_pkg_short_errors_supported = yes; then
15403                 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sndfile >= 1.0.21" 2>&1`
15404         else
15405                 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --print-errors "sndfile >= 1.0.21" 2>&1`
15406         fi
15407         # Put the nasty error message in config.log where it belongs
15408         echo "$SNDFILE_PKG_ERRORS" >&5
15409
15410         have_sndfile="no"; want_multisense="no"
15411
15412 elif test $pkg_failed = untried; then
15413         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15414 $as_echo "no" >&6; }
15415         have_sndfile="no"; want_multisense="no"
15416
15417 else
15418         SNDFILE_CFLAGS=$pkg_cv_SNDFILE_CFLAGS
15419         SNDFILE_LIBS=$pkg_cv_SNDFILE_LIBS
15420         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15421 $as_echo "yes" >&6; }
15422
15423
15424 $as_echo "#define HAVE_LIBSNDFILE 1" >>confdefs.h
15425
15426                have_sndfile="yes"
15427                requirement_edje="sndfile >= 1.0.21 ${requirement_edje}"
15428
15429 fi
15430
15431         if test "x$want_sndfile" = "xyes" -a "x$have_sndfile" = "xno"; then
15432             as_fn_error $? "sndfile support requested, but not found by pkg-config." "$LINENO" 5
15433         fi
15434 fi
15435  if test "x${have_sndfile}" = "xyes"; then
15436   HAVE_LIBSNDFILE_TRUE=
15437   HAVE_LIBSNDFILE_FALSE='#'
15438 else
15439   HAVE_LIBSNDFILE_TRUE='#'
15440   HAVE_LIBSNDFILE_FALSE=
15441 fi
15442
15443
15444 ##libremix library
15445 have_libremix="no"
15446 want_libremix="auto"
15447 # Check whether --enable-remix was given.
15448 if test "${enable_remix+set}" = set; then :
15449   enableval=$enable_remix; want_libremix=$enableval
15450 fi
15451
15452
15453 if test "x${want_multisense}" = "xyes" -a "x$want_libremix" != "xno"; then
15454
15455 pkg_failed=no
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for REMIX" >&5
15457 $as_echo_n "checking for REMIX... " >&6; }
15458
15459 if test -n "$REMIX_CFLAGS"; then
15460     pkg_cv_REMIX_CFLAGS="$REMIX_CFLAGS"
15461  elif test -n "$PKG_CONFIG"; then
15462     if test -n "$PKG_CONFIG" && \
15463     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"remix >= 0.2.4\""; } >&5
15464   ($PKG_CONFIG --exists --print-errors "remix >= 0.2.4") 2>&5
15465   ac_status=$?
15466   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15467   test $ac_status = 0; }; then
15468   pkg_cv_REMIX_CFLAGS=`$PKG_CONFIG --cflags "remix >= 0.2.4" 2>/dev/null`
15469 else
15470   pkg_failed=yes
15471 fi
15472  else
15473     pkg_failed=untried
15474 fi
15475 if test -n "$REMIX_LIBS"; then
15476     pkg_cv_REMIX_LIBS="$REMIX_LIBS"
15477  elif test -n "$PKG_CONFIG"; then
15478     if test -n "$PKG_CONFIG" && \
15479     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"remix >= 0.2.4\""; } >&5
15480   ($PKG_CONFIG --exists --print-errors "remix >= 0.2.4") 2>&5
15481   ac_status=$?
15482   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15483   test $ac_status = 0; }; then
15484   pkg_cv_REMIX_LIBS=`$PKG_CONFIG --libs "remix >= 0.2.4" 2>/dev/null`
15485 else
15486   pkg_failed=yes
15487 fi
15488  else
15489     pkg_failed=untried
15490 fi
15491
15492
15493
15494 if test $pkg_failed = yes; then
15495         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15496 $as_echo "no" >&6; }
15497
15498 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15499         _pkg_short_errors_supported=yes
15500 else
15501         _pkg_short_errors_supported=no
15502 fi
15503         if test $_pkg_short_errors_supported = yes; then
15504                 REMIX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "remix >= 0.2.4" 2>&1`
15505         else
15506                 REMIX_PKG_ERRORS=`$PKG_CONFIG --print-errors "remix >= 0.2.4" 2>&1`
15507         fi
15508         # Put the nasty error message in config.log where it belongs
15509         echo "$REMIX_PKG_ERRORS" >&5
15510
15511         have_libremix="no"; want_multisense="no"
15512
15513 elif test $pkg_failed = untried; then
15514         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15515 $as_echo "no" >&6; }
15516         have_libremix="no"; want_multisense="no"
15517
15518 else
15519         REMIX_CFLAGS=$pkg_cv_REMIX_CFLAGS
15520         REMIX_LIBS=$pkg_cv_REMIX_LIBS
15521         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15522 $as_echo "yes" >&6; }
15523
15524
15525 $as_echo "#define HAVE_LIBREMIX 1" >>confdefs.h
15526
15527        have_libremix="yes"
15528        requirement_edje="remix >= 0.2.4 ${requirement_edje}"
15529
15530 $as_echo "#define __REMIX_PLUGIN__ 1" >>confdefs.h
15531
15532        REMIX_PLUGIN_DIR=`pkg-config --variable=libdir remix`"/remix"
15533
15534
15535 cat >>confdefs.h <<_ACEOF
15536 #define REMIX_PLUGIN_DIR "$REMIX_PLUGIN_DIR"
15537 _ACEOF
15538
15539
15540 fi
15541
15542         if test "x$want_libremix" = "xyes" -a "x$have_libremix" = "xno"; then
15543             as_fn_error $? "remix support requested, but not found by pkg-config." "$LINENO" 5
15544         fi
15545 fi
15546  if test "x${have_libremix}" = "xyes"; then
15547   HAVE_LIBREMIX_TRUE=
15548   HAVE_LIBREMIX_FALSE='#'
15549 else
15550   HAVE_LIBREMIX_TRUE='#'
15551   HAVE_LIBREMIX_FALSE=
15552 fi
15553
15554
15555 ##vorbis/ogg library
15556 have_vorbis="no"
15557 want_vorbis="auto"
15558 # Check whether --enable-vorbisenc was given.
15559 if test "${enable_vorbisenc+set}" = set; then :
15560   enableval=$enable_vorbisenc; want_vorbis=$enableval
15561 fi
15562
15563
15564 if test "x${want_multisense}" = "xyes" -a "x$want_vorbis" != "xno"; then
15565
15566 pkg_failed=no
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VORBISENC" >&5
15568 $as_echo_n "checking for VORBISENC... " >&6; }
15569
15570 if test -n "$VORBISENC_CFLAGS"; then
15571     pkg_cv_VORBISENC_CFLAGS="$VORBISENC_CFLAGS"
15572  elif test -n "$PKG_CONFIG"; then
15573     if test -n "$PKG_CONFIG" && \
15574     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15575        ogg >= 1.1.4
15576        vorbis >= 1.2.3
15577        vorbisenc >= 1.2.3
15578       \""; } >&5
15579   ($PKG_CONFIG --exists --print-errors "
15580        ogg >= 1.1.4
15581        vorbis >= 1.2.3
15582        vorbisenc >= 1.2.3
15583       ") 2>&5
15584   ac_status=$?
15585   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15586   test $ac_status = 0; }; then
15587   pkg_cv_VORBISENC_CFLAGS=`$PKG_CONFIG --cflags "
15588        ogg >= 1.1.4
15589        vorbis >= 1.2.3
15590        vorbisenc >= 1.2.3
15591       " 2>/dev/null`
15592 else
15593   pkg_failed=yes
15594 fi
15595  else
15596     pkg_failed=untried
15597 fi
15598 if test -n "$VORBISENC_LIBS"; then
15599     pkg_cv_VORBISENC_LIBS="$VORBISENC_LIBS"
15600  elif test -n "$PKG_CONFIG"; then
15601     if test -n "$PKG_CONFIG" && \
15602     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15603        ogg >= 1.1.4
15604        vorbis >= 1.2.3
15605        vorbisenc >= 1.2.3
15606       \""; } >&5
15607   ($PKG_CONFIG --exists --print-errors "
15608        ogg >= 1.1.4
15609        vorbis >= 1.2.3
15610        vorbisenc >= 1.2.3
15611       ") 2>&5
15612   ac_status=$?
15613   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15614   test $ac_status = 0; }; then
15615   pkg_cv_VORBISENC_LIBS=`$PKG_CONFIG --libs "
15616        ogg >= 1.1.4
15617        vorbis >= 1.2.3
15618        vorbisenc >= 1.2.3
15619       " 2>/dev/null`
15620 else
15621   pkg_failed=yes
15622 fi
15623  else
15624     pkg_failed=untried
15625 fi
15626
15627
15628
15629 if test $pkg_failed = yes; then
15630         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15631 $as_echo "no" >&6; }
15632
15633 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15634         _pkg_short_errors_supported=yes
15635 else
15636         _pkg_short_errors_supported=no
15637 fi
15638         if test $_pkg_short_errors_supported = yes; then
15639                 VORBISENC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15640        ogg >= 1.1.4
15641        vorbis >= 1.2.3
15642        vorbisenc >= 1.2.3
15643       " 2>&1`
15644         else
15645                 VORBISENC_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15646        ogg >= 1.1.4
15647        vorbis >= 1.2.3
15648        vorbisenc >= 1.2.3
15649       " 2>&1`
15650         fi
15651         # Put the nasty error message in config.log where it belongs
15652         echo "$VORBISENC_PKG_ERRORS" >&5
15653
15654         have_vorbis="no"; want_multisense="no"
15655
15656 elif test $pkg_failed = untried; then
15657         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15658 $as_echo "no" >&6; }
15659         have_vorbis="no"; want_multisense="no"
15660
15661 else
15662         VORBISENC_CFLAGS=$pkg_cv_VORBISENC_CFLAGS
15663         VORBISENC_LIBS=$pkg_cv_VORBISENC_LIBS
15664         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15665 $as_echo "yes" >&6; }
15666
15667
15668 $as_echo "#define HAVE_VORBIS 1" >>confdefs.h
15669
15670        have_vorbis="yes"
15671        requirement_edje="ogg >= 1.1.4 vorbis >= 1.2.3 vorbisenc >= 1.2.3 ${requirement_edje}"
15672
15673 fi
15674
15675         if test "x$want_vorbis" = "xyes" -a "x$have_vorbis" = "xno"; then
15676             as_fn_error $? "vorbisenc support requested, but not found by pkg-config." "$LINENO" 5
15677         fi
15678 fi
15679
15680 ##alsa library
15681 have_alsa_lib="no"
15682 want_alsa_lib="auto"
15683 # Check whether --enable-alsa was given.
15684 if test "${enable_alsa+set}" = set; then :
15685   enableval=$enable_alsa; want_alsa_lib=$enableval
15686 fi
15687
15688
15689 if test "x${want_multisense}" = "xyes" -a "x$want_alsa_lib" != "xno"; then
15690
15691 pkg_failed=no
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
15693 $as_echo_n "checking for ALSA... " >&6; }
15694
15695 if test -n "$ALSA_CFLAGS"; then
15696     pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
15697  elif test -n "$PKG_CONFIG"; then
15698     if test -n "$PKG_CONFIG" && \
15699     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15700        alsa >= 1.0.21
15701       \""; } >&5
15702   ($PKG_CONFIG --exists --print-errors "
15703        alsa >= 1.0.21
15704       ") 2>&5
15705   ac_status=$?
15706   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15707   test $ac_status = 0; }; then
15708   pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "
15709        alsa >= 1.0.21
15710       " 2>/dev/null`
15711 else
15712   pkg_failed=yes
15713 fi
15714  else
15715     pkg_failed=untried
15716 fi
15717 if test -n "$ALSA_LIBS"; then
15718     pkg_cv_ALSA_LIBS="$ALSA_LIBS"
15719  elif test -n "$PKG_CONFIG"; then
15720     if test -n "$PKG_CONFIG" && \
15721     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15722        alsa >= 1.0.21
15723       \""; } >&5
15724   ($PKG_CONFIG --exists --print-errors "
15725        alsa >= 1.0.21
15726       ") 2>&5
15727   ac_status=$?
15728   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15729   test $ac_status = 0; }; then
15730   pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "
15731        alsa >= 1.0.21
15732       " 2>/dev/null`
15733 else
15734   pkg_failed=yes
15735 fi
15736  else
15737     pkg_failed=untried
15738 fi
15739
15740
15741
15742 if test $pkg_failed = yes; then
15743         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15744 $as_echo "no" >&6; }
15745
15746 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15747         _pkg_short_errors_supported=yes
15748 else
15749         _pkg_short_errors_supported=no
15750 fi
15751         if test $_pkg_short_errors_supported = yes; then
15752                 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15753        alsa >= 1.0.21
15754       " 2>&1`
15755         else
15756                 ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15757        alsa >= 1.0.21
15758       " 2>&1`
15759         fi
15760         # Put the nasty error message in config.log where it belongs
15761         echo "$ALSA_PKG_ERRORS" >&5
15762
15763         have_alsa_lib="no"; want_multisense="no"
15764
15765 elif test $pkg_failed = untried; then
15766         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15767 $as_echo "no" >&6; }
15768         have_alsa_lib="no"; want_multisense="no"
15769
15770 else
15771         ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
15772         ALSA_LIBS=$pkg_cv_ALSA_LIBS
15773         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15774 $as_echo "yes" >&6; }
15775
15776
15777 $as_echo "#define HAVE_LIBALSA 1" >>confdefs.h
15778
15779        have_alsa_lib="yes"
15780        requirement_edje="alsa >= 1.0.21 ${requirement_edje}"
15781
15782 fi
15783
15784         if test "x$want_alsa_lib" = "xyes" -a "x$have_alsa_lib" = "xno"; then
15785             as_fn_error $? "alsa support requested, but not found by pkg-config." "$LINENO" 5
15786         fi
15787 fi
15788  if test "x${have_alsa_lib}" = "xyes"; then
15789   HAVE_LIBALSA_TRUE=
15790   HAVE_LIBALSA_FALSE='#'
15791 else
15792   HAVE_LIBALSA_TRUE='#'
15793   HAVE_LIBALSA_FALSE=
15794 fi
15795
15796
15797
15798 ##flac library
15799 have_flac_lib="no"
15800 want_flac_lib="auto"
15801 # Check whether --enable-flac was given.
15802 if test "${enable_flac+set}" = set; then :
15803   enableval=$enable_flac; want_flac_lib=$enableval
15804 fi
15805
15806
15807 if test "x${want_multisense}" = "xyes" -a "x$want_flac_lib" != "xno"; then
15808
15809 pkg_failed=no
15810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLAC" >&5
15811 $as_echo_n "checking for FLAC... " >&6; }
15812
15813 if test -n "$FLAC_CFLAGS"; then
15814     pkg_cv_FLAC_CFLAGS="$FLAC_CFLAGS"
15815  elif test -n "$PKG_CONFIG"; then
15816     if test -n "$PKG_CONFIG" && \
15817     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15818        flac >= 1.2.1
15819       \""; } >&5
15820   ($PKG_CONFIG --exists --print-errors "
15821        flac >= 1.2.1
15822       ") 2>&5
15823   ac_status=$?
15824   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15825   test $ac_status = 0; }; then
15826   pkg_cv_FLAC_CFLAGS=`$PKG_CONFIG --cflags "
15827        flac >= 1.2.1
15828       " 2>/dev/null`
15829 else
15830   pkg_failed=yes
15831 fi
15832  else
15833     pkg_failed=untried
15834 fi
15835 if test -n "$FLAC_LIBS"; then
15836     pkg_cv_FLAC_LIBS="$FLAC_LIBS"
15837  elif test -n "$PKG_CONFIG"; then
15838     if test -n "$PKG_CONFIG" && \
15839     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15840        flac >= 1.2.1
15841       \""; } >&5
15842   ($PKG_CONFIG --exists --print-errors "
15843        flac >= 1.2.1
15844       ") 2>&5
15845   ac_status=$?
15846   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15847   test $ac_status = 0; }; then
15848   pkg_cv_FLAC_LIBS=`$PKG_CONFIG --libs "
15849        flac >= 1.2.1
15850       " 2>/dev/null`
15851 else
15852   pkg_failed=yes
15853 fi
15854  else
15855     pkg_failed=untried
15856 fi
15857
15858
15859
15860 if test $pkg_failed = yes; then
15861         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15862 $as_echo "no" >&6; }
15863
15864 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15865         _pkg_short_errors_supported=yes
15866 else
15867         _pkg_short_errors_supported=no
15868 fi
15869         if test $_pkg_short_errors_supported = yes; then
15870                 FLAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15871        flac >= 1.2.1
15872       " 2>&1`
15873         else
15874                 FLAC_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15875        flac >= 1.2.1
15876       " 2>&1`
15877         fi
15878         # Put the nasty error message in config.log where it belongs
15879         echo "$FLAC_PKG_ERRORS" >&5
15880
15881         have_flac_lib="no"; want_multisense="no"
15882
15883 elif test $pkg_failed = untried; then
15884         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15885 $as_echo "no" >&6; }
15886         have_flac_lib="no"; want_multisense="no"
15887
15888 else
15889         FLAC_CFLAGS=$pkg_cv_FLAC_CFLAGS
15890         FLAC_LIBS=$pkg_cv_FLAC_LIBS
15891         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15892 $as_echo "yes" >&6; }
15893
15894
15895 $as_echo "#define HAVE_LIBFLAC 1" >>confdefs.h
15896
15897        have_flac_lib="yes"
15898        # disabled because this adds flac include dirs to cflags... and
15899        # FLAC has an assert.h in its include dirs that ends up
15900        # overriding the system assert.h and thus causes all sorts of
15901        # mayhem
15902        #requirement_edje="flac >= 1.2.1 ${requirement_edje}"
15903
15904 fi
15905         if test "x$want_flac_lib" = "xyes" -a "x$have_flac_lib" = "xno"; then
15906             as_fn_error $? "flac support requested, but not found by pkg-config." "$LINENO" 5
15907         fi
15908 fi
15909
15910 if test "x${want_multisense}" = "xyes" ; then
15911
15912 $as_echo "#define ENABLE_MULTISENSE 1" >>confdefs.h
15913
15914 fi
15915
15916
15917 # Dependencies for the binaries
15918
15919 if test "x${have_edje_cc}" = "xyes" ; then
15920
15921 pkg_failed=no
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_CC" >&5
15923 $as_echo_n "checking for EDJE_CC... " >&6; }
15924
15925 if test -n "$EDJE_CC_CFLAGS"; then
15926     pkg_cv_EDJE_CC_CFLAGS="$EDJE_CC_CFLAGS"
15927  elif test -n "$PKG_CONFIG"; then
15928     if test -n "$PKG_CONFIG" && \
15929     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.6.0 eina >= 1.7.7\""; } >&5
15930   ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.6.0 eina >= 1.7.7") 2>&5
15931   ac_status=$?
15932   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15933   test $ac_status = 0; }; then
15934   pkg_cv_EDJE_CC_CFLAGS=`$PKG_CONFIG --cflags "ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.6.0 eina >= 1.7.7" 2>/dev/null`
15935 else
15936   pkg_failed=yes
15937 fi
15938  else
15939     pkg_failed=untried
15940 fi
15941 if test -n "$EDJE_CC_LIBS"; then
15942     pkg_cv_EDJE_CC_LIBS="$EDJE_CC_LIBS"
15943  elif test -n "$PKG_CONFIG"; then
15944     if test -n "$PKG_CONFIG" && \
15945     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.6.0 eina >= 1.7.7\""; } >&5
15946   ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.6.0 eina >= 1.7.7") 2>&5
15947   ac_status=$?
15948   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15949   test $ac_status = 0; }; then
15950   pkg_cv_EDJE_CC_LIBS=`$PKG_CONFIG --libs "ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.6.0 eina >= 1.7.7" 2>/dev/null`
15951 else
15952   pkg_failed=yes
15953 fi
15954  else
15955     pkg_failed=untried
15956 fi
15957
15958
15959
15960 if test $pkg_failed = yes; then
15961         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15962 $as_echo "no" >&6; }
15963
15964 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15965         _pkg_short_errors_supported=yes
15966 else
15967         _pkg_short_errors_supported=no
15968 fi
15969         if test $_pkg_short_errors_supported = yes; then
15970                 EDJE_CC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.6.0 eina >= 1.7.7" 2>&1`
15971         else
15972                 EDJE_CC_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.6.0 eina >= 1.7.7" 2>&1`
15973         fi
15974         # Put the nasty error message in config.log where it belongs
15975         echo "$EDJE_CC_PKG_ERRORS" >&5
15976
15977         as_fn_error $? "Package requirements (ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.6.0 eina >= 1.7.7) were not met:
15978
15979 $EDJE_CC_PKG_ERRORS
15980
15981 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15982 installed software in a non-standard prefix.
15983
15984 Alternatively, you may set the environment variables EDJE_CC_CFLAGS
15985 and EDJE_CC_LIBS to avoid the need to call pkg-config.
15986 See the pkg-config man page for more details." "$LINENO" 5
15987
15988 elif test $pkg_failed = untried; then
15989         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15990 $as_echo "no" >&6; }
15991         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15992 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15993 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15994 is in your PATH or set the PKG_CONFIG environment variable to the full
15995 path to pkg-config.
15996
15997 Alternatively, you may set the environment variables EDJE_CC_CFLAGS
15998 and EDJE_CC_LIBS to avoid the need to call pkg-config.
15999 See the pkg-config man page for more details.
16000
16001 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16002 See \`config.log' for more details" "$LINENO" 5; }
16003
16004 else
16005         EDJE_CC_CFLAGS=$pkg_cv_EDJE_CC_CFLAGS
16006         EDJE_CC_LIBS=$pkg_cv_EDJE_CC_LIBS
16007         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16008 $as_echo "yes" >&6; }
16009
16010 fi
16011    EDJE_CC_LIBS="${EDJE_CC_LIBS} ${LUA_LIBS} ${lua_libs}"
16012 fi
16013
16014  if test "x${have_edje_cc}" = "xyes"; then
16015   BUILD_EPP_TRUE=
16016   BUILD_EPP_FALSE='#'
16017 else
16018   BUILD_EPP_TRUE='#'
16019   BUILD_EPP_FALSE=
16020 fi
16021
16022
16023 if test "x${have_edje_decc}" = "xyes" ; then
16024
16025 pkg_failed=no
16026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_DECC" >&5
16027 $as_echo_n "checking for EDJE_DECC... " >&6; }
16028
16029 if test -n "$EDJE_DECC_CFLAGS"; then
16030     pkg_cv_EDJE_DECC_CFLAGS="$EDJE_DECC_CFLAGS"
16031  elif test -n "$PKG_CONFIG"; then
16032     if test -n "$PKG_CONFIG" && \
16033     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.7.7 eina >= 1.7.7\""; } >&5
16034   ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.7.7 eina >= 1.7.7") 2>&5
16035   ac_status=$?
16036   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16037   test $ac_status = 0; }; then
16038   pkg_cv_EDJE_DECC_CFLAGS=`$PKG_CONFIG --cflags "ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.7.7 eina >= 1.7.7" 2>/dev/null`
16039 else
16040   pkg_failed=yes
16041 fi
16042  else
16043     pkg_failed=untried
16044 fi
16045 if test -n "$EDJE_DECC_LIBS"; then
16046     pkg_cv_EDJE_DECC_LIBS="$EDJE_DECC_LIBS"
16047  elif test -n "$PKG_CONFIG"; then
16048     if test -n "$PKG_CONFIG" && \
16049     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.7.7 eina >= 1.7.7\""; } >&5
16050   ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.7.7 eina >= 1.7.7") 2>&5
16051   ac_status=$?
16052   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16053   test $ac_status = 0; }; then
16054   pkg_cv_EDJE_DECC_LIBS=`$PKG_CONFIG --libs "ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.7.7 eina >= 1.7.7" 2>/dev/null`
16055 else
16056   pkg_failed=yes
16057 fi
16058  else
16059     pkg_failed=untried
16060 fi
16061
16062
16063
16064 if test $pkg_failed = yes; then
16065         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16066 $as_echo "no" >&6; }
16067
16068 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16069         _pkg_short_errors_supported=yes
16070 else
16071         _pkg_short_errors_supported=no
16072 fi
16073         if test $_pkg_short_errors_supported = yes; then
16074                 EDJE_DECC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.7.7 eina >= 1.7.7" 2>&1`
16075         else
16076                 EDJE_DECC_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.7.7 eina >= 1.7.7" 2>&1`
16077         fi
16078         # Put the nasty error message in config.log where it belongs
16079         echo "$EDJE_DECC_PKG_ERRORS" >&5
16080
16081         as_fn_error $? "Package requirements (ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.7.7 eina >= 1.7.7) were not met:
16082
16083 $EDJE_DECC_PKG_ERRORS
16084
16085 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16086 installed software in a non-standard prefix.
16087
16088 Alternatively, you may set the environment variables EDJE_DECC_CFLAGS
16089 and EDJE_DECC_LIBS to avoid the need to call pkg-config.
16090 See the pkg-config man page for more details." "$LINENO" 5
16091
16092 elif test $pkg_failed = untried; then
16093         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16094 $as_echo "no" >&6; }
16095         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16096 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16097 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16098 is in your PATH or set the PKG_CONFIG environment variable to the full
16099 path to pkg-config.
16100
16101 Alternatively, you may set the environment variables EDJE_DECC_CFLAGS
16102 and EDJE_DECC_LIBS to avoid the need to call pkg-config.
16103 See the pkg-config man page for more details.
16104
16105 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16106 See \`config.log' for more details" "$LINENO" 5; }
16107
16108 else
16109         EDJE_DECC_CFLAGS=$pkg_cv_EDJE_DECC_CFLAGS
16110         EDJE_DECC_LIBS=$pkg_cv_EDJE_DECC_LIBS
16111         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16112 $as_echo "yes" >&6; }
16113
16114 fi
16115 fi
16116
16117 if test "x${have_edje_player}" = "xyes" ; then
16118
16119 pkg_failed=no
16120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_PLAYER" >&5
16121 $as_echo_n "checking for EDJE_PLAYER... " >&6; }
16122
16123 if test -n "$EDJE_PLAYER_CFLAGS"; then
16124     pkg_cv_EDJE_PLAYER_CFLAGS="$EDJE_PLAYER_CFLAGS"
16125  elif test -n "$PKG_CONFIG"; then
16126     if test -n "$PKG_CONFIG" && \
16127     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7\""; } >&5
16128   ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7") 2>&5
16129   ac_status=$?
16130   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16131   test $ac_status = 0; }; then
16132   pkg_cv_EDJE_PLAYER_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7" 2>/dev/null`
16133 else
16134   pkg_failed=yes
16135 fi
16136  else
16137     pkg_failed=untried
16138 fi
16139 if test -n "$EDJE_PLAYER_LIBS"; then
16140     pkg_cv_EDJE_PLAYER_LIBS="$EDJE_PLAYER_LIBS"
16141  elif test -n "$PKG_CONFIG"; then
16142     if test -n "$PKG_CONFIG" && \
16143     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7\""; } >&5
16144   ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7") 2>&5
16145   ac_status=$?
16146   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16147   test $ac_status = 0; }; then
16148   pkg_cv_EDJE_PLAYER_LIBS=`$PKG_CONFIG --libs "ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7" 2>/dev/null`
16149 else
16150   pkg_failed=yes
16151 fi
16152  else
16153     pkg_failed=untried
16154 fi
16155
16156
16157
16158 if test $pkg_failed = yes; then
16159         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16160 $as_echo "no" >&6; }
16161
16162 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16163         _pkg_short_errors_supported=yes
16164 else
16165         _pkg_short_errors_supported=no
16166 fi
16167         if test $_pkg_short_errors_supported = yes; then
16168                 EDJE_PLAYER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7" 2>&1`
16169         else
16170                 EDJE_PLAYER_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7" 2>&1`
16171         fi
16172         # Put the nasty error message in config.log where it belongs
16173         echo "$EDJE_PLAYER_PKG_ERRORS" >&5
16174
16175         as_fn_error $? "Package requirements (ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7) were not met:
16176
16177 $EDJE_PLAYER_PKG_ERRORS
16178
16179 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16180 installed software in a non-standard prefix.
16181
16182 Alternatively, you may set the environment variables EDJE_PLAYER_CFLAGS
16183 and EDJE_PLAYER_LIBS to avoid the need to call pkg-config.
16184 See the pkg-config man page for more details." "$LINENO" 5
16185
16186 elif test $pkg_failed = untried; then
16187         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16188 $as_echo "no" >&6; }
16189         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16191 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16192 is in your PATH or set the PKG_CONFIG environment variable to the full
16193 path to pkg-config.
16194
16195 Alternatively, you may set the environment variables EDJE_PLAYER_CFLAGS
16196 and EDJE_PLAYER_LIBS to avoid the need to call pkg-config.
16197 See the pkg-config man page for more details.
16198
16199 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16200 See \`config.log' for more details" "$LINENO" 5; }
16201
16202 else
16203         EDJE_PLAYER_CFLAGS=$pkg_cv_EDJE_PLAYER_CFLAGS
16204         EDJE_PLAYER_LIBS=$pkg_cv_EDJE_PLAYER_LIBS
16205         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16206 $as_echo "yes" >&6; }
16207
16208 fi
16209 fi
16210
16211 if test "x${have_edje_inspector}" = "xyes" ; then
16212
16213 pkg_failed=no
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_INSPECTOR" >&5
16215 $as_echo_n "checking for EDJE_INSPECTOR... " >&6; }
16216
16217 if test -n "$EDJE_INSPECTOR_CFLAGS"; then
16218     pkg_cv_EDJE_INSPECTOR_CFLAGS="$EDJE_INSPECTOR_CFLAGS"
16219  elif test -n "$PKG_CONFIG"; then
16220     if test -n "$PKG_CONFIG" && \
16221     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7\""; } >&5
16222   ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7") 2>&5
16223   ac_status=$?
16224   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16225   test $ac_status = 0; }; then
16226   pkg_cv_EDJE_INSPECTOR_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7" 2>/dev/null`
16227 else
16228   pkg_failed=yes
16229 fi
16230  else
16231     pkg_failed=untried
16232 fi
16233 if test -n "$EDJE_INSPECTOR_LIBS"; then
16234     pkg_cv_EDJE_INSPECTOR_LIBS="$EDJE_INSPECTOR_LIBS"
16235  elif test -n "$PKG_CONFIG"; then
16236     if test -n "$PKG_CONFIG" && \
16237     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7\""; } >&5
16238   ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7") 2>&5
16239   ac_status=$?
16240   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16241   test $ac_status = 0; }; then
16242   pkg_cv_EDJE_INSPECTOR_LIBS=`$PKG_CONFIG --libs "ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7" 2>/dev/null`
16243 else
16244   pkg_failed=yes
16245 fi
16246  else
16247     pkg_failed=untried
16248 fi
16249
16250
16251
16252 if test $pkg_failed = yes; then
16253         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16254 $as_echo "no" >&6; }
16255
16256 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16257         _pkg_short_errors_supported=yes
16258 else
16259         _pkg_short_errors_supported=no
16260 fi
16261         if test $_pkg_short_errors_supported = yes; then
16262                 EDJE_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7" 2>&1`
16263         else
16264                 EDJE_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7" 2>&1`
16265         fi
16266         # Put the nasty error message in config.log where it belongs
16267         echo "$EDJE_INSPECTOR_PKG_ERRORS" >&5
16268
16269         as_fn_error $? "Package requirements (ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7) were not met:
16270
16271 $EDJE_INSPECTOR_PKG_ERRORS
16272
16273 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16274 installed software in a non-standard prefix.
16275
16276 Alternatively, you may set the environment variables EDJE_INSPECTOR_CFLAGS
16277 and EDJE_INSPECTOR_LIBS to avoid the need to call pkg-config.
16278 See the pkg-config man page for more details." "$LINENO" 5
16279
16280 elif test $pkg_failed = untried; then
16281         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16282 $as_echo "no" >&6; }
16283         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16285 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16286 is in your PATH or set the PKG_CONFIG environment variable to the full
16287 path to pkg-config.
16288
16289 Alternatively, you may set the environment variables EDJE_INSPECTOR_CFLAGS
16290 and EDJE_INSPECTOR_LIBS to avoid the need to call pkg-config.
16291 See the pkg-config man page for more details.
16292
16293 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16294 See \`config.log' for more details" "$LINENO" 5; }
16295
16296 else
16297         EDJE_INSPECTOR_CFLAGS=$pkg_cv_EDJE_INSPECTOR_CFLAGS
16298         EDJE_INSPECTOR_LIBS=$pkg_cv_EDJE_INSPECTOR_LIBS
16299         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16300 $as_echo "yes" >&6; }
16301
16302 fi
16303 fi
16304
16305 if test "x${have_edje_external_inspector}" = "xyes" ; then
16306
16307 pkg_failed=no
16308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_EXTERNAL_INSPECTOR" >&5
16309 $as_echo_n "checking for EDJE_EXTERNAL_INSPECTOR... " >&6; }
16310
16311 if test -n "$EDJE_EXTERNAL_INSPECTOR_CFLAGS"; then
16312     pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS="$EDJE_EXTERNAL_INSPECTOR_CFLAGS"
16313  elif test -n "$PKG_CONFIG"; then
16314     if test -n "$PKG_CONFIG" && \
16315     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7\""; } >&5
16316   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7") 2>&5
16317   ac_status=$?
16318   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16319   test $ac_status = 0; }; then
16320   pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7" 2>/dev/null`
16321 else
16322   pkg_failed=yes
16323 fi
16324  else
16325     pkg_failed=untried
16326 fi
16327 if test -n "$EDJE_EXTERNAL_INSPECTOR_LIBS"; then
16328     pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS="$EDJE_EXTERNAL_INSPECTOR_LIBS"
16329  elif test -n "$PKG_CONFIG"; then
16330     if test -n "$PKG_CONFIG" && \
16331     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7\""; } >&5
16332   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7") 2>&5
16333   ac_status=$?
16334   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16335   test $ac_status = 0; }; then
16336   pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7" 2>/dev/null`
16337 else
16338   pkg_failed=yes
16339 fi
16340  else
16341     pkg_failed=untried
16342 fi
16343
16344
16345
16346 if test $pkg_failed = yes; then
16347         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16348 $as_echo "no" >&6; }
16349
16350 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16351         _pkg_short_errors_supported=yes
16352 else
16353         _pkg_short_errors_supported=no
16354 fi
16355         if test $_pkg_short_errors_supported = yes; then
16356                 EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7" 2>&1`
16357         else
16358                 EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7" 2>&1`
16359         fi
16360         # Put the nasty error message in config.log where it belongs
16361         echo "$EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS" >&5
16362
16363         as_fn_error $? "Package requirements (ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7) were not met:
16364
16365 $EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS
16366
16367 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16368 installed software in a non-standard prefix.
16369
16370 Alternatively, you may set the environment variables EDJE_EXTERNAL_INSPECTOR_CFLAGS
16371 and EDJE_EXTERNAL_INSPECTOR_LIBS to avoid the need to call pkg-config.
16372 See the pkg-config man page for more details." "$LINENO" 5
16373
16374 elif test $pkg_failed = untried; then
16375         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16376 $as_echo "no" >&6; }
16377         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16378 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16379 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16380 is in your PATH or set the PKG_CONFIG environment variable to the full
16381 path to pkg-config.
16382
16383 Alternatively, you may set the environment variables EDJE_EXTERNAL_INSPECTOR_CFLAGS
16384 and EDJE_EXTERNAL_INSPECTOR_LIBS to avoid the need to call pkg-config.
16385 See the pkg-config man page for more details.
16386
16387 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16388 See \`config.log' for more details" "$LINENO" 5; }
16389
16390 else
16391         EDJE_EXTERNAL_INSPECTOR_CFLAGS=$pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS
16392         EDJE_EXTERNAL_INSPECTOR_LIBS=$pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS
16393         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16394 $as_echo "yes" >&6; }
16395
16396 fi
16397 fi
16398
16399 if test "x${have_edje_watch}" = "xyes" ; then
16400
16401 pkg_failed=no
16402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_WATCH" >&5
16403 $as_echo_n "checking for EDJE_WATCH... " >&6; }
16404
16405 if test -n "$EDJE_WATCH_CFLAGS"; then
16406     pkg_cv_EDJE_WATCH_CFLAGS="$EDJE_WATCH_CFLAGS"
16407  elif test -n "$PKG_CONFIG"; then
16408     if test -n "$PKG_CONFIG" && \
16409     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 eina >= 1.7.7 eio >= 1.7.7\""; } >&5
16410   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 eina >= 1.7.7 eio >= 1.7.7") 2>&5
16411   ac_status=$?
16412   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16413   test $ac_status = 0; }; then
16414   pkg_cv_EDJE_WATCH_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.7 eina >= 1.7.7 eio >= 1.7.7" 2>/dev/null`
16415 else
16416   pkg_failed=yes
16417 fi
16418  else
16419     pkg_failed=untried
16420 fi
16421 if test -n "$EDJE_WATCH_LIBS"; then
16422     pkg_cv_EDJE_WATCH_LIBS="$EDJE_WATCH_LIBS"
16423  elif test -n "$PKG_CONFIG"; then
16424     if test -n "$PKG_CONFIG" && \
16425     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 eina >= 1.7.7 eio >= 1.7.7\""; } >&5
16426   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 eina >= 1.7.7 eio >= 1.7.7") 2>&5
16427   ac_status=$?
16428   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16429   test $ac_status = 0; }; then
16430   pkg_cv_EDJE_WATCH_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.7 eina >= 1.7.7 eio >= 1.7.7" 2>/dev/null`
16431 else
16432   pkg_failed=yes
16433 fi
16434  else
16435     pkg_failed=untried
16436 fi
16437
16438
16439
16440 if test $pkg_failed = yes; then
16441         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16442 $as_echo "no" >&6; }
16443
16444 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16445         _pkg_short_errors_supported=yes
16446 else
16447         _pkg_short_errors_supported=no
16448 fi
16449         if test $_pkg_short_errors_supported = yes; then
16450                 EDJE_WATCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.7.7 eina >= 1.7.7 eio >= 1.7.7" 2>&1`
16451         else
16452                 EDJE_WATCH_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.7.7 eina >= 1.7.7 eio >= 1.7.7" 2>&1`
16453         fi
16454         # Put the nasty error message in config.log where it belongs
16455         echo "$EDJE_WATCH_PKG_ERRORS" >&5
16456
16457         have_edje_watch="no"
16458 elif test $pkg_failed = untried; then
16459         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16460 $as_echo "no" >&6; }
16461         have_edje_watch="no"
16462 else
16463         EDJE_WATCH_CFLAGS=$pkg_cv_EDJE_WATCH_CFLAGS
16464         EDJE_WATCH_LIBS=$pkg_cv_EDJE_WATCH_LIBS
16465         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16466 $as_echo "yes" >&6; }
16467         have_edje_watch="yes"
16468 fi
16469 fi
16470
16471  if test "x${have_edje_watch}" = "xyes"; then
16472   BUILD_EDJE_WATCH_TRUE=
16473   BUILD_EDJE_WATCH_FALSE='#'
16474 else
16475   BUILD_EDJE_WATCH_TRUE='#'
16476   BUILD_EDJE_WATCH_FALSE=
16477 fi
16478
16479
16480 ### Checks for header files
16481 for ac_header in locale.h sys/resource.h
16482 do :
16483   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16484 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16485 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16486   cat >>confdefs.h <<_ACEOF
16487 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16488 _ACEOF
16489
16490 fi
16491
16492 done
16493
16494
16495
16496
16497 default_max="4096"
16498 ac_ext=c
16499 ac_cpp='$CPP $CPPFLAGS'
16500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16503
16504
16505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
16506 $as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
16507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16508 /* end confdefs.h.  */
16509
16510 #include <limits.h>
16511
16512 int
16513 main ()
16514 {
16515
16516 int i = PATH_MAX;
16517
16518   ;
16519   return 0;
16520 }
16521 _ACEOF
16522 if ac_fn_c_try_compile "$LINENO"; then :
16523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16524 $as_echo "yes" >&6; }
16525 else
16526
16527
16528 cat >>confdefs.h <<_ACEOF
16529 #define PATH_MAX ${default_max}
16530 _ACEOF
16531
16532     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
16533 $as_echo "no: using ${default_max}" >&6; }
16534
16535 fi
16536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16537
16538 ac_ext=c
16539 ac_cpp='$CPP $CPPFLAGS'
16540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16543
16544
16545
16546
16547
16548 ### Checks for types
16549
16550
16551 ### Checks for structures
16552
16553
16554 ### Checks for compiler characteristics
16555 if test "x$CC" != xcc; then
16556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
16557 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
16558 else
16559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
16560 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
16561 fi
16562 set dummy $CC; ac_cc=`$as_echo "$2" |
16563                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
16564 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
16565   $as_echo_n "(cached) " >&6
16566 else
16567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16568 /* end confdefs.h.  */
16569
16570 int
16571 main ()
16572 {
16573
16574   ;
16575   return 0;
16576 }
16577 _ACEOF
16578 # Make sure it works both with $CC and with simple cc.
16579 # We do the test twice because some compilers refuse to overwrite an
16580 # existing .o file with -o, though they will create one.
16581 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
16582 rm -f conftest2.*
16583 if { { case "(($ac_try" in
16584   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16585   *) ac_try_echo=$ac_try;;
16586 esac
16587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16588 $as_echo "$ac_try_echo"; } >&5
16589   (eval "$ac_try") 2>&5
16590   ac_status=$?
16591   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16592   test $ac_status = 0; } &&
16593    test -f conftest2.$ac_objext && { { case "(($ac_try" in
16594   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16595   *) ac_try_echo=$ac_try;;
16596 esac
16597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16598 $as_echo "$ac_try_echo"; } >&5
16599   (eval "$ac_try") 2>&5
16600   ac_status=$?
16601   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16602   test $ac_status = 0; };
16603 then
16604   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
16605   if test "x$CC" != xcc; then
16606     # Test first that cc exists at all.
16607     if { ac_try='cc -c conftest.$ac_ext >&5'
16608   { { case "(($ac_try" in
16609   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16610   *) ac_try_echo=$ac_try;;
16611 esac
16612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16613 $as_echo "$ac_try_echo"; } >&5
16614   (eval "$ac_try") 2>&5
16615   ac_status=$?
16616   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16617   test $ac_status = 0; }; }; then
16618       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
16619       rm -f conftest2.*
16620       if { { case "(($ac_try" in
16621   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16622   *) ac_try_echo=$ac_try;;
16623 esac
16624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16625 $as_echo "$ac_try_echo"; } >&5
16626   (eval "$ac_try") 2>&5
16627   ac_status=$?
16628   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16629   test $ac_status = 0; } &&
16630          test -f conftest2.$ac_objext && { { case "(($ac_try" in
16631   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16632   *) ac_try_echo=$ac_try;;
16633 esac
16634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16635 $as_echo "$ac_try_echo"; } >&5
16636   (eval "$ac_try") 2>&5
16637   ac_status=$?
16638   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16639   test $ac_status = 0; };
16640       then
16641         # cc works too.
16642         :
16643       else
16644         # cc exists but doesn't like -o.
16645         eval ac_cv_prog_cc_${ac_cc}_c_o=no
16646       fi
16647     fi
16648   fi
16649 else
16650   eval ac_cv_prog_cc_${ac_cc}_c_o=no
16651 fi
16652 rm -f core conftest*
16653
16654 fi
16655 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
16656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16657 $as_echo "yes" >&6; }
16658 else
16659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16660 $as_echo "no" >&6; }
16661
16662 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
16663
16664 fi
16665
16666 # FIXME: we rely on the cache variable name because
16667 # there is no other way.
16668 set dummy $CC
16669 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
16670 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
16671 if test "$am_t" != yes; then
16672    # Losing compiler, so override with the script.
16673    # FIXME: It is wrong to rewrite CC.
16674    # But if we don't then we get into trouble of one sort or another.
16675    # A longer-term fix would be to have automake use am__CC in this case,
16676    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
16677    CC="$am_aux_dir/compile $CC"
16678 fi
16679
16680
16681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
16682 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
16683 if ${ac_cv_c_const+:} false; then :
16684   $as_echo_n "(cached) " >&6
16685 else
16686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16687 /* end confdefs.h.  */
16688
16689 int
16690 main ()
16691 {
16692 /* FIXME: Include the comments suggested by Paul. */
16693 #ifndef __cplusplus
16694   /* Ultrix mips cc rejects this.  */
16695   typedef int charset[2];
16696   const charset cs;
16697   /* SunOS 4.1.1 cc rejects this.  */
16698   char const *const *pcpcc;
16699   char **ppc;
16700   /* NEC SVR4.0.2 mips cc rejects this.  */
16701   struct point {int x, y;};
16702   static struct point const zero = {0,0};
16703   /* AIX XL C 1.02.0.0 rejects this.
16704      It does not let you subtract one const X* pointer from another in
16705      an arm of an if-expression whose if-part is not a constant
16706      expression */
16707   const char *g = "string";
16708   pcpcc = &g + (g ? g-g : 0);
16709   /* HPUX 7.0 cc rejects these. */
16710   ++pcpcc;
16711   ppc = (char**) pcpcc;
16712   pcpcc = (char const *const *) ppc;
16713   { /* SCO 3.2v4 cc rejects this.  */
16714     char *t;
16715     char const *s = 0 ? (char *) 0 : (char const *) 0;
16716
16717     *t++ = 0;
16718     if (s) return 0;
16719   }
16720   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
16721     int x[] = {25, 17};
16722     const int *foo = &x[0];
16723     ++foo;
16724   }
16725   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16726     typedef const int *iptr;
16727     iptr p = 0;
16728     ++p;
16729   }
16730   { /* AIX XL C 1.02.0.0 rejects this saying
16731        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16732     struct s { int j; const int *ap[3]; };
16733     struct s *b; b->j = 5;
16734   }
16735   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16736     const int foo = 10;
16737     if (!foo) return 0;
16738   }
16739   return !cs[0] && !zero.x;
16740 #endif
16741
16742   ;
16743   return 0;
16744 }
16745 _ACEOF
16746 if ac_fn_c_try_compile "$LINENO"; then :
16747   ac_cv_c_const=yes
16748 else
16749   ac_cv_c_const=no
16750 fi
16751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16752 fi
16753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
16754 $as_echo "$ac_cv_c_const" >&6; }
16755 if test $ac_cv_c_const = no; then
16756
16757 $as_echo "#define const /**/" >>confdefs.h
16758
16759 fi
16760
16761    case $ac_cv_prog_cc_stdc in #(
16762   no) :
16763     ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
16764   *) :
16765     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
16766 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
16767 if ${ac_cv_prog_cc_c99+:} false; then :
16768   $as_echo_n "(cached) " >&6
16769 else
16770   ac_cv_prog_cc_c99=no
16771 ac_save_CC=$CC
16772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16773 /* end confdefs.h.  */
16774 #include <stdarg.h>
16775 #include <stdbool.h>
16776 #include <stdlib.h>
16777 #include <wchar.h>
16778 #include <stdio.h>
16779
16780 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
16781 #define debug(...) fprintf (stderr, __VA_ARGS__)
16782 #define showlist(...) puts (#__VA_ARGS__)
16783 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
16784 static void
16785 test_varargs_macros (void)
16786 {
16787   int x = 1234;
16788   int y = 5678;
16789   debug ("Flag");
16790   debug ("X = %d\n", x);
16791   showlist (The first, second, and third items.);
16792   report (x>y, "x is %d but y is %d", x, y);
16793 }
16794
16795 // Check long long types.
16796 #define BIG64 18446744073709551615ull
16797 #define BIG32 4294967295ul
16798 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
16799 #if !BIG_OK
16800   your preprocessor is broken;
16801 #endif
16802 #if BIG_OK
16803 #else
16804   your preprocessor is broken;
16805 #endif
16806 static long long int bignum = -9223372036854775807LL;
16807 static unsigned long long int ubignum = BIG64;
16808
16809 struct incomplete_array
16810 {
16811   int datasize;
16812   double data[];
16813 };
16814
16815 struct named_init {
16816   int number;
16817   const wchar_t *name;
16818   double average;
16819 };
16820
16821 typedef const char *ccp;
16822
16823 static inline int
16824 test_restrict (ccp restrict text)
16825 {
16826   // See if C++-style comments work.
16827   // Iterate through items via the restricted pointer.
16828   // Also check for declarations in for loops.
16829   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
16830     continue;
16831   return 0;
16832 }
16833
16834 // Check varargs and va_copy.
16835 static void
16836 test_varargs (const char *format, ...)
16837 {
16838   va_list args;
16839   va_start (args, format);
16840   va_list args_copy;
16841   va_copy (args_copy, args);
16842
16843   const char *str;
16844   int number;
16845   float fnumber;
16846
16847   while (*format)
16848     {
16849       switch (*format++)
16850         {
16851         case 's': // string
16852           str = va_arg (args_copy, const char *);
16853           break;
16854         case 'd': // int
16855           number = va_arg (args_copy, int);
16856           break;
16857         case 'f': // float
16858           fnumber = va_arg (args_copy, double);
16859           break;
16860         default:
16861           break;
16862         }
16863     }
16864   va_end (args_copy);
16865   va_end (args);
16866 }
16867
16868 int
16869 main ()
16870 {
16871
16872   // Check bool.
16873   _Bool success = false;
16874
16875   // Check restrict.
16876   if (test_restrict ("String literal") == 0)
16877     success = true;
16878   char *restrict newvar = "Another string";
16879
16880   // Check varargs.
16881   test_varargs ("s, d' f .", "string", 65, 34.234);
16882   test_varargs_macros ();
16883
16884   // Check flexible array members.
16885   struct incomplete_array *ia =
16886     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
16887   ia->datasize = 10;
16888   for (int i = 0; i < ia->datasize; ++i)
16889     ia->data[i] = i * 1.234;
16890
16891   // Check named initializers.
16892   struct named_init ni = {
16893     .number = 34,
16894     .name = L"Test wide string",
16895     .average = 543.34343,
16896   };
16897
16898   ni.number = 58;
16899
16900   int dynamic_array[ni.number];
16901   dynamic_array[ni.number - 1] = 543;
16902
16903   // work around unused variable warnings
16904   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
16905           || dynamic_array[ni.number - 1] != 543);
16906
16907   ;
16908   return 0;
16909 }
16910 _ACEOF
16911 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
16912 do
16913   CC="$ac_save_CC $ac_arg"
16914   if ac_fn_c_try_compile "$LINENO"; then :
16915   ac_cv_prog_cc_c99=$ac_arg
16916 fi
16917 rm -f core conftest.err conftest.$ac_objext
16918   test "x$ac_cv_prog_cc_c99" != "xno" && break
16919 done
16920 rm -f conftest.$ac_ext
16921 CC=$ac_save_CC
16922
16923 fi
16924 # AC_CACHE_VAL
16925 case "x$ac_cv_prog_cc_c99" in
16926   x)
16927     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16928 $as_echo "none needed" >&6; } ;;
16929   xno)
16930     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16931 $as_echo "unsupported" >&6; } ;;
16932   *)
16933     CC="$CC $ac_cv_prog_cc_c99"
16934     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
16935 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
16936 esac
16937 if test "x$ac_cv_prog_cc_c99" != xno; then :
16938   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
16939 else
16940   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16941 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16942 if ${ac_cv_prog_cc_c89+:} false; then :
16943   $as_echo_n "(cached) " >&6
16944 else
16945   ac_cv_prog_cc_c89=no
16946 ac_save_CC=$CC
16947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16948 /* end confdefs.h.  */
16949 #include <stdarg.h>
16950 #include <stdio.h>
16951 #include <sys/types.h>
16952 #include <sys/stat.h>
16953 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
16954 struct buf { int x; };
16955 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16956 static char *e (p, i)
16957      char **p;
16958      int i;
16959 {
16960   return p[i];
16961 }
16962 static char *f (char * (*g) (char **, int), char **p, ...)
16963 {
16964   char *s;
16965   va_list v;
16966   va_start (v,p);
16967   s = g (p, va_arg (v,int));
16968   va_end (v);
16969   return s;
16970 }
16971
16972 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
16973    function prototypes and stuff, but not '\xHH' hex character constants.
16974    These don't provoke an error unfortunately, instead are silently treated
16975    as 'x'.  The following induces an error, until -std is added to get
16976    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
16977    array size at least.  It's necessary to write '\x00'==0 to get something
16978    that's true only with -std.  */
16979 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16980
16981 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16982    inside strings and character constants.  */
16983 #define FOO(x) 'x'
16984 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16985
16986 int test (int i, double x);
16987 struct s1 {int (*f) (int a);};
16988 struct s2 {int (*f) (double a);};
16989 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16990 int argc;
16991 char **argv;
16992 int
16993 main ()
16994 {
16995 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
16996   ;
16997   return 0;
16998 }
16999 _ACEOF
17000 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17001         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17002 do
17003   CC="$ac_save_CC $ac_arg"
17004   if ac_fn_c_try_compile "$LINENO"; then :
17005   ac_cv_prog_cc_c89=$ac_arg
17006 fi
17007 rm -f core conftest.err conftest.$ac_objext
17008   test "x$ac_cv_prog_cc_c89" != "xno" && break
17009 done
17010 rm -f conftest.$ac_ext
17011 CC=$ac_save_CC
17012
17013 fi
17014 # AC_CACHE_VAL
17015 case "x$ac_cv_prog_cc_c89" in
17016   x)
17017     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17018 $as_echo "none needed" >&6; } ;;
17019   xno)
17020     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17021 $as_echo "unsupported" >&6; } ;;
17022   *)
17023     CC="$CC $ac_cv_prog_cc_c89"
17024     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17025 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17026 esac
17027 if test "x$ac_cv_prog_cc_c89" != xno; then :
17028   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
17029 else
17030   ac_cv_prog_cc_stdc=no
17031 fi
17032
17033 fi
17034  ;;
17035 esac
17036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
17037 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
17038   if ${ac_cv_prog_cc_stdc+:} false; then :
17039   $as_echo_n "(cached) " >&6
17040 fi
17041
17042   case $ac_cv_prog_cc_stdc in #(
17043   no) :
17044     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17045 $as_echo "unsupported" >&6; } ;; #(
17046   '') :
17047     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17048 $as_echo "none needed" >&6; } ;; #(
17049   *) :
17050     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
17051 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
17052 esac
17053
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
17055 $as_echo_n "checking for ANSI C header files... " >&6; }
17056 if ${ac_cv_header_stdc+:} false; then :
17057   $as_echo_n "(cached) " >&6
17058 else
17059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17060 /* end confdefs.h.  */
17061 #include <stdlib.h>
17062 #include <stdarg.h>
17063 #include <string.h>
17064 #include <float.h>
17065
17066 int
17067 main ()
17068 {
17069
17070   ;
17071   return 0;
17072 }
17073 _ACEOF
17074 if ac_fn_c_try_compile "$LINENO"; then :
17075   ac_cv_header_stdc=yes
17076 else
17077   ac_cv_header_stdc=no
17078 fi
17079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17080
17081 if test $ac_cv_header_stdc = yes; then
17082   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17084 /* end confdefs.h.  */
17085 #include <string.h>
17086
17087 _ACEOF
17088 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17089   $EGREP "memchr" >/dev/null 2>&1; then :
17090
17091 else
17092   ac_cv_header_stdc=no
17093 fi
17094 rm -f conftest*
17095
17096 fi
17097
17098 if test $ac_cv_header_stdc = yes; then
17099   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17101 /* end confdefs.h.  */
17102 #include <stdlib.h>
17103
17104 _ACEOF
17105 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17106   $EGREP "free" >/dev/null 2>&1; then :
17107
17108 else
17109   ac_cv_header_stdc=no
17110 fi
17111 rm -f conftest*
17112
17113 fi
17114
17115 if test $ac_cv_header_stdc = yes; then
17116   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17117   if test "$cross_compiling" = yes; then :
17118   :
17119 else
17120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17121 /* end confdefs.h.  */
17122 #include <ctype.h>
17123 #include <stdlib.h>
17124 #if ((' ' & 0x0FF) == 0x020)
17125 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17126 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17127 #else
17128 # define ISLOWER(c) \
17129                    (('a' <= (c) && (c) <= 'i') \
17130                      || ('j' <= (c) && (c) <= 'r') \
17131                      || ('s' <= (c) && (c) <= 'z'))
17132 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17133 #endif
17134
17135 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17136 int
17137 main ()
17138 {
17139   int i;
17140   for (i = 0; i < 256; i++)
17141     if (XOR (islower (i), ISLOWER (i))
17142         || toupper (i) != TOUPPER (i))
17143       return 2;
17144   return 0;
17145 }
17146 _ACEOF
17147 if ac_fn_c_try_run "$LINENO"; then :
17148
17149 else
17150   ac_cv_header_stdc=no
17151 fi
17152 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17153   conftest.$ac_objext conftest.beam conftest.$ac_ext
17154 fi
17155
17156 fi
17157 fi
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
17159 $as_echo "$ac_cv_header_stdc" >&6; }
17160 if test $ac_cv_header_stdc = yes; then
17161
17162 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
17163
17164 fi
17165
17166
17167
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
17169 $as_echo_n "checking for __attribute__... " >&6; }
17170
17171 if ${ac_cv___attribute__+:} false; then :
17172   $as_echo_n "(cached) " >&6
17173 else
17174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17175 /* end confdefs.h.  */
17176
17177 #include <stdlib.h>
17178
17179 int func(int x);
17180 int foo(int x __attribute__ ((unused)))
17181 {
17182    exit(1);
17183 }
17184
17185 int
17186 main ()
17187 {
17188
17189   ;
17190   return 0;
17191 }
17192 _ACEOF
17193 if ac_fn_c_try_compile "$LINENO"; then :
17194   ac_cv___attribute__="yes"
17195 else
17196   ac_cv___attribute__="no"
17197
17198 fi
17199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17200 fi
17201
17202
17203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
17204 $as_echo "$ac_cv___attribute__" >&6; }
17205
17206 if test "x${ac_cv___attribute__}" = "xyes" ; then
17207
17208 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
17209
17210
17211 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
17212
17213   else
17214
17215 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
17216
17217 fi
17218
17219
17220
17221 case "$host_os" in
17222    mingw32ce*)
17223       EDJE_CFLAGS="${EDJE_CFLAGS} -D_WIN32_WCE=0x0420"
17224       ;;
17225 esac
17226
17227
17228 ### Checks for linker characteristics
17229
17230 lt_enable_auto_import=""
17231 case "$host_os" in
17232    mingw*)
17233       lt_enable_auto_import="-Wl,--enable-auto-import"
17234       ;;
17235 esac
17236
17237
17238
17239 ### Checks for library functions
17240
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
17242 $as_echo_n "checking for library containing strerror... " >&6; }
17243 if ${ac_cv_search_strerror+:} false; then :
17244   $as_echo_n "(cached) " >&6
17245 else
17246   ac_func_search_save_LIBS=$LIBS
17247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17248 /* end confdefs.h.  */
17249
17250 /* Override any GCC internal prototype to avoid an error.
17251    Use char because int might match the return type of a GCC
17252    builtin and then its argument prototype would still apply.  */
17253 #ifdef __cplusplus
17254 extern "C"
17255 #endif
17256 char strerror ();
17257 int
17258 main ()
17259 {
17260 return strerror ();
17261   ;
17262   return 0;
17263 }
17264 _ACEOF
17265 for ac_lib in '' cposix; do
17266   if test -z "$ac_lib"; then
17267     ac_res="none required"
17268   else
17269     ac_res=-l$ac_lib
17270     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17271   fi
17272   if ac_fn_c_try_link "$LINENO"; then :
17273   ac_cv_search_strerror=$ac_res
17274 fi
17275 rm -f core conftest.err conftest.$ac_objext \
17276     conftest$ac_exeext
17277   if ${ac_cv_search_strerror+:} false; then :
17278   break
17279 fi
17280 done
17281 if ${ac_cv_search_strerror+:} false; then :
17282
17283 else
17284   ac_cv_search_strerror=no
17285 fi
17286 rm conftest.$ac_ext
17287 LIBS=$ac_func_search_save_LIBS
17288 fi
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
17290 $as_echo "$ac_cv_search_strerror" >&6; }
17291 ac_res=$ac_cv_search_strerror
17292 if test "$ac_res" != no; then :
17293   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17294
17295 fi
17296
17297
17298 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17299 if test "x$ac_cv_type_size_t" = xyes; then :
17300
17301 else
17302
17303 cat >>confdefs.h <<_ACEOF
17304 #define size_t unsigned int
17305 _ACEOF
17306
17307 fi
17308
17309 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
17310 # for constant arguments.  Useless!
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
17312 $as_echo_n "checking for working alloca.h... " >&6; }
17313 if ${ac_cv_working_alloca_h+:} false; then :
17314   $as_echo_n "(cached) " >&6
17315 else
17316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17317 /* end confdefs.h.  */
17318 #include <alloca.h>
17319 int
17320 main ()
17321 {
17322 char *p = (char *) alloca (2 * sizeof (int));
17323                           if (p) return 0;
17324   ;
17325   return 0;
17326 }
17327 _ACEOF
17328 if ac_fn_c_try_link "$LINENO"; then :
17329   ac_cv_working_alloca_h=yes
17330 else
17331   ac_cv_working_alloca_h=no
17332 fi
17333 rm -f core conftest.err conftest.$ac_objext \
17334     conftest$ac_exeext conftest.$ac_ext
17335 fi
17336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
17337 $as_echo "$ac_cv_working_alloca_h" >&6; }
17338 if test $ac_cv_working_alloca_h = yes; then
17339
17340 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
17341
17342 fi
17343
17344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
17345 $as_echo_n "checking for alloca... " >&6; }
17346 if ${ac_cv_func_alloca_works+:} false; then :
17347   $as_echo_n "(cached) " >&6
17348 else
17349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17350 /* end confdefs.h.  */
17351 #ifdef __GNUC__
17352 # define alloca __builtin_alloca
17353 #else
17354 # ifdef _MSC_VER
17355 #  include <malloc.h>
17356 #  define alloca _alloca
17357 # else
17358 #  ifdef HAVE_ALLOCA_H
17359 #   include <alloca.h>
17360 #  else
17361 #   ifdef _AIX
17362  #pragma alloca
17363 #   else
17364 #    ifndef alloca /* predefined by HP cc +Olibcalls */
17365 void *alloca (size_t);
17366 #    endif
17367 #   endif
17368 #  endif
17369 # endif
17370 #endif
17371
17372 int
17373 main ()
17374 {
17375 char *p = (char *) alloca (1);
17376                                     if (p) return 0;
17377   ;
17378   return 0;
17379 }
17380 _ACEOF
17381 if ac_fn_c_try_link "$LINENO"; then :
17382   ac_cv_func_alloca_works=yes
17383 else
17384   ac_cv_func_alloca_works=no
17385 fi
17386 rm -f core conftest.err conftest.$ac_objext \
17387     conftest$ac_exeext conftest.$ac_ext
17388 fi
17389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
17390 $as_echo "$ac_cv_func_alloca_works" >&6; }
17391
17392 if test $ac_cv_func_alloca_works = yes; then
17393
17394 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
17395
17396 else
17397   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
17398 # that cause trouble.  Some versions do not even contain alloca or
17399 # contain a buggy version.  If you still want to use their alloca,
17400 # use ar to extract alloca.o from them instead of compiling alloca.c.
17401
17402 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
17403
17404 $as_echo "#define C_ALLOCA 1" >>confdefs.h
17405
17406
17407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
17408 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
17409 if ${ac_cv_os_cray+:} false; then :
17410   $as_echo_n "(cached) " >&6
17411 else
17412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17413 /* end confdefs.h.  */
17414 #if defined CRAY && ! defined CRAY2
17415 webecray
17416 #else
17417 wenotbecray
17418 #endif
17419
17420 _ACEOF
17421 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17422   $EGREP "webecray" >/dev/null 2>&1; then :
17423   ac_cv_os_cray=yes
17424 else
17425   ac_cv_os_cray=no
17426 fi
17427 rm -f conftest*
17428
17429 fi
17430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
17431 $as_echo "$ac_cv_os_cray" >&6; }
17432 if test $ac_cv_os_cray = yes; then
17433   for ac_func in _getb67 GETB67 getb67; do
17434     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17435 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17436 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17437
17438 cat >>confdefs.h <<_ACEOF
17439 #define CRAY_STACKSEG_END $ac_func
17440 _ACEOF
17441
17442     break
17443 fi
17444
17445   done
17446 fi
17447
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
17449 $as_echo_n "checking stack direction for C alloca... " >&6; }
17450 if ${ac_cv_c_stack_direction+:} false; then :
17451   $as_echo_n "(cached) " >&6
17452 else
17453   if test "$cross_compiling" = yes; then :
17454   ac_cv_c_stack_direction=0
17455 else
17456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17457 /* end confdefs.h.  */
17458 $ac_includes_default
17459 int
17460 find_stack_direction ()
17461 {
17462   static char *addr = 0;
17463   auto char dummy;
17464   if (addr == 0)
17465     {
17466       addr = &dummy;
17467       return find_stack_direction ();
17468     }
17469   else
17470     return (&dummy > addr) ? 1 : -1;
17471 }
17472
17473 int
17474 main ()
17475 {
17476   return find_stack_direction () < 0;
17477 }
17478 _ACEOF
17479 if ac_fn_c_try_run "$LINENO"; then :
17480   ac_cv_c_stack_direction=1
17481 else
17482   ac_cv_c_stack_direction=-1
17483 fi
17484 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17485   conftest.$ac_objext conftest.beam conftest.$ac_ext
17486 fi
17487
17488 fi
17489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
17490 $as_echo "$ac_cv_c_stack_direction" >&6; }
17491 cat >>confdefs.h <<_ACEOF
17492 #define STACK_DIRECTION $ac_cv_c_stack_direction
17493 _ACEOF
17494
17495
17496 fi
17497
17498
17499 case "$host_os" in
17500    mingw*)
17501
17502 $as_echo "#define HAVE_REALPATH 1" >>confdefs.h
17503
17504       ;;
17505    *)
17506       for ac_func in realpath
17507 do :
17508   ac_fn_c_check_func "$LINENO" "realpath" "ac_cv_func_realpath"
17509 if test "x$ac_cv_func_realpath" = xyes; then :
17510   cat >>confdefs.h <<_ACEOF
17511 #define HAVE_REALPATH 1
17512 _ACEOF
17513
17514 fi
17515 done
17516
17517       ;;
17518 esac
17519
17520 ### Unit tests, coverage and benchmarking
17521
17522
17523
17524
17525 # Check whether --enable-tests was given.
17526 if test "${enable_tests+set}" = set; then :
17527   enableval=$enable_tests;
17528     if test "x${enableval}" = "xyes" ; then
17529        _efl_enable_tests="yes"
17530     else
17531        _efl_enable_tests="no"
17532     fi
17533
17534 else
17535   _efl_enable_tests="no"
17536 fi
17537
17538
17539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests are built" >&5
17540 $as_echo_n "checking whether tests are built... " >&6; }
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_tests}" >&5
17542 $as_echo "${_efl_enable_tests}" >&6; }
17543
17544
17545
17546 if test "x${_efl_enable_tests}" = "xyes" ; then
17547
17548 pkg_failed=no
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
17550 $as_echo_n "checking for CHECK... " >&6; }
17551
17552 if test -n "$CHECK_CFLAGS"; then
17553     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
17554  elif test -n "$PKG_CONFIG"; then
17555     if test -n "$PKG_CONFIG" && \
17556     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
17557   ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
17558   ac_status=$?
17559   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17560   test $ac_status = 0; }; then
17561   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.5" 2>/dev/null`
17562 else
17563   pkg_failed=yes
17564 fi
17565  else
17566     pkg_failed=untried
17567 fi
17568 if test -n "$CHECK_LIBS"; then
17569     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
17570  elif test -n "$PKG_CONFIG"; then
17571     if test -n "$PKG_CONFIG" && \
17572     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
17573   ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
17574   ac_status=$?
17575   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17576   test $ac_status = 0; }; then
17577   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.5" 2>/dev/null`
17578 else
17579   pkg_failed=yes
17580 fi
17581  else
17582     pkg_failed=untried
17583 fi
17584
17585
17586
17587 if test $pkg_failed = yes; then
17588         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17589 $as_echo "no" >&6; }
17590
17591 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17592         _pkg_short_errors_supported=yes
17593 else
17594         _pkg_short_errors_supported=no
17595 fi
17596         if test $_pkg_short_errors_supported = yes; then
17597                 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "check >= 0.9.5" 2>&1`
17598         else
17599                 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors "check >= 0.9.5" 2>&1`
17600         fi
17601         # Put the nasty error message in config.log where it belongs
17602         echo "$CHECK_PKG_ERRORS" >&5
17603
17604         _efl_enable_tests="no"
17605 elif test $pkg_failed = untried; then
17606         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17607 $as_echo "no" >&6; }
17608         _efl_enable_tests="no"
17609 else
17610         CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
17611         CHECK_LIBS=$pkg_cv_CHECK_LIBS
17612         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17613 $as_echo "yes" >&6; }
17614         dummy="yes"
17615 fi
17616 fi
17617
17618  if test "x${_efl_enable_tests}" = "xyes"; then
17619   EFL_ENABLE_TESTS_TRUE=
17620   EFL_ENABLE_TESTS_FALSE='#'
17621 else
17622   EFL_ENABLE_TESTS_TRUE='#'
17623   EFL_ENABLE_TESTS_FALSE=
17624 fi
17625
17626
17627 if test "x$_efl_enable_tests" = "xyes"; then :
17628   enable_tests="yes"
17629 else
17630   enable_tests="no"
17631 fi
17632
17633
17634
17635
17636
17637 # Check whether --enable-coverage was given.
17638 if test "${enable_coverage+set}" = set; then :
17639   enableval=$enable_coverage;
17640     if test "x${enableval}" = "xyes" ; then
17641        _efl_enable_coverage="yes"
17642     else
17643        _efl_enable_coverage="no"
17644     fi
17645
17646 else
17647   _efl_enable_coverage="no"
17648 fi
17649
17650
17651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use profiling instrumentation" >&5
17652 $as_echo_n "checking whether to use profiling instrumentation... " >&6; }
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_efl_enable_coverage" >&5
17654 $as_echo "$_efl_enable_coverage" >&6; }
17655
17656
17657 if test "x$_efl_enable_coverage" = "xyes" && test ! "x${enable_tests}" = "xyes" ; then
17658    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&5
17659 $as_echo "$as_me: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&2;}
17660    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Run configure with --enable-tests" >&5
17661 $as_echo "$as_me: WARNING: Run configure with --enable-tests" >&2;}
17662    _efl_enable_coverage="no"
17663 fi
17664
17665 if test "x$_efl_enable_coverage" = "xyes" ; then
17666    # Extract the first word of "lcov", so it can be a program name with args.
17667 set dummy lcov; ac_word=$2
17668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17669 $as_echo_n "checking for $ac_word... " >&6; }
17670 if ${ac_cv_prog_have_lcov+:} false; then :
17671   $as_echo_n "(cached) " >&6
17672 else
17673   if test -n "$have_lcov"; then
17674   ac_cv_prog_have_lcov="$have_lcov" # Let the user override the test.
17675 else
17676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17677 for as_dir in $PATH
17678 do
17679   IFS=$as_save_IFS
17680   test -z "$as_dir" && as_dir=.
17681     for ac_exec_ext in '' $ac_executable_extensions; do
17682   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17683     ac_cv_prog_have_lcov="yes"
17684     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17685     break 2
17686   fi
17687 done
17688   done
17689 IFS=$as_save_IFS
17690
17691   test -z "$ac_cv_prog_have_lcov" && ac_cv_prog_have_lcov="no"
17692 fi
17693 fi
17694 have_lcov=$ac_cv_prog_have_lcov
17695 if test -n "$have_lcov"; then
17696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_lcov" >&5
17697 $as_echo "$have_lcov" >&6; }
17698 else
17699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17700 $as_echo "no" >&6; }
17701 fi
17702
17703
17704    if test "x$have_lcov" = "xyes" ; then
17705       EFL_COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
17706       EFL_COVERAGE_LIBS="-lgcov"
17707 # remove any optimisation flag and force debug symbols
17708       EFL_DEBUG_CFLAGS="-g -O0 -DDEBUG"
17709    else
17710       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: lcov is not found, disable profiling instrumentation" >&5
17711 $as_echo "$as_me: WARNING: lcov is not found, disable profiling instrumentation" >&2;}
17712       _efl_enable_coverage="no"
17713    fi
17714 fi
17715
17716
17717
17718
17719  if test "x${_efl_enable_coverage}" = "xyes"; then
17720   EFL_ENABLE_COVERAGE_TRUE=
17721   EFL_ENABLE_COVERAGE_FALSE='#'
17722 else
17723   EFL_ENABLE_COVERAGE_TRUE='#'
17724   EFL_ENABLE_COVERAGE_FALSE=
17725 fi
17726
17727
17728 if test "x$_efl_enable_coverage" = "xyes"; then :
17729   enable_coverage="yes"
17730 else
17731   enable_coverage="no"
17732 fi
17733
17734 EDJE_CFLAGS="${EDJE_CFLAGS} ${EFL_COVERAGE_CFLAGS}"
17735 EDJE_LIBS="${EDJE_LIBS} ${EFL_COVERAGE_LIBS}"
17736 if test "x$enable_coverage" = "xyes" ; then
17737    EDJE_CFLAGS="${EDJE_CFLAGS} ${EFL_DEBUG_CFLAGS}"
17738 fi
17739
17740 ## Examples
17741
17742 build_examples="no"
17743 # Check whether --enable-build-examples was given.
17744 if test "${enable_build_examples+set}" = set; then :
17745   enableval=$enable_build_examples;
17746     if test "x${enableval}" = "xyes" ; then
17747        build_examples="yes"
17748     else
17749        build_examples="no"
17750     fi
17751
17752 else
17753   build_examples="no"
17754 fi
17755
17756  if test "x${build_examples}" = "xyes"; then
17757   BUILD_EXAMPLES_TRUE=
17758   BUILD_EXAMPLES_FALSE='#'
17759 else
17760   BUILD_EXAMPLES_TRUE='#'
17761   BUILD_EXAMPLES_FALSE=
17762 fi
17763
17764
17765
17766
17767 ac_config_files="$ac_config_files edje.pc edje.spec Makefile data/Makefile data/include/Makefile doc/Makefile doc/Doxyfile src/Makefile src/lib/Makefile src/bin/Makefile src/bin/epp/Makefile src/modules/Makefile src/modules/alsa_snd_player/Makefile src/modules/eet_snd_reader/Makefile src/modules/multisense_factory/Makefile src/tests/Makefile utils/Makefile src/examples/Makefile"
17768
17769 cat >confcache <<\_ACEOF
17770 # This file is a shell script that caches the results of configure
17771 # tests run on this system so they can be shared between configure
17772 # scripts and configure runs, see configure's option --config-cache.
17773 # It is not useful on other systems.  If it contains results you don't
17774 # want to keep, you may remove or edit it.
17775 #
17776 # config.status only pays attention to the cache file if you give it
17777 # the --recheck option to rerun configure.
17778 #
17779 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17780 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17781 # following values.
17782
17783 _ACEOF
17784
17785 # The following way of writing the cache mishandles newlines in values,
17786 # but we know of no workaround that is simple, portable, and efficient.
17787 # So, we kill variables containing newlines.
17788 # Ultrix sh set writes to stderr and can't be redirected directly,
17789 # and sets the high bit in the cache file unless we assign to the vars.
17790 (
17791   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17792     eval ac_val=\$$ac_var
17793     case $ac_val in #(
17794     *${as_nl}*)
17795       case $ac_var in #(
17796       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17797 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17798       esac
17799       case $ac_var in #(
17800       _ | IFS | as_nl) ;; #(
17801       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17802       *) { eval $ac_var=; unset $ac_var;} ;;
17803       esac ;;
17804     esac
17805   done
17806
17807   (set) 2>&1 |
17808     case $as_nl`(ac_space=' '; set) 2>&1` in #(
17809     *${as_nl}ac_space=\ *)
17810       # `set' does not quote correctly, so add quotes: double-quote
17811       # substitution turns \\\\ into \\, and sed turns \\ into \.
17812       sed -n \
17813         "s/'/'\\\\''/g;
17814           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17815       ;; #(
17816     *)
17817       # `set' quotes correctly as required by POSIX, so do not add quotes.
17818       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17819       ;;
17820     esac |
17821     sort
17822 ) |
17823   sed '
17824      /^ac_cv_env_/b end
17825      t clear
17826      :clear
17827      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17828      t end
17829      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17830      :end' >>confcache
17831 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17832   if test -w "$cache_file"; then
17833     if test "x$cache_file" != "x/dev/null"; then
17834       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17835 $as_echo "$as_me: updating cache $cache_file" >&6;}
17836       if test ! -f "$cache_file" || test -h "$cache_file"; then
17837         cat confcache >"$cache_file"
17838       else
17839         case $cache_file in #(
17840         */* | ?:*)
17841           mv -f confcache "$cache_file"$$ &&
17842           mv -f "$cache_file"$$ "$cache_file" ;; #(
17843         *)
17844           mv -f confcache "$cache_file" ;;
17845         esac
17846       fi
17847     fi
17848   else
17849     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17850 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17851   fi
17852 fi
17853 rm -f confcache
17854
17855 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17856 # Let make expand exec_prefix.
17857 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17858
17859 DEFS=-DHAVE_CONFIG_H
17860
17861 ac_libobjs=
17862 ac_ltlibobjs=
17863 U=
17864 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17865   # 1. Remove the extension, and $U if already installed.
17866   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17867   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17868   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
17869   #    will be set to the directory where LIBOBJS objects are built.
17870   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17871   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17872 done
17873 LIBOBJS=$ac_libobjs
17874
17875 LTLIBOBJS=$ac_ltlibobjs
17876
17877
17878  if test -n "$EXEEXT"; then
17879   am__EXEEXT_TRUE=
17880   am__EXEEXT_FALSE='#'
17881 else
17882   am__EXEEXT_TRUE='#'
17883   am__EXEEXT_FALSE=
17884 fi
17885
17886 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17887   as_fn_error $? "conditional \"AMDEP\" was never defined.
17888 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17889 fi
17890 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17891   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17892 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17893 fi
17894 if test -z "${EDJE_AMALGAMATION_TRUE}" && test -z "${EDJE_AMALGAMATION_FALSE}"; then
17895   as_fn_error $? "conditional \"EDJE_AMALGAMATION\" was never defined.
17896 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17897 fi
17898 if test -z "${BUILD_EDJE_CC_TRUE}" && test -z "${BUILD_EDJE_CC_FALSE}"; then
17899   as_fn_error $? "conditional \"BUILD_EDJE_CC\" was never defined.
17900 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17901 fi
17902 if test -z "${BUILD_EDJE_DECC_TRUE}" && test -z "${BUILD_EDJE_DECC_FALSE}"; then
17903   as_fn_error $? "conditional \"BUILD_EDJE_DECC\" was never defined.
17904 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17905 fi
17906 if test -z "${BUILD_EDJE_RECC_TRUE}" && test -z "${BUILD_EDJE_RECC_FALSE}"; then
17907   as_fn_error $? "conditional \"BUILD_EDJE_RECC\" was never defined.
17908 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17909 fi
17910 if test -z "${BUILD_EDJE_PLAYER_TRUE}" && test -z "${BUILD_EDJE_PLAYER_FALSE}"; then
17911   as_fn_error $? "conditional \"BUILD_EDJE_PLAYER\" was never defined.
17912 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17913 fi
17914 if test -z "${BUILD_EDJE_INSPECTOR_TRUE}" && test -z "${BUILD_EDJE_INSPECTOR_FALSE}"; then
17915   as_fn_error $? "conditional \"BUILD_EDJE_INSPECTOR\" was never defined.
17916 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17917 fi
17918 if test -z "${BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE}" && test -z "${BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE}"; then
17919   as_fn_error $? "conditional \"BUILD_EDJE_EXTERNAL_INSPECTOR\" was never defined.
17920 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17921 fi
17922 if test -z "${BUILD_EDJE_WATCH_TRUE}" && test -z "${BUILD_EDJE_WATCH_FALSE}"; then
17923   as_fn_error $? "conditional \"BUILD_EDJE_WATCH\" was never defined.
17924 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17925 fi
17926 if test -z "${EDJE_PROGRAM_CACHE_TRUE}" && test -z "${EDJE_PROGRAM_CACHE_FALSE}"; then
17927   as_fn_error $? "conditional \"EDJE_PROGRAM_CACHE\" was never defined.
17928 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17929 fi
17930 if test -z "${EDJE_CALC_CACHE_TRUE}" && test -z "${EDJE_CALC_CACHE_FALSE}"; then
17931   as_fn_error $? "conditional \"EDJE_CALC_CACHE\" was never defined.
17932 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17933 fi
17934 if test -z "${BUILD_EDJE_FP_TRUE}" && test -z "${BUILD_EDJE_FP_FALSE}"; then
17935   as_fn_error $? "conditional \"BUILD_EDJE_FP\" was never defined.
17936 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17937 fi
17938 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17939   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17940 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17941 fi
17942 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
17943   as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
17944 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17945 fi
17946 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
17947   as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
17948 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17949 fi
17950 if test -z "${ENABLE_MULTISENSE_TRUE}" && test -z "${ENABLE_MULTISENSE_FALSE}"; then
17951   as_fn_error $? "conditional \"ENABLE_MULTISENSE\" was never defined.
17952 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17953 fi
17954 if test -z "${HAVE_LIBSNDFILE_TRUE}" && test -z "${HAVE_LIBSNDFILE_FALSE}"; then
17955   as_fn_error $? "conditional \"HAVE_LIBSNDFILE\" was never defined.
17956 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17957 fi
17958 if test -z "${HAVE_LIBREMIX_TRUE}" && test -z "${HAVE_LIBREMIX_FALSE}"; then
17959   as_fn_error $? "conditional \"HAVE_LIBREMIX\" was never defined.
17960 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17961 fi
17962 if test -z "${HAVE_LIBALSA_TRUE}" && test -z "${HAVE_LIBALSA_FALSE}"; then
17963   as_fn_error $? "conditional \"HAVE_LIBALSA\" was never defined.
17964 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17965 fi
17966 if test -z "${BUILD_EPP_TRUE}" && test -z "${BUILD_EPP_FALSE}"; then
17967   as_fn_error $? "conditional \"BUILD_EPP\" was never defined.
17968 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17969 fi
17970 if test -z "${BUILD_EDJE_WATCH_TRUE}" && test -z "${BUILD_EDJE_WATCH_FALSE}"; then
17971   as_fn_error $? "conditional \"BUILD_EDJE_WATCH\" was never defined.
17972 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17973 fi
17974 if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
17975   as_fn_error $? "conditional \"EFL_ENABLE_TESTS\" was never defined.
17976 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17977 fi
17978 if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then
17979   as_fn_error $? "conditional \"EFL_ENABLE_COVERAGE\" was never defined.
17980 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17981 fi
17982 if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
17983   as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
17984 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17985 fi
17986
17987 : "${CONFIG_STATUS=./config.status}"
17988 ac_write_fail=0
17989 ac_clean_files_save=$ac_clean_files
17990 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17991 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17992 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17993 as_write_fail=0
17994 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17995 #! $SHELL
17996 # Generated by $as_me.
17997 # Run this file to recreate the current configuration.
17998 # Compiler output produced by configure, useful for debugging
17999 # configure, is in config.log if it exists.
18000
18001 debug=false
18002 ac_cs_recheck=false
18003 ac_cs_silent=false
18004
18005 SHELL=\${CONFIG_SHELL-$SHELL}
18006 export SHELL
18007 _ASEOF
18008 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18009 ## -------------------- ##
18010 ## M4sh Initialization. ##
18011 ## -------------------- ##
18012
18013 # Be more Bourne compatible
18014 DUALCASE=1; export DUALCASE # for MKS sh
18015 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18016   emulate sh
18017   NULLCMD=:
18018   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18019   # is contrary to our usage.  Disable this feature.
18020   alias -g '${1+"$@"}'='"$@"'
18021   setopt NO_GLOB_SUBST
18022 else
18023   case `(set -o) 2>/dev/null` in #(
18024   *posix*) :
18025     set -o posix ;; #(
18026   *) :
18027      ;;
18028 esac
18029 fi
18030
18031
18032 as_nl='
18033 '
18034 export as_nl
18035 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18036 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18037 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18038 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18039 # Prefer a ksh shell builtin over an external printf program on Solaris,
18040 # but without wasting forks for bash or zsh.
18041 if test -z "$BASH_VERSION$ZSH_VERSION" \
18042     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18043   as_echo='print -r --'
18044   as_echo_n='print -rn --'
18045 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18046   as_echo='printf %s\n'
18047   as_echo_n='printf %s'
18048 else
18049   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18050     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18051     as_echo_n='/usr/ucb/echo -n'
18052   else
18053     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18054     as_echo_n_body='eval
18055       arg=$1;
18056       case $arg in #(
18057       *"$as_nl"*)
18058         expr "X$arg" : "X\\(.*\\)$as_nl";
18059         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18060       esac;
18061       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18062     '
18063     export as_echo_n_body
18064     as_echo_n='sh -c $as_echo_n_body as_echo'
18065   fi
18066   export as_echo_body
18067   as_echo='sh -c $as_echo_body as_echo'
18068 fi
18069
18070 # The user is always right.
18071 if test "${PATH_SEPARATOR+set}" != set; then
18072   PATH_SEPARATOR=:
18073   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18074     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18075       PATH_SEPARATOR=';'
18076   }
18077 fi
18078
18079
18080 # IFS
18081 # We need space, tab and new line, in precisely that order.  Quoting is
18082 # there to prevent editors from complaining about space-tab.
18083 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18084 # splitting by setting IFS to empty value.)
18085 IFS=" ""        $as_nl"
18086
18087 # Find who we are.  Look in the path if we contain no directory separator.
18088 as_myself=
18089 case $0 in #((
18090   *[\\/]* ) as_myself=$0 ;;
18091   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18092 for as_dir in $PATH
18093 do
18094   IFS=$as_save_IFS
18095   test -z "$as_dir" && as_dir=.
18096     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18097   done
18098 IFS=$as_save_IFS
18099
18100      ;;
18101 esac
18102 # We did not find ourselves, most probably we were run as `sh COMMAND'
18103 # in which case we are not to be found in the path.
18104 if test "x$as_myself" = x; then
18105   as_myself=$0
18106 fi
18107 if test ! -f "$as_myself"; then
18108   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18109   exit 1
18110 fi
18111
18112 # Unset variables that we do not need and which cause bugs (e.g. in
18113 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
18114 # suppresses any "Segmentation fault" message there.  '((' could
18115 # trigger a bug in pdksh 5.2.14.
18116 for as_var in BASH_ENV ENV MAIL MAILPATH
18117 do eval test x\${$as_var+set} = xset \
18118   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18119 done
18120 PS1='$ '
18121 PS2='> '
18122 PS4='+ '
18123
18124 # NLS nuisances.
18125 LC_ALL=C
18126 export LC_ALL
18127 LANGUAGE=C
18128 export LANGUAGE
18129
18130 # CDPATH.
18131 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18132
18133
18134 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18135 # ----------------------------------------
18136 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18137 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18138 # script with STATUS, using 1 if that was 0.
18139 as_fn_error ()
18140 {
18141   as_status=$1; test $as_status -eq 0 && as_status=1
18142   if test "$4"; then
18143     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18144     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18145   fi
18146   $as_echo "$as_me: error: $2" >&2
18147   as_fn_exit $as_status
18148 } # as_fn_error
18149
18150
18151 # as_fn_set_status STATUS
18152 # -----------------------
18153 # Set $? to STATUS, without forking.
18154 as_fn_set_status ()
18155 {
18156   return $1
18157 } # as_fn_set_status
18158
18159 # as_fn_exit STATUS
18160 # -----------------
18161 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18162 as_fn_exit ()
18163 {
18164   set +e
18165   as_fn_set_status $1
18166   exit $1
18167 } # as_fn_exit
18168
18169 # as_fn_unset VAR
18170 # ---------------
18171 # Portably unset VAR.
18172 as_fn_unset ()
18173 {
18174   { eval $1=; unset $1;}
18175 }
18176 as_unset=as_fn_unset
18177 # as_fn_append VAR VALUE
18178 # ----------------------
18179 # Append the text in VALUE to the end of the definition contained in VAR. Take
18180 # advantage of any shell optimizations that allow amortized linear growth over
18181 # repeated appends, instead of the typical quadratic growth present in naive
18182 # implementations.
18183 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18184   eval 'as_fn_append ()
18185   {
18186     eval $1+=\$2
18187   }'
18188 else
18189   as_fn_append ()
18190   {
18191     eval $1=\$$1\$2
18192   }
18193 fi # as_fn_append
18194
18195 # as_fn_arith ARG...
18196 # ------------------
18197 # Perform arithmetic evaluation on the ARGs, and store the result in the
18198 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18199 # must be portable across $(()) and expr.
18200 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18201   eval 'as_fn_arith ()
18202   {
18203     as_val=$(( $* ))
18204   }'
18205 else
18206   as_fn_arith ()
18207   {
18208     as_val=`expr "$@" || test $? -eq 1`
18209   }
18210 fi # as_fn_arith
18211
18212
18213 if expr a : '\(a\)' >/dev/null 2>&1 &&
18214    test "X`expr 00001 : '.*\(...\)'`" = X001; then
18215   as_expr=expr
18216 else
18217   as_expr=false
18218 fi
18219
18220 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18221   as_basename=basename
18222 else
18223   as_basename=false
18224 fi
18225
18226 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18227   as_dirname=dirname
18228 else
18229   as_dirname=false
18230 fi
18231
18232 as_me=`$as_basename -- "$0" ||
18233 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18234          X"$0" : 'X\(//\)$' \| \
18235          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18236 $as_echo X/"$0" |
18237     sed '/^.*\/\([^/][^/]*\)\/*$/{
18238             s//\1/
18239             q
18240           }
18241           /^X\/\(\/\/\)$/{
18242             s//\1/
18243             q
18244           }
18245           /^X\/\(\/\).*/{
18246             s//\1/
18247             q
18248           }
18249           s/.*/./; q'`
18250
18251 # Avoid depending upon Character Ranges.
18252 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18253 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18254 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18255 as_cr_digits='0123456789'
18256 as_cr_alnum=$as_cr_Letters$as_cr_digits
18257
18258 ECHO_C= ECHO_N= ECHO_T=
18259 case `echo -n x` in #(((((
18260 -n*)
18261   case `echo 'xy\c'` in
18262   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
18263   xy)  ECHO_C='\c';;
18264   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
18265        ECHO_T=' ';;
18266   esac;;
18267 *)
18268   ECHO_N='-n';;
18269 esac
18270
18271 rm -f conf$$ conf$$.exe conf$$.file
18272 if test -d conf$$.dir; then
18273   rm -f conf$$.dir/conf$$.file
18274 else
18275   rm -f conf$$.dir
18276   mkdir conf$$.dir 2>/dev/null
18277 fi
18278 if (echo >conf$$.file) 2>/dev/null; then
18279   if ln -s conf$$.file conf$$ 2>/dev/null; then
18280     as_ln_s='ln -s'
18281     # ... but there are two gotchas:
18282     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18283     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18284     # In both cases, we have to default to `cp -p'.
18285     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18286       as_ln_s='cp -p'
18287   elif ln conf$$.file conf$$ 2>/dev/null; then
18288     as_ln_s=ln
18289   else
18290     as_ln_s='cp -p'
18291   fi
18292 else
18293   as_ln_s='cp -p'
18294 fi
18295 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18296 rmdir conf$$.dir 2>/dev/null
18297
18298
18299 # as_fn_mkdir_p
18300 # -------------
18301 # Create "$as_dir" as a directory, including parents if necessary.
18302 as_fn_mkdir_p ()
18303 {
18304
18305   case $as_dir in #(
18306   -*) as_dir=./$as_dir;;
18307   esac
18308   test -d "$as_dir" || eval $as_mkdir_p || {
18309     as_dirs=
18310     while :; do
18311       case $as_dir in #(
18312       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18313       *) as_qdir=$as_dir;;
18314       esac
18315       as_dirs="'$as_qdir' $as_dirs"
18316       as_dir=`$as_dirname -- "$as_dir" ||
18317 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18318          X"$as_dir" : 'X\(//\)[^/]' \| \
18319          X"$as_dir" : 'X\(//\)$' \| \
18320          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18321 $as_echo X"$as_dir" |
18322     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18323             s//\1/
18324             q
18325           }
18326           /^X\(\/\/\)[^/].*/{
18327             s//\1/
18328             q
18329           }
18330           /^X\(\/\/\)$/{
18331             s//\1/
18332             q
18333           }
18334           /^X\(\/\).*/{
18335             s//\1/
18336             q
18337           }
18338           s/.*/./; q'`
18339       test -d "$as_dir" && break
18340     done
18341     test -z "$as_dirs" || eval "mkdir $as_dirs"
18342   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18343
18344
18345 } # as_fn_mkdir_p
18346 if mkdir -p . 2>/dev/null; then
18347   as_mkdir_p='mkdir -p "$as_dir"'
18348 else
18349   test -d ./-p && rmdir ./-p
18350   as_mkdir_p=false
18351 fi
18352
18353 if test -x / >/dev/null 2>&1; then
18354   as_test_x='test -x'
18355 else
18356   if ls -dL / >/dev/null 2>&1; then
18357     as_ls_L_option=L
18358   else
18359     as_ls_L_option=
18360   fi
18361   as_test_x='
18362     eval sh -c '\''
18363       if test -d "$1"; then
18364         test -d "$1/.";
18365       else
18366         case $1 in #(
18367         -*)set "./$1";;
18368         esac;
18369         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
18370         ???[sx]*):;;*)false;;esac;fi
18371     '\'' sh
18372   '
18373 fi
18374 as_executable_p=$as_test_x
18375
18376 # Sed expression to map a string onto a valid CPP name.
18377 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18378
18379 # Sed expression to map a string onto a valid variable name.
18380 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18381
18382
18383 exec 6>&1
18384 ## ----------------------------------- ##
18385 ## Main body of $CONFIG_STATUS script. ##
18386 ## ----------------------------------- ##
18387 _ASEOF
18388 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18389
18390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18391 # Save the log message, to keep $0 and so on meaningful, and to
18392 # report actual input values of CONFIG_FILES etc. instead of their
18393 # values after options handling.
18394 ac_log="
18395 This file was extended by edje $as_me 1.7.7, which was
18396 generated by GNU Autoconf 2.68.  Invocation command line was
18397
18398   CONFIG_FILES    = $CONFIG_FILES
18399   CONFIG_HEADERS  = $CONFIG_HEADERS
18400   CONFIG_LINKS    = $CONFIG_LINKS
18401   CONFIG_COMMANDS = $CONFIG_COMMANDS
18402   $ $0 $@
18403
18404 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18405 "
18406
18407 _ACEOF
18408
18409 case $ac_config_files in *"
18410 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18411 esac
18412
18413 case $ac_config_headers in *"
18414 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18415 esac
18416
18417
18418 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18419 # Files that config.status was made for.
18420 config_files="$ac_config_files"
18421 config_headers="$ac_config_headers"
18422 config_commands="$ac_config_commands"
18423
18424 _ACEOF
18425
18426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18427 ac_cs_usage="\
18428 \`$as_me' instantiates files and other configuration actions
18429 from templates according to the current configuration.  Unless the files
18430 and actions are specified as TAGs, all are instantiated by default.
18431
18432 Usage: $0 [OPTION]... [TAG]...
18433
18434   -h, --help       print this help, then exit
18435   -V, --version    print version number and configuration settings, then exit
18436       --config     print configuration, then exit
18437   -q, --quiet, --silent
18438                    do not print progress messages
18439   -d, --debug      don't remove temporary files
18440       --recheck    update $as_me by reconfiguring in the same conditions
18441       --file=FILE[:TEMPLATE]
18442                    instantiate the configuration file FILE
18443       --header=FILE[:TEMPLATE]
18444                    instantiate the configuration header FILE
18445
18446 Configuration files:
18447 $config_files
18448
18449 Configuration headers:
18450 $config_headers
18451
18452 Configuration commands:
18453 $config_commands
18454
18455 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
18456
18457 _ACEOF
18458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18459 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18460 ac_cs_version="\\
18461 edje config.status 1.7.7
18462 configured by $0, generated by GNU Autoconf 2.68,
18463   with options \\"\$ac_cs_config\\"
18464
18465 Copyright (C) 2010 Free Software Foundation, Inc.
18466 This config.status script is free software; the Free Software Foundation
18467 gives unlimited permission to copy, distribute and modify it."
18468
18469 ac_pwd='$ac_pwd'
18470 srcdir='$srcdir'
18471 INSTALL='$INSTALL'
18472 MKDIR_P='$MKDIR_P'
18473 AWK='$AWK'
18474 test -n "\$AWK" || AWK=awk
18475 _ACEOF
18476
18477 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18478 # The default lists apply if the user does not specify any file.
18479 ac_need_defaults=:
18480 while test $# != 0
18481 do
18482   case $1 in
18483   --*=?*)
18484     ac_option=`expr "X$1" : 'X\([^=]*\)='`
18485     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18486     ac_shift=:
18487     ;;
18488   --*=)
18489     ac_option=`expr "X$1" : 'X\([^=]*\)='`
18490     ac_optarg=
18491     ac_shift=:
18492     ;;
18493   *)
18494     ac_option=$1
18495     ac_optarg=$2
18496     ac_shift=shift
18497     ;;
18498   esac
18499
18500   case $ac_option in
18501   # Handling of the options.
18502   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18503     ac_cs_recheck=: ;;
18504   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18505     $as_echo "$ac_cs_version"; exit ;;
18506   --config | --confi | --conf | --con | --co | --c )
18507     $as_echo "$ac_cs_config"; exit ;;
18508   --debug | --debu | --deb | --de | --d | -d )
18509     debug=: ;;
18510   --file | --fil | --fi | --f )
18511     $ac_shift
18512     case $ac_optarg in
18513     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18514     '') as_fn_error $? "missing file argument" ;;
18515     esac
18516     as_fn_append CONFIG_FILES " '$ac_optarg'"
18517     ac_need_defaults=false;;
18518   --header | --heade | --head | --hea )
18519     $ac_shift
18520     case $ac_optarg in
18521     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18522     esac
18523     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18524     ac_need_defaults=false;;
18525   --he | --h)
18526     # Conflict between --help and --header
18527     as_fn_error $? "ambiguous option: \`$1'
18528 Try \`$0 --help' for more information.";;
18529   --help | --hel | -h )
18530     $as_echo "$ac_cs_usage"; exit ;;
18531   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18532   | -silent | --silent | --silen | --sile | --sil | --si | --s)
18533     ac_cs_silent=: ;;
18534
18535   # This is an error.
18536   -*) as_fn_error $? "unrecognized option: \`$1'
18537 Try \`$0 --help' for more information." ;;
18538
18539   *) as_fn_append ac_config_targets " $1"
18540      ac_need_defaults=false ;;
18541
18542   esac
18543   shift
18544 done
18545
18546 ac_configure_extra_args=
18547
18548 if $ac_cs_silent; then
18549   exec 6>/dev/null
18550   ac_configure_extra_args="$ac_configure_extra_args --silent"
18551 fi
18552
18553 _ACEOF
18554 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18555 if \$ac_cs_recheck; then
18556   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18557   shift
18558   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18559   CONFIG_SHELL='$SHELL'
18560   export CONFIG_SHELL
18561   exec "\$@"
18562 fi
18563
18564 _ACEOF
18565 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18566 exec 5>>config.log
18567 {
18568   echo
18569   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18570 ## Running $as_me. ##
18571 _ASBOX
18572   $as_echo "$ac_log"
18573 } >&5
18574
18575 _ACEOF
18576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18577 #
18578 # INIT-COMMANDS
18579 #
18580 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18581
18582
18583 # The HP-UX ksh and POSIX shell print the target directory to stdout
18584 # if CDPATH is set.
18585 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18586
18587 sed_quote_subst='$sed_quote_subst'
18588 double_quote_subst='$double_quote_subst'
18589 delay_variable_subst='$delay_variable_subst'
18590 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
18591 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18592 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18593 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18594 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18595 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18596 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18597 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18598 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18599 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18600 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18601 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18602 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18603 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18604 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18605 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18606 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18607 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18608 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18609 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18610 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18611 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18612 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18613 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18614 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18615 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18616 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18617 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18618 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18619 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18620 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18621 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18622 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18623 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18624 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18625 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18626 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18627 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18628 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18629 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18630 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18631 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18632 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18633 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18634 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18635 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18636 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18637 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18638 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18639 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18640 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18641 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18642 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18643 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18644 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18645 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18646 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18647 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"`'
18648 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18649 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18650 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18651 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18652 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18653 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18654 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18655 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18656 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18657 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18658 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18659 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18660 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18661 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18662 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18663 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18664 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18665 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18666 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18667 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18668 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18669 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18670 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18671 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18672 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18673 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18674 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18675 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18676 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18677 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18678 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18679 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18680 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18681 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18682 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18683 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18684 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18685 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18686 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18687 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18688 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18689 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18690 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18691 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18692 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18693 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18694 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18695 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18696 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18697 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18698 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18699 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18700 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18701 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18702 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18703 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18704 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18705 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18706 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18707 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18708 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18709 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18710 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18711 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18712 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18713 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18714 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18715 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18716 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18717 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18718 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18719 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18720 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18721
18722 LTCC='$LTCC'
18723 LTCFLAGS='$LTCFLAGS'
18724 compiler='$compiler_DEFAULT'
18725
18726 # A function that is used when there is no print builtin or printf.
18727 func_fallback_echo ()
18728 {
18729   eval 'cat <<_LTECHO_EOF
18730 \$1
18731 _LTECHO_EOF'
18732 }
18733
18734 # Quote evaled strings.
18735 for var in AS \
18736 DLLTOOL \
18737 OBJDUMP \
18738 SHELL \
18739 ECHO \
18740 PATH_SEPARATOR \
18741 SED \
18742 GREP \
18743 EGREP \
18744 FGREP \
18745 LD \
18746 NM \
18747 LN_S \
18748 lt_SP2NL \
18749 lt_NL2SP \
18750 reload_flag \
18751 deplibs_check_method \
18752 file_magic_cmd \
18753 file_magic_glob \
18754 want_nocaseglob \
18755 sharedlib_from_linklib_cmd \
18756 AR \
18757 AR_FLAGS \
18758 archiver_list_spec \
18759 STRIP \
18760 RANLIB \
18761 CC \
18762 CFLAGS \
18763 compiler \
18764 lt_cv_sys_global_symbol_pipe \
18765 lt_cv_sys_global_symbol_to_cdecl \
18766 lt_cv_sys_global_symbol_to_c_name_address \
18767 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18768 nm_file_list_spec \
18769 lt_prog_compiler_no_builtin_flag \
18770 lt_prog_compiler_pic \
18771 lt_prog_compiler_wl \
18772 lt_prog_compiler_static \
18773 lt_cv_prog_compiler_c_o \
18774 need_locks \
18775 MANIFEST_TOOL \
18776 DSYMUTIL \
18777 NMEDIT \
18778 LIPO \
18779 OTOOL \
18780 OTOOL64 \
18781 shrext_cmds \
18782 export_dynamic_flag_spec \
18783 whole_archive_flag_spec \
18784 compiler_needs_object \
18785 with_gnu_ld \
18786 allow_undefined_flag \
18787 no_undefined_flag \
18788 hardcode_libdir_flag_spec \
18789 hardcode_libdir_separator \
18790 exclude_expsyms \
18791 include_expsyms \
18792 file_list_spec \
18793 variables_saved_for_relink \
18794 libname_spec \
18795 library_names_spec \
18796 soname_spec \
18797 install_override_mode \
18798 finish_eval \
18799 old_striplib \
18800 striplib; do
18801     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18802     *[\\\\\\\`\\"\\\$]*)
18803       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18804       ;;
18805     *)
18806       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18807       ;;
18808     esac
18809 done
18810
18811 # Double-quote double-evaled strings.
18812 for var in reload_cmds \
18813 old_postinstall_cmds \
18814 old_postuninstall_cmds \
18815 old_archive_cmds \
18816 extract_expsyms_cmds \
18817 old_archive_from_new_cmds \
18818 old_archive_from_expsyms_cmds \
18819 archive_cmds \
18820 archive_expsym_cmds \
18821 module_cmds \
18822 module_expsym_cmds \
18823 export_symbols_cmds \
18824 prelink_cmds \
18825 postlink_cmds \
18826 postinstall_cmds \
18827 postuninstall_cmds \
18828 finish_cmds \
18829 sys_lib_search_path_spec \
18830 sys_lib_dlsearch_path_spec; do
18831     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18832     *[\\\\\\\`\\"\\\$]*)
18833       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18834       ;;
18835     *)
18836       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18837       ;;
18838     esac
18839 done
18840
18841 ac_aux_dir='$ac_aux_dir'
18842 xsi_shell='$xsi_shell'
18843 lt_shell_append='$lt_shell_append'
18844
18845 # See if we are running on zsh, and set the options which allow our
18846 # commands through without removal of \ escapes INIT.
18847 if test -n "\${ZSH_VERSION+set}" ; then
18848    setopt NO_GLOB_SUBST
18849 fi
18850
18851
18852     PACKAGE='$PACKAGE'
18853     VERSION='$VERSION'
18854     TIMESTAMP='$TIMESTAMP'
18855     RM='$RM'
18856     ofile='$ofile'
18857
18858
18859
18860
18861 _ACEOF
18862
18863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18864
18865 # Handling of arguments.
18866 for ac_config_target in $ac_config_targets
18867 do
18868   case $ac_config_target in
18869     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18870     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18871     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18872     "edje.pc") CONFIG_FILES="$CONFIG_FILES edje.pc" ;;
18873     "edje.spec") CONFIG_FILES="$CONFIG_FILES edje.spec" ;;
18874     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18875     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
18876     "data/include/Makefile") CONFIG_FILES="$CONFIG_FILES data/include/Makefile" ;;
18877     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
18878     "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
18879     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
18880     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
18881     "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
18882     "src/bin/epp/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/epp/Makefile" ;;
18883     "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
18884     "src/modules/alsa_snd_player/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/alsa_snd_player/Makefile" ;;
18885     "src/modules/eet_snd_reader/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/eet_snd_reader/Makefile" ;;
18886     "src/modules/multisense_factory/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/multisense_factory/Makefile" ;;
18887     "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
18888     "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
18889     "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
18890
18891   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18892   esac
18893 done
18894
18895
18896 # If the user did not use the arguments to specify the items to instantiate,
18897 # then the envvar interface is used.  Set only those that are not.
18898 # We use the long form for the default assignment because of an extremely
18899 # bizarre bug on SunOS 4.1.3.
18900 if $ac_need_defaults; then
18901   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18902   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18903   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18904 fi
18905
18906 # Have a temporary directory for convenience.  Make it in the build tree
18907 # simply because there is no reason against having it here, and in addition,
18908 # creating and moving files from /tmp can sometimes cause problems.
18909 # Hook for its removal unless debugging.
18910 # Note that there is a small window in which the directory will not be cleaned:
18911 # after its creation but before its name has been assigned to `$tmp'.
18912 $debug ||
18913 {
18914   tmp= ac_tmp=
18915   trap 'exit_status=$?
18916   : "${ac_tmp:=$tmp}"
18917   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18918 ' 0
18919   trap 'as_fn_exit 1' 1 2 13 15
18920 }
18921 # Create a (secure) tmp directory for tmp files.
18922
18923 {
18924   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18925   test -d "$tmp"
18926 }  ||
18927 {
18928   tmp=./conf$$-$RANDOM
18929   (umask 077 && mkdir "$tmp")
18930 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18931 ac_tmp=$tmp
18932
18933 # Set up the scripts for CONFIG_FILES section.
18934 # No need to generate them if there are no CONFIG_FILES.
18935 # This happens for instance with `./config.status config.h'.
18936 if test -n "$CONFIG_FILES"; then
18937
18938
18939 ac_cr=`echo X | tr X '\015'`
18940 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18941 # But we know of no other shell where ac_cr would be empty at this
18942 # point, so we can use a bashism as a fallback.
18943 if test "x$ac_cr" = x; then
18944   eval ac_cr=\$\'\\r\'
18945 fi
18946 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18947 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18948   ac_cs_awk_cr='\\r'
18949 else
18950   ac_cs_awk_cr=$ac_cr
18951 fi
18952
18953 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18954 _ACEOF
18955
18956
18957 {
18958   echo "cat >conf$$subs.awk <<_ACEOF" &&
18959   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18960   echo "_ACEOF"
18961 } >conf$$subs.sh ||
18962   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18963 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18964 ac_delim='%!_!# '
18965 for ac_last_try in false false false false false :; do
18966   . ./conf$$subs.sh ||
18967     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18968
18969   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18970   if test $ac_delim_n = $ac_delim_num; then
18971     break
18972   elif $ac_last_try; then
18973     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18974   else
18975     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18976   fi
18977 done
18978 rm -f conf$$subs.sh
18979
18980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18981 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18982 _ACEOF
18983 sed -n '
18984 h
18985 s/^/S["/; s/!.*/"]=/
18986 p
18987 g
18988 s/^[^!]*!//
18989 :repl
18990 t repl
18991 s/'"$ac_delim"'$//
18992 t delim
18993 :nl
18994 h
18995 s/\(.\{148\}\)..*/\1/
18996 t more1
18997 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18998 p
18999 n
19000 b repl
19001 :more1
19002 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19003 p
19004 g
19005 s/.\{148\}//
19006 t nl
19007 :delim
19008 h
19009 s/\(.\{148\}\)..*/\1/
19010 t more2
19011 s/["\\]/\\&/g; s/^/"/; s/$/"/
19012 p
19013 b
19014 :more2
19015 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19016 p
19017 g
19018 s/.\{148\}//
19019 t delim
19020 ' <conf$$subs.awk | sed '
19021 /^[^""]/{
19022   N
19023   s/\n//
19024 }
19025 ' >>$CONFIG_STATUS || ac_write_fail=1
19026 rm -f conf$$subs.awk
19027 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19028 _ACAWK
19029 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19030   for (key in S) S_is_set[key] = 1
19031   FS = "\a"
19032
19033 }
19034 {
19035   line = $ 0
19036   nfields = split(line, field, "@")
19037   substed = 0
19038   len = length(field[1])
19039   for (i = 2; i < nfields; i++) {
19040     key = field[i]
19041     keylen = length(key)
19042     if (S_is_set[key]) {
19043       value = S[key]
19044       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19045       len += length(value) + length(field[++i])
19046       substed = 1
19047     } else
19048       len += 1 + keylen
19049   }
19050
19051   print line
19052 }
19053
19054 _ACAWK
19055 _ACEOF
19056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19057 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19058   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19059 else
19060   cat
19061 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19062   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19063 _ACEOF
19064
19065 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19066 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19067 # trailing colons and then remove the whole line if VPATH becomes empty
19068 # (actually we leave an empty line to preserve line numbers).
19069 if test "x$srcdir" = x.; then
19070   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
19071 h
19072 s///
19073 s/^/:/
19074 s/[      ]*$/:/
19075 s/:\$(srcdir):/:/g
19076 s/:\${srcdir}:/:/g
19077 s/:@srcdir@:/:/g
19078 s/^:*//
19079 s/:*$//
19080 x
19081 s/\(=[   ]*\).*/\1/
19082 G
19083 s/\n//
19084 s/^[^=]*=[       ]*$//
19085 }'
19086 fi
19087
19088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19089 fi # test -n "$CONFIG_FILES"
19090
19091 # Set up the scripts for CONFIG_HEADERS section.
19092 # No need to generate them if there are no CONFIG_HEADERS.
19093 # This happens for instance with `./config.status Makefile'.
19094 if test -n "$CONFIG_HEADERS"; then
19095 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19096 BEGIN {
19097 _ACEOF
19098
19099 # Transform confdefs.h into an awk script `defines.awk', embedded as
19100 # here-document in config.status, that substitutes the proper values into
19101 # config.h.in to produce config.h.
19102
19103 # Create a delimiter string that does not exist in confdefs.h, to ease
19104 # handling of long lines.
19105 ac_delim='%!_!# '
19106 for ac_last_try in false false :; do
19107   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19108   if test -z "$ac_tt"; then
19109     break
19110   elif $ac_last_try; then
19111     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19112   else
19113     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19114   fi
19115 done
19116
19117 # For the awk script, D is an array of macro values keyed by name,
19118 # likewise P contains macro parameters if any.  Preserve backslash
19119 # newline sequences.
19120
19121 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19122 sed -n '
19123 s/.\{148\}/&'"$ac_delim"'/g
19124 t rset
19125 :rset
19126 s/^[     ]*#[    ]*define[       ][      ]*/ /
19127 t def
19128 d
19129 :def
19130 s/\\$//
19131 t bsnl
19132 s/["\\]/\\&/g
19133 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
19134 D["\1"]=" \3"/p
19135 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
19136 d
19137 :bsnl
19138 s/["\\]/\\&/g
19139 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
19140 D["\1"]=" \3\\\\\\n"\\/p
19141 t cont
19142 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19143 t cont
19144 d
19145 :cont
19146 n
19147 s/.\{148\}/&'"$ac_delim"'/g
19148 t clear
19149 :clear
19150 s/\\$//
19151 t bsnlc
19152 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19153 d
19154 :bsnlc
19155 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19156 b cont
19157 ' <confdefs.h | sed '
19158 s/'"$ac_delim"'/"\\\
19159 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19160
19161 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19162   for (key in D) D_is_set[key] = 1
19163   FS = "\a"
19164 }
19165 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19166   line = \$ 0
19167   split(line, arg, " ")
19168   if (arg[1] == "#") {
19169     defundef = arg[2]
19170     mac1 = arg[3]
19171   } else {
19172     defundef = substr(arg[1], 2)
19173     mac1 = arg[2]
19174   }
19175   split(mac1, mac2, "(") #)
19176   macro = mac2[1]
19177   prefix = substr(line, 1, index(line, defundef) - 1)
19178   if (D_is_set[macro]) {
19179     # Preserve the white space surrounding the "#".
19180     print prefix "define", macro P[macro] D[macro]
19181     next
19182   } else {
19183     # Replace #undef with comments.  This is necessary, for example,
19184     # in the case of _POSIX_SOURCE, which is predefined and required
19185     # on some systems where configure will not decide to define it.
19186     if (defundef == "undef") {
19187       print "/*", prefix defundef, macro, "*/"
19188       next
19189     }
19190   }
19191 }
19192 { print }
19193 _ACAWK
19194 _ACEOF
19195 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19196   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19197 fi # test -n "$CONFIG_HEADERS"
19198
19199
19200 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
19201 shift
19202 for ac_tag
19203 do
19204   case $ac_tag in
19205   :[FHLC]) ac_mode=$ac_tag; continue;;
19206   esac
19207   case $ac_mode$ac_tag in
19208   :[FHL]*:*);;
19209   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19210   :[FH]-) ac_tag=-:-;;
19211   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19212   esac
19213   ac_save_IFS=$IFS
19214   IFS=:
19215   set x $ac_tag
19216   IFS=$ac_save_IFS
19217   shift
19218   ac_file=$1
19219   shift
19220
19221   case $ac_mode in
19222   :L) ac_source=$1;;
19223   :[FH])
19224     ac_file_inputs=
19225     for ac_f
19226     do
19227       case $ac_f in
19228       -) ac_f="$ac_tmp/stdin";;
19229       *) # Look for the file first in the build tree, then in the source tree
19230          # (if the path is not absolute).  The absolute path cannot be DOS-style,
19231          # because $ac_f cannot contain `:'.
19232          test -f "$ac_f" ||
19233            case $ac_f in
19234            [\\/$]*) false;;
19235            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19236            esac ||
19237            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19238       esac
19239       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19240       as_fn_append ac_file_inputs " '$ac_f'"
19241     done
19242
19243     # Let's still pretend it is `configure' which instantiates (i.e., don't
19244     # use $as_me), people would be surprised to read:
19245     #    /* config.h.  Generated by config.status.  */
19246     configure_input='Generated from '`
19247           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19248         `' by configure.'
19249     if test x"$ac_file" != x-; then
19250       configure_input="$ac_file.  $configure_input"
19251       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19252 $as_echo "$as_me: creating $ac_file" >&6;}
19253     fi
19254     # Neutralize special characters interpreted by sed in replacement strings.
19255     case $configure_input in #(
19256     *\&* | *\|* | *\\* )
19257        ac_sed_conf_input=`$as_echo "$configure_input" |
19258        sed 's/[\\\\&|]/\\\\&/g'`;; #(
19259     *) ac_sed_conf_input=$configure_input;;
19260     esac
19261
19262     case $ac_tag in
19263     *:-:* | *:-) cat >"$ac_tmp/stdin" \
19264       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19265     esac
19266     ;;
19267   esac
19268
19269   ac_dir=`$as_dirname -- "$ac_file" ||
19270 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19271          X"$ac_file" : 'X\(//\)[^/]' \| \
19272          X"$ac_file" : 'X\(//\)$' \| \
19273          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19274 $as_echo X"$ac_file" |
19275     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19276             s//\1/
19277             q
19278           }
19279           /^X\(\/\/\)[^/].*/{
19280             s//\1/
19281             q
19282           }
19283           /^X\(\/\/\)$/{
19284             s//\1/
19285             q
19286           }
19287           /^X\(\/\).*/{
19288             s//\1/
19289             q
19290           }
19291           s/.*/./; q'`
19292   as_dir="$ac_dir"; as_fn_mkdir_p
19293   ac_builddir=.
19294
19295 case "$ac_dir" in
19296 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19297 *)
19298   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19299   # A ".." for each directory in $ac_dir_suffix.
19300   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19301   case $ac_top_builddir_sub in
19302   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19303   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19304   esac ;;
19305 esac
19306 ac_abs_top_builddir=$ac_pwd
19307 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19308 # for backward compatibility:
19309 ac_top_builddir=$ac_top_build_prefix
19310
19311 case $srcdir in
19312   .)  # We are building in place.
19313     ac_srcdir=.
19314     ac_top_srcdir=$ac_top_builddir_sub
19315     ac_abs_top_srcdir=$ac_pwd ;;
19316   [\\/]* | ?:[\\/]* )  # Absolute name.
19317     ac_srcdir=$srcdir$ac_dir_suffix;
19318     ac_top_srcdir=$srcdir
19319     ac_abs_top_srcdir=$srcdir ;;
19320   *) # Relative name.
19321     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19322     ac_top_srcdir=$ac_top_build_prefix$srcdir
19323     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19324 esac
19325 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19326
19327
19328   case $ac_mode in
19329   :F)
19330   #
19331   # CONFIG_FILE
19332   #
19333
19334   case $INSTALL in
19335   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19336   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19337   esac
19338   ac_MKDIR_P=$MKDIR_P
19339   case $MKDIR_P in
19340   [\\/$]* | ?:[\\/]* ) ;;
19341   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19342   esac
19343 _ACEOF
19344
19345 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19346 # If the template does not know about datarootdir, expand it.
19347 # FIXME: This hack should be removed a few years after 2.60.
19348 ac_datarootdir_hack=; ac_datarootdir_seen=
19349 ac_sed_dataroot='
19350 /datarootdir/ {
19351   p
19352   q
19353 }
19354 /@datadir@/p
19355 /@docdir@/p
19356 /@infodir@/p
19357 /@localedir@/p
19358 /@mandir@/p'
19359 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19360 *datarootdir*) ac_datarootdir_seen=yes;;
19361 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19362   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19363 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19364 _ACEOF
19365 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19366   ac_datarootdir_hack='
19367   s&@datadir@&$datadir&g
19368   s&@docdir@&$docdir&g
19369   s&@infodir@&$infodir&g
19370   s&@localedir@&$localedir&g
19371   s&@mandir@&$mandir&g
19372   s&\\\${datarootdir}&$datarootdir&g' ;;
19373 esac
19374 _ACEOF
19375
19376 # Neutralize VPATH when `$srcdir' = `.'.
19377 # Shell code in configure.ac might set extrasub.
19378 # FIXME: do we really want to maintain this feature?
19379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19380 ac_sed_extra="$ac_vpsub
19381 $extrasub
19382 _ACEOF
19383 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19384 :t
19385 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19386 s|@configure_input@|$ac_sed_conf_input|;t t
19387 s&@top_builddir@&$ac_top_builddir_sub&;t t
19388 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19389 s&@srcdir@&$ac_srcdir&;t t
19390 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19391 s&@top_srcdir@&$ac_top_srcdir&;t t
19392 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19393 s&@builddir@&$ac_builddir&;t t
19394 s&@abs_builddir@&$ac_abs_builddir&;t t
19395 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19396 s&@INSTALL@&$ac_INSTALL&;t t
19397 s&@MKDIR_P@&$ac_MKDIR_P&;t t
19398 $ac_datarootdir_hack
19399 "
19400 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19401   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19402
19403 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19404   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19405   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
19406       "$ac_tmp/out"`; test -z "$ac_out"; } &&
19407   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19408 which seems to be undefined.  Please make sure it is defined" >&5
19409 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19410 which seems to be undefined.  Please make sure it is defined" >&2;}
19411
19412   rm -f "$ac_tmp/stdin"
19413   case $ac_file in
19414   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19415   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19416   esac \
19417   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19418  ;;
19419   :H)
19420   #
19421   # CONFIG_HEADER
19422   #
19423   if test x"$ac_file" != x-; then
19424     {
19425       $as_echo "/* $configure_input  */" \
19426       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19427     } >"$ac_tmp/config.h" \
19428       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19429     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19430       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19431 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19432     else
19433       rm -f "$ac_file"
19434       mv "$ac_tmp/config.h" "$ac_file" \
19435         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19436     fi
19437   else
19438     $as_echo "/* $configure_input  */" \
19439       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19440       || as_fn_error $? "could not create -" "$LINENO" 5
19441   fi
19442 # Compute "$ac_file"'s index in $config_headers.
19443 _am_arg="$ac_file"
19444 _am_stamp_count=1
19445 for _am_header in $config_headers :; do
19446   case $_am_header in
19447     $_am_arg | $_am_arg:* )
19448       break ;;
19449     * )
19450       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19451   esac
19452 done
19453 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19454 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19455          X"$_am_arg" : 'X\(//\)[^/]' \| \
19456          X"$_am_arg" : 'X\(//\)$' \| \
19457          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19458 $as_echo X"$_am_arg" |
19459     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19460             s//\1/
19461             q
19462           }
19463           /^X\(\/\/\)[^/].*/{
19464             s//\1/
19465             q
19466           }
19467           /^X\(\/\/\)$/{
19468             s//\1/
19469             q
19470           }
19471           /^X\(\/\).*/{
19472             s//\1/
19473             q
19474           }
19475           s/.*/./; q'`/stamp-h$_am_stamp_count
19476  ;;
19477
19478   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19479 $as_echo "$as_me: executing $ac_file commands" >&6;}
19480  ;;
19481   esac
19482
19483
19484   case $ac_file$ac_mode in
19485     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19486   # Autoconf 2.62 quotes --file arguments for eval, but not when files
19487   # are listed without --file.  Let's play safe and only enable the eval
19488   # if we detect the quoting.
19489   case $CONFIG_FILES in
19490   *\'*) eval set x "$CONFIG_FILES" ;;
19491   *)   set x $CONFIG_FILES ;;
19492   esac
19493   shift
19494   for mf
19495   do
19496     # Strip MF so we end up with the name of the file.
19497     mf=`echo "$mf" | sed -e 's/:.*$//'`
19498     # Check whether this is an Automake generated Makefile or not.
19499     # We used to match only the files named `Makefile.in', but
19500     # some people rename them; so instead we look at the file content.
19501     # Grep'ing the first line is not enough: some people post-process
19502     # each Makefile.in and add a new line on top of each file to say so.
19503     # Grep'ing the whole file is not good either: AIX grep has a line
19504     # limit of 2048, but all sed's we know have understand at least 4000.
19505     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
19506       dirpart=`$as_dirname -- "$mf" ||
19507 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19508          X"$mf" : 'X\(//\)[^/]' \| \
19509          X"$mf" : 'X\(//\)$' \| \
19510          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19511 $as_echo X"$mf" |
19512     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19513             s//\1/
19514             q
19515           }
19516           /^X\(\/\/\)[^/].*/{
19517             s//\1/
19518             q
19519           }
19520           /^X\(\/\/\)$/{
19521             s//\1/
19522             q
19523           }
19524           /^X\(\/\).*/{
19525             s//\1/
19526             q
19527           }
19528           s/.*/./; q'`
19529     else
19530       continue
19531     fi
19532     # Extract the definition of DEPDIR, am__include, and am__quote
19533     # from the Makefile without running `make'.
19534     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19535     test -z "$DEPDIR" && continue
19536     am__include=`sed -n 's/^am__include = //p' < "$mf"`
19537     test -z "am__include" && continue
19538     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19539     # When using ansi2knr, U may be empty or an underscore; expand it
19540     U=`sed -n 's/^U = //p' < "$mf"`
19541     # Find all dependency output files, they are included files with
19542     # $(DEPDIR) in their names.  We invoke sed twice because it is the
19543     # simplest approach to changing $(DEPDIR) to its actual value in the
19544     # expansion.
19545     for file in `sed -n "
19546       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19547          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19548       # Make sure the directory exists.
19549       test -f "$dirpart/$file" && continue
19550       fdir=`$as_dirname -- "$file" ||
19551 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19552          X"$file" : 'X\(//\)[^/]' \| \
19553          X"$file" : 'X\(//\)$' \| \
19554          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19555 $as_echo X"$file" |
19556     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19557             s//\1/
19558             q
19559           }
19560           /^X\(\/\/\)[^/].*/{
19561             s//\1/
19562             q
19563           }
19564           /^X\(\/\/\)$/{
19565             s//\1/
19566             q
19567           }
19568           /^X\(\/\).*/{
19569             s//\1/
19570             q
19571           }
19572           s/.*/./; q'`
19573       as_dir=$dirpart/$fdir; as_fn_mkdir_p
19574       # echo "creating $dirpart/$file"
19575       echo '# dummy' > "$dirpart/$file"
19576     done
19577   done
19578 }
19579  ;;
19580     "libtool":C)
19581
19582     # See if we are running on zsh, and set the options which allow our
19583     # commands through without removal of \ escapes.
19584     if test -n "${ZSH_VERSION+set}" ; then
19585       setopt NO_GLOB_SUBST
19586     fi
19587
19588     cfgfile="${ofile}T"
19589     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19590     $RM "$cfgfile"
19591
19592     cat <<_LT_EOF >> "$cfgfile"
19593 #! $SHELL
19594
19595 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19596 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19597 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19598 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19599 #
19600 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19601 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
19602 #                 Foundation, Inc.
19603 #   Written by Gordon Matzigkeit, 1996
19604 #
19605 #   This file is part of GNU Libtool.
19606 #
19607 # GNU Libtool is free software; you can redistribute it and/or
19608 # modify it under the terms of the GNU General Public License as
19609 # published by the Free Software Foundation; either version 2 of
19610 # the License, or (at your option) any later version.
19611 #
19612 # As a special exception to the GNU General Public License,
19613 # if you distribute this file as part of a program or library that
19614 # is built using GNU Libtool, you may include this file under the
19615 # same distribution terms that you use for the rest of that program.
19616 #
19617 # GNU Libtool is distributed in the hope that it will be useful,
19618 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19619 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19620 # GNU General Public License for more details.
19621 #
19622 # You should have received a copy of the GNU General Public License
19623 # along with GNU Libtool; see the file COPYING.  If not, a copy
19624 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19625 # obtained by writing to the Free Software Foundation, Inc.,
19626 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19627
19628
19629 # The names of the tagged configurations supported by this script.
19630 available_tags=""
19631
19632 # ### BEGIN LIBTOOL CONFIG
19633
19634 # Assembler program.
19635 AS=$lt_AS
19636
19637 # DLL creation program.
19638 DLLTOOL=$lt_DLLTOOL
19639
19640 # Object dumper program.
19641 OBJDUMP=$lt_OBJDUMP
19642
19643 # Which release of libtool.m4 was used?
19644 macro_version=$macro_version
19645 macro_revision=$macro_revision
19646
19647 # Whether or not to build shared libraries.
19648 build_libtool_libs=$enable_shared
19649
19650 # Whether or not to build static libraries.
19651 build_old_libs=$enable_static
19652
19653 # What type of objects to build.
19654 pic_mode=$pic_mode
19655
19656 # Whether or not to optimize for fast installation.
19657 fast_install=$enable_fast_install
19658
19659 # Shell to use when invoking shell scripts.
19660 SHELL=$lt_SHELL
19661
19662 # An echo program that protects backslashes.
19663 ECHO=$lt_ECHO
19664
19665 # The PATH separator for the build system.
19666 PATH_SEPARATOR=$lt_PATH_SEPARATOR
19667
19668 # The host system.
19669 host_alias=$host_alias
19670 host=$host
19671 host_os=$host_os
19672
19673 # The build system.
19674 build_alias=$build_alias
19675 build=$build
19676 build_os=$build_os
19677
19678 # A sed program that does not truncate output.
19679 SED=$lt_SED
19680
19681 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19682 Xsed="\$SED -e 1s/^X//"
19683
19684 # A grep program that handles long lines.
19685 GREP=$lt_GREP
19686
19687 # An ERE matcher.
19688 EGREP=$lt_EGREP
19689
19690 # A literal string matcher.
19691 FGREP=$lt_FGREP
19692
19693 # A BSD- or MS-compatible name lister.
19694 NM=$lt_NM
19695
19696 # Whether we need soft or hard links.
19697 LN_S=$lt_LN_S
19698
19699 # What is the maximum length of a command?
19700 max_cmd_len=$max_cmd_len
19701
19702 # Object file suffix (normally "o").
19703 objext=$ac_objext
19704
19705 # Executable file suffix (normally "").
19706 exeext=$exeext
19707
19708 # whether the shell understands "unset".
19709 lt_unset=$lt_unset
19710
19711 # turn spaces into newlines.
19712 SP2NL=$lt_lt_SP2NL
19713
19714 # turn newlines into spaces.
19715 NL2SP=$lt_lt_NL2SP
19716
19717 # convert \$build file names to \$host format.
19718 to_host_file_cmd=$lt_cv_to_host_file_cmd
19719
19720 # convert \$build files to toolchain format.
19721 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19722
19723 # Method to check whether dependent libraries are shared objects.
19724 deplibs_check_method=$lt_deplibs_check_method
19725
19726 # Command to use when deplibs_check_method = "file_magic".
19727 file_magic_cmd=$lt_file_magic_cmd
19728
19729 # How to find potential files when deplibs_check_method = "file_magic".
19730 file_magic_glob=$lt_file_magic_glob
19731
19732 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19733 want_nocaseglob=$lt_want_nocaseglob
19734
19735 # Command to associate shared and link libraries.
19736 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19737
19738 # The archiver.
19739 AR=$lt_AR
19740
19741 # Flags to create an archive.
19742 AR_FLAGS=$lt_AR_FLAGS
19743
19744 # How to feed a file listing to the archiver.
19745 archiver_list_spec=$lt_archiver_list_spec
19746
19747 # A symbol stripping program.
19748 STRIP=$lt_STRIP
19749
19750 # Commands used to install an old-style archive.
19751 RANLIB=$lt_RANLIB
19752 old_postinstall_cmds=$lt_old_postinstall_cmds
19753 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19754
19755 # Whether to use a lock for old archive extraction.
19756 lock_old_archive_extraction=$lock_old_archive_extraction
19757
19758 # A C compiler.
19759 LTCC=$lt_CC
19760
19761 # LTCC compiler flags.
19762 LTCFLAGS=$lt_CFLAGS
19763
19764 # Take the output of nm and produce a listing of raw symbols and C names.
19765 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19766
19767 # Transform the output of nm in a proper C declaration.
19768 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19769
19770 # Transform the output of nm in a C name address pair.
19771 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19772
19773 # Transform the output of nm in a C name address pair when lib prefix is needed.
19774 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19775
19776 # Specify filename containing input files for \$NM.
19777 nm_file_list_spec=$lt_nm_file_list_spec
19778
19779 # The root where to search for dependent libraries,and in which our libraries should be installed.
19780 lt_sysroot=$lt_sysroot
19781
19782 # The name of the directory that contains temporary libtool files.
19783 objdir=$objdir
19784
19785 # Used to examine libraries when file_magic_cmd begins with "file".
19786 MAGIC_CMD=$MAGIC_CMD
19787
19788 # Must we lock files when doing compilation?
19789 need_locks=$lt_need_locks
19790
19791 # Manifest tool.
19792 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19793
19794 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19795 DSYMUTIL=$lt_DSYMUTIL
19796
19797 # Tool to change global to local symbols on Mac OS X.
19798 NMEDIT=$lt_NMEDIT
19799
19800 # Tool to manipulate fat objects and archives on Mac OS X.
19801 LIPO=$lt_LIPO
19802
19803 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19804 OTOOL=$lt_OTOOL
19805
19806 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19807 OTOOL64=$lt_OTOOL64
19808
19809 # Old archive suffix (normally "a").
19810 libext=$libext
19811
19812 # Shared library suffix (normally ".so").
19813 shrext_cmds=$lt_shrext_cmds
19814
19815 # The commands to extract the exported symbol list from a shared archive.
19816 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19817
19818 # Variables whose values should be saved in libtool wrapper scripts and
19819 # restored at link time.
19820 variables_saved_for_relink=$lt_variables_saved_for_relink
19821
19822 # Do we need the "lib" prefix for modules?
19823 need_lib_prefix=$need_lib_prefix
19824
19825 # Do we need a version for libraries?
19826 need_version=$need_version
19827
19828 # Library versioning type.
19829 version_type=$version_type
19830
19831 # Shared library runtime path variable.
19832 runpath_var=$runpath_var
19833
19834 # Shared library path variable.
19835 shlibpath_var=$shlibpath_var
19836
19837 # Is shlibpath searched before the hard-coded library search path?
19838 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19839
19840 # Format of library name prefix.
19841 libname_spec=$lt_libname_spec
19842
19843 # List of archive names.  First name is the real one, the rest are links.
19844 # The last name is the one that the linker finds with -lNAME
19845 library_names_spec=$lt_library_names_spec
19846
19847 # The coded name of the library, if different from the real name.
19848 soname_spec=$lt_soname_spec
19849
19850 # Permission mode override for installation of shared libraries.
19851 install_override_mode=$lt_install_override_mode
19852
19853 # Command to use after installation of a shared archive.
19854 postinstall_cmds=$lt_postinstall_cmds
19855
19856 # Command to use after uninstallation of a shared archive.
19857 postuninstall_cmds=$lt_postuninstall_cmds
19858
19859 # Commands used to finish a libtool library installation in a directory.
19860 finish_cmds=$lt_finish_cmds
19861
19862 # As "finish_cmds", except a single script fragment to be evaled but
19863 # not shown.
19864 finish_eval=$lt_finish_eval
19865
19866 # Whether we should hardcode library paths into libraries.
19867 hardcode_into_libs=$hardcode_into_libs
19868
19869 # Compile-time system search path for libraries.
19870 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19871
19872 # Run-time system search path for libraries.
19873 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19874
19875 # Whether dlopen is supported.
19876 dlopen_support=$enable_dlopen
19877
19878 # Whether dlopen of programs is supported.
19879 dlopen_self=$enable_dlopen_self
19880
19881 # Whether dlopen of statically linked programs is supported.
19882 dlopen_self_static=$enable_dlopen_self_static
19883
19884 # Commands to strip libraries.
19885 old_striplib=$lt_old_striplib
19886 striplib=$lt_striplib
19887
19888
19889 # The linker used to build libraries.
19890 LD=$lt_LD
19891
19892 # How to create reloadable object files.
19893 reload_flag=$lt_reload_flag
19894 reload_cmds=$lt_reload_cmds
19895
19896 # Commands used to build an old-style archive.
19897 old_archive_cmds=$lt_old_archive_cmds
19898
19899 # A language specific compiler.
19900 CC=$lt_compiler
19901
19902 # Is the compiler the GNU compiler?
19903 with_gcc=$GCC
19904
19905 # Compiler flag to turn off builtin functions.
19906 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19907
19908 # Additional compiler flags for building library objects.
19909 pic_flag=$lt_lt_prog_compiler_pic
19910
19911 # How to pass a linker flag through the compiler.
19912 wl=$lt_lt_prog_compiler_wl
19913
19914 # Compiler flag to prevent dynamic linking.
19915 link_static_flag=$lt_lt_prog_compiler_static
19916
19917 # Does compiler simultaneously support -c and -o options?
19918 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19919
19920 # Whether or not to add -lc for building shared libraries.
19921 build_libtool_need_lc=$archive_cmds_need_lc
19922
19923 # Whether or not to disallow shared libs when runtime libs are static.
19924 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19925
19926 # Compiler flag to allow reflexive dlopens.
19927 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19928
19929 # Compiler flag to generate shared objects directly from archives.
19930 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19931
19932 # Whether the compiler copes with passing no objects directly.
19933 compiler_needs_object=$lt_compiler_needs_object
19934
19935 # Create an old-style archive from a shared archive.
19936 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19937
19938 # Create a temporary old-style archive to link instead of a shared archive.
19939 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19940
19941 # Commands used to build a shared archive.
19942 archive_cmds=$lt_archive_cmds
19943 archive_expsym_cmds=$lt_archive_expsym_cmds
19944
19945 # Commands used to build a loadable module if different from building
19946 # a shared archive.
19947 module_cmds=$lt_module_cmds
19948 module_expsym_cmds=$lt_module_expsym_cmds
19949
19950 # Whether we are building with GNU ld or not.
19951 with_gnu_ld=$lt_with_gnu_ld
19952
19953 # Flag that allows shared libraries with undefined symbols to be built.
19954 allow_undefined_flag=$lt_allow_undefined_flag
19955
19956 # Flag that enforces no undefined symbols.
19957 no_undefined_flag=$lt_no_undefined_flag
19958
19959 # Flag to hardcode \$libdir into a binary during linking.
19960 # This must work even if \$libdir does not exist
19961 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19962
19963 # Whether we need a single "-rpath" flag with a separated argument.
19964 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19965
19966 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19967 # DIR into the resulting binary.
19968 hardcode_direct=$hardcode_direct
19969
19970 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19971 # DIR into the resulting binary and the resulting library dependency is
19972 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19973 # library is relocated.
19974 hardcode_direct_absolute=$hardcode_direct_absolute
19975
19976 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19977 # into the resulting binary.
19978 hardcode_minus_L=$hardcode_minus_L
19979
19980 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19981 # into the resulting binary.
19982 hardcode_shlibpath_var=$hardcode_shlibpath_var
19983
19984 # Set to "yes" if building a shared library automatically hardcodes DIR
19985 # into the library and all subsequent libraries and executables linked
19986 # against it.
19987 hardcode_automatic=$hardcode_automatic
19988
19989 # Set to yes if linker adds runtime paths of dependent libraries
19990 # to runtime path list.
19991 inherit_rpath=$inherit_rpath
19992
19993 # Whether libtool must link a program against all its dependency libraries.
19994 link_all_deplibs=$link_all_deplibs
19995
19996 # Set to "yes" if exported symbols are required.
19997 always_export_symbols=$always_export_symbols
19998
19999 # The commands to list exported symbols.
20000 export_symbols_cmds=$lt_export_symbols_cmds
20001
20002 # Symbols that should not be listed in the preloaded symbols.
20003 exclude_expsyms=$lt_exclude_expsyms
20004
20005 # Symbols that must always be exported.
20006 include_expsyms=$lt_include_expsyms
20007
20008 # Commands necessary for linking programs (against libraries) with templates.
20009 prelink_cmds=$lt_prelink_cmds
20010
20011 # Commands necessary for finishing linking programs.
20012 postlink_cmds=$lt_postlink_cmds
20013
20014 # Specify filename containing input files.
20015 file_list_spec=$lt_file_list_spec
20016
20017 # How to hardcode a shared library path into an executable.
20018 hardcode_action=$hardcode_action
20019
20020 # ### END LIBTOOL CONFIG
20021
20022 _LT_EOF
20023
20024   case $host_os in
20025   aix3*)
20026     cat <<\_LT_EOF >> "$cfgfile"
20027 # AIX sometimes has problems with the GCC collect2 program.  For some
20028 # reason, if we set the COLLECT_NAMES environment variable, the problems
20029 # vanish in a puff of smoke.
20030 if test "X${COLLECT_NAMES+set}" != Xset; then
20031   COLLECT_NAMES=
20032   export COLLECT_NAMES
20033 fi
20034 _LT_EOF
20035     ;;
20036   esac
20037
20038
20039 ltmain="$ac_aux_dir/ltmain.sh"
20040
20041
20042   # We use sed instead of cat because bash on DJGPP gets confused if
20043   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
20044   # text mode, it properly converts lines to CR/LF.  This bash problem
20045   # is reportedly fixed, but why not run on old versions too?
20046   sed '$q' "$ltmain" >> "$cfgfile" \
20047      || (rm -f "$cfgfile"; exit 1)
20048
20049   if test x"$xsi_shell" = xyes; then
20050   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
20051 func_dirname ()\
20052 {\
20053 \    case ${1} in\
20054 \      */*) func_dirname_result="${1%/*}${2}" ;;\
20055 \      *  ) func_dirname_result="${3}" ;;\
20056 \    esac\
20057 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
20058   && mv -f "$cfgfile.tmp" "$cfgfile" \
20059     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20060 test 0 -eq $? || _lt_function_replace_fail=:
20061
20062
20063   sed -e '/^func_basename ()$/,/^} # func_basename /c\
20064 func_basename ()\
20065 {\
20066 \    func_basename_result="${1##*/}"\
20067 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
20068   && mv -f "$cfgfile.tmp" "$cfgfile" \
20069     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20070 test 0 -eq $? || _lt_function_replace_fail=:
20071
20072
20073   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
20074 func_dirname_and_basename ()\
20075 {\
20076 \    case ${1} in\
20077 \      */*) func_dirname_result="${1%/*}${2}" ;;\
20078 \      *  ) func_dirname_result="${3}" ;;\
20079 \    esac\
20080 \    func_basename_result="${1##*/}"\
20081 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
20082   && mv -f "$cfgfile.tmp" "$cfgfile" \
20083     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20084 test 0 -eq $? || _lt_function_replace_fail=:
20085
20086
20087   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
20088 func_stripname ()\
20089 {\
20090 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
20091 \    # positional parameters, so assign one to ordinary parameter first.\
20092 \    func_stripname_result=${3}\
20093 \    func_stripname_result=${func_stripname_result#"${1}"}\
20094 \    func_stripname_result=${func_stripname_result%"${2}"}\
20095 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
20096   && mv -f "$cfgfile.tmp" "$cfgfile" \
20097     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20098 test 0 -eq $? || _lt_function_replace_fail=:
20099
20100
20101   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
20102 func_split_long_opt ()\
20103 {\
20104 \    func_split_long_opt_name=${1%%=*}\
20105 \    func_split_long_opt_arg=${1#*=}\
20106 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
20107   && mv -f "$cfgfile.tmp" "$cfgfile" \
20108     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20109 test 0 -eq $? || _lt_function_replace_fail=:
20110
20111
20112   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
20113 func_split_short_opt ()\
20114 {\
20115 \    func_split_short_opt_arg=${1#??}\
20116 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
20117 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
20118   && mv -f "$cfgfile.tmp" "$cfgfile" \
20119     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20120 test 0 -eq $? || _lt_function_replace_fail=:
20121
20122
20123   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
20124 func_lo2o ()\
20125 {\
20126 \    case ${1} in\
20127 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
20128 \      *)    func_lo2o_result=${1} ;;\
20129 \    esac\
20130 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
20131   && mv -f "$cfgfile.tmp" "$cfgfile" \
20132     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20133 test 0 -eq $? || _lt_function_replace_fail=:
20134
20135
20136   sed -e '/^func_xform ()$/,/^} # func_xform /c\
20137 func_xform ()\
20138 {\
20139     func_xform_result=${1%.*}.lo\
20140 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
20141   && mv -f "$cfgfile.tmp" "$cfgfile" \
20142     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20143 test 0 -eq $? || _lt_function_replace_fail=:
20144
20145
20146   sed -e '/^func_arith ()$/,/^} # func_arith /c\
20147 func_arith ()\
20148 {\
20149     func_arith_result=$(( $* ))\
20150 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
20151   && mv -f "$cfgfile.tmp" "$cfgfile" \
20152     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20153 test 0 -eq $? || _lt_function_replace_fail=:
20154
20155
20156   sed -e '/^func_len ()$/,/^} # func_len /c\
20157 func_len ()\
20158 {\
20159     func_len_result=${#1}\
20160 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
20161   && mv -f "$cfgfile.tmp" "$cfgfile" \
20162     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20163 test 0 -eq $? || _lt_function_replace_fail=:
20164
20165 fi
20166
20167 if test x"$lt_shell_append" = xyes; then
20168   sed -e '/^func_append ()$/,/^} # func_append /c\
20169 func_append ()\
20170 {\
20171     eval "${1}+=\\${2}"\
20172 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
20173   && mv -f "$cfgfile.tmp" "$cfgfile" \
20174     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20175 test 0 -eq $? || _lt_function_replace_fail=:
20176
20177
20178   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
20179 func_append_quoted ()\
20180 {\
20181 \    func_quote_for_eval "${2}"\
20182 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
20183 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
20184   && mv -f "$cfgfile.tmp" "$cfgfile" \
20185     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20186 test 0 -eq $? || _lt_function_replace_fail=:
20187
20188
20189   # Save a `func_append' function call where possible by direct use of '+='
20190   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
20191     && mv -f "$cfgfile.tmp" "$cfgfile" \
20192       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20193   test 0 -eq $? || _lt_function_replace_fail=:
20194 else
20195   # Save a `func_append' function call even when '+=' is not available
20196   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
20197     && mv -f "$cfgfile.tmp" "$cfgfile" \
20198       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20199   test 0 -eq $? || _lt_function_replace_fail=:
20200 fi
20201
20202 if test x"$_lt_function_replace_fail" = x":"; then
20203   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
20204 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
20205 fi
20206
20207
20208    mv -f "$cfgfile" "$ofile" ||
20209     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20210   chmod +x "$ofile"
20211
20212  ;;
20213
20214   esac
20215 done # for ac_tag
20216
20217
20218 as_fn_exit 0
20219 _ACEOF
20220 ac_clean_files=$ac_clean_files_save
20221
20222 test $ac_write_fail = 0 ||
20223   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20224
20225
20226 # configure is writing to config.log, and then calls config.status.
20227 # config.status does its own redirection, appending to config.log.
20228 # Unfortunately, on DOS this fails, as config.log is still kept open
20229 # by configure, so config.status won't be able to write to it; its
20230 # output is simply discarded.  So we exec the FD to /dev/null,
20231 # effectively closing config.log, so it can be properly (re)opened and
20232 # appended to by config.status.  When coming back to configure, we
20233 # need to make the FD available again.
20234 if test "$no_create" != yes; then
20235   ac_cs_success=:
20236   ac_config_status_args=
20237   test "$silent" = yes &&
20238     ac_config_status_args="$ac_config_status_args --quiet"
20239   exec 5>/dev/null
20240   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20241   exec 5>>config.log
20242   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20243   # would make configure fail if this is the last instruction.
20244   $ac_cs_success || as_fn_exit 1
20245 fi
20246 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20247   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20248 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20249 fi
20250
20251
20252
20253 #####################################################################
20254 ## Info
20255
20256 echo
20257 echo
20258 echo
20259 echo "------------------------------------------------------------------------"
20260 echo "$PACKAGE $VERSION"
20261 echo "------------------------------------------------------------------------"
20262 echo
20263 echo "Configuration Options Summary:"
20264 echo
20265 echo "  Amalgamation.........: ${do_amalgamation}"
20266 echo "  Ecore IMF............: $have_ecore_imf"
20267
20268 if test "x${want_multisense}" = "xyes" ; then
20269 echo "  LibRemix.............: $have_libremix"
20270 echo "  Libsndfile...........: $have_sndfile"
20271 echo "  Ogg/Vorbis...........: $have_vorbis"
20272 echo "  LibFLAC..............: $have_flac_lib"
20273 echo "  LibALSA..............: $have_alsa_lib"
20274 fi
20275
20276 echo "  EDJE_PROGRAM_CACHE...: $want_edje_program_cache"
20277 echo "  EDJE_CALC_CACHE......: $want_edje_calc_cache"
20278 echo "  Fixed point..........: $want_fixed_point"
20279 echo "  Documentation........: ${build_doc}"
20280 if test "x${build_doc}" = "xyes" ; then
20281 echo "    Installation.......: make install-doc"
20282 fi
20283 echo "  Tests................: ${enable_tests}"
20284 echo "  Coverage.............: ${enable_coverage}"
20285 echo "  Examples.............: install:${install_examples} build:${build_examples}"
20286 echo
20287 echo "Programs:"
20288 echo
20289 echo "  Build edje_cc................: $have_edje_cc"
20290 echo "  Build edje_decc..............: $have_edje_decc"
20291 echo "  Build edje_recc..............: $have_edje_recc"
20292 echo "  Build edje_player............: $have_edje_player"
20293 echo "  Build edje_inspector.........: $have_edje_inspector"
20294 echo "  Build edje_external_inspector: $have_edje_external_inspector"
20295 echo "  Build edje_watch.............: $have_edje_watch"
20296 echo
20297 echo "Compilation............: make (or gmake)"
20298 echo "  CPPFLAGS.............: $CPPFLAGS"
20299 echo "  CFLAGS...............: $CFLAGS"
20300 echo "  LDFLAGS..............: $LDFLAGS"
20301 echo
20302 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
20303 echo "  prefix...............: $prefix"
20304 echo