Imported Upstream version 1.7.2
[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.2.
4 #
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
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.2'
574 PACKAGE_STRING='edje 1.7.2'
575 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
576 PACKAGE_URL=''
577
578 ac_unique_file="configure.ac"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
581 #include <stdio.h>
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
584 #endif
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
587 #endif
588 #ifdef STDC_HEADERS
589 # include <stdlib.h>
590 # include <stddef.h>
591 #else
592 # ifdef HAVE_STDLIB_H
593 #  include <stdlib.h>
594 # endif
595 #endif
596 #ifdef HAVE_STRING_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
598 #  include <memory.h>
599 # endif
600 # include <string.h>
601 #endif
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
604 #endif
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
607 #endif
608 #ifdef HAVE_STDINT_H
609 # include <stdint.h>
610 #endif
611 #ifdef HAVE_UNISTD_H
612 # include <unistd.h>
613 #endif"
614
615 ac_subst_vars='am__EXEEXT_FALSE
616 am__EXEEXT_TRUE
617 LTLIBOBJS
618 LIBOBJS
619 requirement_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.2 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.2:";;
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.2
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.2, 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.2'
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* | netbsdelf*-gnu)
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   linux* | k*bsd*-gnu | gnu*)
9085     link_all_deplibs=no
9086     ;;
9087   esac
9088
9089   ld_shlibs=yes
9090
9091   # On some targets, GNU ld is compatible enough with the native linker
9092   # that we're better off using the native interface for both.
9093   lt_use_gnu_ld_interface=no
9094   if test "$with_gnu_ld" = yes; then
9095     case $host_os in
9096       aix*)
9097         # The AIX port of GNU ld has always aspired to compatibility
9098         # with the native linker.  However, as the warning in the GNU ld
9099         # block says, versions before 2.19.5* couldn't really create working
9100         # shared libraries, regardless of the interface used.
9101         case `$LD -v 2>&1` in
9102           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9103           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9104           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9105           *)
9106             lt_use_gnu_ld_interface=yes
9107             ;;
9108         esac
9109         ;;
9110       *)
9111         lt_use_gnu_ld_interface=yes
9112         ;;
9113     esac
9114   fi
9115
9116   if test "$lt_use_gnu_ld_interface" = yes; then
9117     # If archive_cmds runs LD, not CC, wlarc should be empty
9118     wlarc='${wl}'
9119
9120     # Set some defaults for GNU ld with shared library support. These
9121     # are reset later if shared libraries are not supported. Putting them
9122     # here allows them to be overridden if necessary.
9123     runpath_var=LD_RUN_PATH
9124     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9125     export_dynamic_flag_spec='${wl}--export-dynamic'
9126     # ancient GNU ld didn't support --whole-archive et. al.
9127     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9128       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9129     else
9130       whole_archive_flag_spec=
9131     fi
9132     supports_anon_versioning=no
9133     case `$LD -v 2>&1` in
9134       *GNU\ gold*) supports_anon_versioning=yes ;;
9135       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9136       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9137       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9138       *\ 2.11.*) ;; # other 2.11 versions
9139       *) supports_anon_versioning=yes ;;
9140     esac
9141
9142     # See if GNU ld supports shared libraries.
9143     case $host_os in
9144     aix[3-9]*)
9145       # On AIX/PPC, the GNU linker is very broken
9146       if test "$host_cpu" != ia64; then
9147         ld_shlibs=no
9148         cat <<_LT_EOF 1>&2
9149
9150 *** Warning: the GNU linker, at least up to release 2.19, is reported
9151 *** to be unable to reliably create shared libraries on AIX.
9152 *** Therefore, libtool is disabling shared libraries support.  If you
9153 *** really care for shared libraries, you may want to install binutils
9154 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9155 *** You will then need to restart the configuration process.
9156
9157 _LT_EOF
9158       fi
9159       ;;
9160
9161     amigaos*)
9162       case $host_cpu in
9163       powerpc)
9164             # see comment about AmigaOS4 .so support
9165             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9166             archive_expsym_cmds=''
9167         ;;
9168       m68k)
9169             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)'
9170             hardcode_libdir_flag_spec='-L$libdir'
9171             hardcode_minus_L=yes
9172         ;;
9173       esac
9174       ;;
9175
9176     beos*)
9177       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9178         allow_undefined_flag=unsupported
9179         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9180         # support --undefined.  This deserves some investigation.  FIXME
9181         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9182       else
9183         ld_shlibs=no
9184       fi
9185       ;;
9186
9187     cygwin* | mingw* | pw32* | cegcc*)
9188       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9189       # as there is no search path for DLLs.
9190       hardcode_libdir_flag_spec='-L$libdir'
9191       export_dynamic_flag_spec='${wl}--export-all-symbols'
9192       allow_undefined_flag=unsupported
9193       always_export_symbols=no
9194       enable_shared_with_static_runtimes=yes
9195       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'
9196       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9197
9198       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9199         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9200         # If the export-symbols file already is a .def file (1st line
9201         # is EXPORTS), use it as is; otherwise, prepend...
9202         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9203           cp $export_symbols $output_objdir/$soname.def;
9204         else
9205           echo EXPORTS > $output_objdir/$soname.def;
9206           cat $export_symbols >> $output_objdir/$soname.def;
9207         fi~
9208         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9209       else
9210         ld_shlibs=no
9211       fi
9212       ;;
9213
9214     haiku*)
9215       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9216       link_all_deplibs=yes
9217       ;;
9218
9219     interix[3-9]*)
9220       hardcode_direct=no
9221       hardcode_shlibpath_var=no
9222       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9223       export_dynamic_flag_spec='${wl}-E'
9224       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9225       # Instead, shared libraries are loaded at an image base (0x10000000 by
9226       # default) and relocated if they conflict, which is a slow very memory
9227       # consuming and fragmenting process.  To avoid this, we pick a random,
9228       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9229       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9230       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9231       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'
9232       ;;
9233
9234     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9235       tmp_diet=no
9236       if test "$host_os" = linux-dietlibc; then
9237         case $cc_basename in
9238           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9239         esac
9240       fi
9241       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9242          && test "$tmp_diet" = no
9243       then
9244         tmp_addflag=' $pic_flag'
9245         tmp_sharedflag='-shared'
9246         case $cc_basename,$host_cpu in
9247         pgcc*)                          # Portland Group C compiler
9248           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'
9249           tmp_addflag=' $pic_flag'
9250           ;;
9251         pgf77* | pgf90* | pgf95* | pgfortran*)
9252                                         # Portland Group f77 and f90 compilers
9253           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'
9254           tmp_addflag=' $pic_flag -Mnomain' ;;
9255         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9256           tmp_addflag=' -i_dynamic' ;;
9257         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9258           tmp_addflag=' -i_dynamic -nofor_main' ;;
9259         ifc* | ifort*)                  # Intel Fortran compiler
9260           tmp_addflag=' -nofor_main' ;;
9261         lf95*)                          # Lahey Fortran 8.1
9262           whole_archive_flag_spec=
9263           tmp_sharedflag='--shared' ;;
9264         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9265           tmp_sharedflag='-qmkshrobj'
9266           tmp_addflag= ;;
9267         nvcc*)  # Cuda Compiler Driver 2.2
9268           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'
9269           compiler_needs_object=yes
9270           ;;
9271         esac
9272         case `$CC -V 2>&1 | sed 5q` in
9273         *Sun\ C*)                       # Sun C 5.9
9274           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'
9275           compiler_needs_object=yes
9276           tmp_sharedflag='-G' ;;
9277         *Sun\ F*)                       # Sun Fortran 8.3
9278           tmp_sharedflag='-G' ;;
9279         esac
9280         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9281
9282         if test "x$supports_anon_versioning" = xyes; then
9283           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9284             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9285             echo "local: *; };" >> $output_objdir/$libname.ver~
9286             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9287         fi
9288
9289         case $cc_basename in
9290         xlf* | bgf* | bgxlf* | mpixlf*)
9291           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9292           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9293           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9294           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9295           if test "x$supports_anon_versioning" = xyes; then
9296             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9297               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9298               echo "local: *; };" >> $output_objdir/$libname.ver~
9299               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9300           fi
9301           ;;
9302         esac
9303       else
9304         ld_shlibs=no
9305       fi
9306       ;;
9307
9308     netbsd* | netbsdelf*-gnu)
9309       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9310         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9311         wlarc=
9312       else
9313         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9314         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9315       fi
9316       ;;
9317
9318     solaris*)
9319       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9320         ld_shlibs=no
9321         cat <<_LT_EOF 1>&2
9322
9323 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9324 *** create shared libraries on Solaris systems.  Therefore, libtool
9325 *** is disabling shared libraries support.  We urge you to upgrade GNU
9326 *** binutils to release 2.9.1 or newer.  Another option is to modify
9327 *** your PATH or compiler configuration so that the native linker is
9328 *** used, and then restart.
9329
9330 _LT_EOF
9331       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9332         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9333         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9334       else
9335         ld_shlibs=no
9336       fi
9337       ;;
9338
9339     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9340       case `$LD -v 2>&1` in
9341         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9342         ld_shlibs=no
9343         cat <<_LT_EOF 1>&2
9344
9345 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9346 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9347 *** is disabling shared libraries support.  We urge you to upgrade GNU
9348 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9349 *** your PATH or compiler configuration so that the native linker is
9350 *** used, and then restart.
9351
9352 _LT_EOF
9353         ;;
9354         *)
9355           # For security reasons, it is highly recommended that you always
9356           # use absolute paths for naming shared libraries, and exclude the
9357           # DT_RUNPATH tag from executables and libraries.  But doing so
9358           # requires that you compile everything twice, which is a pain.
9359           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9360             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9361             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9362             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9363           else
9364             ld_shlibs=no
9365           fi
9366         ;;
9367       esac
9368       ;;
9369
9370     sunos4*)
9371       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9372       wlarc=
9373       hardcode_direct=yes
9374       hardcode_shlibpath_var=no
9375       ;;
9376
9377     *)
9378       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9379         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9380         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9381       else
9382         ld_shlibs=no
9383       fi
9384       ;;
9385     esac
9386
9387     if test "$ld_shlibs" = no; then
9388       runpath_var=
9389       hardcode_libdir_flag_spec=
9390       export_dynamic_flag_spec=
9391       whole_archive_flag_spec=
9392     fi
9393   else
9394     # PORTME fill in a description of your system's linker (not GNU ld)
9395     case $host_os in
9396     aix3*)
9397       allow_undefined_flag=unsupported
9398       always_export_symbols=yes
9399       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'
9400       # Note: this linker hardcodes the directories in LIBPATH if there
9401       # are no directories specified by -L.
9402       hardcode_minus_L=yes
9403       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9404         # Neither direct hardcoding nor static linking is supported with a
9405         # broken collect2.
9406         hardcode_direct=unsupported
9407       fi
9408       ;;
9409
9410     aix[4-9]*)
9411       if test "$host_cpu" = ia64; then
9412         # On IA64, the linker does run time linking by default, so we don't
9413         # have to do anything special.
9414         aix_use_runtimelinking=no
9415         exp_sym_flag='-Bexport'
9416         no_entry_flag=""
9417       else
9418         # If we're using GNU nm, then we don't want the "-C" option.
9419         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9420         # Also, AIX nm treats weak defined symbols like other global
9421         # defined symbols, whereas GNU nm marks them as "W".
9422         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9423           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'
9424         else
9425           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'
9426         fi
9427         aix_use_runtimelinking=no
9428
9429         # Test if we are trying to use run time linking or normal
9430         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9431         # need to do runtime linking.
9432         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9433           for ld_flag in $LDFLAGS; do
9434           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9435             aix_use_runtimelinking=yes
9436             break
9437           fi
9438           done
9439           ;;
9440         esac
9441
9442         exp_sym_flag='-bexport'
9443         no_entry_flag='-bnoentry'
9444       fi
9445
9446       # When large executables or shared objects are built, AIX ld can
9447       # have problems creating the table of contents.  If linking a library
9448       # or program results in "error TOC overflow" add -mminimal-toc to
9449       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9450       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9451
9452       archive_cmds=''
9453       hardcode_direct=yes
9454       hardcode_direct_absolute=yes
9455       hardcode_libdir_separator=':'
9456       link_all_deplibs=yes
9457       file_list_spec='${wl}-f,'
9458
9459       if test "$GCC" = yes; then
9460         case $host_os in aix4.[012]|aix4.[012].*)
9461         # We only want to do this on AIX 4.2 and lower, the check
9462         # below for broken collect2 doesn't work under 4.3+
9463           collect2name=`${CC} -print-prog-name=collect2`
9464           if test -f "$collect2name" &&
9465            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9466           then
9467           # We have reworked collect2
9468           :
9469           else
9470           # We have old collect2
9471           hardcode_direct=unsupported
9472           # It fails to find uninstalled libraries when the uninstalled
9473           # path is not listed in the libpath.  Setting hardcode_minus_L
9474           # to unsupported forces relinking
9475           hardcode_minus_L=yes
9476           hardcode_libdir_flag_spec='-L$libdir'
9477           hardcode_libdir_separator=
9478           fi
9479           ;;
9480         esac
9481         shared_flag='-shared'
9482         if test "$aix_use_runtimelinking" = yes; then
9483           shared_flag="$shared_flag "'${wl}-G'
9484         fi
9485         link_all_deplibs=no
9486       else
9487         # not using gcc
9488         if test "$host_cpu" = ia64; then
9489         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9490         # chokes on -Wl,-G. The following line is correct:
9491           shared_flag='-G'
9492         else
9493           if test "$aix_use_runtimelinking" = yes; then
9494             shared_flag='${wl}-G'
9495           else
9496             shared_flag='${wl}-bM:SRE'
9497           fi
9498         fi
9499       fi
9500
9501       export_dynamic_flag_spec='${wl}-bexpall'
9502       # It seems that -bexpall does not export symbols beginning with
9503       # underscore (_), so it is better to generate a list of symbols to export.
9504       always_export_symbols=yes
9505       if test "$aix_use_runtimelinking" = yes; then
9506         # Warning - without using the other runtime loading flags (-brtl),
9507         # -berok will link without error, but may produce a broken library.
9508         allow_undefined_flag='-berok'
9509         # Determine the default libpath from the value encoded in an
9510         # empty executable.
9511         if test "${lt_cv_aix_libpath+set}" = set; then
9512   aix_libpath=$lt_cv_aix_libpath
9513 else
9514   if ${lt_cv_aix_libpath_+:} false; then :
9515   $as_echo_n "(cached) " >&6
9516 else
9517   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9518 /* end confdefs.h.  */
9519
9520 int
9521 main ()
9522 {
9523
9524   ;
9525   return 0;
9526 }
9527 _ACEOF
9528 if ac_fn_c_try_link "$LINENO"; then :
9529
9530   lt_aix_libpath_sed='
9531       /Import File Strings/,/^$/ {
9532           /^0/ {
9533               s/^0  *\([^ ]*\) *$/\1/
9534               p
9535           }
9536       }'
9537   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9538   # Check for a 64-bit object if we didn't find anything.
9539   if test -z "$lt_cv_aix_libpath_"; then
9540     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9541   fi
9542 fi
9543 rm -f core conftest.err conftest.$ac_objext \
9544     conftest$ac_exeext conftest.$ac_ext
9545   if test -z "$lt_cv_aix_libpath_"; then
9546     lt_cv_aix_libpath_="/usr/lib:/lib"
9547   fi
9548
9549 fi
9550
9551   aix_libpath=$lt_cv_aix_libpath_
9552 fi
9553
9554         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9555         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"
9556       else
9557         if test "$host_cpu" = ia64; then
9558           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9559           allow_undefined_flag="-z nodefs"
9560           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"
9561         else
9562          # Determine the default libpath from the value encoded in an
9563          # empty executable.
9564          if test "${lt_cv_aix_libpath+set}" = set; then
9565   aix_libpath=$lt_cv_aix_libpath
9566 else
9567   if ${lt_cv_aix_libpath_+:} false; then :
9568   $as_echo_n "(cached) " >&6
9569 else
9570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9571 /* end confdefs.h.  */
9572
9573 int
9574 main ()
9575 {
9576
9577   ;
9578   return 0;
9579 }
9580 _ACEOF
9581 if ac_fn_c_try_link "$LINENO"; then :
9582
9583   lt_aix_libpath_sed='
9584       /Import File Strings/,/^$/ {
9585           /^0/ {
9586               s/^0  *\([^ ]*\) *$/\1/
9587               p
9588           }
9589       }'
9590   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9591   # Check for a 64-bit object if we didn't find anything.
9592   if test -z "$lt_cv_aix_libpath_"; then
9593     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9594   fi
9595 fi
9596 rm -f core conftest.err conftest.$ac_objext \
9597     conftest$ac_exeext conftest.$ac_ext
9598   if test -z "$lt_cv_aix_libpath_"; then
9599     lt_cv_aix_libpath_="/usr/lib:/lib"
9600   fi
9601
9602 fi
9603
9604   aix_libpath=$lt_cv_aix_libpath_
9605 fi
9606
9607          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9608           # Warning - without using the other run time loading flags,
9609           # -berok will link without error, but may produce a broken library.
9610           no_undefined_flag=' ${wl}-bernotok'
9611           allow_undefined_flag=' ${wl}-berok'
9612           if test "$with_gnu_ld" = yes; then
9613             # We only use this code for GNU lds that support --whole-archive.
9614             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9615           else
9616             # Exported symbols can be pulled into shared objects from archives
9617             whole_archive_flag_spec='$convenience'
9618           fi
9619           archive_cmds_need_lc=yes
9620           # This is similar to how AIX traditionally builds its shared libraries.
9621           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'
9622         fi
9623       fi
9624       ;;
9625
9626     amigaos*)
9627       case $host_cpu in
9628       powerpc)
9629             # see comment about AmigaOS4 .so support
9630             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9631             archive_expsym_cmds=''
9632         ;;
9633       m68k)
9634             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)'
9635             hardcode_libdir_flag_spec='-L$libdir'
9636             hardcode_minus_L=yes
9637         ;;
9638       esac
9639       ;;
9640
9641     bsdi[45]*)
9642       export_dynamic_flag_spec=-rdynamic
9643       ;;
9644
9645     cygwin* | mingw* | pw32* | cegcc*)
9646       # When not using gcc, we currently assume that we are using
9647       # Microsoft Visual C++.
9648       # hardcode_libdir_flag_spec is actually meaningless, as there is
9649       # no search path for DLLs.
9650       case $cc_basename in
9651       cl*)
9652         # Native MSVC
9653         hardcode_libdir_flag_spec=' '
9654         allow_undefined_flag=unsupported
9655         always_export_symbols=yes
9656         file_list_spec='@'
9657         # Tell ltmain to make .lib files, not .a files.
9658         libext=lib
9659         # Tell ltmain to make .dll files, not .so files.
9660         shrext_cmds=".dll"
9661         # FIXME: Setting linknames here is a bad hack.
9662         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9663         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9664             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9665           else
9666             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9667           fi~
9668           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9669           linknames='
9670         # The linker will not automatically build a static lib if we build a DLL.
9671         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9672         enable_shared_with_static_runtimes=yes
9673         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9674         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9675         # Don't use ranlib
9676         old_postinstall_cmds='chmod 644 $oldlib'
9677         postlink_cmds='lt_outputfile="@OUTPUT@"~
9678           lt_tool_outputfile="@TOOL_OUTPUT@"~
9679           case $lt_outputfile in
9680             *.exe|*.EXE) ;;
9681             *)
9682               lt_outputfile="$lt_outputfile.exe"
9683               lt_tool_outputfile="$lt_tool_outputfile.exe"
9684               ;;
9685           esac~
9686           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9687             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9688             $RM "$lt_outputfile.manifest";
9689           fi'
9690         ;;
9691       *)
9692         # Assume MSVC wrapper
9693         hardcode_libdir_flag_spec=' '
9694         allow_undefined_flag=unsupported
9695         # Tell ltmain to make .lib files, not .a files.
9696         libext=lib
9697         # Tell ltmain to make .dll files, not .so files.
9698         shrext_cmds=".dll"
9699         # FIXME: Setting linknames here is a bad hack.
9700         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9701         # The linker will automatically build a .lib file if we build a DLL.
9702         old_archive_from_new_cmds='true'
9703         # FIXME: Should let the user specify the lib program.
9704         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9705         enable_shared_with_static_runtimes=yes
9706         ;;
9707       esac
9708       ;;
9709
9710     darwin* | rhapsody*)
9711
9712
9713   archive_cmds_need_lc=no
9714   hardcode_direct=no
9715   hardcode_automatic=yes
9716   hardcode_shlibpath_var=unsupported
9717   if test "$lt_cv_ld_force_load" = "yes"; then
9718     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\"`'
9719
9720   else
9721     whole_archive_flag_spec=''
9722   fi
9723   link_all_deplibs=yes
9724   allow_undefined_flag="$_lt_dar_allow_undefined"
9725   case $cc_basename in
9726      ifort*) _lt_dar_can_shared=yes ;;
9727      *) _lt_dar_can_shared=$GCC ;;
9728   esac
9729   if test "$_lt_dar_can_shared" = "yes"; then
9730     output_verbose_link_cmd=func_echo_all
9731     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9732     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9733     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}"
9734     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}"
9735
9736   else
9737   ld_shlibs=no
9738   fi
9739
9740       ;;
9741
9742     dgux*)
9743       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9744       hardcode_libdir_flag_spec='-L$libdir'
9745       hardcode_shlibpath_var=no
9746       ;;
9747
9748     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9749     # support.  Future versions do this automatically, but an explicit c++rt0.o
9750     # does not break anything, and helps significantly (at the cost of a little
9751     # extra space).
9752     freebsd2.2*)
9753       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9754       hardcode_libdir_flag_spec='-R$libdir'
9755       hardcode_direct=yes
9756       hardcode_shlibpath_var=no
9757       ;;
9758
9759     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9760     freebsd2.*)
9761       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9762       hardcode_direct=yes
9763       hardcode_minus_L=yes
9764       hardcode_shlibpath_var=no
9765       ;;
9766
9767     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9768     freebsd* | dragonfly*)
9769       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9770       hardcode_libdir_flag_spec='-R$libdir'
9771       hardcode_direct=yes
9772       hardcode_shlibpath_var=no
9773       ;;
9774
9775     hpux9*)
9776       if test "$GCC" = yes; then
9777         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'
9778       else
9779         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'
9780       fi
9781       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9782       hardcode_libdir_separator=:
9783       hardcode_direct=yes
9784
9785       # hardcode_minus_L: Not really in the search PATH,
9786       # but as the default location of the library.
9787       hardcode_minus_L=yes
9788       export_dynamic_flag_spec='${wl}-E'
9789       ;;
9790
9791     hpux10*)
9792       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9793         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9794       else
9795         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9796       fi
9797       if test "$with_gnu_ld" = no; then
9798         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9799         hardcode_libdir_separator=:
9800         hardcode_direct=yes
9801         hardcode_direct_absolute=yes
9802         export_dynamic_flag_spec='${wl}-E'
9803         # hardcode_minus_L: Not really in the search PATH,
9804         # but as the default location of the library.
9805         hardcode_minus_L=yes
9806       fi
9807       ;;
9808
9809     hpux11*)
9810       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9811         case $host_cpu in
9812         hppa*64*)
9813           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9814           ;;
9815         ia64*)
9816           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9817           ;;
9818         *)
9819           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9820           ;;
9821         esac
9822       else
9823         case $host_cpu in
9824         hppa*64*)
9825           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9826           ;;
9827         ia64*)
9828           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9829           ;;
9830         *)
9831
9832           # Older versions of the 11.00 compiler do not understand -b yet
9833           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9834           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9835 $as_echo_n "checking if $CC understands -b... " >&6; }
9836 if ${lt_cv_prog_compiler__b+:} false; then :
9837   $as_echo_n "(cached) " >&6
9838 else
9839   lt_cv_prog_compiler__b=no
9840    save_LDFLAGS="$LDFLAGS"
9841    LDFLAGS="$LDFLAGS -b"
9842    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9843    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9844      # The linker can only warn and ignore the option if not recognized
9845      # So say no if there are warnings
9846      if test -s conftest.err; then
9847        # Append any errors to the config.log.
9848        cat conftest.err 1>&5
9849        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9850        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9851        if diff conftest.exp conftest.er2 >/dev/null; then
9852          lt_cv_prog_compiler__b=yes
9853        fi
9854      else
9855        lt_cv_prog_compiler__b=yes
9856      fi
9857    fi
9858    $RM -r conftest*
9859    LDFLAGS="$save_LDFLAGS"
9860
9861 fi
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9863 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9864
9865 if test x"$lt_cv_prog_compiler__b" = xyes; then
9866     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9867 else
9868     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9869 fi
9870
9871           ;;
9872         esac
9873       fi
9874       if test "$with_gnu_ld" = no; then
9875         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9876         hardcode_libdir_separator=:
9877
9878         case $host_cpu in
9879         hppa*64*|ia64*)
9880           hardcode_direct=no
9881           hardcode_shlibpath_var=no
9882           ;;
9883         *)
9884           hardcode_direct=yes
9885           hardcode_direct_absolute=yes
9886           export_dynamic_flag_spec='${wl}-E'
9887
9888           # hardcode_minus_L: Not really in the search PATH,
9889           # but as the default location of the library.
9890           hardcode_minus_L=yes
9891           ;;
9892         esac
9893       fi
9894       ;;
9895
9896     irix5* | irix6* | nonstopux*)
9897       if test "$GCC" = yes; then
9898         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'
9899         # Try to use the -exported_symbol ld option, if it does not
9900         # work, assume that -exports_file does not work either and
9901         # implicitly export all symbols.
9902         # This should be the same for all languages, so no per-tag cache variable.
9903         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9904 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9905 if ${lt_cv_irix_exported_symbol+:} false; then :
9906   $as_echo_n "(cached) " >&6
9907 else
9908   save_LDFLAGS="$LDFLAGS"
9909            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9910            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9911 /* end confdefs.h.  */
9912 int foo (void) { return 0; }
9913 _ACEOF
9914 if ac_fn_c_try_link "$LINENO"; then :
9915   lt_cv_irix_exported_symbol=yes
9916 else
9917   lt_cv_irix_exported_symbol=no
9918 fi
9919 rm -f core conftest.err conftest.$ac_objext \
9920     conftest$ac_exeext conftest.$ac_ext
9921            LDFLAGS="$save_LDFLAGS"
9922 fi
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9924 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9925         if test "$lt_cv_irix_exported_symbol" = yes; then
9926           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'
9927         fi
9928       else
9929         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'
9930         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'
9931       fi
9932       archive_cmds_need_lc='no'
9933       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9934       hardcode_libdir_separator=:
9935       inherit_rpath=yes
9936       link_all_deplibs=yes
9937       ;;
9938
9939     netbsd* | netbsdelf*-gnu)
9940       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9941         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9942       else
9943         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9944       fi
9945       hardcode_libdir_flag_spec='-R$libdir'
9946       hardcode_direct=yes
9947       hardcode_shlibpath_var=no
9948       ;;
9949
9950     newsos6)
9951       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9952       hardcode_direct=yes
9953       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9954       hardcode_libdir_separator=:
9955       hardcode_shlibpath_var=no
9956       ;;
9957
9958     *nto* | *qnx*)
9959       ;;
9960
9961     openbsd*)
9962       if test -f /usr/libexec/ld.so; then
9963         hardcode_direct=yes
9964         hardcode_shlibpath_var=no
9965         hardcode_direct_absolute=yes
9966         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9967           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9968           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9969           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9970           export_dynamic_flag_spec='${wl}-E'
9971         else
9972           case $host_os in
9973            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9974              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9975              hardcode_libdir_flag_spec='-R$libdir'
9976              ;;
9977            *)
9978              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9979              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9980              ;;
9981           esac
9982         fi
9983       else
9984         ld_shlibs=no
9985       fi
9986       ;;
9987
9988     os2*)
9989       hardcode_libdir_flag_spec='-L$libdir'
9990       hardcode_minus_L=yes
9991       allow_undefined_flag=unsupported
9992       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'
9993       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9994       ;;
9995
9996     osf3*)
9997       if test "$GCC" = yes; then
9998         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9999         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'
10000       else
10001         allow_undefined_flag=' -expect_unresolved \*'
10002         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'
10003       fi
10004       archive_cmds_need_lc='no'
10005       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10006       hardcode_libdir_separator=:
10007       ;;
10008
10009     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10010       if test "$GCC" = yes; then
10011         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10012         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'
10013         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10014       else
10015         allow_undefined_flag=' -expect_unresolved \*'
10016         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'
10017         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~
10018         $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'
10019
10020         # Both c and cxx compiler support -rpath directly
10021         hardcode_libdir_flag_spec='-rpath $libdir'
10022       fi
10023       archive_cmds_need_lc='no'
10024       hardcode_libdir_separator=:
10025       ;;
10026
10027     solaris*)
10028       no_undefined_flag=' -z defs'
10029       if test "$GCC" = yes; then
10030         wlarc='${wl}'
10031         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10032         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10033           $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'
10034       else
10035         case `$CC -V 2>&1` in
10036         *"Compilers 5.0"*)
10037           wlarc=''
10038           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10039           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10040           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10041           ;;
10042         *)
10043           wlarc='${wl}'
10044           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10045           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10046           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10047           ;;
10048         esac
10049       fi
10050       hardcode_libdir_flag_spec='-R$libdir'
10051       hardcode_shlibpath_var=no
10052       case $host_os in
10053       solaris2.[0-5] | solaris2.[0-5].*) ;;
10054       *)
10055         # The compiler driver will combine and reorder linker options,
10056         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10057         # but is careful enough not to reorder.
10058         # Supported since Solaris 2.6 (maybe 2.5.1?)
10059         if test "$GCC" = yes; then
10060           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10061         else
10062           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10063         fi
10064         ;;
10065       esac
10066       link_all_deplibs=yes
10067       ;;
10068
10069     sunos4*)
10070       if test "x$host_vendor" = xsequent; then
10071         # Use $CC to link under sequent, because it throws in some extra .o
10072         # files that make .init and .fini sections work.
10073         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10074       else
10075         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10076       fi
10077       hardcode_libdir_flag_spec='-L$libdir'
10078       hardcode_direct=yes
10079       hardcode_minus_L=yes
10080       hardcode_shlibpath_var=no
10081       ;;
10082
10083     sysv4)
10084       case $host_vendor in
10085         sni)
10086           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10087           hardcode_direct=yes # is this really true???
10088         ;;
10089         siemens)
10090           ## LD is ld it makes a PLAMLIB
10091           ## CC just makes a GrossModule.
10092           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10093           reload_cmds='$CC -r -o $output$reload_objs'
10094           hardcode_direct=no
10095         ;;
10096         motorola)
10097           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10098           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10099         ;;
10100       esac
10101       runpath_var='LD_RUN_PATH'
10102       hardcode_shlibpath_var=no
10103       ;;
10104
10105     sysv4.3*)
10106       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10107       hardcode_shlibpath_var=no
10108       export_dynamic_flag_spec='-Bexport'
10109       ;;
10110
10111     sysv4*MP*)
10112       if test -d /usr/nec; then
10113         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10114         hardcode_shlibpath_var=no
10115         runpath_var=LD_RUN_PATH
10116         hardcode_runpath_var=yes
10117         ld_shlibs=yes
10118       fi
10119       ;;
10120
10121     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10122       no_undefined_flag='${wl}-z,text'
10123       archive_cmds_need_lc=no
10124       hardcode_shlibpath_var=no
10125       runpath_var='LD_RUN_PATH'
10126
10127       if test "$GCC" = yes; then
10128         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10129         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10130       else
10131         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10132         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10133       fi
10134       ;;
10135
10136     sysv5* | sco3.2v5* | sco5v6*)
10137       # Note: We can NOT use -z defs as we might desire, because we do not
10138       # link with -lc, and that would cause any symbols used from libc to
10139       # always be unresolved, which means just about no library would
10140       # ever link correctly.  If we're not using GNU ld we use -z text
10141       # though, which does catch some bad symbols but isn't as heavy-handed
10142       # as -z defs.
10143       no_undefined_flag='${wl}-z,text'
10144       allow_undefined_flag='${wl}-z,nodefs'
10145       archive_cmds_need_lc=no
10146       hardcode_shlibpath_var=no
10147       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10148       hardcode_libdir_separator=':'
10149       link_all_deplibs=yes
10150       export_dynamic_flag_spec='${wl}-Bexport'
10151       runpath_var='LD_RUN_PATH'
10152
10153       if test "$GCC" = yes; then
10154         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10155         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10156       else
10157         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10158         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10159       fi
10160       ;;
10161
10162     uts4*)
10163       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10164       hardcode_libdir_flag_spec='-L$libdir'
10165       hardcode_shlibpath_var=no
10166       ;;
10167
10168     *)
10169       ld_shlibs=no
10170       ;;
10171     esac
10172
10173     if test x$host_vendor = xsni; then
10174       case $host in
10175       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10176         export_dynamic_flag_spec='${wl}-Blargedynsym'
10177         ;;
10178       esac
10179     fi
10180   fi
10181
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10183 $as_echo "$ld_shlibs" >&6; }
10184 test "$ld_shlibs" = no && can_build_shared=no
10185
10186 with_gnu_ld=$with_gnu_ld
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202 #
10203 # Do we need to explicitly link libc?
10204 #
10205 case "x$archive_cmds_need_lc" in
10206 x|xyes)
10207   # Assume -lc should be added
10208   archive_cmds_need_lc=yes
10209
10210   if test "$enable_shared" = yes && test "$GCC" = yes; then
10211     case $archive_cmds in
10212     *'~'*)
10213       # FIXME: we may have to deal with multi-command sequences.
10214       ;;
10215     '$CC '*)
10216       # Test whether the compiler implicitly links with -lc since on some
10217       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10218       # to ld, don't add -lc before -lgcc.
10219       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10220 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10221 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10222   $as_echo_n "(cached) " >&6
10223 else
10224   $RM conftest*
10225         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10226
10227         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10228   (eval $ac_compile) 2>&5
10229   ac_status=$?
10230   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10231   test $ac_status = 0; } 2>conftest.err; then
10232           soname=conftest
10233           lib=conftest
10234           libobjs=conftest.$ac_objext
10235           deplibs=
10236           wl=$lt_prog_compiler_wl
10237           pic_flag=$lt_prog_compiler_pic
10238           compiler_flags=-v
10239           linker_flags=-v
10240           verstring=
10241           output_objdir=.
10242           libname=conftest
10243           lt_save_allow_undefined_flag=$allow_undefined_flag
10244           allow_undefined_flag=
10245           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10246   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10247   ac_status=$?
10248   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10249   test $ac_status = 0; }
10250           then
10251             lt_cv_archive_cmds_need_lc=no
10252           else
10253             lt_cv_archive_cmds_need_lc=yes
10254           fi
10255           allow_undefined_flag=$lt_save_allow_undefined_flag
10256         else
10257           cat conftest.err 1>&5
10258         fi
10259         $RM conftest*
10260
10261 fi
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10263 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10264       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10265       ;;
10266     esac
10267   fi
10268   ;;
10269 esac
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
10419
10420
10421
10422   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10423 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10424
10425 if test "$GCC" = yes; then
10426   case $host_os in
10427     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10428     *) lt_awk_arg="/^libraries:/" ;;
10429   esac
10430   case $host_os in
10431     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10432     *) lt_sed_strip_eq="s,=/,/,g" ;;
10433   esac
10434   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10435   case $lt_search_path_spec in
10436   *\;*)
10437     # if the path contains ";" then we assume it to be the separator
10438     # otherwise default to the standard path separator (i.e. ":") - it is
10439     # assumed that no part of a normal pathname contains ";" but that should
10440     # okay in the real world where ";" in dirpaths is itself problematic.
10441     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10442     ;;
10443   *)
10444     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10445     ;;
10446   esac
10447   # Ok, now we have the path, separated by spaces, we can step through it
10448   # and add multilib dir if necessary.
10449   lt_tmp_lt_search_path_spec=
10450   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10451   for lt_sys_path in $lt_search_path_spec; do
10452     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10453       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10454     else
10455       test -d "$lt_sys_path" && \
10456         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10457     fi
10458   done
10459   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10460 BEGIN {RS=" "; FS="/|\n";} {
10461   lt_foo="";
10462   lt_count=0;
10463   for (lt_i = NF; lt_i > 0; lt_i--) {
10464     if ($lt_i != "" && $lt_i != ".") {
10465       if ($lt_i == "..") {
10466         lt_count++;
10467       } else {
10468         if (lt_count == 0) {
10469           lt_foo="/" $lt_i lt_foo;
10470         } else {
10471           lt_count--;
10472         }
10473       }
10474     }
10475   }
10476   if (lt_foo != "") { lt_freq[lt_foo]++; }
10477   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10478 }'`
10479   # AWK program above erroneously prepends '/' to C:/dos/paths
10480   # for these hosts.
10481   case $host_os in
10482     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10483       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10484   esac
10485   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10486 else
10487   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10488 fi
10489 library_names_spec=
10490 libname_spec='lib$name'
10491 soname_spec=
10492 shrext_cmds=".so"
10493 postinstall_cmds=
10494 postuninstall_cmds=
10495 finish_cmds=
10496 finish_eval=
10497 shlibpath_var=
10498 shlibpath_overrides_runpath=unknown
10499 version_type=none
10500 dynamic_linker="$host_os ld.so"
10501 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10502 need_lib_prefix=unknown
10503 hardcode_into_libs=no
10504
10505 # when you set need_version to no, make sure it does not cause -set_version
10506 # flags to be left without arguments
10507 need_version=unknown
10508
10509 case $host_os in
10510 aix3*)
10511   version_type=linux # correct to gnu/linux during the next big refactor
10512   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10513   shlibpath_var=LIBPATH
10514
10515   # AIX 3 has no versioning support, so we append a major version to the name.
10516   soname_spec='${libname}${release}${shared_ext}$major'
10517   ;;
10518
10519 aix[4-9]*)
10520   version_type=linux # correct to gnu/linux during the next big refactor
10521   need_lib_prefix=no
10522   need_version=no
10523   hardcode_into_libs=yes
10524   if test "$host_cpu" = ia64; then
10525     # AIX 5 supports IA64
10526     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10527     shlibpath_var=LD_LIBRARY_PATH
10528   else
10529     # With GCC up to 2.95.x, collect2 would create an import file
10530     # for dependence libraries.  The import file would start with
10531     # the line `#! .'.  This would cause the generated library to
10532     # depend on `.', always an invalid library.  This was fixed in
10533     # development snapshots of GCC prior to 3.0.
10534     case $host_os in
10535       aix4 | aix4.[01] | aix4.[01].*)
10536       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10537            echo ' yes '
10538            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10539         :
10540       else
10541         can_build_shared=no
10542       fi
10543       ;;
10544     esac
10545     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10546     # soname into executable. Probably we can add versioning support to
10547     # collect2, so additional links can be useful in future.
10548     if test "$aix_use_runtimelinking" = yes; then
10549       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10550       # instead of lib<name>.a to let people know that these are not
10551       # typical AIX shared libraries.
10552       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10553     else
10554       # We preserve .a as extension for shared libraries through AIX4.2
10555       # and later when we are not doing run time linking.
10556       library_names_spec='${libname}${release}.a $libname.a'
10557       soname_spec='${libname}${release}${shared_ext}$major'
10558     fi
10559     shlibpath_var=LIBPATH
10560   fi
10561   ;;
10562
10563 amigaos*)
10564   case $host_cpu in
10565   powerpc)
10566     # Since July 2007 AmigaOS4 officially supports .so libraries.
10567     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10568     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10569     ;;
10570   m68k)
10571     library_names_spec='$libname.ixlibrary $libname.a'
10572     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10573     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'
10574     ;;
10575   esac
10576   ;;
10577
10578 beos*)
10579   library_names_spec='${libname}${shared_ext}'
10580   dynamic_linker="$host_os ld.so"
10581   shlibpath_var=LIBRARY_PATH
10582   ;;
10583
10584 bsdi[45]*)
10585   version_type=linux # correct to gnu/linux during the next big refactor
10586   need_version=no
10587   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10588   soname_spec='${libname}${release}${shared_ext}$major'
10589   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10590   shlibpath_var=LD_LIBRARY_PATH
10591   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10592   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10593   # the default ld.so.conf also contains /usr/contrib/lib and
10594   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10595   # libtool to hard-code these into programs
10596   ;;
10597
10598 cygwin* | mingw* | pw32* | cegcc*)
10599   version_type=windows
10600   shrext_cmds=".dll"
10601   need_version=no
10602   need_lib_prefix=no
10603
10604   case $GCC,$cc_basename in
10605   yes,*)
10606     # gcc
10607     library_names_spec='$libname.dll.a'
10608     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10609     postinstall_cmds='base_file=`basename \${file}`~
10610       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10611       dldir=$destdir/`dirname \$dlpath`~
10612       test -d \$dldir || mkdir -p \$dldir~
10613       $install_prog $dir/$dlname \$dldir/$dlname~
10614       chmod a+x \$dldir/$dlname~
10615       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10616         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10617       fi'
10618     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10619       dlpath=$dir/\$dldll~
10620        $RM \$dlpath'
10621     shlibpath_overrides_runpath=yes
10622
10623     case $host_os in
10624     cygwin*)
10625       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10626       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10627
10628       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10629       ;;
10630     mingw* | cegcc*)
10631       # MinGW DLLs use traditional 'lib' prefix
10632       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10633       ;;
10634     pw32*)
10635       # pw32 DLLs use 'pw' prefix rather than 'lib'
10636       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10637       ;;
10638     esac
10639     dynamic_linker='Win32 ld.exe'
10640     ;;
10641
10642   *,cl*)
10643     # Native MSVC
10644     libname_spec='$name'
10645     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10646     library_names_spec='${libname}.dll.lib'
10647
10648     case $build_os in
10649     mingw*)
10650       sys_lib_search_path_spec=
10651       lt_save_ifs=$IFS
10652       IFS=';'
10653       for lt_path in $LIB
10654       do
10655         IFS=$lt_save_ifs
10656         # Let DOS variable expansion print the short 8.3 style file name.
10657         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10658         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10659       done
10660       IFS=$lt_save_ifs
10661       # Convert to MSYS style.
10662       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10663       ;;
10664     cygwin*)
10665       # Convert to unix form, then to dos form, then back to unix form
10666       # but this time dos style (no spaces!) so that the unix form looks
10667       # like /cygdrive/c/PROGRA~1:/cygdr...
10668       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10669       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10670       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10671       ;;
10672     *)
10673       sys_lib_search_path_spec="$LIB"
10674       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10675         # It is most probably a Windows format PATH.
10676         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10677       else
10678         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10679       fi
10680       # FIXME: find the short name or the path components, as spaces are
10681       # common. (e.g. "Program Files" -> "PROGRA~1")
10682       ;;
10683     esac
10684
10685     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10686     postinstall_cmds='base_file=`basename \${file}`~
10687       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10688       dldir=$destdir/`dirname \$dlpath`~
10689       test -d \$dldir || mkdir -p \$dldir~
10690       $install_prog $dir/$dlname \$dldir/$dlname'
10691     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10692       dlpath=$dir/\$dldll~
10693        $RM \$dlpath'
10694     shlibpath_overrides_runpath=yes
10695     dynamic_linker='Win32 link.exe'
10696     ;;
10697
10698   *)
10699     # Assume MSVC wrapper
10700     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10701     dynamic_linker='Win32 ld.exe'
10702     ;;
10703   esac
10704   # FIXME: first we should search . and the directory the executable is in
10705   shlibpath_var=PATH
10706   ;;
10707
10708 darwin* | rhapsody*)
10709   dynamic_linker="$host_os dyld"
10710   version_type=darwin
10711   need_lib_prefix=no
10712   need_version=no
10713   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10714   soname_spec='${libname}${release}${major}$shared_ext'
10715   shlibpath_overrides_runpath=yes
10716   shlibpath_var=DYLD_LIBRARY_PATH
10717   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10718
10719   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10720   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10721   ;;
10722
10723 dgux*)
10724   version_type=linux # correct to gnu/linux during the next big refactor
10725   need_lib_prefix=no
10726   need_version=no
10727   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10728   soname_spec='${libname}${release}${shared_ext}$major'
10729   shlibpath_var=LD_LIBRARY_PATH
10730   ;;
10731
10732 freebsd* | dragonfly*)
10733   # DragonFly does not have aout.  When/if they implement a new
10734   # versioning mechanism, adjust this.
10735   if test -x /usr/bin/objformat; then
10736     objformat=`/usr/bin/objformat`
10737   else
10738     case $host_os in
10739     freebsd[23].*) objformat=aout ;;
10740     *) objformat=elf ;;
10741     esac
10742   fi
10743   version_type=freebsd-$objformat
10744   case $version_type in
10745     freebsd-elf*)
10746       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10747       need_version=no
10748       need_lib_prefix=no
10749       ;;
10750     freebsd-*)
10751       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10752       need_version=yes
10753       ;;
10754   esac
10755   shlibpath_var=LD_LIBRARY_PATH
10756   case $host_os in
10757   freebsd2.*)
10758     shlibpath_overrides_runpath=yes
10759     ;;
10760   freebsd3.[01]* | freebsdelf3.[01]*)
10761     shlibpath_overrides_runpath=yes
10762     hardcode_into_libs=yes
10763     ;;
10764   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10765   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10766     shlibpath_overrides_runpath=no
10767     hardcode_into_libs=yes
10768     ;;
10769   *) # from 4.6 on, and DragonFly
10770     shlibpath_overrides_runpath=yes
10771     hardcode_into_libs=yes
10772     ;;
10773   esac
10774   ;;
10775
10776 gnu*)
10777   version_type=linux # correct to gnu/linux during the next big refactor
10778   need_lib_prefix=no
10779   need_version=no
10780   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10781   soname_spec='${libname}${release}${shared_ext}$major'
10782   shlibpath_var=LD_LIBRARY_PATH
10783   shlibpath_overrides_runpath=no
10784   hardcode_into_libs=yes
10785   ;;
10786
10787 haiku*)
10788   version_type=linux # correct to gnu/linux during the next big refactor
10789   need_lib_prefix=no
10790   need_version=no
10791   dynamic_linker="$host_os runtime_loader"
10792   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10793   soname_spec='${libname}${release}${shared_ext}$major'
10794   shlibpath_var=LIBRARY_PATH
10795   shlibpath_overrides_runpath=yes
10796   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10797   hardcode_into_libs=yes
10798   ;;
10799
10800 hpux9* | hpux10* | hpux11*)
10801   # Give a soname corresponding to the major version so that dld.sl refuses to
10802   # link against other versions.
10803   version_type=sunos
10804   need_lib_prefix=no
10805   need_version=no
10806   case $host_cpu in
10807   ia64*)
10808     shrext_cmds='.so'
10809     hardcode_into_libs=yes
10810     dynamic_linker="$host_os dld.so"
10811     shlibpath_var=LD_LIBRARY_PATH
10812     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10813     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10814     soname_spec='${libname}${release}${shared_ext}$major'
10815     if test "X$HPUX_IA64_MODE" = X32; then
10816       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10817     else
10818       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10819     fi
10820     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10821     ;;
10822   hppa*64*)
10823     shrext_cmds='.sl'
10824     hardcode_into_libs=yes
10825     dynamic_linker="$host_os dld.sl"
10826     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10827     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10828     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10829     soname_spec='${libname}${release}${shared_ext}$major'
10830     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10831     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10832     ;;
10833   *)
10834     shrext_cmds='.sl'
10835     dynamic_linker="$host_os dld.sl"
10836     shlibpath_var=SHLIB_PATH
10837     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10838     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10839     soname_spec='${libname}${release}${shared_ext}$major'
10840     ;;
10841   esac
10842   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10843   postinstall_cmds='chmod 555 $lib'
10844   # or fails outright, so override atomically:
10845   install_override_mode=555
10846   ;;
10847
10848 interix[3-9]*)
10849   version_type=linux # correct to gnu/linux during the next big refactor
10850   need_lib_prefix=no
10851   need_version=no
10852   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10853   soname_spec='${libname}${release}${shared_ext}$major'
10854   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10855   shlibpath_var=LD_LIBRARY_PATH
10856   shlibpath_overrides_runpath=no
10857   hardcode_into_libs=yes
10858   ;;
10859
10860 irix5* | irix6* | nonstopux*)
10861   case $host_os in
10862     nonstopux*) version_type=nonstopux ;;
10863     *)
10864         if test "$lt_cv_prog_gnu_ld" = yes; then
10865                 version_type=linux # correct to gnu/linux during the next big refactor
10866         else
10867                 version_type=irix
10868         fi ;;
10869   esac
10870   need_lib_prefix=no
10871   need_version=no
10872   soname_spec='${libname}${release}${shared_ext}$major'
10873   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10874   case $host_os in
10875   irix5* | nonstopux*)
10876     libsuff= shlibsuff=
10877     ;;
10878   *)
10879     case $LD in # libtool.m4 will add one of these switches to LD
10880     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10881       libsuff= shlibsuff= libmagic=32-bit;;
10882     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10883       libsuff=32 shlibsuff=N32 libmagic=N32;;
10884     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10885       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10886     *) libsuff= shlibsuff= libmagic=never-match;;
10887     esac
10888     ;;
10889   esac
10890   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10891   shlibpath_overrides_runpath=no
10892   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10893   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10894   hardcode_into_libs=yes
10895   ;;
10896
10897 # No shared lib support for Linux oldld, aout, or coff.
10898 linux*oldld* | linux*aout* | linux*coff*)
10899   dynamic_linker=no
10900   ;;
10901
10902 # This must be glibc/ELF.
10903 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10904   version_type=linux # correct to gnu/linux during the next big refactor
10905   need_lib_prefix=no
10906   need_version=no
10907   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10908   soname_spec='${libname}${release}${shared_ext}$major'
10909   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10910   shlibpath_var=LD_LIBRARY_PATH
10911   shlibpath_overrides_runpath=no
10912
10913   # Some binutils ld are patched to set DT_RUNPATH
10914   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10915   $as_echo_n "(cached) " >&6
10916 else
10917   lt_cv_shlibpath_overrides_runpath=no
10918     save_LDFLAGS=$LDFLAGS
10919     save_libdir=$libdir
10920     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10921          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10922     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10923 /* end confdefs.h.  */
10924
10925 int
10926 main ()
10927 {
10928
10929   ;
10930   return 0;
10931 }
10932 _ACEOF
10933 if ac_fn_c_try_link "$LINENO"; then :
10934   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10935   lt_cv_shlibpath_overrides_runpath=yes
10936 fi
10937 fi
10938 rm -f core conftest.err conftest.$ac_objext \
10939     conftest$ac_exeext conftest.$ac_ext
10940     LDFLAGS=$save_LDFLAGS
10941     libdir=$save_libdir
10942
10943 fi
10944
10945   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10946
10947   # This implies no fast_install, which is unacceptable.
10948   # Some rework will be needed to allow for fast_install
10949   # before this can be enabled.
10950   hardcode_into_libs=yes
10951
10952   # Append ld.so.conf contents to the search path
10953   if test -f /etc/ld.so.conf; then
10954     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' ' '`
10955     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
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 netbsdelf*-gnu)
10968   version_type=linux
10969   need_lib_prefix=no
10970   need_version=no
10971   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10972   soname_spec='${libname}${release}${shared_ext}$major'
10973   shlibpath_var=LD_LIBRARY_PATH
10974   shlibpath_overrides_runpath=no
10975   hardcode_into_libs=yes
10976   dynamic_linker='NetBSD ld.elf_so'
10977   ;;
10978
10979 netbsd*)
10980   version_type=sunos
10981   need_lib_prefix=no
10982   need_version=no
10983   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10984     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10985     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10986     dynamic_linker='NetBSD (a.out) ld.so'
10987   else
10988     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10989     soname_spec='${libname}${release}${shared_ext}$major'
10990     dynamic_linker='NetBSD ld.elf_so'
10991   fi
10992   shlibpath_var=LD_LIBRARY_PATH
10993   shlibpath_overrides_runpath=yes
10994   hardcode_into_libs=yes
10995   ;;
10996
10997 newsos6)
10998   version_type=linux # correct to gnu/linux during the next big refactor
10999   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11000   shlibpath_var=LD_LIBRARY_PATH
11001   shlibpath_overrides_runpath=yes
11002   ;;
11003
11004 *nto* | *qnx*)
11005   version_type=qnx
11006   need_lib_prefix=no
11007   need_version=no
11008   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11009   soname_spec='${libname}${release}${shared_ext}$major'
11010   shlibpath_var=LD_LIBRARY_PATH
11011   shlibpath_overrides_runpath=no
11012   hardcode_into_libs=yes
11013   dynamic_linker='ldqnx.so'
11014   ;;
11015
11016 openbsd*)
11017   version_type=sunos
11018   sys_lib_dlsearch_path_spec="/usr/lib"
11019   need_lib_prefix=no
11020   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11021   case $host_os in
11022     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11023     *)                          need_version=no  ;;
11024   esac
11025   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11026   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11027   shlibpath_var=LD_LIBRARY_PATH
11028   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11029     case $host_os in
11030       openbsd2.[89] | openbsd2.[89].*)
11031         shlibpath_overrides_runpath=no
11032         ;;
11033       *)
11034         shlibpath_overrides_runpath=yes
11035         ;;
11036       esac
11037   else
11038     shlibpath_overrides_runpath=yes
11039   fi
11040   ;;
11041
11042 os2*)
11043   libname_spec='$name'
11044   shrext_cmds=".dll"
11045   need_lib_prefix=no
11046   library_names_spec='$libname${shared_ext} $libname.a'
11047   dynamic_linker='OS/2 ld.exe'
11048   shlibpath_var=LIBPATH
11049   ;;
11050
11051 osf3* | osf4* | osf5*)
11052   version_type=osf
11053   need_lib_prefix=no
11054   need_version=no
11055   soname_spec='${libname}${release}${shared_ext}$major'
11056   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11057   shlibpath_var=LD_LIBRARY_PATH
11058   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11059   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11060   ;;
11061
11062 rdos*)
11063   dynamic_linker=no
11064   ;;
11065
11066 solaris*)
11067   version_type=linux # correct to gnu/linux during the next big refactor
11068   need_lib_prefix=no
11069   need_version=no
11070   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11071   soname_spec='${libname}${release}${shared_ext}$major'
11072   shlibpath_var=LD_LIBRARY_PATH
11073   shlibpath_overrides_runpath=yes
11074   hardcode_into_libs=yes
11075   # ldd complains unless libraries are executable
11076   postinstall_cmds='chmod +x $lib'
11077   ;;
11078
11079 sunos4*)
11080   version_type=sunos
11081   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11082   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11083   shlibpath_var=LD_LIBRARY_PATH
11084   shlibpath_overrides_runpath=yes
11085   if test "$with_gnu_ld" = yes; then
11086     need_lib_prefix=no
11087   fi
11088   need_version=yes
11089   ;;
11090
11091 sysv4 | sysv4.3*)
11092   version_type=linux # correct to gnu/linux during the next big refactor
11093   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11094   soname_spec='${libname}${release}${shared_ext}$major'
11095   shlibpath_var=LD_LIBRARY_PATH
11096   case $host_vendor in
11097     sni)
11098       shlibpath_overrides_runpath=no
11099       need_lib_prefix=no
11100       runpath_var=LD_RUN_PATH
11101       ;;
11102     siemens)
11103       need_lib_prefix=no
11104       ;;
11105     motorola)
11106       need_lib_prefix=no
11107       need_version=no
11108       shlibpath_overrides_runpath=no
11109       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11110       ;;
11111   esac
11112   ;;
11113
11114 sysv4*MP*)
11115   if test -d /usr/nec ;then
11116     version_type=linux # correct to gnu/linux during the next big refactor
11117     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11118     soname_spec='$libname${shared_ext}.$major'
11119     shlibpath_var=LD_LIBRARY_PATH
11120   fi
11121   ;;
11122
11123 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11124   version_type=freebsd-elf
11125   need_lib_prefix=no
11126   need_version=no
11127   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11128   soname_spec='${libname}${release}${shared_ext}$major'
11129   shlibpath_var=LD_LIBRARY_PATH
11130   shlibpath_overrides_runpath=yes
11131   hardcode_into_libs=yes
11132   if test "$with_gnu_ld" = yes; then
11133     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11134   else
11135     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11136     case $host_os in
11137       sco3.2v5*)
11138         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11139         ;;
11140     esac
11141   fi
11142   sys_lib_dlsearch_path_spec='/usr/lib'
11143   ;;
11144
11145 tpf*)
11146   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11147   version_type=linux # correct to gnu/linux during the next big refactor
11148   need_lib_prefix=no
11149   need_version=no
11150   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11151   shlibpath_var=LD_LIBRARY_PATH
11152   shlibpath_overrides_runpath=no
11153   hardcode_into_libs=yes
11154   ;;
11155
11156 uts4*)
11157   version_type=linux # correct to gnu/linux during the next big refactor
11158   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11159   soname_spec='${libname}${release}${shared_ext}$major'
11160   shlibpath_var=LD_LIBRARY_PATH
11161   ;;
11162
11163 *)
11164   dynamic_linker=no
11165   ;;
11166 esac
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11168 $as_echo "$dynamic_linker" >&6; }
11169 test "$dynamic_linker" = no && can_build_shared=no
11170
11171 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11172 if test "$GCC" = yes; then
11173   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11174 fi
11175
11176 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11177   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11178 fi
11179 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11180   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11181 fi
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
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11275 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11276 hardcode_action=
11277 if test -n "$hardcode_libdir_flag_spec" ||
11278    test -n "$runpath_var" ||
11279    test "X$hardcode_automatic" = "Xyes" ; then
11280
11281   # We can hardcode non-existent directories.
11282   if test "$hardcode_direct" != no &&
11283      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11284      # have to relink, otherwise we might link with an installed library
11285      # when we should be linking with a yet-to-be-installed one
11286      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11287      test "$hardcode_minus_L" != no; then
11288     # Linking always hardcodes the temporary library directory.
11289     hardcode_action=relink
11290   else
11291     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11292     hardcode_action=immediate
11293   fi
11294 else
11295   # We cannot hardcode anything, or else we can only hardcode existing
11296   # directories.
11297   hardcode_action=unsupported
11298 fi
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11300 $as_echo "$hardcode_action" >&6; }
11301
11302 if test "$hardcode_action" = relink ||
11303    test "$inherit_rpath" = yes; then
11304   # Fast installation is not supported
11305   enable_fast_install=no
11306 elif test "$shlibpath_overrides_runpath" = yes ||
11307      test "$enable_shared" = no; then
11308   # Fast installation is not necessary
11309   enable_fast_install=needless
11310 fi
11311
11312
11313
11314
11315
11316
11317   if test "x$enable_dlopen" != xyes; then
11318   enable_dlopen=unknown
11319   enable_dlopen_self=unknown
11320   enable_dlopen_self_static=unknown
11321 else
11322   lt_cv_dlopen=no
11323   lt_cv_dlopen_libs=
11324
11325   case $host_os in
11326   beos*)
11327     lt_cv_dlopen="load_add_on"
11328     lt_cv_dlopen_libs=
11329     lt_cv_dlopen_self=yes
11330     ;;
11331
11332   mingw* | pw32* | cegcc*)
11333     lt_cv_dlopen="LoadLibrary"
11334     lt_cv_dlopen_libs=
11335     ;;
11336
11337   cygwin*)
11338     lt_cv_dlopen="dlopen"
11339     lt_cv_dlopen_libs=
11340     ;;
11341
11342   darwin*)
11343   # if libdl is installed we need to link against it
11344     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11345 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11346 if ${ac_cv_lib_dl_dlopen+:} false; then :
11347   $as_echo_n "(cached) " >&6
11348 else
11349   ac_check_lib_save_LIBS=$LIBS
11350 LIBS="-ldl  $LIBS"
11351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11352 /* end confdefs.h.  */
11353
11354 /* Override any GCC internal prototype to avoid an error.
11355    Use char because int might match the return type of a GCC
11356    builtin and then its argument prototype would still apply.  */
11357 #ifdef __cplusplus
11358 extern "C"
11359 #endif
11360 char dlopen ();
11361 int
11362 main ()
11363 {
11364 return dlopen ();
11365   ;
11366   return 0;
11367 }
11368 _ACEOF
11369 if ac_fn_c_try_link "$LINENO"; then :
11370   ac_cv_lib_dl_dlopen=yes
11371 else
11372   ac_cv_lib_dl_dlopen=no
11373 fi
11374 rm -f core conftest.err conftest.$ac_objext \
11375     conftest$ac_exeext conftest.$ac_ext
11376 LIBS=$ac_check_lib_save_LIBS
11377 fi
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11379 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11380 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11381   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11382 else
11383
11384     lt_cv_dlopen="dyld"
11385     lt_cv_dlopen_libs=
11386     lt_cv_dlopen_self=yes
11387
11388 fi
11389
11390     ;;
11391
11392   *)
11393     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11394 if test "x$ac_cv_func_shl_load" = xyes; then :
11395   lt_cv_dlopen="shl_load"
11396 else
11397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11398 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11399 if ${ac_cv_lib_dld_shl_load+:} false; then :
11400   $as_echo_n "(cached) " >&6
11401 else
11402   ac_check_lib_save_LIBS=$LIBS
11403 LIBS="-ldld  $LIBS"
11404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11405 /* end confdefs.h.  */
11406
11407 /* Override any GCC internal prototype to avoid an error.
11408    Use char because int might match the return type of a GCC
11409    builtin and then its argument prototype would still apply.  */
11410 #ifdef __cplusplus
11411 extern "C"
11412 #endif
11413 char shl_load ();
11414 int
11415 main ()
11416 {
11417 return shl_load ();
11418   ;
11419   return 0;
11420 }
11421 _ACEOF
11422 if ac_fn_c_try_link "$LINENO"; then :
11423   ac_cv_lib_dld_shl_load=yes
11424 else
11425   ac_cv_lib_dld_shl_load=no
11426 fi
11427 rm -f core conftest.err conftest.$ac_objext \
11428     conftest$ac_exeext conftest.$ac_ext
11429 LIBS=$ac_check_lib_save_LIBS
11430 fi
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11432 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11433 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11434   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11435 else
11436   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11437 if test "x$ac_cv_func_dlopen" = xyes; then :
11438   lt_cv_dlopen="dlopen"
11439 else
11440   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11441 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11442 if ${ac_cv_lib_dl_dlopen+:} false; then :
11443   $as_echo_n "(cached) " >&6
11444 else
11445   ac_check_lib_save_LIBS=$LIBS
11446 LIBS="-ldl  $LIBS"
11447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11448 /* end confdefs.h.  */
11449
11450 /* Override any GCC internal prototype to avoid an error.
11451    Use char because int might match the return type of a GCC
11452    builtin and then its argument prototype would still apply.  */
11453 #ifdef __cplusplus
11454 extern "C"
11455 #endif
11456 char dlopen ();
11457 int
11458 main ()
11459 {
11460 return dlopen ();
11461   ;
11462   return 0;
11463 }
11464 _ACEOF
11465 if ac_fn_c_try_link "$LINENO"; then :
11466   ac_cv_lib_dl_dlopen=yes
11467 else
11468   ac_cv_lib_dl_dlopen=no
11469 fi
11470 rm -f core conftest.err conftest.$ac_objext \
11471     conftest$ac_exeext conftest.$ac_ext
11472 LIBS=$ac_check_lib_save_LIBS
11473 fi
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11475 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11476 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11477   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11478 else
11479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11480 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11481 if ${ac_cv_lib_svld_dlopen+:} false; then :
11482   $as_echo_n "(cached) " >&6
11483 else
11484   ac_check_lib_save_LIBS=$LIBS
11485 LIBS="-lsvld  $LIBS"
11486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11487 /* end confdefs.h.  */
11488
11489 /* Override any GCC internal prototype to avoid an error.
11490    Use char because int might match the return type of a GCC
11491    builtin and then its argument prototype would still apply.  */
11492 #ifdef __cplusplus
11493 extern "C"
11494 #endif
11495 char dlopen ();
11496 int
11497 main ()
11498 {
11499 return dlopen ();
11500   ;
11501   return 0;
11502 }
11503 _ACEOF
11504 if ac_fn_c_try_link "$LINENO"; then :
11505   ac_cv_lib_svld_dlopen=yes
11506 else
11507   ac_cv_lib_svld_dlopen=no
11508 fi
11509 rm -f core conftest.err conftest.$ac_objext \
11510     conftest$ac_exeext conftest.$ac_ext
11511 LIBS=$ac_check_lib_save_LIBS
11512 fi
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11514 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11515 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11516   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11517 else
11518   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11519 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11520 if ${ac_cv_lib_dld_dld_link+:} false; then :
11521   $as_echo_n "(cached) " >&6
11522 else
11523   ac_check_lib_save_LIBS=$LIBS
11524 LIBS="-ldld  $LIBS"
11525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11526 /* end confdefs.h.  */
11527
11528 /* Override any GCC internal prototype to avoid an error.
11529    Use char because int might match the return type of a GCC
11530    builtin and then its argument prototype would still apply.  */
11531 #ifdef __cplusplus
11532 extern "C"
11533 #endif
11534 char dld_link ();
11535 int
11536 main ()
11537 {
11538 return dld_link ();
11539   ;
11540   return 0;
11541 }
11542 _ACEOF
11543 if ac_fn_c_try_link "$LINENO"; then :
11544   ac_cv_lib_dld_dld_link=yes
11545 else
11546   ac_cv_lib_dld_dld_link=no
11547 fi
11548 rm -f core conftest.err conftest.$ac_objext \
11549     conftest$ac_exeext conftest.$ac_ext
11550 LIBS=$ac_check_lib_save_LIBS
11551 fi
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11553 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11554 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11555   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11556 fi
11557
11558
11559 fi
11560
11561
11562 fi
11563
11564
11565 fi
11566
11567
11568 fi
11569
11570
11571 fi
11572
11573     ;;
11574   esac
11575
11576   if test "x$lt_cv_dlopen" != xno; then
11577     enable_dlopen=yes
11578   else
11579     enable_dlopen=no
11580   fi
11581
11582   case $lt_cv_dlopen in
11583   dlopen)
11584     save_CPPFLAGS="$CPPFLAGS"
11585     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11586
11587     save_LDFLAGS="$LDFLAGS"
11588     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11589
11590     save_LIBS="$LIBS"
11591     LIBS="$lt_cv_dlopen_libs $LIBS"
11592
11593     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11594 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11595 if ${lt_cv_dlopen_self+:} false; then :
11596   $as_echo_n "(cached) " >&6
11597 else
11598           if test "$cross_compiling" = yes; then :
11599   lt_cv_dlopen_self=cross
11600 else
11601   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11602   lt_status=$lt_dlunknown
11603   cat > conftest.$ac_ext <<_LT_EOF
11604 #line $LINENO "configure"
11605 #include "confdefs.h"
11606
11607 #if HAVE_DLFCN_H
11608 #include <dlfcn.h>
11609 #endif
11610
11611 #include <stdio.h>
11612
11613 #ifdef RTLD_GLOBAL
11614 #  define LT_DLGLOBAL           RTLD_GLOBAL
11615 #else
11616 #  ifdef DL_GLOBAL
11617 #    define LT_DLGLOBAL         DL_GLOBAL
11618 #  else
11619 #    define LT_DLGLOBAL         0
11620 #  endif
11621 #endif
11622
11623 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11624    find out it does not work in some platform. */
11625 #ifndef LT_DLLAZY_OR_NOW
11626 #  ifdef RTLD_LAZY
11627 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11628 #  else
11629 #    ifdef DL_LAZY
11630 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11631 #    else
11632 #      ifdef RTLD_NOW
11633 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11634 #      else
11635 #        ifdef DL_NOW
11636 #          define LT_DLLAZY_OR_NOW      DL_NOW
11637 #        else
11638 #          define LT_DLLAZY_OR_NOW      0
11639 #        endif
11640 #      endif
11641 #    endif
11642 #  endif
11643 #endif
11644
11645 /* When -fvisbility=hidden is used, assume the code has been annotated
11646    correspondingly for the symbols needed.  */
11647 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11648 int fnord () __attribute__((visibility("default")));
11649 #endif
11650
11651 int fnord () { return 42; }
11652 int main ()
11653 {
11654   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11655   int status = $lt_dlunknown;
11656
11657   if (self)
11658     {
11659       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11660       else
11661         {
11662           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11663           else puts (dlerror ());
11664         }
11665       /* dlclose (self); */
11666     }
11667   else
11668     puts (dlerror ());
11669
11670   return status;
11671 }
11672 _LT_EOF
11673   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11674   (eval $ac_link) 2>&5
11675   ac_status=$?
11676   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11677   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11678     (./conftest; exit; ) >&5 2>/dev/null
11679     lt_status=$?
11680     case x$lt_status in
11681       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11682       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11683       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11684     esac
11685   else :
11686     # compilation failed
11687     lt_cv_dlopen_self=no
11688   fi
11689 fi
11690 rm -fr conftest*
11691
11692
11693 fi
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11695 $as_echo "$lt_cv_dlopen_self" >&6; }
11696
11697     if test "x$lt_cv_dlopen_self" = xyes; then
11698       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11699       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11700 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11701 if ${lt_cv_dlopen_self_static+:} false; then :
11702   $as_echo_n "(cached) " >&6
11703 else
11704           if test "$cross_compiling" = yes; then :
11705   lt_cv_dlopen_self_static=cross
11706 else
11707   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11708   lt_status=$lt_dlunknown
11709   cat > conftest.$ac_ext <<_LT_EOF
11710 #line $LINENO "configure"
11711 #include "confdefs.h"
11712
11713 #if HAVE_DLFCN_H
11714 #include <dlfcn.h>
11715 #endif
11716
11717 #include <stdio.h>
11718
11719 #ifdef RTLD_GLOBAL
11720 #  define LT_DLGLOBAL           RTLD_GLOBAL
11721 #else
11722 #  ifdef DL_GLOBAL
11723 #    define LT_DLGLOBAL         DL_GLOBAL
11724 #  else
11725 #    define LT_DLGLOBAL         0
11726 #  endif
11727 #endif
11728
11729 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11730    find out it does not work in some platform. */
11731 #ifndef LT_DLLAZY_OR_NOW
11732 #  ifdef RTLD_LAZY
11733 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11734 #  else
11735 #    ifdef DL_LAZY
11736 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11737 #    else
11738 #      ifdef RTLD_NOW
11739 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11740 #      else
11741 #        ifdef DL_NOW
11742 #          define LT_DLLAZY_OR_NOW      DL_NOW
11743 #        else
11744 #          define LT_DLLAZY_OR_NOW      0
11745 #        endif
11746 #      endif
11747 #    endif
11748 #  endif
11749 #endif
11750
11751 /* When -fvisbility=hidden is used, assume the code has been annotated
11752    correspondingly for the symbols needed.  */
11753 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11754 int fnord () __attribute__((visibility("default")));
11755 #endif
11756
11757 int fnord () { return 42; }
11758 int main ()
11759 {
11760   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11761   int status = $lt_dlunknown;
11762
11763   if (self)
11764     {
11765       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11766       else
11767         {
11768           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11769           else puts (dlerror ());
11770         }
11771       /* dlclose (self); */
11772     }
11773   else
11774     puts (dlerror ());
11775
11776   return status;
11777 }
11778 _LT_EOF
11779   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11780   (eval $ac_link) 2>&5
11781   ac_status=$?
11782   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11783   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11784     (./conftest; exit; ) >&5 2>/dev/null
11785     lt_status=$?
11786     case x$lt_status in
11787       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11788       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11789       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11790     esac
11791   else :
11792     # compilation failed
11793     lt_cv_dlopen_self_static=no
11794   fi
11795 fi
11796 rm -fr conftest*
11797
11798
11799 fi
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11801 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11802     fi
11803
11804     CPPFLAGS="$save_CPPFLAGS"
11805     LDFLAGS="$save_LDFLAGS"
11806     LIBS="$save_LIBS"
11807     ;;
11808   esac
11809
11810   case $lt_cv_dlopen_self in
11811   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11812   *) enable_dlopen_self=unknown ;;
11813   esac
11814
11815   case $lt_cv_dlopen_self_static in
11816   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11817   *) enable_dlopen_self_static=unknown ;;
11818   esac
11819 fi
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837 striplib=
11838 old_striplib=
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11840 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11841 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11842   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11843   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11845 $as_echo "yes" >&6; }
11846 else
11847 # FIXME - insert some real tests, host_os isn't really good enough
11848   case $host_os in
11849   darwin*)
11850     if test -n "$STRIP" ; then
11851       striplib="$STRIP -x"
11852       old_striplib="$STRIP -S"
11853       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11854 $as_echo "yes" >&6; }
11855     else
11856       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11857 $as_echo "no" >&6; }
11858     fi
11859     ;;
11860   *)
11861     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11862 $as_echo "no" >&6; }
11863     ;;
11864   esac
11865 fi
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878   # Report which library types will actually be built
11879   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11880 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11882 $as_echo "$can_build_shared" >&6; }
11883
11884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11885 $as_echo_n "checking whether to build shared libraries... " >&6; }
11886   test "$can_build_shared" = "no" && enable_shared=no
11887
11888   # On AIX, shared libraries and static libraries use the same namespace, and
11889   # are all built from PIC.
11890   case $host_os in
11891   aix3*)
11892     test "$enable_shared" = yes && enable_static=no
11893     if test -n "$RANLIB"; then
11894       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11895       postinstall_cmds='$RANLIB $lib'
11896     fi
11897     ;;
11898
11899   aix[4-9]*)
11900     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11901       test "$enable_shared" = yes && enable_static=no
11902     fi
11903     ;;
11904   esac
11905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11906 $as_echo "$enable_shared" >&6; }
11907
11908   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11909 $as_echo_n "checking whether to build static libraries... " >&6; }
11910   # Make sure either enable_shared or enable_static is yes.
11911   test "$enable_shared" = yes || enable_static=yes
11912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11913 $as_echo "$enable_static" >&6; }
11914
11915
11916
11917
11918 fi
11919 ac_ext=c
11920 ac_cpp='$CPP $CPPFLAGS'
11921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11924
11925 CC="$lt_save_CC"
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941         ac_config_commands="$ac_config_commands libtool"
11942
11943
11944
11945
11946 # Only expand once:
11947
11948
11949
11950 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11951 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11952
11953
11954
11955 cat >>confdefs.h <<_ACEOF
11956 #define VMAJ 1
11957 _ACEOF
11958
11959
11960 cat >>confdefs.h <<_ACEOF
11961 #define VMIN 7
11962 _ACEOF
11963
11964
11965 cat >>confdefs.h <<_ACEOF
11966 #define VMIC 2
11967 _ACEOF
11968
11969
11970 cat >>confdefs.h <<_ACEOF
11971 #define VREV 0
11972 _ACEOF
11973
11974 version_info="8:2:7"
11975 release_info=""
11976
11977
11978 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11979 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11980 VMAJ=1
11981
11982
11983
11984 cat >>confdefs.h <<_ACEOF
11985 #define SHARED_LIB_SUFFIX "$shrext_cmds"
11986 _ACEOF
11987
11988
11989 ### Default options with respect to host
11990
11991
11992
11993
11994 case "$host_os" in
11995    mingw32ce*)
11996       MODULE_ARCH="$host_os-$host_cpu"
11997       install_vim="no"
11998       have_edje_cc="no"
11999       ;;
12000    *)
12001       MODULE_ARCH="$host_os-$host_cpu-1.0.0"
12002       install_vim="yes"
12003       have_edje_cc="yes"
12004       ;;
12005 esac
12006
12007 requirement_edje=""
12008
12009
12010
12011 cat >>confdefs.h <<_ACEOF
12012 #define MODULE_ARCH "${MODULE_ARCH}"
12013 _ACEOF
12014
12015
12016 ### Additional options to configure
12017
12018 # Check whether --enable-amalgamation was given.
12019 if test "${enable_amalgamation+set}" = set; then :
12020   enableval=$enable_amalgamation; if test "x${enableval}" = "xyes"; then
12021        do_amalgamation="yes"
12022     else
12023        do_amalgamation="no"
12024     fi
12025
12026 else
12027   do_amalgamation="no"
12028
12029 fi
12030
12031  if test "x${do_amalgamation}" = "xyes"; then
12032   EDJE_AMALGAMATION_TRUE=
12033   EDJE_AMALGAMATION_FALSE='#'
12034 else
12035   EDJE_AMALGAMATION_TRUE='#'
12036   EDJE_AMALGAMATION_FALSE=
12037 fi
12038
12039
12040
12041
12042
12043
12044
12045 # Check whether --with-edje-cc was given.
12046 if test "${with_edje_cc+set}" = set; then :
12047   withval=$with_edje_cc; _efl_with_binary=${withval}
12048 else
12049   _efl_with_binary=$(pkg-config --variable=prefix edje)/bin/edje_cc
12050 fi
12051
12052
12053 edje_cc=${_efl_with_binary}
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: edje_cc set to ${_efl_with_binary}" >&5
12055 $as_echo "$as_me: edje_cc set to ${_efl_with_binary}" >&6;}
12056
12057 with_binary_edje_cc=${_efl_with_binary}
12058
12059
12060
12061
12062
12063
12064
12065
12066 have_edje_cc="yes"
12067
12068
12069 # Check whether --enable-edje-cc was given.
12070 if test "${enable_edje_cc+set}" = set; then :
12071   enableval=$enable_edje_cc;
12072     if test "x${enableval}" = "xyes" ; then
12073        have_edje_cc="yes"
12074     else
12075        have_edje_cc="no"
12076     fi
12077
12078 fi
12079
12080
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_cc binary" >&5
12082 $as_echo_n "checking whether to build edje_cc binary... " >&6; }
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_cc" >&5
12084 $as_echo "$have_edje_cc" >&6; }
12085
12086 if test "x$have_edje_cc" = "xyes"; then
12087    EDJE_CC_PRG=edje_cc${EXEEXT}
12088 fi
12089
12090
12091
12092  if test "x$have_edje_cc" = "xyes"; then
12093   BUILD_EDJE_CC_TRUE=
12094   BUILD_EDJE_CC_FALSE='#'
12095 else
12096   BUILD_EDJE_CC_TRUE='#'
12097   BUILD_EDJE_CC_FALSE=
12098 fi
12099
12100
12101 if test "x$have_edje_cc" = "xyes"; then :
12102
12103 fi
12104
12105
12106
12107
12108
12109 have_edje_decc="yes"
12110
12111
12112 # Check whether --enable-edje-decc was given.
12113 if test "${enable_edje_decc+set}" = set; then :
12114   enableval=$enable_edje_decc;
12115     if test "x${enableval}" = "xyes" ; then
12116        have_edje_decc="yes"
12117     else
12118        have_edje_decc="no"
12119     fi
12120
12121 fi
12122
12123
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_decc binary" >&5
12125 $as_echo_n "checking whether to build edje_decc binary... " >&6; }
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_decc" >&5
12127 $as_echo "$have_edje_decc" >&6; }
12128
12129 if test "x$have_edje_decc" = "xyes"; then
12130    EDJE_DECC_PRG=edje_decc${EXEEXT}
12131 fi
12132
12133
12134
12135  if test "x$have_edje_decc" = "xyes"; then
12136   BUILD_EDJE_DECC_TRUE=
12137   BUILD_EDJE_DECC_FALSE='#'
12138 else
12139   BUILD_EDJE_DECC_TRUE='#'
12140   BUILD_EDJE_DECC_FALSE=
12141 fi
12142
12143
12144 if test "x$have_edje_decc" = "xyes"; then :
12145
12146 fi
12147
12148
12149
12150
12151
12152 have_edje_recc="yes"
12153
12154
12155 # Check whether --enable-edje-recc was given.
12156 if test "${enable_edje_recc+set}" = set; then :
12157   enableval=$enable_edje_recc;
12158     if test "x${enableval}" = "xyes" ; then
12159        have_edje_recc="yes"
12160     else
12161        have_edje_recc="no"
12162     fi
12163
12164 fi
12165
12166
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_recc binary" >&5
12168 $as_echo_n "checking whether to build edje_recc binary... " >&6; }
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_recc" >&5
12170 $as_echo "$have_edje_recc" >&6; }
12171
12172 if test "x$have_edje_recc" = "xyes"; then
12173    EDJE_RECC_PRG=edje_recc${EXEEXT}
12174 fi
12175
12176
12177
12178  if test "x$have_edje_recc" = "xyes"; then
12179   BUILD_EDJE_RECC_TRUE=
12180   BUILD_EDJE_RECC_FALSE='#'
12181 else
12182   BUILD_EDJE_RECC_TRUE='#'
12183   BUILD_EDJE_RECC_FALSE=
12184 fi
12185
12186
12187 if test "x$have_edje_recc" = "xyes"; then :
12188
12189 fi
12190
12191
12192
12193
12194
12195 have_edje_player="yes"
12196
12197
12198 # Check whether --enable-edje-player was given.
12199 if test "${enable_edje_player+set}" = set; then :
12200   enableval=$enable_edje_player;
12201     if test "x${enableval}" = "xyes" ; then
12202        have_edje_player="yes"
12203     else
12204        have_edje_player="no"
12205     fi
12206
12207 fi
12208
12209
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_player binary" >&5
12211 $as_echo_n "checking whether to build edje_player binary... " >&6; }
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_player" >&5
12213 $as_echo "$have_edje_player" >&6; }
12214
12215 if test "x$have_edje_player" = "xyes"; then
12216    EDJE_PLAYER_PRG=edje_player${EXEEXT}
12217 fi
12218
12219
12220
12221  if test "x$have_edje_player" = "xyes"; then
12222   BUILD_EDJE_PLAYER_TRUE=
12223   BUILD_EDJE_PLAYER_FALSE='#'
12224 else
12225   BUILD_EDJE_PLAYER_TRUE='#'
12226   BUILD_EDJE_PLAYER_FALSE=
12227 fi
12228
12229
12230 if test "x$have_edje_player" = "xyes"; then :
12231
12232 fi
12233
12234
12235
12236
12237
12238 have_edje_inspector="yes"
12239
12240
12241 # Check whether --enable-edje-inspector was given.
12242 if test "${enable_edje_inspector+set}" = set; then :
12243   enableval=$enable_edje_inspector;
12244     if test "x${enableval}" = "xyes" ; then
12245        have_edje_inspector="yes"
12246     else
12247        have_edje_inspector="no"
12248     fi
12249
12250 fi
12251
12252
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_inspector binary" >&5
12254 $as_echo_n "checking whether to build edje_inspector binary... " >&6; }
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_inspector" >&5
12256 $as_echo "$have_edje_inspector" >&6; }
12257
12258 if test "x$have_edje_inspector" = "xyes"; then
12259    EDJE_INSPECTOR_PRG=edje_inspector${EXEEXT}
12260 fi
12261
12262
12263
12264  if test "x$have_edje_inspector" = "xyes"; then
12265   BUILD_EDJE_INSPECTOR_TRUE=
12266   BUILD_EDJE_INSPECTOR_FALSE='#'
12267 else
12268   BUILD_EDJE_INSPECTOR_TRUE='#'
12269   BUILD_EDJE_INSPECTOR_FALSE=
12270 fi
12271
12272
12273 if test "x$have_edje_inspector" = "xyes"; then :
12274
12275 fi
12276
12277
12278
12279
12280
12281 have_edje_external_inspector="yes"
12282
12283
12284 # Check whether --enable-edje-external-inspector was given.
12285 if test "${enable_edje_external_inspector+set}" = set; then :
12286   enableval=$enable_edje_external_inspector;
12287     if test "x${enableval}" = "xyes" ; then
12288        have_edje_external_inspector="yes"
12289     else
12290        have_edje_external_inspector="no"
12291     fi
12292
12293 fi
12294
12295
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_external_inspector binary" >&5
12297 $as_echo_n "checking whether to build edje_external_inspector binary... " >&6; }
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_external_inspector" >&5
12299 $as_echo "$have_edje_external_inspector" >&6; }
12300
12301 if test "x$have_edje_external_inspector" = "xyes"; then
12302    EDJE_EXTERNAL_INSPECTOR_PRG=edje_external_inspector${EXEEXT}
12303 fi
12304
12305
12306
12307  if test "x$have_edje_external_inspector" = "xyes"; then
12308   BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE=
12309   BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE='#'
12310 else
12311   BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE='#'
12312   BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE=
12313 fi
12314
12315
12316 if test "x$have_edje_external_inspector" = "xyes"; then :
12317
12318 fi
12319
12320
12321
12322
12323
12324 have_edje_watch="yes"
12325
12326
12327 # Check whether --enable-edje-watch was given.
12328 if test "${enable_edje_watch+set}" = set; then :
12329   enableval=$enable_edje_watch;
12330     if test "x${enableval}" = "xyes" ; then
12331        have_edje_watch="yes"
12332     else
12333        have_edje_watch="no"
12334     fi
12335
12336 fi
12337
12338
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_watch binary" >&5
12340 $as_echo_n "checking whether to build edje_watch binary... " >&6; }
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_watch" >&5
12342 $as_echo "$have_edje_watch" >&6; }
12343
12344 if test "x$have_edje_watch" = "xyes"; then
12345    EDJE_WATCH_PRG=edje_watch${EXEEXT}
12346 fi
12347
12348
12349
12350  if test "x$have_edje_watch" = "xyes"; then
12351   BUILD_EDJE_WATCH_TRUE=
12352   BUILD_EDJE_WATCH_FALSE='#'
12353 else
12354   BUILD_EDJE_WATCH_TRUE='#'
12355   BUILD_EDJE_WATCH_FALSE=
12356 fi
12357
12358
12359 if test "x$have_edje_watch" = "xyes"; then :
12360
12361 fi
12362
12363
12364
12365 # Optional EDJE_PROGRAM_CACHE (use much more ram, but increase speed in some cases)
12366 want_edje_program_cache="no"
12367
12368 # Check whether --enable-edje-program-cache was given.
12369 if test "${enable_edje_program_cache+set}" = set; then :
12370   enableval=$enable_edje_program_cache; want_edje_program_cache=$enableval
12371
12372 fi
12373
12374  if test "x${want_edje_program_cache}" = "xyes"; then
12375   EDJE_PROGRAM_CACHE_TRUE=
12376   EDJE_PROGRAM_CACHE_FALSE='#'
12377 else
12378   EDJE_PROGRAM_CACHE_TRUE='#'
12379   EDJE_PROGRAM_CACHE_FALSE=
12380 fi
12381
12382
12383 if test "x${want_edje_program_cache}" = "xyes" ; then
12384
12385 $as_echo "#define EDJE_PROGRAM_CACHE 1" >>confdefs.h
12386
12387 fi
12388
12389 # Optional EDJE_CALC_CACHE (use more ram, but increase speed by reducing the need to recalculate static stuff)
12390 want_edje_calc_cache="yes"
12391
12392 # Check whether --enable-edje-calc-cache was given.
12393 if test "${enable_edje_calc_cache+set}" = set; then :
12394   enableval=$enable_edje_calc_cache; want_edje_calc_cache=$enableval
12395
12396 fi
12397
12398  if test "x${want_edje_calc_cache}" = "xyes"; then
12399   EDJE_CALC_CACHE_TRUE=
12400   EDJE_CALC_CACHE_FALSE='#'
12401 else
12402   EDJE_CALC_CACHE_TRUE='#'
12403   EDJE_CALC_CACHE_FALSE=
12404 fi
12405
12406
12407 if test "x${want_edje_calc_cache}" = "xyes" ; then
12408
12409 $as_echo "#define EDJE_CALC_CACHE 1" >>confdefs.h
12410
12411 fi
12412
12413 # Enable Fixed Point use
12414 want_fixed_point="no"
12415
12416 # Check whether --enable-fixed-point was given.
12417 if test "${enable_fixed_point+set}" = set; then :
12418   enableval=$enable_fixed_point; want_fixed_point=$enableval
12419
12420 fi
12421
12422  if test "x${want_fixed_point}" = "xyes"; then
12423   BUILD_EDJE_FP_TRUE=
12424   BUILD_EDJE_FP_FALSE='#'
12425 else
12426   BUILD_EDJE_FP_TRUE='#'
12427   BUILD_EDJE_FP_FALSE=
12428 fi
12429
12430
12431 if test "x${want_fixed_point}" = "xyes" ; then
12432
12433 $as_echo "#define BUILD_EDJE_FP 1" >>confdefs.h
12434
12435 fi
12436
12437 install_vim="yes"
12438
12439 # Check whether --with-vim was given.
12440 if test "${with_vim+set}" = set; then :
12441   withval=$with_vim;
12442      if test -d "${withval}"; then
12443         vimdir="${withval}"
12444      fi
12445
12446
12447 fi
12448
12449
12450 if test "x${vimdir}" = "x" ; then
12451    if test -d "${prefix}/share/vim"; then
12452       vimdir="${prefix}/share/vim"
12453    elif test -d "/usr/share/vim"; then
12454       vimdir="/usr/share/vim"
12455    elif test -d "/usr/local/share/vim"; then
12456       vimdir="/usr/local/share/vim"
12457    elif test -d "/opt/share/vim"; then
12458       vimdir="/opt/share/vim"
12459    else
12460       install_vim="no"
12461    fi
12462 fi
12463
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for location of Vim data files" >&5
12465 $as_echo_n "checking for location of Vim data files... " >&6; }
12466
12467 if test "${install_vim}" = "yes"; then
12468    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vimdir" >&5
12469 $as_echo "$vimdir" >&6; }
12470 else
12471    { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found, EDC syntax file will not be installed" >&5
12472 $as_echo "Not found, EDC syntax file will not be installed" >&6; }
12473 fi
12474
12475
12476
12477 ### Checks for programs
12478 ac_ext=c
12479 ac_cpp='$CPP $CPPFLAGS'
12480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12483 if test -n "$ac_tool_prefix"; then
12484   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12485 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12487 $as_echo_n "checking for $ac_word... " >&6; }
12488 if ${ac_cv_prog_CC+:} false; then :
12489   $as_echo_n "(cached) " >&6
12490 else
12491   if test -n "$CC"; then
12492   ac_cv_prog_CC="$CC" # Let the user override the test.
12493 else
12494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12495 for as_dir in $PATH
12496 do
12497   IFS=$as_save_IFS
12498   test -z "$as_dir" && as_dir=.
12499     for ac_exec_ext in '' $ac_executable_extensions; do
12500   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12501     ac_cv_prog_CC="${ac_tool_prefix}gcc"
12502     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12503     break 2
12504   fi
12505 done
12506   done
12507 IFS=$as_save_IFS
12508
12509 fi
12510 fi
12511 CC=$ac_cv_prog_CC
12512 if test -n "$CC"; then
12513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12514 $as_echo "$CC" >&6; }
12515 else
12516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12517 $as_echo "no" >&6; }
12518 fi
12519
12520
12521 fi
12522 if test -z "$ac_cv_prog_CC"; then
12523   ac_ct_CC=$CC
12524   # Extract the first word of "gcc", so it can be a program name with args.
12525 set dummy gcc; ac_word=$2
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12527 $as_echo_n "checking for $ac_word... " >&6; }
12528 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12529   $as_echo_n "(cached) " >&6
12530 else
12531   if test -n "$ac_ct_CC"; then
12532   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12533 else
12534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12535 for as_dir in $PATH
12536 do
12537   IFS=$as_save_IFS
12538   test -z "$as_dir" && as_dir=.
12539     for ac_exec_ext in '' $ac_executable_extensions; do
12540   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12541     ac_cv_prog_ac_ct_CC="gcc"
12542     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12543     break 2
12544   fi
12545 done
12546   done
12547 IFS=$as_save_IFS
12548
12549 fi
12550 fi
12551 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12552 if test -n "$ac_ct_CC"; then
12553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12554 $as_echo "$ac_ct_CC" >&6; }
12555 else
12556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12557 $as_echo "no" >&6; }
12558 fi
12559
12560   if test "x$ac_ct_CC" = x; then
12561     CC=""
12562   else
12563     case $cross_compiling:$ac_tool_warned in
12564 yes:)
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12566 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12567 ac_tool_warned=yes ;;
12568 esac
12569     CC=$ac_ct_CC
12570   fi
12571 else
12572   CC="$ac_cv_prog_CC"
12573 fi
12574
12575 if test -z "$CC"; then
12576           if test -n "$ac_tool_prefix"; then
12577     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12578 set dummy ${ac_tool_prefix}cc; ac_word=$2
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12580 $as_echo_n "checking for $ac_word... " >&6; }
12581 if ${ac_cv_prog_CC+:} false; then :
12582   $as_echo_n "(cached) " >&6
12583 else
12584   if test -n "$CC"; then
12585   ac_cv_prog_CC="$CC" # Let the user override the test.
12586 else
12587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12588 for as_dir in $PATH
12589 do
12590   IFS=$as_save_IFS
12591   test -z "$as_dir" && as_dir=.
12592     for ac_exec_ext in '' $ac_executable_extensions; do
12593   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12594     ac_cv_prog_CC="${ac_tool_prefix}cc"
12595     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12596     break 2
12597   fi
12598 done
12599   done
12600 IFS=$as_save_IFS
12601
12602 fi
12603 fi
12604 CC=$ac_cv_prog_CC
12605 if test -n "$CC"; then
12606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12607 $as_echo "$CC" >&6; }
12608 else
12609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12610 $as_echo "no" >&6; }
12611 fi
12612
12613
12614   fi
12615 fi
12616 if test -z "$CC"; then
12617   # Extract the first word of "cc", so it can be a program name with args.
12618 set dummy cc; ac_word=$2
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12620 $as_echo_n "checking for $ac_word... " >&6; }
12621 if ${ac_cv_prog_CC+:} false; then :
12622   $as_echo_n "(cached) " >&6
12623 else
12624   if test -n "$CC"; then
12625   ac_cv_prog_CC="$CC" # Let the user override the test.
12626 else
12627   ac_prog_rejected=no
12628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12629 for as_dir in $PATH
12630 do
12631   IFS=$as_save_IFS
12632   test -z "$as_dir" && as_dir=.
12633     for ac_exec_ext in '' $ac_executable_extensions; do
12634   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12635     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12636        ac_prog_rejected=yes
12637        continue
12638      fi
12639     ac_cv_prog_CC="cc"
12640     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12641     break 2
12642   fi
12643 done
12644   done
12645 IFS=$as_save_IFS
12646
12647 if test $ac_prog_rejected = yes; then
12648   # We found a bogon in the path, so make sure we never use it.
12649   set dummy $ac_cv_prog_CC
12650   shift
12651   if test $# != 0; then
12652     # We chose a different compiler from the bogus one.
12653     # However, it has the same basename, so the bogon will be chosen
12654     # first if we set CC to just the basename; use the full file name.
12655     shift
12656     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12657   fi
12658 fi
12659 fi
12660 fi
12661 CC=$ac_cv_prog_CC
12662 if test -n "$CC"; then
12663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12664 $as_echo "$CC" >&6; }
12665 else
12666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12667 $as_echo "no" >&6; }
12668 fi
12669
12670
12671 fi
12672 if test -z "$CC"; then
12673   if test -n "$ac_tool_prefix"; then
12674   for ac_prog in cl.exe
12675   do
12676     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12677 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12679 $as_echo_n "checking for $ac_word... " >&6; }
12680 if ${ac_cv_prog_CC+:} false; then :
12681   $as_echo_n "(cached) " >&6
12682 else
12683   if test -n "$CC"; then
12684   ac_cv_prog_CC="$CC" # Let the user override the test.
12685 else
12686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12687 for as_dir in $PATH
12688 do
12689   IFS=$as_save_IFS
12690   test -z "$as_dir" && as_dir=.
12691     for ac_exec_ext in '' $ac_executable_extensions; do
12692   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12693     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12694     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12695     break 2
12696   fi
12697 done
12698   done
12699 IFS=$as_save_IFS
12700
12701 fi
12702 fi
12703 CC=$ac_cv_prog_CC
12704 if test -n "$CC"; then
12705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12706 $as_echo "$CC" >&6; }
12707 else
12708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12709 $as_echo "no" >&6; }
12710 fi
12711
12712
12713     test -n "$CC" && break
12714   done
12715 fi
12716 if test -z "$CC"; then
12717   ac_ct_CC=$CC
12718   for ac_prog in cl.exe
12719 do
12720   # Extract the first word of "$ac_prog", so it can be a program name with args.
12721 set dummy $ac_prog; ac_word=$2
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12723 $as_echo_n "checking for $ac_word... " >&6; }
12724 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12725   $as_echo_n "(cached) " >&6
12726 else
12727   if test -n "$ac_ct_CC"; then
12728   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12729 else
12730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12731 for as_dir in $PATH
12732 do
12733   IFS=$as_save_IFS
12734   test -z "$as_dir" && as_dir=.
12735     for ac_exec_ext in '' $ac_executable_extensions; do
12736   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12737     ac_cv_prog_ac_ct_CC="$ac_prog"
12738     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12739     break 2
12740   fi
12741 done
12742   done
12743 IFS=$as_save_IFS
12744
12745 fi
12746 fi
12747 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12748 if test -n "$ac_ct_CC"; then
12749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12750 $as_echo "$ac_ct_CC" >&6; }
12751 else
12752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12753 $as_echo "no" >&6; }
12754 fi
12755
12756
12757   test -n "$ac_ct_CC" && break
12758 done
12759
12760   if test "x$ac_ct_CC" = x; then
12761     CC=""
12762   else
12763     case $cross_compiling:$ac_tool_warned in
12764 yes:)
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12766 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12767 ac_tool_warned=yes ;;
12768 esac
12769     CC=$ac_ct_CC
12770   fi
12771 fi
12772
12773 fi
12774
12775
12776 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12777 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12778 as_fn_error $? "no acceptable C compiler found in \$PATH
12779 See \`config.log' for more details" "$LINENO" 5; }
12780
12781 # Provide some information about the compiler.
12782 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12783 set X $ac_compile
12784 ac_compiler=$2
12785 for ac_option in --version -v -V -qversion; do
12786   { { ac_try="$ac_compiler $ac_option >&5"
12787 case "(($ac_try" in
12788   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12789   *) ac_try_echo=$ac_try;;
12790 esac
12791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12792 $as_echo "$ac_try_echo"; } >&5
12793   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12794   ac_status=$?
12795   if test -s conftest.err; then
12796     sed '10a\
12797 ... rest of stderr output deleted ...
12798          10q' conftest.err >conftest.er1
12799     cat conftest.er1 >&5
12800   fi
12801   rm -f conftest.er1 conftest.err
12802   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12803   test $ac_status = 0; }
12804 done
12805
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12807 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12808 if ${ac_cv_c_compiler_gnu+:} false; then :
12809   $as_echo_n "(cached) " >&6
12810 else
12811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12812 /* end confdefs.h.  */
12813
12814 int
12815 main ()
12816 {
12817 #ifndef __GNUC__
12818        choke me
12819 #endif
12820
12821   ;
12822   return 0;
12823 }
12824 _ACEOF
12825 if ac_fn_c_try_compile "$LINENO"; then :
12826   ac_compiler_gnu=yes
12827 else
12828   ac_compiler_gnu=no
12829 fi
12830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12831 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12832
12833 fi
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12835 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12836 if test $ac_compiler_gnu = yes; then
12837   GCC=yes
12838 else
12839   GCC=
12840 fi
12841 ac_test_CFLAGS=${CFLAGS+set}
12842 ac_save_CFLAGS=$CFLAGS
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12844 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12845 if ${ac_cv_prog_cc_g+:} false; then :
12846   $as_echo_n "(cached) " >&6
12847 else
12848   ac_save_c_werror_flag=$ac_c_werror_flag
12849    ac_c_werror_flag=yes
12850    ac_cv_prog_cc_g=no
12851    CFLAGS="-g"
12852    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12853 /* end confdefs.h.  */
12854
12855 int
12856 main ()
12857 {
12858
12859   ;
12860   return 0;
12861 }
12862 _ACEOF
12863 if ac_fn_c_try_compile "$LINENO"; then :
12864   ac_cv_prog_cc_g=yes
12865 else
12866   CFLAGS=""
12867       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12868 /* end confdefs.h.  */
12869
12870 int
12871 main ()
12872 {
12873
12874   ;
12875   return 0;
12876 }
12877 _ACEOF
12878 if ac_fn_c_try_compile "$LINENO"; then :
12879
12880 else
12881   ac_c_werror_flag=$ac_save_c_werror_flag
12882          CFLAGS="-g"
12883          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12884 /* end confdefs.h.  */
12885
12886 int
12887 main ()
12888 {
12889
12890   ;
12891   return 0;
12892 }
12893 _ACEOF
12894 if ac_fn_c_try_compile "$LINENO"; then :
12895   ac_cv_prog_cc_g=yes
12896 fi
12897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12898 fi
12899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12900 fi
12901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12902    ac_c_werror_flag=$ac_save_c_werror_flag
12903 fi
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12905 $as_echo "$ac_cv_prog_cc_g" >&6; }
12906 if test "$ac_test_CFLAGS" = set; then
12907   CFLAGS=$ac_save_CFLAGS
12908 elif test $ac_cv_prog_cc_g = yes; then
12909   if test "$GCC" = yes; then
12910     CFLAGS="-g -O2"
12911   else
12912     CFLAGS="-g"
12913   fi
12914 else
12915   if test "$GCC" = yes; then
12916     CFLAGS="-O2"
12917   else
12918     CFLAGS=
12919   fi
12920 fi
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12922 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12923 if ${ac_cv_prog_cc_c89+:} false; then :
12924   $as_echo_n "(cached) " >&6
12925 else
12926   ac_cv_prog_cc_c89=no
12927 ac_save_CC=$CC
12928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12929 /* end confdefs.h.  */
12930 #include <stdarg.h>
12931 #include <stdio.h>
12932 #include <sys/types.h>
12933 #include <sys/stat.h>
12934 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12935 struct buf { int x; };
12936 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12937 static char *e (p, i)
12938      char **p;
12939      int i;
12940 {
12941   return p[i];
12942 }
12943 static char *f (char * (*g) (char **, int), char **p, ...)
12944 {
12945   char *s;
12946   va_list v;
12947   va_start (v,p);
12948   s = g (p, va_arg (v,int));
12949   va_end (v);
12950   return s;
12951 }
12952
12953 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12954    function prototypes and stuff, but not '\xHH' hex character constants.
12955    These don't provoke an error unfortunately, instead are silently treated
12956    as 'x'.  The following induces an error, until -std is added to get
12957    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12958    array size at least.  It's necessary to write '\x00'==0 to get something
12959    that's true only with -std.  */
12960 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12961
12962 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12963    inside strings and character constants.  */
12964 #define FOO(x) 'x'
12965 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12966
12967 int test (int i, double x);
12968 struct s1 {int (*f) (int a);};
12969 struct s2 {int (*f) (double a);};
12970 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12971 int argc;
12972 char **argv;
12973 int
12974 main ()
12975 {
12976 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12977   ;
12978   return 0;
12979 }
12980 _ACEOF
12981 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12982         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12983 do
12984   CC="$ac_save_CC $ac_arg"
12985   if ac_fn_c_try_compile "$LINENO"; then :
12986   ac_cv_prog_cc_c89=$ac_arg
12987 fi
12988 rm -f core conftest.err conftest.$ac_objext
12989   test "x$ac_cv_prog_cc_c89" != "xno" && break
12990 done
12991 rm -f conftest.$ac_ext
12992 CC=$ac_save_CC
12993
12994 fi
12995 # AC_CACHE_VAL
12996 case "x$ac_cv_prog_cc_c89" in
12997   x)
12998     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12999 $as_echo "none needed" >&6; } ;;
13000   xno)
13001     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13002 $as_echo "unsupported" >&6; } ;;
13003   *)
13004     CC="$CC $ac_cv_prog_cc_c89"
13005     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13006 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13007 esac
13008 if test "x$ac_cv_prog_cc_c89" != xno; then :
13009
13010 fi
13011
13012 ac_ext=c
13013 ac_cpp='$CPP $CPPFLAGS'
13014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13017
13018 depcc="$CC"   am_compiler_list=
13019
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13021 $as_echo_n "checking dependency style of $depcc... " >&6; }
13022 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
13023   $as_echo_n "(cached) " >&6
13024 else
13025   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13026   # We make a subdir and do the tests there.  Otherwise we can end up
13027   # making bogus files that we don't know about and never remove.  For
13028   # instance it was reported that on HP-UX the gcc test will end up
13029   # making a dummy file named `D' -- because `-MD' means `put the output
13030   # in D'.
13031   rm -rf conftest.dir
13032   mkdir conftest.dir
13033   # Copy depcomp to subdir because otherwise we won't find it if we're
13034   # using a relative directory.
13035   cp "$am_depcomp" conftest.dir
13036   cd conftest.dir
13037   # We will build objects and dependencies in a subdirectory because
13038   # it helps to detect inapplicable dependency modes.  For instance
13039   # both Tru64's cc and ICC support -MD to output dependencies as a
13040   # side effect of compilation, but ICC will put the dependencies in
13041   # the current directory while Tru64 will put them in the object
13042   # directory.
13043   mkdir sub
13044
13045   am_cv_CC_dependencies_compiler_type=none
13046   if test "$am_compiler_list" = ""; then
13047      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13048   fi
13049   am__universal=false
13050   case " $depcc " in #(
13051      *\ -arch\ *\ -arch\ *) am__universal=true ;;
13052      esac
13053
13054   for depmode in $am_compiler_list; do
13055     # Setup a source with many dependencies, because some compilers
13056     # like to wrap large dependency lists on column 80 (with \), and
13057     # we should not choose a depcomp mode which is confused by this.
13058     #
13059     # We need to recreate these files for each test, as the compiler may
13060     # overwrite some of them when testing with obscure command lines.
13061     # This happens at least with the AIX C compiler.
13062     : > sub/conftest.c
13063     for i in 1 2 3 4 5 6; do
13064       echo '#include "conftst'$i'.h"' >> sub/conftest.c
13065       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13066       # Solaris 8's {/usr,}/bin/sh.
13067       touch sub/conftst$i.h
13068     done
13069     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13070
13071     # We check with `-c' and `-o' for the sake of the "dashmstdout"
13072     # mode.  It turns out that the SunPro C++ compiler does not properly
13073     # handle `-M -o', and we need to detect this.  Also, some Intel
13074     # versions had trouble with output in subdirs
13075     am__obj=sub/conftest.${OBJEXT-o}
13076     am__minus_obj="-o $am__obj"
13077     case $depmode in
13078     gcc)
13079       # This depmode causes a compiler race in universal mode.
13080       test "$am__universal" = false || continue
13081       ;;
13082     nosideeffect)
13083       # after this tag, mechanisms are not by side-effect, so they'll
13084       # only be used when explicitly requested
13085       if test "x$enable_dependency_tracking" = xyes; then
13086         continue
13087       else
13088         break
13089       fi
13090       ;;
13091     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13092       # This compiler won't grok `-c -o', but also, the minuso test has
13093       # not run yet.  These depmodes are late enough in the game, and
13094       # so weak that their functioning should not be impacted.
13095       am__obj=conftest.${OBJEXT-o}
13096       am__minus_obj=
13097       ;;
13098     none) break ;;
13099     esac
13100     if depmode=$depmode \
13101        source=sub/conftest.c object=$am__obj \
13102        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13103        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13104          >/dev/null 2>conftest.err &&
13105        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13106        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13107        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13108        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13109       # icc doesn't choke on unknown options, it will just issue warnings
13110       # or remarks (even with -Werror).  So we grep stderr for any message
13111       # that says an option was ignored or not supported.
13112       # When given -MP, icc 7.0 and 7.1 complain thusly:
13113       #   icc: Command line warning: ignoring option '-M'; no argument required
13114       # The diagnosis changed in icc 8.0:
13115       #   icc: Command line remark: option '-MP' not supported
13116       if (grep 'ignoring option' conftest.err ||
13117           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13118         am_cv_CC_dependencies_compiler_type=$depmode
13119         break
13120       fi
13121     fi
13122   done
13123
13124   cd ..
13125   rm -rf conftest.dir
13126 else
13127   am_cv_CC_dependencies_compiler_type=none
13128 fi
13129
13130 fi
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13132 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13133 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13134
13135  if
13136   test "x$enable_dependency_tracking" != xno \
13137   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13138   am__fastdepCC_TRUE=
13139   am__fastdepCC_FALSE='#'
13140 else
13141   am__fastdepCC_TRUE='#'
13142   am__fastdepCC_FALSE=
13143 fi
13144
13145
13146
13147 # doxygen program for documentation building
13148
13149
13150
13151 # Check whether --enable-doc was given.
13152 if test "${enable_doc+set}" = set; then :
13153   enableval=$enable_doc;
13154     if test "x${enableval}" = "xyes" ; then
13155        efl_enable_doc="yes"
13156     else
13157        efl_enable_doc="no"
13158     fi
13159
13160 else
13161   efl_enable_doc="yes"
13162 fi
13163
13164
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
13166 $as_echo_n "checking whether to build documentation... " >&6; }
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
13168 $as_echo "${efl_enable_doc}" >&6; }
13169
13170 if test "x${efl_enable_doc}" = "xyes" ; then
13171
13172
13173    efl_doxygen="doxygen"
13174
13175
13176 # Check whether --with-doxygen was given.
13177 if test "${with_doxygen+set}" = set; then :
13178   withval=$with_doxygen;
13179       efl_doxygen=${withval}
13180        # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
13181 set dummy ${efl_doxygen}; ac_word=$2
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13183 $as_echo_n "checking for $ac_word... " >&6; }
13184 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
13185   $as_echo_n "(cached) " >&6
13186 else
13187   if test -n "$efl_have_doxygen"; then
13188   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
13189 else
13190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13191 for as_dir in $PATH
13192 do
13193   IFS=$as_save_IFS
13194   test -z "$as_dir" && as_dir=.
13195     for ac_exec_ext in '' $ac_executable_extensions; do
13196   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13197     ac_cv_prog_efl_have_doxygen="yes"
13198     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13199     break 2
13200   fi
13201 done
13202   done
13203 IFS=$as_save_IFS
13204
13205   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
13206 fi
13207 fi
13208 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
13209 if test -n "$efl_have_doxygen"; then
13210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
13211 $as_echo "$efl_have_doxygen" >&6; }
13212 else
13213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13214 $as_echo "no" >&6; }
13215 fi
13216
13217
13218        if test "x${efl_have_doxygen}" = "xno" ; then
13219           echo "WARNING:"
13220           echo "The doxygen program you specified:"
13221           echo "${efl_doxygen}"
13222           echo "was not found.  Please check the path and make sure "
13223           echo "the program exists and is executable."
13224           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
13225 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
13226        fi
13227
13228 else
13229   # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
13230 set dummy ${efl_doxygen}; ac_word=$2
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13232 $as_echo_n "checking for $ac_word... " >&6; }
13233 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
13234   $as_echo_n "(cached) " >&6
13235 else
13236   if test -n "$efl_have_doxygen"; then
13237   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
13238 else
13239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13240 for as_dir in $PATH
13241 do
13242   IFS=$as_save_IFS
13243   test -z "$as_dir" && as_dir=.
13244     for ac_exec_ext in '' $ac_executable_extensions; do
13245   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13246     ac_cv_prog_efl_have_doxygen="yes"
13247     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13248     break 2
13249   fi
13250 done
13251   done
13252 IFS=$as_save_IFS
13253
13254   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
13255 fi
13256 fi
13257 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
13258 if test -n "$efl_have_doxygen"; then
13259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
13260 $as_echo "$efl_have_doxygen" >&6; }
13261 else
13262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13263 $as_echo "no" >&6; }
13264 fi
13265
13266
13267        if test "x${efl_have_doxygen}" = "xno" ; then
13268           echo "WARNING:"
13269           echo "The doxygen program was not found in your execute path."
13270           echo "You may have doxygen installed somewhere not covered by your path."
13271           echo ""
13272           echo "If this is the case make sure you have the packages installed, AND"
13273           echo "that the doxygen program is in your execute path (see your"
13274           echo "shell manual page on setting the \$PATH environment variable), OR"
13275           echo "alternatively, specify the program to use with --with-doxygen."
13276           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
13277 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
13278        fi
13279
13280 fi
13281
13282 fi
13283
13284
13285
13286 if ! test "x${efl_have_doxygen}" = "xyes" ; then
13287    efl_enable_doc="no"
13288 fi
13289
13290  if test "x${efl_enable_doc}" = "xyes"; then
13291   EFL_BUILD_DOC_TRUE=
13292   EFL_BUILD_DOC_FALSE='#'
13293 else
13294   EFL_BUILD_DOC_TRUE='#'
13295   EFL_BUILD_DOC_FALSE=
13296 fi
13297
13298
13299 if test "x${efl_enable_doc}" = "xyes" ; then
13300   build_doc="yes"
13301 else
13302   build_doc="no"
13303 fi
13304
13305
13306
13307 # python
13308
13309
13310
13311
13312
13313
13314
13315         if test -n "$PYTHON"; then
13316       # If the user set $PYTHON, use it and don't search something else.
13317       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
13318 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
13319       prog="import sys
13320 # split strings by '.' and convert to numeric.  Append some zeros
13321 # because we need at least 4 digits for the hex conversion.
13322 # map returns an iterator in Python 3.0 and a list in 2.x
13323 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
13324 minverhex = 0
13325 # xrange is not present in Python 3.0 and range returns an iterator
13326 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
13327 sys.exit(sys.hexversion < minverhex)"
13328   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
13329    ($PYTHON -c "$prog") >&5 2>&5
13330    ac_status=$?
13331    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13332    (exit $ac_status); }; then :
13333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13334 $as_echo "yes" >&6; }
13335 else
13336   as_fn_error $? "too old" "$LINENO" 5
13337 fi
13338       am_display_PYTHON=$PYTHON
13339     else
13340       # Otherwise, try each interpreter until we find one that satisfies
13341       # VERSION.
13342       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
13343 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
13344 if ${am_cv_pathless_PYTHON+:} false; then :
13345   $as_echo_n "(cached) " >&6
13346 else
13347
13348         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
13349           test "$am_cv_pathless_PYTHON" = none && break
13350           prog="import sys
13351 # split strings by '.' and convert to numeric.  Append some zeros
13352 # because we need at least 4 digits for the hex conversion.
13353 # map returns an iterator in Python 3.0 and a list in 2.x
13354 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
13355 minverhex = 0
13356 # xrange is not present in Python 3.0 and range returns an iterator
13357 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
13358 sys.exit(sys.hexversion < minverhex)"
13359   if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
13360    ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
13361    ac_status=$?
13362    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13363    (exit $ac_status); }; then :
13364   break
13365 fi
13366         done
13367 fi
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
13369 $as_echo "$am_cv_pathless_PYTHON" >&6; }
13370       # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
13371       if test "$am_cv_pathless_PYTHON" = none; then
13372         PYTHON=:
13373       else
13374         # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
13375 set dummy $am_cv_pathless_PYTHON; ac_word=$2
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13377 $as_echo_n "checking for $ac_word... " >&6; }
13378 if ${ac_cv_path_PYTHON+:} false; then :
13379   $as_echo_n "(cached) " >&6
13380 else
13381   case $PYTHON in
13382   [\\/]* | ?:[\\/]*)
13383   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
13384   ;;
13385   *)
13386   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13387 for as_dir in $PATH
13388 do
13389   IFS=$as_save_IFS
13390   test -z "$as_dir" && as_dir=.
13391     for ac_exec_ext in '' $ac_executable_extensions; do
13392   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13393     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
13394     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13395     break 2
13396   fi
13397 done
13398   done
13399 IFS=$as_save_IFS
13400
13401   ;;
13402 esac
13403 fi
13404 PYTHON=$ac_cv_path_PYTHON
13405 if test -n "$PYTHON"; then
13406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
13407 $as_echo "$PYTHON" >&6; }
13408 else
13409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13410 $as_echo "no" >&6; }
13411 fi
13412
13413
13414       fi
13415       am_display_PYTHON=$am_cv_pathless_PYTHON
13416     fi
13417
13418
13419   if test "$PYTHON" = :; then
13420       :
13421   else
13422
13423
13424   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
13425 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
13426 if ${am_cv_python_version+:} false; then :
13427   $as_echo_n "(cached) " >&6
13428 else
13429   am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
13430 fi
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
13432 $as_echo "$am_cv_python_version" >&6; }
13433   PYTHON_VERSION=$am_cv_python_version
13434
13435
13436
13437   PYTHON_PREFIX='${prefix}'
13438
13439   PYTHON_EXEC_PREFIX='${exec_prefix}'
13440
13441
13442
13443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
13444 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
13445 if ${am_cv_python_platform+:} false; then :
13446   $as_echo_n "(cached) " >&6
13447 else
13448   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
13449 fi
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
13451 $as_echo "$am_cv_python_platform" >&6; }
13452   PYTHON_PLATFORM=$am_cv_python_platform
13453
13454
13455
13456
13457             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
13458 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
13459 if ${am_cv_python_pythondir+:} false; then :
13460   $as_echo_n "(cached) " >&6
13461 else
13462   if test "x$prefix" = xNONE
13463      then
13464        am_py_prefix=$ac_default_prefix
13465      else
13466        am_py_prefix=$prefix
13467      fi
13468      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`
13469      case $am_cv_python_pythondir in
13470      $am_py_prefix*)
13471        am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
13472        am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
13473        ;;
13474      *)
13475        case $am_py_prefix in
13476          /usr|/System*) ;;
13477          *)
13478           am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
13479           ;;
13480        esac
13481        ;;
13482      esac
13483
13484 fi
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
13486 $as_echo "$am_cv_python_pythondir" >&6; }
13487   pythondir=$am_cv_python_pythondir
13488
13489
13490
13491   pkgpythondir=\${pythondir}/$PACKAGE
13492
13493
13494         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
13495 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
13496 if ${am_cv_python_pyexecdir+:} false; then :
13497   $as_echo_n "(cached) " >&6
13498 else
13499   if test "x$exec_prefix" = xNONE
13500      then
13501        am_py_exec_prefix=$am_py_prefix
13502      else
13503        am_py_exec_prefix=$exec_prefix
13504      fi
13505      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`
13506      case $am_cv_python_pyexecdir in
13507      $am_py_exec_prefix*)
13508        am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
13509        am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
13510        ;;
13511      *)
13512        case $am_py_exec_prefix in
13513          /usr|/System*) ;;
13514          *)
13515            am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
13516            ;;
13517        esac
13518        ;;
13519      esac
13520
13521 fi
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
13523 $as_echo "$am_cv_python_pyexecdir" >&6; }
13524   pyexecdir=$am_cv_python_pyexecdir
13525
13526
13527
13528   pkgpyexecdir=\${pyexecdir}/$PACKAGE
13529
13530
13531
13532   fi
13533
13534
13535  if test "$PYTHON" != : ; then
13536   HAVE_PYTHON_TRUE=
13537   HAVE_PYTHON_FALSE='#'
13538 else
13539   HAVE_PYTHON_TRUE='#'
13540   HAVE_PYTHON_FALSE=
13541 fi
13542
13543
13544 # pkg-config
13545
13546
13547
13548
13549
13550
13551
13552
13553 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13554         if test -n "$ac_tool_prefix"; then
13555   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13556 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13558 $as_echo_n "checking for $ac_word... " >&6; }
13559 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13560   $as_echo_n "(cached) " >&6
13561 else
13562   case $PKG_CONFIG in
13563   [\\/]* | ?:[\\/]*)
13564   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13565   ;;
13566   *)
13567   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13568 for as_dir in $PATH
13569 do
13570   IFS=$as_save_IFS
13571   test -z "$as_dir" && as_dir=.
13572     for ac_exec_ext in '' $ac_executable_extensions; do
13573   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13574     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13575     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13576     break 2
13577   fi
13578 done
13579   done
13580 IFS=$as_save_IFS
13581
13582   ;;
13583 esac
13584 fi
13585 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13586 if test -n "$PKG_CONFIG"; then
13587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13588 $as_echo "$PKG_CONFIG" >&6; }
13589 else
13590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13591 $as_echo "no" >&6; }
13592 fi
13593
13594
13595 fi
13596 if test -z "$ac_cv_path_PKG_CONFIG"; then
13597   ac_pt_PKG_CONFIG=$PKG_CONFIG
13598   # Extract the first word of "pkg-config", so it can be a program name with args.
13599 set dummy pkg-config; ac_word=$2
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13601 $as_echo_n "checking for $ac_word... " >&6; }
13602 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13603   $as_echo_n "(cached) " >&6
13604 else
13605   case $ac_pt_PKG_CONFIG in
13606   [\\/]* | ?:[\\/]*)
13607   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13608   ;;
13609   *)
13610   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13611 for as_dir in $PATH
13612 do
13613   IFS=$as_save_IFS
13614   test -z "$as_dir" && as_dir=.
13615     for ac_exec_ext in '' $ac_executable_extensions; do
13616   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13617     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13618     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13619     break 2
13620   fi
13621 done
13622   done
13623 IFS=$as_save_IFS
13624
13625   ;;
13626 esac
13627 fi
13628 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13629 if test -n "$ac_pt_PKG_CONFIG"; then
13630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13631 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13632 else
13633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13634 $as_echo "no" >&6; }
13635 fi
13636
13637   if test "x$ac_pt_PKG_CONFIG" = x; then
13638     PKG_CONFIG=""
13639   else
13640     case $cross_compiling:$ac_tool_warned in
13641 yes:)
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13644 ac_tool_warned=yes ;;
13645 esac
13646     PKG_CONFIG=$ac_pt_PKG_CONFIG
13647   fi
13648 else
13649   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13650 fi
13651
13652 fi
13653 if test -n "$PKG_CONFIG"; then
13654         _pkg_min_version=0.9.0
13655         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13656 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13657         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13658                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13659 $as_echo "yes" >&6; }
13660         else
13661                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13662 $as_echo "no" >&6; }
13663                 PKG_CONFIG=""
13664         fi
13665 fi
13666
13667 # Check whether pkg-config supports Requires.private
13668
13669 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
13670    pkgconfig_requires_private="Requires.private"
13671 else
13672    pkgconfig_requires_private="Requires"
13673 fi
13674
13675
13676
13677 ### Checks for libraries
13678
13679 # Evil library for compilation on Windows
13680
13681 EFL_EDJE_BUILD=""
13682 case "$host_os" in
13683    mingw*)
13684
13685 pkg_failed=no
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
13687 $as_echo_n "checking for EVIL... " >&6; }
13688
13689 if test -n "$EVIL_CFLAGS"; then
13690     pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
13691  elif test -n "$PKG_CONFIG"; then
13692     if test -n "$PKG_CONFIG" && \
13693     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.6.99\""; } >&5
13694   ($PKG_CONFIG --exists --print-errors "evil >= 1.6.99") 2>&5
13695   ac_status=$?
13696   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13697   test $ac_status = 0; }; then
13698   pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.6.99" 2>/dev/null`
13699                       test "x$?" != "x0" && pkg_failed=yes
13700 else
13701   pkg_failed=yes
13702 fi
13703  else
13704     pkg_failed=untried
13705 fi
13706 if test -n "$EVIL_LIBS"; then
13707     pkg_cv_EVIL_LIBS="$EVIL_LIBS"
13708  elif test -n "$PKG_CONFIG"; then
13709     if test -n "$PKG_CONFIG" && \
13710     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.6.99\""; } >&5
13711   ($PKG_CONFIG --exists --print-errors "evil >= 1.6.99") 2>&5
13712   ac_status=$?
13713   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13714   test $ac_status = 0; }; then
13715   pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.6.99" 2>/dev/null`
13716                       test "x$?" != "x0" && pkg_failed=yes
13717 else
13718   pkg_failed=yes
13719 fi
13720  else
13721     pkg_failed=untried
13722 fi
13723
13724
13725
13726 if test $pkg_failed = yes; then
13727         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13728 $as_echo "no" >&6; }
13729
13730 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13731         _pkg_short_errors_supported=yes
13732 else
13733         _pkg_short_errors_supported=no
13734 fi
13735         if test $_pkg_short_errors_supported = yes; then
13736                 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evil >= 1.6.99" 2>&1`
13737         else
13738                 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evil >= 1.6.99" 2>&1`
13739         fi
13740         # Put the nasty error message in config.log where it belongs
13741         echo "$EVIL_PKG_ERRORS" >&5
13742
13743         as_fn_error $? "Package requirements (evil >= 1.6.99) were not met:
13744
13745 $EVIL_PKG_ERRORS
13746
13747 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13748 installed software in a non-standard prefix.
13749
13750 Alternatively, you may set the environment variables EVIL_CFLAGS
13751 and EVIL_LIBS to avoid the need to call pkg-config.
13752 See the pkg-config man page for more details." "$LINENO" 5
13753 elif test $pkg_failed = untried; then
13754         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13755 $as_echo "no" >&6; }
13756         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13758 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13759 is in your PATH or set the PKG_CONFIG environment variable to the full
13760 path to pkg-config.
13761
13762 Alternatively, you may set the environment variables EVIL_CFLAGS
13763 and EVIL_LIBS to avoid the need to call pkg-config.
13764 See the pkg-config man page for more details.
13765
13766 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13767 See \`config.log' for more details" "$LINENO" 5; }
13768 else
13769         EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
13770         EVIL_LIBS=$pkg_cv_EVIL_LIBS
13771         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13772 $as_echo "yes" >&6; }
13773
13774 fi
13775
13776 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
13777
13778       requirement_edje="evil ${requirement_edje}"
13779       EFL_EDJE_BUILD="-DEFL_EDJE_BUILD"
13780    ;;
13781 esac
13782
13783
13784 # Dependencies for the library
13785
13786 # Lua pkg-config hack for different naming conventions
13787 have_lua="yes"
13788 requirement_lua=""
13789 lua_libs=""
13790
13791 pkg_failed=no
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13793 $as_echo_n "checking for LUA... " >&6; }
13794
13795 if test -n "$LUA_CFLAGS"; then
13796     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13797  elif test -n "$PKG_CONFIG"; then
13798     if test -n "$PKG_CONFIG" && \
13799     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1.0\""; } >&5
13800   ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
13801   ac_status=$?
13802   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13803   test $ac_status = 0; }; then
13804   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1.0" 2>/dev/null`
13805                       test "x$?" != "x0" && pkg_failed=yes
13806 else
13807   pkg_failed=yes
13808 fi
13809  else
13810     pkg_failed=untried
13811 fi
13812 if test -n "$LUA_LIBS"; then
13813     pkg_cv_LUA_LIBS="$LUA_LIBS"
13814  elif test -n "$PKG_CONFIG"; then
13815     if test -n "$PKG_CONFIG" && \
13816     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1.0\""; } >&5
13817   ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
13818   ac_status=$?
13819   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13820   test $ac_status = 0; }; then
13821   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1.0" 2>/dev/null`
13822                       test "x$?" != "x0" && pkg_failed=yes
13823 else
13824   pkg_failed=yes
13825 fi
13826  else
13827     pkg_failed=untried
13828 fi
13829
13830
13831
13832 if test $pkg_failed = yes; then
13833         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13834 $as_echo "no" >&6; }
13835
13836 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13837         _pkg_short_errors_supported=yes
13838 else
13839         _pkg_short_errors_supported=no
13840 fi
13841         if test $_pkg_short_errors_supported = yes; then
13842                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua >= 5.1.0" 2>&1`
13843         else
13844                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua >= 5.1.0" 2>&1`
13845         fi
13846         # Put the nasty error message in config.log where it belongs
13847         echo "$LUA_PKG_ERRORS" >&5
13848
13849
13850 pkg_failed=no
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13852 $as_echo_n "checking for LUA... " >&6; }
13853
13854 if test -n "$LUA_CFLAGS"; then
13855     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13856  elif test -n "$PKG_CONFIG"; then
13857     if test -n "$PKG_CONFIG" && \
13858     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
13859   ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
13860   ac_status=$?
13861   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13862   test $ac_status = 0; }; then
13863   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1.0" 2>/dev/null`
13864                       test "x$?" != "x0" && pkg_failed=yes
13865 else
13866   pkg_failed=yes
13867 fi
13868  else
13869     pkg_failed=untried
13870 fi
13871 if test -n "$LUA_LIBS"; then
13872     pkg_cv_LUA_LIBS="$LUA_LIBS"
13873  elif test -n "$PKG_CONFIG"; then
13874     if test -n "$PKG_CONFIG" && \
13875     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
13876   ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
13877   ac_status=$?
13878   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13879   test $ac_status = 0; }; then
13880   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1.0" 2>/dev/null`
13881                       test "x$?" != "x0" && pkg_failed=yes
13882 else
13883   pkg_failed=yes
13884 fi
13885  else
13886     pkg_failed=untried
13887 fi
13888
13889
13890
13891 if test $pkg_failed = yes; then
13892         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13893 $as_echo "no" >&6; }
13894
13895 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13896         _pkg_short_errors_supported=yes
13897 else
13898         _pkg_short_errors_supported=no
13899 fi
13900         if test $_pkg_short_errors_supported = yes; then
13901                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua5.1 >= 5.1.0" 2>&1`
13902         else
13903                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua5.1 >= 5.1.0" 2>&1`
13904         fi
13905         # Put the nasty error message in config.log where it belongs
13906         echo "$LUA_PKG_ERRORS" >&5
13907
13908
13909 pkg_failed=no
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13911 $as_echo_n "checking for LUA... " >&6; }
13912
13913 if test -n "$LUA_CFLAGS"; then
13914     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13915  elif test -n "$PKG_CONFIG"; then
13916     if test -n "$PKG_CONFIG" && \
13917     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13918   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13919   ac_status=$?
13920   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13921   test $ac_status = 0; }; then
13922   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
13923                       test "x$?" != "x0" && pkg_failed=yes
13924 else
13925   pkg_failed=yes
13926 fi
13927  else
13928     pkg_failed=untried
13929 fi
13930 if test -n "$LUA_LIBS"; then
13931     pkg_cv_LUA_LIBS="$LUA_LIBS"
13932  elif test -n "$PKG_CONFIG"; then
13933     if test -n "$PKG_CONFIG" && \
13934     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13935   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13936   ac_status=$?
13937   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13938   test $ac_status = 0; }; then
13939   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
13940                       test "x$?" != "x0" && pkg_failed=yes
13941 else
13942   pkg_failed=yes
13943 fi
13944  else
13945     pkg_failed=untried
13946 fi
13947
13948
13949
13950 if test $pkg_failed = yes; then
13951         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13952 $as_echo "no" >&6; }
13953
13954 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13955         _pkg_short_errors_supported=yes
13956 else
13957         _pkg_short_errors_supported=no
13958 fi
13959         if test $_pkg_short_errors_supported = yes; then
13960                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
13961         else
13962                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
13963         fi
13964         # Put the nasty error message in config.log where it belongs
13965         echo "$LUA_PKG_ERRORS" >&5
13966
13967
13968 pkg_failed=no
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13970 $as_echo_n "checking for LUA... " >&6; }
13971
13972 if test -n "$LUA_CFLAGS"; then
13973     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13974  elif test -n "$PKG_CONFIG"; then
13975     if test -n "$PKG_CONFIG" && \
13976     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13977   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13978   ac_status=$?
13979   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13980   test $ac_status = 0; }; then
13981   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
13982                       test "x$?" != "x0" && pkg_failed=yes
13983 else
13984   pkg_failed=yes
13985 fi
13986  else
13987     pkg_failed=untried
13988 fi
13989 if test -n "$LUA_LIBS"; then
13990     pkg_cv_LUA_LIBS="$LUA_LIBS"
13991  elif test -n "$PKG_CONFIG"; then
13992     if test -n "$PKG_CONFIG" && \
13993     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13994   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13995   ac_status=$?
13996   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13997   test $ac_status = 0; }; then
13998   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
13999                       test "x$?" != "x0" && pkg_failed=yes
14000 else
14001   pkg_failed=yes
14002 fi
14003  else
14004     pkg_failed=untried
14005 fi
14006
14007
14008
14009 if test $pkg_failed = yes; then
14010         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14011 $as_echo "no" >&6; }
14012
14013 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14014         _pkg_short_errors_supported=yes
14015 else
14016         _pkg_short_errors_supported=no
14017 fi
14018         if test $_pkg_short_errors_supported = yes; then
14019                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14020         else
14021                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14022         fi
14023         # Put the nasty error message in config.log where it belongs
14024         echo "$LUA_PKG_ERRORS" >&5
14025
14026         have_lua="no"
14027 elif test $pkg_failed = untried; then
14028         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14029 $as_echo "no" >&6; }
14030         have_lua="no"
14031 else
14032         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14033         LUA_LIBS=$pkg_cv_LUA_LIBS
14034         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14035 $as_echo "yes" >&6; }
14036         requirement_lua="lua51"
14037 fi
14038 elif test $pkg_failed = untried; then
14039         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14040 $as_echo "no" >&6; }
14041
14042 pkg_failed=no
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14044 $as_echo_n "checking for LUA... " >&6; }
14045
14046 if test -n "$LUA_CFLAGS"; then
14047     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14048  elif test -n "$PKG_CONFIG"; then
14049     if test -n "$PKG_CONFIG" && \
14050     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14051   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14052   ac_status=$?
14053   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14054   test $ac_status = 0; }; then
14055   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14056                       test "x$?" != "x0" && pkg_failed=yes
14057 else
14058   pkg_failed=yes
14059 fi
14060  else
14061     pkg_failed=untried
14062 fi
14063 if test -n "$LUA_LIBS"; then
14064     pkg_cv_LUA_LIBS="$LUA_LIBS"
14065  elif test -n "$PKG_CONFIG"; then
14066     if test -n "$PKG_CONFIG" && \
14067     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14068   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14069   ac_status=$?
14070   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14071   test $ac_status = 0; }; then
14072   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14073                       test "x$?" != "x0" && pkg_failed=yes
14074 else
14075   pkg_failed=yes
14076 fi
14077  else
14078     pkg_failed=untried
14079 fi
14080
14081
14082
14083 if test $pkg_failed = yes; then
14084         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14085 $as_echo "no" >&6; }
14086
14087 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14088         _pkg_short_errors_supported=yes
14089 else
14090         _pkg_short_errors_supported=no
14091 fi
14092         if test $_pkg_short_errors_supported = yes; then
14093                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14094         else
14095                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14096         fi
14097         # Put the nasty error message in config.log where it belongs
14098         echo "$LUA_PKG_ERRORS" >&5
14099
14100         have_lua="no"
14101 elif test $pkg_failed = untried; then
14102         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14103 $as_echo "no" >&6; }
14104         have_lua="no"
14105 else
14106         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14107         LUA_LIBS=$pkg_cv_LUA_LIBS
14108         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14109 $as_echo "yes" >&6; }
14110         requirement_lua="lua51"
14111 fi
14112 else
14113         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14114         LUA_LIBS=$pkg_cv_LUA_LIBS
14115         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14116 $as_echo "yes" >&6; }
14117         requirement_lua="lua-5.1"
14118 fi
14119 elif test $pkg_failed = untried; then
14120         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14121 $as_echo "no" >&6; }
14122
14123 pkg_failed=no
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14125 $as_echo_n "checking for LUA... " >&6; }
14126
14127 if test -n "$LUA_CFLAGS"; then
14128     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14129  elif test -n "$PKG_CONFIG"; then
14130     if test -n "$PKG_CONFIG" && \
14131     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14132   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14133   ac_status=$?
14134   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14135   test $ac_status = 0; }; then
14136   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
14137                       test "x$?" != "x0" && pkg_failed=yes
14138 else
14139   pkg_failed=yes
14140 fi
14141  else
14142     pkg_failed=untried
14143 fi
14144 if test -n "$LUA_LIBS"; then
14145     pkg_cv_LUA_LIBS="$LUA_LIBS"
14146  elif test -n "$PKG_CONFIG"; then
14147     if test -n "$PKG_CONFIG" && \
14148     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14149   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14150   ac_status=$?
14151   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14152   test $ac_status = 0; }; then
14153   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
14154                       test "x$?" != "x0" && pkg_failed=yes
14155 else
14156   pkg_failed=yes
14157 fi
14158  else
14159     pkg_failed=untried
14160 fi
14161
14162
14163
14164 if test $pkg_failed = yes; then
14165         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14166 $as_echo "no" >&6; }
14167
14168 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14169         _pkg_short_errors_supported=yes
14170 else
14171         _pkg_short_errors_supported=no
14172 fi
14173         if test $_pkg_short_errors_supported = yes; then
14174                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
14175         else
14176                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
14177         fi
14178         # Put the nasty error message in config.log where it belongs
14179         echo "$LUA_PKG_ERRORS" >&5
14180
14181
14182 pkg_failed=no
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14184 $as_echo_n "checking for LUA... " >&6; }
14185
14186 if test -n "$LUA_CFLAGS"; then
14187     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14188  elif test -n "$PKG_CONFIG"; then
14189     if test -n "$PKG_CONFIG" && \
14190     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14191   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14192   ac_status=$?
14193   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14194   test $ac_status = 0; }; then
14195   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14196                       test "x$?" != "x0" && pkg_failed=yes
14197 else
14198   pkg_failed=yes
14199 fi
14200  else
14201     pkg_failed=untried
14202 fi
14203 if test -n "$LUA_LIBS"; then
14204     pkg_cv_LUA_LIBS="$LUA_LIBS"
14205  elif test -n "$PKG_CONFIG"; then
14206     if test -n "$PKG_CONFIG" && \
14207     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14208   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14209   ac_status=$?
14210   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14211   test $ac_status = 0; }; then
14212   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14213                       test "x$?" != "x0" && pkg_failed=yes
14214 else
14215   pkg_failed=yes
14216 fi
14217  else
14218     pkg_failed=untried
14219 fi
14220
14221
14222
14223 if test $pkg_failed = yes; then
14224         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14225 $as_echo "no" >&6; }
14226
14227 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14228         _pkg_short_errors_supported=yes
14229 else
14230         _pkg_short_errors_supported=no
14231 fi
14232         if test $_pkg_short_errors_supported = yes; then
14233                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14234         else
14235                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14236         fi
14237         # Put the nasty error message in config.log where it belongs
14238         echo "$LUA_PKG_ERRORS" >&5
14239
14240         have_lua="no"
14241 elif test $pkg_failed = untried; then
14242         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14243 $as_echo "no" >&6; }
14244         have_lua="no"
14245 else
14246         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14247         LUA_LIBS=$pkg_cv_LUA_LIBS
14248         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14249 $as_echo "yes" >&6; }
14250         requirement_lua="lua51"
14251 fi
14252 elif test $pkg_failed = untried; then
14253         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14254 $as_echo "no" >&6; }
14255
14256 pkg_failed=no
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14258 $as_echo_n "checking for LUA... " >&6; }
14259
14260 if test -n "$LUA_CFLAGS"; then
14261     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14262  elif test -n "$PKG_CONFIG"; then
14263     if test -n "$PKG_CONFIG" && \
14264     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14265   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14266   ac_status=$?
14267   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14268   test $ac_status = 0; }; then
14269   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14270                       test "x$?" != "x0" && pkg_failed=yes
14271 else
14272   pkg_failed=yes
14273 fi
14274  else
14275     pkg_failed=untried
14276 fi
14277 if test -n "$LUA_LIBS"; then
14278     pkg_cv_LUA_LIBS="$LUA_LIBS"
14279  elif test -n "$PKG_CONFIG"; then
14280     if test -n "$PKG_CONFIG" && \
14281     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14282   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14283   ac_status=$?
14284   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14285   test $ac_status = 0; }; then
14286   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14287                       test "x$?" != "x0" && pkg_failed=yes
14288 else
14289   pkg_failed=yes
14290 fi
14291  else
14292     pkg_failed=untried
14293 fi
14294
14295
14296
14297 if test $pkg_failed = yes; then
14298         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14299 $as_echo "no" >&6; }
14300
14301 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14302         _pkg_short_errors_supported=yes
14303 else
14304         _pkg_short_errors_supported=no
14305 fi
14306         if test $_pkg_short_errors_supported = yes; then
14307                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14308         else
14309                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14310         fi
14311         # Put the nasty error message in config.log where it belongs
14312         echo "$LUA_PKG_ERRORS" >&5
14313
14314         have_lua="no"
14315 elif test $pkg_failed = untried; then
14316         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14317 $as_echo "no" >&6; }
14318         have_lua="no"
14319 else
14320         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14321         LUA_LIBS=$pkg_cv_LUA_LIBS
14322         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14323 $as_echo "yes" >&6; }
14324         requirement_lua="lua51"
14325 fi
14326 else
14327         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14328         LUA_LIBS=$pkg_cv_LUA_LIBS
14329         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14330 $as_echo "yes" >&6; }
14331         requirement_lua="lua-5.1"
14332 fi
14333 else
14334         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14335         LUA_LIBS=$pkg_cv_LUA_LIBS
14336         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14337 $as_echo "yes" >&6; }
14338         requirement_lua="lua5.1"
14339 fi
14340 elif test $pkg_failed = untried; then
14341         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14342 $as_echo "no" >&6; }
14343
14344 pkg_failed=no
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14346 $as_echo_n "checking for LUA... " >&6; }
14347
14348 if test -n "$LUA_CFLAGS"; then
14349     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14350  elif test -n "$PKG_CONFIG"; then
14351     if test -n "$PKG_CONFIG" && \
14352     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
14353   ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
14354   ac_status=$?
14355   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14356   test $ac_status = 0; }; then
14357   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1.0" 2>/dev/null`
14358                       test "x$?" != "x0" && pkg_failed=yes
14359 else
14360   pkg_failed=yes
14361 fi
14362  else
14363     pkg_failed=untried
14364 fi
14365 if test -n "$LUA_LIBS"; then
14366     pkg_cv_LUA_LIBS="$LUA_LIBS"
14367  elif test -n "$PKG_CONFIG"; then
14368     if test -n "$PKG_CONFIG" && \
14369     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
14370   ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
14371   ac_status=$?
14372   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14373   test $ac_status = 0; }; then
14374   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1.0" 2>/dev/null`
14375                       test "x$?" != "x0" && pkg_failed=yes
14376 else
14377   pkg_failed=yes
14378 fi
14379  else
14380     pkg_failed=untried
14381 fi
14382
14383
14384
14385 if test $pkg_failed = yes; then
14386         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14387 $as_echo "no" >&6; }
14388
14389 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14390         _pkg_short_errors_supported=yes
14391 else
14392         _pkg_short_errors_supported=no
14393 fi
14394         if test $_pkg_short_errors_supported = yes; then
14395                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua5.1 >= 5.1.0" 2>&1`
14396         else
14397                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua5.1 >= 5.1.0" 2>&1`
14398         fi
14399         # Put the nasty error message in config.log where it belongs
14400         echo "$LUA_PKG_ERRORS" >&5
14401
14402
14403 pkg_failed=no
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14405 $as_echo_n "checking for LUA... " >&6; }
14406
14407 if test -n "$LUA_CFLAGS"; then
14408     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14409  elif test -n "$PKG_CONFIG"; then
14410     if test -n "$PKG_CONFIG" && \
14411     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14412   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14413   ac_status=$?
14414   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14415   test $ac_status = 0; }; then
14416   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
14417                       test "x$?" != "x0" && pkg_failed=yes
14418 else
14419   pkg_failed=yes
14420 fi
14421  else
14422     pkg_failed=untried
14423 fi
14424 if test -n "$LUA_LIBS"; then
14425     pkg_cv_LUA_LIBS="$LUA_LIBS"
14426  elif test -n "$PKG_CONFIG"; then
14427     if test -n "$PKG_CONFIG" && \
14428     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14429   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14430   ac_status=$?
14431   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14432   test $ac_status = 0; }; then
14433   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
14434                       test "x$?" != "x0" && pkg_failed=yes
14435 else
14436   pkg_failed=yes
14437 fi
14438  else
14439     pkg_failed=untried
14440 fi
14441
14442
14443
14444 if test $pkg_failed = yes; then
14445         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14446 $as_echo "no" >&6; }
14447
14448 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14449         _pkg_short_errors_supported=yes
14450 else
14451         _pkg_short_errors_supported=no
14452 fi
14453         if test $_pkg_short_errors_supported = yes; then
14454                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
14455         else
14456                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
14457         fi
14458         # Put the nasty error message in config.log where it belongs
14459         echo "$LUA_PKG_ERRORS" >&5
14460
14461
14462 pkg_failed=no
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14464 $as_echo_n "checking for LUA... " >&6; }
14465
14466 if test -n "$LUA_CFLAGS"; then
14467     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14468  elif test -n "$PKG_CONFIG"; then
14469     if test -n "$PKG_CONFIG" && \
14470     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14471   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14472   ac_status=$?
14473   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14474   test $ac_status = 0; }; then
14475   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14476                       test "x$?" != "x0" && pkg_failed=yes
14477 else
14478   pkg_failed=yes
14479 fi
14480  else
14481     pkg_failed=untried
14482 fi
14483 if test -n "$LUA_LIBS"; then
14484     pkg_cv_LUA_LIBS="$LUA_LIBS"
14485  elif test -n "$PKG_CONFIG"; then
14486     if test -n "$PKG_CONFIG" && \
14487     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14488   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14489   ac_status=$?
14490   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14491   test $ac_status = 0; }; then
14492   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14493                       test "x$?" != "x0" && pkg_failed=yes
14494 else
14495   pkg_failed=yes
14496 fi
14497  else
14498     pkg_failed=untried
14499 fi
14500
14501
14502
14503 if test $pkg_failed = yes; then
14504         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14505 $as_echo "no" >&6; }
14506
14507 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14508         _pkg_short_errors_supported=yes
14509 else
14510         _pkg_short_errors_supported=no
14511 fi
14512         if test $_pkg_short_errors_supported = yes; then
14513                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14514         else
14515                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14516         fi
14517         # Put the nasty error message in config.log where it belongs
14518         echo "$LUA_PKG_ERRORS" >&5
14519
14520         have_lua="no"
14521 elif test $pkg_failed = untried; then
14522         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14523 $as_echo "no" >&6; }
14524         have_lua="no"
14525 else
14526         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14527         LUA_LIBS=$pkg_cv_LUA_LIBS
14528         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14529 $as_echo "yes" >&6; }
14530         requirement_lua="lua51"
14531 fi
14532 elif test $pkg_failed = untried; then
14533         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14534 $as_echo "no" >&6; }
14535
14536 pkg_failed=no
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14538 $as_echo_n "checking for LUA... " >&6; }
14539
14540 if test -n "$LUA_CFLAGS"; then
14541     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14542  elif test -n "$PKG_CONFIG"; then
14543     if test -n "$PKG_CONFIG" && \
14544     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14545   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14546   ac_status=$?
14547   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14548   test $ac_status = 0; }; then
14549   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14550                       test "x$?" != "x0" && pkg_failed=yes
14551 else
14552   pkg_failed=yes
14553 fi
14554  else
14555     pkg_failed=untried
14556 fi
14557 if test -n "$LUA_LIBS"; then
14558     pkg_cv_LUA_LIBS="$LUA_LIBS"
14559  elif test -n "$PKG_CONFIG"; then
14560     if test -n "$PKG_CONFIG" && \
14561     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14562   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14563   ac_status=$?
14564   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14565   test $ac_status = 0; }; then
14566   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14567                       test "x$?" != "x0" && pkg_failed=yes
14568 else
14569   pkg_failed=yes
14570 fi
14571  else
14572     pkg_failed=untried
14573 fi
14574
14575
14576
14577 if test $pkg_failed = yes; then
14578         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14579 $as_echo "no" >&6; }
14580
14581 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14582         _pkg_short_errors_supported=yes
14583 else
14584         _pkg_short_errors_supported=no
14585 fi
14586         if test $_pkg_short_errors_supported = yes; then
14587                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14588         else
14589                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14590         fi
14591         # Put the nasty error message in config.log where it belongs
14592         echo "$LUA_PKG_ERRORS" >&5
14593
14594         have_lua="no"
14595 elif test $pkg_failed = untried; then
14596         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14597 $as_echo "no" >&6; }
14598         have_lua="no"
14599 else
14600         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14601         LUA_LIBS=$pkg_cv_LUA_LIBS
14602         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14603 $as_echo "yes" >&6; }
14604         requirement_lua="lua51"
14605 fi
14606 else
14607         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14608         LUA_LIBS=$pkg_cv_LUA_LIBS
14609         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14610 $as_echo "yes" >&6; }
14611         requirement_lua="lua-5.1"
14612 fi
14613 elif test $pkg_failed = untried; then
14614         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14615 $as_echo "no" >&6; }
14616
14617 pkg_failed=no
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14619 $as_echo_n "checking for LUA... " >&6; }
14620
14621 if test -n "$LUA_CFLAGS"; then
14622     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14623  elif test -n "$PKG_CONFIG"; then
14624     if test -n "$PKG_CONFIG" && \
14625     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14626   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14627   ac_status=$?
14628   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14629   test $ac_status = 0; }; then
14630   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
14631                       test "x$?" != "x0" && pkg_failed=yes
14632 else
14633   pkg_failed=yes
14634 fi
14635  else
14636     pkg_failed=untried
14637 fi
14638 if test -n "$LUA_LIBS"; then
14639     pkg_cv_LUA_LIBS="$LUA_LIBS"
14640  elif test -n "$PKG_CONFIG"; then
14641     if test -n "$PKG_CONFIG" && \
14642     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14643   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14644   ac_status=$?
14645   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14646   test $ac_status = 0; }; then
14647   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
14648                       test "x$?" != "x0" && pkg_failed=yes
14649 else
14650   pkg_failed=yes
14651 fi
14652  else
14653     pkg_failed=untried
14654 fi
14655
14656
14657
14658 if test $pkg_failed = yes; then
14659         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14660 $as_echo "no" >&6; }
14661
14662 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14663         _pkg_short_errors_supported=yes
14664 else
14665         _pkg_short_errors_supported=no
14666 fi
14667         if test $_pkg_short_errors_supported = yes; then
14668                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
14669         else
14670                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
14671         fi
14672         # Put the nasty error message in config.log where it belongs
14673         echo "$LUA_PKG_ERRORS" >&5
14674
14675
14676 pkg_failed=no
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14678 $as_echo_n "checking for LUA... " >&6; }
14679
14680 if test -n "$LUA_CFLAGS"; then
14681     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14682  elif test -n "$PKG_CONFIG"; then
14683     if test -n "$PKG_CONFIG" && \
14684     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14685   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14686   ac_status=$?
14687   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14688   test $ac_status = 0; }; then
14689   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14690                       test "x$?" != "x0" && pkg_failed=yes
14691 else
14692   pkg_failed=yes
14693 fi
14694  else
14695     pkg_failed=untried
14696 fi
14697 if test -n "$LUA_LIBS"; then
14698     pkg_cv_LUA_LIBS="$LUA_LIBS"
14699  elif test -n "$PKG_CONFIG"; then
14700     if test -n "$PKG_CONFIG" && \
14701     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14702   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14703   ac_status=$?
14704   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14705   test $ac_status = 0; }; then
14706   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14707                       test "x$?" != "x0" && pkg_failed=yes
14708 else
14709   pkg_failed=yes
14710 fi
14711  else
14712     pkg_failed=untried
14713 fi
14714
14715
14716
14717 if test $pkg_failed = yes; then
14718         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14719 $as_echo "no" >&6; }
14720
14721 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14722         _pkg_short_errors_supported=yes
14723 else
14724         _pkg_short_errors_supported=no
14725 fi
14726         if test $_pkg_short_errors_supported = yes; then
14727                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14728         else
14729                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14730         fi
14731         # Put the nasty error message in config.log where it belongs
14732         echo "$LUA_PKG_ERRORS" >&5
14733
14734         have_lua="no"
14735 elif test $pkg_failed = untried; then
14736         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14737 $as_echo "no" >&6; }
14738         have_lua="no"
14739 else
14740         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14741         LUA_LIBS=$pkg_cv_LUA_LIBS
14742         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14743 $as_echo "yes" >&6; }
14744         requirement_lua="lua51"
14745 fi
14746 elif test $pkg_failed = untried; then
14747         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14748 $as_echo "no" >&6; }
14749
14750 pkg_failed=no
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14752 $as_echo_n "checking for LUA... " >&6; }
14753
14754 if test -n "$LUA_CFLAGS"; then
14755     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14756  elif test -n "$PKG_CONFIG"; then
14757     if test -n "$PKG_CONFIG" && \
14758     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14759   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14760   ac_status=$?
14761   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14762   test $ac_status = 0; }; then
14763   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14764                       test "x$?" != "x0" && pkg_failed=yes
14765 else
14766   pkg_failed=yes
14767 fi
14768  else
14769     pkg_failed=untried
14770 fi
14771 if test -n "$LUA_LIBS"; then
14772     pkg_cv_LUA_LIBS="$LUA_LIBS"
14773  elif test -n "$PKG_CONFIG"; then
14774     if test -n "$PKG_CONFIG" && \
14775     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14776   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14777   ac_status=$?
14778   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14779   test $ac_status = 0; }; then
14780   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14781                       test "x$?" != "x0" && pkg_failed=yes
14782 else
14783   pkg_failed=yes
14784 fi
14785  else
14786     pkg_failed=untried
14787 fi
14788
14789
14790
14791 if test $pkg_failed = yes; then
14792         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14793 $as_echo "no" >&6; }
14794
14795 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14796         _pkg_short_errors_supported=yes
14797 else
14798         _pkg_short_errors_supported=no
14799 fi
14800         if test $_pkg_short_errors_supported = yes; then
14801                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14802         else
14803                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14804         fi
14805         # Put the nasty error message in config.log where it belongs
14806         echo "$LUA_PKG_ERRORS" >&5
14807
14808         have_lua="no"
14809 elif test $pkg_failed = untried; then
14810         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14811 $as_echo "no" >&6; }
14812         have_lua="no"
14813 else
14814         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14815         LUA_LIBS=$pkg_cv_LUA_LIBS
14816         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14817 $as_echo "yes" >&6; }
14818         requirement_lua="lua51"
14819 fi
14820 else
14821         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14822         LUA_LIBS=$pkg_cv_LUA_LIBS
14823         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14824 $as_echo "yes" >&6; }
14825         requirement_lua="lua-5.1"
14826 fi
14827 else
14828         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14829         LUA_LIBS=$pkg_cv_LUA_LIBS
14830         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14831 $as_echo "yes" >&6; }
14832         requirement_lua="lua5.1"
14833 fi
14834 else
14835         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14836         LUA_LIBS=$pkg_cv_LUA_LIBS
14837         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14838 $as_echo "yes" >&6; }
14839         requirement_lua="lua"
14840 fi
14841
14842 if test "x${have_lua}" = "xno" ; then
14843    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lua_newstate() is in liblua" >&5
14844 $as_echo_n "checking whether lua_newstate() is in liblua... " >&6; }
14845    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lua_newstate in -llua" >&5
14846 $as_echo_n "checking for lua_newstate in -llua... " >&6; }
14847 if ${ac_cv_lib_lua_lua_newstate+:} false; then :
14848   $as_echo_n "(cached) " >&6
14849 else
14850   ac_check_lib_save_LIBS=$LIBS
14851 LIBS="-llua  $LIBS"
14852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14853 /* end confdefs.h.  */
14854
14855 /* Override any GCC internal prototype to avoid an error.
14856    Use char because int might match the return type of a GCC
14857    builtin and then its argument prototype would still apply.  */
14858 #ifdef __cplusplus
14859 extern "C"
14860 #endif
14861 char lua_newstate ();
14862 int
14863 main ()
14864 {
14865 return lua_newstate ();
14866   ;
14867   return 0;
14868 }
14869 _ACEOF
14870 if ac_fn_c_try_link "$LINENO"; then :
14871   ac_cv_lib_lua_lua_newstate=yes
14872 else
14873   ac_cv_lib_lua_lua_newstate=no
14874 fi
14875 rm -f core conftest.err conftest.$ac_objext \
14876     conftest$ac_exeext conftest.$ac_ext
14877 LIBS=$ac_check_lib_save_LIBS
14878 fi
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lua_lua_newstate" >&5
14880 $as_echo "$ac_cv_lib_lua_lua_newstate" >&6; }
14881 if test "x$ac_cv_lib_lua_lua_newstate" = xyes; then :
14882
14883        have_lua="yes"
14884        lua_libs="-llua"
14885
14886 else
14887   have_lua="no"
14888 fi
14889
14890    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_lua}" >&5
14891 $as_echo "${have_lua}" >&6; }
14892 fi
14893
14894
14895 if test "x${have_lua}" = "xno" ; then
14896    as_fn_error $? "Cannot find lua library. Be sure that you have installed it and set CFLAGS and LDFLAGS correctly" "$LINENO" 5
14897 fi
14898
14899
14900 pkg_failed=no
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MINIMAL" >&5
14902 $as_echo_n "checking for MINIMAL... " >&6; }
14903
14904 if test -n "$MINIMAL_CFLAGS"; then
14905     pkg_cv_MINIMAL_CFLAGS="$MINIMAL_CFLAGS"
14906  elif test -n "$PKG_CONFIG"; then
14907     if test -n "$PKG_CONFIG" && \
14908     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14909     eina >= 1.6.99
14910     eet >= 1.6.99
14911    \""; } >&5
14912   ($PKG_CONFIG --exists --print-errors "
14913     eina >= 1.6.99
14914     eet >= 1.6.99
14915    ") 2>&5
14916   ac_status=$?
14917   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14918   test $ac_status = 0; }; then
14919   pkg_cv_MINIMAL_CFLAGS=`$PKG_CONFIG --cflags "
14920     eina >= 1.6.99
14921     eet >= 1.6.99
14922    " 2>/dev/null`
14923                       test "x$?" != "x0" && pkg_failed=yes
14924 else
14925   pkg_failed=yes
14926 fi
14927  else
14928     pkg_failed=untried
14929 fi
14930 if test -n "$MINIMAL_LIBS"; then
14931     pkg_cv_MINIMAL_LIBS="$MINIMAL_LIBS"
14932  elif test -n "$PKG_CONFIG"; then
14933     if test -n "$PKG_CONFIG" && \
14934     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14935     eina >= 1.6.99
14936     eet >= 1.6.99
14937    \""; } >&5
14938   ($PKG_CONFIG --exists --print-errors "
14939     eina >= 1.6.99
14940     eet >= 1.6.99
14941    ") 2>&5
14942   ac_status=$?
14943   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14944   test $ac_status = 0; }; then
14945   pkg_cv_MINIMAL_LIBS=`$PKG_CONFIG --libs "
14946     eina >= 1.6.99
14947     eet >= 1.6.99
14948    " 2>/dev/null`
14949                       test "x$?" != "x0" && pkg_failed=yes
14950 else
14951   pkg_failed=yes
14952 fi
14953  else
14954     pkg_failed=untried
14955 fi
14956
14957
14958
14959 if test $pkg_failed = yes; then
14960         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14961 $as_echo "no" >&6; }
14962
14963 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14964         _pkg_short_errors_supported=yes
14965 else
14966         _pkg_short_errors_supported=no
14967 fi
14968         if test $_pkg_short_errors_supported = yes; then
14969                 MINIMAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
14970     eina >= 1.6.99
14971     eet >= 1.6.99
14972    " 2>&1`
14973         else
14974                 MINIMAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
14975     eina >= 1.6.99
14976     eet >= 1.6.99
14977    " 2>&1`
14978         fi
14979         # Put the nasty error message in config.log where it belongs
14980         echo "$MINIMAL_PKG_ERRORS" >&5
14981
14982         as_fn_error $? "Package requirements (
14983     eina >= 1.6.99
14984     eet >= 1.6.99
14985    ) were not met:
14986
14987 $MINIMAL_PKG_ERRORS
14988
14989 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14990 installed software in a non-standard prefix.
14991
14992 Alternatively, you may set the environment variables MINIMAL_CFLAGS
14993 and MINIMAL_LIBS to avoid the need to call pkg-config.
14994 See the pkg-config man page for more details." "$LINENO" 5
14995 elif test $pkg_failed = untried; then
14996         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14997 $as_echo "no" >&6; }
14998         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14999 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15000 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15001 is in your PATH or set the PKG_CONFIG environment variable to the full
15002 path to pkg-config.
15003
15004 Alternatively, you may set the environment variables MINIMAL_CFLAGS
15005 and MINIMAL_LIBS to avoid the need to call pkg-config.
15006 See the pkg-config man page for more details.
15007
15008 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15009 See \`config.log' for more details" "$LINENO" 5; }
15010 else
15011         MINIMAL_CFLAGS=$pkg_cv_MINIMAL_CFLAGS
15012         MINIMAL_LIBS=$pkg_cv_MINIMAL_LIBS
15013         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15014 $as_echo "yes" >&6; }
15015
15016 fi
15017
15018
15019 pkg_failed=no
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE" >&5
15021 $as_echo_n "checking for EDJE... " >&6; }
15022
15023 if test -n "$EDJE_CFLAGS"; then
15024     pkg_cv_EDJE_CFLAGS="$EDJE_CFLAGS"
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.6.99
15029     eet >= 1.6.99
15030     evas >= 1.6.99
15031     ecore >= 1.6.99
15032     ecore-evas >= 1.6.99
15033     ecore-file >= 1.6.99
15034     ecore-input >= 1.6.99
15035     embryo >= 1.6.99
15036    \""; } >&5
15037   ($PKG_CONFIG --exists --print-errors "
15038     eina >= 1.6.99
15039     eet >= 1.6.99
15040     evas >= 1.6.99
15041     ecore >= 1.6.99
15042     ecore-evas >= 1.6.99
15043     ecore-file >= 1.6.99
15044     ecore-input >= 1.6.99
15045     embryo >= 1.6.99
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_CFLAGS=`$PKG_CONFIG --cflags "
15051     eina >= 1.6.99
15052     eet >= 1.6.99
15053     evas >= 1.6.99
15054     ecore >= 1.6.99
15055     ecore-evas >= 1.6.99
15056     ecore-file >= 1.6.99
15057     ecore-input >= 1.6.99
15058     embryo >= 1.6.99
15059    " 2>/dev/null`
15060                       test "x$?" != "x0" && pkg_failed=yes
15061 else
15062   pkg_failed=yes
15063 fi
15064  else
15065     pkg_failed=untried
15066 fi
15067 if test -n "$EDJE_LIBS"; then
15068     pkg_cv_EDJE_LIBS="$EDJE_LIBS"
15069  elif test -n "$PKG_CONFIG"; then
15070     if test -n "$PKG_CONFIG" && \
15071     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15072     eina >= 1.6.99
15073     eet >= 1.6.99
15074     evas >= 1.6.99
15075     ecore >= 1.6.99
15076     ecore-evas >= 1.6.99
15077     ecore-file >= 1.6.99
15078     ecore-input >= 1.6.99
15079     embryo >= 1.6.99
15080    \""; } >&5
15081   ($PKG_CONFIG --exists --print-errors "
15082     eina >= 1.6.99
15083     eet >= 1.6.99
15084     evas >= 1.6.99
15085     ecore >= 1.6.99
15086     ecore-evas >= 1.6.99
15087     ecore-file >= 1.6.99
15088     ecore-input >= 1.6.99
15089     embryo >= 1.6.99
15090    ") 2>&5
15091   ac_status=$?
15092   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15093   test $ac_status = 0; }; then
15094   pkg_cv_EDJE_LIBS=`$PKG_CONFIG --libs "
15095     eina >= 1.6.99
15096     eet >= 1.6.99
15097     evas >= 1.6.99
15098     ecore >= 1.6.99
15099     ecore-evas >= 1.6.99
15100     ecore-file >= 1.6.99
15101     ecore-input >= 1.6.99
15102     embryo >= 1.6.99
15103    " 2>/dev/null`
15104                       test "x$?" != "x0" && pkg_failed=yes
15105 else
15106   pkg_failed=yes
15107 fi
15108  else
15109     pkg_failed=untried
15110 fi
15111
15112
15113
15114 if test $pkg_failed = yes; then
15115         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15116 $as_echo "no" >&6; }
15117
15118 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15119         _pkg_short_errors_supported=yes
15120 else
15121         _pkg_short_errors_supported=no
15122 fi
15123         if test $_pkg_short_errors_supported = yes; then
15124                 EDJE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
15125     eina >= 1.6.99
15126     eet >= 1.6.99
15127     evas >= 1.6.99
15128     ecore >= 1.6.99
15129     ecore-evas >= 1.6.99
15130     ecore-file >= 1.6.99
15131     ecore-input >= 1.6.99
15132     embryo >= 1.6.99
15133    " 2>&1`
15134         else
15135                 EDJE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
15136     eina >= 1.6.99
15137     eet >= 1.6.99
15138     evas >= 1.6.99
15139     ecore >= 1.6.99
15140     ecore-evas >= 1.6.99
15141     ecore-file >= 1.6.99
15142     ecore-input >= 1.6.99
15143     embryo >= 1.6.99
15144    " 2>&1`
15145         fi
15146         # Put the nasty error message in config.log where it belongs
15147         echo "$EDJE_PKG_ERRORS" >&5
15148
15149         as_fn_error $? "Package requirements (
15150     eina >= 1.6.99
15151     eet >= 1.6.99
15152     evas >= 1.6.99
15153     ecore >= 1.6.99
15154     ecore-evas >= 1.6.99
15155     ecore-file >= 1.6.99
15156     ecore-input >= 1.6.99
15157     embryo >= 1.6.99
15158    ) were not met:
15159
15160 $EDJE_PKG_ERRORS
15161
15162 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15163 installed software in a non-standard prefix.
15164
15165 Alternatively, you may set the environment variables EDJE_CFLAGS
15166 and EDJE_LIBS to avoid the need to call pkg-config.
15167 See the pkg-config man page for more details." "$LINENO" 5
15168 elif test $pkg_failed = untried; then
15169         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15170 $as_echo "no" >&6; }
15171         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15173 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15174 is in your PATH or set the PKG_CONFIG environment variable to the full
15175 path to pkg-config.
15176
15177 Alternatively, you may set the environment variables EDJE_CFLAGS
15178 and EDJE_LIBS to avoid the need to call pkg-config.
15179 See the pkg-config man page for more details.
15180
15181 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15182 See \`config.log' for more details" "$LINENO" 5; }
15183 else
15184         EDJE_CFLAGS=$pkg_cv_EDJE_CFLAGS
15185         EDJE_LIBS=$pkg_cv_EDJE_LIBS
15186         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15187 $as_echo "yes" >&6; }
15188
15189 fi
15190
15191 EDJE_LIBS="${EDJE_LIBS} ${LUA_LIBS} ${lua_libs}"
15192 EDJE_CFLAGS="${EDJE_CFLAGS} ${LUA_CFLAGS}"
15193
15194 requirement_edje="embryo >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99 ${requirement_edje}"
15195 requirement_edje="${requirement_lua} ${requirement_edje}"
15196
15197 have_ecore_imf="no"
15198
15199 pkg_failed=no
15200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_IMF" >&5
15201 $as_echo_n "checking for ECORE_IMF... " >&6; }
15202
15203 if test -n "$ECORE_IMF_CFLAGS"; then
15204     pkg_cv_ECORE_IMF_CFLAGS="$ECORE_IMF_CFLAGS"
15205  elif test -n "$PKG_CONFIG"; then
15206     if test -n "$PKG_CONFIG" && \
15207     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15208     ecore-imf >= 1.6.99
15209     ecore-imf-evas >= 1.6.99
15210    \""; } >&5
15211   ($PKG_CONFIG --exists --print-errors "
15212     ecore-imf >= 1.6.99
15213     ecore-imf-evas >= 1.6.99
15214    ") 2>&5
15215   ac_status=$?
15216   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15217   test $ac_status = 0; }; then
15218   pkg_cv_ECORE_IMF_CFLAGS=`$PKG_CONFIG --cflags "
15219     ecore-imf >= 1.6.99
15220     ecore-imf-evas >= 1.6.99
15221    " 2>/dev/null`
15222                       test "x$?" != "x0" && pkg_failed=yes
15223 else
15224   pkg_failed=yes
15225 fi
15226  else
15227     pkg_failed=untried
15228 fi
15229 if test -n "$ECORE_IMF_LIBS"; then
15230     pkg_cv_ECORE_IMF_LIBS="$ECORE_IMF_LIBS"
15231  elif test -n "$PKG_CONFIG"; then
15232     if test -n "$PKG_CONFIG" && \
15233     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15234     ecore-imf >= 1.6.99
15235     ecore-imf-evas >= 1.6.99
15236    \""; } >&5
15237   ($PKG_CONFIG --exists --print-errors "
15238     ecore-imf >= 1.6.99
15239     ecore-imf-evas >= 1.6.99
15240    ") 2>&5
15241   ac_status=$?
15242   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15243   test $ac_status = 0; }; then
15244   pkg_cv_ECORE_IMF_LIBS=`$PKG_CONFIG --libs "
15245     ecore-imf >= 1.6.99
15246     ecore-imf-evas >= 1.6.99
15247    " 2>/dev/null`
15248                       test "x$?" != "x0" && pkg_failed=yes
15249 else
15250   pkg_failed=yes
15251 fi
15252  else
15253     pkg_failed=untried
15254 fi
15255
15256
15257
15258 if test $pkg_failed = yes; then
15259         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15260 $as_echo "no" >&6; }
15261
15262 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15263         _pkg_short_errors_supported=yes
15264 else
15265         _pkg_short_errors_supported=no
15266 fi
15267         if test $_pkg_short_errors_supported = yes; then
15268                 ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
15269     ecore-imf >= 1.6.99
15270     ecore-imf-evas >= 1.6.99
15271    " 2>&1`
15272         else
15273                 ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
15274     ecore-imf >= 1.6.99
15275     ecore-imf-evas >= 1.6.99
15276    " 2>&1`
15277         fi
15278         # Put the nasty error message in config.log where it belongs
15279         echo "$ECORE_IMF_PKG_ERRORS" >&5
15280
15281         have_ecore_imf="no"
15282 elif test $pkg_failed = untried; then
15283         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15284 $as_echo "no" >&6; }
15285         have_ecore_imf="no"
15286 else
15287         ECORE_IMF_CFLAGS=$pkg_cv_ECORE_IMF_CFLAGS
15288         ECORE_IMF_LIBS=$pkg_cv_ECORE_IMF_LIBS
15289         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15290 $as_echo "yes" >&6; }
15291
15292
15293 $as_echo "#define HAVE_ECORE_IMF 1" >>confdefs.h
15294
15295     have_ecore_imf="yes"
15296     requirement_edje="ecore-imf-evas >= 1.6.99 ecore-imf >= 1.6.99 ${requirement_edje}"
15297
15298 fi
15299
15300
15301 pkg_failed=no
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIO" >&5
15303 $as_echo_n "checking for EIO... " >&6; }
15304
15305 if test -n "$EIO_CFLAGS"; then
15306     pkg_cv_EIO_CFLAGS="$EIO_CFLAGS"
15307  elif test -n "$PKG_CONFIG"; then
15308     if test -n "$PKG_CONFIG" && \
15309     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio >= 1.6.99\""; } >&5
15310   ($PKG_CONFIG --exists --print-errors "eio >= 1.6.99") 2>&5
15311   ac_status=$?
15312   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15313   test $ac_status = 0; }; then
15314   pkg_cv_EIO_CFLAGS=`$PKG_CONFIG --cflags "eio >= 1.6.99" 2>/dev/null`
15315                       test "x$?" != "x0" && pkg_failed=yes
15316 else
15317   pkg_failed=yes
15318 fi
15319  else
15320     pkg_failed=untried
15321 fi
15322 if test -n "$EIO_LIBS"; then
15323     pkg_cv_EIO_LIBS="$EIO_LIBS"
15324  elif test -n "$PKG_CONFIG"; then
15325     if test -n "$PKG_CONFIG" && \
15326     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio >= 1.6.99\""; } >&5
15327   ($PKG_CONFIG --exists --print-errors "eio >= 1.6.99") 2>&5
15328   ac_status=$?
15329   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15330   test $ac_status = 0; }; then
15331   pkg_cv_EIO_LIBS=`$PKG_CONFIG --libs "eio >= 1.6.99" 2>/dev/null`
15332                       test "x$?" != "x0" && pkg_failed=yes
15333 else
15334   pkg_failed=yes
15335 fi
15336  else
15337     pkg_failed=untried
15338 fi
15339
15340
15341
15342 if test $pkg_failed = yes; then
15343         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15344 $as_echo "no" >&6; }
15345
15346 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15347         _pkg_short_errors_supported=yes
15348 else
15349         _pkg_short_errors_supported=no
15350 fi
15351         if test $_pkg_short_errors_supported = yes; then
15352                 EIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eio >= 1.6.99" 2>&1`
15353         else
15354                 EIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eio >= 1.6.99" 2>&1`
15355         fi
15356         # Put the nasty error message in config.log where it belongs
15357         echo "$EIO_PKG_ERRORS" >&5
15358
15359         have_eio="no"
15360 elif test $pkg_failed = untried; then
15361         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15362 $as_echo "no" >&6; }
15363         have_eio="no"
15364 else
15365         EIO_CFLAGS=$pkg_cv_EIO_CFLAGS
15366         EIO_LIBS=$pkg_cv_EIO_LIBS
15367         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15368 $as_echo "yes" >&6; }
15369
15370
15371 $as_echo "#define HAVE_EIO 1" >>confdefs.h
15372
15373     have_eio="yes"
15374     requirement_edje="eio >= 1.6.99 ${requirement_edje}"
15375
15376 fi
15377
15378 # Enable Multisense use
15379 want_multisense="no"
15380  if test "x${want_multisense}" = "xyes"; then
15381   ENABLE_MULTISENSE_TRUE=
15382   ENABLE_MULTISENSE_FALSE='#'
15383 else
15384   ENABLE_MULTISENSE_TRUE='#'
15385   ENABLE_MULTISENSE_FALSE=
15386 fi
15387
15388
15389 ##sndfile library
15390 have_sndfile="no"
15391 want_sndfile="auto"
15392 # Check whether --enable-sndfile was given.
15393 if test "${enable_sndfile+set}" = set; then :
15394   enableval=$enable_sndfile; want_sndfile=$enableval
15395 fi
15396
15397
15398 if test "x${want_multisense}" = "xyes" -a  "x$want_sndfile" != "xno"; then
15399
15400
15401 pkg_failed=no
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDFILE" >&5
15403 $as_echo_n "checking for SNDFILE... " >&6; }
15404
15405 if test -n "$SNDFILE_CFLAGS"; then
15406     pkg_cv_SNDFILE_CFLAGS="$SNDFILE_CFLAGS"
15407  elif test -n "$PKG_CONFIG"; then
15408     if test -n "$PKG_CONFIG" && \
15409     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.21\""; } >&5
15410   ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.21") 2>&5
15411   ac_status=$?
15412   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15413   test $ac_status = 0; }; then
15414   pkg_cv_SNDFILE_CFLAGS=`$PKG_CONFIG --cflags "sndfile >= 1.0.21" 2>/dev/null`
15415                       test "x$?" != "x0" && pkg_failed=yes
15416 else
15417   pkg_failed=yes
15418 fi
15419  else
15420     pkg_failed=untried
15421 fi
15422 if test -n "$SNDFILE_LIBS"; then
15423     pkg_cv_SNDFILE_LIBS="$SNDFILE_LIBS"
15424  elif test -n "$PKG_CONFIG"; then
15425     if test -n "$PKG_CONFIG" && \
15426     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.21\""; } >&5
15427   ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.21") 2>&5
15428   ac_status=$?
15429   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15430   test $ac_status = 0; }; then
15431   pkg_cv_SNDFILE_LIBS=`$PKG_CONFIG --libs "sndfile >= 1.0.21" 2>/dev/null`
15432                       test "x$?" != "x0" && pkg_failed=yes
15433 else
15434   pkg_failed=yes
15435 fi
15436  else
15437     pkg_failed=untried
15438 fi
15439
15440
15441
15442 if test $pkg_failed = yes; then
15443         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15444 $as_echo "no" >&6; }
15445
15446 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15447         _pkg_short_errors_supported=yes
15448 else
15449         _pkg_short_errors_supported=no
15450 fi
15451         if test $_pkg_short_errors_supported = yes; then
15452                 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sndfile >= 1.0.21" 2>&1`
15453         else
15454                 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sndfile >= 1.0.21" 2>&1`
15455         fi
15456         # Put the nasty error message in config.log where it belongs
15457         echo "$SNDFILE_PKG_ERRORS" >&5
15458
15459         have_sndfile="no"; want_multisense="no"
15460
15461 elif test $pkg_failed = untried; then
15462         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15463 $as_echo "no" >&6; }
15464         have_sndfile="no"; want_multisense="no"
15465
15466 else
15467         SNDFILE_CFLAGS=$pkg_cv_SNDFILE_CFLAGS
15468         SNDFILE_LIBS=$pkg_cv_SNDFILE_LIBS
15469         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15470 $as_echo "yes" >&6; }
15471
15472
15473 $as_echo "#define HAVE_LIBSNDFILE 1" >>confdefs.h
15474
15475                have_sndfile="yes"
15476                requirement_edje="sndfile >= 1.0.21 ${requirement_edje}"
15477
15478 fi
15479
15480         if test "x$want_sndfile" = "xyes" -a "x$have_sndfile" = "xno"; then
15481             as_fn_error $? "sndfile support requested, but not found by pkg-config." "$LINENO" 5
15482         fi
15483 fi
15484  if test "x${have_sndfile}" = "xyes"; then
15485   HAVE_LIBSNDFILE_TRUE=
15486   HAVE_LIBSNDFILE_FALSE='#'
15487 else
15488   HAVE_LIBSNDFILE_TRUE='#'
15489   HAVE_LIBSNDFILE_FALSE=
15490 fi
15491
15492
15493 ##libremix library
15494 have_libremix="no"
15495 want_libremix="auto"
15496 # Check whether --enable-remix was given.
15497 if test "${enable_remix+set}" = set; then :
15498   enableval=$enable_remix; want_libremix=$enableval
15499 fi
15500
15501
15502 if test "x${want_multisense}" = "xyes" -a "x$want_libremix" != "xno"; then
15503
15504 pkg_failed=no
15505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for REMIX" >&5
15506 $as_echo_n "checking for REMIX... " >&6; }
15507
15508 if test -n "$REMIX_CFLAGS"; then
15509     pkg_cv_REMIX_CFLAGS="$REMIX_CFLAGS"
15510  elif test -n "$PKG_CONFIG"; then
15511     if test -n "$PKG_CONFIG" && \
15512     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"remix >= 0.2.4\""; } >&5
15513   ($PKG_CONFIG --exists --print-errors "remix >= 0.2.4") 2>&5
15514   ac_status=$?
15515   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15516   test $ac_status = 0; }; then
15517   pkg_cv_REMIX_CFLAGS=`$PKG_CONFIG --cflags "remix >= 0.2.4" 2>/dev/null`
15518                       test "x$?" != "x0" && pkg_failed=yes
15519 else
15520   pkg_failed=yes
15521 fi
15522  else
15523     pkg_failed=untried
15524 fi
15525 if test -n "$REMIX_LIBS"; then
15526     pkg_cv_REMIX_LIBS="$REMIX_LIBS"
15527  elif test -n "$PKG_CONFIG"; then
15528     if test -n "$PKG_CONFIG" && \
15529     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"remix >= 0.2.4\""; } >&5
15530   ($PKG_CONFIG --exists --print-errors "remix >= 0.2.4") 2>&5
15531   ac_status=$?
15532   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15533   test $ac_status = 0; }; then
15534   pkg_cv_REMIX_LIBS=`$PKG_CONFIG --libs "remix >= 0.2.4" 2>/dev/null`
15535                       test "x$?" != "x0" && pkg_failed=yes
15536 else
15537   pkg_failed=yes
15538 fi
15539  else
15540     pkg_failed=untried
15541 fi
15542
15543
15544
15545 if test $pkg_failed = yes; then
15546         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15547 $as_echo "no" >&6; }
15548
15549 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15550         _pkg_short_errors_supported=yes
15551 else
15552         _pkg_short_errors_supported=no
15553 fi
15554         if test $_pkg_short_errors_supported = yes; then
15555                 REMIX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "remix >= 0.2.4" 2>&1`
15556         else
15557                 REMIX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "remix >= 0.2.4" 2>&1`
15558         fi
15559         # Put the nasty error message in config.log where it belongs
15560         echo "$REMIX_PKG_ERRORS" >&5
15561
15562         have_libremix="no"; want_multisense="no"
15563
15564 elif test $pkg_failed = untried; then
15565         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15566 $as_echo "no" >&6; }
15567         have_libremix="no"; want_multisense="no"
15568
15569 else
15570         REMIX_CFLAGS=$pkg_cv_REMIX_CFLAGS
15571         REMIX_LIBS=$pkg_cv_REMIX_LIBS
15572         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15573 $as_echo "yes" >&6; }
15574
15575
15576 $as_echo "#define HAVE_LIBREMIX 1" >>confdefs.h
15577
15578        have_libremix="yes"
15579        requirement_edje="remix >= 0.2.4 ${requirement_edje}"
15580
15581 $as_echo "#define __REMIX_PLUGIN__ 1" >>confdefs.h
15582
15583        REMIX_PLUGIN_DIR=`pkg-config --variable=libdir remix`"/remix"
15584
15585
15586 cat >>confdefs.h <<_ACEOF
15587 #define REMIX_PLUGIN_DIR "$REMIX_PLUGIN_DIR"
15588 _ACEOF
15589
15590
15591 fi
15592
15593         if test "x$want_libremix" = "xyes" -a "x$have_libremix" = "xno"; then
15594             as_fn_error $? "remix support requested, but not found by pkg-config." "$LINENO" 5
15595         fi
15596 fi
15597  if test "x${have_libremix}" = "xyes"; then
15598   HAVE_LIBREMIX_TRUE=
15599   HAVE_LIBREMIX_FALSE='#'
15600 else
15601   HAVE_LIBREMIX_TRUE='#'
15602   HAVE_LIBREMIX_FALSE=
15603 fi
15604
15605
15606 ##vorbis/ogg library
15607 have_vorbis="no"
15608 want_vorbis="auto"
15609 # Check whether --enable-vorbisenc was given.
15610 if test "${enable_vorbisenc+set}" = set; then :
15611   enableval=$enable_vorbisenc; want_vorbis=$enableval
15612 fi
15613
15614
15615 if test "x${want_multisense}" = "xyes" -a "x$want_vorbis" != "xno"; then
15616
15617 pkg_failed=no
15618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VORBISENC" >&5
15619 $as_echo_n "checking for VORBISENC... " >&6; }
15620
15621 if test -n "$VORBISENC_CFLAGS"; then
15622     pkg_cv_VORBISENC_CFLAGS="$VORBISENC_CFLAGS"
15623  elif test -n "$PKG_CONFIG"; then
15624     if test -n "$PKG_CONFIG" && \
15625     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15626        ogg >= 1.1.4
15627        vorbis >= 1.2.3
15628        vorbisenc >= 1.2.3
15629       \""; } >&5
15630   ($PKG_CONFIG --exists --print-errors "
15631        ogg >= 1.1.4
15632        vorbis >= 1.2.3
15633        vorbisenc >= 1.2.3
15634       ") 2>&5
15635   ac_status=$?
15636   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15637   test $ac_status = 0; }; then
15638   pkg_cv_VORBISENC_CFLAGS=`$PKG_CONFIG --cflags "
15639        ogg >= 1.1.4
15640        vorbis >= 1.2.3
15641        vorbisenc >= 1.2.3
15642       " 2>/dev/null`
15643                       test "x$?" != "x0" && pkg_failed=yes
15644 else
15645   pkg_failed=yes
15646 fi
15647  else
15648     pkg_failed=untried
15649 fi
15650 if test -n "$VORBISENC_LIBS"; then
15651     pkg_cv_VORBISENC_LIBS="$VORBISENC_LIBS"
15652  elif test -n "$PKG_CONFIG"; then
15653     if test -n "$PKG_CONFIG" && \
15654     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15655        ogg >= 1.1.4
15656        vorbis >= 1.2.3
15657        vorbisenc >= 1.2.3
15658       \""; } >&5
15659   ($PKG_CONFIG --exists --print-errors "
15660        ogg >= 1.1.4
15661        vorbis >= 1.2.3
15662        vorbisenc >= 1.2.3
15663       ") 2>&5
15664   ac_status=$?
15665   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15666   test $ac_status = 0; }; then
15667   pkg_cv_VORBISENC_LIBS=`$PKG_CONFIG --libs "
15668        ogg >= 1.1.4
15669        vorbis >= 1.2.3
15670        vorbisenc >= 1.2.3
15671       " 2>/dev/null`
15672                       test "x$?" != "x0" && pkg_failed=yes
15673 else
15674   pkg_failed=yes
15675 fi
15676  else
15677     pkg_failed=untried
15678 fi
15679
15680
15681
15682 if test $pkg_failed = yes; then
15683         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15684 $as_echo "no" >&6; }
15685
15686 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15687         _pkg_short_errors_supported=yes
15688 else
15689         _pkg_short_errors_supported=no
15690 fi
15691         if test $_pkg_short_errors_supported = yes; then
15692                 VORBISENC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
15693        ogg >= 1.1.4
15694        vorbis >= 1.2.3
15695        vorbisenc >= 1.2.3
15696       " 2>&1`
15697         else
15698                 VORBISENC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
15699        ogg >= 1.1.4
15700        vorbis >= 1.2.3
15701        vorbisenc >= 1.2.3
15702       " 2>&1`
15703         fi
15704         # Put the nasty error message in config.log where it belongs
15705         echo "$VORBISENC_PKG_ERRORS" >&5
15706
15707         have_vorbis="no"; want_multisense="no"
15708
15709 elif test $pkg_failed = untried; then
15710         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15711 $as_echo "no" >&6; }
15712         have_vorbis="no"; want_multisense="no"
15713
15714 else
15715         VORBISENC_CFLAGS=$pkg_cv_VORBISENC_CFLAGS
15716         VORBISENC_LIBS=$pkg_cv_VORBISENC_LIBS
15717         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15718 $as_echo "yes" >&6; }
15719
15720
15721 $as_echo "#define HAVE_VORBIS 1" >>confdefs.h
15722
15723        have_vorbis="yes"
15724        requirement_edje="ogg >= 1.1.4 vorbis >= 1.2.3 vorbisenc >= 1.2.3 ${requirement_edje}"
15725
15726 fi
15727
15728         if test "x$want_vorbis" = "xyes" -a "x$have_vorbis" = "xno"; then
15729             as_fn_error $? "vorbisenc support requested, but not found by pkg-config." "$LINENO" 5
15730         fi
15731 fi
15732
15733 ##alsa library
15734 have_alsa_lib="no"
15735 want_alsa_lib="auto"
15736 # Check whether --enable-alsa was given.
15737 if test "${enable_alsa+set}" = set; then :
15738   enableval=$enable_alsa; want_alsa_lib=$enableval
15739 fi
15740
15741
15742 if test "x${want_multisense}" = "xyes" -a "x$want_alsa_lib" != "xno"; then
15743
15744 pkg_failed=no
15745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
15746 $as_echo_n "checking for ALSA... " >&6; }
15747
15748 if test -n "$ALSA_CFLAGS"; then
15749     pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
15750  elif test -n "$PKG_CONFIG"; then
15751     if test -n "$PKG_CONFIG" && \
15752     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15753        alsa >= 1.0.21
15754       \""; } >&5
15755   ($PKG_CONFIG --exists --print-errors "
15756        alsa >= 1.0.21
15757       ") 2>&5
15758   ac_status=$?
15759   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15760   test $ac_status = 0; }; then
15761   pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "
15762        alsa >= 1.0.21
15763       " 2>/dev/null`
15764                       test "x$?" != "x0" && pkg_failed=yes
15765 else
15766   pkg_failed=yes
15767 fi
15768  else
15769     pkg_failed=untried
15770 fi
15771 if test -n "$ALSA_LIBS"; then
15772     pkg_cv_ALSA_LIBS="$ALSA_LIBS"
15773  elif test -n "$PKG_CONFIG"; then
15774     if test -n "$PKG_CONFIG" && \
15775     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15776        alsa >= 1.0.21
15777       \""; } >&5
15778   ($PKG_CONFIG --exists --print-errors "
15779        alsa >= 1.0.21
15780       ") 2>&5
15781   ac_status=$?
15782   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15783   test $ac_status = 0; }; then
15784   pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "
15785        alsa >= 1.0.21
15786       " 2>/dev/null`
15787                       test "x$?" != "x0" && pkg_failed=yes
15788 else
15789   pkg_failed=yes
15790 fi
15791  else
15792     pkg_failed=untried
15793 fi
15794
15795
15796
15797 if test $pkg_failed = yes; then
15798         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15799 $as_echo "no" >&6; }
15800
15801 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15802         _pkg_short_errors_supported=yes
15803 else
15804         _pkg_short_errors_supported=no
15805 fi
15806         if test $_pkg_short_errors_supported = yes; then
15807                 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
15808        alsa >= 1.0.21
15809       " 2>&1`
15810         else
15811                 ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
15812        alsa >= 1.0.21
15813       " 2>&1`
15814         fi
15815         # Put the nasty error message in config.log where it belongs
15816         echo "$ALSA_PKG_ERRORS" >&5
15817
15818         have_alsa_lib="no"; want_multisense="no"
15819
15820 elif test $pkg_failed = untried; then
15821         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15822 $as_echo "no" >&6; }
15823         have_alsa_lib="no"; want_multisense="no"
15824
15825 else
15826         ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
15827         ALSA_LIBS=$pkg_cv_ALSA_LIBS
15828         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15829 $as_echo "yes" >&6; }
15830
15831
15832 $as_echo "#define HAVE_LIBALSA 1" >>confdefs.h
15833
15834        have_alsa_lib="yes"
15835        requirement_edje="alsa >= 1.0.21 ${requirement_edje}"
15836
15837 fi
15838
15839         if test "x$want_alsa_lib" = "xyes" -a "x$have_alsa_lib" = "xno"; then
15840             as_fn_error $? "alsa support requested, but not found by pkg-config." "$LINENO" 5
15841         fi
15842 fi
15843  if test "x${have_alsa_lib}" = "xyes"; then
15844   HAVE_LIBALSA_TRUE=
15845   HAVE_LIBALSA_FALSE='#'
15846 else
15847   HAVE_LIBALSA_TRUE='#'
15848   HAVE_LIBALSA_FALSE=
15849 fi
15850
15851
15852
15853 ##flac library
15854 have_flac_lib="no"
15855 want_flac_lib="auto"
15856 # Check whether --enable-flac was given.
15857 if test "${enable_flac+set}" = set; then :
15858   enableval=$enable_flac; want_flac_lib=$enableval
15859 fi
15860
15861
15862 if test "x${want_multisense}" = "xyes" -a "x$want_flac_lib" != "xno"; then
15863
15864 pkg_failed=no
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLAC" >&5
15866 $as_echo_n "checking for FLAC... " >&6; }
15867
15868 if test -n "$FLAC_CFLAGS"; then
15869     pkg_cv_FLAC_CFLAGS="$FLAC_CFLAGS"
15870  elif test -n "$PKG_CONFIG"; then
15871     if test -n "$PKG_CONFIG" && \
15872     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15873        flac >= 1.2.1
15874       \""; } >&5
15875   ($PKG_CONFIG --exists --print-errors "
15876        flac >= 1.2.1
15877       ") 2>&5
15878   ac_status=$?
15879   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15880   test $ac_status = 0; }; then
15881   pkg_cv_FLAC_CFLAGS=`$PKG_CONFIG --cflags "
15882        flac >= 1.2.1
15883       " 2>/dev/null`
15884                       test "x$?" != "x0" && pkg_failed=yes
15885 else
15886   pkg_failed=yes
15887 fi
15888  else
15889     pkg_failed=untried
15890 fi
15891 if test -n "$FLAC_LIBS"; then
15892     pkg_cv_FLAC_LIBS="$FLAC_LIBS"
15893  elif test -n "$PKG_CONFIG"; then
15894     if test -n "$PKG_CONFIG" && \
15895     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15896        flac >= 1.2.1
15897       \""; } >&5
15898   ($PKG_CONFIG --exists --print-errors "
15899        flac >= 1.2.1
15900       ") 2>&5
15901   ac_status=$?
15902   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15903   test $ac_status = 0; }; then
15904   pkg_cv_FLAC_LIBS=`$PKG_CONFIG --libs "
15905        flac >= 1.2.1
15906       " 2>/dev/null`
15907                       test "x$?" != "x0" && pkg_failed=yes
15908 else
15909   pkg_failed=yes
15910 fi
15911  else
15912     pkg_failed=untried
15913 fi
15914
15915
15916
15917 if test $pkg_failed = yes; then
15918         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15919 $as_echo "no" >&6; }
15920
15921 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15922         _pkg_short_errors_supported=yes
15923 else
15924         _pkg_short_errors_supported=no
15925 fi
15926         if test $_pkg_short_errors_supported = yes; then
15927                 FLAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
15928        flac >= 1.2.1
15929       " 2>&1`
15930         else
15931                 FLAC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
15932        flac >= 1.2.1
15933       " 2>&1`
15934         fi
15935         # Put the nasty error message in config.log where it belongs
15936         echo "$FLAC_PKG_ERRORS" >&5
15937
15938         have_flac_lib="no"; want_multisense="no"
15939
15940 elif test $pkg_failed = untried; then
15941         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15942 $as_echo "no" >&6; }
15943         have_flac_lib="no"; want_multisense="no"
15944
15945 else
15946         FLAC_CFLAGS=$pkg_cv_FLAC_CFLAGS
15947         FLAC_LIBS=$pkg_cv_FLAC_LIBS
15948         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15949 $as_echo "yes" >&6; }
15950
15951
15952 $as_echo "#define HAVE_LIBFLAC 1" >>confdefs.h
15953
15954        have_flac_lib="yes"
15955        # disabled because this adds flac include dirs to cflags... and
15956        # FLAC has an assert.h in its include dirs that ends up
15957        # overriding the system assert.h and thus causes all sorts of
15958        # mayhem
15959        #requirement_edje="flac >= 1.2.1 ${requirement_edje}"
15960
15961 fi
15962         if test "x$want_flac_lib" = "xyes" -a "x$have_flac_lib" = "xno"; then
15963             as_fn_error $? "flac support requested, but not found by pkg-config." "$LINENO" 5
15964         fi
15965 fi
15966
15967 if test "x${want_multisense}" = "xyes" ; then
15968
15969 $as_echo "#define ENABLE_MULTISENSE 1" >>confdefs.h
15970
15971 fi
15972
15973
15974 # Dependencies for the binaries
15975
15976 if test "x${have_edje_cc}" = "xyes" ; then
15977
15978 pkg_failed=no
15979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_CC" >&5
15980 $as_echo_n "checking for EDJE_CC... " >&6; }
15981
15982 if test -n "$EDJE_CC_CFLAGS"; then
15983     pkg_cv_EDJE_CC_CFLAGS="$EDJE_CC_CFLAGS"
15984  elif test -n "$PKG_CONFIG"; then
15985     if test -n "$PKG_CONFIG" && \
15986     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99\""; } >&5
15987   ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99") 2>&5
15988   ac_status=$?
15989   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15990   test $ac_status = 0; }; then
15991   pkg_cv_EDJE_CC_CFLAGS=`$PKG_CONFIG --cflags "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99" 2>/dev/null`
15992                       test "x$?" != "x0" && pkg_failed=yes
15993 else
15994   pkg_failed=yes
15995 fi
15996  else
15997     pkg_failed=untried
15998 fi
15999 if test -n "$EDJE_CC_LIBS"; then
16000     pkg_cv_EDJE_CC_LIBS="$EDJE_CC_LIBS"
16001  elif test -n "$PKG_CONFIG"; then
16002     if test -n "$PKG_CONFIG" && \
16003     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99\""; } >&5
16004   ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99") 2>&5
16005   ac_status=$?
16006   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16007   test $ac_status = 0; }; then
16008   pkg_cv_EDJE_CC_LIBS=`$PKG_CONFIG --libs "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99" 2>/dev/null`
16009                       test "x$?" != "x0" && pkg_failed=yes
16010 else
16011   pkg_failed=yes
16012 fi
16013  else
16014     pkg_failed=untried
16015 fi
16016
16017
16018
16019 if test $pkg_failed = yes; then
16020         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16021 $as_echo "no" >&6; }
16022
16023 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16024         _pkg_short_errors_supported=yes
16025 else
16026         _pkg_short_errors_supported=no
16027 fi
16028         if test $_pkg_short_errors_supported = yes; then
16029                 EDJE_CC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99" 2>&1`
16030         else
16031                 EDJE_CC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99" 2>&1`
16032         fi
16033         # Put the nasty error message in config.log where it belongs
16034         echo "$EDJE_CC_PKG_ERRORS" >&5
16035
16036         as_fn_error $? "Package requirements (ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99) were not met:
16037
16038 $EDJE_CC_PKG_ERRORS
16039
16040 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16041 installed software in a non-standard prefix.
16042
16043 Alternatively, you may set the environment variables EDJE_CC_CFLAGS
16044 and EDJE_CC_LIBS to avoid the need to call pkg-config.
16045 See the pkg-config man page for more details." "$LINENO" 5
16046 elif test $pkg_failed = untried; then
16047         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16048 $as_echo "no" >&6; }
16049         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16050 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16051 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16052 is in your PATH or set the PKG_CONFIG environment variable to the full
16053 path to pkg-config.
16054
16055 Alternatively, you may set the environment variables EDJE_CC_CFLAGS
16056 and EDJE_CC_LIBS to avoid the need to call pkg-config.
16057 See the pkg-config man page for more details.
16058
16059 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16060 See \`config.log' for more details" "$LINENO" 5; }
16061 else
16062         EDJE_CC_CFLAGS=$pkg_cv_EDJE_CC_CFLAGS
16063         EDJE_CC_LIBS=$pkg_cv_EDJE_CC_LIBS
16064         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16065 $as_echo "yes" >&6; }
16066
16067 fi
16068    EDJE_CC_LIBS="${EDJE_CC_LIBS} ${LUA_LIBS} ${lua_libs}"
16069 fi
16070
16071  if test "x${have_edje_cc}" = "xyes"; then
16072   BUILD_EPP_TRUE=
16073   BUILD_EPP_FALSE='#'
16074 else
16075   BUILD_EPP_TRUE='#'
16076   BUILD_EPP_FALSE=
16077 fi
16078
16079
16080 if test "x${have_edje_decc}" = "xyes" ; then
16081
16082 pkg_failed=no
16083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_DECC" >&5
16084 $as_echo_n "checking for EDJE_DECC... " >&6; }
16085
16086 if test -n "$EDJE_DECC_CFLAGS"; then
16087     pkg_cv_EDJE_DECC_CFLAGS="$EDJE_DECC_CFLAGS"
16088  elif test -n "$PKG_CONFIG"; then
16089     if test -n "$PKG_CONFIG" && \
16090     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99\""; } >&5
16091   ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99") 2>&5
16092   ac_status=$?
16093   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16094   test $ac_status = 0; }; then
16095   pkg_cv_EDJE_DECC_CFLAGS=`$PKG_CONFIG --cflags "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
16096                       test "x$?" != "x0" && pkg_failed=yes
16097 else
16098   pkg_failed=yes
16099 fi
16100  else
16101     pkg_failed=untried
16102 fi
16103 if test -n "$EDJE_DECC_LIBS"; then
16104     pkg_cv_EDJE_DECC_LIBS="$EDJE_DECC_LIBS"
16105  elif test -n "$PKG_CONFIG"; then
16106     if test -n "$PKG_CONFIG" && \
16107     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99\""; } >&5
16108   ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99") 2>&5
16109   ac_status=$?
16110   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16111   test $ac_status = 0; }; then
16112   pkg_cv_EDJE_DECC_LIBS=`$PKG_CONFIG --libs "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
16113                       test "x$?" != "x0" && pkg_failed=yes
16114 else
16115   pkg_failed=yes
16116 fi
16117  else
16118     pkg_failed=untried
16119 fi
16120
16121
16122
16123 if test $pkg_failed = yes; then
16124         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16125 $as_echo "no" >&6; }
16126
16127 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16128         _pkg_short_errors_supported=yes
16129 else
16130         _pkg_short_errors_supported=no
16131 fi
16132         if test $_pkg_short_errors_supported = yes; then
16133                 EDJE_DECC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99" 2>&1`
16134         else
16135                 EDJE_DECC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99" 2>&1`
16136         fi
16137         # Put the nasty error message in config.log where it belongs
16138         echo "$EDJE_DECC_PKG_ERRORS" >&5
16139
16140         as_fn_error $? "Package requirements (ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99) were not met:
16141
16142 $EDJE_DECC_PKG_ERRORS
16143
16144 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16145 installed software in a non-standard prefix.
16146
16147 Alternatively, you may set the environment variables EDJE_DECC_CFLAGS
16148 and EDJE_DECC_LIBS to avoid the need to call pkg-config.
16149 See the pkg-config man page for more details." "$LINENO" 5
16150 elif test $pkg_failed = untried; then
16151         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16152 $as_echo "no" >&6; }
16153         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16155 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16156 is in your PATH or set the PKG_CONFIG environment variable to the full
16157 path to pkg-config.
16158
16159 Alternatively, you may set the environment variables EDJE_DECC_CFLAGS
16160 and EDJE_DECC_LIBS to avoid the need to call pkg-config.
16161 See the pkg-config man page for more details.
16162
16163 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16164 See \`config.log' for more details" "$LINENO" 5; }
16165 else
16166         EDJE_DECC_CFLAGS=$pkg_cv_EDJE_DECC_CFLAGS
16167         EDJE_DECC_LIBS=$pkg_cv_EDJE_DECC_LIBS
16168         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16169 $as_echo "yes" >&6; }
16170
16171 fi
16172 fi
16173
16174 if test "x${have_edje_player}" = "xyes" ; then
16175
16176 pkg_failed=no
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_PLAYER" >&5
16178 $as_echo_n "checking for EDJE_PLAYER... " >&6; }
16179
16180 if test -n "$EDJE_PLAYER_CFLAGS"; then
16181     pkg_cv_EDJE_PLAYER_CFLAGS="$EDJE_PLAYER_CFLAGS"
16182  elif test -n "$PKG_CONFIG"; then
16183     if test -n "$PKG_CONFIG" && \
16184     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99\""; } >&5
16185   ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99") 2>&5
16186   ac_status=$?
16187   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16188   test $ac_status = 0; }; then
16189   pkg_cv_EDJE_PLAYER_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
16190                       test "x$?" != "x0" && pkg_failed=yes
16191 else
16192   pkg_failed=yes
16193 fi
16194  else
16195     pkg_failed=untried
16196 fi
16197 if test -n "$EDJE_PLAYER_LIBS"; then
16198     pkg_cv_EDJE_PLAYER_LIBS="$EDJE_PLAYER_LIBS"
16199  elif test -n "$PKG_CONFIG"; then
16200     if test -n "$PKG_CONFIG" && \
16201     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99\""; } >&5
16202   ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99") 2>&5
16203   ac_status=$?
16204   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16205   test $ac_status = 0; }; then
16206   pkg_cv_EDJE_PLAYER_LIBS=`$PKG_CONFIG --libs "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
16207                       test "x$?" != "x0" && pkg_failed=yes
16208 else
16209   pkg_failed=yes
16210 fi
16211  else
16212     pkg_failed=untried
16213 fi
16214
16215
16216
16217 if test $pkg_failed = yes; then
16218         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16219 $as_echo "no" >&6; }
16220
16221 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16222         _pkg_short_errors_supported=yes
16223 else
16224         _pkg_short_errors_supported=no
16225 fi
16226         if test $_pkg_short_errors_supported = yes; then
16227                 EDJE_PLAYER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>&1`
16228         else
16229                 EDJE_PLAYER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>&1`
16230         fi
16231         # Put the nasty error message in config.log where it belongs
16232         echo "$EDJE_PLAYER_PKG_ERRORS" >&5
16233
16234         as_fn_error $? "Package requirements (ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99) were not met:
16235
16236 $EDJE_PLAYER_PKG_ERRORS
16237
16238 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16239 installed software in a non-standard prefix.
16240
16241 Alternatively, you may set the environment variables EDJE_PLAYER_CFLAGS
16242 and EDJE_PLAYER_LIBS to avoid the need to call pkg-config.
16243 See the pkg-config man page for more details." "$LINENO" 5
16244 elif test $pkg_failed = untried; then
16245         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16246 $as_echo "no" >&6; }
16247         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16249 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16250 is in your PATH or set the PKG_CONFIG environment variable to the full
16251 path to pkg-config.
16252
16253 Alternatively, you may set the environment variables EDJE_PLAYER_CFLAGS
16254 and EDJE_PLAYER_LIBS to avoid the need to call pkg-config.
16255 See the pkg-config man page for more details.
16256
16257 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16258 See \`config.log' for more details" "$LINENO" 5; }
16259 else
16260         EDJE_PLAYER_CFLAGS=$pkg_cv_EDJE_PLAYER_CFLAGS
16261         EDJE_PLAYER_LIBS=$pkg_cv_EDJE_PLAYER_LIBS
16262         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16263 $as_echo "yes" >&6; }
16264
16265 fi
16266 fi
16267
16268 if test "x${have_edje_inspector}" = "xyes" ; then
16269
16270 pkg_failed=no
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_INSPECTOR" >&5
16272 $as_echo_n "checking for EDJE_INSPECTOR... " >&6; }
16273
16274 if test -n "$EDJE_INSPECTOR_CFLAGS"; then
16275     pkg_cv_EDJE_INSPECTOR_CFLAGS="$EDJE_INSPECTOR_CFLAGS"
16276  elif test -n "$PKG_CONFIG"; then
16277     if test -n "$PKG_CONFIG" && \
16278     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99\""; } >&5
16279   ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99") 2>&5
16280   ac_status=$?
16281   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16282   test $ac_status = 0; }; then
16283   pkg_cv_EDJE_INSPECTOR_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
16284                       test "x$?" != "x0" && pkg_failed=yes
16285 else
16286   pkg_failed=yes
16287 fi
16288  else
16289     pkg_failed=untried
16290 fi
16291 if test -n "$EDJE_INSPECTOR_LIBS"; then
16292     pkg_cv_EDJE_INSPECTOR_LIBS="$EDJE_INSPECTOR_LIBS"
16293  elif test -n "$PKG_CONFIG"; then
16294     if test -n "$PKG_CONFIG" && \
16295     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99\""; } >&5
16296   ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99") 2>&5
16297   ac_status=$?
16298   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16299   test $ac_status = 0; }; then
16300   pkg_cv_EDJE_INSPECTOR_LIBS=`$PKG_CONFIG --libs "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
16301                       test "x$?" != "x0" && pkg_failed=yes
16302 else
16303   pkg_failed=yes
16304 fi
16305  else
16306     pkg_failed=untried
16307 fi
16308
16309
16310
16311 if test $pkg_failed = yes; then
16312         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16313 $as_echo "no" >&6; }
16314
16315 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16316         _pkg_short_errors_supported=yes
16317 else
16318         _pkg_short_errors_supported=no
16319 fi
16320         if test $_pkg_short_errors_supported = yes; then
16321                 EDJE_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>&1`
16322         else
16323                 EDJE_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>&1`
16324         fi
16325         # Put the nasty error message in config.log where it belongs
16326         echo "$EDJE_INSPECTOR_PKG_ERRORS" >&5
16327
16328         as_fn_error $? "Package requirements (ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99) were not met:
16329
16330 $EDJE_INSPECTOR_PKG_ERRORS
16331
16332 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16333 installed software in a non-standard prefix.
16334
16335 Alternatively, you may set the environment variables EDJE_INSPECTOR_CFLAGS
16336 and EDJE_INSPECTOR_LIBS to avoid the need to call pkg-config.
16337 See the pkg-config man page for more details." "$LINENO" 5
16338 elif test $pkg_failed = untried; then
16339         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16340 $as_echo "no" >&6; }
16341         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16343 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16344 is in your PATH or set the PKG_CONFIG environment variable to the full
16345 path to pkg-config.
16346
16347 Alternatively, you may set the environment variables EDJE_INSPECTOR_CFLAGS
16348 and EDJE_INSPECTOR_LIBS to avoid the need to call pkg-config.
16349 See the pkg-config man page for more details.
16350
16351 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16352 See \`config.log' for more details" "$LINENO" 5; }
16353 else
16354         EDJE_INSPECTOR_CFLAGS=$pkg_cv_EDJE_INSPECTOR_CFLAGS
16355         EDJE_INSPECTOR_LIBS=$pkg_cv_EDJE_INSPECTOR_LIBS
16356         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16357 $as_echo "yes" >&6; }
16358
16359 fi
16360 fi
16361
16362 if test "x${have_edje_external_inspector}" = "xyes" ; then
16363
16364 pkg_failed=no
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_EXTERNAL_INSPECTOR" >&5
16366 $as_echo_n "checking for EDJE_EXTERNAL_INSPECTOR... " >&6; }
16367
16368 if test -n "$EDJE_EXTERNAL_INSPECTOR_CFLAGS"; then
16369     pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS="$EDJE_EXTERNAL_INSPECTOR_CFLAGS"
16370  elif test -n "$PKG_CONFIG"; then
16371     if test -n "$PKG_CONFIG" && \
16372     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99\""; } >&5
16373   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99") 2>&5
16374   ac_status=$?
16375   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16376   test $ac_status = 0; }; then
16377   pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
16378                       test "x$?" != "x0" && pkg_failed=yes
16379 else
16380   pkg_failed=yes
16381 fi
16382  else
16383     pkg_failed=untried
16384 fi
16385 if test -n "$EDJE_EXTERNAL_INSPECTOR_LIBS"; then
16386     pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS="$EDJE_EXTERNAL_INSPECTOR_LIBS"
16387  elif test -n "$PKG_CONFIG"; then
16388     if test -n "$PKG_CONFIG" && \
16389     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99\""; } >&5
16390   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99") 2>&5
16391   ac_status=$?
16392   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16393   test $ac_status = 0; }; then
16394   pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
16395                       test "x$?" != "x0" && pkg_failed=yes
16396 else
16397   pkg_failed=yes
16398 fi
16399  else
16400     pkg_failed=untried
16401 fi
16402
16403
16404
16405 if test $pkg_failed = yes; then
16406         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16407 $as_echo "no" >&6; }
16408
16409 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16410         _pkg_short_errors_supported=yes
16411 else
16412         _pkg_short_errors_supported=no
16413 fi
16414         if test $_pkg_short_errors_supported = yes; then
16415                 EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>&1`
16416         else
16417                 EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>&1`
16418         fi
16419         # Put the nasty error message in config.log where it belongs
16420         echo "$EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS" >&5
16421
16422         as_fn_error $? "Package requirements (ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99) were not met:
16423
16424 $EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS
16425
16426 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16427 installed software in a non-standard prefix.
16428
16429 Alternatively, you may set the environment variables EDJE_EXTERNAL_INSPECTOR_CFLAGS
16430 and EDJE_EXTERNAL_INSPECTOR_LIBS to avoid the need to call pkg-config.
16431 See the pkg-config man page for more details." "$LINENO" 5
16432 elif test $pkg_failed = untried; then
16433         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16434 $as_echo "no" >&6; }
16435         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16437 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16438 is in your PATH or set the PKG_CONFIG environment variable to the full
16439 path to pkg-config.
16440
16441 Alternatively, you may set the environment variables EDJE_EXTERNAL_INSPECTOR_CFLAGS
16442 and EDJE_EXTERNAL_INSPECTOR_LIBS to avoid the need to call pkg-config.
16443 See the pkg-config man page for more details.
16444
16445 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16446 See \`config.log' for more details" "$LINENO" 5; }
16447 else
16448         EDJE_EXTERNAL_INSPECTOR_CFLAGS=$pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS
16449         EDJE_EXTERNAL_INSPECTOR_LIBS=$pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS
16450         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16451 $as_echo "yes" >&6; }
16452
16453 fi
16454 fi
16455
16456 if test "x${have_edje_watch}" = "xyes" ; then
16457
16458 pkg_failed=no
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_WATCH" >&5
16460 $as_echo_n "checking for EDJE_WATCH... " >&6; }
16461
16462 if test -n "$EDJE_WATCH_CFLAGS"; then
16463     pkg_cv_EDJE_WATCH_CFLAGS="$EDJE_WATCH_CFLAGS"
16464  elif test -n "$PKG_CONFIG"; then
16465     if test -n "$PKG_CONFIG" && \
16466     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99\""; } >&5
16467   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99") 2>&5
16468   ac_status=$?
16469   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16470   test $ac_status = 0; }; then
16471   pkg_cv_EDJE_WATCH_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99" 2>/dev/null`
16472                       test "x$?" != "x0" && pkg_failed=yes
16473 else
16474   pkg_failed=yes
16475 fi
16476  else
16477     pkg_failed=untried
16478 fi
16479 if test -n "$EDJE_WATCH_LIBS"; then
16480     pkg_cv_EDJE_WATCH_LIBS="$EDJE_WATCH_LIBS"
16481  elif test -n "$PKG_CONFIG"; then
16482     if test -n "$PKG_CONFIG" && \
16483     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99\""; } >&5
16484   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99") 2>&5
16485   ac_status=$?
16486   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16487   test $ac_status = 0; }; then
16488   pkg_cv_EDJE_WATCH_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99" 2>/dev/null`
16489                       test "x$?" != "x0" && pkg_failed=yes
16490 else
16491   pkg_failed=yes
16492 fi
16493  else
16494     pkg_failed=untried
16495 fi
16496
16497
16498
16499 if test $pkg_failed = yes; then
16500         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16501 $as_echo "no" >&6; }
16502
16503 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16504         _pkg_short_errors_supported=yes
16505 else
16506         _pkg_short_errors_supported=no
16507 fi
16508         if test $_pkg_short_errors_supported = yes; then
16509                 EDJE_WATCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99" 2>&1`
16510         else
16511                 EDJE_WATCH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99" 2>&1`
16512         fi
16513         # Put the nasty error message in config.log where it belongs
16514         echo "$EDJE_WATCH_PKG_ERRORS" >&5
16515
16516         have_edje_watch="no"
16517 elif test $pkg_failed = untried; then
16518         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16519 $as_echo "no" >&6; }
16520         have_edje_watch="no"
16521 else
16522         EDJE_WATCH_CFLAGS=$pkg_cv_EDJE_WATCH_CFLAGS
16523         EDJE_WATCH_LIBS=$pkg_cv_EDJE_WATCH_LIBS
16524         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16525 $as_echo "yes" >&6; }
16526         have_edje_watch="yes"
16527 fi
16528 fi
16529
16530  if test "x${have_edje_watch}" = "xyes"; then
16531   BUILD_EDJE_WATCH_TRUE=
16532   BUILD_EDJE_WATCH_FALSE='#'
16533 else
16534   BUILD_EDJE_WATCH_TRUE='#'
16535   BUILD_EDJE_WATCH_FALSE=
16536 fi
16537
16538
16539 ### Checks for header files
16540 for ac_header in locale.h sys/resource.h
16541 do :
16542   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16543 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16544 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16545   cat >>confdefs.h <<_ACEOF
16546 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16547 _ACEOF
16548
16549 fi
16550
16551 done
16552
16553
16554
16555
16556 default_max="4096"
16557 ac_ext=c
16558 ac_cpp='$CPP $CPPFLAGS'
16559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16562
16563
16564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
16565 $as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
16566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16567 /* end confdefs.h.  */
16568
16569 #include <limits.h>
16570
16571 int
16572 main ()
16573 {
16574
16575 int i = PATH_MAX;
16576
16577   ;
16578   return 0;
16579 }
16580 _ACEOF
16581 if ac_fn_c_try_compile "$LINENO"; then :
16582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16583 $as_echo "yes" >&6; }
16584 else
16585
16586
16587 cat >>confdefs.h <<_ACEOF
16588 #define PATH_MAX ${default_max}
16589 _ACEOF
16590
16591     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
16592 $as_echo "no: using ${default_max}" >&6; }
16593
16594 fi
16595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16596
16597 ac_ext=c
16598 ac_cpp='$CPP $CPPFLAGS'
16599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16602
16603
16604
16605
16606
16607 ### Checks for types
16608
16609
16610 ### Checks for structures
16611
16612
16613 ### Checks for compiler characteristics
16614 if test "x$CC" != xcc; then
16615   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
16616 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
16617 else
16618   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
16619 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
16620 fi
16621 set dummy $CC; ac_cc=`$as_echo "$2" |
16622                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
16623 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
16624   $as_echo_n "(cached) " >&6
16625 else
16626   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16627 /* end confdefs.h.  */
16628
16629 int
16630 main ()
16631 {
16632
16633   ;
16634   return 0;
16635 }
16636 _ACEOF
16637 # Make sure it works both with $CC and with simple cc.
16638 # We do the test twice because some compilers refuse to overwrite an
16639 # existing .o file with -o, though they will create one.
16640 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
16641 rm -f conftest2.*
16642 if { { case "(($ac_try" in
16643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16644   *) ac_try_echo=$ac_try;;
16645 esac
16646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16647 $as_echo "$ac_try_echo"; } >&5
16648   (eval "$ac_try") 2>&5
16649   ac_status=$?
16650   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16651   test $ac_status = 0; } &&
16652    test -f conftest2.$ac_objext && { { case "(($ac_try" in
16653   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16654   *) ac_try_echo=$ac_try;;
16655 esac
16656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16657 $as_echo "$ac_try_echo"; } >&5
16658   (eval "$ac_try") 2>&5
16659   ac_status=$?
16660   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16661   test $ac_status = 0; };
16662 then
16663   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
16664   if test "x$CC" != xcc; then
16665     # Test first that cc exists at all.
16666     if { ac_try='cc -c conftest.$ac_ext >&5'
16667   { { case "(($ac_try" in
16668   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16669   *) ac_try_echo=$ac_try;;
16670 esac
16671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16672 $as_echo "$ac_try_echo"; } >&5
16673   (eval "$ac_try") 2>&5
16674   ac_status=$?
16675   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16676   test $ac_status = 0; }; }; then
16677       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
16678       rm -f conftest2.*
16679       if { { case "(($ac_try" in
16680   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16681   *) ac_try_echo=$ac_try;;
16682 esac
16683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16684 $as_echo "$ac_try_echo"; } >&5
16685   (eval "$ac_try") 2>&5
16686   ac_status=$?
16687   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16688   test $ac_status = 0; } &&
16689          test -f conftest2.$ac_objext && { { case "(($ac_try" in
16690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16691   *) ac_try_echo=$ac_try;;
16692 esac
16693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16694 $as_echo "$ac_try_echo"; } >&5
16695   (eval "$ac_try") 2>&5
16696   ac_status=$?
16697   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16698   test $ac_status = 0; };
16699       then
16700         # cc works too.
16701         :
16702       else
16703         # cc exists but doesn't like -o.
16704         eval ac_cv_prog_cc_${ac_cc}_c_o=no
16705       fi
16706     fi
16707   fi
16708 else
16709   eval ac_cv_prog_cc_${ac_cc}_c_o=no
16710 fi
16711 rm -f core conftest*
16712
16713 fi
16714 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
16715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16716 $as_echo "yes" >&6; }
16717 else
16718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16719 $as_echo "no" >&6; }
16720
16721 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
16722
16723 fi
16724
16725 # FIXME: we rely on the cache variable name because
16726 # there is no other way.
16727 set dummy $CC
16728 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
16729 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
16730 if test "$am_t" != yes; then
16731    # Losing compiler, so override with the script.
16732    # FIXME: It is wrong to rewrite CC.
16733    # But if we don't then we get into trouble of one sort or another.
16734    # A longer-term fix would be to have automake use am__CC in this case,
16735    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
16736    CC="$am_aux_dir/compile $CC"
16737 fi
16738
16739
16740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
16741 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
16742 if ${ac_cv_c_const+:} false; then :
16743   $as_echo_n "(cached) " >&6
16744 else
16745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16746 /* end confdefs.h.  */
16747
16748 int
16749 main ()
16750 {
16751 /* FIXME: Include the comments suggested by Paul. */
16752 #ifndef __cplusplus
16753   /* Ultrix mips cc rejects this.  */
16754   typedef int charset[2];
16755   const charset cs;
16756   /* SunOS 4.1.1 cc rejects this.  */
16757   char const *const *pcpcc;
16758   char **ppc;
16759   /* NEC SVR4.0.2 mips cc rejects this.  */
16760   struct point {int x, y;};
16761   static struct point const zero = {0,0};
16762   /* AIX XL C 1.02.0.0 rejects this.
16763      It does not let you subtract one const X* pointer from another in
16764      an arm of an if-expression whose if-part is not a constant
16765      expression */
16766   const char *g = "string";
16767   pcpcc = &g + (g ? g-g : 0);
16768   /* HPUX 7.0 cc rejects these. */
16769   ++pcpcc;
16770   ppc = (char**) pcpcc;
16771   pcpcc = (char const *const *) ppc;
16772   { /* SCO 3.2v4 cc rejects this.  */
16773     char *t;
16774     char const *s = 0 ? (char *) 0 : (char const *) 0;
16775
16776     *t++ = 0;
16777     if (s) return 0;
16778   }
16779   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
16780     int x[] = {25, 17};
16781     const int *foo = &x[0];
16782     ++foo;
16783   }
16784   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16785     typedef const int *iptr;
16786     iptr p = 0;
16787     ++p;
16788   }
16789   { /* AIX XL C 1.02.0.0 rejects this saying
16790        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16791     struct s { int j; const int *ap[3]; };
16792     struct s *b; b->j = 5;
16793   }
16794   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16795     const int foo = 10;
16796     if (!foo) return 0;
16797   }
16798   return !cs[0] && !zero.x;
16799 #endif
16800
16801   ;
16802   return 0;
16803 }
16804 _ACEOF
16805 if ac_fn_c_try_compile "$LINENO"; then :
16806   ac_cv_c_const=yes
16807 else
16808   ac_cv_c_const=no
16809 fi
16810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16811 fi
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
16813 $as_echo "$ac_cv_c_const" >&6; }
16814 if test $ac_cv_c_const = no; then
16815
16816 $as_echo "#define const /**/" >>confdefs.h
16817
16818 fi
16819
16820    case $ac_cv_prog_cc_stdc in #(
16821   no) :
16822     ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
16823   *) :
16824     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
16825 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
16826 if ${ac_cv_prog_cc_c99+:} false; then :
16827   $as_echo_n "(cached) " >&6
16828 else
16829   ac_cv_prog_cc_c99=no
16830 ac_save_CC=$CC
16831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16832 /* end confdefs.h.  */
16833 #include <stdarg.h>
16834 #include <stdbool.h>
16835 #include <stdlib.h>
16836 #include <wchar.h>
16837 #include <stdio.h>
16838
16839 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
16840 #define debug(...) fprintf (stderr, __VA_ARGS__)
16841 #define showlist(...) puts (#__VA_ARGS__)
16842 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
16843 static void
16844 test_varargs_macros (void)
16845 {
16846   int x = 1234;
16847   int y = 5678;
16848   debug ("Flag");
16849   debug ("X = %d\n", x);
16850   showlist (The first, second, and third items.);
16851   report (x>y, "x is %d but y is %d", x, y);
16852 }
16853
16854 // Check long long types.
16855 #define BIG64 18446744073709551615ull
16856 #define BIG32 4294967295ul
16857 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
16858 #if !BIG_OK
16859   your preprocessor is broken;
16860 #endif
16861 #if BIG_OK
16862 #else
16863   your preprocessor is broken;
16864 #endif
16865 static long long int bignum = -9223372036854775807LL;
16866 static unsigned long long int ubignum = BIG64;
16867
16868 struct incomplete_array
16869 {
16870   int datasize;
16871   double data[];
16872 };
16873
16874 struct named_init {
16875   int number;
16876   const wchar_t *name;
16877   double average;
16878 };
16879
16880 typedef const char *ccp;
16881
16882 static inline int
16883 test_restrict (ccp restrict text)
16884 {
16885   // See if C++-style comments work.
16886   // Iterate through items via the restricted pointer.
16887   // Also check for declarations in for loops.
16888   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
16889     continue;
16890   return 0;
16891 }
16892
16893 // Check varargs and va_copy.
16894 static void
16895 test_varargs (const char *format, ...)
16896 {
16897   va_list args;
16898   va_start (args, format);
16899   va_list args_copy;
16900   va_copy (args_copy, args);
16901
16902   const char *str;
16903   int number;
16904   float fnumber;
16905
16906   while (*format)
16907     {
16908       switch (*format++)
16909         {
16910         case 's': // string
16911           str = va_arg (args_copy, const char *);
16912           break;
16913         case 'd': // int
16914           number = va_arg (args_copy, int);
16915           break;
16916         case 'f': // float
16917           fnumber = va_arg (args_copy, double);
16918           break;
16919         default:
16920           break;
16921         }
16922     }
16923   va_end (args_copy);
16924   va_end (args);
16925 }
16926
16927 int
16928 main ()
16929 {
16930
16931   // Check bool.
16932   _Bool success = false;
16933
16934   // Check restrict.
16935   if (test_restrict ("String literal") == 0)
16936     success = true;
16937   char *restrict newvar = "Another string";
16938
16939   // Check varargs.
16940   test_varargs ("s, d' f .", "string", 65, 34.234);
16941   test_varargs_macros ();
16942
16943   // Check flexible array members.
16944   struct incomplete_array *ia =
16945     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
16946   ia->datasize = 10;
16947   for (int i = 0; i < ia->datasize; ++i)
16948     ia->data[i] = i * 1.234;
16949
16950   // Check named initializers.
16951   struct named_init ni = {
16952     .number = 34,
16953     .name = L"Test wide string",
16954     .average = 543.34343,
16955   };
16956
16957   ni.number = 58;
16958
16959   int dynamic_array[ni.number];
16960   dynamic_array[ni.number - 1] = 543;
16961
16962   // work around unused variable warnings
16963   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
16964           || dynamic_array[ni.number - 1] != 543);
16965
16966   ;
16967   return 0;
16968 }
16969 _ACEOF
16970 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
16971 do
16972   CC="$ac_save_CC $ac_arg"
16973   if ac_fn_c_try_compile "$LINENO"; then :
16974   ac_cv_prog_cc_c99=$ac_arg
16975 fi
16976 rm -f core conftest.err conftest.$ac_objext
16977   test "x$ac_cv_prog_cc_c99" != "xno" && break
16978 done
16979 rm -f conftest.$ac_ext
16980 CC=$ac_save_CC
16981
16982 fi
16983 # AC_CACHE_VAL
16984 case "x$ac_cv_prog_cc_c99" in
16985   x)
16986     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16987 $as_echo "none needed" >&6; } ;;
16988   xno)
16989     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16990 $as_echo "unsupported" >&6; } ;;
16991   *)
16992     CC="$CC $ac_cv_prog_cc_c99"
16993     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
16994 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
16995 esac
16996 if test "x$ac_cv_prog_cc_c99" != xno; then :
16997   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
16998 else
16999   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17000 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17001 if ${ac_cv_prog_cc_c89+:} false; then :
17002   $as_echo_n "(cached) " >&6
17003 else
17004   ac_cv_prog_cc_c89=no
17005 ac_save_CC=$CC
17006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17007 /* end confdefs.h.  */
17008 #include <stdarg.h>
17009 #include <stdio.h>
17010 #include <sys/types.h>
17011 #include <sys/stat.h>
17012 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
17013 struct buf { int x; };
17014 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17015 static char *e (p, i)
17016      char **p;
17017      int i;
17018 {
17019   return p[i];
17020 }
17021 static char *f (char * (*g) (char **, int), char **p, ...)
17022 {
17023   char *s;
17024   va_list v;
17025   va_start (v,p);
17026   s = g (p, va_arg (v,int));
17027   va_end (v);
17028   return s;
17029 }
17030
17031 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
17032    function prototypes and stuff, but not '\xHH' hex character constants.
17033    These don't provoke an error unfortunately, instead are silently treated
17034    as 'x'.  The following induces an error, until -std is added to get
17035    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
17036    array size at least.  It's necessary to write '\x00'==0 to get something
17037    that's true only with -std.  */
17038 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17039
17040 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17041    inside strings and character constants.  */
17042 #define FOO(x) 'x'
17043 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17044
17045 int test (int i, double x);
17046 struct s1 {int (*f) (int a);};
17047 struct s2 {int (*f) (double a);};
17048 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17049 int argc;
17050 char **argv;
17051 int
17052 main ()
17053 {
17054 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
17055   ;
17056   return 0;
17057 }
17058 _ACEOF
17059 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17060         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17061 do
17062   CC="$ac_save_CC $ac_arg"
17063   if ac_fn_c_try_compile "$LINENO"; then :
17064   ac_cv_prog_cc_c89=$ac_arg
17065 fi
17066 rm -f core conftest.err conftest.$ac_objext
17067   test "x$ac_cv_prog_cc_c89" != "xno" && break
17068 done
17069 rm -f conftest.$ac_ext
17070 CC=$ac_save_CC
17071
17072 fi
17073 # AC_CACHE_VAL
17074 case "x$ac_cv_prog_cc_c89" in
17075   x)
17076     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17077 $as_echo "none needed" >&6; } ;;
17078   xno)
17079     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17080 $as_echo "unsupported" >&6; } ;;
17081   *)
17082     CC="$CC $ac_cv_prog_cc_c89"
17083     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17084 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17085 esac
17086 if test "x$ac_cv_prog_cc_c89" != xno; then :
17087   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
17088 else
17089   ac_cv_prog_cc_stdc=no
17090 fi
17091
17092 fi
17093  ;;
17094 esac
17095   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
17096 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
17097   if ${ac_cv_prog_cc_stdc+:} false; then :
17098   $as_echo_n "(cached) " >&6
17099 fi
17100
17101   case $ac_cv_prog_cc_stdc in #(
17102   no) :
17103     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17104 $as_echo "unsupported" >&6; } ;; #(
17105   '') :
17106     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17107 $as_echo "none needed" >&6; } ;; #(
17108   *) :
17109     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
17110 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
17111 esac
17112
17113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
17114 $as_echo_n "checking for ANSI C header files... " >&6; }
17115 if ${ac_cv_header_stdc+:} false; then :
17116   $as_echo_n "(cached) " >&6
17117 else
17118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17119 /* end confdefs.h.  */
17120 #include <stdlib.h>
17121 #include <stdarg.h>
17122 #include <string.h>
17123 #include <float.h>
17124
17125 int
17126 main ()
17127 {
17128
17129   ;
17130   return 0;
17131 }
17132 _ACEOF
17133 if ac_fn_c_try_compile "$LINENO"; then :
17134   ac_cv_header_stdc=yes
17135 else
17136   ac_cv_header_stdc=no
17137 fi
17138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17139
17140 if test $ac_cv_header_stdc = yes; then
17141   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17143 /* end confdefs.h.  */
17144 #include <string.h>
17145
17146 _ACEOF
17147 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17148   $EGREP "memchr" >/dev/null 2>&1; then :
17149
17150 else
17151   ac_cv_header_stdc=no
17152 fi
17153 rm -f conftest*
17154
17155 fi
17156
17157 if test $ac_cv_header_stdc = yes; then
17158   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17160 /* end confdefs.h.  */
17161 #include <stdlib.h>
17162
17163 _ACEOF
17164 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17165   $EGREP "free" >/dev/null 2>&1; then :
17166
17167 else
17168   ac_cv_header_stdc=no
17169 fi
17170 rm -f conftest*
17171
17172 fi
17173
17174 if test $ac_cv_header_stdc = yes; then
17175   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17176   if test "$cross_compiling" = yes; then :
17177   :
17178 else
17179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17180 /* end confdefs.h.  */
17181 #include <ctype.h>
17182 #include <stdlib.h>
17183 #if ((' ' & 0x0FF) == 0x020)
17184 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17185 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17186 #else
17187 # define ISLOWER(c) \
17188                    (('a' <= (c) && (c) <= 'i') \
17189                      || ('j' <= (c) && (c) <= 'r') \
17190                      || ('s' <= (c) && (c) <= 'z'))
17191 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17192 #endif
17193
17194 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17195 int
17196 main ()
17197 {
17198   int i;
17199   for (i = 0; i < 256; i++)
17200     if (XOR (islower (i), ISLOWER (i))
17201         || toupper (i) != TOUPPER (i))
17202       return 2;
17203   return 0;
17204 }
17205 _ACEOF
17206 if ac_fn_c_try_run "$LINENO"; then :
17207
17208 else
17209   ac_cv_header_stdc=no
17210 fi
17211 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17212   conftest.$ac_objext conftest.beam conftest.$ac_ext
17213 fi
17214
17215 fi
17216 fi
17217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
17218 $as_echo "$ac_cv_header_stdc" >&6; }
17219 if test $ac_cv_header_stdc = yes; then
17220
17221 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
17222
17223 fi
17224
17225
17226
17227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
17228 $as_echo_n "checking for __attribute__... " >&6; }
17229
17230 if ${ac_cv___attribute__+:} false; then :
17231   $as_echo_n "(cached) " >&6
17232 else
17233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17234 /* end confdefs.h.  */
17235
17236 #include <stdlib.h>
17237
17238 int func(int x);
17239 int foo(int x __attribute__ ((unused)))
17240 {
17241    exit(1);
17242 }
17243
17244 int
17245 main ()
17246 {
17247
17248   ;
17249   return 0;
17250 }
17251 _ACEOF
17252 if ac_fn_c_try_compile "$LINENO"; then :
17253   ac_cv___attribute__="yes"
17254 else
17255   ac_cv___attribute__="no"
17256
17257 fi
17258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17259 fi
17260
17261
17262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
17263 $as_echo "$ac_cv___attribute__" >&6; }
17264
17265 if test "x${ac_cv___attribute__}" = "xyes" ; then
17266
17267 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
17268
17269
17270 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
17271
17272   else
17273
17274 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
17275
17276 fi
17277
17278
17279
17280 case "$host_os" in
17281    mingw32ce*)
17282       EDJE_CFLAGS="${EDJE_CFLAGS} -D_WIN32_WCE=0x0420"
17283       ;;
17284 esac
17285
17286
17287 ### Checks for linker characteristics
17288
17289 lt_enable_auto_import=""
17290 case "$host_os" in
17291    mingw*)
17292       lt_enable_auto_import="-Wl,--enable-auto-import"
17293       ;;
17294 esac
17295
17296
17297
17298 ### Checks for library functions
17299
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
17301 $as_echo_n "checking for library containing strerror... " >&6; }
17302 if ${ac_cv_search_strerror+:} false; then :
17303   $as_echo_n "(cached) " >&6
17304 else
17305   ac_func_search_save_LIBS=$LIBS
17306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17307 /* end confdefs.h.  */
17308
17309 /* Override any GCC internal prototype to avoid an error.
17310    Use char because int might match the return type of a GCC
17311    builtin and then its argument prototype would still apply.  */
17312 #ifdef __cplusplus
17313 extern "C"
17314 #endif
17315 char strerror ();
17316 int
17317 main ()
17318 {
17319 return strerror ();
17320   ;
17321   return 0;
17322 }
17323 _ACEOF
17324 for ac_lib in '' cposix; do
17325   if test -z "$ac_lib"; then
17326     ac_res="none required"
17327   else
17328     ac_res=-l$ac_lib
17329     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17330   fi
17331   if ac_fn_c_try_link "$LINENO"; then :
17332   ac_cv_search_strerror=$ac_res
17333 fi
17334 rm -f core conftest.err conftest.$ac_objext \
17335     conftest$ac_exeext
17336   if ${ac_cv_search_strerror+:} false; then :
17337   break
17338 fi
17339 done
17340 if ${ac_cv_search_strerror+:} false; then :
17341
17342 else
17343   ac_cv_search_strerror=no
17344 fi
17345 rm conftest.$ac_ext
17346 LIBS=$ac_func_search_save_LIBS
17347 fi
17348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
17349 $as_echo "$ac_cv_search_strerror" >&6; }
17350 ac_res=$ac_cv_search_strerror
17351 if test "$ac_res" != no; then :
17352   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17353
17354 fi
17355
17356
17357 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17358 if test "x$ac_cv_type_size_t" = xyes; then :
17359
17360 else
17361
17362 cat >>confdefs.h <<_ACEOF
17363 #define size_t unsigned int
17364 _ACEOF
17365
17366 fi
17367
17368 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
17369 # for constant arguments.  Useless!
17370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
17371 $as_echo_n "checking for working alloca.h... " >&6; }
17372 if ${ac_cv_working_alloca_h+:} false; then :
17373   $as_echo_n "(cached) " >&6
17374 else
17375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17376 /* end confdefs.h.  */
17377 #include <alloca.h>
17378 int
17379 main ()
17380 {
17381 char *p = (char *) alloca (2 * sizeof (int));
17382                           if (p) return 0;
17383   ;
17384   return 0;
17385 }
17386 _ACEOF
17387 if ac_fn_c_try_link "$LINENO"; then :
17388   ac_cv_working_alloca_h=yes
17389 else
17390   ac_cv_working_alloca_h=no
17391 fi
17392 rm -f core conftest.err conftest.$ac_objext \
17393     conftest$ac_exeext conftest.$ac_ext
17394 fi
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
17396 $as_echo "$ac_cv_working_alloca_h" >&6; }
17397 if test $ac_cv_working_alloca_h = yes; then
17398
17399 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
17400
17401 fi
17402
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
17404 $as_echo_n "checking for alloca... " >&6; }
17405 if ${ac_cv_func_alloca_works+:} false; then :
17406   $as_echo_n "(cached) " >&6
17407 else
17408   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17409 /* end confdefs.h.  */
17410 #ifdef __GNUC__
17411 # define alloca __builtin_alloca
17412 #else
17413 # ifdef _MSC_VER
17414 #  include <malloc.h>
17415 #  define alloca _alloca
17416 # else
17417 #  ifdef HAVE_ALLOCA_H
17418 #   include <alloca.h>
17419 #  else
17420 #   ifdef _AIX
17421  #pragma alloca
17422 #   else
17423 #    ifndef alloca /* predefined by HP cc +Olibcalls */
17424 void *alloca (size_t);
17425 #    endif
17426 #   endif
17427 #  endif
17428 # endif
17429 #endif
17430
17431 int
17432 main ()
17433 {
17434 char *p = (char *) alloca (1);
17435                                     if (p) return 0;
17436   ;
17437   return 0;
17438 }
17439 _ACEOF
17440 if ac_fn_c_try_link "$LINENO"; then :
17441   ac_cv_func_alloca_works=yes
17442 else
17443   ac_cv_func_alloca_works=no
17444 fi
17445 rm -f core conftest.err conftest.$ac_objext \
17446     conftest$ac_exeext conftest.$ac_ext
17447 fi
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
17449 $as_echo "$ac_cv_func_alloca_works" >&6; }
17450
17451 if test $ac_cv_func_alloca_works = yes; then
17452
17453 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
17454
17455 else
17456   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
17457 # that cause trouble.  Some versions do not even contain alloca or
17458 # contain a buggy version.  If you still want to use their alloca,
17459 # use ar to extract alloca.o from them instead of compiling alloca.c.
17460
17461 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
17462
17463 $as_echo "#define C_ALLOCA 1" >>confdefs.h
17464
17465
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
17467 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
17468 if ${ac_cv_os_cray+:} false; then :
17469   $as_echo_n "(cached) " >&6
17470 else
17471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17472 /* end confdefs.h.  */
17473 #if defined CRAY && ! defined CRAY2
17474 webecray
17475 #else
17476 wenotbecray
17477 #endif
17478
17479 _ACEOF
17480 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17481   $EGREP "webecray" >/dev/null 2>&1; then :
17482   ac_cv_os_cray=yes
17483 else
17484   ac_cv_os_cray=no
17485 fi
17486 rm -f conftest*
17487
17488 fi
17489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
17490 $as_echo "$ac_cv_os_cray" >&6; }
17491 if test $ac_cv_os_cray = yes; then
17492   for ac_func in _getb67 GETB67 getb67; do
17493     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17494 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17495 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17496
17497 cat >>confdefs.h <<_ACEOF
17498 #define CRAY_STACKSEG_END $ac_func
17499 _ACEOF
17500
17501     break
17502 fi
17503
17504   done
17505 fi
17506
17507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
17508 $as_echo_n "checking stack direction for C alloca... " >&6; }
17509 if ${ac_cv_c_stack_direction+:} false; then :
17510   $as_echo_n "(cached) " >&6
17511 else
17512   if test "$cross_compiling" = yes; then :
17513   ac_cv_c_stack_direction=0
17514 else
17515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17516 /* end confdefs.h.  */
17517 $ac_includes_default
17518 int
17519 find_stack_direction ()
17520 {
17521   static char *addr = 0;
17522   auto char dummy;
17523   if (addr == 0)
17524     {
17525       addr = &dummy;
17526       return find_stack_direction ();
17527     }
17528   else
17529     return (&dummy > addr) ? 1 : -1;
17530 }
17531
17532 int
17533 main ()
17534 {
17535   return find_stack_direction () < 0;
17536 }
17537 _ACEOF
17538 if ac_fn_c_try_run "$LINENO"; then :
17539   ac_cv_c_stack_direction=1
17540 else
17541   ac_cv_c_stack_direction=-1
17542 fi
17543 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17544   conftest.$ac_objext conftest.beam conftest.$ac_ext
17545 fi
17546
17547 fi
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
17549 $as_echo "$ac_cv_c_stack_direction" >&6; }
17550 cat >>confdefs.h <<_ACEOF
17551 #define STACK_DIRECTION $ac_cv_c_stack_direction
17552 _ACEOF
17553
17554
17555 fi
17556
17557
17558 case "$host_os" in
17559    mingw*)
17560
17561 $as_echo "#define HAVE_REALPATH 1" >>confdefs.h
17562
17563       ;;
17564    *)
17565       for ac_func in realpath
17566 do :
17567   ac_fn_c_check_func "$LINENO" "realpath" "ac_cv_func_realpath"
17568 if test "x$ac_cv_func_realpath" = xyes; then :
17569   cat >>confdefs.h <<_ACEOF
17570 #define HAVE_REALPATH 1
17571 _ACEOF
17572
17573 fi
17574 done
17575
17576       ;;
17577 esac
17578
17579 ### Unit tests, coverage and benchmarking
17580
17581
17582
17583
17584 # Check whether --enable-tests was given.
17585 if test "${enable_tests+set}" = set; then :
17586   enableval=$enable_tests;
17587     if test "x${enableval}" = "xyes" ; then
17588        _efl_enable_tests="yes"
17589     else
17590        _efl_enable_tests="no"
17591     fi
17592
17593 else
17594   _efl_enable_tests="no"
17595 fi
17596
17597
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests are built" >&5
17599 $as_echo_n "checking whether tests are built... " >&6; }
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_tests}" >&5
17601 $as_echo "${_efl_enable_tests}" >&6; }
17602
17603
17604
17605 if test "x${_efl_enable_tests}" = "xyes" ; then
17606
17607 pkg_failed=no
17608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
17609 $as_echo_n "checking for CHECK... " >&6; }
17610
17611 if test -n "$CHECK_CFLAGS"; then
17612     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
17613  elif test -n "$PKG_CONFIG"; then
17614     if test -n "$PKG_CONFIG" && \
17615     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
17616   ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
17617   ac_status=$?
17618   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17619   test $ac_status = 0; }; then
17620   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.5" 2>/dev/null`
17621                       test "x$?" != "x0" && pkg_failed=yes
17622 else
17623   pkg_failed=yes
17624 fi
17625  else
17626     pkg_failed=untried
17627 fi
17628 if test -n "$CHECK_LIBS"; then
17629     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
17630  elif test -n "$PKG_CONFIG"; then
17631     if test -n "$PKG_CONFIG" && \
17632     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
17633   ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
17634   ac_status=$?
17635   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17636   test $ac_status = 0; }; then
17637   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.5" 2>/dev/null`
17638                       test "x$?" != "x0" && pkg_failed=yes
17639 else
17640   pkg_failed=yes
17641 fi
17642  else
17643     pkg_failed=untried
17644 fi
17645
17646
17647
17648 if test $pkg_failed = yes; then
17649         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17650 $as_echo "no" >&6; }
17651
17652 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17653         _pkg_short_errors_supported=yes
17654 else
17655         _pkg_short_errors_supported=no
17656 fi
17657         if test $_pkg_short_errors_supported = yes; then
17658                 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.5" 2>&1`
17659         else
17660                 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.5" 2>&1`
17661         fi
17662         # Put the nasty error message in config.log where it belongs
17663         echo "$CHECK_PKG_ERRORS" >&5
17664
17665         _efl_enable_tests="no"
17666 elif test $pkg_failed = untried; then
17667         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17668 $as_echo "no" >&6; }
17669         _efl_enable_tests="no"
17670 else
17671         CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
17672         CHECK_LIBS=$pkg_cv_CHECK_LIBS
17673         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17674 $as_echo "yes" >&6; }
17675         dummy="yes"
17676 fi
17677 fi
17678
17679  if test "x${_efl_enable_tests}" = "xyes"; then
17680   EFL_ENABLE_TESTS_TRUE=
17681   EFL_ENABLE_TESTS_FALSE='#'
17682 else
17683   EFL_ENABLE_TESTS_TRUE='#'
17684   EFL_ENABLE_TESTS_FALSE=
17685 fi
17686
17687
17688 if test "x$_efl_enable_tests" = "xyes"; then :
17689   enable_tests="yes"
17690 else
17691   enable_tests="no"
17692 fi
17693
17694
17695
17696
17697
17698 # Check whether --enable-coverage was given.
17699 if test "${enable_coverage+set}" = set; then :
17700   enableval=$enable_coverage;
17701     if test "x${enableval}" = "xyes" ; then
17702        _efl_enable_coverage="yes"
17703     else
17704        _efl_enable_coverage="no"
17705     fi
17706
17707 else
17708   _efl_enable_coverage="no"
17709 fi
17710
17711
17712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use profiling instrumentation" >&5
17713 $as_echo_n "checking whether to use profiling instrumentation... " >&6; }
17714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_efl_enable_coverage" >&5
17715 $as_echo "$_efl_enable_coverage" >&6; }
17716
17717
17718 if test "x$_efl_enable_coverage" = "xyes" && test ! "x${enable_tests}" = "xyes" ; then
17719    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&5
17720 $as_echo "$as_me: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&2;}
17721    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Run configure with --enable-tests" >&5
17722 $as_echo "$as_me: WARNING: Run configure with --enable-tests" >&2;}
17723    _efl_enable_coverage="no"
17724 fi
17725
17726 if test "x$_efl_enable_coverage" = "xyes" ; then
17727    # Extract the first word of "lcov", so it can be a program name with args.
17728 set dummy lcov; ac_word=$2
17729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17730 $as_echo_n "checking for $ac_word... " >&6; }
17731 if ${ac_cv_prog_have_lcov+:} false; then :
17732   $as_echo_n "(cached) " >&6
17733 else
17734   if test -n "$have_lcov"; then
17735   ac_cv_prog_have_lcov="$have_lcov" # Let the user override the test.
17736 else
17737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17738 for as_dir in $PATH
17739 do
17740   IFS=$as_save_IFS
17741   test -z "$as_dir" && as_dir=.
17742     for ac_exec_ext in '' $ac_executable_extensions; do
17743   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17744     ac_cv_prog_have_lcov="yes"
17745     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17746     break 2
17747   fi
17748 done
17749   done
17750 IFS=$as_save_IFS
17751
17752   test -z "$ac_cv_prog_have_lcov" && ac_cv_prog_have_lcov="no"
17753 fi
17754 fi
17755 have_lcov=$ac_cv_prog_have_lcov
17756 if test -n "$have_lcov"; then
17757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_lcov" >&5
17758 $as_echo "$have_lcov" >&6; }
17759 else
17760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17761 $as_echo "no" >&6; }
17762 fi
17763
17764
17765    if test "x$have_lcov" = "xyes" ; then
17766       EFL_COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
17767       EFL_COVERAGE_LIBS="-lgcov"
17768 # remove any optimisation flag and force debug symbols
17769       EFL_DEBUG_CFLAGS="-g -O0 -DDEBUG"
17770    else
17771       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: lcov is not found, disable profiling instrumentation" >&5
17772 $as_echo "$as_me: WARNING: lcov is not found, disable profiling instrumentation" >&2;}
17773       _efl_enable_coverage="no"
17774    fi
17775 fi
17776
17777
17778
17779
17780  if test "x${_efl_enable_coverage}" = "xyes"; then
17781   EFL_ENABLE_COVERAGE_TRUE=
17782   EFL_ENABLE_COVERAGE_FALSE='#'
17783 else
17784   EFL_ENABLE_COVERAGE_TRUE='#'
17785   EFL_ENABLE_COVERAGE_FALSE=
17786 fi
17787
17788
17789 if test "x$_efl_enable_coverage" = "xyes"; then :
17790   enable_coverage="yes"
17791 else
17792   enable_coverage="no"
17793 fi
17794
17795 EDJE_CFLAGS="${EDJE_CFLAGS} ${EFL_COVERAGE_CFLAGS}"
17796 EDJE_LIBS="${EDJE_LIBS} ${EFL_COVERAGE_LIBS}"
17797 if test "x$enable_coverage" = "xyes" ; then
17798    EDJE_CFLAGS="${EDJE_CFLAGS} ${EFL_DEBUG_CFLAGS}"
17799 fi
17800
17801 ## Examples
17802
17803 build_examples="no"
17804 # Check whether --enable-build-examples was given.
17805 if test "${enable_build_examples+set}" = set; then :
17806   enableval=$enable_build_examples;
17807     if test "x${enableval}" = "xyes" ; then
17808        build_examples="yes"
17809     else
17810        build_examples="no"
17811     fi
17812
17813 else
17814   build_examples="no"
17815 fi
17816
17817  if test "x${build_examples}" = "xyes"; then
17818   BUILD_EXAMPLES_TRUE=
17819   BUILD_EXAMPLES_FALSE='#'
17820 else
17821   BUILD_EXAMPLES_TRUE='#'
17822   BUILD_EXAMPLES_FALSE=
17823 fi
17824
17825
17826
17827
17828 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"
17829
17830 cat >confcache <<\_ACEOF
17831 # This file is a shell script that caches the results of configure
17832 # tests run on this system so they can be shared between configure
17833 # scripts and configure runs, see configure's option --config-cache.
17834 # It is not useful on other systems.  If it contains results you don't
17835 # want to keep, you may remove or edit it.
17836 #
17837 # config.status only pays attention to the cache file if you give it
17838 # the --recheck option to rerun configure.
17839 #
17840 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17841 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17842 # following values.
17843
17844 _ACEOF
17845
17846 # The following way of writing the cache mishandles newlines in values,
17847 # but we know of no workaround that is simple, portable, and efficient.
17848 # So, we kill variables containing newlines.
17849 # Ultrix sh set writes to stderr and can't be redirected directly,
17850 # and sets the high bit in the cache file unless we assign to the vars.
17851 (
17852   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17853     eval ac_val=\$$ac_var
17854     case $ac_val in #(
17855     *${as_nl}*)
17856       case $ac_var in #(
17857       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17858 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17859       esac
17860       case $ac_var in #(
17861       _ | IFS | as_nl) ;; #(
17862       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17863       *) { eval $ac_var=; unset $ac_var;} ;;
17864       esac ;;
17865     esac
17866   done
17867
17868   (set) 2>&1 |
17869     case $as_nl`(ac_space=' '; set) 2>&1` in #(
17870     *${as_nl}ac_space=\ *)
17871       # `set' does not quote correctly, so add quotes: double-quote
17872       # substitution turns \\\\ into \\, and sed turns \\ into \.
17873       sed -n \
17874         "s/'/'\\\\''/g;
17875           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17876       ;; #(
17877     *)
17878       # `set' quotes correctly as required by POSIX, so do not add quotes.
17879       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17880       ;;
17881     esac |
17882     sort
17883 ) |
17884   sed '
17885      /^ac_cv_env_/b end
17886      t clear
17887      :clear
17888      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17889      t end
17890      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17891      :end' >>confcache
17892 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17893   if test -w "$cache_file"; then
17894     if test "x$cache_file" != "x/dev/null"; then
17895       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17896 $as_echo "$as_me: updating cache $cache_file" >&6;}
17897       if test ! -f "$cache_file" || test -h "$cache_file"; then
17898         cat confcache >"$cache_file"
17899       else
17900         case $cache_file in #(
17901         */* | ?:*)
17902           mv -f confcache "$cache_file"$$ &&
17903           mv -f "$cache_file"$$ "$cache_file" ;; #(
17904         *)
17905           mv -f confcache "$cache_file" ;;
17906         esac
17907       fi
17908     fi
17909   else
17910     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17911 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17912   fi
17913 fi
17914 rm -f confcache
17915
17916 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17917 # Let make expand exec_prefix.
17918 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17919
17920 DEFS=-DHAVE_CONFIG_H
17921
17922 ac_libobjs=
17923 ac_ltlibobjs=
17924 U=
17925 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17926   # 1. Remove the extension, and $U if already installed.
17927   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17928   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17929   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
17930   #    will be set to the directory where LIBOBJS objects are built.
17931   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17932   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17933 done
17934 LIBOBJS=$ac_libobjs
17935
17936 LTLIBOBJS=$ac_ltlibobjs
17937
17938
17939  if test -n "$EXEEXT"; then
17940   am__EXEEXT_TRUE=
17941   am__EXEEXT_FALSE='#'
17942 else
17943   am__EXEEXT_TRUE='#'
17944   am__EXEEXT_FALSE=
17945 fi
17946
17947 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17948   as_fn_error $? "conditional \"AMDEP\" was never defined.
17949 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17950 fi
17951 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17952   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17953 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17954 fi
17955 if test -z "${EDJE_AMALGAMATION_TRUE}" && test -z "${EDJE_AMALGAMATION_FALSE}"; then
17956   as_fn_error $? "conditional \"EDJE_AMALGAMATION\" was never defined.
17957 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17958 fi
17959 if test -z "${BUILD_EDJE_CC_TRUE}" && test -z "${BUILD_EDJE_CC_FALSE}"; then
17960   as_fn_error $? "conditional \"BUILD_EDJE_CC\" was never defined.
17961 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17962 fi
17963 if test -z "${BUILD_EDJE_DECC_TRUE}" && test -z "${BUILD_EDJE_DECC_FALSE}"; then
17964   as_fn_error $? "conditional \"BUILD_EDJE_DECC\" was never defined.
17965 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17966 fi
17967 if test -z "${BUILD_EDJE_RECC_TRUE}" && test -z "${BUILD_EDJE_RECC_FALSE}"; then
17968   as_fn_error $? "conditional \"BUILD_EDJE_RECC\" was never defined.
17969 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17970 fi
17971 if test -z "${BUILD_EDJE_PLAYER_TRUE}" && test -z "${BUILD_EDJE_PLAYER_FALSE}"; then
17972   as_fn_error $? "conditional \"BUILD_EDJE_PLAYER\" was never defined.
17973 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17974 fi
17975 if test -z "${BUILD_EDJE_INSPECTOR_TRUE}" && test -z "${BUILD_EDJE_INSPECTOR_FALSE}"; then
17976   as_fn_error $? "conditional \"BUILD_EDJE_INSPECTOR\" was never defined.
17977 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17978 fi
17979 if test -z "${BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE}" && test -z "${BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE}"; then
17980   as_fn_error $? "conditional \"BUILD_EDJE_EXTERNAL_INSPECTOR\" was never defined.
17981 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17982 fi
17983 if test -z "${BUILD_EDJE_WATCH_TRUE}" && test -z "${BUILD_EDJE_WATCH_FALSE}"; then
17984   as_fn_error $? "conditional \"BUILD_EDJE_WATCH\" was never defined.
17985 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17986 fi
17987 if test -z "${EDJE_PROGRAM_CACHE_TRUE}" && test -z "${EDJE_PROGRAM_CACHE_FALSE}"; then
17988   as_fn_error $? "conditional \"EDJE_PROGRAM_CACHE\" was never defined.
17989 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17990 fi
17991 if test -z "${EDJE_CALC_CACHE_TRUE}" && test -z "${EDJE_CALC_CACHE_FALSE}"; then
17992   as_fn_error $? "conditional \"EDJE_CALC_CACHE\" was never defined.
17993 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17994 fi
17995 if test -z "${BUILD_EDJE_FP_TRUE}" && test -z "${BUILD_EDJE_FP_FALSE}"; then
17996   as_fn_error $? "conditional \"BUILD_EDJE_FP\" was never defined.
17997 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17998 fi
17999 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18000   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18001 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18002 fi
18003 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
18004   as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
18005 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18006 fi
18007 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
18008   as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
18009 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18010 fi
18011 if test -z "${ENABLE_MULTISENSE_TRUE}" && test -z "${ENABLE_MULTISENSE_FALSE}"; then
18012   as_fn_error $? "conditional \"ENABLE_MULTISENSE\" was never defined.
18013 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18014 fi
18015 if test -z "${HAVE_LIBSNDFILE_TRUE}" && test -z "${HAVE_LIBSNDFILE_FALSE}"; then
18016   as_fn_error $? "conditional \"HAVE_LIBSNDFILE\" was never defined.
18017 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18018 fi
18019 if test -z "${HAVE_LIBREMIX_TRUE}" && test -z "${HAVE_LIBREMIX_FALSE}"; then
18020   as_fn_error $? "conditional \"HAVE_LIBREMIX\" was never defined.
18021 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18022 fi
18023 if test -z "${HAVE_LIBALSA_TRUE}" && test -z "${HAVE_LIBALSA_FALSE}"; then
18024   as_fn_error $? "conditional \"HAVE_LIBALSA\" was never defined.
18025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18026 fi
18027 if test -z "${BUILD_EPP_TRUE}" && test -z "${BUILD_EPP_FALSE}"; then
18028   as_fn_error $? "conditional \"BUILD_EPP\" was never defined.
18029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18030 fi
18031 if test -z "${BUILD_EDJE_WATCH_TRUE}" && test -z "${BUILD_EDJE_WATCH_FALSE}"; then
18032   as_fn_error $? "conditional \"BUILD_EDJE_WATCH\" was never defined.
18033 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18034 fi
18035 if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
18036   as_fn_error $? "conditional \"EFL_ENABLE_TESTS\" was never defined.
18037 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18038 fi
18039 if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then
18040   as_fn_error $? "conditional \"EFL_ENABLE_COVERAGE\" was never defined.
18041 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18042 fi
18043 if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
18044   as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
18045 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18046 fi
18047
18048 : "${CONFIG_STATUS=./config.status}"
18049 ac_write_fail=0
18050 ac_clean_files_save=$ac_clean_files
18051 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18052 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18053 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18054 as_write_fail=0
18055 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18056 #! $SHELL
18057 # Generated by $as_me.
18058 # Run this file to recreate the current configuration.
18059 # Compiler output produced by configure, useful for debugging
18060 # configure, is in config.log if it exists.
18061
18062 debug=false
18063 ac_cs_recheck=false
18064 ac_cs_silent=false
18065
18066 SHELL=\${CONFIG_SHELL-$SHELL}
18067 export SHELL
18068 _ASEOF
18069 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18070 ## -------------------- ##
18071 ## M4sh Initialization. ##
18072 ## -------------------- ##
18073
18074 # Be more Bourne compatible
18075 DUALCASE=1; export DUALCASE # for MKS sh
18076 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18077   emulate sh
18078   NULLCMD=:
18079   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18080   # is contrary to our usage.  Disable this feature.
18081   alias -g '${1+"$@"}'='"$@"'
18082   setopt NO_GLOB_SUBST
18083 else
18084   case `(set -o) 2>/dev/null` in #(
18085   *posix*) :
18086     set -o posix ;; #(
18087   *) :
18088      ;;
18089 esac
18090 fi
18091
18092
18093 as_nl='
18094 '
18095 export as_nl
18096 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18097 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18098 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18099 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18100 # Prefer a ksh shell builtin over an external printf program on Solaris,
18101 # but without wasting forks for bash or zsh.
18102 if test -z "$BASH_VERSION$ZSH_VERSION" \
18103     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18104   as_echo='print -r --'
18105   as_echo_n='print -rn --'
18106 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18107   as_echo='printf %s\n'
18108   as_echo_n='printf %s'
18109 else
18110   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18111     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18112     as_echo_n='/usr/ucb/echo -n'
18113   else
18114     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18115     as_echo_n_body='eval
18116       arg=$1;
18117       case $arg in #(
18118       *"$as_nl"*)
18119         expr "X$arg" : "X\\(.*\\)$as_nl";
18120         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18121       esac;
18122       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18123     '
18124     export as_echo_n_body
18125     as_echo_n='sh -c $as_echo_n_body as_echo'
18126   fi
18127   export as_echo_body
18128   as_echo='sh -c $as_echo_body as_echo'
18129 fi
18130
18131 # The user is always right.
18132 if test "${PATH_SEPARATOR+set}" != set; then
18133   PATH_SEPARATOR=:
18134   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18135     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18136       PATH_SEPARATOR=';'
18137   }
18138 fi
18139
18140
18141 # IFS
18142 # We need space, tab and new line, in precisely that order.  Quoting is
18143 # there to prevent editors from complaining about space-tab.
18144 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18145 # splitting by setting IFS to empty value.)
18146 IFS=" ""        $as_nl"
18147
18148 # Find who we are.  Look in the path if we contain no directory separator.
18149 as_myself=
18150 case $0 in #((
18151   *[\\/]* ) as_myself=$0 ;;
18152   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18153 for as_dir in $PATH
18154 do
18155   IFS=$as_save_IFS
18156   test -z "$as_dir" && as_dir=.
18157     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18158   done
18159 IFS=$as_save_IFS
18160
18161      ;;
18162 esac
18163 # We did not find ourselves, most probably we were run as `sh COMMAND'
18164 # in which case we are not to be found in the path.
18165 if test "x$as_myself" = x; then
18166   as_myself=$0
18167 fi
18168 if test ! -f "$as_myself"; then
18169   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18170   exit 1
18171 fi
18172
18173 # Unset variables that we do not need and which cause bugs (e.g. in
18174 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
18175 # suppresses any "Segmentation fault" message there.  '((' could
18176 # trigger a bug in pdksh 5.2.14.
18177 for as_var in BASH_ENV ENV MAIL MAILPATH
18178 do eval test x\${$as_var+set} = xset \
18179   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18180 done
18181 PS1='$ '
18182 PS2='> '
18183 PS4='+ '
18184
18185 # NLS nuisances.
18186 LC_ALL=C
18187 export LC_ALL
18188 LANGUAGE=C
18189 export LANGUAGE
18190
18191 # CDPATH.
18192 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18193
18194
18195 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18196 # ----------------------------------------
18197 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18198 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18199 # script with STATUS, using 1 if that was 0.
18200 as_fn_error ()
18201 {
18202   as_status=$1; test $as_status -eq 0 && as_status=1
18203   if test "$4"; then
18204     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18205     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18206   fi
18207   $as_echo "$as_me: error: $2" >&2
18208   as_fn_exit $as_status
18209 } # as_fn_error
18210
18211
18212 # as_fn_set_status STATUS
18213 # -----------------------
18214 # Set $? to STATUS, without forking.
18215 as_fn_set_status ()
18216 {
18217   return $1
18218 } # as_fn_set_status
18219
18220 # as_fn_exit STATUS
18221 # -----------------
18222 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18223 as_fn_exit ()
18224 {
18225   set +e
18226   as_fn_set_status $1
18227   exit $1
18228 } # as_fn_exit
18229
18230 # as_fn_unset VAR
18231 # ---------------
18232 # Portably unset VAR.
18233 as_fn_unset ()
18234 {
18235   { eval $1=; unset $1;}
18236 }
18237 as_unset=as_fn_unset
18238 # as_fn_append VAR VALUE
18239 # ----------------------
18240 # Append the text in VALUE to the end of the definition contained in VAR. Take
18241 # advantage of any shell optimizations that allow amortized linear growth over
18242 # repeated appends, instead of the typical quadratic growth present in naive
18243 # implementations.
18244 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18245   eval 'as_fn_append ()
18246   {
18247     eval $1+=\$2
18248   }'
18249 else
18250   as_fn_append ()
18251   {
18252     eval $1=\$$1\$2
18253   }
18254 fi # as_fn_append
18255
18256 # as_fn_arith ARG...
18257 # ------------------
18258 # Perform arithmetic evaluation on the ARGs, and store the result in the
18259 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18260 # must be portable across $(()) and expr.
18261 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18262   eval 'as_fn_arith ()
18263   {
18264     as_val=$(( $* ))
18265   }'
18266 else
18267   as_fn_arith ()
18268   {
18269     as_val=`expr "$@" || test $? -eq 1`
18270   }
18271 fi # as_fn_arith
18272
18273
18274 if expr a : '\(a\)' >/dev/null 2>&1 &&
18275    test "X`expr 00001 : '.*\(...\)'`" = X001; then
18276   as_expr=expr
18277 else
18278   as_expr=false
18279 fi
18280
18281 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18282   as_basename=basename
18283 else
18284   as_basename=false
18285 fi
18286
18287 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18288   as_dirname=dirname
18289 else
18290   as_dirname=false
18291 fi
18292
18293 as_me=`$as_basename -- "$0" ||
18294 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18295          X"$0" : 'X\(//\)$' \| \
18296          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18297 $as_echo X/"$0" |
18298     sed '/^.*\/\([^/][^/]*\)\/*$/{
18299             s//\1/
18300             q
18301           }
18302           /^X\/\(\/\/\)$/{
18303             s//\1/
18304             q
18305           }
18306           /^X\/\(\/\).*/{
18307             s//\1/
18308             q
18309           }
18310           s/.*/./; q'`
18311
18312 # Avoid depending upon Character Ranges.
18313 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18314 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18315 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18316 as_cr_digits='0123456789'
18317 as_cr_alnum=$as_cr_Letters$as_cr_digits
18318
18319 ECHO_C= ECHO_N= ECHO_T=
18320 case `echo -n x` in #(((((
18321 -n*)
18322   case `echo 'xy\c'` in
18323   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
18324   xy)  ECHO_C='\c';;
18325   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
18326        ECHO_T=' ';;
18327   esac;;
18328 *)
18329   ECHO_N='-n';;
18330 esac
18331
18332 rm -f conf$$ conf$$.exe conf$$.file
18333 if test -d conf$$.dir; then
18334   rm -f conf$$.dir/conf$$.file
18335 else
18336   rm -f conf$$.dir
18337   mkdir conf$$.dir 2>/dev/null
18338 fi
18339 if (echo >conf$$.file) 2>/dev/null; then
18340   if ln -s conf$$.file conf$$ 2>/dev/null; then
18341     as_ln_s='ln -s'
18342     # ... but there are two gotchas:
18343     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18344     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18345     # In both cases, we have to default to `cp -p'.
18346     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18347       as_ln_s='cp -p'
18348   elif ln conf$$.file conf$$ 2>/dev/null; then
18349     as_ln_s=ln
18350   else
18351     as_ln_s='cp -p'
18352   fi
18353 else
18354   as_ln_s='cp -p'
18355 fi
18356 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18357 rmdir conf$$.dir 2>/dev/null
18358
18359
18360 # as_fn_mkdir_p
18361 # -------------
18362 # Create "$as_dir" as a directory, including parents if necessary.
18363 as_fn_mkdir_p ()
18364 {
18365
18366   case $as_dir in #(
18367   -*) as_dir=./$as_dir;;
18368   esac
18369   test -d "$as_dir" || eval $as_mkdir_p || {
18370     as_dirs=
18371     while :; do
18372       case $as_dir in #(
18373       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18374       *) as_qdir=$as_dir;;
18375       esac
18376       as_dirs="'$as_qdir' $as_dirs"
18377       as_dir=`$as_dirname -- "$as_dir" ||
18378 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18379          X"$as_dir" : 'X\(//\)[^/]' \| \
18380          X"$as_dir" : 'X\(//\)$' \| \
18381          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18382 $as_echo X"$as_dir" |
18383     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18384             s//\1/
18385             q
18386           }
18387           /^X\(\/\/\)[^/].*/{
18388             s//\1/
18389             q
18390           }
18391           /^X\(\/\/\)$/{
18392             s//\1/
18393             q
18394           }
18395           /^X\(\/\).*/{
18396             s//\1/
18397             q
18398           }
18399           s/.*/./; q'`
18400       test -d "$as_dir" && break
18401     done
18402     test -z "$as_dirs" || eval "mkdir $as_dirs"
18403   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18404
18405
18406 } # as_fn_mkdir_p
18407 if mkdir -p . 2>/dev/null; then
18408   as_mkdir_p='mkdir -p "$as_dir"'
18409 else
18410   test -d ./-p && rmdir ./-p
18411   as_mkdir_p=false
18412 fi
18413
18414 if test -x / >/dev/null 2>&1; then
18415   as_test_x='test -x'
18416 else
18417   if ls -dL / >/dev/null 2>&1; then
18418     as_ls_L_option=L
18419   else
18420     as_ls_L_option=
18421   fi
18422   as_test_x='
18423     eval sh -c '\''
18424       if test -d "$1"; then
18425         test -d "$1/.";
18426       else
18427         case $1 in #(
18428         -*)set "./$1";;
18429         esac;
18430         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
18431         ???[sx]*):;;*)false;;esac;fi
18432     '\'' sh
18433   '
18434 fi
18435 as_executable_p=$as_test_x
18436
18437 # Sed expression to map a string onto a valid CPP name.
18438 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18439
18440 # Sed expression to map a string onto a valid variable name.
18441 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18442
18443
18444 exec 6>&1
18445 ## ----------------------------------- ##
18446 ## Main body of $CONFIG_STATUS script. ##
18447 ## ----------------------------------- ##
18448 _ASEOF
18449 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18450
18451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18452 # Save the log message, to keep $0 and so on meaningful, and to
18453 # report actual input values of CONFIG_FILES etc. instead of their
18454 # values after options handling.
18455 ac_log="
18456 This file was extended by edje $as_me 1.7.2, which was
18457 generated by GNU Autoconf 2.68.  Invocation command line was
18458
18459   CONFIG_FILES    = $CONFIG_FILES
18460   CONFIG_HEADERS  = $CONFIG_HEADERS
18461   CONFIG_LINKS    = $CONFIG_LINKS
18462   CONFIG_COMMANDS = $CONFIG_COMMANDS
18463   $ $0 $@
18464
18465 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18466 "
18467
18468 _ACEOF
18469
18470 case $ac_config_files in *"
18471 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18472 esac
18473
18474 case $ac_config_headers in *"
18475 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18476 esac
18477
18478
18479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18480 # Files that config.status was made for.
18481 config_files="$ac_config_files"
18482 config_headers="$ac_config_headers"
18483 config_commands="$ac_config_commands"
18484
18485 _ACEOF
18486
18487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18488 ac_cs_usage="\
18489 \`$as_me' instantiates files and other configuration actions
18490 from templates according to the current configuration.  Unless the files
18491 and actions are specified as TAGs, all are instantiated by default.
18492
18493 Usage: $0 [OPTION]... [TAG]...
18494
18495   -h, --help       print this help, then exit
18496   -V, --version    print version number and configuration settings, then exit
18497       --config     print configuration, then exit
18498   -q, --quiet, --silent
18499                    do not print progress messages
18500   -d, --debug      don't remove temporary files
18501       --recheck    update $as_me by reconfiguring in the same conditions
18502       --file=FILE[:TEMPLATE]
18503                    instantiate the configuration file FILE
18504       --header=FILE[:TEMPLATE]
18505                    instantiate the configuration header FILE
18506
18507 Configuration files:
18508 $config_files
18509
18510 Configuration headers:
18511 $config_headers
18512
18513 Configuration commands:
18514 $config_commands
18515
18516 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
18517
18518 _ACEOF
18519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18520 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18521 ac_cs_version="\\
18522 edje config.status 1.7.2
18523 configured by $0, generated by GNU Autoconf 2.68,
18524   with options \\"\$ac_cs_config\\"
18525
18526 Copyright (C) 2010 Free Software Foundation, Inc.
18527 This config.status script is free software; the Free Software Foundation
18528 gives unlimited permission to copy, distribute and modify it."
18529
18530 ac_pwd='$ac_pwd'
18531 srcdir='$srcdir'
18532 INSTALL='$INSTALL'
18533 MKDIR_P='$MKDIR_P'
18534 AWK='$AWK'
18535 test -n "\$AWK" || AWK=awk
18536 _ACEOF
18537
18538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18539 # The default lists apply if the user does not specify any file.
18540 ac_need_defaults=:
18541 while test $# != 0
18542 do
18543   case $1 in
18544   --*=?*)
18545     ac_option=`expr "X$1" : 'X\([^=]*\)='`
18546     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18547     ac_shift=:
18548     ;;
18549   --*=)
18550     ac_option=`expr "X$1" : 'X\([^=]*\)='`
18551     ac_optarg=
18552     ac_shift=:
18553     ;;
18554   *)
18555     ac_option=$1
18556     ac_optarg=$2
18557     ac_shift=shift
18558     ;;
18559   esac
18560
18561   case $ac_option in
18562   # Handling of the options.
18563   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18564     ac_cs_recheck=: ;;
18565   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18566     $as_echo "$ac_cs_version"; exit ;;
18567   --config | --confi | --conf | --con | --co | --c )
18568     $as_echo "$ac_cs_config"; exit ;;
18569   --debug | --debu | --deb | --de | --d | -d )
18570     debug=: ;;
18571   --file | --fil | --fi | --f )
18572     $ac_shift
18573     case $ac_optarg in
18574     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18575     '') as_fn_error $? "missing file argument" ;;
18576     esac
18577     as_fn_append CONFIG_FILES " '$ac_optarg'"
18578     ac_need_defaults=false;;
18579   --header | --heade | --head | --hea )
18580     $ac_shift
18581     case $ac_optarg in
18582     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18583     esac
18584     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18585     ac_need_defaults=false;;
18586   --he | --h)
18587     # Conflict between --help and --header
18588     as_fn_error $? "ambiguous option: \`$1'
18589 Try \`$0 --help' for more information.";;
18590   --help | --hel | -h )
18591     $as_echo "$ac_cs_usage"; exit ;;
18592   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18593   | -silent | --silent | --silen | --sile | --sil | --si | --s)
18594     ac_cs_silent=: ;;
18595
18596   # This is an error.
18597   -*) as_fn_error $? "unrecognized option: \`$1'
18598 Try \`$0 --help' for more information." ;;
18599
18600   *) as_fn_append ac_config_targets " $1"
18601      ac_need_defaults=false ;;
18602
18603   esac
18604   shift
18605 done
18606
18607 ac_configure_extra_args=
18608
18609 if $ac_cs_silent; then
18610   exec 6>/dev/null
18611   ac_configure_extra_args="$ac_configure_extra_args --silent"
18612 fi
18613
18614 _ACEOF
18615 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18616 if \$ac_cs_recheck; then
18617   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18618   shift
18619   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18620   CONFIG_SHELL='$SHELL'
18621   export CONFIG_SHELL
18622   exec "\$@"
18623 fi
18624
18625 _ACEOF
18626 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18627 exec 5>>config.log
18628 {
18629   echo
18630   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18631 ## Running $as_me. ##
18632 _ASBOX
18633   $as_echo "$ac_log"
18634 } >&5
18635
18636 _ACEOF
18637 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18638 #
18639 # INIT-COMMANDS
18640 #
18641 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18642
18643
18644 # The HP-UX ksh and POSIX shell print the target directory to stdout
18645 # if CDPATH is set.
18646 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18647
18648 sed_quote_subst='$sed_quote_subst'
18649 double_quote_subst='$double_quote_subst'
18650 delay_variable_subst='$delay_variable_subst'
18651 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
18652 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18653 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18654 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18655 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18656 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18657 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18658 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18659 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18660 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18661 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18662 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18663 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18664 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18665 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18666 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18667 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18668 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18669 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18670 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18671 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18672 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18673 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18674 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18675 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18676 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18677 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18678 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18679 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18680 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18681 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18682 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18683 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18684 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18685 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18686 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18687 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18688 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18689 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18690 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18691 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18692 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18693 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18694 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18695 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18696 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18697 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18698 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18699 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18700 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18701 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18702 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18703 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18704 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18705 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18706 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18707 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18708 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"`'
18709 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18710 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18711 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18712 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18713 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18714 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18715 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18716 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18717 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18718 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18719 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18720 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18721 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18722 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18723 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18724 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18725 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18726 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18727 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18728 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18729 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18730 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18731 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18732 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18733 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18734 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18735 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18736 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18737 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18738 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18739 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18740 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18741 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18742 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18743 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18744 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18745 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18746 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18747 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18748 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18749 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18750 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18751 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18752 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18753 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18754 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18755 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18756 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18757 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18758 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18759 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18760 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18761 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18762 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18763 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18764 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18765 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18766 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18767 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18768 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18769 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18770 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18771 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18772 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18773 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18774 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18775 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18776 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18777 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18778 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18779 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18780 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18781 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18782
18783 LTCC='$LTCC'
18784 LTCFLAGS='$LTCFLAGS'
18785 compiler='$compiler_DEFAULT'
18786
18787 # A function that is used when there is no print builtin or printf.
18788 func_fallback_echo ()
18789 {
18790   eval 'cat <<_LTECHO_EOF
18791 \$1
18792 _LTECHO_EOF'
18793 }
18794
18795 # Quote evaled strings.
18796 for var in AS \
18797 DLLTOOL \
18798 OBJDUMP \
18799 SHELL \
18800 ECHO \
18801 PATH_SEPARATOR \
18802 SED \
18803 GREP \
18804 EGREP \
18805 FGREP \
18806 LD \
18807 NM \
18808 LN_S \
18809 lt_SP2NL \
18810 lt_NL2SP \
18811 reload_flag \
18812 deplibs_check_method \
18813 file_magic_cmd \
18814 file_magic_glob \
18815 want_nocaseglob \
18816 sharedlib_from_linklib_cmd \
18817 AR \
18818 AR_FLAGS \
18819 archiver_list_spec \
18820 STRIP \
18821 RANLIB \
18822 CC \
18823 CFLAGS \
18824 compiler \
18825 lt_cv_sys_global_symbol_pipe \
18826 lt_cv_sys_global_symbol_to_cdecl \
18827 lt_cv_sys_global_symbol_to_c_name_address \
18828 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18829 nm_file_list_spec \
18830 lt_prog_compiler_no_builtin_flag \
18831 lt_prog_compiler_pic \
18832 lt_prog_compiler_wl \
18833 lt_prog_compiler_static \
18834 lt_cv_prog_compiler_c_o \
18835 need_locks \
18836 MANIFEST_TOOL \
18837 DSYMUTIL \
18838 NMEDIT \
18839 LIPO \
18840 OTOOL \
18841 OTOOL64 \
18842 shrext_cmds \
18843 export_dynamic_flag_spec \
18844 whole_archive_flag_spec \
18845 compiler_needs_object \
18846 with_gnu_ld \
18847 allow_undefined_flag \
18848 no_undefined_flag \
18849 hardcode_libdir_flag_spec \
18850 hardcode_libdir_separator \
18851 exclude_expsyms \
18852 include_expsyms \
18853 file_list_spec \
18854 variables_saved_for_relink \
18855 libname_spec \
18856 library_names_spec \
18857 soname_spec \
18858 install_override_mode \
18859 finish_eval \
18860 old_striplib \
18861 striplib; do
18862     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18863     *[\\\\\\\`\\"\\\$]*)
18864       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18865       ;;
18866     *)
18867       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18868       ;;
18869     esac
18870 done
18871
18872 # Double-quote double-evaled strings.
18873 for var in reload_cmds \
18874 old_postinstall_cmds \
18875 old_postuninstall_cmds \
18876 old_archive_cmds \
18877 extract_expsyms_cmds \
18878 old_archive_from_new_cmds \
18879 old_archive_from_expsyms_cmds \
18880 archive_cmds \
18881 archive_expsym_cmds \
18882 module_cmds \
18883 module_expsym_cmds \
18884 export_symbols_cmds \
18885 prelink_cmds \
18886 postlink_cmds \
18887 postinstall_cmds \
18888 postuninstall_cmds \
18889 finish_cmds \
18890 sys_lib_search_path_spec \
18891 sys_lib_dlsearch_path_spec; do
18892     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18893     *[\\\\\\\`\\"\\\$]*)
18894       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18895       ;;
18896     *)
18897       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18898       ;;
18899     esac
18900 done
18901
18902 ac_aux_dir='$ac_aux_dir'
18903 xsi_shell='$xsi_shell'
18904 lt_shell_append='$lt_shell_append'
18905
18906 # See if we are running on zsh, and set the options which allow our
18907 # commands through without removal of \ escapes INIT.
18908 if test -n "\${ZSH_VERSION+set}" ; then
18909    setopt NO_GLOB_SUBST
18910 fi
18911
18912
18913     PACKAGE='$PACKAGE'
18914     VERSION='$VERSION'
18915     TIMESTAMP='$TIMESTAMP'
18916     RM='$RM'
18917     ofile='$ofile'
18918
18919
18920
18921
18922 _ACEOF
18923
18924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18925
18926 # Handling of arguments.
18927 for ac_config_target in $ac_config_targets
18928 do
18929   case $ac_config_target in
18930     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18931     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18932     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18933     "edje.pc") CONFIG_FILES="$CONFIG_FILES edje.pc" ;;
18934     "edje.spec") CONFIG_FILES="$CONFIG_FILES edje.spec" ;;
18935     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18936     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
18937     "data/include/Makefile") CONFIG_FILES="$CONFIG_FILES data/include/Makefile" ;;
18938     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
18939     "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
18940     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
18941     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
18942     "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
18943     "src/bin/epp/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/epp/Makefile" ;;
18944     "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
18945     "src/modules/alsa_snd_player/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/alsa_snd_player/Makefile" ;;
18946     "src/modules/eet_snd_reader/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/eet_snd_reader/Makefile" ;;
18947     "src/modules/multisense_factory/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/multisense_factory/Makefile" ;;
18948     "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
18949     "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
18950     "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
18951
18952   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18953   esac
18954 done
18955
18956
18957 # If the user did not use the arguments to specify the items to instantiate,
18958 # then the envvar interface is used.  Set only those that are not.
18959 # We use the long form for the default assignment because of an extremely
18960 # bizarre bug on SunOS 4.1.3.
18961 if $ac_need_defaults; then
18962   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18963   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18964   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18965 fi
18966
18967 # Have a temporary directory for convenience.  Make it in the build tree
18968 # simply because there is no reason against having it here, and in addition,
18969 # creating and moving files from /tmp can sometimes cause problems.
18970 # Hook for its removal unless debugging.
18971 # Note that there is a small window in which the directory will not be cleaned:
18972 # after its creation but before its name has been assigned to `$tmp'.
18973 $debug ||
18974 {
18975   tmp= ac_tmp=
18976   trap 'exit_status=$?
18977   : "${ac_tmp:=$tmp}"
18978   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18979 ' 0
18980   trap 'as_fn_exit 1' 1 2 13 15
18981 }
18982 # Create a (secure) tmp directory for tmp files.
18983
18984 {
18985   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18986   test -d "$tmp"
18987 }  ||
18988 {
18989   tmp=./conf$$-$RANDOM
18990   (umask 077 && mkdir "$tmp")
18991 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18992 ac_tmp=$tmp
18993
18994 # Set up the scripts for CONFIG_FILES section.
18995 # No need to generate them if there are no CONFIG_FILES.
18996 # This happens for instance with `./config.status config.h'.
18997 if test -n "$CONFIG_FILES"; then
18998
18999
19000 ac_cr=`echo X | tr X '\015'`
19001 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19002 # But we know of no other shell where ac_cr would be empty at this
19003 # point, so we can use a bashism as a fallback.
19004 if test "x$ac_cr" = x; then
19005   eval ac_cr=\$\'\\r\'
19006 fi
19007 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19008 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19009   ac_cs_awk_cr='\\r'
19010 else
19011   ac_cs_awk_cr=$ac_cr
19012 fi
19013
19014 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19015 _ACEOF
19016
19017
19018 {
19019   echo "cat >conf$$subs.awk <<_ACEOF" &&
19020   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19021   echo "_ACEOF"
19022 } >conf$$subs.sh ||
19023   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19024 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19025 ac_delim='%!_!# '
19026 for ac_last_try in false false false false false :; do
19027   . ./conf$$subs.sh ||
19028     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19029
19030   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19031   if test $ac_delim_n = $ac_delim_num; then
19032     break
19033   elif $ac_last_try; then
19034     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19035   else
19036     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19037   fi
19038 done
19039 rm -f conf$$subs.sh
19040
19041 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19042 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19043 _ACEOF
19044 sed -n '
19045 h
19046 s/^/S["/; s/!.*/"]=/
19047 p
19048 g
19049 s/^[^!]*!//
19050 :repl
19051 t repl
19052 s/'"$ac_delim"'$//
19053 t delim
19054 :nl
19055 h
19056 s/\(.\{148\}\)..*/\1/
19057 t more1
19058 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19059 p
19060 n
19061 b repl
19062 :more1
19063 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19064 p
19065 g
19066 s/.\{148\}//
19067 t nl
19068 :delim
19069 h
19070 s/\(.\{148\}\)..*/\1/
19071 t more2
19072 s/["\\]/\\&/g; s/^/"/; s/$/"/
19073 p
19074 b
19075 :more2
19076 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19077 p
19078 g
19079 s/.\{148\}//
19080 t delim
19081 ' <conf$$subs.awk | sed '
19082 /^[^""]/{
19083   N
19084   s/\n//
19085 }
19086 ' >>$CONFIG_STATUS || ac_write_fail=1
19087 rm -f conf$$subs.awk
19088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19089 _ACAWK
19090 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19091   for (key in S) S_is_set[key] = 1
19092   FS = "\a"
19093
19094 }
19095 {
19096   line = $ 0
19097   nfields = split(line, field, "@")
19098   substed = 0
19099   len = length(field[1])
19100   for (i = 2; i < nfields; i++) {
19101     key = field[i]
19102     keylen = length(key)
19103     if (S_is_set[key]) {
19104       value = S[key]
19105       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19106       len += length(value) + length(field[++i])
19107       substed = 1
19108     } else
19109       len += 1 + keylen
19110   }
19111
19112   print line
19113 }
19114
19115 _ACAWK
19116 _ACEOF
19117 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19118 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19119   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19120 else
19121   cat
19122 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19123   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19124 _ACEOF
19125
19126 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19127 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19128 # trailing colons and then remove the whole line if VPATH becomes empty
19129 # (actually we leave an empty line to preserve line numbers).
19130 if test "x$srcdir" = x.; then
19131   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
19132 h
19133 s///
19134 s/^/:/
19135 s/[      ]*$/:/
19136 s/:\$(srcdir):/:/g
19137 s/:\${srcdir}:/:/g
19138 s/:@srcdir@:/:/g
19139 s/^:*//
19140 s/:*$//
19141 x
19142 s/\(=[   ]*\).*/\1/
19143 G
19144 s/\n//
19145 s/^[^=]*=[       ]*$//
19146 }'
19147 fi
19148
19149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19150 fi # test -n "$CONFIG_FILES"
19151
19152 # Set up the scripts for CONFIG_HEADERS section.
19153 # No need to generate them if there are no CONFIG_HEADERS.
19154 # This happens for instance with `./config.status Makefile'.
19155 if test -n "$CONFIG_HEADERS"; then
19156 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19157 BEGIN {
19158 _ACEOF
19159
19160 # Transform confdefs.h into an awk script `defines.awk', embedded as
19161 # here-document in config.status, that substitutes the proper values into
19162 # config.h.in to produce config.h.
19163
19164 # Create a delimiter string that does not exist in confdefs.h, to ease
19165 # handling of long lines.
19166 ac_delim='%!_!# '
19167 for ac_last_try in false false :; do
19168   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19169   if test -z "$ac_tt"; then
19170     break
19171   elif $ac_last_try; then
19172     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19173   else
19174     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19175   fi
19176 done
19177
19178 # For the awk script, D is an array of macro values keyed by name,
19179 # likewise P contains macro parameters if any.  Preserve backslash
19180 # newline sequences.
19181
19182 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19183 sed -n '
19184 s/.\{148\}/&'"$ac_delim"'/g
19185 t rset
19186 :rset
19187 s/^[     ]*#[    ]*define[       ][      ]*/ /
19188 t def
19189 d
19190 :def
19191 s/\\$//
19192 t bsnl
19193 s/["\\]/\\&/g
19194 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
19195 D["\1"]=" \3"/p
19196 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
19197 d
19198 :bsnl
19199 s/["\\]/\\&/g
19200 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
19201 D["\1"]=" \3\\\\\\n"\\/p
19202 t cont
19203 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19204 t cont
19205 d
19206 :cont
19207 n
19208 s/.\{148\}/&'"$ac_delim"'/g
19209 t clear
19210 :clear
19211 s/\\$//
19212 t bsnlc
19213 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19214 d
19215 :bsnlc
19216 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19217 b cont
19218 ' <confdefs.h | sed '
19219 s/'"$ac_delim"'/"\\\
19220 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19221
19222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19223   for (key in D) D_is_set[key] = 1
19224   FS = "\a"
19225 }
19226 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19227   line = \$ 0
19228   split(line, arg, " ")
19229   if (arg[1] == "#") {
19230     defundef = arg[2]
19231     mac1 = arg[3]
19232   } else {
19233     defundef = substr(arg[1], 2)
19234     mac1 = arg[2]
19235   }
19236   split(mac1, mac2, "(") #)
19237   macro = mac2[1]
19238   prefix = substr(line, 1, index(line, defundef) - 1)
19239   if (D_is_set[macro]) {
19240     # Preserve the white space surrounding the "#".
19241     print prefix "define", macro P[macro] D[macro]
19242     next
19243   } else {
19244     # Replace #undef with comments.  This is necessary, for example,
19245     # in the case of _POSIX_SOURCE, which is predefined and required
19246     # on some systems where configure will not decide to define it.
19247     if (defundef == "undef") {
19248       print "/*", prefix defundef, macro, "*/"
19249       next
19250     }
19251   }
19252 }
19253 { print }
19254 _ACAWK
19255 _ACEOF
19256 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19257   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19258 fi # test -n "$CONFIG_HEADERS"
19259
19260
19261 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
19262 shift
19263 for ac_tag
19264 do
19265   case $ac_tag in
19266   :[FHLC]) ac_mode=$ac_tag; continue;;
19267   esac
19268   case $ac_mode$ac_tag in
19269   :[FHL]*:*);;
19270   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19271   :[FH]-) ac_tag=-:-;;
19272   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19273   esac
19274   ac_save_IFS=$IFS
19275   IFS=:
19276   set x $ac_tag
19277   IFS=$ac_save_IFS
19278   shift
19279   ac_file=$1
19280   shift
19281
19282   case $ac_mode in
19283   :L) ac_source=$1;;
19284   :[FH])
19285     ac_file_inputs=
19286     for ac_f
19287     do
19288       case $ac_f in
19289       -) ac_f="$ac_tmp/stdin";;
19290       *) # Look for the file first in the build tree, then in the source tree
19291          # (if the path is not absolute).  The absolute path cannot be DOS-style,
19292          # because $ac_f cannot contain `:'.
19293          test -f "$ac_f" ||
19294            case $ac_f in
19295            [\\/$]*) false;;
19296            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19297            esac ||
19298            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19299       esac
19300       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19301       as_fn_append ac_file_inputs " '$ac_f'"
19302     done
19303
19304     # Let's still pretend it is `configure' which instantiates (i.e., don't
19305     # use $as_me), people would be surprised to read:
19306     #    /* config.h.  Generated by config.status.  */
19307     configure_input='Generated from '`
19308           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19309         `' by configure.'
19310     if test x"$ac_file" != x-; then
19311       configure_input="$ac_file.  $configure_input"
19312       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19313 $as_echo "$as_me: creating $ac_file" >&6;}
19314     fi
19315     # Neutralize special characters interpreted by sed in replacement strings.
19316     case $configure_input in #(
19317     *\&* | *\|* | *\\* )
19318        ac_sed_conf_input=`$as_echo "$configure_input" |
19319        sed 's/[\\\\&|]/\\\\&/g'`;; #(
19320     *) ac_sed_conf_input=$configure_input;;
19321     esac
19322
19323     case $ac_tag in
19324     *:-:* | *:-) cat >"$ac_tmp/stdin" \
19325       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19326     esac
19327     ;;
19328   esac
19329
19330   ac_dir=`$as_dirname -- "$ac_file" ||
19331 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19332          X"$ac_file" : 'X\(//\)[^/]' \| \
19333          X"$ac_file" : 'X\(//\)$' \| \
19334          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19335 $as_echo X"$ac_file" |
19336     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19337             s//\1/
19338             q
19339           }
19340           /^X\(\/\/\)[^/].*/{
19341             s//\1/
19342             q
19343           }
19344           /^X\(\/\/\)$/{
19345             s//\1/
19346             q
19347           }
19348           /^X\(\/\).*/{
19349             s//\1/
19350             q
19351           }
19352           s/.*/./; q'`
19353   as_dir="$ac_dir"; as_fn_mkdir_p
19354   ac_builddir=.
19355
19356 case "$ac_dir" in
19357 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19358 *)
19359   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19360   # A ".." for each directory in $ac_dir_suffix.
19361   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19362   case $ac_top_builddir_sub in
19363   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19364   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19365   esac ;;
19366 esac
19367 ac_abs_top_builddir=$ac_pwd
19368 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19369 # for backward compatibility:
19370 ac_top_builddir=$ac_top_build_prefix
19371
19372 case $srcdir in
19373   .)  # We are building in place.
19374     ac_srcdir=.
19375     ac_top_srcdir=$ac_top_builddir_sub
19376     ac_abs_top_srcdir=$ac_pwd ;;
19377   [\\/]* | ?:[\\/]* )  # Absolute name.
19378     ac_srcdir=$srcdir$ac_dir_suffix;
19379     ac_top_srcdir=$srcdir
19380     ac_abs_top_srcdir=$srcdir ;;
19381   *) # Relative name.
19382     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19383     ac_top_srcdir=$ac_top_build_prefix$srcdir
19384     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19385 esac
19386 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19387
19388
19389   case $ac_mode in
19390   :F)
19391   #
19392   # CONFIG_FILE
19393   #
19394
19395   case $INSTALL in
19396   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19397   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19398   esac
19399   ac_MKDIR_P=$MKDIR_P
19400   case $MKDIR_P in
19401   [\\/$]* | ?:[\\/]* ) ;;
19402   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19403   esac
19404 _ACEOF
19405
19406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19407 # If the template does not know about datarootdir, expand it.
19408 # FIXME: This hack should be removed a few years after 2.60.
19409 ac_datarootdir_hack=; ac_datarootdir_seen=
19410 ac_sed_dataroot='
19411 /datarootdir/ {
19412   p
19413   q
19414 }
19415 /@datadir@/p
19416 /@docdir@/p
19417 /@infodir@/p
19418 /@localedir@/p
19419 /@mandir@/p'
19420 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19421 *datarootdir*) ac_datarootdir_seen=yes;;
19422 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19423   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19424 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19425 _ACEOF
19426 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19427   ac_datarootdir_hack='
19428   s&@datadir@&$datadir&g
19429   s&@docdir@&$docdir&g
19430   s&@infodir@&$infodir&g
19431   s&@localedir@&$localedir&g
19432   s&@mandir@&$mandir&g
19433   s&\\\${datarootdir}&$datarootdir&g' ;;
19434 esac
19435 _ACEOF
19436
19437 # Neutralize VPATH when `$srcdir' = `.'.
19438 # Shell code in configure.ac might set extrasub.
19439 # FIXME: do we really want to maintain this feature?
19440 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19441 ac_sed_extra="$ac_vpsub
19442 $extrasub
19443 _ACEOF
19444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19445 :t
19446 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19447 s|@configure_input@|$ac_sed_conf_input|;t t
19448 s&@top_builddir@&$ac_top_builddir_sub&;t t
19449 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19450 s&@srcdir@&$ac_srcdir&;t t
19451 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19452 s&@top_srcdir@&$ac_top_srcdir&;t t
19453 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19454 s&@builddir@&$ac_builddir&;t t
19455 s&@abs_builddir@&$ac_abs_builddir&;t t
19456 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19457 s&@INSTALL@&$ac_INSTALL&;t t
19458 s&@MKDIR_P@&$ac_MKDIR_P&;t t
19459 $ac_datarootdir_hack
19460 "
19461 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19462   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19463
19464 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19465   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19466   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
19467       "$ac_tmp/out"`; test -z "$ac_out"; } &&
19468   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19469 which seems to be undefined.  Please make sure it is defined" >&5
19470 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19471 which seems to be undefined.  Please make sure it is defined" >&2;}
19472
19473   rm -f "$ac_tmp/stdin"
19474   case $ac_file in
19475   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19476   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19477   esac \
19478   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19479  ;;
19480   :H)
19481   #
19482   # CONFIG_HEADER
19483   #
19484   if test x"$ac_file" != x-; then
19485     {
19486       $as_echo "/* $configure_input  */" \
19487       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19488     } >"$ac_tmp/config.h" \
19489       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19490     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19491       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19492 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19493     else
19494       rm -f "$ac_file"
19495       mv "$ac_tmp/config.h" "$ac_file" \
19496         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19497     fi
19498   else
19499     $as_echo "/* $configure_input  */" \
19500       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19501       || as_fn_error $? "could not create -" "$LINENO" 5
19502   fi
19503 # Compute "$ac_file"'s index in $config_headers.
19504 _am_arg="$ac_file"
19505 _am_stamp_count=1
19506 for _am_header in $config_headers :; do
19507   case $_am_header in
19508     $_am_arg | $_am_arg:* )
19509       break ;;
19510     * )
19511       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19512   esac
19513 done
19514 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19515 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19516          X"$_am_arg" : 'X\(//\)[^/]' \| \
19517          X"$_am_arg" : 'X\(//\)$' \| \
19518          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19519 $as_echo X"$_am_arg" |
19520     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19521             s//\1/
19522             q
19523           }
19524           /^X\(\/\/\)[^/].*/{
19525             s//\1/
19526             q
19527           }
19528           /^X\(\/\/\)$/{
19529             s//\1/
19530             q
19531           }
19532           /^X\(\/\).*/{
19533             s//\1/
19534             q
19535           }
19536           s/.*/./; q'`/stamp-h$_am_stamp_count
19537  ;;
19538
19539   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19540 $as_echo "$as_me: executing $ac_file commands" >&6;}
19541  ;;
19542   esac
19543
19544
19545   case $ac_file$ac_mode in
19546     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19547   # Autoconf 2.62 quotes --file arguments for eval, but not when files
19548   # are listed without --file.  Let's play safe and only enable the eval
19549   # if we detect the quoting.
19550   case $CONFIG_FILES in
19551   *\'*) eval set x "$CONFIG_FILES" ;;
19552   *)   set x $CONFIG_FILES ;;
19553   esac
19554   shift
19555   for mf
19556   do
19557     # Strip MF so we end up with the name of the file.
19558     mf=`echo "$mf" | sed -e 's/:.*$//'`
19559     # Check whether this is an Automake generated Makefile or not.
19560     # We used to match only the files named `Makefile.in', but
19561     # some people rename them; so instead we look at the file content.
19562     # Grep'ing the first line is not enough: some people post-process
19563     # each Makefile.in and add a new line on top of each file to say so.
19564     # Grep'ing the whole file is not good either: AIX grep has a line
19565     # limit of 2048, but all sed's we know have understand at least 4000.
19566     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
19567       dirpart=`$as_dirname -- "$mf" ||
19568 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19569          X"$mf" : 'X\(//\)[^/]' \| \
19570          X"$mf" : 'X\(//\)$' \| \
19571          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19572 $as_echo X"$mf" |
19573     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19574             s//\1/
19575             q
19576           }
19577           /^X\(\/\/\)[^/].*/{
19578             s//\1/
19579             q
19580           }
19581           /^X\(\/\/\)$/{
19582             s//\1/
19583             q
19584           }
19585           /^X\(\/\).*/{
19586             s//\1/
19587             q
19588           }
19589           s/.*/./; q'`
19590     else
19591       continue
19592     fi
19593     # Extract the definition of DEPDIR, am__include, and am__quote
19594     # from the Makefile without running `make'.
19595     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19596     test -z "$DEPDIR" && continue
19597     am__include=`sed -n 's/^am__include = //p' < "$mf"`
19598     test -z "am__include" && continue
19599     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19600     # When using ansi2knr, U may be empty or an underscore; expand it
19601     U=`sed -n 's/^U = //p' < "$mf"`
19602     # Find all dependency output files, they are included files with
19603     # $(DEPDIR) in their names.  We invoke sed twice because it is the
19604     # simplest approach to changing $(DEPDIR) to its actual value in the
19605     # expansion.
19606     for file in `sed -n "
19607       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19608          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19609       # Make sure the directory exists.
19610       test -f "$dirpart/$file" && continue
19611       fdir=`$as_dirname -- "$file" ||
19612 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19613          X"$file" : 'X\(//\)[^/]' \| \
19614          X"$file" : 'X\(//\)$' \| \
19615          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19616 $as_echo X"$file" |
19617     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19618             s//\1/
19619             q
19620           }
19621           /^X\(\/\/\)[^/].*/{
19622             s//\1/
19623             q
19624           }
19625           /^X\(\/\/\)$/{
19626             s//\1/
19627             q
19628           }
19629           /^X\(\/\).*/{
19630             s//\1/
19631             q
19632           }
19633           s/.*/./; q'`
19634       as_dir=$dirpart/$fdir; as_fn_mkdir_p
19635       # echo "creating $dirpart/$file"
19636       echo '# dummy' > "$dirpart/$file"
19637     done
19638   done
19639 }
19640  ;;
19641     "libtool":C)
19642
19643     # See if we are running on zsh, and set the options which allow our
19644     # commands through without removal of \ escapes.
19645     if test -n "${ZSH_VERSION+set}" ; then
19646       setopt NO_GLOB_SUBST
19647     fi
19648
19649     cfgfile="${ofile}T"
19650     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19651     $RM "$cfgfile"
19652
19653     cat <<_LT_EOF >> "$cfgfile"
19654 #! $SHELL
19655
19656 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19657 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19658 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19659 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19660 #
19661 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19662 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
19663 #                 Foundation, Inc.
19664 #   Written by Gordon Matzigkeit, 1996
19665 #
19666 #   This file is part of GNU Libtool.
19667 #
19668 # GNU Libtool is free software; you can redistribute it and/or
19669 # modify it under the terms of the GNU General Public License as
19670 # published by the Free Software Foundation; either version 2 of
19671 # the License, or (at your option) any later version.
19672 #
19673 # As a special exception to the GNU General Public License,
19674 # if you distribute this file as part of a program or library that
19675 # is built using GNU Libtool, you may include this file under the
19676 # same distribution terms that you use for the rest of that program.
19677 #
19678 # GNU Libtool is distributed in the hope that it will be useful,
19679 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19680 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19681 # GNU General Public License for more details.
19682 #
19683 # You should have received a copy of the GNU General Public License
19684 # along with GNU Libtool; see the file COPYING.  If not, a copy
19685 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19686 # obtained by writing to the Free Software Foundation, Inc.,
19687 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19688
19689
19690 # The names of the tagged configurations supported by this script.
19691 available_tags=""
19692
19693 # ### BEGIN LIBTOOL CONFIG
19694
19695 # Assembler program.
19696 AS=$lt_AS
19697
19698 # DLL creation program.
19699 DLLTOOL=$lt_DLLTOOL
19700
19701 # Object dumper program.
19702 OBJDUMP=$lt_OBJDUMP
19703
19704 # Which release of libtool.m4 was used?
19705 macro_version=$macro_version
19706 macro_revision=$macro_revision
19707
19708 # Whether or not to build shared libraries.
19709 build_libtool_libs=$enable_shared
19710
19711 # Whether or not to build static libraries.
19712 build_old_libs=$enable_static
19713
19714 # What type of objects to build.
19715 pic_mode=$pic_mode
19716
19717 # Whether or not to optimize for fast installation.
19718 fast_install=$enable_fast_install
19719
19720 # Shell to use when invoking shell scripts.
19721 SHELL=$lt_SHELL
19722
19723 # An echo program that protects backslashes.
19724 ECHO=$lt_ECHO
19725
19726 # The PATH separator for the build system.
19727 PATH_SEPARATOR=$lt_PATH_SEPARATOR
19728
19729 # The host system.
19730 host_alias=$host_alias
19731 host=$host
19732 host_os=$host_os
19733
19734 # The build system.
19735 build_alias=$build_alias
19736 build=$build
19737 build_os=$build_os
19738
19739 # A sed program that does not truncate output.
19740 SED=$lt_SED
19741
19742 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19743 Xsed="\$SED -e 1s/^X//"
19744
19745 # A grep program that handles long lines.
19746 GREP=$lt_GREP
19747
19748 # An ERE matcher.
19749 EGREP=$lt_EGREP
19750
19751 # A literal string matcher.
19752 FGREP=$lt_FGREP
19753
19754 # A BSD- or MS-compatible name lister.
19755 NM=$lt_NM
19756
19757 # Whether we need soft or hard links.
19758 LN_S=$lt_LN_S
19759
19760 # What is the maximum length of a command?
19761 max_cmd_len=$max_cmd_len
19762
19763 # Object file suffix (normally "o").
19764 objext=$ac_objext
19765
19766 # Executable file suffix (normally "").
19767 exeext=$exeext
19768
19769 # whether the shell understands "unset".
19770 lt_unset=$lt_unset
19771
19772 # turn spaces into newlines.
19773 SP2NL=$lt_lt_SP2NL
19774
19775 # turn newlines into spaces.
19776 NL2SP=$lt_lt_NL2SP
19777
19778 # convert \$build file names to \$host format.
19779 to_host_file_cmd=$lt_cv_to_host_file_cmd
19780
19781 # convert \$build files to toolchain format.
19782 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19783
19784 # Method to check whether dependent libraries are shared objects.
19785 deplibs_check_method=$lt_deplibs_check_method
19786
19787 # Command to use when deplibs_check_method = "file_magic".
19788 file_magic_cmd=$lt_file_magic_cmd
19789
19790 # How to find potential files when deplibs_check_method = "file_magic".
19791 file_magic_glob=$lt_file_magic_glob
19792
19793 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19794 want_nocaseglob=$lt_want_nocaseglob
19795
19796 # Command to associate shared and link libraries.
19797 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19798
19799 # The archiver.
19800 AR=$lt_AR
19801
19802 # Flags to create an archive.
19803 AR_FLAGS=$lt_AR_FLAGS
19804
19805 # How to feed a file listing to the archiver.
19806 archiver_list_spec=$lt_archiver_list_spec
19807
19808 # A symbol stripping program.
19809 STRIP=$lt_STRIP
19810
19811 # Commands used to install an old-style archive.
19812 RANLIB=$lt_RANLIB
19813 old_postinstall_cmds=$lt_old_postinstall_cmds
19814 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19815
19816 # Whether to use a lock for old archive extraction.
19817 lock_old_archive_extraction=$lock_old_archive_extraction
19818
19819 # A C compiler.
19820 LTCC=$lt_CC
19821
19822 # LTCC compiler flags.
19823 LTCFLAGS=$lt_CFLAGS
19824
19825 # Take the output of nm and produce a listing of raw symbols and C names.
19826 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19827
19828 # Transform the output of nm in a proper C declaration.
19829 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19830
19831 # Transform the output of nm in a C name address pair.
19832 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19833
19834 # Transform the output of nm in a C name address pair when lib prefix is needed.
19835 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19836
19837 # Specify filename containing input files for \$NM.
19838 nm_file_list_spec=$lt_nm_file_list_spec
19839
19840 # The root where to search for dependent libraries,and in which our libraries should be installed.
19841 lt_sysroot=$lt_sysroot
19842
19843 # The name of the directory that contains temporary libtool files.
19844 objdir=$objdir
19845
19846 # Used to examine libraries when file_magic_cmd begins with "file".
19847 MAGIC_CMD=$MAGIC_CMD
19848
19849 # Must we lock files when doing compilation?
19850 need_locks=$lt_need_locks
19851
19852 # Manifest tool.
19853 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19854
19855 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19856 DSYMUTIL=$lt_DSYMUTIL
19857
19858 # Tool to change global to local symbols on Mac OS X.
19859 NMEDIT=$lt_NMEDIT
19860
19861 # Tool to manipulate fat objects and archives on Mac OS X.
19862 LIPO=$lt_LIPO
19863
19864 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19865 OTOOL=$lt_OTOOL
19866
19867 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19868 OTOOL64=$lt_OTOOL64
19869
19870 # Old archive suffix (normally "a").
19871 libext=$libext
19872
19873 # Shared library suffix (normally ".so").
19874 shrext_cmds=$lt_shrext_cmds
19875
19876 # The commands to extract the exported symbol list from a shared archive.
19877 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19878
19879 # Variables whose values should be saved in libtool wrapper scripts and
19880 # restored at link time.
19881 variables_saved_for_relink=$lt_variables_saved_for_relink
19882
19883 # Do we need the "lib" prefix for modules?
19884 need_lib_prefix=$need_lib_prefix
19885
19886 # Do we need a version for libraries?
19887 need_version=$need_version
19888
19889 # Library versioning type.
19890 version_type=$version_type
19891
19892 # Shared library runtime path variable.
19893 runpath_var=$runpath_var
19894
19895 # Shared library path variable.
19896 shlibpath_var=$shlibpath_var
19897
19898 # Is shlibpath searched before the hard-coded library search path?
19899 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19900
19901 # Format of library name prefix.
19902 libname_spec=$lt_libname_spec
19903
19904 # List of archive names.  First name is the real one, the rest are links.
19905 # The last name is the one that the linker finds with -lNAME
19906 library_names_spec=$lt_library_names_spec
19907
19908 # The coded name of the library, if different from the real name.
19909 soname_spec=$lt_soname_spec
19910
19911 # Permission mode override for installation of shared libraries.
19912 install_override_mode=$lt_install_override_mode
19913
19914 # Command to use after installation of a shared archive.
19915 postinstall_cmds=$lt_postinstall_cmds
19916
19917 # Command to use after uninstallation of a shared archive.
19918 postuninstall_cmds=$lt_postuninstall_cmds
19919
19920 # Commands used to finish a libtool library installation in a directory.
19921 finish_cmds=$lt_finish_cmds
19922
19923 # As "finish_cmds", except a single script fragment to be evaled but
19924 # not shown.
19925 finish_eval=$lt_finish_eval
19926
19927 # Whether we should hardcode library paths into libraries.
19928 hardcode_into_libs=$hardcode_into_libs
19929
19930 # Compile-time system search path for libraries.
19931 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19932
19933 # Run-time system search path for libraries.
19934 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19935
19936 # Whether dlopen is supported.
19937 dlopen_support=$enable_dlopen
19938
19939 # Whether dlopen of programs is supported.
19940 dlopen_self=$enable_dlopen_self
19941
19942 # Whether dlopen of statically linked programs is supported.
19943 dlopen_self_static=$enable_dlopen_self_static
19944
19945 # Commands to strip libraries.
19946 old_striplib=$lt_old_striplib
19947 striplib=$lt_striplib
19948
19949
19950 # The linker used to build libraries.
19951 LD=$lt_LD
19952
19953 # How to create reloadable object files.
19954 reload_flag=$lt_reload_flag
19955 reload_cmds=$lt_reload_cmds
19956
19957 # Commands used to build an old-style archive.
19958 old_archive_cmds=$lt_old_archive_cmds
19959
19960 # A language specific compiler.
19961 CC=$lt_compiler
19962
19963 # Is the compiler the GNU compiler?
19964 with_gcc=$GCC
19965
19966 # Compiler flag to turn off builtin functions.
19967 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19968
19969 # Additional compiler flags for building library objects.
19970 pic_flag=$lt_lt_prog_compiler_pic
19971
19972 # How to pass a linker flag through the compiler.
19973 wl=$lt_lt_prog_compiler_wl
19974
19975 # Compiler flag to prevent dynamic linking.
19976 link_static_flag=$lt_lt_prog_compiler_static
19977
19978 # Does compiler simultaneously support -c and -o options?
19979 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19980
19981 # Whether or not to add -lc for building shared libraries.
19982 build_libtool_need_lc=$archive_cmds_need_lc
19983
19984 # Whether or not to disallow shared libs when runtime libs are static.
19985 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19986
19987 # Compiler flag to allow reflexive dlopens.
19988 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19989
19990 # Compiler flag to generate shared objects directly from archives.
19991 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19992
19993 # Whether the compiler copes with passing no objects directly.
19994 compiler_needs_object=$lt_compiler_needs_object
19995
19996 # Create an old-style archive from a shared archive.
19997 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19998
19999 # Create a temporary old-style archive to link instead of a shared archive.
20000 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20001
20002 # Commands used to build a shared archive.
20003 archive_cmds=$lt_archive_cmds
20004 archive_expsym_cmds=$lt_archive_expsym_cmds
20005
20006 # Commands used to build a loadable module if different from building
20007 # a shared archive.
20008 module_cmds=$lt_module_cmds
20009 module_expsym_cmds=$lt_module_expsym_cmds
20010
20011 # Whether we are building with GNU ld or not.
20012 with_gnu_ld=$lt_with_gnu_ld
20013
20014 # Flag that allows shared libraries with undefined symbols to be built.
20015 allow_undefined_flag=$lt_allow_undefined_flag
20016
20017 # Flag that enforces no undefined symbols.
20018 no_undefined_flag=$lt_no_undefined_flag
20019
20020 # Flag to hardcode \$libdir into a binary during linking.
20021 # This must work even if \$libdir does not exist
20022 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20023
20024 # Whether we need a single "-rpath" flag with a separated argument.
20025 hardcode_libdir_separator=$lt_hardcode_libdir_separator
20026
20027 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20028 # DIR into the resulting binary.
20029 hardcode_direct=$hardcode_direct
20030
20031 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20032 # DIR into the resulting binary and the resulting library dependency is
20033 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20034 # library is relocated.
20035 hardcode_direct_absolute=$hardcode_direct_absolute
20036
20037 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20038 # into the resulting binary.
20039 hardcode_minus_L=$hardcode_minus_L
20040
20041 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20042 # into the resulting binary.
20043 hardcode_shlibpath_var=$hardcode_shlibpath_var
20044
20045 # Set to "yes" if building a shared library automatically hardcodes DIR
20046 # into the library and all subsequent libraries and executables linked
20047 # against it.
20048 hardcode_automatic=$hardcode_automatic
20049
20050 # Set to yes if linker adds runtime paths of dependent libraries
20051 # to runtime path list.
20052 inherit_rpath=$inherit_rpath
20053
20054 # Whether libtool must link a program against all its dependency libraries.
20055 link_all_deplibs=$link_all_deplibs
20056
20057 # Set to "yes" if exported symbols are required.
20058 always_export_symbols=$always_export_symbols
20059
20060 # The commands to list exported symbols.
20061 export_symbols_cmds=$lt_export_symbols_cmds
20062
20063 # Symbols that should not be listed in the preloaded symbols.
20064 exclude_expsyms=$lt_exclude_expsyms
20065
20066 # Symbols that must always be exported.
20067 include_expsyms=$lt_include_expsyms
20068
20069 # Commands necessary for linking programs (against libraries) with templates.
20070 prelink_cmds=$lt_prelink_cmds
20071
20072 # Commands necessary for finishing linking programs.
20073 postlink_cmds=$lt_postlink_cmds
20074
20075 # Specify filename containing input files.
20076 file_list_spec=$lt_file_list_spec
20077
20078 # How to hardcode a shared library path into an executable.
20079 hardcode_action=$hardcode_action
20080
20081 # ### END LIBTOOL CONFIG
20082
20083 _LT_EOF
20084
20085   case $host_os in
20086   aix3*)
20087     cat <<\_LT_EOF >> "$cfgfile"
20088 # AIX sometimes has problems with the GCC collect2 program.  For some
20089 # reason, if we set the COLLECT_NAMES environment variable, the problems
20090 # vanish in a puff of smoke.
20091 if test "X${COLLECT_NAMES+set}" != Xset; then
20092   COLLECT_NAMES=
20093   export COLLECT_NAMES
20094 fi
20095 _LT_EOF
20096     ;;
20097   esac
20098
20099
20100 ltmain="$ac_aux_dir/ltmain.sh"
20101
20102
20103   # We use sed instead of cat because bash on DJGPP gets confused if
20104   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
20105   # text mode, it properly converts lines to CR/LF.  This bash problem
20106   # is reportedly fixed, but why not run on old versions too?
20107   sed '$q' "$ltmain" >> "$cfgfile" \
20108      || (rm -f "$cfgfile"; exit 1)
20109
20110   if test x"$xsi_shell" = xyes; then
20111   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
20112 func_dirname ()\
20113 {\
20114 \    case ${1} in\
20115 \      */*) func_dirname_result="${1%/*}${2}" ;;\
20116 \      *  ) func_dirname_result="${3}" ;;\
20117 \    esac\
20118 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
20119   && mv -f "$cfgfile.tmp" "$cfgfile" \
20120     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20121 test 0 -eq $? || _lt_function_replace_fail=:
20122
20123
20124   sed -e '/^func_basename ()$/,/^} # func_basename /c\
20125 func_basename ()\
20126 {\
20127 \    func_basename_result="${1##*/}"\
20128 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
20129   && mv -f "$cfgfile.tmp" "$cfgfile" \
20130     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20131 test 0 -eq $? || _lt_function_replace_fail=:
20132
20133
20134   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
20135 func_dirname_and_basename ()\
20136 {\
20137 \    case ${1} in\
20138 \      */*) func_dirname_result="${1%/*}${2}" ;;\
20139 \      *  ) func_dirname_result="${3}" ;;\
20140 \    esac\
20141 \    func_basename_result="${1##*/}"\
20142 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
20143   && mv -f "$cfgfile.tmp" "$cfgfile" \
20144     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20145 test 0 -eq $? || _lt_function_replace_fail=:
20146
20147
20148   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
20149 func_stripname ()\
20150 {\
20151 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
20152 \    # positional parameters, so assign one to ordinary parameter first.\
20153 \    func_stripname_result=${3}\
20154 \    func_stripname_result=${func_stripname_result#"${1}"}\
20155 \    func_stripname_result=${func_stripname_result%"${2}"}\
20156 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
20157   && mv -f "$cfgfile.tmp" "$cfgfile" \
20158     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20159 test 0 -eq $? || _lt_function_replace_fail=:
20160
20161
20162   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
20163 func_split_long_opt ()\
20164 {\
20165 \    func_split_long_opt_name=${1%%=*}\
20166 \    func_split_long_opt_arg=${1#*=}\
20167 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
20168   && mv -f "$cfgfile.tmp" "$cfgfile" \
20169     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20170 test 0 -eq $? || _lt_function_replace_fail=:
20171
20172
20173   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
20174 func_split_short_opt ()\
20175 {\
20176 \    func_split_short_opt_arg=${1#??}\
20177 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
20178 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
20179   && mv -f "$cfgfile.tmp" "$cfgfile" \
20180     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20181 test 0 -eq $? || _lt_function_replace_fail=:
20182
20183
20184   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
20185 func_lo2o ()\
20186 {\
20187 \    case ${1} in\
20188 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
20189 \      *)    func_lo2o_result=${1} ;;\
20190 \    esac\
20191 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
20192   && mv -f "$cfgfile.tmp" "$cfgfile" \
20193     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20194 test 0 -eq $? || _lt_function_replace_fail=:
20195
20196
20197   sed -e '/^func_xform ()$/,/^} # func_xform /c\
20198 func_xform ()\
20199 {\
20200     func_xform_result=${1%.*}.lo\
20201 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
20202   && mv -f "$cfgfile.tmp" "$cfgfile" \
20203     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20204 test 0 -eq $? || _lt_function_replace_fail=:
20205
20206
20207   sed -e '/^func_arith ()$/,/^} # func_arith /c\
20208 func_arith ()\
20209 {\
20210     func_arith_result=$(( $* ))\
20211 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
20212   && mv -f "$cfgfile.tmp" "$cfgfile" \
20213     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20214 test 0 -eq $? || _lt_function_replace_fail=:
20215
20216
20217   sed -e '/^func_len ()$/,/^} # func_len /c\
20218 func_len ()\
20219 {\
20220     func_len_result=${#1}\
20221 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
20222   && mv -f "$cfgfile.tmp" "$cfgfile" \
20223     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20224 test 0 -eq $? || _lt_function_replace_fail=:
20225
20226 fi
20227
20228 if test x"$lt_shell_append" = xyes; then
20229   sed -e '/^func_append ()$/,/^} # func_append /c\
20230 func_append ()\
20231 {\
20232     eval "${1}+=\\${2}"\
20233 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
20234   && mv -f "$cfgfile.tmp" "$cfgfile" \
20235     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20236 test 0 -eq $? || _lt_function_replace_fail=:
20237
20238
20239   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
20240 func_append_quoted ()\
20241 {\
20242 \    func_quote_for_eval "${2}"\
20243 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
20244 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
20245   && mv -f "$cfgfile.tmp" "$cfgfile" \
20246     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20247 test 0 -eq $? || _lt_function_replace_fail=:
20248
20249
20250   # Save a `func_append' function call where possible by direct use of '+='
20251   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
20252     && mv -f "$cfgfile.tmp" "$cfgfile" \
20253       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20254   test 0 -eq $? || _lt_function_replace_fail=:
20255 else
20256   # Save a `func_append' function call even when '+=' is not available
20257   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
20258     && mv -f "$cfgfile.tmp" "$cfgfile" \
20259       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20260   test 0 -eq $? || _lt_function_replace_fail=:
20261 fi
20262
20263 if test x"$_lt_function_replace_fail" = x":"; then
20264   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
20265 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
20266 fi
20267
20268
20269    mv -f "$cfgfile" "$ofile" ||
20270     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20271   chmod +x "$ofile"
20272
20273  ;;
20274
20275   esac
20276 done # for ac_tag
20277
20278
20279 as_fn_exit 0
20280 _ACEOF
20281 ac_clean_files=$ac_clean_files_save
20282
20283 test $ac_write_fail = 0 ||
20284   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20285
20286
20287 # configure is writing to config.log, and then calls config.status.
20288 # config.status does its own redirection, appending to config.log.
20289 # Unfortunately, on DOS this fails, as config.log is still kept open
20290 # by configure, so config.status won't be able to write to it; its
20291 # output is simply discarded.  So we exec the FD to /dev/null,
20292 # effectively closing config.log, so it can be properly (re)opened and
20293 # appended to by config.status.  When coming back to configure, we
20294 # need to make the FD available again.
20295 if test "$no_create" != yes; then
20296   ac_cs_success=:
20297   ac_config_status_args=
20298   test "$silent" = yes &&
20299     ac_config_status_args="$ac_config_status_args --quiet"
20300   exec 5>/dev/null
20301   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20302   exec 5>>config.log
20303   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20304   # would make configure fail if this is the last instruction.
20305   $ac_cs_success || as_fn_exit 1
20306 fi
20307 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20308   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20309 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20310 fi
20311
20312
20313
20314 #####################################################################
20315 ## Info
20316
20317 echo
20318 echo
20319 echo
20320 echo "------------------------------------------------------------------------"
20321 echo "$PACKAGE $VERSION"
20322 echo "------------------------------------------------------------------------"
20323 echo
20324 echo "Configuration Options Summary:"
20325 echo
20326 echo "  Amalgamation.........: ${do_amalgamation}"
20327 echo "  Ecore IMF............: $have_ecore_imf"
20328
20329 if test "x${want_multisense}" = "xyes" ; then
20330 echo "  LibRemix.............: $have_libremix"
20331 echo "  Libsndfile...........: $have_sndfile"
20332 echo "  Ogg/Vorbis...........: $have_vorbis"
20333 echo "  LibFLAC..............: $have_flac_lib"
20334 echo "  LibALSA..............: $have_alsa_lib"
20335 fi
20336
20337 echo "  EDJE_PROGRAM_CACHE...: $want_edje_program_cache"
20338 echo "  EDJE_CALC_CACHE......: $want_edje_calc_cache"
20339 echo "  Fixed point..........: $want_fixed_point"
20340 echo "  Documentation........: ${build_doc}"
20341 echo "  Tests................: ${enable_tests}"
20342 echo "  Coverage.............: ${enable_coverage}"
20343 echo "  Examples.............: install:${install_examples} build:${build_examples}"
20344 echo
20345 echo "Programs:"
20346 echo
20347 echo "  Build edje_cc................: $have_edje_cc"
20348 echo "  Build edje_decc..............: $have_edje_decc"
20349 echo "  Build edje_recc..............: $have_edje_recc"
20350 echo "  Build edje_player............: $have_edje_player"
20351 echo "  Build edje_inspector.........: $have_edje_inspector"
20352 echo "  Build edje_external_inspector: $have_edje_external_inspector"
20353 echo "  Build edje_watch.............: $have_edje_watch"
20354 echo
20355 echo "Compilation............: make (or gmake)"
20356 echo "  CPPFLAGS.............: $CPPFLAGS"
20357 echo "  CFLAGS...............: $CFLAGS"
20358 echo "  LDFLAGS..............: $LDFLAGS"
20359 echo
20360 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
20361 echo "  prefix...............: $prefix"
20362 echo