Update to release 1.7.8
[platform/upstream/edje.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for edje 1.7.8.
4 #
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138   # into an infinite loop, continuously re-executing ourselves.
139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140     _as_can_reexec=no; export _as_can_reexec;
141     # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159   fi
160   # We don't want this to propagate to other subprocesses.
161           { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164   emulate sh
165   NULLCMD=:
166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167   # is contrary to our usage.  Disable this feature.
168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
178 "
179   as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206     PATH=/empty FPATH=/empty; export PATH FPATH
207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210   if (eval "$as_required") 2>/dev/null; then :
211   as_have_required=yes
212 else
213   as_have_required=no
214 fi
215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222   IFS=$as_save_IFS
223   test -z "$as_dir" && as_dir=.
224   as_found=:
225   case $as_dir in #(
226          /*)
227            for as_base in sh bash ksh sh5; do
228              # Try only shells that exist, to save several forks.
229              as_shell=$as_dir/$as_base
230              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   CONFIG_SHELL=$as_shell as_have_required=yes
233                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234   break 2
235 fi
236 fi
237            done;;
238        esac
239   as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243   CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248       if test "x$CONFIG_SHELL" != x; then :
249   export CONFIG_SHELL
250              # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258   *v*x* | *x*v* ) as_opts=-vx ;;
259   *v* ) as_opts=-v ;;
260   *x* ) as_opts=-x ;;
261   * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270     if test x$as_have_required = xno; then :
271   $as_echo "$0: This script requires a shell more modern than all"
272   $as_echo "$0: the shells that I found on your system."
273   if test x${ZSH_VERSION+set} = xset ; then
274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276   else
277     $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: enlightenment-devel@lists.sourceforge.net about your
279 $0: system, including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
282   fi
283   exit 1
284 fi
285 fi
286 fi
287 SHELL=${CONFIG_SHELL-/bin/sh}
288 export SHELL
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
292
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
296 # as_fn_unset VAR
297 # ---------------
298 # Portably unset VAR.
299 as_fn_unset ()
300 {
301   { eval $1=; unset $1;}
302 }
303 as_unset=as_fn_unset
304
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
308 as_fn_set_status ()
309 {
310   return $1
311 } # as_fn_set_status
312
313 # as_fn_exit STATUS
314 # -----------------
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 as_fn_exit ()
317 {
318   set +e
319   as_fn_set_status $1
320   exit $1
321 } # as_fn_exit
322
323 # as_fn_mkdir_p
324 # -------------
325 # Create "$as_dir" as a directory, including parents if necessary.
326 as_fn_mkdir_p ()
327 {
328
329   case $as_dir in #(
330   -*) as_dir=./$as_dir;;
331   esac
332   test -d "$as_dir" || eval $as_mkdir_p || {
333     as_dirs=
334     while :; do
335       case $as_dir in #(
336       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337       *) as_qdir=$as_dir;;
338       esac
339       as_dirs="'$as_qdir' $as_dirs"
340       as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342          X"$as_dir" : 'X\(//\)[^/]' \| \
343          X"$as_dir" : 'X\(//\)$' \| \
344          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347             s//\1/
348             q
349           }
350           /^X\(\/\/\)[^/].*/{
351             s//\1/
352             q
353           }
354           /^X\(\/\/\)$/{
355             s//\1/
356             q
357           }
358           /^X\(\/\).*/{
359             s//\1/
360             q
361           }
362           s/.*/./; q'`
363       test -d "$as_dir" && break
364     done
365     test -z "$as_dirs" || eval "mkdir $as_dirs"
366   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369 } # as_fn_mkdir_p
370
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
375 {
376   test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
383 # implementations.
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385   eval 'as_fn_append ()
386   {
387     eval $1+=\$2
388   }'
389 else
390   as_fn_append ()
391   {
392     eval $1=\$$1\$2
393   }
394 fi # as_fn_append
395
396 # as_fn_arith ARG...
397 # ------------------
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402   eval 'as_fn_arith ()
403   {
404     as_val=$(( $* ))
405   }'
406 else
407   as_fn_arith ()
408   {
409     as_val=`expr "$@" || test $? -eq 1`
410   }
411 fi # as_fn_arith
412
413
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
419 as_fn_error ()
420 {
421   as_status=$1; test $as_status -eq 0 && as_status=1
422   if test "$4"; then
423     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425   fi
426   $as_echo "$as_me: error: $2" >&2
427   as_fn_exit $as_status
428 } # as_fn_error
429
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431    test "X`expr 00001 : '.*\(...\)'`" = X001; then
432   as_expr=expr
433 else
434   as_expr=false
435 fi
436
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438   as_basename=basename
439 else
440   as_basename=false
441 fi
442
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444   as_dirname=dirname
445 else
446   as_dirname=false
447 fi
448
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451          X"$0" : 'X\(//\)$' \| \
452          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453 $as_echo X/"$0" |
454     sed '/^.*\/\([^/][^/]*\)\/*$/{
455             s//\1/
456             q
457           }
458           /^X\/\(\/\/\)$/{
459             s//\1/
460             q
461           }
462           /^X\/\(\/\).*/{
463             s//\1/
464             q
465           }
466           s/.*/./; q'`
467
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476   as_lineno_1=$LINENO as_lineno_1a=$LINENO
477   as_lineno_2=$LINENO as_lineno_2a=$LINENO
478   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481   sed -n '
482     p
483     /[$]LINENO/=
484   ' <$as_myself |
485     sed '
486       s/[$]LINENO.*/&-/
487       t lineno
488       b
489       :lineno
490       N
491       :loop
492       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493       t loop
494       s/-\n.*//
495     ' >$as_me.lineno &&
496   chmod +x "$as_me.lineno" ||
497     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500   # already done that, so ensure we don't try to do so again and fall
501   # in an infinite loop.  This has already happened in practice.
502   _as_can_reexec=no; export _as_can_reexec
503   # Don't try to exec as it changes $[0], causing all sort of problems
504   # (the dirname of $[0] is not the place where we might find the
505   # original and so on.  Autoconf is especially sensitive to this).
506   . "./$as_me.lineno"
507   # Exit status is that of the last command.
508   exit
509 }
510
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
513 -n*)
514   case `echo 'xy\c'` in
515   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
516   xy)  ECHO_C='\c';;
517   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518        ECHO_T=' ';;
519   esac;;
520 *)
521   ECHO_N='-n';;
522 esac
523
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526   rm -f conf$$.dir/conf$$.file
527 else
528   rm -f conf$$.dir
529   mkdir conf$$.dir 2>/dev/null
530 fi
531 if (echo >conf$$.file) 2>/dev/null; then
532   if ln -s conf$$.file conf$$ 2>/dev/null; then
533     as_ln_s='ln -s'
534     # ... but there are two gotchas:
535     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537     # In both cases, we have to default to `cp -pR'.
538     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539       as_ln_s='cp -pR'
540   elif ln conf$$.file conf$$ 2>/dev/null; then
541     as_ln_s=ln
542   else
543     as_ln_s='cp -pR'
544   fi
545 else
546   as_ln_s='cp -pR'
547 fi
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
550
551 if mkdir -p . 2>/dev/null; then
552   as_mkdir_p='mkdir -p "$as_dir"'
553 else
554   test -d ./-p && rmdir ./-p
555   as_mkdir_p=false
556 fi
557
558 as_test_x='test -x'
559 as_executable_p=as_fn_executable_p
560
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567 SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570 test -n "$DJDIR" || exec 7<&0 </dev/null
571 exec 6>&1
572
573 # Name of the host.
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578 #
579 # Initializations.
580 #
581 ac_default_prefix=/usr/local
582 ac_clean_files=
583 ac_config_libobj_dir=.
584 LIBOBJS=
585 cross_compiling=no
586 subdirs=
587 MFLAGS=
588 MAKEFLAGS=
589
590 # Identity of this package.
591 PACKAGE_NAME='edje'
592 PACKAGE_TARNAME='edje'
593 PACKAGE_VERSION='1.7.8'
594 PACKAGE_STRING='edje 1.7.8'
595 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
596 PACKAGE_URL=''
597
598 ac_unique_file="configure.ac"
599 # Factoring default headers for most tests.
600 ac_includes_default="\
601 #include <stdio.h>
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
604 #endif
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
607 #endif
608 #ifdef STDC_HEADERS
609 # include <stdlib.h>
610 # include <stddef.h>
611 #else
612 # ifdef HAVE_STDLIB_H
613 #  include <stdlib.h>
614 # endif
615 #endif
616 #ifdef HAVE_STRING_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 #  include <memory.h>
619 # endif
620 # include <string.h>
621 #endif
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
624 #endif
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
627 #endif
628 #ifdef HAVE_STDINT_H
629 # include <stdint.h>
630 #endif
631 #ifdef HAVE_UNISTD_H
632 # include <unistd.h>
633 #endif"
634
635 ac_subst_vars='am__EXEEXT_FALSE
636 am__EXEEXT_TRUE
637 LTLIBOBJS
638 LIBOBJS
639 requirement_edje
640 BUILD_EXAMPLES_FALSE
641 BUILD_EXAMPLES_TRUE
642 EFL_ENABLE_COVERAGE_FALSE
643 EFL_ENABLE_COVERAGE_TRUE
644 EFL_COVERAGE_LIBS
645 EFL_COVERAGE_CFLAGS
646 have_lcov
647 EFL_ENABLE_TESTS_FALSE
648 EFL_ENABLE_TESTS_TRUE
649 CHECK_LIBS
650 CHECK_CFLAGS
651 ALLOCA
652 lt_enable_auto_import
653 EDJE_WATCH_LIBS
654 EDJE_WATCH_CFLAGS
655 EDJE_EXTERNAL_INSPECTOR_LIBS
656 EDJE_EXTERNAL_INSPECTOR_CFLAGS
657 EDJE_INSPECTOR_LIBS
658 EDJE_INSPECTOR_CFLAGS
659 EDJE_PLAYER_LIBS
660 EDJE_PLAYER_CFLAGS
661 EDJE_DECC_LIBS
662 EDJE_DECC_CFLAGS
663 BUILD_EPP_FALSE
664 BUILD_EPP_TRUE
665 EDJE_CC_LIBS
666 EDJE_CC_CFLAGS
667 want_multisense
668 FLAC_LIBS
669 FLAC_CFLAGS
670 HAVE_LIBALSA_FALSE
671 HAVE_LIBALSA_TRUE
672 ALSA_LIBS
673 ALSA_CFLAGS
674 VORBISENC_LIBS
675 VORBISENC_CFLAGS
676 HAVE_LIBREMIX_FALSE
677 HAVE_LIBREMIX_TRUE
678 REMIX_PLUGIN_DIR
679 REMIX_LIBS
680 REMIX_CFLAGS
681 HAVE_LIBSNDFILE_FALSE
682 HAVE_LIBSNDFILE_TRUE
683 SNDFILE_LIBS
684 SNDFILE_CFLAGS
685 ENABLE_MULTISENSE_FALSE
686 ENABLE_MULTISENSE_TRUE
687 EIO_LIBS
688 EIO_CFLAGS
689 ECORE_IMF_LIBS
690 ECORE_IMF_CFLAGS
691 EDJE_LIBS
692 EDJE_CFLAGS
693 MINIMAL_LIBS
694 MINIMAL_CFLAGS
695 lua_libs
696 LUA_LIBS
697 LUA_CFLAGS
698 EFL_EDJE_BUILD
699 EVIL_LIBS
700 EVIL_CFLAGS
701 pkgconfig_requires_private
702 PKG_CONFIG_LIBDIR
703 PKG_CONFIG_PATH
704 PKG_CONFIG
705 HAVE_PYTHON_FALSE
706 HAVE_PYTHON_TRUE
707 pkgpyexecdir
708 pyexecdir
709 pkgpythondir
710 pythondir
711 PYTHON_PLATFORM
712 PYTHON_EXEC_PREFIX
713 PYTHON_PREFIX
714 PYTHON_VERSION
715 PYTHON
716 EFL_BUILD_DOC_FALSE
717 EFL_BUILD_DOC_TRUE
718 efl_doxygen
719 efl_have_doxygen
720 vimdir
721 BUILD_EDJE_FP_FALSE
722 BUILD_EDJE_FP_TRUE
723 EDJE_CALC_CACHE_FALSE
724 EDJE_CALC_CACHE_TRUE
725 EDJE_PROGRAM_CACHE_FALSE
726 EDJE_PROGRAM_CACHE_TRUE
727 BUILD_EDJE_WATCH_FALSE
728 BUILD_EDJE_WATCH_TRUE
729 EDJE_WATCH_PRG
730 BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE
731 BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE
732 EDJE_EXTERNAL_INSPECTOR_PRG
733 BUILD_EDJE_INSPECTOR_FALSE
734 BUILD_EDJE_INSPECTOR_TRUE
735 EDJE_INSPECTOR_PRG
736 BUILD_EDJE_PLAYER_FALSE
737 BUILD_EDJE_PLAYER_TRUE
738 EDJE_PLAYER_PRG
739 BUILD_EDJE_RECC_FALSE
740 BUILD_EDJE_RECC_TRUE
741 EDJE_RECC_PRG
742 BUILD_EDJE_DECC_FALSE
743 BUILD_EDJE_DECC_TRUE
744 EDJE_DECC_PRG
745 BUILD_EDJE_CC_FALSE
746 BUILD_EDJE_CC_TRUE
747 EDJE_CC_PRG
748 edje_cc
749 EDJE_AMALGAMATION_FALSE
750 EDJE_AMALGAMATION_TRUE
751 MODULE_ARCH
752 VMAJ
753 release_info
754 version_info
755 CPP
756 OTOOL64
757 OTOOL
758 LIPO
759 NMEDIT
760 DSYMUTIL
761 MANIFEST_TOOL
762 RANLIB
763 ac_ct_AR
764 AR
765 LN_S
766 NM
767 ac_ct_DUMPBIN
768 DUMPBIN
769 LD
770 FGREP
771 EGREP
772 GREP
773 SED
774 am__fastdepCC_FALSE
775 am__fastdepCC_TRUE
776 CCDEPMODE
777 am__nodep
778 AMDEPBACKSLASH
779 AMDEP_FALSE
780 AMDEP_TRUE
781 am__quote
782 am__include
783 DEPDIR
784 OBJEXT
785 EXEEXT
786 ac_ct_CC
787 CPPFLAGS
788 LDFLAGS
789 CFLAGS
790 CC
791 LIBTOOL
792 OBJDUMP
793 DLLTOOL
794 AS
795 host_os
796 host_vendor
797 host_cpu
798 host
799 build_os
800 build_vendor
801 build_cpu
802 build
803 AM_BACKSLASH
804 AM_DEFAULT_VERBOSITY
805 AM_DEFAULT_V
806 AM_V
807 am__untar
808 am__tar
809 AMTAR
810 am__leading_dot
811 SET_MAKE
812 AWK
813 mkdir_p
814 MKDIR_P
815 INSTALL_STRIP_PROGRAM
816 STRIP
817 install_sh
818 MAKEINFO
819 AUTOHEADER
820 AUTOMAKE
821 AUTOCONF
822 ACLOCAL
823 VERSION
824 PACKAGE
825 CYGPATH_W
826 am__isrc
827 INSTALL_DATA
828 INSTALL_SCRIPT
829 INSTALL_PROGRAM
830 target_alias
831 host_alias
832 build_alias
833 LIBS
834 ECHO_T
835 ECHO_N
836 ECHO_C
837 DEFS
838 mandir
839 localedir
840 libdir
841 psdir
842 pdfdir
843 dvidir
844 htmldir
845 infodir
846 docdir
847 oldincludedir
848 includedir
849 localstatedir
850 sharedstatedir
851 sysconfdir
852 datadir
853 datarootdir
854 libexecdir
855 sbindir
856 bindir
857 program_transform_name
858 prefix
859 exec_prefix
860 PACKAGE_URL
861 PACKAGE_BUGREPORT
862 PACKAGE_STRING
863 PACKAGE_VERSION
864 PACKAGE_TARNAME
865 PACKAGE_NAME
866 PATH_SEPARATOR
867 SHELL'
868 ac_subst_files=''
869 ac_user_opts='
870 enable_option_checking
871 enable_silent_rules
872 enable_shared
873 enable_static
874 with_pic
875 enable_fast_install
876 enable_dependency_tracking
877 with_gnu_ld
878 with_sysroot
879 enable_libtool_lock
880 enable_amalgamation
881 with_edje_cc
882 enable_edje_cc
883 enable_edje_decc
884 enable_edje_recc
885 enable_edje_player
886 enable_edje_inspector
887 enable_edje_external_inspector
888 enable_edje_watch
889 enable_edje_program_cache
890 enable_edje_calc_cache
891 enable_fixed_point
892 with_vim
893 enable_doc
894 with_doxygen
895 enable_sndfile
896 enable_remix
897 enable_vorbisenc
898 enable_alsa
899 enable_flac
900 enable_tests
901 enable_coverage
902 enable_build_examples
903 '
904       ac_precious_vars='build_alias
905 host_alias
906 target_alias
907 CC
908 CFLAGS
909 LDFLAGS
910 LIBS
911 CPPFLAGS
912 CPP
913 PYTHON
914 PKG_CONFIG
915 PKG_CONFIG_PATH
916 PKG_CONFIG_LIBDIR
917 EVIL_CFLAGS
918 EVIL_LIBS
919 LUA_CFLAGS
920 LUA_LIBS
921 MINIMAL_CFLAGS
922 MINIMAL_LIBS
923 EDJE_CFLAGS
924 EDJE_LIBS
925 ECORE_IMF_CFLAGS
926 ECORE_IMF_LIBS
927 EIO_CFLAGS
928 EIO_LIBS
929 SNDFILE_CFLAGS
930 SNDFILE_LIBS
931 REMIX_CFLAGS
932 REMIX_LIBS
933 VORBISENC_CFLAGS
934 VORBISENC_LIBS
935 ALSA_CFLAGS
936 ALSA_LIBS
937 FLAC_CFLAGS
938 FLAC_LIBS
939 EDJE_CC_CFLAGS
940 EDJE_CC_LIBS
941 EDJE_DECC_CFLAGS
942 EDJE_DECC_LIBS
943 EDJE_PLAYER_CFLAGS
944 EDJE_PLAYER_LIBS
945 EDJE_INSPECTOR_CFLAGS
946 EDJE_INSPECTOR_LIBS
947 EDJE_EXTERNAL_INSPECTOR_CFLAGS
948 EDJE_EXTERNAL_INSPECTOR_LIBS
949 EDJE_WATCH_CFLAGS
950 EDJE_WATCH_LIBS
951 CHECK_CFLAGS
952 CHECK_LIBS'
953
954
955 # Initialize some variables set by options.
956 ac_init_help=
957 ac_init_version=false
958 ac_unrecognized_opts=
959 ac_unrecognized_sep=
960 # The variables have the same names as the options, with
961 # dashes changed to underlines.
962 cache_file=/dev/null
963 exec_prefix=NONE
964 no_create=
965 no_recursion=
966 prefix=NONE
967 program_prefix=NONE
968 program_suffix=NONE
969 program_transform_name=s,x,x,
970 silent=
971 site=
972 srcdir=
973 verbose=
974 x_includes=NONE
975 x_libraries=NONE
976
977 # Installation directory options.
978 # These are left unexpanded so users can "make install exec_prefix=/foo"
979 # and all the variables that are supposed to be based on exec_prefix
980 # by default will actually change.
981 # Use braces instead of parens because sh, perl, etc. also accept them.
982 # (The list follows the same order as the GNU Coding Standards.)
983 bindir='${exec_prefix}/bin'
984 sbindir='${exec_prefix}/sbin'
985 libexecdir='${exec_prefix}/libexec'
986 datarootdir='${prefix}/share'
987 datadir='${datarootdir}'
988 sysconfdir='${prefix}/etc'
989 sharedstatedir='${prefix}/com'
990 localstatedir='${prefix}/var'
991 includedir='${prefix}/include'
992 oldincludedir='/usr/include'
993 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
994 infodir='${datarootdir}/info'
995 htmldir='${docdir}'
996 dvidir='${docdir}'
997 pdfdir='${docdir}'
998 psdir='${docdir}'
999 libdir='${exec_prefix}/lib'
1000 localedir='${datarootdir}/locale'
1001 mandir='${datarootdir}/man'
1002
1003 ac_prev=
1004 ac_dashdash=
1005 for ac_option
1006 do
1007   # If the previous option needs an argument, assign it.
1008   if test -n "$ac_prev"; then
1009     eval $ac_prev=\$ac_option
1010     ac_prev=
1011     continue
1012   fi
1013
1014   case $ac_option in
1015   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1016   *=)   ac_optarg= ;;
1017   *)    ac_optarg=yes ;;
1018   esac
1019
1020   # Accept the important Cygnus configure options, so we can diagnose typos.
1021
1022   case $ac_dashdash$ac_option in
1023   --)
1024     ac_dashdash=yes ;;
1025
1026   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1027     ac_prev=bindir ;;
1028   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1029     bindir=$ac_optarg ;;
1030
1031   -build | --build | --buil | --bui | --bu)
1032     ac_prev=build_alias ;;
1033   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1034     build_alias=$ac_optarg ;;
1035
1036   -cache-file | --cache-file | --cache-fil | --cache-fi \
1037   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1038     ac_prev=cache_file ;;
1039   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1040   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1041     cache_file=$ac_optarg ;;
1042
1043   --config-cache | -C)
1044     cache_file=config.cache ;;
1045
1046   -datadir | --datadir | --datadi | --datad)
1047     ac_prev=datadir ;;
1048   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1049     datadir=$ac_optarg ;;
1050
1051   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1052   | --dataroo | --dataro | --datar)
1053     ac_prev=datarootdir ;;
1054   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1055   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1056     datarootdir=$ac_optarg ;;
1057
1058   -disable-* | --disable-*)
1059     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1060     # Reject names that are not valid shell variable names.
1061     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1062       as_fn_error $? "invalid feature name: $ac_useropt"
1063     ac_useropt_orig=$ac_useropt
1064     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1065     case $ac_user_opts in
1066       *"
1067 "enable_$ac_useropt"
1068 "*) ;;
1069       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1070          ac_unrecognized_sep=', ';;
1071     esac
1072     eval enable_$ac_useropt=no ;;
1073
1074   -docdir | --docdir | --docdi | --doc | --do)
1075     ac_prev=docdir ;;
1076   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1077     docdir=$ac_optarg ;;
1078
1079   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1080     ac_prev=dvidir ;;
1081   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1082     dvidir=$ac_optarg ;;
1083
1084   -enable-* | --enable-*)
1085     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1086     # Reject names that are not valid shell variable names.
1087     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1088       as_fn_error $? "invalid feature name: $ac_useropt"
1089     ac_useropt_orig=$ac_useropt
1090     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1091     case $ac_user_opts in
1092       *"
1093 "enable_$ac_useropt"
1094 "*) ;;
1095       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1096          ac_unrecognized_sep=', ';;
1097     esac
1098     eval enable_$ac_useropt=\$ac_optarg ;;
1099
1100   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1101   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1102   | --exec | --exe | --ex)
1103     ac_prev=exec_prefix ;;
1104   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1105   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1106   | --exec=* | --exe=* | --ex=*)
1107     exec_prefix=$ac_optarg ;;
1108
1109   -gas | --gas | --ga | --g)
1110     # Obsolete; use --with-gas.
1111     with_gas=yes ;;
1112
1113   -help | --help | --hel | --he | -h)
1114     ac_init_help=long ;;
1115   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1116     ac_init_help=recursive ;;
1117   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1118     ac_init_help=short ;;
1119
1120   -host | --host | --hos | --ho)
1121     ac_prev=host_alias ;;
1122   -host=* | --host=* | --hos=* | --ho=*)
1123     host_alias=$ac_optarg ;;
1124
1125   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1126     ac_prev=htmldir ;;
1127   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1128   | --ht=*)
1129     htmldir=$ac_optarg ;;
1130
1131   -includedir | --includedir | --includedi | --included | --include \
1132   | --includ | --inclu | --incl | --inc)
1133     ac_prev=includedir ;;
1134   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1135   | --includ=* | --inclu=* | --incl=* | --inc=*)
1136     includedir=$ac_optarg ;;
1137
1138   -infodir | --infodir | --infodi | --infod | --info | --inf)
1139     ac_prev=infodir ;;
1140   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1141     infodir=$ac_optarg ;;
1142
1143   -libdir | --libdir | --libdi | --libd)
1144     ac_prev=libdir ;;
1145   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1146     libdir=$ac_optarg ;;
1147
1148   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1149   | --libexe | --libex | --libe)
1150     ac_prev=libexecdir ;;
1151   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1152   | --libexe=* | --libex=* | --libe=*)
1153     libexecdir=$ac_optarg ;;
1154
1155   -localedir | --localedir | --localedi | --localed | --locale)
1156     ac_prev=localedir ;;
1157   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1158     localedir=$ac_optarg ;;
1159
1160   -localstatedir | --localstatedir | --localstatedi | --localstated \
1161   | --localstate | --localstat | --localsta | --localst | --locals)
1162     ac_prev=localstatedir ;;
1163   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1164   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1165     localstatedir=$ac_optarg ;;
1166
1167   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1168     ac_prev=mandir ;;
1169   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1170     mandir=$ac_optarg ;;
1171
1172   -nfp | --nfp | --nf)
1173     # Obsolete; use --without-fp.
1174     with_fp=no ;;
1175
1176   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1177   | --no-cr | --no-c | -n)
1178     no_create=yes ;;
1179
1180   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1181   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1182     no_recursion=yes ;;
1183
1184   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1185   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1186   | --oldin | --oldi | --old | --ol | --o)
1187     ac_prev=oldincludedir ;;
1188   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1189   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1190   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1191     oldincludedir=$ac_optarg ;;
1192
1193   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1194     ac_prev=prefix ;;
1195   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1196     prefix=$ac_optarg ;;
1197
1198   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1199   | --program-pre | --program-pr | --program-p)
1200     ac_prev=program_prefix ;;
1201   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1202   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1203     program_prefix=$ac_optarg ;;
1204
1205   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1206   | --program-suf | --program-su | --program-s)
1207     ac_prev=program_suffix ;;
1208   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1209   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1210     program_suffix=$ac_optarg ;;
1211
1212   -program-transform-name | --program-transform-name \
1213   | --program-transform-nam | --program-transform-na \
1214   | --program-transform-n | --program-transform- \
1215   | --program-transform | --program-transfor \
1216   | --program-transfo | --program-transf \
1217   | --program-trans | --program-tran \
1218   | --progr-tra | --program-tr | --program-t)
1219     ac_prev=program_transform_name ;;
1220   -program-transform-name=* | --program-transform-name=* \
1221   | --program-transform-nam=* | --program-transform-na=* \
1222   | --program-transform-n=* | --program-transform-=* \
1223   | --program-transform=* | --program-transfor=* \
1224   | --program-transfo=* | --program-transf=* \
1225   | --program-trans=* | --program-tran=* \
1226   | --progr-tra=* | --program-tr=* | --program-t=*)
1227     program_transform_name=$ac_optarg ;;
1228
1229   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1230     ac_prev=pdfdir ;;
1231   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1232     pdfdir=$ac_optarg ;;
1233
1234   -psdir | --psdir | --psdi | --psd | --ps)
1235     ac_prev=psdir ;;
1236   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1237     psdir=$ac_optarg ;;
1238
1239   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1240   | -silent | --silent | --silen | --sile | --sil)
1241     silent=yes ;;
1242
1243   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1244     ac_prev=sbindir ;;
1245   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1246   | --sbi=* | --sb=*)
1247     sbindir=$ac_optarg ;;
1248
1249   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1250   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1251   | --sharedst | --shareds | --shared | --share | --shar \
1252   | --sha | --sh)
1253     ac_prev=sharedstatedir ;;
1254   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1255   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1256   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1257   | --sha=* | --sh=*)
1258     sharedstatedir=$ac_optarg ;;
1259
1260   -site | --site | --sit)
1261     ac_prev=site ;;
1262   -site=* | --site=* | --sit=*)
1263     site=$ac_optarg ;;
1264
1265   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1266     ac_prev=srcdir ;;
1267   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1268     srcdir=$ac_optarg ;;
1269
1270   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1271   | --syscon | --sysco | --sysc | --sys | --sy)
1272     ac_prev=sysconfdir ;;
1273   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1274   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1275     sysconfdir=$ac_optarg ;;
1276
1277   -target | --target | --targe | --targ | --tar | --ta | --t)
1278     ac_prev=target_alias ;;
1279   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1280     target_alias=$ac_optarg ;;
1281
1282   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1283     verbose=yes ;;
1284
1285   -version | --version | --versio | --versi | --vers | -V)
1286     ac_init_version=: ;;
1287
1288   -with-* | --with-*)
1289     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1290     # Reject names that are not valid shell variable names.
1291     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1292       as_fn_error $? "invalid package name: $ac_useropt"
1293     ac_useropt_orig=$ac_useropt
1294     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1295     case $ac_user_opts in
1296       *"
1297 "with_$ac_useropt"
1298 "*) ;;
1299       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1300          ac_unrecognized_sep=', ';;
1301     esac
1302     eval with_$ac_useropt=\$ac_optarg ;;
1303
1304   -without-* | --without-*)
1305     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1306     # Reject names that are not valid shell variable names.
1307     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1308       as_fn_error $? "invalid package name: $ac_useropt"
1309     ac_useropt_orig=$ac_useropt
1310     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1311     case $ac_user_opts in
1312       *"
1313 "with_$ac_useropt"
1314 "*) ;;
1315       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1316          ac_unrecognized_sep=', ';;
1317     esac
1318     eval with_$ac_useropt=no ;;
1319
1320   --x)
1321     # Obsolete; use --with-x.
1322     with_x=yes ;;
1323
1324   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1325   | --x-incl | --x-inc | --x-in | --x-i)
1326     ac_prev=x_includes ;;
1327   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1328   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1329     x_includes=$ac_optarg ;;
1330
1331   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1332   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1333     ac_prev=x_libraries ;;
1334   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1335   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1336     x_libraries=$ac_optarg ;;
1337
1338   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1339 Try \`$0 --help' for more information"
1340     ;;
1341
1342   *=*)
1343     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1344     # Reject names that are not valid shell variable names.
1345     case $ac_envvar in #(
1346       '' | [0-9]* | *[!_$as_cr_alnum]* )
1347       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1348     esac
1349     eval $ac_envvar=\$ac_optarg
1350     export $ac_envvar ;;
1351
1352   *)
1353     # FIXME: should be removed in autoconf 3.0.
1354     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1355     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1356       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1357     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1358     ;;
1359
1360   esac
1361 done
1362
1363 if test -n "$ac_prev"; then
1364   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1365   as_fn_error $? "missing argument to $ac_option"
1366 fi
1367
1368 if test -n "$ac_unrecognized_opts"; then
1369   case $enable_option_checking in
1370     no) ;;
1371     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1372     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1373   esac
1374 fi
1375
1376 # Check all directory arguments for consistency.
1377 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1378                 datadir sysconfdir sharedstatedir localstatedir includedir \
1379                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1380                 libdir localedir mandir
1381 do
1382   eval ac_val=\$$ac_var
1383   # Remove trailing slashes.
1384   case $ac_val in
1385     */ )
1386       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1387       eval $ac_var=\$ac_val;;
1388   esac
1389   # Be sure to have absolute directory names.
1390   case $ac_val in
1391     [\\/$]* | ?:[\\/]* )  continue;;
1392     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1393   esac
1394   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1395 done
1396
1397 # There might be people who depend on the old broken behavior: `$host'
1398 # used to hold the argument of --host etc.
1399 # FIXME: To remove some day.
1400 build=$build_alias
1401 host=$host_alias
1402 target=$target_alias
1403
1404 # FIXME: To remove some day.
1405 if test "x$host_alias" != x; then
1406   if test "x$build_alias" = x; then
1407     cross_compiling=maybe
1408   elif test "x$build_alias" != "x$host_alias"; then
1409     cross_compiling=yes
1410   fi
1411 fi
1412
1413 ac_tool_prefix=
1414 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1415
1416 test "$silent" = yes && exec 6>/dev/null
1417
1418
1419 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1420 ac_ls_di=`ls -di .` &&
1421 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1422   as_fn_error $? "working directory cannot be determined"
1423 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1424   as_fn_error $? "pwd does not report name of working directory"
1425
1426
1427 # Find the source files, if location was not specified.
1428 if test -z "$srcdir"; then
1429   ac_srcdir_defaulted=yes
1430   # Try the directory containing this script, then the parent directory.
1431   ac_confdir=`$as_dirname -- "$as_myself" ||
1432 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1433          X"$as_myself" : 'X\(//\)[^/]' \| \
1434          X"$as_myself" : 'X\(//\)$' \| \
1435          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1436 $as_echo X"$as_myself" |
1437     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1438             s//\1/
1439             q
1440           }
1441           /^X\(\/\/\)[^/].*/{
1442             s//\1/
1443             q
1444           }
1445           /^X\(\/\/\)$/{
1446             s//\1/
1447             q
1448           }
1449           /^X\(\/\).*/{
1450             s//\1/
1451             q
1452           }
1453           s/.*/./; q'`
1454   srcdir=$ac_confdir
1455   if test ! -r "$srcdir/$ac_unique_file"; then
1456     srcdir=..
1457   fi
1458 else
1459   ac_srcdir_defaulted=no
1460 fi
1461 if test ! -r "$srcdir/$ac_unique_file"; then
1462   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1463   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1464 fi
1465 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1466 ac_abs_confdir=`(
1467         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1468         pwd)`
1469 # When building in place, set srcdir=.
1470 if test "$ac_abs_confdir" = "$ac_pwd"; then
1471   srcdir=.
1472 fi
1473 # Remove unnecessary trailing slashes from srcdir.
1474 # Double slashes in file names in object file debugging info
1475 # mess up M-x gdb in Emacs.
1476 case $srcdir in
1477 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1478 esac
1479 for ac_var in $ac_precious_vars; do
1480   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1481   eval ac_env_${ac_var}_value=\$${ac_var}
1482   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1483   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1484 done
1485
1486 #
1487 # Report the --help message.
1488 #
1489 if test "$ac_init_help" = "long"; then
1490   # Omit some internal or obsolete options to make the list less imposing.
1491   # This message is too long to be a string in the A/UX 3.1 sh.
1492   cat <<_ACEOF
1493 \`configure' configures edje 1.7.8 to adapt to many kinds of systems.
1494
1495 Usage: $0 [OPTION]... [VAR=VALUE]...
1496
1497 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1498 VAR=VALUE.  See below for descriptions of some of the useful variables.
1499
1500 Defaults for the options are specified in brackets.
1501
1502 Configuration:
1503   -h, --help              display this help and exit
1504       --help=short        display options specific to this package
1505       --help=recursive    display the short help of all the included packages
1506   -V, --version           display version information and exit
1507   -q, --quiet, --silent   do not print \`checking ...' messages
1508       --cache-file=FILE   cache test results in FILE [disabled]
1509   -C, --config-cache      alias for \`--cache-file=config.cache'
1510   -n, --no-create         do not create output files
1511       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1512
1513 Installation directories:
1514   --prefix=PREFIX         install architecture-independent files in PREFIX
1515                           [$ac_default_prefix]
1516   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1517                           [PREFIX]
1518
1519 By default, \`make install' will install all the files in
1520 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1521 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1522 for instance \`--prefix=\$HOME'.
1523
1524 For better control, use the options below.
1525
1526 Fine tuning of the installation directories:
1527   --bindir=DIR            user executables [EPREFIX/bin]
1528   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1529   --libexecdir=DIR        program executables [EPREFIX/libexec]
1530   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1531   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1532   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1533   --libdir=DIR            object code libraries [EPREFIX/lib]
1534   --includedir=DIR        C header files [PREFIX/include]
1535   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1536   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1537   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1538   --infodir=DIR           info documentation [DATAROOTDIR/info]
1539   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1540   --mandir=DIR            man documentation [DATAROOTDIR/man]
1541   --docdir=DIR            documentation root [DATAROOTDIR/doc/edje]
1542   --htmldir=DIR           html documentation [DOCDIR]
1543   --dvidir=DIR            dvi documentation [DOCDIR]
1544   --pdfdir=DIR            pdf documentation [DOCDIR]
1545   --psdir=DIR             ps documentation [DOCDIR]
1546 _ACEOF
1547
1548   cat <<\_ACEOF
1549
1550 Program names:
1551   --program-prefix=PREFIX            prepend PREFIX to installed program names
1552   --program-suffix=SUFFIX            append SUFFIX to installed program names
1553   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1554
1555 System types:
1556   --build=BUILD     configure for building on BUILD [guessed]
1557   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1558 _ACEOF
1559 fi
1560
1561 if test -n "$ac_init_help"; then
1562   case $ac_init_help in
1563      short | recursive ) echo "Configuration of edje 1.7.8:";;
1564    esac
1565   cat <<\_ACEOF
1566
1567 Optional Features:
1568   --disable-option-checking  ignore unrecognized --enable/--with options
1569   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1570   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1571   --enable-silent-rules   less verbose build output (undo: "make V=1")
1572   --disable-silent-rules  verbose build output (undo: "make V=0")
1573   --enable-shared[=PKGS]  build shared libraries [default=yes]
1574   --enable-static[=PKGS]  build static libraries [default=yes]
1575   --enable-fast-install[=PKGS]
1576                           optimize for fast installation [default=yes]
1577   --enable-dependency-tracking
1578                           do not reject slow dependency extractors
1579   --disable-dependency-tracking
1580                           speeds up one-time build
1581   --disable-libtool-lock  avoid locking (might break parallel builds)
1582   --enable-amalgamation   enable generation of one single file with all source
1583                           code in it, helps compiler optimizations.
1584   --disable-edje-cc       disable building of edje_cc
1585   --disable-edje-decc     disable building of edje_decc
1586   --disable-edje-recc     disable building of edje_recc
1587   --disable-edje-player   disable building of edje_player
1588   --disable-edje-inspector
1589                           disable building of edje_inspector
1590   --disable-edje-external-inspector
1591                           disable building of edje_external_inspector
1592   --disable-edje-watch    disable building of edje_watch
1593   --enable-edje-program-cache
1594                           enable EDJE_PROGRAM_CACHE support.
1595                           [[default=disabled]]
1596   --enable-edje-calc-cache
1597                           enable EDJE_CALC_CACHE support. [[default=disabled]]
1598   --enable-fixed-point    reduce use of FPU by using Fixed Point provided by
1599                           Eina and Eet, [[default=disabled]]
1600   --disable-doc           Disable documentation build [default=enabled]
1601   --disable-sndfile       disable sndfile support. [default=detect]
1602   --disable-remix         disable remix support. [default=detect]
1603   --disable-vorbis        disable ogg-vorbis support. [default=detect]
1604   --disable-alsa          disable alsa support. [default=detect]
1605   --disable-flac          disable flac support. [default=detect]
1606   --enable-tests          enable tests [default=disabled]
1607   --enable-coverage       enable coverage profiling instrumentation
1608                           [default=disabled]
1609   --enable-build-examples Enable building examples. This requires extra
1610                           dependencies. If you don't have them installed yet,
1611                           don't build with this option or it will fail. Build
1612                           again when you have it, overriding the previous
1613                           installation). [default==disabled]
1614
1615 Optional Packages:
1616   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1617   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1618   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1619                           both]
1620   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1621   --with-sysroot=DIR Search for dependent libraries within DIR
1622                         (or the compiler's sysroot if not specified).
1623   --with-edje-cc=PATH     specify a specific path to edje_cc [default=edje_cc]
1624   --with-vim=DIR          Location of Vim data files [[autodetect]]
1625   --with-doxygen=FILE     doxygen program to use [default=doxygen]
1626
1627 Some influential environment variables:
1628   CC          C compiler command
1629   CFLAGS      C compiler flags
1630   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1631               nonstandard directory <lib dir>
1632   LIBS        libraries to pass to the linker, e.g. -l<library>
1633   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1634               you have headers in a nonstandard directory <include dir>
1635   CPP         C preprocessor
1636   PYTHON      the Python interpreter
1637   PKG_CONFIG  path to pkg-config utility
1638   PKG_CONFIG_PATH
1639               directories to add to pkg-config's search path
1640   PKG_CONFIG_LIBDIR
1641               path overriding pkg-config's built-in search path
1642   EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
1643   EVIL_LIBS   linker flags for EVIL, overriding pkg-config
1644   LUA_CFLAGS  C compiler flags for LUA, overriding pkg-config
1645   LUA_LIBS    linker flags for LUA, overriding pkg-config
1646   MINIMAL_CFLAGS
1647               C compiler flags for MINIMAL, overriding pkg-config
1648   MINIMAL_LIBS
1649               linker flags for MINIMAL, overriding pkg-config
1650   EDJE_CFLAGS C compiler flags for EDJE, overriding pkg-config
1651   EDJE_LIBS   linker flags for EDJE, overriding pkg-config
1652   ECORE_IMF_CFLAGS
1653               C compiler flags for ECORE_IMF, overriding pkg-config
1654   ECORE_IMF_LIBS
1655               linker flags for ECORE_IMF, overriding pkg-config
1656   EIO_CFLAGS  C compiler flags for EIO, overriding pkg-config
1657   EIO_LIBS    linker flags for EIO, overriding pkg-config
1658   SNDFILE_CFLAGS
1659               C compiler flags for SNDFILE, overriding pkg-config
1660   SNDFILE_LIBS
1661               linker flags for SNDFILE, overriding pkg-config
1662   REMIX_CFLAGS
1663               C compiler flags for REMIX, overriding pkg-config
1664   REMIX_LIBS  linker flags for REMIX, overriding pkg-config
1665   VORBISENC_CFLAGS
1666               C compiler flags for VORBISENC, overriding pkg-config
1667   VORBISENC_LIBS
1668               linker flags for VORBISENC, overriding pkg-config
1669   ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
1670   ALSA_LIBS   linker flags for ALSA, overriding pkg-config
1671   FLAC_CFLAGS C compiler flags for FLAC, overriding pkg-config
1672   FLAC_LIBS   linker flags for FLAC, overriding pkg-config
1673   EDJE_CC_CFLAGS
1674               C compiler flags for EDJE_CC, overriding pkg-config
1675   EDJE_CC_LIBS
1676               linker flags for EDJE_CC, overriding pkg-config
1677   EDJE_DECC_CFLAGS
1678               C compiler flags for EDJE_DECC, overriding pkg-config
1679   EDJE_DECC_LIBS
1680               linker flags for EDJE_DECC, overriding pkg-config
1681   EDJE_PLAYER_CFLAGS
1682               C compiler flags for EDJE_PLAYER, overriding pkg-config
1683   EDJE_PLAYER_LIBS
1684               linker flags for EDJE_PLAYER, overriding pkg-config
1685   EDJE_INSPECTOR_CFLAGS
1686               C compiler flags for EDJE_INSPECTOR, overriding pkg-config
1687   EDJE_INSPECTOR_LIBS
1688               linker flags for EDJE_INSPECTOR, overriding pkg-config
1689   EDJE_EXTERNAL_INSPECTOR_CFLAGS
1690               C compiler flags for EDJE_EXTERNAL_INSPECTOR, overriding
1691               pkg-config
1692   EDJE_EXTERNAL_INSPECTOR_LIBS
1693               linker flags for EDJE_EXTERNAL_INSPECTOR, overriding pkg-config
1694   EDJE_WATCH_CFLAGS
1695               C compiler flags for EDJE_WATCH, overriding pkg-config
1696   EDJE_WATCH_LIBS
1697               linker flags for EDJE_WATCH, overriding pkg-config
1698   CHECK_CFLAGS
1699               C compiler flags for CHECK, overriding pkg-config
1700   CHECK_LIBS  linker flags for CHECK, overriding pkg-config
1701
1702 Use these variables to override the choices made by `configure' or to help
1703 it to find libraries and programs with nonstandard names/locations.
1704
1705 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1706 _ACEOF
1707 ac_status=$?
1708 fi
1709
1710 if test "$ac_init_help" = "recursive"; then
1711   # If there are subdirs, report their specific --help.
1712   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1713     test -d "$ac_dir" ||
1714       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1715       continue
1716     ac_builddir=.
1717
1718 case "$ac_dir" in
1719 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1720 *)
1721   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1722   # A ".." for each directory in $ac_dir_suffix.
1723   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1724   case $ac_top_builddir_sub in
1725   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1726   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1727   esac ;;
1728 esac
1729 ac_abs_top_builddir=$ac_pwd
1730 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1731 # for backward compatibility:
1732 ac_top_builddir=$ac_top_build_prefix
1733
1734 case $srcdir in
1735   .)  # We are building in place.
1736     ac_srcdir=.
1737     ac_top_srcdir=$ac_top_builddir_sub
1738     ac_abs_top_srcdir=$ac_pwd ;;
1739   [\\/]* | ?:[\\/]* )  # Absolute name.
1740     ac_srcdir=$srcdir$ac_dir_suffix;
1741     ac_top_srcdir=$srcdir
1742     ac_abs_top_srcdir=$srcdir ;;
1743   *) # Relative name.
1744     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1745     ac_top_srcdir=$ac_top_build_prefix$srcdir
1746     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1747 esac
1748 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1749
1750     cd "$ac_dir" || { ac_status=$?; continue; }
1751     # Check for guested configure.
1752     if test -f "$ac_srcdir/configure.gnu"; then
1753       echo &&
1754       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1755     elif test -f "$ac_srcdir/configure"; then
1756       echo &&
1757       $SHELL "$ac_srcdir/configure" --help=recursive
1758     else
1759       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1760     fi || ac_status=$?
1761     cd "$ac_pwd" || { ac_status=$?; break; }
1762   done
1763 fi
1764
1765 test -n "$ac_init_help" && exit $ac_status
1766 if $ac_init_version; then
1767   cat <<\_ACEOF
1768 edje configure 1.7.8
1769 generated by GNU Autoconf 2.69
1770
1771 Copyright (C) 2012 Free Software Foundation, Inc.
1772 This configure script is free software; the Free Software Foundation
1773 gives unlimited permission to copy, distribute and modify it.
1774 _ACEOF
1775   exit
1776 fi
1777
1778 ## ------------------------ ##
1779 ## Autoconf initialization. ##
1780 ## ------------------------ ##
1781
1782 # ac_fn_c_try_compile LINENO
1783 # --------------------------
1784 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1785 ac_fn_c_try_compile ()
1786 {
1787   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1788   rm -f conftest.$ac_objext
1789   if { { ac_try="$ac_compile"
1790 case "(($ac_try" in
1791   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1792   *) ac_try_echo=$ac_try;;
1793 esac
1794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795 $as_echo "$ac_try_echo"; } >&5
1796   (eval "$ac_compile") 2>conftest.err
1797   ac_status=$?
1798   if test -s conftest.err; then
1799     grep -v '^ *+' conftest.err >conftest.er1
1800     cat conftest.er1 >&5
1801     mv -f conftest.er1 conftest.err
1802   fi
1803   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1804   test $ac_status = 0; } && {
1805          test -z "$ac_c_werror_flag" ||
1806          test ! -s conftest.err
1807        } && test -s conftest.$ac_objext; then :
1808   ac_retval=0
1809 else
1810   $as_echo "$as_me: failed program was:" >&5
1811 sed 's/^/| /' conftest.$ac_ext >&5
1812
1813         ac_retval=1
1814 fi
1815   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1816   as_fn_set_status $ac_retval
1817
1818 } # ac_fn_c_try_compile
1819
1820 # ac_fn_c_try_link LINENO
1821 # -----------------------
1822 # Try to link conftest.$ac_ext, and return whether this succeeded.
1823 ac_fn_c_try_link ()
1824 {
1825   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1826   rm -f conftest.$ac_objext conftest$ac_exeext
1827   if { { ac_try="$ac_link"
1828 case "(($ac_try" in
1829   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1830   *) ac_try_echo=$ac_try;;
1831 esac
1832 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1833 $as_echo "$ac_try_echo"; } >&5
1834   (eval "$ac_link") 2>conftest.err
1835   ac_status=$?
1836   if test -s conftest.err; then
1837     grep -v '^ *+' conftest.err >conftest.er1
1838     cat conftest.er1 >&5
1839     mv -f conftest.er1 conftest.err
1840   fi
1841   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1842   test $ac_status = 0; } && {
1843          test -z "$ac_c_werror_flag" ||
1844          test ! -s conftest.err
1845        } && test -s conftest$ac_exeext && {
1846          test "$cross_compiling" = yes ||
1847          test -x conftest$ac_exeext
1848        }; then :
1849   ac_retval=0
1850 else
1851   $as_echo "$as_me: failed program was:" >&5
1852 sed 's/^/| /' conftest.$ac_ext >&5
1853
1854         ac_retval=1
1855 fi
1856   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1857   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1858   # interfere with the next link command; also delete a directory that is
1859   # left behind by Apple's compiler.  We do this before executing the actions.
1860   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1861   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1862   as_fn_set_status $ac_retval
1863
1864 } # ac_fn_c_try_link
1865
1866 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1867 # -------------------------------------------------------
1868 # Tests whether HEADER exists and can be compiled using the include files in
1869 # INCLUDES, setting the cache variable VAR accordingly.
1870 ac_fn_c_check_header_compile ()
1871 {
1872   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1874 $as_echo_n "checking for $2... " >&6; }
1875 if eval \${$3+:} false; then :
1876   $as_echo_n "(cached) " >&6
1877 else
1878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1879 /* end confdefs.h.  */
1880 $4
1881 #include <$2>
1882 _ACEOF
1883 if ac_fn_c_try_compile "$LINENO"; then :
1884   eval "$3=yes"
1885 else
1886   eval "$3=no"
1887 fi
1888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1889 fi
1890 eval ac_res=\$$3
1891                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1892 $as_echo "$ac_res" >&6; }
1893   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1894
1895 } # ac_fn_c_check_header_compile
1896
1897 # ac_fn_c_try_cpp LINENO
1898 # ----------------------
1899 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1900 ac_fn_c_try_cpp ()
1901 {
1902   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1903   if { { ac_try="$ac_cpp conftest.$ac_ext"
1904 case "(($ac_try" in
1905   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1906   *) ac_try_echo=$ac_try;;
1907 esac
1908 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1909 $as_echo "$ac_try_echo"; } >&5
1910   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1911   ac_status=$?
1912   if test -s conftest.err; then
1913     grep -v '^ *+' conftest.err >conftest.er1
1914     cat conftest.er1 >&5
1915     mv -f conftest.er1 conftest.err
1916   fi
1917   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1918   test $ac_status = 0; } > conftest.i && {
1919          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1920          test ! -s conftest.err
1921        }; then :
1922   ac_retval=0
1923 else
1924   $as_echo "$as_me: failed program was:" >&5
1925 sed 's/^/| /' conftest.$ac_ext >&5
1926
1927     ac_retval=1
1928 fi
1929   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1930   as_fn_set_status $ac_retval
1931
1932 } # ac_fn_c_try_cpp
1933
1934 # ac_fn_c_try_run LINENO
1935 # ----------------------
1936 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1937 # that executables *can* be run.
1938 ac_fn_c_try_run ()
1939 {
1940   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1941   if { { ac_try="$ac_link"
1942 case "(($ac_try" in
1943   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1944   *) ac_try_echo=$ac_try;;
1945 esac
1946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1947 $as_echo "$ac_try_echo"; } >&5
1948   (eval "$ac_link") 2>&5
1949   ac_status=$?
1950   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1951   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1952   { { case "(($ac_try" in
1953   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1954   *) ac_try_echo=$ac_try;;
1955 esac
1956 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1957 $as_echo "$ac_try_echo"; } >&5
1958   (eval "$ac_try") 2>&5
1959   ac_status=$?
1960   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1961   test $ac_status = 0; }; }; then :
1962   ac_retval=0
1963 else
1964   $as_echo "$as_me: program exited with status $ac_status" >&5
1965        $as_echo "$as_me: failed program was:" >&5
1966 sed 's/^/| /' conftest.$ac_ext >&5
1967
1968        ac_retval=$ac_status
1969 fi
1970   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1971   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1972   as_fn_set_status $ac_retval
1973
1974 } # ac_fn_c_try_run
1975
1976 # ac_fn_c_check_func LINENO FUNC VAR
1977 # ----------------------------------
1978 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1979 ac_fn_c_check_func ()
1980 {
1981   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1983 $as_echo_n "checking for $2... " >&6; }
1984 if eval \${$3+:} false; then :
1985   $as_echo_n "(cached) " >&6
1986 else
1987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1988 /* end confdefs.h.  */
1989 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1990    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1991 #define $2 innocuous_$2
1992
1993 /* System header to define __stub macros and hopefully few prototypes,
1994     which can conflict with char $2 (); below.
1995     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1996     <limits.h> exists even on freestanding compilers.  */
1997
1998 #ifdef __STDC__
1999 # include <limits.h>
2000 #else
2001 # include <assert.h>
2002 #endif
2003
2004 #undef $2
2005
2006 /* Override any GCC internal prototype to avoid an error.
2007    Use char because int might match the return type of a GCC
2008    builtin and then its argument prototype would still apply.  */
2009 #ifdef __cplusplus
2010 extern "C"
2011 #endif
2012 char $2 ();
2013 /* The GNU C library defines this for functions which it implements
2014     to always fail with ENOSYS.  Some functions are actually named
2015     something starting with __ and the normal name is an alias.  */
2016 #if defined __stub_$2 || defined __stub___$2
2017 choke me
2018 #endif
2019
2020 int
2021 main ()
2022 {
2023 return $2 ();
2024   ;
2025   return 0;
2026 }
2027 _ACEOF
2028 if ac_fn_c_try_link "$LINENO"; then :
2029   eval "$3=yes"
2030 else
2031   eval "$3=no"
2032 fi
2033 rm -f core conftest.err conftest.$ac_objext \
2034     conftest$ac_exeext conftest.$ac_ext
2035 fi
2036 eval ac_res=\$$3
2037                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2038 $as_echo "$ac_res" >&6; }
2039   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2040
2041 } # ac_fn_c_check_func
2042
2043 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2044 # -------------------------------------------------------
2045 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2046 # the include files in INCLUDES and setting the cache variable VAR
2047 # accordingly.
2048 ac_fn_c_check_header_mongrel ()
2049 {
2050   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2051   if eval \${$3+:} false; then :
2052   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2053 $as_echo_n "checking for $2... " >&6; }
2054 if eval \${$3+:} false; then :
2055   $as_echo_n "(cached) " >&6
2056 fi
2057 eval ac_res=\$$3
2058                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2059 $as_echo "$ac_res" >&6; }
2060 else
2061   # Is the header compilable?
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2063 $as_echo_n "checking $2 usability... " >&6; }
2064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2065 /* end confdefs.h.  */
2066 $4
2067 #include <$2>
2068 _ACEOF
2069 if ac_fn_c_try_compile "$LINENO"; then :
2070   ac_header_compiler=yes
2071 else
2072   ac_header_compiler=no
2073 fi
2074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2076 $as_echo "$ac_header_compiler" >&6; }
2077
2078 # Is the header present?
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2080 $as_echo_n "checking $2 presence... " >&6; }
2081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2082 /* end confdefs.h.  */
2083 #include <$2>
2084 _ACEOF
2085 if ac_fn_c_try_cpp "$LINENO"; then :
2086   ac_header_preproc=yes
2087 else
2088   ac_header_preproc=no
2089 fi
2090 rm -f conftest.err conftest.i conftest.$ac_ext
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2092 $as_echo "$ac_header_preproc" >&6; }
2093
2094 # So?  What about this header?
2095 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2096   yes:no: )
2097     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2098 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2099     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2100 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2101     ;;
2102   no:yes:* )
2103     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2104 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2105     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2106 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2107     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2108 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2109     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2110 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2111     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2112 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2113 ( $as_echo "## -------------------------------------------------------- ##
2114 ## Report this to enlightenment-devel@lists.sourceforge.net ##
2115 ## -------------------------------------------------------- ##"
2116      ) | sed "s/^/$as_me: WARNING:     /" >&2
2117     ;;
2118 esac
2119   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2120 $as_echo_n "checking for $2... " >&6; }
2121 if eval \${$3+:} false; then :
2122   $as_echo_n "(cached) " >&6
2123 else
2124   eval "$3=\$ac_header_compiler"
2125 fi
2126 eval ac_res=\$$3
2127                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2128 $as_echo "$ac_res" >&6; }
2129 fi
2130   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2131
2132 } # ac_fn_c_check_header_mongrel
2133
2134 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2135 # -------------------------------------------
2136 # Tests whether TYPE exists after having included INCLUDES, setting cache
2137 # variable VAR accordingly.
2138 ac_fn_c_check_type ()
2139 {
2140   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2142 $as_echo_n "checking for $2... " >&6; }
2143 if eval \${$3+:} false; then :
2144   $as_echo_n "(cached) " >&6
2145 else
2146   eval "$3=no"
2147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2148 /* end confdefs.h.  */
2149 $4
2150 int
2151 main ()
2152 {
2153 if (sizeof ($2))
2154          return 0;
2155   ;
2156   return 0;
2157 }
2158 _ACEOF
2159 if ac_fn_c_try_compile "$LINENO"; then :
2160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2161 /* end confdefs.h.  */
2162 $4
2163 int
2164 main ()
2165 {
2166 if (sizeof (($2)))
2167             return 0;
2168   ;
2169   return 0;
2170 }
2171 _ACEOF
2172 if ac_fn_c_try_compile "$LINENO"; then :
2173
2174 else
2175   eval "$3=yes"
2176 fi
2177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2178 fi
2179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2180 fi
2181 eval ac_res=\$$3
2182                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2183 $as_echo "$ac_res" >&6; }
2184   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2185
2186 } # ac_fn_c_check_type
2187 cat >config.log <<_ACEOF
2188 This file contains any messages produced by compilers while
2189 running configure, to aid debugging if configure makes a mistake.
2190
2191 It was created by edje $as_me 1.7.8, which was
2192 generated by GNU Autoconf 2.69.  Invocation command line was
2193
2194   $ $0 $@
2195
2196 _ACEOF
2197 exec 5>>config.log
2198 {
2199 cat <<_ASUNAME
2200 ## --------- ##
2201 ## Platform. ##
2202 ## --------- ##
2203
2204 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2205 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2206 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2207 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2208 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2209
2210 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2211 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2212
2213 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2214 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2215 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2216 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2217 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2218 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2219 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2220
2221 _ASUNAME
2222
2223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2224 for as_dir in $PATH
2225 do
2226   IFS=$as_save_IFS
2227   test -z "$as_dir" && as_dir=.
2228     $as_echo "PATH: $as_dir"
2229   done
2230 IFS=$as_save_IFS
2231
2232 } >&5
2233
2234 cat >&5 <<_ACEOF
2235
2236
2237 ## ----------- ##
2238 ## Core tests. ##
2239 ## ----------- ##
2240
2241 _ACEOF
2242
2243
2244 # Keep a trace of the command line.
2245 # Strip out --no-create and --no-recursion so they do not pile up.
2246 # Strip out --silent because we don't want to record it for future runs.
2247 # Also quote any args containing shell meta-characters.
2248 # Make two passes to allow for proper duplicate-argument suppression.
2249 ac_configure_args=
2250 ac_configure_args0=
2251 ac_configure_args1=
2252 ac_must_keep_next=false
2253 for ac_pass in 1 2
2254 do
2255   for ac_arg
2256   do
2257     case $ac_arg in
2258     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2259     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2260     | -silent | --silent | --silen | --sile | --sil)
2261       continue ;;
2262     *\'*)
2263       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2264     esac
2265     case $ac_pass in
2266     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2267     2)
2268       as_fn_append ac_configure_args1 " '$ac_arg'"
2269       if test $ac_must_keep_next = true; then
2270         ac_must_keep_next=false # Got value, back to normal.
2271       else
2272         case $ac_arg in
2273           *=* | --config-cache | -C | -disable-* | --disable-* \
2274           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2275           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2276           | -with-* | --with-* | -without-* | --without-* | --x)
2277             case "$ac_configure_args0 " in
2278               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2279             esac
2280             ;;
2281           -* ) ac_must_keep_next=true ;;
2282         esac
2283       fi
2284       as_fn_append ac_configure_args " '$ac_arg'"
2285       ;;
2286     esac
2287   done
2288 done
2289 { ac_configure_args0=; unset ac_configure_args0;}
2290 { ac_configure_args1=; unset ac_configure_args1;}
2291
2292 # When interrupted or exit'd, cleanup temporary files, and complete
2293 # config.log.  We remove comments because anyway the quotes in there
2294 # would cause problems or look ugly.
2295 # WARNING: Use '\'' to represent an apostrophe within the trap.
2296 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2297 trap 'exit_status=$?
2298   # Save into config.log some information that might help in debugging.
2299   {
2300     echo
2301
2302     $as_echo "## ---------------- ##
2303 ## Cache variables. ##
2304 ## ---------------- ##"
2305     echo
2306     # The following way of writing the cache mishandles newlines in values,
2307 (
2308   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2309     eval ac_val=\$$ac_var
2310     case $ac_val in #(
2311     *${as_nl}*)
2312       case $ac_var in #(
2313       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2314 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2315       esac
2316       case $ac_var in #(
2317       _ | IFS | as_nl) ;; #(
2318       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2319       *) { eval $ac_var=; unset $ac_var;} ;;
2320       esac ;;
2321     esac
2322   done
2323   (set) 2>&1 |
2324     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2325     *${as_nl}ac_space=\ *)
2326       sed -n \
2327         "s/'\''/'\''\\\\'\'''\''/g;
2328           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2329       ;; #(
2330     *)
2331       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2332       ;;
2333     esac |
2334     sort
2335 )
2336     echo
2337
2338     $as_echo "## ----------------- ##
2339 ## Output variables. ##
2340 ## ----------------- ##"
2341     echo
2342     for ac_var in $ac_subst_vars
2343     do
2344       eval ac_val=\$$ac_var
2345       case $ac_val in
2346       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2347       esac
2348       $as_echo "$ac_var='\''$ac_val'\''"
2349     done | sort
2350     echo
2351
2352     if test -n "$ac_subst_files"; then
2353       $as_echo "## ------------------- ##
2354 ## File substitutions. ##
2355 ## ------------------- ##"
2356       echo
2357       for ac_var in $ac_subst_files
2358       do
2359         eval ac_val=\$$ac_var
2360         case $ac_val in
2361         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2362         esac
2363         $as_echo "$ac_var='\''$ac_val'\''"
2364       done | sort
2365       echo
2366     fi
2367
2368     if test -s confdefs.h; then
2369       $as_echo "## ----------- ##
2370 ## confdefs.h. ##
2371 ## ----------- ##"
2372       echo
2373       cat confdefs.h
2374       echo
2375     fi
2376     test "$ac_signal" != 0 &&
2377       $as_echo "$as_me: caught signal $ac_signal"
2378     $as_echo "$as_me: exit $exit_status"
2379   } >&5
2380   rm -f core *.core core.conftest.* &&
2381     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2382     exit $exit_status
2383 ' 0
2384 for ac_signal in 1 2 13 15; do
2385   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2386 done
2387 ac_signal=0
2388
2389 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2390 rm -f -r conftest* confdefs.h
2391
2392 $as_echo "/* confdefs.h */" > confdefs.h
2393
2394 # Predefined preprocessor variables.
2395
2396 cat >>confdefs.h <<_ACEOF
2397 #define PACKAGE_NAME "$PACKAGE_NAME"
2398 _ACEOF
2399
2400 cat >>confdefs.h <<_ACEOF
2401 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2402 _ACEOF
2403
2404 cat >>confdefs.h <<_ACEOF
2405 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2406 _ACEOF
2407
2408 cat >>confdefs.h <<_ACEOF
2409 #define PACKAGE_STRING "$PACKAGE_STRING"
2410 _ACEOF
2411
2412 cat >>confdefs.h <<_ACEOF
2413 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2414 _ACEOF
2415
2416 cat >>confdefs.h <<_ACEOF
2417 #define PACKAGE_URL "$PACKAGE_URL"
2418 _ACEOF
2419
2420
2421 # Let the site file select an alternate cache file if it wants to.
2422 # Prefer an explicitly selected file to automatically selected ones.
2423 ac_site_file1=NONE
2424 ac_site_file2=NONE
2425 if test -n "$CONFIG_SITE"; then
2426   # We do not want a PATH search for config.site.
2427   case $CONFIG_SITE in #((
2428     -*)  ac_site_file1=./$CONFIG_SITE;;
2429     */*) ac_site_file1=$CONFIG_SITE;;
2430     *)   ac_site_file1=./$CONFIG_SITE;;
2431   esac
2432 elif test "x$prefix" != xNONE; then
2433   ac_site_file1=$prefix/share/config.site
2434   ac_site_file2=$prefix/etc/config.site
2435 else
2436   ac_site_file1=$ac_default_prefix/share/config.site
2437   ac_site_file2=$ac_default_prefix/etc/config.site
2438 fi
2439 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2440 do
2441   test "x$ac_site_file" = xNONE && continue
2442   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2443     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2444 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2445     sed 's/^/| /' "$ac_site_file" >&5
2446     . "$ac_site_file" \
2447       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2449 as_fn_error $? "failed to load site script $ac_site_file
2450 See \`config.log' for more details" "$LINENO" 5; }
2451   fi
2452 done
2453
2454 if test -r "$cache_file"; then
2455   # Some versions of bash will fail to source /dev/null (special files
2456   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2457   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2458     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2459 $as_echo "$as_me: loading cache $cache_file" >&6;}
2460     case $cache_file in
2461       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2462       *)                      . "./$cache_file";;
2463     esac
2464   fi
2465 else
2466   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2467 $as_echo "$as_me: creating cache $cache_file" >&6;}
2468   >$cache_file
2469 fi
2470
2471 # Check that the precious variables saved in the cache have kept the same
2472 # value.
2473 ac_cache_corrupted=false
2474 for ac_var in $ac_precious_vars; do
2475   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2476   eval ac_new_set=\$ac_env_${ac_var}_set
2477   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2478   eval ac_new_val=\$ac_env_${ac_var}_value
2479   case $ac_old_set,$ac_new_set in
2480     set,)
2481       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2482 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2483       ac_cache_corrupted=: ;;
2484     ,set)
2485       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2486 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2487       ac_cache_corrupted=: ;;
2488     ,);;
2489     *)
2490       if test "x$ac_old_val" != "x$ac_new_val"; then
2491         # differences in whitespace do not lead to failure.
2492         ac_old_val_w=`echo x $ac_old_val`
2493         ac_new_val_w=`echo x $ac_new_val`
2494         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2495           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2496 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2497           ac_cache_corrupted=:
2498         else
2499           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2500 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2501           eval $ac_var=\$ac_old_val
2502         fi
2503         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2504 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2505         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2506 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2507       fi;;
2508   esac
2509   # Pass precious variables to config.status.
2510   if test "$ac_new_set" = set; then
2511     case $ac_new_val in
2512     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2513     *) ac_arg=$ac_var=$ac_new_val ;;
2514     esac
2515     case " $ac_configure_args " in
2516       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2517       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2518     esac
2519   fi
2520 done
2521 if $ac_cache_corrupted; then
2522   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2524   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2525 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2526   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2527 fi
2528 ## -------------------- ##
2529 ## Main body of script. ##
2530 ## -------------------- ##
2531
2532 ac_ext=c
2533 ac_cpp='$CPP $CPPFLAGS'
2534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2537
2538
2539
2540
2541
2542
2543 ac_config_headers="$ac_config_headers config.h"
2544
2545
2546
2547
2548 am__api_version='1.13'
2549
2550 ac_aux_dir=
2551 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2552   if test -f "$ac_dir/install-sh"; then
2553     ac_aux_dir=$ac_dir
2554     ac_install_sh="$ac_aux_dir/install-sh -c"
2555     break
2556   elif test -f "$ac_dir/install.sh"; then
2557     ac_aux_dir=$ac_dir
2558     ac_install_sh="$ac_aux_dir/install.sh -c"
2559     break
2560   elif test -f "$ac_dir/shtool"; then
2561     ac_aux_dir=$ac_dir
2562     ac_install_sh="$ac_aux_dir/shtool install -c"
2563     break
2564   fi
2565 done
2566 if test -z "$ac_aux_dir"; then
2567   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2568 fi
2569
2570 # These three variables are undocumented and unsupported,
2571 # and are intended to be withdrawn in a future Autoconf release.
2572 # They can cause serious problems if a builder's source tree is in a directory
2573 # whose full name contains unusual characters.
2574 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2575 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2576 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2577
2578
2579 # Find a good install program.  We prefer a C program (faster),
2580 # so one script is as good as another.  But avoid the broken or
2581 # incompatible versions:
2582 # SysV /etc/install, /usr/sbin/install
2583 # SunOS /usr/etc/install
2584 # IRIX /sbin/install
2585 # AIX /bin/install
2586 # AmigaOS /C/install, which installs bootblocks on floppy discs
2587 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2588 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2589 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2590 # OS/2's system install, which has a completely different semantic
2591 # ./install, which can be erroneously created by make from ./install.sh.
2592 # Reject install programs that cannot install multiple files.
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2594 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2595 if test -z "$INSTALL"; then
2596 if ${ac_cv_path_install+:} false; then :
2597   $as_echo_n "(cached) " >&6
2598 else
2599   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2600 for as_dir in $PATH
2601 do
2602   IFS=$as_save_IFS
2603   test -z "$as_dir" && as_dir=.
2604     # Account for people who put trailing slashes in PATH elements.
2605 case $as_dir/ in #((
2606   ./ | .// | /[cC]/* | \
2607   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2608   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2609   /usr/ucb/* ) ;;
2610   *)
2611     # OSF1 and SCO ODT 3.0 have their own names for install.
2612     # Don't use installbsd from OSF since it installs stuff as root
2613     # by default.
2614     for ac_prog in ginstall scoinst install; do
2615       for ac_exec_ext in '' $ac_executable_extensions; do
2616         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2617           if test $ac_prog = install &&
2618             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2619             # AIX install.  It has an incompatible calling convention.
2620             :
2621           elif test $ac_prog = install &&
2622             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2623             # program-specific install script used by HP pwplus--don't use.
2624             :
2625           else
2626             rm -rf conftest.one conftest.two conftest.dir
2627             echo one > conftest.one
2628             echo two > conftest.two
2629             mkdir conftest.dir
2630             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2631               test -s conftest.one && test -s conftest.two &&
2632               test -s conftest.dir/conftest.one &&
2633               test -s conftest.dir/conftest.two
2634             then
2635               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2636               break 3
2637             fi
2638           fi
2639         fi
2640       done
2641     done
2642     ;;
2643 esac
2644
2645   done
2646 IFS=$as_save_IFS
2647
2648 rm -rf conftest.one conftest.two conftest.dir
2649
2650 fi
2651   if test "${ac_cv_path_install+set}" = set; then
2652     INSTALL=$ac_cv_path_install
2653   else
2654     # As a last resort, use the slow shell script.  Don't cache a
2655     # value for INSTALL within a source directory, because that will
2656     # break other packages using the cache if that directory is
2657     # removed, or if the value is a relative name.
2658     INSTALL=$ac_install_sh
2659   fi
2660 fi
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2662 $as_echo "$INSTALL" >&6; }
2663
2664 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2665 # It thinks the first close brace ends the variable substitution.
2666 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2667
2668 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2669
2670 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2671
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2673 $as_echo_n "checking whether build environment is sane... " >&6; }
2674 # Reject unsafe characters in $srcdir or the absolute working directory
2675 # name.  Accept space and tab only in the latter.
2676 am_lf='
2677 '
2678 case `pwd` in
2679   *[\\\"\#\$\&\'\`$am_lf]*)
2680     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2681 esac
2682 case $srcdir in
2683   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2684     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2685 esac
2686
2687 # Do 'set' in a subshell so we don't clobber the current shell's
2688 # arguments.  Must try -L first in case configure is actually a
2689 # symlink; some systems play weird games with the mod time of symlinks
2690 # (eg FreeBSD returns the mod time of the symlink's containing
2691 # directory).
2692 if (
2693    am_has_slept=no
2694    for am_try in 1 2; do
2695      echo "timestamp, slept: $am_has_slept" > conftest.file
2696      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2697      if test "$*" = "X"; then
2698         # -L didn't work.
2699         set X `ls -t "$srcdir/configure" conftest.file`
2700      fi
2701      if test "$*" != "X $srcdir/configure conftest.file" \
2702         && test "$*" != "X conftest.file $srcdir/configure"; then
2703
2704         # If neither matched, then we have a broken ls.  This can happen
2705         # if, for instance, CONFIG_SHELL is bash and it inherits a
2706         # broken ls alias from the environment.  This has actually
2707         # happened.  Such a system could not be considered "sane".
2708         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2709   alias in your environment" "$LINENO" 5
2710      fi
2711      if test "$2" = conftest.file || test $am_try -eq 2; then
2712        break
2713      fi
2714      # Just in case.
2715      sleep 1
2716      am_has_slept=yes
2717    done
2718    test "$2" = conftest.file
2719    )
2720 then
2721    # Ok.
2722    :
2723 else
2724    as_fn_error $? "newly created file is older than distributed files!
2725 Check your system clock" "$LINENO" 5
2726 fi
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2728 $as_echo "yes" >&6; }
2729 # If we didn't sleep, we still need to ensure time stamps of config.status and
2730 # generated files are strictly newer.
2731 am_sleep_pid=
2732 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2733   ( sleep 1 ) &
2734   am_sleep_pid=$!
2735 fi
2736
2737 rm -f conftest.file
2738
2739 test "$program_prefix" != NONE &&
2740   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2741 # Use a double $ so make ignores it.
2742 test "$program_suffix" != NONE &&
2743   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2744 # Double any \ or $.
2745 # By default was `s,x,x', remove it if useless.
2746 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2747 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2748
2749 # expand $ac_aux_dir to an absolute path
2750 am_aux_dir=`cd $ac_aux_dir && pwd`
2751
2752 if test x"${MISSING+set}" != xset; then
2753   case $am_aux_dir in
2754   *\ * | *\     *)
2755     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2756   *)
2757     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2758   esac
2759 fi
2760 # Use eval to expand $SHELL
2761 if eval "$MISSING --is-lightweight"; then
2762   am_missing_run="$MISSING "
2763 else
2764   am_missing_run=
2765   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2766 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2767 fi
2768
2769 if test x"${install_sh}" != xset; then
2770   case $am_aux_dir in
2771   *\ * | *\     *)
2772     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2773   *)
2774     install_sh="\${SHELL} $am_aux_dir/install-sh"
2775   esac
2776 fi
2777
2778 # Installed binaries are usually stripped using 'strip' when the user
2779 # run "make install-strip".  However 'strip' might not be the right
2780 # tool to use in cross-compilation environments, therefore Automake
2781 # will honor the 'STRIP' environment variable to overrule this program.
2782 if test "$cross_compiling" != no; then
2783   if test -n "$ac_tool_prefix"; then
2784   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2785 set dummy ${ac_tool_prefix}strip; ac_word=$2
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2787 $as_echo_n "checking for $ac_word... " >&6; }
2788 if ${ac_cv_prog_STRIP+:} false; then :
2789   $as_echo_n "(cached) " >&6
2790 else
2791   if test -n "$STRIP"; then
2792   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2793 else
2794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2795 for as_dir in $PATH
2796 do
2797   IFS=$as_save_IFS
2798   test -z "$as_dir" && as_dir=.
2799     for ac_exec_ext in '' $ac_executable_extensions; do
2800   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2801     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2802     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2803     break 2
2804   fi
2805 done
2806   done
2807 IFS=$as_save_IFS
2808
2809 fi
2810 fi
2811 STRIP=$ac_cv_prog_STRIP
2812 if test -n "$STRIP"; then
2813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2814 $as_echo "$STRIP" >&6; }
2815 else
2816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2817 $as_echo "no" >&6; }
2818 fi
2819
2820
2821 fi
2822 if test -z "$ac_cv_prog_STRIP"; then
2823   ac_ct_STRIP=$STRIP
2824   # Extract the first word of "strip", so it can be a program name with args.
2825 set dummy strip; ac_word=$2
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2827 $as_echo_n "checking for $ac_word... " >&6; }
2828 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2829   $as_echo_n "(cached) " >&6
2830 else
2831   if test -n "$ac_ct_STRIP"; then
2832   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2833 else
2834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2835 for as_dir in $PATH
2836 do
2837   IFS=$as_save_IFS
2838   test -z "$as_dir" && as_dir=.
2839     for ac_exec_ext in '' $ac_executable_extensions; do
2840   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2841     ac_cv_prog_ac_ct_STRIP="strip"
2842     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2843     break 2
2844   fi
2845 done
2846   done
2847 IFS=$as_save_IFS
2848
2849 fi
2850 fi
2851 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2852 if test -n "$ac_ct_STRIP"; then
2853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2854 $as_echo "$ac_ct_STRIP" >&6; }
2855 else
2856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2857 $as_echo "no" >&6; }
2858 fi
2859
2860   if test "x$ac_ct_STRIP" = x; then
2861     STRIP=":"
2862   else
2863     case $cross_compiling:$ac_tool_warned in
2864 yes:)
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2866 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2867 ac_tool_warned=yes ;;
2868 esac
2869     STRIP=$ac_ct_STRIP
2870   fi
2871 else
2872   STRIP="$ac_cv_prog_STRIP"
2873 fi
2874
2875 fi
2876 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2877
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2879 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2880 if test -z "$MKDIR_P"; then
2881   if ${ac_cv_path_mkdir+:} false; then :
2882   $as_echo_n "(cached) " >&6
2883 else
2884   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2885 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2886 do
2887   IFS=$as_save_IFS
2888   test -z "$as_dir" && as_dir=.
2889     for ac_prog in mkdir gmkdir; do
2890          for ac_exec_ext in '' $ac_executable_extensions; do
2891            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2892            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2893              'mkdir (GNU coreutils) '* | \
2894              'mkdir (coreutils) '* | \
2895              'mkdir (fileutils) '4.1*)
2896                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2897                break 3;;
2898            esac
2899          done
2900        done
2901   done
2902 IFS=$as_save_IFS
2903
2904 fi
2905
2906   test -d ./--version && rmdir ./--version
2907   if test "${ac_cv_path_mkdir+set}" = set; then
2908     MKDIR_P="$ac_cv_path_mkdir -p"
2909   else
2910     # As a last resort, use the slow shell script.  Don't cache a
2911     # value for MKDIR_P within a source directory, because that will
2912     # break other packages using the cache if that directory is
2913     # removed, or if the value is a relative name.
2914     MKDIR_P="$ac_install_sh -d"
2915   fi
2916 fi
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2918 $as_echo "$MKDIR_P" >&6; }
2919
2920 for ac_prog in gawk mawk nawk awk
2921 do
2922   # Extract the first word of "$ac_prog", so it can be a program name with args.
2923 set dummy $ac_prog; ac_word=$2
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2925 $as_echo_n "checking for $ac_word... " >&6; }
2926 if ${ac_cv_prog_AWK+:} false; then :
2927   $as_echo_n "(cached) " >&6
2928 else
2929   if test -n "$AWK"; then
2930   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2931 else
2932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2933 for as_dir in $PATH
2934 do
2935   IFS=$as_save_IFS
2936   test -z "$as_dir" && as_dir=.
2937     for ac_exec_ext in '' $ac_executable_extensions; do
2938   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2939     ac_cv_prog_AWK="$ac_prog"
2940     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2941     break 2
2942   fi
2943 done
2944   done
2945 IFS=$as_save_IFS
2946
2947 fi
2948 fi
2949 AWK=$ac_cv_prog_AWK
2950 if test -n "$AWK"; then
2951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2952 $as_echo "$AWK" >&6; }
2953 else
2954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2955 $as_echo "no" >&6; }
2956 fi
2957
2958
2959   test -n "$AWK" && break
2960 done
2961
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2963 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2964 set x ${MAKE-make}
2965 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2966 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2967   $as_echo_n "(cached) " >&6
2968 else
2969   cat >conftest.make <<\_ACEOF
2970 SHELL = /bin/sh
2971 all:
2972         @echo '@@@%%%=$(MAKE)=@@@%%%'
2973 _ACEOF
2974 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2975 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2976   *@@@%%%=?*=@@@%%%*)
2977     eval ac_cv_prog_make_${ac_make}_set=yes;;
2978   *)
2979     eval ac_cv_prog_make_${ac_make}_set=no;;
2980 esac
2981 rm -f conftest.make
2982 fi
2983 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2985 $as_echo "yes" >&6; }
2986   SET_MAKE=
2987 else
2988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2989 $as_echo "no" >&6; }
2990   SET_MAKE="MAKE=${MAKE-make}"
2991 fi
2992
2993 rm -rf .tst 2>/dev/null
2994 mkdir .tst 2>/dev/null
2995 if test -d .tst; then
2996   am__leading_dot=.
2997 else
2998   am__leading_dot=_
2999 fi
3000 rmdir .tst 2>/dev/null
3001
3002 # Check whether --enable-silent-rules was given.
3003 if test "${enable_silent_rules+set}" = set; then :
3004   enableval=$enable_silent_rules;
3005 fi
3006
3007 case $enable_silent_rules in # (((
3008   yes) AM_DEFAULT_VERBOSITY=0;;
3009    no) AM_DEFAULT_VERBOSITY=1;;
3010     *) AM_DEFAULT_VERBOSITY=1;;
3011 esac
3012 am_make=${MAKE-make}
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3014 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3015 if ${am_cv_make_support_nested_variables+:} false; then :
3016   $as_echo_n "(cached) " >&6
3017 else
3018   if $as_echo 'TRUE=$(BAR$(V))
3019 BAR0=false
3020 BAR1=true
3021 V=1
3022 am__doit:
3023         @$(TRUE)
3024 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3025   am_cv_make_support_nested_variables=yes
3026 else
3027   am_cv_make_support_nested_variables=no
3028 fi
3029 fi
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3031 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3032 if test $am_cv_make_support_nested_variables = yes; then
3033     AM_V='$(V)'
3034   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3035 else
3036   AM_V=$AM_DEFAULT_VERBOSITY
3037   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3038 fi
3039 AM_BACKSLASH='\'
3040
3041 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3042   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3043   # is not polluted with repeated "-I."
3044   am__isrc=' -I$(srcdir)'
3045   # test to see if srcdir already configured
3046   if test -f $srcdir/config.status; then
3047     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3048   fi
3049 fi
3050
3051 # test whether we have cygpath
3052 if test -z "$CYGPATH_W"; then
3053   if (cygpath --version) >/dev/null 2>/dev/null; then
3054     CYGPATH_W='cygpath -w'
3055   else
3056     CYGPATH_W=echo
3057   fi
3058 fi
3059
3060
3061 # Define the identity of the package.
3062  PACKAGE='edje'
3063  VERSION='1.7.8'
3064
3065
3066 cat >>confdefs.h <<_ACEOF
3067 #define PACKAGE "$PACKAGE"
3068 _ACEOF
3069
3070
3071 cat >>confdefs.h <<_ACEOF
3072 #define VERSION "$VERSION"
3073 _ACEOF
3074
3075 # Some tools Automake needs.
3076
3077 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3078
3079
3080 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3081
3082
3083 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3084
3085
3086 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3087
3088
3089 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3090
3091 # For better backward compatibility.  To be removed once Automake 1.9.x
3092 # dies out for good.  For more background, see:
3093 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3094 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3095 mkdir_p='$(MKDIR_P)'
3096
3097 # We need awk for the "check" target.  The system "awk" is bad on
3098 # some platforms.
3099 # Always define AMTAR for backward compatibility.  Yes, it's still used
3100 # in the wild :-(  We should find a proper way to deprecate it ...
3101 AMTAR='$${TAR-tar}'
3102
3103
3104 # We'll loop over all known methods to create a tar archive until one works.
3105 _am_tools='gnutar  pax cpio none'
3106
3107 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3108
3109
3110
3111
3112
3113
3114 # Check whether --enable-silent-rules was given.
3115 if test "${enable_silent_rules+set}" = set; then :
3116   enableval=$enable_silent_rules;
3117 fi
3118
3119 case $enable_silent_rules in # (((
3120   yes) AM_DEFAULT_VERBOSITY=0;;
3121    no) AM_DEFAULT_VERBOSITY=1;;
3122     *) AM_DEFAULT_VERBOSITY=0;;
3123 esac
3124 am_make=${MAKE-make}
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3126 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3127 if ${am_cv_make_support_nested_variables+:} false; then :
3128   $as_echo_n "(cached) " >&6
3129 else
3130   if $as_echo 'TRUE=$(BAR$(V))
3131 BAR0=false
3132 BAR1=true
3133 V=1
3134 am__doit:
3135         @$(TRUE)
3136 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3137   am_cv_make_support_nested_variables=yes
3138 else
3139   am_cv_make_support_nested_variables=no
3140 fi
3141 fi
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3143 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3144 if test $am_cv_make_support_nested_variables = yes; then
3145     AM_V='$(V)'
3146   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3147 else
3148   AM_V=$AM_DEFAULT_VERBOSITY
3149   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3150 fi
3151 AM_BACKSLASH='\'
3152
3153
3154 # Make sure we can run config.sub.
3155 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3156   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3157
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3159 $as_echo_n "checking build system type... " >&6; }
3160 if ${ac_cv_build+:} false; then :
3161   $as_echo_n "(cached) " >&6
3162 else
3163   ac_build_alias=$build_alias
3164 test "x$ac_build_alias" = x &&
3165   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3166 test "x$ac_build_alias" = x &&
3167   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3168 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3169   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3170
3171 fi
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3173 $as_echo "$ac_cv_build" >&6; }
3174 case $ac_cv_build in
3175 *-*-*) ;;
3176 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3177 esac
3178 build=$ac_cv_build
3179 ac_save_IFS=$IFS; IFS='-'
3180 set x $ac_cv_build
3181 shift
3182 build_cpu=$1
3183 build_vendor=$2
3184 shift; shift
3185 # Remember, the first character of IFS is used to create $*,
3186 # except with old shells:
3187 build_os=$*
3188 IFS=$ac_save_IFS
3189 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3190
3191
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3193 $as_echo_n "checking host system type... " >&6; }
3194 if ${ac_cv_host+:} false; then :
3195   $as_echo_n "(cached) " >&6
3196 else
3197   if test "x$host_alias" = x; then
3198   ac_cv_host=$ac_cv_build
3199 else
3200   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3201     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3202 fi
3203
3204 fi
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3206 $as_echo "$ac_cv_host" >&6; }
3207 case $ac_cv_host in
3208 *-*-*) ;;
3209 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3210 esac
3211 host=$ac_cv_host
3212 ac_save_IFS=$IFS; IFS='-'
3213 set x $ac_cv_host
3214 shift
3215 host_cpu=$1
3216 host_vendor=$2
3217 shift; shift
3218 # Remember, the first character of IFS is used to create $*,
3219 # except with old shells:
3220 host_os=$*
3221 IFS=$ac_save_IFS
3222 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3223
3224
3225 enable_win32_dll=yes
3226
3227 case $host in
3228 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
3229   if test -n "$ac_tool_prefix"; then
3230   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3231 set dummy ${ac_tool_prefix}as; ac_word=$2
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3233 $as_echo_n "checking for $ac_word... " >&6; }
3234 if ${ac_cv_prog_AS+:} false; then :
3235   $as_echo_n "(cached) " >&6
3236 else
3237   if test -n "$AS"; then
3238   ac_cv_prog_AS="$AS" # Let the user override the test.
3239 else
3240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3241 for as_dir in $PATH
3242 do
3243   IFS=$as_save_IFS
3244   test -z "$as_dir" && as_dir=.
3245     for ac_exec_ext in '' $ac_executable_extensions; do
3246   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3247     ac_cv_prog_AS="${ac_tool_prefix}as"
3248     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3249     break 2
3250   fi
3251 done
3252   done
3253 IFS=$as_save_IFS
3254
3255 fi
3256 fi
3257 AS=$ac_cv_prog_AS
3258 if test -n "$AS"; then
3259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3260 $as_echo "$AS" >&6; }
3261 else
3262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3263 $as_echo "no" >&6; }
3264 fi
3265
3266
3267 fi
3268 if test -z "$ac_cv_prog_AS"; then
3269   ac_ct_AS=$AS
3270   # Extract the first word of "as", so it can be a program name with args.
3271 set dummy as; ac_word=$2
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3273 $as_echo_n "checking for $ac_word... " >&6; }
3274 if ${ac_cv_prog_ac_ct_AS+:} false; then :
3275   $as_echo_n "(cached) " >&6
3276 else
3277   if test -n "$ac_ct_AS"; then
3278   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3279 else
3280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3281 for as_dir in $PATH
3282 do
3283   IFS=$as_save_IFS
3284   test -z "$as_dir" && as_dir=.
3285     for ac_exec_ext in '' $ac_executable_extensions; do
3286   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3287     ac_cv_prog_ac_ct_AS="as"
3288     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3289     break 2
3290   fi
3291 done
3292   done
3293 IFS=$as_save_IFS
3294
3295 fi
3296 fi
3297 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3298 if test -n "$ac_ct_AS"; then
3299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3300 $as_echo "$ac_ct_AS" >&6; }
3301 else
3302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3303 $as_echo "no" >&6; }
3304 fi
3305
3306   if test "x$ac_ct_AS" = x; then
3307     AS="false"
3308   else
3309     case $cross_compiling:$ac_tool_warned in
3310 yes:)
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3313 ac_tool_warned=yes ;;
3314 esac
3315     AS=$ac_ct_AS
3316   fi
3317 else
3318   AS="$ac_cv_prog_AS"
3319 fi
3320
3321   if test -n "$ac_tool_prefix"; then
3322   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3323 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3325 $as_echo_n "checking for $ac_word... " >&6; }
3326 if ${ac_cv_prog_DLLTOOL+:} false; then :
3327   $as_echo_n "(cached) " >&6
3328 else
3329   if test -n "$DLLTOOL"; then
3330   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3331 else
3332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3333 for as_dir in $PATH
3334 do
3335   IFS=$as_save_IFS
3336   test -z "$as_dir" && as_dir=.
3337     for ac_exec_ext in '' $ac_executable_extensions; do
3338   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3339     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3340     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3341     break 2
3342   fi
3343 done
3344   done
3345 IFS=$as_save_IFS
3346
3347 fi
3348 fi
3349 DLLTOOL=$ac_cv_prog_DLLTOOL
3350 if test -n "$DLLTOOL"; then
3351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3352 $as_echo "$DLLTOOL" >&6; }
3353 else
3354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3355 $as_echo "no" >&6; }
3356 fi
3357
3358
3359 fi
3360 if test -z "$ac_cv_prog_DLLTOOL"; then
3361   ac_ct_DLLTOOL=$DLLTOOL
3362   # Extract the first word of "dlltool", so it can be a program name with args.
3363 set dummy dlltool; ac_word=$2
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3365 $as_echo_n "checking for $ac_word... " >&6; }
3366 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
3367   $as_echo_n "(cached) " >&6
3368 else
3369   if test -n "$ac_ct_DLLTOOL"; then
3370   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3371 else
3372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3373 for as_dir in $PATH
3374 do
3375   IFS=$as_save_IFS
3376   test -z "$as_dir" && as_dir=.
3377     for ac_exec_ext in '' $ac_executable_extensions; do
3378   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3379     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3380     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3381     break 2
3382   fi
3383 done
3384   done
3385 IFS=$as_save_IFS
3386
3387 fi
3388 fi
3389 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3390 if test -n "$ac_ct_DLLTOOL"; then
3391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3392 $as_echo "$ac_ct_DLLTOOL" >&6; }
3393 else
3394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3395 $as_echo "no" >&6; }
3396 fi
3397
3398   if test "x$ac_ct_DLLTOOL" = x; then
3399     DLLTOOL="false"
3400   else
3401     case $cross_compiling:$ac_tool_warned in
3402 yes:)
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3405 ac_tool_warned=yes ;;
3406 esac
3407     DLLTOOL=$ac_ct_DLLTOOL
3408   fi
3409 else
3410   DLLTOOL="$ac_cv_prog_DLLTOOL"
3411 fi
3412
3413   if test -n "$ac_tool_prefix"; then
3414   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3415 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3417 $as_echo_n "checking for $ac_word... " >&6; }
3418 if ${ac_cv_prog_OBJDUMP+:} false; then :
3419   $as_echo_n "(cached) " >&6
3420 else
3421   if test -n "$OBJDUMP"; then
3422   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3423 else
3424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3425 for as_dir in $PATH
3426 do
3427   IFS=$as_save_IFS
3428   test -z "$as_dir" && as_dir=.
3429     for ac_exec_ext in '' $ac_executable_extensions; do
3430   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3431     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3432     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3433     break 2
3434   fi
3435 done
3436   done
3437 IFS=$as_save_IFS
3438
3439 fi
3440 fi
3441 OBJDUMP=$ac_cv_prog_OBJDUMP
3442 if test -n "$OBJDUMP"; then
3443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3444 $as_echo "$OBJDUMP" >&6; }
3445 else
3446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3447 $as_echo "no" >&6; }
3448 fi
3449
3450
3451 fi
3452 if test -z "$ac_cv_prog_OBJDUMP"; then
3453   ac_ct_OBJDUMP=$OBJDUMP
3454   # Extract the first word of "objdump", so it can be a program name with args.
3455 set dummy objdump; ac_word=$2
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3457 $as_echo_n "checking for $ac_word... " >&6; }
3458 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
3459   $as_echo_n "(cached) " >&6
3460 else
3461   if test -n "$ac_ct_OBJDUMP"; then
3462   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3463 else
3464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3465 for as_dir in $PATH
3466 do
3467   IFS=$as_save_IFS
3468   test -z "$as_dir" && as_dir=.
3469     for ac_exec_ext in '' $ac_executable_extensions; do
3470   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3471     ac_cv_prog_ac_ct_OBJDUMP="objdump"
3472     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3473     break 2
3474   fi
3475 done
3476   done
3477 IFS=$as_save_IFS
3478
3479 fi
3480 fi
3481 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3482 if test -n "$ac_ct_OBJDUMP"; then
3483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3484 $as_echo "$ac_ct_OBJDUMP" >&6; }
3485 else
3486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3487 $as_echo "no" >&6; }
3488 fi
3489
3490   if test "x$ac_ct_OBJDUMP" = x; then
3491     OBJDUMP="false"
3492   else
3493     case $cross_compiling:$ac_tool_warned in
3494 yes:)
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3497 ac_tool_warned=yes ;;
3498 esac
3499     OBJDUMP=$ac_ct_OBJDUMP
3500   fi
3501 else
3502   OBJDUMP="$ac_cv_prog_OBJDUMP"
3503 fi
3504
3505   ;;
3506 esac
3507
3508 test -z "$AS" && AS=as
3509
3510
3511
3512
3513
3514 test -z "$DLLTOOL" && DLLTOOL=dlltool
3515
3516
3517
3518
3519
3520 test -z "$OBJDUMP" && OBJDUMP=objdump
3521
3522
3523
3524
3525
3526
3527
3528 case `pwd` in
3529   *\ * | *\     *)
3530     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3531 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3532 esac
3533
3534
3535
3536 macro_version='2.4.2'
3537 macro_revision='1.3337'
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551 ltmain="$ac_aux_dir/ltmain.sh"
3552
3553 # Backslashify metacharacters that are still active within
3554 # double-quoted strings.
3555 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3556
3557 # Same as above, but do not quote variable references.
3558 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3559
3560 # Sed substitution to delay expansion of an escaped shell variable in a
3561 # double_quote_subst'ed string.
3562 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3563
3564 # Sed substitution to delay expansion of an escaped single quote.
3565 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3566
3567 # Sed substitution to avoid accidental globbing in evaled expressions
3568 no_glob_subst='s/\*/\\\*/g'
3569
3570 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3571 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3572 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3573
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3575 $as_echo_n "checking how to print strings... " >&6; }
3576 # Test print first, because it will be a builtin if present.
3577 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3578    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3579   ECHO='print -r --'
3580 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3581   ECHO='printf %s\n'
3582 else
3583   # Use this function as a fallback that always works.
3584   func_fallback_echo ()
3585   {
3586     eval 'cat <<_LTECHO_EOF
3587 $1
3588 _LTECHO_EOF'
3589   }
3590   ECHO='func_fallback_echo'
3591 fi
3592
3593 # func_echo_all arg...
3594 # Invoke $ECHO with all args, space-separated.
3595 func_echo_all ()
3596 {
3597     $ECHO ""
3598 }
3599
3600 case "$ECHO" in
3601   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3602 $as_echo "printf" >&6; } ;;
3603   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3604 $as_echo "print -r" >&6; } ;;
3605   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3606 $as_echo "cat" >&6; } ;;
3607 esac
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622 DEPDIR="${am__leading_dot}deps"
3623
3624 ac_config_commands="$ac_config_commands depfiles"
3625
3626
3627 am_make=${MAKE-make}
3628 cat > confinc << 'END'
3629 am__doit:
3630         @echo this is the am__doit target
3631 .PHONY: am__doit
3632 END
3633 # If we don't find an include directive, just comment out the code.
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3635 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3636 am__include="#"
3637 am__quote=
3638 _am_result=none
3639 # First try GNU make style include.
3640 echo "include confinc" > confmf
3641 # Ignore all kinds of additional output from 'make'.
3642 case `$am_make -s -f confmf 2> /dev/null` in #(
3643 *the\ am__doit\ target*)
3644   am__include=include
3645   am__quote=
3646   _am_result=GNU
3647   ;;
3648 esac
3649 # Now try BSD make style include.
3650 if test "$am__include" = "#"; then
3651    echo '.include "confinc"' > confmf
3652    case `$am_make -s -f confmf 2> /dev/null` in #(
3653    *the\ am__doit\ target*)
3654      am__include=.include
3655      am__quote="\""
3656      _am_result=BSD
3657      ;;
3658    esac
3659 fi
3660
3661
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3663 $as_echo "$_am_result" >&6; }
3664 rm -f confinc confmf
3665
3666 # Check whether --enable-dependency-tracking was given.
3667 if test "${enable_dependency_tracking+set}" = set; then :
3668   enableval=$enable_dependency_tracking;
3669 fi
3670
3671 if test "x$enable_dependency_tracking" != xno; then
3672   am_depcomp="$ac_aux_dir/depcomp"
3673   AMDEPBACKSLASH='\'
3674   am__nodep='_no'
3675 fi
3676  if test "x$enable_dependency_tracking" != xno; then
3677   AMDEP_TRUE=
3678   AMDEP_FALSE='#'
3679 else
3680   AMDEP_TRUE='#'
3681   AMDEP_FALSE=
3682 fi
3683
3684
3685 ac_ext=c
3686 ac_cpp='$CPP $CPPFLAGS'
3687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3690 if test -n "$ac_tool_prefix"; then
3691   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3692 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3694 $as_echo_n "checking for $ac_word... " >&6; }
3695 if ${ac_cv_prog_CC+:} false; then :
3696   $as_echo_n "(cached) " >&6
3697 else
3698   if test -n "$CC"; then
3699   ac_cv_prog_CC="$CC" # Let the user override the test.
3700 else
3701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702 for as_dir in $PATH
3703 do
3704   IFS=$as_save_IFS
3705   test -z "$as_dir" && as_dir=.
3706     for ac_exec_ext in '' $ac_executable_extensions; do
3707   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3708     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3709     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3710     break 2
3711   fi
3712 done
3713   done
3714 IFS=$as_save_IFS
3715
3716 fi
3717 fi
3718 CC=$ac_cv_prog_CC
3719 if test -n "$CC"; then
3720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3721 $as_echo "$CC" >&6; }
3722 else
3723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3724 $as_echo "no" >&6; }
3725 fi
3726
3727
3728 fi
3729 if test -z "$ac_cv_prog_CC"; then
3730   ac_ct_CC=$CC
3731   # Extract the first word of "gcc", so it can be a program name with args.
3732 set dummy gcc; ac_word=$2
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3734 $as_echo_n "checking for $ac_word... " >&6; }
3735 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3736   $as_echo_n "(cached) " >&6
3737 else
3738   if test -n "$ac_ct_CC"; then
3739   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3740 else
3741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3742 for as_dir in $PATH
3743 do
3744   IFS=$as_save_IFS
3745   test -z "$as_dir" && as_dir=.
3746     for ac_exec_ext in '' $ac_executable_extensions; do
3747   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3748     ac_cv_prog_ac_ct_CC="gcc"
3749     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3750     break 2
3751   fi
3752 done
3753   done
3754 IFS=$as_save_IFS
3755
3756 fi
3757 fi
3758 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3759 if test -n "$ac_ct_CC"; then
3760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3761 $as_echo "$ac_ct_CC" >&6; }
3762 else
3763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3764 $as_echo "no" >&6; }
3765 fi
3766
3767   if test "x$ac_ct_CC" = x; then
3768     CC=""
3769   else
3770     case $cross_compiling:$ac_tool_warned in
3771 yes:)
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3774 ac_tool_warned=yes ;;
3775 esac
3776     CC=$ac_ct_CC
3777   fi
3778 else
3779   CC="$ac_cv_prog_CC"
3780 fi
3781
3782 if test -z "$CC"; then
3783           if test -n "$ac_tool_prefix"; then
3784     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3785 set dummy ${ac_tool_prefix}cc; ac_word=$2
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3787 $as_echo_n "checking for $ac_word... " >&6; }
3788 if ${ac_cv_prog_CC+:} false; then :
3789   $as_echo_n "(cached) " >&6
3790 else
3791   if test -n "$CC"; then
3792   ac_cv_prog_CC="$CC" # Let the user override the test.
3793 else
3794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3795 for as_dir in $PATH
3796 do
3797   IFS=$as_save_IFS
3798   test -z "$as_dir" && as_dir=.
3799     for ac_exec_ext in '' $ac_executable_extensions; do
3800   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3801     ac_cv_prog_CC="${ac_tool_prefix}cc"
3802     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3803     break 2
3804   fi
3805 done
3806   done
3807 IFS=$as_save_IFS
3808
3809 fi
3810 fi
3811 CC=$ac_cv_prog_CC
3812 if test -n "$CC"; then
3813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3814 $as_echo "$CC" >&6; }
3815 else
3816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3817 $as_echo "no" >&6; }
3818 fi
3819
3820
3821   fi
3822 fi
3823 if test -z "$CC"; then
3824   # Extract the first word of "cc", so it can be a program name with args.
3825 set dummy cc; ac_word=$2
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3827 $as_echo_n "checking for $ac_word... " >&6; }
3828 if ${ac_cv_prog_CC+:} false; then :
3829   $as_echo_n "(cached) " >&6
3830 else
3831   if test -n "$CC"; then
3832   ac_cv_prog_CC="$CC" # Let the user override the test.
3833 else
3834   ac_prog_rejected=no
3835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3836 for as_dir in $PATH
3837 do
3838   IFS=$as_save_IFS
3839   test -z "$as_dir" && as_dir=.
3840     for ac_exec_ext in '' $ac_executable_extensions; do
3841   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3842     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3843        ac_prog_rejected=yes
3844        continue
3845      fi
3846     ac_cv_prog_CC="cc"
3847     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3848     break 2
3849   fi
3850 done
3851   done
3852 IFS=$as_save_IFS
3853
3854 if test $ac_prog_rejected = yes; then
3855   # We found a bogon in the path, so make sure we never use it.
3856   set dummy $ac_cv_prog_CC
3857   shift
3858   if test $# != 0; then
3859     # We chose a different compiler from the bogus one.
3860     # However, it has the same basename, so the bogon will be chosen
3861     # first if we set CC to just the basename; use the full file name.
3862     shift
3863     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3864   fi
3865 fi
3866 fi
3867 fi
3868 CC=$ac_cv_prog_CC
3869 if test -n "$CC"; then
3870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3871 $as_echo "$CC" >&6; }
3872 else
3873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3874 $as_echo "no" >&6; }
3875 fi
3876
3877
3878 fi
3879 if test -z "$CC"; then
3880   if test -n "$ac_tool_prefix"; then
3881   for ac_prog in cl.exe
3882   do
3883     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3884 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3886 $as_echo_n "checking for $ac_word... " >&6; }
3887 if ${ac_cv_prog_CC+:} false; then :
3888   $as_echo_n "(cached) " >&6
3889 else
3890   if test -n "$CC"; then
3891   ac_cv_prog_CC="$CC" # Let the user override the test.
3892 else
3893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3894 for as_dir in $PATH
3895 do
3896   IFS=$as_save_IFS
3897   test -z "$as_dir" && as_dir=.
3898     for ac_exec_ext in '' $ac_executable_extensions; do
3899   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3900     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3901     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3902     break 2
3903   fi
3904 done
3905   done
3906 IFS=$as_save_IFS
3907
3908 fi
3909 fi
3910 CC=$ac_cv_prog_CC
3911 if test -n "$CC"; then
3912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3913 $as_echo "$CC" >&6; }
3914 else
3915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3916 $as_echo "no" >&6; }
3917 fi
3918
3919
3920     test -n "$CC" && break
3921   done
3922 fi
3923 if test -z "$CC"; then
3924   ac_ct_CC=$CC
3925   for ac_prog in cl.exe
3926 do
3927   # Extract the first word of "$ac_prog", so it can be a program name with args.
3928 set dummy $ac_prog; ac_word=$2
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3930 $as_echo_n "checking for $ac_word... " >&6; }
3931 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3932   $as_echo_n "(cached) " >&6
3933 else
3934   if test -n "$ac_ct_CC"; then
3935   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3936 else
3937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3938 for as_dir in $PATH
3939 do
3940   IFS=$as_save_IFS
3941   test -z "$as_dir" && as_dir=.
3942     for ac_exec_ext in '' $ac_executable_extensions; do
3943   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3944     ac_cv_prog_ac_ct_CC="$ac_prog"
3945     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3946     break 2
3947   fi
3948 done
3949   done
3950 IFS=$as_save_IFS
3951
3952 fi
3953 fi
3954 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3955 if test -n "$ac_ct_CC"; then
3956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3957 $as_echo "$ac_ct_CC" >&6; }
3958 else
3959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3960 $as_echo "no" >&6; }
3961 fi
3962
3963
3964   test -n "$ac_ct_CC" && break
3965 done
3966
3967   if test "x$ac_ct_CC" = x; then
3968     CC=""
3969   else
3970     case $cross_compiling:$ac_tool_warned in
3971 yes:)
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3974 ac_tool_warned=yes ;;
3975 esac
3976     CC=$ac_ct_CC
3977   fi
3978 fi
3979
3980 fi
3981
3982
3983 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3984 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3985 as_fn_error $? "no acceptable C compiler found in \$PATH
3986 See \`config.log' for more details" "$LINENO" 5; }
3987
3988 # Provide some information about the compiler.
3989 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3990 set X $ac_compile
3991 ac_compiler=$2
3992 for ac_option in --version -v -V -qversion; do
3993   { { ac_try="$ac_compiler $ac_option >&5"
3994 case "(($ac_try" in
3995   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3996   *) ac_try_echo=$ac_try;;
3997 esac
3998 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3999 $as_echo "$ac_try_echo"; } >&5
4000   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4001   ac_status=$?
4002   if test -s conftest.err; then
4003     sed '10a\
4004 ... rest of stderr output deleted ...
4005          10q' conftest.err >conftest.er1
4006     cat conftest.er1 >&5
4007   fi
4008   rm -f conftest.er1 conftest.err
4009   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4010   test $ac_status = 0; }
4011 done
4012
4013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4014 /* end confdefs.h.  */
4015
4016 int
4017 main ()
4018 {
4019
4020   ;
4021   return 0;
4022 }
4023 _ACEOF
4024 ac_clean_files_save=$ac_clean_files
4025 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4026 # Try to create an executable without -o first, disregard a.out.
4027 # It will help us diagnose broken compilers, and finding out an intuition
4028 # of exeext.
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4030 $as_echo_n "checking whether the C compiler works... " >&6; }
4031 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4032
4033 # The possible output files:
4034 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4035
4036 ac_rmfiles=
4037 for ac_file in $ac_files
4038 do
4039   case $ac_file in
4040     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4041     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4042   esac
4043 done
4044 rm -f $ac_rmfiles
4045
4046 if { { ac_try="$ac_link_default"
4047 case "(($ac_try" in
4048   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4049   *) ac_try_echo=$ac_try;;
4050 esac
4051 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4052 $as_echo "$ac_try_echo"; } >&5
4053   (eval "$ac_link_default") 2>&5
4054   ac_status=$?
4055   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4056   test $ac_status = 0; }; then :
4057   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4058 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4059 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
4060 # so that the user can short-circuit this test for compilers unknown to
4061 # Autoconf.
4062 for ac_file in $ac_files ''
4063 do
4064   test -f "$ac_file" || continue
4065   case $ac_file in
4066     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4067         ;;
4068     [ab].out )
4069         # We found the default executable, but exeext='' is most
4070         # certainly right.
4071         break;;
4072     *.* )
4073         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4074         then :; else
4075            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4076         fi
4077         # We set ac_cv_exeext here because the later test for it is not
4078         # safe: cross compilers may not add the suffix if given an `-o'
4079         # argument, so we may need to know it at that point already.
4080         # Even if this section looks crufty: it has the advantage of
4081         # actually working.
4082         break;;
4083     * )
4084         break;;
4085   esac
4086 done
4087 test "$ac_cv_exeext" = no && ac_cv_exeext=
4088
4089 else
4090   ac_file=''
4091 fi
4092 if test -z "$ac_file"; then :
4093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4094 $as_echo "no" >&6; }
4095 $as_echo "$as_me: failed program was:" >&5
4096 sed 's/^/| /' conftest.$ac_ext >&5
4097
4098 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4099 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4100 as_fn_error 77 "C compiler cannot create executables
4101 See \`config.log' for more details" "$LINENO" 5; }
4102 else
4103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4104 $as_echo "yes" >&6; }
4105 fi
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4107 $as_echo_n "checking for C compiler default output file name... " >&6; }
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4109 $as_echo "$ac_file" >&6; }
4110 ac_exeext=$ac_cv_exeext
4111
4112 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4113 ac_clean_files=$ac_clean_files_save
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4115 $as_echo_n "checking for suffix of executables... " >&6; }
4116 if { { ac_try="$ac_link"
4117 case "(($ac_try" in
4118   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4119   *) ac_try_echo=$ac_try;;
4120 esac
4121 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4122 $as_echo "$ac_try_echo"; } >&5
4123   (eval "$ac_link") 2>&5
4124   ac_status=$?
4125   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4126   test $ac_status = 0; }; then :
4127   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4128 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4129 # work properly (i.e., refer to `conftest.exe'), while it won't with
4130 # `rm'.
4131 for ac_file in conftest.exe conftest conftest.*; do
4132   test -f "$ac_file" || continue
4133   case $ac_file in
4134     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4135     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4136           break;;
4137     * ) break;;
4138   esac
4139 done
4140 else
4141   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4142 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4143 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4144 See \`config.log' for more details" "$LINENO" 5; }
4145 fi
4146 rm -f conftest conftest$ac_cv_exeext
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4148 $as_echo "$ac_cv_exeext" >&6; }
4149
4150 rm -f conftest.$ac_ext
4151 EXEEXT=$ac_cv_exeext
4152 ac_exeext=$EXEEXT
4153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4154 /* end confdefs.h.  */
4155 #include <stdio.h>
4156 int
4157 main ()
4158 {
4159 FILE *f = fopen ("conftest.out", "w");
4160  return ferror (f) || fclose (f) != 0;
4161
4162   ;
4163   return 0;
4164 }
4165 _ACEOF
4166 ac_clean_files="$ac_clean_files conftest.out"
4167 # Check that the compiler produces executables we can run.  If not, either
4168 # the compiler is broken, or we cross compile.
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4170 $as_echo_n "checking whether we are cross compiling... " >&6; }
4171 if test "$cross_compiling" != yes; then
4172   { { ac_try="$ac_link"
4173 case "(($ac_try" in
4174   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4175   *) ac_try_echo=$ac_try;;
4176 esac
4177 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4178 $as_echo "$ac_try_echo"; } >&5
4179   (eval "$ac_link") 2>&5
4180   ac_status=$?
4181   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4182   test $ac_status = 0; }
4183   if { ac_try='./conftest$ac_cv_exeext'
4184   { { case "(($ac_try" in
4185   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4186   *) ac_try_echo=$ac_try;;
4187 esac
4188 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4189 $as_echo "$ac_try_echo"; } >&5
4190   (eval "$ac_try") 2>&5
4191   ac_status=$?
4192   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4193   test $ac_status = 0; }; }; then
4194     cross_compiling=no
4195   else
4196     if test "$cross_compiling" = maybe; then
4197         cross_compiling=yes
4198     else
4199         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4201 as_fn_error $? "cannot run C compiled programs.
4202 If you meant to cross compile, use \`--host'.
4203 See \`config.log' for more details" "$LINENO" 5; }
4204     fi
4205   fi
4206 fi
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4208 $as_echo "$cross_compiling" >&6; }
4209
4210 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4211 ac_clean_files=$ac_clean_files_save
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4213 $as_echo_n "checking for suffix of object files... " >&6; }
4214 if ${ac_cv_objext+:} false; then :
4215   $as_echo_n "(cached) " >&6
4216 else
4217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4218 /* end confdefs.h.  */
4219
4220 int
4221 main ()
4222 {
4223
4224   ;
4225   return 0;
4226 }
4227 _ACEOF
4228 rm -f conftest.o conftest.obj
4229 if { { ac_try="$ac_compile"
4230 case "(($ac_try" in
4231   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4232   *) ac_try_echo=$ac_try;;
4233 esac
4234 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4235 $as_echo "$ac_try_echo"; } >&5
4236   (eval "$ac_compile") 2>&5
4237   ac_status=$?
4238   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4239   test $ac_status = 0; }; then :
4240   for ac_file in conftest.o conftest.obj conftest.*; do
4241   test -f "$ac_file" || continue;
4242   case $ac_file in
4243     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4244     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4245        break;;
4246   esac
4247 done
4248 else
4249   $as_echo "$as_me: failed program was:" >&5
4250 sed 's/^/| /' conftest.$ac_ext >&5
4251
4252 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4254 as_fn_error $? "cannot compute suffix of object files: cannot compile
4255 See \`config.log' for more details" "$LINENO" 5; }
4256 fi
4257 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4258 fi
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4260 $as_echo "$ac_cv_objext" >&6; }
4261 OBJEXT=$ac_cv_objext
4262 ac_objext=$OBJEXT
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4264 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4265 if ${ac_cv_c_compiler_gnu+:} false; then :
4266   $as_echo_n "(cached) " >&6
4267 else
4268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4269 /* end confdefs.h.  */
4270
4271 int
4272 main ()
4273 {
4274 #ifndef __GNUC__
4275        choke me
4276 #endif
4277
4278   ;
4279   return 0;
4280 }
4281 _ACEOF
4282 if ac_fn_c_try_compile "$LINENO"; then :
4283   ac_compiler_gnu=yes
4284 else
4285   ac_compiler_gnu=no
4286 fi
4287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4288 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4289
4290 fi
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4292 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4293 if test $ac_compiler_gnu = yes; then
4294   GCC=yes
4295 else
4296   GCC=
4297 fi
4298 ac_test_CFLAGS=${CFLAGS+set}
4299 ac_save_CFLAGS=$CFLAGS
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4301 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4302 if ${ac_cv_prog_cc_g+:} false; then :
4303   $as_echo_n "(cached) " >&6
4304 else
4305   ac_save_c_werror_flag=$ac_c_werror_flag
4306    ac_c_werror_flag=yes
4307    ac_cv_prog_cc_g=no
4308    CFLAGS="-g"
4309    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4310 /* end confdefs.h.  */
4311
4312 int
4313 main ()
4314 {
4315
4316   ;
4317   return 0;
4318 }
4319 _ACEOF
4320 if ac_fn_c_try_compile "$LINENO"; then :
4321   ac_cv_prog_cc_g=yes
4322 else
4323   CFLAGS=""
4324       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4325 /* end confdefs.h.  */
4326
4327 int
4328 main ()
4329 {
4330
4331   ;
4332   return 0;
4333 }
4334 _ACEOF
4335 if ac_fn_c_try_compile "$LINENO"; then :
4336
4337 else
4338   ac_c_werror_flag=$ac_save_c_werror_flag
4339          CFLAGS="-g"
4340          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h.  */
4342
4343 int
4344 main ()
4345 {
4346
4347   ;
4348   return 0;
4349 }
4350 _ACEOF
4351 if ac_fn_c_try_compile "$LINENO"; then :
4352   ac_cv_prog_cc_g=yes
4353 fi
4354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4355 fi
4356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4357 fi
4358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4359    ac_c_werror_flag=$ac_save_c_werror_flag
4360 fi
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4362 $as_echo "$ac_cv_prog_cc_g" >&6; }
4363 if test "$ac_test_CFLAGS" = set; then
4364   CFLAGS=$ac_save_CFLAGS
4365 elif test $ac_cv_prog_cc_g = yes; then
4366   if test "$GCC" = yes; then
4367     CFLAGS="-g -O2"
4368   else
4369     CFLAGS="-g"
4370   fi
4371 else
4372   if test "$GCC" = yes; then
4373     CFLAGS="-O2"
4374   else
4375     CFLAGS=
4376   fi
4377 fi
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4379 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4380 if ${ac_cv_prog_cc_c89+:} false; then :
4381   $as_echo_n "(cached) " >&6
4382 else
4383   ac_cv_prog_cc_c89=no
4384 ac_save_CC=$CC
4385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4386 /* end confdefs.h.  */
4387 #include <stdarg.h>
4388 #include <stdio.h>
4389 struct stat;
4390 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4391 struct buf { int x; };
4392 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4393 static char *e (p, i)
4394      char **p;
4395      int i;
4396 {
4397   return p[i];
4398 }
4399 static char *f (char * (*g) (char **, int), char **p, ...)
4400 {
4401   char *s;
4402   va_list v;
4403   va_start (v,p);
4404   s = g (p, va_arg (v,int));
4405   va_end (v);
4406   return s;
4407 }
4408
4409 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4410    function prototypes and stuff, but not '\xHH' hex character constants.
4411    These don't provoke an error unfortunately, instead are silently treated
4412    as 'x'.  The following induces an error, until -std is added to get
4413    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4414    array size at least.  It's necessary to write '\x00'==0 to get something
4415    that's true only with -std.  */
4416 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4417
4418 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4419    inside strings and character constants.  */
4420 #define FOO(x) 'x'
4421 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4422
4423 int test (int i, double x);
4424 struct s1 {int (*f) (int a);};
4425 struct s2 {int (*f) (double a);};
4426 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4427 int argc;
4428 char **argv;
4429 int
4430 main ()
4431 {
4432 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4433   ;
4434   return 0;
4435 }
4436 _ACEOF
4437 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4438         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4439 do
4440   CC="$ac_save_CC $ac_arg"
4441   if ac_fn_c_try_compile "$LINENO"; then :
4442   ac_cv_prog_cc_c89=$ac_arg
4443 fi
4444 rm -f core conftest.err conftest.$ac_objext
4445   test "x$ac_cv_prog_cc_c89" != "xno" && break
4446 done
4447 rm -f conftest.$ac_ext
4448 CC=$ac_save_CC
4449
4450 fi
4451 # AC_CACHE_VAL
4452 case "x$ac_cv_prog_cc_c89" in
4453   x)
4454     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4455 $as_echo "none needed" >&6; } ;;
4456   xno)
4457     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4458 $as_echo "unsupported" >&6; } ;;
4459   *)
4460     CC="$CC $ac_cv_prog_cc_c89"
4461     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4462 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4463 esac
4464 if test "x$ac_cv_prog_cc_c89" != xno; then :
4465
4466 fi
4467
4468 ac_ext=c
4469 ac_cpp='$CPP $CPPFLAGS'
4470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4473
4474 depcc="$CC"   am_compiler_list=
4475
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4477 $as_echo_n "checking dependency style of $depcc... " >&6; }
4478 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4479   $as_echo_n "(cached) " >&6
4480 else
4481   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4482   # We make a subdir and do the tests there.  Otherwise we can end up
4483   # making bogus files that we don't know about and never remove.  For
4484   # instance it was reported that on HP-UX the gcc test will end up
4485   # making a dummy file named 'D' -- because '-MD' means "put the output
4486   # in D".
4487   rm -rf conftest.dir
4488   mkdir conftest.dir
4489   # Copy depcomp to subdir because otherwise we won't find it if we're
4490   # using a relative directory.
4491   cp "$am_depcomp" conftest.dir
4492   cd conftest.dir
4493   # We will build objects and dependencies in a subdirectory because
4494   # it helps to detect inapplicable dependency modes.  For instance
4495   # both Tru64's cc and ICC support -MD to output dependencies as a
4496   # side effect of compilation, but ICC will put the dependencies in
4497   # the current directory while Tru64 will put them in the object
4498   # directory.
4499   mkdir sub
4500
4501   am_cv_CC_dependencies_compiler_type=none
4502   if test "$am_compiler_list" = ""; then
4503      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4504   fi
4505   am__universal=false
4506   case " $depcc " in #(
4507      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4508      esac
4509
4510   for depmode in $am_compiler_list; do
4511     # Setup a source with many dependencies, because some compilers
4512     # like to wrap large dependency lists on column 80 (with \), and
4513     # we should not choose a depcomp mode which is confused by this.
4514     #
4515     # We need to recreate these files for each test, as the compiler may
4516     # overwrite some of them when testing with obscure command lines.
4517     # This happens at least with the AIX C compiler.
4518     : > sub/conftest.c
4519     for i in 1 2 3 4 5 6; do
4520       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4521       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4522       # Solaris 10 /bin/sh.
4523       echo '/* dummy */' > sub/conftst$i.h
4524     done
4525     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4526
4527     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4528     # mode.  It turns out that the SunPro C++ compiler does not properly
4529     # handle '-M -o', and we need to detect this.  Also, some Intel
4530     # versions had trouble with output in subdirs.
4531     am__obj=sub/conftest.${OBJEXT-o}
4532     am__minus_obj="-o $am__obj"
4533     case $depmode in
4534     gcc)
4535       # This depmode causes a compiler race in universal mode.
4536       test "$am__universal" = false || continue
4537       ;;
4538     nosideeffect)
4539       # After this tag, mechanisms are not by side-effect, so they'll
4540       # only be used when explicitly requested.
4541       if test "x$enable_dependency_tracking" = xyes; then
4542         continue
4543       else
4544         break
4545       fi
4546       ;;
4547     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4548       # This compiler won't grok '-c -o', but also, the minuso test has
4549       # not run yet.  These depmodes are late enough in the game, and
4550       # so weak that their functioning should not be impacted.
4551       am__obj=conftest.${OBJEXT-o}
4552       am__minus_obj=
4553       ;;
4554     none) break ;;
4555     esac
4556     if depmode=$depmode \
4557        source=sub/conftest.c object=$am__obj \
4558        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4559        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4560          >/dev/null 2>conftest.err &&
4561        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4562        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4563        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4564        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4565       # icc doesn't choke on unknown options, it will just issue warnings
4566       # or remarks (even with -Werror).  So we grep stderr for any message
4567       # that says an option was ignored or not supported.
4568       # When given -MP, icc 7.0 and 7.1 complain thusly:
4569       #   icc: Command line warning: ignoring option '-M'; no argument required
4570       # The diagnosis changed in icc 8.0:
4571       #   icc: Command line remark: option '-MP' not supported
4572       if (grep 'ignoring option' conftest.err ||
4573           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4574         am_cv_CC_dependencies_compiler_type=$depmode
4575         break
4576       fi
4577     fi
4578   done
4579
4580   cd ..
4581   rm -rf conftest.dir
4582 else
4583   am_cv_CC_dependencies_compiler_type=none
4584 fi
4585
4586 fi
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4588 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4589 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4590
4591  if
4592   test "x$enable_dependency_tracking" != xno \
4593   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4594   am__fastdepCC_TRUE=
4595   am__fastdepCC_FALSE='#'
4596 else
4597   am__fastdepCC_TRUE='#'
4598   am__fastdepCC_FALSE=
4599 fi
4600
4601
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4603 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4604 if ${ac_cv_path_SED+:} false; then :
4605   $as_echo_n "(cached) " >&6
4606 else
4607             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4608      for ac_i in 1 2 3 4 5 6 7; do
4609        ac_script="$ac_script$as_nl$ac_script"
4610      done
4611      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4612      { ac_script=; unset ac_script;}
4613      if test -z "$SED"; then
4614   ac_path_SED_found=false
4615   # Loop through the user's path and test for each of PROGNAME-LIST
4616   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4617 for as_dir in $PATH
4618 do
4619   IFS=$as_save_IFS
4620   test -z "$as_dir" && as_dir=.
4621     for ac_prog in sed gsed; do
4622     for ac_exec_ext in '' $ac_executable_extensions; do
4623       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4624       as_fn_executable_p "$ac_path_SED" || continue
4625 # Check for GNU ac_path_SED and select it if it is found.
4626   # Check for GNU $ac_path_SED
4627 case `"$ac_path_SED" --version 2>&1` in
4628 *GNU*)
4629   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4630 *)
4631   ac_count=0
4632   $as_echo_n 0123456789 >"conftest.in"
4633   while :
4634   do
4635     cat "conftest.in" "conftest.in" >"conftest.tmp"
4636     mv "conftest.tmp" "conftest.in"
4637     cp "conftest.in" "conftest.nl"
4638     $as_echo '' >> "conftest.nl"
4639     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4640     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4641     as_fn_arith $ac_count + 1 && ac_count=$as_val
4642     if test $ac_count -gt ${ac_path_SED_max-0}; then
4643       # Best one so far, save it but keep looking for a better one
4644       ac_cv_path_SED="$ac_path_SED"
4645       ac_path_SED_max=$ac_count
4646     fi
4647     # 10*(2^10) chars as input seems more than enough
4648     test $ac_count -gt 10 && break
4649   done
4650   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4651 esac
4652
4653       $ac_path_SED_found && break 3
4654     done
4655   done
4656   done
4657 IFS=$as_save_IFS
4658   if test -z "$ac_cv_path_SED"; then
4659     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4660   fi
4661 else
4662   ac_cv_path_SED=$SED
4663 fi
4664
4665 fi
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4667 $as_echo "$ac_cv_path_SED" >&6; }
4668  SED="$ac_cv_path_SED"
4669   rm -f conftest.sed
4670
4671 test -z "$SED" && SED=sed
4672 Xsed="$SED -e 1s/^X//"
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4685 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4686 if ${ac_cv_path_GREP+:} false; then :
4687   $as_echo_n "(cached) " >&6
4688 else
4689   if test -z "$GREP"; then
4690   ac_path_GREP_found=false
4691   # Loop through the user's path and test for each of PROGNAME-LIST
4692   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4693 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4694 do
4695   IFS=$as_save_IFS
4696   test -z "$as_dir" && as_dir=.
4697     for ac_prog in grep ggrep; do
4698     for ac_exec_ext in '' $ac_executable_extensions; do
4699       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4700       as_fn_executable_p "$ac_path_GREP" || continue
4701 # Check for GNU ac_path_GREP and select it if it is found.
4702   # Check for GNU $ac_path_GREP
4703 case `"$ac_path_GREP" --version 2>&1` in
4704 *GNU*)
4705   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4706 *)
4707   ac_count=0
4708   $as_echo_n 0123456789 >"conftest.in"
4709   while :
4710   do
4711     cat "conftest.in" "conftest.in" >"conftest.tmp"
4712     mv "conftest.tmp" "conftest.in"
4713     cp "conftest.in" "conftest.nl"
4714     $as_echo 'GREP' >> "conftest.nl"
4715     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4716     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4717     as_fn_arith $ac_count + 1 && ac_count=$as_val
4718     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4719       # Best one so far, save it but keep looking for a better one
4720       ac_cv_path_GREP="$ac_path_GREP"
4721       ac_path_GREP_max=$ac_count
4722     fi
4723     # 10*(2^10) chars as input seems more than enough
4724     test $ac_count -gt 10 && break
4725   done
4726   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4727 esac
4728
4729       $ac_path_GREP_found && break 3
4730     done
4731   done
4732   done
4733 IFS=$as_save_IFS
4734   if test -z "$ac_cv_path_GREP"; then
4735     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4736   fi
4737 else
4738   ac_cv_path_GREP=$GREP
4739 fi
4740
4741 fi
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4743 $as_echo "$ac_cv_path_GREP" >&6; }
4744  GREP="$ac_cv_path_GREP"
4745
4746
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4748 $as_echo_n "checking for egrep... " >&6; }
4749 if ${ac_cv_path_EGREP+:} false; then :
4750   $as_echo_n "(cached) " >&6
4751 else
4752   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4753    then ac_cv_path_EGREP="$GREP -E"
4754    else
4755      if test -z "$EGREP"; then
4756   ac_path_EGREP_found=false
4757   # Loop through the user's path and test for each of PROGNAME-LIST
4758   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4759 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4760 do
4761   IFS=$as_save_IFS
4762   test -z "$as_dir" && as_dir=.
4763     for ac_prog in egrep; do
4764     for ac_exec_ext in '' $ac_executable_extensions; do
4765       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4766       as_fn_executable_p "$ac_path_EGREP" || continue
4767 # Check for GNU ac_path_EGREP and select it if it is found.
4768   # Check for GNU $ac_path_EGREP
4769 case `"$ac_path_EGREP" --version 2>&1` in
4770 *GNU*)
4771   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4772 *)
4773   ac_count=0
4774   $as_echo_n 0123456789 >"conftest.in"
4775   while :
4776   do
4777     cat "conftest.in" "conftest.in" >"conftest.tmp"
4778     mv "conftest.tmp" "conftest.in"
4779     cp "conftest.in" "conftest.nl"
4780     $as_echo 'EGREP' >> "conftest.nl"
4781     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4782     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4783     as_fn_arith $ac_count + 1 && ac_count=$as_val
4784     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4785       # Best one so far, save it but keep looking for a better one
4786       ac_cv_path_EGREP="$ac_path_EGREP"
4787       ac_path_EGREP_max=$ac_count
4788     fi
4789     # 10*(2^10) chars as input seems more than enough
4790     test $ac_count -gt 10 && break
4791   done
4792   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4793 esac
4794
4795       $ac_path_EGREP_found && break 3
4796     done
4797   done
4798   done
4799 IFS=$as_save_IFS
4800   if test -z "$ac_cv_path_EGREP"; then
4801     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4802   fi
4803 else
4804   ac_cv_path_EGREP=$EGREP
4805 fi
4806
4807    fi
4808 fi
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4810 $as_echo "$ac_cv_path_EGREP" >&6; }
4811  EGREP="$ac_cv_path_EGREP"
4812
4813
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4815 $as_echo_n "checking for fgrep... " >&6; }
4816 if ${ac_cv_path_FGREP+:} false; then :
4817   $as_echo_n "(cached) " >&6
4818 else
4819   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4820    then ac_cv_path_FGREP="$GREP -F"
4821    else
4822      if test -z "$FGREP"; then
4823   ac_path_FGREP_found=false
4824   # Loop through the user's path and test for each of PROGNAME-LIST
4825   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4826 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4827 do
4828   IFS=$as_save_IFS
4829   test -z "$as_dir" && as_dir=.
4830     for ac_prog in fgrep; do
4831     for ac_exec_ext in '' $ac_executable_extensions; do
4832       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4833       as_fn_executable_p "$ac_path_FGREP" || continue
4834 # Check for GNU ac_path_FGREP and select it if it is found.
4835   # Check for GNU $ac_path_FGREP
4836 case `"$ac_path_FGREP" --version 2>&1` in
4837 *GNU*)
4838   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4839 *)
4840   ac_count=0
4841   $as_echo_n 0123456789 >"conftest.in"
4842   while :
4843   do
4844     cat "conftest.in" "conftest.in" >"conftest.tmp"
4845     mv "conftest.tmp" "conftest.in"
4846     cp "conftest.in" "conftest.nl"
4847     $as_echo 'FGREP' >> "conftest.nl"
4848     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4849     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4850     as_fn_arith $ac_count + 1 && ac_count=$as_val
4851     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4852       # Best one so far, save it but keep looking for a better one
4853       ac_cv_path_FGREP="$ac_path_FGREP"
4854       ac_path_FGREP_max=$ac_count
4855     fi
4856     # 10*(2^10) chars as input seems more than enough
4857     test $ac_count -gt 10 && break
4858   done
4859   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4860 esac
4861
4862       $ac_path_FGREP_found && break 3
4863     done
4864   done
4865   done
4866 IFS=$as_save_IFS
4867   if test -z "$ac_cv_path_FGREP"; then
4868     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4869   fi
4870 else
4871   ac_cv_path_FGREP=$FGREP
4872 fi
4873
4874    fi
4875 fi
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4877 $as_echo "$ac_cv_path_FGREP" >&6; }
4878  FGREP="$ac_cv_path_FGREP"
4879
4880
4881 test -z "$GREP" && GREP=grep
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901 # Check whether --with-gnu-ld was given.
4902 if test "${with_gnu_ld+set}" = set; then :
4903   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4904 else
4905   with_gnu_ld=no
4906 fi
4907
4908 ac_prog=ld
4909 if test "$GCC" = yes; then
4910   # Check if gcc -print-prog-name=ld gives a path.
4911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4912 $as_echo_n "checking for ld used by $CC... " >&6; }
4913   case $host in
4914   *-*-mingw*)
4915     # gcc leaves a trailing carriage return which upsets mingw
4916     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4917   *)
4918     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4919   esac
4920   case $ac_prog in
4921     # Accept absolute paths.
4922     [\\/]* | ?:[\\/]*)
4923       re_direlt='/[^/][^/]*/\.\./'
4924       # Canonicalize the pathname of ld
4925       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4926       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4927         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4928       done
4929       test -z "$LD" && LD="$ac_prog"
4930       ;;
4931   "")
4932     # If it fails, then pretend we aren't using GCC.
4933     ac_prog=ld
4934     ;;
4935   *)
4936     # If it is relative, then search for the first ld in PATH.
4937     with_gnu_ld=unknown
4938     ;;
4939   esac
4940 elif test "$with_gnu_ld" = yes; then
4941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4942 $as_echo_n "checking for GNU ld... " >&6; }
4943 else
4944   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4945 $as_echo_n "checking for non-GNU ld... " >&6; }
4946 fi
4947 if ${lt_cv_path_LD+:} false; then :
4948   $as_echo_n "(cached) " >&6
4949 else
4950   if test -z "$LD"; then
4951   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4952   for ac_dir in $PATH; do
4953     IFS="$lt_save_ifs"
4954     test -z "$ac_dir" && ac_dir=.
4955     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4956       lt_cv_path_LD="$ac_dir/$ac_prog"
4957       # Check to see if the program is GNU ld.  I'd rather use --version,
4958       # but apparently some variants of GNU ld only accept -v.
4959       # Break only if it was the GNU/non-GNU ld that we prefer.
4960       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4961       *GNU* | *'with BFD'*)
4962         test "$with_gnu_ld" != no && break
4963         ;;
4964       *)
4965         test "$with_gnu_ld" != yes && break
4966         ;;
4967       esac
4968     fi
4969   done
4970   IFS="$lt_save_ifs"
4971 else
4972   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4973 fi
4974 fi
4975
4976 LD="$lt_cv_path_LD"
4977 if test -n "$LD"; then
4978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4979 $as_echo "$LD" >&6; }
4980 else
4981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4982 $as_echo "no" >&6; }
4983 fi
4984 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4986 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4987 if ${lt_cv_prog_gnu_ld+:} false; then :
4988   $as_echo_n "(cached) " >&6
4989 else
4990   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4991 case `$LD -v 2>&1 </dev/null` in
4992 *GNU* | *'with BFD'*)
4993   lt_cv_prog_gnu_ld=yes
4994   ;;
4995 *)
4996   lt_cv_prog_gnu_ld=no
4997   ;;
4998 esac
4999 fi
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5001 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5002 with_gnu_ld=$lt_cv_prog_gnu_ld
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5013 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5014 if ${lt_cv_path_NM+:} false; then :
5015   $as_echo_n "(cached) " >&6
5016 else
5017   if test -n "$NM"; then
5018   # Let the user override the test.
5019   lt_cv_path_NM="$NM"
5020 else
5021   lt_nm_to_check="${ac_tool_prefix}nm"
5022   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5023     lt_nm_to_check="$lt_nm_to_check nm"
5024   fi
5025   for lt_tmp_nm in $lt_nm_to_check; do
5026     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5027     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5028       IFS="$lt_save_ifs"
5029       test -z "$ac_dir" && ac_dir=.
5030       tmp_nm="$ac_dir/$lt_tmp_nm"
5031       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5032         # Check to see if the nm accepts a BSD-compat flag.
5033         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5034         #   nm: unknown option "B" ignored
5035         # Tru64's nm complains that /dev/null is an invalid object file
5036         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5037         */dev/null* | *'Invalid file or object type'*)
5038           lt_cv_path_NM="$tmp_nm -B"
5039           break
5040           ;;
5041         *)
5042           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5043           */dev/null*)
5044             lt_cv_path_NM="$tmp_nm -p"
5045             break
5046             ;;
5047           *)
5048             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5049             continue # so that we can try to find one that supports BSD flags
5050             ;;
5051           esac
5052           ;;
5053         esac
5054       fi
5055     done
5056     IFS="$lt_save_ifs"
5057   done
5058   : ${lt_cv_path_NM=no}
5059 fi
5060 fi
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5062 $as_echo "$lt_cv_path_NM" >&6; }
5063 if test "$lt_cv_path_NM" != "no"; then
5064   NM="$lt_cv_path_NM"
5065 else
5066   # Didn't find any BSD compatible name lister, look for dumpbin.
5067   if test -n "$DUMPBIN"; then :
5068     # Let the user override the test.
5069   else
5070     if test -n "$ac_tool_prefix"; then
5071   for ac_prog in dumpbin "link -dump"
5072   do
5073     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5074 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5076 $as_echo_n "checking for $ac_word... " >&6; }
5077 if ${ac_cv_prog_DUMPBIN+:} false; then :
5078   $as_echo_n "(cached) " >&6
5079 else
5080   if test -n "$DUMPBIN"; then
5081   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5082 else
5083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5084 for as_dir in $PATH
5085 do
5086   IFS=$as_save_IFS
5087   test -z "$as_dir" && as_dir=.
5088     for ac_exec_ext in '' $ac_executable_extensions; do
5089   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5090     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5091     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5092     break 2
5093   fi
5094 done
5095   done
5096 IFS=$as_save_IFS
5097
5098 fi
5099 fi
5100 DUMPBIN=$ac_cv_prog_DUMPBIN
5101 if test -n "$DUMPBIN"; then
5102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5103 $as_echo "$DUMPBIN" >&6; }
5104 else
5105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5106 $as_echo "no" >&6; }
5107 fi
5108
5109
5110     test -n "$DUMPBIN" && break
5111   done
5112 fi
5113 if test -z "$DUMPBIN"; then
5114   ac_ct_DUMPBIN=$DUMPBIN
5115   for ac_prog in dumpbin "link -dump"
5116 do
5117   # Extract the first word of "$ac_prog", so it can be a program name with args.
5118 set dummy $ac_prog; ac_word=$2
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5120 $as_echo_n "checking for $ac_word... " >&6; }
5121 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5122   $as_echo_n "(cached) " >&6
5123 else
5124   if test -n "$ac_ct_DUMPBIN"; then
5125   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5126 else
5127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5128 for as_dir in $PATH
5129 do
5130   IFS=$as_save_IFS
5131   test -z "$as_dir" && as_dir=.
5132     for ac_exec_ext in '' $ac_executable_extensions; do
5133   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5134     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5135     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5136     break 2
5137   fi
5138 done
5139   done
5140 IFS=$as_save_IFS
5141
5142 fi
5143 fi
5144 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5145 if test -n "$ac_ct_DUMPBIN"; then
5146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5147 $as_echo "$ac_ct_DUMPBIN" >&6; }
5148 else
5149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5150 $as_echo "no" >&6; }
5151 fi
5152
5153
5154   test -n "$ac_ct_DUMPBIN" && break
5155 done
5156
5157   if test "x$ac_ct_DUMPBIN" = x; then
5158     DUMPBIN=":"
5159   else
5160     case $cross_compiling:$ac_tool_warned in
5161 yes:)
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5163 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5164 ac_tool_warned=yes ;;
5165 esac
5166     DUMPBIN=$ac_ct_DUMPBIN
5167   fi
5168 fi
5169
5170     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5171     *COFF*)
5172       DUMPBIN="$DUMPBIN -symbols"
5173       ;;
5174     *)
5175       DUMPBIN=:
5176       ;;
5177     esac
5178   fi
5179
5180   if test "$DUMPBIN" != ":"; then
5181     NM="$DUMPBIN"
5182   fi
5183 fi
5184 test -z "$NM" && NM=nm
5185
5186
5187
5188
5189
5190
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5192 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5193 if ${lt_cv_nm_interface+:} false; then :
5194   $as_echo_n "(cached) " >&6
5195 else
5196   lt_cv_nm_interface="BSD nm"
5197   echo "int some_variable = 0;" > conftest.$ac_ext
5198   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5199   (eval "$ac_compile" 2>conftest.err)
5200   cat conftest.err >&5
5201   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5202   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5203   cat conftest.err >&5
5204   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5205   cat conftest.out >&5
5206   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5207     lt_cv_nm_interface="MS dumpbin"
5208   fi
5209   rm -f conftest*
5210 fi
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5212 $as_echo "$lt_cv_nm_interface" >&6; }
5213
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5215 $as_echo_n "checking whether ln -s works... " >&6; }
5216 LN_S=$as_ln_s
5217 if test "$LN_S" = "ln -s"; then
5218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5219 $as_echo "yes" >&6; }
5220 else
5221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5222 $as_echo "no, using $LN_S" >&6; }
5223 fi
5224
5225 # find the maximum length of command line arguments
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5227 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5228 if ${lt_cv_sys_max_cmd_len+:} false; then :
5229   $as_echo_n "(cached) " >&6
5230 else
5231     i=0
5232   teststring="ABCD"
5233
5234   case $build_os in
5235   msdosdjgpp*)
5236     # On DJGPP, this test can blow up pretty badly due to problems in libc
5237     # (any single argument exceeding 2000 bytes causes a buffer overrun
5238     # during glob expansion).  Even if it were fixed, the result of this
5239     # check would be larger than it should be.
5240     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5241     ;;
5242
5243   gnu*)
5244     # Under GNU Hurd, this test is not required because there is
5245     # no limit to the length of command line arguments.
5246     # Libtool will interpret -1 as no limit whatsoever
5247     lt_cv_sys_max_cmd_len=-1;
5248     ;;
5249
5250   cygwin* | mingw* | cegcc*)
5251     # On Win9x/ME, this test blows up -- it succeeds, but takes
5252     # about 5 minutes as the teststring grows exponentially.
5253     # Worse, since 9x/ME are not pre-emptively multitasking,
5254     # you end up with a "frozen" computer, even though with patience
5255     # the test eventually succeeds (with a max line length of 256k).
5256     # Instead, let's just punt: use the minimum linelength reported by
5257     # all of the supported platforms: 8192 (on NT/2K/XP).
5258     lt_cv_sys_max_cmd_len=8192;
5259     ;;
5260
5261   mint*)
5262     # On MiNT this can take a long time and run out of memory.
5263     lt_cv_sys_max_cmd_len=8192;
5264     ;;
5265
5266   amigaos*)
5267     # On AmigaOS with pdksh, this test takes hours, literally.
5268     # So we just punt and use a minimum line length of 8192.
5269     lt_cv_sys_max_cmd_len=8192;
5270     ;;
5271
5272   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5273     # This has been around since 386BSD, at least.  Likely further.
5274     if test -x /sbin/sysctl; then
5275       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5276     elif test -x /usr/sbin/sysctl; then
5277       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5278     else
5279       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5280     fi
5281     # And add a safety zone
5282     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5283     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5284     ;;
5285
5286   interix*)
5287     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5288     lt_cv_sys_max_cmd_len=196608
5289     ;;
5290
5291   os2*)
5292     # The test takes a long time on OS/2.
5293     lt_cv_sys_max_cmd_len=8192
5294     ;;
5295
5296   osf*)
5297     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5298     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5299     # nice to cause kernel panics so lets avoid the loop below.
5300     # First set a reasonable default.
5301     lt_cv_sys_max_cmd_len=16384
5302     #
5303     if test -x /sbin/sysconfig; then
5304       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5305         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5306       esac
5307     fi
5308     ;;
5309   sco3.2v5*)
5310     lt_cv_sys_max_cmd_len=102400
5311     ;;
5312   sysv5* | sco5v6* | sysv4.2uw2*)
5313     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5314     if test -n "$kargmax"; then
5315       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5316     else
5317       lt_cv_sys_max_cmd_len=32768
5318     fi
5319     ;;
5320   *)
5321     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5322     if test -n "$lt_cv_sys_max_cmd_len"; then
5323       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5324       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5325     else
5326       # Make teststring a little bigger before we do anything with it.
5327       # a 1K string should be a reasonable start.
5328       for i in 1 2 3 4 5 6 7 8 ; do
5329         teststring=$teststring$teststring
5330       done
5331       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5332       # If test is not a shell built-in, we'll probably end up computing a
5333       # maximum length that is only half of the actual maximum length, but
5334       # we can't tell.
5335       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5336                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5337               test $i != 17 # 1/2 MB should be enough
5338       do
5339         i=`expr $i + 1`
5340         teststring=$teststring$teststring
5341       done
5342       # Only check the string length outside the loop.
5343       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5344       teststring=
5345       # Add a significant safety factor because C++ compilers can tack on
5346       # massive amounts of additional arguments before passing them to the
5347       # linker.  It appears as though 1/2 is a usable value.
5348       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5349     fi
5350     ;;
5351   esac
5352
5353 fi
5354
5355 if test -n $lt_cv_sys_max_cmd_len ; then
5356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5357 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5358 else
5359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5360 $as_echo "none" >&6; }
5361 fi
5362 max_cmd_len=$lt_cv_sys_max_cmd_len
5363
5364
5365
5366
5367
5368
5369 : ${CP="cp -f"}
5370 : ${MV="mv -f"}
5371 : ${RM="rm -f"}
5372
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5374 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5375 # Try some XSI features
5376 xsi_shell=no
5377 ( _lt_dummy="a/b/c"
5378   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5379       = c,a/b,b/c, \
5380     && eval 'test $(( 1 + 1 )) -eq 2 \
5381     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5382   && xsi_shell=yes
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5384 $as_echo "$xsi_shell" >&6; }
5385
5386
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5388 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5389 lt_shell_append=no
5390 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5391     >/dev/null 2>&1 \
5392   && lt_shell_append=yes
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5394 $as_echo "$lt_shell_append" >&6; }
5395
5396
5397 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5398   lt_unset=unset
5399 else
5400   lt_unset=false
5401 fi
5402
5403
5404
5405
5406
5407 # test EBCDIC or ASCII
5408 case `echo X|tr X '\101'` in
5409  A) # ASCII based system
5410     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5411   lt_SP2NL='tr \040 \012'
5412   lt_NL2SP='tr \015\012 \040\040'
5413   ;;
5414  *) # EBCDIC based system
5415   lt_SP2NL='tr \100 \n'
5416   lt_NL2SP='tr \r\n \100\100'
5417   ;;
5418 esac
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5429 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5430 if ${lt_cv_to_host_file_cmd+:} false; then :
5431   $as_echo_n "(cached) " >&6
5432 else
5433   case $host in
5434   *-*-mingw* )
5435     case $build in
5436       *-*-mingw* ) # actually msys
5437         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5438         ;;
5439       *-*-cygwin* )
5440         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5441         ;;
5442       * ) # otherwise, assume *nix
5443         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5444         ;;
5445     esac
5446     ;;
5447   *-*-cygwin* )
5448     case $build in
5449       *-*-mingw* ) # actually msys
5450         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5451         ;;
5452       *-*-cygwin* )
5453         lt_cv_to_host_file_cmd=func_convert_file_noop
5454         ;;
5455       * ) # otherwise, assume *nix
5456         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5457         ;;
5458     esac
5459     ;;
5460   * ) # unhandled hosts (and "normal" native builds)
5461     lt_cv_to_host_file_cmd=func_convert_file_noop
5462     ;;
5463 esac
5464
5465 fi
5466
5467 to_host_file_cmd=$lt_cv_to_host_file_cmd
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5469 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5470
5471
5472
5473
5474
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5476 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5477 if ${lt_cv_to_tool_file_cmd+:} false; then :
5478   $as_echo_n "(cached) " >&6
5479 else
5480   #assume ordinary cross tools, or native build.
5481 lt_cv_to_tool_file_cmd=func_convert_file_noop
5482 case $host in
5483   *-*-mingw* )
5484     case $build in
5485       *-*-mingw* ) # actually msys
5486         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5487         ;;
5488     esac
5489     ;;
5490 esac
5491
5492 fi
5493
5494 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5496 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5497
5498
5499
5500
5501
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5503 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5504 if ${lt_cv_ld_reload_flag+:} false; then :
5505   $as_echo_n "(cached) " >&6
5506 else
5507   lt_cv_ld_reload_flag='-r'
5508 fi
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5510 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5511 reload_flag=$lt_cv_ld_reload_flag
5512 case $reload_flag in
5513 "" | " "*) ;;
5514 *) reload_flag=" $reload_flag" ;;
5515 esac
5516 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5517 case $host_os in
5518   cygwin* | mingw* | pw32* | cegcc*)
5519     if test "$GCC" != yes; then
5520       reload_cmds=false
5521     fi
5522     ;;
5523   darwin*)
5524     if test "$GCC" = yes; then
5525       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5526     else
5527       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5528     fi
5529     ;;
5530 esac
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540 if test -n "$ac_tool_prefix"; then
5541   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5542 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5544 $as_echo_n "checking for $ac_word... " >&6; }
5545 if ${ac_cv_prog_OBJDUMP+:} false; then :
5546   $as_echo_n "(cached) " >&6
5547 else
5548   if test -n "$OBJDUMP"; then
5549   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5550 else
5551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5552 for as_dir in $PATH
5553 do
5554   IFS=$as_save_IFS
5555   test -z "$as_dir" && as_dir=.
5556     for ac_exec_ext in '' $ac_executable_extensions; do
5557   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5558     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5559     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5560     break 2
5561   fi
5562 done
5563   done
5564 IFS=$as_save_IFS
5565
5566 fi
5567 fi
5568 OBJDUMP=$ac_cv_prog_OBJDUMP
5569 if test -n "$OBJDUMP"; then
5570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5571 $as_echo "$OBJDUMP" >&6; }
5572 else
5573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5574 $as_echo "no" >&6; }
5575 fi
5576
5577
5578 fi
5579 if test -z "$ac_cv_prog_OBJDUMP"; then
5580   ac_ct_OBJDUMP=$OBJDUMP
5581   # Extract the first word of "objdump", so it can be a program name with args.
5582 set dummy objdump; ac_word=$2
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5584 $as_echo_n "checking for $ac_word... " >&6; }
5585 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5586   $as_echo_n "(cached) " >&6
5587 else
5588   if test -n "$ac_ct_OBJDUMP"; then
5589   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5590 else
5591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5592 for as_dir in $PATH
5593 do
5594   IFS=$as_save_IFS
5595   test -z "$as_dir" && as_dir=.
5596     for ac_exec_ext in '' $ac_executable_extensions; do
5597   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5598     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5599     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5600     break 2
5601   fi
5602 done
5603   done
5604 IFS=$as_save_IFS
5605
5606 fi
5607 fi
5608 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5609 if test -n "$ac_ct_OBJDUMP"; then
5610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5611 $as_echo "$ac_ct_OBJDUMP" >&6; }
5612 else
5613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5614 $as_echo "no" >&6; }
5615 fi
5616
5617   if test "x$ac_ct_OBJDUMP" = x; then
5618     OBJDUMP="false"
5619   else
5620     case $cross_compiling:$ac_tool_warned in
5621 yes:)
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5623 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5624 ac_tool_warned=yes ;;
5625 esac
5626     OBJDUMP=$ac_ct_OBJDUMP
5627   fi
5628 else
5629   OBJDUMP="$ac_cv_prog_OBJDUMP"
5630 fi
5631
5632 test -z "$OBJDUMP" && OBJDUMP=objdump
5633
5634
5635
5636
5637
5638
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5640 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5641 if ${lt_cv_deplibs_check_method+:} false; then :
5642   $as_echo_n "(cached) " >&6
5643 else
5644   lt_cv_file_magic_cmd='$MAGIC_CMD'
5645 lt_cv_file_magic_test_file=
5646 lt_cv_deplibs_check_method='unknown'
5647 # Need to set the preceding variable on all platforms that support
5648 # interlibrary dependencies.
5649 # 'none' -- dependencies not supported.
5650 # `unknown' -- same as none, but documents that we really don't know.
5651 # 'pass_all' -- all dependencies passed with no checks.
5652 # 'test_compile' -- check by making test program.
5653 # 'file_magic [[regex]]' -- check by looking for files in library path
5654 # which responds to the $file_magic_cmd with a given extended regex.
5655 # If you have `file' or equivalent on your system and you're not sure
5656 # whether `pass_all' will *always* work, you probably want this one.
5657
5658 case $host_os in
5659 aix[4-9]*)
5660   lt_cv_deplibs_check_method=pass_all
5661   ;;
5662
5663 beos*)
5664   lt_cv_deplibs_check_method=pass_all
5665   ;;
5666
5667 bsdi[45]*)
5668   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5669   lt_cv_file_magic_cmd='/usr/bin/file -L'
5670   lt_cv_file_magic_test_file=/shlib/libc.so
5671   ;;
5672
5673 cygwin*)
5674   # func_win32_libid is a shell function defined in ltmain.sh
5675   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5676   lt_cv_file_magic_cmd='func_win32_libid'
5677   ;;
5678
5679 mingw* | pw32*)
5680   # Base MSYS/MinGW do not provide the 'file' command needed by
5681   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5682   # unless we find 'file', for example because we are cross-compiling.
5683   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5684   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5685     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5686     lt_cv_file_magic_cmd='func_win32_libid'
5687   else
5688     # Keep this pattern in sync with the one in func_win32_libid.
5689     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5690     lt_cv_file_magic_cmd='$OBJDUMP -f'
5691   fi
5692   ;;
5693
5694 cegcc*)
5695   # use the weaker test based on 'objdump'. See mingw*.
5696   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5697   lt_cv_file_magic_cmd='$OBJDUMP -f'
5698   ;;
5699
5700 darwin* | rhapsody*)
5701   lt_cv_deplibs_check_method=pass_all
5702   ;;
5703
5704 freebsd* | dragonfly*)
5705   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5706     case $host_cpu in
5707     i*86 )
5708       # Not sure whether the presence of OpenBSD here was a mistake.
5709       # Let's accept both of them until this is cleared up.
5710       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5711       lt_cv_file_magic_cmd=/usr/bin/file
5712       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5713       ;;
5714     esac
5715   else
5716     lt_cv_deplibs_check_method=pass_all
5717   fi
5718   ;;
5719
5720 gnu*)
5721   lt_cv_deplibs_check_method=pass_all
5722   ;;
5723
5724 haiku*)
5725   lt_cv_deplibs_check_method=pass_all
5726   ;;
5727
5728 hpux10.20* | hpux11*)
5729   lt_cv_file_magic_cmd=/usr/bin/file
5730   case $host_cpu in
5731   ia64*)
5732     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5733     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5734     ;;
5735   hppa*64*)
5736     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]'
5737     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5738     ;;
5739   *)
5740     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5741     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5742     ;;
5743   esac
5744   ;;
5745
5746 interix[3-9]*)
5747   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5748   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5749   ;;
5750
5751 irix5* | irix6* | nonstopux*)
5752   case $LD in
5753   *-32|*"-32 ") libmagic=32-bit;;
5754   *-n32|*"-n32 ") libmagic=N32;;
5755   *-64|*"-64 ") libmagic=64-bit;;
5756   *) libmagic=never-match;;
5757   esac
5758   lt_cv_deplibs_check_method=pass_all
5759   ;;
5760
5761 # This must be glibc/ELF.
5762 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5763   lt_cv_deplibs_check_method=pass_all
5764   ;;
5765
5766 netbsd*)
5767   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5768     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5769   else
5770     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5771   fi
5772   ;;
5773
5774 newos6*)
5775   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5776   lt_cv_file_magic_cmd=/usr/bin/file
5777   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5778   ;;
5779
5780 *nto* | *qnx*)
5781   lt_cv_deplibs_check_method=pass_all
5782   ;;
5783
5784 openbsd*)
5785   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5786     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5787   else
5788     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5789   fi
5790   ;;
5791
5792 osf3* | osf4* | osf5*)
5793   lt_cv_deplibs_check_method=pass_all
5794   ;;
5795
5796 rdos*)
5797   lt_cv_deplibs_check_method=pass_all
5798   ;;
5799
5800 solaris*)
5801   lt_cv_deplibs_check_method=pass_all
5802   ;;
5803
5804 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5805   lt_cv_deplibs_check_method=pass_all
5806   ;;
5807
5808 sysv4 | sysv4.3*)
5809   case $host_vendor in
5810   motorola)
5811     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]'
5812     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5813     ;;
5814   ncr)
5815     lt_cv_deplibs_check_method=pass_all
5816     ;;
5817   sequent)
5818     lt_cv_file_magic_cmd='/bin/file'
5819     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5820     ;;
5821   sni)
5822     lt_cv_file_magic_cmd='/bin/file'
5823     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5824     lt_cv_file_magic_test_file=/lib/libc.so
5825     ;;
5826   siemens)
5827     lt_cv_deplibs_check_method=pass_all
5828     ;;
5829   pc)
5830     lt_cv_deplibs_check_method=pass_all
5831     ;;
5832   esac
5833   ;;
5834
5835 tpf*)
5836   lt_cv_deplibs_check_method=pass_all
5837   ;;
5838 esac
5839
5840 fi
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5842 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5843
5844 file_magic_glob=
5845 want_nocaseglob=no
5846 if test "$build" = "$host"; then
5847   case $host_os in
5848   mingw* | pw32*)
5849     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5850       want_nocaseglob=yes
5851     else
5852       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5853     fi
5854     ;;
5855   esac
5856 fi
5857
5858 file_magic_cmd=$lt_cv_file_magic_cmd
5859 deplibs_check_method=$lt_cv_deplibs_check_method
5860 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883 if test -n "$ac_tool_prefix"; then
5884   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5885 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5887 $as_echo_n "checking for $ac_word... " >&6; }
5888 if ${ac_cv_prog_DLLTOOL+:} false; then :
5889   $as_echo_n "(cached) " >&6
5890 else
5891   if test -n "$DLLTOOL"; then
5892   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5893 else
5894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5895 for as_dir in $PATH
5896 do
5897   IFS=$as_save_IFS
5898   test -z "$as_dir" && as_dir=.
5899     for ac_exec_ext in '' $ac_executable_extensions; do
5900   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5901     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5902     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5903     break 2
5904   fi
5905 done
5906   done
5907 IFS=$as_save_IFS
5908
5909 fi
5910 fi
5911 DLLTOOL=$ac_cv_prog_DLLTOOL
5912 if test -n "$DLLTOOL"; then
5913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5914 $as_echo "$DLLTOOL" >&6; }
5915 else
5916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5917 $as_echo "no" >&6; }
5918 fi
5919
5920
5921 fi
5922 if test -z "$ac_cv_prog_DLLTOOL"; then
5923   ac_ct_DLLTOOL=$DLLTOOL
5924   # Extract the first word of "dlltool", so it can be a program name with args.
5925 set dummy dlltool; ac_word=$2
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5927 $as_echo_n "checking for $ac_word... " >&6; }
5928 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5929   $as_echo_n "(cached) " >&6
5930 else
5931   if test -n "$ac_ct_DLLTOOL"; then
5932   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5933 else
5934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5935 for as_dir in $PATH
5936 do
5937   IFS=$as_save_IFS
5938   test -z "$as_dir" && as_dir=.
5939     for ac_exec_ext in '' $ac_executable_extensions; do
5940   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5941     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5942     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5943     break 2
5944   fi
5945 done
5946   done
5947 IFS=$as_save_IFS
5948
5949 fi
5950 fi
5951 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5952 if test -n "$ac_ct_DLLTOOL"; then
5953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5954 $as_echo "$ac_ct_DLLTOOL" >&6; }
5955 else
5956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5957 $as_echo "no" >&6; }
5958 fi
5959
5960   if test "x$ac_ct_DLLTOOL" = x; then
5961     DLLTOOL="false"
5962   else
5963     case $cross_compiling:$ac_tool_warned in
5964 yes:)
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5967 ac_tool_warned=yes ;;
5968 esac
5969     DLLTOOL=$ac_ct_DLLTOOL
5970   fi
5971 else
5972   DLLTOOL="$ac_cv_prog_DLLTOOL"
5973 fi
5974
5975 test -z "$DLLTOOL" && DLLTOOL=dlltool
5976
5977
5978
5979
5980
5981
5982
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5984 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5985 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5986   $as_echo_n "(cached) " >&6
5987 else
5988   lt_cv_sharedlib_from_linklib_cmd='unknown'
5989
5990 case $host_os in
5991 cygwin* | mingw* | pw32* | cegcc*)
5992   # two different shell functions defined in ltmain.sh
5993   # decide which to use based on capabilities of $DLLTOOL
5994   case `$DLLTOOL --help 2>&1` in
5995   *--identify-strict*)
5996     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5997     ;;
5998   *)
5999     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6000     ;;
6001   esac
6002   ;;
6003 *)
6004   # fallback: assume linklib IS sharedlib
6005   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6006   ;;
6007 esac
6008
6009 fi
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6011 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6012 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6013 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6014
6015
6016
6017
6018
6019
6020
6021
6022 if test -n "$ac_tool_prefix"; then
6023   for ac_prog in ar
6024   do
6025     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6026 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6028 $as_echo_n "checking for $ac_word... " >&6; }
6029 if ${ac_cv_prog_AR+:} false; then :
6030   $as_echo_n "(cached) " >&6
6031 else
6032   if test -n "$AR"; then
6033   ac_cv_prog_AR="$AR" # Let the user override the test.
6034 else
6035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6036 for as_dir in $PATH
6037 do
6038   IFS=$as_save_IFS
6039   test -z "$as_dir" && as_dir=.
6040     for ac_exec_ext in '' $ac_executable_extensions; do
6041   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6042     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6043     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6044     break 2
6045   fi
6046 done
6047   done
6048 IFS=$as_save_IFS
6049
6050 fi
6051 fi
6052 AR=$ac_cv_prog_AR
6053 if test -n "$AR"; then
6054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6055 $as_echo "$AR" >&6; }
6056 else
6057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6058 $as_echo "no" >&6; }
6059 fi
6060
6061
6062     test -n "$AR" && break
6063   done
6064 fi
6065 if test -z "$AR"; then
6066   ac_ct_AR=$AR
6067   for ac_prog in ar
6068 do
6069   # Extract the first word of "$ac_prog", so it can be a program name with args.
6070 set dummy $ac_prog; ac_word=$2
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6072 $as_echo_n "checking for $ac_word... " >&6; }
6073 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6074   $as_echo_n "(cached) " >&6
6075 else
6076   if test -n "$ac_ct_AR"; then
6077   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6078 else
6079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6080 for as_dir in $PATH
6081 do
6082   IFS=$as_save_IFS
6083   test -z "$as_dir" && as_dir=.
6084     for ac_exec_ext in '' $ac_executable_extensions; do
6085   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6086     ac_cv_prog_ac_ct_AR="$ac_prog"
6087     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6088     break 2
6089   fi
6090 done
6091   done
6092 IFS=$as_save_IFS
6093
6094 fi
6095 fi
6096 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6097 if test -n "$ac_ct_AR"; then
6098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6099 $as_echo "$ac_ct_AR" >&6; }
6100 else
6101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6102 $as_echo "no" >&6; }
6103 fi
6104
6105
6106   test -n "$ac_ct_AR" && break
6107 done
6108
6109   if test "x$ac_ct_AR" = x; then
6110     AR="false"
6111   else
6112     case $cross_compiling:$ac_tool_warned in
6113 yes:)
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6116 ac_tool_warned=yes ;;
6117 esac
6118     AR=$ac_ct_AR
6119   fi
6120 fi
6121
6122 : ${AR=ar}
6123 : ${AR_FLAGS=cru}
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6136 $as_echo_n "checking for archiver @FILE support... " >&6; }
6137 if ${lt_cv_ar_at_file+:} false; then :
6138   $as_echo_n "(cached) " >&6
6139 else
6140   lt_cv_ar_at_file=no
6141    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6142 /* end confdefs.h.  */
6143
6144 int
6145 main ()
6146 {
6147
6148   ;
6149   return 0;
6150 }
6151 _ACEOF
6152 if ac_fn_c_try_compile "$LINENO"; then :
6153   echo conftest.$ac_objext > conftest.lst
6154       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6155       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6156   (eval $lt_ar_try) 2>&5
6157   ac_status=$?
6158   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6159   test $ac_status = 0; }
6160       if test "$ac_status" -eq 0; then
6161         # Ensure the archiver fails upon bogus file names.
6162         rm -f conftest.$ac_objext libconftest.a
6163         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6164   (eval $lt_ar_try) 2>&5
6165   ac_status=$?
6166   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6167   test $ac_status = 0; }
6168         if test "$ac_status" -ne 0; then
6169           lt_cv_ar_at_file=@
6170         fi
6171       fi
6172       rm -f conftest.* libconftest.a
6173
6174 fi
6175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6176
6177 fi
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6179 $as_echo "$lt_cv_ar_at_file" >&6; }
6180
6181 if test "x$lt_cv_ar_at_file" = xno; then
6182   archiver_list_spec=
6183 else
6184   archiver_list_spec=$lt_cv_ar_at_file
6185 fi
6186
6187
6188
6189
6190
6191
6192
6193 if test -n "$ac_tool_prefix"; then
6194   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6195 set dummy ${ac_tool_prefix}strip; ac_word=$2
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6197 $as_echo_n "checking for $ac_word... " >&6; }
6198 if ${ac_cv_prog_STRIP+:} false; then :
6199   $as_echo_n "(cached) " >&6
6200 else
6201   if test -n "$STRIP"; then
6202   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6203 else
6204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6205 for as_dir in $PATH
6206 do
6207   IFS=$as_save_IFS
6208   test -z "$as_dir" && as_dir=.
6209     for ac_exec_ext in '' $ac_executable_extensions; do
6210   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6211     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6212     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6213     break 2
6214   fi
6215 done
6216   done
6217 IFS=$as_save_IFS
6218
6219 fi
6220 fi
6221 STRIP=$ac_cv_prog_STRIP
6222 if test -n "$STRIP"; then
6223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6224 $as_echo "$STRIP" >&6; }
6225 else
6226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6227 $as_echo "no" >&6; }
6228 fi
6229
6230
6231 fi
6232 if test -z "$ac_cv_prog_STRIP"; then
6233   ac_ct_STRIP=$STRIP
6234   # Extract the first word of "strip", so it can be a program name with args.
6235 set dummy strip; ac_word=$2
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6237 $as_echo_n "checking for $ac_word... " >&6; }
6238 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6239   $as_echo_n "(cached) " >&6
6240 else
6241   if test -n "$ac_ct_STRIP"; then
6242   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6243 else
6244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6245 for as_dir in $PATH
6246 do
6247   IFS=$as_save_IFS
6248   test -z "$as_dir" && as_dir=.
6249     for ac_exec_ext in '' $ac_executable_extensions; do
6250   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6251     ac_cv_prog_ac_ct_STRIP="strip"
6252     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6253     break 2
6254   fi
6255 done
6256   done
6257 IFS=$as_save_IFS
6258
6259 fi
6260 fi
6261 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6262 if test -n "$ac_ct_STRIP"; then
6263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6264 $as_echo "$ac_ct_STRIP" >&6; }
6265 else
6266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6267 $as_echo "no" >&6; }
6268 fi
6269
6270   if test "x$ac_ct_STRIP" = x; then
6271     STRIP=":"
6272   else
6273     case $cross_compiling:$ac_tool_warned in
6274 yes:)
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6276 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6277 ac_tool_warned=yes ;;
6278 esac
6279     STRIP=$ac_ct_STRIP
6280   fi
6281 else
6282   STRIP="$ac_cv_prog_STRIP"
6283 fi
6284
6285 test -z "$STRIP" && STRIP=:
6286
6287
6288
6289
6290
6291
6292 if test -n "$ac_tool_prefix"; then
6293   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6294 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6296 $as_echo_n "checking for $ac_word... " >&6; }
6297 if ${ac_cv_prog_RANLIB+:} false; then :
6298   $as_echo_n "(cached) " >&6
6299 else
6300   if test -n "$RANLIB"; then
6301   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6302 else
6303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6304 for as_dir in $PATH
6305 do
6306   IFS=$as_save_IFS
6307   test -z "$as_dir" && as_dir=.
6308     for ac_exec_ext in '' $ac_executable_extensions; do
6309   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6310     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6311     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6312     break 2
6313   fi
6314 done
6315   done
6316 IFS=$as_save_IFS
6317
6318 fi
6319 fi
6320 RANLIB=$ac_cv_prog_RANLIB
6321 if test -n "$RANLIB"; then
6322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6323 $as_echo "$RANLIB" >&6; }
6324 else
6325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6326 $as_echo "no" >&6; }
6327 fi
6328
6329
6330 fi
6331 if test -z "$ac_cv_prog_RANLIB"; then
6332   ac_ct_RANLIB=$RANLIB
6333   # Extract the first word of "ranlib", so it can be a program name with args.
6334 set dummy ranlib; ac_word=$2
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6336 $as_echo_n "checking for $ac_word... " >&6; }
6337 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6338   $as_echo_n "(cached) " >&6
6339 else
6340   if test -n "$ac_ct_RANLIB"; then
6341   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6342 else
6343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6344 for as_dir in $PATH
6345 do
6346   IFS=$as_save_IFS
6347   test -z "$as_dir" && as_dir=.
6348     for ac_exec_ext in '' $ac_executable_extensions; do
6349   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6350     ac_cv_prog_ac_ct_RANLIB="ranlib"
6351     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6352     break 2
6353   fi
6354 done
6355   done
6356 IFS=$as_save_IFS
6357
6358 fi
6359 fi
6360 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6361 if test -n "$ac_ct_RANLIB"; then
6362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6363 $as_echo "$ac_ct_RANLIB" >&6; }
6364 else
6365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6366 $as_echo "no" >&6; }
6367 fi
6368
6369   if test "x$ac_ct_RANLIB" = x; then
6370     RANLIB=":"
6371   else
6372     case $cross_compiling:$ac_tool_warned in
6373 yes:)
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6376 ac_tool_warned=yes ;;
6377 esac
6378     RANLIB=$ac_ct_RANLIB
6379   fi
6380 else
6381   RANLIB="$ac_cv_prog_RANLIB"
6382 fi
6383
6384 test -z "$RANLIB" && RANLIB=:
6385
6386
6387
6388
6389
6390
6391 # Determine commands to create old-style static archives.
6392 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6393 old_postinstall_cmds='chmod 644 $oldlib'
6394 old_postuninstall_cmds=
6395
6396 if test -n "$RANLIB"; then
6397   case $host_os in
6398   openbsd*)
6399     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6400     ;;
6401   *)
6402     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6403     ;;
6404   esac
6405   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6406 fi
6407
6408 case $host_os in
6409   darwin*)
6410     lock_old_archive_extraction=yes ;;
6411   *)
6412     lock_old_archive_extraction=no ;;
6413 esac
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453 # If no C compiler was specified, use CC.
6454 LTCC=${LTCC-"$CC"}
6455
6456 # If no C compiler flags were specified, use CFLAGS.
6457 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6458
6459 # Allow CC to be a program name with arguments.
6460 compiler=$CC
6461
6462
6463 # Check for command to grab the raw symbol name followed by C symbol from nm.
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6465 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6466 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6467   $as_echo_n "(cached) " >&6
6468 else
6469
6470 # These are sane defaults that work on at least a few old systems.
6471 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6472
6473 # Character class describing NM global symbol codes.
6474 symcode='[BCDEGRST]'
6475
6476 # Regexp to match symbols that can be accessed directly from C.
6477 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6478
6479 # Define system-specific variables.
6480 case $host_os in
6481 aix*)
6482   symcode='[BCDT]'
6483   ;;
6484 cygwin* | mingw* | pw32* | cegcc*)
6485   symcode='[ABCDGISTW]'
6486   ;;
6487 hpux*)
6488   if test "$host_cpu" = ia64; then
6489     symcode='[ABCDEGRST]'
6490   fi
6491   ;;
6492 irix* | nonstopux*)
6493   symcode='[BCDEGRST]'
6494   ;;
6495 osf*)
6496   symcode='[BCDEGQRST]'
6497   ;;
6498 solaris*)
6499   symcode='[BDRT]'
6500   ;;
6501 sco3.2v5*)
6502   symcode='[DT]'
6503   ;;
6504 sysv4.2uw2*)
6505   symcode='[DT]'
6506   ;;
6507 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6508   symcode='[ABDT]'
6509   ;;
6510 sysv4)
6511   symcode='[DFNSTU]'
6512   ;;
6513 esac
6514
6515 # If we're using GNU nm, then use its standard symbol codes.
6516 case `$NM -V 2>&1` in
6517 *GNU* | *'with BFD'*)
6518   symcode='[ABCDGIRSTW]' ;;
6519 esac
6520
6521 # Transform an extracted symbol line into a proper C declaration.
6522 # Some systems (esp. on ia64) link data and code symbols differently,
6523 # so use this general approach.
6524 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6525
6526 # Transform an extracted symbol line into symbol name and symbol address
6527 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6528 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'"
6529
6530 # Handle CRLF in mingw tool chain
6531 opt_cr=
6532 case $build_os in
6533 mingw*)
6534   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6535   ;;
6536 esac
6537
6538 # Try without a prefix underscore, then with it.
6539 for ac_symprfx in "" "_"; do
6540
6541   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6542   symxfrm="\\1 $ac_symprfx\\2 \\2"
6543
6544   # Write the raw and C identifiers.
6545   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6546     # Fake it for dumpbin and say T for any non-static function
6547     # and D for any global variable.
6548     # Also find C++ and __fastcall symbols from MSVC++,
6549     # which start with @ or ?.
6550     lt_cv_sys_global_symbol_pipe="$AWK '"\
6551 "     {last_section=section; section=\$ 3};"\
6552 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6553 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6554 "     \$ 0!~/External *\|/{next};"\
6555 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6556 "     {if(hide[section]) next};"\
6557 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6558 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6559 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6560 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6561 "     ' prfx=^$ac_symprfx"
6562   else
6563     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6564   fi
6565   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6566
6567   # Check to see that the pipe works correctly.
6568   pipe_works=no
6569
6570   rm -f conftest*
6571   cat > conftest.$ac_ext <<_LT_EOF
6572 #ifdef __cplusplus
6573 extern "C" {
6574 #endif
6575 char nm_test_var;
6576 void nm_test_func(void);
6577 void nm_test_func(void){}
6578 #ifdef __cplusplus
6579 }
6580 #endif
6581 int main(){nm_test_var='a';nm_test_func();return(0);}
6582 _LT_EOF
6583
6584   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6585   (eval $ac_compile) 2>&5
6586   ac_status=$?
6587   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6588   test $ac_status = 0; }; then
6589     # Now try to grab the symbols.
6590     nlist=conftest.nm
6591     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6592   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6593   ac_status=$?
6594   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6595   test $ac_status = 0; } && test -s "$nlist"; then
6596       # Try sorting and uniquifying the output.
6597       if sort "$nlist" | uniq > "$nlist"T; then
6598         mv -f "$nlist"T "$nlist"
6599       else
6600         rm -f "$nlist"T
6601       fi
6602
6603       # Make sure that we snagged all the symbols we need.
6604       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6605         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6606           cat <<_LT_EOF > conftest.$ac_ext
6607 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6608 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6609 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6610    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6611 # define LT_DLSYM_CONST
6612 #elif defined(__osf__)
6613 /* This system does not cope well with relocations in const data.  */
6614 # define LT_DLSYM_CONST
6615 #else
6616 # define LT_DLSYM_CONST const
6617 #endif
6618
6619 #ifdef __cplusplus
6620 extern "C" {
6621 #endif
6622
6623 _LT_EOF
6624           # Now generate the symbol file.
6625           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6626
6627           cat <<_LT_EOF >> conftest.$ac_ext
6628
6629 /* The mapping between symbol names and symbols.  */
6630 LT_DLSYM_CONST struct {
6631   const char *name;
6632   void       *address;
6633 }
6634 lt__PROGRAM__LTX_preloaded_symbols[] =
6635 {
6636   { "@PROGRAM@", (void *) 0 },
6637 _LT_EOF
6638           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6639           cat <<\_LT_EOF >> conftest.$ac_ext
6640   {0, (void *) 0}
6641 };
6642
6643 /* This works around a problem in FreeBSD linker */
6644 #ifdef FREEBSD_WORKAROUND
6645 static const void *lt_preloaded_setup() {
6646   return lt__PROGRAM__LTX_preloaded_symbols;
6647 }
6648 #endif
6649
6650 #ifdef __cplusplus
6651 }
6652 #endif
6653 _LT_EOF
6654           # Now try linking the two files.
6655           mv conftest.$ac_objext conftstm.$ac_objext
6656           lt_globsym_save_LIBS=$LIBS
6657           lt_globsym_save_CFLAGS=$CFLAGS
6658           LIBS="conftstm.$ac_objext"
6659           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6660           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6661   (eval $ac_link) 2>&5
6662   ac_status=$?
6663   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6664   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6665             pipe_works=yes
6666           fi
6667           LIBS=$lt_globsym_save_LIBS
6668           CFLAGS=$lt_globsym_save_CFLAGS
6669         else
6670           echo "cannot find nm_test_func in $nlist" >&5
6671         fi
6672       else
6673         echo "cannot find nm_test_var in $nlist" >&5
6674       fi
6675     else
6676       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6677     fi
6678   else
6679     echo "$progname: failed program was:" >&5
6680     cat conftest.$ac_ext >&5
6681   fi
6682   rm -rf conftest* conftst*
6683
6684   # Do not use the global_symbol_pipe unless it works.
6685   if test "$pipe_works" = yes; then
6686     break
6687   else
6688     lt_cv_sys_global_symbol_pipe=
6689   fi
6690 done
6691
6692 fi
6693
6694 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6695   lt_cv_sys_global_symbol_to_cdecl=
6696 fi
6697 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6699 $as_echo "failed" >&6; }
6700 else
6701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6702 $as_echo "ok" >&6; }
6703 fi
6704
6705 # Response file support.
6706 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6707   nm_file_list_spec='@'
6708 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6709   nm_file_list_spec='@'
6710 fi
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6739 $as_echo_n "checking for sysroot... " >&6; }
6740
6741 # Check whether --with-sysroot was given.
6742 if test "${with_sysroot+set}" = set; then :
6743   withval=$with_sysroot;
6744 else
6745   with_sysroot=no
6746 fi
6747
6748
6749 lt_sysroot=
6750 case ${with_sysroot} in #(
6751  yes)
6752    if test "$GCC" = yes; then
6753      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6754    fi
6755    ;; #(
6756  /*)
6757    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6758    ;; #(
6759  no|'')
6760    ;; #(
6761  *)
6762    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6763 $as_echo "${with_sysroot}" >&6; }
6764    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6765    ;;
6766 esac
6767
6768  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6769 $as_echo "${lt_sysroot:-no}" >&6; }
6770
6771
6772
6773
6774
6775 # Check whether --enable-libtool-lock was given.
6776 if test "${enable_libtool_lock+set}" = set; then :
6777   enableval=$enable_libtool_lock;
6778 fi
6779
6780 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6781
6782 # Some flags need to be propagated to the compiler or linker for good
6783 # libtool support.
6784 case $host in
6785 ia64-*-hpux*)
6786   # Find out which ABI we are using.
6787   echo 'int i;' > conftest.$ac_ext
6788   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6789   (eval $ac_compile) 2>&5
6790   ac_status=$?
6791   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6792   test $ac_status = 0; }; then
6793     case `/usr/bin/file conftest.$ac_objext` in
6794       *ELF-32*)
6795         HPUX_IA64_MODE="32"
6796         ;;
6797       *ELF-64*)
6798         HPUX_IA64_MODE="64"
6799         ;;
6800     esac
6801   fi
6802   rm -rf conftest*
6803   ;;
6804 *-*-irix6*)
6805   # Find out which ABI we are using.
6806   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6807   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6808   (eval $ac_compile) 2>&5
6809   ac_status=$?
6810   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6811   test $ac_status = 0; }; then
6812     if test "$lt_cv_prog_gnu_ld" = yes; then
6813       case `/usr/bin/file conftest.$ac_objext` in
6814         *32-bit*)
6815           LD="${LD-ld} -melf32bsmip"
6816           ;;
6817         *N32*)
6818           LD="${LD-ld} -melf32bmipn32"
6819           ;;
6820         *64-bit*)
6821           LD="${LD-ld} -melf64bmip"
6822         ;;
6823       esac
6824     else
6825       case `/usr/bin/file conftest.$ac_objext` in
6826         *32-bit*)
6827           LD="${LD-ld} -32"
6828           ;;
6829         *N32*)
6830           LD="${LD-ld} -n32"
6831           ;;
6832         *64-bit*)
6833           LD="${LD-ld} -64"
6834           ;;
6835       esac
6836     fi
6837   fi
6838   rm -rf conftest*
6839   ;;
6840
6841 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6842 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6843   # Find out which ABI we are using.
6844   echo 'int i;' > conftest.$ac_ext
6845   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6846   (eval $ac_compile) 2>&5
6847   ac_status=$?
6848   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6849   test $ac_status = 0; }; then
6850     case `/usr/bin/file conftest.o` in
6851       *32-bit*)
6852         case $host in
6853           x86_64-*kfreebsd*-gnu)
6854             LD="${LD-ld} -m elf_i386_fbsd"
6855             ;;
6856           x86_64-*linux*)
6857             LD="${LD-ld} -m elf_i386"
6858             ;;
6859           ppc64-*linux*|powerpc64-*linux*)
6860             LD="${LD-ld} -m elf32ppclinux"
6861             ;;
6862           s390x-*linux*)
6863             LD="${LD-ld} -m elf_s390"
6864             ;;
6865           sparc64-*linux*)
6866             LD="${LD-ld} -m elf32_sparc"
6867             ;;
6868         esac
6869         ;;
6870       *64-bit*)
6871         case $host in
6872           x86_64-*kfreebsd*-gnu)
6873             LD="${LD-ld} -m elf_x86_64_fbsd"
6874             ;;
6875           x86_64-*linux*)
6876             LD="${LD-ld} -m elf_x86_64"
6877             ;;
6878           ppc*-*linux*|powerpc*-*linux*)
6879             LD="${LD-ld} -m elf64ppc"
6880             ;;
6881           s390*-*linux*|s390*-*tpf*)
6882             LD="${LD-ld} -m elf64_s390"
6883             ;;
6884           sparc*-*linux*)
6885             LD="${LD-ld} -m elf64_sparc"
6886             ;;
6887         esac
6888         ;;
6889     esac
6890   fi
6891   rm -rf conftest*
6892   ;;
6893
6894 *-*-sco3.2v5*)
6895   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6896   SAVE_CFLAGS="$CFLAGS"
6897   CFLAGS="$CFLAGS -belf"
6898   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6899 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6900 if ${lt_cv_cc_needs_belf+:} false; then :
6901   $as_echo_n "(cached) " >&6
6902 else
6903   ac_ext=c
6904 ac_cpp='$CPP $CPPFLAGS'
6905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6908
6909      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6910 /* end confdefs.h.  */
6911
6912 int
6913 main ()
6914 {
6915
6916   ;
6917   return 0;
6918 }
6919 _ACEOF
6920 if ac_fn_c_try_link "$LINENO"; then :
6921   lt_cv_cc_needs_belf=yes
6922 else
6923   lt_cv_cc_needs_belf=no
6924 fi
6925 rm -f core conftest.err conftest.$ac_objext \
6926     conftest$ac_exeext conftest.$ac_ext
6927      ac_ext=c
6928 ac_cpp='$CPP $CPPFLAGS'
6929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6932
6933 fi
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6935 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6936   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6937     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6938     CFLAGS="$SAVE_CFLAGS"
6939   fi
6940   ;;
6941 *-*solaris*)
6942   # Find out which ABI we are using.
6943   echo 'int i;' > conftest.$ac_ext
6944   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6945   (eval $ac_compile) 2>&5
6946   ac_status=$?
6947   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6948   test $ac_status = 0; }; then
6949     case `/usr/bin/file conftest.o` in
6950     *64-bit*)
6951       case $lt_cv_prog_gnu_ld in
6952       yes*)
6953         case $host in
6954         i?86-*-solaris*)
6955           LD="${LD-ld} -m elf_x86_64"
6956           ;;
6957         sparc*-*-solaris*)
6958           LD="${LD-ld} -m elf64_sparc"
6959           ;;
6960         esac
6961         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6962         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6963           LD="${LD-ld}_sol2"
6964         fi
6965         ;;
6966       *)
6967         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6968           LD="${LD-ld} -64"
6969         fi
6970         ;;
6971       esac
6972       ;;
6973     esac
6974   fi
6975   rm -rf conftest*
6976   ;;
6977 esac
6978
6979 need_locks="$enable_libtool_lock"
6980
6981 if test -n "$ac_tool_prefix"; then
6982   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6983 set dummy ${ac_tool_prefix}mt; ac_word=$2
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6985 $as_echo_n "checking for $ac_word... " >&6; }
6986 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6987   $as_echo_n "(cached) " >&6
6988 else
6989   if test -n "$MANIFEST_TOOL"; then
6990   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6991 else
6992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6993 for as_dir in $PATH
6994 do
6995   IFS=$as_save_IFS
6996   test -z "$as_dir" && as_dir=.
6997     for ac_exec_ext in '' $ac_executable_extensions; do
6998   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6999     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7000     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7001     break 2
7002   fi
7003 done
7004   done
7005 IFS=$as_save_IFS
7006
7007 fi
7008 fi
7009 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7010 if test -n "$MANIFEST_TOOL"; then
7011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7012 $as_echo "$MANIFEST_TOOL" >&6; }
7013 else
7014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7015 $as_echo "no" >&6; }
7016 fi
7017
7018
7019 fi
7020 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7021   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7022   # Extract the first word of "mt", so it can be a program name with args.
7023 set dummy mt; ac_word=$2
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7025 $as_echo_n "checking for $ac_word... " >&6; }
7026 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7027   $as_echo_n "(cached) " >&6
7028 else
7029   if test -n "$ac_ct_MANIFEST_TOOL"; then
7030   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7031 else
7032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7033 for as_dir in $PATH
7034 do
7035   IFS=$as_save_IFS
7036   test -z "$as_dir" && as_dir=.
7037     for ac_exec_ext in '' $ac_executable_extensions; do
7038   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7039     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7040     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7041     break 2
7042   fi
7043 done
7044   done
7045 IFS=$as_save_IFS
7046
7047 fi
7048 fi
7049 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7050 if test -n "$ac_ct_MANIFEST_TOOL"; then
7051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7052 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7053 else
7054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7055 $as_echo "no" >&6; }
7056 fi
7057
7058   if test "x$ac_ct_MANIFEST_TOOL" = x; then
7059     MANIFEST_TOOL=":"
7060   else
7061     case $cross_compiling:$ac_tool_warned in
7062 yes:)
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7065 ac_tool_warned=yes ;;
7066 esac
7067     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7068   fi
7069 else
7070   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7071 fi
7072
7073 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7075 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7076 if ${lt_cv_path_mainfest_tool+:} false; then :
7077   $as_echo_n "(cached) " >&6
7078 else
7079   lt_cv_path_mainfest_tool=no
7080   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7081   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7082   cat conftest.err >&5
7083   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7084     lt_cv_path_mainfest_tool=yes
7085   fi
7086   rm -f conftest*
7087 fi
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7089 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7090 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7091   MANIFEST_TOOL=:
7092 fi
7093
7094
7095
7096
7097
7098
7099   case $host_os in
7100     rhapsody* | darwin*)
7101     if test -n "$ac_tool_prefix"; then
7102   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7103 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7105 $as_echo_n "checking for $ac_word... " >&6; }
7106 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7107   $as_echo_n "(cached) " >&6
7108 else
7109   if test -n "$DSYMUTIL"; then
7110   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7111 else
7112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7113 for as_dir in $PATH
7114 do
7115   IFS=$as_save_IFS
7116   test -z "$as_dir" && as_dir=.
7117     for ac_exec_ext in '' $ac_executable_extensions; do
7118   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7119     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7120     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7121     break 2
7122   fi
7123 done
7124   done
7125 IFS=$as_save_IFS
7126
7127 fi
7128 fi
7129 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7130 if test -n "$DSYMUTIL"; then
7131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7132 $as_echo "$DSYMUTIL" >&6; }
7133 else
7134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7135 $as_echo "no" >&6; }
7136 fi
7137
7138
7139 fi
7140 if test -z "$ac_cv_prog_DSYMUTIL"; then
7141   ac_ct_DSYMUTIL=$DSYMUTIL
7142   # Extract the first word of "dsymutil", so it can be a program name with args.
7143 set dummy dsymutil; ac_word=$2
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7145 $as_echo_n "checking for $ac_word... " >&6; }
7146 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7147   $as_echo_n "(cached) " >&6
7148 else
7149   if test -n "$ac_ct_DSYMUTIL"; then
7150   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7151 else
7152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7153 for as_dir in $PATH
7154 do
7155   IFS=$as_save_IFS
7156   test -z "$as_dir" && as_dir=.
7157     for ac_exec_ext in '' $ac_executable_extensions; do
7158   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7159     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7160     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7161     break 2
7162   fi
7163 done
7164   done
7165 IFS=$as_save_IFS
7166
7167 fi
7168 fi
7169 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7170 if test -n "$ac_ct_DSYMUTIL"; then
7171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7172 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7173 else
7174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7175 $as_echo "no" >&6; }
7176 fi
7177
7178   if test "x$ac_ct_DSYMUTIL" = x; then
7179     DSYMUTIL=":"
7180   else
7181     case $cross_compiling:$ac_tool_warned in
7182 yes:)
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7185 ac_tool_warned=yes ;;
7186 esac
7187     DSYMUTIL=$ac_ct_DSYMUTIL
7188   fi
7189 else
7190   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7191 fi
7192
7193     if test -n "$ac_tool_prefix"; then
7194   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7195 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7197 $as_echo_n "checking for $ac_word... " >&6; }
7198 if ${ac_cv_prog_NMEDIT+:} false; then :
7199   $as_echo_n "(cached) " >&6
7200 else
7201   if test -n "$NMEDIT"; then
7202   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7203 else
7204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7205 for as_dir in $PATH
7206 do
7207   IFS=$as_save_IFS
7208   test -z "$as_dir" && as_dir=.
7209     for ac_exec_ext in '' $ac_executable_extensions; do
7210   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7211     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7212     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7213     break 2
7214   fi
7215 done
7216   done
7217 IFS=$as_save_IFS
7218
7219 fi
7220 fi
7221 NMEDIT=$ac_cv_prog_NMEDIT
7222 if test -n "$NMEDIT"; then
7223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7224 $as_echo "$NMEDIT" >&6; }
7225 else
7226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7227 $as_echo "no" >&6; }
7228 fi
7229
7230
7231 fi
7232 if test -z "$ac_cv_prog_NMEDIT"; then
7233   ac_ct_NMEDIT=$NMEDIT
7234   # Extract the first word of "nmedit", so it can be a program name with args.
7235 set dummy nmedit; ac_word=$2
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7237 $as_echo_n "checking for $ac_word... " >&6; }
7238 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7239   $as_echo_n "(cached) " >&6
7240 else
7241   if test -n "$ac_ct_NMEDIT"; then
7242   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7243 else
7244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7245 for as_dir in $PATH
7246 do
7247   IFS=$as_save_IFS
7248   test -z "$as_dir" && as_dir=.
7249     for ac_exec_ext in '' $ac_executable_extensions; do
7250   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7251     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7252     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7253     break 2
7254   fi
7255 done
7256   done
7257 IFS=$as_save_IFS
7258
7259 fi
7260 fi
7261 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7262 if test -n "$ac_ct_NMEDIT"; then
7263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7264 $as_echo "$ac_ct_NMEDIT" >&6; }
7265 else
7266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7267 $as_echo "no" >&6; }
7268 fi
7269
7270   if test "x$ac_ct_NMEDIT" = x; then
7271     NMEDIT=":"
7272   else
7273     case $cross_compiling:$ac_tool_warned in
7274 yes:)
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7276 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7277 ac_tool_warned=yes ;;
7278 esac
7279     NMEDIT=$ac_ct_NMEDIT
7280   fi
7281 else
7282   NMEDIT="$ac_cv_prog_NMEDIT"
7283 fi
7284
7285     if test -n "$ac_tool_prefix"; then
7286   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7287 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7289 $as_echo_n "checking for $ac_word... " >&6; }
7290 if ${ac_cv_prog_LIPO+:} false; then :
7291   $as_echo_n "(cached) " >&6
7292 else
7293   if test -n "$LIPO"; then
7294   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7295 else
7296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7297 for as_dir in $PATH
7298 do
7299   IFS=$as_save_IFS
7300   test -z "$as_dir" && as_dir=.
7301     for ac_exec_ext in '' $ac_executable_extensions; do
7302   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7303     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7304     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7305     break 2
7306   fi
7307 done
7308   done
7309 IFS=$as_save_IFS
7310
7311 fi
7312 fi
7313 LIPO=$ac_cv_prog_LIPO
7314 if test -n "$LIPO"; then
7315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7316 $as_echo "$LIPO" >&6; }
7317 else
7318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7319 $as_echo "no" >&6; }
7320 fi
7321
7322
7323 fi
7324 if test -z "$ac_cv_prog_LIPO"; then
7325   ac_ct_LIPO=$LIPO
7326   # Extract the first word of "lipo", so it can be a program name with args.
7327 set dummy lipo; ac_word=$2
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7329 $as_echo_n "checking for $ac_word... " >&6; }
7330 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7331   $as_echo_n "(cached) " >&6
7332 else
7333   if test -n "$ac_ct_LIPO"; then
7334   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7335 else
7336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7337 for as_dir in $PATH
7338 do
7339   IFS=$as_save_IFS
7340   test -z "$as_dir" && as_dir=.
7341     for ac_exec_ext in '' $ac_executable_extensions; do
7342   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7343     ac_cv_prog_ac_ct_LIPO="lipo"
7344     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7345     break 2
7346   fi
7347 done
7348   done
7349 IFS=$as_save_IFS
7350
7351 fi
7352 fi
7353 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7354 if test -n "$ac_ct_LIPO"; then
7355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7356 $as_echo "$ac_ct_LIPO" >&6; }
7357 else
7358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7359 $as_echo "no" >&6; }
7360 fi
7361
7362   if test "x$ac_ct_LIPO" = x; then
7363     LIPO=":"
7364   else
7365     case $cross_compiling:$ac_tool_warned in
7366 yes:)
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7368 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7369 ac_tool_warned=yes ;;
7370 esac
7371     LIPO=$ac_ct_LIPO
7372   fi
7373 else
7374   LIPO="$ac_cv_prog_LIPO"
7375 fi
7376
7377     if test -n "$ac_tool_prefix"; then
7378   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7379 set dummy ${ac_tool_prefix}otool; ac_word=$2
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7381 $as_echo_n "checking for $ac_word... " >&6; }
7382 if ${ac_cv_prog_OTOOL+:} false; then :
7383   $as_echo_n "(cached) " >&6
7384 else
7385   if test -n "$OTOOL"; then
7386   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7387 else
7388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7389 for as_dir in $PATH
7390 do
7391   IFS=$as_save_IFS
7392   test -z "$as_dir" && as_dir=.
7393     for ac_exec_ext in '' $ac_executable_extensions; do
7394   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7395     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7396     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7397     break 2
7398   fi
7399 done
7400   done
7401 IFS=$as_save_IFS
7402
7403 fi
7404 fi
7405 OTOOL=$ac_cv_prog_OTOOL
7406 if test -n "$OTOOL"; then
7407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7408 $as_echo "$OTOOL" >&6; }
7409 else
7410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7411 $as_echo "no" >&6; }
7412 fi
7413
7414
7415 fi
7416 if test -z "$ac_cv_prog_OTOOL"; then
7417   ac_ct_OTOOL=$OTOOL
7418   # Extract the first word of "otool", so it can be a program name with args.
7419 set dummy otool; ac_word=$2
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7421 $as_echo_n "checking for $ac_word... " >&6; }
7422 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7423   $as_echo_n "(cached) " >&6
7424 else
7425   if test -n "$ac_ct_OTOOL"; then
7426   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7427 else
7428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7429 for as_dir in $PATH
7430 do
7431   IFS=$as_save_IFS
7432   test -z "$as_dir" && as_dir=.
7433     for ac_exec_ext in '' $ac_executable_extensions; do
7434   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7435     ac_cv_prog_ac_ct_OTOOL="otool"
7436     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7437     break 2
7438   fi
7439 done
7440   done
7441 IFS=$as_save_IFS
7442
7443 fi
7444 fi
7445 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7446 if test -n "$ac_ct_OTOOL"; then
7447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7448 $as_echo "$ac_ct_OTOOL" >&6; }
7449 else
7450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7451 $as_echo "no" >&6; }
7452 fi
7453
7454   if test "x$ac_ct_OTOOL" = x; then
7455     OTOOL=":"
7456   else
7457     case $cross_compiling:$ac_tool_warned in
7458 yes:)
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7461 ac_tool_warned=yes ;;
7462 esac
7463     OTOOL=$ac_ct_OTOOL
7464   fi
7465 else
7466   OTOOL="$ac_cv_prog_OTOOL"
7467 fi
7468
7469     if test -n "$ac_tool_prefix"; then
7470   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7471 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7473 $as_echo_n "checking for $ac_word... " >&6; }
7474 if ${ac_cv_prog_OTOOL64+:} false; then :
7475   $as_echo_n "(cached) " >&6
7476 else
7477   if test -n "$OTOOL64"; then
7478   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7479 else
7480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7481 for as_dir in $PATH
7482 do
7483   IFS=$as_save_IFS
7484   test -z "$as_dir" && as_dir=.
7485     for ac_exec_ext in '' $ac_executable_extensions; do
7486   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7487     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7488     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7489     break 2
7490   fi
7491 done
7492   done
7493 IFS=$as_save_IFS
7494
7495 fi
7496 fi
7497 OTOOL64=$ac_cv_prog_OTOOL64
7498 if test -n "$OTOOL64"; then
7499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7500 $as_echo "$OTOOL64" >&6; }
7501 else
7502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7503 $as_echo "no" >&6; }
7504 fi
7505
7506
7507 fi
7508 if test -z "$ac_cv_prog_OTOOL64"; then
7509   ac_ct_OTOOL64=$OTOOL64
7510   # Extract the first word of "otool64", so it can be a program name with args.
7511 set dummy otool64; ac_word=$2
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7513 $as_echo_n "checking for $ac_word... " >&6; }
7514 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7515   $as_echo_n "(cached) " >&6
7516 else
7517   if test -n "$ac_ct_OTOOL64"; then
7518   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7519 else
7520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7521 for as_dir in $PATH
7522 do
7523   IFS=$as_save_IFS
7524   test -z "$as_dir" && as_dir=.
7525     for ac_exec_ext in '' $ac_executable_extensions; do
7526   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7527     ac_cv_prog_ac_ct_OTOOL64="otool64"
7528     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7529     break 2
7530   fi
7531 done
7532   done
7533 IFS=$as_save_IFS
7534
7535 fi
7536 fi
7537 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7538 if test -n "$ac_ct_OTOOL64"; then
7539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7540 $as_echo "$ac_ct_OTOOL64" >&6; }
7541 else
7542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7543 $as_echo "no" >&6; }
7544 fi
7545
7546   if test "x$ac_ct_OTOOL64" = x; then
7547     OTOOL64=":"
7548   else
7549     case $cross_compiling:$ac_tool_warned in
7550 yes:)
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7553 ac_tool_warned=yes ;;
7554 esac
7555     OTOOL64=$ac_ct_OTOOL64
7556   fi
7557 else
7558   OTOOL64="$ac_cv_prog_OTOOL64"
7559 fi
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7588 $as_echo_n "checking for -single_module linker flag... " >&6; }
7589 if ${lt_cv_apple_cc_single_mod+:} false; then :
7590   $as_echo_n "(cached) " >&6
7591 else
7592   lt_cv_apple_cc_single_mod=no
7593       if test -z "${LT_MULTI_MODULE}"; then
7594         # By default we will add the -single_module flag. You can override
7595         # by either setting the environment variable LT_MULTI_MODULE
7596         # non-empty at configure time, or by adding -multi_module to the
7597         # link flags.
7598         rm -rf libconftest.dylib*
7599         echo "int foo(void){return 1;}" > conftest.c
7600         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7601 -dynamiclib -Wl,-single_module conftest.c" >&5
7602         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7603           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7604         _lt_result=$?
7605         # If there is a non-empty error log, and "single_module"
7606         # appears in it, assume the flag caused a linker warning
7607         if test -s conftest.err && $GREP single_module conftest.err; then
7608           cat conftest.err >&5
7609         # Otherwise, if the output was created with a 0 exit code from
7610         # the compiler, it worked.
7611         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7612           lt_cv_apple_cc_single_mod=yes
7613         else
7614           cat conftest.err >&5
7615         fi
7616         rm -rf libconftest.dylib*
7617         rm -f conftest.*
7618       fi
7619 fi
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7621 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7622
7623     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7624 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7625 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7626   $as_echo_n "(cached) " >&6
7627 else
7628   lt_cv_ld_exported_symbols_list=no
7629       save_LDFLAGS=$LDFLAGS
7630       echo "_main" > conftest.sym
7631       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7632       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7633 /* end confdefs.h.  */
7634
7635 int
7636 main ()
7637 {
7638
7639   ;
7640   return 0;
7641 }
7642 _ACEOF
7643 if ac_fn_c_try_link "$LINENO"; then :
7644   lt_cv_ld_exported_symbols_list=yes
7645 else
7646   lt_cv_ld_exported_symbols_list=no
7647 fi
7648 rm -f core conftest.err conftest.$ac_objext \
7649     conftest$ac_exeext conftest.$ac_ext
7650         LDFLAGS="$save_LDFLAGS"
7651
7652 fi
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7654 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7655
7656     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7657 $as_echo_n "checking for -force_load linker flag... " >&6; }
7658 if ${lt_cv_ld_force_load+:} false; then :
7659   $as_echo_n "(cached) " >&6
7660 else
7661   lt_cv_ld_force_load=no
7662       cat > conftest.c << _LT_EOF
7663 int forced_loaded() { return 2;}
7664 _LT_EOF
7665       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7666       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7667       echo "$AR cru libconftest.a conftest.o" >&5
7668       $AR cru libconftest.a conftest.o 2>&5
7669       echo "$RANLIB libconftest.a" >&5
7670       $RANLIB libconftest.a 2>&5
7671       cat > conftest.c << _LT_EOF
7672 int main() { return 0;}
7673 _LT_EOF
7674       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7675       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7676       _lt_result=$?
7677       if test -s conftest.err && $GREP force_load conftest.err; then
7678         cat conftest.err >&5
7679       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7680         lt_cv_ld_force_load=yes
7681       else
7682         cat conftest.err >&5
7683       fi
7684         rm -f conftest.err libconftest.a conftest conftest.c
7685         rm -rf conftest.dSYM
7686
7687 fi
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7689 $as_echo "$lt_cv_ld_force_load" >&6; }
7690     case $host_os in
7691     rhapsody* | darwin1.[012])
7692       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7693     darwin1.*)
7694       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7695     darwin*) # darwin 5.x on
7696       # if running on 10.5 or later, the deployment target defaults
7697       # to the OS version, if on x86, and 10.4, the deployment
7698       # target defaults to 10.4. Don't you love it?
7699       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7700         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7701           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7702         10.[012]*)
7703           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7704         10.*)
7705           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7706       esac
7707     ;;
7708   esac
7709     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7710       _lt_dar_single_mod='$single_module'
7711     fi
7712     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7713       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7714     else
7715       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7716     fi
7717     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7718       _lt_dsymutil='~$DSYMUTIL $lib || :'
7719     else
7720       _lt_dsymutil=
7721     fi
7722     ;;
7723   esac
7724
7725 ac_ext=c
7726 ac_cpp='$CPP $CPPFLAGS'
7727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7731 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7732 # On Suns, sometimes $CPP names a directory.
7733 if test -n "$CPP" && test -d "$CPP"; then
7734   CPP=
7735 fi
7736 if test -z "$CPP"; then
7737   if ${ac_cv_prog_CPP+:} false; then :
7738   $as_echo_n "(cached) " >&6
7739 else
7740       # Double quotes because CPP needs to be expanded
7741     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7742     do
7743       ac_preproc_ok=false
7744 for ac_c_preproc_warn_flag in '' yes
7745 do
7746   # Use a header file that comes with gcc, so configuring glibc
7747   # with a fresh cross-compiler works.
7748   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7749   # <limits.h> exists even on freestanding compilers.
7750   # On the NeXT, cc -E runs the code through the compiler's parser,
7751   # not just through cpp. "Syntax error" is here to catch this case.
7752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7753 /* end confdefs.h.  */
7754 #ifdef __STDC__
7755 # include <limits.h>
7756 #else
7757 # include <assert.h>
7758 #endif
7759                      Syntax error
7760 _ACEOF
7761 if ac_fn_c_try_cpp "$LINENO"; then :
7762
7763 else
7764   # Broken: fails on valid input.
7765 continue
7766 fi
7767 rm -f conftest.err conftest.i conftest.$ac_ext
7768
7769   # OK, works on sane cases.  Now check whether nonexistent headers
7770   # can be detected and how.
7771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7772 /* end confdefs.h.  */
7773 #include <ac_nonexistent.h>
7774 _ACEOF
7775 if ac_fn_c_try_cpp "$LINENO"; then :
7776   # Broken: success on invalid input.
7777 continue
7778 else
7779   # Passes both tests.
7780 ac_preproc_ok=:
7781 break
7782 fi
7783 rm -f conftest.err conftest.i conftest.$ac_ext
7784
7785 done
7786 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7787 rm -f conftest.i conftest.err conftest.$ac_ext
7788 if $ac_preproc_ok; then :
7789   break
7790 fi
7791
7792     done
7793     ac_cv_prog_CPP=$CPP
7794
7795 fi
7796   CPP=$ac_cv_prog_CPP
7797 else
7798   ac_cv_prog_CPP=$CPP
7799 fi
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7801 $as_echo "$CPP" >&6; }
7802 ac_preproc_ok=false
7803 for ac_c_preproc_warn_flag in '' yes
7804 do
7805   # Use a header file that comes with gcc, so configuring glibc
7806   # with a fresh cross-compiler works.
7807   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7808   # <limits.h> exists even on freestanding compilers.
7809   # On the NeXT, cc -E runs the code through the compiler's parser,
7810   # not just through cpp. "Syntax error" is here to catch this case.
7811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7812 /* end confdefs.h.  */
7813 #ifdef __STDC__
7814 # include <limits.h>
7815 #else
7816 # include <assert.h>
7817 #endif
7818                      Syntax error
7819 _ACEOF
7820 if ac_fn_c_try_cpp "$LINENO"; then :
7821
7822 else
7823   # Broken: fails on valid input.
7824 continue
7825 fi
7826 rm -f conftest.err conftest.i conftest.$ac_ext
7827
7828   # OK, works on sane cases.  Now check whether nonexistent headers
7829   # can be detected and how.
7830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7831 /* end confdefs.h.  */
7832 #include <ac_nonexistent.h>
7833 _ACEOF
7834 if ac_fn_c_try_cpp "$LINENO"; then :
7835   # Broken: success on invalid input.
7836 continue
7837 else
7838   # Passes both tests.
7839 ac_preproc_ok=:
7840 break
7841 fi
7842 rm -f conftest.err conftest.i conftest.$ac_ext
7843
7844 done
7845 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7846 rm -f conftest.i conftest.err conftest.$ac_ext
7847 if $ac_preproc_ok; then :
7848
7849 else
7850   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7852 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7853 See \`config.log' for more details" "$LINENO" 5; }
7854 fi
7855
7856 ac_ext=c
7857 ac_cpp='$CPP $CPPFLAGS'
7858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7861
7862
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7864 $as_echo_n "checking for ANSI C header files... " >&6; }
7865 if ${ac_cv_header_stdc+:} false; then :
7866   $as_echo_n "(cached) " >&6
7867 else
7868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7869 /* end confdefs.h.  */
7870 #include <stdlib.h>
7871 #include <stdarg.h>
7872 #include <string.h>
7873 #include <float.h>
7874
7875 int
7876 main ()
7877 {
7878
7879   ;
7880   return 0;
7881 }
7882 _ACEOF
7883 if ac_fn_c_try_compile "$LINENO"; then :
7884   ac_cv_header_stdc=yes
7885 else
7886   ac_cv_header_stdc=no
7887 fi
7888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7889
7890 if test $ac_cv_header_stdc = yes; then
7891   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7893 /* end confdefs.h.  */
7894 #include <string.h>
7895
7896 _ACEOF
7897 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7898   $EGREP "memchr" >/dev/null 2>&1; then :
7899
7900 else
7901   ac_cv_header_stdc=no
7902 fi
7903 rm -f conftest*
7904
7905 fi
7906
7907 if test $ac_cv_header_stdc = yes; then
7908   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7910 /* end confdefs.h.  */
7911 #include <stdlib.h>
7912
7913 _ACEOF
7914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7915   $EGREP "free" >/dev/null 2>&1; then :
7916
7917 else
7918   ac_cv_header_stdc=no
7919 fi
7920 rm -f conftest*
7921
7922 fi
7923
7924 if test $ac_cv_header_stdc = yes; then
7925   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7926   if test "$cross_compiling" = yes; then :
7927   :
7928 else
7929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7930 /* end confdefs.h.  */
7931 #include <ctype.h>
7932 #include <stdlib.h>
7933 #if ((' ' & 0x0FF) == 0x020)
7934 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7935 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7936 #else
7937 # define ISLOWER(c) \
7938                    (('a' <= (c) && (c) <= 'i') \
7939                      || ('j' <= (c) && (c) <= 'r') \
7940                      || ('s' <= (c) && (c) <= 'z'))
7941 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7942 #endif
7943
7944 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7945 int
7946 main ()
7947 {
7948   int i;
7949   for (i = 0; i < 256; i++)
7950     if (XOR (islower (i), ISLOWER (i))
7951         || toupper (i) != TOUPPER (i))
7952       return 2;
7953   return 0;
7954 }
7955 _ACEOF
7956 if ac_fn_c_try_run "$LINENO"; then :
7957
7958 else
7959   ac_cv_header_stdc=no
7960 fi
7961 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7962   conftest.$ac_objext conftest.beam conftest.$ac_ext
7963 fi
7964
7965 fi
7966 fi
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7968 $as_echo "$ac_cv_header_stdc" >&6; }
7969 if test $ac_cv_header_stdc = yes; then
7970
7971 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7972
7973 fi
7974
7975 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7976 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7977                   inttypes.h stdint.h unistd.h
7978 do :
7979   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7980 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7981 "
7982 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7983   cat >>confdefs.h <<_ACEOF
7984 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7985 _ACEOF
7986
7987 fi
7988
7989 done
7990
7991
7992 for ac_header in dlfcn.h
7993 do :
7994   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7995 "
7996 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7997   cat >>confdefs.h <<_ACEOF
7998 #define HAVE_DLFCN_H 1
7999 _ACEOF
8000
8001 fi
8002
8003 done
8004
8005
8006
8007
8008
8009 # Set options
8010
8011
8012
8013         enable_dlopen=no
8014
8015
8016
8017             # Check whether --enable-shared was given.
8018 if test "${enable_shared+set}" = set; then :
8019   enableval=$enable_shared; p=${PACKAGE-default}
8020     case $enableval in
8021     yes) enable_shared=yes ;;
8022     no) enable_shared=no ;;
8023     *)
8024       enable_shared=no
8025       # Look at the argument we got.  We use all the common list separators.
8026       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8027       for pkg in $enableval; do
8028         IFS="$lt_save_ifs"
8029         if test "X$pkg" = "X$p"; then
8030           enable_shared=yes
8031         fi
8032       done
8033       IFS="$lt_save_ifs"
8034       ;;
8035     esac
8036 else
8037   enable_shared=yes
8038 fi
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048   # Check whether --enable-static was given.
8049 if test "${enable_static+set}" = set; then :
8050   enableval=$enable_static; p=${PACKAGE-default}
8051     case $enableval in
8052     yes) enable_static=yes ;;
8053     no) enable_static=no ;;
8054     *)
8055      enable_static=no
8056       # Look at the argument we got.  We use all the common list separators.
8057       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8058       for pkg in $enableval; do
8059         IFS="$lt_save_ifs"
8060         if test "X$pkg" = "X$p"; then
8061           enable_static=yes
8062         fi
8063       done
8064       IFS="$lt_save_ifs"
8065       ;;
8066     esac
8067 else
8068   enable_static=yes
8069 fi
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080 # Check whether --with-pic was given.
8081 if test "${with_pic+set}" = set; then :
8082   withval=$with_pic; lt_p=${PACKAGE-default}
8083     case $withval in
8084     yes|no) pic_mode=$withval ;;
8085     *)
8086       pic_mode=default
8087       # Look at the argument we got.  We use all the common list separators.
8088       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8089       for lt_pkg in $withval; do
8090         IFS="$lt_save_ifs"
8091         if test "X$lt_pkg" = "X$lt_p"; then
8092           pic_mode=yes
8093         fi
8094       done
8095       IFS="$lt_save_ifs"
8096       ;;
8097     esac
8098 else
8099   pic_mode=default
8100 fi
8101
8102
8103 test -z "$pic_mode" && pic_mode=default
8104
8105
8106
8107
8108
8109
8110
8111   # Check whether --enable-fast-install was given.
8112 if test "${enable_fast_install+set}" = set; then :
8113   enableval=$enable_fast_install; p=${PACKAGE-default}
8114     case $enableval in
8115     yes) enable_fast_install=yes ;;
8116     no) enable_fast_install=no ;;
8117     *)
8118       enable_fast_install=no
8119       # Look at the argument we got.  We use all the common list separators.
8120       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8121       for pkg in $enableval; do
8122         IFS="$lt_save_ifs"
8123         if test "X$pkg" = "X$p"; then
8124           enable_fast_install=yes
8125         fi
8126       done
8127       IFS="$lt_save_ifs"
8128       ;;
8129     esac
8130 else
8131   enable_fast_install=yes
8132 fi
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144 # This can be used to rebuild libtool when needed
8145 LIBTOOL_DEPS="$ltmain"
8146
8147 # Always use our own libtool.
8148 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179 test -z "$LN_S" && LN_S="ln -s"
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194 if test -n "${ZSH_VERSION+set}" ; then
8195    setopt NO_GLOB_SUBST
8196 fi
8197
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8199 $as_echo_n "checking for objdir... " >&6; }
8200 if ${lt_cv_objdir+:} false; then :
8201   $as_echo_n "(cached) " >&6
8202 else
8203   rm -f .libs 2>/dev/null
8204 mkdir .libs 2>/dev/null
8205 if test -d .libs; then
8206   lt_cv_objdir=.libs
8207 else
8208   # MS-DOS does not allow filenames that begin with a dot.
8209   lt_cv_objdir=_libs
8210 fi
8211 rmdir .libs 2>/dev/null
8212 fi
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8214 $as_echo "$lt_cv_objdir" >&6; }
8215 objdir=$lt_cv_objdir
8216
8217
8218
8219
8220
8221 cat >>confdefs.h <<_ACEOF
8222 #define LT_OBJDIR "$lt_cv_objdir/"
8223 _ACEOF
8224
8225
8226
8227
8228 case $host_os in
8229 aix3*)
8230   # AIX sometimes has problems with the GCC collect2 program.  For some
8231   # reason, if we set the COLLECT_NAMES environment variable, the problems
8232   # vanish in a puff of smoke.
8233   if test "X${COLLECT_NAMES+set}" != Xset; then
8234     COLLECT_NAMES=
8235     export COLLECT_NAMES
8236   fi
8237   ;;
8238 esac
8239
8240 # Global variables:
8241 ofile=libtool
8242 can_build_shared=yes
8243
8244 # All known linkers require a `.a' archive for static linking (except MSVC,
8245 # which needs '.lib').
8246 libext=a
8247
8248 with_gnu_ld="$lt_cv_prog_gnu_ld"
8249
8250 old_CC="$CC"
8251 old_CFLAGS="$CFLAGS"
8252
8253 # Set sane defaults for various variables
8254 test -z "$CC" && CC=cc
8255 test -z "$LTCC" && LTCC=$CC
8256 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8257 test -z "$LD" && LD=ld
8258 test -z "$ac_objext" && ac_objext=o
8259
8260 for cc_temp in $compiler""; do
8261   case $cc_temp in
8262     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8263     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8264     \-*) ;;
8265     *) break;;
8266   esac
8267 done
8268 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8269
8270
8271 # Only perform the check for file, if the check method requires it
8272 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8273 case $deplibs_check_method in
8274 file_magic*)
8275   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8276     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8277 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8278 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8279   $as_echo_n "(cached) " >&6
8280 else
8281   case $MAGIC_CMD in
8282 [\\/*] |  ?:[\\/]*)
8283   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8284   ;;
8285 *)
8286   lt_save_MAGIC_CMD="$MAGIC_CMD"
8287   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8288   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8289   for ac_dir in $ac_dummy; do
8290     IFS="$lt_save_ifs"
8291     test -z "$ac_dir" && ac_dir=.
8292     if test -f $ac_dir/${ac_tool_prefix}file; then
8293       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8294       if test -n "$file_magic_test_file"; then
8295         case $deplibs_check_method in
8296         "file_magic "*)
8297           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8298           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8299           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8300             $EGREP "$file_magic_regex" > /dev/null; then
8301             :
8302           else
8303             cat <<_LT_EOF 1>&2
8304
8305 *** Warning: the command libtool uses to detect shared libraries,
8306 *** $file_magic_cmd, produces output that libtool cannot recognize.
8307 *** The result is that libtool may fail to recognize shared libraries
8308 *** as such.  This will affect the creation of libtool libraries that
8309 *** depend on shared libraries, but programs linked with such libtool
8310 *** libraries will work regardless of this problem.  Nevertheless, you
8311 *** may want to report the problem to your system manager and/or to
8312 *** bug-libtool@gnu.org
8313
8314 _LT_EOF
8315           fi ;;
8316         esac
8317       fi
8318       break
8319     fi
8320   done
8321   IFS="$lt_save_ifs"
8322   MAGIC_CMD="$lt_save_MAGIC_CMD"
8323   ;;
8324 esac
8325 fi
8326
8327 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8328 if test -n "$MAGIC_CMD"; then
8329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8330 $as_echo "$MAGIC_CMD" >&6; }
8331 else
8332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8333 $as_echo "no" >&6; }
8334 fi
8335
8336
8337
8338
8339
8340 if test -z "$lt_cv_path_MAGIC_CMD"; then
8341   if test -n "$ac_tool_prefix"; then
8342     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8343 $as_echo_n "checking for file... " >&6; }
8344 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8345   $as_echo_n "(cached) " >&6
8346 else
8347   case $MAGIC_CMD in
8348 [\\/*] |  ?:[\\/]*)
8349   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8350   ;;
8351 *)
8352   lt_save_MAGIC_CMD="$MAGIC_CMD"
8353   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8354   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8355   for ac_dir in $ac_dummy; do
8356     IFS="$lt_save_ifs"
8357     test -z "$ac_dir" && ac_dir=.
8358     if test -f $ac_dir/file; then
8359       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8360       if test -n "$file_magic_test_file"; then
8361         case $deplibs_check_method in
8362         "file_magic "*)
8363           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8364           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8365           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8366             $EGREP "$file_magic_regex" > /dev/null; then
8367             :
8368           else
8369             cat <<_LT_EOF 1>&2
8370
8371 *** Warning: the command libtool uses to detect shared libraries,
8372 *** $file_magic_cmd, produces output that libtool cannot recognize.
8373 *** The result is that libtool may fail to recognize shared libraries
8374 *** as such.  This will affect the creation of libtool libraries that
8375 *** depend on shared libraries, but programs linked with such libtool
8376 *** libraries will work regardless of this problem.  Nevertheless, you
8377 *** may want to report the problem to your system manager and/or to
8378 *** bug-libtool@gnu.org
8379
8380 _LT_EOF
8381           fi ;;
8382         esac
8383       fi
8384       break
8385     fi
8386   done
8387   IFS="$lt_save_ifs"
8388   MAGIC_CMD="$lt_save_MAGIC_CMD"
8389   ;;
8390 esac
8391 fi
8392
8393 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8394 if test -n "$MAGIC_CMD"; then
8395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8396 $as_echo "$MAGIC_CMD" >&6; }
8397 else
8398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8399 $as_echo "no" >&6; }
8400 fi
8401
8402
8403   else
8404     MAGIC_CMD=:
8405   fi
8406 fi
8407
8408   fi
8409   ;;
8410 esac
8411
8412 # Use C for the default configuration in the libtool script
8413
8414 lt_save_CC="$CC"
8415 ac_ext=c
8416 ac_cpp='$CPP $CPPFLAGS'
8417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8420
8421
8422 # Source file extension for C test sources.
8423 ac_ext=c
8424
8425 # Object file extension for compiled C test sources.
8426 objext=o
8427 objext=$objext
8428
8429 # Code to be used in simple compile tests
8430 lt_simple_compile_test_code="int some_variable = 0;"
8431
8432 # Code to be used in simple link tests
8433 lt_simple_link_test_code='int main(){return(0);}'
8434
8435
8436
8437
8438
8439
8440
8441 # If no C compiler was specified, use CC.
8442 LTCC=${LTCC-"$CC"}
8443
8444 # If no C compiler flags were specified, use CFLAGS.
8445 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8446
8447 # Allow CC to be a program name with arguments.
8448 compiler=$CC
8449
8450 # Save the default compiler, since it gets overwritten when the other
8451 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8452 compiler_DEFAULT=$CC
8453
8454 # save warnings/boilerplate of simple test code
8455 ac_outfile=conftest.$ac_objext
8456 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8457 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8458 _lt_compiler_boilerplate=`cat conftest.err`
8459 $RM conftest*
8460
8461 ac_outfile=conftest.$ac_objext
8462 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8463 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8464 _lt_linker_boilerplate=`cat conftest.err`
8465 $RM -r conftest*
8466
8467
8468 if test -n "$compiler"; then
8469
8470 lt_prog_compiler_no_builtin_flag=
8471
8472 if test "$GCC" = yes; then
8473   case $cc_basename in
8474   nvcc*)
8475     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8476   *)
8477     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8478   esac
8479
8480   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8481 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8482 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8483   $as_echo_n "(cached) " >&6
8484 else
8485   lt_cv_prog_compiler_rtti_exceptions=no
8486    ac_outfile=conftest.$ac_objext
8487    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8488    lt_compiler_flag="-fno-rtti -fno-exceptions"
8489    # Insert the option either (1) after the last *FLAGS variable, or
8490    # (2) before a word containing "conftest.", or (3) at the end.
8491    # Note that $ac_compile itself does not contain backslashes and begins
8492    # with a dollar sign (not a hyphen), so the echo should work correctly.
8493    # The option is referenced via a variable to avoid confusing sed.
8494    lt_compile=`echo "$ac_compile" | $SED \
8495    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8496    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8497    -e 's:$: $lt_compiler_flag:'`
8498    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8499    (eval "$lt_compile" 2>conftest.err)
8500    ac_status=$?
8501    cat conftest.err >&5
8502    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8503    if (exit $ac_status) && test -s "$ac_outfile"; then
8504      # The compiler can only warn and ignore the option if not recognized
8505      # So say no if there are warnings other than the usual output.
8506      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8507      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8508      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8509        lt_cv_prog_compiler_rtti_exceptions=yes
8510      fi
8511    fi
8512    $RM conftest*
8513
8514 fi
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8516 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8517
8518 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8519     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8520 else
8521     :
8522 fi
8523
8524 fi
8525
8526
8527
8528
8529
8530
8531   lt_prog_compiler_wl=
8532 lt_prog_compiler_pic=
8533 lt_prog_compiler_static=
8534
8535
8536   if test "$GCC" = yes; then
8537     lt_prog_compiler_wl='-Wl,'
8538     lt_prog_compiler_static='-static'
8539
8540     case $host_os in
8541       aix*)
8542       # All AIX code is PIC.
8543       if test "$host_cpu" = ia64; then
8544         # AIX 5 now supports IA64 processor
8545         lt_prog_compiler_static='-Bstatic'
8546       fi
8547       ;;
8548
8549     amigaos*)
8550       case $host_cpu in
8551       powerpc)
8552             # see comment about AmigaOS4 .so support
8553             lt_prog_compiler_pic='-fPIC'
8554         ;;
8555       m68k)
8556             # FIXME: we need at least 68020 code to build shared libraries, but
8557             # adding the `-m68020' flag to GCC prevents building anything better,
8558             # like `-m68040'.
8559             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8560         ;;
8561       esac
8562       ;;
8563
8564     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8565       # PIC is the default for these OSes.
8566       ;;
8567
8568     mingw* | cygwin* | pw32* | os2* | cegcc*)
8569       # This hack is so that the source file can tell whether it is being
8570       # built for inclusion in a dll (and should export symbols for example).
8571       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8572       # (--disable-auto-import) libraries
8573       lt_prog_compiler_pic='-DDLL_EXPORT'
8574       ;;
8575
8576     darwin* | rhapsody*)
8577       # PIC is the default on this platform
8578       # Common symbols not allowed in MH_DYLIB files
8579       lt_prog_compiler_pic='-fno-common'
8580       ;;
8581
8582     haiku*)
8583       # PIC is the default for Haiku.
8584       # The "-static" flag exists, but is broken.
8585       lt_prog_compiler_static=
8586       ;;
8587
8588     hpux*)
8589       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8590       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8591       # sets the default TLS model and affects inlining.
8592       case $host_cpu in
8593       hppa*64*)
8594         # +Z the default
8595         ;;
8596       *)
8597         lt_prog_compiler_pic='-fPIC'
8598         ;;
8599       esac
8600       ;;
8601
8602     interix[3-9]*)
8603       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8604       # Instead, we relocate shared libraries at runtime.
8605       ;;
8606
8607     msdosdjgpp*)
8608       # Just because we use GCC doesn't mean we suddenly get shared libraries
8609       # on systems that don't support them.
8610       lt_prog_compiler_can_build_shared=no
8611       enable_shared=no
8612       ;;
8613
8614     *nto* | *qnx*)
8615       # QNX uses GNU C++, but need to define -shared option too, otherwise
8616       # it will coredump.
8617       lt_prog_compiler_pic='-fPIC -shared'
8618       ;;
8619
8620     sysv4*MP*)
8621       if test -d /usr/nec; then
8622         lt_prog_compiler_pic=-Kconform_pic
8623       fi
8624       ;;
8625
8626     *)
8627       lt_prog_compiler_pic='-fPIC'
8628       ;;
8629     esac
8630
8631     case $cc_basename in
8632     nvcc*) # Cuda Compiler Driver 2.2
8633       lt_prog_compiler_wl='-Xlinker '
8634       if test -n "$lt_prog_compiler_pic"; then
8635         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8636       fi
8637       ;;
8638     esac
8639   else
8640     # PORTME Check for flag to pass linker flags through the system compiler.
8641     case $host_os in
8642     aix*)
8643       lt_prog_compiler_wl='-Wl,'
8644       if test "$host_cpu" = ia64; then
8645         # AIX 5 now supports IA64 processor
8646         lt_prog_compiler_static='-Bstatic'
8647       else
8648         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8649       fi
8650       ;;
8651
8652     mingw* | cygwin* | pw32* | os2* | cegcc*)
8653       # This hack is so that the source file can tell whether it is being
8654       # built for inclusion in a dll (and should export symbols for example).
8655       lt_prog_compiler_pic='-DDLL_EXPORT'
8656       ;;
8657
8658     hpux9* | hpux10* | hpux11*)
8659       lt_prog_compiler_wl='-Wl,'
8660       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8661       # not for PA HP-UX.
8662       case $host_cpu in
8663       hppa*64*|ia64*)
8664         # +Z the default
8665         ;;
8666       *)
8667         lt_prog_compiler_pic='+Z'
8668         ;;
8669       esac
8670       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8671       lt_prog_compiler_static='${wl}-a ${wl}archive'
8672       ;;
8673
8674     irix5* | irix6* | nonstopux*)
8675       lt_prog_compiler_wl='-Wl,'
8676       # PIC (with -KPIC) is the default.
8677       lt_prog_compiler_static='-non_shared'
8678       ;;
8679
8680     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8681       case $cc_basename in
8682       # old Intel for x86_64 which still supported -KPIC.
8683       ecc*)
8684         lt_prog_compiler_wl='-Wl,'
8685         lt_prog_compiler_pic='-KPIC'
8686         lt_prog_compiler_static='-static'
8687         ;;
8688       # icc used to be incompatible with GCC.
8689       # ICC 10 doesn't accept -KPIC any more.
8690       icc* | ifort*)
8691         lt_prog_compiler_wl='-Wl,'
8692         lt_prog_compiler_pic='-fPIC'
8693         lt_prog_compiler_static='-static'
8694         ;;
8695       # Lahey Fortran 8.1.
8696       lf95*)
8697         lt_prog_compiler_wl='-Wl,'
8698         lt_prog_compiler_pic='--shared'
8699         lt_prog_compiler_static='--static'
8700         ;;
8701       nagfor*)
8702         # NAG Fortran compiler
8703         lt_prog_compiler_wl='-Wl,-Wl,,'
8704         lt_prog_compiler_pic='-PIC'
8705         lt_prog_compiler_static='-Bstatic'
8706         ;;
8707       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8708         # Portland Group compilers (*not* the Pentium gcc compiler,
8709         # which looks to be a dead project)
8710         lt_prog_compiler_wl='-Wl,'
8711         lt_prog_compiler_pic='-fpic'
8712         lt_prog_compiler_static='-Bstatic'
8713         ;;
8714       ccc*)
8715         lt_prog_compiler_wl='-Wl,'
8716         # All Alpha code is PIC.
8717         lt_prog_compiler_static='-non_shared'
8718         ;;
8719       xl* | bgxl* | bgf* | mpixl*)
8720         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8721         lt_prog_compiler_wl='-Wl,'
8722         lt_prog_compiler_pic='-qpic'
8723         lt_prog_compiler_static='-qstaticlink'
8724         ;;
8725       *)
8726         case `$CC -V 2>&1 | sed 5q` in
8727         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8728           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8729           lt_prog_compiler_pic='-KPIC'
8730           lt_prog_compiler_static='-Bstatic'
8731           lt_prog_compiler_wl=''
8732           ;;
8733         *Sun\ F* | *Sun*Fortran*)
8734           lt_prog_compiler_pic='-KPIC'
8735           lt_prog_compiler_static='-Bstatic'
8736           lt_prog_compiler_wl='-Qoption ld '
8737           ;;
8738         *Sun\ C*)
8739           # Sun C 5.9
8740           lt_prog_compiler_pic='-KPIC'
8741           lt_prog_compiler_static='-Bstatic'
8742           lt_prog_compiler_wl='-Wl,'
8743           ;;
8744         *Intel*\ [CF]*Compiler*)
8745           lt_prog_compiler_wl='-Wl,'
8746           lt_prog_compiler_pic='-fPIC'
8747           lt_prog_compiler_static='-static'
8748           ;;
8749         *Portland\ Group*)
8750           lt_prog_compiler_wl='-Wl,'
8751           lt_prog_compiler_pic='-fpic'
8752           lt_prog_compiler_static='-Bstatic'
8753           ;;
8754         esac
8755         ;;
8756       esac
8757       ;;
8758
8759     newsos6)
8760       lt_prog_compiler_pic='-KPIC'
8761       lt_prog_compiler_static='-Bstatic'
8762       ;;
8763
8764     *nto* | *qnx*)
8765       # QNX uses GNU C++, but need to define -shared option too, otherwise
8766       # it will coredump.
8767       lt_prog_compiler_pic='-fPIC -shared'
8768       ;;
8769
8770     osf3* | osf4* | osf5*)
8771       lt_prog_compiler_wl='-Wl,'
8772       # All OSF/1 code is PIC.
8773       lt_prog_compiler_static='-non_shared'
8774       ;;
8775
8776     rdos*)
8777       lt_prog_compiler_static='-non_shared'
8778       ;;
8779
8780     solaris*)
8781       lt_prog_compiler_pic='-KPIC'
8782       lt_prog_compiler_static='-Bstatic'
8783       case $cc_basename in
8784       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8785         lt_prog_compiler_wl='-Qoption ld ';;
8786       *)
8787         lt_prog_compiler_wl='-Wl,';;
8788       esac
8789       ;;
8790
8791     sunos4*)
8792       lt_prog_compiler_wl='-Qoption ld '
8793       lt_prog_compiler_pic='-PIC'
8794       lt_prog_compiler_static='-Bstatic'
8795       ;;
8796
8797     sysv4 | sysv4.2uw2* | sysv4.3*)
8798       lt_prog_compiler_wl='-Wl,'
8799       lt_prog_compiler_pic='-KPIC'
8800       lt_prog_compiler_static='-Bstatic'
8801       ;;
8802
8803     sysv4*MP*)
8804       if test -d /usr/nec ;then
8805         lt_prog_compiler_pic='-Kconform_pic'
8806         lt_prog_compiler_static='-Bstatic'
8807       fi
8808       ;;
8809
8810     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8811       lt_prog_compiler_wl='-Wl,'
8812       lt_prog_compiler_pic='-KPIC'
8813       lt_prog_compiler_static='-Bstatic'
8814       ;;
8815
8816     unicos*)
8817       lt_prog_compiler_wl='-Wl,'
8818       lt_prog_compiler_can_build_shared=no
8819       ;;
8820
8821     uts4*)
8822       lt_prog_compiler_pic='-pic'
8823       lt_prog_compiler_static='-Bstatic'
8824       ;;
8825
8826     *)
8827       lt_prog_compiler_can_build_shared=no
8828       ;;
8829     esac
8830   fi
8831
8832 case $host_os in
8833   # For platforms which do not support PIC, -DPIC is meaningless:
8834   *djgpp*)
8835     lt_prog_compiler_pic=
8836     ;;
8837   *)
8838     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8839     ;;
8840 esac
8841
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8843 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8844 if ${lt_cv_prog_compiler_pic+:} false; then :
8845   $as_echo_n "(cached) " >&6
8846 else
8847   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8848 fi
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8850 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8851 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8852
8853 #
8854 # Check to make sure the PIC flag actually works.
8855 #
8856 if test -n "$lt_prog_compiler_pic"; then
8857   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8858 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8859 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8860   $as_echo_n "(cached) " >&6
8861 else
8862   lt_cv_prog_compiler_pic_works=no
8863    ac_outfile=conftest.$ac_objext
8864    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8865    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8866    # Insert the option either (1) after the last *FLAGS variable, or
8867    # (2) before a word containing "conftest.", or (3) at the end.
8868    # Note that $ac_compile itself does not contain backslashes and begins
8869    # with a dollar sign (not a hyphen), so the echo should work correctly.
8870    # The option is referenced via a variable to avoid confusing sed.
8871    lt_compile=`echo "$ac_compile" | $SED \
8872    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8873    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8874    -e 's:$: $lt_compiler_flag:'`
8875    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8876    (eval "$lt_compile" 2>conftest.err)
8877    ac_status=$?
8878    cat conftest.err >&5
8879    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8880    if (exit $ac_status) && test -s "$ac_outfile"; then
8881      # The compiler can only warn and ignore the option if not recognized
8882      # So say no if there are warnings other than the usual output.
8883      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8884      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8885      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8886        lt_cv_prog_compiler_pic_works=yes
8887      fi
8888    fi
8889    $RM conftest*
8890
8891 fi
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8893 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8894
8895 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8896     case $lt_prog_compiler_pic in
8897      "" | " "*) ;;
8898      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8899      esac
8900 else
8901     lt_prog_compiler_pic=
8902      lt_prog_compiler_can_build_shared=no
8903 fi
8904
8905 fi
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917 #
8918 # Check to make sure the static flag actually works.
8919 #
8920 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8922 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8923 if ${lt_cv_prog_compiler_static_works+:} false; then :
8924   $as_echo_n "(cached) " >&6
8925 else
8926   lt_cv_prog_compiler_static_works=no
8927    save_LDFLAGS="$LDFLAGS"
8928    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8929    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8930    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8931      # The linker can only warn and ignore the option if not recognized
8932      # So say no if there are warnings
8933      if test -s conftest.err; then
8934        # Append any errors to the config.log.
8935        cat conftest.err 1>&5
8936        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8937        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8938        if diff conftest.exp conftest.er2 >/dev/null; then
8939          lt_cv_prog_compiler_static_works=yes
8940        fi
8941      else
8942        lt_cv_prog_compiler_static_works=yes
8943      fi
8944    fi
8945    $RM -r conftest*
8946    LDFLAGS="$save_LDFLAGS"
8947
8948 fi
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8950 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8951
8952 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8953     :
8954 else
8955     lt_prog_compiler_static=
8956 fi
8957
8958
8959
8960
8961
8962
8963
8964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8965 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8966 if ${lt_cv_prog_compiler_c_o+:} false; then :
8967   $as_echo_n "(cached) " >&6
8968 else
8969   lt_cv_prog_compiler_c_o=no
8970    $RM -r conftest 2>/dev/null
8971    mkdir conftest
8972    cd conftest
8973    mkdir out
8974    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8975
8976    lt_compiler_flag="-o out/conftest2.$ac_objext"
8977    # Insert the option either (1) after the last *FLAGS variable, or
8978    # (2) before a word containing "conftest.", or (3) at the end.
8979    # Note that $ac_compile itself does not contain backslashes and begins
8980    # with a dollar sign (not a hyphen), so the echo should work correctly.
8981    lt_compile=`echo "$ac_compile" | $SED \
8982    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8983    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8984    -e 's:$: $lt_compiler_flag:'`
8985    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8986    (eval "$lt_compile" 2>out/conftest.err)
8987    ac_status=$?
8988    cat out/conftest.err >&5
8989    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8990    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8991    then
8992      # The compiler can only warn and ignore the option if not recognized
8993      # So say no if there are warnings
8994      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8995      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8996      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8997        lt_cv_prog_compiler_c_o=yes
8998      fi
8999    fi
9000    chmod u+w . 2>&5
9001    $RM conftest*
9002    # SGI C++ compiler will create directory out/ii_files/ for
9003    # template instantiation
9004    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9005    $RM out/* && rmdir out
9006    cd ..
9007    $RM -r conftest
9008    $RM conftest*
9009
9010 fi
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9012 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9013
9014
9015
9016
9017
9018
9019   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9020 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9021 if ${lt_cv_prog_compiler_c_o+:} false; then :
9022   $as_echo_n "(cached) " >&6
9023 else
9024   lt_cv_prog_compiler_c_o=no
9025    $RM -r conftest 2>/dev/null
9026    mkdir conftest
9027    cd conftest
9028    mkdir out
9029    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9030
9031    lt_compiler_flag="-o out/conftest2.$ac_objext"
9032    # Insert the option either (1) after the last *FLAGS variable, or
9033    # (2) before a word containing "conftest.", or (3) at the end.
9034    # Note that $ac_compile itself does not contain backslashes and begins
9035    # with a dollar sign (not a hyphen), so the echo should work correctly.
9036    lt_compile=`echo "$ac_compile" | $SED \
9037    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9038    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9039    -e 's:$: $lt_compiler_flag:'`
9040    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9041    (eval "$lt_compile" 2>out/conftest.err)
9042    ac_status=$?
9043    cat out/conftest.err >&5
9044    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9045    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9046    then
9047      # The compiler can only warn and ignore the option if not recognized
9048      # So say no if there are warnings
9049      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9050      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9051      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9052        lt_cv_prog_compiler_c_o=yes
9053      fi
9054    fi
9055    chmod u+w . 2>&5
9056    $RM conftest*
9057    # SGI C++ compiler will create directory out/ii_files/ for
9058    # template instantiation
9059    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9060    $RM out/* && rmdir out
9061    cd ..
9062    $RM -r conftest
9063    $RM conftest*
9064
9065 fi
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9067 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9068
9069
9070
9071
9072 hard_links="nottested"
9073 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9074   # do not overwrite the value of need_locks provided by the user
9075   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9076 $as_echo_n "checking if we can lock with hard links... " >&6; }
9077   hard_links=yes
9078   $RM conftest*
9079   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9080   touch conftest.a
9081   ln conftest.a conftest.b 2>&5 || hard_links=no
9082   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9084 $as_echo "$hard_links" >&6; }
9085   if test "$hard_links" = no; then
9086     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9087 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9088     need_locks=warn
9089   fi
9090 else
9091   need_locks=no
9092 fi
9093
9094
9095
9096
9097
9098
9099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9100 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9101
9102   runpath_var=
9103   allow_undefined_flag=
9104   always_export_symbols=no
9105   archive_cmds=
9106   archive_expsym_cmds=
9107   compiler_needs_object=no
9108   enable_shared_with_static_runtimes=no
9109   export_dynamic_flag_spec=
9110   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9111   hardcode_automatic=no
9112   hardcode_direct=no
9113   hardcode_direct_absolute=no
9114   hardcode_libdir_flag_spec=
9115   hardcode_libdir_separator=
9116   hardcode_minus_L=no
9117   hardcode_shlibpath_var=unsupported
9118   inherit_rpath=no
9119   link_all_deplibs=unknown
9120   module_cmds=
9121   module_expsym_cmds=
9122   old_archive_from_new_cmds=
9123   old_archive_from_expsyms_cmds=
9124   thread_safe_flag_spec=
9125   whole_archive_flag_spec=
9126   # include_expsyms should be a list of space-separated symbols to be *always*
9127   # included in the symbol list
9128   include_expsyms=
9129   # exclude_expsyms can be an extended regexp of symbols to exclude
9130   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9131   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9132   # as well as any symbol that contains `d'.
9133   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9134   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9135   # platforms (ab)use it in PIC code, but their linkers get confused if
9136   # the symbol is explicitly referenced.  Since portable code cannot
9137   # rely on this symbol name, it's probably fine to never include it in
9138   # preloaded symbol tables.
9139   # Exclude shared library initialization/finalization symbols.
9140   extract_expsyms_cmds=
9141
9142   case $host_os in
9143   cygwin* | mingw* | pw32* | cegcc*)
9144     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9145     # When not using gcc, we currently assume that we are using
9146     # Microsoft Visual C++.
9147     if test "$GCC" != yes; then
9148       with_gnu_ld=no
9149     fi
9150     ;;
9151   interix*)
9152     # we just hope/assume this is gcc and not c89 (= MSVC++)
9153     with_gnu_ld=yes
9154     ;;
9155   openbsd*)
9156     with_gnu_ld=no
9157     ;;
9158   esac
9159
9160   ld_shlibs=yes
9161
9162   # On some targets, GNU ld is compatible enough with the native linker
9163   # that we're better off using the native interface for both.
9164   lt_use_gnu_ld_interface=no
9165   if test "$with_gnu_ld" = yes; then
9166     case $host_os in
9167       aix*)
9168         # The AIX port of GNU ld has always aspired to compatibility
9169         # with the native linker.  However, as the warning in the GNU ld
9170         # block says, versions before 2.19.5* couldn't really create working
9171         # shared libraries, regardless of the interface used.
9172         case `$LD -v 2>&1` in
9173           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9174           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9175           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9176           *)
9177             lt_use_gnu_ld_interface=yes
9178             ;;
9179         esac
9180         ;;
9181       *)
9182         lt_use_gnu_ld_interface=yes
9183         ;;
9184     esac
9185   fi
9186
9187   if test "$lt_use_gnu_ld_interface" = yes; then
9188     # If archive_cmds runs LD, not CC, wlarc should be empty
9189     wlarc='${wl}'
9190
9191     # Set some defaults for GNU ld with shared library support. These
9192     # are reset later if shared libraries are not supported. Putting them
9193     # here allows them to be overridden if necessary.
9194     runpath_var=LD_RUN_PATH
9195     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9196     export_dynamic_flag_spec='${wl}--export-dynamic'
9197     # ancient GNU ld didn't support --whole-archive et. al.
9198     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9199       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9200     else
9201       whole_archive_flag_spec=
9202     fi
9203     supports_anon_versioning=no
9204     case `$LD -v 2>&1` in
9205       *GNU\ gold*) supports_anon_versioning=yes ;;
9206       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9207       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9208       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9209       *\ 2.11.*) ;; # other 2.11 versions
9210       *) supports_anon_versioning=yes ;;
9211     esac
9212
9213     # See if GNU ld supports shared libraries.
9214     case $host_os in
9215     aix[3-9]*)
9216       # On AIX/PPC, the GNU linker is very broken
9217       if test "$host_cpu" != ia64; then
9218         ld_shlibs=no
9219         cat <<_LT_EOF 1>&2
9220
9221 *** Warning: the GNU linker, at least up to release 2.19, is reported
9222 *** to be unable to reliably create shared libraries on AIX.
9223 *** Therefore, libtool is disabling shared libraries support.  If you
9224 *** really care for shared libraries, you may want to install binutils
9225 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9226 *** You will then need to restart the configuration process.
9227
9228 _LT_EOF
9229       fi
9230       ;;
9231
9232     amigaos*)
9233       case $host_cpu in
9234       powerpc)
9235             # see comment about AmigaOS4 .so support
9236             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9237             archive_expsym_cmds=''
9238         ;;
9239       m68k)
9240             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)'
9241             hardcode_libdir_flag_spec='-L$libdir'
9242             hardcode_minus_L=yes
9243         ;;
9244       esac
9245       ;;
9246
9247     beos*)
9248       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9249         allow_undefined_flag=unsupported
9250         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9251         # support --undefined.  This deserves some investigation.  FIXME
9252         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9253       else
9254         ld_shlibs=no
9255       fi
9256       ;;
9257
9258     cygwin* | mingw* | pw32* | cegcc*)
9259       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9260       # as there is no search path for DLLs.
9261       hardcode_libdir_flag_spec='-L$libdir'
9262       export_dynamic_flag_spec='${wl}--export-all-symbols'
9263       allow_undefined_flag=unsupported
9264       always_export_symbols=no
9265       enable_shared_with_static_runtimes=yes
9266       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'
9267       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9268
9269       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9270         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9271         # If the export-symbols file already is a .def file (1st line
9272         # is EXPORTS), use it as is; otherwise, prepend...
9273         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9274           cp $export_symbols $output_objdir/$soname.def;
9275         else
9276           echo EXPORTS > $output_objdir/$soname.def;
9277           cat $export_symbols >> $output_objdir/$soname.def;
9278         fi~
9279         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9280       else
9281         ld_shlibs=no
9282       fi
9283       ;;
9284
9285     haiku*)
9286       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9287       link_all_deplibs=yes
9288       ;;
9289
9290     interix[3-9]*)
9291       hardcode_direct=no
9292       hardcode_shlibpath_var=no
9293       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9294       export_dynamic_flag_spec='${wl}-E'
9295       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9296       # Instead, shared libraries are loaded at an image base (0x10000000 by
9297       # default) and relocated if they conflict, which is a slow very memory
9298       # consuming and fragmenting process.  To avoid this, we pick a random,
9299       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9300       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9301       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9302       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'
9303       ;;
9304
9305     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9306       tmp_diet=no
9307       if test "$host_os" = linux-dietlibc; then
9308         case $cc_basename in
9309           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9310         esac
9311       fi
9312       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9313          && test "$tmp_diet" = no
9314       then
9315         tmp_addflag=' $pic_flag'
9316         tmp_sharedflag='-shared'
9317         case $cc_basename,$host_cpu in
9318         pgcc*)                          # Portland Group C compiler
9319           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'
9320           tmp_addflag=' $pic_flag'
9321           ;;
9322         pgf77* | pgf90* | pgf95* | pgfortran*)
9323                                         # Portland Group f77 and f90 compilers
9324           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'
9325           tmp_addflag=' $pic_flag -Mnomain' ;;
9326         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9327           tmp_addflag=' -i_dynamic' ;;
9328         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9329           tmp_addflag=' -i_dynamic -nofor_main' ;;
9330         ifc* | ifort*)                  # Intel Fortran compiler
9331           tmp_addflag=' -nofor_main' ;;
9332         lf95*)                          # Lahey Fortran 8.1
9333           whole_archive_flag_spec=
9334           tmp_sharedflag='--shared' ;;
9335         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9336           tmp_sharedflag='-qmkshrobj'
9337           tmp_addflag= ;;
9338         nvcc*)  # Cuda Compiler Driver 2.2
9339           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'
9340           compiler_needs_object=yes
9341           ;;
9342         esac
9343         case `$CC -V 2>&1 | sed 5q` in
9344         *Sun\ C*)                       # Sun C 5.9
9345           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'
9346           compiler_needs_object=yes
9347           tmp_sharedflag='-G' ;;
9348         *Sun\ F*)                       # Sun Fortran 8.3
9349           tmp_sharedflag='-G' ;;
9350         esac
9351         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9352
9353         if test "x$supports_anon_versioning" = xyes; then
9354           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9355             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9356             echo "local: *; };" >> $output_objdir/$libname.ver~
9357             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9358         fi
9359
9360         case $cc_basename in
9361         xlf* | bgf* | bgxlf* | mpixlf*)
9362           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9363           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9364           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9365           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9366           if test "x$supports_anon_versioning" = xyes; then
9367             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9368               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9369               echo "local: *; };" >> $output_objdir/$libname.ver~
9370               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9371           fi
9372           ;;
9373         esac
9374       else
9375         ld_shlibs=no
9376       fi
9377       ;;
9378
9379     netbsd*)
9380       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9381         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9382         wlarc=
9383       else
9384         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9385         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9386       fi
9387       ;;
9388
9389     solaris*)
9390       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9391         ld_shlibs=no
9392         cat <<_LT_EOF 1>&2
9393
9394 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9395 *** create shared libraries on Solaris systems.  Therefore, libtool
9396 *** is disabling shared libraries support.  We urge you to upgrade GNU
9397 *** binutils to release 2.9.1 or newer.  Another option is to modify
9398 *** your PATH or compiler configuration so that the native linker is
9399 *** used, and then restart.
9400
9401 _LT_EOF
9402       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9403         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9404         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9405       else
9406         ld_shlibs=no
9407       fi
9408       ;;
9409
9410     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9411       case `$LD -v 2>&1` in
9412         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9413         ld_shlibs=no
9414         cat <<_LT_EOF 1>&2
9415
9416 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9417 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9418 *** is disabling shared libraries support.  We urge you to upgrade GNU
9419 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9420 *** your PATH or compiler configuration so that the native linker is
9421 *** used, and then restart.
9422
9423 _LT_EOF
9424         ;;
9425         *)
9426           # For security reasons, it is highly recommended that you always
9427           # use absolute paths for naming shared libraries, and exclude the
9428           # DT_RUNPATH tag from executables and libraries.  But doing so
9429           # requires that you compile everything twice, which is a pain.
9430           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9431             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9432             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9433             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9434           else
9435             ld_shlibs=no
9436           fi
9437         ;;
9438       esac
9439       ;;
9440
9441     sunos4*)
9442       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9443       wlarc=
9444       hardcode_direct=yes
9445       hardcode_shlibpath_var=no
9446       ;;
9447
9448     *)
9449       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9450         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9451         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9452       else
9453         ld_shlibs=no
9454       fi
9455       ;;
9456     esac
9457
9458     if test "$ld_shlibs" = no; then
9459       runpath_var=
9460       hardcode_libdir_flag_spec=
9461       export_dynamic_flag_spec=
9462       whole_archive_flag_spec=
9463     fi
9464   else
9465     # PORTME fill in a description of your system's linker (not GNU ld)
9466     case $host_os in
9467     aix3*)
9468       allow_undefined_flag=unsupported
9469       always_export_symbols=yes
9470       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'
9471       # Note: this linker hardcodes the directories in LIBPATH if there
9472       # are no directories specified by -L.
9473       hardcode_minus_L=yes
9474       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9475         # Neither direct hardcoding nor static linking is supported with a
9476         # broken collect2.
9477         hardcode_direct=unsupported
9478       fi
9479       ;;
9480
9481     aix[4-9]*)
9482       if test "$host_cpu" = ia64; then
9483         # On IA64, the linker does run time linking by default, so we don't
9484         # have to do anything special.
9485         aix_use_runtimelinking=no
9486         exp_sym_flag='-Bexport'
9487         no_entry_flag=""
9488       else
9489         # If we're using GNU nm, then we don't want the "-C" option.
9490         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9491         # Also, AIX nm treats weak defined symbols like other global
9492         # defined symbols, whereas GNU nm marks them as "W".
9493         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9494           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'
9495         else
9496           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'
9497         fi
9498         aix_use_runtimelinking=no
9499
9500         # Test if we are trying to use run time linking or normal
9501         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9502         # need to do runtime linking.
9503         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9504           for ld_flag in $LDFLAGS; do
9505           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9506             aix_use_runtimelinking=yes
9507             break
9508           fi
9509           done
9510           ;;
9511         esac
9512
9513         exp_sym_flag='-bexport'
9514         no_entry_flag='-bnoentry'
9515       fi
9516
9517       # When large executables or shared objects are built, AIX ld can
9518       # have problems creating the table of contents.  If linking a library
9519       # or program results in "error TOC overflow" add -mminimal-toc to
9520       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9521       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9522
9523       archive_cmds=''
9524       hardcode_direct=yes
9525       hardcode_direct_absolute=yes
9526       hardcode_libdir_separator=':'
9527       link_all_deplibs=yes
9528       file_list_spec='${wl}-f,'
9529
9530       if test "$GCC" = yes; then
9531         case $host_os in aix4.[012]|aix4.[012].*)
9532         # We only want to do this on AIX 4.2 and lower, the check
9533         # below for broken collect2 doesn't work under 4.3+
9534           collect2name=`${CC} -print-prog-name=collect2`
9535           if test -f "$collect2name" &&
9536            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9537           then
9538           # We have reworked collect2
9539           :
9540           else
9541           # We have old collect2
9542           hardcode_direct=unsupported
9543           # It fails to find uninstalled libraries when the uninstalled
9544           # path is not listed in the libpath.  Setting hardcode_minus_L
9545           # to unsupported forces relinking
9546           hardcode_minus_L=yes
9547           hardcode_libdir_flag_spec='-L$libdir'
9548           hardcode_libdir_separator=
9549           fi
9550           ;;
9551         esac
9552         shared_flag='-shared'
9553         if test "$aix_use_runtimelinking" = yes; then
9554           shared_flag="$shared_flag "'${wl}-G'
9555         fi
9556       else
9557         # not using gcc
9558         if test "$host_cpu" = ia64; then
9559         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9560         # chokes on -Wl,-G. The following line is correct:
9561           shared_flag='-G'
9562         else
9563           if test "$aix_use_runtimelinking" = yes; then
9564             shared_flag='${wl}-G'
9565           else
9566             shared_flag='${wl}-bM:SRE'
9567           fi
9568         fi
9569       fi
9570
9571       export_dynamic_flag_spec='${wl}-bexpall'
9572       # It seems that -bexpall does not export symbols beginning with
9573       # underscore (_), so it is better to generate a list of symbols to export.
9574       always_export_symbols=yes
9575       if test "$aix_use_runtimelinking" = yes; then
9576         # Warning - without using the other runtime loading flags (-brtl),
9577         # -berok will link without error, but may produce a broken library.
9578         allow_undefined_flag='-berok'
9579         # Determine the default libpath from the value encoded in an
9580         # empty executable.
9581         if test "${lt_cv_aix_libpath+set}" = set; then
9582   aix_libpath=$lt_cv_aix_libpath
9583 else
9584   if ${lt_cv_aix_libpath_+:} false; then :
9585   $as_echo_n "(cached) " >&6
9586 else
9587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9588 /* end confdefs.h.  */
9589
9590 int
9591 main ()
9592 {
9593
9594   ;
9595   return 0;
9596 }
9597 _ACEOF
9598 if ac_fn_c_try_link "$LINENO"; then :
9599
9600   lt_aix_libpath_sed='
9601       /Import File Strings/,/^$/ {
9602           /^0/ {
9603               s/^0  *\([^ ]*\) *$/\1/
9604               p
9605           }
9606       }'
9607   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9608   # Check for a 64-bit object if we didn't find anything.
9609   if test -z "$lt_cv_aix_libpath_"; then
9610     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9611   fi
9612 fi
9613 rm -f core conftest.err conftest.$ac_objext \
9614     conftest$ac_exeext conftest.$ac_ext
9615   if test -z "$lt_cv_aix_libpath_"; then
9616     lt_cv_aix_libpath_="/usr/lib:/lib"
9617   fi
9618
9619 fi
9620
9621   aix_libpath=$lt_cv_aix_libpath_
9622 fi
9623
9624         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9625         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"
9626       else
9627         if test "$host_cpu" = ia64; then
9628           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9629           allow_undefined_flag="-z nodefs"
9630           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"
9631         else
9632          # Determine the default libpath from the value encoded in an
9633          # empty executable.
9634          if test "${lt_cv_aix_libpath+set}" = set; then
9635   aix_libpath=$lt_cv_aix_libpath
9636 else
9637   if ${lt_cv_aix_libpath_+:} false; then :
9638   $as_echo_n "(cached) " >&6
9639 else
9640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9641 /* end confdefs.h.  */
9642
9643 int
9644 main ()
9645 {
9646
9647   ;
9648   return 0;
9649 }
9650 _ACEOF
9651 if ac_fn_c_try_link "$LINENO"; then :
9652
9653   lt_aix_libpath_sed='
9654       /Import File Strings/,/^$/ {
9655           /^0/ {
9656               s/^0  *\([^ ]*\) *$/\1/
9657               p
9658           }
9659       }'
9660   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9661   # Check for a 64-bit object if we didn't find anything.
9662   if test -z "$lt_cv_aix_libpath_"; then
9663     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9664   fi
9665 fi
9666 rm -f core conftest.err conftest.$ac_objext \
9667     conftest$ac_exeext conftest.$ac_ext
9668   if test -z "$lt_cv_aix_libpath_"; then
9669     lt_cv_aix_libpath_="/usr/lib:/lib"
9670   fi
9671
9672 fi
9673
9674   aix_libpath=$lt_cv_aix_libpath_
9675 fi
9676
9677          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9678           # Warning - without using the other run time loading flags,
9679           # -berok will link without error, but may produce a broken library.
9680           no_undefined_flag=' ${wl}-bernotok'
9681           allow_undefined_flag=' ${wl}-berok'
9682           if test "$with_gnu_ld" = yes; then
9683             # We only use this code for GNU lds that support --whole-archive.
9684             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9685           else
9686             # Exported symbols can be pulled into shared objects from archives
9687             whole_archive_flag_spec='$convenience'
9688           fi
9689           archive_cmds_need_lc=yes
9690           # This is similar to how AIX traditionally builds its shared libraries.
9691           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'
9692         fi
9693       fi
9694       ;;
9695
9696     amigaos*)
9697       case $host_cpu in
9698       powerpc)
9699             # see comment about AmigaOS4 .so support
9700             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9701             archive_expsym_cmds=''
9702         ;;
9703       m68k)
9704             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)'
9705             hardcode_libdir_flag_spec='-L$libdir'
9706             hardcode_minus_L=yes
9707         ;;
9708       esac
9709       ;;
9710
9711     bsdi[45]*)
9712       export_dynamic_flag_spec=-rdynamic
9713       ;;
9714
9715     cygwin* | mingw* | pw32* | cegcc*)
9716       # When not using gcc, we currently assume that we are using
9717       # Microsoft Visual C++.
9718       # hardcode_libdir_flag_spec is actually meaningless, as there is
9719       # no search path for DLLs.
9720       case $cc_basename in
9721       cl*)
9722         # Native MSVC
9723         hardcode_libdir_flag_spec=' '
9724         allow_undefined_flag=unsupported
9725         always_export_symbols=yes
9726         file_list_spec='@'
9727         # Tell ltmain to make .lib files, not .a files.
9728         libext=lib
9729         # Tell ltmain to make .dll files, not .so files.
9730         shrext_cmds=".dll"
9731         # FIXME: Setting linknames here is a bad hack.
9732         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9733         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9734             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9735           else
9736             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9737           fi~
9738           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9739           linknames='
9740         # The linker will not automatically build a static lib if we build a DLL.
9741         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9742         enable_shared_with_static_runtimes=yes
9743         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9744         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9745         # Don't use ranlib
9746         old_postinstall_cmds='chmod 644 $oldlib'
9747         postlink_cmds='lt_outputfile="@OUTPUT@"~
9748           lt_tool_outputfile="@TOOL_OUTPUT@"~
9749           case $lt_outputfile in
9750             *.exe|*.EXE) ;;
9751             *)
9752               lt_outputfile="$lt_outputfile.exe"
9753               lt_tool_outputfile="$lt_tool_outputfile.exe"
9754               ;;
9755           esac~
9756           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9757             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9758             $RM "$lt_outputfile.manifest";
9759           fi'
9760         ;;
9761       *)
9762         # Assume MSVC wrapper
9763         hardcode_libdir_flag_spec=' '
9764         allow_undefined_flag=unsupported
9765         # Tell ltmain to make .lib files, not .a files.
9766         libext=lib
9767         # Tell ltmain to make .dll files, not .so files.
9768         shrext_cmds=".dll"
9769         # FIXME: Setting linknames here is a bad hack.
9770         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9771         # The linker will automatically build a .lib file if we build a DLL.
9772         old_archive_from_new_cmds='true'
9773         # FIXME: Should let the user specify the lib program.
9774         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9775         enable_shared_with_static_runtimes=yes
9776         ;;
9777       esac
9778       ;;
9779
9780     darwin* | rhapsody*)
9781
9782
9783   archive_cmds_need_lc=no
9784   hardcode_direct=no
9785   hardcode_automatic=yes
9786   hardcode_shlibpath_var=unsupported
9787   if test "$lt_cv_ld_force_load" = "yes"; then
9788     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\"`'
9789
9790   else
9791     whole_archive_flag_spec=''
9792   fi
9793   link_all_deplibs=yes
9794   allow_undefined_flag="$_lt_dar_allow_undefined"
9795   case $cc_basename in
9796      ifort*) _lt_dar_can_shared=yes ;;
9797      *) _lt_dar_can_shared=$GCC ;;
9798   esac
9799   if test "$_lt_dar_can_shared" = "yes"; then
9800     output_verbose_link_cmd=func_echo_all
9801     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9802     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9803     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}"
9804     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}"
9805
9806   else
9807   ld_shlibs=no
9808   fi
9809
9810       ;;
9811
9812     dgux*)
9813       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9814       hardcode_libdir_flag_spec='-L$libdir'
9815       hardcode_shlibpath_var=no
9816       ;;
9817
9818     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9819     # support.  Future versions do this automatically, but an explicit c++rt0.o
9820     # does not break anything, and helps significantly (at the cost of a little
9821     # extra space).
9822     freebsd2.2*)
9823       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9824       hardcode_libdir_flag_spec='-R$libdir'
9825       hardcode_direct=yes
9826       hardcode_shlibpath_var=no
9827       ;;
9828
9829     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9830     freebsd2.*)
9831       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9832       hardcode_direct=yes
9833       hardcode_minus_L=yes
9834       hardcode_shlibpath_var=no
9835       ;;
9836
9837     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9838     freebsd* | dragonfly*)
9839       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9840       hardcode_libdir_flag_spec='-R$libdir'
9841       hardcode_direct=yes
9842       hardcode_shlibpath_var=no
9843       ;;
9844
9845     hpux9*)
9846       if test "$GCC" = yes; then
9847         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'
9848       else
9849         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'
9850       fi
9851       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9852       hardcode_libdir_separator=:
9853       hardcode_direct=yes
9854
9855       # hardcode_minus_L: Not really in the search PATH,
9856       # but as the default location of the library.
9857       hardcode_minus_L=yes
9858       export_dynamic_flag_spec='${wl}-E'
9859       ;;
9860
9861     hpux10*)
9862       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9863         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9864       else
9865         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9866       fi
9867       if test "$with_gnu_ld" = no; then
9868         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9869         hardcode_libdir_separator=:
9870         hardcode_direct=yes
9871         hardcode_direct_absolute=yes
9872         export_dynamic_flag_spec='${wl}-E'
9873         # hardcode_minus_L: Not really in the search PATH,
9874         # but as the default location of the library.
9875         hardcode_minus_L=yes
9876       fi
9877       ;;
9878
9879     hpux11*)
9880       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9881         case $host_cpu in
9882         hppa*64*)
9883           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9884           ;;
9885         ia64*)
9886           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9887           ;;
9888         *)
9889           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9890           ;;
9891         esac
9892       else
9893         case $host_cpu in
9894         hppa*64*)
9895           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9896           ;;
9897         ia64*)
9898           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9899           ;;
9900         *)
9901
9902           # Older versions of the 11.00 compiler do not understand -b yet
9903           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9904           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9905 $as_echo_n "checking if $CC understands -b... " >&6; }
9906 if ${lt_cv_prog_compiler__b+:} false; then :
9907   $as_echo_n "(cached) " >&6
9908 else
9909   lt_cv_prog_compiler__b=no
9910    save_LDFLAGS="$LDFLAGS"
9911    LDFLAGS="$LDFLAGS -b"
9912    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9913    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9914      # The linker can only warn and ignore the option if not recognized
9915      # So say no if there are warnings
9916      if test -s conftest.err; then
9917        # Append any errors to the config.log.
9918        cat conftest.err 1>&5
9919        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9920        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9921        if diff conftest.exp conftest.er2 >/dev/null; then
9922          lt_cv_prog_compiler__b=yes
9923        fi
9924      else
9925        lt_cv_prog_compiler__b=yes
9926      fi
9927    fi
9928    $RM -r conftest*
9929    LDFLAGS="$save_LDFLAGS"
9930
9931 fi
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9933 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9934
9935 if test x"$lt_cv_prog_compiler__b" = xyes; then
9936     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9937 else
9938     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9939 fi
9940
9941           ;;
9942         esac
9943       fi
9944       if test "$with_gnu_ld" = no; then
9945         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9946         hardcode_libdir_separator=:
9947
9948         case $host_cpu in
9949         hppa*64*|ia64*)
9950           hardcode_direct=no
9951           hardcode_shlibpath_var=no
9952           ;;
9953         *)
9954           hardcode_direct=yes
9955           hardcode_direct_absolute=yes
9956           export_dynamic_flag_spec='${wl}-E'
9957
9958           # hardcode_minus_L: Not really in the search PATH,
9959           # but as the default location of the library.
9960           hardcode_minus_L=yes
9961           ;;
9962         esac
9963       fi
9964       ;;
9965
9966     irix5* | irix6* | nonstopux*)
9967       if test "$GCC" = yes; then
9968         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'
9969         # Try to use the -exported_symbol ld option, if it does not
9970         # work, assume that -exports_file does not work either and
9971         # implicitly export all symbols.
9972         # This should be the same for all languages, so no per-tag cache variable.
9973         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9974 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9975 if ${lt_cv_irix_exported_symbol+:} false; then :
9976   $as_echo_n "(cached) " >&6
9977 else
9978   save_LDFLAGS="$LDFLAGS"
9979            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9980            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9981 /* end confdefs.h.  */
9982 int foo (void) { return 0; }
9983 _ACEOF
9984 if ac_fn_c_try_link "$LINENO"; then :
9985   lt_cv_irix_exported_symbol=yes
9986 else
9987   lt_cv_irix_exported_symbol=no
9988 fi
9989 rm -f core conftest.err conftest.$ac_objext \
9990     conftest$ac_exeext conftest.$ac_ext
9991            LDFLAGS="$save_LDFLAGS"
9992 fi
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9994 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9995         if test "$lt_cv_irix_exported_symbol" = yes; then
9996           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'
9997         fi
9998       else
9999         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'
10000         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'
10001       fi
10002       archive_cmds_need_lc='no'
10003       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10004       hardcode_libdir_separator=:
10005       inherit_rpath=yes
10006       link_all_deplibs=yes
10007       ;;
10008
10009     netbsd*)
10010       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10011         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10012       else
10013         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10014       fi
10015       hardcode_libdir_flag_spec='-R$libdir'
10016       hardcode_direct=yes
10017       hardcode_shlibpath_var=no
10018       ;;
10019
10020     newsos6)
10021       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10022       hardcode_direct=yes
10023       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10024       hardcode_libdir_separator=:
10025       hardcode_shlibpath_var=no
10026       ;;
10027
10028     *nto* | *qnx*)
10029       ;;
10030
10031     openbsd*)
10032       if test -f /usr/libexec/ld.so; then
10033         hardcode_direct=yes
10034         hardcode_shlibpath_var=no
10035         hardcode_direct_absolute=yes
10036         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10037           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10038           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10039           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10040           export_dynamic_flag_spec='${wl}-E'
10041         else
10042           case $host_os in
10043            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10044              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10045              hardcode_libdir_flag_spec='-R$libdir'
10046              ;;
10047            *)
10048              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10049              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10050              ;;
10051           esac
10052         fi
10053       else
10054         ld_shlibs=no
10055       fi
10056       ;;
10057
10058     os2*)
10059       hardcode_libdir_flag_spec='-L$libdir'
10060       hardcode_minus_L=yes
10061       allow_undefined_flag=unsupported
10062       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'
10063       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10064       ;;
10065
10066     osf3*)
10067       if test "$GCC" = yes; then
10068         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10069         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'
10070       else
10071         allow_undefined_flag=' -expect_unresolved \*'
10072         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'
10073       fi
10074       archive_cmds_need_lc='no'
10075       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10076       hardcode_libdir_separator=:
10077       ;;
10078
10079     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10080       if test "$GCC" = yes; then
10081         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10082         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'
10083         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10084       else
10085         allow_undefined_flag=' -expect_unresolved \*'
10086         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'
10087         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~
10088         $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'
10089
10090         # Both c and cxx compiler support -rpath directly
10091         hardcode_libdir_flag_spec='-rpath $libdir'
10092       fi
10093       archive_cmds_need_lc='no'
10094       hardcode_libdir_separator=:
10095       ;;
10096
10097     solaris*)
10098       no_undefined_flag=' -z defs'
10099       if test "$GCC" = yes; then
10100         wlarc='${wl}'
10101         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10102         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10103           $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'
10104       else
10105         case `$CC -V 2>&1` in
10106         *"Compilers 5.0"*)
10107           wlarc=''
10108           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10109           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10110           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10111           ;;
10112         *)
10113           wlarc='${wl}'
10114           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10115           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10116           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10117           ;;
10118         esac
10119       fi
10120       hardcode_libdir_flag_spec='-R$libdir'
10121       hardcode_shlibpath_var=no
10122       case $host_os in
10123       solaris2.[0-5] | solaris2.[0-5].*) ;;
10124       *)
10125         # The compiler driver will combine and reorder linker options,
10126         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10127         # but is careful enough not to reorder.
10128         # Supported since Solaris 2.6 (maybe 2.5.1?)
10129         if test "$GCC" = yes; then
10130           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10131         else
10132           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10133         fi
10134         ;;
10135       esac
10136       link_all_deplibs=yes
10137       ;;
10138
10139     sunos4*)
10140       if test "x$host_vendor" = xsequent; then
10141         # Use $CC to link under sequent, because it throws in some extra .o
10142         # files that make .init and .fini sections work.
10143         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10144       else
10145         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10146       fi
10147       hardcode_libdir_flag_spec='-L$libdir'
10148       hardcode_direct=yes
10149       hardcode_minus_L=yes
10150       hardcode_shlibpath_var=no
10151       ;;
10152
10153     sysv4)
10154       case $host_vendor in
10155         sni)
10156           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10157           hardcode_direct=yes # is this really true???
10158         ;;
10159         siemens)
10160           ## LD is ld it makes a PLAMLIB
10161           ## CC just makes a GrossModule.
10162           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10163           reload_cmds='$CC -r -o $output$reload_objs'
10164           hardcode_direct=no
10165         ;;
10166         motorola)
10167           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10168           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10169         ;;
10170       esac
10171       runpath_var='LD_RUN_PATH'
10172       hardcode_shlibpath_var=no
10173       ;;
10174
10175     sysv4.3*)
10176       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10177       hardcode_shlibpath_var=no
10178       export_dynamic_flag_spec='-Bexport'
10179       ;;
10180
10181     sysv4*MP*)
10182       if test -d /usr/nec; then
10183         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10184         hardcode_shlibpath_var=no
10185         runpath_var=LD_RUN_PATH
10186         hardcode_runpath_var=yes
10187         ld_shlibs=yes
10188       fi
10189       ;;
10190
10191     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10192       no_undefined_flag='${wl}-z,text'
10193       archive_cmds_need_lc=no
10194       hardcode_shlibpath_var=no
10195       runpath_var='LD_RUN_PATH'
10196
10197       if test "$GCC" = yes; then
10198         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10199         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10200       else
10201         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10202         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10203       fi
10204       ;;
10205
10206     sysv5* | sco3.2v5* | sco5v6*)
10207       # Note: We can NOT use -z defs as we might desire, because we do not
10208       # link with -lc, and that would cause any symbols used from libc to
10209       # always be unresolved, which means just about no library would
10210       # ever link correctly.  If we're not using GNU ld we use -z text
10211       # though, which does catch some bad symbols but isn't as heavy-handed
10212       # as -z defs.
10213       no_undefined_flag='${wl}-z,text'
10214       allow_undefined_flag='${wl}-z,nodefs'
10215       archive_cmds_need_lc=no
10216       hardcode_shlibpath_var=no
10217       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10218       hardcode_libdir_separator=':'
10219       link_all_deplibs=yes
10220       export_dynamic_flag_spec='${wl}-Bexport'
10221       runpath_var='LD_RUN_PATH'
10222
10223       if test "$GCC" = yes; then
10224         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10225         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10226       else
10227         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10228         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10229       fi
10230       ;;
10231
10232     uts4*)
10233       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10234       hardcode_libdir_flag_spec='-L$libdir'
10235       hardcode_shlibpath_var=no
10236       ;;
10237
10238     *)
10239       ld_shlibs=no
10240       ;;
10241     esac
10242
10243     if test x$host_vendor = xsni; then
10244       case $host in
10245       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10246         export_dynamic_flag_spec='${wl}-Blargedynsym'
10247         ;;
10248       esac
10249     fi
10250   fi
10251
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10253 $as_echo "$ld_shlibs" >&6; }
10254 test "$ld_shlibs" = no && can_build_shared=no
10255
10256 with_gnu_ld=$with_gnu_ld
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272 #
10273 # Do we need to explicitly link libc?
10274 #
10275 case "x$archive_cmds_need_lc" in
10276 x|xyes)
10277   # Assume -lc should be added
10278   archive_cmds_need_lc=yes
10279
10280   if test "$enable_shared" = yes && test "$GCC" = yes; then
10281     case $archive_cmds in
10282     *'~'*)
10283       # FIXME: we may have to deal with multi-command sequences.
10284       ;;
10285     '$CC '*)
10286       # Test whether the compiler implicitly links with -lc since on some
10287       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10288       # to ld, don't add -lc before -lgcc.
10289       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10290 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10291 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10292   $as_echo_n "(cached) " >&6
10293 else
10294   $RM conftest*
10295         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10296
10297         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10298   (eval $ac_compile) 2>&5
10299   ac_status=$?
10300   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10301   test $ac_status = 0; } 2>conftest.err; then
10302           soname=conftest
10303           lib=conftest
10304           libobjs=conftest.$ac_objext
10305           deplibs=
10306           wl=$lt_prog_compiler_wl
10307           pic_flag=$lt_prog_compiler_pic
10308           compiler_flags=-v
10309           linker_flags=-v
10310           verstring=
10311           output_objdir=.
10312           libname=conftest
10313           lt_save_allow_undefined_flag=$allow_undefined_flag
10314           allow_undefined_flag=
10315           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10316   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10317   ac_status=$?
10318   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10319   test $ac_status = 0; }
10320           then
10321             lt_cv_archive_cmds_need_lc=no
10322           else
10323             lt_cv_archive_cmds_need_lc=yes
10324           fi
10325           allow_undefined_flag=$lt_save_allow_undefined_flag
10326         else
10327           cat conftest.err 1>&5
10328         fi
10329         $RM conftest*
10330
10331 fi
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10333 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10334       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10335       ;;
10336     esac
10337   fi
10338   ;;
10339 esac
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
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10493 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10494
10495 if test "$GCC" = yes; then
10496   case $host_os in
10497     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10498     *) lt_awk_arg="/^libraries:/" ;;
10499   esac
10500   case $host_os in
10501     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10502     *) lt_sed_strip_eq="s,=/,/,g" ;;
10503   esac
10504   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10505   case $lt_search_path_spec in
10506   *\;*)
10507     # if the path contains ";" then we assume it to be the separator
10508     # otherwise default to the standard path separator (i.e. ":") - it is
10509     # assumed that no part of a normal pathname contains ";" but that should
10510     # okay in the real world where ";" in dirpaths is itself problematic.
10511     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10512     ;;
10513   *)
10514     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10515     ;;
10516   esac
10517   # Ok, now we have the path, separated by spaces, we can step through it
10518   # and add multilib dir if necessary.
10519   lt_tmp_lt_search_path_spec=
10520   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10521   for lt_sys_path in $lt_search_path_spec; do
10522     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10523       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10524     else
10525       test -d "$lt_sys_path" && \
10526         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10527     fi
10528   done
10529   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10530 BEGIN {RS=" "; FS="/|\n";} {
10531   lt_foo="";
10532   lt_count=0;
10533   for (lt_i = NF; lt_i > 0; lt_i--) {
10534     if ($lt_i != "" && $lt_i != ".") {
10535       if ($lt_i == "..") {
10536         lt_count++;
10537       } else {
10538         if (lt_count == 0) {
10539           lt_foo="/" $lt_i lt_foo;
10540         } else {
10541           lt_count--;
10542         }
10543       }
10544     }
10545   }
10546   if (lt_foo != "") { lt_freq[lt_foo]++; }
10547   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10548 }'`
10549   # AWK program above erroneously prepends '/' to C:/dos/paths
10550   # for these hosts.
10551   case $host_os in
10552     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10553       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10554   esac
10555   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10556 else
10557   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10558 fi
10559 library_names_spec=
10560 libname_spec='lib$name'
10561 soname_spec=
10562 shrext_cmds=".so"
10563 postinstall_cmds=
10564 postuninstall_cmds=
10565 finish_cmds=
10566 finish_eval=
10567 shlibpath_var=
10568 shlibpath_overrides_runpath=unknown
10569 version_type=none
10570 dynamic_linker="$host_os ld.so"
10571 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10572 need_lib_prefix=unknown
10573 hardcode_into_libs=no
10574
10575 # when you set need_version to no, make sure it does not cause -set_version
10576 # flags to be left without arguments
10577 need_version=unknown
10578
10579 case $host_os in
10580 aix3*)
10581   version_type=linux # correct to gnu/linux during the next big refactor
10582   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10583   shlibpath_var=LIBPATH
10584
10585   # AIX 3 has no versioning support, so we append a major version to the name.
10586   soname_spec='${libname}${release}${shared_ext}$major'
10587   ;;
10588
10589 aix[4-9]*)
10590   version_type=linux # correct to gnu/linux during the next big refactor
10591   need_lib_prefix=no
10592   need_version=no
10593   hardcode_into_libs=yes
10594   if test "$host_cpu" = ia64; then
10595     # AIX 5 supports IA64
10596     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10597     shlibpath_var=LD_LIBRARY_PATH
10598   else
10599     # With GCC up to 2.95.x, collect2 would create an import file
10600     # for dependence libraries.  The import file would start with
10601     # the line `#! .'.  This would cause the generated library to
10602     # depend on `.', always an invalid library.  This was fixed in
10603     # development snapshots of GCC prior to 3.0.
10604     case $host_os in
10605       aix4 | aix4.[01] | aix4.[01].*)
10606       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10607            echo ' yes '
10608            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10609         :
10610       else
10611         can_build_shared=no
10612       fi
10613       ;;
10614     esac
10615     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10616     # soname into executable. Probably we can add versioning support to
10617     # collect2, so additional links can be useful in future.
10618     if test "$aix_use_runtimelinking" = yes; then
10619       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10620       # instead of lib<name>.a to let people know that these are not
10621       # typical AIX shared libraries.
10622       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10623     else
10624       # We preserve .a as extension for shared libraries through AIX4.2
10625       # and later when we are not doing run time linking.
10626       library_names_spec='${libname}${release}.a $libname.a'
10627       soname_spec='${libname}${release}${shared_ext}$major'
10628     fi
10629     shlibpath_var=LIBPATH
10630   fi
10631   ;;
10632
10633 amigaos*)
10634   case $host_cpu in
10635   powerpc)
10636     # Since July 2007 AmigaOS4 officially supports .so libraries.
10637     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10638     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10639     ;;
10640   m68k)
10641     library_names_spec='$libname.ixlibrary $libname.a'
10642     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10643     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'
10644     ;;
10645   esac
10646   ;;
10647
10648 beos*)
10649   library_names_spec='${libname}${shared_ext}'
10650   dynamic_linker="$host_os ld.so"
10651   shlibpath_var=LIBRARY_PATH
10652   ;;
10653
10654 bsdi[45]*)
10655   version_type=linux # correct to gnu/linux during the next big refactor
10656   need_version=no
10657   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10658   soname_spec='${libname}${release}${shared_ext}$major'
10659   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10660   shlibpath_var=LD_LIBRARY_PATH
10661   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10662   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10663   # the default ld.so.conf also contains /usr/contrib/lib and
10664   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10665   # libtool to hard-code these into programs
10666   ;;
10667
10668 cygwin* | mingw* | pw32* | cegcc*)
10669   version_type=windows
10670   shrext_cmds=".dll"
10671   need_version=no
10672   need_lib_prefix=no
10673
10674   case $GCC,$cc_basename in
10675   yes,*)
10676     # gcc
10677     library_names_spec='$libname.dll.a'
10678     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10679     postinstall_cmds='base_file=`basename \${file}`~
10680       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10681       dldir=$destdir/`dirname \$dlpath`~
10682       test -d \$dldir || mkdir -p \$dldir~
10683       $install_prog $dir/$dlname \$dldir/$dlname~
10684       chmod a+x \$dldir/$dlname~
10685       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10686         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10687       fi'
10688     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10689       dlpath=$dir/\$dldll~
10690        $RM \$dlpath'
10691     shlibpath_overrides_runpath=yes
10692
10693     case $host_os in
10694     cygwin*)
10695       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10696       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10697
10698       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10699       ;;
10700     mingw* | cegcc*)
10701       # MinGW DLLs use traditional 'lib' prefix
10702       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10703       ;;
10704     pw32*)
10705       # pw32 DLLs use 'pw' prefix rather than 'lib'
10706       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10707       ;;
10708     esac
10709     dynamic_linker='Win32 ld.exe'
10710     ;;
10711
10712   *,cl*)
10713     # Native MSVC
10714     libname_spec='$name'
10715     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10716     library_names_spec='${libname}.dll.lib'
10717
10718     case $build_os in
10719     mingw*)
10720       sys_lib_search_path_spec=
10721       lt_save_ifs=$IFS
10722       IFS=';'
10723       for lt_path in $LIB
10724       do
10725         IFS=$lt_save_ifs
10726         # Let DOS variable expansion print the short 8.3 style file name.
10727         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10728         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10729       done
10730       IFS=$lt_save_ifs
10731       # Convert to MSYS style.
10732       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10733       ;;
10734     cygwin*)
10735       # Convert to unix form, then to dos form, then back to unix form
10736       # but this time dos style (no spaces!) so that the unix form looks
10737       # like /cygdrive/c/PROGRA~1:/cygdr...
10738       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10739       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10740       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10741       ;;
10742     *)
10743       sys_lib_search_path_spec="$LIB"
10744       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10745         # It is most probably a Windows format PATH.
10746         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10747       else
10748         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10749       fi
10750       # FIXME: find the short name or the path components, as spaces are
10751       # common. (e.g. "Program Files" -> "PROGRA~1")
10752       ;;
10753     esac
10754
10755     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10756     postinstall_cmds='base_file=`basename \${file}`~
10757       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10758       dldir=$destdir/`dirname \$dlpath`~
10759       test -d \$dldir || mkdir -p \$dldir~
10760       $install_prog $dir/$dlname \$dldir/$dlname'
10761     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10762       dlpath=$dir/\$dldll~
10763        $RM \$dlpath'
10764     shlibpath_overrides_runpath=yes
10765     dynamic_linker='Win32 link.exe'
10766     ;;
10767
10768   *)
10769     # Assume MSVC wrapper
10770     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10771     dynamic_linker='Win32 ld.exe'
10772     ;;
10773   esac
10774   # FIXME: first we should search . and the directory the executable is in
10775   shlibpath_var=PATH
10776   ;;
10777
10778 darwin* | rhapsody*)
10779   dynamic_linker="$host_os dyld"
10780   version_type=darwin
10781   need_lib_prefix=no
10782   need_version=no
10783   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10784   soname_spec='${libname}${release}${major}$shared_ext'
10785   shlibpath_overrides_runpath=yes
10786   shlibpath_var=DYLD_LIBRARY_PATH
10787   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10788
10789   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10790   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10791   ;;
10792
10793 dgux*)
10794   version_type=linux # correct to gnu/linux during the next big refactor
10795   need_lib_prefix=no
10796   need_version=no
10797   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10798   soname_spec='${libname}${release}${shared_ext}$major'
10799   shlibpath_var=LD_LIBRARY_PATH
10800   ;;
10801
10802 freebsd* | dragonfly*)
10803   # DragonFly does not have aout.  When/if they implement a new
10804   # versioning mechanism, adjust this.
10805   if test -x /usr/bin/objformat; then
10806     objformat=`/usr/bin/objformat`
10807   else
10808     case $host_os in
10809     freebsd[23].*) objformat=aout ;;
10810     *) objformat=elf ;;
10811     esac
10812   fi
10813   version_type=freebsd-$objformat
10814   case $version_type in
10815     freebsd-elf*)
10816       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10817       need_version=no
10818       need_lib_prefix=no
10819       ;;
10820     freebsd-*)
10821       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10822       need_version=yes
10823       ;;
10824   esac
10825   shlibpath_var=LD_LIBRARY_PATH
10826   case $host_os in
10827   freebsd2.*)
10828     shlibpath_overrides_runpath=yes
10829     ;;
10830   freebsd3.[01]* | freebsdelf3.[01]*)
10831     shlibpath_overrides_runpath=yes
10832     hardcode_into_libs=yes
10833     ;;
10834   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10835   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10836     shlibpath_overrides_runpath=no
10837     hardcode_into_libs=yes
10838     ;;
10839   *) # from 4.6 on, and DragonFly
10840     shlibpath_overrides_runpath=yes
10841     hardcode_into_libs=yes
10842     ;;
10843   esac
10844   ;;
10845
10846 gnu*)
10847   version_type=linux # correct to gnu/linux during the next big refactor
10848   need_lib_prefix=no
10849   need_version=no
10850   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10851   soname_spec='${libname}${release}${shared_ext}$major'
10852   shlibpath_var=LD_LIBRARY_PATH
10853   shlibpath_overrides_runpath=no
10854   hardcode_into_libs=yes
10855   ;;
10856
10857 haiku*)
10858   version_type=linux # correct to gnu/linux during the next big refactor
10859   need_lib_prefix=no
10860   need_version=no
10861   dynamic_linker="$host_os runtime_loader"
10862   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10863   soname_spec='${libname}${release}${shared_ext}$major'
10864   shlibpath_var=LIBRARY_PATH
10865   shlibpath_overrides_runpath=yes
10866   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10867   hardcode_into_libs=yes
10868   ;;
10869
10870 hpux9* | hpux10* | hpux11*)
10871   # Give a soname corresponding to the major version so that dld.sl refuses to
10872   # link against other versions.
10873   version_type=sunos
10874   need_lib_prefix=no
10875   need_version=no
10876   case $host_cpu in
10877   ia64*)
10878     shrext_cmds='.so'
10879     hardcode_into_libs=yes
10880     dynamic_linker="$host_os dld.so"
10881     shlibpath_var=LD_LIBRARY_PATH
10882     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10883     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10884     soname_spec='${libname}${release}${shared_ext}$major'
10885     if test "X$HPUX_IA64_MODE" = X32; then
10886       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10887     else
10888       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10889     fi
10890     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10891     ;;
10892   hppa*64*)
10893     shrext_cmds='.sl'
10894     hardcode_into_libs=yes
10895     dynamic_linker="$host_os dld.sl"
10896     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10897     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10898     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10899     soname_spec='${libname}${release}${shared_ext}$major'
10900     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10901     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10902     ;;
10903   *)
10904     shrext_cmds='.sl'
10905     dynamic_linker="$host_os dld.sl"
10906     shlibpath_var=SHLIB_PATH
10907     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10908     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10909     soname_spec='${libname}${release}${shared_ext}$major'
10910     ;;
10911   esac
10912   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10913   postinstall_cmds='chmod 555 $lib'
10914   # or fails outright, so override atomically:
10915   install_override_mode=555
10916   ;;
10917
10918 interix[3-9]*)
10919   version_type=linux # correct to gnu/linux during the next big refactor
10920   need_lib_prefix=no
10921   need_version=no
10922   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10923   soname_spec='${libname}${release}${shared_ext}$major'
10924   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10925   shlibpath_var=LD_LIBRARY_PATH
10926   shlibpath_overrides_runpath=no
10927   hardcode_into_libs=yes
10928   ;;
10929
10930 irix5* | irix6* | nonstopux*)
10931   case $host_os in
10932     nonstopux*) version_type=nonstopux ;;
10933     *)
10934         if test "$lt_cv_prog_gnu_ld" = yes; then
10935                 version_type=linux # correct to gnu/linux during the next big refactor
10936         else
10937                 version_type=irix
10938         fi ;;
10939   esac
10940   need_lib_prefix=no
10941   need_version=no
10942   soname_spec='${libname}${release}${shared_ext}$major'
10943   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10944   case $host_os in
10945   irix5* | nonstopux*)
10946     libsuff= shlibsuff=
10947     ;;
10948   *)
10949     case $LD in # libtool.m4 will add one of these switches to LD
10950     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10951       libsuff= shlibsuff= libmagic=32-bit;;
10952     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10953       libsuff=32 shlibsuff=N32 libmagic=N32;;
10954     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10955       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10956     *) libsuff= shlibsuff= libmagic=never-match;;
10957     esac
10958     ;;
10959   esac
10960   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10961   shlibpath_overrides_runpath=no
10962   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10963   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10964   hardcode_into_libs=yes
10965   ;;
10966
10967 # No shared lib support for Linux oldld, aout, or coff.
10968 linux*oldld* | linux*aout* | linux*coff*)
10969   dynamic_linker=no
10970   ;;
10971
10972 # This must be glibc/ELF.
10973 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10974   version_type=linux # correct to gnu/linux during the next big refactor
10975   need_lib_prefix=no
10976   need_version=no
10977   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10978   soname_spec='${libname}${release}${shared_ext}$major'
10979   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10980   shlibpath_var=LD_LIBRARY_PATH
10981   shlibpath_overrides_runpath=no
10982
10983   # Some binutils ld are patched to set DT_RUNPATH
10984   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10985   $as_echo_n "(cached) " >&6
10986 else
10987   lt_cv_shlibpath_overrides_runpath=no
10988     save_LDFLAGS=$LDFLAGS
10989     save_libdir=$libdir
10990     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10991          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10992     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10993 /* end confdefs.h.  */
10994
10995 int
10996 main ()
10997 {
10998
10999   ;
11000   return 0;
11001 }
11002 _ACEOF
11003 if ac_fn_c_try_link "$LINENO"; then :
11004   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11005   lt_cv_shlibpath_overrides_runpath=yes
11006 fi
11007 fi
11008 rm -f core conftest.err conftest.$ac_objext \
11009     conftest$ac_exeext conftest.$ac_ext
11010     LDFLAGS=$save_LDFLAGS
11011     libdir=$save_libdir
11012
11013 fi
11014
11015   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11016
11017   # This implies no fast_install, which is unacceptable.
11018   # Some rework will be needed to allow for fast_install
11019   # before this can be enabled.
11020   hardcode_into_libs=yes
11021
11022   # Add ABI-specific directories to the system library path.
11023   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11024
11025   # Append ld.so.conf contents to the search path
11026   if test -f /etc/ld.so.conf; then
11027     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' ' '`
11028     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11029
11030   fi
11031
11032   # We used to test for /lib/ld.so.1 and disable shared libraries on
11033   # powerpc, because MkLinux only supported shared libraries with the
11034   # GNU dynamic linker.  Since this was broken with cross compilers,
11035   # most powerpc-linux boxes support dynamic linking these days and
11036   # people can always --disable-shared, the test was removed, and we
11037   # assume the GNU/Linux dynamic linker is in use.
11038   dynamic_linker='GNU/Linux ld.so'
11039   ;;
11040
11041 netbsd*)
11042   version_type=sunos
11043   need_lib_prefix=no
11044   need_version=no
11045   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11046     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11047     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11048     dynamic_linker='NetBSD (a.out) ld.so'
11049   else
11050     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11051     soname_spec='${libname}${release}${shared_ext}$major'
11052     dynamic_linker='NetBSD ld.elf_so'
11053   fi
11054   shlibpath_var=LD_LIBRARY_PATH
11055   shlibpath_overrides_runpath=yes
11056   hardcode_into_libs=yes
11057   ;;
11058
11059 newsos6)
11060   version_type=linux # correct to gnu/linux during the next big refactor
11061   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11062   shlibpath_var=LD_LIBRARY_PATH
11063   shlibpath_overrides_runpath=yes
11064   ;;
11065
11066 *nto* | *qnx*)
11067   version_type=qnx
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=no
11074   hardcode_into_libs=yes
11075   dynamic_linker='ldqnx.so'
11076   ;;
11077
11078 openbsd*)
11079   version_type=sunos
11080   sys_lib_dlsearch_path_spec="/usr/lib"
11081   need_lib_prefix=no
11082   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11083   case $host_os in
11084     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11085     *)                          need_version=no  ;;
11086   esac
11087   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11088   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11089   shlibpath_var=LD_LIBRARY_PATH
11090   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11091     case $host_os in
11092       openbsd2.[89] | openbsd2.[89].*)
11093         shlibpath_overrides_runpath=no
11094         ;;
11095       *)
11096         shlibpath_overrides_runpath=yes
11097         ;;
11098       esac
11099   else
11100     shlibpath_overrides_runpath=yes
11101   fi
11102   ;;
11103
11104 os2*)
11105   libname_spec='$name'
11106   shrext_cmds=".dll"
11107   need_lib_prefix=no
11108   library_names_spec='$libname${shared_ext} $libname.a'
11109   dynamic_linker='OS/2 ld.exe'
11110   shlibpath_var=LIBPATH
11111   ;;
11112
11113 osf3* | osf4* | osf5*)
11114   version_type=osf
11115   need_lib_prefix=no
11116   need_version=no
11117   soname_spec='${libname}${release}${shared_ext}$major'
11118   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11119   shlibpath_var=LD_LIBRARY_PATH
11120   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11121   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11122   ;;
11123
11124 rdos*)
11125   dynamic_linker=no
11126   ;;
11127
11128 solaris*)
11129   version_type=linux # correct to gnu/linux during the next big refactor
11130   need_lib_prefix=no
11131   need_version=no
11132   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11133   soname_spec='${libname}${release}${shared_ext}$major'
11134   shlibpath_var=LD_LIBRARY_PATH
11135   shlibpath_overrides_runpath=yes
11136   hardcode_into_libs=yes
11137   # ldd complains unless libraries are executable
11138   postinstall_cmds='chmod +x $lib'
11139   ;;
11140
11141 sunos4*)
11142   version_type=sunos
11143   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11144   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11145   shlibpath_var=LD_LIBRARY_PATH
11146   shlibpath_overrides_runpath=yes
11147   if test "$with_gnu_ld" = yes; then
11148     need_lib_prefix=no
11149   fi
11150   need_version=yes
11151   ;;
11152
11153 sysv4 | sysv4.3*)
11154   version_type=linux # correct to gnu/linux during the next big refactor
11155   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11156   soname_spec='${libname}${release}${shared_ext}$major'
11157   shlibpath_var=LD_LIBRARY_PATH
11158   case $host_vendor in
11159     sni)
11160       shlibpath_overrides_runpath=no
11161       need_lib_prefix=no
11162       runpath_var=LD_RUN_PATH
11163       ;;
11164     siemens)
11165       need_lib_prefix=no
11166       ;;
11167     motorola)
11168       need_lib_prefix=no
11169       need_version=no
11170       shlibpath_overrides_runpath=no
11171       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11172       ;;
11173   esac
11174   ;;
11175
11176 sysv4*MP*)
11177   if test -d /usr/nec ;then
11178     version_type=linux # correct to gnu/linux during the next big refactor
11179     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11180     soname_spec='$libname${shared_ext}.$major'
11181     shlibpath_var=LD_LIBRARY_PATH
11182   fi
11183   ;;
11184
11185 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11186   version_type=freebsd-elf
11187   need_lib_prefix=no
11188   need_version=no
11189   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11190   soname_spec='${libname}${release}${shared_ext}$major'
11191   shlibpath_var=LD_LIBRARY_PATH
11192   shlibpath_overrides_runpath=yes
11193   hardcode_into_libs=yes
11194   if test "$with_gnu_ld" = yes; then
11195     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11196   else
11197     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11198     case $host_os in
11199       sco3.2v5*)
11200         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11201         ;;
11202     esac
11203   fi
11204   sys_lib_dlsearch_path_spec='/usr/lib'
11205   ;;
11206
11207 tpf*)
11208   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11209   version_type=linux # correct to gnu/linux during the next big refactor
11210   need_lib_prefix=no
11211   need_version=no
11212   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11213   shlibpath_var=LD_LIBRARY_PATH
11214   shlibpath_overrides_runpath=no
11215   hardcode_into_libs=yes
11216   ;;
11217
11218 uts4*)
11219   version_type=linux # correct to gnu/linux during the next big refactor
11220   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11221   soname_spec='${libname}${release}${shared_ext}$major'
11222   shlibpath_var=LD_LIBRARY_PATH
11223   ;;
11224
11225 *)
11226   dynamic_linker=no
11227   ;;
11228 esac
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11230 $as_echo "$dynamic_linker" >&6; }
11231 test "$dynamic_linker" = no && can_build_shared=no
11232
11233 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11234 if test "$GCC" = yes; then
11235   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11236 fi
11237
11238 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11239   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11240 fi
11241 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11242   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11243 fi
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
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11337 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11338 hardcode_action=
11339 if test -n "$hardcode_libdir_flag_spec" ||
11340    test -n "$runpath_var" ||
11341    test "X$hardcode_automatic" = "Xyes" ; then
11342
11343   # We can hardcode non-existent directories.
11344   if test "$hardcode_direct" != no &&
11345      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11346      # have to relink, otherwise we might link with an installed library
11347      # when we should be linking with a yet-to-be-installed one
11348      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11349      test "$hardcode_minus_L" != no; then
11350     # Linking always hardcodes the temporary library directory.
11351     hardcode_action=relink
11352   else
11353     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11354     hardcode_action=immediate
11355   fi
11356 else
11357   # We cannot hardcode anything, or else we can only hardcode existing
11358   # directories.
11359   hardcode_action=unsupported
11360 fi
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11362 $as_echo "$hardcode_action" >&6; }
11363
11364 if test "$hardcode_action" = relink ||
11365    test "$inherit_rpath" = yes; then
11366   # Fast installation is not supported
11367   enable_fast_install=no
11368 elif test "$shlibpath_overrides_runpath" = yes ||
11369      test "$enable_shared" = no; then
11370   # Fast installation is not necessary
11371   enable_fast_install=needless
11372 fi
11373
11374
11375
11376
11377
11378
11379   if test "x$enable_dlopen" != xyes; then
11380   enable_dlopen=unknown
11381   enable_dlopen_self=unknown
11382   enable_dlopen_self_static=unknown
11383 else
11384   lt_cv_dlopen=no
11385   lt_cv_dlopen_libs=
11386
11387   case $host_os in
11388   beos*)
11389     lt_cv_dlopen="load_add_on"
11390     lt_cv_dlopen_libs=
11391     lt_cv_dlopen_self=yes
11392     ;;
11393
11394   mingw* | pw32* | cegcc*)
11395     lt_cv_dlopen="LoadLibrary"
11396     lt_cv_dlopen_libs=
11397     ;;
11398
11399   cygwin*)
11400     lt_cv_dlopen="dlopen"
11401     lt_cv_dlopen_libs=
11402     ;;
11403
11404   darwin*)
11405   # if libdl is installed we need to link against it
11406     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11407 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11408 if ${ac_cv_lib_dl_dlopen+:} false; then :
11409   $as_echo_n "(cached) " >&6
11410 else
11411   ac_check_lib_save_LIBS=$LIBS
11412 LIBS="-ldl  $LIBS"
11413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11414 /* end confdefs.h.  */
11415
11416 /* Override any GCC internal prototype to avoid an error.
11417    Use char because int might match the return type of a GCC
11418    builtin and then its argument prototype would still apply.  */
11419 #ifdef __cplusplus
11420 extern "C"
11421 #endif
11422 char dlopen ();
11423 int
11424 main ()
11425 {
11426 return dlopen ();
11427   ;
11428   return 0;
11429 }
11430 _ACEOF
11431 if ac_fn_c_try_link "$LINENO"; then :
11432   ac_cv_lib_dl_dlopen=yes
11433 else
11434   ac_cv_lib_dl_dlopen=no
11435 fi
11436 rm -f core conftest.err conftest.$ac_objext \
11437     conftest$ac_exeext conftest.$ac_ext
11438 LIBS=$ac_check_lib_save_LIBS
11439 fi
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11441 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11442 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11443   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11444 else
11445
11446     lt_cv_dlopen="dyld"
11447     lt_cv_dlopen_libs=
11448     lt_cv_dlopen_self=yes
11449
11450 fi
11451
11452     ;;
11453
11454   *)
11455     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11456 if test "x$ac_cv_func_shl_load" = xyes; then :
11457   lt_cv_dlopen="shl_load"
11458 else
11459   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11460 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11461 if ${ac_cv_lib_dld_shl_load+:} false; then :
11462   $as_echo_n "(cached) " >&6
11463 else
11464   ac_check_lib_save_LIBS=$LIBS
11465 LIBS="-ldld  $LIBS"
11466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11467 /* end confdefs.h.  */
11468
11469 /* Override any GCC internal prototype to avoid an error.
11470    Use char because int might match the return type of a GCC
11471    builtin and then its argument prototype would still apply.  */
11472 #ifdef __cplusplus
11473 extern "C"
11474 #endif
11475 char shl_load ();
11476 int
11477 main ()
11478 {
11479 return shl_load ();
11480   ;
11481   return 0;
11482 }
11483 _ACEOF
11484 if ac_fn_c_try_link "$LINENO"; then :
11485   ac_cv_lib_dld_shl_load=yes
11486 else
11487   ac_cv_lib_dld_shl_load=no
11488 fi
11489 rm -f core conftest.err conftest.$ac_objext \
11490     conftest$ac_exeext conftest.$ac_ext
11491 LIBS=$ac_check_lib_save_LIBS
11492 fi
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11494 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11495 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11496   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11497 else
11498   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11499 if test "x$ac_cv_func_dlopen" = xyes; then :
11500   lt_cv_dlopen="dlopen"
11501 else
11502   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11503 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11504 if ${ac_cv_lib_dl_dlopen+:} false; then :
11505   $as_echo_n "(cached) " >&6
11506 else
11507   ac_check_lib_save_LIBS=$LIBS
11508 LIBS="-ldl  $LIBS"
11509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11510 /* end confdefs.h.  */
11511
11512 /* Override any GCC internal prototype to avoid an error.
11513    Use char because int might match the return type of a GCC
11514    builtin and then its argument prototype would still apply.  */
11515 #ifdef __cplusplus
11516 extern "C"
11517 #endif
11518 char dlopen ();
11519 int
11520 main ()
11521 {
11522 return dlopen ();
11523   ;
11524   return 0;
11525 }
11526 _ACEOF
11527 if ac_fn_c_try_link "$LINENO"; then :
11528   ac_cv_lib_dl_dlopen=yes
11529 else
11530   ac_cv_lib_dl_dlopen=no
11531 fi
11532 rm -f core conftest.err conftest.$ac_objext \
11533     conftest$ac_exeext conftest.$ac_ext
11534 LIBS=$ac_check_lib_save_LIBS
11535 fi
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11537 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11538 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11539   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11540 else
11541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11542 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11543 if ${ac_cv_lib_svld_dlopen+:} false; then :
11544   $as_echo_n "(cached) " >&6
11545 else
11546   ac_check_lib_save_LIBS=$LIBS
11547 LIBS="-lsvld  $LIBS"
11548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11549 /* end confdefs.h.  */
11550
11551 /* Override any GCC internal prototype to avoid an error.
11552    Use char because int might match the return type of a GCC
11553    builtin and then its argument prototype would still apply.  */
11554 #ifdef __cplusplus
11555 extern "C"
11556 #endif
11557 char dlopen ();
11558 int
11559 main ()
11560 {
11561 return dlopen ();
11562   ;
11563   return 0;
11564 }
11565 _ACEOF
11566 if ac_fn_c_try_link "$LINENO"; then :
11567   ac_cv_lib_svld_dlopen=yes
11568 else
11569   ac_cv_lib_svld_dlopen=no
11570 fi
11571 rm -f core conftest.err conftest.$ac_objext \
11572     conftest$ac_exeext conftest.$ac_ext
11573 LIBS=$ac_check_lib_save_LIBS
11574 fi
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11576 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11577 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11578   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11579 else
11580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11581 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11582 if ${ac_cv_lib_dld_dld_link+:} false; then :
11583   $as_echo_n "(cached) " >&6
11584 else
11585   ac_check_lib_save_LIBS=$LIBS
11586 LIBS="-ldld  $LIBS"
11587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11588 /* end confdefs.h.  */
11589
11590 /* Override any GCC internal prototype to avoid an error.
11591    Use char because int might match the return type of a GCC
11592    builtin and then its argument prototype would still apply.  */
11593 #ifdef __cplusplus
11594 extern "C"
11595 #endif
11596 char dld_link ();
11597 int
11598 main ()
11599 {
11600 return dld_link ();
11601   ;
11602   return 0;
11603 }
11604 _ACEOF
11605 if ac_fn_c_try_link "$LINENO"; then :
11606   ac_cv_lib_dld_dld_link=yes
11607 else
11608   ac_cv_lib_dld_dld_link=no
11609 fi
11610 rm -f core conftest.err conftest.$ac_objext \
11611     conftest$ac_exeext conftest.$ac_ext
11612 LIBS=$ac_check_lib_save_LIBS
11613 fi
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11615 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11616 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11617   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11618 fi
11619
11620
11621 fi
11622
11623
11624 fi
11625
11626
11627 fi
11628
11629
11630 fi
11631
11632
11633 fi
11634
11635     ;;
11636   esac
11637
11638   if test "x$lt_cv_dlopen" != xno; then
11639     enable_dlopen=yes
11640   else
11641     enable_dlopen=no
11642   fi
11643
11644   case $lt_cv_dlopen in
11645   dlopen)
11646     save_CPPFLAGS="$CPPFLAGS"
11647     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11648
11649     save_LDFLAGS="$LDFLAGS"
11650     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11651
11652     save_LIBS="$LIBS"
11653     LIBS="$lt_cv_dlopen_libs $LIBS"
11654
11655     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11656 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11657 if ${lt_cv_dlopen_self+:} false; then :
11658   $as_echo_n "(cached) " >&6
11659 else
11660           if test "$cross_compiling" = yes; then :
11661   lt_cv_dlopen_self=cross
11662 else
11663   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11664   lt_status=$lt_dlunknown
11665   cat > conftest.$ac_ext <<_LT_EOF
11666 #line $LINENO "configure"
11667 #include "confdefs.h"
11668
11669 #if HAVE_DLFCN_H
11670 #include <dlfcn.h>
11671 #endif
11672
11673 #include <stdio.h>
11674
11675 #ifdef RTLD_GLOBAL
11676 #  define LT_DLGLOBAL           RTLD_GLOBAL
11677 #else
11678 #  ifdef DL_GLOBAL
11679 #    define LT_DLGLOBAL         DL_GLOBAL
11680 #  else
11681 #    define LT_DLGLOBAL         0
11682 #  endif
11683 #endif
11684
11685 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11686    find out it does not work in some platform. */
11687 #ifndef LT_DLLAZY_OR_NOW
11688 #  ifdef RTLD_LAZY
11689 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11690 #  else
11691 #    ifdef DL_LAZY
11692 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11693 #    else
11694 #      ifdef RTLD_NOW
11695 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11696 #      else
11697 #        ifdef DL_NOW
11698 #          define LT_DLLAZY_OR_NOW      DL_NOW
11699 #        else
11700 #          define LT_DLLAZY_OR_NOW      0
11701 #        endif
11702 #      endif
11703 #    endif
11704 #  endif
11705 #endif
11706
11707 /* When -fvisbility=hidden is used, assume the code has been annotated
11708    correspondingly for the symbols needed.  */
11709 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11710 int fnord () __attribute__((visibility("default")));
11711 #endif
11712
11713 int fnord () { return 42; }
11714 int main ()
11715 {
11716   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11717   int status = $lt_dlunknown;
11718
11719   if (self)
11720     {
11721       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11722       else
11723         {
11724           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11725           else puts (dlerror ());
11726         }
11727       /* dlclose (self); */
11728     }
11729   else
11730     puts (dlerror ());
11731
11732   return status;
11733 }
11734 _LT_EOF
11735   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11736   (eval $ac_link) 2>&5
11737   ac_status=$?
11738   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11739   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11740     (./conftest; exit; ) >&5 2>/dev/null
11741     lt_status=$?
11742     case x$lt_status in
11743       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11744       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11745       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11746     esac
11747   else :
11748     # compilation failed
11749     lt_cv_dlopen_self=no
11750   fi
11751 fi
11752 rm -fr conftest*
11753
11754
11755 fi
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11757 $as_echo "$lt_cv_dlopen_self" >&6; }
11758
11759     if test "x$lt_cv_dlopen_self" = xyes; then
11760       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11761       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11762 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11763 if ${lt_cv_dlopen_self_static+:} false; then :
11764   $as_echo_n "(cached) " >&6
11765 else
11766           if test "$cross_compiling" = yes; then :
11767   lt_cv_dlopen_self_static=cross
11768 else
11769   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11770   lt_status=$lt_dlunknown
11771   cat > conftest.$ac_ext <<_LT_EOF
11772 #line $LINENO "configure"
11773 #include "confdefs.h"
11774
11775 #if HAVE_DLFCN_H
11776 #include <dlfcn.h>
11777 #endif
11778
11779 #include <stdio.h>
11780
11781 #ifdef RTLD_GLOBAL
11782 #  define LT_DLGLOBAL           RTLD_GLOBAL
11783 #else
11784 #  ifdef DL_GLOBAL
11785 #    define LT_DLGLOBAL         DL_GLOBAL
11786 #  else
11787 #    define LT_DLGLOBAL         0
11788 #  endif
11789 #endif
11790
11791 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11792    find out it does not work in some platform. */
11793 #ifndef LT_DLLAZY_OR_NOW
11794 #  ifdef RTLD_LAZY
11795 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11796 #  else
11797 #    ifdef DL_LAZY
11798 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11799 #    else
11800 #      ifdef RTLD_NOW
11801 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11802 #      else
11803 #        ifdef DL_NOW
11804 #          define LT_DLLAZY_OR_NOW      DL_NOW
11805 #        else
11806 #          define LT_DLLAZY_OR_NOW      0
11807 #        endif
11808 #      endif
11809 #    endif
11810 #  endif
11811 #endif
11812
11813 /* When -fvisbility=hidden is used, assume the code has been annotated
11814    correspondingly for the symbols needed.  */
11815 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11816 int fnord () __attribute__((visibility("default")));
11817 #endif
11818
11819 int fnord () { return 42; }
11820 int main ()
11821 {
11822   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11823   int status = $lt_dlunknown;
11824
11825   if (self)
11826     {
11827       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11828       else
11829         {
11830           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11831           else puts (dlerror ());
11832         }
11833       /* dlclose (self); */
11834     }
11835   else
11836     puts (dlerror ());
11837
11838   return status;
11839 }
11840 _LT_EOF
11841   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11842   (eval $ac_link) 2>&5
11843   ac_status=$?
11844   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11845   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11846     (./conftest; exit; ) >&5 2>/dev/null
11847     lt_status=$?
11848     case x$lt_status in
11849       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11850       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11851       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11852     esac
11853   else :
11854     # compilation failed
11855     lt_cv_dlopen_self_static=no
11856   fi
11857 fi
11858 rm -fr conftest*
11859
11860
11861 fi
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11863 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11864     fi
11865
11866     CPPFLAGS="$save_CPPFLAGS"
11867     LDFLAGS="$save_LDFLAGS"
11868     LIBS="$save_LIBS"
11869     ;;
11870   esac
11871
11872   case $lt_cv_dlopen_self in
11873   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11874   *) enable_dlopen_self=unknown ;;
11875   esac
11876
11877   case $lt_cv_dlopen_self_static in
11878   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11879   *) enable_dlopen_self_static=unknown ;;
11880   esac
11881 fi
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899 striplib=
11900 old_striplib=
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11902 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11903 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11904   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11905   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11907 $as_echo "yes" >&6; }
11908 else
11909 # FIXME - insert some real tests, host_os isn't really good enough
11910   case $host_os in
11911   darwin*)
11912     if test -n "$STRIP" ; then
11913       striplib="$STRIP -x"
11914       old_striplib="$STRIP -S"
11915       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11916 $as_echo "yes" >&6; }
11917     else
11918       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11919 $as_echo "no" >&6; }
11920     fi
11921     ;;
11922   *)
11923     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11924 $as_echo "no" >&6; }
11925     ;;
11926   esac
11927 fi
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940   # Report which library types will actually be built
11941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11942 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11944 $as_echo "$can_build_shared" >&6; }
11945
11946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11947 $as_echo_n "checking whether to build shared libraries... " >&6; }
11948   test "$can_build_shared" = "no" && enable_shared=no
11949
11950   # On AIX, shared libraries and static libraries use the same namespace, and
11951   # are all built from PIC.
11952   case $host_os in
11953   aix3*)
11954     test "$enable_shared" = yes && enable_static=no
11955     if test -n "$RANLIB"; then
11956       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11957       postinstall_cmds='$RANLIB $lib'
11958     fi
11959     ;;
11960
11961   aix[4-9]*)
11962     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11963       test "$enable_shared" = yes && enable_static=no
11964     fi
11965     ;;
11966   esac
11967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11968 $as_echo "$enable_shared" >&6; }
11969
11970   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11971 $as_echo_n "checking whether to build static libraries... " >&6; }
11972   # Make sure either enable_shared or enable_static is yes.
11973   test "$enable_shared" = yes || enable_static=yes
11974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11975 $as_echo "$enable_static" >&6; }
11976
11977
11978
11979
11980 fi
11981 ac_ext=c
11982 ac_cpp='$CPP $CPPFLAGS'
11983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11986
11987 CC="$lt_save_CC"
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003         ac_config_commands="$ac_config_commands libtool"
12004
12005
12006
12007
12008 # Only expand once:
12009
12010
12011
12012 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12013 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12014
12015
12016
12017 cat >>confdefs.h <<_ACEOF
12018 #define VMAJ 1
12019 _ACEOF
12020
12021
12022 cat >>confdefs.h <<_ACEOF
12023 #define VMIN 7
12024 _ACEOF
12025
12026
12027 cat >>confdefs.h <<_ACEOF
12028 #define VMIC 8
12029 _ACEOF
12030
12031
12032 cat >>confdefs.h <<_ACEOF
12033 #define VREV 0
12034 _ACEOF
12035
12036 version_info="8:8:7"
12037 release_info=""
12038
12039
12040 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12041 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12042 VMAJ=1
12043
12044
12045
12046 cat >>confdefs.h <<_ACEOF
12047 #define SHARED_LIB_SUFFIX "$shrext_cmds"
12048 _ACEOF
12049
12050
12051 ### Default options with respect to host
12052
12053
12054
12055
12056 case "$host_os" in
12057    mingw32ce*)
12058       MODULE_ARCH="$host_os-$host_cpu"
12059       install_vim="no"
12060       have_edje_cc="no"
12061       ;;
12062    *)
12063       MODULE_ARCH="$host_os-$host_cpu-1.0.0"
12064       install_vim="yes"
12065       have_edje_cc="yes"
12066       ;;
12067 esac
12068
12069 requirement_edje=""
12070
12071
12072
12073 cat >>confdefs.h <<_ACEOF
12074 #define MODULE_ARCH "${MODULE_ARCH}"
12075 _ACEOF
12076
12077
12078 ### Additional options to configure
12079
12080 # Check whether --enable-amalgamation was given.
12081 if test "${enable_amalgamation+set}" = set; then :
12082   enableval=$enable_amalgamation; if test "x${enableval}" = "xyes"; then
12083        do_amalgamation="yes"
12084     else
12085        do_amalgamation="no"
12086     fi
12087
12088 else
12089   do_amalgamation="no"
12090
12091 fi
12092
12093  if test "x${do_amalgamation}" = "xyes"; then
12094   EDJE_AMALGAMATION_TRUE=
12095   EDJE_AMALGAMATION_FALSE='#'
12096 else
12097   EDJE_AMALGAMATION_TRUE='#'
12098   EDJE_AMALGAMATION_FALSE=
12099 fi
12100
12101
12102
12103
12104
12105
12106
12107 # Check whether --with-edje-cc was given.
12108 if test "${with_edje_cc+set}" = set; then :
12109   withval=$with_edje_cc; _efl_with_binary=${withval}
12110 else
12111   _efl_with_binary=$(pkg-config --variable=prefix edje)/bin/edje_cc
12112 fi
12113
12114
12115 edje_cc=${_efl_with_binary}
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: edje_cc set to ${_efl_with_binary}" >&5
12117 $as_echo "$as_me: edje_cc set to ${_efl_with_binary}" >&6;}
12118
12119 with_binary_edje_cc=${_efl_with_binary}
12120
12121
12122
12123
12124
12125
12126
12127
12128 have_edje_cc="yes"
12129
12130
12131 # Check whether --enable-edje-cc was given.
12132 if test "${enable_edje_cc+set}" = set; then :
12133   enableval=$enable_edje_cc;
12134     if test "x${enableval}" = "xyes" ; then
12135        have_edje_cc="yes"
12136     else
12137        have_edje_cc="no"
12138     fi
12139
12140 fi
12141
12142
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_cc binary" >&5
12144 $as_echo_n "checking whether to build edje_cc binary... " >&6; }
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_cc" >&5
12146 $as_echo "$have_edje_cc" >&6; }
12147
12148 if test "x$have_edje_cc" = "xyes"; then
12149    EDJE_CC_PRG=edje_cc${EXEEXT}
12150 fi
12151
12152
12153
12154  if test "x$have_edje_cc" = "xyes"; then
12155   BUILD_EDJE_CC_TRUE=
12156   BUILD_EDJE_CC_FALSE='#'
12157 else
12158   BUILD_EDJE_CC_TRUE='#'
12159   BUILD_EDJE_CC_FALSE=
12160 fi
12161
12162
12163 if test "x$have_edje_cc" = "xyes"; then :
12164
12165 fi
12166
12167
12168
12169
12170
12171 have_edje_decc="yes"
12172
12173
12174 # Check whether --enable-edje-decc was given.
12175 if test "${enable_edje_decc+set}" = set; then :
12176   enableval=$enable_edje_decc;
12177     if test "x${enableval}" = "xyes" ; then
12178        have_edje_decc="yes"
12179     else
12180        have_edje_decc="no"
12181     fi
12182
12183 fi
12184
12185
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_decc binary" >&5
12187 $as_echo_n "checking whether to build edje_decc binary... " >&6; }
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_decc" >&5
12189 $as_echo "$have_edje_decc" >&6; }
12190
12191 if test "x$have_edje_decc" = "xyes"; then
12192    EDJE_DECC_PRG=edje_decc${EXEEXT}
12193 fi
12194
12195
12196
12197  if test "x$have_edje_decc" = "xyes"; then
12198   BUILD_EDJE_DECC_TRUE=
12199   BUILD_EDJE_DECC_FALSE='#'
12200 else
12201   BUILD_EDJE_DECC_TRUE='#'
12202   BUILD_EDJE_DECC_FALSE=
12203 fi
12204
12205
12206 if test "x$have_edje_decc" = "xyes"; then :
12207
12208 fi
12209
12210
12211
12212
12213
12214 have_edje_recc="yes"
12215
12216
12217 # Check whether --enable-edje-recc was given.
12218 if test "${enable_edje_recc+set}" = set; then :
12219   enableval=$enable_edje_recc;
12220     if test "x${enableval}" = "xyes" ; then
12221        have_edje_recc="yes"
12222     else
12223        have_edje_recc="no"
12224     fi
12225
12226 fi
12227
12228
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_recc binary" >&5
12230 $as_echo_n "checking whether to build edje_recc binary... " >&6; }
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_recc" >&5
12232 $as_echo "$have_edje_recc" >&6; }
12233
12234 if test "x$have_edje_recc" = "xyes"; then
12235    EDJE_RECC_PRG=edje_recc${EXEEXT}
12236 fi
12237
12238
12239
12240  if test "x$have_edje_recc" = "xyes"; then
12241   BUILD_EDJE_RECC_TRUE=
12242   BUILD_EDJE_RECC_FALSE='#'
12243 else
12244   BUILD_EDJE_RECC_TRUE='#'
12245   BUILD_EDJE_RECC_FALSE=
12246 fi
12247
12248
12249 if test "x$have_edje_recc" = "xyes"; then :
12250
12251 fi
12252
12253
12254
12255
12256
12257 have_edje_player="yes"
12258
12259
12260 # Check whether --enable-edje-player was given.
12261 if test "${enable_edje_player+set}" = set; then :
12262   enableval=$enable_edje_player;
12263     if test "x${enableval}" = "xyes" ; then
12264        have_edje_player="yes"
12265     else
12266        have_edje_player="no"
12267     fi
12268
12269 fi
12270
12271
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_player binary" >&5
12273 $as_echo_n "checking whether to build edje_player binary... " >&6; }
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_player" >&5
12275 $as_echo "$have_edje_player" >&6; }
12276
12277 if test "x$have_edje_player" = "xyes"; then
12278    EDJE_PLAYER_PRG=edje_player${EXEEXT}
12279 fi
12280
12281
12282
12283  if test "x$have_edje_player" = "xyes"; then
12284   BUILD_EDJE_PLAYER_TRUE=
12285   BUILD_EDJE_PLAYER_FALSE='#'
12286 else
12287   BUILD_EDJE_PLAYER_TRUE='#'
12288   BUILD_EDJE_PLAYER_FALSE=
12289 fi
12290
12291
12292 if test "x$have_edje_player" = "xyes"; then :
12293
12294 fi
12295
12296
12297
12298
12299
12300 have_edje_inspector="yes"
12301
12302
12303 # Check whether --enable-edje-inspector was given.
12304 if test "${enable_edje_inspector+set}" = set; then :
12305   enableval=$enable_edje_inspector;
12306     if test "x${enableval}" = "xyes" ; then
12307        have_edje_inspector="yes"
12308     else
12309        have_edje_inspector="no"
12310     fi
12311
12312 fi
12313
12314
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_inspector binary" >&5
12316 $as_echo_n "checking whether to build edje_inspector binary... " >&6; }
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_inspector" >&5
12318 $as_echo "$have_edje_inspector" >&6; }
12319
12320 if test "x$have_edje_inspector" = "xyes"; then
12321    EDJE_INSPECTOR_PRG=edje_inspector${EXEEXT}
12322 fi
12323
12324
12325
12326  if test "x$have_edje_inspector" = "xyes"; then
12327   BUILD_EDJE_INSPECTOR_TRUE=
12328   BUILD_EDJE_INSPECTOR_FALSE='#'
12329 else
12330   BUILD_EDJE_INSPECTOR_TRUE='#'
12331   BUILD_EDJE_INSPECTOR_FALSE=
12332 fi
12333
12334
12335 if test "x$have_edje_inspector" = "xyes"; then :
12336
12337 fi
12338
12339
12340
12341
12342
12343 have_edje_external_inspector="yes"
12344
12345
12346 # Check whether --enable-edje-external-inspector was given.
12347 if test "${enable_edje_external_inspector+set}" = set; then :
12348   enableval=$enable_edje_external_inspector;
12349     if test "x${enableval}" = "xyes" ; then
12350        have_edje_external_inspector="yes"
12351     else
12352        have_edje_external_inspector="no"
12353     fi
12354
12355 fi
12356
12357
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_external_inspector binary" >&5
12359 $as_echo_n "checking whether to build edje_external_inspector binary... " >&6; }
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_external_inspector" >&5
12361 $as_echo "$have_edje_external_inspector" >&6; }
12362
12363 if test "x$have_edje_external_inspector" = "xyes"; then
12364    EDJE_EXTERNAL_INSPECTOR_PRG=edje_external_inspector${EXEEXT}
12365 fi
12366
12367
12368
12369  if test "x$have_edje_external_inspector" = "xyes"; then
12370   BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE=
12371   BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE='#'
12372 else
12373   BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE='#'
12374   BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE=
12375 fi
12376
12377
12378 if test "x$have_edje_external_inspector" = "xyes"; then :
12379
12380 fi
12381
12382
12383
12384
12385
12386 have_edje_watch="yes"
12387
12388
12389 # Check whether --enable-edje-watch was given.
12390 if test "${enable_edje_watch+set}" = set; then :
12391   enableval=$enable_edje_watch;
12392     if test "x${enableval}" = "xyes" ; then
12393        have_edje_watch="yes"
12394     else
12395        have_edje_watch="no"
12396     fi
12397
12398 fi
12399
12400
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_watch binary" >&5
12402 $as_echo_n "checking whether to build edje_watch binary... " >&6; }
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_watch" >&5
12404 $as_echo "$have_edje_watch" >&6; }
12405
12406 if test "x$have_edje_watch" = "xyes"; then
12407    EDJE_WATCH_PRG=edje_watch${EXEEXT}
12408 fi
12409
12410
12411
12412  if test "x$have_edje_watch" = "xyes"; then
12413   BUILD_EDJE_WATCH_TRUE=
12414   BUILD_EDJE_WATCH_FALSE='#'
12415 else
12416   BUILD_EDJE_WATCH_TRUE='#'
12417   BUILD_EDJE_WATCH_FALSE=
12418 fi
12419
12420
12421 if test "x$have_edje_watch" = "xyes"; then :
12422
12423 fi
12424
12425
12426
12427 # Optional EDJE_PROGRAM_CACHE (use much more ram, but increase speed in some cases)
12428 want_edje_program_cache="no"
12429
12430 # Check whether --enable-edje-program-cache was given.
12431 if test "${enable_edje_program_cache+set}" = set; then :
12432   enableval=$enable_edje_program_cache; want_edje_program_cache=$enableval
12433
12434 fi
12435
12436  if test "x${want_edje_program_cache}" = "xyes"; then
12437   EDJE_PROGRAM_CACHE_TRUE=
12438   EDJE_PROGRAM_CACHE_FALSE='#'
12439 else
12440   EDJE_PROGRAM_CACHE_TRUE='#'
12441   EDJE_PROGRAM_CACHE_FALSE=
12442 fi
12443
12444
12445 if test "x${want_edje_program_cache}" = "xyes" ; then
12446
12447 $as_echo "#define EDJE_PROGRAM_CACHE 1" >>confdefs.h
12448
12449 fi
12450
12451 # Optional EDJE_CALC_CACHE (use more ram, but increase speed by reducing the need to recalculate static stuff)
12452 want_edje_calc_cache="yes"
12453
12454 # Check whether --enable-edje-calc-cache was given.
12455 if test "${enable_edje_calc_cache+set}" = set; then :
12456   enableval=$enable_edje_calc_cache; want_edje_calc_cache=$enableval
12457
12458 fi
12459
12460  if test "x${want_edje_calc_cache}" = "xyes"; then
12461   EDJE_CALC_CACHE_TRUE=
12462   EDJE_CALC_CACHE_FALSE='#'
12463 else
12464   EDJE_CALC_CACHE_TRUE='#'
12465   EDJE_CALC_CACHE_FALSE=
12466 fi
12467
12468
12469 if test "x${want_edje_calc_cache}" = "xyes" ; then
12470
12471 $as_echo "#define EDJE_CALC_CACHE 1" >>confdefs.h
12472
12473 fi
12474
12475 # Enable Fixed Point use
12476 want_fixed_point="no"
12477
12478 # Check whether --enable-fixed-point was given.
12479 if test "${enable_fixed_point+set}" = set; then :
12480   enableval=$enable_fixed_point; want_fixed_point=$enableval
12481
12482 fi
12483
12484  if test "x${want_fixed_point}" = "xyes"; then
12485   BUILD_EDJE_FP_TRUE=
12486   BUILD_EDJE_FP_FALSE='#'
12487 else
12488   BUILD_EDJE_FP_TRUE='#'
12489   BUILD_EDJE_FP_FALSE=
12490 fi
12491
12492
12493 if test "x${want_fixed_point}" = "xyes" ; then
12494
12495 $as_echo "#define BUILD_EDJE_FP 1" >>confdefs.h
12496
12497 fi
12498
12499 install_vim="yes"
12500
12501 # Check whether --with-vim was given.
12502 if test "${with_vim+set}" = set; then :
12503   withval=$with_vim;
12504      if test -d "${withval}"; then
12505         vimdir="${withval}"
12506      fi
12507
12508
12509 fi
12510
12511
12512 if test "x${vimdir}" = "x" ; then
12513    if test -d "${prefix}/share/vim"; then
12514       vimdir="${prefix}/share/vim"
12515    elif test -d "/usr/share/vim"; then
12516       vimdir="/usr/share/vim"
12517    elif test -d "/usr/local/share/vim"; then
12518       vimdir="/usr/local/share/vim"
12519    elif test -d "/opt/share/vim"; then
12520       vimdir="/opt/share/vim"
12521    else
12522       install_vim="no"
12523    fi
12524 fi
12525
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for location of Vim data files" >&5
12527 $as_echo_n "checking for location of Vim data files... " >&6; }
12528
12529 if test "${install_vim}" = "yes"; then
12530    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vimdir" >&5
12531 $as_echo "$vimdir" >&6; }
12532 else
12533    { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found, EDC syntax file will not be installed" >&5
12534 $as_echo "Not found, EDC syntax file will not be installed" >&6; }
12535 fi
12536
12537
12538
12539 ### Checks for programs
12540 ac_ext=c
12541 ac_cpp='$CPP $CPPFLAGS'
12542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12545 if test -n "$ac_tool_prefix"; then
12546   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12547 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12549 $as_echo_n "checking for $ac_word... " >&6; }
12550 if ${ac_cv_prog_CC+:} false; then :
12551   $as_echo_n "(cached) " >&6
12552 else
12553   if test -n "$CC"; then
12554   ac_cv_prog_CC="$CC" # Let the user override the test.
12555 else
12556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12557 for as_dir in $PATH
12558 do
12559   IFS=$as_save_IFS
12560   test -z "$as_dir" && as_dir=.
12561     for ac_exec_ext in '' $ac_executable_extensions; do
12562   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12563     ac_cv_prog_CC="${ac_tool_prefix}gcc"
12564     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12565     break 2
12566   fi
12567 done
12568   done
12569 IFS=$as_save_IFS
12570
12571 fi
12572 fi
12573 CC=$ac_cv_prog_CC
12574 if test -n "$CC"; then
12575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12576 $as_echo "$CC" >&6; }
12577 else
12578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12579 $as_echo "no" >&6; }
12580 fi
12581
12582
12583 fi
12584 if test -z "$ac_cv_prog_CC"; then
12585   ac_ct_CC=$CC
12586   # Extract the first word of "gcc", so it can be a program name with args.
12587 set dummy gcc; ac_word=$2
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12589 $as_echo_n "checking for $ac_word... " >&6; }
12590 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12591   $as_echo_n "(cached) " >&6
12592 else
12593   if test -n "$ac_ct_CC"; then
12594   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12595 else
12596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12597 for as_dir in $PATH
12598 do
12599   IFS=$as_save_IFS
12600   test -z "$as_dir" && as_dir=.
12601     for ac_exec_ext in '' $ac_executable_extensions; do
12602   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12603     ac_cv_prog_ac_ct_CC="gcc"
12604     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12605     break 2
12606   fi
12607 done
12608   done
12609 IFS=$as_save_IFS
12610
12611 fi
12612 fi
12613 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12614 if test -n "$ac_ct_CC"; then
12615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12616 $as_echo "$ac_ct_CC" >&6; }
12617 else
12618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12619 $as_echo "no" >&6; }
12620 fi
12621
12622   if test "x$ac_ct_CC" = x; then
12623     CC=""
12624   else
12625     case $cross_compiling:$ac_tool_warned in
12626 yes:)
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12629 ac_tool_warned=yes ;;
12630 esac
12631     CC=$ac_ct_CC
12632   fi
12633 else
12634   CC="$ac_cv_prog_CC"
12635 fi
12636
12637 if test -z "$CC"; then
12638           if test -n "$ac_tool_prefix"; then
12639     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12640 set dummy ${ac_tool_prefix}cc; ac_word=$2
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12642 $as_echo_n "checking for $ac_word... " >&6; }
12643 if ${ac_cv_prog_CC+:} false; then :
12644   $as_echo_n "(cached) " >&6
12645 else
12646   if test -n "$CC"; then
12647   ac_cv_prog_CC="$CC" # Let the user override the test.
12648 else
12649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12650 for as_dir in $PATH
12651 do
12652   IFS=$as_save_IFS
12653   test -z "$as_dir" && as_dir=.
12654     for ac_exec_ext in '' $ac_executable_extensions; do
12655   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12656     ac_cv_prog_CC="${ac_tool_prefix}cc"
12657     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12658     break 2
12659   fi
12660 done
12661   done
12662 IFS=$as_save_IFS
12663
12664 fi
12665 fi
12666 CC=$ac_cv_prog_CC
12667 if test -n "$CC"; then
12668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12669 $as_echo "$CC" >&6; }
12670 else
12671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12672 $as_echo "no" >&6; }
12673 fi
12674
12675
12676   fi
12677 fi
12678 if test -z "$CC"; then
12679   # Extract the first word of "cc", so it can be a program name with args.
12680 set dummy cc; ac_word=$2
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12682 $as_echo_n "checking for $ac_word... " >&6; }
12683 if ${ac_cv_prog_CC+:} false; then :
12684   $as_echo_n "(cached) " >&6
12685 else
12686   if test -n "$CC"; then
12687   ac_cv_prog_CC="$CC" # Let the user override the test.
12688 else
12689   ac_prog_rejected=no
12690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12691 for as_dir in $PATH
12692 do
12693   IFS=$as_save_IFS
12694   test -z "$as_dir" && as_dir=.
12695     for ac_exec_ext in '' $ac_executable_extensions; do
12696   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12697     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12698        ac_prog_rejected=yes
12699        continue
12700      fi
12701     ac_cv_prog_CC="cc"
12702     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12703     break 2
12704   fi
12705 done
12706   done
12707 IFS=$as_save_IFS
12708
12709 if test $ac_prog_rejected = yes; then
12710   # We found a bogon in the path, so make sure we never use it.
12711   set dummy $ac_cv_prog_CC
12712   shift
12713   if test $# != 0; then
12714     # We chose a different compiler from the bogus one.
12715     # However, it has the same basename, so the bogon will be chosen
12716     # first if we set CC to just the basename; use the full file name.
12717     shift
12718     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12719   fi
12720 fi
12721 fi
12722 fi
12723 CC=$ac_cv_prog_CC
12724 if test -n "$CC"; then
12725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12726 $as_echo "$CC" >&6; }
12727 else
12728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12729 $as_echo "no" >&6; }
12730 fi
12731
12732
12733 fi
12734 if test -z "$CC"; then
12735   if test -n "$ac_tool_prefix"; then
12736   for ac_prog in cl.exe
12737   do
12738     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12739 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12741 $as_echo_n "checking for $ac_word... " >&6; }
12742 if ${ac_cv_prog_CC+:} false; then :
12743   $as_echo_n "(cached) " >&6
12744 else
12745   if test -n "$CC"; then
12746   ac_cv_prog_CC="$CC" # Let the user override the test.
12747 else
12748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12749 for as_dir in $PATH
12750 do
12751   IFS=$as_save_IFS
12752   test -z "$as_dir" && as_dir=.
12753     for ac_exec_ext in '' $ac_executable_extensions; do
12754   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12755     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12756     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12757     break 2
12758   fi
12759 done
12760   done
12761 IFS=$as_save_IFS
12762
12763 fi
12764 fi
12765 CC=$ac_cv_prog_CC
12766 if test -n "$CC"; then
12767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12768 $as_echo "$CC" >&6; }
12769 else
12770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12771 $as_echo "no" >&6; }
12772 fi
12773
12774
12775     test -n "$CC" && break
12776   done
12777 fi
12778 if test -z "$CC"; then
12779   ac_ct_CC=$CC
12780   for ac_prog in cl.exe
12781 do
12782   # Extract the first word of "$ac_prog", so it can be a program name with args.
12783 set dummy $ac_prog; ac_word=$2
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12785 $as_echo_n "checking for $ac_word... " >&6; }
12786 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12787   $as_echo_n "(cached) " >&6
12788 else
12789   if test -n "$ac_ct_CC"; then
12790   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12791 else
12792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12793 for as_dir in $PATH
12794 do
12795   IFS=$as_save_IFS
12796   test -z "$as_dir" && as_dir=.
12797     for ac_exec_ext in '' $ac_executable_extensions; do
12798   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12799     ac_cv_prog_ac_ct_CC="$ac_prog"
12800     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12801     break 2
12802   fi
12803 done
12804   done
12805 IFS=$as_save_IFS
12806
12807 fi
12808 fi
12809 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12810 if test -n "$ac_ct_CC"; then
12811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12812 $as_echo "$ac_ct_CC" >&6; }
12813 else
12814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12815 $as_echo "no" >&6; }
12816 fi
12817
12818
12819   test -n "$ac_ct_CC" && break
12820 done
12821
12822   if test "x$ac_ct_CC" = x; then
12823     CC=""
12824   else
12825     case $cross_compiling:$ac_tool_warned in
12826 yes:)
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12829 ac_tool_warned=yes ;;
12830 esac
12831     CC=$ac_ct_CC
12832   fi
12833 fi
12834
12835 fi
12836
12837
12838 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12840 as_fn_error $? "no acceptable C compiler found in \$PATH
12841 See \`config.log' for more details" "$LINENO" 5; }
12842
12843 # Provide some information about the compiler.
12844 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12845 set X $ac_compile
12846 ac_compiler=$2
12847 for ac_option in --version -v -V -qversion; do
12848   { { ac_try="$ac_compiler $ac_option >&5"
12849 case "(($ac_try" in
12850   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12851   *) ac_try_echo=$ac_try;;
12852 esac
12853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12854 $as_echo "$ac_try_echo"; } >&5
12855   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12856   ac_status=$?
12857   if test -s conftest.err; then
12858     sed '10a\
12859 ... rest of stderr output deleted ...
12860          10q' conftest.err >conftest.er1
12861     cat conftest.er1 >&5
12862   fi
12863   rm -f conftest.er1 conftest.err
12864   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12865   test $ac_status = 0; }
12866 done
12867
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12869 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12870 if ${ac_cv_c_compiler_gnu+:} false; then :
12871   $as_echo_n "(cached) " >&6
12872 else
12873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12874 /* end confdefs.h.  */
12875
12876 int
12877 main ()
12878 {
12879 #ifndef __GNUC__
12880        choke me
12881 #endif
12882
12883   ;
12884   return 0;
12885 }
12886 _ACEOF
12887 if ac_fn_c_try_compile "$LINENO"; then :
12888   ac_compiler_gnu=yes
12889 else
12890   ac_compiler_gnu=no
12891 fi
12892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12893 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12894
12895 fi
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12897 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12898 if test $ac_compiler_gnu = yes; then
12899   GCC=yes
12900 else
12901   GCC=
12902 fi
12903 ac_test_CFLAGS=${CFLAGS+set}
12904 ac_save_CFLAGS=$CFLAGS
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12906 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12907 if ${ac_cv_prog_cc_g+:} false; then :
12908   $as_echo_n "(cached) " >&6
12909 else
12910   ac_save_c_werror_flag=$ac_c_werror_flag
12911    ac_c_werror_flag=yes
12912    ac_cv_prog_cc_g=no
12913    CFLAGS="-g"
12914    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12915 /* end confdefs.h.  */
12916
12917 int
12918 main ()
12919 {
12920
12921   ;
12922   return 0;
12923 }
12924 _ACEOF
12925 if ac_fn_c_try_compile "$LINENO"; then :
12926   ac_cv_prog_cc_g=yes
12927 else
12928   CFLAGS=""
12929       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12930 /* end confdefs.h.  */
12931
12932 int
12933 main ()
12934 {
12935
12936   ;
12937   return 0;
12938 }
12939 _ACEOF
12940 if ac_fn_c_try_compile "$LINENO"; then :
12941
12942 else
12943   ac_c_werror_flag=$ac_save_c_werror_flag
12944          CFLAGS="-g"
12945          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12946 /* end confdefs.h.  */
12947
12948 int
12949 main ()
12950 {
12951
12952   ;
12953   return 0;
12954 }
12955 _ACEOF
12956 if ac_fn_c_try_compile "$LINENO"; then :
12957   ac_cv_prog_cc_g=yes
12958 fi
12959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12960 fi
12961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12962 fi
12963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12964    ac_c_werror_flag=$ac_save_c_werror_flag
12965 fi
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12967 $as_echo "$ac_cv_prog_cc_g" >&6; }
12968 if test "$ac_test_CFLAGS" = set; then
12969   CFLAGS=$ac_save_CFLAGS
12970 elif test $ac_cv_prog_cc_g = yes; then
12971   if test "$GCC" = yes; then
12972     CFLAGS="-g -O2"
12973   else
12974     CFLAGS="-g"
12975   fi
12976 else
12977   if test "$GCC" = yes; then
12978     CFLAGS="-O2"
12979   else
12980     CFLAGS=
12981   fi
12982 fi
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12984 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12985 if ${ac_cv_prog_cc_c89+:} false; then :
12986   $as_echo_n "(cached) " >&6
12987 else
12988   ac_cv_prog_cc_c89=no
12989 ac_save_CC=$CC
12990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12991 /* end confdefs.h.  */
12992 #include <stdarg.h>
12993 #include <stdio.h>
12994 struct stat;
12995 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12996 struct buf { int x; };
12997 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12998 static char *e (p, i)
12999      char **p;
13000      int i;
13001 {
13002   return p[i];
13003 }
13004 static char *f (char * (*g) (char **, int), char **p, ...)
13005 {
13006   char *s;
13007   va_list v;
13008   va_start (v,p);
13009   s = g (p, va_arg (v,int));
13010   va_end (v);
13011   return s;
13012 }
13013
13014 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
13015    function prototypes and stuff, but not '\xHH' hex character constants.
13016    These don't provoke an error unfortunately, instead are silently treated
13017    as 'x'.  The following induces an error, until -std is added to get
13018    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
13019    array size at least.  It's necessary to write '\x00'==0 to get something
13020    that's true only with -std.  */
13021 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13022
13023 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13024    inside strings and character constants.  */
13025 #define FOO(x) 'x'
13026 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13027
13028 int test (int i, double x);
13029 struct s1 {int (*f) (int a);};
13030 struct s2 {int (*f) (double a);};
13031 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13032 int argc;
13033 char **argv;
13034 int
13035 main ()
13036 {
13037 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
13038   ;
13039   return 0;
13040 }
13041 _ACEOF
13042 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13043         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13044 do
13045   CC="$ac_save_CC $ac_arg"
13046   if ac_fn_c_try_compile "$LINENO"; then :
13047   ac_cv_prog_cc_c89=$ac_arg
13048 fi
13049 rm -f core conftest.err conftest.$ac_objext
13050   test "x$ac_cv_prog_cc_c89" != "xno" && break
13051 done
13052 rm -f conftest.$ac_ext
13053 CC=$ac_save_CC
13054
13055 fi
13056 # AC_CACHE_VAL
13057 case "x$ac_cv_prog_cc_c89" in
13058   x)
13059     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13060 $as_echo "none needed" >&6; } ;;
13061   xno)
13062     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13063 $as_echo "unsupported" >&6; } ;;
13064   *)
13065     CC="$CC $ac_cv_prog_cc_c89"
13066     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13067 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13068 esac
13069 if test "x$ac_cv_prog_cc_c89" != xno; then :
13070
13071 fi
13072
13073 ac_ext=c
13074 ac_cpp='$CPP $CPPFLAGS'
13075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13078
13079 depcc="$CC"   am_compiler_list=
13080
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13082 $as_echo_n "checking dependency style of $depcc... " >&6; }
13083 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
13084   $as_echo_n "(cached) " >&6
13085 else
13086   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13087   # We make a subdir and do the tests there.  Otherwise we can end up
13088   # making bogus files that we don't know about and never remove.  For
13089   # instance it was reported that on HP-UX the gcc test will end up
13090   # making a dummy file named 'D' -- because '-MD' means "put the output
13091   # in D".
13092   rm -rf conftest.dir
13093   mkdir conftest.dir
13094   # Copy depcomp to subdir because otherwise we won't find it if we're
13095   # using a relative directory.
13096   cp "$am_depcomp" conftest.dir
13097   cd conftest.dir
13098   # We will build objects and dependencies in a subdirectory because
13099   # it helps to detect inapplicable dependency modes.  For instance
13100   # both Tru64's cc and ICC support -MD to output dependencies as a
13101   # side effect of compilation, but ICC will put the dependencies in
13102   # the current directory while Tru64 will put them in the object
13103   # directory.
13104   mkdir sub
13105
13106   am_cv_CC_dependencies_compiler_type=none
13107   if test "$am_compiler_list" = ""; then
13108      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13109   fi
13110   am__universal=false
13111   case " $depcc " in #(
13112      *\ -arch\ *\ -arch\ *) am__universal=true ;;
13113      esac
13114
13115   for depmode in $am_compiler_list; do
13116     # Setup a source with many dependencies, because some compilers
13117     # like to wrap large dependency lists on column 80 (with \), and
13118     # we should not choose a depcomp mode which is confused by this.
13119     #
13120     # We need to recreate these files for each test, as the compiler may
13121     # overwrite some of them when testing with obscure command lines.
13122     # This happens at least with the AIX C compiler.
13123     : > sub/conftest.c
13124     for i in 1 2 3 4 5 6; do
13125       echo '#include "conftst'$i'.h"' >> sub/conftest.c
13126       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13127       # Solaris 10 /bin/sh.
13128       echo '/* dummy */' > sub/conftst$i.h
13129     done
13130     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13131
13132     # We check with '-c' and '-o' for the sake of the "dashmstdout"
13133     # mode.  It turns out that the SunPro C++ compiler does not properly
13134     # handle '-M -o', and we need to detect this.  Also, some Intel
13135     # versions had trouble with output in subdirs.
13136     am__obj=sub/conftest.${OBJEXT-o}
13137     am__minus_obj="-o $am__obj"
13138     case $depmode in
13139     gcc)
13140       # This depmode causes a compiler race in universal mode.
13141       test "$am__universal" = false || continue
13142       ;;
13143     nosideeffect)
13144       # After this tag, mechanisms are not by side-effect, so they'll
13145       # only be used when explicitly requested.
13146       if test "x$enable_dependency_tracking" = xyes; then
13147         continue
13148       else
13149         break
13150       fi
13151       ;;
13152     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13153       # This compiler won't grok '-c -o', but also, the minuso test has
13154       # not run yet.  These depmodes are late enough in the game, and
13155       # so weak that their functioning should not be impacted.
13156       am__obj=conftest.${OBJEXT-o}
13157       am__minus_obj=
13158       ;;
13159     none) break ;;
13160     esac
13161     if depmode=$depmode \
13162        source=sub/conftest.c object=$am__obj \
13163        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13164        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13165          >/dev/null 2>conftest.err &&
13166        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13167        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13168        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13169        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13170       # icc doesn't choke on unknown options, it will just issue warnings
13171       # or remarks (even with -Werror).  So we grep stderr for any message
13172       # that says an option was ignored or not supported.
13173       # When given -MP, icc 7.0 and 7.1 complain thusly:
13174       #   icc: Command line warning: ignoring option '-M'; no argument required
13175       # The diagnosis changed in icc 8.0:
13176       #   icc: Command line remark: option '-MP' not supported
13177       if (grep 'ignoring option' conftest.err ||
13178           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13179         am_cv_CC_dependencies_compiler_type=$depmode
13180         break
13181       fi
13182     fi
13183   done
13184
13185   cd ..
13186   rm -rf conftest.dir
13187 else
13188   am_cv_CC_dependencies_compiler_type=none
13189 fi
13190
13191 fi
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13193 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13194 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13195
13196  if
13197   test "x$enable_dependency_tracking" != xno \
13198   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13199   am__fastdepCC_TRUE=
13200   am__fastdepCC_FALSE='#'
13201 else
13202   am__fastdepCC_TRUE='#'
13203   am__fastdepCC_FALSE=
13204 fi
13205
13206
13207
13208 # doxygen program for documentation building
13209
13210
13211
13212 # Check whether --enable-doc was given.
13213 if test "${enable_doc+set}" = set; then :
13214   enableval=$enable_doc;
13215     if test "x${enableval}" = "xyes" ; then
13216        efl_enable_doc="yes"
13217     else
13218        efl_enable_doc="no"
13219     fi
13220
13221 else
13222   efl_enable_doc="yes"
13223 fi
13224
13225
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
13227 $as_echo_n "checking whether to build documentation... " >&6; }
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
13229 $as_echo "${efl_enable_doc}" >&6; }
13230
13231 if test "x${efl_enable_doc}" = "xyes" ; then
13232
13233
13234    efl_doxygen="doxygen"
13235
13236
13237 # Check whether --with-doxygen was given.
13238 if test "${with_doxygen+set}" = set; then :
13239   withval=$with_doxygen;
13240       efl_doxygen=${withval}
13241        # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
13242 set dummy ${efl_doxygen}; ac_word=$2
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13244 $as_echo_n "checking for $ac_word... " >&6; }
13245 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
13246   $as_echo_n "(cached) " >&6
13247 else
13248   if test -n "$efl_have_doxygen"; then
13249   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
13250 else
13251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13252 for as_dir in $PATH
13253 do
13254   IFS=$as_save_IFS
13255   test -z "$as_dir" && as_dir=.
13256     for ac_exec_ext in '' $ac_executable_extensions; do
13257   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13258     ac_cv_prog_efl_have_doxygen="yes"
13259     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13260     break 2
13261   fi
13262 done
13263   done
13264 IFS=$as_save_IFS
13265
13266   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
13267 fi
13268 fi
13269 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
13270 if test -n "$efl_have_doxygen"; then
13271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
13272 $as_echo "$efl_have_doxygen" >&6; }
13273 else
13274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13275 $as_echo "no" >&6; }
13276 fi
13277
13278
13279        if test "x${efl_have_doxygen}" = "xno" ; then
13280           echo "WARNING:"
13281           echo "The doxygen program you specified:"
13282           echo "${efl_doxygen}"
13283           echo "was not found.  Please check the path and make sure "
13284           echo "the program exists and is executable."
13285           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
13286 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
13287        fi
13288
13289 else
13290   # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
13291 set dummy ${efl_doxygen}; ac_word=$2
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13293 $as_echo_n "checking for $ac_word... " >&6; }
13294 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
13295   $as_echo_n "(cached) " >&6
13296 else
13297   if test -n "$efl_have_doxygen"; then
13298   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
13299 else
13300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13301 for as_dir in $PATH
13302 do
13303   IFS=$as_save_IFS
13304   test -z "$as_dir" && as_dir=.
13305     for ac_exec_ext in '' $ac_executable_extensions; do
13306   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13307     ac_cv_prog_efl_have_doxygen="yes"
13308     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13309     break 2
13310   fi
13311 done
13312   done
13313 IFS=$as_save_IFS
13314
13315   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
13316 fi
13317 fi
13318 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
13319 if test -n "$efl_have_doxygen"; then
13320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
13321 $as_echo "$efl_have_doxygen" >&6; }
13322 else
13323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13324 $as_echo "no" >&6; }
13325 fi
13326
13327
13328        if test "x${efl_have_doxygen}" = "xno" ; then
13329           echo "WARNING:"
13330           echo "The doxygen program was not found in your execute path."
13331           echo "You may have doxygen installed somewhere not covered by your path."
13332           echo ""
13333           echo "If this is the case make sure you have the packages installed, AND"
13334           echo "that the doxygen program is in your execute path (see your"
13335           echo "shell manual page on setting the \$PATH environment variable), OR"
13336           echo "alternatively, specify the program to use with --with-doxygen."
13337           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
13338 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
13339        fi
13340
13341 fi
13342
13343 fi
13344
13345
13346
13347 if ! test "x${efl_have_doxygen}" = "xyes" ; then
13348    efl_enable_doc="no"
13349 fi
13350
13351  if test "x${efl_enable_doc}" = "xyes"; then
13352   EFL_BUILD_DOC_TRUE=
13353   EFL_BUILD_DOC_FALSE='#'
13354 else
13355   EFL_BUILD_DOC_TRUE='#'
13356   EFL_BUILD_DOC_FALSE=
13357 fi
13358
13359
13360 if test "x${efl_enable_doc}" = "xyes" ; then
13361   build_doc="yes"
13362 else
13363   build_doc="no"
13364 fi
13365
13366
13367
13368 # python
13369
13370
13371
13372
13373
13374
13375
13376         if test -n "$PYTHON"; then
13377       # If the user set $PYTHON, use it and don't search something else.
13378       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5" >&5
13379 $as_echo_n "checking whether $PYTHON version is >= 2.5... " >&6; }
13380       prog="import sys
13381 # split strings by '.' and convert to numeric.  Append some zeros
13382 # because we need at least 4 digits for the hex conversion.
13383 # map returns an iterator in Python 3.0 and a list in 2.x
13384 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
13385 minverhex = 0
13386 # xrange is not present in Python 3.0 and range returns an iterator
13387 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
13388 sys.exit(sys.hexversion < minverhex)"
13389   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
13390    ($PYTHON -c "$prog") >&5 2>&5
13391    ac_status=$?
13392    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13393    (exit $ac_status); }; then :
13394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13395 $as_echo "yes" >&6; }
13396 else
13397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13398 $as_echo "no" >&6; }
13399                                as_fn_error $? "Python interpreter is too old" "$LINENO" 5
13400 fi
13401       am_display_PYTHON=$PYTHON
13402     else
13403       # Otherwise, try each interpreter until we find one that satisfies
13404       # VERSION.
13405       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
13406 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
13407 if ${am_cv_pathless_PYTHON+:} false; then :
13408   $as_echo_n "(cached) " >&6
13409 else
13410
13411         for am_cv_pathless_PYTHON in python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7  python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
13412           test "$am_cv_pathless_PYTHON" = none && break
13413           prog="import sys
13414 # split strings by '.' and convert to numeric.  Append some zeros
13415 # because we need at least 4 digits for the hex conversion.
13416 # map returns an iterator in Python 3.0 and a list in 2.x
13417 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
13418 minverhex = 0
13419 # xrange is not present in Python 3.0 and range returns an iterator
13420 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
13421 sys.exit(sys.hexversion < minverhex)"
13422   if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
13423    ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
13424    ac_status=$?
13425    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13426    (exit $ac_status); }; then :
13427   break
13428 fi
13429         done
13430 fi
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
13432 $as_echo "$am_cv_pathless_PYTHON" >&6; }
13433       # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
13434       if test "$am_cv_pathless_PYTHON" = none; then
13435         PYTHON=:
13436       else
13437         # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
13438 set dummy $am_cv_pathless_PYTHON; ac_word=$2
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13440 $as_echo_n "checking for $ac_word... " >&6; }
13441 if ${ac_cv_path_PYTHON+:} false; then :
13442   $as_echo_n "(cached) " >&6
13443 else
13444   case $PYTHON in
13445   [\\/]* | ?:[\\/]*)
13446   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
13447   ;;
13448   *)
13449   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13450 for as_dir in $PATH
13451 do
13452   IFS=$as_save_IFS
13453   test -z "$as_dir" && as_dir=.
13454     for ac_exec_ext in '' $ac_executable_extensions; do
13455   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13456     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
13457     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13458     break 2
13459   fi
13460 done
13461   done
13462 IFS=$as_save_IFS
13463
13464   ;;
13465 esac
13466 fi
13467 PYTHON=$ac_cv_path_PYTHON
13468 if test -n "$PYTHON"; then
13469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
13470 $as_echo "$PYTHON" >&6; }
13471 else
13472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13473 $as_echo "no" >&6; }
13474 fi
13475
13476
13477       fi
13478       am_display_PYTHON=$am_cv_pathless_PYTHON
13479     fi
13480
13481
13482   if test "$PYTHON" = :; then
13483       :
13484   else
13485
13486
13487   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
13488 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
13489 if ${am_cv_python_version+:} false; then :
13490   $as_echo_n "(cached) " >&6
13491 else
13492   am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
13493 fi
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
13495 $as_echo "$am_cv_python_version" >&6; }
13496   PYTHON_VERSION=$am_cv_python_version
13497
13498
13499
13500   PYTHON_PREFIX='${prefix}'
13501
13502   PYTHON_EXEC_PREFIX='${exec_prefix}'
13503
13504
13505
13506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
13507 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
13508 if ${am_cv_python_platform+:} false; then :
13509   $as_echo_n "(cached) " >&6
13510 else
13511   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
13512 fi
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
13514 $as_echo "$am_cv_python_platform" >&6; }
13515   PYTHON_PLATFORM=$am_cv_python_platform
13516
13517
13518   # Just factor out some code duplication.
13519   am_python_setup_sysconfig="\
13520 import sys
13521 # Prefer sysconfig over distutils.sysconfig, for better compatibility
13522 # with python 3.x.  See automake bug#10227.
13523 try:
13524     import sysconfig
13525 except ImportError:
13526     can_use_sysconfig = 0
13527 else:
13528     can_use_sysconfig = 1
13529 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
13530 # <https://github.com/pypa/virtualenv/issues/118>
13531 try:
13532     from platform import python_implementation
13533     if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
13534         can_use_sysconfig = 0
13535 except ImportError:
13536     pass"
13537
13538
13539             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
13540 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
13541 if ${am_cv_python_pythondir+:} false; then :
13542   $as_echo_n "(cached) " >&6
13543 else
13544   if test "x$prefix" = xNONE
13545      then
13546        am_py_prefix=$ac_default_prefix
13547      else
13548        am_py_prefix=$prefix
13549      fi
13550      am_cv_python_pythondir=`$PYTHON -c "
13551 $am_python_setup_sysconfig
13552 if can_use_sysconfig:
13553     sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
13554 else:
13555     from distutils import sysconfig
13556     sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
13557 sys.stdout.write(sitedir)"`
13558      case $am_cv_python_pythondir in
13559      $am_py_prefix*)
13560        am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
13561        am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
13562        ;;
13563      *)
13564        case $am_py_prefix in
13565          /usr|/System*) ;;
13566          *)
13567           am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
13568           ;;
13569        esac
13570        ;;
13571      esac
13572
13573 fi
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
13575 $as_echo "$am_cv_python_pythondir" >&6; }
13576   pythondir=$am_cv_python_pythondir
13577
13578
13579
13580   pkgpythondir=\${pythondir}/$PACKAGE
13581
13582
13583         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
13584 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
13585 if ${am_cv_python_pyexecdir+:} false; then :
13586   $as_echo_n "(cached) " >&6
13587 else
13588   if test "x$exec_prefix" = xNONE
13589      then
13590        am_py_exec_prefix=$am_py_prefix
13591      else
13592        am_py_exec_prefix=$exec_prefix
13593      fi
13594      am_cv_python_pyexecdir=`$PYTHON -c "
13595 $am_python_setup_sysconfig
13596 if can_use_sysconfig:
13597     sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
13598 else:
13599     from distutils import sysconfig
13600     sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
13601 sys.stdout.write(sitedir)"`
13602      case $am_cv_python_pyexecdir in
13603      $am_py_exec_prefix*)
13604        am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
13605        am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
13606        ;;
13607      *)
13608        case $am_py_exec_prefix in
13609          /usr|/System*) ;;
13610          *)
13611            am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
13612            ;;
13613        esac
13614        ;;
13615      esac
13616
13617 fi
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
13619 $as_echo "$am_cv_python_pyexecdir" >&6; }
13620   pyexecdir=$am_cv_python_pyexecdir
13621
13622
13623
13624   pkgpyexecdir=\${pyexecdir}/$PACKAGE
13625
13626
13627
13628   fi
13629
13630
13631  if test "$PYTHON" != : ; then
13632   HAVE_PYTHON_TRUE=
13633   HAVE_PYTHON_FALSE='#'
13634 else
13635   HAVE_PYTHON_TRUE='#'
13636   HAVE_PYTHON_FALSE=
13637 fi
13638
13639
13640 # pkg-config
13641
13642
13643
13644
13645
13646
13647
13648
13649 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13650         if test -n "$ac_tool_prefix"; then
13651   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13652 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13654 $as_echo_n "checking for $ac_word... " >&6; }
13655 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13656   $as_echo_n "(cached) " >&6
13657 else
13658   case $PKG_CONFIG in
13659   [\\/]* | ?:[\\/]*)
13660   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13661   ;;
13662   *)
13663   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13664 for as_dir in $PATH
13665 do
13666   IFS=$as_save_IFS
13667   test -z "$as_dir" && as_dir=.
13668     for ac_exec_ext in '' $ac_executable_extensions; do
13669   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13670     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13671     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13672     break 2
13673   fi
13674 done
13675   done
13676 IFS=$as_save_IFS
13677
13678   ;;
13679 esac
13680 fi
13681 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13682 if test -n "$PKG_CONFIG"; then
13683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13684 $as_echo "$PKG_CONFIG" >&6; }
13685 else
13686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13687 $as_echo "no" >&6; }
13688 fi
13689
13690
13691 fi
13692 if test -z "$ac_cv_path_PKG_CONFIG"; then
13693   ac_pt_PKG_CONFIG=$PKG_CONFIG
13694   # Extract the first word of "pkg-config", so it can be a program name with args.
13695 set dummy pkg-config; ac_word=$2
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13697 $as_echo_n "checking for $ac_word... " >&6; }
13698 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13699   $as_echo_n "(cached) " >&6
13700 else
13701   case $ac_pt_PKG_CONFIG in
13702   [\\/]* | ?:[\\/]*)
13703   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13704   ;;
13705   *)
13706   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13707 for as_dir in $PATH
13708 do
13709   IFS=$as_save_IFS
13710   test -z "$as_dir" && as_dir=.
13711     for ac_exec_ext in '' $ac_executable_extensions; do
13712   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13713     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13714     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13715     break 2
13716   fi
13717 done
13718   done
13719 IFS=$as_save_IFS
13720
13721   ;;
13722 esac
13723 fi
13724 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13725 if test -n "$ac_pt_PKG_CONFIG"; then
13726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13727 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13728 else
13729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13730 $as_echo "no" >&6; }
13731 fi
13732
13733   if test "x$ac_pt_PKG_CONFIG" = x; then
13734     PKG_CONFIG=""
13735   else
13736     case $cross_compiling:$ac_tool_warned in
13737 yes:)
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13740 ac_tool_warned=yes ;;
13741 esac
13742     PKG_CONFIG=$ac_pt_PKG_CONFIG
13743   fi
13744 else
13745   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13746 fi
13747
13748 fi
13749 if test -n "$PKG_CONFIG"; then
13750         _pkg_min_version=0.9.0
13751         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13752 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13753         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13754                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13755 $as_echo "yes" >&6; }
13756         else
13757                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13758 $as_echo "no" >&6; }
13759                 PKG_CONFIG=""
13760         fi
13761 fi
13762
13763 # Check whether pkg-config supports Requires.private
13764
13765 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
13766    pkgconfig_requires_private="Requires.private"
13767 else
13768    pkgconfig_requires_private="Requires"
13769 fi
13770
13771
13772
13773 ### Checks for libraries
13774
13775 # Evil library for compilation on Windows
13776
13777 EFL_EDJE_BUILD=""
13778 case "$host_os" in
13779    mingw*)
13780
13781 pkg_failed=no
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
13783 $as_echo_n "checking for EVIL... " >&6; }
13784
13785 if test -n "$EVIL_CFLAGS"; then
13786     pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
13787  elif test -n "$PKG_CONFIG"; then
13788     if test -n "$PKG_CONFIG" && \
13789     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.7.8\""; } >&5
13790   ($PKG_CONFIG --exists --print-errors "evil >= 1.7.8") 2>&5
13791   ac_status=$?
13792   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13793   test $ac_status = 0; }; then
13794   pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.7.8" 2>/dev/null`
13795                       test "x$?" != "x0" && pkg_failed=yes
13796 else
13797   pkg_failed=yes
13798 fi
13799  else
13800     pkg_failed=untried
13801 fi
13802 if test -n "$EVIL_LIBS"; then
13803     pkg_cv_EVIL_LIBS="$EVIL_LIBS"
13804  elif test -n "$PKG_CONFIG"; then
13805     if test -n "$PKG_CONFIG" && \
13806     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.7.8\""; } >&5
13807   ($PKG_CONFIG --exists --print-errors "evil >= 1.7.8") 2>&5
13808   ac_status=$?
13809   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13810   test $ac_status = 0; }; then
13811   pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.7.8" 2>/dev/null`
13812                       test "x$?" != "x0" && pkg_failed=yes
13813 else
13814   pkg_failed=yes
13815 fi
13816  else
13817     pkg_failed=untried
13818 fi
13819
13820
13821
13822 if test $pkg_failed = yes; then
13823         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13824 $as_echo "no" >&6; }
13825
13826 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13827         _pkg_short_errors_supported=yes
13828 else
13829         _pkg_short_errors_supported=no
13830 fi
13831         if test $_pkg_short_errors_supported = yes; then
13832                 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evil >= 1.7.8" 2>&1`
13833         else
13834                 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evil >= 1.7.8" 2>&1`
13835         fi
13836         # Put the nasty error message in config.log where it belongs
13837         echo "$EVIL_PKG_ERRORS" >&5
13838
13839         as_fn_error $? "Package requirements (evil >= 1.7.8) were not met:
13840
13841 $EVIL_PKG_ERRORS
13842
13843 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13844 installed software in a non-standard prefix.
13845
13846 Alternatively, you may set the environment variables EVIL_CFLAGS
13847 and EVIL_LIBS to avoid the need to call pkg-config.
13848 See the pkg-config man page for more details." "$LINENO" 5
13849 elif test $pkg_failed = untried; then
13850         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13851 $as_echo "no" >&6; }
13852         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13853 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13854 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13855 is in your PATH or set the PKG_CONFIG environment variable to the full
13856 path to pkg-config.
13857
13858 Alternatively, you may set the environment variables EVIL_CFLAGS
13859 and EVIL_LIBS to avoid the need to call pkg-config.
13860 See the pkg-config man page for more details.
13861
13862 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13863 See \`config.log' for more details" "$LINENO" 5; }
13864 else
13865         EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
13866         EVIL_LIBS=$pkg_cv_EVIL_LIBS
13867         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13868 $as_echo "yes" >&6; }
13869
13870 fi
13871
13872 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
13873
13874       requirement_edje="evil ${requirement_edje}"
13875       EFL_EDJE_BUILD="-DEFL_EDJE_BUILD"
13876    ;;
13877 esac
13878
13879
13880 # Dependencies for the library
13881
13882 # Lua pkg-config hack for different naming conventions
13883 have_lua="yes"
13884 requirement_lua=""
13885 lua_libs=""
13886
13887 pkg_failed=no
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13889 $as_echo_n "checking for LUA... " >&6; }
13890
13891 if test -n "$LUA_CFLAGS"; then
13892     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13893  elif test -n "$PKG_CONFIG"; then
13894     if test -n "$PKG_CONFIG" && \
13895     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1.0\""; } >&5
13896   ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
13897   ac_status=$?
13898   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13899   test $ac_status = 0; }; then
13900   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1.0" 2>/dev/null`
13901                       test "x$?" != "x0" && pkg_failed=yes
13902 else
13903   pkg_failed=yes
13904 fi
13905  else
13906     pkg_failed=untried
13907 fi
13908 if test -n "$LUA_LIBS"; then
13909     pkg_cv_LUA_LIBS="$LUA_LIBS"
13910  elif test -n "$PKG_CONFIG"; then
13911     if test -n "$PKG_CONFIG" && \
13912     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1.0\""; } >&5
13913   ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
13914   ac_status=$?
13915   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13916   test $ac_status = 0; }; then
13917   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1.0" 2>/dev/null`
13918                       test "x$?" != "x0" && pkg_failed=yes
13919 else
13920   pkg_failed=yes
13921 fi
13922  else
13923     pkg_failed=untried
13924 fi
13925
13926
13927
13928 if test $pkg_failed = yes; then
13929         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13930 $as_echo "no" >&6; }
13931
13932 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13933         _pkg_short_errors_supported=yes
13934 else
13935         _pkg_short_errors_supported=no
13936 fi
13937         if test $_pkg_short_errors_supported = yes; then
13938                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua >= 5.1.0" 2>&1`
13939         else
13940                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua >= 5.1.0" 2>&1`
13941         fi
13942         # Put the nasty error message in config.log where it belongs
13943         echo "$LUA_PKG_ERRORS" >&5
13944
13945
13946 pkg_failed=no
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13948 $as_echo_n "checking for LUA... " >&6; }
13949
13950 if test -n "$LUA_CFLAGS"; then
13951     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13952  elif test -n "$PKG_CONFIG"; then
13953     if test -n "$PKG_CONFIG" && \
13954     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
13955   ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
13956   ac_status=$?
13957   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13958   test $ac_status = 0; }; then
13959   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1.0" 2>/dev/null`
13960                       test "x$?" != "x0" && pkg_failed=yes
13961 else
13962   pkg_failed=yes
13963 fi
13964  else
13965     pkg_failed=untried
13966 fi
13967 if test -n "$LUA_LIBS"; then
13968     pkg_cv_LUA_LIBS="$LUA_LIBS"
13969  elif test -n "$PKG_CONFIG"; then
13970     if test -n "$PKG_CONFIG" && \
13971     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
13972   ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
13973   ac_status=$?
13974   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13975   test $ac_status = 0; }; then
13976   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1.0" 2>/dev/null`
13977                       test "x$?" != "x0" && pkg_failed=yes
13978 else
13979   pkg_failed=yes
13980 fi
13981  else
13982     pkg_failed=untried
13983 fi
13984
13985
13986
13987 if test $pkg_failed = yes; then
13988         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13989 $as_echo "no" >&6; }
13990
13991 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13992         _pkg_short_errors_supported=yes
13993 else
13994         _pkg_short_errors_supported=no
13995 fi
13996         if test $_pkg_short_errors_supported = yes; then
13997                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua5.1 >= 5.1.0" 2>&1`
13998         else
13999                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua5.1 >= 5.1.0" 2>&1`
14000         fi
14001         # Put the nasty error message in config.log where it belongs
14002         echo "$LUA_PKG_ERRORS" >&5
14003
14004
14005 pkg_failed=no
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14007 $as_echo_n "checking for LUA... " >&6; }
14008
14009 if test -n "$LUA_CFLAGS"; then
14010     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14011  elif test -n "$PKG_CONFIG"; then
14012     if test -n "$PKG_CONFIG" && \
14013     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14014   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14015   ac_status=$?
14016   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14017   test $ac_status = 0; }; then
14018   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
14019                       test "x$?" != "x0" && pkg_failed=yes
14020 else
14021   pkg_failed=yes
14022 fi
14023  else
14024     pkg_failed=untried
14025 fi
14026 if test -n "$LUA_LIBS"; then
14027     pkg_cv_LUA_LIBS="$LUA_LIBS"
14028  elif test -n "$PKG_CONFIG"; then
14029     if test -n "$PKG_CONFIG" && \
14030     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14031   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14032   ac_status=$?
14033   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14034   test $ac_status = 0; }; then
14035   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
14036                       test "x$?" != "x0" && pkg_failed=yes
14037 else
14038   pkg_failed=yes
14039 fi
14040  else
14041     pkg_failed=untried
14042 fi
14043
14044
14045
14046 if test $pkg_failed = yes; then
14047         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14048 $as_echo "no" >&6; }
14049
14050 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14051         _pkg_short_errors_supported=yes
14052 else
14053         _pkg_short_errors_supported=no
14054 fi
14055         if test $_pkg_short_errors_supported = yes; then
14056                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
14057         else
14058                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
14059         fi
14060         # Put the nasty error message in config.log where it belongs
14061         echo "$LUA_PKG_ERRORS" >&5
14062
14063
14064 pkg_failed=no
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14066 $as_echo_n "checking for LUA... " >&6; }
14067
14068 if test -n "$LUA_CFLAGS"; then
14069     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14070  elif test -n "$PKG_CONFIG"; then
14071     if test -n "$PKG_CONFIG" && \
14072     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14073   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14074   ac_status=$?
14075   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14076   test $ac_status = 0; }; then
14077   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14078                       test "x$?" != "x0" && pkg_failed=yes
14079 else
14080   pkg_failed=yes
14081 fi
14082  else
14083     pkg_failed=untried
14084 fi
14085 if test -n "$LUA_LIBS"; then
14086     pkg_cv_LUA_LIBS="$LUA_LIBS"
14087  elif test -n "$PKG_CONFIG"; then
14088     if test -n "$PKG_CONFIG" && \
14089     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14090   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14091   ac_status=$?
14092   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14093   test $ac_status = 0; }; then
14094   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14095                       test "x$?" != "x0" && pkg_failed=yes
14096 else
14097   pkg_failed=yes
14098 fi
14099  else
14100     pkg_failed=untried
14101 fi
14102
14103
14104
14105 if test $pkg_failed = yes; then
14106         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14107 $as_echo "no" >&6; }
14108
14109 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14110         _pkg_short_errors_supported=yes
14111 else
14112         _pkg_short_errors_supported=no
14113 fi
14114         if test $_pkg_short_errors_supported = yes; then
14115                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14116         else
14117                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14118         fi
14119         # Put the nasty error message in config.log where it belongs
14120         echo "$LUA_PKG_ERRORS" >&5
14121
14122         have_lua="no"
14123 elif test $pkg_failed = untried; then
14124         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14125 $as_echo "no" >&6; }
14126         have_lua="no"
14127 else
14128         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14129         LUA_LIBS=$pkg_cv_LUA_LIBS
14130         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14131 $as_echo "yes" >&6; }
14132         requirement_lua="lua51"
14133 fi
14134 elif test $pkg_failed = untried; then
14135         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14136 $as_echo "no" >&6; }
14137
14138 pkg_failed=no
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14140 $as_echo_n "checking for LUA... " >&6; }
14141
14142 if test -n "$LUA_CFLAGS"; then
14143     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14144  elif test -n "$PKG_CONFIG"; then
14145     if test -n "$PKG_CONFIG" && \
14146     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14147   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14148   ac_status=$?
14149   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14150   test $ac_status = 0; }; then
14151   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14152                       test "x$?" != "x0" && pkg_failed=yes
14153 else
14154   pkg_failed=yes
14155 fi
14156  else
14157     pkg_failed=untried
14158 fi
14159 if test -n "$LUA_LIBS"; then
14160     pkg_cv_LUA_LIBS="$LUA_LIBS"
14161  elif test -n "$PKG_CONFIG"; then
14162     if test -n "$PKG_CONFIG" && \
14163     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14164   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14165   ac_status=$?
14166   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14167   test $ac_status = 0; }; then
14168   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14169                       test "x$?" != "x0" && pkg_failed=yes
14170 else
14171   pkg_failed=yes
14172 fi
14173  else
14174     pkg_failed=untried
14175 fi
14176
14177
14178
14179 if test $pkg_failed = yes; then
14180         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14181 $as_echo "no" >&6; }
14182
14183 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14184         _pkg_short_errors_supported=yes
14185 else
14186         _pkg_short_errors_supported=no
14187 fi
14188         if test $_pkg_short_errors_supported = yes; then
14189                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14190         else
14191                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14192         fi
14193         # Put the nasty error message in config.log where it belongs
14194         echo "$LUA_PKG_ERRORS" >&5
14195
14196         have_lua="no"
14197 elif test $pkg_failed = untried; then
14198         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14199 $as_echo "no" >&6; }
14200         have_lua="no"
14201 else
14202         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14203         LUA_LIBS=$pkg_cv_LUA_LIBS
14204         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14205 $as_echo "yes" >&6; }
14206         requirement_lua="lua51"
14207 fi
14208 else
14209         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14210         LUA_LIBS=$pkg_cv_LUA_LIBS
14211         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14212 $as_echo "yes" >&6; }
14213         requirement_lua="lua-5.1"
14214 fi
14215 elif test $pkg_failed = untried; then
14216         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14217 $as_echo "no" >&6; }
14218
14219 pkg_failed=no
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14221 $as_echo_n "checking for LUA... " >&6; }
14222
14223 if test -n "$LUA_CFLAGS"; then
14224     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14225  elif test -n "$PKG_CONFIG"; then
14226     if test -n "$PKG_CONFIG" && \
14227     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14228   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14229   ac_status=$?
14230   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14231   test $ac_status = 0; }; then
14232   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
14233                       test "x$?" != "x0" && pkg_failed=yes
14234 else
14235   pkg_failed=yes
14236 fi
14237  else
14238     pkg_failed=untried
14239 fi
14240 if test -n "$LUA_LIBS"; then
14241     pkg_cv_LUA_LIBS="$LUA_LIBS"
14242  elif test -n "$PKG_CONFIG"; then
14243     if test -n "$PKG_CONFIG" && \
14244     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14245   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14246   ac_status=$?
14247   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14248   test $ac_status = 0; }; then
14249   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
14250                       test "x$?" != "x0" && pkg_failed=yes
14251 else
14252   pkg_failed=yes
14253 fi
14254  else
14255     pkg_failed=untried
14256 fi
14257
14258
14259
14260 if test $pkg_failed = yes; then
14261         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14262 $as_echo "no" >&6; }
14263
14264 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14265         _pkg_short_errors_supported=yes
14266 else
14267         _pkg_short_errors_supported=no
14268 fi
14269         if test $_pkg_short_errors_supported = yes; then
14270                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
14271         else
14272                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
14273         fi
14274         # Put the nasty error message in config.log where it belongs
14275         echo "$LUA_PKG_ERRORS" >&5
14276
14277
14278 pkg_failed=no
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14280 $as_echo_n "checking for LUA... " >&6; }
14281
14282 if test -n "$LUA_CFLAGS"; then
14283     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14284  elif test -n "$PKG_CONFIG"; then
14285     if test -n "$PKG_CONFIG" && \
14286     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14287   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14288   ac_status=$?
14289   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14290   test $ac_status = 0; }; then
14291   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14292                       test "x$?" != "x0" && pkg_failed=yes
14293 else
14294   pkg_failed=yes
14295 fi
14296  else
14297     pkg_failed=untried
14298 fi
14299 if test -n "$LUA_LIBS"; then
14300     pkg_cv_LUA_LIBS="$LUA_LIBS"
14301  elif test -n "$PKG_CONFIG"; then
14302     if test -n "$PKG_CONFIG" && \
14303     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14304   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14305   ac_status=$?
14306   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14307   test $ac_status = 0; }; then
14308   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14309                       test "x$?" != "x0" && pkg_failed=yes
14310 else
14311   pkg_failed=yes
14312 fi
14313  else
14314     pkg_failed=untried
14315 fi
14316
14317
14318
14319 if test $pkg_failed = yes; then
14320         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14321 $as_echo "no" >&6; }
14322
14323 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14324         _pkg_short_errors_supported=yes
14325 else
14326         _pkg_short_errors_supported=no
14327 fi
14328         if test $_pkg_short_errors_supported = yes; then
14329                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14330         else
14331                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14332         fi
14333         # Put the nasty error message in config.log where it belongs
14334         echo "$LUA_PKG_ERRORS" >&5
14335
14336         have_lua="no"
14337 elif test $pkg_failed = untried; then
14338         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14339 $as_echo "no" >&6; }
14340         have_lua="no"
14341 else
14342         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14343         LUA_LIBS=$pkg_cv_LUA_LIBS
14344         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14345 $as_echo "yes" >&6; }
14346         requirement_lua="lua51"
14347 fi
14348 elif test $pkg_failed = untried; then
14349         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14350 $as_echo "no" >&6; }
14351
14352 pkg_failed=no
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14354 $as_echo_n "checking for LUA... " >&6; }
14355
14356 if test -n "$LUA_CFLAGS"; then
14357     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14358  elif test -n "$PKG_CONFIG"; then
14359     if test -n "$PKG_CONFIG" && \
14360     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14361   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14362   ac_status=$?
14363   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14364   test $ac_status = 0; }; then
14365   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14366                       test "x$?" != "x0" && pkg_failed=yes
14367 else
14368   pkg_failed=yes
14369 fi
14370  else
14371     pkg_failed=untried
14372 fi
14373 if test -n "$LUA_LIBS"; then
14374     pkg_cv_LUA_LIBS="$LUA_LIBS"
14375  elif test -n "$PKG_CONFIG"; then
14376     if test -n "$PKG_CONFIG" && \
14377     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14378   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14379   ac_status=$?
14380   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14381   test $ac_status = 0; }; then
14382   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14383                       test "x$?" != "x0" && pkg_failed=yes
14384 else
14385   pkg_failed=yes
14386 fi
14387  else
14388     pkg_failed=untried
14389 fi
14390
14391
14392
14393 if test $pkg_failed = yes; then
14394         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14395 $as_echo "no" >&6; }
14396
14397 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14398         _pkg_short_errors_supported=yes
14399 else
14400         _pkg_short_errors_supported=no
14401 fi
14402         if test $_pkg_short_errors_supported = yes; then
14403                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14404         else
14405                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14406         fi
14407         # Put the nasty error message in config.log where it belongs
14408         echo "$LUA_PKG_ERRORS" >&5
14409
14410         have_lua="no"
14411 elif test $pkg_failed = untried; then
14412         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14413 $as_echo "no" >&6; }
14414         have_lua="no"
14415 else
14416         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14417         LUA_LIBS=$pkg_cv_LUA_LIBS
14418         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14419 $as_echo "yes" >&6; }
14420         requirement_lua="lua51"
14421 fi
14422 else
14423         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14424         LUA_LIBS=$pkg_cv_LUA_LIBS
14425         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14426 $as_echo "yes" >&6; }
14427         requirement_lua="lua-5.1"
14428 fi
14429 else
14430         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14431         LUA_LIBS=$pkg_cv_LUA_LIBS
14432         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14433 $as_echo "yes" >&6; }
14434         requirement_lua="lua5.1"
14435 fi
14436 elif test $pkg_failed = untried; then
14437         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14438 $as_echo "no" >&6; }
14439
14440 pkg_failed=no
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14442 $as_echo_n "checking for LUA... " >&6; }
14443
14444 if test -n "$LUA_CFLAGS"; then
14445     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14446  elif test -n "$PKG_CONFIG"; then
14447     if test -n "$PKG_CONFIG" && \
14448     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
14449   ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
14450   ac_status=$?
14451   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14452   test $ac_status = 0; }; then
14453   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1.0" 2>/dev/null`
14454                       test "x$?" != "x0" && pkg_failed=yes
14455 else
14456   pkg_failed=yes
14457 fi
14458  else
14459     pkg_failed=untried
14460 fi
14461 if test -n "$LUA_LIBS"; then
14462     pkg_cv_LUA_LIBS="$LUA_LIBS"
14463  elif test -n "$PKG_CONFIG"; then
14464     if test -n "$PKG_CONFIG" && \
14465     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
14466   ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
14467   ac_status=$?
14468   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14469   test $ac_status = 0; }; then
14470   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1.0" 2>/dev/null`
14471                       test "x$?" != "x0" && pkg_failed=yes
14472 else
14473   pkg_failed=yes
14474 fi
14475  else
14476     pkg_failed=untried
14477 fi
14478
14479
14480
14481 if test $pkg_failed = yes; then
14482         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14483 $as_echo "no" >&6; }
14484
14485 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14486         _pkg_short_errors_supported=yes
14487 else
14488         _pkg_short_errors_supported=no
14489 fi
14490         if test $_pkg_short_errors_supported = yes; then
14491                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua5.1 >= 5.1.0" 2>&1`
14492         else
14493                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua5.1 >= 5.1.0" 2>&1`
14494         fi
14495         # Put the nasty error message in config.log where it belongs
14496         echo "$LUA_PKG_ERRORS" >&5
14497
14498
14499 pkg_failed=no
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14501 $as_echo_n "checking for LUA... " >&6; }
14502
14503 if test -n "$LUA_CFLAGS"; then
14504     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14505  elif test -n "$PKG_CONFIG"; then
14506     if test -n "$PKG_CONFIG" && \
14507     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14508   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14509   ac_status=$?
14510   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14511   test $ac_status = 0; }; then
14512   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
14513                       test "x$?" != "x0" && pkg_failed=yes
14514 else
14515   pkg_failed=yes
14516 fi
14517  else
14518     pkg_failed=untried
14519 fi
14520 if test -n "$LUA_LIBS"; then
14521     pkg_cv_LUA_LIBS="$LUA_LIBS"
14522  elif test -n "$PKG_CONFIG"; then
14523     if test -n "$PKG_CONFIG" && \
14524     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14525   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14526   ac_status=$?
14527   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14528   test $ac_status = 0; }; then
14529   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
14530                       test "x$?" != "x0" && pkg_failed=yes
14531 else
14532   pkg_failed=yes
14533 fi
14534  else
14535     pkg_failed=untried
14536 fi
14537
14538
14539
14540 if test $pkg_failed = yes; then
14541         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14542 $as_echo "no" >&6; }
14543
14544 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14545         _pkg_short_errors_supported=yes
14546 else
14547         _pkg_short_errors_supported=no
14548 fi
14549         if test $_pkg_short_errors_supported = yes; then
14550                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
14551         else
14552                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
14553         fi
14554         # Put the nasty error message in config.log where it belongs
14555         echo "$LUA_PKG_ERRORS" >&5
14556
14557
14558 pkg_failed=no
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14560 $as_echo_n "checking for LUA... " >&6; }
14561
14562 if test -n "$LUA_CFLAGS"; then
14563     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14564  elif test -n "$PKG_CONFIG"; then
14565     if test -n "$PKG_CONFIG" && \
14566     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14567   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14568   ac_status=$?
14569   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14570   test $ac_status = 0; }; then
14571   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14572                       test "x$?" != "x0" && pkg_failed=yes
14573 else
14574   pkg_failed=yes
14575 fi
14576  else
14577     pkg_failed=untried
14578 fi
14579 if test -n "$LUA_LIBS"; then
14580     pkg_cv_LUA_LIBS="$LUA_LIBS"
14581  elif test -n "$PKG_CONFIG"; then
14582     if test -n "$PKG_CONFIG" && \
14583     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14584   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14585   ac_status=$?
14586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14587   test $ac_status = 0; }; then
14588   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14589                       test "x$?" != "x0" && pkg_failed=yes
14590 else
14591   pkg_failed=yes
14592 fi
14593  else
14594     pkg_failed=untried
14595 fi
14596
14597
14598
14599 if test $pkg_failed = yes; then
14600         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14601 $as_echo "no" >&6; }
14602
14603 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14604         _pkg_short_errors_supported=yes
14605 else
14606         _pkg_short_errors_supported=no
14607 fi
14608         if test $_pkg_short_errors_supported = yes; then
14609                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14610         else
14611                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14612         fi
14613         # Put the nasty error message in config.log where it belongs
14614         echo "$LUA_PKG_ERRORS" >&5
14615
14616         have_lua="no"
14617 elif test $pkg_failed = untried; then
14618         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14619 $as_echo "no" >&6; }
14620         have_lua="no"
14621 else
14622         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14623         LUA_LIBS=$pkg_cv_LUA_LIBS
14624         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14625 $as_echo "yes" >&6; }
14626         requirement_lua="lua51"
14627 fi
14628 elif test $pkg_failed = untried; then
14629         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14630 $as_echo "no" >&6; }
14631
14632 pkg_failed=no
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14634 $as_echo_n "checking for LUA... " >&6; }
14635
14636 if test -n "$LUA_CFLAGS"; then
14637     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14638  elif test -n "$PKG_CONFIG"; then
14639     if test -n "$PKG_CONFIG" && \
14640     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14641   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14642   ac_status=$?
14643   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14644   test $ac_status = 0; }; then
14645   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14646                       test "x$?" != "x0" && pkg_failed=yes
14647 else
14648   pkg_failed=yes
14649 fi
14650  else
14651     pkg_failed=untried
14652 fi
14653 if test -n "$LUA_LIBS"; then
14654     pkg_cv_LUA_LIBS="$LUA_LIBS"
14655  elif test -n "$PKG_CONFIG"; then
14656     if test -n "$PKG_CONFIG" && \
14657     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14658   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14659   ac_status=$?
14660   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14661   test $ac_status = 0; }; then
14662   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14663                       test "x$?" != "x0" && pkg_failed=yes
14664 else
14665   pkg_failed=yes
14666 fi
14667  else
14668     pkg_failed=untried
14669 fi
14670
14671
14672
14673 if test $pkg_failed = yes; then
14674         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14675 $as_echo "no" >&6; }
14676
14677 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14678         _pkg_short_errors_supported=yes
14679 else
14680         _pkg_short_errors_supported=no
14681 fi
14682         if test $_pkg_short_errors_supported = yes; then
14683                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14684         else
14685                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14686         fi
14687         # Put the nasty error message in config.log where it belongs
14688         echo "$LUA_PKG_ERRORS" >&5
14689
14690         have_lua="no"
14691 elif test $pkg_failed = untried; then
14692         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14693 $as_echo "no" >&6; }
14694         have_lua="no"
14695 else
14696         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14697         LUA_LIBS=$pkg_cv_LUA_LIBS
14698         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14699 $as_echo "yes" >&6; }
14700         requirement_lua="lua51"
14701 fi
14702 else
14703         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14704         LUA_LIBS=$pkg_cv_LUA_LIBS
14705         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14706 $as_echo "yes" >&6; }
14707         requirement_lua="lua-5.1"
14708 fi
14709 elif test $pkg_failed = untried; then
14710         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14711 $as_echo "no" >&6; }
14712
14713 pkg_failed=no
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14715 $as_echo_n "checking for LUA... " >&6; }
14716
14717 if test -n "$LUA_CFLAGS"; then
14718     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14719  elif test -n "$PKG_CONFIG"; then
14720     if test -n "$PKG_CONFIG" && \
14721     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14722   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14723   ac_status=$?
14724   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14725   test $ac_status = 0; }; then
14726   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
14727                       test "x$?" != "x0" && pkg_failed=yes
14728 else
14729   pkg_failed=yes
14730 fi
14731  else
14732     pkg_failed=untried
14733 fi
14734 if test -n "$LUA_LIBS"; then
14735     pkg_cv_LUA_LIBS="$LUA_LIBS"
14736  elif test -n "$PKG_CONFIG"; then
14737     if test -n "$PKG_CONFIG" && \
14738     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14739   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14740   ac_status=$?
14741   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14742   test $ac_status = 0; }; then
14743   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
14744                       test "x$?" != "x0" && pkg_failed=yes
14745 else
14746   pkg_failed=yes
14747 fi
14748  else
14749     pkg_failed=untried
14750 fi
14751
14752
14753
14754 if test $pkg_failed = yes; then
14755         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14756 $as_echo "no" >&6; }
14757
14758 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14759         _pkg_short_errors_supported=yes
14760 else
14761         _pkg_short_errors_supported=no
14762 fi
14763         if test $_pkg_short_errors_supported = yes; then
14764                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
14765         else
14766                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
14767         fi
14768         # Put the nasty error message in config.log where it belongs
14769         echo "$LUA_PKG_ERRORS" >&5
14770
14771
14772 pkg_failed=no
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14774 $as_echo_n "checking for LUA... " >&6; }
14775
14776 if test -n "$LUA_CFLAGS"; then
14777     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14778  elif test -n "$PKG_CONFIG"; then
14779     if test -n "$PKG_CONFIG" && \
14780     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14781   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14782   ac_status=$?
14783   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14784   test $ac_status = 0; }; then
14785   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14786                       test "x$?" != "x0" && pkg_failed=yes
14787 else
14788   pkg_failed=yes
14789 fi
14790  else
14791     pkg_failed=untried
14792 fi
14793 if test -n "$LUA_LIBS"; then
14794     pkg_cv_LUA_LIBS="$LUA_LIBS"
14795  elif test -n "$PKG_CONFIG"; then
14796     if test -n "$PKG_CONFIG" && \
14797     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14798   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14799   ac_status=$?
14800   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14801   test $ac_status = 0; }; then
14802   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14803                       test "x$?" != "x0" && pkg_failed=yes
14804 else
14805   pkg_failed=yes
14806 fi
14807  else
14808     pkg_failed=untried
14809 fi
14810
14811
14812
14813 if test $pkg_failed = yes; then
14814         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14815 $as_echo "no" >&6; }
14816
14817 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14818         _pkg_short_errors_supported=yes
14819 else
14820         _pkg_short_errors_supported=no
14821 fi
14822         if test $_pkg_short_errors_supported = yes; then
14823                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14824         else
14825                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14826         fi
14827         # Put the nasty error message in config.log where it belongs
14828         echo "$LUA_PKG_ERRORS" >&5
14829
14830         have_lua="no"
14831 elif test $pkg_failed = untried; then
14832         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14833 $as_echo "no" >&6; }
14834         have_lua="no"
14835 else
14836         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14837         LUA_LIBS=$pkg_cv_LUA_LIBS
14838         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14839 $as_echo "yes" >&6; }
14840         requirement_lua="lua51"
14841 fi
14842 elif test $pkg_failed = untried; then
14843         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14844 $as_echo "no" >&6; }
14845
14846 pkg_failed=no
14847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14848 $as_echo_n "checking for LUA... " >&6; }
14849
14850 if test -n "$LUA_CFLAGS"; then
14851     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14852  elif test -n "$PKG_CONFIG"; then
14853     if test -n "$PKG_CONFIG" && \
14854     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14855   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14856   ac_status=$?
14857   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14858   test $ac_status = 0; }; then
14859   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14860                       test "x$?" != "x0" && pkg_failed=yes
14861 else
14862   pkg_failed=yes
14863 fi
14864  else
14865     pkg_failed=untried
14866 fi
14867 if test -n "$LUA_LIBS"; then
14868     pkg_cv_LUA_LIBS="$LUA_LIBS"
14869  elif test -n "$PKG_CONFIG"; then
14870     if test -n "$PKG_CONFIG" && \
14871     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14872   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14873   ac_status=$?
14874   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14875   test $ac_status = 0; }; then
14876   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14877                       test "x$?" != "x0" && pkg_failed=yes
14878 else
14879   pkg_failed=yes
14880 fi
14881  else
14882     pkg_failed=untried
14883 fi
14884
14885
14886
14887 if test $pkg_failed = yes; then
14888         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14889 $as_echo "no" >&6; }
14890
14891 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14892         _pkg_short_errors_supported=yes
14893 else
14894         _pkg_short_errors_supported=no
14895 fi
14896         if test $_pkg_short_errors_supported = yes; then
14897                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14898         else
14899                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14900         fi
14901         # Put the nasty error message in config.log where it belongs
14902         echo "$LUA_PKG_ERRORS" >&5
14903
14904         have_lua="no"
14905 elif test $pkg_failed = untried; then
14906         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14907 $as_echo "no" >&6; }
14908         have_lua="no"
14909 else
14910         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14911         LUA_LIBS=$pkg_cv_LUA_LIBS
14912         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14913 $as_echo "yes" >&6; }
14914         requirement_lua="lua51"
14915 fi
14916 else
14917         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14918         LUA_LIBS=$pkg_cv_LUA_LIBS
14919         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14920 $as_echo "yes" >&6; }
14921         requirement_lua="lua-5.1"
14922 fi
14923 else
14924         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14925         LUA_LIBS=$pkg_cv_LUA_LIBS
14926         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14927 $as_echo "yes" >&6; }
14928         requirement_lua="lua5.1"
14929 fi
14930 else
14931         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14932         LUA_LIBS=$pkg_cv_LUA_LIBS
14933         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14934 $as_echo "yes" >&6; }
14935         requirement_lua="lua"
14936 fi
14937
14938 if test "x${have_lua}" = "xno" ; then
14939    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lua_newstate() is in liblua" >&5
14940 $as_echo_n "checking whether lua_newstate() is in liblua... " >&6; }
14941    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lua_newstate in -llua" >&5
14942 $as_echo_n "checking for lua_newstate in -llua... " >&6; }
14943 if ${ac_cv_lib_lua_lua_newstate+:} false; then :
14944   $as_echo_n "(cached) " >&6
14945 else
14946   ac_check_lib_save_LIBS=$LIBS
14947 LIBS="-llua  $LIBS"
14948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14949 /* end confdefs.h.  */
14950
14951 /* Override any GCC internal prototype to avoid an error.
14952    Use char because int might match the return type of a GCC
14953    builtin and then its argument prototype would still apply.  */
14954 #ifdef __cplusplus
14955 extern "C"
14956 #endif
14957 char lua_newstate ();
14958 int
14959 main ()
14960 {
14961 return lua_newstate ();
14962   ;
14963   return 0;
14964 }
14965 _ACEOF
14966 if ac_fn_c_try_link "$LINENO"; then :
14967   ac_cv_lib_lua_lua_newstate=yes
14968 else
14969   ac_cv_lib_lua_lua_newstate=no
14970 fi
14971 rm -f core conftest.err conftest.$ac_objext \
14972     conftest$ac_exeext conftest.$ac_ext
14973 LIBS=$ac_check_lib_save_LIBS
14974 fi
14975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lua_lua_newstate" >&5
14976 $as_echo "$ac_cv_lib_lua_lua_newstate" >&6; }
14977 if test "x$ac_cv_lib_lua_lua_newstate" = xyes; then :
14978
14979        have_lua="yes"
14980        lua_libs="-llua"
14981
14982 else
14983   have_lua="no"
14984 fi
14985
14986    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_lua}" >&5
14987 $as_echo "${have_lua}" >&6; }
14988 fi
14989
14990
14991 if test "x${have_lua}" = "xno" ; then
14992    as_fn_error $? "Cannot find lua library. Be sure that you have installed it and set CFLAGS and LDFLAGS correctly" "$LINENO" 5
14993 fi
14994
14995
14996 pkg_failed=no
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MINIMAL" >&5
14998 $as_echo_n "checking for MINIMAL... " >&6; }
14999
15000 if test -n "$MINIMAL_CFLAGS"; then
15001     pkg_cv_MINIMAL_CFLAGS="$MINIMAL_CFLAGS"
15002  elif test -n "$PKG_CONFIG"; then
15003     if test -n "$PKG_CONFIG" && \
15004     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15005     eina >= 1.7.8
15006     eet >= 1.7.8
15007    \""; } >&5
15008   ($PKG_CONFIG --exists --print-errors "
15009     eina >= 1.7.8
15010     eet >= 1.7.8
15011    ") 2>&5
15012   ac_status=$?
15013   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15014   test $ac_status = 0; }; then
15015   pkg_cv_MINIMAL_CFLAGS=`$PKG_CONFIG --cflags "
15016     eina >= 1.7.8
15017     eet >= 1.7.8
15018    " 2>/dev/null`
15019                       test "x$?" != "x0" && pkg_failed=yes
15020 else
15021   pkg_failed=yes
15022 fi
15023  else
15024     pkg_failed=untried
15025 fi
15026 if test -n "$MINIMAL_LIBS"; then
15027     pkg_cv_MINIMAL_LIBS="$MINIMAL_LIBS"
15028  elif test -n "$PKG_CONFIG"; then
15029     if test -n "$PKG_CONFIG" && \
15030     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15031     eina >= 1.7.8
15032     eet >= 1.7.8
15033    \""; } >&5
15034   ($PKG_CONFIG --exists --print-errors "
15035     eina >= 1.7.8
15036     eet >= 1.7.8
15037    ") 2>&5
15038   ac_status=$?
15039   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15040   test $ac_status = 0; }; then
15041   pkg_cv_MINIMAL_LIBS=`$PKG_CONFIG --libs "
15042     eina >= 1.7.8
15043     eet >= 1.7.8
15044    " 2>/dev/null`
15045                       test "x$?" != "x0" && pkg_failed=yes
15046 else
15047   pkg_failed=yes
15048 fi
15049  else
15050     pkg_failed=untried
15051 fi
15052
15053
15054
15055 if test $pkg_failed = yes; then
15056         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15057 $as_echo "no" >&6; }
15058
15059 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15060         _pkg_short_errors_supported=yes
15061 else
15062         _pkg_short_errors_supported=no
15063 fi
15064         if test $_pkg_short_errors_supported = yes; then
15065                 MINIMAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
15066     eina >= 1.7.8
15067     eet >= 1.7.8
15068    " 2>&1`
15069         else
15070                 MINIMAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
15071     eina >= 1.7.8
15072     eet >= 1.7.8
15073    " 2>&1`
15074         fi
15075         # Put the nasty error message in config.log where it belongs
15076         echo "$MINIMAL_PKG_ERRORS" >&5
15077
15078         as_fn_error $? "Package requirements (
15079     eina >= 1.7.8
15080     eet >= 1.7.8
15081    ) were not met:
15082
15083 $MINIMAL_PKG_ERRORS
15084
15085 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15086 installed software in a non-standard prefix.
15087
15088 Alternatively, you may set the environment variables MINIMAL_CFLAGS
15089 and MINIMAL_LIBS to avoid the need to call pkg-config.
15090 See the pkg-config man page for more details." "$LINENO" 5
15091 elif test $pkg_failed = untried; then
15092         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15093 $as_echo "no" >&6; }
15094         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15096 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15097 is in your PATH or set the PKG_CONFIG environment variable to the full
15098 path to pkg-config.
15099
15100 Alternatively, you may set the environment variables MINIMAL_CFLAGS
15101 and MINIMAL_LIBS to avoid the need to call pkg-config.
15102 See the pkg-config man page for more details.
15103
15104 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15105 See \`config.log' for more details" "$LINENO" 5; }
15106 else
15107         MINIMAL_CFLAGS=$pkg_cv_MINIMAL_CFLAGS
15108         MINIMAL_LIBS=$pkg_cv_MINIMAL_LIBS
15109         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15110 $as_echo "yes" >&6; }
15111
15112 fi
15113
15114
15115 pkg_failed=no
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE" >&5
15117 $as_echo_n "checking for EDJE... " >&6; }
15118
15119 if test -n "$EDJE_CFLAGS"; then
15120     pkg_cv_EDJE_CFLAGS="$EDJE_CFLAGS"
15121  elif test -n "$PKG_CONFIG"; then
15122     if test -n "$PKG_CONFIG" && \
15123     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15124     eina >= 1.7.8
15125     eet >= 1.7.8
15126     evas >= 1.7.8
15127     ecore >= 1.7.8
15128     ecore-evas >= 1.7.8
15129     ecore-file >= 1.7.8
15130     ecore-input >= 1.7.8
15131     embryo >= 1.7.8
15132    \""; } >&5
15133   ($PKG_CONFIG --exists --print-errors "
15134     eina >= 1.7.8
15135     eet >= 1.7.8
15136     evas >= 1.7.8
15137     ecore >= 1.7.8
15138     ecore-evas >= 1.7.8
15139     ecore-file >= 1.7.8
15140     ecore-input >= 1.7.8
15141     embryo >= 1.7.8
15142    ") 2>&5
15143   ac_status=$?
15144   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15145   test $ac_status = 0; }; then
15146   pkg_cv_EDJE_CFLAGS=`$PKG_CONFIG --cflags "
15147     eina >= 1.7.8
15148     eet >= 1.7.8
15149     evas >= 1.7.8
15150     ecore >= 1.7.8
15151     ecore-evas >= 1.7.8
15152     ecore-file >= 1.7.8
15153     ecore-input >= 1.7.8
15154     embryo >= 1.7.8
15155    " 2>/dev/null`
15156                       test "x$?" != "x0" && pkg_failed=yes
15157 else
15158   pkg_failed=yes
15159 fi
15160  else
15161     pkg_failed=untried
15162 fi
15163 if test -n "$EDJE_LIBS"; then
15164     pkg_cv_EDJE_LIBS="$EDJE_LIBS"
15165  elif test -n "$PKG_CONFIG"; then
15166     if test -n "$PKG_CONFIG" && \
15167     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15168     eina >= 1.7.8
15169     eet >= 1.7.8
15170     evas >= 1.7.8
15171     ecore >= 1.7.8
15172     ecore-evas >= 1.7.8
15173     ecore-file >= 1.7.8
15174     ecore-input >= 1.7.8
15175     embryo >= 1.7.8
15176    \""; } >&5
15177   ($PKG_CONFIG --exists --print-errors "
15178     eina >= 1.7.8
15179     eet >= 1.7.8
15180     evas >= 1.7.8
15181     ecore >= 1.7.8
15182     ecore-evas >= 1.7.8
15183     ecore-file >= 1.7.8
15184     ecore-input >= 1.7.8
15185     embryo >= 1.7.8
15186    ") 2>&5
15187   ac_status=$?
15188   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15189   test $ac_status = 0; }; then
15190   pkg_cv_EDJE_LIBS=`$PKG_CONFIG --libs "
15191     eina >= 1.7.8
15192     eet >= 1.7.8
15193     evas >= 1.7.8
15194     ecore >= 1.7.8
15195     ecore-evas >= 1.7.8
15196     ecore-file >= 1.7.8
15197     ecore-input >= 1.7.8
15198     embryo >= 1.7.8
15199    " 2>/dev/null`
15200                       test "x$?" != "x0" && pkg_failed=yes
15201 else
15202   pkg_failed=yes
15203 fi
15204  else
15205     pkg_failed=untried
15206 fi
15207
15208
15209
15210 if test $pkg_failed = yes; then
15211         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15212 $as_echo "no" >&6; }
15213
15214 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15215         _pkg_short_errors_supported=yes
15216 else
15217         _pkg_short_errors_supported=no
15218 fi
15219         if test $_pkg_short_errors_supported = yes; then
15220                 EDJE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
15221     eina >= 1.7.8
15222     eet >= 1.7.8
15223     evas >= 1.7.8
15224     ecore >= 1.7.8
15225     ecore-evas >= 1.7.8
15226     ecore-file >= 1.7.8
15227     ecore-input >= 1.7.8
15228     embryo >= 1.7.8
15229    " 2>&1`
15230         else
15231                 EDJE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
15232     eina >= 1.7.8
15233     eet >= 1.7.8
15234     evas >= 1.7.8
15235     ecore >= 1.7.8
15236     ecore-evas >= 1.7.8
15237     ecore-file >= 1.7.8
15238     ecore-input >= 1.7.8
15239     embryo >= 1.7.8
15240    " 2>&1`
15241         fi
15242         # Put the nasty error message in config.log where it belongs
15243         echo "$EDJE_PKG_ERRORS" >&5
15244
15245         as_fn_error $? "Package requirements (
15246     eina >= 1.7.8
15247     eet >= 1.7.8
15248     evas >= 1.7.8
15249     ecore >= 1.7.8
15250     ecore-evas >= 1.7.8
15251     ecore-file >= 1.7.8
15252     ecore-input >= 1.7.8
15253     embryo >= 1.7.8
15254    ) were not met:
15255
15256 $EDJE_PKG_ERRORS
15257
15258 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15259 installed software in a non-standard prefix.
15260
15261 Alternatively, you may set the environment variables EDJE_CFLAGS
15262 and EDJE_LIBS to avoid the need to call pkg-config.
15263 See the pkg-config man page for more details." "$LINENO" 5
15264 elif test $pkg_failed = untried; then
15265         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15266 $as_echo "no" >&6; }
15267         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15269 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15270 is in your PATH or set the PKG_CONFIG environment variable to the full
15271 path to pkg-config.
15272
15273 Alternatively, you may set the environment variables EDJE_CFLAGS
15274 and EDJE_LIBS to avoid the need to call pkg-config.
15275 See the pkg-config man page for more details.
15276
15277 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15278 See \`config.log' for more details" "$LINENO" 5; }
15279 else
15280         EDJE_CFLAGS=$pkg_cv_EDJE_CFLAGS
15281         EDJE_LIBS=$pkg_cv_EDJE_LIBS
15282         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15283 $as_echo "yes" >&6; }
15284
15285 fi
15286
15287 EDJE_LIBS="${EDJE_LIBS} ${LUA_LIBS} ${lua_libs}"
15288 EDJE_CFLAGS="${EDJE_CFLAGS} ${LUA_CFLAGS}"
15289
15290 requirement_edje="embryo >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8 ${requirement_edje}"
15291 requirement_edje="${requirement_lua} ${requirement_edje}"
15292
15293 have_ecore_imf="no"
15294
15295 pkg_failed=no
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_IMF" >&5
15297 $as_echo_n "checking for ECORE_IMF... " >&6; }
15298
15299 if test -n "$ECORE_IMF_CFLAGS"; then
15300     pkg_cv_ECORE_IMF_CFLAGS="$ECORE_IMF_CFLAGS"
15301  elif test -n "$PKG_CONFIG"; then
15302     if test -n "$PKG_CONFIG" && \
15303     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15304     ecore-imf >= 1.7.8
15305     ecore-imf-evas >= 1.7.8
15306    \""; } >&5
15307   ($PKG_CONFIG --exists --print-errors "
15308     ecore-imf >= 1.7.8
15309     ecore-imf-evas >= 1.7.8
15310    ") 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_ECORE_IMF_CFLAGS=`$PKG_CONFIG --cflags "
15315     ecore-imf >= 1.7.8
15316     ecore-imf-evas >= 1.7.8
15317    " 2>/dev/null`
15318                       test "x$?" != "x0" && pkg_failed=yes
15319 else
15320   pkg_failed=yes
15321 fi
15322  else
15323     pkg_failed=untried
15324 fi
15325 if test -n "$ECORE_IMF_LIBS"; then
15326     pkg_cv_ECORE_IMF_LIBS="$ECORE_IMF_LIBS"
15327  elif test -n "$PKG_CONFIG"; then
15328     if test -n "$PKG_CONFIG" && \
15329     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15330     ecore-imf >= 1.7.8
15331     ecore-imf-evas >= 1.7.8
15332    \""; } >&5
15333   ($PKG_CONFIG --exists --print-errors "
15334     ecore-imf >= 1.7.8
15335     ecore-imf-evas >= 1.7.8
15336    ") 2>&5
15337   ac_status=$?
15338   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15339   test $ac_status = 0; }; then
15340   pkg_cv_ECORE_IMF_LIBS=`$PKG_CONFIG --libs "
15341     ecore-imf >= 1.7.8
15342     ecore-imf-evas >= 1.7.8
15343    " 2>/dev/null`
15344                       test "x$?" != "x0" && pkg_failed=yes
15345 else
15346   pkg_failed=yes
15347 fi
15348  else
15349     pkg_failed=untried
15350 fi
15351
15352
15353
15354 if test $pkg_failed = yes; then
15355         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15356 $as_echo "no" >&6; }
15357
15358 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15359         _pkg_short_errors_supported=yes
15360 else
15361         _pkg_short_errors_supported=no
15362 fi
15363         if test $_pkg_short_errors_supported = yes; then
15364                 ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
15365     ecore-imf >= 1.7.8
15366     ecore-imf-evas >= 1.7.8
15367    " 2>&1`
15368         else
15369                 ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
15370     ecore-imf >= 1.7.8
15371     ecore-imf-evas >= 1.7.8
15372    " 2>&1`
15373         fi
15374         # Put the nasty error message in config.log where it belongs
15375         echo "$ECORE_IMF_PKG_ERRORS" >&5
15376
15377         have_ecore_imf="no"
15378 elif test $pkg_failed = untried; then
15379         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15380 $as_echo "no" >&6; }
15381         have_ecore_imf="no"
15382 else
15383         ECORE_IMF_CFLAGS=$pkg_cv_ECORE_IMF_CFLAGS
15384         ECORE_IMF_LIBS=$pkg_cv_ECORE_IMF_LIBS
15385         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15386 $as_echo "yes" >&6; }
15387
15388
15389 $as_echo "#define HAVE_ECORE_IMF 1" >>confdefs.h
15390
15391     have_ecore_imf="yes"
15392     requirement_edje="ecore-imf-evas >= 1.7.8 ecore-imf >= 1.7.8 ${requirement_edje}"
15393
15394 fi
15395
15396
15397 pkg_failed=no
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIO" >&5
15399 $as_echo_n "checking for EIO... " >&6; }
15400
15401 if test -n "$EIO_CFLAGS"; then
15402     pkg_cv_EIO_CFLAGS="$EIO_CFLAGS"
15403  elif test -n "$PKG_CONFIG"; then
15404     if test -n "$PKG_CONFIG" && \
15405     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio >= 1.7.8\""; } >&5
15406   ($PKG_CONFIG --exists --print-errors "eio >= 1.7.8") 2>&5
15407   ac_status=$?
15408   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15409   test $ac_status = 0; }; then
15410   pkg_cv_EIO_CFLAGS=`$PKG_CONFIG --cflags "eio >= 1.7.8" 2>/dev/null`
15411                       test "x$?" != "x0" && pkg_failed=yes
15412 else
15413   pkg_failed=yes
15414 fi
15415  else
15416     pkg_failed=untried
15417 fi
15418 if test -n "$EIO_LIBS"; then
15419     pkg_cv_EIO_LIBS="$EIO_LIBS"
15420  elif test -n "$PKG_CONFIG"; then
15421     if test -n "$PKG_CONFIG" && \
15422     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio >= 1.7.8\""; } >&5
15423   ($PKG_CONFIG --exists --print-errors "eio >= 1.7.8") 2>&5
15424   ac_status=$?
15425   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15426   test $ac_status = 0; }; then
15427   pkg_cv_EIO_LIBS=`$PKG_CONFIG --libs "eio >= 1.7.8" 2>/dev/null`
15428                       test "x$?" != "x0" && pkg_failed=yes
15429 else
15430   pkg_failed=yes
15431 fi
15432  else
15433     pkg_failed=untried
15434 fi
15435
15436
15437
15438 if test $pkg_failed = yes; then
15439         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15440 $as_echo "no" >&6; }
15441
15442 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15443         _pkg_short_errors_supported=yes
15444 else
15445         _pkg_short_errors_supported=no
15446 fi
15447         if test $_pkg_short_errors_supported = yes; then
15448                 EIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eio >= 1.7.8" 2>&1`
15449         else
15450                 EIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eio >= 1.7.8" 2>&1`
15451         fi
15452         # Put the nasty error message in config.log where it belongs
15453         echo "$EIO_PKG_ERRORS" >&5
15454
15455         have_eio="no"
15456 elif test $pkg_failed = untried; then
15457         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15458 $as_echo "no" >&6; }
15459         have_eio="no"
15460 else
15461         EIO_CFLAGS=$pkg_cv_EIO_CFLAGS
15462         EIO_LIBS=$pkg_cv_EIO_LIBS
15463         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15464 $as_echo "yes" >&6; }
15465
15466
15467 $as_echo "#define HAVE_EIO 1" >>confdefs.h
15468
15469     have_eio="yes"
15470     requirement_edje="eio >= 1.7.8 ${requirement_edje}"
15471
15472 fi
15473
15474 # Enable Multisense use
15475 want_multisense="no"
15476  if test "x${want_multisense}" = "xyes"; then
15477   ENABLE_MULTISENSE_TRUE=
15478   ENABLE_MULTISENSE_FALSE='#'
15479 else
15480   ENABLE_MULTISENSE_TRUE='#'
15481   ENABLE_MULTISENSE_FALSE=
15482 fi
15483
15484
15485 ##sndfile library
15486 have_sndfile="no"
15487 want_sndfile="auto"
15488 # Check whether --enable-sndfile was given.
15489 if test "${enable_sndfile+set}" = set; then :
15490   enableval=$enable_sndfile; want_sndfile=$enableval
15491 fi
15492
15493
15494 if test "x${want_multisense}" = "xyes" -a  "x$want_sndfile" != "xno"; then
15495
15496
15497 pkg_failed=no
15498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDFILE" >&5
15499 $as_echo_n "checking for SNDFILE... " >&6; }
15500
15501 if test -n "$SNDFILE_CFLAGS"; then
15502     pkg_cv_SNDFILE_CFLAGS="$SNDFILE_CFLAGS"
15503  elif test -n "$PKG_CONFIG"; then
15504     if test -n "$PKG_CONFIG" && \
15505     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.21\""; } >&5
15506   ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.21") 2>&5
15507   ac_status=$?
15508   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15509   test $ac_status = 0; }; then
15510   pkg_cv_SNDFILE_CFLAGS=`$PKG_CONFIG --cflags "sndfile >= 1.0.21" 2>/dev/null`
15511                       test "x$?" != "x0" && pkg_failed=yes
15512 else
15513   pkg_failed=yes
15514 fi
15515  else
15516     pkg_failed=untried
15517 fi
15518 if test -n "$SNDFILE_LIBS"; then
15519     pkg_cv_SNDFILE_LIBS="$SNDFILE_LIBS"
15520  elif test -n "$PKG_CONFIG"; then
15521     if test -n "$PKG_CONFIG" && \
15522     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.21\""; } >&5
15523   ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.21") 2>&5
15524   ac_status=$?
15525   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15526   test $ac_status = 0; }; then
15527   pkg_cv_SNDFILE_LIBS=`$PKG_CONFIG --libs "sndfile >= 1.0.21" 2>/dev/null`
15528                       test "x$?" != "x0" && pkg_failed=yes
15529 else
15530   pkg_failed=yes
15531 fi
15532  else
15533     pkg_failed=untried
15534 fi
15535
15536
15537
15538 if test $pkg_failed = yes; then
15539         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15540 $as_echo "no" >&6; }
15541
15542 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15543         _pkg_short_errors_supported=yes
15544 else
15545         _pkg_short_errors_supported=no
15546 fi
15547         if test $_pkg_short_errors_supported = yes; then
15548                 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sndfile >= 1.0.21" 2>&1`
15549         else
15550                 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sndfile >= 1.0.21" 2>&1`
15551         fi
15552         # Put the nasty error message in config.log where it belongs
15553         echo "$SNDFILE_PKG_ERRORS" >&5
15554
15555         have_sndfile="no"; want_multisense="no"
15556
15557 elif test $pkg_failed = untried; then
15558         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15559 $as_echo "no" >&6; }
15560         have_sndfile="no"; want_multisense="no"
15561
15562 else
15563         SNDFILE_CFLAGS=$pkg_cv_SNDFILE_CFLAGS
15564         SNDFILE_LIBS=$pkg_cv_SNDFILE_LIBS
15565         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15566 $as_echo "yes" >&6; }
15567
15568
15569 $as_echo "#define HAVE_LIBSNDFILE 1" >>confdefs.h
15570
15571                have_sndfile="yes"
15572                requirement_edje="sndfile >= 1.0.21 ${requirement_edje}"
15573
15574 fi
15575
15576         if test "x$want_sndfile" = "xyes" -a "x$have_sndfile" = "xno"; then
15577             as_fn_error $? "sndfile support requested, but not found by pkg-config." "$LINENO" 5
15578         fi
15579 fi
15580  if test "x${have_sndfile}" = "xyes"; then
15581   HAVE_LIBSNDFILE_TRUE=
15582   HAVE_LIBSNDFILE_FALSE='#'
15583 else
15584   HAVE_LIBSNDFILE_TRUE='#'
15585   HAVE_LIBSNDFILE_FALSE=
15586 fi
15587
15588
15589 ##libremix library
15590 have_libremix="no"
15591 want_libremix="auto"
15592 # Check whether --enable-remix was given.
15593 if test "${enable_remix+set}" = set; then :
15594   enableval=$enable_remix; want_libremix=$enableval
15595 fi
15596
15597
15598 if test "x${want_multisense}" = "xyes" -a "x$want_libremix" != "xno"; then
15599
15600 pkg_failed=no
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for REMIX" >&5
15602 $as_echo_n "checking for REMIX... " >&6; }
15603
15604 if test -n "$REMIX_CFLAGS"; then
15605     pkg_cv_REMIX_CFLAGS="$REMIX_CFLAGS"
15606  elif test -n "$PKG_CONFIG"; then
15607     if test -n "$PKG_CONFIG" && \
15608     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"remix >= 0.2.4\""; } >&5
15609   ($PKG_CONFIG --exists --print-errors "remix >= 0.2.4") 2>&5
15610   ac_status=$?
15611   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15612   test $ac_status = 0; }; then
15613   pkg_cv_REMIX_CFLAGS=`$PKG_CONFIG --cflags "remix >= 0.2.4" 2>/dev/null`
15614                       test "x$?" != "x0" && pkg_failed=yes
15615 else
15616   pkg_failed=yes
15617 fi
15618  else
15619     pkg_failed=untried
15620 fi
15621 if test -n "$REMIX_LIBS"; then
15622     pkg_cv_REMIX_LIBS="$REMIX_LIBS"
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 \"remix >= 0.2.4\""; } >&5
15626   ($PKG_CONFIG --exists --print-errors "remix >= 0.2.4") 2>&5
15627   ac_status=$?
15628   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15629   test $ac_status = 0; }; then
15630   pkg_cv_REMIX_LIBS=`$PKG_CONFIG --libs "remix >= 0.2.4" 2>/dev/null`
15631                       test "x$?" != "x0" && pkg_failed=yes
15632 else
15633   pkg_failed=yes
15634 fi
15635  else
15636     pkg_failed=untried
15637 fi
15638
15639
15640
15641 if test $pkg_failed = yes; then
15642         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15643 $as_echo "no" >&6; }
15644
15645 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15646         _pkg_short_errors_supported=yes
15647 else
15648         _pkg_short_errors_supported=no
15649 fi
15650         if test $_pkg_short_errors_supported = yes; then
15651                 REMIX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "remix >= 0.2.4" 2>&1`
15652         else
15653                 REMIX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "remix >= 0.2.4" 2>&1`
15654         fi
15655         # Put the nasty error message in config.log where it belongs
15656         echo "$REMIX_PKG_ERRORS" >&5
15657
15658         have_libremix="no"; want_multisense="no"
15659
15660 elif test $pkg_failed = untried; then
15661         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15662 $as_echo "no" >&6; }
15663         have_libremix="no"; want_multisense="no"
15664
15665 else
15666         REMIX_CFLAGS=$pkg_cv_REMIX_CFLAGS
15667         REMIX_LIBS=$pkg_cv_REMIX_LIBS
15668         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15669 $as_echo "yes" >&6; }
15670
15671
15672 $as_echo "#define HAVE_LIBREMIX 1" >>confdefs.h
15673
15674        have_libremix="yes"
15675        requirement_edje="remix >= 0.2.4 ${requirement_edje}"
15676
15677 $as_echo "#define __REMIX_PLUGIN__ 1" >>confdefs.h
15678
15679        REMIX_PLUGIN_DIR=`pkg-config --variable=libdir remix`"/remix"
15680
15681
15682 cat >>confdefs.h <<_ACEOF
15683 #define REMIX_PLUGIN_DIR "$REMIX_PLUGIN_DIR"
15684 _ACEOF
15685
15686
15687 fi
15688
15689         if test "x$want_libremix" = "xyes" -a "x$have_libremix" = "xno"; then
15690             as_fn_error $? "remix support requested, but not found by pkg-config." "$LINENO" 5
15691         fi
15692 fi
15693  if test "x${have_libremix}" = "xyes"; then
15694   HAVE_LIBREMIX_TRUE=
15695   HAVE_LIBREMIX_FALSE='#'
15696 else
15697   HAVE_LIBREMIX_TRUE='#'
15698   HAVE_LIBREMIX_FALSE=
15699 fi
15700
15701
15702 ##vorbis/ogg library
15703 have_vorbis="no"
15704 want_vorbis="auto"
15705 # Check whether --enable-vorbisenc was given.
15706 if test "${enable_vorbisenc+set}" = set; then :
15707   enableval=$enable_vorbisenc; want_vorbis=$enableval
15708 fi
15709
15710
15711 if test "x${want_multisense}" = "xyes" -a "x$want_vorbis" != "xno"; then
15712
15713 pkg_failed=no
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VORBISENC" >&5
15715 $as_echo_n "checking for VORBISENC... " >&6; }
15716
15717 if test -n "$VORBISENC_CFLAGS"; then
15718     pkg_cv_VORBISENC_CFLAGS="$VORBISENC_CFLAGS"
15719  elif test -n "$PKG_CONFIG"; then
15720     if test -n "$PKG_CONFIG" && \
15721     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15722        ogg >= 1.1.4
15723        vorbis >= 1.2.3
15724        vorbisenc >= 1.2.3
15725       \""; } >&5
15726   ($PKG_CONFIG --exists --print-errors "
15727        ogg >= 1.1.4
15728        vorbis >= 1.2.3
15729        vorbisenc >= 1.2.3
15730       ") 2>&5
15731   ac_status=$?
15732   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15733   test $ac_status = 0; }; then
15734   pkg_cv_VORBISENC_CFLAGS=`$PKG_CONFIG --cflags "
15735        ogg >= 1.1.4
15736        vorbis >= 1.2.3
15737        vorbisenc >= 1.2.3
15738       " 2>/dev/null`
15739                       test "x$?" != "x0" && pkg_failed=yes
15740 else
15741   pkg_failed=yes
15742 fi
15743  else
15744     pkg_failed=untried
15745 fi
15746 if test -n "$VORBISENC_LIBS"; then
15747     pkg_cv_VORBISENC_LIBS="$VORBISENC_LIBS"
15748  elif test -n "$PKG_CONFIG"; then
15749     if test -n "$PKG_CONFIG" && \
15750     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15751        ogg >= 1.1.4
15752        vorbis >= 1.2.3
15753        vorbisenc >= 1.2.3
15754       \""; } >&5
15755   ($PKG_CONFIG --exists --print-errors "
15756        ogg >= 1.1.4
15757        vorbis >= 1.2.3
15758        vorbisenc >= 1.2.3
15759       ") 2>&5
15760   ac_status=$?
15761   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15762   test $ac_status = 0; }; then
15763   pkg_cv_VORBISENC_LIBS=`$PKG_CONFIG --libs "
15764        ogg >= 1.1.4
15765        vorbis >= 1.2.3
15766        vorbisenc >= 1.2.3
15767       " 2>/dev/null`
15768                       test "x$?" != "x0" && pkg_failed=yes
15769 else
15770   pkg_failed=yes
15771 fi
15772  else
15773     pkg_failed=untried
15774 fi
15775
15776
15777
15778 if test $pkg_failed = yes; then
15779         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15780 $as_echo "no" >&6; }
15781
15782 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15783         _pkg_short_errors_supported=yes
15784 else
15785         _pkg_short_errors_supported=no
15786 fi
15787         if test $_pkg_short_errors_supported = yes; then
15788                 VORBISENC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
15789        ogg >= 1.1.4
15790        vorbis >= 1.2.3
15791        vorbisenc >= 1.2.3
15792       " 2>&1`
15793         else
15794                 VORBISENC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
15795        ogg >= 1.1.4
15796        vorbis >= 1.2.3
15797        vorbisenc >= 1.2.3
15798       " 2>&1`
15799         fi
15800         # Put the nasty error message in config.log where it belongs
15801         echo "$VORBISENC_PKG_ERRORS" >&5
15802
15803         have_vorbis="no"; want_multisense="no"
15804
15805 elif test $pkg_failed = untried; then
15806         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15807 $as_echo "no" >&6; }
15808         have_vorbis="no"; want_multisense="no"
15809
15810 else
15811         VORBISENC_CFLAGS=$pkg_cv_VORBISENC_CFLAGS
15812         VORBISENC_LIBS=$pkg_cv_VORBISENC_LIBS
15813         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15814 $as_echo "yes" >&6; }
15815
15816
15817 $as_echo "#define HAVE_VORBIS 1" >>confdefs.h
15818
15819        have_vorbis="yes"
15820        requirement_edje="ogg >= 1.1.4 vorbis >= 1.2.3 vorbisenc >= 1.2.3 ${requirement_edje}"
15821
15822 fi
15823
15824         if test "x$want_vorbis" = "xyes" -a "x$have_vorbis" = "xno"; then
15825             as_fn_error $? "vorbisenc support requested, but not found by pkg-config." "$LINENO" 5
15826         fi
15827 fi
15828
15829 ##alsa library
15830 have_alsa_lib="no"
15831 want_alsa_lib="auto"
15832 # Check whether --enable-alsa was given.
15833 if test "${enable_alsa+set}" = set; then :
15834   enableval=$enable_alsa; want_alsa_lib=$enableval
15835 fi
15836
15837
15838 if test "x${want_multisense}" = "xyes" -a "x$want_alsa_lib" != "xno"; then
15839
15840 pkg_failed=no
15841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
15842 $as_echo_n "checking for ALSA... " >&6; }
15843
15844 if test -n "$ALSA_CFLAGS"; then
15845     pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
15846  elif test -n "$PKG_CONFIG"; then
15847     if test -n "$PKG_CONFIG" && \
15848     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15849        alsa >= 1.0.21
15850       \""; } >&5
15851   ($PKG_CONFIG --exists --print-errors "
15852        alsa >= 1.0.21
15853       ") 2>&5
15854   ac_status=$?
15855   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15856   test $ac_status = 0; }; then
15857   pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "
15858        alsa >= 1.0.21
15859       " 2>/dev/null`
15860                       test "x$?" != "x0" && pkg_failed=yes
15861 else
15862   pkg_failed=yes
15863 fi
15864  else
15865     pkg_failed=untried
15866 fi
15867 if test -n "$ALSA_LIBS"; then
15868     pkg_cv_ALSA_LIBS="$ALSA_LIBS"
15869  elif test -n "$PKG_CONFIG"; then
15870     if test -n "$PKG_CONFIG" && \
15871     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15872        alsa >= 1.0.21
15873       \""; } >&5
15874   ($PKG_CONFIG --exists --print-errors "
15875        alsa >= 1.0.21
15876       ") 2>&5
15877   ac_status=$?
15878   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15879   test $ac_status = 0; }; then
15880   pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "
15881        alsa >= 1.0.21
15882       " 2>/dev/null`
15883                       test "x$?" != "x0" && pkg_failed=yes
15884 else
15885   pkg_failed=yes
15886 fi
15887  else
15888     pkg_failed=untried
15889 fi
15890
15891
15892
15893 if test $pkg_failed = yes; then
15894         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15895 $as_echo "no" >&6; }
15896
15897 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15898         _pkg_short_errors_supported=yes
15899 else
15900         _pkg_short_errors_supported=no
15901 fi
15902         if test $_pkg_short_errors_supported = yes; then
15903                 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
15904        alsa >= 1.0.21
15905       " 2>&1`
15906         else
15907                 ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
15908        alsa >= 1.0.21
15909       " 2>&1`
15910         fi
15911         # Put the nasty error message in config.log where it belongs
15912         echo "$ALSA_PKG_ERRORS" >&5
15913
15914         have_alsa_lib="no"; want_multisense="no"
15915
15916 elif test $pkg_failed = untried; then
15917         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15918 $as_echo "no" >&6; }
15919         have_alsa_lib="no"; want_multisense="no"
15920
15921 else
15922         ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
15923         ALSA_LIBS=$pkg_cv_ALSA_LIBS
15924         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15925 $as_echo "yes" >&6; }
15926
15927
15928 $as_echo "#define HAVE_LIBALSA 1" >>confdefs.h
15929
15930        have_alsa_lib="yes"
15931        requirement_edje="alsa >= 1.0.21 ${requirement_edje}"
15932
15933 fi
15934
15935         if test "x$want_alsa_lib" = "xyes" -a "x$have_alsa_lib" = "xno"; then
15936             as_fn_error $? "alsa support requested, but not found by pkg-config." "$LINENO" 5
15937         fi
15938 fi
15939  if test "x${have_alsa_lib}" = "xyes"; then
15940   HAVE_LIBALSA_TRUE=
15941   HAVE_LIBALSA_FALSE='#'
15942 else
15943   HAVE_LIBALSA_TRUE='#'
15944   HAVE_LIBALSA_FALSE=
15945 fi
15946
15947
15948
15949 ##flac library
15950 have_flac_lib="no"
15951 want_flac_lib="auto"
15952 # Check whether --enable-flac was given.
15953 if test "${enable_flac+set}" = set; then :
15954   enableval=$enable_flac; want_flac_lib=$enableval
15955 fi
15956
15957
15958 if test "x${want_multisense}" = "xyes" -a "x$want_flac_lib" != "xno"; then
15959
15960 pkg_failed=no
15961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLAC" >&5
15962 $as_echo_n "checking for FLAC... " >&6; }
15963
15964 if test -n "$FLAC_CFLAGS"; then
15965     pkg_cv_FLAC_CFLAGS="$FLAC_CFLAGS"
15966  elif test -n "$PKG_CONFIG"; then
15967     if test -n "$PKG_CONFIG" && \
15968     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15969        flac >= 1.2.1
15970       \""; } >&5
15971   ($PKG_CONFIG --exists --print-errors "
15972        flac >= 1.2.1
15973       ") 2>&5
15974   ac_status=$?
15975   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15976   test $ac_status = 0; }; then
15977   pkg_cv_FLAC_CFLAGS=`$PKG_CONFIG --cflags "
15978        flac >= 1.2.1
15979       " 2>/dev/null`
15980                       test "x$?" != "x0" && pkg_failed=yes
15981 else
15982   pkg_failed=yes
15983 fi
15984  else
15985     pkg_failed=untried
15986 fi
15987 if test -n "$FLAC_LIBS"; then
15988     pkg_cv_FLAC_LIBS="$FLAC_LIBS"
15989  elif test -n "$PKG_CONFIG"; then
15990     if test -n "$PKG_CONFIG" && \
15991     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15992        flac >= 1.2.1
15993       \""; } >&5
15994   ($PKG_CONFIG --exists --print-errors "
15995        flac >= 1.2.1
15996       ") 2>&5
15997   ac_status=$?
15998   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15999   test $ac_status = 0; }; then
16000   pkg_cv_FLAC_LIBS=`$PKG_CONFIG --libs "
16001        flac >= 1.2.1
16002       " 2>/dev/null`
16003                       test "x$?" != "x0" && pkg_failed=yes
16004 else
16005   pkg_failed=yes
16006 fi
16007  else
16008     pkg_failed=untried
16009 fi
16010
16011
16012
16013 if test $pkg_failed = yes; then
16014         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16015 $as_echo "no" >&6; }
16016
16017 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16018         _pkg_short_errors_supported=yes
16019 else
16020         _pkg_short_errors_supported=no
16021 fi
16022         if test $_pkg_short_errors_supported = yes; then
16023                 FLAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16024        flac >= 1.2.1
16025       " 2>&1`
16026         else
16027                 FLAC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16028        flac >= 1.2.1
16029       " 2>&1`
16030         fi
16031         # Put the nasty error message in config.log where it belongs
16032         echo "$FLAC_PKG_ERRORS" >&5
16033
16034         have_flac_lib="no"; want_multisense="no"
16035
16036 elif test $pkg_failed = untried; then
16037         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16038 $as_echo "no" >&6; }
16039         have_flac_lib="no"; want_multisense="no"
16040
16041 else
16042         FLAC_CFLAGS=$pkg_cv_FLAC_CFLAGS
16043         FLAC_LIBS=$pkg_cv_FLAC_LIBS
16044         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16045 $as_echo "yes" >&6; }
16046
16047
16048 $as_echo "#define HAVE_LIBFLAC 1" >>confdefs.h
16049
16050        have_flac_lib="yes"
16051        # disabled because this adds flac include dirs to cflags... and
16052        # FLAC has an assert.h in its include dirs that ends up
16053        # overriding the system assert.h and thus causes all sorts of
16054        # mayhem
16055        #requirement_edje="flac >= 1.2.1 ${requirement_edje}"
16056
16057 fi
16058         if test "x$want_flac_lib" = "xyes" -a "x$have_flac_lib" = "xno"; then
16059             as_fn_error $? "flac support requested, but not found by pkg-config." "$LINENO" 5
16060         fi
16061 fi
16062
16063 if test "x${want_multisense}" = "xyes" ; then
16064
16065 $as_echo "#define ENABLE_MULTISENSE 1" >>confdefs.h
16066
16067 fi
16068
16069
16070 # Dependencies for the binaries
16071
16072 if test "x${have_edje_cc}" = "xyes" ; then
16073
16074 pkg_failed=no
16075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_CC" >&5
16076 $as_echo_n "checking for EDJE_CC... " >&6; }
16077
16078 if test -n "$EDJE_CC_CFLAGS"; then
16079     pkg_cv_EDJE_CC_CFLAGS="$EDJE_CC_CFLAGS"
16080  elif test -n "$PKG_CONFIG"; then
16081     if test -n "$PKG_CONFIG" && \
16082     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8\""; } >&5
16083   ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8") 2>&5
16084   ac_status=$?
16085   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16086   test $ac_status = 0; }; then
16087   pkg_cv_EDJE_CC_CFLAGS=`$PKG_CONFIG --cflags "ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8" 2>/dev/null`
16088                       test "x$?" != "x0" && pkg_failed=yes
16089 else
16090   pkg_failed=yes
16091 fi
16092  else
16093     pkg_failed=untried
16094 fi
16095 if test -n "$EDJE_CC_LIBS"; then
16096     pkg_cv_EDJE_CC_LIBS="$EDJE_CC_LIBS"
16097  elif test -n "$PKG_CONFIG"; then
16098     if test -n "$PKG_CONFIG" && \
16099     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8\""; } >&5
16100   ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8") 2>&5
16101   ac_status=$?
16102   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16103   test $ac_status = 0; }; then
16104   pkg_cv_EDJE_CC_LIBS=`$PKG_CONFIG --libs "ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8" 2>/dev/null`
16105                       test "x$?" != "x0" && pkg_failed=yes
16106 else
16107   pkg_failed=yes
16108 fi
16109  else
16110     pkg_failed=untried
16111 fi
16112
16113
16114
16115 if test $pkg_failed = yes; then
16116         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16117 $as_echo "no" >&6; }
16118
16119 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16120         _pkg_short_errors_supported=yes
16121 else
16122         _pkg_short_errors_supported=no
16123 fi
16124         if test $_pkg_short_errors_supported = yes; then
16125                 EDJE_CC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8" 2>&1`
16126         else
16127                 EDJE_CC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8" 2>&1`
16128         fi
16129         # Put the nasty error message in config.log where it belongs
16130         echo "$EDJE_CC_PKG_ERRORS" >&5
16131
16132         as_fn_error $? "Package requirements (ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8) were not met:
16133
16134 $EDJE_CC_PKG_ERRORS
16135
16136 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16137 installed software in a non-standard prefix.
16138
16139 Alternatively, you may set the environment variables EDJE_CC_CFLAGS
16140 and EDJE_CC_LIBS to avoid the need to call pkg-config.
16141 See the pkg-config man page for more details." "$LINENO" 5
16142 elif test $pkg_failed = untried; then
16143         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16144 $as_echo "no" >&6; }
16145         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16146 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16147 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16148 is in your PATH or set the PKG_CONFIG environment variable to the full
16149 path to pkg-config.
16150
16151 Alternatively, you may set the environment variables EDJE_CC_CFLAGS
16152 and EDJE_CC_LIBS to avoid the need to call pkg-config.
16153 See the pkg-config man page for more details.
16154
16155 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16156 See \`config.log' for more details" "$LINENO" 5; }
16157 else
16158         EDJE_CC_CFLAGS=$pkg_cv_EDJE_CC_CFLAGS
16159         EDJE_CC_LIBS=$pkg_cv_EDJE_CC_LIBS
16160         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16161 $as_echo "yes" >&6; }
16162
16163 fi
16164    EDJE_CC_LIBS="${EDJE_CC_LIBS} ${LUA_LIBS} ${lua_libs}"
16165 fi
16166
16167  if test "x${have_edje_cc}" = "xyes"; then
16168   BUILD_EPP_TRUE=
16169   BUILD_EPP_FALSE='#'
16170 else
16171   BUILD_EPP_TRUE='#'
16172   BUILD_EPP_FALSE=
16173 fi
16174
16175
16176 if test "x${have_edje_decc}" = "xyes" ; then
16177
16178 pkg_failed=no
16179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_DECC" >&5
16180 $as_echo_n "checking for EDJE_DECC... " >&6; }
16181
16182 if test -n "$EDJE_DECC_CFLAGS"; then
16183     pkg_cv_EDJE_DECC_CFLAGS="$EDJE_DECC_CFLAGS"
16184  elif test -n "$PKG_CONFIG"; then
16185     if test -n "$PKG_CONFIG" && \
16186     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8\""; } >&5
16187   ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8") 2>&5
16188   ac_status=$?
16189   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16190   test $ac_status = 0; }; then
16191   pkg_cv_EDJE_DECC_CFLAGS=`$PKG_CONFIG --cflags "ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8" 2>/dev/null`
16192                       test "x$?" != "x0" && pkg_failed=yes
16193 else
16194   pkg_failed=yes
16195 fi
16196  else
16197     pkg_failed=untried
16198 fi
16199 if test -n "$EDJE_DECC_LIBS"; then
16200     pkg_cv_EDJE_DECC_LIBS="$EDJE_DECC_LIBS"
16201  elif test -n "$PKG_CONFIG"; then
16202     if test -n "$PKG_CONFIG" && \
16203     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8\""; } >&5
16204   ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8") 2>&5
16205   ac_status=$?
16206   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16207   test $ac_status = 0; }; then
16208   pkg_cv_EDJE_DECC_LIBS=`$PKG_CONFIG --libs "ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8" 2>/dev/null`
16209                       test "x$?" != "x0" && pkg_failed=yes
16210 else
16211   pkg_failed=yes
16212 fi
16213  else
16214     pkg_failed=untried
16215 fi
16216
16217
16218
16219 if test $pkg_failed = yes; then
16220         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16221 $as_echo "no" >&6; }
16222
16223 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16224         _pkg_short_errors_supported=yes
16225 else
16226         _pkg_short_errors_supported=no
16227 fi
16228         if test $_pkg_short_errors_supported = yes; then
16229                 EDJE_DECC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8" 2>&1`
16230         else
16231                 EDJE_DECC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8" 2>&1`
16232         fi
16233         # Put the nasty error message in config.log where it belongs
16234         echo "$EDJE_DECC_PKG_ERRORS" >&5
16235
16236         as_fn_error $? "Package requirements (ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8) were not met:
16237
16238 $EDJE_DECC_PKG_ERRORS
16239
16240 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16241 installed software in a non-standard prefix.
16242
16243 Alternatively, you may set the environment variables EDJE_DECC_CFLAGS
16244 and EDJE_DECC_LIBS to avoid the need to call pkg-config.
16245 See the pkg-config man page for more details." "$LINENO" 5
16246 elif test $pkg_failed = untried; then
16247         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16248 $as_echo "no" >&6; }
16249         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16251 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16252 is in your PATH or set the PKG_CONFIG environment variable to the full
16253 path to pkg-config.
16254
16255 Alternatively, you may set the environment variables EDJE_DECC_CFLAGS
16256 and EDJE_DECC_LIBS to avoid the need to call pkg-config.
16257 See the pkg-config man page for more details.
16258
16259 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16260 See \`config.log' for more details" "$LINENO" 5; }
16261 else
16262         EDJE_DECC_CFLAGS=$pkg_cv_EDJE_DECC_CFLAGS
16263         EDJE_DECC_LIBS=$pkg_cv_EDJE_DECC_LIBS
16264         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16265 $as_echo "yes" >&6; }
16266
16267 fi
16268 fi
16269
16270 if test "x${have_edje_player}" = "xyes" ; then
16271
16272 pkg_failed=no
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_PLAYER" >&5
16274 $as_echo_n "checking for EDJE_PLAYER... " >&6; }
16275
16276 if test -n "$EDJE_PLAYER_CFLAGS"; then
16277     pkg_cv_EDJE_PLAYER_CFLAGS="$EDJE_PLAYER_CFLAGS"
16278  elif test -n "$PKG_CONFIG"; then
16279     if test -n "$PKG_CONFIG" && \
16280     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8\""; } >&5
16281   ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8") 2>&5
16282   ac_status=$?
16283   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16284   test $ac_status = 0; }; then
16285   pkg_cv_EDJE_PLAYER_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8" 2>/dev/null`
16286                       test "x$?" != "x0" && pkg_failed=yes
16287 else
16288   pkg_failed=yes
16289 fi
16290  else
16291     pkg_failed=untried
16292 fi
16293 if test -n "$EDJE_PLAYER_LIBS"; then
16294     pkg_cv_EDJE_PLAYER_LIBS="$EDJE_PLAYER_LIBS"
16295  elif test -n "$PKG_CONFIG"; then
16296     if test -n "$PKG_CONFIG" && \
16297     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8\""; } >&5
16298   ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8") 2>&5
16299   ac_status=$?
16300   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16301   test $ac_status = 0; }; then
16302   pkg_cv_EDJE_PLAYER_LIBS=`$PKG_CONFIG --libs "ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8" 2>/dev/null`
16303                       test "x$?" != "x0" && pkg_failed=yes
16304 else
16305   pkg_failed=yes
16306 fi
16307  else
16308     pkg_failed=untried
16309 fi
16310
16311
16312
16313 if test $pkg_failed = yes; then
16314         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16315 $as_echo "no" >&6; }
16316
16317 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16318         _pkg_short_errors_supported=yes
16319 else
16320         _pkg_short_errors_supported=no
16321 fi
16322         if test $_pkg_short_errors_supported = yes; then
16323                 EDJE_PLAYER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8" 2>&1`
16324         else
16325                 EDJE_PLAYER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8" 2>&1`
16326         fi
16327         # Put the nasty error message in config.log where it belongs
16328         echo "$EDJE_PLAYER_PKG_ERRORS" >&5
16329
16330         as_fn_error $? "Package requirements (ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8) were not met:
16331
16332 $EDJE_PLAYER_PKG_ERRORS
16333
16334 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16335 installed software in a non-standard prefix.
16336
16337 Alternatively, you may set the environment variables EDJE_PLAYER_CFLAGS
16338 and EDJE_PLAYER_LIBS to avoid the need to call pkg-config.
16339 See the pkg-config man page for more details." "$LINENO" 5
16340 elif test $pkg_failed = untried; then
16341         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16342 $as_echo "no" >&6; }
16343         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16344 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16345 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16346 is in your PATH or set the PKG_CONFIG environment variable to the full
16347 path to pkg-config.
16348
16349 Alternatively, you may set the environment variables EDJE_PLAYER_CFLAGS
16350 and EDJE_PLAYER_LIBS to avoid the need to call pkg-config.
16351 See the pkg-config man page for more details.
16352
16353 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16354 See \`config.log' for more details" "$LINENO" 5; }
16355 else
16356         EDJE_PLAYER_CFLAGS=$pkg_cv_EDJE_PLAYER_CFLAGS
16357         EDJE_PLAYER_LIBS=$pkg_cv_EDJE_PLAYER_LIBS
16358         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16359 $as_echo "yes" >&6; }
16360
16361 fi
16362 fi
16363
16364 if test "x${have_edje_inspector}" = "xyes" ; then
16365
16366 pkg_failed=no
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_INSPECTOR" >&5
16368 $as_echo_n "checking for EDJE_INSPECTOR... " >&6; }
16369
16370 if test -n "$EDJE_INSPECTOR_CFLAGS"; then
16371     pkg_cv_EDJE_INSPECTOR_CFLAGS="$EDJE_INSPECTOR_CFLAGS"
16372  elif test -n "$PKG_CONFIG"; then
16373     if test -n "$PKG_CONFIG" && \
16374     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8\""; } >&5
16375   ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8") 2>&5
16376   ac_status=$?
16377   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16378   test $ac_status = 0; }; then
16379   pkg_cv_EDJE_INSPECTOR_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8" 2>/dev/null`
16380                       test "x$?" != "x0" && pkg_failed=yes
16381 else
16382   pkg_failed=yes
16383 fi
16384  else
16385     pkg_failed=untried
16386 fi
16387 if test -n "$EDJE_INSPECTOR_LIBS"; then
16388     pkg_cv_EDJE_INSPECTOR_LIBS="$EDJE_INSPECTOR_LIBS"
16389  elif test -n "$PKG_CONFIG"; then
16390     if test -n "$PKG_CONFIG" && \
16391     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8\""; } >&5
16392   ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8") 2>&5
16393   ac_status=$?
16394   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16395   test $ac_status = 0; }; then
16396   pkg_cv_EDJE_INSPECTOR_LIBS=`$PKG_CONFIG --libs "ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8" 2>/dev/null`
16397                       test "x$?" != "x0" && pkg_failed=yes
16398 else
16399   pkg_failed=yes
16400 fi
16401  else
16402     pkg_failed=untried
16403 fi
16404
16405
16406
16407 if test $pkg_failed = yes; then
16408         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16409 $as_echo "no" >&6; }
16410
16411 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16412         _pkg_short_errors_supported=yes
16413 else
16414         _pkg_short_errors_supported=no
16415 fi
16416         if test $_pkg_short_errors_supported = yes; then
16417                 EDJE_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8" 2>&1`
16418         else
16419                 EDJE_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8" 2>&1`
16420         fi
16421         # Put the nasty error message in config.log where it belongs
16422         echo "$EDJE_INSPECTOR_PKG_ERRORS" >&5
16423
16424         as_fn_error $? "Package requirements (ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8) were not met:
16425
16426 $EDJE_INSPECTOR_PKG_ERRORS
16427
16428 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16429 installed software in a non-standard prefix.
16430
16431 Alternatively, you may set the environment variables EDJE_INSPECTOR_CFLAGS
16432 and EDJE_INSPECTOR_LIBS to avoid the need to call pkg-config.
16433 See the pkg-config man page for more details." "$LINENO" 5
16434 elif test $pkg_failed = untried; then
16435         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16436 $as_echo "no" >&6; }
16437         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16439 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16440 is in your PATH or set the PKG_CONFIG environment variable to the full
16441 path to pkg-config.
16442
16443 Alternatively, you may set the environment variables EDJE_INSPECTOR_CFLAGS
16444 and EDJE_INSPECTOR_LIBS to avoid the need to call pkg-config.
16445 See the pkg-config man page for more details.
16446
16447 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16448 See \`config.log' for more details" "$LINENO" 5; }
16449 else
16450         EDJE_INSPECTOR_CFLAGS=$pkg_cv_EDJE_INSPECTOR_CFLAGS
16451         EDJE_INSPECTOR_LIBS=$pkg_cv_EDJE_INSPECTOR_LIBS
16452         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16453 $as_echo "yes" >&6; }
16454
16455 fi
16456 fi
16457
16458 if test "x${have_edje_external_inspector}" = "xyes" ; then
16459
16460 pkg_failed=no
16461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_EXTERNAL_INSPECTOR" >&5
16462 $as_echo_n "checking for EDJE_EXTERNAL_INSPECTOR... " >&6; }
16463
16464 if test -n "$EDJE_EXTERNAL_INSPECTOR_CFLAGS"; then
16465     pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS="$EDJE_EXTERNAL_INSPECTOR_CFLAGS"
16466  elif test -n "$PKG_CONFIG"; then
16467     if test -n "$PKG_CONFIG" && \
16468     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8\""; } >&5
16469   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8") 2>&5
16470   ac_status=$?
16471   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16472   test $ac_status = 0; }; then
16473   pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8" 2>/dev/null`
16474                       test "x$?" != "x0" && pkg_failed=yes
16475 else
16476   pkg_failed=yes
16477 fi
16478  else
16479     pkg_failed=untried
16480 fi
16481 if test -n "$EDJE_EXTERNAL_INSPECTOR_LIBS"; then
16482     pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS="$EDJE_EXTERNAL_INSPECTOR_LIBS"
16483  elif test -n "$PKG_CONFIG"; then
16484     if test -n "$PKG_CONFIG" && \
16485     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8\""; } >&5
16486   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8") 2>&5
16487   ac_status=$?
16488   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16489   test $ac_status = 0; }; then
16490   pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8" 2>/dev/null`
16491                       test "x$?" != "x0" && pkg_failed=yes
16492 else
16493   pkg_failed=yes
16494 fi
16495  else
16496     pkg_failed=untried
16497 fi
16498
16499
16500
16501 if test $pkg_failed = yes; then
16502         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16503 $as_echo "no" >&6; }
16504
16505 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16506         _pkg_short_errors_supported=yes
16507 else
16508         _pkg_short_errors_supported=no
16509 fi
16510         if test $_pkg_short_errors_supported = yes; then
16511                 EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8" 2>&1`
16512         else
16513                 EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8" 2>&1`
16514         fi
16515         # Put the nasty error message in config.log where it belongs
16516         echo "$EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS" >&5
16517
16518         as_fn_error $? "Package requirements (ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8) were not met:
16519
16520 $EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS
16521
16522 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16523 installed software in a non-standard prefix.
16524
16525 Alternatively, you may set the environment variables EDJE_EXTERNAL_INSPECTOR_CFLAGS
16526 and EDJE_EXTERNAL_INSPECTOR_LIBS to avoid the need to call pkg-config.
16527 See the pkg-config man page for more details." "$LINENO" 5
16528 elif test $pkg_failed = untried; then
16529         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16530 $as_echo "no" >&6; }
16531         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16533 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16534 is in your PATH or set the PKG_CONFIG environment variable to the full
16535 path to pkg-config.
16536
16537 Alternatively, you may set the environment variables EDJE_EXTERNAL_INSPECTOR_CFLAGS
16538 and EDJE_EXTERNAL_INSPECTOR_LIBS to avoid the need to call pkg-config.
16539 See the pkg-config man page for more details.
16540
16541 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16542 See \`config.log' for more details" "$LINENO" 5; }
16543 else
16544         EDJE_EXTERNAL_INSPECTOR_CFLAGS=$pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS
16545         EDJE_EXTERNAL_INSPECTOR_LIBS=$pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS
16546         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16547 $as_echo "yes" >&6; }
16548
16549 fi
16550 fi
16551
16552 if test "x${have_edje_watch}" = "xyes" ; then
16553
16554 pkg_failed=no
16555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_WATCH" >&5
16556 $as_echo_n "checking for EDJE_WATCH... " >&6; }
16557
16558 if test -n "$EDJE_WATCH_CFLAGS"; then
16559     pkg_cv_EDJE_WATCH_CFLAGS="$EDJE_WATCH_CFLAGS"
16560  elif test -n "$PKG_CONFIG"; then
16561     if test -n "$PKG_CONFIG" && \
16562     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 eina >= 1.7.8 eio >= 1.7.8\""; } >&5
16563   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 eina >= 1.7.8 eio >= 1.7.8") 2>&5
16564   ac_status=$?
16565   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16566   test $ac_status = 0; }; then
16567   pkg_cv_EDJE_WATCH_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.8 eina >= 1.7.8 eio >= 1.7.8" 2>/dev/null`
16568                       test "x$?" != "x0" && pkg_failed=yes
16569 else
16570   pkg_failed=yes
16571 fi
16572  else
16573     pkg_failed=untried
16574 fi
16575 if test -n "$EDJE_WATCH_LIBS"; then
16576     pkg_cv_EDJE_WATCH_LIBS="$EDJE_WATCH_LIBS"
16577  elif test -n "$PKG_CONFIG"; then
16578     if test -n "$PKG_CONFIG" && \
16579     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 eina >= 1.7.8 eio >= 1.7.8\""; } >&5
16580   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 eina >= 1.7.8 eio >= 1.7.8") 2>&5
16581   ac_status=$?
16582   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16583   test $ac_status = 0; }; then
16584   pkg_cv_EDJE_WATCH_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.8 eina >= 1.7.8 eio >= 1.7.8" 2>/dev/null`
16585                       test "x$?" != "x0" && pkg_failed=yes
16586 else
16587   pkg_failed=yes
16588 fi
16589  else
16590     pkg_failed=untried
16591 fi
16592
16593
16594
16595 if test $pkg_failed = yes; then
16596         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16597 $as_echo "no" >&6; }
16598
16599 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16600         _pkg_short_errors_supported=yes
16601 else
16602         _pkg_short_errors_supported=no
16603 fi
16604         if test $_pkg_short_errors_supported = yes; then
16605                 EDJE_WATCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.8 eina >= 1.7.8 eio >= 1.7.8" 2>&1`
16606         else
16607                 EDJE_WATCH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.8 eina >= 1.7.8 eio >= 1.7.8" 2>&1`
16608         fi
16609         # Put the nasty error message in config.log where it belongs
16610         echo "$EDJE_WATCH_PKG_ERRORS" >&5
16611
16612         have_edje_watch="no"
16613 elif test $pkg_failed = untried; then
16614         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16615 $as_echo "no" >&6; }
16616         have_edje_watch="no"
16617 else
16618         EDJE_WATCH_CFLAGS=$pkg_cv_EDJE_WATCH_CFLAGS
16619         EDJE_WATCH_LIBS=$pkg_cv_EDJE_WATCH_LIBS
16620         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16621 $as_echo "yes" >&6; }
16622         have_edje_watch="yes"
16623 fi
16624 fi
16625
16626  if test "x${have_edje_watch}" = "xyes"; then
16627   BUILD_EDJE_WATCH_TRUE=
16628   BUILD_EDJE_WATCH_FALSE='#'
16629 else
16630   BUILD_EDJE_WATCH_TRUE='#'
16631   BUILD_EDJE_WATCH_FALSE=
16632 fi
16633
16634
16635 ### Checks for header files
16636 for ac_header in locale.h sys/resource.h
16637 do :
16638   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16639 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16640 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16641   cat >>confdefs.h <<_ACEOF
16642 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16643 _ACEOF
16644
16645 fi
16646
16647 done
16648
16649
16650
16651
16652 default_max="4096"
16653 ac_ext=c
16654 ac_cpp='$CPP $CPPFLAGS'
16655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16658
16659
16660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
16661 $as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
16662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16663 /* end confdefs.h.  */
16664
16665 #include <limits.h>
16666
16667 int
16668 main ()
16669 {
16670
16671 int i = PATH_MAX;
16672
16673   ;
16674   return 0;
16675 }
16676 _ACEOF
16677 if ac_fn_c_try_compile "$LINENO"; then :
16678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16679 $as_echo "yes" >&6; }
16680 else
16681
16682
16683 cat >>confdefs.h <<_ACEOF
16684 #define PATH_MAX ${default_max}
16685 _ACEOF
16686
16687     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
16688 $as_echo "no: using ${default_max}" >&6; }
16689
16690 fi
16691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16692
16693 ac_ext=c
16694 ac_cpp='$CPP $CPPFLAGS'
16695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16698
16699
16700
16701
16702
16703 ### Checks for types
16704
16705
16706 ### Checks for structures
16707
16708
16709 ### Checks for compiler characteristics
16710 if test "x$CC" != xcc; then
16711   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
16712 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
16713 else
16714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
16715 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
16716 fi
16717 set dummy $CC; ac_cc=`$as_echo "$2" |
16718                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
16719 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
16720   $as_echo_n "(cached) " >&6
16721 else
16722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16723 /* end confdefs.h.  */
16724
16725 int
16726 main ()
16727 {
16728
16729   ;
16730   return 0;
16731 }
16732 _ACEOF
16733 # Make sure it works both with $CC and with simple cc.
16734 # We do the test twice because some compilers refuse to overwrite an
16735 # existing .o file with -o, though they will create one.
16736 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
16737 rm -f conftest2.*
16738 if { { case "(($ac_try" in
16739   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16740   *) ac_try_echo=$ac_try;;
16741 esac
16742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16743 $as_echo "$ac_try_echo"; } >&5
16744   (eval "$ac_try") 2>&5
16745   ac_status=$?
16746   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16747   test $ac_status = 0; } &&
16748    test -f conftest2.$ac_objext && { { case "(($ac_try" in
16749   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16750   *) ac_try_echo=$ac_try;;
16751 esac
16752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16753 $as_echo "$ac_try_echo"; } >&5
16754   (eval "$ac_try") 2>&5
16755   ac_status=$?
16756   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16757   test $ac_status = 0; };
16758 then
16759   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
16760   if test "x$CC" != xcc; then
16761     # Test first that cc exists at all.
16762     if { ac_try='cc -c conftest.$ac_ext >&5'
16763   { { case "(($ac_try" in
16764   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16765   *) ac_try_echo=$ac_try;;
16766 esac
16767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16768 $as_echo "$ac_try_echo"; } >&5
16769   (eval "$ac_try") 2>&5
16770   ac_status=$?
16771   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16772   test $ac_status = 0; }; }; then
16773       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
16774       rm -f conftest2.*
16775       if { { case "(($ac_try" in
16776   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16777   *) ac_try_echo=$ac_try;;
16778 esac
16779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16780 $as_echo "$ac_try_echo"; } >&5
16781   (eval "$ac_try") 2>&5
16782   ac_status=$?
16783   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16784   test $ac_status = 0; } &&
16785          test -f conftest2.$ac_objext && { { case "(($ac_try" in
16786   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16787   *) ac_try_echo=$ac_try;;
16788 esac
16789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16790 $as_echo "$ac_try_echo"; } >&5
16791   (eval "$ac_try") 2>&5
16792   ac_status=$?
16793   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16794   test $ac_status = 0; };
16795       then
16796         # cc works too.
16797         :
16798       else
16799         # cc exists but doesn't like -o.
16800         eval ac_cv_prog_cc_${ac_cc}_c_o=no
16801       fi
16802     fi
16803   fi
16804 else
16805   eval ac_cv_prog_cc_${ac_cc}_c_o=no
16806 fi
16807 rm -f core conftest*
16808
16809 fi
16810 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
16811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16812 $as_echo "yes" >&6; }
16813 else
16814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16815 $as_echo "no" >&6; }
16816
16817 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
16818
16819 fi
16820
16821 # FIXME: we rely on the cache variable name because
16822 # there is no other way.
16823 set dummy $CC
16824 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
16825 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
16826 if test "$am_t" != yes; then
16827    # Losing compiler, so override with the script.
16828    # FIXME: It is wrong to rewrite CC.
16829    # But if we don't then we get into trouble of one sort or another.
16830    # A longer-term fix would be to have automake use am__CC in this case,
16831    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
16832    CC="$am_aux_dir/compile $CC"
16833 fi
16834
16835
16836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
16837 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
16838 if ${ac_cv_c_const+:} false; then :
16839   $as_echo_n "(cached) " >&6
16840 else
16841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16842 /* end confdefs.h.  */
16843
16844 int
16845 main ()
16846 {
16847
16848 #ifndef __cplusplus
16849   /* Ultrix mips cc rejects this sort of thing.  */
16850   typedef int charset[2];
16851   const charset cs = { 0, 0 };
16852   /* SunOS 4.1.1 cc rejects this.  */
16853   char const *const *pcpcc;
16854   char **ppc;
16855   /* NEC SVR4.0.2 mips cc rejects this.  */
16856   struct point {int x, y;};
16857   static struct point const zero = {0,0};
16858   /* AIX XL C 1.02.0.0 rejects this.
16859      It does not let you subtract one const X* pointer from another in
16860      an arm of an if-expression whose if-part is not a constant
16861      expression */
16862   const char *g = "string";
16863   pcpcc = &g + (g ? g-g : 0);
16864   /* HPUX 7.0 cc rejects these. */
16865   ++pcpcc;
16866   ppc = (char**) pcpcc;
16867   pcpcc = (char const *const *) ppc;
16868   { /* SCO 3.2v4 cc rejects this sort of thing.  */
16869     char tx;
16870     char *t = &tx;
16871     char const *s = 0 ? (char *) 0 : (char const *) 0;
16872
16873     *t++ = 0;
16874     if (s) return 0;
16875   }
16876   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
16877     int x[] = {25, 17};
16878     const int *foo = &x[0];
16879     ++foo;
16880   }
16881   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16882     typedef const int *iptr;
16883     iptr p = 0;
16884     ++p;
16885   }
16886   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
16887        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16888     struct s { int j; const int *ap[3]; } bx;
16889     struct s *b = &bx; b->j = 5;
16890   }
16891   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16892     const int foo = 10;
16893     if (!foo) return 0;
16894   }
16895   return !cs[0] && !zero.x;
16896 #endif
16897
16898   ;
16899   return 0;
16900 }
16901 _ACEOF
16902 if ac_fn_c_try_compile "$LINENO"; then :
16903   ac_cv_c_const=yes
16904 else
16905   ac_cv_c_const=no
16906 fi
16907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16908 fi
16909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
16910 $as_echo "$ac_cv_c_const" >&6; }
16911 if test $ac_cv_c_const = no; then
16912
16913 $as_echo "#define const /**/" >>confdefs.h
16914
16915 fi
16916
16917    case $ac_cv_prog_cc_stdc in #(
16918   no) :
16919     ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
16920   *) :
16921     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
16922 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
16923 if ${ac_cv_prog_cc_c99+:} false; then :
16924   $as_echo_n "(cached) " >&6
16925 else
16926   ac_cv_prog_cc_c99=no
16927 ac_save_CC=$CC
16928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16929 /* end confdefs.h.  */
16930 #include <stdarg.h>
16931 #include <stdbool.h>
16932 #include <stdlib.h>
16933 #include <wchar.h>
16934 #include <stdio.h>
16935
16936 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
16937 #define debug(...) fprintf (stderr, __VA_ARGS__)
16938 #define showlist(...) puts (#__VA_ARGS__)
16939 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
16940 static void
16941 test_varargs_macros (void)
16942 {
16943   int x = 1234;
16944   int y = 5678;
16945   debug ("Flag");
16946   debug ("X = %d\n", x);
16947   showlist (The first, second, and third items.);
16948   report (x>y, "x is %d but y is %d", x, y);
16949 }
16950
16951 // Check long long types.
16952 #define BIG64 18446744073709551615ull
16953 #define BIG32 4294967295ul
16954 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
16955 #if !BIG_OK
16956   your preprocessor is broken;
16957 #endif
16958 #if BIG_OK
16959 #else
16960   your preprocessor is broken;
16961 #endif
16962 static long long int bignum = -9223372036854775807LL;
16963 static unsigned long long int ubignum = BIG64;
16964
16965 struct incomplete_array
16966 {
16967   int datasize;
16968   double data[];
16969 };
16970
16971 struct named_init {
16972   int number;
16973   const wchar_t *name;
16974   double average;
16975 };
16976
16977 typedef const char *ccp;
16978
16979 static inline int
16980 test_restrict (ccp restrict text)
16981 {
16982   // See if C++-style comments work.
16983   // Iterate through items via the restricted pointer.
16984   // Also check for declarations in for loops.
16985   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
16986     continue;
16987   return 0;
16988 }
16989
16990 // Check varargs and va_copy.
16991 static void
16992 test_varargs (const char *format, ...)
16993 {
16994   va_list args;
16995   va_start (args, format);
16996   va_list args_copy;
16997   va_copy (args_copy, args);
16998
16999   const char *str;
17000   int number;
17001   float fnumber;
17002
17003   while (*format)
17004     {
17005       switch (*format++)
17006         {
17007         case 's': // string
17008           str = va_arg (args_copy, const char *);
17009           break;
17010         case 'd': // int
17011           number = va_arg (args_copy, int);
17012           break;
17013         case 'f': // float
17014           fnumber = va_arg (args_copy, double);
17015           break;
17016         default:
17017           break;
17018         }
17019     }
17020   va_end (args_copy);
17021   va_end (args);
17022 }
17023
17024 int
17025 main ()
17026 {
17027
17028   // Check bool.
17029   _Bool success = false;
17030
17031   // Check restrict.
17032   if (test_restrict ("String literal") == 0)
17033     success = true;
17034   char *restrict newvar = "Another string";
17035
17036   // Check varargs.
17037   test_varargs ("s, d' f .", "string", 65, 34.234);
17038   test_varargs_macros ();
17039
17040   // Check flexible array members.
17041   struct incomplete_array *ia =
17042     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
17043   ia->datasize = 10;
17044   for (int i = 0; i < ia->datasize; ++i)
17045     ia->data[i] = i * 1.234;
17046
17047   // Check named initializers.
17048   struct named_init ni = {
17049     .number = 34,
17050     .name = L"Test wide string",
17051     .average = 543.34343,
17052   };
17053
17054   ni.number = 58;
17055
17056   int dynamic_array[ni.number];
17057   dynamic_array[ni.number - 1] = 543;
17058
17059   // work around unused variable warnings
17060   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
17061           || dynamic_array[ni.number - 1] != 543);
17062
17063   ;
17064   return 0;
17065 }
17066 _ACEOF
17067 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
17068 do
17069   CC="$ac_save_CC $ac_arg"
17070   if ac_fn_c_try_compile "$LINENO"; then :
17071   ac_cv_prog_cc_c99=$ac_arg
17072 fi
17073 rm -f core conftest.err conftest.$ac_objext
17074   test "x$ac_cv_prog_cc_c99" != "xno" && break
17075 done
17076 rm -f conftest.$ac_ext
17077 CC=$ac_save_CC
17078
17079 fi
17080 # AC_CACHE_VAL
17081 case "x$ac_cv_prog_cc_c99" in
17082   x)
17083     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17084 $as_echo "none needed" >&6; } ;;
17085   xno)
17086     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17087 $as_echo "unsupported" >&6; } ;;
17088   *)
17089     CC="$CC $ac_cv_prog_cc_c99"
17090     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
17091 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
17092 esac
17093 if test "x$ac_cv_prog_cc_c99" != xno; then :
17094   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
17095 else
17096   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17097 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17098 if ${ac_cv_prog_cc_c89+:} false; then :
17099   $as_echo_n "(cached) " >&6
17100 else
17101   ac_cv_prog_cc_c89=no
17102 ac_save_CC=$CC
17103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17104 /* end confdefs.h.  */
17105 #include <stdarg.h>
17106 #include <stdio.h>
17107 struct stat;
17108 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
17109 struct buf { int x; };
17110 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17111 static char *e (p, i)
17112      char **p;
17113      int i;
17114 {
17115   return p[i];
17116 }
17117 static char *f (char * (*g) (char **, int), char **p, ...)
17118 {
17119   char *s;
17120   va_list v;
17121   va_start (v,p);
17122   s = g (p, va_arg (v,int));
17123   va_end (v);
17124   return s;
17125 }
17126
17127 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
17128    function prototypes and stuff, but not '\xHH' hex character constants.
17129    These don't provoke an error unfortunately, instead are silently treated
17130    as 'x'.  The following induces an error, until -std is added to get
17131    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
17132    array size at least.  It's necessary to write '\x00'==0 to get something
17133    that's true only with -std.  */
17134 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17135
17136 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17137    inside strings and character constants.  */
17138 #define FOO(x) 'x'
17139 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17140
17141 int test (int i, double x);
17142 struct s1 {int (*f) (int a);};
17143 struct s2 {int (*f) (double a);};
17144 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17145 int argc;
17146 char **argv;
17147 int
17148 main ()
17149 {
17150 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
17151   ;
17152   return 0;
17153 }
17154 _ACEOF
17155 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17156         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17157 do
17158   CC="$ac_save_CC $ac_arg"
17159   if ac_fn_c_try_compile "$LINENO"; then :
17160   ac_cv_prog_cc_c89=$ac_arg
17161 fi
17162 rm -f core conftest.err conftest.$ac_objext
17163   test "x$ac_cv_prog_cc_c89" != "xno" && break
17164 done
17165 rm -f conftest.$ac_ext
17166 CC=$ac_save_CC
17167
17168 fi
17169 # AC_CACHE_VAL
17170 case "x$ac_cv_prog_cc_c89" in
17171   x)
17172     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17173 $as_echo "none needed" >&6; } ;;
17174   xno)
17175     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17176 $as_echo "unsupported" >&6; } ;;
17177   *)
17178     CC="$CC $ac_cv_prog_cc_c89"
17179     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17180 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17181 esac
17182 if test "x$ac_cv_prog_cc_c89" != xno; then :
17183   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
17184 else
17185   ac_cv_prog_cc_stdc=no
17186 fi
17187
17188 fi
17189  ;;
17190 esac
17191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
17192 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
17193   if ${ac_cv_prog_cc_stdc+:} false; then :
17194   $as_echo_n "(cached) " >&6
17195 fi
17196
17197   case $ac_cv_prog_cc_stdc in #(
17198   no) :
17199     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17200 $as_echo "unsupported" >&6; } ;; #(
17201   '') :
17202     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17203 $as_echo "none needed" >&6; } ;; #(
17204   *) :
17205     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
17206 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
17207 esac
17208
17209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
17210 $as_echo_n "checking for ANSI C header files... " >&6; }
17211 if ${ac_cv_header_stdc+:} false; then :
17212   $as_echo_n "(cached) " >&6
17213 else
17214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17215 /* end confdefs.h.  */
17216 #include <stdlib.h>
17217 #include <stdarg.h>
17218 #include <string.h>
17219 #include <float.h>
17220
17221 int
17222 main ()
17223 {
17224
17225   ;
17226   return 0;
17227 }
17228 _ACEOF
17229 if ac_fn_c_try_compile "$LINENO"; then :
17230   ac_cv_header_stdc=yes
17231 else
17232   ac_cv_header_stdc=no
17233 fi
17234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17235
17236 if test $ac_cv_header_stdc = yes; then
17237   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17239 /* end confdefs.h.  */
17240 #include <string.h>
17241
17242 _ACEOF
17243 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17244   $EGREP "memchr" >/dev/null 2>&1; then :
17245
17246 else
17247   ac_cv_header_stdc=no
17248 fi
17249 rm -f conftest*
17250
17251 fi
17252
17253 if test $ac_cv_header_stdc = yes; then
17254   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17256 /* end confdefs.h.  */
17257 #include <stdlib.h>
17258
17259 _ACEOF
17260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17261   $EGREP "free" >/dev/null 2>&1; then :
17262
17263 else
17264   ac_cv_header_stdc=no
17265 fi
17266 rm -f conftest*
17267
17268 fi
17269
17270 if test $ac_cv_header_stdc = yes; then
17271   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17272   if test "$cross_compiling" = yes; then :
17273   :
17274 else
17275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17276 /* end confdefs.h.  */
17277 #include <ctype.h>
17278 #include <stdlib.h>
17279 #if ((' ' & 0x0FF) == 0x020)
17280 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17281 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17282 #else
17283 # define ISLOWER(c) \
17284                    (('a' <= (c) && (c) <= 'i') \
17285                      || ('j' <= (c) && (c) <= 'r') \
17286                      || ('s' <= (c) && (c) <= 'z'))
17287 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17288 #endif
17289
17290 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17291 int
17292 main ()
17293 {
17294   int i;
17295   for (i = 0; i < 256; i++)
17296     if (XOR (islower (i), ISLOWER (i))
17297         || toupper (i) != TOUPPER (i))
17298       return 2;
17299   return 0;
17300 }
17301 _ACEOF
17302 if ac_fn_c_try_run "$LINENO"; then :
17303
17304 else
17305   ac_cv_header_stdc=no
17306 fi
17307 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17308   conftest.$ac_objext conftest.beam conftest.$ac_ext
17309 fi
17310
17311 fi
17312 fi
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
17314 $as_echo "$ac_cv_header_stdc" >&6; }
17315 if test $ac_cv_header_stdc = yes; then
17316
17317 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
17318
17319 fi
17320
17321
17322
17323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
17324 $as_echo_n "checking for __attribute__... " >&6; }
17325
17326 if ${ac_cv___attribute__+:} false; then :
17327   $as_echo_n "(cached) " >&6
17328 else
17329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17330 /* end confdefs.h.  */
17331
17332 #include <stdlib.h>
17333
17334 int func(int x);
17335 int foo(int x __attribute__ ((unused)))
17336 {
17337    exit(1);
17338 }
17339
17340 int
17341 main ()
17342 {
17343
17344   ;
17345   return 0;
17346 }
17347 _ACEOF
17348 if ac_fn_c_try_compile "$LINENO"; then :
17349   ac_cv___attribute__="yes"
17350 else
17351   ac_cv___attribute__="no"
17352
17353 fi
17354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17355 fi
17356
17357
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
17359 $as_echo "$ac_cv___attribute__" >&6; }
17360
17361 if test "x${ac_cv___attribute__}" = "xyes" ; then
17362
17363 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
17364
17365
17366 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
17367
17368   else
17369
17370 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
17371
17372 fi
17373
17374
17375
17376 case "$host_os" in
17377    mingw32ce*)
17378       EDJE_CFLAGS="${EDJE_CFLAGS} -D_WIN32_WCE=0x0420"
17379       ;;
17380 esac
17381
17382
17383 ### Checks for linker characteristics
17384
17385 lt_enable_auto_import=""
17386 case "$host_os" in
17387    mingw*)
17388       lt_enable_auto_import="-Wl,--enable-auto-import"
17389       ;;
17390 esac
17391
17392
17393
17394 ### Checks for library functions
17395
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
17397 $as_echo_n "checking for library containing strerror... " >&6; }
17398 if ${ac_cv_search_strerror+:} false; then :
17399   $as_echo_n "(cached) " >&6
17400 else
17401   ac_func_search_save_LIBS=$LIBS
17402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17403 /* end confdefs.h.  */
17404
17405 /* Override any GCC internal prototype to avoid an error.
17406    Use char because int might match the return type of a GCC
17407    builtin and then its argument prototype would still apply.  */
17408 #ifdef __cplusplus
17409 extern "C"
17410 #endif
17411 char strerror ();
17412 int
17413 main ()
17414 {
17415 return strerror ();
17416   ;
17417   return 0;
17418 }
17419 _ACEOF
17420 for ac_lib in '' cposix; do
17421   if test -z "$ac_lib"; then
17422     ac_res="none required"
17423   else
17424     ac_res=-l$ac_lib
17425     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17426   fi
17427   if ac_fn_c_try_link "$LINENO"; then :
17428   ac_cv_search_strerror=$ac_res
17429 fi
17430 rm -f core conftest.err conftest.$ac_objext \
17431     conftest$ac_exeext
17432   if ${ac_cv_search_strerror+:} false; then :
17433   break
17434 fi
17435 done
17436 if ${ac_cv_search_strerror+:} false; then :
17437
17438 else
17439   ac_cv_search_strerror=no
17440 fi
17441 rm conftest.$ac_ext
17442 LIBS=$ac_func_search_save_LIBS
17443 fi
17444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
17445 $as_echo "$ac_cv_search_strerror" >&6; }
17446 ac_res=$ac_cv_search_strerror
17447 if test "$ac_res" != no; then :
17448   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17449
17450 fi
17451
17452
17453 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17454 if test "x$ac_cv_type_size_t" = xyes; then :
17455
17456 else
17457
17458 cat >>confdefs.h <<_ACEOF
17459 #define size_t unsigned int
17460 _ACEOF
17461
17462 fi
17463
17464 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
17465 # for constant arguments.  Useless!
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
17467 $as_echo_n "checking for working alloca.h... " >&6; }
17468 if ${ac_cv_working_alloca_h+:} false; then :
17469   $as_echo_n "(cached) " >&6
17470 else
17471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17472 /* end confdefs.h.  */
17473 #include <alloca.h>
17474 int
17475 main ()
17476 {
17477 char *p = (char *) alloca (2 * sizeof (int));
17478                           if (p) return 0;
17479   ;
17480   return 0;
17481 }
17482 _ACEOF
17483 if ac_fn_c_try_link "$LINENO"; then :
17484   ac_cv_working_alloca_h=yes
17485 else
17486   ac_cv_working_alloca_h=no
17487 fi
17488 rm -f core conftest.err conftest.$ac_objext \
17489     conftest$ac_exeext conftest.$ac_ext
17490 fi
17491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
17492 $as_echo "$ac_cv_working_alloca_h" >&6; }
17493 if test $ac_cv_working_alloca_h = yes; then
17494
17495 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
17496
17497 fi
17498
17499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
17500 $as_echo_n "checking for alloca... " >&6; }
17501 if ${ac_cv_func_alloca_works+:} false; then :
17502   $as_echo_n "(cached) " >&6
17503 else
17504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17505 /* end confdefs.h.  */
17506 #ifdef __GNUC__
17507 # define alloca __builtin_alloca
17508 #else
17509 # ifdef _MSC_VER
17510 #  include <malloc.h>
17511 #  define alloca _alloca
17512 # else
17513 #  ifdef HAVE_ALLOCA_H
17514 #   include <alloca.h>
17515 #  else
17516 #   ifdef _AIX
17517  #pragma alloca
17518 #   else
17519 #    ifndef alloca /* predefined by HP cc +Olibcalls */
17520 void *alloca (size_t);
17521 #    endif
17522 #   endif
17523 #  endif
17524 # endif
17525 #endif
17526
17527 int
17528 main ()
17529 {
17530 char *p = (char *) alloca (1);
17531                                     if (p) return 0;
17532   ;
17533   return 0;
17534 }
17535 _ACEOF
17536 if ac_fn_c_try_link "$LINENO"; then :
17537   ac_cv_func_alloca_works=yes
17538 else
17539   ac_cv_func_alloca_works=no
17540 fi
17541 rm -f core conftest.err conftest.$ac_objext \
17542     conftest$ac_exeext conftest.$ac_ext
17543 fi
17544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
17545 $as_echo "$ac_cv_func_alloca_works" >&6; }
17546
17547 if test $ac_cv_func_alloca_works = yes; then
17548
17549 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
17550
17551 else
17552   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
17553 # that cause trouble.  Some versions do not even contain alloca or
17554 # contain a buggy version.  If you still want to use their alloca,
17555 # use ar to extract alloca.o from them instead of compiling alloca.c.
17556
17557 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
17558
17559 $as_echo "#define C_ALLOCA 1" >>confdefs.h
17560
17561
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
17563 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
17564 if ${ac_cv_os_cray+:} false; then :
17565   $as_echo_n "(cached) " >&6
17566 else
17567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17568 /* end confdefs.h.  */
17569 #if defined CRAY && ! defined CRAY2
17570 webecray
17571 #else
17572 wenotbecray
17573 #endif
17574
17575 _ACEOF
17576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17577   $EGREP "webecray" >/dev/null 2>&1; then :
17578   ac_cv_os_cray=yes
17579 else
17580   ac_cv_os_cray=no
17581 fi
17582 rm -f conftest*
17583
17584 fi
17585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
17586 $as_echo "$ac_cv_os_cray" >&6; }
17587 if test $ac_cv_os_cray = yes; then
17588   for ac_func in _getb67 GETB67 getb67; do
17589     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17590 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17591 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17592
17593 cat >>confdefs.h <<_ACEOF
17594 #define CRAY_STACKSEG_END $ac_func
17595 _ACEOF
17596
17597     break
17598 fi
17599
17600   done
17601 fi
17602
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
17604 $as_echo_n "checking stack direction for C alloca... " >&6; }
17605 if ${ac_cv_c_stack_direction+:} false; then :
17606   $as_echo_n "(cached) " >&6
17607 else
17608   if test "$cross_compiling" = yes; then :
17609   ac_cv_c_stack_direction=0
17610 else
17611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17612 /* end confdefs.h.  */
17613 $ac_includes_default
17614 int
17615 find_stack_direction (int *addr, int depth)
17616 {
17617   int dir, dummy = 0;
17618   if (! addr)
17619     addr = &dummy;
17620   *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
17621   dir = depth ? find_stack_direction (addr, depth - 1) : 0;
17622   return dir + dummy;
17623 }
17624
17625 int
17626 main (int argc, char **argv)
17627 {
17628   return find_stack_direction (0, argc + !argv + 20) < 0;
17629 }
17630 _ACEOF
17631 if ac_fn_c_try_run "$LINENO"; then :
17632   ac_cv_c_stack_direction=1
17633 else
17634   ac_cv_c_stack_direction=-1
17635 fi
17636 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17637   conftest.$ac_objext conftest.beam conftest.$ac_ext
17638 fi
17639
17640 fi
17641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
17642 $as_echo "$ac_cv_c_stack_direction" >&6; }
17643 cat >>confdefs.h <<_ACEOF
17644 #define STACK_DIRECTION $ac_cv_c_stack_direction
17645 _ACEOF
17646
17647
17648 fi
17649
17650
17651 case "$host_os" in
17652    mingw*)
17653
17654 $as_echo "#define HAVE_REALPATH 1" >>confdefs.h
17655
17656       ;;
17657    *)
17658       for ac_func in realpath
17659 do :
17660   ac_fn_c_check_func "$LINENO" "realpath" "ac_cv_func_realpath"
17661 if test "x$ac_cv_func_realpath" = xyes; then :
17662   cat >>confdefs.h <<_ACEOF
17663 #define HAVE_REALPATH 1
17664 _ACEOF
17665
17666 fi
17667 done
17668
17669       ;;
17670 esac
17671
17672 ### Unit tests, coverage and benchmarking
17673
17674
17675
17676
17677 # Check whether --enable-tests was given.
17678 if test "${enable_tests+set}" = set; then :
17679   enableval=$enable_tests;
17680     if test "x${enableval}" = "xyes" ; then
17681        _efl_enable_tests="yes"
17682     else
17683        _efl_enable_tests="no"
17684     fi
17685
17686 else
17687   _efl_enable_tests="no"
17688 fi
17689
17690
17691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests are built" >&5
17692 $as_echo_n "checking whether tests are built... " >&6; }
17693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_tests}" >&5
17694 $as_echo "${_efl_enable_tests}" >&6; }
17695
17696
17697
17698 if test "x${_efl_enable_tests}" = "xyes" ; then
17699
17700 pkg_failed=no
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
17702 $as_echo_n "checking for CHECK... " >&6; }
17703
17704 if test -n "$CHECK_CFLAGS"; then
17705     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
17706  elif test -n "$PKG_CONFIG"; then
17707     if test -n "$PKG_CONFIG" && \
17708     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
17709   ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
17710   ac_status=$?
17711   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17712   test $ac_status = 0; }; then
17713   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.5" 2>/dev/null`
17714                       test "x$?" != "x0" && pkg_failed=yes
17715 else
17716   pkg_failed=yes
17717 fi
17718  else
17719     pkg_failed=untried
17720 fi
17721 if test -n "$CHECK_LIBS"; then
17722     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
17723  elif test -n "$PKG_CONFIG"; then
17724     if test -n "$PKG_CONFIG" && \
17725     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
17726   ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
17727   ac_status=$?
17728   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17729   test $ac_status = 0; }; then
17730   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.5" 2>/dev/null`
17731                       test "x$?" != "x0" && pkg_failed=yes
17732 else
17733   pkg_failed=yes
17734 fi
17735  else
17736     pkg_failed=untried
17737 fi
17738
17739
17740
17741 if test $pkg_failed = yes; then
17742         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17743 $as_echo "no" >&6; }
17744
17745 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17746         _pkg_short_errors_supported=yes
17747 else
17748         _pkg_short_errors_supported=no
17749 fi
17750         if test $_pkg_short_errors_supported = yes; then
17751                 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.5" 2>&1`
17752         else
17753                 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.5" 2>&1`
17754         fi
17755         # Put the nasty error message in config.log where it belongs
17756         echo "$CHECK_PKG_ERRORS" >&5
17757
17758         _efl_enable_tests="no"
17759 elif test $pkg_failed = untried; then
17760         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17761 $as_echo "no" >&6; }
17762         _efl_enable_tests="no"
17763 else
17764         CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
17765         CHECK_LIBS=$pkg_cv_CHECK_LIBS
17766         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17767 $as_echo "yes" >&6; }
17768         dummy="yes"
17769 fi
17770 fi
17771
17772  if test "x${_efl_enable_tests}" = "xyes"; then
17773   EFL_ENABLE_TESTS_TRUE=
17774   EFL_ENABLE_TESTS_FALSE='#'
17775 else
17776   EFL_ENABLE_TESTS_TRUE='#'
17777   EFL_ENABLE_TESTS_FALSE=
17778 fi
17779
17780
17781 if test "x$_efl_enable_tests" = "xyes"; then :
17782   enable_tests="yes"
17783 else
17784   enable_tests="no"
17785 fi
17786
17787
17788
17789
17790
17791 # Check whether --enable-coverage was given.
17792 if test "${enable_coverage+set}" = set; then :
17793   enableval=$enable_coverage;
17794     if test "x${enableval}" = "xyes" ; then
17795        _efl_enable_coverage="yes"
17796     else
17797        _efl_enable_coverage="no"
17798     fi
17799
17800 else
17801   _efl_enable_coverage="no"
17802 fi
17803
17804
17805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use profiling instrumentation" >&5
17806 $as_echo_n "checking whether to use profiling instrumentation... " >&6; }
17807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_efl_enable_coverage" >&5
17808 $as_echo "$_efl_enable_coverage" >&6; }
17809
17810
17811 if test "x$_efl_enable_coverage" = "xyes" && test ! "x${enable_tests}" = "xyes" ; then
17812    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&5
17813 $as_echo "$as_me: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&2;}
17814    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Run configure with --enable-tests" >&5
17815 $as_echo "$as_me: WARNING: Run configure with --enable-tests" >&2;}
17816    _efl_enable_coverage="no"
17817 fi
17818
17819 if test "x$_efl_enable_coverage" = "xyes" ; then
17820    # Extract the first word of "lcov", so it can be a program name with args.
17821 set dummy lcov; ac_word=$2
17822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17823 $as_echo_n "checking for $ac_word... " >&6; }
17824 if ${ac_cv_prog_have_lcov+:} false; then :
17825   $as_echo_n "(cached) " >&6
17826 else
17827   if test -n "$have_lcov"; then
17828   ac_cv_prog_have_lcov="$have_lcov" # Let the user override the test.
17829 else
17830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17831 for as_dir in $PATH
17832 do
17833   IFS=$as_save_IFS
17834   test -z "$as_dir" && as_dir=.
17835     for ac_exec_ext in '' $ac_executable_extensions; do
17836   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17837     ac_cv_prog_have_lcov="yes"
17838     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17839     break 2
17840   fi
17841 done
17842   done
17843 IFS=$as_save_IFS
17844
17845   test -z "$ac_cv_prog_have_lcov" && ac_cv_prog_have_lcov="no"
17846 fi
17847 fi
17848 have_lcov=$ac_cv_prog_have_lcov
17849 if test -n "$have_lcov"; then
17850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_lcov" >&5
17851 $as_echo "$have_lcov" >&6; }
17852 else
17853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17854 $as_echo "no" >&6; }
17855 fi
17856
17857
17858    if test "x$have_lcov" = "xyes" ; then
17859       EFL_COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
17860       EFL_COVERAGE_LIBS="-lgcov"
17861 # remove any optimisation flag and force debug symbols
17862       EFL_DEBUG_CFLAGS="-g -O0 -DDEBUG"
17863    else
17864       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: lcov is not found, disable profiling instrumentation" >&5
17865 $as_echo "$as_me: WARNING: lcov is not found, disable profiling instrumentation" >&2;}
17866       _efl_enable_coverage="no"
17867    fi
17868 fi
17869
17870
17871
17872
17873  if test "x${_efl_enable_coverage}" = "xyes"; then
17874   EFL_ENABLE_COVERAGE_TRUE=
17875   EFL_ENABLE_COVERAGE_FALSE='#'
17876 else
17877   EFL_ENABLE_COVERAGE_TRUE='#'
17878   EFL_ENABLE_COVERAGE_FALSE=
17879 fi
17880
17881
17882 if test "x$_efl_enable_coverage" = "xyes"; then :
17883   enable_coverage="yes"
17884 else
17885   enable_coverage="no"
17886 fi
17887
17888 EDJE_CFLAGS="${EDJE_CFLAGS} ${EFL_COVERAGE_CFLAGS}"
17889 EDJE_LIBS="${EDJE_LIBS} ${EFL_COVERAGE_LIBS}"
17890 if test "x$enable_coverage" = "xyes" ; then
17891    EDJE_CFLAGS="${EDJE_CFLAGS} ${EFL_DEBUG_CFLAGS}"
17892 fi
17893
17894 ## Examples
17895
17896 build_examples="no"
17897 # Check whether --enable-build-examples was given.
17898 if test "${enable_build_examples+set}" = set; then :
17899   enableval=$enable_build_examples;
17900     if test "x${enableval}" = "xyes" ; then
17901        build_examples="yes"
17902     else
17903        build_examples="no"
17904     fi
17905
17906 else
17907   build_examples="no"
17908 fi
17909
17910  if test "x${build_examples}" = "xyes"; then
17911   BUILD_EXAMPLES_TRUE=
17912   BUILD_EXAMPLES_FALSE='#'
17913 else
17914   BUILD_EXAMPLES_TRUE='#'
17915   BUILD_EXAMPLES_FALSE=
17916 fi
17917
17918
17919
17920
17921 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"
17922
17923 cat >confcache <<\_ACEOF
17924 # This file is a shell script that caches the results of configure
17925 # tests run on this system so they can be shared between configure
17926 # scripts and configure runs, see configure's option --config-cache.
17927 # It is not useful on other systems.  If it contains results you don't
17928 # want to keep, you may remove or edit it.
17929 #
17930 # config.status only pays attention to the cache file if you give it
17931 # the --recheck option to rerun configure.
17932 #
17933 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17934 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17935 # following values.
17936
17937 _ACEOF
17938
17939 # The following way of writing the cache mishandles newlines in values,
17940 # but we know of no workaround that is simple, portable, and efficient.
17941 # So, we kill variables containing newlines.
17942 # Ultrix sh set writes to stderr and can't be redirected directly,
17943 # and sets the high bit in the cache file unless we assign to the vars.
17944 (
17945   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17946     eval ac_val=\$$ac_var
17947     case $ac_val in #(
17948     *${as_nl}*)
17949       case $ac_var in #(
17950       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17951 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17952       esac
17953       case $ac_var in #(
17954       _ | IFS | as_nl) ;; #(
17955       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17956       *) { eval $ac_var=; unset $ac_var;} ;;
17957       esac ;;
17958     esac
17959   done
17960
17961   (set) 2>&1 |
17962     case $as_nl`(ac_space=' '; set) 2>&1` in #(
17963     *${as_nl}ac_space=\ *)
17964       # `set' does not quote correctly, so add quotes: double-quote
17965       # substitution turns \\\\ into \\, and sed turns \\ into \.
17966       sed -n \
17967         "s/'/'\\\\''/g;
17968           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17969       ;; #(
17970     *)
17971       # `set' quotes correctly as required by POSIX, so do not add quotes.
17972       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17973       ;;
17974     esac |
17975     sort
17976 ) |
17977   sed '
17978      /^ac_cv_env_/b end
17979      t clear
17980      :clear
17981      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17982      t end
17983      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17984      :end' >>confcache
17985 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17986   if test -w "$cache_file"; then
17987     if test "x$cache_file" != "x/dev/null"; then
17988       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17989 $as_echo "$as_me: updating cache $cache_file" >&6;}
17990       if test ! -f "$cache_file" || test -h "$cache_file"; then
17991         cat confcache >"$cache_file"
17992       else
17993         case $cache_file in #(
17994         */* | ?:*)
17995           mv -f confcache "$cache_file"$$ &&
17996           mv -f "$cache_file"$$ "$cache_file" ;; #(
17997         *)
17998           mv -f confcache "$cache_file" ;;
17999         esac
18000       fi
18001     fi
18002   else
18003     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18004 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18005   fi
18006 fi
18007 rm -f confcache
18008
18009 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18010 # Let make expand exec_prefix.
18011 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18012
18013 DEFS=-DHAVE_CONFIG_H
18014
18015 ac_libobjs=
18016 ac_ltlibobjs=
18017 U=
18018 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18019   # 1. Remove the extension, and $U if already installed.
18020   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18021   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18022   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
18023   #    will be set to the directory where LIBOBJS objects are built.
18024   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18025   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18026 done
18027 LIBOBJS=$ac_libobjs
18028
18029 LTLIBOBJS=$ac_ltlibobjs
18030
18031
18032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
18033 $as_echo_n "checking that generated files are newer than configure... " >&6; }
18034    if test -n "$am_sleep_pid"; then
18035      # Hide warnings about reused PIDs.
18036      wait $am_sleep_pid 2>/dev/null
18037    fi
18038    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
18039 $as_echo "done" >&6; }
18040  if test -n "$EXEEXT"; then
18041   am__EXEEXT_TRUE=
18042   am__EXEEXT_FALSE='#'
18043 else
18044   am__EXEEXT_TRUE='#'
18045   am__EXEEXT_FALSE=
18046 fi
18047
18048 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18049   as_fn_error $? "conditional \"AMDEP\" was never defined.
18050 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18051 fi
18052 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18053   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18054 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18055 fi
18056 if test -z "${EDJE_AMALGAMATION_TRUE}" && test -z "${EDJE_AMALGAMATION_FALSE}"; then
18057   as_fn_error $? "conditional \"EDJE_AMALGAMATION\" was never defined.
18058 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18059 fi
18060 if test -z "${BUILD_EDJE_CC_TRUE}" && test -z "${BUILD_EDJE_CC_FALSE}"; then
18061   as_fn_error $? "conditional \"BUILD_EDJE_CC\" was never defined.
18062 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18063 fi
18064 if test -z "${BUILD_EDJE_DECC_TRUE}" && test -z "${BUILD_EDJE_DECC_FALSE}"; then
18065   as_fn_error $? "conditional \"BUILD_EDJE_DECC\" was never defined.
18066 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18067 fi
18068 if test -z "${BUILD_EDJE_RECC_TRUE}" && test -z "${BUILD_EDJE_RECC_FALSE}"; then
18069   as_fn_error $? "conditional \"BUILD_EDJE_RECC\" was never defined.
18070 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18071 fi
18072 if test -z "${BUILD_EDJE_PLAYER_TRUE}" && test -z "${BUILD_EDJE_PLAYER_FALSE}"; then
18073   as_fn_error $? "conditional \"BUILD_EDJE_PLAYER\" was never defined.
18074 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18075 fi
18076 if test -z "${BUILD_EDJE_INSPECTOR_TRUE}" && test -z "${BUILD_EDJE_INSPECTOR_FALSE}"; then
18077   as_fn_error $? "conditional \"BUILD_EDJE_INSPECTOR\" was never defined.
18078 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18079 fi
18080 if test -z "${BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE}" && test -z "${BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE}"; then
18081   as_fn_error $? "conditional \"BUILD_EDJE_EXTERNAL_INSPECTOR\" was never defined.
18082 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18083 fi
18084 if test -z "${BUILD_EDJE_WATCH_TRUE}" && test -z "${BUILD_EDJE_WATCH_FALSE}"; then
18085   as_fn_error $? "conditional \"BUILD_EDJE_WATCH\" was never defined.
18086 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18087 fi
18088 if test -z "${EDJE_PROGRAM_CACHE_TRUE}" && test -z "${EDJE_PROGRAM_CACHE_FALSE}"; then
18089   as_fn_error $? "conditional \"EDJE_PROGRAM_CACHE\" was never defined.
18090 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18091 fi
18092 if test -z "${EDJE_CALC_CACHE_TRUE}" && test -z "${EDJE_CALC_CACHE_FALSE}"; then
18093   as_fn_error $? "conditional \"EDJE_CALC_CACHE\" was never defined.
18094 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18095 fi
18096 if test -z "${BUILD_EDJE_FP_TRUE}" && test -z "${BUILD_EDJE_FP_FALSE}"; then
18097   as_fn_error $? "conditional \"BUILD_EDJE_FP\" was never defined.
18098 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18099 fi
18100 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18101   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18102 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18103 fi
18104 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
18105   as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
18106 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18107 fi
18108 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
18109   as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
18110 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18111 fi
18112 if test -z "${ENABLE_MULTISENSE_TRUE}" && test -z "${ENABLE_MULTISENSE_FALSE}"; then
18113   as_fn_error $? "conditional \"ENABLE_MULTISENSE\" was never defined.
18114 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18115 fi
18116 if test -z "${HAVE_LIBSNDFILE_TRUE}" && test -z "${HAVE_LIBSNDFILE_FALSE}"; then
18117   as_fn_error $? "conditional \"HAVE_LIBSNDFILE\" was never defined.
18118 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18119 fi
18120 if test -z "${HAVE_LIBREMIX_TRUE}" && test -z "${HAVE_LIBREMIX_FALSE}"; then
18121   as_fn_error $? "conditional \"HAVE_LIBREMIX\" was never defined.
18122 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18123 fi
18124 if test -z "${HAVE_LIBALSA_TRUE}" && test -z "${HAVE_LIBALSA_FALSE}"; then
18125   as_fn_error $? "conditional \"HAVE_LIBALSA\" was never defined.
18126 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18127 fi
18128 if test -z "${BUILD_EPP_TRUE}" && test -z "${BUILD_EPP_FALSE}"; then
18129   as_fn_error $? "conditional \"BUILD_EPP\" was never defined.
18130 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18131 fi
18132 if test -z "${BUILD_EDJE_WATCH_TRUE}" && test -z "${BUILD_EDJE_WATCH_FALSE}"; then
18133   as_fn_error $? "conditional \"BUILD_EDJE_WATCH\" was never defined.
18134 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18135 fi
18136 if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
18137   as_fn_error $? "conditional \"EFL_ENABLE_TESTS\" was never defined.
18138 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18139 fi
18140 if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then
18141   as_fn_error $? "conditional \"EFL_ENABLE_COVERAGE\" was never defined.
18142 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18143 fi
18144 if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
18145   as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
18146 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18147 fi
18148
18149 : "${CONFIG_STATUS=./config.status}"
18150 ac_write_fail=0
18151 ac_clean_files_save=$ac_clean_files
18152 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18153 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18154 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18155 as_write_fail=0
18156 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18157 #! $SHELL
18158 # Generated by $as_me.
18159 # Run this file to recreate the current configuration.
18160 # Compiler output produced by configure, useful for debugging
18161 # configure, is in config.log if it exists.
18162
18163 debug=false
18164 ac_cs_recheck=false
18165 ac_cs_silent=false
18166
18167 SHELL=\${CONFIG_SHELL-$SHELL}
18168 export SHELL
18169 _ASEOF
18170 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18171 ## -------------------- ##
18172 ## M4sh Initialization. ##
18173 ## -------------------- ##
18174
18175 # Be more Bourne compatible
18176 DUALCASE=1; export DUALCASE # for MKS sh
18177 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18178   emulate sh
18179   NULLCMD=:
18180   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18181   # is contrary to our usage.  Disable this feature.
18182   alias -g '${1+"$@"}'='"$@"'
18183   setopt NO_GLOB_SUBST
18184 else
18185   case `(set -o) 2>/dev/null` in #(
18186   *posix*) :
18187     set -o posix ;; #(
18188   *) :
18189      ;;
18190 esac
18191 fi
18192
18193
18194 as_nl='
18195 '
18196 export as_nl
18197 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18198 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18199 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18200 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18201 # Prefer a ksh shell builtin over an external printf program on Solaris,
18202 # but without wasting forks for bash or zsh.
18203 if test -z "$BASH_VERSION$ZSH_VERSION" \
18204     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18205   as_echo='print -r --'
18206   as_echo_n='print -rn --'
18207 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18208   as_echo='printf %s\n'
18209   as_echo_n='printf %s'
18210 else
18211   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18212     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18213     as_echo_n='/usr/ucb/echo -n'
18214   else
18215     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18216     as_echo_n_body='eval
18217       arg=$1;
18218       case $arg in #(
18219       *"$as_nl"*)
18220         expr "X$arg" : "X\\(.*\\)$as_nl";
18221         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18222       esac;
18223       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18224     '
18225     export as_echo_n_body
18226     as_echo_n='sh -c $as_echo_n_body as_echo'
18227   fi
18228   export as_echo_body
18229   as_echo='sh -c $as_echo_body as_echo'
18230 fi
18231
18232 # The user is always right.
18233 if test "${PATH_SEPARATOR+set}" != set; then
18234   PATH_SEPARATOR=:
18235   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18236     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18237       PATH_SEPARATOR=';'
18238   }
18239 fi
18240
18241
18242 # IFS
18243 # We need space, tab and new line, in precisely that order.  Quoting is
18244 # there to prevent editors from complaining about space-tab.
18245 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18246 # splitting by setting IFS to empty value.)
18247 IFS=" ""        $as_nl"
18248
18249 # Find who we are.  Look in the path if we contain no directory separator.
18250 as_myself=
18251 case $0 in #((
18252   *[\\/]* ) as_myself=$0 ;;
18253   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18254 for as_dir in $PATH
18255 do
18256   IFS=$as_save_IFS
18257   test -z "$as_dir" && as_dir=.
18258     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18259   done
18260 IFS=$as_save_IFS
18261
18262      ;;
18263 esac
18264 # We did not find ourselves, most probably we were run as `sh COMMAND'
18265 # in which case we are not to be found in the path.
18266 if test "x$as_myself" = x; then
18267   as_myself=$0
18268 fi
18269 if test ! -f "$as_myself"; then
18270   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18271   exit 1
18272 fi
18273
18274 # Unset variables that we do not need and which cause bugs (e.g. in
18275 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
18276 # suppresses any "Segmentation fault" message there.  '((' could
18277 # trigger a bug in pdksh 5.2.14.
18278 for as_var in BASH_ENV ENV MAIL MAILPATH
18279 do eval test x\${$as_var+set} = xset \
18280   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18281 done
18282 PS1='$ '
18283 PS2='> '
18284 PS4='+ '
18285
18286 # NLS nuisances.
18287 LC_ALL=C
18288 export LC_ALL
18289 LANGUAGE=C
18290 export LANGUAGE
18291
18292 # CDPATH.
18293 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18294
18295
18296 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18297 # ----------------------------------------
18298 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18299 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18300 # script with STATUS, using 1 if that was 0.
18301 as_fn_error ()
18302 {
18303   as_status=$1; test $as_status -eq 0 && as_status=1
18304   if test "$4"; then
18305     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18306     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18307   fi
18308   $as_echo "$as_me: error: $2" >&2
18309   as_fn_exit $as_status
18310 } # as_fn_error
18311
18312
18313 # as_fn_set_status STATUS
18314 # -----------------------
18315 # Set $? to STATUS, without forking.
18316 as_fn_set_status ()
18317 {
18318   return $1
18319 } # as_fn_set_status
18320
18321 # as_fn_exit STATUS
18322 # -----------------
18323 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18324 as_fn_exit ()
18325 {
18326   set +e
18327   as_fn_set_status $1
18328   exit $1
18329 } # as_fn_exit
18330
18331 # as_fn_unset VAR
18332 # ---------------
18333 # Portably unset VAR.
18334 as_fn_unset ()
18335 {
18336   { eval $1=; unset $1;}
18337 }
18338 as_unset=as_fn_unset
18339 # as_fn_append VAR VALUE
18340 # ----------------------
18341 # Append the text in VALUE to the end of the definition contained in VAR. Take
18342 # advantage of any shell optimizations that allow amortized linear growth over
18343 # repeated appends, instead of the typical quadratic growth present in naive
18344 # implementations.
18345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18346   eval 'as_fn_append ()
18347   {
18348     eval $1+=\$2
18349   }'
18350 else
18351   as_fn_append ()
18352   {
18353     eval $1=\$$1\$2
18354   }
18355 fi # as_fn_append
18356
18357 # as_fn_arith ARG...
18358 # ------------------
18359 # Perform arithmetic evaluation on the ARGs, and store the result in the
18360 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18361 # must be portable across $(()) and expr.
18362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18363   eval 'as_fn_arith ()
18364   {
18365     as_val=$(( $* ))
18366   }'
18367 else
18368   as_fn_arith ()
18369   {
18370     as_val=`expr "$@" || test $? -eq 1`
18371   }
18372 fi # as_fn_arith
18373
18374
18375 if expr a : '\(a\)' >/dev/null 2>&1 &&
18376    test "X`expr 00001 : '.*\(...\)'`" = X001; then
18377   as_expr=expr
18378 else
18379   as_expr=false
18380 fi
18381
18382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18383   as_basename=basename
18384 else
18385   as_basename=false
18386 fi
18387
18388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18389   as_dirname=dirname
18390 else
18391   as_dirname=false
18392 fi
18393
18394 as_me=`$as_basename -- "$0" ||
18395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18396          X"$0" : 'X\(//\)$' \| \
18397          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18398 $as_echo X/"$0" |
18399     sed '/^.*\/\([^/][^/]*\)\/*$/{
18400             s//\1/
18401             q
18402           }
18403           /^X\/\(\/\/\)$/{
18404             s//\1/
18405             q
18406           }
18407           /^X\/\(\/\).*/{
18408             s//\1/
18409             q
18410           }
18411           s/.*/./; q'`
18412
18413 # Avoid depending upon Character Ranges.
18414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18417 as_cr_digits='0123456789'
18418 as_cr_alnum=$as_cr_Letters$as_cr_digits
18419
18420 ECHO_C= ECHO_N= ECHO_T=
18421 case `echo -n x` in #(((((
18422 -n*)
18423   case `echo 'xy\c'` in
18424   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
18425   xy)  ECHO_C='\c';;
18426   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
18427        ECHO_T=' ';;
18428   esac;;
18429 *)
18430   ECHO_N='-n';;
18431 esac
18432
18433 rm -f conf$$ conf$$.exe conf$$.file
18434 if test -d conf$$.dir; then
18435   rm -f conf$$.dir/conf$$.file
18436 else
18437   rm -f conf$$.dir
18438   mkdir conf$$.dir 2>/dev/null
18439 fi
18440 if (echo >conf$$.file) 2>/dev/null; then
18441   if ln -s conf$$.file conf$$ 2>/dev/null; then
18442     as_ln_s='ln -s'
18443     # ... but there are two gotchas:
18444     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18445     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18446     # In both cases, we have to default to `cp -pR'.
18447     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18448       as_ln_s='cp -pR'
18449   elif ln conf$$.file conf$$ 2>/dev/null; then
18450     as_ln_s=ln
18451   else
18452     as_ln_s='cp -pR'
18453   fi
18454 else
18455   as_ln_s='cp -pR'
18456 fi
18457 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18458 rmdir conf$$.dir 2>/dev/null
18459
18460
18461 # as_fn_mkdir_p
18462 # -------------
18463 # Create "$as_dir" as a directory, including parents if necessary.
18464 as_fn_mkdir_p ()
18465 {
18466
18467   case $as_dir in #(
18468   -*) as_dir=./$as_dir;;
18469   esac
18470   test -d "$as_dir" || eval $as_mkdir_p || {
18471     as_dirs=
18472     while :; do
18473       case $as_dir in #(
18474       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18475       *) as_qdir=$as_dir;;
18476       esac
18477       as_dirs="'$as_qdir' $as_dirs"
18478       as_dir=`$as_dirname -- "$as_dir" ||
18479 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18480          X"$as_dir" : 'X\(//\)[^/]' \| \
18481          X"$as_dir" : 'X\(//\)$' \| \
18482          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18483 $as_echo X"$as_dir" |
18484     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18485             s//\1/
18486             q
18487           }
18488           /^X\(\/\/\)[^/].*/{
18489             s//\1/
18490             q
18491           }
18492           /^X\(\/\/\)$/{
18493             s//\1/
18494             q
18495           }
18496           /^X\(\/\).*/{
18497             s//\1/
18498             q
18499           }
18500           s/.*/./; q'`
18501       test -d "$as_dir" && break
18502     done
18503     test -z "$as_dirs" || eval "mkdir $as_dirs"
18504   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18505
18506
18507 } # as_fn_mkdir_p
18508 if mkdir -p . 2>/dev/null; then
18509   as_mkdir_p='mkdir -p "$as_dir"'
18510 else
18511   test -d ./-p && rmdir ./-p
18512   as_mkdir_p=false
18513 fi
18514
18515
18516 # as_fn_executable_p FILE
18517 # -----------------------
18518 # Test if FILE is an executable regular file.
18519 as_fn_executable_p ()
18520 {
18521   test -f "$1" && test -x "$1"
18522 } # as_fn_executable_p
18523 as_test_x='test -x'
18524 as_executable_p=as_fn_executable_p
18525
18526 # Sed expression to map a string onto a valid CPP name.
18527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18528
18529 # Sed expression to map a string onto a valid variable name.
18530 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18531
18532
18533 exec 6>&1
18534 ## ----------------------------------- ##
18535 ## Main body of $CONFIG_STATUS script. ##
18536 ## ----------------------------------- ##
18537 _ASEOF
18538 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18539
18540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18541 # Save the log message, to keep $0 and so on meaningful, and to
18542 # report actual input values of CONFIG_FILES etc. instead of their
18543 # values after options handling.
18544 ac_log="
18545 This file was extended by edje $as_me 1.7.8, which was
18546 generated by GNU Autoconf 2.69.  Invocation command line was
18547
18548   CONFIG_FILES    = $CONFIG_FILES
18549   CONFIG_HEADERS  = $CONFIG_HEADERS
18550   CONFIG_LINKS    = $CONFIG_LINKS
18551   CONFIG_COMMANDS = $CONFIG_COMMANDS
18552   $ $0 $@
18553
18554 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18555 "
18556
18557 _ACEOF
18558
18559 case $ac_config_files in *"
18560 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18561 esac
18562
18563 case $ac_config_headers in *"
18564 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18565 esac
18566
18567
18568 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18569 # Files that config.status was made for.
18570 config_files="$ac_config_files"
18571 config_headers="$ac_config_headers"
18572 config_commands="$ac_config_commands"
18573
18574 _ACEOF
18575
18576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18577 ac_cs_usage="\
18578 \`$as_me' instantiates files and other configuration actions
18579 from templates according to the current configuration.  Unless the files
18580 and actions are specified as TAGs, all are instantiated by default.
18581
18582 Usage: $0 [OPTION]... [TAG]...
18583
18584   -h, --help       print this help, then exit
18585   -V, --version    print version number and configuration settings, then exit
18586       --config     print configuration, then exit
18587   -q, --quiet, --silent
18588                    do not print progress messages
18589   -d, --debug      don't remove temporary files
18590       --recheck    update $as_me by reconfiguring in the same conditions
18591       --file=FILE[:TEMPLATE]
18592                    instantiate the configuration file FILE
18593       --header=FILE[:TEMPLATE]
18594                    instantiate the configuration header FILE
18595
18596 Configuration files:
18597 $config_files
18598
18599 Configuration headers:
18600 $config_headers
18601
18602 Configuration commands:
18603 $config_commands
18604
18605 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
18606
18607 _ACEOF
18608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18609 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18610 ac_cs_version="\\
18611 edje config.status 1.7.8
18612 configured by $0, generated by GNU Autoconf 2.69,
18613   with options \\"\$ac_cs_config\\"
18614
18615 Copyright (C) 2012 Free Software Foundation, Inc.
18616 This config.status script is free software; the Free Software Foundation
18617 gives unlimited permission to copy, distribute and modify it."
18618
18619 ac_pwd='$ac_pwd'
18620 srcdir='$srcdir'
18621 INSTALL='$INSTALL'
18622 MKDIR_P='$MKDIR_P'
18623 AWK='$AWK'
18624 test -n "\$AWK" || AWK=awk
18625 _ACEOF
18626
18627 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18628 # The default lists apply if the user does not specify any file.
18629 ac_need_defaults=:
18630 while test $# != 0
18631 do
18632   case $1 in
18633   --*=?*)
18634     ac_option=`expr "X$1" : 'X\([^=]*\)='`
18635     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18636     ac_shift=:
18637     ;;
18638   --*=)
18639     ac_option=`expr "X$1" : 'X\([^=]*\)='`
18640     ac_optarg=
18641     ac_shift=:
18642     ;;
18643   *)
18644     ac_option=$1
18645     ac_optarg=$2
18646     ac_shift=shift
18647     ;;
18648   esac
18649
18650   case $ac_option in
18651   # Handling of the options.
18652   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18653     ac_cs_recheck=: ;;
18654   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18655     $as_echo "$ac_cs_version"; exit ;;
18656   --config | --confi | --conf | --con | --co | --c )
18657     $as_echo "$ac_cs_config"; exit ;;
18658   --debug | --debu | --deb | --de | --d | -d )
18659     debug=: ;;
18660   --file | --fil | --fi | --f )
18661     $ac_shift
18662     case $ac_optarg in
18663     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18664     '') as_fn_error $? "missing file argument" ;;
18665     esac
18666     as_fn_append CONFIG_FILES " '$ac_optarg'"
18667     ac_need_defaults=false;;
18668   --header | --heade | --head | --hea )
18669     $ac_shift
18670     case $ac_optarg in
18671     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18672     esac
18673     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18674     ac_need_defaults=false;;
18675   --he | --h)
18676     # Conflict between --help and --header
18677     as_fn_error $? "ambiguous option: \`$1'
18678 Try \`$0 --help' for more information.";;
18679   --help | --hel | -h )
18680     $as_echo "$ac_cs_usage"; exit ;;
18681   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18682   | -silent | --silent | --silen | --sile | --sil | --si | --s)
18683     ac_cs_silent=: ;;
18684
18685   # This is an error.
18686   -*) as_fn_error $? "unrecognized option: \`$1'
18687 Try \`$0 --help' for more information." ;;
18688
18689   *) as_fn_append ac_config_targets " $1"
18690      ac_need_defaults=false ;;
18691
18692   esac
18693   shift
18694 done
18695
18696 ac_configure_extra_args=
18697
18698 if $ac_cs_silent; then
18699   exec 6>/dev/null
18700   ac_configure_extra_args="$ac_configure_extra_args --silent"
18701 fi
18702
18703 _ACEOF
18704 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18705 if \$ac_cs_recheck; then
18706   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18707   shift
18708   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18709   CONFIG_SHELL='$SHELL'
18710   export CONFIG_SHELL
18711   exec "\$@"
18712 fi
18713
18714 _ACEOF
18715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18716 exec 5>>config.log
18717 {
18718   echo
18719   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18720 ## Running $as_me. ##
18721 _ASBOX
18722   $as_echo "$ac_log"
18723 } >&5
18724
18725 _ACEOF
18726 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18727 #
18728 # INIT-COMMANDS
18729 #
18730 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18731
18732
18733 # The HP-UX ksh and POSIX shell print the target directory to stdout
18734 # if CDPATH is set.
18735 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18736
18737 sed_quote_subst='$sed_quote_subst'
18738 double_quote_subst='$double_quote_subst'
18739 delay_variable_subst='$delay_variable_subst'
18740 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
18741 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18742 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18743 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18744 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18745 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18746 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18747 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18748 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18749 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18750 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18751 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18752 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18753 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18754 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18755 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18756 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18757 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18758 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18759 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18760 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18761 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18762 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18763 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18764 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18765 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18766 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18767 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18768 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18769 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18770 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18771 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18772 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18773 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18774 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18775 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18776 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18777 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18778 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18779 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18780 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18781 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18782 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18783 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18784 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18785 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18786 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18787 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18788 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18789 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18790 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18791 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18792 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18793 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18794 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18795 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18796 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18797 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"`'
18798 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18799 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18800 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18801 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18802 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18803 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18804 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18805 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18806 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18807 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18808 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18809 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18810 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18811 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18812 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18813 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18814 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18815 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18816 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18817 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18818 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18819 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18820 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18821 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18822 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18823 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18824 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18825 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18826 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18827 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18828 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18829 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18830 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18831 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18832 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18833 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18834 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18835 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18836 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18837 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18838 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18839 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18840 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18841 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18842 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18843 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18844 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18845 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18846 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18847 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18848 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18849 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18850 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18851 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18852 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18853 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18854 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18855 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18856 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18857 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18858 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18859 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18860 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18861 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18862 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18863 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18864 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18865 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18866 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18867 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18868 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18869 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18870 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18871
18872 LTCC='$LTCC'
18873 LTCFLAGS='$LTCFLAGS'
18874 compiler='$compiler_DEFAULT'
18875
18876 # A function that is used when there is no print builtin or printf.
18877 func_fallback_echo ()
18878 {
18879   eval 'cat <<_LTECHO_EOF
18880 \$1
18881 _LTECHO_EOF'
18882 }
18883
18884 # Quote evaled strings.
18885 for var in AS \
18886 DLLTOOL \
18887 OBJDUMP \
18888 SHELL \
18889 ECHO \
18890 PATH_SEPARATOR \
18891 SED \
18892 GREP \
18893 EGREP \
18894 FGREP \
18895 LD \
18896 NM \
18897 LN_S \
18898 lt_SP2NL \
18899 lt_NL2SP \
18900 reload_flag \
18901 deplibs_check_method \
18902 file_magic_cmd \
18903 file_magic_glob \
18904 want_nocaseglob \
18905 sharedlib_from_linklib_cmd \
18906 AR \
18907 AR_FLAGS \
18908 archiver_list_spec \
18909 STRIP \
18910 RANLIB \
18911 CC \
18912 CFLAGS \
18913 compiler \
18914 lt_cv_sys_global_symbol_pipe \
18915 lt_cv_sys_global_symbol_to_cdecl \
18916 lt_cv_sys_global_symbol_to_c_name_address \
18917 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18918 nm_file_list_spec \
18919 lt_prog_compiler_no_builtin_flag \
18920 lt_prog_compiler_pic \
18921 lt_prog_compiler_wl \
18922 lt_prog_compiler_static \
18923 lt_cv_prog_compiler_c_o \
18924 need_locks \
18925 MANIFEST_TOOL \
18926 DSYMUTIL \
18927 NMEDIT \
18928 LIPO \
18929 OTOOL \
18930 OTOOL64 \
18931 shrext_cmds \
18932 export_dynamic_flag_spec \
18933 whole_archive_flag_spec \
18934 compiler_needs_object \
18935 with_gnu_ld \
18936 allow_undefined_flag \
18937 no_undefined_flag \
18938 hardcode_libdir_flag_spec \
18939 hardcode_libdir_separator \
18940 exclude_expsyms \
18941 include_expsyms \
18942 file_list_spec \
18943 variables_saved_for_relink \
18944 libname_spec \
18945 library_names_spec \
18946 soname_spec \
18947 install_override_mode \
18948 finish_eval \
18949 old_striplib \
18950 striplib; do
18951     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18952     *[\\\\\\\`\\"\\\$]*)
18953       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18954       ;;
18955     *)
18956       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18957       ;;
18958     esac
18959 done
18960
18961 # Double-quote double-evaled strings.
18962 for var in reload_cmds \
18963 old_postinstall_cmds \
18964 old_postuninstall_cmds \
18965 old_archive_cmds \
18966 extract_expsyms_cmds \
18967 old_archive_from_new_cmds \
18968 old_archive_from_expsyms_cmds \
18969 archive_cmds \
18970 archive_expsym_cmds \
18971 module_cmds \
18972 module_expsym_cmds \
18973 export_symbols_cmds \
18974 prelink_cmds \
18975 postlink_cmds \
18976 postinstall_cmds \
18977 postuninstall_cmds \
18978 finish_cmds \
18979 sys_lib_search_path_spec \
18980 sys_lib_dlsearch_path_spec; do
18981     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18982     *[\\\\\\\`\\"\\\$]*)
18983       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18984       ;;
18985     *)
18986       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18987       ;;
18988     esac
18989 done
18990
18991 ac_aux_dir='$ac_aux_dir'
18992 xsi_shell='$xsi_shell'
18993 lt_shell_append='$lt_shell_append'
18994
18995 # See if we are running on zsh, and set the options which allow our
18996 # commands through without removal of \ escapes INIT.
18997 if test -n "\${ZSH_VERSION+set}" ; then
18998    setopt NO_GLOB_SUBST
18999 fi
19000
19001
19002     PACKAGE='$PACKAGE'
19003     VERSION='$VERSION'
19004     TIMESTAMP='$TIMESTAMP'
19005     RM='$RM'
19006     ofile='$ofile'
19007
19008
19009
19010
19011 _ACEOF
19012
19013 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19014
19015 # Handling of arguments.
19016 for ac_config_target in $ac_config_targets
19017 do
19018   case $ac_config_target in
19019     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
19020     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
19021     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
19022     "edje.pc") CONFIG_FILES="$CONFIG_FILES edje.pc" ;;
19023     "edje.spec") CONFIG_FILES="$CONFIG_FILES edje.spec" ;;
19024     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
19025     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
19026     "data/include/Makefile") CONFIG_FILES="$CONFIG_FILES data/include/Makefile" ;;
19027     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
19028     "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
19029     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
19030     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
19031     "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
19032     "src/bin/epp/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/epp/Makefile" ;;
19033     "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
19034     "src/modules/alsa_snd_player/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/alsa_snd_player/Makefile" ;;
19035     "src/modules/eet_snd_reader/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/eet_snd_reader/Makefile" ;;
19036     "src/modules/multisense_factory/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/multisense_factory/Makefile" ;;
19037     "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
19038     "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
19039     "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
19040
19041   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19042   esac
19043 done
19044
19045
19046 # If the user did not use the arguments to specify the items to instantiate,
19047 # then the envvar interface is used.  Set only those that are not.
19048 # We use the long form for the default assignment because of an extremely
19049 # bizarre bug on SunOS 4.1.3.
19050 if $ac_need_defaults; then
19051   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19052   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19053   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19054 fi
19055
19056 # Have a temporary directory for convenience.  Make it in the build tree
19057 # simply because there is no reason against having it here, and in addition,
19058 # creating and moving files from /tmp can sometimes cause problems.
19059 # Hook for its removal unless debugging.
19060 # Note that there is a small window in which the directory will not be cleaned:
19061 # after its creation but before its name has been assigned to `$tmp'.
19062 $debug ||
19063 {
19064   tmp= ac_tmp=
19065   trap 'exit_status=$?
19066   : "${ac_tmp:=$tmp}"
19067   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19068 ' 0
19069   trap 'as_fn_exit 1' 1 2 13 15
19070 }
19071 # Create a (secure) tmp directory for tmp files.
19072
19073 {
19074   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19075   test -d "$tmp"
19076 }  ||
19077 {
19078   tmp=./conf$$-$RANDOM
19079   (umask 077 && mkdir "$tmp")
19080 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19081 ac_tmp=$tmp
19082
19083 # Set up the scripts for CONFIG_FILES section.
19084 # No need to generate them if there are no CONFIG_FILES.
19085 # This happens for instance with `./config.status config.h'.
19086 if test -n "$CONFIG_FILES"; then
19087
19088
19089 ac_cr=`echo X | tr X '\015'`
19090 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19091 # But we know of no other shell where ac_cr would be empty at this
19092 # point, so we can use a bashism as a fallback.
19093 if test "x$ac_cr" = x; then
19094   eval ac_cr=\$\'\\r\'
19095 fi
19096 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19097 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19098   ac_cs_awk_cr='\\r'
19099 else
19100   ac_cs_awk_cr=$ac_cr
19101 fi
19102
19103 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19104 _ACEOF
19105
19106
19107 {
19108   echo "cat >conf$$subs.awk <<_ACEOF" &&
19109   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19110   echo "_ACEOF"
19111 } >conf$$subs.sh ||
19112   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19113 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19114 ac_delim='%!_!# '
19115 for ac_last_try in false false false false false :; do
19116   . ./conf$$subs.sh ||
19117     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19118
19119   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19120   if test $ac_delim_n = $ac_delim_num; then
19121     break
19122   elif $ac_last_try; then
19123     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19124   else
19125     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19126   fi
19127 done
19128 rm -f conf$$subs.sh
19129
19130 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19131 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19132 _ACEOF
19133 sed -n '
19134 h
19135 s/^/S["/; s/!.*/"]=/
19136 p
19137 g
19138 s/^[^!]*!//
19139 :repl
19140 t repl
19141 s/'"$ac_delim"'$//
19142 t delim
19143 :nl
19144 h
19145 s/\(.\{148\}\)..*/\1/
19146 t more1
19147 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19148 p
19149 n
19150 b repl
19151 :more1
19152 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19153 p
19154 g
19155 s/.\{148\}//
19156 t nl
19157 :delim
19158 h
19159 s/\(.\{148\}\)..*/\1/
19160 t more2
19161 s/["\\]/\\&/g; s/^/"/; s/$/"/
19162 p
19163 b
19164 :more2
19165 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19166 p
19167 g
19168 s/.\{148\}//
19169 t delim
19170 ' <conf$$subs.awk | sed '
19171 /^[^""]/{
19172   N
19173   s/\n//
19174 }
19175 ' >>$CONFIG_STATUS || ac_write_fail=1
19176 rm -f conf$$subs.awk
19177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19178 _ACAWK
19179 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19180   for (key in S) S_is_set[key] = 1
19181   FS = "\a"
19182
19183 }
19184 {
19185   line = $ 0
19186   nfields = split(line, field, "@")
19187   substed = 0
19188   len = length(field[1])
19189   for (i = 2; i < nfields; i++) {
19190     key = field[i]
19191     keylen = length(key)
19192     if (S_is_set[key]) {
19193       value = S[key]
19194       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19195       len += length(value) + length(field[++i])
19196       substed = 1
19197     } else
19198       len += 1 + keylen
19199   }
19200
19201   print line
19202 }
19203
19204 _ACAWK
19205 _ACEOF
19206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19207 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19208   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19209 else
19210   cat
19211 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19212   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19213 _ACEOF
19214
19215 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19216 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19217 # trailing colons and then remove the whole line if VPATH becomes empty
19218 # (actually we leave an empty line to preserve line numbers).
19219 if test "x$srcdir" = x.; then
19220   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
19221 h
19222 s///
19223 s/^/:/
19224 s/[      ]*$/:/
19225 s/:\$(srcdir):/:/g
19226 s/:\${srcdir}:/:/g
19227 s/:@srcdir@:/:/g
19228 s/^:*//
19229 s/:*$//
19230 x
19231 s/\(=[   ]*\).*/\1/
19232 G
19233 s/\n//
19234 s/^[^=]*=[       ]*$//
19235 }'
19236 fi
19237
19238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19239 fi # test -n "$CONFIG_FILES"
19240
19241 # Set up the scripts for CONFIG_HEADERS section.
19242 # No need to generate them if there are no CONFIG_HEADERS.
19243 # This happens for instance with `./config.status Makefile'.
19244 if test -n "$CONFIG_HEADERS"; then
19245 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19246 BEGIN {
19247 _ACEOF
19248
19249 # Transform confdefs.h into an awk script `defines.awk', embedded as
19250 # here-document in config.status, that substitutes the proper values into
19251 # config.h.in to produce config.h.
19252
19253 # Create a delimiter string that does not exist in confdefs.h, to ease
19254 # handling of long lines.
19255 ac_delim='%!_!# '
19256 for ac_last_try in false false :; do
19257   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19258   if test -z "$ac_tt"; then
19259     break
19260   elif $ac_last_try; then
19261     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19262   else
19263     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19264   fi
19265 done
19266
19267 # For the awk script, D is an array of macro values keyed by name,
19268 # likewise P contains macro parameters if any.  Preserve backslash
19269 # newline sequences.
19270
19271 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19272 sed -n '
19273 s/.\{148\}/&'"$ac_delim"'/g
19274 t rset
19275 :rset
19276 s/^[     ]*#[    ]*define[       ][      ]*/ /
19277 t def
19278 d
19279 :def
19280 s/\\$//
19281 t bsnl
19282 s/["\\]/\\&/g
19283 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
19284 D["\1"]=" \3"/p
19285 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
19286 d
19287 :bsnl
19288 s/["\\]/\\&/g
19289 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
19290 D["\1"]=" \3\\\\\\n"\\/p
19291 t cont
19292 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19293 t cont
19294 d
19295 :cont
19296 n
19297 s/.\{148\}/&'"$ac_delim"'/g
19298 t clear
19299 :clear
19300 s/\\$//
19301 t bsnlc
19302 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19303 d
19304 :bsnlc
19305 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19306 b cont
19307 ' <confdefs.h | sed '
19308 s/'"$ac_delim"'/"\\\
19309 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19310
19311 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19312   for (key in D) D_is_set[key] = 1
19313   FS = "\a"
19314 }
19315 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19316   line = \$ 0
19317   split(line, arg, " ")
19318   if (arg[1] == "#") {
19319     defundef = arg[2]
19320     mac1 = arg[3]
19321   } else {
19322     defundef = substr(arg[1], 2)
19323     mac1 = arg[2]
19324   }
19325   split(mac1, mac2, "(") #)
19326   macro = mac2[1]
19327   prefix = substr(line, 1, index(line, defundef) - 1)
19328   if (D_is_set[macro]) {
19329     # Preserve the white space surrounding the "#".
19330     print prefix "define", macro P[macro] D[macro]
19331     next
19332   } else {
19333     # Replace #undef with comments.  This is necessary, for example,
19334     # in the case of _POSIX_SOURCE, which is predefined and required
19335     # on some systems where configure will not decide to define it.
19336     if (defundef == "undef") {
19337       print "/*", prefix defundef, macro, "*/"
19338       next
19339     }
19340   }
19341 }
19342 { print }
19343 _ACAWK
19344 _ACEOF
19345 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19346   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19347 fi # test -n "$CONFIG_HEADERS"
19348
19349
19350 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
19351 shift
19352 for ac_tag
19353 do
19354   case $ac_tag in
19355   :[FHLC]) ac_mode=$ac_tag; continue;;
19356   esac
19357   case $ac_mode$ac_tag in
19358   :[FHL]*:*);;
19359   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19360   :[FH]-) ac_tag=-:-;;
19361   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19362   esac
19363   ac_save_IFS=$IFS
19364   IFS=:
19365   set x $ac_tag
19366   IFS=$ac_save_IFS
19367   shift
19368   ac_file=$1
19369   shift
19370
19371   case $ac_mode in
19372   :L) ac_source=$1;;
19373   :[FH])
19374     ac_file_inputs=
19375     for ac_f
19376     do
19377       case $ac_f in
19378       -) ac_f="$ac_tmp/stdin";;
19379       *) # Look for the file first in the build tree, then in the source tree
19380          # (if the path is not absolute).  The absolute path cannot be DOS-style,
19381          # because $ac_f cannot contain `:'.
19382          test -f "$ac_f" ||
19383            case $ac_f in
19384            [\\/$]*) false;;
19385            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19386            esac ||
19387            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19388       esac
19389       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19390       as_fn_append ac_file_inputs " '$ac_f'"
19391     done
19392
19393     # Let's still pretend it is `configure' which instantiates (i.e., don't
19394     # use $as_me), people would be surprised to read:
19395     #    /* config.h.  Generated by config.status.  */
19396     configure_input='Generated from '`
19397           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19398         `' by configure.'
19399     if test x"$ac_file" != x-; then
19400       configure_input="$ac_file.  $configure_input"
19401       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19402 $as_echo "$as_me: creating $ac_file" >&6;}
19403     fi
19404     # Neutralize special characters interpreted by sed in replacement strings.
19405     case $configure_input in #(
19406     *\&* | *\|* | *\\* )
19407        ac_sed_conf_input=`$as_echo "$configure_input" |
19408        sed 's/[\\\\&|]/\\\\&/g'`;; #(
19409     *) ac_sed_conf_input=$configure_input;;
19410     esac
19411
19412     case $ac_tag in
19413     *:-:* | *:-) cat >"$ac_tmp/stdin" \
19414       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19415     esac
19416     ;;
19417   esac
19418
19419   ac_dir=`$as_dirname -- "$ac_file" ||
19420 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19421          X"$ac_file" : 'X\(//\)[^/]' \| \
19422          X"$ac_file" : 'X\(//\)$' \| \
19423          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19424 $as_echo X"$ac_file" |
19425     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19426             s//\1/
19427             q
19428           }
19429           /^X\(\/\/\)[^/].*/{
19430             s//\1/
19431             q
19432           }
19433           /^X\(\/\/\)$/{
19434             s//\1/
19435             q
19436           }
19437           /^X\(\/\).*/{
19438             s//\1/
19439             q
19440           }
19441           s/.*/./; q'`
19442   as_dir="$ac_dir"; as_fn_mkdir_p
19443   ac_builddir=.
19444
19445 case "$ac_dir" in
19446 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19447 *)
19448   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19449   # A ".." for each directory in $ac_dir_suffix.
19450   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19451   case $ac_top_builddir_sub in
19452   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19453   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19454   esac ;;
19455 esac
19456 ac_abs_top_builddir=$ac_pwd
19457 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19458 # for backward compatibility:
19459 ac_top_builddir=$ac_top_build_prefix
19460
19461 case $srcdir in
19462   .)  # We are building in place.
19463     ac_srcdir=.
19464     ac_top_srcdir=$ac_top_builddir_sub
19465     ac_abs_top_srcdir=$ac_pwd ;;
19466   [\\/]* | ?:[\\/]* )  # Absolute name.
19467     ac_srcdir=$srcdir$ac_dir_suffix;
19468     ac_top_srcdir=$srcdir
19469     ac_abs_top_srcdir=$srcdir ;;
19470   *) # Relative name.
19471     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19472     ac_top_srcdir=$ac_top_build_prefix$srcdir
19473     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19474 esac
19475 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19476
19477
19478   case $ac_mode in
19479   :F)
19480   #
19481   # CONFIG_FILE
19482   #
19483
19484   case $INSTALL in
19485   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19486   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19487   esac
19488   ac_MKDIR_P=$MKDIR_P
19489   case $MKDIR_P in
19490   [\\/$]* | ?:[\\/]* ) ;;
19491   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19492   esac
19493 _ACEOF
19494
19495 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19496 # If the template does not know about datarootdir, expand it.
19497 # FIXME: This hack should be removed a few years after 2.60.
19498 ac_datarootdir_hack=; ac_datarootdir_seen=
19499 ac_sed_dataroot='
19500 /datarootdir/ {
19501   p
19502   q
19503 }
19504 /@datadir@/p
19505 /@docdir@/p
19506 /@infodir@/p
19507 /@localedir@/p
19508 /@mandir@/p'
19509 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19510 *datarootdir*) ac_datarootdir_seen=yes;;
19511 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19512   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19513 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19514 _ACEOF
19515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19516   ac_datarootdir_hack='
19517   s&@datadir@&$datadir&g
19518   s&@docdir@&$docdir&g
19519   s&@infodir@&$infodir&g
19520   s&@localedir@&$localedir&g
19521   s&@mandir@&$mandir&g
19522   s&\\\${datarootdir}&$datarootdir&g' ;;
19523 esac
19524 _ACEOF
19525
19526 # Neutralize VPATH when `$srcdir' = `.'.
19527 # Shell code in configure.ac might set extrasub.
19528 # FIXME: do we really want to maintain this feature?
19529 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19530 ac_sed_extra="$ac_vpsub
19531 $extrasub
19532 _ACEOF
19533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19534 :t
19535 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19536 s|@configure_input@|$ac_sed_conf_input|;t t
19537 s&@top_builddir@&$ac_top_builddir_sub&;t t
19538 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19539 s&@srcdir@&$ac_srcdir&;t t
19540 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19541 s&@top_srcdir@&$ac_top_srcdir&;t t
19542 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19543 s&@builddir@&$ac_builddir&;t t
19544 s&@abs_builddir@&$ac_abs_builddir&;t t
19545 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19546 s&@INSTALL@&$ac_INSTALL&;t t
19547 s&@MKDIR_P@&$ac_MKDIR_P&;t t
19548 $ac_datarootdir_hack
19549 "
19550 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19551   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19552
19553 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19554   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19555   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
19556       "$ac_tmp/out"`; test -z "$ac_out"; } &&
19557   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19558 which seems to be undefined.  Please make sure it is defined" >&5
19559 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19560 which seems to be undefined.  Please make sure it is defined" >&2;}
19561
19562   rm -f "$ac_tmp/stdin"
19563   case $ac_file in
19564   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19565   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19566   esac \
19567   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19568  ;;
19569   :H)
19570   #
19571   # CONFIG_HEADER
19572   #
19573   if test x"$ac_file" != x-; then
19574     {
19575       $as_echo "/* $configure_input  */" \
19576       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19577     } >"$ac_tmp/config.h" \
19578       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19579     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19580       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19581 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19582     else
19583       rm -f "$ac_file"
19584       mv "$ac_tmp/config.h" "$ac_file" \
19585         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19586     fi
19587   else
19588     $as_echo "/* $configure_input  */" \
19589       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19590       || as_fn_error $? "could not create -" "$LINENO" 5
19591   fi
19592 # Compute "$ac_file"'s index in $config_headers.
19593 _am_arg="$ac_file"
19594 _am_stamp_count=1
19595 for _am_header in $config_headers :; do
19596   case $_am_header in
19597     $_am_arg | $_am_arg:* )
19598       break ;;
19599     * )
19600       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19601   esac
19602 done
19603 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19604 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19605          X"$_am_arg" : 'X\(//\)[^/]' \| \
19606          X"$_am_arg" : 'X\(//\)$' \| \
19607          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19608 $as_echo X"$_am_arg" |
19609     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19610             s//\1/
19611             q
19612           }
19613           /^X\(\/\/\)[^/].*/{
19614             s//\1/
19615             q
19616           }
19617           /^X\(\/\/\)$/{
19618             s//\1/
19619             q
19620           }
19621           /^X\(\/\).*/{
19622             s//\1/
19623             q
19624           }
19625           s/.*/./; q'`/stamp-h$_am_stamp_count
19626  ;;
19627
19628   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19629 $as_echo "$as_me: executing $ac_file commands" >&6;}
19630  ;;
19631   esac
19632
19633
19634   case $ac_file$ac_mode in
19635     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19636   # Older Autoconf quotes --file arguments for eval, but not when files
19637   # are listed without --file.  Let's play safe and only enable the eval
19638   # if we detect the quoting.
19639   case $CONFIG_FILES in
19640   *\'*) eval set x "$CONFIG_FILES" ;;
19641   *)   set x $CONFIG_FILES ;;
19642   esac
19643   shift
19644   for mf
19645   do
19646     # Strip MF so we end up with the name of the file.
19647     mf=`echo "$mf" | sed -e 's/:.*$//'`
19648     # Check whether this is an Automake generated Makefile or not.
19649     # We used to match only the files named 'Makefile.in', but
19650     # some people rename them; so instead we look at the file content.
19651     # Grep'ing the first line is not enough: some people post-process
19652     # each Makefile.in and add a new line on top of each file to say so.
19653     # Grep'ing the whole file is not good either: AIX grep has a line
19654     # limit of 2048, but all sed's we know have understand at least 4000.
19655     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
19656       dirpart=`$as_dirname -- "$mf" ||
19657 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19658          X"$mf" : 'X\(//\)[^/]' \| \
19659          X"$mf" : 'X\(//\)$' \| \
19660          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19661 $as_echo X"$mf" |
19662     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19663             s//\1/
19664             q
19665           }
19666           /^X\(\/\/\)[^/].*/{
19667             s//\1/
19668             q
19669           }
19670           /^X\(\/\/\)$/{
19671             s//\1/
19672             q
19673           }
19674           /^X\(\/\).*/{
19675             s//\1/
19676             q
19677           }
19678           s/.*/./; q'`
19679     else
19680       continue
19681     fi
19682     # Extract the definition of DEPDIR, am__include, and am__quote
19683     # from the Makefile without running 'make'.
19684     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19685     test -z "$DEPDIR" && continue
19686     am__include=`sed -n 's/^am__include = //p' < "$mf"`
19687     test -z "$am__include" && continue
19688     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19689     # Find all dependency output files, they are included files with
19690     # $(DEPDIR) in their names.  We invoke sed twice because it is the
19691     # simplest approach to changing $(DEPDIR) to its actual value in the
19692     # expansion.
19693     for file in `sed -n "
19694       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19695          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
19696       # Make sure the directory exists.
19697       test -f "$dirpart/$file" && continue
19698       fdir=`$as_dirname -- "$file" ||
19699 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19700          X"$file" : 'X\(//\)[^/]' \| \
19701          X"$file" : 'X\(//\)$' \| \
19702          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19703 $as_echo X"$file" |
19704     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19705             s//\1/
19706             q
19707           }
19708           /^X\(\/\/\)[^/].*/{
19709             s//\1/
19710             q
19711           }
19712           /^X\(\/\/\)$/{
19713             s//\1/
19714             q
19715           }
19716           /^X\(\/\).*/{
19717             s//\1/
19718             q
19719           }
19720           s/.*/./; q'`
19721       as_dir=$dirpart/$fdir; as_fn_mkdir_p
19722       # echo "creating $dirpart/$file"
19723       echo '# dummy' > "$dirpart/$file"
19724     done
19725   done
19726 }
19727  ;;
19728     "libtool":C)
19729
19730     # See if we are running on zsh, and set the options which allow our
19731     # commands through without removal of \ escapes.
19732     if test -n "${ZSH_VERSION+set}" ; then
19733       setopt NO_GLOB_SUBST
19734     fi
19735
19736     cfgfile="${ofile}T"
19737     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19738     $RM "$cfgfile"
19739
19740     cat <<_LT_EOF >> "$cfgfile"
19741 #! $SHELL
19742
19743 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19744 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19745 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19746 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19747 #
19748 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19749 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
19750 #                 Foundation, Inc.
19751 #   Written by Gordon Matzigkeit, 1996
19752 #
19753 #   This file is part of GNU Libtool.
19754 #
19755 # GNU Libtool is free software; you can redistribute it and/or
19756 # modify it under the terms of the GNU General Public License as
19757 # published by the Free Software Foundation; either version 2 of
19758 # the License, or (at your option) any later version.
19759 #
19760 # As a special exception to the GNU General Public License,
19761 # if you distribute this file as part of a program or library that
19762 # is built using GNU Libtool, you may include this file under the
19763 # same distribution terms that you use for the rest of that program.
19764 #
19765 # GNU Libtool is distributed in the hope that it will be useful,
19766 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19767 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19768 # GNU General Public License for more details.
19769 #
19770 # You should have received a copy of the GNU General Public License
19771 # along with GNU Libtool; see the file COPYING.  If not, a copy
19772 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19773 # obtained by writing to the Free Software Foundation, Inc.,
19774 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19775
19776
19777 # The names of the tagged configurations supported by this script.
19778 available_tags=""
19779
19780 # ### BEGIN LIBTOOL CONFIG
19781
19782 # Assembler program.
19783 AS=$lt_AS
19784
19785 # DLL creation program.
19786 DLLTOOL=$lt_DLLTOOL
19787
19788 # Object dumper program.
19789 OBJDUMP=$lt_OBJDUMP
19790
19791 # Which release of libtool.m4 was used?
19792 macro_version=$macro_version
19793 macro_revision=$macro_revision
19794
19795 # Whether or not to build shared libraries.
19796 build_libtool_libs=$enable_shared
19797
19798 # Whether or not to build static libraries.
19799 build_old_libs=$enable_static
19800
19801 # What type of objects to build.
19802 pic_mode=$pic_mode
19803
19804 # Whether or not to optimize for fast installation.
19805 fast_install=$enable_fast_install
19806
19807 # Shell to use when invoking shell scripts.
19808 SHELL=$lt_SHELL
19809
19810 # An echo program that protects backslashes.
19811 ECHO=$lt_ECHO
19812
19813 # The PATH separator for the build system.
19814 PATH_SEPARATOR=$lt_PATH_SEPARATOR
19815
19816 # The host system.
19817 host_alias=$host_alias
19818 host=$host
19819 host_os=$host_os
19820
19821 # The build system.
19822 build_alias=$build_alias
19823 build=$build
19824 build_os=$build_os
19825
19826 # A sed program that does not truncate output.
19827 SED=$lt_SED
19828
19829 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19830 Xsed="\$SED -e 1s/^X//"
19831
19832 # A grep program that handles long lines.
19833 GREP=$lt_GREP
19834
19835 # An ERE matcher.
19836 EGREP=$lt_EGREP
19837
19838 # A literal string matcher.
19839 FGREP=$lt_FGREP
19840
19841 # A BSD- or MS-compatible name lister.
19842 NM=$lt_NM
19843
19844 # Whether we need soft or hard links.
19845 LN_S=$lt_LN_S
19846
19847 # What is the maximum length of a command?
19848 max_cmd_len=$max_cmd_len
19849
19850 # Object file suffix (normally "o").
19851 objext=$ac_objext
19852
19853 # Executable file suffix (normally "").
19854 exeext=$exeext
19855
19856 # whether the shell understands "unset".
19857 lt_unset=$lt_unset
19858
19859 # turn spaces into newlines.
19860 SP2NL=$lt_lt_SP2NL
19861
19862 # turn newlines into spaces.
19863 NL2SP=$lt_lt_NL2SP
19864
19865 # convert \$build file names to \$host format.
19866 to_host_file_cmd=$lt_cv_to_host_file_cmd
19867
19868 # convert \$build files to toolchain format.
19869 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19870
19871 # Method to check whether dependent libraries are shared objects.
19872 deplibs_check_method=$lt_deplibs_check_method
19873
19874 # Command to use when deplibs_check_method = "file_magic".
19875 file_magic_cmd=$lt_file_magic_cmd
19876
19877 # How to find potential files when deplibs_check_method = "file_magic".
19878 file_magic_glob=$lt_file_magic_glob
19879
19880 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19881 want_nocaseglob=$lt_want_nocaseglob
19882
19883 # Command to associate shared and link libraries.
19884 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19885
19886 # The archiver.
19887 AR=$lt_AR
19888
19889 # Flags to create an archive.
19890 AR_FLAGS=$lt_AR_FLAGS
19891
19892 # How to feed a file listing to the archiver.
19893 archiver_list_spec=$lt_archiver_list_spec
19894
19895 # A symbol stripping program.
19896 STRIP=$lt_STRIP
19897
19898 # Commands used to install an old-style archive.
19899 RANLIB=$lt_RANLIB
19900 old_postinstall_cmds=$lt_old_postinstall_cmds
19901 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19902
19903 # Whether to use a lock for old archive extraction.
19904 lock_old_archive_extraction=$lock_old_archive_extraction
19905
19906 # A C compiler.
19907 LTCC=$lt_CC
19908
19909 # LTCC compiler flags.
19910 LTCFLAGS=$lt_CFLAGS
19911
19912 # Take the output of nm and produce a listing of raw symbols and C names.
19913 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19914
19915 # Transform the output of nm in a proper C declaration.
19916 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19917
19918 # Transform the output of nm in a C name address pair.
19919 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19920
19921 # Transform the output of nm in a C name address pair when lib prefix is needed.
19922 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19923
19924 # Specify filename containing input files for \$NM.
19925 nm_file_list_spec=$lt_nm_file_list_spec
19926
19927 # The root where to search for dependent libraries,and in which our libraries should be installed.
19928 lt_sysroot=$lt_sysroot
19929
19930 # The name of the directory that contains temporary libtool files.
19931 objdir=$objdir
19932
19933 # Used to examine libraries when file_magic_cmd begins with "file".
19934 MAGIC_CMD=$MAGIC_CMD
19935
19936 # Must we lock files when doing compilation?
19937 need_locks=$lt_need_locks
19938
19939 # Manifest tool.
19940 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19941
19942 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19943 DSYMUTIL=$lt_DSYMUTIL
19944
19945 # Tool to change global to local symbols on Mac OS X.
19946 NMEDIT=$lt_NMEDIT
19947
19948 # Tool to manipulate fat objects and archives on Mac OS X.
19949 LIPO=$lt_LIPO
19950
19951 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19952 OTOOL=$lt_OTOOL
19953
19954 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19955 OTOOL64=$lt_OTOOL64
19956
19957 # Old archive suffix (normally "a").
19958 libext=$libext
19959
19960 # Shared library suffix (normally ".so").
19961 shrext_cmds=$lt_shrext_cmds
19962
19963 # The commands to extract the exported symbol list from a shared archive.
19964 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19965
19966 # Variables whose values should be saved in libtool wrapper scripts and
19967 # restored at link time.
19968 variables_saved_for_relink=$lt_variables_saved_for_relink
19969
19970 # Do we need the "lib" prefix for modules?
19971 need_lib_prefix=$need_lib_prefix
19972
19973 # Do we need a version for libraries?
19974 need_version=$need_version
19975
19976 # Library versioning type.
19977 version_type=$version_type
19978
19979 # Shared library runtime path variable.
19980 runpath_var=$runpath_var
19981
19982 # Shared library path variable.
19983 shlibpath_var=$shlibpath_var
19984
19985 # Is shlibpath searched before the hard-coded library search path?
19986 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19987
19988 # Format of library name prefix.
19989 libname_spec=$lt_libname_spec
19990
19991 # List of archive names.  First name is the real one, the rest are links.
19992 # The last name is the one that the linker finds with -lNAME
19993 library_names_spec=$lt_library_names_spec
19994
19995 # The coded name of the library, if different from the real name.
19996 soname_spec=$lt_soname_spec
19997
19998 # Permission mode override for installation of shared libraries.
19999 install_override_mode=$lt_install_override_mode
20000
20001 # Command to use after installation of a shared archive.
20002 postinstall_cmds=$lt_postinstall_cmds
20003
20004 # Command to use after uninstallation of a shared archive.
20005 postuninstall_cmds=$lt_postuninstall_cmds
20006
20007 # Commands used to finish a libtool library installation in a directory.
20008 finish_cmds=$lt_finish_cmds
20009
20010 # As "finish_cmds", except a single script fragment to be evaled but
20011 # not shown.
20012 finish_eval=$lt_finish_eval
20013
20014 # Whether we should hardcode library paths into libraries.
20015 hardcode_into_libs=$hardcode_into_libs
20016
20017 # Compile-time system search path for libraries.
20018 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20019
20020 # Run-time system search path for libraries.
20021 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20022
20023 # Whether dlopen is supported.
20024 dlopen_support=$enable_dlopen
20025
20026 # Whether dlopen of programs is supported.
20027 dlopen_self=$enable_dlopen_self
20028
20029 # Whether dlopen of statically linked programs is supported.
20030 dlopen_self_static=$enable_dlopen_self_static
20031
20032 # Commands to strip libraries.
20033 old_striplib=$lt_old_striplib
20034 striplib=$lt_striplib
20035
20036
20037 # The linker used to build libraries.
20038 LD=$lt_LD
20039
20040 # How to create reloadable object files.
20041 reload_flag=$lt_reload_flag
20042 reload_cmds=$lt_reload_cmds
20043
20044 # Commands used to build an old-style archive.
20045 old_archive_cmds=$lt_old_archive_cmds
20046
20047 # A language specific compiler.
20048 CC=$lt_compiler
20049
20050 # Is the compiler the GNU compiler?
20051 with_gcc=$GCC
20052
20053 # Compiler flag to turn off builtin functions.
20054 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20055
20056 # Additional compiler flags for building library objects.
20057 pic_flag=$lt_lt_prog_compiler_pic
20058
20059 # How to pass a linker flag through the compiler.
20060 wl=$lt_lt_prog_compiler_wl
20061
20062 # Compiler flag to prevent dynamic linking.
20063 link_static_flag=$lt_lt_prog_compiler_static
20064
20065 # Does compiler simultaneously support -c and -o options?
20066 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20067
20068 # Whether or not to add -lc for building shared libraries.
20069 build_libtool_need_lc=$archive_cmds_need_lc
20070
20071 # Whether or not to disallow shared libs when runtime libs are static.
20072 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20073
20074 # Compiler flag to allow reflexive dlopens.
20075 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20076
20077 # Compiler flag to generate shared objects directly from archives.
20078 whole_archive_flag_spec=$lt_whole_archive_flag_spec
20079
20080 # Whether the compiler copes with passing no objects directly.
20081 compiler_needs_object=$lt_compiler_needs_object
20082
20083 # Create an old-style archive from a shared archive.
20084 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20085
20086 # Create a temporary old-style archive to link instead of a shared archive.
20087 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20088
20089 # Commands used to build a shared archive.
20090 archive_cmds=$lt_archive_cmds
20091 archive_expsym_cmds=$lt_archive_expsym_cmds
20092
20093 # Commands used to build a loadable module if different from building
20094 # a shared archive.
20095 module_cmds=$lt_module_cmds
20096 module_expsym_cmds=$lt_module_expsym_cmds
20097
20098 # Whether we are building with GNU ld or not.
20099 with_gnu_ld=$lt_with_gnu_ld
20100
20101 # Flag that allows shared libraries with undefined symbols to be built.
20102 allow_undefined_flag=$lt_allow_undefined_flag
20103
20104 # Flag that enforces no undefined symbols.
20105 no_undefined_flag=$lt_no_undefined_flag
20106
20107 # Flag to hardcode \$libdir into a binary during linking.
20108 # This must work even if \$libdir does not exist
20109 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20110
20111 # Whether we need a single "-rpath" flag with a separated argument.
20112 hardcode_libdir_separator=$lt_hardcode_libdir_separator
20113
20114 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20115 # DIR into the resulting binary.
20116 hardcode_direct=$hardcode_direct
20117
20118 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20119 # DIR into the resulting binary and the resulting library dependency is
20120 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20121 # library is relocated.
20122 hardcode_direct_absolute=$hardcode_direct_absolute
20123
20124 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20125 # into the resulting binary.
20126 hardcode_minus_L=$hardcode_minus_L
20127
20128 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20129 # into the resulting binary.
20130 hardcode_shlibpath_var=$hardcode_shlibpath_var
20131
20132 # Set to "yes" if building a shared library automatically hardcodes DIR
20133 # into the library and all subsequent libraries and executables linked
20134 # against it.
20135 hardcode_automatic=$hardcode_automatic
20136
20137 # Set to yes if linker adds runtime paths of dependent libraries
20138 # to runtime path list.
20139 inherit_rpath=$inherit_rpath
20140
20141 # Whether libtool must link a program against all its dependency libraries.
20142 link_all_deplibs=$link_all_deplibs
20143
20144 # Set to "yes" if exported symbols are required.
20145 always_export_symbols=$always_export_symbols
20146
20147 # The commands to list exported symbols.
20148 export_symbols_cmds=$lt_export_symbols_cmds
20149
20150 # Symbols that should not be listed in the preloaded symbols.
20151 exclude_expsyms=$lt_exclude_expsyms
20152
20153 # Symbols that must always be exported.
20154 include_expsyms=$lt_include_expsyms
20155
20156 # Commands necessary for linking programs (against libraries) with templates.
20157 prelink_cmds=$lt_prelink_cmds
20158
20159 # Commands necessary for finishing linking programs.
20160 postlink_cmds=$lt_postlink_cmds
20161
20162 # Specify filename containing input files.
20163 file_list_spec=$lt_file_list_spec
20164
20165 # How to hardcode a shared library path into an executable.
20166 hardcode_action=$hardcode_action
20167
20168 # ### END LIBTOOL CONFIG
20169
20170 _LT_EOF
20171
20172   case $host_os in
20173   aix3*)
20174     cat <<\_LT_EOF >> "$cfgfile"
20175 # AIX sometimes has problems with the GCC collect2 program.  For some
20176 # reason, if we set the COLLECT_NAMES environment variable, the problems
20177 # vanish in a puff of smoke.
20178 if test "X${COLLECT_NAMES+set}" != Xset; then
20179   COLLECT_NAMES=
20180   export COLLECT_NAMES
20181 fi
20182 _LT_EOF
20183     ;;
20184   esac
20185
20186
20187 ltmain="$ac_aux_dir/ltmain.sh"
20188
20189
20190   # We use sed instead of cat because bash on DJGPP gets confused if
20191   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
20192   # text mode, it properly converts lines to CR/LF.  This bash problem
20193   # is reportedly fixed, but why not run on old versions too?
20194   sed '$q' "$ltmain" >> "$cfgfile" \
20195      || (rm -f "$cfgfile"; exit 1)
20196
20197   if test x"$xsi_shell" = xyes; then
20198   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
20199 func_dirname ()\
20200 {\
20201 \    case ${1} in\
20202 \      */*) func_dirname_result="${1%/*}${2}" ;;\
20203 \      *  ) func_dirname_result="${3}" ;;\
20204 \    esac\
20205 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
20206   && mv -f "$cfgfile.tmp" "$cfgfile" \
20207     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20208 test 0 -eq $? || _lt_function_replace_fail=:
20209
20210
20211   sed -e '/^func_basename ()$/,/^} # func_basename /c\
20212 func_basename ()\
20213 {\
20214 \    func_basename_result="${1##*/}"\
20215 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
20216   && mv -f "$cfgfile.tmp" "$cfgfile" \
20217     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20218 test 0 -eq $? || _lt_function_replace_fail=:
20219
20220
20221   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
20222 func_dirname_and_basename ()\
20223 {\
20224 \    case ${1} in\
20225 \      */*) func_dirname_result="${1%/*}${2}" ;;\
20226 \      *  ) func_dirname_result="${3}" ;;\
20227 \    esac\
20228 \    func_basename_result="${1##*/}"\
20229 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
20230   && mv -f "$cfgfile.tmp" "$cfgfile" \
20231     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20232 test 0 -eq $? || _lt_function_replace_fail=:
20233
20234
20235   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
20236 func_stripname ()\
20237 {\
20238 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
20239 \    # positional parameters, so assign one to ordinary parameter first.\
20240 \    func_stripname_result=${3}\
20241 \    func_stripname_result=${func_stripname_result#"${1}"}\
20242 \    func_stripname_result=${func_stripname_result%"${2}"}\
20243 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
20244   && mv -f "$cfgfile.tmp" "$cfgfile" \
20245     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20246 test 0 -eq $? || _lt_function_replace_fail=:
20247
20248
20249   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
20250 func_split_long_opt ()\
20251 {\
20252 \    func_split_long_opt_name=${1%%=*}\
20253 \    func_split_long_opt_arg=${1#*=}\
20254 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
20255   && mv -f "$cfgfile.tmp" "$cfgfile" \
20256     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20257 test 0 -eq $? || _lt_function_replace_fail=:
20258
20259
20260   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
20261 func_split_short_opt ()\
20262 {\
20263 \    func_split_short_opt_arg=${1#??}\
20264 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
20265 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
20266   && mv -f "$cfgfile.tmp" "$cfgfile" \
20267     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20268 test 0 -eq $? || _lt_function_replace_fail=:
20269
20270
20271   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
20272 func_lo2o ()\
20273 {\
20274 \    case ${1} in\
20275 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
20276 \      *)    func_lo2o_result=${1} ;;\
20277 \    esac\
20278 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
20279   && mv -f "$cfgfile.tmp" "$cfgfile" \
20280     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20281 test 0 -eq $? || _lt_function_replace_fail=:
20282
20283
20284   sed -e '/^func_xform ()$/,/^} # func_xform /c\
20285 func_xform ()\
20286 {\
20287     func_xform_result=${1%.*}.lo\
20288 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
20289   && mv -f "$cfgfile.tmp" "$cfgfile" \
20290     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20291 test 0 -eq $? || _lt_function_replace_fail=:
20292
20293
20294   sed -e '/^func_arith ()$/,/^} # func_arith /c\
20295 func_arith ()\
20296 {\
20297     func_arith_result=$(( $* ))\
20298 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
20299   && mv -f "$cfgfile.tmp" "$cfgfile" \
20300     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20301 test 0 -eq $? || _lt_function_replace_fail=:
20302
20303
20304   sed -e '/^func_len ()$/,/^} # func_len /c\
20305 func_len ()\
20306 {\
20307     func_len_result=${#1}\
20308 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
20309   && mv -f "$cfgfile.tmp" "$cfgfile" \
20310     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20311 test 0 -eq $? || _lt_function_replace_fail=:
20312
20313 fi
20314
20315 if test x"$lt_shell_append" = xyes; then
20316   sed -e '/^func_append ()$/,/^} # func_append /c\
20317 func_append ()\
20318 {\
20319     eval "${1}+=\\${2}"\
20320 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
20321   && mv -f "$cfgfile.tmp" "$cfgfile" \
20322     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20323 test 0 -eq $? || _lt_function_replace_fail=:
20324
20325
20326   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
20327 func_append_quoted ()\
20328 {\
20329 \    func_quote_for_eval "${2}"\
20330 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
20331 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
20332   && mv -f "$cfgfile.tmp" "$cfgfile" \
20333     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20334 test 0 -eq $? || _lt_function_replace_fail=:
20335
20336
20337   # Save a `func_append' function call where possible by direct use of '+='
20338   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
20339     && mv -f "$cfgfile.tmp" "$cfgfile" \
20340       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20341   test 0 -eq $? || _lt_function_replace_fail=:
20342 else
20343   # Save a `func_append' function call even when '+=' is not available
20344   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
20345     && mv -f "$cfgfile.tmp" "$cfgfile" \
20346       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20347   test 0 -eq $? || _lt_function_replace_fail=:
20348 fi
20349
20350 if test x"$_lt_function_replace_fail" = x":"; then
20351   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
20352 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
20353 fi
20354
20355
20356    mv -f "$cfgfile" "$ofile" ||
20357     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20358   chmod +x "$ofile"
20359
20360  ;;
20361
20362   esac
20363 done # for ac_tag
20364
20365
20366 as_fn_exit 0
20367 _ACEOF
20368 ac_clean_files=$ac_clean_files_save
20369
20370 test $ac_write_fail = 0 ||
20371   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20372
20373
20374 # configure is writing to config.log, and then calls config.status.
20375 # config.status does its own redirection, appending to config.log.
20376 # Unfortunately, on DOS this fails, as config.log is still kept open
20377 # by configure, so config.status won't be able to write to it; its
20378 # output is simply discarded.  So we exec the FD to /dev/null,
20379 # effectively closing config.log, so it can be properly (re)opened and
20380 # appended to by config.status.  When coming back to configure, we
20381 # need to make the FD available again.
20382 if test "$no_create" != yes; then
20383   ac_cs_success=:
20384   ac_config_status_args=
20385   test "$silent" = yes &&
20386     ac_config_status_args="$ac_config_status_args --quiet"
20387   exec 5>/dev/null
20388   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20389   exec 5>>config.log
20390   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20391   # would make configure fail if this is the last instruction.
20392   $ac_cs_success || as_fn_exit 1
20393 fi
20394 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20395   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20396 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20397 fi
20398
20399
20400
20401 #####################################################################
20402 ## Info
20403
20404 echo
20405 echo
20406 echo
20407 echo "------------------------------------------------------------------------"
20408 echo "$PACKAGE $VERSION"
20409 echo "------------------------------------------------------------------------"
20410 echo
20411 echo "Configuration Options Summary:"
20412 echo
20413 echo "  Amalgamation.........: ${do_amalgamation}"
20414 echo "  Ecore IMF............: $have_ecore_imf"
20415
20416 if test "x${want_multisense}" = "xyes" ; then
20417 echo "  LibRemix.............: $have_libremix"
20418 echo "  Libsndfile...........: $have_sndfile"
20419 echo "  Ogg/Vorbis...........: $have_vorbis"
20420 echo "  LibFLAC..............: $have_flac_lib"
20421 echo "  LibALSA..............: $have_alsa_lib"
20422 fi
20423
20424 echo "  EDJE_PROGRAM_CACHE...: $want_edje_program_cache"
20425 echo "  EDJE_CALC_CACHE......: $want_edje_calc_cache"
20426 echo "  Fixed point..........: $want_fixed_point"
20427 echo "  Documentation........: ${build_doc}"
20428 if test "x${build_doc}" = "xyes" ; then
20429 echo "    Installation.......: make install-doc"
20430 fi
20431 echo "  Tests................: ${enable_tests}"
20432 echo "  Coverage.............: ${enable_coverage}"
20433 echo "  Examples.............: install:${install_examples} build:${build_examples}"
20434 echo
20435 echo "Programs:"
20436 echo
20437 echo "  Build edje_cc................: $have_edje_cc"
20438 echo "  Build edje_decc..............: $have_edje_decc"
20439 echo "  Build edje_recc..............: $have_edje_recc"
20440 echo "  Build edje_player............: $have_edje_player"
20441 echo "  Build edje_inspector.........: $have_edje_inspector"
20442 echo "  Build edje_external_inspector: $have_edje_external_inspector"
20443 echo "  Build edje_watch.............: $have_edje_watch"
20444 echo
20445 echo "Compilation............: make (or gmake)"
20446 echo "  CPPFLAGS.............: $CPPFLAGS"
20447 echo "  CFLAGS...............: $CFLAGS"
20448 echo "  LDFLAGS..............: $LDFLAGS"
20449 echo
20450 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
20451 echo "  prefix...............: $prefix"
20452 echo