Imported Upstream version 1.7.1
[platform/upstream/edje.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for edje 1.7.1.
4 #
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 case $0 in #((
95   *[\\/]* ) as_myself=$0 ;;
96   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
98 do
99   IFS=$as_save_IFS
100   test -z "$as_dir" && as_dir=.
101     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102   done
103 IFS=$as_save_IFS
104
105      ;;
106 esac
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
110   as_myself=$0
111 fi
112 if test ! -f "$as_myself"; then
113   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114   exit 1
115 fi
116
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there.  '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
128
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
134
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138 if test "x$CONFIG_SHELL" = x; then
139   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140   emulate sh
141   NULLCMD=:
142   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143   # is contrary to our usage.  Disable this feature.
144   alias -g '\${1+\"\$@\"}'='\"\$@\"'
145   setopt NO_GLOB_SUBST
146 else
147   case \`(set -o) 2>/dev/null\` in #(
148   *posix*) :
149     set -o posix ;; #(
150   *) :
151      ;;
152 esac
153 fi
154 "
155   as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
160
161 exitcode=0
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
168 else
169   exitcode=1; echo positional parameters were not saved.
170 fi
171 test x\$exitcode = x0 || exit 1"
172   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177   if (eval "$as_required") 2>/dev/null; then :
178   as_have_required=yes
179 else
180   as_have_required=no
181 fi
182   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
184 else
185   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186 as_found=false
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 do
189   IFS=$as_save_IFS
190   test -z "$as_dir" && as_dir=.
191   as_found=:
192   case $as_dir in #(
193          /*)
194            for as_base in sh bash ksh sh5; do
195              # Try only shells that exist, to save several forks.
196              as_shell=$as_dir/$as_base
197              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199   CONFIG_SHELL=$as_shell as_have_required=yes
200                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201   break 2
202 fi
203 fi
204            done;;
205        esac
206   as_found=false
207 done
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210   CONFIG_SHELL=$SHELL as_have_required=yes
211 fi; }
212 IFS=$as_save_IFS
213
214
215       if test "x$CONFIG_SHELL" != x; then :
216   # We cannot yet assume a decent shell, so we have to provide a
217         # neutralization value for shells without unset; and this also
218         # works around shells that cannot unset nonexistent variables.
219         BASH_ENV=/dev/null
220         ENV=/dev/null
221         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222         export CONFIG_SHELL
223         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 fi
225
226     if test x$as_have_required = xno; then :
227   $as_echo "$0: This script requires a shell more modern than all"
228   $as_echo "$0: the shells that I found on your system."
229   if test x${ZSH_VERSION+set} = xset ; then
230     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232   else
233     $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: enlightenment-devel@lists.sourceforge.net about your
235 $0: system, including any error possibly output before this
236 $0: message. Then install a modern shell, or manually run
237 $0: the script under such a shell if you do have one."
238   fi
239   exit 1
240 fi
241 fi
242 fi
243 SHELL=${CONFIG_SHELL-/bin/sh}
244 export SHELL
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS
248
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
252 # as_fn_unset VAR
253 # ---------------
254 # Portably unset VAR.
255 as_fn_unset ()
256 {
257   { eval $1=; unset $1;}
258 }
259 as_unset=as_fn_unset
260
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
264 as_fn_set_status ()
265 {
266   return $1
267 } # as_fn_set_status
268
269 # as_fn_exit STATUS
270 # -----------------
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
272 as_fn_exit ()
273 {
274   set +e
275   as_fn_set_status $1
276   exit $1
277 } # as_fn_exit
278
279 # as_fn_mkdir_p
280 # -------------
281 # Create "$as_dir" as a directory, including parents if necessary.
282 as_fn_mkdir_p ()
283 {
284
285   case $as_dir in #(
286   -*) as_dir=./$as_dir;;
287   esac
288   test -d "$as_dir" || eval $as_mkdir_p || {
289     as_dirs=
290     while :; do
291       case $as_dir in #(
292       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293       *) as_qdir=$as_dir;;
294       esac
295       as_dirs="'$as_qdir' $as_dirs"
296       as_dir=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298          X"$as_dir" : 'X\(//\)[^/]' \| \
299          X"$as_dir" : 'X\(//\)$' \| \
300          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
303             s//\1/
304             q
305           }
306           /^X\(\/\/\)[^/].*/{
307             s//\1/
308             q
309           }
310           /^X\(\/\/\)$/{
311             s//\1/
312             q
313           }
314           /^X\(\/\).*/{
315             s//\1/
316             q
317           }
318           s/.*/./; q'`
319       test -d "$as_dir" && break
320     done
321     test -z "$as_dirs" || eval "mkdir $as_dirs"
322   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323
324
325 } # as_fn_mkdir_p
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
331 # implementations.
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333   eval 'as_fn_append ()
334   {
335     eval $1+=\$2
336   }'
337 else
338   as_fn_append ()
339   {
340     eval $1=\$$1\$2
341   }
342 fi # as_fn_append
343
344 # as_fn_arith ARG...
345 # ------------------
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
350   eval 'as_fn_arith ()
351   {
352     as_val=$(( $* ))
353   }'
354 else
355   as_fn_arith ()
356   {
357     as_val=`expr "$@" || test $? -eq 1`
358   }
359 fi # as_fn_arith
360
361
362 # as_fn_error STATUS ERROR [LINENO LOG_FD]
363 # ----------------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with STATUS, using 1 if that was 0.
367 as_fn_error ()
368 {
369   as_status=$1; test $as_status -eq 0 && as_status=1
370   if test "$4"; then
371     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373   fi
374   $as_echo "$as_me: error: $2" >&2
375   as_fn_exit $as_status
376 } # as_fn_error
377
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379    test "X`expr 00001 : '.*\(...\)'`" = X001; then
380   as_expr=expr
381 else
382   as_expr=false
383 fi
384
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386   as_basename=basename
387 else
388   as_basename=false
389 fi
390
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392   as_dirname=dirname
393 else
394   as_dirname=false
395 fi
396
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399          X"$0" : 'X\(//\)$' \| \
400          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401 $as_echo X/"$0" |
402     sed '/^.*\/\([^/][^/]*\)\/*$/{
403             s//\1/
404             q
405           }
406           /^X\/\(\/\/\)$/{
407             s//\1/
408             q
409           }
410           /^X\/\(\/\).*/{
411             s//\1/
412             q
413           }
414           s/.*/./; q'`
415
416 # Avoid depending upon Character Ranges.
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits='0123456789'
421 as_cr_alnum=$as_cr_Letters$as_cr_digits
422
423
424   as_lineno_1=$LINENO as_lineno_1a=$LINENO
425   as_lineno_2=$LINENO as_lineno_2a=$LINENO
426   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
429   sed -n '
430     p
431     /[$]LINENO/=
432   ' <$as_myself |
433     sed '
434       s/[$]LINENO.*/&-/
435       t lineno
436       b
437       :lineno
438       N
439       :loop
440       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441       t loop
442       s/-\n.*//
443     ' >$as_me.lineno &&
444   chmod +x "$as_me.lineno" ||
445     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
446
447   # Don't try to exec as it changes $[0], causing all sort of problems
448   # (the dirname of $[0] is not the place where we might find the
449   # original and so on.  Autoconf is especially sensitive to this).
450   . "./$as_me.lineno"
451   # Exit status is that of the last command.
452   exit
453 }
454
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in #(((((
457 -n*)
458   case `echo 'xy\c'` in
459   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
460   xy)  ECHO_C='\c';;
461   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
462        ECHO_T=' ';;
463   esac;;
464 *)
465   ECHO_N='-n';;
466 esac
467
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470   rm -f conf$$.dir/conf$$.file
471 else
472   rm -f conf$$.dir
473   mkdir conf$$.dir 2>/dev/null
474 fi
475 if (echo >conf$$.file) 2>/dev/null; then
476   if ln -s conf$$.file conf$$ 2>/dev/null; then
477     as_ln_s='ln -s'
478     # ... but there are two gotchas:
479     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481     # In both cases, we have to default to `cp -p'.
482     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
483       as_ln_s='cp -p'
484   elif ln conf$$.file conf$$ 2>/dev/null; then
485     as_ln_s=ln
486   else
487     as_ln_s='cp -p'
488   fi
489 else
490   as_ln_s='cp -p'
491 fi
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493 rmdir conf$$.dir 2>/dev/null
494
495 if mkdir -p . 2>/dev/null; then
496   as_mkdir_p='mkdir -p "$as_dir"'
497 else
498   test -d ./-p && rmdir ./-p
499   as_mkdir_p=false
500 fi
501
502 if test -x / >/dev/null 2>&1; then
503   as_test_x='test -x'
504 else
505   if ls -dL / >/dev/null 2>&1; then
506     as_ls_L_option=L
507   else
508     as_ls_L_option=
509   fi
510   as_test_x='
511     eval sh -c '\''
512       if test -d "$1"; then
513         test -d "$1/.";
514       else
515         case $1 in #(
516         -*)set "./$1";;
517         esac;
518         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519         ???[sx]*):;;*)false;;esac;fi
520     '\'' sh
521   '
522 fi
523 as_executable_p=$as_test_x
524
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
527
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
531
532
533 # Check that we are running under the correct shell.
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536 case X$lt_ECHO in
537 X*--fallback-echo)
538   # Remove one level of quotation (which was required for Make).
539   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
540   ;;
541 esac
542
543 ECHO=${lt_ECHO-echo}
544 if test "X$1" = X--no-reexec; then
545   # Discard the --no-reexec flag, and continue.
546   shift
547 elif test "X$1" = X--fallback-echo; then
548   # Avoid inline document here, it may be left over
549   :
550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551   # Yippee, $ECHO works!
552   :
553 else
554   # Restart under the correct shell.
555   exec $SHELL "$0" --no-reexec ${1+"$@"}
556 fi
557
558 if test "X$1" = X--fallback-echo; then
559   # used as fallback echo
560   shift
561   cat <<_LT_EOF
562 $*
563 _LT_EOF
564   exit 0
565 fi
566
567 # The HP-UX ksh and POSIX shell print the target directory to stdout
568 # if CDPATH is set.
569 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
570
571 if test -z "$lt_ECHO"; then
572   if test "X${echo_test_string+set}" != Xset; then
573     # find a string as large as possible, as long as the shell can cope with it
574     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
578       then
579         break
580       fi
581     done
582   fi
583
584   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586      test "X$echo_testing_string" = "X$echo_test_string"; then
587     :
588   else
589     # The Solaris, AIX, and Digital Unix default echo programs unquote
590     # backslashes.  This makes it impossible to quote backslashes using
591     #   echo "$something" | sed 's/\\/\\\\/g'
592     #
593     # So, first we look for a working echo in the user's PATH.
594
595     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596     for dir in $PATH /usr/ucb; do
597       IFS="$lt_save_ifs"
598       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601          test "X$echo_testing_string" = "X$echo_test_string"; then
602         ECHO="$dir/echo"
603         break
604       fi
605     done
606     IFS="$lt_save_ifs"
607
608     if test "X$ECHO" = Xecho; then
609       # We didn't find a better echo, so look for alternatives.
610       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612          test "X$echo_testing_string" = "X$echo_test_string"; then
613         # This shell has a builtin print -r that does the trick.
614         ECHO='print -r'
615       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616            test "X$CONFIG_SHELL" != X/bin/ksh; then
617         # If we have ksh, try running configure again with it.
618         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619         export ORIGINAL_CONFIG_SHELL
620         CONFIG_SHELL=/bin/ksh
621         export CONFIG_SHELL
622         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623       else
624         # Try using printf.
625         ECHO='printf %s\n'
626         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628            test "X$echo_testing_string" = "X$echo_test_string"; then
629           # Cool, printf works
630           :
631         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632              test "X$echo_testing_string" = 'X\t' &&
633              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634              test "X$echo_testing_string" = "X$echo_test_string"; then
635           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
636           export CONFIG_SHELL
637           SHELL="$CONFIG_SHELL"
638           export SHELL
639           ECHO="$CONFIG_SHELL $0 --fallback-echo"
640         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641              test "X$echo_testing_string" = 'X\t' &&
642              echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643              test "X$echo_testing_string" = "X$echo_test_string"; then
644           ECHO="$CONFIG_SHELL $0 --fallback-echo"
645         else
646           # maybe with a smaller string...
647           prev=:
648
649           for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
651             then
652               break
653             fi
654             prev="$cmd"
655           done
656
657           if test "$prev" != 'sed 50q "$0"'; then
658             echo_test_string=`eval $prev`
659             export echo_test_string
660             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
661           else
662             # Oops.  We lost completely, so just stick with echo.
663             ECHO=echo
664           fi
665         fi
666       fi
667     fi
668   fi
669 fi
670
671 # Copy echo and quote the copy suitably for passing to libtool from
672 # the Makefile, instead of quoting the original, which is used later.
673 lt_ECHO=$ECHO
674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676 fi
677
678
679
680
681 test -n "$DJDIR" || exec 7<&0 </dev/null
682 exec 6>&1
683
684 # Name of the host.
685 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686 # so uname gets run too.
687 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
688
689 #
690 # Initializations.
691 #
692 ac_default_prefix=/usr/local
693 ac_clean_files=
694 ac_config_libobj_dir=.
695 LIBOBJS=
696 cross_compiling=no
697 subdirs=
698 MFLAGS=
699 MAKEFLAGS=
700
701 # Identity of this package.
702 PACKAGE_NAME='edje'
703 PACKAGE_TARNAME='edje'
704 PACKAGE_VERSION='1.7.1'
705 PACKAGE_STRING='edje 1.7.1'
706 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
707 PACKAGE_URL=''
708
709 ac_unique_file="configure.ac"
710 # Factoring default headers for most tests.
711 ac_includes_default="\
712 #include <stdio.h>
713 #ifdef HAVE_SYS_TYPES_H
714 # include <sys/types.h>
715 #endif
716 #ifdef HAVE_SYS_STAT_H
717 # include <sys/stat.h>
718 #endif
719 #ifdef STDC_HEADERS
720 # include <stdlib.h>
721 # include <stddef.h>
722 #else
723 # ifdef HAVE_STDLIB_H
724 #  include <stdlib.h>
725 # endif
726 #endif
727 #ifdef HAVE_STRING_H
728 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
729 #  include <memory.h>
730 # endif
731 # include <string.h>
732 #endif
733 #ifdef HAVE_STRINGS_H
734 # include <strings.h>
735 #endif
736 #ifdef HAVE_INTTYPES_H
737 # include <inttypes.h>
738 #endif
739 #ifdef HAVE_STDINT_H
740 # include <stdint.h>
741 #endif
742 #ifdef HAVE_UNISTD_H
743 # include <unistd.h>
744 #endif"
745
746 ac_subst_vars='am__EXEEXT_FALSE
747 am__EXEEXT_TRUE
748 LTLIBOBJS
749 LIBOBJS
750 requirement_edje
751 BUILD_EXAMPLES_FALSE
752 BUILD_EXAMPLES_TRUE
753 EFL_ENABLE_COVERAGE_FALSE
754 EFL_ENABLE_COVERAGE_TRUE
755 EFL_COVERAGE_LIBS
756 EFL_COVERAGE_CFLAGS
757 have_lcov
758 EFL_ENABLE_TESTS_FALSE
759 EFL_ENABLE_TESTS_TRUE
760 CHECK_LIBS
761 CHECK_CFLAGS
762 ALLOCA
763 lt_enable_auto_import
764 EDJE_WATCH_LIBS
765 EDJE_WATCH_CFLAGS
766 EDJE_EXTERNAL_INSPECTOR_LIBS
767 EDJE_EXTERNAL_INSPECTOR_CFLAGS
768 EDJE_INSPECTOR_LIBS
769 EDJE_INSPECTOR_CFLAGS
770 EDJE_PLAYER_LIBS
771 EDJE_PLAYER_CFLAGS
772 EDJE_DECC_LIBS
773 EDJE_DECC_CFLAGS
774 BUILD_EPP_FALSE
775 BUILD_EPP_TRUE
776 EDJE_CC_LIBS
777 EDJE_CC_CFLAGS
778 want_multisense
779 FLAC_LIBS
780 FLAC_CFLAGS
781 HAVE_LIBALSA_FALSE
782 HAVE_LIBALSA_TRUE
783 ALSA_LIBS
784 ALSA_CFLAGS
785 VORBISENC_LIBS
786 VORBISENC_CFLAGS
787 HAVE_LIBREMIX_FALSE
788 HAVE_LIBREMIX_TRUE
789 REMIX_PLUGIN_DIR
790 REMIX_LIBS
791 REMIX_CFLAGS
792 HAVE_LIBSNDFILE_FALSE
793 HAVE_LIBSNDFILE_TRUE
794 SNDFILE_LIBS
795 SNDFILE_CFLAGS
796 ENABLE_MULTISENSE_FALSE
797 ENABLE_MULTISENSE_TRUE
798 EIO_LIBS
799 EIO_CFLAGS
800 ECORE_IMF_LIBS
801 ECORE_IMF_CFLAGS
802 EDJE_LIBS
803 EDJE_CFLAGS
804 MINIMAL_LIBS
805 MINIMAL_CFLAGS
806 lua_libs
807 LUA_LIBS
808 LUA_CFLAGS
809 EFL_EDJE_BUILD
810 EVIL_LIBS
811 EVIL_CFLAGS
812 pkgconfig_requires_private
813 PKG_CONFIG_LIBDIR
814 PKG_CONFIG_PATH
815 PKG_CONFIG
816 HAVE_PYTHON_FALSE
817 HAVE_PYTHON_TRUE
818 pkgpyexecdir
819 pyexecdir
820 pkgpythondir
821 pythondir
822 PYTHON_PLATFORM
823 PYTHON_EXEC_PREFIX
824 PYTHON_PREFIX
825 PYTHON_VERSION
826 PYTHON
827 EFL_BUILD_DOC_FALSE
828 EFL_BUILD_DOC_TRUE
829 efl_doxygen
830 efl_have_doxygen
831 vimdir
832 BUILD_EDJE_FP_FALSE
833 BUILD_EDJE_FP_TRUE
834 EDJE_CALC_CACHE_FALSE
835 EDJE_CALC_CACHE_TRUE
836 EDJE_PROGRAM_CACHE_FALSE
837 EDJE_PROGRAM_CACHE_TRUE
838 BUILD_EDJE_WATCH_FALSE
839 BUILD_EDJE_WATCH_TRUE
840 EDJE_WATCH_PRG
841 BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE
842 BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE
843 EDJE_EXTERNAL_INSPECTOR_PRG
844 BUILD_EDJE_INSPECTOR_FALSE
845 BUILD_EDJE_INSPECTOR_TRUE
846 EDJE_INSPECTOR_PRG
847 BUILD_EDJE_PLAYER_FALSE
848 BUILD_EDJE_PLAYER_TRUE
849 EDJE_PLAYER_PRG
850 BUILD_EDJE_RECC_FALSE
851 BUILD_EDJE_RECC_TRUE
852 EDJE_RECC_PRG
853 BUILD_EDJE_DECC_FALSE
854 BUILD_EDJE_DECC_TRUE
855 EDJE_DECC_PRG
856 BUILD_EDJE_CC_FALSE
857 BUILD_EDJE_CC_TRUE
858 EDJE_CC_PRG
859 edje_cc
860 EDJE_AMALGAMATION_FALSE
861 EDJE_AMALGAMATION_TRUE
862 MODULE_ARCH
863 VMAJ
864 release_info
865 version_info
866 CPP
867 OTOOL64
868 OTOOL
869 LIPO
870 NMEDIT
871 DSYMUTIL
872 lt_ECHO
873 RANLIB
874 AR
875 LN_S
876 NM
877 ac_ct_DUMPBIN
878 DUMPBIN
879 LD
880 FGREP
881 EGREP
882 GREP
883 SED
884 am__fastdepCC_FALSE
885 am__fastdepCC_TRUE
886 CCDEPMODE
887 AMDEPBACKSLASH
888 AMDEP_FALSE
889 AMDEP_TRUE
890 am__quote
891 am__include
892 DEPDIR
893 OBJEXT
894 EXEEXT
895 ac_ct_CC
896 CPPFLAGS
897 LDFLAGS
898 CFLAGS
899 CC
900 LIBTOOL
901 OBJDUMP
902 DLLTOOL
903 AS
904 host_os
905 host_vendor
906 host_cpu
907 host
908 build_os
909 build_vendor
910 build_cpu
911 build
912 AM_BACKSLASH
913 AM_DEFAULT_VERBOSITY
914 am__untar
915 am__tar
916 AMTAR
917 am__leading_dot
918 SET_MAKE
919 AWK
920 mkdir_p
921 MKDIR_P
922 INSTALL_STRIP_PROGRAM
923 STRIP
924 install_sh
925 MAKEINFO
926 AUTOHEADER
927 AUTOMAKE
928 AUTOCONF
929 ACLOCAL
930 VERSION
931 PACKAGE
932 CYGPATH_W
933 am__isrc
934 INSTALL_DATA
935 INSTALL_SCRIPT
936 INSTALL_PROGRAM
937 target_alias
938 host_alias
939 build_alias
940 LIBS
941 ECHO_T
942 ECHO_N
943 ECHO_C
944 DEFS
945 mandir
946 localedir
947 libdir
948 psdir
949 pdfdir
950 dvidir
951 htmldir
952 infodir
953 docdir
954 oldincludedir
955 includedir
956 localstatedir
957 sharedstatedir
958 sysconfdir
959 datadir
960 datarootdir
961 libexecdir
962 sbindir
963 bindir
964 program_transform_name
965 prefix
966 exec_prefix
967 PACKAGE_URL
968 PACKAGE_BUGREPORT
969 PACKAGE_STRING
970 PACKAGE_VERSION
971 PACKAGE_TARNAME
972 PACKAGE_NAME
973 PATH_SEPARATOR
974 SHELL'
975 ac_subst_files=''
976 ac_user_opts='
977 enable_option_checking
978 enable_silent_rules
979 enable_shared
980 enable_static
981 with_pic
982 enable_fast_install
983 enable_dependency_tracking
984 with_gnu_ld
985 enable_libtool_lock
986 enable_amalgamation
987 with_edje_cc
988 enable_edje_cc
989 enable_edje_decc
990 enable_edje_recc
991 enable_edje_player
992 enable_edje_inspector
993 enable_edje_external_inspector
994 enable_edje_watch
995 enable_edje_program_cache
996 enable_edje_calc_cache
997 enable_fixed_point
998 with_vim
999 enable_doc
1000 with_doxygen
1001 enable_sndfile
1002 enable_remix
1003 enable_vorbisenc
1004 enable_alsa
1005 enable_flac
1006 enable_tests
1007 enable_coverage
1008 enable_build_examples
1009 '
1010       ac_precious_vars='build_alias
1011 host_alias
1012 target_alias
1013 CC
1014 CFLAGS
1015 LDFLAGS
1016 LIBS
1017 CPPFLAGS
1018 CPP
1019 PKG_CONFIG
1020 PKG_CONFIG_PATH
1021 PKG_CONFIG_LIBDIR
1022 EVIL_CFLAGS
1023 EVIL_LIBS
1024 LUA_CFLAGS
1025 LUA_LIBS
1026 MINIMAL_CFLAGS
1027 MINIMAL_LIBS
1028 EDJE_CFLAGS
1029 EDJE_LIBS
1030 ECORE_IMF_CFLAGS
1031 ECORE_IMF_LIBS
1032 EIO_CFLAGS
1033 EIO_LIBS
1034 SNDFILE_CFLAGS
1035 SNDFILE_LIBS
1036 REMIX_CFLAGS
1037 REMIX_LIBS
1038 VORBISENC_CFLAGS
1039 VORBISENC_LIBS
1040 ALSA_CFLAGS
1041 ALSA_LIBS
1042 FLAC_CFLAGS
1043 FLAC_LIBS
1044 EDJE_CC_CFLAGS
1045 EDJE_CC_LIBS
1046 EDJE_DECC_CFLAGS
1047 EDJE_DECC_LIBS
1048 EDJE_PLAYER_CFLAGS
1049 EDJE_PLAYER_LIBS
1050 EDJE_INSPECTOR_CFLAGS
1051 EDJE_INSPECTOR_LIBS
1052 EDJE_EXTERNAL_INSPECTOR_CFLAGS
1053 EDJE_EXTERNAL_INSPECTOR_LIBS
1054 EDJE_WATCH_CFLAGS
1055 EDJE_WATCH_LIBS
1056 CHECK_CFLAGS
1057 CHECK_LIBS'
1058
1059
1060 # Initialize some variables set by options.
1061 ac_init_help=
1062 ac_init_version=false
1063 ac_unrecognized_opts=
1064 ac_unrecognized_sep=
1065 # The variables have the same names as the options, with
1066 # dashes changed to underlines.
1067 cache_file=/dev/null
1068 exec_prefix=NONE
1069 no_create=
1070 no_recursion=
1071 prefix=NONE
1072 program_prefix=NONE
1073 program_suffix=NONE
1074 program_transform_name=s,x,x,
1075 silent=
1076 site=
1077 srcdir=
1078 verbose=
1079 x_includes=NONE
1080 x_libraries=NONE
1081
1082 # Installation directory options.
1083 # These are left unexpanded so users can "make install exec_prefix=/foo"
1084 # and all the variables that are supposed to be based on exec_prefix
1085 # by default will actually change.
1086 # Use braces instead of parens because sh, perl, etc. also accept them.
1087 # (The list follows the same order as the GNU Coding Standards.)
1088 bindir='${exec_prefix}/bin'
1089 sbindir='${exec_prefix}/sbin'
1090 libexecdir='${exec_prefix}/libexec'
1091 datarootdir='${prefix}/share'
1092 datadir='${datarootdir}'
1093 sysconfdir='${prefix}/etc'
1094 sharedstatedir='${prefix}/com'
1095 localstatedir='${prefix}/var'
1096 includedir='${prefix}/include'
1097 oldincludedir='/usr/include'
1098 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1099 infodir='${datarootdir}/info'
1100 htmldir='${docdir}'
1101 dvidir='${docdir}'
1102 pdfdir='${docdir}'
1103 psdir='${docdir}'
1104 libdir='${exec_prefix}/lib'
1105 localedir='${datarootdir}/locale'
1106 mandir='${datarootdir}/man'
1107
1108 ac_prev=
1109 ac_dashdash=
1110 for ac_option
1111 do
1112   # If the previous option needs an argument, assign it.
1113   if test -n "$ac_prev"; then
1114     eval $ac_prev=\$ac_option
1115     ac_prev=
1116     continue
1117   fi
1118
1119   case $ac_option in
1120   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1121   *=)   ac_optarg= ;;
1122   *)    ac_optarg=yes ;;
1123   esac
1124
1125   # Accept the important Cygnus configure options, so we can diagnose typos.
1126
1127   case $ac_dashdash$ac_option in
1128   --)
1129     ac_dashdash=yes ;;
1130
1131   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1132     ac_prev=bindir ;;
1133   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1134     bindir=$ac_optarg ;;
1135
1136   -build | --build | --buil | --bui | --bu)
1137     ac_prev=build_alias ;;
1138   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1139     build_alias=$ac_optarg ;;
1140
1141   -cache-file | --cache-file | --cache-fil | --cache-fi \
1142   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1143     ac_prev=cache_file ;;
1144   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1145   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1146     cache_file=$ac_optarg ;;
1147
1148   --config-cache | -C)
1149     cache_file=config.cache ;;
1150
1151   -datadir | --datadir | --datadi | --datad)
1152     ac_prev=datadir ;;
1153   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1154     datadir=$ac_optarg ;;
1155
1156   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1157   | --dataroo | --dataro | --datar)
1158     ac_prev=datarootdir ;;
1159   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1160   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1161     datarootdir=$ac_optarg ;;
1162
1163   -disable-* | --disable-*)
1164     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1165     # Reject names that are not valid shell variable names.
1166     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1167       as_fn_error $? "invalid feature name: $ac_useropt"
1168     ac_useropt_orig=$ac_useropt
1169     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1170     case $ac_user_opts in
1171       *"
1172 "enable_$ac_useropt"
1173 "*) ;;
1174       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1175          ac_unrecognized_sep=', ';;
1176     esac
1177     eval enable_$ac_useropt=no ;;
1178
1179   -docdir | --docdir | --docdi | --doc | --do)
1180     ac_prev=docdir ;;
1181   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1182     docdir=$ac_optarg ;;
1183
1184   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1185     ac_prev=dvidir ;;
1186   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1187     dvidir=$ac_optarg ;;
1188
1189   -enable-* | --enable-*)
1190     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1191     # Reject names that are not valid shell variable names.
1192     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1193       as_fn_error $? "invalid feature name: $ac_useropt"
1194     ac_useropt_orig=$ac_useropt
1195     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1196     case $ac_user_opts in
1197       *"
1198 "enable_$ac_useropt"
1199 "*) ;;
1200       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1201          ac_unrecognized_sep=', ';;
1202     esac
1203     eval enable_$ac_useropt=\$ac_optarg ;;
1204
1205   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1206   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1207   | --exec | --exe | --ex)
1208     ac_prev=exec_prefix ;;
1209   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1210   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1211   | --exec=* | --exe=* | --ex=*)
1212     exec_prefix=$ac_optarg ;;
1213
1214   -gas | --gas | --ga | --g)
1215     # Obsolete; use --with-gas.
1216     with_gas=yes ;;
1217
1218   -help | --help | --hel | --he | -h)
1219     ac_init_help=long ;;
1220   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1221     ac_init_help=recursive ;;
1222   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1223     ac_init_help=short ;;
1224
1225   -host | --host | --hos | --ho)
1226     ac_prev=host_alias ;;
1227   -host=* | --host=* | --hos=* | --ho=*)
1228     host_alias=$ac_optarg ;;
1229
1230   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1231     ac_prev=htmldir ;;
1232   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1233   | --ht=*)
1234     htmldir=$ac_optarg ;;
1235
1236   -includedir | --includedir | --includedi | --included | --include \
1237   | --includ | --inclu | --incl | --inc)
1238     ac_prev=includedir ;;
1239   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1240   | --includ=* | --inclu=* | --incl=* | --inc=*)
1241     includedir=$ac_optarg ;;
1242
1243   -infodir | --infodir | --infodi | --infod | --info | --inf)
1244     ac_prev=infodir ;;
1245   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1246     infodir=$ac_optarg ;;
1247
1248   -libdir | --libdir | --libdi | --libd)
1249     ac_prev=libdir ;;
1250   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1251     libdir=$ac_optarg ;;
1252
1253   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1254   | --libexe | --libex | --libe)
1255     ac_prev=libexecdir ;;
1256   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1257   | --libexe=* | --libex=* | --libe=*)
1258     libexecdir=$ac_optarg ;;
1259
1260   -localedir | --localedir | --localedi | --localed | --locale)
1261     ac_prev=localedir ;;
1262   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1263     localedir=$ac_optarg ;;
1264
1265   -localstatedir | --localstatedir | --localstatedi | --localstated \
1266   | --localstate | --localstat | --localsta | --localst | --locals)
1267     ac_prev=localstatedir ;;
1268   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1269   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1270     localstatedir=$ac_optarg ;;
1271
1272   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1273     ac_prev=mandir ;;
1274   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1275     mandir=$ac_optarg ;;
1276
1277   -nfp | --nfp | --nf)
1278     # Obsolete; use --without-fp.
1279     with_fp=no ;;
1280
1281   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1282   | --no-cr | --no-c | -n)
1283     no_create=yes ;;
1284
1285   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1286   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1287     no_recursion=yes ;;
1288
1289   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1290   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1291   | --oldin | --oldi | --old | --ol | --o)
1292     ac_prev=oldincludedir ;;
1293   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1294   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1295   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1296     oldincludedir=$ac_optarg ;;
1297
1298   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1299     ac_prev=prefix ;;
1300   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1301     prefix=$ac_optarg ;;
1302
1303   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1304   | --program-pre | --program-pr | --program-p)
1305     ac_prev=program_prefix ;;
1306   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1307   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1308     program_prefix=$ac_optarg ;;
1309
1310   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1311   | --program-suf | --program-su | --program-s)
1312     ac_prev=program_suffix ;;
1313   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1314   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1315     program_suffix=$ac_optarg ;;
1316
1317   -program-transform-name | --program-transform-name \
1318   | --program-transform-nam | --program-transform-na \
1319   | --program-transform-n | --program-transform- \
1320   | --program-transform | --program-transfor \
1321   | --program-transfo | --program-transf \
1322   | --program-trans | --program-tran \
1323   | --progr-tra | --program-tr | --program-t)
1324     ac_prev=program_transform_name ;;
1325   -program-transform-name=* | --program-transform-name=* \
1326   | --program-transform-nam=* | --program-transform-na=* \
1327   | --program-transform-n=* | --program-transform-=* \
1328   | --program-transform=* | --program-transfor=* \
1329   | --program-transfo=* | --program-transf=* \
1330   | --program-trans=* | --program-tran=* \
1331   | --progr-tra=* | --program-tr=* | --program-t=*)
1332     program_transform_name=$ac_optarg ;;
1333
1334   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1335     ac_prev=pdfdir ;;
1336   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1337     pdfdir=$ac_optarg ;;
1338
1339   -psdir | --psdir | --psdi | --psd | --ps)
1340     ac_prev=psdir ;;
1341   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1342     psdir=$ac_optarg ;;
1343
1344   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1345   | -silent | --silent | --silen | --sile | --sil)
1346     silent=yes ;;
1347
1348   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1349     ac_prev=sbindir ;;
1350   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1351   | --sbi=* | --sb=*)
1352     sbindir=$ac_optarg ;;
1353
1354   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1355   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1356   | --sharedst | --shareds | --shared | --share | --shar \
1357   | --sha | --sh)
1358     ac_prev=sharedstatedir ;;
1359   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1360   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1361   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1362   | --sha=* | --sh=*)
1363     sharedstatedir=$ac_optarg ;;
1364
1365   -site | --site | --sit)
1366     ac_prev=site ;;
1367   -site=* | --site=* | --sit=*)
1368     site=$ac_optarg ;;
1369
1370   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1371     ac_prev=srcdir ;;
1372   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1373     srcdir=$ac_optarg ;;
1374
1375   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1376   | --syscon | --sysco | --sysc | --sys | --sy)
1377     ac_prev=sysconfdir ;;
1378   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1379   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1380     sysconfdir=$ac_optarg ;;
1381
1382   -target | --target | --targe | --targ | --tar | --ta | --t)
1383     ac_prev=target_alias ;;
1384   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1385     target_alias=$ac_optarg ;;
1386
1387   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1388     verbose=yes ;;
1389
1390   -version | --version | --versio | --versi | --vers | -V)
1391     ac_init_version=: ;;
1392
1393   -with-* | --with-*)
1394     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1395     # Reject names that are not valid shell variable names.
1396     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1397       as_fn_error $? "invalid package name: $ac_useropt"
1398     ac_useropt_orig=$ac_useropt
1399     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1400     case $ac_user_opts in
1401       *"
1402 "with_$ac_useropt"
1403 "*) ;;
1404       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1405          ac_unrecognized_sep=', ';;
1406     esac
1407     eval with_$ac_useropt=\$ac_optarg ;;
1408
1409   -without-* | --without-*)
1410     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1411     # Reject names that are not valid shell variable names.
1412     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1413       as_fn_error $? "invalid package name: $ac_useropt"
1414     ac_useropt_orig=$ac_useropt
1415     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1416     case $ac_user_opts in
1417       *"
1418 "with_$ac_useropt"
1419 "*) ;;
1420       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1421          ac_unrecognized_sep=', ';;
1422     esac
1423     eval with_$ac_useropt=no ;;
1424
1425   --x)
1426     # Obsolete; use --with-x.
1427     with_x=yes ;;
1428
1429   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1430   | --x-incl | --x-inc | --x-in | --x-i)
1431     ac_prev=x_includes ;;
1432   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1433   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1434     x_includes=$ac_optarg ;;
1435
1436   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1437   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1438     ac_prev=x_libraries ;;
1439   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1440   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1441     x_libraries=$ac_optarg ;;
1442
1443   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1444 Try \`$0 --help' for more information"
1445     ;;
1446
1447   *=*)
1448     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1449     # Reject names that are not valid shell variable names.
1450     case $ac_envvar in #(
1451       '' | [0-9]* | *[!_$as_cr_alnum]* )
1452       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1453     esac
1454     eval $ac_envvar=\$ac_optarg
1455     export $ac_envvar ;;
1456
1457   *)
1458     # FIXME: should be removed in autoconf 3.0.
1459     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1460     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1461       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1462     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1463     ;;
1464
1465   esac
1466 done
1467
1468 if test -n "$ac_prev"; then
1469   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1470   as_fn_error $? "missing argument to $ac_option"
1471 fi
1472
1473 if test -n "$ac_unrecognized_opts"; then
1474   case $enable_option_checking in
1475     no) ;;
1476     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1477     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1478   esac
1479 fi
1480
1481 # Check all directory arguments for consistency.
1482 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1483                 datadir sysconfdir sharedstatedir localstatedir includedir \
1484                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1485                 libdir localedir mandir
1486 do
1487   eval ac_val=\$$ac_var
1488   # Remove trailing slashes.
1489   case $ac_val in
1490     */ )
1491       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1492       eval $ac_var=\$ac_val;;
1493   esac
1494   # Be sure to have absolute directory names.
1495   case $ac_val in
1496     [\\/$]* | ?:[\\/]* )  continue;;
1497     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1498   esac
1499   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1500 done
1501
1502 # There might be people who depend on the old broken behavior: `$host'
1503 # used to hold the argument of --host etc.
1504 # FIXME: To remove some day.
1505 build=$build_alias
1506 host=$host_alias
1507 target=$target_alias
1508
1509 # FIXME: To remove some day.
1510 if test "x$host_alias" != x; then
1511   if test "x$build_alias" = x; then
1512     cross_compiling=maybe
1513     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1514     If a cross compiler is detected then cross compile mode will be used" >&2
1515   elif test "x$build_alias" != "x$host_alias"; then
1516     cross_compiling=yes
1517   fi
1518 fi
1519
1520 ac_tool_prefix=
1521 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1522
1523 test "$silent" = yes && exec 6>/dev/null
1524
1525
1526 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1527 ac_ls_di=`ls -di .` &&
1528 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1529   as_fn_error $? "working directory cannot be determined"
1530 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1531   as_fn_error $? "pwd does not report name of working directory"
1532
1533
1534 # Find the source files, if location was not specified.
1535 if test -z "$srcdir"; then
1536   ac_srcdir_defaulted=yes
1537   # Try the directory containing this script, then the parent directory.
1538   ac_confdir=`$as_dirname -- "$as_myself" ||
1539 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1540          X"$as_myself" : 'X\(//\)[^/]' \| \
1541          X"$as_myself" : 'X\(//\)$' \| \
1542          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1543 $as_echo X"$as_myself" |
1544     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1545             s//\1/
1546             q
1547           }
1548           /^X\(\/\/\)[^/].*/{
1549             s//\1/
1550             q
1551           }
1552           /^X\(\/\/\)$/{
1553             s//\1/
1554             q
1555           }
1556           /^X\(\/\).*/{
1557             s//\1/
1558             q
1559           }
1560           s/.*/./; q'`
1561   srcdir=$ac_confdir
1562   if test ! -r "$srcdir/$ac_unique_file"; then
1563     srcdir=..
1564   fi
1565 else
1566   ac_srcdir_defaulted=no
1567 fi
1568 if test ! -r "$srcdir/$ac_unique_file"; then
1569   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1570   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1571 fi
1572 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1573 ac_abs_confdir=`(
1574         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1575         pwd)`
1576 # When building in place, set srcdir=.
1577 if test "$ac_abs_confdir" = "$ac_pwd"; then
1578   srcdir=.
1579 fi
1580 # Remove unnecessary trailing slashes from srcdir.
1581 # Double slashes in file names in object file debugging info
1582 # mess up M-x gdb in Emacs.
1583 case $srcdir in
1584 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1585 esac
1586 for ac_var in $ac_precious_vars; do
1587   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1588   eval ac_env_${ac_var}_value=\$${ac_var}
1589   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1590   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1591 done
1592
1593 #
1594 # Report the --help message.
1595 #
1596 if test "$ac_init_help" = "long"; then
1597   # Omit some internal or obsolete options to make the list less imposing.
1598   # This message is too long to be a string in the A/UX 3.1 sh.
1599   cat <<_ACEOF
1600 \`configure' configures edje 1.7.1 to adapt to many kinds of systems.
1601
1602 Usage: $0 [OPTION]... [VAR=VALUE]...
1603
1604 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1605 VAR=VALUE.  See below for descriptions of some of the useful variables.
1606
1607 Defaults for the options are specified in brackets.
1608
1609 Configuration:
1610   -h, --help              display this help and exit
1611       --help=short        display options specific to this package
1612       --help=recursive    display the short help of all the included packages
1613   -V, --version           display version information and exit
1614   -q, --quiet, --silent   do not print \`checking ...' messages
1615       --cache-file=FILE   cache test results in FILE [disabled]
1616   -C, --config-cache      alias for \`--cache-file=config.cache'
1617   -n, --no-create         do not create output files
1618       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1619
1620 Installation directories:
1621   --prefix=PREFIX         install architecture-independent files in PREFIX
1622                           [$ac_default_prefix]
1623   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1624                           [PREFIX]
1625
1626 By default, \`make install' will install all the files in
1627 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1628 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1629 for instance \`--prefix=\$HOME'.
1630
1631 For better control, use the options below.
1632
1633 Fine tuning of the installation directories:
1634   --bindir=DIR            user executables [EPREFIX/bin]
1635   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1636   --libexecdir=DIR        program executables [EPREFIX/libexec]
1637   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1638   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1639   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1640   --libdir=DIR            object code libraries [EPREFIX/lib]
1641   --includedir=DIR        C header files [PREFIX/include]
1642   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1643   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1644   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1645   --infodir=DIR           info documentation [DATAROOTDIR/info]
1646   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1647   --mandir=DIR            man documentation [DATAROOTDIR/man]
1648   --docdir=DIR            documentation root [DATAROOTDIR/doc/edje]
1649   --htmldir=DIR           html documentation [DOCDIR]
1650   --dvidir=DIR            dvi documentation [DOCDIR]
1651   --pdfdir=DIR            pdf documentation [DOCDIR]
1652   --psdir=DIR             ps documentation [DOCDIR]
1653 _ACEOF
1654
1655   cat <<\_ACEOF
1656
1657 Program names:
1658   --program-prefix=PREFIX            prepend PREFIX to installed program names
1659   --program-suffix=SUFFIX            append SUFFIX to installed program names
1660   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1661
1662 System types:
1663   --build=BUILD     configure for building on BUILD [guessed]
1664   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1665 _ACEOF
1666 fi
1667
1668 if test -n "$ac_init_help"; then
1669   case $ac_init_help in
1670      short | recursive ) echo "Configuration of edje 1.7.1:";;
1671    esac
1672   cat <<\_ACEOF
1673
1674 Optional Features:
1675   --disable-option-checking  ignore unrecognized --enable/--with options
1676   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1677   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1678   --enable-silent-rules          less verbose build output (undo: `make V=1')
1679   --disable-silent-rules         verbose build output (undo: `make V=0')
1680   --enable-shared[=PKGS]  build shared libraries [default=yes]
1681   --enable-static[=PKGS]  build static libraries [default=yes]
1682   --enable-fast-install[=PKGS]
1683                           optimize for fast installation [default=yes]
1684   --disable-dependency-tracking  speeds up one-time build
1685   --enable-dependency-tracking   do not reject slow dependency extractors
1686   --disable-libtool-lock  avoid locking (might break parallel builds)
1687   --enable-amalgamation   enable generation of one single file with all source
1688                           code in it, helps compiler optimizations.
1689   --disable-edje-cc       disable building of edje_cc
1690   --disable-edje-decc     disable building of edje_decc
1691   --disable-edje-recc     disable building of edje_recc
1692   --disable-edje-player   disable building of edje_player
1693   --disable-edje-inspector
1694                           disable building of edje_inspector
1695   --disable-edje-external-inspector
1696                           disable building of edje_external_inspector
1697   --disable-edje-watch    disable building of edje_watch
1698   --enable-edje-program-cache
1699                           enable EDJE_PROGRAM_CACHE support.
1700                           [[default=disabled]]
1701   --enable-edje-calc-cache
1702                           enable EDJE_CALC_CACHE support. [[default=disabled]]
1703   --enable-fixed-point    reduce use of FPU by using Fixed Point provided by
1704                           Eina and Eet, [[default=disabled]]
1705   --disable-doc           Disable documentation build [default=enabled]
1706   --disable-sndfile       disable sndfile support. [default=detect]
1707   --disable-remix         disable remix support. [default=detect]
1708   --disable-vorbis        disable ogg-vorbis support. [default=detect]
1709   --disable-alsa          disable alsa support. [default=detect]
1710   --disable-flac          disable flac support. [default=detect]
1711   --enable-tests          enable tests [default=disabled]
1712   --enable-coverage       enable coverage profiling instrumentation
1713                           [default=disabled]
1714   --enable-build-examples Enable building examples. This requires extra
1715                           dependencies. If you don't have them installed yet,
1716                           don't build with this option or it will fail. Build
1717                           again when you have it, overriding the previous
1718                           installation). [default==disabled]
1719
1720 Optional Packages:
1721   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1722   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1723   --with-pic              try to use only PIC/non-PIC objects [default=use
1724                           both]
1725   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1726   --with-edje-cc=PATH     specify a specific path to edje_cc [default=edje_cc]
1727   --with-vim=DIR          Location of Vim data files [[autodetect]]
1728   --with-doxygen=FILE     doxygen program to use [default=doxygen]
1729
1730 Some influential environment variables:
1731   CC          C compiler command
1732   CFLAGS      C compiler flags
1733   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1734               nonstandard directory <lib dir>
1735   LIBS        libraries to pass to the linker, e.g. -l<library>
1736   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1737               you have headers in a nonstandard directory <include dir>
1738   CPP         C preprocessor
1739   PKG_CONFIG  path to pkg-config utility
1740   PKG_CONFIG_PATH
1741               directories to add to pkg-config's search path
1742   PKG_CONFIG_LIBDIR
1743               path overriding pkg-config's built-in search path
1744   EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
1745   EVIL_LIBS   linker flags for EVIL, overriding pkg-config
1746   LUA_CFLAGS  C compiler flags for LUA, overriding pkg-config
1747   LUA_LIBS    linker flags for LUA, overriding pkg-config
1748   MINIMAL_CFLAGS
1749               C compiler flags for MINIMAL, overriding pkg-config
1750   MINIMAL_LIBS
1751               linker flags for MINIMAL, overriding pkg-config
1752   EDJE_CFLAGS C compiler flags for EDJE, overriding pkg-config
1753   EDJE_LIBS   linker flags for EDJE, overriding pkg-config
1754   ECORE_IMF_CFLAGS
1755               C compiler flags for ECORE_IMF, overriding pkg-config
1756   ECORE_IMF_LIBS
1757               linker flags for ECORE_IMF, overriding pkg-config
1758   EIO_CFLAGS  C compiler flags for EIO, overriding pkg-config
1759   EIO_LIBS    linker flags for EIO, overriding pkg-config
1760   SNDFILE_CFLAGS
1761               C compiler flags for SNDFILE, overriding pkg-config
1762   SNDFILE_LIBS
1763               linker flags for SNDFILE, overriding pkg-config
1764   REMIX_CFLAGS
1765               C compiler flags for REMIX, overriding pkg-config
1766   REMIX_LIBS  linker flags for REMIX, overriding pkg-config
1767   VORBISENC_CFLAGS
1768               C compiler flags for VORBISENC, overriding pkg-config
1769   VORBISENC_LIBS
1770               linker flags for VORBISENC, overriding pkg-config
1771   ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
1772   ALSA_LIBS   linker flags for ALSA, overriding pkg-config
1773   FLAC_CFLAGS C compiler flags for FLAC, overriding pkg-config
1774   FLAC_LIBS   linker flags for FLAC, overriding pkg-config
1775   EDJE_CC_CFLAGS
1776               C compiler flags for EDJE_CC, overriding pkg-config
1777   EDJE_CC_LIBS
1778               linker flags for EDJE_CC, overriding pkg-config
1779   EDJE_DECC_CFLAGS
1780               C compiler flags for EDJE_DECC, overriding pkg-config
1781   EDJE_DECC_LIBS
1782               linker flags for EDJE_DECC, overriding pkg-config
1783   EDJE_PLAYER_CFLAGS
1784               C compiler flags for EDJE_PLAYER, overriding pkg-config
1785   EDJE_PLAYER_LIBS
1786               linker flags for EDJE_PLAYER, overriding pkg-config
1787   EDJE_INSPECTOR_CFLAGS
1788               C compiler flags for EDJE_INSPECTOR, overriding pkg-config
1789   EDJE_INSPECTOR_LIBS
1790               linker flags for EDJE_INSPECTOR, overriding pkg-config
1791   EDJE_EXTERNAL_INSPECTOR_CFLAGS
1792               C compiler flags for EDJE_EXTERNAL_INSPECTOR, overriding
1793               pkg-config
1794   EDJE_EXTERNAL_INSPECTOR_LIBS
1795               linker flags for EDJE_EXTERNAL_INSPECTOR, overriding pkg-config
1796   EDJE_WATCH_CFLAGS
1797               C compiler flags for EDJE_WATCH, overriding pkg-config
1798   EDJE_WATCH_LIBS
1799               linker flags for EDJE_WATCH, overriding pkg-config
1800   CHECK_CFLAGS
1801               C compiler flags for CHECK, overriding pkg-config
1802   CHECK_LIBS  linker flags for CHECK, overriding pkg-config
1803
1804 Use these variables to override the choices made by `configure' or to help
1805 it to find libraries and programs with nonstandard names/locations.
1806
1807 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1808 _ACEOF
1809 ac_status=$?
1810 fi
1811
1812 if test "$ac_init_help" = "recursive"; then
1813   # If there are subdirs, report their specific --help.
1814   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1815     test -d "$ac_dir" ||
1816       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1817       continue
1818     ac_builddir=.
1819
1820 case "$ac_dir" in
1821 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1822 *)
1823   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1824   # A ".." for each directory in $ac_dir_suffix.
1825   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1826   case $ac_top_builddir_sub in
1827   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1828   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1829   esac ;;
1830 esac
1831 ac_abs_top_builddir=$ac_pwd
1832 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1833 # for backward compatibility:
1834 ac_top_builddir=$ac_top_build_prefix
1835
1836 case $srcdir in
1837   .)  # We are building in place.
1838     ac_srcdir=.
1839     ac_top_srcdir=$ac_top_builddir_sub
1840     ac_abs_top_srcdir=$ac_pwd ;;
1841   [\\/]* | ?:[\\/]* )  # Absolute name.
1842     ac_srcdir=$srcdir$ac_dir_suffix;
1843     ac_top_srcdir=$srcdir
1844     ac_abs_top_srcdir=$srcdir ;;
1845   *) # Relative name.
1846     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1847     ac_top_srcdir=$ac_top_build_prefix$srcdir
1848     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1849 esac
1850 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1851
1852     cd "$ac_dir" || { ac_status=$?; continue; }
1853     # Check for guested configure.
1854     if test -f "$ac_srcdir/configure.gnu"; then
1855       echo &&
1856       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1857     elif test -f "$ac_srcdir/configure"; then
1858       echo &&
1859       $SHELL "$ac_srcdir/configure" --help=recursive
1860     else
1861       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1862     fi || ac_status=$?
1863     cd "$ac_pwd" || { ac_status=$?; break; }
1864   done
1865 fi
1866
1867 test -n "$ac_init_help" && exit $ac_status
1868 if $ac_init_version; then
1869   cat <<\_ACEOF
1870 edje configure 1.7.1
1871 generated by GNU Autoconf 2.67
1872
1873 Copyright (C) 2010 Free Software Foundation, Inc.
1874 This configure script is free software; the Free Software Foundation
1875 gives unlimited permission to copy, distribute and modify it.
1876 _ACEOF
1877   exit
1878 fi
1879
1880 ## ------------------------ ##
1881 ## Autoconf initialization. ##
1882 ## ------------------------ ##
1883
1884 # ac_fn_c_try_compile LINENO
1885 # --------------------------
1886 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1887 ac_fn_c_try_compile ()
1888 {
1889   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1890   rm -f conftest.$ac_objext
1891   if { { ac_try="$ac_compile"
1892 case "(($ac_try" in
1893   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1894   *) ac_try_echo=$ac_try;;
1895 esac
1896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1897 $as_echo "$ac_try_echo"; } >&5
1898   (eval "$ac_compile") 2>conftest.err
1899   ac_status=$?
1900   if test -s conftest.err; then
1901     grep -v '^ *+' conftest.err >conftest.er1
1902     cat conftest.er1 >&5
1903     mv -f conftest.er1 conftest.err
1904   fi
1905   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1906   test $ac_status = 0; } && {
1907          test -z "$ac_c_werror_flag" ||
1908          test ! -s conftest.err
1909        } && test -s conftest.$ac_objext; then :
1910   ac_retval=0
1911 else
1912   $as_echo "$as_me: failed program was:" >&5
1913 sed 's/^/| /' conftest.$ac_ext >&5
1914
1915         ac_retval=1
1916 fi
1917   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1918   as_fn_set_status $ac_retval
1919
1920 } # ac_fn_c_try_compile
1921
1922 # ac_fn_c_try_link LINENO
1923 # -----------------------
1924 # Try to link conftest.$ac_ext, and return whether this succeeded.
1925 ac_fn_c_try_link ()
1926 {
1927   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1928   rm -f conftest.$ac_objext conftest$ac_exeext
1929   if { { ac_try="$ac_link"
1930 case "(($ac_try" in
1931   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1932   *) ac_try_echo=$ac_try;;
1933 esac
1934 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1935 $as_echo "$ac_try_echo"; } >&5
1936   (eval "$ac_link") 2>conftest.err
1937   ac_status=$?
1938   if test -s conftest.err; then
1939     grep -v '^ *+' conftest.err >conftest.er1
1940     cat conftest.er1 >&5
1941     mv -f conftest.er1 conftest.err
1942   fi
1943   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1944   test $ac_status = 0; } && {
1945          test -z "$ac_c_werror_flag" ||
1946          test ! -s conftest.err
1947        } && test -s conftest$ac_exeext && {
1948          test "$cross_compiling" = yes ||
1949          $as_test_x conftest$ac_exeext
1950        }; then :
1951   ac_retval=0
1952 else
1953   $as_echo "$as_me: failed program was:" >&5
1954 sed 's/^/| /' conftest.$ac_ext >&5
1955
1956         ac_retval=1
1957 fi
1958   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1959   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1960   # interfere with the next link command; also delete a directory that is
1961   # left behind by Apple's compiler.  We do this before executing the actions.
1962   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1963   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1964   as_fn_set_status $ac_retval
1965
1966 } # ac_fn_c_try_link
1967
1968 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1969 # -------------------------------------------------------
1970 # Tests whether HEADER exists and can be compiled using the include files in
1971 # INCLUDES, setting the cache variable VAR accordingly.
1972 ac_fn_c_check_header_compile ()
1973 {
1974   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1976 $as_echo_n "checking for $2... " >&6; }
1977 if eval "test \"\${$3+set}\"" = set; then :
1978   $as_echo_n "(cached) " >&6
1979 else
1980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1981 /* end confdefs.h.  */
1982 $4
1983 #include <$2>
1984 _ACEOF
1985 if ac_fn_c_try_compile "$LINENO"; then :
1986   eval "$3=yes"
1987 else
1988   eval "$3=no"
1989 fi
1990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1991 fi
1992 eval ac_res=\$$3
1993                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1994 $as_echo "$ac_res" >&6; }
1995   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1996
1997 } # ac_fn_c_check_header_compile
1998
1999 # ac_fn_c_try_cpp LINENO
2000 # ----------------------
2001 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2002 ac_fn_c_try_cpp ()
2003 {
2004   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2005   if { { ac_try="$ac_cpp conftest.$ac_ext"
2006 case "(($ac_try" in
2007   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2008   *) ac_try_echo=$ac_try;;
2009 esac
2010 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2011 $as_echo "$ac_try_echo"; } >&5
2012   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2013   ac_status=$?
2014   if test -s conftest.err; then
2015     grep -v '^ *+' conftest.err >conftest.er1
2016     cat conftest.er1 >&5
2017     mv -f conftest.er1 conftest.err
2018   fi
2019   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2020   test $ac_status = 0; } > conftest.i && {
2021          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2022          test ! -s conftest.err
2023        }; then :
2024   ac_retval=0
2025 else
2026   $as_echo "$as_me: failed program was:" >&5
2027 sed 's/^/| /' conftest.$ac_ext >&5
2028
2029     ac_retval=1
2030 fi
2031   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2032   as_fn_set_status $ac_retval
2033
2034 } # ac_fn_c_try_cpp
2035
2036 # ac_fn_c_try_run LINENO
2037 # ----------------------
2038 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2039 # that executables *can* be run.
2040 ac_fn_c_try_run ()
2041 {
2042   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2043   if { { ac_try="$ac_link"
2044 case "(($ac_try" in
2045   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2046   *) ac_try_echo=$ac_try;;
2047 esac
2048 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2049 $as_echo "$ac_try_echo"; } >&5
2050   (eval "$ac_link") 2>&5
2051   ac_status=$?
2052   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2053   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2054   { { case "(($ac_try" in
2055   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2056   *) ac_try_echo=$ac_try;;
2057 esac
2058 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2059 $as_echo "$ac_try_echo"; } >&5
2060   (eval "$ac_try") 2>&5
2061   ac_status=$?
2062   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2063   test $ac_status = 0; }; }; then :
2064   ac_retval=0
2065 else
2066   $as_echo "$as_me: program exited with status $ac_status" >&5
2067        $as_echo "$as_me: failed program was:" >&5
2068 sed 's/^/| /' conftest.$ac_ext >&5
2069
2070        ac_retval=$ac_status
2071 fi
2072   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2073   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2074   as_fn_set_status $ac_retval
2075
2076 } # ac_fn_c_try_run
2077
2078 # ac_fn_c_check_func LINENO FUNC VAR
2079 # ----------------------------------
2080 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2081 ac_fn_c_check_func ()
2082 {
2083   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2085 $as_echo_n "checking for $2... " >&6; }
2086 if eval "test \"\${$3+set}\"" = set; then :
2087   $as_echo_n "(cached) " >&6
2088 else
2089   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2090 /* end confdefs.h.  */
2091 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2092    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2093 #define $2 innocuous_$2
2094
2095 /* System header to define __stub macros and hopefully few prototypes,
2096     which can conflict with char $2 (); below.
2097     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2098     <limits.h> exists even on freestanding compilers.  */
2099
2100 #ifdef __STDC__
2101 # include <limits.h>
2102 #else
2103 # include <assert.h>
2104 #endif
2105
2106 #undef $2
2107
2108 /* Override any GCC internal prototype to avoid an error.
2109    Use char because int might match the return type of a GCC
2110    builtin and then its argument prototype would still apply.  */
2111 #ifdef __cplusplus
2112 extern "C"
2113 #endif
2114 char $2 ();
2115 /* The GNU C library defines this for functions which it implements
2116     to always fail with ENOSYS.  Some functions are actually named
2117     something starting with __ and the normal name is an alias.  */
2118 #if defined __stub_$2 || defined __stub___$2
2119 choke me
2120 #endif
2121
2122 int
2123 main ()
2124 {
2125 return $2 ();
2126   ;
2127   return 0;
2128 }
2129 _ACEOF
2130 if ac_fn_c_try_link "$LINENO"; then :
2131   eval "$3=yes"
2132 else
2133   eval "$3=no"
2134 fi
2135 rm -f core conftest.err conftest.$ac_objext \
2136     conftest$ac_exeext conftest.$ac_ext
2137 fi
2138 eval ac_res=\$$3
2139                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2140 $as_echo "$ac_res" >&6; }
2141   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2142
2143 } # ac_fn_c_check_func
2144
2145 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2146 # -------------------------------------------------------
2147 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2148 # the include files in INCLUDES and setting the cache variable VAR
2149 # accordingly.
2150 ac_fn_c_check_header_mongrel ()
2151 {
2152   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2153   if eval "test \"\${$3+set}\"" = set; then :
2154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2155 $as_echo_n "checking for $2... " >&6; }
2156 if eval "test \"\${$3+set}\"" = set; then :
2157   $as_echo_n "(cached) " >&6
2158 fi
2159 eval ac_res=\$$3
2160                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2161 $as_echo "$ac_res" >&6; }
2162 else
2163   # Is the header compilable?
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2165 $as_echo_n "checking $2 usability... " >&6; }
2166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2167 /* end confdefs.h.  */
2168 $4
2169 #include <$2>
2170 _ACEOF
2171 if ac_fn_c_try_compile "$LINENO"; then :
2172   ac_header_compiler=yes
2173 else
2174   ac_header_compiler=no
2175 fi
2176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2178 $as_echo "$ac_header_compiler" >&6; }
2179
2180 # Is the header present?
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2182 $as_echo_n "checking $2 presence... " >&6; }
2183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2184 /* end confdefs.h.  */
2185 #include <$2>
2186 _ACEOF
2187 if ac_fn_c_try_cpp "$LINENO"; then :
2188   ac_header_preproc=yes
2189 else
2190   ac_header_preproc=no
2191 fi
2192 rm -f conftest.err conftest.i conftest.$ac_ext
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2194 $as_echo "$ac_header_preproc" >&6; }
2195
2196 # So?  What about this header?
2197 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2198   yes:no: )
2199     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2200 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2201     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2202 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2203     ;;
2204   no:yes:* )
2205     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2206 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2207     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2208 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2209     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2210 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2211     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2212 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2213     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2214 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2215 ( $as_echo "## -------------------------------------------------------- ##
2216 ## Report this to enlightenment-devel@lists.sourceforge.net ##
2217 ## -------------------------------------------------------- ##"
2218      ) | sed "s/^/$as_me: WARNING:     /" >&2
2219     ;;
2220 esac
2221   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2222 $as_echo_n "checking for $2... " >&6; }
2223 if eval "test \"\${$3+set}\"" = set; then :
2224   $as_echo_n "(cached) " >&6
2225 else
2226   eval "$3=\$ac_header_compiler"
2227 fi
2228 eval ac_res=\$$3
2229                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2230 $as_echo "$ac_res" >&6; }
2231 fi
2232   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2233
2234 } # ac_fn_c_check_header_mongrel
2235 cat >config.log <<_ACEOF
2236 This file contains any messages produced by compilers while
2237 running configure, to aid debugging if configure makes a mistake.
2238
2239 It was created by edje $as_me 1.7.1, which was
2240 generated by GNU Autoconf 2.67.  Invocation command line was
2241
2242   $ $0 $@
2243
2244 _ACEOF
2245 exec 5>>config.log
2246 {
2247 cat <<_ASUNAME
2248 ## --------- ##
2249 ## Platform. ##
2250 ## --------- ##
2251
2252 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2253 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2254 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2255 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2256 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2257
2258 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2259 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2260
2261 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2262 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2263 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2264 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2265 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2266 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2267 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2268
2269 _ASUNAME
2270
2271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2272 for as_dir in $PATH
2273 do
2274   IFS=$as_save_IFS
2275   test -z "$as_dir" && as_dir=.
2276     $as_echo "PATH: $as_dir"
2277   done
2278 IFS=$as_save_IFS
2279
2280 } >&5
2281
2282 cat >&5 <<_ACEOF
2283
2284
2285 ## ----------- ##
2286 ## Core tests. ##
2287 ## ----------- ##
2288
2289 _ACEOF
2290
2291
2292 # Keep a trace of the command line.
2293 # Strip out --no-create and --no-recursion so they do not pile up.
2294 # Strip out --silent because we don't want to record it for future runs.
2295 # Also quote any args containing shell meta-characters.
2296 # Make two passes to allow for proper duplicate-argument suppression.
2297 ac_configure_args=
2298 ac_configure_args0=
2299 ac_configure_args1=
2300 ac_must_keep_next=false
2301 for ac_pass in 1 2
2302 do
2303   for ac_arg
2304   do
2305     case $ac_arg in
2306     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2307     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2308     | -silent | --silent | --silen | --sile | --sil)
2309       continue ;;
2310     *\'*)
2311       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2312     esac
2313     case $ac_pass in
2314     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2315     2)
2316       as_fn_append ac_configure_args1 " '$ac_arg'"
2317       if test $ac_must_keep_next = true; then
2318         ac_must_keep_next=false # Got value, back to normal.
2319       else
2320         case $ac_arg in
2321           *=* | --config-cache | -C | -disable-* | --disable-* \
2322           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2323           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2324           | -with-* | --with-* | -without-* | --without-* | --x)
2325             case "$ac_configure_args0 " in
2326               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2327             esac
2328             ;;
2329           -* ) ac_must_keep_next=true ;;
2330         esac
2331       fi
2332       as_fn_append ac_configure_args " '$ac_arg'"
2333       ;;
2334     esac
2335   done
2336 done
2337 { ac_configure_args0=; unset ac_configure_args0;}
2338 { ac_configure_args1=; unset ac_configure_args1;}
2339
2340 # When interrupted or exit'd, cleanup temporary files, and complete
2341 # config.log.  We remove comments because anyway the quotes in there
2342 # would cause problems or look ugly.
2343 # WARNING: Use '\'' to represent an apostrophe within the trap.
2344 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2345 trap 'exit_status=$?
2346   # Save into config.log some information that might help in debugging.
2347   {
2348     echo
2349
2350     $as_echo "## ---------------- ##
2351 ## Cache variables. ##
2352 ## ---------------- ##"
2353     echo
2354     # The following way of writing the cache mishandles newlines in values,
2355 (
2356   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2357     eval ac_val=\$$ac_var
2358     case $ac_val in #(
2359     *${as_nl}*)
2360       case $ac_var in #(
2361       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2362 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2363       esac
2364       case $ac_var in #(
2365       _ | IFS | as_nl) ;; #(
2366       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2367       *) { eval $ac_var=; unset $ac_var;} ;;
2368       esac ;;
2369     esac
2370   done
2371   (set) 2>&1 |
2372     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2373     *${as_nl}ac_space=\ *)
2374       sed -n \
2375         "s/'\''/'\''\\\\'\'''\''/g;
2376           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2377       ;; #(
2378     *)
2379       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2380       ;;
2381     esac |
2382     sort
2383 )
2384     echo
2385
2386     $as_echo "## ----------------- ##
2387 ## Output variables. ##
2388 ## ----------------- ##"
2389     echo
2390     for ac_var in $ac_subst_vars
2391     do
2392       eval ac_val=\$$ac_var
2393       case $ac_val in
2394       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2395       esac
2396       $as_echo "$ac_var='\''$ac_val'\''"
2397     done | sort
2398     echo
2399
2400     if test -n "$ac_subst_files"; then
2401       $as_echo "## ------------------- ##
2402 ## File substitutions. ##
2403 ## ------------------- ##"
2404       echo
2405       for ac_var in $ac_subst_files
2406       do
2407         eval ac_val=\$$ac_var
2408         case $ac_val in
2409         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2410         esac
2411         $as_echo "$ac_var='\''$ac_val'\''"
2412       done | sort
2413       echo
2414     fi
2415
2416     if test -s confdefs.h; then
2417       $as_echo "## ----------- ##
2418 ## confdefs.h. ##
2419 ## ----------- ##"
2420       echo
2421       cat confdefs.h
2422       echo
2423     fi
2424     test "$ac_signal" != 0 &&
2425       $as_echo "$as_me: caught signal $ac_signal"
2426     $as_echo "$as_me: exit $exit_status"
2427   } >&5
2428   rm -f core *.core core.conftest.* &&
2429     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2430     exit $exit_status
2431 ' 0
2432 for ac_signal in 1 2 13 15; do
2433   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2434 done
2435 ac_signal=0
2436
2437 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2438 rm -f -r conftest* confdefs.h
2439
2440 $as_echo "/* confdefs.h */" > confdefs.h
2441
2442 # Predefined preprocessor variables.
2443
2444 cat >>confdefs.h <<_ACEOF
2445 #define PACKAGE_NAME "$PACKAGE_NAME"
2446 _ACEOF
2447
2448 cat >>confdefs.h <<_ACEOF
2449 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2450 _ACEOF
2451
2452 cat >>confdefs.h <<_ACEOF
2453 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2454 _ACEOF
2455
2456 cat >>confdefs.h <<_ACEOF
2457 #define PACKAGE_STRING "$PACKAGE_STRING"
2458 _ACEOF
2459
2460 cat >>confdefs.h <<_ACEOF
2461 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2462 _ACEOF
2463
2464 cat >>confdefs.h <<_ACEOF
2465 #define PACKAGE_URL "$PACKAGE_URL"
2466 _ACEOF
2467
2468
2469 # Let the site file select an alternate cache file if it wants to.
2470 # Prefer an explicitly selected file to automatically selected ones.
2471 ac_site_file1=NONE
2472 ac_site_file2=NONE
2473 if test -n "$CONFIG_SITE"; then
2474   # We do not want a PATH search for config.site.
2475   case $CONFIG_SITE in #((
2476     -*)  ac_site_file1=./$CONFIG_SITE;;
2477     */*) ac_site_file1=$CONFIG_SITE;;
2478     *)   ac_site_file1=./$CONFIG_SITE;;
2479   esac
2480 elif test "x$prefix" != xNONE; then
2481   ac_site_file1=$prefix/share/config.site
2482   ac_site_file2=$prefix/etc/config.site
2483 else
2484   ac_site_file1=$ac_default_prefix/share/config.site
2485   ac_site_file2=$ac_default_prefix/etc/config.site
2486 fi
2487 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2488 do
2489   test "x$ac_site_file" = xNONE && continue
2490   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2491     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2492 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2493     sed 's/^/| /' "$ac_site_file" >&5
2494     . "$ac_site_file" \
2495       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2496 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2497 as_fn_error $? "failed to load site script $ac_site_file
2498 See \`config.log' for more details" "$LINENO" 5 ; }
2499   fi
2500 done
2501
2502 if test -r "$cache_file"; then
2503   # Some versions of bash will fail to source /dev/null (special files
2504   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2505   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2506     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2507 $as_echo "$as_me: loading cache $cache_file" >&6;}
2508     case $cache_file in
2509       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2510       *)                      . "./$cache_file";;
2511     esac
2512   fi
2513 else
2514   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2515 $as_echo "$as_me: creating cache $cache_file" >&6;}
2516   >$cache_file
2517 fi
2518
2519 # Check that the precious variables saved in the cache have kept the same
2520 # value.
2521 ac_cache_corrupted=false
2522 for ac_var in $ac_precious_vars; do
2523   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2524   eval ac_new_set=\$ac_env_${ac_var}_set
2525   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2526   eval ac_new_val=\$ac_env_${ac_var}_value
2527   case $ac_old_set,$ac_new_set in
2528     set,)
2529       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2530 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2531       ac_cache_corrupted=: ;;
2532     ,set)
2533       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2534 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2535       ac_cache_corrupted=: ;;
2536     ,);;
2537     *)
2538       if test "x$ac_old_val" != "x$ac_new_val"; then
2539         # differences in whitespace do not lead to failure.
2540         ac_old_val_w=`echo x $ac_old_val`
2541         ac_new_val_w=`echo x $ac_new_val`
2542         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2543           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2544 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2545           ac_cache_corrupted=:
2546         else
2547           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2548 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2549           eval $ac_var=\$ac_old_val
2550         fi
2551         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2552 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2553         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2554 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2555       fi;;
2556   esac
2557   # Pass precious variables to config.status.
2558   if test "$ac_new_set" = set; then
2559     case $ac_new_val in
2560     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2561     *) ac_arg=$ac_var=$ac_new_val ;;
2562     esac
2563     case " $ac_configure_args " in
2564       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2565       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2566     esac
2567   fi
2568 done
2569 if $ac_cache_corrupted; then
2570   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2572   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2573 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2574   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2575 fi
2576 ## -------------------- ##
2577 ## Main body of script. ##
2578 ## -------------------- ##
2579
2580 ac_ext=c
2581 ac_cpp='$CPP $CPPFLAGS'
2582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2585
2586
2587
2588
2589
2590
2591 ac_config_headers="$ac_config_headers config.h"
2592
2593
2594
2595
2596 am__api_version='1.11'
2597
2598 ac_aux_dir=
2599 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2600   if test -f "$ac_dir/install-sh"; then
2601     ac_aux_dir=$ac_dir
2602     ac_install_sh="$ac_aux_dir/install-sh -c"
2603     break
2604   elif test -f "$ac_dir/install.sh"; then
2605     ac_aux_dir=$ac_dir
2606     ac_install_sh="$ac_aux_dir/install.sh -c"
2607     break
2608   elif test -f "$ac_dir/shtool"; then
2609     ac_aux_dir=$ac_dir
2610     ac_install_sh="$ac_aux_dir/shtool install -c"
2611     break
2612   fi
2613 done
2614 if test -z "$ac_aux_dir"; then
2615   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2616 fi
2617
2618 # These three variables are undocumented and unsupported,
2619 # and are intended to be withdrawn in a future Autoconf release.
2620 # They can cause serious problems if a builder's source tree is in a directory
2621 # whose full name contains unusual characters.
2622 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2623 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2624 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2625
2626
2627 # Find a good install program.  We prefer a C program (faster),
2628 # so one script is as good as another.  But avoid the broken or
2629 # incompatible versions:
2630 # SysV /etc/install, /usr/sbin/install
2631 # SunOS /usr/etc/install
2632 # IRIX /sbin/install
2633 # AIX /bin/install
2634 # AmigaOS /C/install, which installs bootblocks on floppy discs
2635 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2636 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2637 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2638 # OS/2's system install, which has a completely different semantic
2639 # ./install, which can be erroneously created by make from ./install.sh.
2640 # Reject install programs that cannot install multiple files.
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2642 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2643 if test -z "$INSTALL"; then
2644 if test "${ac_cv_path_install+set}" = set; then :
2645   $as_echo_n "(cached) " >&6
2646 else
2647   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2648 for as_dir in $PATH
2649 do
2650   IFS=$as_save_IFS
2651   test -z "$as_dir" && as_dir=.
2652     # Account for people who put trailing slashes in PATH elements.
2653 case $as_dir/ in #((
2654   ./ | .// | /[cC]/* | \
2655   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2656   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2657   /usr/ucb/* ) ;;
2658   *)
2659     # OSF1 and SCO ODT 3.0 have their own names for install.
2660     # Don't use installbsd from OSF since it installs stuff as root
2661     # by default.
2662     for ac_prog in ginstall scoinst install; do
2663       for ac_exec_ext in '' $ac_executable_extensions; do
2664         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2665           if test $ac_prog = install &&
2666             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2667             # AIX install.  It has an incompatible calling convention.
2668             :
2669           elif test $ac_prog = install &&
2670             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2671             # program-specific install script used by HP pwplus--don't use.
2672             :
2673           else
2674             rm -rf conftest.one conftest.two conftest.dir
2675             echo one > conftest.one
2676             echo two > conftest.two
2677             mkdir conftest.dir
2678             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2679               test -s conftest.one && test -s conftest.two &&
2680               test -s conftest.dir/conftest.one &&
2681               test -s conftest.dir/conftest.two
2682             then
2683               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2684               break 3
2685             fi
2686           fi
2687         fi
2688       done
2689     done
2690     ;;
2691 esac
2692
2693   done
2694 IFS=$as_save_IFS
2695
2696 rm -rf conftest.one conftest.two conftest.dir
2697
2698 fi
2699   if test "${ac_cv_path_install+set}" = set; then
2700     INSTALL=$ac_cv_path_install
2701   else
2702     # As a last resort, use the slow shell script.  Don't cache a
2703     # value for INSTALL within a source directory, because that will
2704     # break other packages using the cache if that directory is
2705     # removed, or if the value is a relative name.
2706     INSTALL=$ac_install_sh
2707   fi
2708 fi
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2710 $as_echo "$INSTALL" >&6; }
2711
2712 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2713 # It thinks the first close brace ends the variable substitution.
2714 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2715
2716 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2717
2718 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2719
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2721 $as_echo_n "checking whether build environment is sane... " >&6; }
2722 # Just in case
2723 sleep 1
2724 echo timestamp > conftest.file
2725 # Reject unsafe characters in $srcdir or the absolute working directory
2726 # name.  Accept space and tab only in the latter.
2727 am_lf='
2728 '
2729 case `pwd` in
2730   *[\\\"\#\$\&\'\`$am_lf]*)
2731     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2732 esac
2733 case $srcdir in
2734   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2735     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2736 esac
2737
2738 # Do `set' in a subshell so we don't clobber the current shell's
2739 # arguments.  Must try -L first in case configure is actually a
2740 # symlink; some systems play weird games with the mod time of symlinks
2741 # (eg FreeBSD returns the mod time of the symlink's containing
2742 # directory).
2743 if (
2744    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2745    if test "$*" = "X"; then
2746       # -L didn't work.
2747       set X `ls -t "$srcdir/configure" conftest.file`
2748    fi
2749    rm -f conftest.file
2750    if test "$*" != "X $srcdir/configure conftest.file" \
2751       && test "$*" != "X conftest.file $srcdir/configure"; then
2752
2753       # If neither matched, then we have a broken ls.  This can happen
2754       # if, for instance, CONFIG_SHELL is bash and it inherits a
2755       # broken ls alias from the environment.  This has actually
2756       # happened.  Such a system could not be considered "sane".
2757       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2758 alias in your environment" "$LINENO" 5
2759    fi
2760
2761    test "$2" = conftest.file
2762    )
2763 then
2764    # Ok.
2765    :
2766 else
2767    as_fn_error $? "newly created file is older than distributed files!
2768 Check your system clock" "$LINENO" 5
2769 fi
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2771 $as_echo "yes" >&6; }
2772 test "$program_prefix" != NONE &&
2773   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2774 # Use a double $ so make ignores it.
2775 test "$program_suffix" != NONE &&
2776   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2777 # Double any \ or $.
2778 # By default was `s,x,x', remove it if useless.
2779 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2780 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2781
2782 # expand $ac_aux_dir to an absolute path
2783 am_aux_dir=`cd $ac_aux_dir && pwd`
2784
2785 if test x"${MISSING+set}" != xset; then
2786   case $am_aux_dir in
2787   *\ * | *\     *)
2788     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2789   *)
2790     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2791   esac
2792 fi
2793 # Use eval to expand $SHELL
2794 if eval "$MISSING --run true"; then
2795   am_missing_run="$MISSING --run "
2796 else
2797   am_missing_run=
2798   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2799 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2800 fi
2801
2802 if test x"${install_sh}" != xset; then
2803   case $am_aux_dir in
2804   *\ * | *\     *)
2805     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2806   *)
2807     install_sh="\${SHELL} $am_aux_dir/install-sh"
2808   esac
2809 fi
2810
2811 # Installed binaries are usually stripped using `strip' when the user
2812 # run `make install-strip'.  However `strip' might not be the right
2813 # tool to use in cross-compilation environments, therefore Automake
2814 # will honor the `STRIP' environment variable to overrule this program.
2815 if test "$cross_compiling" != no; then
2816   if test -n "$ac_tool_prefix"; then
2817   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2818 set dummy ${ac_tool_prefix}strip; ac_word=$2
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2820 $as_echo_n "checking for $ac_word... " >&6; }
2821 if test "${ac_cv_prog_STRIP+set}" = set; then :
2822   $as_echo_n "(cached) " >&6
2823 else
2824   if test -n "$STRIP"; then
2825   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2826 else
2827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2828 for as_dir in $PATH
2829 do
2830   IFS=$as_save_IFS
2831   test -z "$as_dir" && as_dir=.
2832     for ac_exec_ext in '' $ac_executable_extensions; do
2833   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2834     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2835     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2836     break 2
2837   fi
2838 done
2839   done
2840 IFS=$as_save_IFS
2841
2842 fi
2843 fi
2844 STRIP=$ac_cv_prog_STRIP
2845 if test -n "$STRIP"; then
2846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2847 $as_echo "$STRIP" >&6; }
2848 else
2849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2850 $as_echo "no" >&6; }
2851 fi
2852
2853
2854 fi
2855 if test -z "$ac_cv_prog_STRIP"; then
2856   ac_ct_STRIP=$STRIP
2857   # Extract the first word of "strip", so it can be a program name with args.
2858 set dummy strip; ac_word=$2
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2860 $as_echo_n "checking for $ac_word... " >&6; }
2861 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2862   $as_echo_n "(cached) " >&6
2863 else
2864   if test -n "$ac_ct_STRIP"; then
2865   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2866 else
2867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2868 for as_dir in $PATH
2869 do
2870   IFS=$as_save_IFS
2871   test -z "$as_dir" && as_dir=.
2872     for ac_exec_ext in '' $ac_executable_extensions; do
2873   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2874     ac_cv_prog_ac_ct_STRIP="strip"
2875     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2876     break 2
2877   fi
2878 done
2879   done
2880 IFS=$as_save_IFS
2881
2882 fi
2883 fi
2884 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2885 if test -n "$ac_ct_STRIP"; then
2886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2887 $as_echo "$ac_ct_STRIP" >&6; }
2888 else
2889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2890 $as_echo "no" >&6; }
2891 fi
2892
2893   if test "x$ac_ct_STRIP" = x; then
2894     STRIP=":"
2895   else
2896     case $cross_compiling:$ac_tool_warned in
2897 yes:)
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2900 ac_tool_warned=yes ;;
2901 esac
2902     STRIP=$ac_ct_STRIP
2903   fi
2904 else
2905   STRIP="$ac_cv_prog_STRIP"
2906 fi
2907
2908 fi
2909 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2910
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2912 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2913 if test -z "$MKDIR_P"; then
2914   if test "${ac_cv_path_mkdir+set}" = set; then :
2915   $as_echo_n "(cached) " >&6
2916 else
2917   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2918 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2919 do
2920   IFS=$as_save_IFS
2921   test -z "$as_dir" && as_dir=.
2922     for ac_prog in mkdir gmkdir; do
2923          for ac_exec_ext in '' $ac_executable_extensions; do
2924            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2925            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2926              'mkdir (GNU coreutils) '* | \
2927              'mkdir (coreutils) '* | \
2928              'mkdir (fileutils) '4.1*)
2929                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2930                break 3;;
2931            esac
2932          done
2933        done
2934   done
2935 IFS=$as_save_IFS
2936
2937 fi
2938
2939   test -d ./--version && rmdir ./--version
2940   if test "${ac_cv_path_mkdir+set}" = set; then
2941     MKDIR_P="$ac_cv_path_mkdir -p"
2942   else
2943     # As a last resort, use the slow shell script.  Don't cache a
2944     # value for MKDIR_P within a source directory, because that will
2945     # break other packages using the cache if that directory is
2946     # removed, or if the value is a relative name.
2947     MKDIR_P="$ac_install_sh -d"
2948   fi
2949 fi
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2951 $as_echo "$MKDIR_P" >&6; }
2952
2953 mkdir_p="$MKDIR_P"
2954 case $mkdir_p in
2955   [\\/$]* | ?:[\\/]*) ;;
2956   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2957 esac
2958
2959 for ac_prog in gawk mawk nawk awk
2960 do
2961   # Extract the first word of "$ac_prog", so it can be a program name with args.
2962 set dummy $ac_prog; ac_word=$2
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2964 $as_echo_n "checking for $ac_word... " >&6; }
2965 if test "${ac_cv_prog_AWK+set}" = set; then :
2966   $as_echo_n "(cached) " >&6
2967 else
2968   if test -n "$AWK"; then
2969   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2970 else
2971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2972 for as_dir in $PATH
2973 do
2974   IFS=$as_save_IFS
2975   test -z "$as_dir" && as_dir=.
2976     for ac_exec_ext in '' $ac_executable_extensions; do
2977   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2978     ac_cv_prog_AWK="$ac_prog"
2979     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2980     break 2
2981   fi
2982 done
2983   done
2984 IFS=$as_save_IFS
2985
2986 fi
2987 fi
2988 AWK=$ac_cv_prog_AWK
2989 if test -n "$AWK"; then
2990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2991 $as_echo "$AWK" >&6; }
2992 else
2993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2994 $as_echo "no" >&6; }
2995 fi
2996
2997
2998   test -n "$AWK" && break
2999 done
3000
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3002 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3003 set x ${MAKE-make}
3004 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3005 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3006   $as_echo_n "(cached) " >&6
3007 else
3008   cat >conftest.make <<\_ACEOF
3009 SHELL = /bin/sh
3010 all:
3011         @echo '@@@%%%=$(MAKE)=@@@%%%'
3012 _ACEOF
3013 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3014 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3015   *@@@%%%=?*=@@@%%%*)
3016     eval ac_cv_prog_make_${ac_make}_set=yes;;
3017   *)
3018     eval ac_cv_prog_make_${ac_make}_set=no;;
3019 esac
3020 rm -f conftest.make
3021 fi
3022 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3024 $as_echo "yes" >&6; }
3025   SET_MAKE=
3026 else
3027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3028 $as_echo "no" >&6; }
3029   SET_MAKE="MAKE=${MAKE-make}"
3030 fi
3031
3032 rm -rf .tst 2>/dev/null
3033 mkdir .tst 2>/dev/null
3034 if test -d .tst; then
3035   am__leading_dot=.
3036 else
3037   am__leading_dot=_
3038 fi
3039 rmdir .tst 2>/dev/null
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.1'
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 # We need awk for the "check" target.  The system "awk" is bad on
3092 # some platforms.
3093 # Always define AMTAR for backward compatibility.
3094
3095 AMTAR=${AMTAR-"${am_missing_run}tar"}
3096
3097 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3098
3099
3100
3101
3102
3103 # Check whether --enable-silent-rules was given.
3104 if test "${enable_silent_rules+set}" = set; then :
3105   enableval=$enable_silent_rules;
3106 fi
3107
3108 case $enable_silent_rules in
3109 yes) AM_DEFAULT_VERBOSITY=0;;
3110 no)  AM_DEFAULT_VERBOSITY=1;;
3111 *)   AM_DEFAULT_VERBOSITY=0;;
3112 esac
3113 AM_BACKSLASH='\'
3114
3115
3116 # Make sure we can run config.sub.
3117 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3118   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3119
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3121 $as_echo_n "checking build system type... " >&6; }
3122 if test "${ac_cv_build+set}" = set; then :
3123   $as_echo_n "(cached) " >&6
3124 else
3125   ac_build_alias=$build_alias
3126 test "x$ac_build_alias" = x &&
3127   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3128 test "x$ac_build_alias" = x &&
3129   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3130 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3131   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3132
3133 fi
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3135 $as_echo "$ac_cv_build" >&6; }
3136 case $ac_cv_build in
3137 *-*-*) ;;
3138 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3139 esac
3140 build=$ac_cv_build
3141 ac_save_IFS=$IFS; IFS='-'
3142 set x $ac_cv_build
3143 shift
3144 build_cpu=$1
3145 build_vendor=$2
3146 shift; shift
3147 # Remember, the first character of IFS is used to create $*,
3148 # except with old shells:
3149 build_os=$*
3150 IFS=$ac_save_IFS
3151 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3152
3153
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3155 $as_echo_n "checking host system type... " >&6; }
3156 if test "${ac_cv_host+set}" = set; then :
3157   $as_echo_n "(cached) " >&6
3158 else
3159   if test "x$host_alias" = x; then
3160   ac_cv_host=$ac_cv_build
3161 else
3162   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3163     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3164 fi
3165
3166 fi
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3168 $as_echo "$ac_cv_host" >&6; }
3169 case $ac_cv_host in
3170 *-*-*) ;;
3171 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3172 esac
3173 host=$ac_cv_host
3174 ac_save_IFS=$IFS; IFS='-'
3175 set x $ac_cv_host
3176 shift
3177 host_cpu=$1
3178 host_vendor=$2
3179 shift; shift
3180 # Remember, the first character of IFS is used to create $*,
3181 # except with old shells:
3182 host_os=$*
3183 IFS=$ac_save_IFS
3184 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3185
3186
3187 enable_win32_dll=yes
3188
3189 case $host in
3190 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
3191   if test -n "$ac_tool_prefix"; then
3192   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3193 set dummy ${ac_tool_prefix}as; ac_word=$2
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3195 $as_echo_n "checking for $ac_word... " >&6; }
3196 if test "${ac_cv_prog_AS+set}" = set; then :
3197   $as_echo_n "(cached) " >&6
3198 else
3199   if test -n "$AS"; then
3200   ac_cv_prog_AS="$AS" # Let the user override the test.
3201 else
3202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3203 for as_dir in $PATH
3204 do
3205   IFS=$as_save_IFS
3206   test -z "$as_dir" && as_dir=.
3207     for ac_exec_ext in '' $ac_executable_extensions; do
3208   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3209     ac_cv_prog_AS="${ac_tool_prefix}as"
3210     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3211     break 2
3212   fi
3213 done
3214   done
3215 IFS=$as_save_IFS
3216
3217 fi
3218 fi
3219 AS=$ac_cv_prog_AS
3220 if test -n "$AS"; then
3221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3222 $as_echo "$AS" >&6; }
3223 else
3224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3225 $as_echo "no" >&6; }
3226 fi
3227
3228
3229 fi
3230 if test -z "$ac_cv_prog_AS"; then
3231   ac_ct_AS=$AS
3232   # Extract the first word of "as", so it can be a program name with args.
3233 set dummy as; ac_word=$2
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3235 $as_echo_n "checking for $ac_word... " >&6; }
3236 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
3237   $as_echo_n "(cached) " >&6
3238 else
3239   if test -n "$ac_ct_AS"; then
3240   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3241 else
3242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3243 for as_dir in $PATH
3244 do
3245   IFS=$as_save_IFS
3246   test -z "$as_dir" && as_dir=.
3247     for ac_exec_ext in '' $ac_executable_extensions; do
3248   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3249     ac_cv_prog_ac_ct_AS="as"
3250     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3251     break 2
3252   fi
3253 done
3254   done
3255 IFS=$as_save_IFS
3256
3257 fi
3258 fi
3259 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3260 if test -n "$ac_ct_AS"; then
3261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3262 $as_echo "$ac_ct_AS" >&6; }
3263 else
3264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3265 $as_echo "no" >&6; }
3266 fi
3267
3268   if test "x$ac_ct_AS" = x; then
3269     AS="false"
3270   else
3271     case $cross_compiling:$ac_tool_warned in
3272 yes:)
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3274 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3275 ac_tool_warned=yes ;;
3276 esac
3277     AS=$ac_ct_AS
3278   fi
3279 else
3280   AS="$ac_cv_prog_AS"
3281 fi
3282
3283   if test -n "$ac_tool_prefix"; then
3284   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3285 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3287 $as_echo_n "checking for $ac_word... " >&6; }
3288 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
3289   $as_echo_n "(cached) " >&6
3290 else
3291   if test -n "$DLLTOOL"; then
3292   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3293 else
3294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3295 for as_dir in $PATH
3296 do
3297   IFS=$as_save_IFS
3298   test -z "$as_dir" && as_dir=.
3299     for ac_exec_ext in '' $ac_executable_extensions; do
3300   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3301     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3302     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3303     break 2
3304   fi
3305 done
3306   done
3307 IFS=$as_save_IFS
3308
3309 fi
3310 fi
3311 DLLTOOL=$ac_cv_prog_DLLTOOL
3312 if test -n "$DLLTOOL"; then
3313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3314 $as_echo "$DLLTOOL" >&6; }
3315 else
3316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3317 $as_echo "no" >&6; }
3318 fi
3319
3320
3321 fi
3322 if test -z "$ac_cv_prog_DLLTOOL"; then
3323   ac_ct_DLLTOOL=$DLLTOOL
3324   # Extract the first word of "dlltool", so it can be a program name with args.
3325 set dummy dlltool; ac_word=$2
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3327 $as_echo_n "checking for $ac_word... " >&6; }
3328 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
3329   $as_echo_n "(cached) " >&6
3330 else
3331   if test -n "$ac_ct_DLLTOOL"; then
3332   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3333 else
3334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3335 for as_dir in $PATH
3336 do
3337   IFS=$as_save_IFS
3338   test -z "$as_dir" && as_dir=.
3339     for ac_exec_ext in '' $ac_executable_extensions; do
3340   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3341     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3342     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3343     break 2
3344   fi
3345 done
3346   done
3347 IFS=$as_save_IFS
3348
3349 fi
3350 fi
3351 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3352 if test -n "$ac_ct_DLLTOOL"; then
3353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3354 $as_echo "$ac_ct_DLLTOOL" >&6; }
3355 else
3356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3357 $as_echo "no" >&6; }
3358 fi
3359
3360   if test "x$ac_ct_DLLTOOL" = x; then
3361     DLLTOOL="false"
3362   else
3363     case $cross_compiling:$ac_tool_warned in
3364 yes:)
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3367 ac_tool_warned=yes ;;
3368 esac
3369     DLLTOOL=$ac_ct_DLLTOOL
3370   fi
3371 else
3372   DLLTOOL="$ac_cv_prog_DLLTOOL"
3373 fi
3374
3375   if test -n "$ac_tool_prefix"; then
3376   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3377 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3379 $as_echo_n "checking for $ac_word... " >&6; }
3380 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
3381   $as_echo_n "(cached) " >&6
3382 else
3383   if test -n "$OBJDUMP"; then
3384   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3385 else
3386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3387 for as_dir in $PATH
3388 do
3389   IFS=$as_save_IFS
3390   test -z "$as_dir" && as_dir=.
3391     for ac_exec_ext in '' $ac_executable_extensions; do
3392   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3393     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3394     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3395     break 2
3396   fi
3397 done
3398   done
3399 IFS=$as_save_IFS
3400
3401 fi
3402 fi
3403 OBJDUMP=$ac_cv_prog_OBJDUMP
3404 if test -n "$OBJDUMP"; then
3405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3406 $as_echo "$OBJDUMP" >&6; }
3407 else
3408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3409 $as_echo "no" >&6; }
3410 fi
3411
3412
3413 fi
3414 if test -z "$ac_cv_prog_OBJDUMP"; then
3415   ac_ct_OBJDUMP=$OBJDUMP
3416   # Extract the first word of "objdump", so it can be a program name with args.
3417 set dummy objdump; ac_word=$2
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3419 $as_echo_n "checking for $ac_word... " >&6; }
3420 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
3421   $as_echo_n "(cached) " >&6
3422 else
3423   if test -n "$ac_ct_OBJDUMP"; then
3424   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3425 else
3426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3427 for as_dir in $PATH
3428 do
3429   IFS=$as_save_IFS
3430   test -z "$as_dir" && as_dir=.
3431     for ac_exec_ext in '' $ac_executable_extensions; do
3432   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3433     ac_cv_prog_ac_ct_OBJDUMP="objdump"
3434     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3435     break 2
3436   fi
3437 done
3438   done
3439 IFS=$as_save_IFS
3440
3441 fi
3442 fi
3443 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3444 if test -n "$ac_ct_OBJDUMP"; then
3445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3446 $as_echo "$ac_ct_OBJDUMP" >&6; }
3447 else
3448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3449 $as_echo "no" >&6; }
3450 fi
3451
3452   if test "x$ac_ct_OBJDUMP" = x; then
3453     OBJDUMP="false"
3454   else
3455     case $cross_compiling:$ac_tool_warned in
3456 yes:)
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3459 ac_tool_warned=yes ;;
3460 esac
3461     OBJDUMP=$ac_ct_OBJDUMP
3462   fi
3463 else
3464   OBJDUMP="$ac_cv_prog_OBJDUMP"
3465 fi
3466
3467   ;;
3468 esac
3469
3470 test -z "$AS" && AS=as
3471
3472
3473
3474
3475
3476 test -z "$DLLTOOL" && DLLTOOL=dlltool
3477
3478
3479
3480
3481
3482 test -z "$OBJDUMP" && OBJDUMP=objdump
3483
3484
3485
3486
3487
3488
3489
3490 case `pwd` in
3491   *\ * | *\     *)
3492     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3493 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3494 esac
3495
3496
3497
3498 macro_version='2.2.6b'
3499 macro_revision='1.3017'
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513 ltmain="$ac_aux_dir/ltmain.sh"
3514
3515 DEPDIR="${am__leading_dot}deps"
3516
3517 ac_config_commands="$ac_config_commands depfiles"
3518
3519
3520 am_make=${MAKE-make}
3521 cat > confinc << 'END'
3522 am__doit:
3523         @echo this is the am__doit target
3524 .PHONY: am__doit
3525 END
3526 # If we don't find an include directive, just comment out the code.
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3528 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3529 am__include="#"
3530 am__quote=
3531 _am_result=none
3532 # First try GNU make style include.
3533 echo "include confinc" > confmf
3534 # Ignore all kinds of additional output from `make'.
3535 case `$am_make -s -f confmf 2> /dev/null` in #(
3536 *the\ am__doit\ target*)
3537   am__include=include
3538   am__quote=
3539   _am_result=GNU
3540   ;;
3541 esac
3542 # Now try BSD make style include.
3543 if test "$am__include" = "#"; then
3544    echo '.include "confinc"' > confmf
3545    case `$am_make -s -f confmf 2> /dev/null` in #(
3546    *the\ am__doit\ target*)
3547      am__include=.include
3548      am__quote="\""
3549      _am_result=BSD
3550      ;;
3551    esac
3552 fi
3553
3554
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3556 $as_echo "$_am_result" >&6; }
3557 rm -f confinc confmf
3558
3559 # Check whether --enable-dependency-tracking was given.
3560 if test "${enable_dependency_tracking+set}" = set; then :
3561   enableval=$enable_dependency_tracking;
3562 fi
3563
3564 if test "x$enable_dependency_tracking" != xno; then
3565   am_depcomp="$ac_aux_dir/depcomp"
3566   AMDEPBACKSLASH='\'
3567 fi
3568  if test "x$enable_dependency_tracking" != xno; then
3569   AMDEP_TRUE=
3570   AMDEP_FALSE='#'
3571 else
3572   AMDEP_TRUE='#'
3573   AMDEP_FALSE=
3574 fi
3575
3576
3577 ac_ext=c
3578 ac_cpp='$CPP $CPPFLAGS'
3579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3582 if test -n "$ac_tool_prefix"; then
3583   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3584 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3586 $as_echo_n "checking for $ac_word... " >&6; }
3587 if test "${ac_cv_prog_CC+set}" = set; then :
3588   $as_echo_n "(cached) " >&6
3589 else
3590   if test -n "$CC"; then
3591   ac_cv_prog_CC="$CC" # Let the user override the test.
3592 else
3593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3594 for as_dir in $PATH
3595 do
3596   IFS=$as_save_IFS
3597   test -z "$as_dir" && as_dir=.
3598     for ac_exec_ext in '' $ac_executable_extensions; do
3599   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3600     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3601     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3602     break 2
3603   fi
3604 done
3605   done
3606 IFS=$as_save_IFS
3607
3608 fi
3609 fi
3610 CC=$ac_cv_prog_CC
3611 if test -n "$CC"; then
3612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3613 $as_echo "$CC" >&6; }
3614 else
3615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3616 $as_echo "no" >&6; }
3617 fi
3618
3619
3620 fi
3621 if test -z "$ac_cv_prog_CC"; then
3622   ac_ct_CC=$CC
3623   # Extract the first word of "gcc", so it can be a program name with args.
3624 set dummy gcc; ac_word=$2
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3626 $as_echo_n "checking for $ac_word... " >&6; }
3627 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3628   $as_echo_n "(cached) " >&6
3629 else
3630   if test -n "$ac_ct_CC"; then
3631   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3632 else
3633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3634 for as_dir in $PATH
3635 do
3636   IFS=$as_save_IFS
3637   test -z "$as_dir" && as_dir=.
3638     for ac_exec_ext in '' $ac_executable_extensions; do
3639   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3640     ac_cv_prog_ac_ct_CC="gcc"
3641     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3642     break 2
3643   fi
3644 done
3645   done
3646 IFS=$as_save_IFS
3647
3648 fi
3649 fi
3650 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3651 if test -n "$ac_ct_CC"; then
3652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3653 $as_echo "$ac_ct_CC" >&6; }
3654 else
3655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3656 $as_echo "no" >&6; }
3657 fi
3658
3659   if test "x$ac_ct_CC" = x; then
3660     CC=""
3661   else
3662     case $cross_compiling:$ac_tool_warned in
3663 yes:)
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3666 ac_tool_warned=yes ;;
3667 esac
3668     CC=$ac_ct_CC
3669   fi
3670 else
3671   CC="$ac_cv_prog_CC"
3672 fi
3673
3674 if test -z "$CC"; then
3675           if test -n "$ac_tool_prefix"; then
3676     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3677 set dummy ${ac_tool_prefix}cc; ac_word=$2
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3679 $as_echo_n "checking for $ac_word... " >&6; }
3680 if test "${ac_cv_prog_CC+set}" = set; then :
3681   $as_echo_n "(cached) " >&6
3682 else
3683   if test -n "$CC"; then
3684   ac_cv_prog_CC="$CC" # Let the user override the test.
3685 else
3686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3687 for as_dir in $PATH
3688 do
3689   IFS=$as_save_IFS
3690   test -z "$as_dir" && as_dir=.
3691     for ac_exec_ext in '' $ac_executable_extensions; do
3692   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3693     ac_cv_prog_CC="${ac_tool_prefix}cc"
3694     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3695     break 2
3696   fi
3697 done
3698   done
3699 IFS=$as_save_IFS
3700
3701 fi
3702 fi
3703 CC=$ac_cv_prog_CC
3704 if test -n "$CC"; then
3705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3706 $as_echo "$CC" >&6; }
3707 else
3708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3709 $as_echo "no" >&6; }
3710 fi
3711
3712
3713   fi
3714 fi
3715 if test -z "$CC"; then
3716   # Extract the first word of "cc", so it can be a program name with args.
3717 set dummy cc; ac_word=$2
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3719 $as_echo_n "checking for $ac_word... " >&6; }
3720 if test "${ac_cv_prog_CC+set}" = set; then :
3721   $as_echo_n "(cached) " >&6
3722 else
3723   if test -n "$CC"; then
3724   ac_cv_prog_CC="$CC" # Let the user override the test.
3725 else
3726   ac_prog_rejected=no
3727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3728 for as_dir in $PATH
3729 do
3730   IFS=$as_save_IFS
3731   test -z "$as_dir" && as_dir=.
3732     for ac_exec_ext in '' $ac_executable_extensions; do
3733   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3734     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3735        ac_prog_rejected=yes
3736        continue
3737      fi
3738     ac_cv_prog_CC="cc"
3739     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3740     break 2
3741   fi
3742 done
3743   done
3744 IFS=$as_save_IFS
3745
3746 if test $ac_prog_rejected = yes; then
3747   # We found a bogon in the path, so make sure we never use it.
3748   set dummy $ac_cv_prog_CC
3749   shift
3750   if test $# != 0; then
3751     # We chose a different compiler from the bogus one.
3752     # However, it has the same basename, so the bogon will be chosen
3753     # first if we set CC to just the basename; use the full file name.
3754     shift
3755     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3756   fi
3757 fi
3758 fi
3759 fi
3760 CC=$ac_cv_prog_CC
3761 if test -n "$CC"; then
3762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3763 $as_echo "$CC" >&6; }
3764 else
3765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3766 $as_echo "no" >&6; }
3767 fi
3768
3769
3770 fi
3771 if test -z "$CC"; then
3772   if test -n "$ac_tool_prefix"; then
3773   for ac_prog in cl.exe
3774   do
3775     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3776 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3778 $as_echo_n "checking for $ac_word... " >&6; }
3779 if test "${ac_cv_prog_CC+set}" = set; then :
3780   $as_echo_n "(cached) " >&6
3781 else
3782   if test -n "$CC"; then
3783   ac_cv_prog_CC="$CC" # Let the user override the test.
3784 else
3785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3786 for as_dir in $PATH
3787 do
3788   IFS=$as_save_IFS
3789   test -z "$as_dir" && as_dir=.
3790     for ac_exec_ext in '' $ac_executable_extensions; do
3791   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3792     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3794     break 2
3795   fi
3796 done
3797   done
3798 IFS=$as_save_IFS
3799
3800 fi
3801 fi
3802 CC=$ac_cv_prog_CC
3803 if test -n "$CC"; then
3804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3805 $as_echo "$CC" >&6; }
3806 else
3807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3808 $as_echo "no" >&6; }
3809 fi
3810
3811
3812     test -n "$CC" && break
3813   done
3814 fi
3815 if test -z "$CC"; then
3816   ac_ct_CC=$CC
3817   for ac_prog in cl.exe
3818 do
3819   # Extract the first word of "$ac_prog", so it can be a program name with args.
3820 set dummy $ac_prog; ac_word=$2
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3822 $as_echo_n "checking for $ac_word... " >&6; }
3823 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3824   $as_echo_n "(cached) " >&6
3825 else
3826   if test -n "$ac_ct_CC"; then
3827   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3828 else
3829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3830 for as_dir in $PATH
3831 do
3832   IFS=$as_save_IFS
3833   test -z "$as_dir" && as_dir=.
3834     for ac_exec_ext in '' $ac_executable_extensions; do
3835   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3836     ac_cv_prog_ac_ct_CC="$ac_prog"
3837     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3838     break 2
3839   fi
3840 done
3841   done
3842 IFS=$as_save_IFS
3843
3844 fi
3845 fi
3846 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3847 if test -n "$ac_ct_CC"; then
3848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3849 $as_echo "$ac_ct_CC" >&6; }
3850 else
3851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3852 $as_echo "no" >&6; }
3853 fi
3854
3855
3856   test -n "$ac_ct_CC" && break
3857 done
3858
3859   if test "x$ac_ct_CC" = x; then
3860     CC=""
3861   else
3862     case $cross_compiling:$ac_tool_warned in
3863 yes:)
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3865 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3866 ac_tool_warned=yes ;;
3867 esac
3868     CC=$ac_ct_CC
3869   fi
3870 fi
3871
3872 fi
3873
3874
3875 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3876 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3877 as_fn_error $? "no acceptable C compiler found in \$PATH
3878 See \`config.log' for more details" "$LINENO" 5 ; }
3879
3880 # Provide some information about the compiler.
3881 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3882 set X $ac_compile
3883 ac_compiler=$2
3884 for ac_option in --version -v -V -qversion; do
3885   { { ac_try="$ac_compiler $ac_option >&5"
3886 case "(($ac_try" in
3887   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3888   *) ac_try_echo=$ac_try;;
3889 esac
3890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3891 $as_echo "$ac_try_echo"; } >&5
3892   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3893   ac_status=$?
3894   if test -s conftest.err; then
3895     sed '10a\
3896 ... rest of stderr output deleted ...
3897          10q' conftest.err >conftest.er1
3898     cat conftest.er1 >&5
3899   fi
3900   rm -f conftest.er1 conftest.err
3901   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3902   test $ac_status = 0; }
3903 done
3904
3905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3906 /* end confdefs.h.  */
3907
3908 int
3909 main ()
3910 {
3911
3912   ;
3913   return 0;
3914 }
3915 _ACEOF
3916 ac_clean_files_save=$ac_clean_files
3917 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3918 # Try to create an executable without -o first, disregard a.out.
3919 # It will help us diagnose broken compilers, and finding out an intuition
3920 # of exeext.
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3922 $as_echo_n "checking whether the C compiler works... " >&6; }
3923 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3924
3925 # The possible output files:
3926 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3927
3928 ac_rmfiles=
3929 for ac_file in $ac_files
3930 do
3931   case $ac_file in
3932     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3933     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3934   esac
3935 done
3936 rm -f $ac_rmfiles
3937
3938 if { { ac_try="$ac_link_default"
3939 case "(($ac_try" in
3940   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3941   *) ac_try_echo=$ac_try;;
3942 esac
3943 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3944 $as_echo "$ac_try_echo"; } >&5
3945   (eval "$ac_link_default") 2>&5
3946   ac_status=$?
3947   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3948   test $ac_status = 0; }; then :
3949   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3950 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3951 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3952 # so that the user can short-circuit this test for compilers unknown to
3953 # Autoconf.
3954 for ac_file in $ac_files ''
3955 do
3956   test -f "$ac_file" || continue
3957   case $ac_file in
3958     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3959         ;;
3960     [ab].out )
3961         # We found the default executable, but exeext='' is most
3962         # certainly right.
3963         break;;
3964     *.* )
3965         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3966         then :; else
3967            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3968         fi
3969         # We set ac_cv_exeext here because the later test for it is not
3970         # safe: cross compilers may not add the suffix if given an `-o'
3971         # argument, so we may need to know it at that point already.
3972         # Even if this section looks crufty: it has the advantage of
3973         # actually working.
3974         break;;
3975     * )
3976         break;;
3977   esac
3978 done
3979 test "$ac_cv_exeext" = no && ac_cv_exeext=
3980
3981 else
3982   ac_file=''
3983 fi
3984 if test -z "$ac_file"; then :
3985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3986 $as_echo "no" >&6; }
3987 $as_echo "$as_me: failed program was:" >&5
3988 sed 's/^/| /' conftest.$ac_ext >&5
3989
3990 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3992 as_fn_error 77 "C compiler cannot create executables
3993 See \`config.log' for more details" "$LINENO" 5 ; }
3994 else
3995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3996 $as_echo "yes" >&6; }
3997 fi
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3999 $as_echo_n "checking for C compiler default output file name... " >&6; }
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4001 $as_echo "$ac_file" >&6; }
4002 ac_exeext=$ac_cv_exeext
4003
4004 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4005 ac_clean_files=$ac_clean_files_save
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4007 $as_echo_n "checking for suffix of executables... " >&6; }
4008 if { { ac_try="$ac_link"
4009 case "(($ac_try" in
4010   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4011   *) ac_try_echo=$ac_try;;
4012 esac
4013 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4014 $as_echo "$ac_try_echo"; } >&5
4015   (eval "$ac_link") 2>&5
4016   ac_status=$?
4017   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4018   test $ac_status = 0; }; then :
4019   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4020 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4021 # work properly (i.e., refer to `conftest.exe'), while it won't with
4022 # `rm'.
4023 for ac_file in conftest.exe conftest conftest.*; do
4024   test -f "$ac_file" || continue
4025   case $ac_file in
4026     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4027     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4028           break;;
4029     * ) break;;
4030   esac
4031 done
4032 else
4033   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4034 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4035 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4036 See \`config.log' for more details" "$LINENO" 5 ; }
4037 fi
4038 rm -f conftest conftest$ac_cv_exeext
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4040 $as_echo "$ac_cv_exeext" >&6; }
4041
4042 rm -f conftest.$ac_ext
4043 EXEEXT=$ac_cv_exeext
4044 ac_exeext=$EXEEXT
4045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4046 /* end confdefs.h.  */
4047 #include <stdio.h>
4048 int
4049 main ()
4050 {
4051 FILE *f = fopen ("conftest.out", "w");
4052  return ferror (f) || fclose (f) != 0;
4053
4054   ;
4055   return 0;
4056 }
4057 _ACEOF
4058 ac_clean_files="$ac_clean_files conftest.out"
4059 # Check that the compiler produces executables we can run.  If not, either
4060 # the compiler is broken, or we cross compile.
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4062 $as_echo_n "checking whether we are cross compiling... " >&6; }
4063 if test "$cross_compiling" != yes; then
4064   { { ac_try="$ac_link"
4065 case "(($ac_try" in
4066   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4067   *) ac_try_echo=$ac_try;;
4068 esac
4069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4070 $as_echo "$ac_try_echo"; } >&5
4071   (eval "$ac_link") 2>&5
4072   ac_status=$?
4073   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4074   test $ac_status = 0; }
4075   if { ac_try='./conftest$ac_cv_exeext'
4076   { { case "(($ac_try" in
4077   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4078   *) ac_try_echo=$ac_try;;
4079 esac
4080 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4081 $as_echo "$ac_try_echo"; } >&5
4082   (eval "$ac_try") 2>&5
4083   ac_status=$?
4084   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4085   test $ac_status = 0; }; }; then
4086     cross_compiling=no
4087   else
4088     if test "$cross_compiling" = maybe; then
4089         cross_compiling=yes
4090     else
4091         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4093 as_fn_error $? "cannot run C compiled programs.
4094 If you meant to cross compile, use \`--host'.
4095 See \`config.log' for more details" "$LINENO" 5 ; }
4096     fi
4097   fi
4098 fi
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4100 $as_echo "$cross_compiling" >&6; }
4101
4102 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4103 ac_clean_files=$ac_clean_files_save
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4105 $as_echo_n "checking for suffix of object files... " >&6; }
4106 if test "${ac_cv_objext+set}" = set; then :
4107   $as_echo_n "(cached) " >&6
4108 else
4109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4110 /* end confdefs.h.  */
4111
4112 int
4113 main ()
4114 {
4115
4116   ;
4117   return 0;
4118 }
4119 _ACEOF
4120 rm -f conftest.o conftest.obj
4121 if { { ac_try="$ac_compile"
4122 case "(($ac_try" in
4123   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4124   *) ac_try_echo=$ac_try;;
4125 esac
4126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4127 $as_echo "$ac_try_echo"; } >&5
4128   (eval "$ac_compile") 2>&5
4129   ac_status=$?
4130   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4131   test $ac_status = 0; }; then :
4132   for ac_file in conftest.o conftest.obj conftest.*; do
4133   test -f "$ac_file" || continue;
4134   case $ac_file in
4135     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4136     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4137        break;;
4138   esac
4139 done
4140 else
4141   $as_echo "$as_me: failed program was:" >&5
4142 sed 's/^/| /' conftest.$ac_ext >&5
4143
4144 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4146 as_fn_error $? "cannot compute suffix of object files: cannot compile
4147 See \`config.log' for more details" "$LINENO" 5 ; }
4148 fi
4149 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4150 fi
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4152 $as_echo "$ac_cv_objext" >&6; }
4153 OBJEXT=$ac_cv_objext
4154 ac_objext=$OBJEXT
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4156 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4157 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4158   $as_echo_n "(cached) " >&6
4159 else
4160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4161 /* end confdefs.h.  */
4162
4163 int
4164 main ()
4165 {
4166 #ifndef __GNUC__
4167        choke me
4168 #endif
4169
4170   ;
4171   return 0;
4172 }
4173 _ACEOF
4174 if ac_fn_c_try_compile "$LINENO"; then :
4175   ac_compiler_gnu=yes
4176 else
4177   ac_compiler_gnu=no
4178 fi
4179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4180 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4181
4182 fi
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4184 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4185 if test $ac_compiler_gnu = yes; then
4186   GCC=yes
4187 else
4188   GCC=
4189 fi
4190 ac_test_CFLAGS=${CFLAGS+set}
4191 ac_save_CFLAGS=$CFLAGS
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4193 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4194 if test "${ac_cv_prog_cc_g+set}" = set; then :
4195   $as_echo_n "(cached) " >&6
4196 else
4197   ac_save_c_werror_flag=$ac_c_werror_flag
4198    ac_c_werror_flag=yes
4199    ac_cv_prog_cc_g=no
4200    CFLAGS="-g"
4201    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4202 /* end confdefs.h.  */
4203
4204 int
4205 main ()
4206 {
4207
4208   ;
4209   return 0;
4210 }
4211 _ACEOF
4212 if ac_fn_c_try_compile "$LINENO"; then :
4213   ac_cv_prog_cc_g=yes
4214 else
4215   CFLAGS=""
4216       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4217 /* end confdefs.h.  */
4218
4219 int
4220 main ()
4221 {
4222
4223   ;
4224   return 0;
4225 }
4226 _ACEOF
4227 if ac_fn_c_try_compile "$LINENO"; then :
4228
4229 else
4230   ac_c_werror_flag=$ac_save_c_werror_flag
4231          CFLAGS="-g"
4232          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4233 /* end confdefs.h.  */
4234
4235 int
4236 main ()
4237 {
4238
4239   ;
4240   return 0;
4241 }
4242 _ACEOF
4243 if ac_fn_c_try_compile "$LINENO"; then :
4244   ac_cv_prog_cc_g=yes
4245 fi
4246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4247 fi
4248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4249 fi
4250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4251    ac_c_werror_flag=$ac_save_c_werror_flag
4252 fi
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4254 $as_echo "$ac_cv_prog_cc_g" >&6; }
4255 if test "$ac_test_CFLAGS" = set; then
4256   CFLAGS=$ac_save_CFLAGS
4257 elif test $ac_cv_prog_cc_g = yes; then
4258   if test "$GCC" = yes; then
4259     CFLAGS="-g -O2"
4260   else
4261     CFLAGS="-g"
4262   fi
4263 else
4264   if test "$GCC" = yes; then
4265     CFLAGS="-O2"
4266   else
4267     CFLAGS=
4268   fi
4269 fi
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4271 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4272 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4273   $as_echo_n "(cached) " >&6
4274 else
4275   ac_cv_prog_cc_c89=no
4276 ac_save_CC=$CC
4277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4278 /* end confdefs.h.  */
4279 #include <stdarg.h>
4280 #include <stdio.h>
4281 #include <sys/types.h>
4282 #include <sys/stat.h>
4283 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4284 struct buf { int x; };
4285 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4286 static char *e (p, i)
4287      char **p;
4288      int i;
4289 {
4290   return p[i];
4291 }
4292 static char *f (char * (*g) (char **, int), char **p, ...)
4293 {
4294   char *s;
4295   va_list v;
4296   va_start (v,p);
4297   s = g (p, va_arg (v,int));
4298   va_end (v);
4299   return s;
4300 }
4301
4302 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4303    function prototypes and stuff, but not '\xHH' hex character constants.
4304    These don't provoke an error unfortunately, instead are silently treated
4305    as 'x'.  The following induces an error, until -std is added to get
4306    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4307    array size at least.  It's necessary to write '\x00'==0 to get something
4308    that's true only with -std.  */
4309 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4310
4311 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4312    inside strings and character constants.  */
4313 #define FOO(x) 'x'
4314 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4315
4316 int test (int i, double x);
4317 struct s1 {int (*f) (int a);};
4318 struct s2 {int (*f) (double a);};
4319 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4320 int argc;
4321 char **argv;
4322 int
4323 main ()
4324 {
4325 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4326   ;
4327   return 0;
4328 }
4329 _ACEOF
4330 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4331         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4332 do
4333   CC="$ac_save_CC $ac_arg"
4334   if ac_fn_c_try_compile "$LINENO"; then :
4335   ac_cv_prog_cc_c89=$ac_arg
4336 fi
4337 rm -f core conftest.err conftest.$ac_objext
4338   test "x$ac_cv_prog_cc_c89" != "xno" && break
4339 done
4340 rm -f conftest.$ac_ext
4341 CC=$ac_save_CC
4342
4343 fi
4344 # AC_CACHE_VAL
4345 case "x$ac_cv_prog_cc_c89" in
4346   x)
4347     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4348 $as_echo "none needed" >&6; } ;;
4349   xno)
4350     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4351 $as_echo "unsupported" >&6; } ;;
4352   *)
4353     CC="$CC $ac_cv_prog_cc_c89"
4354     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4355 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4356 esac
4357 if test "x$ac_cv_prog_cc_c89" != xno; then :
4358
4359 fi
4360
4361 ac_ext=c
4362 ac_cpp='$CPP $CPPFLAGS'
4363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4366
4367 depcc="$CC"   am_compiler_list=
4368
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4370 $as_echo_n "checking dependency style of $depcc... " >&6; }
4371 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4372   $as_echo_n "(cached) " >&6
4373 else
4374   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4375   # We make a subdir and do the tests there.  Otherwise we can end up
4376   # making bogus files that we don't know about and never remove.  For
4377   # instance it was reported that on HP-UX the gcc test will end up
4378   # making a dummy file named `D' -- because `-MD' means `put the output
4379   # in D'.
4380   mkdir conftest.dir
4381   # Copy depcomp to subdir because otherwise we won't find it if we're
4382   # using a relative directory.
4383   cp "$am_depcomp" conftest.dir
4384   cd conftest.dir
4385   # We will build objects and dependencies in a subdirectory because
4386   # it helps to detect inapplicable dependency modes.  For instance
4387   # both Tru64's cc and ICC support -MD to output dependencies as a
4388   # side effect of compilation, but ICC will put the dependencies in
4389   # the current directory while Tru64 will put them in the object
4390   # directory.
4391   mkdir sub
4392
4393   am_cv_CC_dependencies_compiler_type=none
4394   if test "$am_compiler_list" = ""; then
4395      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4396   fi
4397   am__universal=false
4398   case " $depcc " in #(
4399      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4400      esac
4401
4402   for depmode in $am_compiler_list; do
4403     # Setup a source with many dependencies, because some compilers
4404     # like to wrap large dependency lists on column 80 (with \), and
4405     # we should not choose a depcomp mode which is confused by this.
4406     #
4407     # We need to recreate these files for each test, as the compiler may
4408     # overwrite some of them when testing with obscure command lines.
4409     # This happens at least with the AIX C compiler.
4410     : > sub/conftest.c
4411     for i in 1 2 3 4 5 6; do
4412       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4413       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4414       # Solaris 8's {/usr,}/bin/sh.
4415       touch sub/conftst$i.h
4416     done
4417     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4418
4419     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4420     # mode.  It turns out that the SunPro C++ compiler does not properly
4421     # handle `-M -o', and we need to detect this.  Also, some Intel
4422     # versions had trouble with output in subdirs
4423     am__obj=sub/conftest.${OBJEXT-o}
4424     am__minus_obj="-o $am__obj"
4425     case $depmode in
4426     gcc)
4427       # This depmode causes a compiler race in universal mode.
4428       test "$am__universal" = false || continue
4429       ;;
4430     nosideeffect)
4431       # after this tag, mechanisms are not by side-effect, so they'll
4432       # only be used when explicitly requested
4433       if test "x$enable_dependency_tracking" = xyes; then
4434         continue
4435       else
4436         break
4437       fi
4438       ;;
4439     msvisualcpp | msvcmsys)
4440       # This compiler won't grok `-c -o', but also, the minuso test has
4441       # not run yet.  These depmodes are late enough in the game, and
4442       # so weak that their functioning should not be impacted.
4443       am__obj=conftest.${OBJEXT-o}
4444       am__minus_obj=
4445       ;;
4446     none) break ;;
4447     esac
4448     if depmode=$depmode \
4449        source=sub/conftest.c object=$am__obj \
4450        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4451        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4452          >/dev/null 2>conftest.err &&
4453        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4454        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4455        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4456        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4457       # icc doesn't choke on unknown options, it will just issue warnings
4458       # or remarks (even with -Werror).  So we grep stderr for any message
4459       # that says an option was ignored or not supported.
4460       # When given -MP, icc 7.0 and 7.1 complain thusly:
4461       #   icc: Command line warning: ignoring option '-M'; no argument required
4462       # The diagnosis changed in icc 8.0:
4463       #   icc: Command line remark: option '-MP' not supported
4464       if (grep 'ignoring option' conftest.err ||
4465           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4466         am_cv_CC_dependencies_compiler_type=$depmode
4467         break
4468       fi
4469     fi
4470   done
4471
4472   cd ..
4473   rm -rf conftest.dir
4474 else
4475   am_cv_CC_dependencies_compiler_type=none
4476 fi
4477
4478 fi
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4480 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4481 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4482
4483  if
4484   test "x$enable_dependency_tracking" != xno \
4485   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4486   am__fastdepCC_TRUE=
4487   am__fastdepCC_FALSE='#'
4488 else
4489   am__fastdepCC_TRUE='#'
4490   am__fastdepCC_FALSE=
4491 fi
4492
4493
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4495 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4496 if test "${ac_cv_path_SED+set}" = set; then :
4497   $as_echo_n "(cached) " >&6
4498 else
4499             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4500      for ac_i in 1 2 3 4 5 6 7; do
4501        ac_script="$ac_script$as_nl$ac_script"
4502      done
4503      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4504      { ac_script=; unset ac_script;}
4505      if test -z "$SED"; then
4506   ac_path_SED_found=false
4507   # Loop through the user's path and test for each of PROGNAME-LIST
4508   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4509 for as_dir in $PATH
4510 do
4511   IFS=$as_save_IFS
4512   test -z "$as_dir" && as_dir=.
4513     for ac_prog in sed gsed; do
4514     for ac_exec_ext in '' $ac_executable_extensions; do
4515       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4516       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4517 # Check for GNU ac_path_SED and select it if it is found.
4518   # Check for GNU $ac_path_SED
4519 case `"$ac_path_SED" --version 2>&1` in
4520 *GNU*)
4521   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4522 *)
4523   ac_count=0
4524   $as_echo_n 0123456789 >"conftest.in"
4525   while :
4526   do
4527     cat "conftest.in" "conftest.in" >"conftest.tmp"
4528     mv "conftest.tmp" "conftest.in"
4529     cp "conftest.in" "conftest.nl"
4530     $as_echo '' >> "conftest.nl"
4531     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4532     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4533     as_fn_arith $ac_count + 1 && ac_count=$as_val
4534     if test $ac_count -gt ${ac_path_SED_max-0}; then
4535       # Best one so far, save it but keep looking for a better one
4536       ac_cv_path_SED="$ac_path_SED"
4537       ac_path_SED_max=$ac_count
4538     fi
4539     # 10*(2^10) chars as input seems more than enough
4540     test $ac_count -gt 10 && break
4541   done
4542   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4543 esac
4544
4545       $ac_path_SED_found && break 3
4546     done
4547   done
4548   done
4549 IFS=$as_save_IFS
4550   if test -z "$ac_cv_path_SED"; then
4551     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4552   fi
4553 else
4554   ac_cv_path_SED=$SED
4555 fi
4556
4557 fi
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4559 $as_echo "$ac_cv_path_SED" >&6; }
4560  SED="$ac_cv_path_SED"
4561   rm -f conftest.sed
4562
4563 test -z "$SED" && SED=sed
4564 Xsed="$SED -e 1s/^X//"
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4577 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4578 if test "${ac_cv_path_GREP+set}" = set; then :
4579   $as_echo_n "(cached) " >&6
4580 else
4581   if test -z "$GREP"; then
4582   ac_path_GREP_found=false
4583   # Loop through the user's path and test for each of PROGNAME-LIST
4584   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4585 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4586 do
4587   IFS=$as_save_IFS
4588   test -z "$as_dir" && as_dir=.
4589     for ac_prog in grep ggrep; do
4590     for ac_exec_ext in '' $ac_executable_extensions; do
4591       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4592       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4593 # Check for GNU ac_path_GREP and select it if it is found.
4594   # Check for GNU $ac_path_GREP
4595 case `"$ac_path_GREP" --version 2>&1` in
4596 *GNU*)
4597   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4598 *)
4599   ac_count=0
4600   $as_echo_n 0123456789 >"conftest.in"
4601   while :
4602   do
4603     cat "conftest.in" "conftest.in" >"conftest.tmp"
4604     mv "conftest.tmp" "conftest.in"
4605     cp "conftest.in" "conftest.nl"
4606     $as_echo 'GREP' >> "conftest.nl"
4607     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4608     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4609     as_fn_arith $ac_count + 1 && ac_count=$as_val
4610     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4611       # Best one so far, save it but keep looking for a better one
4612       ac_cv_path_GREP="$ac_path_GREP"
4613       ac_path_GREP_max=$ac_count
4614     fi
4615     # 10*(2^10) chars as input seems more than enough
4616     test $ac_count -gt 10 && break
4617   done
4618   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4619 esac
4620
4621       $ac_path_GREP_found && break 3
4622     done
4623   done
4624   done
4625 IFS=$as_save_IFS
4626   if test -z "$ac_cv_path_GREP"; then
4627     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4628   fi
4629 else
4630   ac_cv_path_GREP=$GREP
4631 fi
4632
4633 fi
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4635 $as_echo "$ac_cv_path_GREP" >&6; }
4636  GREP="$ac_cv_path_GREP"
4637
4638
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4640 $as_echo_n "checking for egrep... " >&6; }
4641 if test "${ac_cv_path_EGREP+set}" = set; then :
4642   $as_echo_n "(cached) " >&6
4643 else
4644   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4645    then ac_cv_path_EGREP="$GREP -E"
4646    else
4647      if test -z "$EGREP"; then
4648   ac_path_EGREP_found=false
4649   # Loop through the user's path and test for each of PROGNAME-LIST
4650   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4651 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4652 do
4653   IFS=$as_save_IFS
4654   test -z "$as_dir" && as_dir=.
4655     for ac_prog in egrep; do
4656     for ac_exec_ext in '' $ac_executable_extensions; do
4657       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4658       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4659 # Check for GNU ac_path_EGREP and select it if it is found.
4660   # Check for GNU $ac_path_EGREP
4661 case `"$ac_path_EGREP" --version 2>&1` in
4662 *GNU*)
4663   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4664 *)
4665   ac_count=0
4666   $as_echo_n 0123456789 >"conftest.in"
4667   while :
4668   do
4669     cat "conftest.in" "conftest.in" >"conftest.tmp"
4670     mv "conftest.tmp" "conftest.in"
4671     cp "conftest.in" "conftest.nl"
4672     $as_echo 'EGREP' >> "conftest.nl"
4673     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4674     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4675     as_fn_arith $ac_count + 1 && ac_count=$as_val
4676     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4677       # Best one so far, save it but keep looking for a better one
4678       ac_cv_path_EGREP="$ac_path_EGREP"
4679       ac_path_EGREP_max=$ac_count
4680     fi
4681     # 10*(2^10) chars as input seems more than enough
4682     test $ac_count -gt 10 && break
4683   done
4684   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4685 esac
4686
4687       $ac_path_EGREP_found && break 3
4688     done
4689   done
4690   done
4691 IFS=$as_save_IFS
4692   if test -z "$ac_cv_path_EGREP"; then
4693     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4694   fi
4695 else
4696   ac_cv_path_EGREP=$EGREP
4697 fi
4698
4699    fi
4700 fi
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4702 $as_echo "$ac_cv_path_EGREP" >&6; }
4703  EGREP="$ac_cv_path_EGREP"
4704
4705
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4707 $as_echo_n "checking for fgrep... " >&6; }
4708 if test "${ac_cv_path_FGREP+set}" = set; then :
4709   $as_echo_n "(cached) " >&6
4710 else
4711   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4712    then ac_cv_path_FGREP="$GREP -F"
4713    else
4714      if test -z "$FGREP"; then
4715   ac_path_FGREP_found=false
4716   # Loop through the user's path and test for each of PROGNAME-LIST
4717   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4718 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4719 do
4720   IFS=$as_save_IFS
4721   test -z "$as_dir" && as_dir=.
4722     for ac_prog in fgrep; do
4723     for ac_exec_ext in '' $ac_executable_extensions; do
4724       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4725       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4726 # Check for GNU ac_path_FGREP and select it if it is found.
4727   # Check for GNU $ac_path_FGREP
4728 case `"$ac_path_FGREP" --version 2>&1` in
4729 *GNU*)
4730   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4731 *)
4732   ac_count=0
4733   $as_echo_n 0123456789 >"conftest.in"
4734   while :
4735   do
4736     cat "conftest.in" "conftest.in" >"conftest.tmp"
4737     mv "conftest.tmp" "conftest.in"
4738     cp "conftest.in" "conftest.nl"
4739     $as_echo 'FGREP' >> "conftest.nl"
4740     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4741     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4742     as_fn_arith $ac_count + 1 && ac_count=$as_val
4743     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4744       # Best one so far, save it but keep looking for a better one
4745       ac_cv_path_FGREP="$ac_path_FGREP"
4746       ac_path_FGREP_max=$ac_count
4747     fi
4748     # 10*(2^10) chars as input seems more than enough
4749     test $ac_count -gt 10 && break
4750   done
4751   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4752 esac
4753
4754       $ac_path_FGREP_found && break 3
4755     done
4756   done
4757   done
4758 IFS=$as_save_IFS
4759   if test -z "$ac_cv_path_FGREP"; then
4760     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4761   fi
4762 else
4763   ac_cv_path_FGREP=$FGREP
4764 fi
4765
4766    fi
4767 fi
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4769 $as_echo "$ac_cv_path_FGREP" >&6; }
4770  FGREP="$ac_cv_path_FGREP"
4771
4772
4773 test -z "$GREP" && GREP=grep
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793 # Check whether --with-gnu-ld was given.
4794 if test "${with_gnu_ld+set}" = set; then :
4795   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4796 else
4797   with_gnu_ld=no
4798 fi
4799
4800 ac_prog=ld
4801 if test "$GCC" = yes; then
4802   # Check if gcc -print-prog-name=ld gives a path.
4803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4804 $as_echo_n "checking for ld used by $CC... " >&6; }
4805   case $host in
4806   *-*-mingw*)
4807     # gcc leaves a trailing carriage return which upsets mingw
4808     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4809   *)
4810     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4811   esac
4812   case $ac_prog in
4813     # Accept absolute paths.
4814     [\\/]* | ?:[\\/]*)
4815       re_direlt='/[^/][^/]*/\.\./'
4816       # Canonicalize the pathname of ld
4817       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4818       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4819         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4820       done
4821       test -z "$LD" && LD="$ac_prog"
4822       ;;
4823   "")
4824     # If it fails, then pretend we aren't using GCC.
4825     ac_prog=ld
4826     ;;
4827   *)
4828     # If it is relative, then search for the first ld in PATH.
4829     with_gnu_ld=unknown
4830     ;;
4831   esac
4832 elif test "$with_gnu_ld" = yes; then
4833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4834 $as_echo_n "checking for GNU ld... " >&6; }
4835 else
4836   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4837 $as_echo_n "checking for non-GNU ld... " >&6; }
4838 fi
4839 if test "${lt_cv_path_LD+set}" = set; then :
4840   $as_echo_n "(cached) " >&6
4841 else
4842   if test -z "$LD"; then
4843   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4844   for ac_dir in $PATH; do
4845     IFS="$lt_save_ifs"
4846     test -z "$ac_dir" && ac_dir=.
4847     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4848       lt_cv_path_LD="$ac_dir/$ac_prog"
4849       # Check to see if the program is GNU ld.  I'd rather use --version,
4850       # but apparently some variants of GNU ld only accept -v.
4851       # Break only if it was the GNU/non-GNU ld that we prefer.
4852       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4853       *GNU* | *'with BFD'*)
4854         test "$with_gnu_ld" != no && break
4855         ;;
4856       *)
4857         test "$with_gnu_ld" != yes && break
4858         ;;
4859       esac
4860     fi
4861   done
4862   IFS="$lt_save_ifs"
4863 else
4864   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4865 fi
4866 fi
4867
4868 LD="$lt_cv_path_LD"
4869 if test -n "$LD"; then
4870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4871 $as_echo "$LD" >&6; }
4872 else
4873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4874 $as_echo "no" >&6; }
4875 fi
4876 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4878 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4879 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4880   $as_echo_n "(cached) " >&6
4881 else
4882   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4883 case `$LD -v 2>&1 </dev/null` in
4884 *GNU* | *'with BFD'*)
4885   lt_cv_prog_gnu_ld=yes
4886   ;;
4887 *)
4888   lt_cv_prog_gnu_ld=no
4889   ;;
4890 esac
4891 fi
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4893 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4894 with_gnu_ld=$lt_cv_prog_gnu_ld
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4905 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4906 if test "${lt_cv_path_NM+set}" = set; then :
4907   $as_echo_n "(cached) " >&6
4908 else
4909   if test -n "$NM"; then
4910   # Let the user override the test.
4911   lt_cv_path_NM="$NM"
4912 else
4913   lt_nm_to_check="${ac_tool_prefix}nm"
4914   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4915     lt_nm_to_check="$lt_nm_to_check nm"
4916   fi
4917   for lt_tmp_nm in $lt_nm_to_check; do
4918     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4919     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4920       IFS="$lt_save_ifs"
4921       test -z "$ac_dir" && ac_dir=.
4922       tmp_nm="$ac_dir/$lt_tmp_nm"
4923       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4924         # Check to see if the nm accepts a BSD-compat flag.
4925         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4926         #   nm: unknown option "B" ignored
4927         # Tru64's nm complains that /dev/null is an invalid object file
4928         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4929         */dev/null* | *'Invalid file or object type'*)
4930           lt_cv_path_NM="$tmp_nm -B"
4931           break
4932           ;;
4933         *)
4934           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4935           */dev/null*)
4936             lt_cv_path_NM="$tmp_nm -p"
4937             break
4938             ;;
4939           *)
4940             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4941             continue # so that we can try to find one that supports BSD flags
4942             ;;
4943           esac
4944           ;;
4945         esac
4946       fi
4947     done
4948     IFS="$lt_save_ifs"
4949   done
4950   : ${lt_cv_path_NM=no}
4951 fi
4952 fi
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4954 $as_echo "$lt_cv_path_NM" >&6; }
4955 if test "$lt_cv_path_NM" != "no"; then
4956   NM="$lt_cv_path_NM"
4957 else
4958   # Didn't find any BSD compatible name lister, look for dumpbin.
4959   if test -n "$ac_tool_prefix"; then
4960   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4961   do
4962     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4963 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4965 $as_echo_n "checking for $ac_word... " >&6; }
4966 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4967   $as_echo_n "(cached) " >&6
4968 else
4969   if test -n "$DUMPBIN"; then
4970   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4971 else
4972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4973 for as_dir in $PATH
4974 do
4975   IFS=$as_save_IFS
4976   test -z "$as_dir" && as_dir=.
4977     for ac_exec_ext in '' $ac_executable_extensions; do
4978   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4979     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4980     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4981     break 2
4982   fi
4983 done
4984   done
4985 IFS=$as_save_IFS
4986
4987 fi
4988 fi
4989 DUMPBIN=$ac_cv_prog_DUMPBIN
4990 if test -n "$DUMPBIN"; then
4991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4992 $as_echo "$DUMPBIN" >&6; }
4993 else
4994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4995 $as_echo "no" >&6; }
4996 fi
4997
4998
4999     test -n "$DUMPBIN" && break
5000   done
5001 fi
5002 if test -z "$DUMPBIN"; then
5003   ac_ct_DUMPBIN=$DUMPBIN
5004   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5005 do
5006   # Extract the first word of "$ac_prog", so it can be a program name with args.
5007 set dummy $ac_prog; ac_word=$2
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5009 $as_echo_n "checking for $ac_word... " >&6; }
5010 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5011   $as_echo_n "(cached) " >&6
5012 else
5013   if test -n "$ac_ct_DUMPBIN"; then
5014   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5015 else
5016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5017 for as_dir in $PATH
5018 do
5019   IFS=$as_save_IFS
5020   test -z "$as_dir" && as_dir=.
5021     for ac_exec_ext in '' $ac_executable_extensions; do
5022   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5023     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5024     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5025     break 2
5026   fi
5027 done
5028   done
5029 IFS=$as_save_IFS
5030
5031 fi
5032 fi
5033 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5034 if test -n "$ac_ct_DUMPBIN"; then
5035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5036 $as_echo "$ac_ct_DUMPBIN" >&6; }
5037 else
5038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5039 $as_echo "no" >&6; }
5040 fi
5041
5042
5043   test -n "$ac_ct_DUMPBIN" && break
5044 done
5045
5046   if test "x$ac_ct_DUMPBIN" = x; then
5047     DUMPBIN=":"
5048   else
5049     case $cross_compiling:$ac_tool_warned in
5050 yes:)
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5052 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5053 ac_tool_warned=yes ;;
5054 esac
5055     DUMPBIN=$ac_ct_DUMPBIN
5056   fi
5057 fi
5058
5059
5060   if test "$DUMPBIN" != ":"; then
5061     NM="$DUMPBIN"
5062   fi
5063 fi
5064 test -z "$NM" && NM=nm
5065
5066
5067
5068
5069
5070
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5072 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5073 if test "${lt_cv_nm_interface+set}" = set; then :
5074   $as_echo_n "(cached) " >&6
5075 else
5076   lt_cv_nm_interface="BSD nm"
5077   echo "int some_variable = 0;" > conftest.$ac_ext
5078   (eval echo "\"\$as_me:5078: $ac_compile\"" >&5)
5079   (eval "$ac_compile" 2>conftest.err)
5080   cat conftest.err >&5
5081   (eval echo "\"\$as_me:5081: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5082   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5083   cat conftest.err >&5
5084   (eval echo "\"\$as_me:5084: output\"" >&5)
5085   cat conftest.out >&5
5086   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5087     lt_cv_nm_interface="MS dumpbin"
5088   fi
5089   rm -f conftest*
5090 fi
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5092 $as_echo "$lt_cv_nm_interface" >&6; }
5093
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5095 $as_echo_n "checking whether ln -s works... " >&6; }
5096 LN_S=$as_ln_s
5097 if test "$LN_S" = "ln -s"; then
5098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5099 $as_echo "yes" >&6; }
5100 else
5101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5102 $as_echo "no, using $LN_S" >&6; }
5103 fi
5104
5105 # find the maximum length of command line arguments
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5107 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5108 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5109   $as_echo_n "(cached) " >&6
5110 else
5111     i=0
5112   teststring="ABCD"
5113
5114   case $build_os in
5115   msdosdjgpp*)
5116     # On DJGPP, this test can blow up pretty badly due to problems in libc
5117     # (any single argument exceeding 2000 bytes causes a buffer overrun
5118     # during glob expansion).  Even if it were fixed, the result of this
5119     # check would be larger than it should be.
5120     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5121     ;;
5122
5123   gnu*)
5124     # Under GNU Hurd, this test is not required because there is
5125     # no limit to the length of command line arguments.
5126     # Libtool will interpret -1 as no limit whatsoever
5127     lt_cv_sys_max_cmd_len=-1;
5128     ;;
5129
5130   cygwin* | mingw* | cegcc*)
5131     # On Win9x/ME, this test blows up -- it succeeds, but takes
5132     # about 5 minutes as the teststring grows exponentially.
5133     # Worse, since 9x/ME are not pre-emptively multitasking,
5134     # you end up with a "frozen" computer, even though with patience
5135     # the test eventually succeeds (with a max line length of 256k).
5136     # Instead, let's just punt: use the minimum linelength reported by
5137     # all of the supported platforms: 8192 (on NT/2K/XP).
5138     lt_cv_sys_max_cmd_len=8192;
5139     ;;
5140
5141   amigaos*)
5142     # On AmigaOS with pdksh, this test takes hours, literally.
5143     # So we just punt and use a minimum line length of 8192.
5144     lt_cv_sys_max_cmd_len=8192;
5145     ;;
5146
5147   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5148     # This has been around since 386BSD, at least.  Likely further.
5149     if test -x /sbin/sysctl; then
5150       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5151     elif test -x /usr/sbin/sysctl; then
5152       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5153     else
5154       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5155     fi
5156     # And add a safety zone
5157     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5158     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5159     ;;
5160
5161   interix*)
5162     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5163     lt_cv_sys_max_cmd_len=196608
5164     ;;
5165
5166   osf*)
5167     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5168     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5169     # nice to cause kernel panics so lets avoid the loop below.
5170     # First set a reasonable default.
5171     lt_cv_sys_max_cmd_len=16384
5172     #
5173     if test -x /sbin/sysconfig; then
5174       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5175         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5176       esac
5177     fi
5178     ;;
5179   sco3.2v5*)
5180     lt_cv_sys_max_cmd_len=102400
5181     ;;
5182   sysv5* | sco5v6* | sysv4.2uw2*)
5183     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5184     if test -n "$kargmax"; then
5185       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5186     else
5187       lt_cv_sys_max_cmd_len=32768
5188     fi
5189     ;;
5190   *)
5191     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5192     if test -n "$lt_cv_sys_max_cmd_len"; then
5193       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5194       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5195     else
5196       # Make teststring a little bigger before we do anything with it.
5197       # a 1K string should be a reasonable start.
5198       for i in 1 2 3 4 5 6 7 8 ; do
5199         teststring=$teststring$teststring
5200       done
5201       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5202       # If test is not a shell built-in, we'll probably end up computing a
5203       # maximum length that is only half of the actual maximum length, but
5204       # we can't tell.
5205       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5206                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5207               test $i != 17 # 1/2 MB should be enough
5208       do
5209         i=`expr $i + 1`
5210         teststring=$teststring$teststring
5211       done
5212       # Only check the string length outside the loop.
5213       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5214       teststring=
5215       # Add a significant safety factor because C++ compilers can tack on
5216       # massive amounts of additional arguments before passing them to the
5217       # linker.  It appears as though 1/2 is a usable value.
5218       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5219     fi
5220     ;;
5221   esac
5222
5223 fi
5224
5225 if test -n $lt_cv_sys_max_cmd_len ; then
5226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5227 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5228 else
5229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5230 $as_echo "none" >&6; }
5231 fi
5232 max_cmd_len=$lt_cv_sys_max_cmd_len
5233
5234
5235
5236
5237
5238
5239 : ${CP="cp -f"}
5240 : ${MV="mv -f"}
5241 : ${RM="rm -f"}
5242
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5244 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5245 # Try some XSI features
5246 xsi_shell=no
5247 ( _lt_dummy="a/b/c"
5248   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5249       = c,a/b,, \
5250     && eval 'test $(( 1 + 1 )) -eq 2 \
5251     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5252   && xsi_shell=yes
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5254 $as_echo "$xsi_shell" >&6; }
5255
5256
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5258 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5259 lt_shell_append=no
5260 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5261     >/dev/null 2>&1 \
5262   && lt_shell_append=yes
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5264 $as_echo "$lt_shell_append" >&6; }
5265
5266
5267 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5268   lt_unset=unset
5269 else
5270   lt_unset=false
5271 fi
5272
5273
5274
5275
5276
5277 # test EBCDIC or ASCII
5278 case `echo X|tr X '\101'` in
5279  A) # ASCII based system
5280     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5281   lt_SP2NL='tr \040 \012'
5282   lt_NL2SP='tr \015\012 \040\040'
5283   ;;
5284  *) # EBCDIC based system
5285   lt_SP2NL='tr \100 \n'
5286   lt_NL2SP='tr \r\n \100\100'
5287   ;;
5288 esac
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5299 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5300 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5301   $as_echo_n "(cached) " >&6
5302 else
5303   lt_cv_ld_reload_flag='-r'
5304 fi
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5306 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5307 reload_flag=$lt_cv_ld_reload_flag
5308 case $reload_flag in
5309 "" | " "*) ;;
5310 *) reload_flag=" $reload_flag" ;;
5311 esac
5312 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5313 case $host_os in
5314   darwin*)
5315     if test "$GCC" = yes; then
5316       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5317     else
5318       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5319     fi
5320     ;;
5321 esac
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331 if test -n "$ac_tool_prefix"; then
5332   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5333 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5335 $as_echo_n "checking for $ac_word... " >&6; }
5336 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5337   $as_echo_n "(cached) " >&6
5338 else
5339   if test -n "$OBJDUMP"; then
5340   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5341 else
5342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5343 for as_dir in $PATH
5344 do
5345   IFS=$as_save_IFS
5346   test -z "$as_dir" && as_dir=.
5347     for ac_exec_ext in '' $ac_executable_extensions; do
5348   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5349     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5350     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5351     break 2
5352   fi
5353 done
5354   done
5355 IFS=$as_save_IFS
5356
5357 fi
5358 fi
5359 OBJDUMP=$ac_cv_prog_OBJDUMP
5360 if test -n "$OBJDUMP"; then
5361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5362 $as_echo "$OBJDUMP" >&6; }
5363 else
5364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5365 $as_echo "no" >&6; }
5366 fi
5367
5368
5369 fi
5370 if test -z "$ac_cv_prog_OBJDUMP"; then
5371   ac_ct_OBJDUMP=$OBJDUMP
5372   # Extract the first word of "objdump", so it can be a program name with args.
5373 set dummy objdump; ac_word=$2
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5375 $as_echo_n "checking for $ac_word... " >&6; }
5376 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5377   $as_echo_n "(cached) " >&6
5378 else
5379   if test -n "$ac_ct_OBJDUMP"; then
5380   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5381 else
5382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5383 for as_dir in $PATH
5384 do
5385   IFS=$as_save_IFS
5386   test -z "$as_dir" && as_dir=.
5387     for ac_exec_ext in '' $ac_executable_extensions; do
5388   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5389     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5390     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5391     break 2
5392   fi
5393 done
5394   done
5395 IFS=$as_save_IFS
5396
5397 fi
5398 fi
5399 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5400 if test -n "$ac_ct_OBJDUMP"; then
5401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5402 $as_echo "$ac_ct_OBJDUMP" >&6; }
5403 else
5404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5405 $as_echo "no" >&6; }
5406 fi
5407
5408   if test "x$ac_ct_OBJDUMP" = x; then
5409     OBJDUMP="false"
5410   else
5411     case $cross_compiling:$ac_tool_warned in
5412 yes:)
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5415 ac_tool_warned=yes ;;
5416 esac
5417     OBJDUMP=$ac_ct_OBJDUMP
5418   fi
5419 else
5420   OBJDUMP="$ac_cv_prog_OBJDUMP"
5421 fi
5422
5423 test -z "$OBJDUMP" && OBJDUMP=objdump
5424
5425
5426
5427
5428
5429
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5431 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5432 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5433   $as_echo_n "(cached) " >&6
5434 else
5435   lt_cv_file_magic_cmd='$MAGIC_CMD'
5436 lt_cv_file_magic_test_file=
5437 lt_cv_deplibs_check_method='unknown'
5438 # Need to set the preceding variable on all platforms that support
5439 # interlibrary dependencies.
5440 # 'none' -- dependencies not supported.
5441 # `unknown' -- same as none, but documents that we really don't know.
5442 # 'pass_all' -- all dependencies passed with no checks.
5443 # 'test_compile' -- check by making test program.
5444 # 'file_magic [[regex]]' -- check by looking for files in library path
5445 # which responds to the $file_magic_cmd with a given extended regex.
5446 # If you have `file' or equivalent on your system and you're not sure
5447 # whether `pass_all' will *always* work, you probably want this one.
5448
5449 case $host_os in
5450 aix[4-9]*)
5451   lt_cv_deplibs_check_method=pass_all
5452   ;;
5453
5454 beos*)
5455   lt_cv_deplibs_check_method=pass_all
5456   ;;
5457
5458 bsdi[45]*)
5459   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5460   lt_cv_file_magic_cmd='/usr/bin/file -L'
5461   lt_cv_file_magic_test_file=/shlib/libc.so
5462   ;;
5463
5464 cygwin*)
5465   # func_win32_libid is a shell function defined in ltmain.sh
5466   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5467   lt_cv_file_magic_cmd='func_win32_libid'
5468   ;;
5469
5470 mingw* | pw32*)
5471   # Base MSYS/MinGW do not provide the 'file' command needed by
5472   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5473   # unless we find 'file', for example because we are cross-compiling.
5474   if ( file / ) >/dev/null 2>&1; then
5475     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5476     lt_cv_file_magic_cmd='func_win32_libid'
5477   else
5478     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5479     lt_cv_file_magic_cmd='$OBJDUMP -f'
5480   fi
5481   ;;
5482
5483 cegcc)
5484   # use the weaker test based on 'objdump'. See mingw*.
5485   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5486   lt_cv_file_magic_cmd='$OBJDUMP -f'
5487   ;;
5488
5489 darwin* | rhapsody*)
5490   lt_cv_deplibs_check_method=pass_all
5491   ;;
5492
5493 freebsd* | dragonfly*)
5494   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5495     case $host_cpu in
5496     i*86 )
5497       # Not sure whether the presence of OpenBSD here was a mistake.
5498       # Let's accept both of them until this is cleared up.
5499       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5500       lt_cv_file_magic_cmd=/usr/bin/file
5501       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5502       ;;
5503     esac
5504   else
5505     lt_cv_deplibs_check_method=pass_all
5506   fi
5507   ;;
5508
5509 gnu*)
5510   lt_cv_deplibs_check_method=pass_all
5511   ;;
5512
5513 hpux10.20* | hpux11*)
5514   lt_cv_file_magic_cmd=/usr/bin/file
5515   case $host_cpu in
5516   ia64*)
5517     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5518     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5519     ;;
5520   hppa*64*)
5521     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5522     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5523     ;;
5524   *)
5525     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5526     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5527     ;;
5528   esac
5529   ;;
5530
5531 interix[3-9]*)
5532   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5533   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5534   ;;
5535
5536 irix5* | irix6* | nonstopux*)
5537   case $LD in
5538   *-32|*"-32 ") libmagic=32-bit;;
5539   *-n32|*"-n32 ") libmagic=N32;;
5540   *-64|*"-64 ") libmagic=64-bit;;
5541   *) libmagic=never-match;;
5542   esac
5543   lt_cv_deplibs_check_method=pass_all
5544   ;;
5545
5546 # This must be Linux ELF.
5547 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5548   lt_cv_deplibs_check_method=pass_all
5549   ;;
5550
5551 netbsd* | netbsdelf*-gnu)
5552   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5553     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5554   else
5555     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5556   fi
5557   ;;
5558
5559 newos6*)
5560   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5561   lt_cv_file_magic_cmd=/usr/bin/file
5562   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5563   ;;
5564
5565 *nto* | *qnx*)
5566   lt_cv_deplibs_check_method=pass_all
5567   ;;
5568
5569 openbsd*)
5570   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5571     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5572   else
5573     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5574   fi
5575   ;;
5576
5577 osf3* | osf4* | osf5*)
5578   lt_cv_deplibs_check_method=pass_all
5579   ;;
5580
5581 rdos*)
5582   lt_cv_deplibs_check_method=pass_all
5583   ;;
5584
5585 solaris*)
5586   lt_cv_deplibs_check_method=pass_all
5587   ;;
5588
5589 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5590   lt_cv_deplibs_check_method=pass_all
5591   ;;
5592
5593 sysv4 | sysv4.3*)
5594   case $host_vendor in
5595   motorola)
5596     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]'
5597     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5598     ;;
5599   ncr)
5600     lt_cv_deplibs_check_method=pass_all
5601     ;;
5602   sequent)
5603     lt_cv_file_magic_cmd='/bin/file'
5604     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5605     ;;
5606   sni)
5607     lt_cv_file_magic_cmd='/bin/file'
5608     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5609     lt_cv_file_magic_test_file=/lib/libc.so
5610     ;;
5611   siemens)
5612     lt_cv_deplibs_check_method=pass_all
5613     ;;
5614   pc)
5615     lt_cv_deplibs_check_method=pass_all
5616     ;;
5617   esac
5618   ;;
5619
5620 tpf*)
5621   lt_cv_deplibs_check_method=pass_all
5622   ;;
5623 esac
5624
5625 fi
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5627 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5628 file_magic_cmd=$lt_cv_file_magic_cmd
5629 deplibs_check_method=$lt_cv_deplibs_check_method
5630 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643 if test -n "$ac_tool_prefix"; then
5644   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5645 set dummy ${ac_tool_prefix}ar; ac_word=$2
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5647 $as_echo_n "checking for $ac_word... " >&6; }
5648 if test "${ac_cv_prog_AR+set}" = set; then :
5649   $as_echo_n "(cached) " >&6
5650 else
5651   if test -n "$AR"; then
5652   ac_cv_prog_AR="$AR" # Let the user override the test.
5653 else
5654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5655 for as_dir in $PATH
5656 do
5657   IFS=$as_save_IFS
5658   test -z "$as_dir" && as_dir=.
5659     for ac_exec_ext in '' $ac_executable_extensions; do
5660   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5661     ac_cv_prog_AR="${ac_tool_prefix}ar"
5662     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5663     break 2
5664   fi
5665 done
5666   done
5667 IFS=$as_save_IFS
5668
5669 fi
5670 fi
5671 AR=$ac_cv_prog_AR
5672 if test -n "$AR"; then
5673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5674 $as_echo "$AR" >&6; }
5675 else
5676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5677 $as_echo "no" >&6; }
5678 fi
5679
5680
5681 fi
5682 if test -z "$ac_cv_prog_AR"; then
5683   ac_ct_AR=$AR
5684   # Extract the first word of "ar", so it can be a program name with args.
5685 set dummy ar; ac_word=$2
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5687 $as_echo_n "checking for $ac_word... " >&6; }
5688 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5689   $as_echo_n "(cached) " >&6
5690 else
5691   if test -n "$ac_ct_AR"; then
5692   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5693 else
5694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5695 for as_dir in $PATH
5696 do
5697   IFS=$as_save_IFS
5698   test -z "$as_dir" && as_dir=.
5699     for ac_exec_ext in '' $ac_executable_extensions; do
5700   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5701     ac_cv_prog_ac_ct_AR="ar"
5702     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5703     break 2
5704   fi
5705 done
5706   done
5707 IFS=$as_save_IFS
5708
5709 fi
5710 fi
5711 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5712 if test -n "$ac_ct_AR"; then
5713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5714 $as_echo "$ac_ct_AR" >&6; }
5715 else
5716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5717 $as_echo "no" >&6; }
5718 fi
5719
5720   if test "x$ac_ct_AR" = x; then
5721     AR="false"
5722   else
5723     case $cross_compiling:$ac_tool_warned in
5724 yes:)
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5727 ac_tool_warned=yes ;;
5728 esac
5729     AR=$ac_ct_AR
5730   fi
5731 else
5732   AR="$ac_cv_prog_AR"
5733 fi
5734
5735 test -z "$AR" && AR=ar
5736 test -z "$AR_FLAGS" && AR_FLAGS=cru
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748 if test -n "$ac_tool_prefix"; then
5749   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5750 set dummy ${ac_tool_prefix}strip; ac_word=$2
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5752 $as_echo_n "checking for $ac_word... " >&6; }
5753 if test "${ac_cv_prog_STRIP+set}" = set; then :
5754   $as_echo_n "(cached) " >&6
5755 else
5756   if test -n "$STRIP"; then
5757   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5758 else
5759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5760 for as_dir in $PATH
5761 do
5762   IFS=$as_save_IFS
5763   test -z "$as_dir" && as_dir=.
5764     for ac_exec_ext in '' $ac_executable_extensions; do
5765   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5766     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5767     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5768     break 2
5769   fi
5770 done
5771   done
5772 IFS=$as_save_IFS
5773
5774 fi
5775 fi
5776 STRIP=$ac_cv_prog_STRIP
5777 if test -n "$STRIP"; then
5778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5779 $as_echo "$STRIP" >&6; }
5780 else
5781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5782 $as_echo "no" >&6; }
5783 fi
5784
5785
5786 fi
5787 if test -z "$ac_cv_prog_STRIP"; then
5788   ac_ct_STRIP=$STRIP
5789   # Extract the first word of "strip", so it can be a program name with args.
5790 set dummy strip; ac_word=$2
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5792 $as_echo_n "checking for $ac_word... " >&6; }
5793 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5794   $as_echo_n "(cached) " >&6
5795 else
5796   if test -n "$ac_ct_STRIP"; then
5797   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5798 else
5799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5800 for as_dir in $PATH
5801 do
5802   IFS=$as_save_IFS
5803   test -z "$as_dir" && as_dir=.
5804     for ac_exec_ext in '' $ac_executable_extensions; do
5805   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5806     ac_cv_prog_ac_ct_STRIP="strip"
5807     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5808     break 2
5809   fi
5810 done
5811   done
5812 IFS=$as_save_IFS
5813
5814 fi
5815 fi
5816 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5817 if test -n "$ac_ct_STRIP"; then
5818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5819 $as_echo "$ac_ct_STRIP" >&6; }
5820 else
5821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5822 $as_echo "no" >&6; }
5823 fi
5824
5825   if test "x$ac_ct_STRIP" = x; then
5826     STRIP=":"
5827   else
5828     case $cross_compiling:$ac_tool_warned in
5829 yes:)
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5831 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5832 ac_tool_warned=yes ;;
5833 esac
5834     STRIP=$ac_ct_STRIP
5835   fi
5836 else
5837   STRIP="$ac_cv_prog_STRIP"
5838 fi
5839
5840 test -z "$STRIP" && STRIP=:
5841
5842
5843
5844
5845
5846
5847 if test -n "$ac_tool_prefix"; then
5848   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5849 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5851 $as_echo_n "checking for $ac_word... " >&6; }
5852 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5853   $as_echo_n "(cached) " >&6
5854 else
5855   if test -n "$RANLIB"; then
5856   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5857 else
5858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5859 for as_dir in $PATH
5860 do
5861   IFS=$as_save_IFS
5862   test -z "$as_dir" && as_dir=.
5863     for ac_exec_ext in '' $ac_executable_extensions; do
5864   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5865     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5866     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5867     break 2
5868   fi
5869 done
5870   done
5871 IFS=$as_save_IFS
5872
5873 fi
5874 fi
5875 RANLIB=$ac_cv_prog_RANLIB
5876 if test -n "$RANLIB"; then
5877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5878 $as_echo "$RANLIB" >&6; }
5879 else
5880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5881 $as_echo "no" >&6; }
5882 fi
5883
5884
5885 fi
5886 if test -z "$ac_cv_prog_RANLIB"; then
5887   ac_ct_RANLIB=$RANLIB
5888   # Extract the first word of "ranlib", so it can be a program name with args.
5889 set dummy ranlib; ac_word=$2
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5891 $as_echo_n "checking for $ac_word... " >&6; }
5892 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5893   $as_echo_n "(cached) " >&6
5894 else
5895   if test -n "$ac_ct_RANLIB"; then
5896   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5897 else
5898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5899 for as_dir in $PATH
5900 do
5901   IFS=$as_save_IFS
5902   test -z "$as_dir" && as_dir=.
5903     for ac_exec_ext in '' $ac_executable_extensions; do
5904   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5905     ac_cv_prog_ac_ct_RANLIB="ranlib"
5906     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5907     break 2
5908   fi
5909 done
5910   done
5911 IFS=$as_save_IFS
5912
5913 fi
5914 fi
5915 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5916 if test -n "$ac_ct_RANLIB"; then
5917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5918 $as_echo "$ac_ct_RANLIB" >&6; }
5919 else
5920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5921 $as_echo "no" >&6; }
5922 fi
5923
5924   if test "x$ac_ct_RANLIB" = x; then
5925     RANLIB=":"
5926   else
5927     case $cross_compiling:$ac_tool_warned in
5928 yes:)
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5931 ac_tool_warned=yes ;;
5932 esac
5933     RANLIB=$ac_ct_RANLIB
5934   fi
5935 else
5936   RANLIB="$ac_cv_prog_RANLIB"
5937 fi
5938
5939 test -z "$RANLIB" && RANLIB=:
5940
5941
5942
5943
5944
5945
5946 # Determine commands to create old-style static archives.
5947 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5948 old_postinstall_cmds='chmod 644 $oldlib'
5949 old_postuninstall_cmds=
5950
5951 if test -n "$RANLIB"; then
5952   case $host_os in
5953   openbsd*)
5954     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5955     ;;
5956   *)
5957     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5958     ;;
5959   esac
5960   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5961 fi
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996 # If no C compiler was specified, use CC.
5997 LTCC=${LTCC-"$CC"}
5998
5999 # If no C compiler flags were specified, use CFLAGS.
6000 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6001
6002 # Allow CC to be a program name with arguments.
6003 compiler=$CC
6004
6005
6006 # Check for command to grab the raw symbol name followed by C symbol from nm.
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6008 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6009 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6010   $as_echo_n "(cached) " >&6
6011 else
6012
6013 # These are sane defaults that work on at least a few old systems.
6014 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6015
6016 # Character class describing NM global symbol codes.
6017 symcode='[BCDEGRST]'
6018
6019 # Regexp to match symbols that can be accessed directly from C.
6020 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6021
6022 # Define system-specific variables.
6023 case $host_os in
6024 aix*)
6025   symcode='[BCDT]'
6026   ;;
6027 cygwin* | mingw* | pw32* | cegcc*)
6028   symcode='[ABCDGISTW]'
6029   ;;
6030 hpux*)
6031   if test "$host_cpu" = ia64; then
6032     symcode='[ABCDEGRST]'
6033   fi
6034   ;;
6035 irix* | nonstopux*)
6036   symcode='[BCDEGRST]'
6037   ;;
6038 osf*)
6039   symcode='[BCDEGQRST]'
6040   ;;
6041 solaris*)
6042   symcode='[BDRT]'
6043   ;;
6044 sco3.2v5*)
6045   symcode='[DT]'
6046   ;;
6047 sysv4.2uw2*)
6048   symcode='[DT]'
6049   ;;
6050 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6051   symcode='[ABDT]'
6052   ;;
6053 sysv4)
6054   symcode='[DFNSTU]'
6055   ;;
6056 esac
6057
6058 # If we're using GNU nm, then use its standard symbol codes.
6059 case `$NM -V 2>&1` in
6060 *GNU* | *'with BFD'*)
6061   symcode='[ABCDGIRSTW]' ;;
6062 esac
6063
6064 # Transform an extracted symbol line into a proper C declaration.
6065 # Some systems (esp. on ia64) link data and code symbols differently,
6066 # so use this general approach.
6067 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6068
6069 # Transform an extracted symbol line into symbol name and symbol address
6070 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6071 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'"
6072
6073 # Handle CRLF in mingw tool chain
6074 opt_cr=
6075 case $build_os in
6076 mingw*)
6077   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6078   ;;
6079 esac
6080
6081 # Try without a prefix underscore, then with it.
6082 for ac_symprfx in "" "_"; do
6083
6084   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6085   symxfrm="\\1 $ac_symprfx\\2 \\2"
6086
6087   # Write the raw and C identifiers.
6088   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6089     # Fake it for dumpbin and say T for any non-static function
6090     # and D for any global variable.
6091     # Also find C++ and __fastcall symbols from MSVC++,
6092     # which start with @ or ?.
6093     lt_cv_sys_global_symbol_pipe="$AWK '"\
6094 "     {last_section=section; section=\$ 3};"\
6095 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6096 "     \$ 0!~/External *\|/{next};"\
6097 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6098 "     {if(hide[section]) next};"\
6099 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6100 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6101 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6102 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6103 "     ' prfx=^$ac_symprfx"
6104   else
6105     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6106   fi
6107
6108   # Check to see that the pipe works correctly.
6109   pipe_works=no
6110
6111   rm -f conftest*
6112   cat > conftest.$ac_ext <<_LT_EOF
6113 #ifdef __cplusplus
6114 extern "C" {
6115 #endif
6116 char nm_test_var;
6117 void nm_test_func(void);
6118 void nm_test_func(void){}
6119 #ifdef __cplusplus
6120 }
6121 #endif
6122 int main(){nm_test_var='a';nm_test_func();return(0);}
6123 _LT_EOF
6124
6125   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6126   (eval $ac_compile) 2>&5
6127   ac_status=$?
6128   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6129   test $ac_status = 0; }; then
6130     # Now try to grab the symbols.
6131     nlist=conftest.nm
6132     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6133   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6134   ac_status=$?
6135   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6136   test $ac_status = 0; } && test -s "$nlist"; then
6137       # Try sorting and uniquifying the output.
6138       if sort "$nlist" | uniq > "$nlist"T; then
6139         mv -f "$nlist"T "$nlist"
6140       else
6141         rm -f "$nlist"T
6142       fi
6143
6144       # Make sure that we snagged all the symbols we need.
6145       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6146         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6147           cat <<_LT_EOF > conftest.$ac_ext
6148 #ifdef __cplusplus
6149 extern "C" {
6150 #endif
6151
6152 _LT_EOF
6153           # Now generate the symbol file.
6154           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6155
6156           cat <<_LT_EOF >> conftest.$ac_ext
6157
6158 /* The mapping between symbol names and symbols.  */
6159 const struct {
6160   const char *name;
6161   void       *address;
6162 }
6163 lt__PROGRAM__LTX_preloaded_symbols[] =
6164 {
6165   { "@PROGRAM@", (void *) 0 },
6166 _LT_EOF
6167           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6168           cat <<\_LT_EOF >> conftest.$ac_ext
6169   {0, (void *) 0}
6170 };
6171
6172 /* This works around a problem in FreeBSD linker */
6173 #ifdef FREEBSD_WORKAROUND
6174 static const void *lt_preloaded_setup() {
6175   return lt__PROGRAM__LTX_preloaded_symbols;
6176 }
6177 #endif
6178
6179 #ifdef __cplusplus
6180 }
6181 #endif
6182 _LT_EOF
6183           # Now try linking the two files.
6184           mv conftest.$ac_objext conftstm.$ac_objext
6185           lt_save_LIBS="$LIBS"
6186           lt_save_CFLAGS="$CFLAGS"
6187           LIBS="conftstm.$ac_objext"
6188           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6189           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6190   (eval $ac_link) 2>&5
6191   ac_status=$?
6192   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6193   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6194             pipe_works=yes
6195           fi
6196           LIBS="$lt_save_LIBS"
6197           CFLAGS="$lt_save_CFLAGS"
6198         else
6199           echo "cannot find nm_test_func in $nlist" >&5
6200         fi
6201       else
6202         echo "cannot find nm_test_var in $nlist" >&5
6203       fi
6204     else
6205       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6206     fi
6207   else
6208     echo "$progname: failed program was:" >&5
6209     cat conftest.$ac_ext >&5
6210   fi
6211   rm -rf conftest* conftst*
6212
6213   # Do not use the global_symbol_pipe unless it works.
6214   if test "$pipe_works" = yes; then
6215     break
6216   else
6217     lt_cv_sys_global_symbol_pipe=
6218   fi
6219 done
6220
6221 fi
6222
6223 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6224   lt_cv_sys_global_symbol_to_cdecl=
6225 fi
6226 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6228 $as_echo "failed" >&6; }
6229 else
6230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6231 $as_echo "ok" >&6; }
6232 fi
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256 # Check whether --enable-libtool-lock was given.
6257 if test "${enable_libtool_lock+set}" = set; then :
6258   enableval=$enable_libtool_lock;
6259 fi
6260
6261 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6262
6263 # Some flags need to be propagated to the compiler or linker for good
6264 # libtool support.
6265 case $host in
6266 ia64-*-hpux*)
6267   # Find out which ABI we are using.
6268   echo 'int i;' > conftest.$ac_ext
6269   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6270   (eval $ac_compile) 2>&5
6271   ac_status=$?
6272   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6273   test $ac_status = 0; }; then
6274     case `/usr/bin/file conftest.$ac_objext` in
6275       *ELF-32*)
6276         HPUX_IA64_MODE="32"
6277         ;;
6278       *ELF-64*)
6279         HPUX_IA64_MODE="64"
6280         ;;
6281     esac
6282   fi
6283   rm -rf conftest*
6284   ;;
6285 *-*-irix6*)
6286   # Find out which ABI we are using.
6287   echo '#line 6287 "configure"' > conftest.$ac_ext
6288   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6289   (eval $ac_compile) 2>&5
6290   ac_status=$?
6291   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6292   test $ac_status = 0; }; then
6293     if test "$lt_cv_prog_gnu_ld" = yes; then
6294       case `/usr/bin/file conftest.$ac_objext` in
6295         *32-bit*)
6296           LD="${LD-ld} -melf32bsmip"
6297           ;;
6298         *N32*)
6299           LD="${LD-ld} -melf32bmipn32"
6300           ;;
6301         *64-bit*)
6302           LD="${LD-ld} -melf64bmip"
6303         ;;
6304       esac
6305     else
6306       case `/usr/bin/file conftest.$ac_objext` in
6307         *32-bit*)
6308           LD="${LD-ld} -32"
6309           ;;
6310         *N32*)
6311           LD="${LD-ld} -n32"
6312           ;;
6313         *64-bit*)
6314           LD="${LD-ld} -64"
6315           ;;
6316       esac
6317     fi
6318   fi
6319   rm -rf conftest*
6320   ;;
6321
6322 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6323 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6324   # Find out which ABI we are using.
6325   echo 'int i;' > conftest.$ac_ext
6326   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6327   (eval $ac_compile) 2>&5
6328   ac_status=$?
6329   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6330   test $ac_status = 0; }; then
6331     case `/usr/bin/file conftest.o` in
6332       *32-bit*)
6333         case $host in
6334           x86_64-*kfreebsd*-gnu)
6335             LD="${LD-ld} -m elf_i386_fbsd"
6336             ;;
6337           x86_64-*linux*)
6338             LD="${LD-ld} -m elf_i386"
6339             ;;
6340           ppc64-*linux*|powerpc64-*linux*)
6341             LD="${LD-ld} -m elf32ppclinux"
6342             ;;
6343           s390x-*linux*)
6344             LD="${LD-ld} -m elf_s390"
6345             ;;
6346           sparc64-*linux*)
6347             LD="${LD-ld} -m elf32_sparc"
6348             ;;
6349         esac
6350         ;;
6351       *64-bit*)
6352         case $host in
6353           x86_64-*kfreebsd*-gnu)
6354             LD="${LD-ld} -m elf_x86_64_fbsd"
6355             ;;
6356           x86_64-*linux*)
6357             LD="${LD-ld} -m elf_x86_64"
6358             ;;
6359           ppc*-*linux*|powerpc*-*linux*)
6360             LD="${LD-ld} -m elf64ppc"
6361             ;;
6362           s390*-*linux*|s390*-*tpf*)
6363             LD="${LD-ld} -m elf64_s390"
6364             ;;
6365           sparc*-*linux*)
6366             LD="${LD-ld} -m elf64_sparc"
6367             ;;
6368         esac
6369         ;;
6370     esac
6371   fi
6372   rm -rf conftest*
6373   ;;
6374
6375 *-*-sco3.2v5*)
6376   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6377   SAVE_CFLAGS="$CFLAGS"
6378   CFLAGS="$CFLAGS -belf"
6379   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6380 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6381 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6382   $as_echo_n "(cached) " >&6
6383 else
6384   ac_ext=c
6385 ac_cpp='$CPP $CPPFLAGS'
6386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6389
6390      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6391 /* end confdefs.h.  */
6392
6393 int
6394 main ()
6395 {
6396
6397   ;
6398   return 0;
6399 }
6400 _ACEOF
6401 if ac_fn_c_try_link "$LINENO"; then :
6402   lt_cv_cc_needs_belf=yes
6403 else
6404   lt_cv_cc_needs_belf=no
6405 fi
6406 rm -f core conftest.err conftest.$ac_objext \
6407     conftest$ac_exeext conftest.$ac_ext
6408      ac_ext=c
6409 ac_cpp='$CPP $CPPFLAGS'
6410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6413
6414 fi
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6416 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6417   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6418     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6419     CFLAGS="$SAVE_CFLAGS"
6420   fi
6421   ;;
6422 sparc*-*solaris*)
6423   # Find out which ABI we are using.
6424   echo 'int i;' > conftest.$ac_ext
6425   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6426   (eval $ac_compile) 2>&5
6427   ac_status=$?
6428   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6429   test $ac_status = 0; }; then
6430     case `/usr/bin/file conftest.o` in
6431     *64-bit*)
6432       case $lt_cv_prog_gnu_ld in
6433       yes*) LD="${LD-ld} -m elf64_sparc" ;;
6434       *)
6435         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6436           LD="${LD-ld} -64"
6437         fi
6438         ;;
6439       esac
6440       ;;
6441     esac
6442   fi
6443   rm -rf conftest*
6444   ;;
6445 esac
6446
6447 need_locks="$enable_libtool_lock"
6448
6449
6450   case $host_os in
6451     rhapsody* | darwin*)
6452     if test -n "$ac_tool_prefix"; then
6453   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6454 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6456 $as_echo_n "checking for $ac_word... " >&6; }
6457 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6458   $as_echo_n "(cached) " >&6
6459 else
6460   if test -n "$DSYMUTIL"; then
6461   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6462 else
6463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6464 for as_dir in $PATH
6465 do
6466   IFS=$as_save_IFS
6467   test -z "$as_dir" && as_dir=.
6468     for ac_exec_ext in '' $ac_executable_extensions; do
6469   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6470     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6471     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6472     break 2
6473   fi
6474 done
6475   done
6476 IFS=$as_save_IFS
6477
6478 fi
6479 fi
6480 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6481 if test -n "$DSYMUTIL"; then
6482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6483 $as_echo "$DSYMUTIL" >&6; }
6484 else
6485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6486 $as_echo "no" >&6; }
6487 fi
6488
6489
6490 fi
6491 if test -z "$ac_cv_prog_DSYMUTIL"; then
6492   ac_ct_DSYMUTIL=$DSYMUTIL
6493   # Extract the first word of "dsymutil", so it can be a program name with args.
6494 set dummy dsymutil; ac_word=$2
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6496 $as_echo_n "checking for $ac_word... " >&6; }
6497 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6498   $as_echo_n "(cached) " >&6
6499 else
6500   if test -n "$ac_ct_DSYMUTIL"; then
6501   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6502 else
6503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6504 for as_dir in $PATH
6505 do
6506   IFS=$as_save_IFS
6507   test -z "$as_dir" && as_dir=.
6508     for ac_exec_ext in '' $ac_executable_extensions; do
6509   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6510     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6511     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6512     break 2
6513   fi
6514 done
6515   done
6516 IFS=$as_save_IFS
6517
6518 fi
6519 fi
6520 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6521 if test -n "$ac_ct_DSYMUTIL"; then
6522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6523 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6524 else
6525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6526 $as_echo "no" >&6; }
6527 fi
6528
6529   if test "x$ac_ct_DSYMUTIL" = x; then
6530     DSYMUTIL=":"
6531   else
6532     case $cross_compiling:$ac_tool_warned in
6533 yes:)
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6536 ac_tool_warned=yes ;;
6537 esac
6538     DSYMUTIL=$ac_ct_DSYMUTIL
6539   fi
6540 else
6541   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6542 fi
6543
6544     if test -n "$ac_tool_prefix"; then
6545   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6546 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6548 $as_echo_n "checking for $ac_word... " >&6; }
6549 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6550   $as_echo_n "(cached) " >&6
6551 else
6552   if test -n "$NMEDIT"; then
6553   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6554 else
6555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6556 for as_dir in $PATH
6557 do
6558   IFS=$as_save_IFS
6559   test -z "$as_dir" && as_dir=.
6560     for ac_exec_ext in '' $ac_executable_extensions; do
6561   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6562     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6563     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6564     break 2
6565   fi
6566 done
6567   done
6568 IFS=$as_save_IFS
6569
6570 fi
6571 fi
6572 NMEDIT=$ac_cv_prog_NMEDIT
6573 if test -n "$NMEDIT"; then
6574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6575 $as_echo "$NMEDIT" >&6; }
6576 else
6577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6578 $as_echo "no" >&6; }
6579 fi
6580
6581
6582 fi
6583 if test -z "$ac_cv_prog_NMEDIT"; then
6584   ac_ct_NMEDIT=$NMEDIT
6585   # Extract the first word of "nmedit", so it can be a program name with args.
6586 set dummy nmedit; ac_word=$2
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6588 $as_echo_n "checking for $ac_word... " >&6; }
6589 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6590   $as_echo_n "(cached) " >&6
6591 else
6592   if test -n "$ac_ct_NMEDIT"; then
6593   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6594 else
6595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6596 for as_dir in $PATH
6597 do
6598   IFS=$as_save_IFS
6599   test -z "$as_dir" && as_dir=.
6600     for ac_exec_ext in '' $ac_executable_extensions; do
6601   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6602     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6603     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6604     break 2
6605   fi
6606 done
6607   done
6608 IFS=$as_save_IFS
6609
6610 fi
6611 fi
6612 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6613 if test -n "$ac_ct_NMEDIT"; then
6614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6615 $as_echo "$ac_ct_NMEDIT" >&6; }
6616 else
6617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6618 $as_echo "no" >&6; }
6619 fi
6620
6621   if test "x$ac_ct_NMEDIT" = x; then
6622     NMEDIT=":"
6623   else
6624     case $cross_compiling:$ac_tool_warned in
6625 yes:)
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6628 ac_tool_warned=yes ;;
6629 esac
6630     NMEDIT=$ac_ct_NMEDIT
6631   fi
6632 else
6633   NMEDIT="$ac_cv_prog_NMEDIT"
6634 fi
6635
6636     if test -n "$ac_tool_prefix"; then
6637   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6638 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6640 $as_echo_n "checking for $ac_word... " >&6; }
6641 if test "${ac_cv_prog_LIPO+set}" = set; then :
6642   $as_echo_n "(cached) " >&6
6643 else
6644   if test -n "$LIPO"; then
6645   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6646 else
6647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6648 for as_dir in $PATH
6649 do
6650   IFS=$as_save_IFS
6651   test -z "$as_dir" && as_dir=.
6652     for ac_exec_ext in '' $ac_executable_extensions; do
6653   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6654     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6655     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6656     break 2
6657   fi
6658 done
6659   done
6660 IFS=$as_save_IFS
6661
6662 fi
6663 fi
6664 LIPO=$ac_cv_prog_LIPO
6665 if test -n "$LIPO"; then
6666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6667 $as_echo "$LIPO" >&6; }
6668 else
6669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6670 $as_echo "no" >&6; }
6671 fi
6672
6673
6674 fi
6675 if test -z "$ac_cv_prog_LIPO"; then
6676   ac_ct_LIPO=$LIPO
6677   # Extract the first word of "lipo", so it can be a program name with args.
6678 set dummy lipo; ac_word=$2
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6680 $as_echo_n "checking for $ac_word... " >&6; }
6681 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6682   $as_echo_n "(cached) " >&6
6683 else
6684   if test -n "$ac_ct_LIPO"; then
6685   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6686 else
6687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6688 for as_dir in $PATH
6689 do
6690   IFS=$as_save_IFS
6691   test -z "$as_dir" && as_dir=.
6692     for ac_exec_ext in '' $ac_executable_extensions; do
6693   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6694     ac_cv_prog_ac_ct_LIPO="lipo"
6695     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6696     break 2
6697   fi
6698 done
6699   done
6700 IFS=$as_save_IFS
6701
6702 fi
6703 fi
6704 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6705 if test -n "$ac_ct_LIPO"; then
6706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6707 $as_echo "$ac_ct_LIPO" >&6; }
6708 else
6709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6710 $as_echo "no" >&6; }
6711 fi
6712
6713   if test "x$ac_ct_LIPO" = x; then
6714     LIPO=":"
6715   else
6716     case $cross_compiling:$ac_tool_warned in
6717 yes:)
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6720 ac_tool_warned=yes ;;
6721 esac
6722     LIPO=$ac_ct_LIPO
6723   fi
6724 else
6725   LIPO="$ac_cv_prog_LIPO"
6726 fi
6727
6728     if test -n "$ac_tool_prefix"; then
6729   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6730 set dummy ${ac_tool_prefix}otool; ac_word=$2
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6732 $as_echo_n "checking for $ac_word... " >&6; }
6733 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6734   $as_echo_n "(cached) " >&6
6735 else
6736   if test -n "$OTOOL"; then
6737   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6738 else
6739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6740 for as_dir in $PATH
6741 do
6742   IFS=$as_save_IFS
6743   test -z "$as_dir" && as_dir=.
6744     for ac_exec_ext in '' $ac_executable_extensions; do
6745   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6746     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6747     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6748     break 2
6749   fi
6750 done
6751   done
6752 IFS=$as_save_IFS
6753
6754 fi
6755 fi
6756 OTOOL=$ac_cv_prog_OTOOL
6757 if test -n "$OTOOL"; then
6758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6759 $as_echo "$OTOOL" >&6; }
6760 else
6761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6762 $as_echo "no" >&6; }
6763 fi
6764
6765
6766 fi
6767 if test -z "$ac_cv_prog_OTOOL"; then
6768   ac_ct_OTOOL=$OTOOL
6769   # Extract the first word of "otool", so it can be a program name with args.
6770 set dummy otool; ac_word=$2
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6772 $as_echo_n "checking for $ac_word... " >&6; }
6773 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6774   $as_echo_n "(cached) " >&6
6775 else
6776   if test -n "$ac_ct_OTOOL"; then
6777   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6778 else
6779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6780 for as_dir in $PATH
6781 do
6782   IFS=$as_save_IFS
6783   test -z "$as_dir" && as_dir=.
6784     for ac_exec_ext in '' $ac_executable_extensions; do
6785   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6786     ac_cv_prog_ac_ct_OTOOL="otool"
6787     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6788     break 2
6789   fi
6790 done
6791   done
6792 IFS=$as_save_IFS
6793
6794 fi
6795 fi
6796 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6797 if test -n "$ac_ct_OTOOL"; then
6798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6799 $as_echo "$ac_ct_OTOOL" >&6; }
6800 else
6801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6802 $as_echo "no" >&6; }
6803 fi
6804
6805   if test "x$ac_ct_OTOOL" = x; then
6806     OTOOL=":"
6807   else
6808     case $cross_compiling:$ac_tool_warned in
6809 yes:)
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6812 ac_tool_warned=yes ;;
6813 esac
6814     OTOOL=$ac_ct_OTOOL
6815   fi
6816 else
6817   OTOOL="$ac_cv_prog_OTOOL"
6818 fi
6819
6820     if test -n "$ac_tool_prefix"; then
6821   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6822 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6824 $as_echo_n "checking for $ac_word... " >&6; }
6825 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6826   $as_echo_n "(cached) " >&6
6827 else
6828   if test -n "$OTOOL64"; then
6829   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6830 else
6831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6832 for as_dir in $PATH
6833 do
6834   IFS=$as_save_IFS
6835   test -z "$as_dir" && as_dir=.
6836     for ac_exec_ext in '' $ac_executable_extensions; do
6837   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6838     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6839     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6840     break 2
6841   fi
6842 done
6843   done
6844 IFS=$as_save_IFS
6845
6846 fi
6847 fi
6848 OTOOL64=$ac_cv_prog_OTOOL64
6849 if test -n "$OTOOL64"; then
6850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6851 $as_echo "$OTOOL64" >&6; }
6852 else
6853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6854 $as_echo "no" >&6; }
6855 fi
6856
6857
6858 fi
6859 if test -z "$ac_cv_prog_OTOOL64"; then
6860   ac_ct_OTOOL64=$OTOOL64
6861   # Extract the first word of "otool64", so it can be a program name with args.
6862 set dummy otool64; ac_word=$2
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6864 $as_echo_n "checking for $ac_word... " >&6; }
6865 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6866   $as_echo_n "(cached) " >&6
6867 else
6868   if test -n "$ac_ct_OTOOL64"; then
6869   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6870 else
6871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6872 for as_dir in $PATH
6873 do
6874   IFS=$as_save_IFS
6875   test -z "$as_dir" && as_dir=.
6876     for ac_exec_ext in '' $ac_executable_extensions; do
6877   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6878     ac_cv_prog_ac_ct_OTOOL64="otool64"
6879     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6880     break 2
6881   fi
6882 done
6883   done
6884 IFS=$as_save_IFS
6885
6886 fi
6887 fi
6888 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6889 if test -n "$ac_ct_OTOOL64"; then
6890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6891 $as_echo "$ac_ct_OTOOL64" >&6; }
6892 else
6893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6894 $as_echo "no" >&6; }
6895 fi
6896
6897   if test "x$ac_ct_OTOOL64" = x; then
6898     OTOOL64=":"
6899   else
6900     case $cross_compiling:$ac_tool_warned in
6901 yes:)
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6903 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6904 ac_tool_warned=yes ;;
6905 esac
6906     OTOOL64=$ac_ct_OTOOL64
6907   fi
6908 else
6909   OTOOL64="$ac_cv_prog_OTOOL64"
6910 fi
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6939 $as_echo_n "checking for -single_module linker flag... " >&6; }
6940 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6941   $as_echo_n "(cached) " >&6
6942 else
6943   lt_cv_apple_cc_single_mod=no
6944       if test -z "${LT_MULTI_MODULE}"; then
6945         # By default we will add the -single_module flag. You can override
6946         # by either setting the environment variable LT_MULTI_MODULE
6947         # non-empty at configure time, or by adding -multi_module to the
6948         # link flags.
6949         rm -rf libconftest.dylib*
6950         echo "int foo(void){return 1;}" > conftest.c
6951         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6952 -dynamiclib -Wl,-single_module conftest.c" >&5
6953         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6954           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6955         _lt_result=$?
6956         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6957           lt_cv_apple_cc_single_mod=yes
6958         else
6959           cat conftest.err >&5
6960         fi
6961         rm -rf libconftest.dylib*
6962         rm -f conftest.*
6963       fi
6964 fi
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6966 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6967     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6968 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6969 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6970   $as_echo_n "(cached) " >&6
6971 else
6972   lt_cv_ld_exported_symbols_list=no
6973       save_LDFLAGS=$LDFLAGS
6974       echo "_main" > conftest.sym
6975       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6976       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6977 /* end confdefs.h.  */
6978
6979 int
6980 main ()
6981 {
6982
6983   ;
6984   return 0;
6985 }
6986 _ACEOF
6987 if ac_fn_c_try_link "$LINENO"; then :
6988   lt_cv_ld_exported_symbols_list=yes
6989 else
6990   lt_cv_ld_exported_symbols_list=no
6991 fi
6992 rm -f core conftest.err conftest.$ac_objext \
6993     conftest$ac_exeext conftest.$ac_ext
6994         LDFLAGS="$save_LDFLAGS"
6995
6996 fi
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6998 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6999     case $host_os in
7000     rhapsody* | darwin1.[012])
7001       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7002     darwin1.*)
7003       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7004     darwin*) # darwin 5.x on
7005       # if running on 10.5 or later, the deployment target defaults
7006       # to the OS version, if on x86, and 10.4, the deployment
7007       # target defaults to 10.4. Don't you love it?
7008       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7009         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7010           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7011         10.[012]*)
7012           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7013         10.*)
7014           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7015       esac
7016     ;;
7017   esac
7018     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7019       _lt_dar_single_mod='$single_module'
7020     fi
7021     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7022       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7023     else
7024       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7025     fi
7026     if test "$DSYMUTIL" != ":"; then
7027       _lt_dsymutil='~$DSYMUTIL $lib || :'
7028     else
7029       _lt_dsymutil=
7030     fi
7031     ;;
7032   esac
7033
7034 ac_ext=c
7035 ac_cpp='$CPP $CPPFLAGS'
7036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7040 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7041 # On Suns, sometimes $CPP names a directory.
7042 if test -n "$CPP" && test -d "$CPP"; then
7043   CPP=
7044 fi
7045 if test -z "$CPP"; then
7046   if test "${ac_cv_prog_CPP+set}" = set; then :
7047   $as_echo_n "(cached) " >&6
7048 else
7049       # Double quotes because CPP needs to be expanded
7050     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7051     do
7052       ac_preproc_ok=false
7053 for ac_c_preproc_warn_flag in '' yes
7054 do
7055   # Use a header file that comes with gcc, so configuring glibc
7056   # with a fresh cross-compiler works.
7057   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7058   # <limits.h> exists even on freestanding compilers.
7059   # On the NeXT, cc -E runs the code through the compiler's parser,
7060   # not just through cpp. "Syntax error" is here to catch this case.
7061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7062 /* end confdefs.h.  */
7063 #ifdef __STDC__
7064 # include <limits.h>
7065 #else
7066 # include <assert.h>
7067 #endif
7068                      Syntax error
7069 _ACEOF
7070 if ac_fn_c_try_cpp "$LINENO"; then :
7071
7072 else
7073   # Broken: fails on valid input.
7074 continue
7075 fi
7076 rm -f conftest.err conftest.i conftest.$ac_ext
7077
7078   # OK, works on sane cases.  Now check whether nonexistent headers
7079   # can be detected and how.
7080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7081 /* end confdefs.h.  */
7082 #include <ac_nonexistent.h>
7083 _ACEOF
7084 if ac_fn_c_try_cpp "$LINENO"; then :
7085   # Broken: success on invalid input.
7086 continue
7087 else
7088   # Passes both tests.
7089 ac_preproc_ok=:
7090 break
7091 fi
7092 rm -f conftest.err conftest.i conftest.$ac_ext
7093
7094 done
7095 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7096 rm -f conftest.i conftest.err conftest.$ac_ext
7097 if $ac_preproc_ok; then :
7098   break
7099 fi
7100
7101     done
7102     ac_cv_prog_CPP=$CPP
7103
7104 fi
7105   CPP=$ac_cv_prog_CPP
7106 else
7107   ac_cv_prog_CPP=$CPP
7108 fi
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7110 $as_echo "$CPP" >&6; }
7111 ac_preproc_ok=false
7112 for ac_c_preproc_warn_flag in '' yes
7113 do
7114   # Use a header file that comes with gcc, so configuring glibc
7115   # with a fresh cross-compiler works.
7116   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7117   # <limits.h> exists even on freestanding compilers.
7118   # On the NeXT, cc -E runs the code through the compiler's parser,
7119   # not just through cpp. "Syntax error" is here to catch this case.
7120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7121 /* end confdefs.h.  */
7122 #ifdef __STDC__
7123 # include <limits.h>
7124 #else
7125 # include <assert.h>
7126 #endif
7127                      Syntax error
7128 _ACEOF
7129 if ac_fn_c_try_cpp "$LINENO"; then :
7130
7131 else
7132   # Broken: fails on valid input.
7133 continue
7134 fi
7135 rm -f conftest.err conftest.i conftest.$ac_ext
7136
7137   # OK, works on sane cases.  Now check whether nonexistent headers
7138   # can be detected and how.
7139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7140 /* end confdefs.h.  */
7141 #include <ac_nonexistent.h>
7142 _ACEOF
7143 if ac_fn_c_try_cpp "$LINENO"; then :
7144   # Broken: success on invalid input.
7145 continue
7146 else
7147   # Passes both tests.
7148 ac_preproc_ok=:
7149 break
7150 fi
7151 rm -f conftest.err conftest.i conftest.$ac_ext
7152
7153 done
7154 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7155 rm -f conftest.i conftest.err conftest.$ac_ext
7156 if $ac_preproc_ok; then :
7157
7158 else
7159   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7161 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7162 See \`config.log' for more details" "$LINENO" 5 ; }
7163 fi
7164
7165 ac_ext=c
7166 ac_cpp='$CPP $CPPFLAGS'
7167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7170
7171
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7173 $as_echo_n "checking for ANSI C header files... " >&6; }
7174 if test "${ac_cv_header_stdc+set}" = set; then :
7175   $as_echo_n "(cached) " >&6
7176 else
7177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7178 /* end confdefs.h.  */
7179 #include <stdlib.h>
7180 #include <stdarg.h>
7181 #include <string.h>
7182 #include <float.h>
7183
7184 int
7185 main ()
7186 {
7187
7188   ;
7189   return 0;
7190 }
7191 _ACEOF
7192 if ac_fn_c_try_compile "$LINENO"; then :
7193   ac_cv_header_stdc=yes
7194 else
7195   ac_cv_header_stdc=no
7196 fi
7197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7198
7199 if test $ac_cv_header_stdc = yes; then
7200   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7202 /* end confdefs.h.  */
7203 #include <string.h>
7204
7205 _ACEOF
7206 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7207   $EGREP "memchr" >/dev/null 2>&1; then :
7208
7209 else
7210   ac_cv_header_stdc=no
7211 fi
7212 rm -f conftest*
7213
7214 fi
7215
7216 if test $ac_cv_header_stdc = yes; then
7217   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7219 /* end confdefs.h.  */
7220 #include <stdlib.h>
7221
7222 _ACEOF
7223 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7224   $EGREP "free" >/dev/null 2>&1; then :
7225
7226 else
7227   ac_cv_header_stdc=no
7228 fi
7229 rm -f conftest*
7230
7231 fi
7232
7233 if test $ac_cv_header_stdc = yes; then
7234   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7235   if test "$cross_compiling" = yes; then :
7236   :
7237 else
7238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7239 /* end confdefs.h.  */
7240 #include <ctype.h>
7241 #include <stdlib.h>
7242 #if ((' ' & 0x0FF) == 0x020)
7243 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7244 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7245 #else
7246 # define ISLOWER(c) \
7247                    (('a' <= (c) && (c) <= 'i') \
7248                      || ('j' <= (c) && (c) <= 'r') \
7249                      || ('s' <= (c) && (c) <= 'z'))
7250 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7251 #endif
7252
7253 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7254 int
7255 main ()
7256 {
7257   int i;
7258   for (i = 0; i < 256; i++)
7259     if (XOR (islower (i), ISLOWER (i))
7260         || toupper (i) != TOUPPER (i))
7261       return 2;
7262   return 0;
7263 }
7264 _ACEOF
7265 if ac_fn_c_try_run "$LINENO"; then :
7266
7267 else
7268   ac_cv_header_stdc=no
7269 fi
7270 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7271   conftest.$ac_objext conftest.beam conftest.$ac_ext
7272 fi
7273
7274 fi
7275 fi
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7277 $as_echo "$ac_cv_header_stdc" >&6; }
7278 if test $ac_cv_header_stdc = yes; then
7279
7280 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7281
7282 fi
7283
7284 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7285 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7286                   inttypes.h stdint.h unistd.h
7287 do :
7288   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7289 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7290 "
7291 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7292   cat >>confdefs.h <<_ACEOF
7293 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7294 _ACEOF
7295
7296 fi
7297
7298 done
7299
7300
7301 for ac_header in dlfcn.h
7302 do :
7303   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7304 "
7305 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7306   cat >>confdefs.h <<_ACEOF
7307 #define HAVE_DLFCN_H 1
7308 _ACEOF
7309
7310 fi
7311
7312 done
7313
7314
7315
7316 # Set options
7317
7318
7319
7320         enable_dlopen=no
7321
7322
7323
7324             # Check whether --enable-shared was given.
7325 if test "${enable_shared+set}" = set; then :
7326   enableval=$enable_shared; p=${PACKAGE-default}
7327     case $enableval in
7328     yes) enable_shared=yes ;;
7329     no) enable_shared=no ;;
7330     *)
7331       enable_shared=no
7332       # Look at the argument we got.  We use all the common list separators.
7333       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7334       for pkg in $enableval; do
7335         IFS="$lt_save_ifs"
7336         if test "X$pkg" = "X$p"; then
7337           enable_shared=yes
7338         fi
7339       done
7340       IFS="$lt_save_ifs"
7341       ;;
7342     esac
7343 else
7344   enable_shared=yes
7345 fi
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355   # Check whether --enable-static was given.
7356 if test "${enable_static+set}" = set; then :
7357   enableval=$enable_static; p=${PACKAGE-default}
7358     case $enableval in
7359     yes) enable_static=yes ;;
7360     no) enable_static=no ;;
7361     *)
7362      enable_static=no
7363       # Look at the argument we got.  We use all the common list separators.
7364       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7365       for pkg in $enableval; do
7366         IFS="$lt_save_ifs"
7367         if test "X$pkg" = "X$p"; then
7368           enable_static=yes
7369         fi
7370       done
7371       IFS="$lt_save_ifs"
7372       ;;
7373     esac
7374 else
7375   enable_static=yes
7376 fi
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387 # Check whether --with-pic was given.
7388 if test "${with_pic+set}" = set; then :
7389   withval=$with_pic; pic_mode="$withval"
7390 else
7391   pic_mode=default
7392 fi
7393
7394
7395 test -z "$pic_mode" && pic_mode=default
7396
7397
7398
7399
7400
7401
7402
7403   # Check whether --enable-fast-install was given.
7404 if test "${enable_fast_install+set}" = set; then :
7405   enableval=$enable_fast_install; p=${PACKAGE-default}
7406     case $enableval in
7407     yes) enable_fast_install=yes ;;
7408     no) enable_fast_install=no ;;
7409     *)
7410       enable_fast_install=no
7411       # Look at the argument we got.  We use all the common list separators.
7412       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7413       for pkg in $enableval; do
7414         IFS="$lt_save_ifs"
7415         if test "X$pkg" = "X$p"; then
7416           enable_fast_install=yes
7417         fi
7418       done
7419       IFS="$lt_save_ifs"
7420       ;;
7421     esac
7422 else
7423   enable_fast_install=yes
7424 fi
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436 # This can be used to rebuild libtool when needed
7437 LIBTOOL_DEPS="$ltmain"
7438
7439 # Always use our own libtool.
7440 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466 test -z "$LN_S" && LN_S="ln -s"
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481 if test -n "${ZSH_VERSION+set}" ; then
7482    setopt NO_GLOB_SUBST
7483 fi
7484
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7486 $as_echo_n "checking for objdir... " >&6; }
7487 if test "${lt_cv_objdir+set}" = set; then :
7488   $as_echo_n "(cached) " >&6
7489 else
7490   rm -f .libs 2>/dev/null
7491 mkdir .libs 2>/dev/null
7492 if test -d .libs; then
7493   lt_cv_objdir=.libs
7494 else
7495   # MS-DOS does not allow filenames that begin with a dot.
7496   lt_cv_objdir=_libs
7497 fi
7498 rmdir .libs 2>/dev/null
7499 fi
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7501 $as_echo "$lt_cv_objdir" >&6; }
7502 objdir=$lt_cv_objdir
7503
7504
7505
7506
7507
7508 cat >>confdefs.h <<_ACEOF
7509 #define LT_OBJDIR "$lt_cv_objdir/"
7510 _ACEOF
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528 case $host_os in
7529 aix3*)
7530   # AIX sometimes has problems with the GCC collect2 program.  For some
7531   # reason, if we set the COLLECT_NAMES environment variable, the problems
7532   # vanish in a puff of smoke.
7533   if test "X${COLLECT_NAMES+set}" != Xset; then
7534     COLLECT_NAMES=
7535     export COLLECT_NAMES
7536   fi
7537   ;;
7538 esac
7539
7540 # Sed substitution that helps us do robust quoting.  It backslashifies
7541 # metacharacters that are still active within double-quoted strings.
7542 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7543
7544 # Same as above, but do not quote variable references.
7545 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7546
7547 # Sed substitution to delay expansion of an escaped shell variable in a
7548 # double_quote_subst'ed string.
7549 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7550
7551 # Sed substitution to delay expansion of an escaped single quote.
7552 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7553
7554 # Sed substitution to avoid accidental globbing in evaled expressions
7555 no_glob_subst='s/\*/\\\*/g'
7556
7557 # Global variables:
7558 ofile=libtool
7559 can_build_shared=yes
7560
7561 # All known linkers require a `.a' archive for static linking (except MSVC,
7562 # which needs '.lib').
7563 libext=a
7564
7565 with_gnu_ld="$lt_cv_prog_gnu_ld"
7566
7567 old_CC="$CC"
7568 old_CFLAGS="$CFLAGS"
7569
7570 # Set sane defaults for various variables
7571 test -z "$CC" && CC=cc
7572 test -z "$LTCC" && LTCC=$CC
7573 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7574 test -z "$LD" && LD=ld
7575 test -z "$ac_objext" && ac_objext=o
7576
7577 for cc_temp in $compiler""; do
7578   case $cc_temp in
7579     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7580     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7581     \-*) ;;
7582     *) break;;
7583   esac
7584 done
7585 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7586
7587
7588 # Only perform the check for file, if the check method requires it
7589 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7590 case $deplibs_check_method in
7591 file_magic*)
7592   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7593     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7594 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7595 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7596   $as_echo_n "(cached) " >&6
7597 else
7598   case $MAGIC_CMD in
7599 [\\/*] |  ?:[\\/]*)
7600   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7601   ;;
7602 *)
7603   lt_save_MAGIC_CMD="$MAGIC_CMD"
7604   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7605   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7606   for ac_dir in $ac_dummy; do
7607     IFS="$lt_save_ifs"
7608     test -z "$ac_dir" && ac_dir=.
7609     if test -f $ac_dir/${ac_tool_prefix}file; then
7610       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7611       if test -n "$file_magic_test_file"; then
7612         case $deplibs_check_method in
7613         "file_magic "*)
7614           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7615           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7616           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7617             $EGREP "$file_magic_regex" > /dev/null; then
7618             :
7619           else
7620             cat <<_LT_EOF 1>&2
7621
7622 *** Warning: the command libtool uses to detect shared libraries,
7623 *** $file_magic_cmd, produces output that libtool cannot recognize.
7624 *** The result is that libtool may fail to recognize shared libraries
7625 *** as such.  This will affect the creation of libtool libraries that
7626 *** depend on shared libraries, but programs linked with such libtool
7627 *** libraries will work regardless of this problem.  Nevertheless, you
7628 *** may want to report the problem to your system manager and/or to
7629 *** bug-libtool@gnu.org
7630
7631 _LT_EOF
7632           fi ;;
7633         esac
7634       fi
7635       break
7636     fi
7637   done
7638   IFS="$lt_save_ifs"
7639   MAGIC_CMD="$lt_save_MAGIC_CMD"
7640   ;;
7641 esac
7642 fi
7643
7644 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7645 if test -n "$MAGIC_CMD"; then
7646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7647 $as_echo "$MAGIC_CMD" >&6; }
7648 else
7649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7650 $as_echo "no" >&6; }
7651 fi
7652
7653
7654
7655
7656
7657 if test -z "$lt_cv_path_MAGIC_CMD"; then
7658   if test -n "$ac_tool_prefix"; then
7659     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7660 $as_echo_n "checking for file... " >&6; }
7661 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7662   $as_echo_n "(cached) " >&6
7663 else
7664   case $MAGIC_CMD in
7665 [\\/*] |  ?:[\\/]*)
7666   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7667   ;;
7668 *)
7669   lt_save_MAGIC_CMD="$MAGIC_CMD"
7670   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7671   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7672   for ac_dir in $ac_dummy; do
7673     IFS="$lt_save_ifs"
7674     test -z "$ac_dir" && ac_dir=.
7675     if test -f $ac_dir/file; then
7676       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7677       if test -n "$file_magic_test_file"; then
7678         case $deplibs_check_method in
7679         "file_magic "*)
7680           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7681           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7682           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7683             $EGREP "$file_magic_regex" > /dev/null; then
7684             :
7685           else
7686             cat <<_LT_EOF 1>&2
7687
7688 *** Warning: the command libtool uses to detect shared libraries,
7689 *** $file_magic_cmd, produces output that libtool cannot recognize.
7690 *** The result is that libtool may fail to recognize shared libraries
7691 *** as such.  This will affect the creation of libtool libraries that
7692 *** depend on shared libraries, but programs linked with such libtool
7693 *** libraries will work regardless of this problem.  Nevertheless, you
7694 *** may want to report the problem to your system manager and/or to
7695 *** bug-libtool@gnu.org
7696
7697 _LT_EOF
7698           fi ;;
7699         esac
7700       fi
7701       break
7702     fi
7703   done
7704   IFS="$lt_save_ifs"
7705   MAGIC_CMD="$lt_save_MAGIC_CMD"
7706   ;;
7707 esac
7708 fi
7709
7710 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7711 if test -n "$MAGIC_CMD"; then
7712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7713 $as_echo "$MAGIC_CMD" >&6; }
7714 else
7715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7716 $as_echo "no" >&6; }
7717 fi
7718
7719
7720   else
7721     MAGIC_CMD=:
7722   fi
7723 fi
7724
7725   fi
7726   ;;
7727 esac
7728
7729 # Use C for the default configuration in the libtool script
7730
7731 lt_save_CC="$CC"
7732 ac_ext=c
7733 ac_cpp='$CPP $CPPFLAGS'
7734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7737
7738
7739 # Source file extension for C test sources.
7740 ac_ext=c
7741
7742 # Object file extension for compiled C test sources.
7743 objext=o
7744 objext=$objext
7745
7746 # Code to be used in simple compile tests
7747 lt_simple_compile_test_code="int some_variable = 0;"
7748
7749 # Code to be used in simple link tests
7750 lt_simple_link_test_code='int main(){return(0);}'
7751
7752
7753
7754
7755
7756
7757
7758 # If no C compiler was specified, use CC.
7759 LTCC=${LTCC-"$CC"}
7760
7761 # If no C compiler flags were specified, use CFLAGS.
7762 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7763
7764 # Allow CC to be a program name with arguments.
7765 compiler=$CC
7766
7767 # Save the default compiler, since it gets overwritten when the other
7768 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7769 compiler_DEFAULT=$CC
7770
7771 # save warnings/boilerplate of simple test code
7772 ac_outfile=conftest.$ac_objext
7773 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7774 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7775 _lt_compiler_boilerplate=`cat conftest.err`
7776 $RM conftest*
7777
7778 ac_outfile=conftest.$ac_objext
7779 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7780 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7781 _lt_linker_boilerplate=`cat conftest.err`
7782 $RM -r conftest*
7783
7784
7785 ## CAVEAT EMPTOR:
7786 ## There is no encapsulation within the following macros, do not change
7787 ## the running order or otherwise move them around unless you know exactly
7788 ## what you are doing...
7789 if test -n "$compiler"; then
7790
7791 lt_prog_compiler_no_builtin_flag=
7792
7793 if test "$GCC" = yes; then
7794   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7795
7796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7797 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7798 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7799   $as_echo_n "(cached) " >&6
7800 else
7801   lt_cv_prog_compiler_rtti_exceptions=no
7802    ac_outfile=conftest.$ac_objext
7803    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7804    lt_compiler_flag="-fno-rtti -fno-exceptions"
7805    # Insert the option either (1) after the last *FLAGS variable, or
7806    # (2) before a word containing "conftest.", or (3) at the end.
7807    # Note that $ac_compile itself does not contain backslashes and begins
7808    # with a dollar sign (not a hyphen), so the echo should work correctly.
7809    # The option is referenced via a variable to avoid confusing sed.
7810    lt_compile=`echo "$ac_compile" | $SED \
7811    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7812    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7813    -e 's:$: $lt_compiler_flag:'`
7814    (eval echo "\"\$as_me:7814: $lt_compile\"" >&5)
7815    (eval "$lt_compile" 2>conftest.err)
7816    ac_status=$?
7817    cat conftest.err >&5
7818    echo "$as_me:7818: \$? = $ac_status" >&5
7819    if (exit $ac_status) && test -s "$ac_outfile"; then
7820      # The compiler can only warn and ignore the option if not recognized
7821      # So say no if there are warnings other than the usual output.
7822      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7823      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7824      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7825        lt_cv_prog_compiler_rtti_exceptions=yes
7826      fi
7827    fi
7828    $RM conftest*
7829
7830 fi
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7832 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7833
7834 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7835     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7836 else
7837     :
7838 fi
7839
7840 fi
7841
7842
7843
7844
7845
7846
7847   lt_prog_compiler_wl=
7848 lt_prog_compiler_pic=
7849 lt_prog_compiler_static=
7850
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7852 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7853
7854   if test "$GCC" = yes; then
7855     lt_prog_compiler_wl='-Wl,'
7856     lt_prog_compiler_static='-static'
7857
7858     case $host_os in
7859       aix*)
7860       # All AIX code is PIC.
7861       if test "$host_cpu" = ia64; then
7862         # AIX 5 now supports IA64 processor
7863         lt_prog_compiler_static='-Bstatic'
7864       fi
7865       ;;
7866
7867     amigaos*)
7868       case $host_cpu in
7869       powerpc)
7870             # see comment about AmigaOS4 .so support
7871             lt_prog_compiler_pic='-fPIC'
7872         ;;
7873       m68k)
7874             # FIXME: we need at least 68020 code to build shared libraries, but
7875             # adding the `-m68020' flag to GCC prevents building anything better,
7876             # like `-m68040'.
7877             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7878         ;;
7879       esac
7880       ;;
7881
7882     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7883       # PIC is the default for these OSes.
7884       ;;
7885
7886     mingw* | cygwin* | pw32* | os2* | cegcc*)
7887       # This hack is so that the source file can tell whether it is being
7888       # built for inclusion in a dll (and should export symbols for example).
7889       # Although the cygwin gcc ignores -fPIC, still need this for old-style
7890       # (--disable-auto-import) libraries
7891       lt_prog_compiler_pic='-DDLL_EXPORT'
7892       ;;
7893
7894     darwin* | rhapsody*)
7895       # PIC is the default on this platform
7896       # Common symbols not allowed in MH_DYLIB files
7897       lt_prog_compiler_pic='-fno-common'
7898       ;;
7899
7900     hpux*)
7901       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7902       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7903       # sets the default TLS model and affects inlining.
7904       case $host_cpu in
7905       hppa*64*)
7906         # +Z the default
7907         ;;
7908       *)
7909         lt_prog_compiler_pic='-fPIC'
7910         ;;
7911       esac
7912       ;;
7913
7914     interix[3-9]*)
7915       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7916       # Instead, we relocate shared libraries at runtime.
7917       ;;
7918
7919     msdosdjgpp*)
7920       # Just because we use GCC doesn't mean we suddenly get shared libraries
7921       # on systems that don't support them.
7922       lt_prog_compiler_can_build_shared=no
7923       enable_shared=no
7924       ;;
7925
7926     *nto* | *qnx*)
7927       # QNX uses GNU C++, but need to define -shared option too, otherwise
7928       # it will coredump.
7929       lt_prog_compiler_pic='-fPIC -shared'
7930       ;;
7931
7932     sysv4*MP*)
7933       if test -d /usr/nec; then
7934         lt_prog_compiler_pic=-Kconform_pic
7935       fi
7936       ;;
7937
7938     *)
7939       lt_prog_compiler_pic='-fPIC'
7940       ;;
7941     esac
7942   else
7943     # PORTME Check for flag to pass linker flags through the system compiler.
7944     case $host_os in
7945     aix*)
7946       lt_prog_compiler_wl='-Wl,'
7947       if test "$host_cpu" = ia64; then
7948         # AIX 5 now supports IA64 processor
7949         lt_prog_compiler_static='-Bstatic'
7950       else
7951         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7952       fi
7953       ;;
7954
7955     mingw* | cygwin* | pw32* | os2* | cegcc*)
7956       # This hack is so that the source file can tell whether it is being
7957       # built for inclusion in a dll (and should export symbols for example).
7958       lt_prog_compiler_pic='-DDLL_EXPORT'
7959       ;;
7960
7961     hpux9* | hpux10* | hpux11*)
7962       lt_prog_compiler_wl='-Wl,'
7963       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7964       # not for PA HP-UX.
7965       case $host_cpu in
7966       hppa*64*|ia64*)
7967         # +Z the default
7968         ;;
7969       *)
7970         lt_prog_compiler_pic='+Z'
7971         ;;
7972       esac
7973       # Is there a better lt_prog_compiler_static that works with the bundled CC?
7974       lt_prog_compiler_static='${wl}-a ${wl}archive'
7975       ;;
7976
7977     irix5* | irix6* | nonstopux*)
7978       lt_prog_compiler_wl='-Wl,'
7979       # PIC (with -KPIC) is the default.
7980       lt_prog_compiler_static='-non_shared'
7981       ;;
7982
7983     linux* | k*bsd*-gnu | kopensolaris*-gnu)
7984       case $cc_basename in
7985       # old Intel for x86_64 which still supported -KPIC.
7986       ecc*)
7987         lt_prog_compiler_wl='-Wl,'
7988         lt_prog_compiler_pic='-KPIC'
7989         lt_prog_compiler_static='-static'
7990         ;;
7991       # icc used to be incompatible with GCC.
7992       # ICC 10 doesn't accept -KPIC any more.
7993       icc* | ifort*)
7994         lt_prog_compiler_wl='-Wl,'
7995         lt_prog_compiler_pic='-fPIC'
7996         lt_prog_compiler_static='-static'
7997         ;;
7998       # Lahey Fortran 8.1.
7999       lf95*)
8000         lt_prog_compiler_wl='-Wl,'
8001         lt_prog_compiler_pic='--shared'
8002         lt_prog_compiler_static='--static'
8003         ;;
8004       pgcc* | pgf77* | pgf90* | pgf95*)
8005         # Portland Group compilers (*not* the Pentium gcc compiler,
8006         # which looks to be a dead project)
8007         lt_prog_compiler_wl='-Wl,'
8008         lt_prog_compiler_pic='-fpic'
8009         lt_prog_compiler_static='-Bstatic'
8010         ;;
8011       ccc*)
8012         lt_prog_compiler_wl='-Wl,'
8013         # All Alpha code is PIC.
8014         lt_prog_compiler_static='-non_shared'
8015         ;;
8016       xl*)
8017         # IBM XL C 8.0/Fortran 10.1 on PPC
8018         lt_prog_compiler_wl='-Wl,'
8019         lt_prog_compiler_pic='-qpic'
8020         lt_prog_compiler_static='-qstaticlink'
8021         ;;
8022       *)
8023         case `$CC -V 2>&1 | sed 5q` in
8024         *Sun\ C*)
8025           # Sun C 5.9
8026           lt_prog_compiler_pic='-KPIC'
8027           lt_prog_compiler_static='-Bstatic'
8028           lt_prog_compiler_wl='-Wl,'
8029           ;;
8030         *Sun\ F*)
8031           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8032           lt_prog_compiler_pic='-KPIC'
8033           lt_prog_compiler_static='-Bstatic'
8034           lt_prog_compiler_wl=''
8035           ;;
8036         esac
8037         ;;
8038       esac
8039       ;;
8040
8041     newsos6)
8042       lt_prog_compiler_pic='-KPIC'
8043       lt_prog_compiler_static='-Bstatic'
8044       ;;
8045
8046     *nto* | *qnx*)
8047       # QNX uses GNU C++, but need to define -shared option too, otherwise
8048       # it will coredump.
8049       lt_prog_compiler_pic='-fPIC -shared'
8050       ;;
8051
8052     osf3* | osf4* | osf5*)
8053       lt_prog_compiler_wl='-Wl,'
8054       # All OSF/1 code is PIC.
8055       lt_prog_compiler_static='-non_shared'
8056       ;;
8057
8058     rdos*)
8059       lt_prog_compiler_static='-non_shared'
8060       ;;
8061
8062     solaris*)
8063       lt_prog_compiler_pic='-KPIC'
8064       lt_prog_compiler_static='-Bstatic'
8065       case $cc_basename in
8066       f77* | f90* | f95*)
8067         lt_prog_compiler_wl='-Qoption ld ';;
8068       *)
8069         lt_prog_compiler_wl='-Wl,';;
8070       esac
8071       ;;
8072
8073     sunos4*)
8074       lt_prog_compiler_wl='-Qoption ld '
8075       lt_prog_compiler_pic='-PIC'
8076       lt_prog_compiler_static='-Bstatic'
8077       ;;
8078
8079     sysv4 | sysv4.2uw2* | sysv4.3*)
8080       lt_prog_compiler_wl='-Wl,'
8081       lt_prog_compiler_pic='-KPIC'
8082       lt_prog_compiler_static='-Bstatic'
8083       ;;
8084
8085     sysv4*MP*)
8086       if test -d /usr/nec ;then
8087         lt_prog_compiler_pic='-Kconform_pic'
8088         lt_prog_compiler_static='-Bstatic'
8089       fi
8090       ;;
8091
8092     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8093       lt_prog_compiler_wl='-Wl,'
8094       lt_prog_compiler_pic='-KPIC'
8095       lt_prog_compiler_static='-Bstatic'
8096       ;;
8097
8098     unicos*)
8099       lt_prog_compiler_wl='-Wl,'
8100       lt_prog_compiler_can_build_shared=no
8101       ;;
8102
8103     uts4*)
8104       lt_prog_compiler_pic='-pic'
8105       lt_prog_compiler_static='-Bstatic'
8106       ;;
8107
8108     *)
8109       lt_prog_compiler_can_build_shared=no
8110       ;;
8111     esac
8112   fi
8113
8114 case $host_os in
8115   # For platforms which do not support PIC, -DPIC is meaningless:
8116   *djgpp*)
8117     lt_prog_compiler_pic=
8118     ;;
8119   *)
8120     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8121     ;;
8122 esac
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8124 $as_echo "$lt_prog_compiler_pic" >&6; }
8125
8126
8127
8128
8129
8130
8131 #
8132 # Check to make sure the PIC flag actually works.
8133 #
8134 if test -n "$lt_prog_compiler_pic"; then
8135   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8136 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8137 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8138   $as_echo_n "(cached) " >&6
8139 else
8140   lt_cv_prog_compiler_pic_works=no
8141    ac_outfile=conftest.$ac_objext
8142    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8143    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8144    # Insert the option either (1) after the last *FLAGS variable, or
8145    # (2) before a word containing "conftest.", or (3) at the end.
8146    # Note that $ac_compile itself does not contain backslashes and begins
8147    # with a dollar sign (not a hyphen), so the echo should work correctly.
8148    # The option is referenced via a variable to avoid confusing sed.
8149    lt_compile=`echo "$ac_compile" | $SED \
8150    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8151    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8152    -e 's:$: $lt_compiler_flag:'`
8153    (eval echo "\"\$as_me:8153: $lt_compile\"" >&5)
8154    (eval "$lt_compile" 2>conftest.err)
8155    ac_status=$?
8156    cat conftest.err >&5
8157    echo "$as_me:8157: \$? = $ac_status" >&5
8158    if (exit $ac_status) && test -s "$ac_outfile"; then
8159      # The compiler can only warn and ignore the option if not recognized
8160      # So say no if there are warnings other than the usual output.
8161      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8162      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8163      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8164        lt_cv_prog_compiler_pic_works=yes
8165      fi
8166    fi
8167    $RM conftest*
8168
8169 fi
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8171 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8172
8173 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8174     case $lt_prog_compiler_pic in
8175      "" | " "*) ;;
8176      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8177      esac
8178 else
8179     lt_prog_compiler_pic=
8180      lt_prog_compiler_can_build_shared=no
8181 fi
8182
8183 fi
8184
8185
8186
8187
8188
8189
8190 #
8191 # Check to make sure the static flag actually works.
8192 #
8193 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8195 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8196 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8197   $as_echo_n "(cached) " >&6
8198 else
8199   lt_cv_prog_compiler_static_works=no
8200    save_LDFLAGS="$LDFLAGS"
8201    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8202    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8203    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8204      # The linker can only warn and ignore the option if not recognized
8205      # So say no if there are warnings
8206      if test -s conftest.err; then
8207        # Append any errors to the config.log.
8208        cat conftest.err 1>&5
8209        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8210        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8211        if diff conftest.exp conftest.er2 >/dev/null; then
8212          lt_cv_prog_compiler_static_works=yes
8213        fi
8214      else
8215        lt_cv_prog_compiler_static_works=yes
8216      fi
8217    fi
8218    $RM -r conftest*
8219    LDFLAGS="$save_LDFLAGS"
8220
8221 fi
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8223 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8224
8225 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8226     :
8227 else
8228     lt_prog_compiler_static=
8229 fi
8230
8231
8232
8233
8234
8235
8236
8237   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8238 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8239 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8240   $as_echo_n "(cached) " >&6
8241 else
8242   lt_cv_prog_compiler_c_o=no
8243    $RM -r conftest 2>/dev/null
8244    mkdir conftest
8245    cd conftest
8246    mkdir out
8247    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8248
8249    lt_compiler_flag="-o out/conftest2.$ac_objext"
8250    # Insert the option either (1) after the last *FLAGS variable, or
8251    # (2) before a word containing "conftest.", or (3) at the end.
8252    # Note that $ac_compile itself does not contain backslashes and begins
8253    # with a dollar sign (not a hyphen), so the echo should work correctly.
8254    lt_compile=`echo "$ac_compile" | $SED \
8255    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8256    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8257    -e 's:$: $lt_compiler_flag:'`
8258    (eval echo "\"\$as_me:8258: $lt_compile\"" >&5)
8259    (eval "$lt_compile" 2>out/conftest.err)
8260    ac_status=$?
8261    cat out/conftest.err >&5
8262    echo "$as_me:8262: \$? = $ac_status" >&5
8263    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8264    then
8265      # The compiler can only warn and ignore the option if not recognized
8266      # So say no if there are warnings
8267      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8268      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8269      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8270        lt_cv_prog_compiler_c_o=yes
8271      fi
8272    fi
8273    chmod u+w . 2>&5
8274    $RM conftest*
8275    # SGI C++ compiler will create directory out/ii_files/ for
8276    # template instantiation
8277    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8278    $RM out/* && rmdir out
8279    cd ..
8280    $RM -r conftest
8281    $RM conftest*
8282
8283 fi
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8285 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8286
8287
8288
8289
8290
8291
8292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8293 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8294 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8295   $as_echo_n "(cached) " >&6
8296 else
8297   lt_cv_prog_compiler_c_o=no
8298    $RM -r conftest 2>/dev/null
8299    mkdir conftest
8300    cd conftest
8301    mkdir out
8302    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8303
8304    lt_compiler_flag="-o out/conftest2.$ac_objext"
8305    # Insert the option either (1) after the last *FLAGS variable, or
8306    # (2) before a word containing "conftest.", or (3) at the end.
8307    # Note that $ac_compile itself does not contain backslashes and begins
8308    # with a dollar sign (not a hyphen), so the echo should work correctly.
8309    lt_compile=`echo "$ac_compile" | $SED \
8310    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8311    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8312    -e 's:$: $lt_compiler_flag:'`
8313    (eval echo "\"\$as_me:8313: $lt_compile\"" >&5)
8314    (eval "$lt_compile" 2>out/conftest.err)
8315    ac_status=$?
8316    cat out/conftest.err >&5
8317    echo "$as_me:8317: \$? = $ac_status" >&5
8318    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8319    then
8320      # The compiler can only warn and ignore the option if not recognized
8321      # So say no if there are warnings
8322      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8323      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8324      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8325        lt_cv_prog_compiler_c_o=yes
8326      fi
8327    fi
8328    chmod u+w . 2>&5
8329    $RM conftest*
8330    # SGI C++ compiler will create directory out/ii_files/ for
8331    # template instantiation
8332    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8333    $RM out/* && rmdir out
8334    cd ..
8335    $RM -r conftest
8336    $RM conftest*
8337
8338 fi
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8340 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8341
8342
8343
8344
8345 hard_links="nottested"
8346 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8347   # do not overwrite the value of need_locks provided by the user
8348   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8349 $as_echo_n "checking if we can lock with hard links... " >&6; }
8350   hard_links=yes
8351   $RM conftest*
8352   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8353   touch conftest.a
8354   ln conftest.a conftest.b 2>&5 || hard_links=no
8355   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8357 $as_echo "$hard_links" >&6; }
8358   if test "$hard_links" = no; then
8359     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8360 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8361     need_locks=warn
8362   fi
8363 else
8364   need_locks=no
8365 fi
8366
8367
8368
8369
8370
8371
8372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8373 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8374
8375   runpath_var=
8376   allow_undefined_flag=
8377   always_export_symbols=no
8378   archive_cmds=
8379   archive_expsym_cmds=
8380   compiler_needs_object=no
8381   enable_shared_with_static_runtimes=no
8382   export_dynamic_flag_spec=
8383   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8384   hardcode_automatic=no
8385   hardcode_direct=no
8386   hardcode_direct_absolute=no
8387   hardcode_libdir_flag_spec=
8388   hardcode_libdir_flag_spec_ld=
8389   hardcode_libdir_separator=
8390   hardcode_minus_L=no
8391   hardcode_shlibpath_var=unsupported
8392   inherit_rpath=no
8393   link_all_deplibs=unknown
8394   module_cmds=
8395   module_expsym_cmds=
8396   old_archive_from_new_cmds=
8397   old_archive_from_expsyms_cmds=
8398   thread_safe_flag_spec=
8399   whole_archive_flag_spec=
8400   # include_expsyms should be a list of space-separated symbols to be *always*
8401   # included in the symbol list
8402   include_expsyms=
8403   # exclude_expsyms can be an extended regexp of symbols to exclude
8404   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8405   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8406   # as well as any symbol that contains `d'.
8407   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8408   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8409   # platforms (ab)use it in PIC code, but their linkers get confused if
8410   # the symbol is explicitly referenced.  Since portable code cannot
8411   # rely on this symbol name, it's probably fine to never include it in
8412   # preloaded symbol tables.
8413   # Exclude shared library initialization/finalization symbols.
8414   extract_expsyms_cmds=
8415
8416   case $host_os in
8417   cygwin* | mingw* | pw32* | cegcc*)
8418     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8419     # When not using gcc, we currently assume that we are using
8420     # Microsoft Visual C++.
8421     if test "$GCC" != yes; then
8422       with_gnu_ld=no
8423     fi
8424     ;;
8425   interix*)
8426     # we just hope/assume this is gcc and not c89 (= MSVC++)
8427     with_gnu_ld=yes
8428     ;;
8429   openbsd*)
8430     with_gnu_ld=no
8431     ;;
8432   linux* | k*bsd*-gnu)
8433     link_all_deplibs=no
8434     ;;
8435   esac
8436
8437   ld_shlibs=yes
8438   if test "$with_gnu_ld" = yes; then
8439     # If archive_cmds runs LD, not CC, wlarc should be empty
8440     wlarc='${wl}'
8441
8442     # Set some defaults for GNU ld with shared library support. These
8443     # are reset later if shared libraries are not supported. Putting them
8444     # here allows them to be overridden if necessary.
8445     runpath_var=LD_RUN_PATH
8446     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8447     export_dynamic_flag_spec='${wl}--export-dynamic'
8448     # ancient GNU ld didn't support --whole-archive et. al.
8449     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8450       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8451     else
8452       whole_archive_flag_spec=
8453     fi
8454     supports_anon_versioning=no
8455     case `$LD -v 2>&1` in
8456       *GNU\ gold*) supports_anon_versioning=yes ;;
8457       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8458       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8459       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8460       *\ 2.11.*) ;; # other 2.11 versions
8461       *) supports_anon_versioning=yes ;;
8462     esac
8463
8464     # See if GNU ld supports shared libraries.
8465     case $host_os in
8466     aix[3-9]*)
8467       # On AIX/PPC, the GNU linker is very broken
8468       if test "$host_cpu" != ia64; then
8469         ld_shlibs=no
8470         cat <<_LT_EOF 1>&2
8471
8472 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8473 *** to be unable to reliably create shared libraries on AIX.
8474 *** Therefore, libtool is disabling shared libraries support.  If you
8475 *** really care for shared libraries, you may want to modify your PATH
8476 *** so that a non-GNU linker is found, and then restart.
8477
8478 _LT_EOF
8479       fi
8480       ;;
8481
8482     amigaos*)
8483       case $host_cpu in
8484       powerpc)
8485             # see comment about AmigaOS4 .so support
8486             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8487             archive_expsym_cmds=''
8488         ;;
8489       m68k)
8490             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)'
8491             hardcode_libdir_flag_spec='-L$libdir'
8492             hardcode_minus_L=yes
8493         ;;
8494       esac
8495       ;;
8496
8497     beos*)
8498       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8499         allow_undefined_flag=unsupported
8500         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8501         # support --undefined.  This deserves some investigation.  FIXME
8502         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8503       else
8504         ld_shlibs=no
8505       fi
8506       ;;
8507
8508     cygwin* | mingw* | pw32* | cegcc*)
8509       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8510       # as there is no search path for DLLs.
8511       hardcode_libdir_flag_spec='-L$libdir'
8512       allow_undefined_flag=unsupported
8513       always_export_symbols=no
8514       enable_shared_with_static_runtimes=yes
8515       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8516
8517       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8518         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8519         # If the export-symbols file already is a .def file (1st line
8520         # is EXPORTS), use it as is; otherwise, prepend...
8521         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8522           cp $export_symbols $output_objdir/$soname.def;
8523         else
8524           echo EXPORTS > $output_objdir/$soname.def;
8525           cat $export_symbols >> $output_objdir/$soname.def;
8526         fi~
8527         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8528       else
8529         ld_shlibs=no
8530       fi
8531       ;;
8532
8533     interix[3-9]*)
8534       hardcode_direct=no
8535       hardcode_shlibpath_var=no
8536       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8537       export_dynamic_flag_spec='${wl}-E'
8538       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8539       # Instead, shared libraries are loaded at an image base (0x10000000 by
8540       # default) and relocated if they conflict, which is a slow very memory
8541       # consuming and fragmenting process.  To avoid this, we pick a random,
8542       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8543       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8544       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8545       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'
8546       ;;
8547
8548     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8549       tmp_diet=no
8550       if test "$host_os" = linux-dietlibc; then
8551         case $cc_basename in
8552           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8553         esac
8554       fi
8555       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8556          && test "$tmp_diet" = no
8557       then
8558         tmp_addflag=
8559         tmp_sharedflag='-shared'
8560         case $cc_basename,$host_cpu in
8561         pgcc*)                          # Portland Group C compiler
8562           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8563           tmp_addflag=' $pic_flag'
8564           ;;
8565         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8566           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8567           tmp_addflag=' $pic_flag -Mnomain' ;;
8568         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8569           tmp_addflag=' -i_dynamic' ;;
8570         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8571           tmp_addflag=' -i_dynamic -nofor_main' ;;
8572         ifc* | ifort*)                  # Intel Fortran compiler
8573           tmp_addflag=' -nofor_main' ;;
8574         lf95*)                          # Lahey Fortran 8.1
8575           whole_archive_flag_spec=
8576           tmp_sharedflag='--shared' ;;
8577         xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
8578           tmp_sharedflag='-qmkshrobj'
8579           tmp_addflag= ;;
8580         esac
8581         case `$CC -V 2>&1 | sed 5q` in
8582         *Sun\ C*)                       # Sun C 5.9
8583           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8584           compiler_needs_object=yes
8585           tmp_sharedflag='-G' ;;
8586         *Sun\ F*)                       # Sun Fortran 8.3
8587           tmp_sharedflag='-G' ;;
8588         esac
8589         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8590
8591         if test "x$supports_anon_versioning" = xyes; then
8592           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8593             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8594             echo "local: *; };" >> $output_objdir/$libname.ver~
8595             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8596         fi
8597
8598         case $cc_basename in
8599         xlf*)
8600           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8601           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8602           hardcode_libdir_flag_spec=
8603           hardcode_libdir_flag_spec_ld='-rpath $libdir'
8604           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8605           if test "x$supports_anon_versioning" = xyes; then
8606             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8607               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8608               echo "local: *; };" >> $output_objdir/$libname.ver~
8609               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8610           fi
8611           ;;
8612         esac
8613       else
8614         ld_shlibs=no
8615       fi
8616       ;;
8617
8618     netbsd* | netbsdelf*-gnu)
8619       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8620         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8621         wlarc=
8622       else
8623         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8624         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8625       fi
8626       ;;
8627
8628     solaris*)
8629       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8630         ld_shlibs=no
8631         cat <<_LT_EOF 1>&2
8632
8633 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8634 *** create shared libraries on Solaris systems.  Therefore, libtool
8635 *** is disabling shared libraries support.  We urge you to upgrade GNU
8636 *** binutils to release 2.9.1 or newer.  Another option is to modify
8637 *** your PATH or compiler configuration so that the native linker is
8638 *** used, and then restart.
8639
8640 _LT_EOF
8641       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8642         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8643         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8644       else
8645         ld_shlibs=no
8646       fi
8647       ;;
8648
8649     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8650       case `$LD -v 2>&1` in
8651         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8652         ld_shlibs=no
8653         cat <<_LT_EOF 1>&2
8654
8655 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8656 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8657 *** is disabling shared libraries support.  We urge you to upgrade GNU
8658 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8659 *** your PATH or compiler configuration so that the native linker is
8660 *** used, and then restart.
8661
8662 _LT_EOF
8663         ;;
8664         *)
8665           # For security reasons, it is highly recommended that you always
8666           # use absolute paths for naming shared libraries, and exclude the
8667           # DT_RUNPATH tag from executables and libraries.  But doing so
8668           # requires that you compile everything twice, which is a pain.
8669           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8670             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8671             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8672             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8673           else
8674             ld_shlibs=no
8675           fi
8676         ;;
8677       esac
8678       ;;
8679
8680     sunos4*)
8681       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8682       wlarc=
8683       hardcode_direct=yes
8684       hardcode_shlibpath_var=no
8685       ;;
8686
8687     *)
8688       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8689         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8690         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8691       else
8692         ld_shlibs=no
8693       fi
8694       ;;
8695     esac
8696
8697     if test "$ld_shlibs" = no; then
8698       runpath_var=
8699       hardcode_libdir_flag_spec=
8700       export_dynamic_flag_spec=
8701       whole_archive_flag_spec=
8702     fi
8703   else
8704     # PORTME fill in a description of your system's linker (not GNU ld)
8705     case $host_os in
8706     aix3*)
8707       allow_undefined_flag=unsupported
8708       always_export_symbols=yes
8709       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'
8710       # Note: this linker hardcodes the directories in LIBPATH if there
8711       # are no directories specified by -L.
8712       hardcode_minus_L=yes
8713       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8714         # Neither direct hardcoding nor static linking is supported with a
8715         # broken collect2.
8716         hardcode_direct=unsupported
8717       fi
8718       ;;
8719
8720     aix[4-9]*)
8721       if test "$host_cpu" = ia64; then
8722         # On IA64, the linker does run time linking by default, so we don't
8723         # have to do anything special.
8724         aix_use_runtimelinking=no
8725         exp_sym_flag='-Bexport'
8726         no_entry_flag=""
8727       else
8728         # If we're using GNU nm, then we don't want the "-C" option.
8729         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8730         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8731           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8732         else
8733           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'
8734         fi
8735         aix_use_runtimelinking=no
8736
8737         # Test if we are trying to use run time linking or normal
8738         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8739         # need to do runtime linking.
8740         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8741           for ld_flag in $LDFLAGS; do
8742           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8743             aix_use_runtimelinking=yes
8744             break
8745           fi
8746           done
8747           ;;
8748         esac
8749
8750         exp_sym_flag='-bexport'
8751         no_entry_flag='-bnoentry'
8752       fi
8753
8754       # When large executables or shared objects are built, AIX ld can
8755       # have problems creating the table of contents.  If linking a library
8756       # or program results in "error TOC overflow" add -mminimal-toc to
8757       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8758       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8759
8760       archive_cmds=''
8761       hardcode_direct=yes
8762       hardcode_direct_absolute=yes
8763       hardcode_libdir_separator=':'
8764       link_all_deplibs=yes
8765       file_list_spec='${wl}-f,'
8766
8767       if test "$GCC" = yes; then
8768         case $host_os in aix4.[012]|aix4.[012].*)
8769         # We only want to do this on AIX 4.2 and lower, the check
8770         # below for broken collect2 doesn't work under 4.3+
8771           collect2name=`${CC} -print-prog-name=collect2`
8772           if test -f "$collect2name" &&
8773            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8774           then
8775           # We have reworked collect2
8776           :
8777           else
8778           # We have old collect2
8779           hardcode_direct=unsupported
8780           # It fails to find uninstalled libraries when the uninstalled
8781           # path is not listed in the libpath.  Setting hardcode_minus_L
8782           # to unsupported forces relinking
8783           hardcode_minus_L=yes
8784           hardcode_libdir_flag_spec='-L$libdir'
8785           hardcode_libdir_separator=
8786           fi
8787           ;;
8788         esac
8789         shared_flag='-shared'
8790         if test "$aix_use_runtimelinking" = yes; then
8791           shared_flag="$shared_flag "'${wl}-G'
8792         fi
8793         link_all_deplibs=no
8794       else
8795         # not using gcc
8796         if test "$host_cpu" = ia64; then
8797         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8798         # chokes on -Wl,-G. The following line is correct:
8799           shared_flag='-G'
8800         else
8801           if test "$aix_use_runtimelinking" = yes; then
8802             shared_flag='${wl}-G'
8803           else
8804             shared_flag='${wl}-bM:SRE'
8805           fi
8806         fi
8807       fi
8808
8809       export_dynamic_flag_spec='${wl}-bexpall'
8810       # It seems that -bexpall does not export symbols beginning with
8811       # underscore (_), so it is better to generate a list of symbols to export.
8812       always_export_symbols=yes
8813       if test "$aix_use_runtimelinking" = yes; then
8814         # Warning - without using the other runtime loading flags (-brtl),
8815         # -berok will link without error, but may produce a broken library.
8816         allow_undefined_flag='-berok'
8817         # Determine the default libpath from the value encoded in an
8818         # empty executable.
8819         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8820 /* end confdefs.h.  */
8821
8822 int
8823 main ()
8824 {
8825
8826   ;
8827   return 0;
8828 }
8829 _ACEOF
8830 if ac_fn_c_try_link "$LINENO"; then :
8831
8832 lt_aix_libpath_sed='
8833     /Import File Strings/,/^$/ {
8834         /^0/ {
8835             s/^0  *\(.*\)$/\1/
8836             p
8837         }
8838     }'
8839 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8840 # Check for a 64-bit object if we didn't find anything.
8841 if test -z "$aix_libpath"; then
8842   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8843 fi
8844 fi
8845 rm -f core conftest.err conftest.$ac_objext \
8846     conftest$ac_exeext conftest.$ac_ext
8847 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8848
8849         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8850         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8851       else
8852         if test "$host_cpu" = ia64; then
8853           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8854           allow_undefined_flag="-z nodefs"
8855           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"
8856         else
8857          # Determine the default libpath from the value encoded in an
8858          # empty executable.
8859          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8860 /* end confdefs.h.  */
8861
8862 int
8863 main ()
8864 {
8865
8866   ;
8867   return 0;
8868 }
8869 _ACEOF
8870 if ac_fn_c_try_link "$LINENO"; then :
8871
8872 lt_aix_libpath_sed='
8873     /Import File Strings/,/^$/ {
8874         /^0/ {
8875             s/^0  *\(.*\)$/\1/
8876             p
8877         }
8878     }'
8879 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8880 # Check for a 64-bit object if we didn't find anything.
8881 if test -z "$aix_libpath"; then
8882   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8883 fi
8884 fi
8885 rm -f core conftest.err conftest.$ac_objext \
8886     conftest$ac_exeext conftest.$ac_ext
8887 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8888
8889          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8890           # Warning - without using the other run time loading flags,
8891           # -berok will link without error, but may produce a broken library.
8892           no_undefined_flag=' ${wl}-bernotok'
8893           allow_undefined_flag=' ${wl}-berok'
8894           # Exported symbols can be pulled into shared objects from archives
8895           whole_archive_flag_spec='$convenience'
8896           archive_cmds_need_lc=yes
8897           # This is similar to how AIX traditionally builds its shared libraries.
8898           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'
8899         fi
8900       fi
8901       ;;
8902
8903     amigaos*)
8904       case $host_cpu in
8905       powerpc)
8906             # see comment about AmigaOS4 .so support
8907             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8908             archive_expsym_cmds=''
8909         ;;
8910       m68k)
8911             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)'
8912             hardcode_libdir_flag_spec='-L$libdir'
8913             hardcode_minus_L=yes
8914         ;;
8915       esac
8916       ;;
8917
8918     bsdi[45]*)
8919       export_dynamic_flag_spec=-rdynamic
8920       ;;
8921
8922     cygwin* | mingw* | pw32* | cegcc*)
8923       # When not using gcc, we currently assume that we are using
8924       # Microsoft Visual C++.
8925       # hardcode_libdir_flag_spec is actually meaningless, as there is
8926       # no search path for DLLs.
8927       hardcode_libdir_flag_spec=' '
8928       allow_undefined_flag=unsupported
8929       # Tell ltmain to make .lib files, not .a files.
8930       libext=lib
8931       # Tell ltmain to make .dll files, not .so files.
8932       shrext_cmds=".dll"
8933       # FIXME: Setting linknames here is a bad hack.
8934       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8935       # The linker will automatically build a .lib file if we build a DLL.
8936       old_archive_from_new_cmds='true'
8937       # FIXME: Should let the user specify the lib program.
8938       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8939       fix_srcfile_path='`cygpath -w "$srcfile"`'
8940       enable_shared_with_static_runtimes=yes
8941       ;;
8942
8943     darwin* | rhapsody*)
8944
8945
8946   archive_cmds_need_lc=no
8947   hardcode_direct=no
8948   hardcode_automatic=yes
8949   hardcode_shlibpath_var=unsupported
8950   whole_archive_flag_spec=''
8951   link_all_deplibs=yes
8952   allow_undefined_flag="$_lt_dar_allow_undefined"
8953   case $cc_basename in
8954      ifort*) _lt_dar_can_shared=yes ;;
8955      *) _lt_dar_can_shared=$GCC ;;
8956   esac
8957   if test "$_lt_dar_can_shared" = "yes"; then
8958     output_verbose_link_cmd=echo
8959     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8960     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8961     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}"
8962     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}"
8963
8964   else
8965   ld_shlibs=no
8966   fi
8967
8968       ;;
8969
8970     dgux*)
8971       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8972       hardcode_libdir_flag_spec='-L$libdir'
8973       hardcode_shlibpath_var=no
8974       ;;
8975
8976     freebsd1*)
8977       ld_shlibs=no
8978       ;;
8979
8980     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8981     # support.  Future versions do this automatically, but an explicit c++rt0.o
8982     # does not break anything, and helps significantly (at the cost of a little
8983     # extra space).
8984     freebsd2.2*)
8985       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8986       hardcode_libdir_flag_spec='-R$libdir'
8987       hardcode_direct=yes
8988       hardcode_shlibpath_var=no
8989       ;;
8990
8991     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8992     freebsd2*)
8993       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8994       hardcode_direct=yes
8995       hardcode_minus_L=yes
8996       hardcode_shlibpath_var=no
8997       ;;
8998
8999     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9000     freebsd* | dragonfly*)
9001       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9002       hardcode_libdir_flag_spec='-R$libdir'
9003       hardcode_direct=yes
9004       hardcode_shlibpath_var=no
9005       ;;
9006
9007     hpux9*)
9008       if test "$GCC" = yes; then
9009         archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9010       else
9011         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'
9012       fi
9013       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9014       hardcode_libdir_separator=:
9015       hardcode_direct=yes
9016
9017       # hardcode_minus_L: Not really in the search PATH,
9018       # but as the default location of the library.
9019       hardcode_minus_L=yes
9020       export_dynamic_flag_spec='${wl}-E'
9021       ;;
9022
9023     hpux10*)
9024       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9025         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9026       else
9027         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9028       fi
9029       if test "$with_gnu_ld" = no; then
9030         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9031         hardcode_libdir_flag_spec_ld='+b $libdir'
9032         hardcode_libdir_separator=:
9033         hardcode_direct=yes
9034         hardcode_direct_absolute=yes
9035         export_dynamic_flag_spec='${wl}-E'
9036         # hardcode_minus_L: Not really in the search PATH,
9037         # but as the default location of the library.
9038         hardcode_minus_L=yes
9039       fi
9040       ;;
9041
9042     hpux11*)
9043       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9044         case $host_cpu in
9045         hppa*64*)
9046           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9047           ;;
9048         ia64*)
9049           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9050           ;;
9051         *)
9052           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9053           ;;
9054         esac
9055       else
9056         case $host_cpu in
9057         hppa*64*)
9058           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9059           ;;
9060         ia64*)
9061           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9062           ;;
9063         *)
9064           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9065           ;;
9066         esac
9067       fi
9068       if test "$with_gnu_ld" = no; then
9069         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9070         hardcode_libdir_separator=:
9071
9072         case $host_cpu in
9073         hppa*64*|ia64*)
9074           hardcode_direct=no
9075           hardcode_shlibpath_var=no
9076           ;;
9077         *)
9078           hardcode_direct=yes
9079           hardcode_direct_absolute=yes
9080           export_dynamic_flag_spec='${wl}-E'
9081
9082           # hardcode_minus_L: Not really in the search PATH,
9083           # but as the default location of the library.
9084           hardcode_minus_L=yes
9085           ;;
9086         esac
9087       fi
9088       ;;
9089
9090     irix5* | irix6* | nonstopux*)
9091       if test "$GCC" = yes; then
9092         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9093         # Try to use the -exported_symbol ld option, if it does not
9094         # work, assume that -exports_file does not work either and
9095         # implicitly export all symbols.
9096         save_LDFLAGS="$LDFLAGS"
9097         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9098         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9099 /* end confdefs.h.  */
9100 int foo(void) {}
9101 _ACEOF
9102 if ac_fn_c_try_link "$LINENO"; then :
9103   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9104
9105 fi
9106 rm -f core conftest.err conftest.$ac_objext \
9107     conftest$ac_exeext conftest.$ac_ext
9108         LDFLAGS="$save_LDFLAGS"
9109       else
9110         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9111         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9112       fi
9113       archive_cmds_need_lc='no'
9114       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9115       hardcode_libdir_separator=:
9116       inherit_rpath=yes
9117       link_all_deplibs=yes
9118       ;;
9119
9120     netbsd* | netbsdelf*-gnu)
9121       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9122         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9123       else
9124         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9125       fi
9126       hardcode_libdir_flag_spec='-R$libdir'
9127       hardcode_direct=yes
9128       hardcode_shlibpath_var=no
9129       ;;
9130
9131     newsos6)
9132       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9133       hardcode_direct=yes
9134       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9135       hardcode_libdir_separator=:
9136       hardcode_shlibpath_var=no
9137       ;;
9138
9139     *nto* | *qnx*)
9140       ;;
9141
9142     openbsd*)
9143       if test -f /usr/libexec/ld.so; then
9144         hardcode_direct=yes
9145         hardcode_shlibpath_var=no
9146         hardcode_direct_absolute=yes
9147         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9148           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9149           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9150           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9151           export_dynamic_flag_spec='${wl}-E'
9152         else
9153           case $host_os in
9154            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9155              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9156              hardcode_libdir_flag_spec='-R$libdir'
9157              ;;
9158            *)
9159              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9160              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9161              ;;
9162           esac
9163         fi
9164       else
9165         ld_shlibs=no
9166       fi
9167       ;;
9168
9169     os2*)
9170       hardcode_libdir_flag_spec='-L$libdir'
9171       hardcode_minus_L=yes
9172       allow_undefined_flag=unsupported
9173       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'
9174       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9175       ;;
9176
9177     osf3*)
9178       if test "$GCC" = yes; then
9179         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9180         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9181       else
9182         allow_undefined_flag=' -expect_unresolved \*'
9183         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9184       fi
9185       archive_cmds_need_lc='no'
9186       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9187       hardcode_libdir_separator=:
9188       ;;
9189
9190     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9191       if test "$GCC" = yes; then
9192         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9193         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9194         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9195       else
9196         allow_undefined_flag=' -expect_unresolved \*'
9197         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9198         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~
9199         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9200
9201         # Both c and cxx compiler support -rpath directly
9202         hardcode_libdir_flag_spec='-rpath $libdir'
9203       fi
9204       archive_cmds_need_lc='no'
9205       hardcode_libdir_separator=:
9206       ;;
9207
9208     solaris*)
9209       no_undefined_flag=' -z defs'
9210       if test "$GCC" = yes; then
9211         wlarc='${wl}'
9212         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9213         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9214           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9215       else
9216         case `$CC -V 2>&1` in
9217         *"Compilers 5.0"*)
9218           wlarc=''
9219           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9220           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9221           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9222           ;;
9223         *)
9224           wlarc='${wl}'
9225           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9226           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9227           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9228           ;;
9229         esac
9230       fi
9231       hardcode_libdir_flag_spec='-R$libdir'
9232       hardcode_shlibpath_var=no
9233       case $host_os in
9234       solaris2.[0-5] | solaris2.[0-5].*) ;;
9235       *)
9236         # The compiler driver will combine and reorder linker options,
9237         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9238         # but is careful enough not to reorder.
9239         # Supported since Solaris 2.6 (maybe 2.5.1?)
9240         if test "$GCC" = yes; then
9241           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9242         else
9243           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9244         fi
9245         ;;
9246       esac
9247       link_all_deplibs=yes
9248       ;;
9249
9250     sunos4*)
9251       if test "x$host_vendor" = xsequent; then
9252         # Use $CC to link under sequent, because it throws in some extra .o
9253         # files that make .init and .fini sections work.
9254         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9255       else
9256         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9257       fi
9258       hardcode_libdir_flag_spec='-L$libdir'
9259       hardcode_direct=yes
9260       hardcode_minus_L=yes
9261       hardcode_shlibpath_var=no
9262       ;;
9263
9264     sysv4)
9265       case $host_vendor in
9266         sni)
9267           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9268           hardcode_direct=yes # is this really true???
9269         ;;
9270         siemens)
9271           ## LD is ld it makes a PLAMLIB
9272           ## CC just makes a GrossModule.
9273           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9274           reload_cmds='$CC -r -o $output$reload_objs'
9275           hardcode_direct=no
9276         ;;
9277         motorola)
9278           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9279           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9280         ;;
9281       esac
9282       runpath_var='LD_RUN_PATH'
9283       hardcode_shlibpath_var=no
9284       ;;
9285
9286     sysv4.3*)
9287       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9288       hardcode_shlibpath_var=no
9289       export_dynamic_flag_spec='-Bexport'
9290       ;;
9291
9292     sysv4*MP*)
9293       if test -d /usr/nec; then
9294         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9295         hardcode_shlibpath_var=no
9296         runpath_var=LD_RUN_PATH
9297         hardcode_runpath_var=yes
9298         ld_shlibs=yes
9299       fi
9300       ;;
9301
9302     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9303       no_undefined_flag='${wl}-z,text'
9304       archive_cmds_need_lc=no
9305       hardcode_shlibpath_var=no
9306       runpath_var='LD_RUN_PATH'
9307
9308       if test "$GCC" = yes; then
9309         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9310         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9311       else
9312         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9313         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9314       fi
9315       ;;
9316
9317     sysv5* | sco3.2v5* | sco5v6*)
9318       # Note: We can NOT use -z defs as we might desire, because we do not
9319       # link with -lc, and that would cause any symbols used from libc to
9320       # always be unresolved, which means just about no library would
9321       # ever link correctly.  If we're not using GNU ld we use -z text
9322       # though, which does catch some bad symbols but isn't as heavy-handed
9323       # as -z defs.
9324       no_undefined_flag='${wl}-z,text'
9325       allow_undefined_flag='${wl}-z,nodefs'
9326       archive_cmds_need_lc=no
9327       hardcode_shlibpath_var=no
9328       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9329       hardcode_libdir_separator=':'
9330       link_all_deplibs=yes
9331       export_dynamic_flag_spec='${wl}-Bexport'
9332       runpath_var='LD_RUN_PATH'
9333
9334       if test "$GCC" = yes; then
9335         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9336         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9337       else
9338         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9339         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9340       fi
9341       ;;
9342
9343     uts4*)
9344       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9345       hardcode_libdir_flag_spec='-L$libdir'
9346       hardcode_shlibpath_var=no
9347       ;;
9348
9349     *)
9350       ld_shlibs=no
9351       ;;
9352     esac
9353
9354     if test x$host_vendor = xsni; then
9355       case $host in
9356       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9357         export_dynamic_flag_spec='${wl}-Blargedynsym'
9358         ;;
9359       esac
9360     fi
9361   fi
9362
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9364 $as_echo "$ld_shlibs" >&6; }
9365 test "$ld_shlibs" = no && can_build_shared=no
9366
9367 with_gnu_ld=$with_gnu_ld
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383 #
9384 # Do we need to explicitly link libc?
9385 #
9386 case "x$archive_cmds_need_lc" in
9387 x|xyes)
9388   # Assume -lc should be added
9389   archive_cmds_need_lc=yes
9390
9391   if test "$enable_shared" = yes && test "$GCC" = yes; then
9392     case $archive_cmds in
9393     *'~'*)
9394       # FIXME: we may have to deal with multi-command sequences.
9395       ;;
9396     '$CC '*)
9397       # Test whether the compiler implicitly links with -lc since on some
9398       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9399       # to ld, don't add -lc before -lgcc.
9400       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9401 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9402       $RM conftest*
9403       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9404
9405       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9406   (eval $ac_compile) 2>&5
9407   ac_status=$?
9408   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9409   test $ac_status = 0; } 2>conftest.err; then
9410         soname=conftest
9411         lib=conftest
9412         libobjs=conftest.$ac_objext
9413         deplibs=
9414         wl=$lt_prog_compiler_wl
9415         pic_flag=$lt_prog_compiler_pic
9416         compiler_flags=-v
9417         linker_flags=-v
9418         verstring=
9419         output_objdir=.
9420         libname=conftest
9421         lt_save_allow_undefined_flag=$allow_undefined_flag
9422         allow_undefined_flag=
9423         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9424   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9425   ac_status=$?
9426   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9427   test $ac_status = 0; }
9428         then
9429           archive_cmds_need_lc=no
9430         else
9431           archive_cmds_need_lc=yes
9432         fi
9433         allow_undefined_flag=$lt_save_allow_undefined_flag
9434       else
9435         cat conftest.err 1>&5
9436       fi
9437       $RM conftest*
9438       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9439 $as_echo "$archive_cmds_need_lc" >&6; }
9440       ;;
9441     esac
9442   fi
9443   ;;
9444 esac
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9603 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9604
9605 if test "$GCC" = yes; then
9606   case $host_os in
9607     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9608     *) lt_awk_arg="/^libraries:/" ;;
9609   esac
9610   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9611   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9612     # if the path contains ";" then we assume it to be the separator
9613     # otherwise default to the standard path separator (i.e. ":") - it is
9614     # assumed that no part of a normal pathname contains ";" but that should
9615     # okay in the real world where ";" in dirpaths is itself problematic.
9616     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9617   else
9618     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9619   fi
9620   # Ok, now we have the path, separated by spaces, we can step through it
9621   # and add multilib dir if necessary.
9622   lt_tmp_lt_search_path_spec=
9623   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9624   for lt_sys_path in $lt_search_path_spec; do
9625     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9626       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9627     else
9628       test -d "$lt_sys_path" && \
9629         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9630     fi
9631   done
9632   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9633 BEGIN {RS=" "; FS="/|\n";} {
9634   lt_foo="";
9635   lt_count=0;
9636   for (lt_i = NF; lt_i > 0; lt_i--) {
9637     if ($lt_i != "" && $lt_i != ".") {
9638       if ($lt_i == "..") {
9639         lt_count++;
9640       } else {
9641         if (lt_count == 0) {
9642           lt_foo="/" $lt_i lt_foo;
9643         } else {
9644           lt_count--;
9645         }
9646       }
9647     }
9648   }
9649   if (lt_foo != "") { lt_freq[lt_foo]++; }
9650   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9651 }'`
9652   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9653 else
9654   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9655 fi
9656 library_names_spec=
9657 libname_spec='lib$name'
9658 soname_spec=
9659 shrext_cmds=".so"
9660 postinstall_cmds=
9661 postuninstall_cmds=
9662 finish_cmds=
9663 finish_eval=
9664 shlibpath_var=
9665 shlibpath_overrides_runpath=unknown
9666 version_type=none
9667 dynamic_linker="$host_os ld.so"
9668 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9669 need_lib_prefix=unknown
9670 hardcode_into_libs=no
9671
9672 # when you set need_version to no, make sure it does not cause -set_version
9673 # flags to be left without arguments
9674 need_version=unknown
9675
9676 case $host_os in
9677 aix3*)
9678   version_type=linux
9679   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9680   shlibpath_var=LIBPATH
9681
9682   # AIX 3 has no versioning support, so we append a major version to the name.
9683   soname_spec='${libname}${release}${shared_ext}$major'
9684   ;;
9685
9686 aix[4-9]*)
9687   version_type=linux
9688   need_lib_prefix=no
9689   need_version=no
9690   hardcode_into_libs=yes
9691   if test "$host_cpu" = ia64; then
9692     # AIX 5 supports IA64
9693     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9694     shlibpath_var=LD_LIBRARY_PATH
9695   else
9696     # With GCC up to 2.95.x, collect2 would create an import file
9697     # for dependence libraries.  The import file would start with
9698     # the line `#! .'.  This would cause the generated library to
9699     # depend on `.', always an invalid library.  This was fixed in
9700     # development snapshots of GCC prior to 3.0.
9701     case $host_os in
9702       aix4 | aix4.[01] | aix4.[01].*)
9703       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9704            echo ' yes '
9705            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9706         :
9707       else
9708         can_build_shared=no
9709       fi
9710       ;;
9711     esac
9712     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9713     # soname into executable. Probably we can add versioning support to
9714     # collect2, so additional links can be useful in future.
9715     if test "$aix_use_runtimelinking" = yes; then
9716       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9717       # instead of lib<name>.a to let people know that these are not
9718       # typical AIX shared libraries.
9719       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9720     else
9721       # We preserve .a as extension for shared libraries through AIX4.2
9722       # and later when we are not doing run time linking.
9723       library_names_spec='${libname}${release}.a $libname.a'
9724       soname_spec='${libname}${release}${shared_ext}$major'
9725     fi
9726     shlibpath_var=LIBPATH
9727   fi
9728   ;;
9729
9730 amigaos*)
9731   case $host_cpu in
9732   powerpc)
9733     # Since July 2007 AmigaOS4 officially supports .so libraries.
9734     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9735     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9736     ;;
9737   m68k)
9738     library_names_spec='$libname.ixlibrary $libname.a'
9739     # Create ${libname}_ixlibrary.a entries in /sys/libs.
9740     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9741     ;;
9742   esac
9743   ;;
9744
9745 beos*)
9746   library_names_spec='${libname}${shared_ext}'
9747   dynamic_linker="$host_os ld.so"
9748   shlibpath_var=LIBRARY_PATH
9749   ;;
9750
9751 bsdi[45]*)
9752   version_type=linux
9753   need_version=no
9754   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9755   soname_spec='${libname}${release}${shared_ext}$major'
9756   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9757   shlibpath_var=LD_LIBRARY_PATH
9758   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9759   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9760   # the default ld.so.conf also contains /usr/contrib/lib and
9761   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9762   # libtool to hard-code these into programs
9763   ;;
9764
9765 cygwin* | mingw* | pw32* | cegcc*)
9766   version_type=windows
9767   shrext_cmds=".dll"
9768   need_version=no
9769   need_lib_prefix=no
9770
9771   case $GCC,$host_os in
9772   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9773     library_names_spec='$libname.dll.a'
9774     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9775     postinstall_cmds='base_file=`basename \${file}`~
9776       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9777       dldir=$destdir/`dirname \$dlpath`~
9778       test -d \$dldir || mkdir -p \$dldir~
9779       $install_prog $dir/$dlname \$dldir/$dlname~
9780       chmod a+x \$dldir/$dlname~
9781       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9782         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9783       fi'
9784     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9785       dlpath=$dir/\$dldll~
9786        $RM \$dlpath'
9787     shlibpath_overrides_runpath=yes
9788
9789     case $host_os in
9790     cygwin*)
9791       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9792       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9793       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9794       ;;
9795     mingw* | cegcc*)
9796       # MinGW DLLs use traditional 'lib' prefix
9797       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9798       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9799       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9800         # It is most probably a Windows format PATH printed by
9801         # mingw gcc, but we are running on Cygwin. Gcc prints its search
9802         # path with ; separators, and with drive letters. We can handle the
9803         # drive letters (cygwin fileutils understands them), so leave them,
9804         # especially as we might pass files found there to a mingw objdump,
9805         # which wouldn't understand a cygwinified path. Ahh.
9806         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9807       else
9808         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9809       fi
9810       ;;
9811     pw32*)
9812       # pw32 DLLs use 'pw' prefix rather than 'lib'
9813       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9814       ;;
9815     esac
9816     ;;
9817
9818   *)
9819     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9820     ;;
9821   esac
9822   dynamic_linker='Win32 ld.exe'
9823   # FIXME: first we should search . and the directory the executable is in
9824   shlibpath_var=PATH
9825   ;;
9826
9827 darwin* | rhapsody*)
9828   dynamic_linker="$host_os dyld"
9829   version_type=darwin
9830   need_lib_prefix=no
9831   need_version=no
9832   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9833   soname_spec='${libname}${release}${major}$shared_ext'
9834   shlibpath_overrides_runpath=yes
9835   shlibpath_var=DYLD_LIBRARY_PATH
9836   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9837
9838   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9839   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9840   ;;
9841
9842 dgux*)
9843   version_type=linux
9844   need_lib_prefix=no
9845   need_version=no
9846   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9847   soname_spec='${libname}${release}${shared_ext}$major'
9848   shlibpath_var=LD_LIBRARY_PATH
9849   ;;
9850
9851 freebsd1*)
9852   dynamic_linker=no
9853   ;;
9854
9855 freebsd* | dragonfly*)
9856   # DragonFly does not have aout.  When/if they implement a new
9857   # versioning mechanism, adjust this.
9858   if test -x /usr/bin/objformat; then
9859     objformat=`/usr/bin/objformat`
9860   else
9861     case $host_os in
9862     freebsd[123]*) objformat=aout ;;
9863     *) objformat=elf ;;
9864     esac
9865   fi
9866   version_type=freebsd-$objformat
9867   case $version_type in
9868     freebsd-elf*)
9869       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9870       need_version=no
9871       need_lib_prefix=no
9872       ;;
9873     freebsd-*)
9874       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9875       need_version=yes
9876       ;;
9877   esac
9878   shlibpath_var=LD_LIBRARY_PATH
9879   case $host_os in
9880   freebsd2*)
9881     shlibpath_overrides_runpath=yes
9882     ;;
9883   freebsd3.[01]* | freebsdelf3.[01]*)
9884     shlibpath_overrides_runpath=yes
9885     hardcode_into_libs=yes
9886     ;;
9887   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9888   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9889     shlibpath_overrides_runpath=no
9890     hardcode_into_libs=yes
9891     ;;
9892   *) # from 4.6 on, and DragonFly
9893     shlibpath_overrides_runpath=yes
9894     hardcode_into_libs=yes
9895     ;;
9896   esac
9897   ;;
9898
9899 gnu*)
9900   version_type=linux
9901   need_lib_prefix=no
9902   need_version=no
9903   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9904   soname_spec='${libname}${release}${shared_ext}$major'
9905   shlibpath_var=LD_LIBRARY_PATH
9906   hardcode_into_libs=yes
9907   ;;
9908
9909 hpux9* | hpux10* | hpux11*)
9910   # Give a soname corresponding to the major version so that dld.sl refuses to
9911   # link against other versions.
9912   version_type=sunos
9913   need_lib_prefix=no
9914   need_version=no
9915   case $host_cpu in
9916   ia64*)
9917     shrext_cmds='.so'
9918     hardcode_into_libs=yes
9919     dynamic_linker="$host_os dld.so"
9920     shlibpath_var=LD_LIBRARY_PATH
9921     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9922     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9923     soname_spec='${libname}${release}${shared_ext}$major'
9924     if test "X$HPUX_IA64_MODE" = X32; then
9925       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9926     else
9927       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9928     fi
9929     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9930     ;;
9931   hppa*64*)
9932     shrext_cmds='.sl'
9933     hardcode_into_libs=yes
9934     dynamic_linker="$host_os dld.sl"
9935     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9936     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9937     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9938     soname_spec='${libname}${release}${shared_ext}$major'
9939     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9940     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9941     ;;
9942   *)
9943     shrext_cmds='.sl'
9944     dynamic_linker="$host_os dld.sl"
9945     shlibpath_var=SHLIB_PATH
9946     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9947     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9948     soname_spec='${libname}${release}${shared_ext}$major'
9949     ;;
9950   esac
9951   # HP-UX runs *really* slowly unless shared libraries are mode 555.
9952   postinstall_cmds='chmod 555 $lib'
9953   ;;
9954
9955 interix[3-9]*)
9956   version_type=linux
9957   need_lib_prefix=no
9958   need_version=no
9959   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9960   soname_spec='${libname}${release}${shared_ext}$major'
9961   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9962   shlibpath_var=LD_LIBRARY_PATH
9963   shlibpath_overrides_runpath=no
9964   hardcode_into_libs=yes
9965   ;;
9966
9967 irix5* | irix6* | nonstopux*)
9968   case $host_os in
9969     nonstopux*) version_type=nonstopux ;;
9970     *)
9971         if test "$lt_cv_prog_gnu_ld" = yes; then
9972                 version_type=linux
9973         else
9974                 version_type=irix
9975         fi ;;
9976   esac
9977   need_lib_prefix=no
9978   need_version=no
9979   soname_spec='${libname}${release}${shared_ext}$major'
9980   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9981   case $host_os in
9982   irix5* | nonstopux*)
9983     libsuff= shlibsuff=
9984     ;;
9985   *)
9986     case $LD in # libtool.m4 will add one of these switches to LD
9987     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9988       libsuff= shlibsuff= libmagic=32-bit;;
9989     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9990       libsuff=32 shlibsuff=N32 libmagic=N32;;
9991     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9992       libsuff=64 shlibsuff=64 libmagic=64-bit;;
9993     *) libsuff= shlibsuff= libmagic=never-match;;
9994     esac
9995     ;;
9996   esac
9997   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9998   shlibpath_overrides_runpath=no
9999   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10000   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10001   hardcode_into_libs=yes
10002   ;;
10003
10004 # No shared lib support for Linux oldld, aout, or coff.
10005 linux*oldld* | linux*aout* | linux*coff*)
10006   dynamic_linker=no
10007   ;;
10008
10009 # This must be Linux ELF.
10010 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10011   version_type=linux
10012   need_lib_prefix=no
10013   need_version=no
10014   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10015   soname_spec='${libname}${release}${shared_ext}$major'
10016   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10017   shlibpath_var=LD_LIBRARY_PATH
10018   shlibpath_overrides_runpath=no
10019   # Some binutils ld are patched to set DT_RUNPATH
10020   save_LDFLAGS=$LDFLAGS
10021   save_libdir=$libdir
10022   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10023        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10025 /* end confdefs.h.  */
10026
10027 int
10028 main ()
10029 {
10030
10031   ;
10032   return 0;
10033 }
10034 _ACEOF
10035 if ac_fn_c_try_link "$LINENO"; then :
10036   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10037   shlibpath_overrides_runpath=yes
10038 fi
10039 fi
10040 rm -f core conftest.err conftest.$ac_objext \
10041     conftest$ac_exeext conftest.$ac_ext
10042   LDFLAGS=$save_LDFLAGS
10043   libdir=$save_libdir
10044
10045   # This implies no fast_install, which is unacceptable.
10046   # Some rework will be needed to allow for fast_install
10047   # before this can be enabled.
10048   hardcode_into_libs=yes
10049
10050   # Append ld.so.conf contents to the search path
10051   if test -f /etc/ld.so.conf; then
10052     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10053     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10054   fi
10055
10056   # We used to test for /lib/ld.so.1 and disable shared libraries on
10057   # powerpc, because MkLinux only supported shared libraries with the
10058   # GNU dynamic linker.  Since this was broken with cross compilers,
10059   # most powerpc-linux boxes support dynamic linking these days and
10060   # people can always --disable-shared, the test was removed, and we
10061   # assume the GNU/Linux dynamic linker is in use.
10062   dynamic_linker='GNU/Linux ld.so'
10063   ;;
10064
10065 netbsdelf*-gnu)
10066   version_type=linux
10067   need_lib_prefix=no
10068   need_version=no
10069   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10070   soname_spec='${libname}${release}${shared_ext}$major'
10071   shlibpath_var=LD_LIBRARY_PATH
10072   shlibpath_overrides_runpath=no
10073   hardcode_into_libs=yes
10074   dynamic_linker='NetBSD ld.elf_so'
10075   ;;
10076
10077 netbsd*)
10078   version_type=sunos
10079   need_lib_prefix=no
10080   need_version=no
10081   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10082     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10083     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10084     dynamic_linker='NetBSD (a.out) ld.so'
10085   else
10086     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10087     soname_spec='${libname}${release}${shared_ext}$major'
10088     dynamic_linker='NetBSD ld.elf_so'
10089   fi
10090   shlibpath_var=LD_LIBRARY_PATH
10091   shlibpath_overrides_runpath=yes
10092   hardcode_into_libs=yes
10093   ;;
10094
10095 newsos6)
10096   version_type=linux
10097   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10098   shlibpath_var=LD_LIBRARY_PATH
10099   shlibpath_overrides_runpath=yes
10100   ;;
10101
10102 *nto* | *qnx*)
10103   version_type=qnx
10104   need_lib_prefix=no
10105   need_version=no
10106   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10107   soname_spec='${libname}${release}${shared_ext}$major'
10108   shlibpath_var=LD_LIBRARY_PATH
10109   shlibpath_overrides_runpath=no
10110   hardcode_into_libs=yes
10111   dynamic_linker='ldqnx.so'
10112   ;;
10113
10114 openbsd*)
10115   version_type=sunos
10116   sys_lib_dlsearch_path_spec="/usr/lib"
10117   need_lib_prefix=no
10118   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10119   case $host_os in
10120     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10121     *)                          need_version=no  ;;
10122   esac
10123   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10124   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10125   shlibpath_var=LD_LIBRARY_PATH
10126   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10127     case $host_os in
10128       openbsd2.[89] | openbsd2.[89].*)
10129         shlibpath_overrides_runpath=no
10130         ;;
10131       *)
10132         shlibpath_overrides_runpath=yes
10133         ;;
10134       esac
10135   else
10136     shlibpath_overrides_runpath=yes
10137   fi
10138   ;;
10139
10140 os2*)
10141   libname_spec='$name'
10142   shrext_cmds=".dll"
10143   need_lib_prefix=no
10144   library_names_spec='$libname${shared_ext} $libname.a'
10145   dynamic_linker='OS/2 ld.exe'
10146   shlibpath_var=LIBPATH
10147   ;;
10148
10149 osf3* | osf4* | osf5*)
10150   version_type=osf
10151   need_lib_prefix=no
10152   need_version=no
10153   soname_spec='${libname}${release}${shared_ext}$major'
10154   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10155   shlibpath_var=LD_LIBRARY_PATH
10156   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10157   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10158   ;;
10159
10160 rdos*)
10161   dynamic_linker=no
10162   ;;
10163
10164 solaris*)
10165   version_type=linux
10166   need_lib_prefix=no
10167   need_version=no
10168   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10169   soname_spec='${libname}${release}${shared_ext}$major'
10170   shlibpath_var=LD_LIBRARY_PATH
10171   shlibpath_overrides_runpath=yes
10172   hardcode_into_libs=yes
10173   # ldd complains unless libraries are executable
10174   postinstall_cmds='chmod +x $lib'
10175   ;;
10176
10177 sunos4*)
10178   version_type=sunos
10179   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10180   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10181   shlibpath_var=LD_LIBRARY_PATH
10182   shlibpath_overrides_runpath=yes
10183   if test "$with_gnu_ld" = yes; then
10184     need_lib_prefix=no
10185   fi
10186   need_version=yes
10187   ;;
10188
10189 sysv4 | sysv4.3*)
10190   version_type=linux
10191   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10192   soname_spec='${libname}${release}${shared_ext}$major'
10193   shlibpath_var=LD_LIBRARY_PATH
10194   case $host_vendor in
10195     sni)
10196       shlibpath_overrides_runpath=no
10197       need_lib_prefix=no
10198       runpath_var=LD_RUN_PATH
10199       ;;
10200     siemens)
10201       need_lib_prefix=no
10202       ;;
10203     motorola)
10204       need_lib_prefix=no
10205       need_version=no
10206       shlibpath_overrides_runpath=no
10207       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10208       ;;
10209   esac
10210   ;;
10211
10212 sysv4*MP*)
10213   if test -d /usr/nec ;then
10214     version_type=linux
10215     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10216     soname_spec='$libname${shared_ext}.$major'
10217     shlibpath_var=LD_LIBRARY_PATH
10218   fi
10219   ;;
10220
10221 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10222   version_type=freebsd-elf
10223   need_lib_prefix=no
10224   need_version=no
10225   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10226   soname_spec='${libname}${release}${shared_ext}$major'
10227   shlibpath_var=LD_LIBRARY_PATH
10228   shlibpath_overrides_runpath=yes
10229   hardcode_into_libs=yes
10230   if test "$with_gnu_ld" = yes; then
10231     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10232   else
10233     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10234     case $host_os in
10235       sco3.2v5*)
10236         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10237         ;;
10238     esac
10239   fi
10240   sys_lib_dlsearch_path_spec='/usr/lib'
10241   ;;
10242
10243 tpf*)
10244   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10245   version_type=linux
10246   need_lib_prefix=no
10247   need_version=no
10248   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10249   shlibpath_var=LD_LIBRARY_PATH
10250   shlibpath_overrides_runpath=no
10251   hardcode_into_libs=yes
10252   ;;
10253
10254 uts4*)
10255   version_type=linux
10256   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10257   soname_spec='${libname}${release}${shared_ext}$major'
10258   shlibpath_var=LD_LIBRARY_PATH
10259   ;;
10260
10261 *)
10262   dynamic_linker=no
10263   ;;
10264 esac
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10266 $as_echo "$dynamic_linker" >&6; }
10267 test "$dynamic_linker" = no && can_build_shared=no
10268
10269 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10270 if test "$GCC" = yes; then
10271   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10272 fi
10273
10274 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10275   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10276 fi
10277 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10278   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10279 fi
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10368 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10369 hardcode_action=
10370 if test -n "$hardcode_libdir_flag_spec" ||
10371    test -n "$runpath_var" ||
10372    test "X$hardcode_automatic" = "Xyes" ; then
10373
10374   # We can hardcode non-existent directories.
10375   if test "$hardcode_direct" != no &&
10376      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10377      # have to relink, otherwise we might link with an installed library
10378      # when we should be linking with a yet-to-be-installed one
10379      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10380      test "$hardcode_minus_L" != no; then
10381     # Linking always hardcodes the temporary library directory.
10382     hardcode_action=relink
10383   else
10384     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10385     hardcode_action=immediate
10386   fi
10387 else
10388   # We cannot hardcode anything, or else we can only hardcode existing
10389   # directories.
10390   hardcode_action=unsupported
10391 fi
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10393 $as_echo "$hardcode_action" >&6; }
10394
10395 if test "$hardcode_action" = relink ||
10396    test "$inherit_rpath" = yes; then
10397   # Fast installation is not supported
10398   enable_fast_install=no
10399 elif test "$shlibpath_overrides_runpath" = yes ||
10400      test "$enable_shared" = no; then
10401   # Fast installation is not necessary
10402   enable_fast_install=needless
10403 fi
10404
10405
10406
10407
10408
10409
10410   if test "x$enable_dlopen" != xyes; then
10411   enable_dlopen=unknown
10412   enable_dlopen_self=unknown
10413   enable_dlopen_self_static=unknown
10414 else
10415   lt_cv_dlopen=no
10416   lt_cv_dlopen_libs=
10417
10418   case $host_os in
10419   beos*)
10420     lt_cv_dlopen="load_add_on"
10421     lt_cv_dlopen_libs=
10422     lt_cv_dlopen_self=yes
10423     ;;
10424
10425   mingw* | pw32* | cegcc*)
10426     lt_cv_dlopen="LoadLibrary"
10427     lt_cv_dlopen_libs=
10428     ;;
10429
10430   cygwin*)
10431     lt_cv_dlopen="dlopen"
10432     lt_cv_dlopen_libs=
10433     ;;
10434
10435   darwin*)
10436   # if libdl is installed we need to link against it
10437     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10438 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10439 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10440   $as_echo_n "(cached) " >&6
10441 else
10442   ac_check_lib_save_LIBS=$LIBS
10443 LIBS="-ldl  $LIBS"
10444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10445 /* end confdefs.h.  */
10446
10447 /* Override any GCC internal prototype to avoid an error.
10448    Use char because int might match the return type of a GCC
10449    builtin and then its argument prototype would still apply.  */
10450 #ifdef __cplusplus
10451 extern "C"
10452 #endif
10453 char dlopen ();
10454 int
10455 main ()
10456 {
10457 return dlopen ();
10458   ;
10459   return 0;
10460 }
10461 _ACEOF
10462 if ac_fn_c_try_link "$LINENO"; then :
10463   ac_cv_lib_dl_dlopen=yes
10464 else
10465   ac_cv_lib_dl_dlopen=no
10466 fi
10467 rm -f core conftest.err conftest.$ac_objext \
10468     conftest$ac_exeext conftest.$ac_ext
10469 LIBS=$ac_check_lib_save_LIBS
10470 fi
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10472 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10473 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10474   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10475 else
10476
10477     lt_cv_dlopen="dyld"
10478     lt_cv_dlopen_libs=
10479     lt_cv_dlopen_self=yes
10480
10481 fi
10482
10483     ;;
10484
10485   *)
10486     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10487 if test "x$ac_cv_func_shl_load" = x""yes; then :
10488   lt_cv_dlopen="shl_load"
10489 else
10490   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10491 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10492 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10493   $as_echo_n "(cached) " >&6
10494 else
10495   ac_check_lib_save_LIBS=$LIBS
10496 LIBS="-ldld  $LIBS"
10497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10498 /* end confdefs.h.  */
10499
10500 /* Override any GCC internal prototype to avoid an error.
10501    Use char because int might match the return type of a GCC
10502    builtin and then its argument prototype would still apply.  */
10503 #ifdef __cplusplus
10504 extern "C"
10505 #endif
10506 char shl_load ();
10507 int
10508 main ()
10509 {
10510 return shl_load ();
10511   ;
10512   return 0;
10513 }
10514 _ACEOF
10515 if ac_fn_c_try_link "$LINENO"; then :
10516   ac_cv_lib_dld_shl_load=yes
10517 else
10518   ac_cv_lib_dld_shl_load=no
10519 fi
10520 rm -f core conftest.err conftest.$ac_objext \
10521     conftest$ac_exeext conftest.$ac_ext
10522 LIBS=$ac_check_lib_save_LIBS
10523 fi
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10525 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10526 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10527   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10528 else
10529   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10530 if test "x$ac_cv_func_dlopen" = x""yes; then :
10531   lt_cv_dlopen="dlopen"
10532 else
10533   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10534 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10535 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10536   $as_echo_n "(cached) " >&6
10537 else
10538   ac_check_lib_save_LIBS=$LIBS
10539 LIBS="-ldl  $LIBS"
10540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10541 /* end confdefs.h.  */
10542
10543 /* Override any GCC internal prototype to avoid an error.
10544    Use char because int might match the return type of a GCC
10545    builtin and then its argument prototype would still apply.  */
10546 #ifdef __cplusplus
10547 extern "C"
10548 #endif
10549 char dlopen ();
10550 int
10551 main ()
10552 {
10553 return dlopen ();
10554   ;
10555   return 0;
10556 }
10557 _ACEOF
10558 if ac_fn_c_try_link "$LINENO"; then :
10559   ac_cv_lib_dl_dlopen=yes
10560 else
10561   ac_cv_lib_dl_dlopen=no
10562 fi
10563 rm -f core conftest.err conftest.$ac_objext \
10564     conftest$ac_exeext conftest.$ac_ext
10565 LIBS=$ac_check_lib_save_LIBS
10566 fi
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10568 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10569 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10570   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10571 else
10572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10573 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10574 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10575   $as_echo_n "(cached) " >&6
10576 else
10577   ac_check_lib_save_LIBS=$LIBS
10578 LIBS="-lsvld  $LIBS"
10579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10580 /* end confdefs.h.  */
10581
10582 /* Override any GCC internal prototype to avoid an error.
10583    Use char because int might match the return type of a GCC
10584    builtin and then its argument prototype would still apply.  */
10585 #ifdef __cplusplus
10586 extern "C"
10587 #endif
10588 char dlopen ();
10589 int
10590 main ()
10591 {
10592 return dlopen ();
10593   ;
10594   return 0;
10595 }
10596 _ACEOF
10597 if ac_fn_c_try_link "$LINENO"; then :
10598   ac_cv_lib_svld_dlopen=yes
10599 else
10600   ac_cv_lib_svld_dlopen=no
10601 fi
10602 rm -f core conftest.err conftest.$ac_objext \
10603     conftest$ac_exeext conftest.$ac_ext
10604 LIBS=$ac_check_lib_save_LIBS
10605 fi
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10607 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10608 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10609   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10610 else
10611   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10612 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10613 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10614   $as_echo_n "(cached) " >&6
10615 else
10616   ac_check_lib_save_LIBS=$LIBS
10617 LIBS="-ldld  $LIBS"
10618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10619 /* end confdefs.h.  */
10620
10621 /* Override any GCC internal prototype to avoid an error.
10622    Use char because int might match the return type of a GCC
10623    builtin and then its argument prototype would still apply.  */
10624 #ifdef __cplusplus
10625 extern "C"
10626 #endif
10627 char dld_link ();
10628 int
10629 main ()
10630 {
10631 return dld_link ();
10632   ;
10633   return 0;
10634 }
10635 _ACEOF
10636 if ac_fn_c_try_link "$LINENO"; then :
10637   ac_cv_lib_dld_dld_link=yes
10638 else
10639   ac_cv_lib_dld_dld_link=no
10640 fi
10641 rm -f core conftest.err conftest.$ac_objext \
10642     conftest$ac_exeext conftest.$ac_ext
10643 LIBS=$ac_check_lib_save_LIBS
10644 fi
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10646 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10647 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10648   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10649 fi
10650
10651
10652 fi
10653
10654
10655 fi
10656
10657
10658 fi
10659
10660
10661 fi
10662
10663
10664 fi
10665
10666     ;;
10667   esac
10668
10669   if test "x$lt_cv_dlopen" != xno; then
10670     enable_dlopen=yes
10671   else
10672     enable_dlopen=no
10673   fi
10674
10675   case $lt_cv_dlopen in
10676   dlopen)
10677     save_CPPFLAGS="$CPPFLAGS"
10678     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10679
10680     save_LDFLAGS="$LDFLAGS"
10681     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10682
10683     save_LIBS="$LIBS"
10684     LIBS="$lt_cv_dlopen_libs $LIBS"
10685
10686     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10687 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10688 if test "${lt_cv_dlopen_self+set}" = set; then :
10689   $as_echo_n "(cached) " >&6
10690 else
10691           if test "$cross_compiling" = yes; then :
10692   lt_cv_dlopen_self=cross
10693 else
10694   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10695   lt_status=$lt_dlunknown
10696   cat > conftest.$ac_ext <<_LT_EOF
10697 #line 10697 "configure"
10698 #include "confdefs.h"
10699
10700 #if HAVE_DLFCN_H
10701 #include <dlfcn.h>
10702 #endif
10703
10704 #include <stdio.h>
10705
10706 #ifdef RTLD_GLOBAL
10707 #  define LT_DLGLOBAL           RTLD_GLOBAL
10708 #else
10709 #  ifdef DL_GLOBAL
10710 #    define LT_DLGLOBAL         DL_GLOBAL
10711 #  else
10712 #    define LT_DLGLOBAL         0
10713 #  endif
10714 #endif
10715
10716 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10717    find out it does not work in some platform. */
10718 #ifndef LT_DLLAZY_OR_NOW
10719 #  ifdef RTLD_LAZY
10720 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10721 #  else
10722 #    ifdef DL_LAZY
10723 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10724 #    else
10725 #      ifdef RTLD_NOW
10726 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10727 #      else
10728 #        ifdef DL_NOW
10729 #          define LT_DLLAZY_OR_NOW      DL_NOW
10730 #        else
10731 #          define LT_DLLAZY_OR_NOW      0
10732 #        endif
10733 #      endif
10734 #    endif
10735 #  endif
10736 #endif
10737
10738 void fnord() { int i=42;}
10739 int main ()
10740 {
10741   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10742   int status = $lt_dlunknown;
10743
10744   if (self)
10745     {
10746       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10747       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10748       /* dlclose (self); */
10749     }
10750   else
10751     puts (dlerror ());
10752
10753   return status;
10754 }
10755 _LT_EOF
10756   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10757   (eval $ac_link) 2>&5
10758   ac_status=$?
10759   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10760   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10761     (./conftest; exit; ) >&5 2>/dev/null
10762     lt_status=$?
10763     case x$lt_status in
10764       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10765       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10766       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10767     esac
10768   else :
10769     # compilation failed
10770     lt_cv_dlopen_self=no
10771   fi
10772 fi
10773 rm -fr conftest*
10774
10775
10776 fi
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10778 $as_echo "$lt_cv_dlopen_self" >&6; }
10779
10780     if test "x$lt_cv_dlopen_self" = xyes; then
10781       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10782       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10783 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10784 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10785   $as_echo_n "(cached) " >&6
10786 else
10787           if test "$cross_compiling" = yes; then :
10788   lt_cv_dlopen_self_static=cross
10789 else
10790   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10791   lt_status=$lt_dlunknown
10792   cat > conftest.$ac_ext <<_LT_EOF
10793 #line 10793 "configure"
10794 #include "confdefs.h"
10795
10796 #if HAVE_DLFCN_H
10797 #include <dlfcn.h>
10798 #endif
10799
10800 #include <stdio.h>
10801
10802 #ifdef RTLD_GLOBAL
10803 #  define LT_DLGLOBAL           RTLD_GLOBAL
10804 #else
10805 #  ifdef DL_GLOBAL
10806 #    define LT_DLGLOBAL         DL_GLOBAL
10807 #  else
10808 #    define LT_DLGLOBAL         0
10809 #  endif
10810 #endif
10811
10812 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10813    find out it does not work in some platform. */
10814 #ifndef LT_DLLAZY_OR_NOW
10815 #  ifdef RTLD_LAZY
10816 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10817 #  else
10818 #    ifdef DL_LAZY
10819 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10820 #    else
10821 #      ifdef RTLD_NOW
10822 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10823 #      else
10824 #        ifdef DL_NOW
10825 #          define LT_DLLAZY_OR_NOW      DL_NOW
10826 #        else
10827 #          define LT_DLLAZY_OR_NOW      0
10828 #        endif
10829 #      endif
10830 #    endif
10831 #  endif
10832 #endif
10833
10834 void fnord() { int i=42;}
10835 int main ()
10836 {
10837   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10838   int status = $lt_dlunknown;
10839
10840   if (self)
10841     {
10842       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10843       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10844       /* dlclose (self); */
10845     }
10846   else
10847     puts (dlerror ());
10848
10849   return status;
10850 }
10851 _LT_EOF
10852   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10853   (eval $ac_link) 2>&5
10854   ac_status=$?
10855   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10856   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10857     (./conftest; exit; ) >&5 2>/dev/null
10858     lt_status=$?
10859     case x$lt_status in
10860       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10861       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10862       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10863     esac
10864   else :
10865     # compilation failed
10866     lt_cv_dlopen_self_static=no
10867   fi
10868 fi
10869 rm -fr conftest*
10870
10871
10872 fi
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10874 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10875     fi
10876
10877     CPPFLAGS="$save_CPPFLAGS"
10878     LDFLAGS="$save_LDFLAGS"
10879     LIBS="$save_LIBS"
10880     ;;
10881   esac
10882
10883   case $lt_cv_dlopen_self in
10884   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10885   *) enable_dlopen_self=unknown ;;
10886   esac
10887
10888   case $lt_cv_dlopen_self_static in
10889   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10890   *) enable_dlopen_self_static=unknown ;;
10891   esac
10892 fi
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910 striplib=
10911 old_striplib=
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10913 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10914 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10915   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10916   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10918 $as_echo "yes" >&6; }
10919 else
10920 # FIXME - insert some real tests, host_os isn't really good enough
10921   case $host_os in
10922   darwin*)
10923     if test -n "$STRIP" ; then
10924       striplib="$STRIP -x"
10925       old_striplib="$STRIP -S"
10926       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10927 $as_echo "yes" >&6; }
10928     else
10929       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10930 $as_echo "no" >&6; }
10931     fi
10932     ;;
10933   *)
10934     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10935 $as_echo "no" >&6; }
10936     ;;
10937   esac
10938 fi
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951   # Report which library types will actually be built
10952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10953 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10955 $as_echo "$can_build_shared" >&6; }
10956
10957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10958 $as_echo_n "checking whether to build shared libraries... " >&6; }
10959   test "$can_build_shared" = "no" && enable_shared=no
10960
10961   # On AIX, shared libraries and static libraries use the same namespace, and
10962   # are all built from PIC.
10963   case $host_os in
10964   aix3*)
10965     test "$enable_shared" = yes && enable_static=no
10966     if test -n "$RANLIB"; then
10967       archive_cmds="$archive_cmds~\$RANLIB \$lib"
10968       postinstall_cmds='$RANLIB $lib'
10969     fi
10970     ;;
10971
10972   aix[4-9]*)
10973     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10974       test "$enable_shared" = yes && enable_static=no
10975     fi
10976     ;;
10977   esac
10978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10979 $as_echo "$enable_shared" >&6; }
10980
10981   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10982 $as_echo_n "checking whether to build static libraries... " >&6; }
10983   # Make sure either enable_shared or enable_static is yes.
10984   test "$enable_shared" = yes || enable_static=yes
10985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10986 $as_echo "$enable_static" >&6; }
10987
10988
10989
10990
10991 fi
10992 ac_ext=c
10993 ac_cpp='$CPP $CPPFLAGS'
10994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10997
10998 CC="$lt_save_CC"
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012         ac_config_commands="$ac_config_commands libtool"
11013
11014
11015
11016
11017 # Only expand once:
11018
11019
11020
11021 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11022 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11023
11024
11025
11026 cat >>confdefs.h <<_ACEOF
11027 #define VMAJ 1
11028 _ACEOF
11029
11030
11031 cat >>confdefs.h <<_ACEOF
11032 #define VMIN 7
11033 _ACEOF
11034
11035
11036 cat >>confdefs.h <<_ACEOF
11037 #define VMIC 1
11038 _ACEOF
11039
11040
11041 cat >>confdefs.h <<_ACEOF
11042 #define VREV 0
11043 _ACEOF
11044
11045 version_info="8:1:7"
11046 release_info=""
11047
11048
11049 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11050 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11051 VMAJ=1
11052
11053
11054
11055 cat >>confdefs.h <<_ACEOF
11056 #define SHARED_LIB_SUFFIX "$shrext_cmds"
11057 _ACEOF
11058
11059
11060 ### Default options with respect to host
11061
11062
11063
11064
11065 case "$host_os" in
11066    mingw32ce*)
11067       MODULE_ARCH="$host_os-$host_cpu"
11068       install_vim="no"
11069       have_edje_cc="no"
11070       ;;
11071    *)
11072       MODULE_ARCH="$host_os-$host_cpu-1.0.0"
11073       install_vim="yes"
11074       have_edje_cc="yes"
11075       ;;
11076 esac
11077
11078 requirement_edje=""
11079
11080
11081
11082 cat >>confdefs.h <<_ACEOF
11083 #define MODULE_ARCH "${MODULE_ARCH}"
11084 _ACEOF
11085
11086
11087 ### Additional options to configure
11088
11089 # Check whether --enable-amalgamation was given.
11090 if test "${enable_amalgamation+set}" = set; then :
11091   enableval=$enable_amalgamation; if test "x${enableval}" = "xyes"; then
11092        do_amalgamation="yes"
11093     else
11094        do_amalgamation="no"
11095     fi
11096
11097 else
11098   do_amalgamation="no"
11099
11100 fi
11101
11102  if test "x${do_amalgamation}" = "xyes"; then
11103   EDJE_AMALGAMATION_TRUE=
11104   EDJE_AMALGAMATION_FALSE='#'
11105 else
11106   EDJE_AMALGAMATION_TRUE='#'
11107   EDJE_AMALGAMATION_FALSE=
11108 fi
11109
11110
11111
11112
11113
11114
11115
11116 # Check whether --with-edje-cc was given.
11117 if test "${with_edje_cc+set}" = set; then :
11118   withval=$with_edje_cc; _efl_with_binary=${withval}
11119 else
11120   _efl_with_binary=$(pkg-config --variable=prefix edje)/bin/edje_cc
11121 fi
11122
11123
11124 edje_cc=${_efl_with_binary}
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: edje_cc set to ${_efl_with_binary}" >&5
11126 $as_echo "$as_me: edje_cc set to ${_efl_with_binary}" >&6;}
11127
11128 with_binary_edje_cc=${_efl_with_binary}
11129
11130
11131
11132
11133
11134
11135
11136
11137 have_edje_cc="yes"
11138
11139
11140 # Check whether --enable-edje-cc was given.
11141 if test "${enable_edje_cc+set}" = set; then :
11142   enableval=$enable_edje_cc;
11143     if test "x${enableval}" = "xyes" ; then
11144        have_edje_cc="yes"
11145     else
11146        have_edje_cc="no"
11147     fi
11148
11149 fi
11150
11151
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_cc binary" >&5
11153 $as_echo_n "checking whether to build edje_cc binary... " >&6; }
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_cc" >&5
11155 $as_echo "$have_edje_cc" >&6; }
11156
11157 if test "x$have_edje_cc" = "xyes"; then
11158    EDJE_CC_PRG=edje_cc${EXEEXT}
11159 fi
11160
11161
11162
11163  if test "x$have_edje_cc" = "xyes"; then
11164   BUILD_EDJE_CC_TRUE=
11165   BUILD_EDJE_CC_FALSE='#'
11166 else
11167   BUILD_EDJE_CC_TRUE='#'
11168   BUILD_EDJE_CC_FALSE=
11169 fi
11170
11171
11172 if test "x$have_edje_cc" = "xyes"; then :
11173
11174 fi
11175
11176
11177
11178
11179
11180 have_edje_decc="yes"
11181
11182
11183 # Check whether --enable-edje-decc was given.
11184 if test "${enable_edje_decc+set}" = set; then :
11185   enableval=$enable_edje_decc;
11186     if test "x${enableval}" = "xyes" ; then
11187        have_edje_decc="yes"
11188     else
11189        have_edje_decc="no"
11190     fi
11191
11192 fi
11193
11194
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_decc binary" >&5
11196 $as_echo_n "checking whether to build edje_decc binary... " >&6; }
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_decc" >&5
11198 $as_echo "$have_edje_decc" >&6; }
11199
11200 if test "x$have_edje_decc" = "xyes"; then
11201    EDJE_DECC_PRG=edje_decc${EXEEXT}
11202 fi
11203
11204
11205
11206  if test "x$have_edje_decc" = "xyes"; then
11207   BUILD_EDJE_DECC_TRUE=
11208   BUILD_EDJE_DECC_FALSE='#'
11209 else
11210   BUILD_EDJE_DECC_TRUE='#'
11211   BUILD_EDJE_DECC_FALSE=
11212 fi
11213
11214
11215 if test "x$have_edje_decc" = "xyes"; then :
11216
11217 fi
11218
11219
11220
11221
11222
11223 have_edje_recc="yes"
11224
11225
11226 # Check whether --enable-edje-recc was given.
11227 if test "${enable_edje_recc+set}" = set; then :
11228   enableval=$enable_edje_recc;
11229     if test "x${enableval}" = "xyes" ; then
11230        have_edje_recc="yes"
11231     else
11232        have_edje_recc="no"
11233     fi
11234
11235 fi
11236
11237
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_recc binary" >&5
11239 $as_echo_n "checking whether to build edje_recc binary... " >&6; }
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_recc" >&5
11241 $as_echo "$have_edje_recc" >&6; }
11242
11243 if test "x$have_edje_recc" = "xyes"; then
11244    EDJE_RECC_PRG=edje_recc${EXEEXT}
11245 fi
11246
11247
11248
11249  if test "x$have_edje_recc" = "xyes"; then
11250   BUILD_EDJE_RECC_TRUE=
11251   BUILD_EDJE_RECC_FALSE='#'
11252 else
11253   BUILD_EDJE_RECC_TRUE='#'
11254   BUILD_EDJE_RECC_FALSE=
11255 fi
11256
11257
11258 if test "x$have_edje_recc" = "xyes"; then :
11259
11260 fi
11261
11262
11263
11264
11265
11266 have_edje_player="yes"
11267
11268
11269 # Check whether --enable-edje-player was given.
11270 if test "${enable_edje_player+set}" = set; then :
11271   enableval=$enable_edje_player;
11272     if test "x${enableval}" = "xyes" ; then
11273        have_edje_player="yes"
11274     else
11275        have_edje_player="no"
11276     fi
11277
11278 fi
11279
11280
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_player binary" >&5
11282 $as_echo_n "checking whether to build edje_player binary... " >&6; }
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_player" >&5
11284 $as_echo "$have_edje_player" >&6; }
11285
11286 if test "x$have_edje_player" = "xyes"; then
11287    EDJE_PLAYER_PRG=edje_player${EXEEXT}
11288 fi
11289
11290
11291
11292  if test "x$have_edje_player" = "xyes"; then
11293   BUILD_EDJE_PLAYER_TRUE=
11294   BUILD_EDJE_PLAYER_FALSE='#'
11295 else
11296   BUILD_EDJE_PLAYER_TRUE='#'
11297   BUILD_EDJE_PLAYER_FALSE=
11298 fi
11299
11300
11301 if test "x$have_edje_player" = "xyes"; then :
11302
11303 fi
11304
11305
11306
11307
11308
11309 have_edje_inspector="yes"
11310
11311
11312 # Check whether --enable-edje-inspector was given.
11313 if test "${enable_edje_inspector+set}" = set; then :
11314   enableval=$enable_edje_inspector;
11315     if test "x${enableval}" = "xyes" ; then
11316        have_edje_inspector="yes"
11317     else
11318        have_edje_inspector="no"
11319     fi
11320
11321 fi
11322
11323
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_inspector binary" >&5
11325 $as_echo_n "checking whether to build edje_inspector binary... " >&6; }
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_inspector" >&5
11327 $as_echo "$have_edje_inspector" >&6; }
11328
11329 if test "x$have_edje_inspector" = "xyes"; then
11330    EDJE_INSPECTOR_PRG=edje_inspector${EXEEXT}
11331 fi
11332
11333
11334
11335  if test "x$have_edje_inspector" = "xyes"; then
11336   BUILD_EDJE_INSPECTOR_TRUE=
11337   BUILD_EDJE_INSPECTOR_FALSE='#'
11338 else
11339   BUILD_EDJE_INSPECTOR_TRUE='#'
11340   BUILD_EDJE_INSPECTOR_FALSE=
11341 fi
11342
11343
11344 if test "x$have_edje_inspector" = "xyes"; then :
11345
11346 fi
11347
11348
11349
11350
11351
11352 have_edje_external_inspector="yes"
11353
11354
11355 # Check whether --enable-edje-external-inspector was given.
11356 if test "${enable_edje_external_inspector+set}" = set; then :
11357   enableval=$enable_edje_external_inspector;
11358     if test "x${enableval}" = "xyes" ; then
11359        have_edje_external_inspector="yes"
11360     else
11361        have_edje_external_inspector="no"
11362     fi
11363
11364 fi
11365
11366
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_external_inspector binary" >&5
11368 $as_echo_n "checking whether to build edje_external_inspector binary... " >&6; }
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_external_inspector" >&5
11370 $as_echo "$have_edje_external_inspector" >&6; }
11371
11372 if test "x$have_edje_external_inspector" = "xyes"; then
11373    EDJE_EXTERNAL_INSPECTOR_PRG=edje_external_inspector${EXEEXT}
11374 fi
11375
11376
11377
11378  if test "x$have_edje_external_inspector" = "xyes"; then
11379   BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE=
11380   BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE='#'
11381 else
11382   BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE='#'
11383   BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE=
11384 fi
11385
11386
11387 if test "x$have_edje_external_inspector" = "xyes"; then :
11388
11389 fi
11390
11391
11392
11393
11394
11395 have_edje_watch="yes"
11396
11397
11398 # Check whether --enable-edje-watch was given.
11399 if test "${enable_edje_watch+set}" = set; then :
11400   enableval=$enable_edje_watch;
11401     if test "x${enableval}" = "xyes" ; then
11402        have_edje_watch="yes"
11403     else
11404        have_edje_watch="no"
11405     fi
11406
11407 fi
11408
11409
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_watch binary" >&5
11411 $as_echo_n "checking whether to build edje_watch binary... " >&6; }
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_watch" >&5
11413 $as_echo "$have_edje_watch" >&6; }
11414
11415 if test "x$have_edje_watch" = "xyes"; then
11416    EDJE_WATCH_PRG=edje_watch${EXEEXT}
11417 fi
11418
11419
11420
11421  if test "x$have_edje_watch" = "xyes"; then
11422   BUILD_EDJE_WATCH_TRUE=
11423   BUILD_EDJE_WATCH_FALSE='#'
11424 else
11425   BUILD_EDJE_WATCH_TRUE='#'
11426   BUILD_EDJE_WATCH_FALSE=
11427 fi
11428
11429
11430 if test "x$have_edje_watch" = "xyes"; then :
11431
11432 fi
11433
11434
11435
11436 # Optional EDJE_PROGRAM_CACHE (use much more ram, but increase speed in some cases)
11437 want_edje_program_cache="no"
11438
11439 # Check whether --enable-edje-program-cache was given.
11440 if test "${enable_edje_program_cache+set}" = set; then :
11441   enableval=$enable_edje_program_cache; want_edje_program_cache=$enableval
11442
11443 fi
11444
11445  if test "x${want_edje_program_cache}" = "xyes"; then
11446   EDJE_PROGRAM_CACHE_TRUE=
11447   EDJE_PROGRAM_CACHE_FALSE='#'
11448 else
11449   EDJE_PROGRAM_CACHE_TRUE='#'
11450   EDJE_PROGRAM_CACHE_FALSE=
11451 fi
11452
11453
11454 if test "x${want_edje_program_cache}" = "xyes" ; then
11455
11456 $as_echo "#define EDJE_PROGRAM_CACHE 1" >>confdefs.h
11457
11458 fi
11459
11460 # Optional EDJE_CALC_CACHE (use more ram, but increase speed by reducing the need to recalculate static stuff)
11461 want_edje_calc_cache="yes"
11462
11463 # Check whether --enable-edje-calc-cache was given.
11464 if test "${enable_edje_calc_cache+set}" = set; then :
11465   enableval=$enable_edje_calc_cache; want_edje_calc_cache=$enableval
11466
11467 fi
11468
11469  if test "x${want_edje_calc_cache}" = "xyes"; then
11470   EDJE_CALC_CACHE_TRUE=
11471   EDJE_CALC_CACHE_FALSE='#'
11472 else
11473   EDJE_CALC_CACHE_TRUE='#'
11474   EDJE_CALC_CACHE_FALSE=
11475 fi
11476
11477
11478 if test "x${want_edje_calc_cache}" = "xyes" ; then
11479
11480 $as_echo "#define EDJE_CALC_CACHE 1" >>confdefs.h
11481
11482 fi
11483
11484 # Enable Fixed Point use
11485 want_fixed_point="no"
11486
11487 # Check whether --enable-fixed-point was given.
11488 if test "${enable_fixed_point+set}" = set; then :
11489   enableval=$enable_fixed_point; want_fixed_point=$enableval
11490
11491 fi
11492
11493  if test "x${want_fixed_point}" = "xyes"; then
11494   BUILD_EDJE_FP_TRUE=
11495   BUILD_EDJE_FP_FALSE='#'
11496 else
11497   BUILD_EDJE_FP_TRUE='#'
11498   BUILD_EDJE_FP_FALSE=
11499 fi
11500
11501
11502 if test "x${want_fixed_point}" = "xyes" ; then
11503
11504 $as_echo "#define BUILD_EDJE_FP 1" >>confdefs.h
11505
11506 fi
11507
11508 install_vim="yes"
11509
11510 # Check whether --with-vim was given.
11511 if test "${with_vim+set}" = set; then :
11512   withval=$with_vim;
11513      if test -d "${withval}"; then
11514         vimdir="${withval}"
11515      fi
11516
11517
11518 fi
11519
11520
11521 if test "x${vimdir}" = "x" ; then
11522    if test -d "${prefix}/share/vim"; then
11523       vimdir="${prefix}/share/vim"
11524    elif test -d "/usr/share/vim"; then
11525       vimdir="/usr/share/vim"
11526    elif test -d "/usr/local/share/vim"; then
11527       vimdir="/usr/local/share/vim"
11528    elif test -d "/opt/share/vim"; then
11529       vimdir="/opt/share/vim"
11530    else
11531       install_vim="no"
11532    fi
11533 fi
11534
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for location of Vim data files" >&5
11536 $as_echo_n "checking for location of Vim data files... " >&6; }
11537
11538 if test "${install_vim}" = "yes"; then
11539    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vimdir" >&5
11540 $as_echo "$vimdir" >&6; }
11541 else
11542    { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found, EDC syntax file will not be installed" >&5
11543 $as_echo "Not found, EDC syntax file will not be installed" >&6; }
11544 fi
11545
11546
11547
11548 ### Checks for programs
11549 ac_ext=c
11550 ac_cpp='$CPP $CPPFLAGS'
11551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11554 if test -n "$ac_tool_prefix"; then
11555   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11556 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11558 $as_echo_n "checking for $ac_word... " >&6; }
11559 if test "${ac_cv_prog_CC+set}" = set; then :
11560   $as_echo_n "(cached) " >&6
11561 else
11562   if test -n "$CC"; then
11563   ac_cv_prog_CC="$CC" # Let the user override the test.
11564 else
11565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11566 for as_dir in $PATH
11567 do
11568   IFS=$as_save_IFS
11569   test -z "$as_dir" && as_dir=.
11570     for ac_exec_ext in '' $ac_executable_extensions; do
11571   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11572     ac_cv_prog_CC="${ac_tool_prefix}gcc"
11573     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11574     break 2
11575   fi
11576 done
11577   done
11578 IFS=$as_save_IFS
11579
11580 fi
11581 fi
11582 CC=$ac_cv_prog_CC
11583 if test -n "$CC"; then
11584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11585 $as_echo "$CC" >&6; }
11586 else
11587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11588 $as_echo "no" >&6; }
11589 fi
11590
11591
11592 fi
11593 if test -z "$ac_cv_prog_CC"; then
11594   ac_ct_CC=$CC
11595   # Extract the first word of "gcc", so it can be a program name with args.
11596 set dummy gcc; ac_word=$2
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11598 $as_echo_n "checking for $ac_word... " >&6; }
11599 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11600   $as_echo_n "(cached) " >&6
11601 else
11602   if test -n "$ac_ct_CC"; then
11603   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11604 else
11605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11606 for as_dir in $PATH
11607 do
11608   IFS=$as_save_IFS
11609   test -z "$as_dir" && as_dir=.
11610     for ac_exec_ext in '' $ac_executable_extensions; do
11611   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11612     ac_cv_prog_ac_ct_CC="gcc"
11613     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11614     break 2
11615   fi
11616 done
11617   done
11618 IFS=$as_save_IFS
11619
11620 fi
11621 fi
11622 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11623 if test -n "$ac_ct_CC"; then
11624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11625 $as_echo "$ac_ct_CC" >&6; }
11626 else
11627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11628 $as_echo "no" >&6; }
11629 fi
11630
11631   if test "x$ac_ct_CC" = x; then
11632     CC=""
11633   else
11634     case $cross_compiling:$ac_tool_warned in
11635 yes:)
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11637 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11638 ac_tool_warned=yes ;;
11639 esac
11640     CC=$ac_ct_CC
11641   fi
11642 else
11643   CC="$ac_cv_prog_CC"
11644 fi
11645
11646 if test -z "$CC"; then
11647           if test -n "$ac_tool_prefix"; then
11648     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11649 set dummy ${ac_tool_prefix}cc; ac_word=$2
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11651 $as_echo_n "checking for $ac_word... " >&6; }
11652 if test "${ac_cv_prog_CC+set}" = set; then :
11653   $as_echo_n "(cached) " >&6
11654 else
11655   if test -n "$CC"; then
11656   ac_cv_prog_CC="$CC" # Let the user override the test.
11657 else
11658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11659 for as_dir in $PATH
11660 do
11661   IFS=$as_save_IFS
11662   test -z "$as_dir" && as_dir=.
11663     for ac_exec_ext in '' $ac_executable_extensions; do
11664   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11665     ac_cv_prog_CC="${ac_tool_prefix}cc"
11666     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11667     break 2
11668   fi
11669 done
11670   done
11671 IFS=$as_save_IFS
11672
11673 fi
11674 fi
11675 CC=$ac_cv_prog_CC
11676 if test -n "$CC"; then
11677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11678 $as_echo "$CC" >&6; }
11679 else
11680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11681 $as_echo "no" >&6; }
11682 fi
11683
11684
11685   fi
11686 fi
11687 if test -z "$CC"; then
11688   # Extract the first word of "cc", so it can be a program name with args.
11689 set dummy cc; ac_word=$2
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11691 $as_echo_n "checking for $ac_word... " >&6; }
11692 if test "${ac_cv_prog_CC+set}" = set; then :
11693   $as_echo_n "(cached) " >&6
11694 else
11695   if test -n "$CC"; then
11696   ac_cv_prog_CC="$CC" # Let the user override the test.
11697 else
11698   ac_prog_rejected=no
11699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11700 for as_dir in $PATH
11701 do
11702   IFS=$as_save_IFS
11703   test -z "$as_dir" && as_dir=.
11704     for ac_exec_ext in '' $ac_executable_extensions; do
11705   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11706     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11707        ac_prog_rejected=yes
11708        continue
11709      fi
11710     ac_cv_prog_CC="cc"
11711     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11712     break 2
11713   fi
11714 done
11715   done
11716 IFS=$as_save_IFS
11717
11718 if test $ac_prog_rejected = yes; then
11719   # We found a bogon in the path, so make sure we never use it.
11720   set dummy $ac_cv_prog_CC
11721   shift
11722   if test $# != 0; then
11723     # We chose a different compiler from the bogus one.
11724     # However, it has the same basename, so the bogon will be chosen
11725     # first if we set CC to just the basename; use the full file name.
11726     shift
11727     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11728   fi
11729 fi
11730 fi
11731 fi
11732 CC=$ac_cv_prog_CC
11733 if test -n "$CC"; then
11734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11735 $as_echo "$CC" >&6; }
11736 else
11737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11738 $as_echo "no" >&6; }
11739 fi
11740
11741
11742 fi
11743 if test -z "$CC"; then
11744   if test -n "$ac_tool_prefix"; then
11745   for ac_prog in cl.exe
11746   do
11747     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11748 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11750 $as_echo_n "checking for $ac_word... " >&6; }
11751 if test "${ac_cv_prog_CC+set}" = set; then :
11752   $as_echo_n "(cached) " >&6
11753 else
11754   if test -n "$CC"; then
11755   ac_cv_prog_CC="$CC" # Let the user override the test.
11756 else
11757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11758 for as_dir in $PATH
11759 do
11760   IFS=$as_save_IFS
11761   test -z "$as_dir" && as_dir=.
11762     for ac_exec_ext in '' $ac_executable_extensions; do
11763   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11764     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11765     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11766     break 2
11767   fi
11768 done
11769   done
11770 IFS=$as_save_IFS
11771
11772 fi
11773 fi
11774 CC=$ac_cv_prog_CC
11775 if test -n "$CC"; then
11776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11777 $as_echo "$CC" >&6; }
11778 else
11779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11780 $as_echo "no" >&6; }
11781 fi
11782
11783
11784     test -n "$CC" && break
11785   done
11786 fi
11787 if test -z "$CC"; then
11788   ac_ct_CC=$CC
11789   for ac_prog in cl.exe
11790 do
11791   # Extract the first word of "$ac_prog", so it can be a program name with args.
11792 set dummy $ac_prog; ac_word=$2
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11794 $as_echo_n "checking for $ac_word... " >&6; }
11795 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11796   $as_echo_n "(cached) " >&6
11797 else
11798   if test -n "$ac_ct_CC"; then
11799   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11800 else
11801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11802 for as_dir in $PATH
11803 do
11804   IFS=$as_save_IFS
11805   test -z "$as_dir" && as_dir=.
11806     for ac_exec_ext in '' $ac_executable_extensions; do
11807   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11808     ac_cv_prog_ac_ct_CC="$ac_prog"
11809     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11810     break 2
11811   fi
11812 done
11813   done
11814 IFS=$as_save_IFS
11815
11816 fi
11817 fi
11818 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11819 if test -n "$ac_ct_CC"; then
11820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11821 $as_echo "$ac_ct_CC" >&6; }
11822 else
11823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11824 $as_echo "no" >&6; }
11825 fi
11826
11827
11828   test -n "$ac_ct_CC" && break
11829 done
11830
11831   if test "x$ac_ct_CC" = x; then
11832     CC=""
11833   else
11834     case $cross_compiling:$ac_tool_warned in
11835 yes:)
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11837 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11838 ac_tool_warned=yes ;;
11839 esac
11840     CC=$ac_ct_CC
11841   fi
11842 fi
11843
11844 fi
11845
11846
11847 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11848 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11849 as_fn_error $? "no acceptable C compiler found in \$PATH
11850 See \`config.log' for more details" "$LINENO" 5 ; }
11851
11852 # Provide some information about the compiler.
11853 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11854 set X $ac_compile
11855 ac_compiler=$2
11856 for ac_option in --version -v -V -qversion; do
11857   { { ac_try="$ac_compiler $ac_option >&5"
11858 case "(($ac_try" in
11859   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11860   *) ac_try_echo=$ac_try;;
11861 esac
11862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11863 $as_echo "$ac_try_echo"; } >&5
11864   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11865   ac_status=$?
11866   if test -s conftest.err; then
11867     sed '10a\
11868 ... rest of stderr output deleted ...
11869          10q' conftest.err >conftest.er1
11870     cat conftest.er1 >&5
11871   fi
11872   rm -f conftest.er1 conftest.err
11873   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11874   test $ac_status = 0; }
11875 done
11876
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11878 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11879 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
11880   $as_echo_n "(cached) " >&6
11881 else
11882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11883 /* end confdefs.h.  */
11884
11885 int
11886 main ()
11887 {
11888 #ifndef __GNUC__
11889        choke me
11890 #endif
11891
11892   ;
11893   return 0;
11894 }
11895 _ACEOF
11896 if ac_fn_c_try_compile "$LINENO"; then :
11897   ac_compiler_gnu=yes
11898 else
11899   ac_compiler_gnu=no
11900 fi
11901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11902 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11903
11904 fi
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11906 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11907 if test $ac_compiler_gnu = yes; then
11908   GCC=yes
11909 else
11910   GCC=
11911 fi
11912 ac_test_CFLAGS=${CFLAGS+set}
11913 ac_save_CFLAGS=$CFLAGS
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11915 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11916 if test "${ac_cv_prog_cc_g+set}" = set; then :
11917   $as_echo_n "(cached) " >&6
11918 else
11919   ac_save_c_werror_flag=$ac_c_werror_flag
11920    ac_c_werror_flag=yes
11921    ac_cv_prog_cc_g=no
11922    CFLAGS="-g"
11923    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11924 /* end confdefs.h.  */
11925
11926 int
11927 main ()
11928 {
11929
11930   ;
11931   return 0;
11932 }
11933 _ACEOF
11934 if ac_fn_c_try_compile "$LINENO"; then :
11935   ac_cv_prog_cc_g=yes
11936 else
11937   CFLAGS=""
11938       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11939 /* end confdefs.h.  */
11940
11941 int
11942 main ()
11943 {
11944
11945   ;
11946   return 0;
11947 }
11948 _ACEOF
11949 if ac_fn_c_try_compile "$LINENO"; then :
11950
11951 else
11952   ac_c_werror_flag=$ac_save_c_werror_flag
11953          CFLAGS="-g"
11954          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11955 /* end confdefs.h.  */
11956
11957 int
11958 main ()
11959 {
11960
11961   ;
11962   return 0;
11963 }
11964 _ACEOF
11965 if ac_fn_c_try_compile "$LINENO"; then :
11966   ac_cv_prog_cc_g=yes
11967 fi
11968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11969 fi
11970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11971 fi
11972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11973    ac_c_werror_flag=$ac_save_c_werror_flag
11974 fi
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11976 $as_echo "$ac_cv_prog_cc_g" >&6; }
11977 if test "$ac_test_CFLAGS" = set; then
11978   CFLAGS=$ac_save_CFLAGS
11979 elif test $ac_cv_prog_cc_g = yes; then
11980   if test "$GCC" = yes; then
11981     CFLAGS="-g -O2"
11982   else
11983     CFLAGS="-g"
11984   fi
11985 else
11986   if test "$GCC" = yes; then
11987     CFLAGS="-O2"
11988   else
11989     CFLAGS=
11990   fi
11991 fi
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11993 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11994 if test "${ac_cv_prog_cc_c89+set}" = set; then :
11995   $as_echo_n "(cached) " >&6
11996 else
11997   ac_cv_prog_cc_c89=no
11998 ac_save_CC=$CC
11999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12000 /* end confdefs.h.  */
12001 #include <stdarg.h>
12002 #include <stdio.h>
12003 #include <sys/types.h>
12004 #include <sys/stat.h>
12005 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12006 struct buf { int x; };
12007 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12008 static char *e (p, i)
12009      char **p;
12010      int i;
12011 {
12012   return p[i];
12013 }
12014 static char *f (char * (*g) (char **, int), char **p, ...)
12015 {
12016   char *s;
12017   va_list v;
12018   va_start (v,p);
12019   s = g (p, va_arg (v,int));
12020   va_end (v);
12021   return s;
12022 }
12023
12024 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12025    function prototypes and stuff, but not '\xHH' hex character constants.
12026    These don't provoke an error unfortunately, instead are silently treated
12027    as 'x'.  The following induces an error, until -std is added to get
12028    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12029    array size at least.  It's necessary to write '\x00'==0 to get something
12030    that's true only with -std.  */
12031 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12032
12033 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12034    inside strings and character constants.  */
12035 #define FOO(x) 'x'
12036 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12037
12038 int test (int i, double x);
12039 struct s1 {int (*f) (int a);};
12040 struct s2 {int (*f) (double a);};
12041 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12042 int argc;
12043 char **argv;
12044 int
12045 main ()
12046 {
12047 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12048   ;
12049   return 0;
12050 }
12051 _ACEOF
12052 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12053         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12054 do
12055   CC="$ac_save_CC $ac_arg"
12056   if ac_fn_c_try_compile "$LINENO"; then :
12057   ac_cv_prog_cc_c89=$ac_arg
12058 fi
12059 rm -f core conftest.err conftest.$ac_objext
12060   test "x$ac_cv_prog_cc_c89" != "xno" && break
12061 done
12062 rm -f conftest.$ac_ext
12063 CC=$ac_save_CC
12064
12065 fi
12066 # AC_CACHE_VAL
12067 case "x$ac_cv_prog_cc_c89" in
12068   x)
12069     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12070 $as_echo "none needed" >&6; } ;;
12071   xno)
12072     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12073 $as_echo "unsupported" >&6; } ;;
12074   *)
12075     CC="$CC $ac_cv_prog_cc_c89"
12076     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12077 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12078 esac
12079 if test "x$ac_cv_prog_cc_c89" != xno; then :
12080
12081 fi
12082
12083 ac_ext=c
12084 ac_cpp='$CPP $CPPFLAGS'
12085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12088
12089 depcc="$CC"   am_compiler_list=
12090
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12092 $as_echo_n "checking dependency style of $depcc... " >&6; }
12093 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
12094   $as_echo_n "(cached) " >&6
12095 else
12096   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12097   # We make a subdir and do the tests there.  Otherwise we can end up
12098   # making bogus files that we don't know about and never remove.  For
12099   # instance it was reported that on HP-UX the gcc test will end up
12100   # making a dummy file named `D' -- because `-MD' means `put the output
12101   # in D'.
12102   mkdir conftest.dir
12103   # Copy depcomp to subdir because otherwise we won't find it if we're
12104   # using a relative directory.
12105   cp "$am_depcomp" conftest.dir
12106   cd conftest.dir
12107   # We will build objects and dependencies in a subdirectory because
12108   # it helps to detect inapplicable dependency modes.  For instance
12109   # both Tru64's cc and ICC support -MD to output dependencies as a
12110   # side effect of compilation, but ICC will put the dependencies in
12111   # the current directory while Tru64 will put them in the object
12112   # directory.
12113   mkdir sub
12114
12115   am_cv_CC_dependencies_compiler_type=none
12116   if test "$am_compiler_list" = ""; then
12117      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12118   fi
12119   am__universal=false
12120   case " $depcc " in #(
12121      *\ -arch\ *\ -arch\ *) am__universal=true ;;
12122      esac
12123
12124   for depmode in $am_compiler_list; do
12125     # Setup a source with many dependencies, because some compilers
12126     # like to wrap large dependency lists on column 80 (with \), and
12127     # we should not choose a depcomp mode which is confused by this.
12128     #
12129     # We need to recreate these files for each test, as the compiler may
12130     # overwrite some of them when testing with obscure command lines.
12131     # This happens at least with the AIX C compiler.
12132     : > sub/conftest.c
12133     for i in 1 2 3 4 5 6; do
12134       echo '#include "conftst'$i'.h"' >> sub/conftest.c
12135       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12136       # Solaris 8's {/usr,}/bin/sh.
12137       touch sub/conftst$i.h
12138     done
12139     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12140
12141     # We check with `-c' and `-o' for the sake of the "dashmstdout"
12142     # mode.  It turns out that the SunPro C++ compiler does not properly
12143     # handle `-M -o', and we need to detect this.  Also, some Intel
12144     # versions had trouble with output in subdirs
12145     am__obj=sub/conftest.${OBJEXT-o}
12146     am__minus_obj="-o $am__obj"
12147     case $depmode in
12148     gcc)
12149       # This depmode causes a compiler race in universal mode.
12150       test "$am__universal" = false || continue
12151       ;;
12152     nosideeffect)
12153       # after this tag, mechanisms are not by side-effect, so they'll
12154       # only be used when explicitly requested
12155       if test "x$enable_dependency_tracking" = xyes; then
12156         continue
12157       else
12158         break
12159       fi
12160       ;;
12161     msvisualcpp | msvcmsys)
12162       # This compiler won't grok `-c -o', but also, the minuso test has
12163       # not run yet.  These depmodes are late enough in the game, and
12164       # so weak that their functioning should not be impacted.
12165       am__obj=conftest.${OBJEXT-o}
12166       am__minus_obj=
12167       ;;
12168     none) break ;;
12169     esac
12170     if depmode=$depmode \
12171        source=sub/conftest.c object=$am__obj \
12172        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12173        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12174          >/dev/null 2>conftest.err &&
12175        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12176        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12177        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12178        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12179       # icc doesn't choke on unknown options, it will just issue warnings
12180       # or remarks (even with -Werror).  So we grep stderr for any message
12181       # that says an option was ignored or not supported.
12182       # When given -MP, icc 7.0 and 7.1 complain thusly:
12183       #   icc: Command line warning: ignoring option '-M'; no argument required
12184       # The diagnosis changed in icc 8.0:
12185       #   icc: Command line remark: option '-MP' not supported
12186       if (grep 'ignoring option' conftest.err ||
12187           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12188         am_cv_CC_dependencies_compiler_type=$depmode
12189         break
12190       fi
12191     fi
12192   done
12193
12194   cd ..
12195   rm -rf conftest.dir
12196 else
12197   am_cv_CC_dependencies_compiler_type=none
12198 fi
12199
12200 fi
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12202 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12203 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12204
12205  if
12206   test "x$enable_dependency_tracking" != xno \
12207   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12208   am__fastdepCC_TRUE=
12209   am__fastdepCC_FALSE='#'
12210 else
12211   am__fastdepCC_TRUE='#'
12212   am__fastdepCC_FALSE=
12213 fi
12214
12215
12216
12217 # doxygen program for documentation building
12218
12219
12220
12221 # Check whether --enable-doc was given.
12222 if test "${enable_doc+set}" = set; then :
12223   enableval=$enable_doc;
12224     if test "x${enableval}" = "xyes" ; then
12225        efl_enable_doc="yes"
12226     else
12227        efl_enable_doc="no"
12228     fi
12229
12230 else
12231   efl_enable_doc="yes"
12232 fi
12233
12234
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
12236 $as_echo_n "checking whether to build documentation... " >&6; }
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
12238 $as_echo "${efl_enable_doc}" >&6; }
12239
12240 if test "x${efl_enable_doc}" = "xyes" ; then
12241
12242
12243    efl_doxygen="doxygen"
12244
12245
12246 # Check whether --with-doxygen was given.
12247 if test "${with_doxygen+set}" = set; then :
12248   withval=$with_doxygen;
12249       efl_doxygen=${withval}
12250        # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12251 set dummy ${efl_doxygen}; ac_word=$2
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12253 $as_echo_n "checking for $ac_word... " >&6; }
12254 if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
12255   $as_echo_n "(cached) " >&6
12256 else
12257   if test -n "$efl_have_doxygen"; then
12258   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12259 else
12260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12261 for as_dir in $PATH
12262 do
12263   IFS=$as_save_IFS
12264   test -z "$as_dir" && as_dir=.
12265     for ac_exec_ext in '' $ac_executable_extensions; do
12266   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12267     ac_cv_prog_efl_have_doxygen="yes"
12268     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12269     break 2
12270   fi
12271 done
12272   done
12273 IFS=$as_save_IFS
12274
12275   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12276 fi
12277 fi
12278 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12279 if test -n "$efl_have_doxygen"; then
12280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12281 $as_echo "$efl_have_doxygen" >&6; }
12282 else
12283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12284 $as_echo "no" >&6; }
12285 fi
12286
12287
12288        if test "x${efl_have_doxygen}" = "xno" ; then
12289           echo "WARNING:"
12290           echo "The doxygen program you specified:"
12291           echo "${efl_doxygen}"
12292           echo "was not found.  Please check the path and make sure "
12293           echo "the program exists and is executable."
12294           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12295 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12296        fi
12297
12298 else
12299   # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12300 set dummy ${efl_doxygen}; ac_word=$2
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12302 $as_echo_n "checking for $ac_word... " >&6; }
12303 if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
12304   $as_echo_n "(cached) " >&6
12305 else
12306   if test -n "$efl_have_doxygen"; then
12307   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12308 else
12309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12310 for as_dir in $PATH
12311 do
12312   IFS=$as_save_IFS
12313   test -z "$as_dir" && as_dir=.
12314     for ac_exec_ext in '' $ac_executable_extensions; do
12315   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12316     ac_cv_prog_efl_have_doxygen="yes"
12317     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12318     break 2
12319   fi
12320 done
12321   done
12322 IFS=$as_save_IFS
12323
12324   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12325 fi
12326 fi
12327 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12328 if test -n "$efl_have_doxygen"; then
12329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12330 $as_echo "$efl_have_doxygen" >&6; }
12331 else
12332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12333 $as_echo "no" >&6; }
12334 fi
12335
12336
12337        if test "x${efl_have_doxygen}" = "xno" ; then
12338           echo "WARNING:"
12339           echo "The doxygen program was not found in your execute path."
12340           echo "You may have doxygen installed somewhere not covered by your path."
12341           echo ""
12342           echo "If this is the case make sure you have the packages installed, AND"
12343           echo "that the doxygen program is in your execute path (see your"
12344           echo "shell manual page on setting the \$PATH environment variable), OR"
12345           echo "alternatively, specify the program to use with --with-doxygen."
12346           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12347 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12348        fi
12349
12350 fi
12351
12352 fi
12353
12354
12355
12356 if ! test "x${efl_have_doxygen}" = "xyes" ; then
12357    efl_enable_doc="no"
12358 fi
12359
12360  if test "x${efl_enable_doc}" = "xyes"; then
12361   EFL_BUILD_DOC_TRUE=
12362   EFL_BUILD_DOC_FALSE='#'
12363 else
12364   EFL_BUILD_DOC_TRUE='#'
12365   EFL_BUILD_DOC_FALSE=
12366 fi
12367
12368
12369 if test "x${efl_enable_doc}" = "xyes" ; then
12370   build_doc="yes"
12371 else
12372   build_doc="no"
12373 fi
12374
12375
12376
12377 # python
12378
12379
12380
12381
12382
12383         if test -n "$PYTHON"; then
12384       # If the user set $PYTHON, use it and don't search something else.
12385       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
12386 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
12387       prog="import sys
12388 # split strings by '.' and convert to numeric.  Append some zeros
12389 # because we need at least 4 digits for the hex conversion.
12390 # map returns an iterator in Python 3.0 and a list in 2.x
12391 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
12392 minverhex = 0
12393 # xrange is not present in Python 3.0 and range returns an iterator
12394 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
12395 sys.exit(sys.hexversion < minverhex)"
12396   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
12397    ($PYTHON -c "$prog") >&5 2>&5
12398    ac_status=$?
12399    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12400    (exit $ac_status); }; then :
12401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12402 $as_echo "yes" >&6; }
12403 else
12404   as_fn_error $? "too old" "$LINENO" 5
12405 fi
12406       am_display_PYTHON=$PYTHON
12407     else
12408       # Otherwise, try each interpreter until we find one that satisfies
12409       # VERSION.
12410       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
12411 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
12412 if test "${am_cv_pathless_PYTHON+set}" = set; then :
12413   $as_echo_n "(cached) " >&6
12414 else
12415
12416         for am_cv_pathless_PYTHON in python python2 python3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
12417           test "$am_cv_pathless_PYTHON" = none && break
12418           prog="import sys
12419 # split strings by '.' and convert to numeric.  Append some zeros
12420 # because we need at least 4 digits for the hex conversion.
12421 # map returns an iterator in Python 3.0 and a list in 2.x
12422 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
12423 minverhex = 0
12424 # xrange is not present in Python 3.0 and range returns an iterator
12425 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
12426 sys.exit(sys.hexversion < minverhex)"
12427   if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
12428    ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
12429    ac_status=$?
12430    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12431    (exit $ac_status); }; then :
12432   break
12433 fi
12434         done
12435 fi
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
12437 $as_echo "$am_cv_pathless_PYTHON" >&6; }
12438       # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
12439       if test "$am_cv_pathless_PYTHON" = none; then
12440         PYTHON=:
12441       else
12442         # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
12443 set dummy $am_cv_pathless_PYTHON; ac_word=$2
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12445 $as_echo_n "checking for $ac_word... " >&6; }
12446 if test "${ac_cv_path_PYTHON+set}" = set; then :
12447   $as_echo_n "(cached) " >&6
12448 else
12449   case $PYTHON in
12450   [\\/]* | ?:[\\/]*)
12451   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
12452   ;;
12453   *)
12454   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12455 for as_dir in $PATH
12456 do
12457   IFS=$as_save_IFS
12458   test -z "$as_dir" && as_dir=.
12459     for ac_exec_ext in '' $ac_executable_extensions; do
12460   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12461     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
12462     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12463     break 2
12464   fi
12465 done
12466   done
12467 IFS=$as_save_IFS
12468
12469   ;;
12470 esac
12471 fi
12472 PYTHON=$ac_cv_path_PYTHON
12473 if test -n "$PYTHON"; then
12474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
12475 $as_echo "$PYTHON" >&6; }
12476 else
12477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12478 $as_echo "no" >&6; }
12479 fi
12480
12481
12482       fi
12483       am_display_PYTHON=$am_cv_pathless_PYTHON
12484     fi
12485
12486
12487   if test "$PYTHON" = :; then
12488       :
12489   else
12490
12491
12492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
12493 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
12494 if test "${am_cv_python_version+set}" = set; then :
12495   $as_echo_n "(cached) " >&6
12496 else
12497   am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
12498 fi
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
12500 $as_echo "$am_cv_python_version" >&6; }
12501   PYTHON_VERSION=$am_cv_python_version
12502
12503
12504
12505   PYTHON_PREFIX='${prefix}'
12506
12507   PYTHON_EXEC_PREFIX='${exec_prefix}'
12508
12509
12510
12511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
12512 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
12513 if test "${am_cv_python_platform+set}" = set; then :
12514   $as_echo_n "(cached) " >&6
12515 else
12516   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
12517 fi
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
12519 $as_echo "$am_cv_python_platform" >&6; }
12520   PYTHON_PLATFORM=$am_cv_python_platform
12521
12522
12523
12524
12525                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
12526 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
12527 if test "${am_cv_python_pythondir+set}" = set; then :
12528   $as_echo_n "(cached) " >&6
12529 else
12530   if test "x$prefix" = xNONE
12531      then
12532        am_py_prefix=$ac_default_prefix
12533      else
12534        am_py_prefix=$prefix
12535      fi
12536      am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
12537      echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
12538      case $am_cv_python_pythondir in
12539      $am_py_prefix*)
12540        am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
12541        am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
12542        ;;
12543      *)
12544        case $am_py_prefix in
12545          /usr|/System*) ;;
12546          *)
12547           am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
12548           ;;
12549        esac
12550        ;;
12551      esac
12552
12553 fi
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
12555 $as_echo "$am_cv_python_pythondir" >&6; }
12556   pythondir=$am_cv_python_pythondir
12557
12558
12559
12560   pkgpythondir=\${pythondir}/$PACKAGE
12561
12562
12563             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
12564 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
12565 if test "${am_cv_python_pyexecdir+set}" = set; then :
12566   $as_echo_n "(cached) " >&6
12567 else
12568   if test "x$exec_prefix" = xNONE
12569      then
12570        am_py_exec_prefix=$am_py_prefix
12571      else
12572        am_py_exec_prefix=$exec_prefix
12573      fi
12574      am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
12575      echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
12576      case $am_cv_python_pyexecdir in
12577      $am_py_exec_prefix*)
12578        am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
12579        am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
12580        ;;
12581      *)
12582        case $am_py_exec_prefix in
12583          /usr|/System*) ;;
12584          *)
12585            am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
12586            ;;
12587        esac
12588        ;;
12589      esac
12590
12591 fi
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
12593 $as_echo "$am_cv_python_pyexecdir" >&6; }
12594   pyexecdir=$am_cv_python_pyexecdir
12595
12596
12597
12598   pkgpyexecdir=\${pyexecdir}/$PACKAGE
12599
12600
12601
12602   fi
12603
12604
12605  if test "$PYTHON" != : ; then
12606   HAVE_PYTHON_TRUE=
12607   HAVE_PYTHON_FALSE='#'
12608 else
12609   HAVE_PYTHON_TRUE='#'
12610   HAVE_PYTHON_FALSE=
12611 fi
12612
12613
12614 # pkg-config
12615
12616
12617
12618
12619
12620
12621
12622 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12623         if test -n "$ac_tool_prefix"; then
12624   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12625 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12627 $as_echo_n "checking for $ac_word... " >&6; }
12628 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
12629   $as_echo_n "(cached) " >&6
12630 else
12631   case $PKG_CONFIG in
12632   [\\/]* | ?:[\\/]*)
12633   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12634   ;;
12635   *)
12636   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12637 for as_dir in $PATH
12638 do
12639   IFS=$as_save_IFS
12640   test -z "$as_dir" && as_dir=.
12641     for ac_exec_ext in '' $ac_executable_extensions; do
12642   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12643     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12644     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12645     break 2
12646   fi
12647 done
12648   done
12649 IFS=$as_save_IFS
12650
12651   ;;
12652 esac
12653 fi
12654 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12655 if test -n "$PKG_CONFIG"; then
12656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12657 $as_echo "$PKG_CONFIG" >&6; }
12658 else
12659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12660 $as_echo "no" >&6; }
12661 fi
12662
12663
12664 fi
12665 if test -z "$ac_cv_path_PKG_CONFIG"; then
12666   ac_pt_PKG_CONFIG=$PKG_CONFIG
12667   # Extract the first word of "pkg-config", so it can be a program name with args.
12668 set dummy pkg-config; ac_word=$2
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12670 $as_echo_n "checking for $ac_word... " >&6; }
12671 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
12672   $as_echo_n "(cached) " >&6
12673 else
12674   case $ac_pt_PKG_CONFIG in
12675   [\\/]* | ?:[\\/]*)
12676   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12677   ;;
12678   *)
12679   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12680 for as_dir in $PATH
12681 do
12682   IFS=$as_save_IFS
12683   test -z "$as_dir" && as_dir=.
12684     for ac_exec_ext in '' $ac_executable_extensions; do
12685   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12686     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12687     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12688     break 2
12689   fi
12690 done
12691   done
12692 IFS=$as_save_IFS
12693
12694   ;;
12695 esac
12696 fi
12697 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12698 if test -n "$ac_pt_PKG_CONFIG"; then
12699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12700 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12701 else
12702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12703 $as_echo "no" >&6; }
12704 fi
12705
12706   if test "x$ac_pt_PKG_CONFIG" = x; then
12707     PKG_CONFIG=""
12708   else
12709     case $cross_compiling:$ac_tool_warned in
12710 yes:)
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12713 ac_tool_warned=yes ;;
12714 esac
12715     PKG_CONFIG=$ac_pt_PKG_CONFIG
12716   fi
12717 else
12718   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12719 fi
12720
12721 fi
12722 if test -n "$PKG_CONFIG"; then
12723         _pkg_min_version=0.9.0
12724         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12725 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12726         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12727                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12728 $as_echo "yes" >&6; }
12729         else
12730                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12731 $as_echo "no" >&6; }
12732                 PKG_CONFIG=""
12733         fi
12734 fi
12735
12736 # Check whether pkg-config supports Requires.private
12737
12738 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
12739    pkgconfig_requires_private="Requires.private"
12740 else
12741    pkgconfig_requires_private="Requires"
12742 fi
12743
12744
12745
12746 ### Checks for libraries
12747
12748 # Evil library for compilation on Windows
12749
12750 EFL_EDJE_BUILD=""
12751 case "$host_os" in
12752    mingw*)
12753
12754 pkg_failed=no
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
12756 $as_echo_n "checking for EVIL... " >&6; }
12757
12758 if test -n "$EVIL_CFLAGS"; then
12759     pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
12760  elif test -n "$PKG_CONFIG"; then
12761     if test -n "$PKG_CONFIG" && \
12762     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.6.99\""; } >&5
12763   ($PKG_CONFIG --exists --print-errors "evil >= 1.6.99") 2>&5
12764   ac_status=$?
12765   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12766   test $ac_status = 0; }; then
12767   pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.6.99" 2>/dev/null`
12768 else
12769   pkg_failed=yes
12770 fi
12771  else
12772     pkg_failed=untried
12773 fi
12774 if test -n "$EVIL_LIBS"; then
12775     pkg_cv_EVIL_LIBS="$EVIL_LIBS"
12776  elif test -n "$PKG_CONFIG"; then
12777     if test -n "$PKG_CONFIG" && \
12778     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.6.99\""; } >&5
12779   ($PKG_CONFIG --exists --print-errors "evil >= 1.6.99") 2>&5
12780   ac_status=$?
12781   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12782   test $ac_status = 0; }; then
12783   pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.6.99" 2>/dev/null`
12784 else
12785   pkg_failed=yes
12786 fi
12787  else
12788     pkg_failed=untried
12789 fi
12790
12791
12792
12793 if test $pkg_failed = yes; then
12794         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12795 $as_echo "no" >&6; }
12796
12797 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12798         _pkg_short_errors_supported=yes
12799 else
12800         _pkg_short_errors_supported=no
12801 fi
12802         if test $_pkg_short_errors_supported = yes; then
12803                 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evil >= 1.6.99" 2>&1`
12804         else
12805                 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "evil >= 1.6.99" 2>&1`
12806         fi
12807         # Put the nasty error message in config.log where it belongs
12808         echo "$EVIL_PKG_ERRORS" >&5
12809
12810         as_fn_error $? "Package requirements (evil >= 1.6.99) were not met:
12811
12812 $EVIL_PKG_ERRORS
12813
12814 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12815 installed software in a non-standard prefix.
12816
12817 Alternatively, you may set the environment variables EVIL_CFLAGS
12818 and EVIL_LIBS to avoid the need to call pkg-config.
12819 See the pkg-config man page for more details." "$LINENO" 5
12820 elif test $pkg_failed = untried; then
12821         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12822 $as_echo "no" >&6; }
12823         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12824 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12825 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12826 is in your PATH or set the PKG_CONFIG environment variable to the full
12827 path to pkg-config.
12828
12829 Alternatively, you may set the environment variables EVIL_CFLAGS
12830 and EVIL_LIBS to avoid the need to call pkg-config.
12831 See the pkg-config man page for more details.
12832
12833 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12834 See \`config.log' for more details" "$LINENO" 5 ; }
12835 else
12836         EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
12837         EVIL_LIBS=$pkg_cv_EVIL_LIBS
12838         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12839 $as_echo "yes" >&6; }
12840
12841 fi
12842
12843 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
12844
12845       requirement_edje="evil ${requirement_edje}"
12846       EFL_EDJE_BUILD="-DEFL_EDJE_BUILD"
12847    ;;
12848 esac
12849
12850
12851 # Dependencies for the library
12852
12853 # Lua pkg-config hack for different naming conventions
12854 have_lua="yes"
12855 requirement_lua=""
12856 lua_libs=""
12857
12858 pkg_failed=no
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
12860 $as_echo_n "checking for LUA... " >&6; }
12861
12862 if test -n "$LUA_CFLAGS"; then
12863     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
12864  elif test -n "$PKG_CONFIG"; then
12865     if test -n "$PKG_CONFIG" && \
12866     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1.0\""; } >&5
12867   ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
12868   ac_status=$?
12869   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12870   test $ac_status = 0; }; then
12871   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1.0" 2>/dev/null`
12872 else
12873   pkg_failed=yes
12874 fi
12875  else
12876     pkg_failed=untried
12877 fi
12878 if test -n "$LUA_LIBS"; then
12879     pkg_cv_LUA_LIBS="$LUA_LIBS"
12880  elif test -n "$PKG_CONFIG"; then
12881     if test -n "$PKG_CONFIG" && \
12882     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1.0\""; } >&5
12883   ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
12884   ac_status=$?
12885   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12886   test $ac_status = 0; }; then
12887   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1.0" 2>/dev/null`
12888 else
12889   pkg_failed=yes
12890 fi
12891  else
12892     pkg_failed=untried
12893 fi
12894
12895
12896
12897 if test $pkg_failed = yes; then
12898         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12899 $as_echo "no" >&6; }
12900
12901 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12902         _pkg_short_errors_supported=yes
12903 else
12904         _pkg_short_errors_supported=no
12905 fi
12906         if test $_pkg_short_errors_supported = yes; then
12907                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.1.0" 2>&1`
12908         else
12909                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.1.0" 2>&1`
12910         fi
12911         # Put the nasty error message in config.log where it belongs
12912         echo "$LUA_PKG_ERRORS" >&5
12913
12914
12915 pkg_failed=no
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
12917 $as_echo_n "checking for LUA... " >&6; }
12918
12919 if test -n "$LUA_CFLAGS"; then
12920     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
12921  elif test -n "$PKG_CONFIG"; then
12922     if test -n "$PKG_CONFIG" && \
12923     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
12924   ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
12925   ac_status=$?
12926   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12927   test $ac_status = 0; }; then
12928   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1.0" 2>/dev/null`
12929 else
12930   pkg_failed=yes
12931 fi
12932  else
12933     pkg_failed=untried
12934 fi
12935 if test -n "$LUA_LIBS"; then
12936     pkg_cv_LUA_LIBS="$LUA_LIBS"
12937  elif test -n "$PKG_CONFIG"; then
12938     if test -n "$PKG_CONFIG" && \
12939     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
12940   ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
12941   ac_status=$?
12942   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12943   test $ac_status = 0; }; then
12944   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1.0" 2>/dev/null`
12945 else
12946   pkg_failed=yes
12947 fi
12948  else
12949     pkg_failed=untried
12950 fi
12951
12952
12953
12954 if test $pkg_failed = yes; then
12955         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12956 $as_echo "no" >&6; }
12957
12958 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12959         _pkg_short_errors_supported=yes
12960 else
12961         _pkg_short_errors_supported=no
12962 fi
12963         if test $_pkg_short_errors_supported = yes; then
12964                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1.0" 2>&1`
12965         else
12966                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1.0" 2>&1`
12967         fi
12968         # Put the nasty error message in config.log where it belongs
12969         echo "$LUA_PKG_ERRORS" >&5
12970
12971
12972 pkg_failed=no
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
12974 $as_echo_n "checking for LUA... " >&6; }
12975
12976 if test -n "$LUA_CFLAGS"; then
12977     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
12978  elif test -n "$PKG_CONFIG"; then
12979     if test -n "$PKG_CONFIG" && \
12980     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
12981   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
12982   ac_status=$?
12983   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12984   test $ac_status = 0; }; then
12985   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
12986 else
12987   pkg_failed=yes
12988 fi
12989  else
12990     pkg_failed=untried
12991 fi
12992 if test -n "$LUA_LIBS"; then
12993     pkg_cv_LUA_LIBS="$LUA_LIBS"
12994  elif test -n "$PKG_CONFIG"; then
12995     if test -n "$PKG_CONFIG" && \
12996     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
12997   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
12998   ac_status=$?
12999   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13000   test $ac_status = 0; }; then
13001   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
13002 else
13003   pkg_failed=yes
13004 fi
13005  else
13006     pkg_failed=untried
13007 fi
13008
13009
13010
13011 if test $pkg_failed = yes; then
13012         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13013 $as_echo "no" >&6; }
13014
13015 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13016         _pkg_short_errors_supported=yes
13017 else
13018         _pkg_short_errors_supported=no
13019 fi
13020         if test $_pkg_short_errors_supported = yes; then
13021                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13022         else
13023                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13024         fi
13025         # Put the nasty error message in config.log where it belongs
13026         echo "$LUA_PKG_ERRORS" >&5
13027
13028
13029 pkg_failed=no
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13031 $as_echo_n "checking for LUA... " >&6; }
13032
13033 if test -n "$LUA_CFLAGS"; then
13034     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13035  elif test -n "$PKG_CONFIG"; then
13036     if test -n "$PKG_CONFIG" && \
13037     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13038   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13039   ac_status=$?
13040   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13041   test $ac_status = 0; }; then
13042   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
13043 else
13044   pkg_failed=yes
13045 fi
13046  else
13047     pkg_failed=untried
13048 fi
13049 if test -n "$LUA_LIBS"; then
13050     pkg_cv_LUA_LIBS="$LUA_LIBS"
13051  elif test -n "$PKG_CONFIG"; then
13052     if test -n "$PKG_CONFIG" && \
13053     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13054   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13055   ac_status=$?
13056   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13057   test $ac_status = 0; }; then
13058   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
13059 else
13060   pkg_failed=yes
13061 fi
13062  else
13063     pkg_failed=untried
13064 fi
13065
13066
13067
13068 if test $pkg_failed = yes; then
13069         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13070 $as_echo "no" >&6; }
13071
13072 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13073         _pkg_short_errors_supported=yes
13074 else
13075         _pkg_short_errors_supported=no
13076 fi
13077         if test $_pkg_short_errors_supported = yes; then
13078                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13079         else
13080                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
13081         fi
13082         # Put the nasty error message in config.log where it belongs
13083         echo "$LUA_PKG_ERRORS" >&5
13084
13085         have_lua="no"
13086 elif test $pkg_failed = untried; then
13087         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13088 $as_echo "no" >&6; }
13089         have_lua="no"
13090 else
13091         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13092         LUA_LIBS=$pkg_cv_LUA_LIBS
13093         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13094 $as_echo "yes" >&6; }
13095         requirement_lua="lua51"
13096 fi
13097 elif test $pkg_failed = untried; then
13098         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13099 $as_echo "no" >&6; }
13100
13101 pkg_failed=no
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13103 $as_echo_n "checking for LUA... " >&6; }
13104
13105 if test -n "$LUA_CFLAGS"; then
13106     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13107  elif test -n "$PKG_CONFIG"; then
13108     if test -n "$PKG_CONFIG" && \
13109     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13110   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13111   ac_status=$?
13112   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13113   test $ac_status = 0; }; then
13114   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
13115 else
13116   pkg_failed=yes
13117 fi
13118  else
13119     pkg_failed=untried
13120 fi
13121 if test -n "$LUA_LIBS"; then
13122     pkg_cv_LUA_LIBS="$LUA_LIBS"
13123  elif test -n "$PKG_CONFIG"; then
13124     if test -n "$PKG_CONFIG" && \
13125     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13126   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13127   ac_status=$?
13128   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13129   test $ac_status = 0; }; then
13130   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
13131 else
13132   pkg_failed=yes
13133 fi
13134  else
13135     pkg_failed=untried
13136 fi
13137
13138
13139
13140 if test $pkg_failed = yes; then
13141         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13142 $as_echo "no" >&6; }
13143
13144 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13145         _pkg_short_errors_supported=yes
13146 else
13147         _pkg_short_errors_supported=no
13148 fi
13149         if test $_pkg_short_errors_supported = yes; then
13150                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13151         else
13152                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
13153         fi
13154         # Put the nasty error message in config.log where it belongs
13155         echo "$LUA_PKG_ERRORS" >&5
13156
13157         have_lua="no"
13158 elif test $pkg_failed = untried; then
13159         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13160 $as_echo "no" >&6; }
13161         have_lua="no"
13162 else
13163         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13164         LUA_LIBS=$pkg_cv_LUA_LIBS
13165         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13166 $as_echo "yes" >&6; }
13167         requirement_lua="lua51"
13168 fi
13169 else
13170         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13171         LUA_LIBS=$pkg_cv_LUA_LIBS
13172         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13173 $as_echo "yes" >&6; }
13174         requirement_lua="lua-5.1"
13175 fi
13176 elif test $pkg_failed = untried; then
13177         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13178 $as_echo "no" >&6; }
13179
13180 pkg_failed=no
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13182 $as_echo_n "checking for LUA... " >&6; }
13183
13184 if test -n "$LUA_CFLAGS"; then
13185     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13186  elif test -n "$PKG_CONFIG"; then
13187     if test -n "$PKG_CONFIG" && \
13188     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13189   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13190   ac_status=$?
13191   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13192   test $ac_status = 0; }; then
13193   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
13194 else
13195   pkg_failed=yes
13196 fi
13197  else
13198     pkg_failed=untried
13199 fi
13200 if test -n "$LUA_LIBS"; then
13201     pkg_cv_LUA_LIBS="$LUA_LIBS"
13202  elif test -n "$PKG_CONFIG"; then
13203     if test -n "$PKG_CONFIG" && \
13204     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13205   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13206   ac_status=$?
13207   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13208   test $ac_status = 0; }; then
13209   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
13210 else
13211   pkg_failed=yes
13212 fi
13213  else
13214     pkg_failed=untried
13215 fi
13216
13217
13218
13219 if test $pkg_failed = yes; then
13220         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13221 $as_echo "no" >&6; }
13222
13223 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13224         _pkg_short_errors_supported=yes
13225 else
13226         _pkg_short_errors_supported=no
13227 fi
13228         if test $_pkg_short_errors_supported = yes; then
13229                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13230         else
13231                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13232         fi
13233         # Put the nasty error message in config.log where it belongs
13234         echo "$LUA_PKG_ERRORS" >&5
13235
13236
13237 pkg_failed=no
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13239 $as_echo_n "checking for LUA... " >&6; }
13240
13241 if test -n "$LUA_CFLAGS"; then
13242     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13243  elif test -n "$PKG_CONFIG"; then
13244     if test -n "$PKG_CONFIG" && \
13245     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13246   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13247   ac_status=$?
13248   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13249   test $ac_status = 0; }; then
13250   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
13251 else
13252   pkg_failed=yes
13253 fi
13254  else
13255     pkg_failed=untried
13256 fi
13257 if test -n "$LUA_LIBS"; then
13258     pkg_cv_LUA_LIBS="$LUA_LIBS"
13259  elif test -n "$PKG_CONFIG"; then
13260     if test -n "$PKG_CONFIG" && \
13261     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13262   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13263   ac_status=$?
13264   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13265   test $ac_status = 0; }; then
13266   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
13267 else
13268   pkg_failed=yes
13269 fi
13270  else
13271     pkg_failed=untried
13272 fi
13273
13274
13275
13276 if test $pkg_failed = yes; then
13277         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13278 $as_echo "no" >&6; }
13279
13280 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13281         _pkg_short_errors_supported=yes
13282 else
13283         _pkg_short_errors_supported=no
13284 fi
13285         if test $_pkg_short_errors_supported = yes; then
13286                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13287         else
13288                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
13289         fi
13290         # Put the nasty error message in config.log where it belongs
13291         echo "$LUA_PKG_ERRORS" >&5
13292
13293         have_lua="no"
13294 elif test $pkg_failed = untried; then
13295         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13296 $as_echo "no" >&6; }
13297         have_lua="no"
13298 else
13299         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13300         LUA_LIBS=$pkg_cv_LUA_LIBS
13301         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13302 $as_echo "yes" >&6; }
13303         requirement_lua="lua51"
13304 fi
13305 elif test $pkg_failed = untried; then
13306         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13307 $as_echo "no" >&6; }
13308
13309 pkg_failed=no
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13311 $as_echo_n "checking for LUA... " >&6; }
13312
13313 if test -n "$LUA_CFLAGS"; then
13314     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13315  elif test -n "$PKG_CONFIG"; then
13316     if test -n "$PKG_CONFIG" && \
13317     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13318   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13319   ac_status=$?
13320   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13321   test $ac_status = 0; }; then
13322   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
13323 else
13324   pkg_failed=yes
13325 fi
13326  else
13327     pkg_failed=untried
13328 fi
13329 if test -n "$LUA_LIBS"; then
13330     pkg_cv_LUA_LIBS="$LUA_LIBS"
13331  elif test -n "$PKG_CONFIG"; then
13332     if test -n "$PKG_CONFIG" && \
13333     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13334   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13335   ac_status=$?
13336   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13337   test $ac_status = 0; }; then
13338   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
13339 else
13340   pkg_failed=yes
13341 fi
13342  else
13343     pkg_failed=untried
13344 fi
13345
13346
13347
13348 if test $pkg_failed = yes; then
13349         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13350 $as_echo "no" >&6; }
13351
13352 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13353         _pkg_short_errors_supported=yes
13354 else
13355         _pkg_short_errors_supported=no
13356 fi
13357         if test $_pkg_short_errors_supported = yes; then
13358                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13359         else
13360                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
13361         fi
13362         # Put the nasty error message in config.log where it belongs
13363         echo "$LUA_PKG_ERRORS" >&5
13364
13365         have_lua="no"
13366 elif test $pkg_failed = untried; then
13367         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13368 $as_echo "no" >&6; }
13369         have_lua="no"
13370 else
13371         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13372         LUA_LIBS=$pkg_cv_LUA_LIBS
13373         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13374 $as_echo "yes" >&6; }
13375         requirement_lua="lua51"
13376 fi
13377 else
13378         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13379         LUA_LIBS=$pkg_cv_LUA_LIBS
13380         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13381 $as_echo "yes" >&6; }
13382         requirement_lua="lua-5.1"
13383 fi
13384 else
13385         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13386         LUA_LIBS=$pkg_cv_LUA_LIBS
13387         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13388 $as_echo "yes" >&6; }
13389         requirement_lua="lua5.1"
13390 fi
13391 elif test $pkg_failed = untried; then
13392         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13393 $as_echo "no" >&6; }
13394
13395 pkg_failed=no
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13397 $as_echo_n "checking for LUA... " >&6; }
13398
13399 if test -n "$LUA_CFLAGS"; then
13400     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13401  elif test -n "$PKG_CONFIG"; then
13402     if test -n "$PKG_CONFIG" && \
13403     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
13404   ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
13405   ac_status=$?
13406   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13407   test $ac_status = 0; }; then
13408   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1.0" 2>/dev/null`
13409 else
13410   pkg_failed=yes
13411 fi
13412  else
13413     pkg_failed=untried
13414 fi
13415 if test -n "$LUA_LIBS"; then
13416     pkg_cv_LUA_LIBS="$LUA_LIBS"
13417  elif test -n "$PKG_CONFIG"; then
13418     if test -n "$PKG_CONFIG" && \
13419     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
13420   ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
13421   ac_status=$?
13422   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13423   test $ac_status = 0; }; then
13424   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1.0" 2>/dev/null`
13425 else
13426   pkg_failed=yes
13427 fi
13428  else
13429     pkg_failed=untried
13430 fi
13431
13432
13433
13434 if test $pkg_failed = yes; then
13435         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13436 $as_echo "no" >&6; }
13437
13438 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13439         _pkg_short_errors_supported=yes
13440 else
13441         _pkg_short_errors_supported=no
13442 fi
13443         if test $_pkg_short_errors_supported = yes; then
13444                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1.0" 2>&1`
13445         else
13446                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1.0" 2>&1`
13447         fi
13448         # Put the nasty error message in config.log where it belongs
13449         echo "$LUA_PKG_ERRORS" >&5
13450
13451
13452 pkg_failed=no
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13454 $as_echo_n "checking for LUA... " >&6; }
13455
13456 if test -n "$LUA_CFLAGS"; then
13457     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13458  elif test -n "$PKG_CONFIG"; then
13459     if test -n "$PKG_CONFIG" && \
13460     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13461   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13462   ac_status=$?
13463   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13464   test $ac_status = 0; }; then
13465   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
13466 else
13467   pkg_failed=yes
13468 fi
13469  else
13470     pkg_failed=untried
13471 fi
13472 if test -n "$LUA_LIBS"; then
13473     pkg_cv_LUA_LIBS="$LUA_LIBS"
13474  elif test -n "$PKG_CONFIG"; then
13475     if test -n "$PKG_CONFIG" && \
13476     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13477   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13478   ac_status=$?
13479   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13480   test $ac_status = 0; }; then
13481   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
13482 else
13483   pkg_failed=yes
13484 fi
13485  else
13486     pkg_failed=untried
13487 fi
13488
13489
13490
13491 if test $pkg_failed = yes; then
13492         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13493 $as_echo "no" >&6; }
13494
13495 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13496         _pkg_short_errors_supported=yes
13497 else
13498         _pkg_short_errors_supported=no
13499 fi
13500         if test $_pkg_short_errors_supported = yes; then
13501                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13502         else
13503                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13504         fi
13505         # Put the nasty error message in config.log where it belongs
13506         echo "$LUA_PKG_ERRORS" >&5
13507
13508
13509 pkg_failed=no
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13511 $as_echo_n "checking for LUA... " >&6; }
13512
13513 if test -n "$LUA_CFLAGS"; then
13514     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13515  elif test -n "$PKG_CONFIG"; then
13516     if test -n "$PKG_CONFIG" && \
13517     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13518   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13519   ac_status=$?
13520   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13521   test $ac_status = 0; }; then
13522   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
13523 else
13524   pkg_failed=yes
13525 fi
13526  else
13527     pkg_failed=untried
13528 fi
13529 if test -n "$LUA_LIBS"; then
13530     pkg_cv_LUA_LIBS="$LUA_LIBS"
13531  elif test -n "$PKG_CONFIG"; then
13532     if test -n "$PKG_CONFIG" && \
13533     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13534   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13535   ac_status=$?
13536   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13537   test $ac_status = 0; }; then
13538   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
13539 else
13540   pkg_failed=yes
13541 fi
13542  else
13543     pkg_failed=untried
13544 fi
13545
13546
13547
13548 if test $pkg_failed = yes; then
13549         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13550 $as_echo "no" >&6; }
13551
13552 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13553         _pkg_short_errors_supported=yes
13554 else
13555         _pkg_short_errors_supported=no
13556 fi
13557         if test $_pkg_short_errors_supported = yes; then
13558                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13559         else
13560                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
13561         fi
13562         # Put the nasty error message in config.log where it belongs
13563         echo "$LUA_PKG_ERRORS" >&5
13564
13565         have_lua="no"
13566 elif test $pkg_failed = untried; then
13567         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13568 $as_echo "no" >&6; }
13569         have_lua="no"
13570 else
13571         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13572         LUA_LIBS=$pkg_cv_LUA_LIBS
13573         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13574 $as_echo "yes" >&6; }
13575         requirement_lua="lua51"
13576 fi
13577 elif test $pkg_failed = untried; then
13578         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13579 $as_echo "no" >&6; }
13580
13581 pkg_failed=no
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13583 $as_echo_n "checking for LUA... " >&6; }
13584
13585 if test -n "$LUA_CFLAGS"; then
13586     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13587  elif test -n "$PKG_CONFIG"; then
13588     if test -n "$PKG_CONFIG" && \
13589     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13590   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13591   ac_status=$?
13592   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13593   test $ac_status = 0; }; then
13594   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
13595 else
13596   pkg_failed=yes
13597 fi
13598  else
13599     pkg_failed=untried
13600 fi
13601 if test -n "$LUA_LIBS"; then
13602     pkg_cv_LUA_LIBS="$LUA_LIBS"
13603  elif test -n "$PKG_CONFIG"; then
13604     if test -n "$PKG_CONFIG" && \
13605     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13606   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13607   ac_status=$?
13608   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13609   test $ac_status = 0; }; then
13610   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
13611 else
13612   pkg_failed=yes
13613 fi
13614  else
13615     pkg_failed=untried
13616 fi
13617
13618
13619
13620 if test $pkg_failed = yes; then
13621         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13622 $as_echo "no" >&6; }
13623
13624 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13625         _pkg_short_errors_supported=yes
13626 else
13627         _pkg_short_errors_supported=no
13628 fi
13629         if test $_pkg_short_errors_supported = yes; then
13630                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13631         else
13632                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
13633         fi
13634         # Put the nasty error message in config.log where it belongs
13635         echo "$LUA_PKG_ERRORS" >&5
13636
13637         have_lua="no"
13638 elif test $pkg_failed = untried; then
13639         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13640 $as_echo "no" >&6; }
13641         have_lua="no"
13642 else
13643         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13644         LUA_LIBS=$pkg_cv_LUA_LIBS
13645         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13646 $as_echo "yes" >&6; }
13647         requirement_lua="lua51"
13648 fi
13649 else
13650         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13651         LUA_LIBS=$pkg_cv_LUA_LIBS
13652         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13653 $as_echo "yes" >&6; }
13654         requirement_lua="lua-5.1"
13655 fi
13656 elif test $pkg_failed = untried; then
13657         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13658 $as_echo "no" >&6; }
13659
13660 pkg_failed=no
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13662 $as_echo_n "checking for LUA... " >&6; }
13663
13664 if test -n "$LUA_CFLAGS"; then
13665     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13666  elif test -n "$PKG_CONFIG"; then
13667     if test -n "$PKG_CONFIG" && \
13668     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13669   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13670   ac_status=$?
13671   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13672   test $ac_status = 0; }; then
13673   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
13674 else
13675   pkg_failed=yes
13676 fi
13677  else
13678     pkg_failed=untried
13679 fi
13680 if test -n "$LUA_LIBS"; then
13681     pkg_cv_LUA_LIBS="$LUA_LIBS"
13682  elif test -n "$PKG_CONFIG"; then
13683     if test -n "$PKG_CONFIG" && \
13684     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13685   ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13686   ac_status=$?
13687   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13688   test $ac_status = 0; }; then
13689   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
13690 else
13691   pkg_failed=yes
13692 fi
13693  else
13694     pkg_failed=untried
13695 fi
13696
13697
13698
13699 if test $pkg_failed = yes; then
13700         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13701 $as_echo "no" >&6; }
13702
13703 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13704         _pkg_short_errors_supported=yes
13705 else
13706         _pkg_short_errors_supported=no
13707 fi
13708         if test $_pkg_short_errors_supported = yes; then
13709                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13710         else
13711                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13712         fi
13713         # Put the nasty error message in config.log where it belongs
13714         echo "$LUA_PKG_ERRORS" >&5
13715
13716
13717 pkg_failed=no
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13719 $as_echo_n "checking for LUA... " >&6; }
13720
13721 if test -n "$LUA_CFLAGS"; then
13722     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13723  elif test -n "$PKG_CONFIG"; then
13724     if test -n "$PKG_CONFIG" && \
13725     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13726   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13727   ac_status=$?
13728   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13729   test $ac_status = 0; }; then
13730   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
13731 else
13732   pkg_failed=yes
13733 fi
13734  else
13735     pkg_failed=untried
13736 fi
13737 if test -n "$LUA_LIBS"; then
13738     pkg_cv_LUA_LIBS="$LUA_LIBS"
13739  elif test -n "$PKG_CONFIG"; then
13740     if test -n "$PKG_CONFIG" && \
13741     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13742   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13743   ac_status=$?
13744   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13745   test $ac_status = 0; }; then
13746   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
13747 else
13748   pkg_failed=yes
13749 fi
13750  else
13751     pkg_failed=untried
13752 fi
13753
13754
13755
13756 if test $pkg_failed = yes; then
13757         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13758 $as_echo "no" >&6; }
13759
13760 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13761         _pkg_short_errors_supported=yes
13762 else
13763         _pkg_short_errors_supported=no
13764 fi
13765         if test $_pkg_short_errors_supported = yes; then
13766                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13767         else
13768                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
13769         fi
13770         # Put the nasty error message in config.log where it belongs
13771         echo "$LUA_PKG_ERRORS" >&5
13772
13773         have_lua="no"
13774 elif test $pkg_failed = untried; then
13775         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13776 $as_echo "no" >&6; }
13777         have_lua="no"
13778 else
13779         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13780         LUA_LIBS=$pkg_cv_LUA_LIBS
13781         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13782 $as_echo "yes" >&6; }
13783         requirement_lua="lua51"
13784 fi
13785 elif test $pkg_failed = untried; then
13786         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13787 $as_echo "no" >&6; }
13788
13789 pkg_failed=no
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13791 $as_echo_n "checking for LUA... " >&6; }
13792
13793 if test -n "$LUA_CFLAGS"; then
13794     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13795  elif test -n "$PKG_CONFIG"; then
13796     if test -n "$PKG_CONFIG" && \
13797     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13798   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13799   ac_status=$?
13800   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13801   test $ac_status = 0; }; then
13802   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
13803 else
13804   pkg_failed=yes
13805 fi
13806  else
13807     pkg_failed=untried
13808 fi
13809 if test -n "$LUA_LIBS"; then
13810     pkg_cv_LUA_LIBS="$LUA_LIBS"
13811  elif test -n "$PKG_CONFIG"; then
13812     if test -n "$PKG_CONFIG" && \
13813     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13814   ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13815   ac_status=$?
13816   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13817   test $ac_status = 0; }; then
13818   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
13819 else
13820   pkg_failed=yes
13821 fi
13822  else
13823     pkg_failed=untried
13824 fi
13825
13826
13827
13828 if test $pkg_failed = yes; then
13829         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13830 $as_echo "no" >&6; }
13831
13832 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13833         _pkg_short_errors_supported=yes
13834 else
13835         _pkg_short_errors_supported=no
13836 fi
13837         if test $_pkg_short_errors_supported = yes; then
13838                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13839         else
13840                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
13841         fi
13842         # Put the nasty error message in config.log where it belongs
13843         echo "$LUA_PKG_ERRORS" >&5
13844
13845         have_lua="no"
13846 elif test $pkg_failed = untried; then
13847         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13848 $as_echo "no" >&6; }
13849         have_lua="no"
13850 else
13851         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13852         LUA_LIBS=$pkg_cv_LUA_LIBS
13853         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13854 $as_echo "yes" >&6; }
13855         requirement_lua="lua51"
13856 fi
13857 else
13858         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13859         LUA_LIBS=$pkg_cv_LUA_LIBS
13860         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13861 $as_echo "yes" >&6; }
13862         requirement_lua="lua-5.1"
13863 fi
13864 else
13865         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13866         LUA_LIBS=$pkg_cv_LUA_LIBS
13867         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13868 $as_echo "yes" >&6; }
13869         requirement_lua="lua5.1"
13870 fi
13871 else
13872         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13873         LUA_LIBS=$pkg_cv_LUA_LIBS
13874         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13875 $as_echo "yes" >&6; }
13876         requirement_lua="lua"
13877 fi
13878
13879 if test "x${have_lua}" = "xno" ; then
13880    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lua_newstate() is in liblua" >&5
13881 $as_echo_n "checking whether lua_newstate() is in liblua... " >&6; }
13882    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lua_newstate in -llua" >&5
13883 $as_echo_n "checking for lua_newstate in -llua... " >&6; }
13884 if test "${ac_cv_lib_lua_lua_newstate+set}" = set; then :
13885   $as_echo_n "(cached) " >&6
13886 else
13887   ac_check_lib_save_LIBS=$LIBS
13888 LIBS="-llua  $LIBS"
13889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13890 /* end confdefs.h.  */
13891
13892 /* Override any GCC internal prototype to avoid an error.
13893    Use char because int might match the return type of a GCC
13894    builtin and then its argument prototype would still apply.  */
13895 #ifdef __cplusplus
13896 extern "C"
13897 #endif
13898 char lua_newstate ();
13899 int
13900 main ()
13901 {
13902 return lua_newstate ();
13903   ;
13904   return 0;
13905 }
13906 _ACEOF
13907 if ac_fn_c_try_link "$LINENO"; then :
13908   ac_cv_lib_lua_lua_newstate=yes
13909 else
13910   ac_cv_lib_lua_lua_newstate=no
13911 fi
13912 rm -f core conftest.err conftest.$ac_objext \
13913     conftest$ac_exeext conftest.$ac_ext
13914 LIBS=$ac_check_lib_save_LIBS
13915 fi
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lua_lua_newstate" >&5
13917 $as_echo "$ac_cv_lib_lua_lua_newstate" >&6; }
13918 if test "x$ac_cv_lib_lua_lua_newstate" = x""yes; then :
13919
13920        have_lua="yes"
13921        lua_libs="-llua"
13922
13923 else
13924   have_lua="no"
13925 fi
13926
13927    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_lua}" >&5
13928 $as_echo "${have_lua}" >&6; }
13929 fi
13930
13931
13932 if test "x${have_lua}" = "xno" ; then
13933    as_fn_error $? "Cannot find lua library. Be sure that you have installed it and set CFLAGS and LDFLAGS correctly" "$LINENO" 5
13934 fi
13935
13936
13937 pkg_failed=no
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MINIMAL" >&5
13939 $as_echo_n "checking for MINIMAL... " >&6; }
13940
13941 if test -n "$MINIMAL_CFLAGS"; then
13942     pkg_cv_MINIMAL_CFLAGS="$MINIMAL_CFLAGS"
13943  elif test -n "$PKG_CONFIG"; then
13944     if test -n "$PKG_CONFIG" && \
13945     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13946     eina >= 1.6.99
13947     eet >= 1.6.99
13948    \""; } >&5
13949   ($PKG_CONFIG --exists --print-errors "
13950     eina >= 1.6.99
13951     eet >= 1.6.99
13952    ") 2>&5
13953   ac_status=$?
13954   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13955   test $ac_status = 0; }; then
13956   pkg_cv_MINIMAL_CFLAGS=`$PKG_CONFIG --cflags "
13957     eina >= 1.6.99
13958     eet >= 1.6.99
13959    " 2>/dev/null`
13960 else
13961   pkg_failed=yes
13962 fi
13963  else
13964     pkg_failed=untried
13965 fi
13966 if test -n "$MINIMAL_LIBS"; then
13967     pkg_cv_MINIMAL_LIBS="$MINIMAL_LIBS"
13968  elif test -n "$PKG_CONFIG"; then
13969     if test -n "$PKG_CONFIG" && \
13970     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13971     eina >= 1.6.99
13972     eet >= 1.6.99
13973    \""; } >&5
13974   ($PKG_CONFIG --exists --print-errors "
13975     eina >= 1.6.99
13976     eet >= 1.6.99
13977    ") 2>&5
13978   ac_status=$?
13979   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13980   test $ac_status = 0; }; then
13981   pkg_cv_MINIMAL_LIBS=`$PKG_CONFIG --libs "
13982     eina >= 1.6.99
13983     eet >= 1.6.99
13984    " 2>/dev/null`
13985 else
13986   pkg_failed=yes
13987 fi
13988  else
13989     pkg_failed=untried
13990 fi
13991
13992
13993
13994 if test $pkg_failed = yes; then
13995         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13996 $as_echo "no" >&6; }
13997
13998 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13999         _pkg_short_errors_supported=yes
14000 else
14001         _pkg_short_errors_supported=no
14002 fi
14003         if test $_pkg_short_errors_supported = yes; then
14004                 MINIMAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
14005     eina >= 1.6.99
14006     eet >= 1.6.99
14007    " 2>&1`
14008         else
14009                 MINIMAL_PKG_ERRORS=`$PKG_CONFIG --print-errors "
14010     eina >= 1.6.99
14011     eet >= 1.6.99
14012    " 2>&1`
14013         fi
14014         # Put the nasty error message in config.log where it belongs
14015         echo "$MINIMAL_PKG_ERRORS" >&5
14016
14017         as_fn_error $? "Package requirements (
14018     eina >= 1.6.99
14019     eet >= 1.6.99
14020    ) were not met:
14021
14022 $MINIMAL_PKG_ERRORS
14023
14024 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14025 installed software in a non-standard prefix.
14026
14027 Alternatively, you may set the environment variables MINIMAL_CFLAGS
14028 and MINIMAL_LIBS to avoid the need to call pkg-config.
14029 See the pkg-config man page for more details." "$LINENO" 5
14030 elif test $pkg_failed = untried; then
14031         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14032 $as_echo "no" >&6; }
14033         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14034 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14035 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14036 is in your PATH or set the PKG_CONFIG environment variable to the full
14037 path to pkg-config.
14038
14039 Alternatively, you may set the environment variables MINIMAL_CFLAGS
14040 and MINIMAL_LIBS to avoid the need to call pkg-config.
14041 See the pkg-config man page for more details.
14042
14043 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14044 See \`config.log' for more details" "$LINENO" 5 ; }
14045 else
14046         MINIMAL_CFLAGS=$pkg_cv_MINIMAL_CFLAGS
14047         MINIMAL_LIBS=$pkg_cv_MINIMAL_LIBS
14048         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14049 $as_echo "yes" >&6; }
14050
14051 fi
14052
14053
14054 pkg_failed=no
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE" >&5
14056 $as_echo_n "checking for EDJE... " >&6; }
14057
14058 if test -n "$EDJE_CFLAGS"; then
14059     pkg_cv_EDJE_CFLAGS="$EDJE_CFLAGS"
14060  elif test -n "$PKG_CONFIG"; then
14061     if test -n "$PKG_CONFIG" && \
14062     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14063     eina >= 1.6.99
14064     eet >= 1.6.99
14065     evas >= 1.6.99
14066     ecore >= 1.6.99
14067     ecore-evas >= 1.6.99
14068     ecore-file >= 1.6.99
14069     ecore-input >= 1.6.99
14070     embryo >= 1.6.99
14071    \""; } >&5
14072   ($PKG_CONFIG --exists --print-errors "
14073     eina >= 1.6.99
14074     eet >= 1.6.99
14075     evas >= 1.6.99
14076     ecore >= 1.6.99
14077     ecore-evas >= 1.6.99
14078     ecore-file >= 1.6.99
14079     ecore-input >= 1.6.99
14080     embryo >= 1.6.99
14081    ") 2>&5
14082   ac_status=$?
14083   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14084   test $ac_status = 0; }; then
14085   pkg_cv_EDJE_CFLAGS=`$PKG_CONFIG --cflags "
14086     eina >= 1.6.99
14087     eet >= 1.6.99
14088     evas >= 1.6.99
14089     ecore >= 1.6.99
14090     ecore-evas >= 1.6.99
14091     ecore-file >= 1.6.99
14092     ecore-input >= 1.6.99
14093     embryo >= 1.6.99
14094    " 2>/dev/null`
14095 else
14096   pkg_failed=yes
14097 fi
14098  else
14099     pkg_failed=untried
14100 fi
14101 if test -n "$EDJE_LIBS"; then
14102     pkg_cv_EDJE_LIBS="$EDJE_LIBS"
14103  elif test -n "$PKG_CONFIG"; then
14104     if test -n "$PKG_CONFIG" && \
14105     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14106     eina >= 1.6.99
14107     eet >= 1.6.99
14108     evas >= 1.6.99
14109     ecore >= 1.6.99
14110     ecore-evas >= 1.6.99
14111     ecore-file >= 1.6.99
14112     ecore-input >= 1.6.99
14113     embryo >= 1.6.99
14114    \""; } >&5
14115   ($PKG_CONFIG --exists --print-errors "
14116     eina >= 1.6.99
14117     eet >= 1.6.99
14118     evas >= 1.6.99
14119     ecore >= 1.6.99
14120     ecore-evas >= 1.6.99
14121     ecore-file >= 1.6.99
14122     ecore-input >= 1.6.99
14123     embryo >= 1.6.99
14124    ") 2>&5
14125   ac_status=$?
14126   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14127   test $ac_status = 0; }; then
14128   pkg_cv_EDJE_LIBS=`$PKG_CONFIG --libs "
14129     eina >= 1.6.99
14130     eet >= 1.6.99
14131     evas >= 1.6.99
14132     ecore >= 1.6.99
14133     ecore-evas >= 1.6.99
14134     ecore-file >= 1.6.99
14135     ecore-input >= 1.6.99
14136     embryo >= 1.6.99
14137    " 2>/dev/null`
14138 else
14139   pkg_failed=yes
14140 fi
14141  else
14142     pkg_failed=untried
14143 fi
14144
14145
14146
14147 if test $pkg_failed = yes; then
14148         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14149 $as_echo "no" >&6; }
14150
14151 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14152         _pkg_short_errors_supported=yes
14153 else
14154         _pkg_short_errors_supported=no
14155 fi
14156         if test $_pkg_short_errors_supported = yes; then
14157                 EDJE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
14158     eina >= 1.6.99
14159     eet >= 1.6.99
14160     evas >= 1.6.99
14161     ecore >= 1.6.99
14162     ecore-evas >= 1.6.99
14163     ecore-file >= 1.6.99
14164     ecore-input >= 1.6.99
14165     embryo >= 1.6.99
14166    " 2>&1`
14167         else
14168                 EDJE_PKG_ERRORS=`$PKG_CONFIG --print-errors "
14169     eina >= 1.6.99
14170     eet >= 1.6.99
14171     evas >= 1.6.99
14172     ecore >= 1.6.99
14173     ecore-evas >= 1.6.99
14174     ecore-file >= 1.6.99
14175     ecore-input >= 1.6.99
14176     embryo >= 1.6.99
14177    " 2>&1`
14178         fi
14179         # Put the nasty error message in config.log where it belongs
14180         echo "$EDJE_PKG_ERRORS" >&5
14181
14182         as_fn_error $? "Package requirements (
14183     eina >= 1.6.99
14184     eet >= 1.6.99
14185     evas >= 1.6.99
14186     ecore >= 1.6.99
14187     ecore-evas >= 1.6.99
14188     ecore-file >= 1.6.99
14189     ecore-input >= 1.6.99
14190     embryo >= 1.6.99
14191    ) were not met:
14192
14193 $EDJE_PKG_ERRORS
14194
14195 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14196 installed software in a non-standard prefix.
14197
14198 Alternatively, you may set the environment variables EDJE_CFLAGS
14199 and EDJE_LIBS to avoid the need to call pkg-config.
14200 See the pkg-config man page for more details." "$LINENO" 5
14201 elif test $pkg_failed = untried; then
14202         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14203 $as_echo "no" >&6; }
14204         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14206 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14207 is in your PATH or set the PKG_CONFIG environment variable to the full
14208 path to pkg-config.
14209
14210 Alternatively, you may set the environment variables EDJE_CFLAGS
14211 and EDJE_LIBS to avoid the need to call pkg-config.
14212 See the pkg-config man page for more details.
14213
14214 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14215 See \`config.log' for more details" "$LINENO" 5 ; }
14216 else
14217         EDJE_CFLAGS=$pkg_cv_EDJE_CFLAGS
14218         EDJE_LIBS=$pkg_cv_EDJE_LIBS
14219         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14220 $as_echo "yes" >&6; }
14221
14222 fi
14223
14224 EDJE_LIBS="${EDJE_LIBS} ${LUA_LIBS} ${lua_libs}"
14225 EDJE_CFLAGS="${EDJE_CFLAGS} ${LUA_CFLAGS}"
14226
14227 requirement_edje="embryo >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99 ${requirement_edje}"
14228 requirement_edje="${requirement_lua} ${requirement_edje}"
14229
14230 have_ecore_imf="no"
14231
14232 pkg_failed=no
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_IMF" >&5
14234 $as_echo_n "checking for ECORE_IMF... " >&6; }
14235
14236 if test -n "$ECORE_IMF_CFLAGS"; then
14237     pkg_cv_ECORE_IMF_CFLAGS="$ECORE_IMF_CFLAGS"
14238  elif test -n "$PKG_CONFIG"; then
14239     if test -n "$PKG_CONFIG" && \
14240     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14241     ecore-imf >= 1.6.99
14242     ecore-imf-evas >= 1.6.99
14243    \""; } >&5
14244   ($PKG_CONFIG --exists --print-errors "
14245     ecore-imf >= 1.6.99
14246     ecore-imf-evas >= 1.6.99
14247    ") 2>&5
14248   ac_status=$?
14249   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14250   test $ac_status = 0; }; then
14251   pkg_cv_ECORE_IMF_CFLAGS=`$PKG_CONFIG --cflags "
14252     ecore-imf >= 1.6.99
14253     ecore-imf-evas >= 1.6.99
14254    " 2>/dev/null`
14255 else
14256   pkg_failed=yes
14257 fi
14258  else
14259     pkg_failed=untried
14260 fi
14261 if test -n "$ECORE_IMF_LIBS"; then
14262     pkg_cv_ECORE_IMF_LIBS="$ECORE_IMF_LIBS"
14263  elif test -n "$PKG_CONFIG"; then
14264     if test -n "$PKG_CONFIG" && \
14265     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14266     ecore-imf >= 1.6.99
14267     ecore-imf-evas >= 1.6.99
14268    \""; } >&5
14269   ($PKG_CONFIG --exists --print-errors "
14270     ecore-imf >= 1.6.99
14271     ecore-imf-evas >= 1.6.99
14272    ") 2>&5
14273   ac_status=$?
14274   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14275   test $ac_status = 0; }; then
14276   pkg_cv_ECORE_IMF_LIBS=`$PKG_CONFIG --libs "
14277     ecore-imf >= 1.6.99
14278     ecore-imf-evas >= 1.6.99
14279    " 2>/dev/null`
14280 else
14281   pkg_failed=yes
14282 fi
14283  else
14284     pkg_failed=untried
14285 fi
14286
14287
14288
14289 if test $pkg_failed = yes; then
14290         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14291 $as_echo "no" >&6; }
14292
14293 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14294         _pkg_short_errors_supported=yes
14295 else
14296         _pkg_short_errors_supported=no
14297 fi
14298         if test $_pkg_short_errors_supported = yes; then
14299                 ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
14300     ecore-imf >= 1.6.99
14301     ecore-imf-evas >= 1.6.99
14302    " 2>&1`
14303         else
14304                 ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --print-errors "
14305     ecore-imf >= 1.6.99
14306     ecore-imf-evas >= 1.6.99
14307    " 2>&1`
14308         fi
14309         # Put the nasty error message in config.log where it belongs
14310         echo "$ECORE_IMF_PKG_ERRORS" >&5
14311
14312         have_ecore_imf="no"
14313 elif test $pkg_failed = untried; then
14314         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14315 $as_echo "no" >&6; }
14316         have_ecore_imf="no"
14317 else
14318         ECORE_IMF_CFLAGS=$pkg_cv_ECORE_IMF_CFLAGS
14319         ECORE_IMF_LIBS=$pkg_cv_ECORE_IMF_LIBS
14320         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14321 $as_echo "yes" >&6; }
14322
14323
14324 $as_echo "#define HAVE_ECORE_IMF 1" >>confdefs.h
14325
14326     have_ecore_imf="yes"
14327     requirement_edje="ecore-imf-evas >= 1.6.99 ecore-imf >= 1.6.99 ${requirement_edje}"
14328
14329 fi
14330
14331
14332 pkg_failed=no
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIO" >&5
14334 $as_echo_n "checking for EIO... " >&6; }
14335
14336 if test -n "$EIO_CFLAGS"; then
14337     pkg_cv_EIO_CFLAGS="$EIO_CFLAGS"
14338  elif test -n "$PKG_CONFIG"; then
14339     if test -n "$PKG_CONFIG" && \
14340     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio >= 1.6.99\""; } >&5
14341   ($PKG_CONFIG --exists --print-errors "eio >= 1.6.99") 2>&5
14342   ac_status=$?
14343   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14344   test $ac_status = 0; }; then
14345   pkg_cv_EIO_CFLAGS=`$PKG_CONFIG --cflags "eio >= 1.6.99" 2>/dev/null`
14346 else
14347   pkg_failed=yes
14348 fi
14349  else
14350     pkg_failed=untried
14351 fi
14352 if test -n "$EIO_LIBS"; then
14353     pkg_cv_EIO_LIBS="$EIO_LIBS"
14354  elif test -n "$PKG_CONFIG"; then
14355     if test -n "$PKG_CONFIG" && \
14356     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio >= 1.6.99\""; } >&5
14357   ($PKG_CONFIG --exists --print-errors "eio >= 1.6.99") 2>&5
14358   ac_status=$?
14359   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14360   test $ac_status = 0; }; then
14361   pkg_cv_EIO_LIBS=`$PKG_CONFIG --libs "eio >= 1.6.99" 2>/dev/null`
14362 else
14363   pkg_failed=yes
14364 fi
14365  else
14366     pkg_failed=untried
14367 fi
14368
14369
14370
14371 if test $pkg_failed = yes; then
14372         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14373 $as_echo "no" >&6; }
14374
14375 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14376         _pkg_short_errors_supported=yes
14377 else
14378         _pkg_short_errors_supported=no
14379 fi
14380         if test $_pkg_short_errors_supported = yes; then
14381                 EIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eio >= 1.6.99" 2>&1`
14382         else
14383                 EIO_PKG_ERRORS=`$PKG_CONFIG --print-errors "eio >= 1.6.99" 2>&1`
14384         fi
14385         # Put the nasty error message in config.log where it belongs
14386         echo "$EIO_PKG_ERRORS" >&5
14387
14388         have_eio="no"
14389 elif test $pkg_failed = untried; then
14390         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14391 $as_echo "no" >&6; }
14392         have_eio="no"
14393 else
14394         EIO_CFLAGS=$pkg_cv_EIO_CFLAGS
14395         EIO_LIBS=$pkg_cv_EIO_LIBS
14396         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14397 $as_echo "yes" >&6; }
14398
14399
14400 $as_echo "#define HAVE_EIO 1" >>confdefs.h
14401
14402     have_eio="yes"
14403     requirement_edje="eio >= 1.6.99 ${requirement_edje}"
14404
14405 fi
14406
14407 # Enable Multisense use
14408 want_multisense="no"
14409  if test "x${want_multisense}" = "xyes"; then
14410   ENABLE_MULTISENSE_TRUE=
14411   ENABLE_MULTISENSE_FALSE='#'
14412 else
14413   ENABLE_MULTISENSE_TRUE='#'
14414   ENABLE_MULTISENSE_FALSE=
14415 fi
14416
14417
14418 ##sndfile library
14419 have_sndfile="no"
14420 want_sndfile="auto"
14421 # Check whether --enable-sndfile was given.
14422 if test "${enable_sndfile+set}" = set; then :
14423   enableval=$enable_sndfile; want_sndfile=$enableval
14424 fi
14425
14426
14427 if test "x${want_multisense}" = "xyes" -a  "x$want_sndfile" != "xno"; then
14428
14429
14430 pkg_failed=no
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDFILE" >&5
14432 $as_echo_n "checking for SNDFILE... " >&6; }
14433
14434 if test -n "$SNDFILE_CFLAGS"; then
14435     pkg_cv_SNDFILE_CFLAGS="$SNDFILE_CFLAGS"
14436  elif test -n "$PKG_CONFIG"; then
14437     if test -n "$PKG_CONFIG" && \
14438     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.21\""; } >&5
14439   ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.21") 2>&5
14440   ac_status=$?
14441   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14442   test $ac_status = 0; }; then
14443   pkg_cv_SNDFILE_CFLAGS=`$PKG_CONFIG --cflags "sndfile >= 1.0.21" 2>/dev/null`
14444 else
14445   pkg_failed=yes
14446 fi
14447  else
14448     pkg_failed=untried
14449 fi
14450 if test -n "$SNDFILE_LIBS"; then
14451     pkg_cv_SNDFILE_LIBS="$SNDFILE_LIBS"
14452  elif test -n "$PKG_CONFIG"; then
14453     if test -n "$PKG_CONFIG" && \
14454     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.21\""; } >&5
14455   ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.21") 2>&5
14456   ac_status=$?
14457   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14458   test $ac_status = 0; }; then
14459   pkg_cv_SNDFILE_LIBS=`$PKG_CONFIG --libs "sndfile >= 1.0.21" 2>/dev/null`
14460 else
14461   pkg_failed=yes
14462 fi
14463  else
14464     pkg_failed=untried
14465 fi
14466
14467
14468
14469 if test $pkg_failed = yes; then
14470         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14471 $as_echo "no" >&6; }
14472
14473 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14474         _pkg_short_errors_supported=yes
14475 else
14476         _pkg_short_errors_supported=no
14477 fi
14478         if test $_pkg_short_errors_supported = yes; then
14479                 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sndfile >= 1.0.21" 2>&1`
14480         else
14481                 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --print-errors "sndfile >= 1.0.21" 2>&1`
14482         fi
14483         # Put the nasty error message in config.log where it belongs
14484         echo "$SNDFILE_PKG_ERRORS" >&5
14485
14486         have_sndfile="no"; want_multisense="no"
14487
14488 elif test $pkg_failed = untried; then
14489         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14490 $as_echo "no" >&6; }
14491         have_sndfile="no"; want_multisense="no"
14492
14493 else
14494         SNDFILE_CFLAGS=$pkg_cv_SNDFILE_CFLAGS
14495         SNDFILE_LIBS=$pkg_cv_SNDFILE_LIBS
14496         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14497 $as_echo "yes" >&6; }
14498
14499
14500 $as_echo "#define HAVE_LIBSNDFILE 1" >>confdefs.h
14501
14502                have_sndfile="yes"
14503                requirement_edje="sndfile >= 1.0.21 ${requirement_edje}"
14504
14505 fi
14506
14507         if test "x$want_sndfile" = "xyes" -a "x$have_sndfile" = "xno"; then
14508             as_fn_error $? "sndfile support requested, but not found by pkg-config." "$LINENO" 5
14509         fi
14510 fi
14511  if test "x${have_sndfile}" = "xyes"; then
14512   HAVE_LIBSNDFILE_TRUE=
14513   HAVE_LIBSNDFILE_FALSE='#'
14514 else
14515   HAVE_LIBSNDFILE_TRUE='#'
14516   HAVE_LIBSNDFILE_FALSE=
14517 fi
14518
14519
14520 ##libremix library
14521 have_libremix="no"
14522 want_libremix="auto"
14523 # Check whether --enable-remix was given.
14524 if test "${enable_remix+set}" = set; then :
14525   enableval=$enable_remix; want_libremix=$enableval
14526 fi
14527
14528
14529 if test "x${want_multisense}" = "xyes" -a "x$want_libremix" != "xno"; then
14530
14531 pkg_failed=no
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for REMIX" >&5
14533 $as_echo_n "checking for REMIX... " >&6; }
14534
14535 if test -n "$REMIX_CFLAGS"; then
14536     pkg_cv_REMIX_CFLAGS="$REMIX_CFLAGS"
14537  elif test -n "$PKG_CONFIG"; then
14538     if test -n "$PKG_CONFIG" && \
14539     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"remix >= 0.2.4\""; } >&5
14540   ($PKG_CONFIG --exists --print-errors "remix >= 0.2.4") 2>&5
14541   ac_status=$?
14542   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14543   test $ac_status = 0; }; then
14544   pkg_cv_REMIX_CFLAGS=`$PKG_CONFIG --cflags "remix >= 0.2.4" 2>/dev/null`
14545 else
14546   pkg_failed=yes
14547 fi
14548  else
14549     pkg_failed=untried
14550 fi
14551 if test -n "$REMIX_LIBS"; then
14552     pkg_cv_REMIX_LIBS="$REMIX_LIBS"
14553  elif test -n "$PKG_CONFIG"; then
14554     if test -n "$PKG_CONFIG" && \
14555     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"remix >= 0.2.4\""; } >&5
14556   ($PKG_CONFIG --exists --print-errors "remix >= 0.2.4") 2>&5
14557   ac_status=$?
14558   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14559   test $ac_status = 0; }; then
14560   pkg_cv_REMIX_LIBS=`$PKG_CONFIG --libs "remix >= 0.2.4" 2>/dev/null`
14561 else
14562   pkg_failed=yes
14563 fi
14564  else
14565     pkg_failed=untried
14566 fi
14567
14568
14569
14570 if test $pkg_failed = yes; then
14571         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14572 $as_echo "no" >&6; }
14573
14574 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14575         _pkg_short_errors_supported=yes
14576 else
14577         _pkg_short_errors_supported=no
14578 fi
14579         if test $_pkg_short_errors_supported = yes; then
14580                 REMIX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "remix >= 0.2.4" 2>&1`
14581         else
14582                 REMIX_PKG_ERRORS=`$PKG_CONFIG --print-errors "remix >= 0.2.4" 2>&1`
14583         fi
14584         # Put the nasty error message in config.log where it belongs
14585         echo "$REMIX_PKG_ERRORS" >&5
14586
14587         have_libremix="no"; want_multisense="no"
14588
14589 elif test $pkg_failed = untried; then
14590         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14591 $as_echo "no" >&6; }
14592         have_libremix="no"; want_multisense="no"
14593
14594 else
14595         REMIX_CFLAGS=$pkg_cv_REMIX_CFLAGS
14596         REMIX_LIBS=$pkg_cv_REMIX_LIBS
14597         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14598 $as_echo "yes" >&6; }
14599
14600
14601 $as_echo "#define HAVE_LIBREMIX 1" >>confdefs.h
14602
14603        have_libremix="yes"
14604        requirement_edje="remix >= 0.2.4 ${requirement_edje}"
14605
14606 $as_echo "#define __REMIX_PLUGIN__ 1" >>confdefs.h
14607
14608        REMIX_PLUGIN_DIR=`pkg-config --variable=libdir remix`"/remix"
14609
14610
14611 cat >>confdefs.h <<_ACEOF
14612 #define REMIX_PLUGIN_DIR "$REMIX_PLUGIN_DIR"
14613 _ACEOF
14614
14615
14616 fi
14617
14618         if test "x$want_libremix" = "xyes" -a "x$have_libremix" = "xno"; then
14619             as_fn_error $? "remix support requested, but not found by pkg-config." "$LINENO" 5
14620         fi
14621 fi
14622  if test "x${have_libremix}" = "xyes"; then
14623   HAVE_LIBREMIX_TRUE=
14624   HAVE_LIBREMIX_FALSE='#'
14625 else
14626   HAVE_LIBREMIX_TRUE='#'
14627   HAVE_LIBREMIX_FALSE=
14628 fi
14629
14630
14631 ##vorbis/ogg library
14632 have_vorbis="no"
14633 want_vorbis="auto"
14634 # Check whether --enable-vorbisenc was given.
14635 if test "${enable_vorbisenc+set}" = set; then :
14636   enableval=$enable_vorbisenc; want_vorbis=$enableval
14637 fi
14638
14639
14640 if test "x${want_multisense}" = "xyes" -a "x$want_vorbis" != "xno"; then
14641
14642 pkg_failed=no
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VORBISENC" >&5
14644 $as_echo_n "checking for VORBISENC... " >&6; }
14645
14646 if test -n "$VORBISENC_CFLAGS"; then
14647     pkg_cv_VORBISENC_CFLAGS="$VORBISENC_CFLAGS"
14648  elif test -n "$PKG_CONFIG"; then
14649     if test -n "$PKG_CONFIG" && \
14650     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14651        ogg >= 1.1.4
14652        vorbis >= 1.2.3
14653        vorbisenc >= 1.2.3
14654       \""; } >&5
14655   ($PKG_CONFIG --exists --print-errors "
14656        ogg >= 1.1.4
14657        vorbis >= 1.2.3
14658        vorbisenc >= 1.2.3
14659       ") 2>&5
14660   ac_status=$?
14661   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14662   test $ac_status = 0; }; then
14663   pkg_cv_VORBISENC_CFLAGS=`$PKG_CONFIG --cflags "
14664        ogg >= 1.1.4
14665        vorbis >= 1.2.3
14666        vorbisenc >= 1.2.3
14667       " 2>/dev/null`
14668 else
14669   pkg_failed=yes
14670 fi
14671  else
14672     pkg_failed=untried
14673 fi
14674 if test -n "$VORBISENC_LIBS"; then
14675     pkg_cv_VORBISENC_LIBS="$VORBISENC_LIBS"
14676  elif test -n "$PKG_CONFIG"; then
14677     if test -n "$PKG_CONFIG" && \
14678     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14679        ogg >= 1.1.4
14680        vorbis >= 1.2.3
14681        vorbisenc >= 1.2.3
14682       \""; } >&5
14683   ($PKG_CONFIG --exists --print-errors "
14684        ogg >= 1.1.4
14685        vorbis >= 1.2.3
14686        vorbisenc >= 1.2.3
14687       ") 2>&5
14688   ac_status=$?
14689   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14690   test $ac_status = 0; }; then
14691   pkg_cv_VORBISENC_LIBS=`$PKG_CONFIG --libs "
14692        ogg >= 1.1.4
14693        vorbis >= 1.2.3
14694        vorbisenc >= 1.2.3
14695       " 2>/dev/null`
14696 else
14697   pkg_failed=yes
14698 fi
14699  else
14700     pkg_failed=untried
14701 fi
14702
14703
14704
14705 if test $pkg_failed = yes; then
14706         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14707 $as_echo "no" >&6; }
14708
14709 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14710         _pkg_short_errors_supported=yes
14711 else
14712         _pkg_short_errors_supported=no
14713 fi
14714         if test $_pkg_short_errors_supported = yes; then
14715                 VORBISENC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
14716        ogg >= 1.1.4
14717        vorbis >= 1.2.3
14718        vorbisenc >= 1.2.3
14719       " 2>&1`
14720         else
14721                 VORBISENC_PKG_ERRORS=`$PKG_CONFIG --print-errors "
14722        ogg >= 1.1.4
14723        vorbis >= 1.2.3
14724        vorbisenc >= 1.2.3
14725       " 2>&1`
14726         fi
14727         # Put the nasty error message in config.log where it belongs
14728         echo "$VORBISENC_PKG_ERRORS" >&5
14729
14730         have_vorbis="no"; want_multisense="no"
14731
14732 elif test $pkg_failed = untried; then
14733         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14734 $as_echo "no" >&6; }
14735         have_vorbis="no"; want_multisense="no"
14736
14737 else
14738         VORBISENC_CFLAGS=$pkg_cv_VORBISENC_CFLAGS
14739         VORBISENC_LIBS=$pkg_cv_VORBISENC_LIBS
14740         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14741 $as_echo "yes" >&6; }
14742
14743
14744 $as_echo "#define HAVE_VORBIS 1" >>confdefs.h
14745
14746        have_vorbis="yes"
14747        requirement_edje="ogg >= 1.1.4 vorbis >= 1.2.3 vorbisenc >= 1.2.3 ${requirement_edje}"
14748
14749 fi
14750
14751         if test "x$want_vorbis" = "xyes" -a "x$have_vorbis" = "xno"; then
14752             as_fn_error $? "vorbisenc support requested, but not found by pkg-config." "$LINENO" 5
14753         fi
14754 fi
14755
14756 ##alsa library
14757 have_alsa_lib="no"
14758 want_alsa_lib="auto"
14759 # Check whether --enable-alsa was given.
14760 if test "${enable_alsa+set}" = set; then :
14761   enableval=$enable_alsa; want_alsa_lib=$enableval
14762 fi
14763
14764
14765 if test "x${want_multisense}" = "xyes" -a "x$want_alsa_lib" != "xno"; then
14766
14767 pkg_failed=no
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
14769 $as_echo_n "checking for ALSA... " >&6; }
14770
14771 if test -n "$ALSA_CFLAGS"; then
14772     pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
14773  elif test -n "$PKG_CONFIG"; then
14774     if test -n "$PKG_CONFIG" && \
14775     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14776        alsa >= 1.0.21
14777       \""; } >&5
14778   ($PKG_CONFIG --exists --print-errors "
14779        alsa >= 1.0.21
14780       ") 2>&5
14781   ac_status=$?
14782   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14783   test $ac_status = 0; }; then
14784   pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "
14785        alsa >= 1.0.21
14786       " 2>/dev/null`
14787 else
14788   pkg_failed=yes
14789 fi
14790  else
14791     pkg_failed=untried
14792 fi
14793 if test -n "$ALSA_LIBS"; then
14794     pkg_cv_ALSA_LIBS="$ALSA_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 \"
14798        alsa >= 1.0.21
14799       \""; } >&5
14800   ($PKG_CONFIG --exists --print-errors "
14801        alsa >= 1.0.21
14802       ") 2>&5
14803   ac_status=$?
14804   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14805   test $ac_status = 0; }; then
14806   pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "
14807        alsa >= 1.0.21
14808       " 2>/dev/null`
14809 else
14810   pkg_failed=yes
14811 fi
14812  else
14813     pkg_failed=untried
14814 fi
14815
14816
14817
14818 if test $pkg_failed = yes; then
14819         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14820 $as_echo "no" >&6; }
14821
14822 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14823         _pkg_short_errors_supported=yes
14824 else
14825         _pkg_short_errors_supported=no
14826 fi
14827         if test $_pkg_short_errors_supported = yes; then
14828                 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
14829        alsa >= 1.0.21
14830       " 2>&1`
14831         else
14832                 ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors "
14833        alsa >= 1.0.21
14834       " 2>&1`
14835         fi
14836         # Put the nasty error message in config.log where it belongs
14837         echo "$ALSA_PKG_ERRORS" >&5
14838
14839         have_alsa_lib="no"; want_multisense="no"
14840
14841 elif test $pkg_failed = untried; then
14842         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14843 $as_echo "no" >&6; }
14844         have_alsa_lib="no"; want_multisense="no"
14845
14846 else
14847         ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
14848         ALSA_LIBS=$pkg_cv_ALSA_LIBS
14849         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14850 $as_echo "yes" >&6; }
14851
14852
14853 $as_echo "#define HAVE_LIBALSA 1" >>confdefs.h
14854
14855        have_alsa_lib="yes"
14856        requirement_edje="alsa >= 1.0.21 ${requirement_edje}"
14857
14858 fi
14859
14860         if test "x$want_alsa_lib" = "xyes" -a "x$have_alsa_lib" = "xno"; then
14861             as_fn_error $? "alsa support requested, but not found by pkg-config." "$LINENO" 5
14862         fi
14863 fi
14864  if test "x${have_alsa_lib}" = "xyes"; then
14865   HAVE_LIBALSA_TRUE=
14866   HAVE_LIBALSA_FALSE='#'
14867 else
14868   HAVE_LIBALSA_TRUE='#'
14869   HAVE_LIBALSA_FALSE=
14870 fi
14871
14872
14873
14874 ##flac library
14875 have_flac_lib="no"
14876 want_flac_lib="auto"
14877 # Check whether --enable-flac was given.
14878 if test "${enable_flac+set}" = set; then :
14879   enableval=$enable_flac; want_flac_lib=$enableval
14880 fi
14881
14882
14883 if test "x${want_multisense}" = "xyes" -a "x$want_flac_lib" != "xno"; then
14884
14885 pkg_failed=no
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLAC" >&5
14887 $as_echo_n "checking for FLAC... " >&6; }
14888
14889 if test -n "$FLAC_CFLAGS"; then
14890     pkg_cv_FLAC_CFLAGS="$FLAC_CFLAGS"
14891  elif test -n "$PKG_CONFIG"; then
14892     if test -n "$PKG_CONFIG" && \
14893     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14894        flac >= 1.2.1
14895       \""; } >&5
14896   ($PKG_CONFIG --exists --print-errors "
14897        flac >= 1.2.1
14898       ") 2>&5
14899   ac_status=$?
14900   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14901   test $ac_status = 0; }; then
14902   pkg_cv_FLAC_CFLAGS=`$PKG_CONFIG --cflags "
14903        flac >= 1.2.1
14904       " 2>/dev/null`
14905 else
14906   pkg_failed=yes
14907 fi
14908  else
14909     pkg_failed=untried
14910 fi
14911 if test -n "$FLAC_LIBS"; then
14912     pkg_cv_FLAC_LIBS="$FLAC_LIBS"
14913  elif test -n "$PKG_CONFIG"; then
14914     if test -n "$PKG_CONFIG" && \
14915     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14916        flac >= 1.2.1
14917       \""; } >&5
14918   ($PKG_CONFIG --exists --print-errors "
14919        flac >= 1.2.1
14920       ") 2>&5
14921   ac_status=$?
14922   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14923   test $ac_status = 0; }; then
14924   pkg_cv_FLAC_LIBS=`$PKG_CONFIG --libs "
14925        flac >= 1.2.1
14926       " 2>/dev/null`
14927 else
14928   pkg_failed=yes
14929 fi
14930  else
14931     pkg_failed=untried
14932 fi
14933
14934
14935
14936 if test $pkg_failed = yes; then
14937         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14938 $as_echo "no" >&6; }
14939
14940 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14941         _pkg_short_errors_supported=yes
14942 else
14943         _pkg_short_errors_supported=no
14944 fi
14945         if test $_pkg_short_errors_supported = yes; then
14946                 FLAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
14947        flac >= 1.2.1
14948       " 2>&1`
14949         else
14950                 FLAC_PKG_ERRORS=`$PKG_CONFIG --print-errors "
14951        flac >= 1.2.1
14952       " 2>&1`
14953         fi
14954         # Put the nasty error message in config.log where it belongs
14955         echo "$FLAC_PKG_ERRORS" >&5
14956
14957         have_flac_lib="no"; want_multisense="no"
14958
14959 elif test $pkg_failed = untried; then
14960         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14961 $as_echo "no" >&6; }
14962         have_flac_lib="no"; want_multisense="no"
14963
14964 else
14965         FLAC_CFLAGS=$pkg_cv_FLAC_CFLAGS
14966         FLAC_LIBS=$pkg_cv_FLAC_LIBS
14967         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14968 $as_echo "yes" >&6; }
14969
14970
14971 $as_echo "#define HAVE_LIBFLAC 1" >>confdefs.h
14972
14973        have_flac_lib="yes"
14974        # disabled because this adds flac include dirs to cflags... and
14975        # FLAC has an assert.h in its include dirs that ends up
14976        # overriding the system assert.h and thus causes all sorts of
14977        # mayhem
14978        #requirement_edje="flac >= 1.2.1 ${requirement_edje}"
14979
14980 fi
14981         if test "x$want_flac_lib" = "xyes" -a "x$have_flac_lib" = "xno"; then
14982             as_fn_error $? "flac support requested, but not found by pkg-config." "$LINENO" 5
14983         fi
14984 fi
14985
14986 if test "x${want_multisense}" = "xyes" ; then
14987
14988 $as_echo "#define ENABLE_MULTISENSE 1" >>confdefs.h
14989
14990 fi
14991
14992
14993 # Dependencies for the binaries
14994
14995 if test "x${have_edje_cc}" = "xyes" ; then
14996
14997 pkg_failed=no
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_CC" >&5
14999 $as_echo_n "checking for EDJE_CC... " >&6; }
15000
15001 if test -n "$EDJE_CC_CFLAGS"; then
15002     pkg_cv_EDJE_CC_CFLAGS="$EDJE_CC_CFLAGS"
15003  elif test -n "$PKG_CONFIG"; then
15004     if test -n "$PKG_CONFIG" && \
15005     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99\""; } >&5
15006   ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99") 2>&5
15007   ac_status=$?
15008   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15009   test $ac_status = 0; }; then
15010   pkg_cv_EDJE_CC_CFLAGS=`$PKG_CONFIG --cflags "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99" 2>/dev/null`
15011 else
15012   pkg_failed=yes
15013 fi
15014  else
15015     pkg_failed=untried
15016 fi
15017 if test -n "$EDJE_CC_LIBS"; then
15018     pkg_cv_EDJE_CC_LIBS="$EDJE_CC_LIBS"
15019  elif test -n "$PKG_CONFIG"; then
15020     if test -n "$PKG_CONFIG" && \
15021     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99\""; } >&5
15022   ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99") 2>&5
15023   ac_status=$?
15024   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15025   test $ac_status = 0; }; then
15026   pkg_cv_EDJE_CC_LIBS=`$PKG_CONFIG --libs "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99" 2>/dev/null`
15027 else
15028   pkg_failed=yes
15029 fi
15030  else
15031     pkg_failed=untried
15032 fi
15033
15034
15035
15036 if test $pkg_failed = yes; then
15037         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15038 $as_echo "no" >&6; }
15039
15040 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15041         _pkg_short_errors_supported=yes
15042 else
15043         _pkg_short_errors_supported=no
15044 fi
15045         if test $_pkg_short_errors_supported = yes; then
15046                 EDJE_CC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99" 2>&1`
15047         else
15048                 EDJE_CC_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99" 2>&1`
15049         fi
15050         # Put the nasty error message in config.log where it belongs
15051         echo "$EDJE_CC_PKG_ERRORS" >&5
15052
15053         as_fn_error $? "Package requirements (ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99) were not met:
15054
15055 $EDJE_CC_PKG_ERRORS
15056
15057 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15058 installed software in a non-standard prefix.
15059
15060 Alternatively, you may set the environment variables EDJE_CC_CFLAGS
15061 and EDJE_CC_LIBS to avoid the need to call pkg-config.
15062 See the pkg-config man page for more details." "$LINENO" 5
15063 elif test $pkg_failed = untried; then
15064         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15065 $as_echo "no" >&6; }
15066         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15068 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15069 is in your PATH or set the PKG_CONFIG environment variable to the full
15070 path to pkg-config.
15071
15072 Alternatively, you may set the environment variables EDJE_CC_CFLAGS
15073 and EDJE_CC_LIBS to avoid the need to call pkg-config.
15074 See the pkg-config man page for more details.
15075
15076 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15077 See \`config.log' for more details" "$LINENO" 5 ; }
15078 else
15079         EDJE_CC_CFLAGS=$pkg_cv_EDJE_CC_CFLAGS
15080         EDJE_CC_LIBS=$pkg_cv_EDJE_CC_LIBS
15081         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15082 $as_echo "yes" >&6; }
15083
15084 fi
15085    EDJE_CC_LIBS="${EDJE_CC_LIBS} ${LUA_LIBS} ${lua_libs}"
15086 fi
15087
15088  if test "x${have_edje_cc}" = "xyes"; then
15089   BUILD_EPP_TRUE=
15090   BUILD_EPP_FALSE='#'
15091 else
15092   BUILD_EPP_TRUE='#'
15093   BUILD_EPP_FALSE=
15094 fi
15095
15096
15097 if test "x${have_edje_decc}" = "xyes" ; then
15098
15099 pkg_failed=no
15100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_DECC" >&5
15101 $as_echo_n "checking for EDJE_DECC... " >&6; }
15102
15103 if test -n "$EDJE_DECC_CFLAGS"; then
15104     pkg_cv_EDJE_DECC_CFLAGS="$EDJE_DECC_CFLAGS"
15105  elif test -n "$PKG_CONFIG"; then
15106     if test -n "$PKG_CONFIG" && \
15107     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99\""; } >&5
15108   ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99") 2>&5
15109   ac_status=$?
15110   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15111   test $ac_status = 0; }; then
15112   pkg_cv_EDJE_DECC_CFLAGS=`$PKG_CONFIG --cflags "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
15113 else
15114   pkg_failed=yes
15115 fi
15116  else
15117     pkg_failed=untried
15118 fi
15119 if test -n "$EDJE_DECC_LIBS"; then
15120     pkg_cv_EDJE_DECC_LIBS="$EDJE_DECC_LIBS"
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 \"ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99\""; } >&5
15124   ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99") 2>&5
15125   ac_status=$?
15126   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15127   test $ac_status = 0; }; then
15128   pkg_cv_EDJE_DECC_LIBS=`$PKG_CONFIG --libs "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
15129 else
15130   pkg_failed=yes
15131 fi
15132  else
15133     pkg_failed=untried
15134 fi
15135
15136
15137
15138 if test $pkg_failed = yes; then
15139         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15140 $as_echo "no" >&6; }
15141
15142 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15143         _pkg_short_errors_supported=yes
15144 else
15145         _pkg_short_errors_supported=no
15146 fi
15147         if test $_pkg_short_errors_supported = yes; then
15148                 EDJE_DECC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99" 2>&1`
15149         else
15150                 EDJE_DECC_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99" 2>&1`
15151         fi
15152         # Put the nasty error message in config.log where it belongs
15153         echo "$EDJE_DECC_PKG_ERRORS" >&5
15154
15155         as_fn_error $? "Package requirements (ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99) were not met:
15156
15157 $EDJE_DECC_PKG_ERRORS
15158
15159 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15160 installed software in a non-standard prefix.
15161
15162 Alternatively, you may set the environment variables EDJE_DECC_CFLAGS
15163 and EDJE_DECC_LIBS to avoid the need to call pkg-config.
15164 See the pkg-config man page for more details." "$LINENO" 5
15165 elif test $pkg_failed = untried; then
15166         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15167 $as_echo "no" >&6; }
15168         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15169 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15170 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15171 is in your PATH or set the PKG_CONFIG environment variable to the full
15172 path to pkg-config.
15173
15174 Alternatively, you may set the environment variables EDJE_DECC_CFLAGS
15175 and EDJE_DECC_LIBS to avoid the need to call pkg-config.
15176 See the pkg-config man page for more details.
15177
15178 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15179 See \`config.log' for more details" "$LINENO" 5 ; }
15180 else
15181         EDJE_DECC_CFLAGS=$pkg_cv_EDJE_DECC_CFLAGS
15182         EDJE_DECC_LIBS=$pkg_cv_EDJE_DECC_LIBS
15183         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15184 $as_echo "yes" >&6; }
15185
15186 fi
15187 fi
15188
15189 if test "x${have_edje_player}" = "xyes" ; then
15190
15191 pkg_failed=no
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_PLAYER" >&5
15193 $as_echo_n "checking for EDJE_PLAYER... " >&6; }
15194
15195 if test -n "$EDJE_PLAYER_CFLAGS"; then
15196     pkg_cv_EDJE_PLAYER_CFLAGS="$EDJE_PLAYER_CFLAGS"
15197  elif test -n "$PKG_CONFIG"; then
15198     if test -n "$PKG_CONFIG" && \
15199     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99\""; } >&5
15200   ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99") 2>&5
15201   ac_status=$?
15202   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15203   test $ac_status = 0; }; then
15204   pkg_cv_EDJE_PLAYER_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
15205 else
15206   pkg_failed=yes
15207 fi
15208  else
15209     pkg_failed=untried
15210 fi
15211 if test -n "$EDJE_PLAYER_LIBS"; then
15212     pkg_cv_EDJE_PLAYER_LIBS="$EDJE_PLAYER_LIBS"
15213  elif test -n "$PKG_CONFIG"; then
15214     if test -n "$PKG_CONFIG" && \
15215     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99\""; } >&5
15216   ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99") 2>&5
15217   ac_status=$?
15218   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15219   test $ac_status = 0; }; then
15220   pkg_cv_EDJE_PLAYER_LIBS=`$PKG_CONFIG --libs "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
15221 else
15222   pkg_failed=yes
15223 fi
15224  else
15225     pkg_failed=untried
15226 fi
15227
15228
15229
15230 if test $pkg_failed = yes; then
15231         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15232 $as_echo "no" >&6; }
15233
15234 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15235         _pkg_short_errors_supported=yes
15236 else
15237         _pkg_short_errors_supported=no
15238 fi
15239         if test $_pkg_short_errors_supported = yes; then
15240                 EDJE_PLAYER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>&1`
15241         else
15242                 EDJE_PLAYER_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>&1`
15243         fi
15244         # Put the nasty error message in config.log where it belongs
15245         echo "$EDJE_PLAYER_PKG_ERRORS" >&5
15246
15247         as_fn_error $? "Package requirements (ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99) were not met:
15248
15249 $EDJE_PLAYER_PKG_ERRORS
15250
15251 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15252 installed software in a non-standard prefix.
15253
15254 Alternatively, you may set the environment variables EDJE_PLAYER_CFLAGS
15255 and EDJE_PLAYER_LIBS to avoid the need to call pkg-config.
15256 See the pkg-config man page for more details." "$LINENO" 5
15257 elif test $pkg_failed = untried; then
15258         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15259 $as_echo "no" >&6; }
15260         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15262 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15263 is in your PATH or set the PKG_CONFIG environment variable to the full
15264 path to pkg-config.
15265
15266 Alternatively, you may set the environment variables EDJE_PLAYER_CFLAGS
15267 and EDJE_PLAYER_LIBS to avoid the need to call pkg-config.
15268 See the pkg-config man page for more details.
15269
15270 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15271 See \`config.log' for more details" "$LINENO" 5 ; }
15272 else
15273         EDJE_PLAYER_CFLAGS=$pkg_cv_EDJE_PLAYER_CFLAGS
15274         EDJE_PLAYER_LIBS=$pkg_cv_EDJE_PLAYER_LIBS
15275         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15276 $as_echo "yes" >&6; }
15277
15278 fi
15279 fi
15280
15281 if test "x${have_edje_inspector}" = "xyes" ; then
15282
15283 pkg_failed=no
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_INSPECTOR" >&5
15285 $as_echo_n "checking for EDJE_INSPECTOR... " >&6; }
15286
15287 if test -n "$EDJE_INSPECTOR_CFLAGS"; then
15288     pkg_cv_EDJE_INSPECTOR_CFLAGS="$EDJE_INSPECTOR_CFLAGS"
15289  elif test -n "$PKG_CONFIG"; then
15290     if test -n "$PKG_CONFIG" && \
15291     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99\""; } >&5
15292   ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99") 2>&5
15293   ac_status=$?
15294   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15295   test $ac_status = 0; }; then
15296   pkg_cv_EDJE_INSPECTOR_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
15297 else
15298   pkg_failed=yes
15299 fi
15300  else
15301     pkg_failed=untried
15302 fi
15303 if test -n "$EDJE_INSPECTOR_LIBS"; then
15304     pkg_cv_EDJE_INSPECTOR_LIBS="$EDJE_INSPECTOR_LIBS"
15305  elif test -n "$PKG_CONFIG"; then
15306     if test -n "$PKG_CONFIG" && \
15307     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99\""; } >&5
15308   ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99") 2>&5
15309   ac_status=$?
15310   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15311   test $ac_status = 0; }; then
15312   pkg_cv_EDJE_INSPECTOR_LIBS=`$PKG_CONFIG --libs "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
15313 else
15314   pkg_failed=yes
15315 fi
15316  else
15317     pkg_failed=untried
15318 fi
15319
15320
15321
15322 if test $pkg_failed = yes; then
15323         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15324 $as_echo "no" >&6; }
15325
15326 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15327         _pkg_short_errors_supported=yes
15328 else
15329         _pkg_short_errors_supported=no
15330 fi
15331         if test $_pkg_short_errors_supported = yes; then
15332                 EDJE_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>&1`
15333         else
15334                 EDJE_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>&1`
15335         fi
15336         # Put the nasty error message in config.log where it belongs
15337         echo "$EDJE_INSPECTOR_PKG_ERRORS" >&5
15338
15339         as_fn_error $? "Package requirements (ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99) were not met:
15340
15341 $EDJE_INSPECTOR_PKG_ERRORS
15342
15343 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15344 installed software in a non-standard prefix.
15345
15346 Alternatively, you may set the environment variables EDJE_INSPECTOR_CFLAGS
15347 and EDJE_INSPECTOR_LIBS to avoid the need to call pkg-config.
15348 See the pkg-config man page for more details." "$LINENO" 5
15349 elif test $pkg_failed = untried; then
15350         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15351 $as_echo "no" >&6; }
15352         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15353 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15354 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15355 is in your PATH or set the PKG_CONFIG environment variable to the full
15356 path to pkg-config.
15357
15358 Alternatively, you may set the environment variables EDJE_INSPECTOR_CFLAGS
15359 and EDJE_INSPECTOR_LIBS to avoid the need to call pkg-config.
15360 See the pkg-config man page for more details.
15361
15362 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15363 See \`config.log' for more details" "$LINENO" 5 ; }
15364 else
15365         EDJE_INSPECTOR_CFLAGS=$pkg_cv_EDJE_INSPECTOR_CFLAGS
15366         EDJE_INSPECTOR_LIBS=$pkg_cv_EDJE_INSPECTOR_LIBS
15367         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15368 $as_echo "yes" >&6; }
15369
15370 fi
15371 fi
15372
15373 if test "x${have_edje_external_inspector}" = "xyes" ; then
15374
15375 pkg_failed=no
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_EXTERNAL_INSPECTOR" >&5
15377 $as_echo_n "checking for EDJE_EXTERNAL_INSPECTOR... " >&6; }
15378
15379 if test -n "$EDJE_EXTERNAL_INSPECTOR_CFLAGS"; then
15380     pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS="$EDJE_EXTERNAL_INSPECTOR_CFLAGS"
15381  elif test -n "$PKG_CONFIG"; then
15382     if test -n "$PKG_CONFIG" && \
15383     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99\""; } >&5
15384   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99") 2>&5
15385   ac_status=$?
15386   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15387   test $ac_status = 0; }; then
15388   pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
15389 else
15390   pkg_failed=yes
15391 fi
15392  else
15393     pkg_failed=untried
15394 fi
15395 if test -n "$EDJE_EXTERNAL_INSPECTOR_LIBS"; then
15396     pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS="$EDJE_EXTERNAL_INSPECTOR_LIBS"
15397  elif test -n "$PKG_CONFIG"; then
15398     if test -n "$PKG_CONFIG" && \
15399     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99\""; } >&5
15400   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99") 2>&5
15401   ac_status=$?
15402   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15403   test $ac_status = 0; }; then
15404   pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
15405 else
15406   pkg_failed=yes
15407 fi
15408  else
15409     pkg_failed=untried
15410 fi
15411
15412
15413
15414 if test $pkg_failed = yes; then
15415         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15416 $as_echo "no" >&6; }
15417
15418 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15419         _pkg_short_errors_supported=yes
15420 else
15421         _pkg_short_errors_supported=no
15422 fi
15423         if test $_pkg_short_errors_supported = yes; then
15424                 EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>&1`
15425         else
15426                 EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>&1`
15427         fi
15428         # Put the nasty error message in config.log where it belongs
15429         echo "$EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS" >&5
15430
15431         as_fn_error $? "Package requirements (ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99) were not met:
15432
15433 $EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS
15434
15435 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15436 installed software in a non-standard prefix.
15437
15438 Alternatively, you may set the environment variables EDJE_EXTERNAL_INSPECTOR_CFLAGS
15439 and EDJE_EXTERNAL_INSPECTOR_LIBS to avoid the need to call pkg-config.
15440 See the pkg-config man page for more details." "$LINENO" 5
15441 elif test $pkg_failed = untried; then
15442         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15443 $as_echo "no" >&6; }
15444         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15445 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15446 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15447 is in your PATH or set the PKG_CONFIG environment variable to the full
15448 path to pkg-config.
15449
15450 Alternatively, you may set the environment variables EDJE_EXTERNAL_INSPECTOR_CFLAGS
15451 and EDJE_EXTERNAL_INSPECTOR_LIBS to avoid the need to call pkg-config.
15452 See the pkg-config man page for more details.
15453
15454 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15455 See \`config.log' for more details" "$LINENO" 5 ; }
15456 else
15457         EDJE_EXTERNAL_INSPECTOR_CFLAGS=$pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS
15458         EDJE_EXTERNAL_INSPECTOR_LIBS=$pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS
15459         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15460 $as_echo "yes" >&6; }
15461
15462 fi
15463 fi
15464
15465 if test "x${have_edje_watch}" = "xyes" ; then
15466
15467 pkg_failed=no
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_WATCH" >&5
15469 $as_echo_n "checking for EDJE_WATCH... " >&6; }
15470
15471 if test -n "$EDJE_WATCH_CFLAGS"; then
15472     pkg_cv_EDJE_WATCH_CFLAGS="$EDJE_WATCH_CFLAGS"
15473  elif test -n "$PKG_CONFIG"; then
15474     if test -n "$PKG_CONFIG" && \
15475     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99\""; } >&5
15476   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99") 2>&5
15477   ac_status=$?
15478   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15479   test $ac_status = 0; }; then
15480   pkg_cv_EDJE_WATCH_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99" 2>/dev/null`
15481 else
15482   pkg_failed=yes
15483 fi
15484  else
15485     pkg_failed=untried
15486 fi
15487 if test -n "$EDJE_WATCH_LIBS"; then
15488     pkg_cv_EDJE_WATCH_LIBS="$EDJE_WATCH_LIBS"
15489  elif test -n "$PKG_CONFIG"; then
15490     if test -n "$PKG_CONFIG" && \
15491     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99\""; } >&5
15492   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99") 2>&5
15493   ac_status=$?
15494   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15495   test $ac_status = 0; }; then
15496   pkg_cv_EDJE_WATCH_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99" 2>/dev/null`
15497 else
15498   pkg_failed=yes
15499 fi
15500  else
15501     pkg_failed=untried
15502 fi
15503
15504
15505
15506 if test $pkg_failed = yes; then
15507         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15508 $as_echo "no" >&6; }
15509
15510 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15511         _pkg_short_errors_supported=yes
15512 else
15513         _pkg_short_errors_supported=no
15514 fi
15515         if test $_pkg_short_errors_supported = yes; then
15516                 EDJE_WATCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99" 2>&1`
15517         else
15518                 EDJE_WATCH_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99" 2>&1`
15519         fi
15520         # Put the nasty error message in config.log where it belongs
15521         echo "$EDJE_WATCH_PKG_ERRORS" >&5
15522
15523         have_edje_watch="no"
15524 elif test $pkg_failed = untried; then
15525         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15526 $as_echo "no" >&6; }
15527         have_edje_watch="no"
15528 else
15529         EDJE_WATCH_CFLAGS=$pkg_cv_EDJE_WATCH_CFLAGS
15530         EDJE_WATCH_LIBS=$pkg_cv_EDJE_WATCH_LIBS
15531         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15532 $as_echo "yes" >&6; }
15533         have_edje_watch="yes"
15534 fi
15535 fi
15536
15537  if test "x${have_edje_watch}" = "xyes"; then
15538   BUILD_EDJE_WATCH_TRUE=
15539   BUILD_EDJE_WATCH_FALSE='#'
15540 else
15541   BUILD_EDJE_WATCH_TRUE='#'
15542   BUILD_EDJE_WATCH_FALSE=
15543 fi
15544
15545
15546 ### Checks for header files
15547 for ac_header in locale.h sys/resource.h
15548 do :
15549   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15550 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15551 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15552   cat >>confdefs.h <<_ACEOF
15553 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15554 _ACEOF
15555
15556 fi
15557
15558 done
15559
15560
15561
15562
15563 default_max="4096"
15564 ac_ext=c
15565 ac_cpp='$CPP $CPPFLAGS'
15566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15569
15570
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
15572 $as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
15573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15574 /* end confdefs.h.  */
15575
15576 #include <limits.h>
15577
15578 int
15579 main ()
15580 {
15581
15582 int i = PATH_MAX;
15583
15584   ;
15585   return 0;
15586 }
15587 _ACEOF
15588 if ac_fn_c_try_compile "$LINENO"; then :
15589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15590 $as_echo "yes" >&6; }
15591 else
15592
15593
15594 cat >>confdefs.h <<_ACEOF
15595 #define PATH_MAX ${default_max}
15596 _ACEOF
15597
15598     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
15599 $as_echo "no: using ${default_max}" >&6; }
15600
15601 fi
15602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15603
15604 ac_ext=c
15605 ac_cpp='$CPP $CPPFLAGS'
15606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15609
15610
15611
15612
15613
15614 ### Checks for types
15615
15616
15617 ### Checks for structures
15618
15619
15620 ### Checks for compiler characteristics
15621 if test "x$CC" != xcc; then
15622   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
15623 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
15624 else
15625   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
15626 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
15627 fi
15628 set dummy $CC; ac_cc=`$as_echo "$2" |
15629                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
15630 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
15631   $as_echo_n "(cached) " >&6
15632 else
15633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15634 /* end confdefs.h.  */
15635
15636 int
15637 main ()
15638 {
15639
15640   ;
15641   return 0;
15642 }
15643 _ACEOF
15644 # Make sure it works both with $CC and with simple cc.
15645 # We do the test twice because some compilers refuse to overwrite an
15646 # existing .o file with -o, though they will create one.
15647 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
15648 rm -f conftest2.*
15649 if { { case "(($ac_try" in
15650   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15651   *) ac_try_echo=$ac_try;;
15652 esac
15653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15654 $as_echo "$ac_try_echo"; } >&5
15655   (eval "$ac_try") 2>&5
15656   ac_status=$?
15657   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15658   test $ac_status = 0; } &&
15659    test -f conftest2.$ac_objext && { { case "(($ac_try" in
15660   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15661   *) ac_try_echo=$ac_try;;
15662 esac
15663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15664 $as_echo "$ac_try_echo"; } >&5
15665   (eval "$ac_try") 2>&5
15666   ac_status=$?
15667   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15668   test $ac_status = 0; };
15669 then
15670   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
15671   if test "x$CC" != xcc; then
15672     # Test first that cc exists at all.
15673     if { ac_try='cc -c conftest.$ac_ext >&5'
15674   { { case "(($ac_try" in
15675   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15676   *) ac_try_echo=$ac_try;;
15677 esac
15678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15679 $as_echo "$ac_try_echo"; } >&5
15680   (eval "$ac_try") 2>&5
15681   ac_status=$?
15682   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15683   test $ac_status = 0; }; }; then
15684       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
15685       rm -f conftest2.*
15686       if { { case "(($ac_try" in
15687   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15688   *) ac_try_echo=$ac_try;;
15689 esac
15690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15691 $as_echo "$ac_try_echo"; } >&5
15692   (eval "$ac_try") 2>&5
15693   ac_status=$?
15694   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15695   test $ac_status = 0; } &&
15696          test -f conftest2.$ac_objext && { { case "(($ac_try" in
15697   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15698   *) ac_try_echo=$ac_try;;
15699 esac
15700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15701 $as_echo "$ac_try_echo"; } >&5
15702   (eval "$ac_try") 2>&5
15703   ac_status=$?
15704   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15705   test $ac_status = 0; };
15706       then
15707         # cc works too.
15708         :
15709       else
15710         # cc exists but doesn't like -o.
15711         eval ac_cv_prog_cc_${ac_cc}_c_o=no
15712       fi
15713     fi
15714   fi
15715 else
15716   eval ac_cv_prog_cc_${ac_cc}_c_o=no
15717 fi
15718 rm -f core conftest*
15719
15720 fi
15721 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
15722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15723 $as_echo "yes" >&6; }
15724 else
15725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15726 $as_echo "no" >&6; }
15727
15728 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
15729
15730 fi
15731
15732 # FIXME: we rely on the cache variable name because
15733 # there is no other way.
15734 set dummy $CC
15735 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
15736 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
15737 if test "$am_t" != yes; then
15738    # Losing compiler, so override with the script.
15739    # FIXME: It is wrong to rewrite CC.
15740    # But if we don't then we get into trouble of one sort or another.
15741    # A longer-term fix would be to have automake use am__CC in this case,
15742    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
15743    CC="$am_aux_dir/compile $CC"
15744 fi
15745
15746
15747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
15748 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
15749 if test "${ac_cv_c_const+set}" = set; then :
15750   $as_echo_n "(cached) " >&6
15751 else
15752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15753 /* end confdefs.h.  */
15754
15755 int
15756 main ()
15757 {
15758 /* FIXME: Include the comments suggested by Paul. */
15759 #ifndef __cplusplus
15760   /* Ultrix mips cc rejects this.  */
15761   typedef int charset[2];
15762   const charset cs;
15763   /* SunOS 4.1.1 cc rejects this.  */
15764   char const *const *pcpcc;
15765   char **ppc;
15766   /* NEC SVR4.0.2 mips cc rejects this.  */
15767   struct point {int x, y;};
15768   static struct point const zero = {0,0};
15769   /* AIX XL C 1.02.0.0 rejects this.
15770      It does not let you subtract one const X* pointer from another in
15771      an arm of an if-expression whose if-part is not a constant
15772      expression */
15773   const char *g = "string";
15774   pcpcc = &g + (g ? g-g : 0);
15775   /* HPUX 7.0 cc rejects these. */
15776   ++pcpcc;
15777   ppc = (char**) pcpcc;
15778   pcpcc = (char const *const *) ppc;
15779   { /* SCO 3.2v4 cc rejects this.  */
15780     char *t;
15781     char const *s = 0 ? (char *) 0 : (char const *) 0;
15782
15783     *t++ = 0;
15784     if (s) return 0;
15785   }
15786   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
15787     int x[] = {25, 17};
15788     const int *foo = &x[0];
15789     ++foo;
15790   }
15791   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15792     typedef const int *iptr;
15793     iptr p = 0;
15794     ++p;
15795   }
15796   { /* AIX XL C 1.02.0.0 rejects this saying
15797        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15798     struct s { int j; const int *ap[3]; };
15799     struct s *b; b->j = 5;
15800   }
15801   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15802     const int foo = 10;
15803     if (!foo) return 0;
15804   }
15805   return !cs[0] && !zero.x;
15806 #endif
15807
15808   ;
15809   return 0;
15810 }
15811 _ACEOF
15812 if ac_fn_c_try_compile "$LINENO"; then :
15813   ac_cv_c_const=yes
15814 else
15815   ac_cv_c_const=no
15816 fi
15817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15818 fi
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
15820 $as_echo "$ac_cv_c_const" >&6; }
15821 if test $ac_cv_c_const = no; then
15822
15823 $as_echo "#define const /**/" >>confdefs.h
15824
15825 fi
15826
15827    case $ac_cv_prog_cc_stdc in #(
15828   no) :
15829     ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
15830   *) :
15831     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
15832 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
15833 if test "${ac_cv_prog_cc_c99+set}" = set; then :
15834   $as_echo_n "(cached) " >&6
15835 else
15836   ac_cv_prog_cc_c99=no
15837 ac_save_CC=$CC
15838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15839 /* end confdefs.h.  */
15840 #include <stdarg.h>
15841 #include <stdbool.h>
15842 #include <stdlib.h>
15843 #include <wchar.h>
15844 #include <stdio.h>
15845
15846 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
15847 #define debug(...) fprintf (stderr, __VA_ARGS__)
15848 #define showlist(...) puts (#__VA_ARGS__)
15849 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
15850 static void
15851 test_varargs_macros (void)
15852 {
15853   int x = 1234;
15854   int y = 5678;
15855   debug ("Flag");
15856   debug ("X = %d\n", x);
15857   showlist (The first, second, and third items.);
15858   report (x>y, "x is %d but y is %d", x, y);
15859 }
15860
15861 // Check long long types.
15862 #define BIG64 18446744073709551615ull
15863 #define BIG32 4294967295ul
15864 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
15865 #if !BIG_OK
15866   your preprocessor is broken;
15867 #endif
15868 #if BIG_OK
15869 #else
15870   your preprocessor is broken;
15871 #endif
15872 static long long int bignum = -9223372036854775807LL;
15873 static unsigned long long int ubignum = BIG64;
15874
15875 struct incomplete_array
15876 {
15877   int datasize;
15878   double data[];
15879 };
15880
15881 struct named_init {
15882   int number;
15883   const wchar_t *name;
15884   double average;
15885 };
15886
15887 typedef const char *ccp;
15888
15889 static inline int
15890 test_restrict (ccp restrict text)
15891 {
15892   // See if C++-style comments work.
15893   // Iterate through items via the restricted pointer.
15894   // Also check for declarations in for loops.
15895   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
15896     continue;
15897   return 0;
15898 }
15899
15900 // Check varargs and va_copy.
15901 static void
15902 test_varargs (const char *format, ...)
15903 {
15904   va_list args;
15905   va_start (args, format);
15906   va_list args_copy;
15907   va_copy (args_copy, args);
15908
15909   const char *str;
15910   int number;
15911   float fnumber;
15912
15913   while (*format)
15914     {
15915       switch (*format++)
15916         {
15917         case 's': // string
15918           str = va_arg (args_copy, const char *);
15919           break;
15920         case 'd': // int
15921           number = va_arg (args_copy, int);
15922           break;
15923         case 'f': // float
15924           fnumber = va_arg (args_copy, double);
15925           break;
15926         default:
15927           break;
15928         }
15929     }
15930   va_end (args_copy);
15931   va_end (args);
15932 }
15933
15934 int
15935 main ()
15936 {
15937
15938   // Check bool.
15939   _Bool success = false;
15940
15941   // Check restrict.
15942   if (test_restrict ("String literal") == 0)
15943     success = true;
15944   char *restrict newvar = "Another string";
15945
15946   // Check varargs.
15947   test_varargs ("s, d' f .", "string", 65, 34.234);
15948   test_varargs_macros ();
15949
15950   // Check flexible array members.
15951   struct incomplete_array *ia =
15952     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
15953   ia->datasize = 10;
15954   for (int i = 0; i < ia->datasize; ++i)
15955     ia->data[i] = i * 1.234;
15956
15957   // Check named initializers.
15958   struct named_init ni = {
15959     .number = 34,
15960     .name = L"Test wide string",
15961     .average = 543.34343,
15962   };
15963
15964   ni.number = 58;
15965
15966   int dynamic_array[ni.number];
15967   dynamic_array[ni.number - 1] = 543;
15968
15969   // work around unused variable warnings
15970   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
15971           || dynamic_array[ni.number - 1] != 543);
15972
15973   ;
15974   return 0;
15975 }
15976 _ACEOF
15977 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
15978 do
15979   CC="$ac_save_CC $ac_arg"
15980   if ac_fn_c_try_compile "$LINENO"; then :
15981   ac_cv_prog_cc_c99=$ac_arg
15982 fi
15983 rm -f core conftest.err conftest.$ac_objext
15984   test "x$ac_cv_prog_cc_c99" != "xno" && break
15985 done
15986 rm -f conftest.$ac_ext
15987 CC=$ac_save_CC
15988
15989 fi
15990 # AC_CACHE_VAL
15991 case "x$ac_cv_prog_cc_c99" in
15992   x)
15993     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
15994 $as_echo "none needed" >&6; } ;;
15995   xno)
15996     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
15997 $as_echo "unsupported" >&6; } ;;
15998   *)
15999     CC="$CC $ac_cv_prog_cc_c99"
16000     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
16001 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
16002 esac
16003 if test "x$ac_cv_prog_cc_c99" != xno; then :
16004   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
16005 else
16006   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16007 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16008 if test "${ac_cv_prog_cc_c89+set}" = set; then :
16009   $as_echo_n "(cached) " >&6
16010 else
16011   ac_cv_prog_cc_c89=no
16012 ac_save_CC=$CC
16013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16014 /* end confdefs.h.  */
16015 #include <stdarg.h>
16016 #include <stdio.h>
16017 #include <sys/types.h>
16018 #include <sys/stat.h>
16019 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
16020 struct buf { int x; };
16021 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16022 static char *e (p, i)
16023      char **p;
16024      int i;
16025 {
16026   return p[i];
16027 }
16028 static char *f (char * (*g) (char **, int), char **p, ...)
16029 {
16030   char *s;
16031   va_list v;
16032   va_start (v,p);
16033   s = g (p, va_arg (v,int));
16034   va_end (v);
16035   return s;
16036 }
16037
16038 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
16039    function prototypes and stuff, but not '\xHH' hex character constants.
16040    These don't provoke an error unfortunately, instead are silently treated
16041    as 'x'.  The following induces an error, until -std is added to get
16042    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
16043    array size at least.  It's necessary to write '\x00'==0 to get something
16044    that's true only with -std.  */
16045 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16046
16047 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16048    inside strings and character constants.  */
16049 #define FOO(x) 'x'
16050 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16051
16052 int test (int i, double x);
16053 struct s1 {int (*f) (int a);};
16054 struct s2 {int (*f) (double a);};
16055 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16056 int argc;
16057 char **argv;
16058 int
16059 main ()
16060 {
16061 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
16062   ;
16063   return 0;
16064 }
16065 _ACEOF
16066 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16067         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16068 do
16069   CC="$ac_save_CC $ac_arg"
16070   if ac_fn_c_try_compile "$LINENO"; then :
16071   ac_cv_prog_cc_c89=$ac_arg
16072 fi
16073 rm -f core conftest.err conftest.$ac_objext
16074   test "x$ac_cv_prog_cc_c89" != "xno" && break
16075 done
16076 rm -f conftest.$ac_ext
16077 CC=$ac_save_CC
16078
16079 fi
16080 # AC_CACHE_VAL
16081 case "x$ac_cv_prog_cc_c89" in
16082   x)
16083     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16084 $as_echo "none needed" >&6; } ;;
16085   xno)
16086     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16087 $as_echo "unsupported" >&6; } ;;
16088   *)
16089     CC="$CC $ac_cv_prog_cc_c89"
16090     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16091 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16092 esac
16093 if test "x$ac_cv_prog_cc_c89" != xno; then :
16094   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
16095 else
16096   ac_cv_prog_cc_stdc=no
16097 fi
16098
16099 fi
16100  ;;
16101 esac
16102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
16103 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
16104   if test "${ac_cv_prog_cc_stdc+set}" = set; then :
16105   $as_echo_n "(cached) " >&6
16106 fi
16107
16108   case $ac_cv_prog_cc_stdc in #(
16109   no) :
16110     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16111 $as_echo "unsupported" >&6; } ;; #(
16112   '') :
16113     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16114 $as_echo "none needed" >&6; } ;; #(
16115   *) :
16116     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
16117 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
16118 esac
16119
16120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
16121 $as_echo_n "checking for ANSI C header files... " >&6; }
16122 if test "${ac_cv_header_stdc+set}" = set; then :
16123   $as_echo_n "(cached) " >&6
16124 else
16125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16126 /* end confdefs.h.  */
16127 #include <stdlib.h>
16128 #include <stdarg.h>
16129 #include <string.h>
16130 #include <float.h>
16131
16132 int
16133 main ()
16134 {
16135
16136   ;
16137   return 0;
16138 }
16139 _ACEOF
16140 if ac_fn_c_try_compile "$LINENO"; then :
16141   ac_cv_header_stdc=yes
16142 else
16143   ac_cv_header_stdc=no
16144 fi
16145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16146
16147 if test $ac_cv_header_stdc = yes; then
16148   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16150 /* end confdefs.h.  */
16151 #include <string.h>
16152
16153 _ACEOF
16154 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16155   $EGREP "memchr" >/dev/null 2>&1; then :
16156
16157 else
16158   ac_cv_header_stdc=no
16159 fi
16160 rm -f conftest*
16161
16162 fi
16163
16164 if test $ac_cv_header_stdc = yes; then
16165   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16167 /* end confdefs.h.  */
16168 #include <stdlib.h>
16169
16170 _ACEOF
16171 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16172   $EGREP "free" >/dev/null 2>&1; then :
16173
16174 else
16175   ac_cv_header_stdc=no
16176 fi
16177 rm -f conftest*
16178
16179 fi
16180
16181 if test $ac_cv_header_stdc = yes; then
16182   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16183   if test "$cross_compiling" = yes; then :
16184   :
16185 else
16186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16187 /* end confdefs.h.  */
16188 #include <ctype.h>
16189 #include <stdlib.h>
16190 #if ((' ' & 0x0FF) == 0x020)
16191 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16192 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16193 #else
16194 # define ISLOWER(c) \
16195                    (('a' <= (c) && (c) <= 'i') \
16196                      || ('j' <= (c) && (c) <= 'r') \
16197                      || ('s' <= (c) && (c) <= 'z'))
16198 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16199 #endif
16200
16201 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16202 int
16203 main ()
16204 {
16205   int i;
16206   for (i = 0; i < 256; i++)
16207     if (XOR (islower (i), ISLOWER (i))
16208         || toupper (i) != TOUPPER (i))
16209       return 2;
16210   return 0;
16211 }
16212 _ACEOF
16213 if ac_fn_c_try_run "$LINENO"; then :
16214
16215 else
16216   ac_cv_header_stdc=no
16217 fi
16218 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16219   conftest.$ac_objext conftest.beam conftest.$ac_ext
16220 fi
16221
16222 fi
16223 fi
16224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
16225 $as_echo "$ac_cv_header_stdc" >&6; }
16226 if test $ac_cv_header_stdc = yes; then
16227
16228 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
16229
16230 fi
16231
16232
16233
16234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
16235 $as_echo_n "checking for __attribute__... " >&6; }
16236
16237 if test "${ac_cv___attribute__+set}" = set; then :
16238   $as_echo_n "(cached) " >&6
16239 else
16240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16241 /* end confdefs.h.  */
16242
16243 #include <stdlib.h>
16244
16245 int func(int x);
16246 int foo(int x __attribute__ ((unused)))
16247 {
16248    exit(1);
16249 }
16250
16251 int
16252 main ()
16253 {
16254
16255   ;
16256   return 0;
16257 }
16258 _ACEOF
16259 if ac_fn_c_try_compile "$LINENO"; then :
16260   ac_cv___attribute__="yes"
16261 else
16262   ac_cv___attribute__="no"
16263
16264 fi
16265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16266 fi
16267
16268
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
16270 $as_echo "$ac_cv___attribute__" >&6; }
16271
16272 if test "x${ac_cv___attribute__}" = "xyes" ; then
16273
16274 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
16275
16276
16277 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
16278
16279   else
16280
16281 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
16282
16283 fi
16284
16285
16286
16287 case "$host_os" in
16288    mingw32ce*)
16289       EDJE_CFLAGS="${EDJE_CFLAGS} -D_WIN32_WCE=0x0420"
16290       ;;
16291 esac
16292
16293
16294 ### Checks for linker characteristics
16295
16296 lt_enable_auto_import=""
16297 case "$host_os" in
16298    mingw*)
16299       lt_enable_auto_import="-Wl,--enable-auto-import"
16300       ;;
16301 esac
16302
16303
16304
16305 ### Checks for library functions
16306
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
16308 $as_echo_n "checking for library containing strerror... " >&6; }
16309 if test "${ac_cv_search_strerror+set}" = set; then :
16310   $as_echo_n "(cached) " >&6
16311 else
16312   ac_func_search_save_LIBS=$LIBS
16313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16314 /* end confdefs.h.  */
16315
16316 /* Override any GCC internal prototype to avoid an error.
16317    Use char because int might match the return type of a GCC
16318    builtin and then its argument prototype would still apply.  */
16319 #ifdef __cplusplus
16320 extern "C"
16321 #endif
16322 char strerror ();
16323 int
16324 main ()
16325 {
16326 return strerror ();
16327   ;
16328   return 0;
16329 }
16330 _ACEOF
16331 for ac_lib in '' cposix; do
16332   if test -z "$ac_lib"; then
16333     ac_res="none required"
16334   else
16335     ac_res=-l$ac_lib
16336     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16337   fi
16338   if ac_fn_c_try_link "$LINENO"; then :
16339   ac_cv_search_strerror=$ac_res
16340 fi
16341 rm -f core conftest.err conftest.$ac_objext \
16342     conftest$ac_exeext
16343   if test "${ac_cv_search_strerror+set}" = set; then :
16344   break
16345 fi
16346 done
16347 if test "${ac_cv_search_strerror+set}" = set; then :
16348
16349 else
16350   ac_cv_search_strerror=no
16351 fi
16352 rm conftest.$ac_ext
16353 LIBS=$ac_func_search_save_LIBS
16354 fi
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
16356 $as_echo "$ac_cv_search_strerror" >&6; }
16357 ac_res=$ac_cv_search_strerror
16358 if test "$ac_res" != no; then :
16359   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16360
16361 fi
16362
16363
16364 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
16365 # for constant arguments.  Useless!
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
16367 $as_echo_n "checking for working alloca.h... " >&6; }
16368 if test "${ac_cv_working_alloca_h+set}" = set; then :
16369   $as_echo_n "(cached) " >&6
16370 else
16371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16372 /* end confdefs.h.  */
16373 #include <alloca.h>
16374 int
16375 main ()
16376 {
16377 char *p = (char *) alloca (2 * sizeof (int));
16378                           if (p) return 0;
16379   ;
16380   return 0;
16381 }
16382 _ACEOF
16383 if ac_fn_c_try_link "$LINENO"; then :
16384   ac_cv_working_alloca_h=yes
16385 else
16386   ac_cv_working_alloca_h=no
16387 fi
16388 rm -f core conftest.err conftest.$ac_objext \
16389     conftest$ac_exeext conftest.$ac_ext
16390 fi
16391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
16392 $as_echo "$ac_cv_working_alloca_h" >&6; }
16393 if test $ac_cv_working_alloca_h = yes; then
16394
16395 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
16396
16397 fi
16398
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
16400 $as_echo_n "checking for alloca... " >&6; }
16401 if test "${ac_cv_func_alloca_works+set}" = set; then :
16402   $as_echo_n "(cached) " >&6
16403 else
16404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16405 /* end confdefs.h.  */
16406 #ifdef __GNUC__
16407 # define alloca __builtin_alloca
16408 #else
16409 # ifdef _MSC_VER
16410 #  include <malloc.h>
16411 #  define alloca _alloca
16412 # else
16413 #  ifdef HAVE_ALLOCA_H
16414 #   include <alloca.h>
16415 #  else
16416 #   ifdef _AIX
16417  #pragma alloca
16418 #   else
16419 #    ifndef alloca /* predefined by HP cc +Olibcalls */
16420 char *alloca ();
16421 #    endif
16422 #   endif
16423 #  endif
16424 # endif
16425 #endif
16426
16427 int
16428 main ()
16429 {
16430 char *p = (char *) alloca (1);
16431                                     if (p) return 0;
16432   ;
16433   return 0;
16434 }
16435 _ACEOF
16436 if ac_fn_c_try_link "$LINENO"; then :
16437   ac_cv_func_alloca_works=yes
16438 else
16439   ac_cv_func_alloca_works=no
16440 fi
16441 rm -f core conftest.err conftest.$ac_objext \
16442     conftest$ac_exeext conftest.$ac_ext
16443 fi
16444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
16445 $as_echo "$ac_cv_func_alloca_works" >&6; }
16446
16447 if test $ac_cv_func_alloca_works = yes; then
16448
16449 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
16450
16451 else
16452   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
16453 # that cause trouble.  Some versions do not even contain alloca or
16454 # contain a buggy version.  If you still want to use their alloca,
16455 # use ar to extract alloca.o from them instead of compiling alloca.c.
16456
16457 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
16458
16459 $as_echo "#define C_ALLOCA 1" >>confdefs.h
16460
16461
16462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
16463 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
16464 if test "${ac_cv_os_cray+set}" = set; then :
16465   $as_echo_n "(cached) " >&6
16466 else
16467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16468 /* end confdefs.h.  */
16469 #if defined CRAY && ! defined CRAY2
16470 webecray
16471 #else
16472 wenotbecray
16473 #endif
16474
16475 _ACEOF
16476 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16477   $EGREP "webecray" >/dev/null 2>&1; then :
16478   ac_cv_os_cray=yes
16479 else
16480   ac_cv_os_cray=no
16481 fi
16482 rm -f conftest*
16483
16484 fi
16485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
16486 $as_echo "$ac_cv_os_cray" >&6; }
16487 if test $ac_cv_os_cray = yes; then
16488   for ac_func in _getb67 GETB67 getb67; do
16489     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16490 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16491 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16492
16493 cat >>confdefs.h <<_ACEOF
16494 #define CRAY_STACKSEG_END $ac_func
16495 _ACEOF
16496
16497     break
16498 fi
16499
16500   done
16501 fi
16502
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
16504 $as_echo_n "checking stack direction for C alloca... " >&6; }
16505 if test "${ac_cv_c_stack_direction+set}" = set; then :
16506   $as_echo_n "(cached) " >&6
16507 else
16508   if test "$cross_compiling" = yes; then :
16509   ac_cv_c_stack_direction=0
16510 else
16511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16512 /* end confdefs.h.  */
16513 $ac_includes_default
16514 int
16515 find_stack_direction ()
16516 {
16517   static char *addr = 0;
16518   auto char dummy;
16519   if (addr == 0)
16520     {
16521       addr = &dummy;
16522       return find_stack_direction ();
16523     }
16524   else
16525     return (&dummy > addr) ? 1 : -1;
16526 }
16527
16528 int
16529 main ()
16530 {
16531   return find_stack_direction () < 0;
16532 }
16533 _ACEOF
16534 if ac_fn_c_try_run "$LINENO"; then :
16535   ac_cv_c_stack_direction=1
16536 else
16537   ac_cv_c_stack_direction=-1
16538 fi
16539 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16540   conftest.$ac_objext conftest.beam conftest.$ac_ext
16541 fi
16542
16543 fi
16544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
16545 $as_echo "$ac_cv_c_stack_direction" >&6; }
16546 cat >>confdefs.h <<_ACEOF
16547 #define STACK_DIRECTION $ac_cv_c_stack_direction
16548 _ACEOF
16549
16550
16551 fi
16552
16553
16554 case "$host_os" in
16555    mingw*)
16556
16557 $as_echo "#define HAVE_REALPATH 1" >>confdefs.h
16558
16559       ;;
16560    *)
16561       for ac_func in realpath
16562 do :
16563   ac_fn_c_check_func "$LINENO" "realpath" "ac_cv_func_realpath"
16564 if test "x$ac_cv_func_realpath" = x""yes; then :
16565   cat >>confdefs.h <<_ACEOF
16566 #define HAVE_REALPATH 1
16567 _ACEOF
16568
16569 fi
16570 done
16571
16572       ;;
16573 esac
16574
16575 ### Unit tests, coverage and benchmarking
16576
16577
16578
16579
16580 # Check whether --enable-tests was given.
16581 if test "${enable_tests+set}" = set; then :
16582   enableval=$enable_tests;
16583     if test "x${enableval}" = "xyes" ; then
16584        _efl_enable_tests="yes"
16585     else
16586        _efl_enable_tests="no"
16587     fi
16588
16589 else
16590   _efl_enable_tests="no"
16591 fi
16592
16593
16594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests are built" >&5
16595 $as_echo_n "checking whether tests are built... " >&6; }
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_tests}" >&5
16597 $as_echo "${_efl_enable_tests}" >&6; }
16598
16599
16600
16601 if test "x${_efl_enable_tests}" = "xyes" ; then
16602
16603 pkg_failed=no
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
16605 $as_echo_n "checking for CHECK... " >&6; }
16606
16607 if test -n "$CHECK_CFLAGS"; then
16608     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
16609  elif test -n "$PKG_CONFIG"; then
16610     if test -n "$PKG_CONFIG" && \
16611     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
16612   ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
16613   ac_status=$?
16614   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16615   test $ac_status = 0; }; then
16616   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.5" 2>/dev/null`
16617 else
16618   pkg_failed=yes
16619 fi
16620  else
16621     pkg_failed=untried
16622 fi
16623 if test -n "$CHECK_LIBS"; then
16624     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
16625  elif test -n "$PKG_CONFIG"; then
16626     if test -n "$PKG_CONFIG" && \
16627     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
16628   ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
16629   ac_status=$?
16630   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16631   test $ac_status = 0; }; then
16632   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.5" 2>/dev/null`
16633 else
16634   pkg_failed=yes
16635 fi
16636  else
16637     pkg_failed=untried
16638 fi
16639
16640
16641
16642 if test $pkg_failed = yes; then
16643         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16644 $as_echo "no" >&6; }
16645
16646 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16647         _pkg_short_errors_supported=yes
16648 else
16649         _pkg_short_errors_supported=no
16650 fi
16651         if test $_pkg_short_errors_supported = yes; then
16652                 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "check >= 0.9.5" 2>&1`
16653         else
16654                 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors "check >= 0.9.5" 2>&1`
16655         fi
16656         # Put the nasty error message in config.log where it belongs
16657         echo "$CHECK_PKG_ERRORS" >&5
16658
16659         _efl_enable_tests="no"
16660 elif test $pkg_failed = untried; then
16661         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16662 $as_echo "no" >&6; }
16663         _efl_enable_tests="no"
16664 else
16665         CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
16666         CHECK_LIBS=$pkg_cv_CHECK_LIBS
16667         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16668 $as_echo "yes" >&6; }
16669         dummy="yes"
16670 fi
16671 fi
16672
16673  if test "x${_efl_enable_tests}" = "xyes"; then
16674   EFL_ENABLE_TESTS_TRUE=
16675   EFL_ENABLE_TESTS_FALSE='#'
16676 else
16677   EFL_ENABLE_TESTS_TRUE='#'
16678   EFL_ENABLE_TESTS_FALSE=
16679 fi
16680
16681
16682 if test "x$_efl_enable_tests" = "xyes"; then :
16683   enable_tests="yes"
16684 else
16685   enable_tests="no"
16686 fi
16687
16688
16689
16690
16691
16692 # Check whether --enable-coverage was given.
16693 if test "${enable_coverage+set}" = set; then :
16694   enableval=$enable_coverage;
16695     if test "x${enableval}" = "xyes" ; then
16696        _efl_enable_coverage="yes"
16697     else
16698        _efl_enable_coverage="no"
16699     fi
16700
16701 else
16702   _efl_enable_coverage="no"
16703 fi
16704
16705
16706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use profiling instrumentation" >&5
16707 $as_echo_n "checking whether to use profiling instrumentation... " >&6; }
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_efl_enable_coverage" >&5
16709 $as_echo "$_efl_enable_coverage" >&6; }
16710
16711
16712 if test "x$_efl_enable_coverage" = "xyes" && test ! "x${enable_tests}" = "xyes" ; then
16713    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&5
16714 $as_echo "$as_me: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&2;}
16715    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Run configure with --enable-tests" >&5
16716 $as_echo "$as_me: WARNING: Run configure with --enable-tests" >&2;}
16717    _efl_enable_coverage="no"
16718 fi
16719
16720 if test "x$_efl_enable_coverage" = "xyes" ; then
16721    # Extract the first word of "lcov", so it can be a program name with args.
16722 set dummy lcov; ac_word=$2
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16724 $as_echo_n "checking for $ac_word... " >&6; }
16725 if test "${ac_cv_prog_have_lcov+set}" = set; then :
16726   $as_echo_n "(cached) " >&6
16727 else
16728   if test -n "$have_lcov"; then
16729   ac_cv_prog_have_lcov="$have_lcov" # Let the user override the test.
16730 else
16731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16732 for as_dir in $PATH
16733 do
16734   IFS=$as_save_IFS
16735   test -z "$as_dir" && as_dir=.
16736     for ac_exec_ext in '' $ac_executable_extensions; do
16737   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16738     ac_cv_prog_have_lcov="yes"
16739     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16740     break 2
16741   fi
16742 done
16743   done
16744 IFS=$as_save_IFS
16745
16746   test -z "$ac_cv_prog_have_lcov" && ac_cv_prog_have_lcov="no"
16747 fi
16748 fi
16749 have_lcov=$ac_cv_prog_have_lcov
16750 if test -n "$have_lcov"; then
16751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_lcov" >&5
16752 $as_echo "$have_lcov" >&6; }
16753 else
16754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16755 $as_echo "no" >&6; }
16756 fi
16757
16758
16759    if test "x$have_lcov" = "xyes" ; then
16760       EFL_COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
16761       EFL_COVERAGE_LIBS="-lgcov"
16762 # remove any optimisation flag and force debug symbols
16763       EFL_DEBUG_CFLAGS="-g -O0 -DDEBUG"
16764    else
16765       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: lcov is not found, disable profiling instrumentation" >&5
16766 $as_echo "$as_me: WARNING: lcov is not found, disable profiling instrumentation" >&2;}
16767       _efl_enable_coverage="no"
16768    fi
16769 fi
16770
16771
16772
16773
16774  if test "x${_efl_enable_coverage}" = "xyes"; then
16775   EFL_ENABLE_COVERAGE_TRUE=
16776   EFL_ENABLE_COVERAGE_FALSE='#'
16777 else
16778   EFL_ENABLE_COVERAGE_TRUE='#'
16779   EFL_ENABLE_COVERAGE_FALSE=
16780 fi
16781
16782
16783 if test "x$_efl_enable_coverage" = "xyes"; then :
16784   enable_coverage="yes"
16785 else
16786   enable_coverage="no"
16787 fi
16788
16789 EDJE_CFLAGS="${EDJE_CFLAGS} ${EFL_COVERAGE_CFLAGS}"
16790 EDJE_LIBS="${EDJE_LIBS} ${EFL_COVERAGE_LIBS}"
16791 if test "x$enable_coverage" = "xyes" ; then
16792    EDJE_CFLAGS="${EDJE_CFLAGS} ${EFL_DEBUG_CFLAGS}"
16793 fi
16794
16795 ## Examples
16796
16797 build_examples="no"
16798 # Check whether --enable-build-examples was given.
16799 if test "${enable_build_examples+set}" = set; then :
16800   enableval=$enable_build_examples;
16801     if test "x${enableval}" = "xyes" ; then
16802        build_examples="yes"
16803     else
16804        build_examples="no"
16805     fi
16806
16807 else
16808   build_examples="no"
16809 fi
16810
16811  if test "x${build_examples}" = "xyes"; then
16812   BUILD_EXAMPLES_TRUE=
16813   BUILD_EXAMPLES_FALSE='#'
16814 else
16815   BUILD_EXAMPLES_TRUE='#'
16816   BUILD_EXAMPLES_FALSE=
16817 fi
16818
16819
16820
16821
16822 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"
16823
16824 cat >confcache <<\_ACEOF
16825 # This file is a shell script that caches the results of configure
16826 # tests run on this system so they can be shared between configure
16827 # scripts and configure runs, see configure's option --config-cache.
16828 # It is not useful on other systems.  If it contains results you don't
16829 # want to keep, you may remove or edit it.
16830 #
16831 # config.status only pays attention to the cache file if you give it
16832 # the --recheck option to rerun configure.
16833 #
16834 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16835 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16836 # following values.
16837
16838 _ACEOF
16839
16840 # The following way of writing the cache mishandles newlines in values,
16841 # but we know of no workaround that is simple, portable, and efficient.
16842 # So, we kill variables containing newlines.
16843 # Ultrix sh set writes to stderr and can't be redirected directly,
16844 # and sets the high bit in the cache file unless we assign to the vars.
16845 (
16846   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16847     eval ac_val=\$$ac_var
16848     case $ac_val in #(
16849     *${as_nl}*)
16850       case $ac_var in #(
16851       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16852 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16853       esac
16854       case $ac_var in #(
16855       _ | IFS | as_nl) ;; #(
16856       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16857       *) { eval $ac_var=; unset $ac_var;} ;;
16858       esac ;;
16859     esac
16860   done
16861
16862   (set) 2>&1 |
16863     case $as_nl`(ac_space=' '; set) 2>&1` in #(
16864     *${as_nl}ac_space=\ *)
16865       # `set' does not quote correctly, so add quotes: double-quote
16866       # substitution turns \\\\ into \\, and sed turns \\ into \.
16867       sed -n \
16868         "s/'/'\\\\''/g;
16869           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16870       ;; #(
16871     *)
16872       # `set' quotes correctly as required by POSIX, so do not add quotes.
16873       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16874       ;;
16875     esac |
16876     sort
16877 ) |
16878   sed '
16879      /^ac_cv_env_/b end
16880      t clear
16881      :clear
16882      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16883      t end
16884      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16885      :end' >>confcache
16886 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16887   if test -w "$cache_file"; then
16888     test "x$cache_file" != "x/dev/null" &&
16889       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16890 $as_echo "$as_me: updating cache $cache_file" >&6;}
16891     cat confcache >$cache_file
16892   else
16893     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16894 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16895   fi
16896 fi
16897 rm -f confcache
16898
16899 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16900 # Let make expand exec_prefix.
16901 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16902
16903 DEFS=-DHAVE_CONFIG_H
16904
16905 ac_libobjs=
16906 ac_ltlibobjs=
16907 U=
16908 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16909   # 1. Remove the extension, and $U if already installed.
16910   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16911   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16912   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16913   #    will be set to the directory where LIBOBJS objects are built.
16914   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16915   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16916 done
16917 LIBOBJS=$ac_libobjs
16918
16919 LTLIBOBJS=$ac_ltlibobjs
16920
16921
16922  if test -n "$EXEEXT"; then
16923   am__EXEEXT_TRUE=
16924   am__EXEEXT_FALSE='#'
16925 else
16926   am__EXEEXT_TRUE='#'
16927   am__EXEEXT_FALSE=
16928 fi
16929
16930 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16931   as_fn_error $? "conditional \"AMDEP\" was never defined.
16932 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16933 fi
16934 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16935   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16936 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16937 fi
16938 if test -z "${EDJE_AMALGAMATION_TRUE}" && test -z "${EDJE_AMALGAMATION_FALSE}"; then
16939   as_fn_error $? "conditional \"EDJE_AMALGAMATION\" was never defined.
16940 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16941 fi
16942 if test -z "${BUILD_EDJE_CC_TRUE}" && test -z "${BUILD_EDJE_CC_FALSE}"; then
16943   as_fn_error $? "conditional \"BUILD_EDJE_CC\" was never defined.
16944 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16945 fi
16946 if test -z "${BUILD_EDJE_DECC_TRUE}" && test -z "${BUILD_EDJE_DECC_FALSE}"; then
16947   as_fn_error $? "conditional \"BUILD_EDJE_DECC\" was never defined.
16948 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16949 fi
16950 if test -z "${BUILD_EDJE_RECC_TRUE}" && test -z "${BUILD_EDJE_RECC_FALSE}"; then
16951   as_fn_error $? "conditional \"BUILD_EDJE_RECC\" was never defined.
16952 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16953 fi
16954 if test -z "${BUILD_EDJE_PLAYER_TRUE}" && test -z "${BUILD_EDJE_PLAYER_FALSE}"; then
16955   as_fn_error $? "conditional \"BUILD_EDJE_PLAYER\" was never defined.
16956 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16957 fi
16958 if test -z "${BUILD_EDJE_INSPECTOR_TRUE}" && test -z "${BUILD_EDJE_INSPECTOR_FALSE}"; then
16959   as_fn_error $? "conditional \"BUILD_EDJE_INSPECTOR\" was never defined.
16960 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16961 fi
16962 if test -z "${BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE}" && test -z "${BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE}"; then
16963   as_fn_error $? "conditional \"BUILD_EDJE_EXTERNAL_INSPECTOR\" was never defined.
16964 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16965 fi
16966 if test -z "${BUILD_EDJE_WATCH_TRUE}" && test -z "${BUILD_EDJE_WATCH_FALSE}"; then
16967   as_fn_error $? "conditional \"BUILD_EDJE_WATCH\" was never defined.
16968 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16969 fi
16970 if test -z "${EDJE_PROGRAM_CACHE_TRUE}" && test -z "${EDJE_PROGRAM_CACHE_FALSE}"; then
16971   as_fn_error $? "conditional \"EDJE_PROGRAM_CACHE\" was never defined.
16972 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16973 fi
16974 if test -z "${EDJE_CALC_CACHE_TRUE}" && test -z "${EDJE_CALC_CACHE_FALSE}"; then
16975   as_fn_error $? "conditional \"EDJE_CALC_CACHE\" was never defined.
16976 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16977 fi
16978 if test -z "${BUILD_EDJE_FP_TRUE}" && test -z "${BUILD_EDJE_FP_FALSE}"; then
16979   as_fn_error $? "conditional \"BUILD_EDJE_FP\" was never defined.
16980 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16981 fi
16982 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16983   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16984 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16985 fi
16986 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
16987   as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
16988 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16989 fi
16990 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
16991   as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
16992 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16993 fi
16994 if test -z "${ENABLE_MULTISENSE_TRUE}" && test -z "${ENABLE_MULTISENSE_FALSE}"; then
16995   as_fn_error $? "conditional \"ENABLE_MULTISENSE\" was never defined.
16996 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16997 fi
16998 if test -z "${HAVE_LIBSNDFILE_TRUE}" && test -z "${HAVE_LIBSNDFILE_FALSE}"; then
16999   as_fn_error $? "conditional \"HAVE_LIBSNDFILE\" was never defined.
17000 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17001 fi
17002 if test -z "${HAVE_LIBREMIX_TRUE}" && test -z "${HAVE_LIBREMIX_FALSE}"; then
17003   as_fn_error $? "conditional \"HAVE_LIBREMIX\" was never defined.
17004 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17005 fi
17006 if test -z "${HAVE_LIBALSA_TRUE}" && test -z "${HAVE_LIBALSA_FALSE}"; then
17007   as_fn_error $? "conditional \"HAVE_LIBALSA\" was never defined.
17008 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17009 fi
17010 if test -z "${BUILD_EPP_TRUE}" && test -z "${BUILD_EPP_FALSE}"; then
17011   as_fn_error $? "conditional \"BUILD_EPP\" was never defined.
17012 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17013 fi
17014 if test -z "${BUILD_EDJE_WATCH_TRUE}" && test -z "${BUILD_EDJE_WATCH_FALSE}"; then
17015   as_fn_error $? "conditional \"BUILD_EDJE_WATCH\" was never defined.
17016 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17017 fi
17018 if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
17019   as_fn_error $? "conditional \"EFL_ENABLE_TESTS\" was never defined.
17020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17021 fi
17022 if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then
17023   as_fn_error $? "conditional \"EFL_ENABLE_COVERAGE\" was never defined.
17024 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17025 fi
17026 if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
17027   as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
17028 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17029 fi
17030
17031 : ${CONFIG_STATUS=./config.status}
17032 ac_write_fail=0
17033 ac_clean_files_save=$ac_clean_files
17034 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17035 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17036 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17037 as_write_fail=0
17038 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17039 #! $SHELL
17040 # Generated by $as_me.
17041 # Run this file to recreate the current configuration.
17042 # Compiler output produced by configure, useful for debugging
17043 # configure, is in config.log if it exists.
17044
17045 debug=false
17046 ac_cs_recheck=false
17047 ac_cs_silent=false
17048
17049 SHELL=\${CONFIG_SHELL-$SHELL}
17050 export SHELL
17051 _ASEOF
17052 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17053 ## -------------------- ##
17054 ## M4sh Initialization. ##
17055 ## -------------------- ##
17056
17057 # Be more Bourne compatible
17058 DUALCASE=1; export DUALCASE # for MKS sh
17059 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17060   emulate sh
17061   NULLCMD=:
17062   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17063   # is contrary to our usage.  Disable this feature.
17064   alias -g '${1+"$@"}'='"$@"'
17065   setopt NO_GLOB_SUBST
17066 else
17067   case `(set -o) 2>/dev/null` in #(
17068   *posix*) :
17069     set -o posix ;; #(
17070   *) :
17071      ;;
17072 esac
17073 fi
17074
17075
17076 as_nl='
17077 '
17078 export as_nl
17079 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17080 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17081 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17082 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17083 # Prefer a ksh shell builtin over an external printf program on Solaris,
17084 # but without wasting forks for bash or zsh.
17085 if test -z "$BASH_VERSION$ZSH_VERSION" \
17086     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17087   as_echo='print -r --'
17088   as_echo_n='print -rn --'
17089 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17090   as_echo='printf %s\n'
17091   as_echo_n='printf %s'
17092 else
17093   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17094     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17095     as_echo_n='/usr/ucb/echo -n'
17096   else
17097     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17098     as_echo_n_body='eval
17099       arg=$1;
17100       case $arg in #(
17101       *"$as_nl"*)
17102         expr "X$arg" : "X\\(.*\\)$as_nl";
17103         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17104       esac;
17105       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17106     '
17107     export as_echo_n_body
17108     as_echo_n='sh -c $as_echo_n_body as_echo'
17109   fi
17110   export as_echo_body
17111   as_echo='sh -c $as_echo_body as_echo'
17112 fi
17113
17114 # The user is always right.
17115 if test "${PATH_SEPARATOR+set}" != set; then
17116   PATH_SEPARATOR=:
17117   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17118     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17119       PATH_SEPARATOR=';'
17120   }
17121 fi
17122
17123
17124 # IFS
17125 # We need space, tab and new line, in precisely that order.  Quoting is
17126 # there to prevent editors from complaining about space-tab.
17127 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17128 # splitting by setting IFS to empty value.)
17129 IFS=" ""        $as_nl"
17130
17131 # Find who we are.  Look in the path if we contain no directory separator.
17132 case $0 in #((
17133   *[\\/]* ) as_myself=$0 ;;
17134   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17135 for as_dir in $PATH
17136 do
17137   IFS=$as_save_IFS
17138   test -z "$as_dir" && as_dir=.
17139     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17140   done
17141 IFS=$as_save_IFS
17142
17143      ;;
17144 esac
17145 # We did not find ourselves, most probably we were run as `sh COMMAND'
17146 # in which case we are not to be found in the path.
17147 if test "x$as_myself" = x; then
17148   as_myself=$0
17149 fi
17150 if test ! -f "$as_myself"; then
17151   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17152   exit 1
17153 fi
17154
17155 # Unset variables that we do not need and which cause bugs (e.g. in
17156 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
17157 # suppresses any "Segmentation fault" message there.  '((' could
17158 # trigger a bug in pdksh 5.2.14.
17159 for as_var in BASH_ENV ENV MAIL MAILPATH
17160 do eval test x\${$as_var+set} = xset \
17161   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17162 done
17163 PS1='$ '
17164 PS2='> '
17165 PS4='+ '
17166
17167 # NLS nuisances.
17168 LC_ALL=C
17169 export LC_ALL
17170 LANGUAGE=C
17171 export LANGUAGE
17172
17173 # CDPATH.
17174 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17175
17176
17177 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17178 # ----------------------------------------
17179 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17180 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17181 # script with STATUS, using 1 if that was 0.
17182 as_fn_error ()
17183 {
17184   as_status=$1; test $as_status -eq 0 && as_status=1
17185   if test "$4"; then
17186     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17187     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17188   fi
17189   $as_echo "$as_me: error: $2" >&2
17190   as_fn_exit $as_status
17191 } # as_fn_error
17192
17193
17194 # as_fn_set_status STATUS
17195 # -----------------------
17196 # Set $? to STATUS, without forking.
17197 as_fn_set_status ()
17198 {
17199   return $1
17200 } # as_fn_set_status
17201
17202 # as_fn_exit STATUS
17203 # -----------------
17204 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17205 as_fn_exit ()
17206 {
17207   set +e
17208   as_fn_set_status $1
17209   exit $1
17210 } # as_fn_exit
17211
17212 # as_fn_unset VAR
17213 # ---------------
17214 # Portably unset VAR.
17215 as_fn_unset ()
17216 {
17217   { eval $1=; unset $1;}
17218 }
17219 as_unset=as_fn_unset
17220 # as_fn_append VAR VALUE
17221 # ----------------------
17222 # Append the text in VALUE to the end of the definition contained in VAR. Take
17223 # advantage of any shell optimizations that allow amortized linear growth over
17224 # repeated appends, instead of the typical quadratic growth present in naive
17225 # implementations.
17226 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17227   eval 'as_fn_append ()
17228   {
17229     eval $1+=\$2
17230   }'
17231 else
17232   as_fn_append ()
17233   {
17234     eval $1=\$$1\$2
17235   }
17236 fi # as_fn_append
17237
17238 # as_fn_arith ARG...
17239 # ------------------
17240 # Perform arithmetic evaluation on the ARGs, and store the result in the
17241 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17242 # must be portable across $(()) and expr.
17243 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17244   eval 'as_fn_arith ()
17245   {
17246     as_val=$(( $* ))
17247   }'
17248 else
17249   as_fn_arith ()
17250   {
17251     as_val=`expr "$@" || test $? -eq 1`
17252   }
17253 fi # as_fn_arith
17254
17255
17256 if expr a : '\(a\)' >/dev/null 2>&1 &&
17257    test "X`expr 00001 : '.*\(...\)'`" = X001; then
17258   as_expr=expr
17259 else
17260   as_expr=false
17261 fi
17262
17263 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17264   as_basename=basename
17265 else
17266   as_basename=false
17267 fi
17268
17269 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17270   as_dirname=dirname
17271 else
17272   as_dirname=false
17273 fi
17274
17275 as_me=`$as_basename -- "$0" ||
17276 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17277          X"$0" : 'X\(//\)$' \| \
17278          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17279 $as_echo X/"$0" |
17280     sed '/^.*\/\([^/][^/]*\)\/*$/{
17281             s//\1/
17282             q
17283           }
17284           /^X\/\(\/\/\)$/{
17285             s//\1/
17286             q
17287           }
17288           /^X\/\(\/\).*/{
17289             s//\1/
17290             q
17291           }
17292           s/.*/./; q'`
17293
17294 # Avoid depending upon Character Ranges.
17295 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17296 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17297 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17298 as_cr_digits='0123456789'
17299 as_cr_alnum=$as_cr_Letters$as_cr_digits
17300
17301 ECHO_C= ECHO_N= ECHO_T=
17302 case `echo -n x` in #(((((
17303 -n*)
17304   case `echo 'xy\c'` in
17305   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
17306   xy)  ECHO_C='\c';;
17307   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
17308        ECHO_T=' ';;
17309   esac;;
17310 *)
17311   ECHO_N='-n';;
17312 esac
17313
17314 rm -f conf$$ conf$$.exe conf$$.file
17315 if test -d conf$$.dir; then
17316   rm -f conf$$.dir/conf$$.file
17317 else
17318   rm -f conf$$.dir
17319   mkdir conf$$.dir 2>/dev/null
17320 fi
17321 if (echo >conf$$.file) 2>/dev/null; then
17322   if ln -s conf$$.file conf$$ 2>/dev/null; then
17323     as_ln_s='ln -s'
17324     # ... but there are two gotchas:
17325     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17326     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17327     # In both cases, we have to default to `cp -p'.
17328     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17329       as_ln_s='cp -p'
17330   elif ln conf$$.file conf$$ 2>/dev/null; then
17331     as_ln_s=ln
17332   else
17333     as_ln_s='cp -p'
17334   fi
17335 else
17336   as_ln_s='cp -p'
17337 fi
17338 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17339 rmdir conf$$.dir 2>/dev/null
17340
17341
17342 # as_fn_mkdir_p
17343 # -------------
17344 # Create "$as_dir" as a directory, including parents if necessary.
17345 as_fn_mkdir_p ()
17346 {
17347
17348   case $as_dir in #(
17349   -*) as_dir=./$as_dir;;
17350   esac
17351   test -d "$as_dir" || eval $as_mkdir_p || {
17352     as_dirs=
17353     while :; do
17354       case $as_dir in #(
17355       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17356       *) as_qdir=$as_dir;;
17357       esac
17358       as_dirs="'$as_qdir' $as_dirs"
17359       as_dir=`$as_dirname -- "$as_dir" ||
17360 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17361          X"$as_dir" : 'X\(//\)[^/]' \| \
17362          X"$as_dir" : 'X\(//\)$' \| \
17363          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17364 $as_echo X"$as_dir" |
17365     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17366             s//\1/
17367             q
17368           }
17369           /^X\(\/\/\)[^/].*/{
17370             s//\1/
17371             q
17372           }
17373           /^X\(\/\/\)$/{
17374             s//\1/
17375             q
17376           }
17377           /^X\(\/\).*/{
17378             s//\1/
17379             q
17380           }
17381           s/.*/./; q'`
17382       test -d "$as_dir" && break
17383     done
17384     test -z "$as_dirs" || eval "mkdir $as_dirs"
17385   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17386
17387
17388 } # as_fn_mkdir_p
17389 if mkdir -p . 2>/dev/null; then
17390   as_mkdir_p='mkdir -p "$as_dir"'
17391 else
17392   test -d ./-p && rmdir ./-p
17393   as_mkdir_p=false
17394 fi
17395
17396 if test -x / >/dev/null 2>&1; then
17397   as_test_x='test -x'
17398 else
17399   if ls -dL / >/dev/null 2>&1; then
17400     as_ls_L_option=L
17401   else
17402     as_ls_L_option=
17403   fi
17404   as_test_x='
17405     eval sh -c '\''
17406       if test -d "$1"; then
17407         test -d "$1/.";
17408       else
17409         case $1 in #(
17410         -*)set "./$1";;
17411         esac;
17412         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17413         ???[sx]*):;;*)false;;esac;fi
17414     '\'' sh
17415   '
17416 fi
17417 as_executable_p=$as_test_x
17418
17419 # Sed expression to map a string onto a valid CPP name.
17420 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17421
17422 # Sed expression to map a string onto a valid variable name.
17423 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17424
17425
17426 exec 6>&1
17427 ## ----------------------------------- ##
17428 ## Main body of $CONFIG_STATUS script. ##
17429 ## ----------------------------------- ##
17430 _ASEOF
17431 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17432
17433 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17434 # Save the log message, to keep $0 and so on meaningful, and to
17435 # report actual input values of CONFIG_FILES etc. instead of their
17436 # values after options handling.
17437 ac_log="
17438 This file was extended by edje $as_me 1.7.1, which was
17439 generated by GNU Autoconf 2.67.  Invocation command line was
17440
17441   CONFIG_FILES    = $CONFIG_FILES
17442   CONFIG_HEADERS  = $CONFIG_HEADERS
17443   CONFIG_LINKS    = $CONFIG_LINKS
17444   CONFIG_COMMANDS = $CONFIG_COMMANDS
17445   $ $0 $@
17446
17447 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17448 "
17449
17450 _ACEOF
17451
17452 case $ac_config_files in *"
17453 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17454 esac
17455
17456 case $ac_config_headers in *"
17457 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17458 esac
17459
17460
17461 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17462 # Files that config.status was made for.
17463 config_files="$ac_config_files"
17464 config_headers="$ac_config_headers"
17465 config_commands="$ac_config_commands"
17466
17467 _ACEOF
17468
17469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17470 ac_cs_usage="\
17471 \`$as_me' instantiates files and other configuration actions
17472 from templates according to the current configuration.  Unless the files
17473 and actions are specified as TAGs, all are instantiated by default.
17474
17475 Usage: $0 [OPTION]... [TAG]...
17476
17477   -h, --help       print this help, then exit
17478   -V, --version    print version number and configuration settings, then exit
17479       --config     print configuration, then exit
17480   -q, --quiet, --silent
17481                    do not print progress messages
17482   -d, --debug      don't remove temporary files
17483       --recheck    update $as_me by reconfiguring in the same conditions
17484       --file=FILE[:TEMPLATE]
17485                    instantiate the configuration file FILE
17486       --header=FILE[:TEMPLATE]
17487                    instantiate the configuration header FILE
17488
17489 Configuration files:
17490 $config_files
17491
17492 Configuration headers:
17493 $config_headers
17494
17495 Configuration commands:
17496 $config_commands
17497
17498 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
17499
17500 _ACEOF
17501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17502 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17503 ac_cs_version="\\
17504 edje config.status 1.7.1
17505 configured by $0, generated by GNU Autoconf 2.67,
17506   with options \\"\$ac_cs_config\\"
17507
17508 Copyright (C) 2010 Free Software Foundation, Inc.
17509 This config.status script is free software; the Free Software Foundation
17510 gives unlimited permission to copy, distribute and modify it."
17511
17512 ac_pwd='$ac_pwd'
17513 srcdir='$srcdir'
17514 INSTALL='$INSTALL'
17515 MKDIR_P='$MKDIR_P'
17516 AWK='$AWK'
17517 test -n "\$AWK" || AWK=awk
17518 _ACEOF
17519
17520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17521 # The default lists apply if the user does not specify any file.
17522 ac_need_defaults=:
17523 while test $# != 0
17524 do
17525   case $1 in
17526   --*=?*)
17527     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17528     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17529     ac_shift=:
17530     ;;
17531   --*=)
17532     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17533     ac_optarg=
17534     ac_shift=:
17535     ;;
17536   *)
17537     ac_option=$1
17538     ac_optarg=$2
17539     ac_shift=shift
17540     ;;
17541   esac
17542
17543   case $ac_option in
17544   # Handling of the options.
17545   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17546     ac_cs_recheck=: ;;
17547   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17548     $as_echo "$ac_cs_version"; exit ;;
17549   --config | --confi | --conf | --con | --co | --c )
17550     $as_echo "$ac_cs_config"; exit ;;
17551   --debug | --debu | --deb | --de | --d | -d )
17552     debug=: ;;
17553   --file | --fil | --fi | --f )
17554     $ac_shift
17555     case $ac_optarg in
17556     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17557     '') as_fn_error $? "missing file argument" ;;
17558     esac
17559     as_fn_append CONFIG_FILES " '$ac_optarg'"
17560     ac_need_defaults=false;;
17561   --header | --heade | --head | --hea )
17562     $ac_shift
17563     case $ac_optarg in
17564     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17565     esac
17566     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17567     ac_need_defaults=false;;
17568   --he | --h)
17569     # Conflict between --help and --header
17570     as_fn_error $? "ambiguous option: \`$1'
17571 Try \`$0 --help' for more information.";;
17572   --help | --hel | -h )
17573     $as_echo "$ac_cs_usage"; exit ;;
17574   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17575   | -silent | --silent | --silen | --sile | --sil | --si | --s)
17576     ac_cs_silent=: ;;
17577
17578   # This is an error.
17579   -*) as_fn_error $? "unrecognized option: \`$1'
17580 Try \`$0 --help' for more information." ;;
17581
17582   *) as_fn_append ac_config_targets " $1"
17583      ac_need_defaults=false ;;
17584
17585   esac
17586   shift
17587 done
17588
17589 ac_configure_extra_args=
17590
17591 if $ac_cs_silent; then
17592   exec 6>/dev/null
17593   ac_configure_extra_args="$ac_configure_extra_args --silent"
17594 fi
17595
17596 _ACEOF
17597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17598 if \$ac_cs_recheck; then
17599   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17600   shift
17601   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17602   CONFIG_SHELL='$SHELL'
17603   export CONFIG_SHELL
17604   exec "\$@"
17605 fi
17606
17607 _ACEOF
17608 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17609 exec 5>>config.log
17610 {
17611   echo
17612   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17613 ## Running $as_me. ##
17614 _ASBOX
17615   $as_echo "$ac_log"
17616 } >&5
17617
17618 _ACEOF
17619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17620 #
17621 # INIT-COMMANDS
17622 #
17623 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17624
17625
17626 # The HP-UX ksh and POSIX shell print the target directory to stdout
17627 # if CDPATH is set.
17628 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17629
17630 sed_quote_subst='$sed_quote_subst'
17631 double_quote_subst='$double_quote_subst'
17632 delay_variable_subst='$delay_variable_subst'
17633 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
17634 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17635 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17636 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17637 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17638 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17639 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17640 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17641 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17642 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17643 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17644 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17645 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17646 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17647 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17648 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17649 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17650 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17651 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17652 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17653 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17654 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17655 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17656 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17657 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17658 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17659 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17660 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17661 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17662 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17663 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17664 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17665 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17666 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17667 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17668 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17669 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17670 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17671 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17672 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17673 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17674 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17675 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17676 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17677 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17678 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17679 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
17680 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17681 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17682 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17683 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17684 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17685 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17686 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17687 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17688 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17689 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17690 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17691 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17692 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17693 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17694 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17695 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17696 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17697 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17698 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17699 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17700 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17701 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17702 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17703 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17704 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17705 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17706 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17707 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17708 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17709 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17710 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17711 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17712 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17713 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17714 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17715 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17716 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17717 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17718 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17719 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17720 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17721 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17722 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17723 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17724 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17725 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17726 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17727 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17728 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17729 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17730 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17731 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17732 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17733 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17734 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17735 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17736 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17737 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17738 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17739 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17740 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17741 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17742 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17743 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17744 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17745 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17746 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17747 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17748 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17749 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17750 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17751 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17752 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17753
17754 LTCC='$LTCC'
17755 LTCFLAGS='$LTCFLAGS'
17756 compiler='$compiler_DEFAULT'
17757
17758 # Quote evaled strings.
17759 for var in SED \
17760 GREP \
17761 EGREP \
17762 FGREP \
17763 LD \
17764 NM \
17765 LN_S \
17766 lt_SP2NL \
17767 lt_NL2SP \
17768 reload_flag \
17769 deplibs_check_method \
17770 file_magic_cmd \
17771 AR \
17772 AR_FLAGS \
17773 STRIP \
17774 RANLIB \
17775 CC \
17776 CFLAGS \
17777 compiler \
17778 lt_cv_sys_global_symbol_pipe \
17779 lt_cv_sys_global_symbol_to_cdecl \
17780 lt_cv_sys_global_symbol_to_c_name_address \
17781 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17782 SHELL \
17783 ECHO \
17784 lt_prog_compiler_no_builtin_flag \
17785 lt_prog_compiler_wl \
17786 lt_prog_compiler_pic \
17787 lt_prog_compiler_static \
17788 lt_cv_prog_compiler_c_o \
17789 need_locks \
17790 DSYMUTIL \
17791 NMEDIT \
17792 LIPO \
17793 OTOOL \
17794 OTOOL64 \
17795 shrext_cmds \
17796 export_dynamic_flag_spec \
17797 whole_archive_flag_spec \
17798 compiler_needs_object \
17799 with_gnu_ld \
17800 allow_undefined_flag \
17801 no_undefined_flag \
17802 hardcode_libdir_flag_spec \
17803 hardcode_libdir_flag_spec_ld \
17804 hardcode_libdir_separator \
17805 fix_srcfile_path \
17806 exclude_expsyms \
17807 include_expsyms \
17808 file_list_spec \
17809 variables_saved_for_relink \
17810 libname_spec \
17811 library_names_spec \
17812 soname_spec \
17813 finish_eval \
17814 old_striplib \
17815 striplib; do
17816     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17817     *[\\\\\\\`\\"\\\$]*)
17818       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17819       ;;
17820     *)
17821       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17822       ;;
17823     esac
17824 done
17825
17826 # Double-quote double-evaled strings.
17827 for var in reload_cmds \
17828 old_postinstall_cmds \
17829 old_postuninstall_cmds \
17830 old_archive_cmds \
17831 extract_expsyms_cmds \
17832 old_archive_from_new_cmds \
17833 old_archive_from_expsyms_cmds \
17834 archive_cmds \
17835 archive_expsym_cmds \
17836 module_cmds \
17837 module_expsym_cmds \
17838 export_symbols_cmds \
17839 prelink_cmds \
17840 postinstall_cmds \
17841 postuninstall_cmds \
17842 finish_cmds \
17843 sys_lib_search_path_spec \
17844 sys_lib_dlsearch_path_spec; do
17845     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17846     *[\\\\\\\`\\"\\\$]*)
17847       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17848       ;;
17849     *)
17850       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17851       ;;
17852     esac
17853 done
17854
17855 # Fix-up fallback echo if it was mangled by the above quoting rules.
17856 case \$lt_ECHO in
17857 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17858   ;;
17859 esac
17860
17861 ac_aux_dir='$ac_aux_dir'
17862 xsi_shell='$xsi_shell'
17863 lt_shell_append='$lt_shell_append'
17864
17865 # See if we are running on zsh, and set the options which allow our
17866 # commands through without removal of \ escapes INIT.
17867 if test -n "\${ZSH_VERSION+set}" ; then
17868    setopt NO_GLOB_SUBST
17869 fi
17870
17871
17872     PACKAGE='$PACKAGE'
17873     VERSION='$VERSION'
17874     TIMESTAMP='$TIMESTAMP'
17875     RM='$RM'
17876     ofile='$ofile'
17877
17878
17879
17880
17881 _ACEOF
17882
17883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17884
17885 # Handling of arguments.
17886 for ac_config_target in $ac_config_targets
17887 do
17888   case $ac_config_target in
17889     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17890     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17891     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17892     "edje.pc") CONFIG_FILES="$CONFIG_FILES edje.pc" ;;
17893     "edje.spec") CONFIG_FILES="$CONFIG_FILES edje.spec" ;;
17894     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17895     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
17896     "data/include/Makefile") CONFIG_FILES="$CONFIG_FILES data/include/Makefile" ;;
17897     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
17898     "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
17899     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17900     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
17901     "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
17902     "src/bin/epp/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/epp/Makefile" ;;
17903     "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
17904     "src/modules/alsa_snd_player/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/alsa_snd_player/Makefile" ;;
17905     "src/modules/eet_snd_reader/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/eet_snd_reader/Makefile" ;;
17906     "src/modules/multisense_factory/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/multisense_factory/Makefile" ;;
17907     "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
17908     "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
17909     "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
17910
17911   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
17912   esac
17913 done
17914
17915
17916 # If the user did not use the arguments to specify the items to instantiate,
17917 # then the envvar interface is used.  Set only those that are not.
17918 # We use the long form for the default assignment because of an extremely
17919 # bizarre bug on SunOS 4.1.3.
17920 if $ac_need_defaults; then
17921   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17922   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17923   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17924 fi
17925
17926 # Have a temporary directory for convenience.  Make it in the build tree
17927 # simply because there is no reason against having it here, and in addition,
17928 # creating and moving files from /tmp can sometimes cause problems.
17929 # Hook for its removal unless debugging.
17930 # Note that there is a small window in which the directory will not be cleaned:
17931 # after its creation but before its name has been assigned to `$tmp'.
17932 $debug ||
17933 {
17934   tmp=
17935   trap 'exit_status=$?
17936   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17937 ' 0
17938   trap 'as_fn_exit 1' 1 2 13 15
17939 }
17940 # Create a (secure) tmp directory for tmp files.
17941
17942 {
17943   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17944   test -n "$tmp" && test -d "$tmp"
17945 }  ||
17946 {
17947   tmp=./conf$$-$RANDOM
17948   (umask 077 && mkdir "$tmp")
17949 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17950
17951 # Set up the scripts for CONFIG_FILES section.
17952 # No need to generate them if there are no CONFIG_FILES.
17953 # This happens for instance with `./config.status config.h'.
17954 if test -n "$CONFIG_FILES"; then
17955
17956
17957 ac_cr=`echo X | tr X '\015'`
17958 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17959 # But we know of no other shell where ac_cr would be empty at this
17960 # point, so we can use a bashism as a fallback.
17961 if test "x$ac_cr" = x; then
17962   eval ac_cr=\$\'\\r\'
17963 fi
17964 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17965 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17966   ac_cs_awk_cr='\\r'
17967 else
17968   ac_cs_awk_cr=$ac_cr
17969 fi
17970
17971 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17972 _ACEOF
17973
17974
17975 {
17976   echo "cat >conf$$subs.awk <<_ACEOF" &&
17977   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17978   echo "_ACEOF"
17979 } >conf$$subs.sh ||
17980   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17981 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17982 ac_delim='%!_!# '
17983 for ac_last_try in false false false false false :; do
17984   . ./conf$$subs.sh ||
17985     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17986
17987   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17988   if test $ac_delim_n = $ac_delim_num; then
17989     break
17990   elif $ac_last_try; then
17991     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17992   else
17993     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17994   fi
17995 done
17996 rm -f conf$$subs.sh
17997
17998 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17999 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
18000 _ACEOF
18001 sed -n '
18002 h
18003 s/^/S["/; s/!.*/"]=/
18004 p
18005 g
18006 s/^[^!]*!//
18007 :repl
18008 t repl
18009 s/'"$ac_delim"'$//
18010 t delim
18011 :nl
18012 h
18013 s/\(.\{148\}\)..*/\1/
18014 t more1
18015 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18016 p
18017 n
18018 b repl
18019 :more1
18020 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18021 p
18022 g
18023 s/.\{148\}//
18024 t nl
18025 :delim
18026 h
18027 s/\(.\{148\}\)..*/\1/
18028 t more2
18029 s/["\\]/\\&/g; s/^/"/; s/$/"/
18030 p
18031 b
18032 :more2
18033 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18034 p
18035 g
18036 s/.\{148\}//
18037 t delim
18038 ' <conf$$subs.awk | sed '
18039 /^[^""]/{
18040   N
18041   s/\n//
18042 }
18043 ' >>$CONFIG_STATUS || ac_write_fail=1
18044 rm -f conf$$subs.awk
18045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18046 _ACAWK
18047 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
18048   for (key in S) S_is_set[key] = 1
18049   FS = "\a"
18050
18051 }
18052 {
18053   line = $ 0
18054   nfields = split(line, field, "@")
18055   substed = 0
18056   len = length(field[1])
18057   for (i = 2; i < nfields; i++) {
18058     key = field[i]
18059     keylen = length(key)
18060     if (S_is_set[key]) {
18061       value = S[key]
18062       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18063       len += length(value) + length(field[++i])
18064       substed = 1
18065     } else
18066       len += 1 + keylen
18067   }
18068
18069   print line
18070 }
18071
18072 _ACAWK
18073 _ACEOF
18074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18075 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18076   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18077 else
18078   cat
18079 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
18080   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18081 _ACEOF
18082
18083 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18084 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18085 # trailing colons and then remove the whole line if VPATH becomes empty
18086 # (actually we leave an empty line to preserve line numbers).
18087 if test "x$srcdir" = x.; then
18088   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
18089 h
18090 s///
18091 s/^/:/
18092 s/[      ]*$/:/
18093 s/:\$(srcdir):/:/g
18094 s/:\${srcdir}:/:/g
18095 s/:@srcdir@:/:/g
18096 s/^:*//
18097 s/:*$//
18098 x
18099 s/\(=[   ]*\).*/\1/
18100 G
18101 s/\n//
18102 s/^[^=]*=[       ]*$//
18103 }'
18104 fi
18105
18106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18107 fi # test -n "$CONFIG_FILES"
18108
18109 # Set up the scripts for CONFIG_HEADERS section.
18110 # No need to generate them if there are no CONFIG_HEADERS.
18111 # This happens for instance with `./config.status Makefile'.
18112 if test -n "$CONFIG_HEADERS"; then
18113 cat >"$tmp/defines.awk" <<\_ACAWK ||
18114 BEGIN {
18115 _ACEOF
18116
18117 # Transform confdefs.h into an awk script `defines.awk', embedded as
18118 # here-document in config.status, that substitutes the proper values into
18119 # config.h.in to produce config.h.
18120
18121 # Create a delimiter string that does not exist in confdefs.h, to ease
18122 # handling of long lines.
18123 ac_delim='%!_!# '
18124 for ac_last_try in false false :; do
18125   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
18126   if test -z "$ac_t"; then
18127     break
18128   elif $ac_last_try; then
18129     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18130   else
18131     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18132   fi
18133 done
18134
18135 # For the awk script, D is an array of macro values keyed by name,
18136 # likewise P contains macro parameters if any.  Preserve backslash
18137 # newline sequences.
18138
18139 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18140 sed -n '
18141 s/.\{148\}/&'"$ac_delim"'/g
18142 t rset
18143 :rset
18144 s/^[     ]*#[    ]*define[       ][      ]*/ /
18145 t def
18146 d
18147 :def
18148 s/\\$//
18149 t bsnl
18150 s/["\\]/\\&/g
18151 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
18152 D["\1"]=" \3"/p
18153 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
18154 d
18155 :bsnl
18156 s/["\\]/\\&/g
18157 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
18158 D["\1"]=" \3\\\\\\n"\\/p
18159 t cont
18160 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18161 t cont
18162 d
18163 :cont
18164 n
18165 s/.\{148\}/&'"$ac_delim"'/g
18166 t clear
18167 :clear
18168 s/\\$//
18169 t bsnlc
18170 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18171 d
18172 :bsnlc
18173 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18174 b cont
18175 ' <confdefs.h | sed '
18176 s/'"$ac_delim"'/"\\\
18177 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18178
18179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18180   for (key in D) D_is_set[key] = 1
18181   FS = "\a"
18182 }
18183 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18184   line = \$ 0
18185   split(line, arg, " ")
18186   if (arg[1] == "#") {
18187     defundef = arg[2]
18188     mac1 = arg[3]
18189   } else {
18190     defundef = substr(arg[1], 2)
18191     mac1 = arg[2]
18192   }
18193   split(mac1, mac2, "(") #)
18194   macro = mac2[1]
18195   prefix = substr(line, 1, index(line, defundef) - 1)
18196   if (D_is_set[macro]) {
18197     # Preserve the white space surrounding the "#".
18198     print prefix "define", macro P[macro] D[macro]
18199     next
18200   } else {
18201     # Replace #undef with comments.  This is necessary, for example,
18202     # in the case of _POSIX_SOURCE, which is predefined and required
18203     # on some systems where configure will not decide to define it.
18204     if (defundef == "undef") {
18205       print "/*", prefix defundef, macro, "*/"
18206       next
18207     }
18208   }
18209 }
18210 { print }
18211 _ACAWK
18212 _ACEOF
18213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18214   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18215 fi # test -n "$CONFIG_HEADERS"
18216
18217
18218 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
18219 shift
18220 for ac_tag
18221 do
18222   case $ac_tag in
18223   :[FHLC]) ac_mode=$ac_tag; continue;;
18224   esac
18225   case $ac_mode$ac_tag in
18226   :[FHL]*:*);;
18227   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
18228   :[FH]-) ac_tag=-:-;;
18229   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18230   esac
18231   ac_save_IFS=$IFS
18232   IFS=:
18233   set x $ac_tag
18234   IFS=$ac_save_IFS
18235   shift
18236   ac_file=$1
18237   shift
18238
18239   case $ac_mode in
18240   :L) ac_source=$1;;
18241   :[FH])
18242     ac_file_inputs=
18243     for ac_f
18244     do
18245       case $ac_f in
18246       -) ac_f="$tmp/stdin";;
18247       *) # Look for the file first in the build tree, then in the source tree
18248          # (if the path is not absolute).  The absolute path cannot be DOS-style,
18249          # because $ac_f cannot contain `:'.
18250          test -f "$ac_f" ||
18251            case $ac_f in
18252            [\\/$]*) false;;
18253            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18254            esac ||
18255            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
18256       esac
18257       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18258       as_fn_append ac_file_inputs " '$ac_f'"
18259     done
18260
18261     # Let's still pretend it is `configure' which instantiates (i.e., don't
18262     # use $as_me), people would be surprised to read:
18263     #    /* config.h.  Generated by config.status.  */
18264     configure_input='Generated from '`
18265           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18266         `' by configure.'
18267     if test x"$ac_file" != x-; then
18268       configure_input="$ac_file.  $configure_input"
18269       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18270 $as_echo "$as_me: creating $ac_file" >&6;}
18271     fi
18272     # Neutralize special characters interpreted by sed in replacement strings.
18273     case $configure_input in #(
18274     *\&* | *\|* | *\\* )
18275        ac_sed_conf_input=`$as_echo "$configure_input" |
18276        sed 's/[\\\\&|]/\\\\&/g'`;; #(
18277     *) ac_sed_conf_input=$configure_input;;
18278     esac
18279
18280     case $ac_tag in
18281     *:-:* | *:-) cat >"$tmp/stdin" \
18282       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
18283     esac
18284     ;;
18285   esac
18286
18287   ac_dir=`$as_dirname -- "$ac_file" ||
18288 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18289          X"$ac_file" : 'X\(//\)[^/]' \| \
18290          X"$ac_file" : 'X\(//\)$' \| \
18291          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18292 $as_echo X"$ac_file" |
18293     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18294             s//\1/
18295             q
18296           }
18297           /^X\(\/\/\)[^/].*/{
18298             s//\1/
18299             q
18300           }
18301           /^X\(\/\/\)$/{
18302             s//\1/
18303             q
18304           }
18305           /^X\(\/\).*/{
18306             s//\1/
18307             q
18308           }
18309           s/.*/./; q'`
18310   as_dir="$ac_dir"; as_fn_mkdir_p
18311   ac_builddir=.
18312
18313 case "$ac_dir" in
18314 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18315 *)
18316   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18317   # A ".." for each directory in $ac_dir_suffix.
18318   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18319   case $ac_top_builddir_sub in
18320   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18321   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18322   esac ;;
18323 esac
18324 ac_abs_top_builddir=$ac_pwd
18325 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18326 # for backward compatibility:
18327 ac_top_builddir=$ac_top_build_prefix
18328
18329 case $srcdir in
18330   .)  # We are building in place.
18331     ac_srcdir=.
18332     ac_top_srcdir=$ac_top_builddir_sub
18333     ac_abs_top_srcdir=$ac_pwd ;;
18334   [\\/]* | ?:[\\/]* )  # Absolute name.
18335     ac_srcdir=$srcdir$ac_dir_suffix;
18336     ac_top_srcdir=$srcdir
18337     ac_abs_top_srcdir=$srcdir ;;
18338   *) # Relative name.
18339     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18340     ac_top_srcdir=$ac_top_build_prefix$srcdir
18341     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18342 esac
18343 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18344
18345
18346   case $ac_mode in
18347   :F)
18348   #
18349   # CONFIG_FILE
18350   #
18351
18352   case $INSTALL in
18353   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18354   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18355   esac
18356   ac_MKDIR_P=$MKDIR_P
18357   case $MKDIR_P in
18358   [\\/$]* | ?:[\\/]* ) ;;
18359   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18360   esac
18361 _ACEOF
18362
18363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18364 # If the template does not know about datarootdir, expand it.
18365 # FIXME: This hack should be removed a few years after 2.60.
18366 ac_datarootdir_hack=; ac_datarootdir_seen=
18367 ac_sed_dataroot='
18368 /datarootdir/ {
18369   p
18370   q
18371 }
18372 /@datadir@/p
18373 /@docdir@/p
18374 /@infodir@/p
18375 /@localedir@/p
18376 /@mandir@/p'
18377 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18378 *datarootdir*) ac_datarootdir_seen=yes;;
18379 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18380   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18381 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18382 _ACEOF
18383 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18384   ac_datarootdir_hack='
18385   s&@datadir@&$datadir&g
18386   s&@docdir@&$docdir&g
18387   s&@infodir@&$infodir&g
18388   s&@localedir@&$localedir&g
18389   s&@mandir@&$mandir&g
18390   s&\\\${datarootdir}&$datarootdir&g' ;;
18391 esac
18392 _ACEOF
18393
18394 # Neutralize VPATH when `$srcdir' = `.'.
18395 # Shell code in configure.ac might set extrasub.
18396 # FIXME: do we really want to maintain this feature?
18397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18398 ac_sed_extra="$ac_vpsub
18399 $extrasub
18400 _ACEOF
18401 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18402 :t
18403 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18404 s|@configure_input@|$ac_sed_conf_input|;t t
18405 s&@top_builddir@&$ac_top_builddir_sub&;t t
18406 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18407 s&@srcdir@&$ac_srcdir&;t t
18408 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18409 s&@top_srcdir@&$ac_top_srcdir&;t t
18410 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18411 s&@builddir@&$ac_builddir&;t t
18412 s&@abs_builddir@&$ac_abs_builddir&;t t
18413 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18414 s&@INSTALL@&$ac_INSTALL&;t t
18415 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18416 $ac_datarootdir_hack
18417 "
18418 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
18419   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18420
18421 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18422   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
18423   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
18424   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18425 which seems to be undefined.  Please make sure it is defined" >&5
18426 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18427 which seems to be undefined.  Please make sure it is defined" >&2;}
18428
18429   rm -f "$tmp/stdin"
18430   case $ac_file in
18431   -) cat "$tmp/out" && rm -f "$tmp/out";;
18432   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18433   esac \
18434   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18435  ;;
18436   :H)
18437   #
18438   # CONFIG_HEADER
18439   #
18440   if test x"$ac_file" != x-; then
18441     {
18442       $as_echo "/* $configure_input  */" \
18443       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18444     } >"$tmp/config.h" \
18445       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18446     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18447       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18448 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18449     else
18450       rm -f "$ac_file"
18451       mv "$tmp/config.h" "$ac_file" \
18452         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18453     fi
18454   else
18455     $as_echo "/* $configure_input  */" \
18456       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18457       || as_fn_error $? "could not create -" "$LINENO" 5
18458   fi
18459 # Compute "$ac_file"'s index in $config_headers.
18460 _am_arg="$ac_file"
18461 _am_stamp_count=1
18462 for _am_header in $config_headers :; do
18463   case $_am_header in
18464     $_am_arg | $_am_arg:* )
18465       break ;;
18466     * )
18467       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18468   esac
18469 done
18470 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18471 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18472          X"$_am_arg" : 'X\(//\)[^/]' \| \
18473          X"$_am_arg" : 'X\(//\)$' \| \
18474          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18475 $as_echo X"$_am_arg" |
18476     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18477             s//\1/
18478             q
18479           }
18480           /^X\(\/\/\)[^/].*/{
18481             s//\1/
18482             q
18483           }
18484           /^X\(\/\/\)$/{
18485             s//\1/
18486             q
18487           }
18488           /^X\(\/\).*/{
18489             s//\1/
18490             q
18491           }
18492           s/.*/./; q'`/stamp-h$_am_stamp_count
18493  ;;
18494
18495   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18496 $as_echo "$as_me: executing $ac_file commands" >&6;}
18497  ;;
18498   esac
18499
18500
18501   case $ac_file$ac_mode in
18502     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18503   # Autoconf 2.62 quotes --file arguments for eval, but not when files
18504   # are listed without --file.  Let's play safe and only enable the eval
18505   # if we detect the quoting.
18506   case $CONFIG_FILES in
18507   *\'*) eval set x "$CONFIG_FILES" ;;
18508   *)   set x $CONFIG_FILES ;;
18509   esac
18510   shift
18511   for mf
18512   do
18513     # Strip MF so we end up with the name of the file.
18514     mf=`echo "$mf" | sed -e 's/:.*$//'`
18515     # Check whether this is an Automake generated Makefile or not.
18516     # We used to match only the files named `Makefile.in', but
18517     # some people rename them; so instead we look at the file content.
18518     # Grep'ing the first line is not enough: some people post-process
18519     # each Makefile.in and add a new line on top of each file to say so.
18520     # Grep'ing the whole file is not good either: AIX grep has a line
18521     # limit of 2048, but all sed's we know have understand at least 4000.
18522     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18523       dirpart=`$as_dirname -- "$mf" ||
18524 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18525          X"$mf" : 'X\(//\)[^/]' \| \
18526          X"$mf" : 'X\(//\)$' \| \
18527          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18528 $as_echo X"$mf" |
18529     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18530             s//\1/
18531             q
18532           }
18533           /^X\(\/\/\)[^/].*/{
18534             s//\1/
18535             q
18536           }
18537           /^X\(\/\/\)$/{
18538             s//\1/
18539             q
18540           }
18541           /^X\(\/\).*/{
18542             s//\1/
18543             q
18544           }
18545           s/.*/./; q'`
18546     else
18547       continue
18548     fi
18549     # Extract the definition of DEPDIR, am__include, and am__quote
18550     # from the Makefile without running `make'.
18551     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18552     test -z "$DEPDIR" && continue
18553     am__include=`sed -n 's/^am__include = //p' < "$mf"`
18554     test -z "am__include" && continue
18555     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18556     # When using ansi2knr, U may be empty or an underscore; expand it
18557     U=`sed -n 's/^U = //p' < "$mf"`
18558     # Find all dependency output files, they are included files with
18559     # $(DEPDIR) in their names.  We invoke sed twice because it is the
18560     # simplest approach to changing $(DEPDIR) to its actual value in the
18561     # expansion.
18562     for file in `sed -n "
18563       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18564          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18565       # Make sure the directory exists.
18566       test -f "$dirpart/$file" && continue
18567       fdir=`$as_dirname -- "$file" ||
18568 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18569          X"$file" : 'X\(//\)[^/]' \| \
18570          X"$file" : 'X\(//\)$' \| \
18571          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18572 $as_echo X"$file" |
18573     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18574             s//\1/
18575             q
18576           }
18577           /^X\(\/\/\)[^/].*/{
18578             s//\1/
18579             q
18580           }
18581           /^X\(\/\/\)$/{
18582             s//\1/
18583             q
18584           }
18585           /^X\(\/\).*/{
18586             s//\1/
18587             q
18588           }
18589           s/.*/./; q'`
18590       as_dir=$dirpart/$fdir; as_fn_mkdir_p
18591       # echo "creating $dirpart/$file"
18592       echo '# dummy' > "$dirpart/$file"
18593     done
18594   done
18595 }
18596  ;;
18597     "libtool":C)
18598
18599     # See if we are running on zsh, and set the options which allow our
18600     # commands through without removal of \ escapes.
18601     if test -n "${ZSH_VERSION+set}" ; then
18602       setopt NO_GLOB_SUBST
18603     fi
18604
18605     cfgfile="${ofile}T"
18606     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18607     $RM "$cfgfile"
18608
18609     cat <<_LT_EOF >> "$cfgfile"
18610 #! $SHELL
18611
18612 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18613 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18614 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18615 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18616 #
18617 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18618 #                 2006, 2007, 2008 Free Software Foundation, Inc.
18619 #   Written by Gordon Matzigkeit, 1996
18620 #
18621 #   This file is part of GNU Libtool.
18622 #
18623 # GNU Libtool is free software; you can redistribute it and/or
18624 # modify it under the terms of the GNU General Public License as
18625 # published by the Free Software Foundation; either version 2 of
18626 # the License, or (at your option) any later version.
18627 #
18628 # As a special exception to the GNU General Public License,
18629 # if you distribute this file as part of a program or library that
18630 # is built using GNU Libtool, you may include this file under the
18631 # same distribution terms that you use for the rest of that program.
18632 #
18633 # GNU Libtool is distributed in the hope that it will be useful,
18634 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18635 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18636 # GNU General Public License for more details.
18637 #
18638 # You should have received a copy of the GNU General Public License
18639 # along with GNU Libtool; see the file COPYING.  If not, a copy
18640 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18641 # obtained by writing to the Free Software Foundation, Inc.,
18642 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18643
18644
18645 # The names of the tagged configurations supported by this script.
18646 available_tags=""
18647
18648 # ### BEGIN LIBTOOL CONFIG
18649
18650 # Assembler program.
18651 AS=$AS
18652
18653 # DLL creation program.
18654 DLLTOOL=$DLLTOOL
18655
18656 # Object dumper program.
18657 OBJDUMP=$OBJDUMP
18658
18659 # Which release of libtool.m4 was used?
18660 macro_version=$macro_version
18661 macro_revision=$macro_revision
18662
18663 # Whether or not to build shared libraries.
18664 build_libtool_libs=$enable_shared
18665
18666 # Whether or not to build static libraries.
18667 build_old_libs=$enable_static
18668
18669 # What type of objects to build.
18670 pic_mode=$pic_mode
18671
18672 # Whether or not to optimize for fast installation.
18673 fast_install=$enable_fast_install
18674
18675 # The host system.
18676 host_alias=$host_alias
18677 host=$host
18678 host_os=$host_os
18679
18680 # The build system.
18681 build_alias=$build_alias
18682 build=$build
18683 build_os=$build_os
18684
18685 # A sed program that does not truncate output.
18686 SED=$lt_SED
18687
18688 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18689 Xsed="\$SED -e 1s/^X//"
18690
18691 # A grep program that handles long lines.
18692 GREP=$lt_GREP
18693
18694 # An ERE matcher.
18695 EGREP=$lt_EGREP
18696
18697 # A literal string matcher.
18698 FGREP=$lt_FGREP
18699
18700 # A BSD- or MS-compatible name lister.
18701 NM=$lt_NM
18702
18703 # Whether we need soft or hard links.
18704 LN_S=$lt_LN_S
18705
18706 # What is the maximum length of a command?
18707 max_cmd_len=$max_cmd_len
18708
18709 # Object file suffix (normally "o").
18710 objext=$ac_objext
18711
18712 # Executable file suffix (normally "").
18713 exeext=$exeext
18714
18715 # whether the shell understands "unset".
18716 lt_unset=$lt_unset
18717
18718 # turn spaces into newlines.
18719 SP2NL=$lt_lt_SP2NL
18720
18721 # turn newlines into spaces.
18722 NL2SP=$lt_lt_NL2SP
18723
18724 # How to create reloadable object files.
18725 reload_flag=$lt_reload_flag
18726 reload_cmds=$lt_reload_cmds
18727
18728 # Method to check whether dependent libraries are shared objects.
18729 deplibs_check_method=$lt_deplibs_check_method
18730
18731 # Command to use when deplibs_check_method == "file_magic".
18732 file_magic_cmd=$lt_file_magic_cmd
18733
18734 # The archiver.
18735 AR=$lt_AR
18736 AR_FLAGS=$lt_AR_FLAGS
18737
18738 # A symbol stripping program.
18739 STRIP=$lt_STRIP
18740
18741 # Commands used to install an old-style archive.
18742 RANLIB=$lt_RANLIB
18743 old_postinstall_cmds=$lt_old_postinstall_cmds
18744 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18745
18746 # A C compiler.
18747 LTCC=$lt_CC
18748
18749 # LTCC compiler flags.
18750 LTCFLAGS=$lt_CFLAGS
18751
18752 # Take the output of nm and produce a listing of raw symbols and C names.
18753 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18754
18755 # Transform the output of nm in a proper C declaration.
18756 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18757
18758 # Transform the output of nm in a C name address pair.
18759 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18760
18761 # Transform the output of nm in a C name address pair when lib prefix is needed.
18762 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18763
18764 # The name of the directory that contains temporary libtool files.
18765 objdir=$objdir
18766
18767 # Shell to use when invoking shell scripts.
18768 SHELL=$lt_SHELL
18769
18770 # An echo program that does not interpret backslashes.
18771 ECHO=$lt_ECHO
18772
18773 # Used to examine libraries when file_magic_cmd begins with "file".
18774 MAGIC_CMD=$MAGIC_CMD
18775
18776 # Must we lock files when doing compilation?
18777 need_locks=$lt_need_locks
18778
18779 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18780 DSYMUTIL=$lt_DSYMUTIL
18781
18782 # Tool to change global to local symbols on Mac OS X.
18783 NMEDIT=$lt_NMEDIT
18784
18785 # Tool to manipulate fat objects and archives on Mac OS X.
18786 LIPO=$lt_LIPO
18787
18788 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18789 OTOOL=$lt_OTOOL
18790
18791 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18792 OTOOL64=$lt_OTOOL64
18793
18794 # Old archive suffix (normally "a").
18795 libext=$libext
18796
18797 # Shared library suffix (normally ".so").
18798 shrext_cmds=$lt_shrext_cmds
18799
18800 # The commands to extract the exported symbol list from a shared archive.
18801 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18802
18803 # Variables whose values should be saved in libtool wrapper scripts and
18804 # restored at link time.
18805 variables_saved_for_relink=$lt_variables_saved_for_relink
18806
18807 # Do we need the "lib" prefix for modules?
18808 need_lib_prefix=$need_lib_prefix
18809
18810 # Do we need a version for libraries?
18811 need_version=$need_version
18812
18813 # Library versioning type.
18814 version_type=$version_type
18815
18816 # Shared library runtime path variable.
18817 runpath_var=$runpath_var
18818
18819 # Shared library path variable.
18820 shlibpath_var=$shlibpath_var
18821
18822 # Is shlibpath searched before the hard-coded library search path?
18823 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18824
18825 # Format of library name prefix.
18826 libname_spec=$lt_libname_spec
18827
18828 # List of archive names.  First name is the real one, the rest are links.
18829 # The last name is the one that the linker finds with -lNAME
18830 library_names_spec=$lt_library_names_spec
18831
18832 # The coded name of the library, if different from the real name.
18833 soname_spec=$lt_soname_spec
18834
18835 # Command to use after installation of a shared archive.
18836 postinstall_cmds=$lt_postinstall_cmds
18837
18838 # Command to use after uninstallation of a shared archive.
18839 postuninstall_cmds=$lt_postuninstall_cmds
18840
18841 # Commands used to finish a libtool library installation in a directory.
18842 finish_cmds=$lt_finish_cmds
18843
18844 # As "finish_cmds", except a single script fragment to be evaled but
18845 # not shown.
18846 finish_eval=$lt_finish_eval
18847
18848 # Whether we should hardcode library paths into libraries.
18849 hardcode_into_libs=$hardcode_into_libs
18850
18851 # Compile-time system search path for libraries.
18852 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18853
18854 # Run-time system search path for libraries.
18855 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18856
18857 # Whether dlopen is supported.
18858 dlopen_support=$enable_dlopen
18859
18860 # Whether dlopen of programs is supported.
18861 dlopen_self=$enable_dlopen_self
18862
18863 # Whether dlopen of statically linked programs is supported.
18864 dlopen_self_static=$enable_dlopen_self_static
18865
18866 # Commands to strip libraries.
18867 old_striplib=$lt_old_striplib
18868 striplib=$lt_striplib
18869
18870
18871 # The linker used to build libraries.
18872 LD=$lt_LD
18873
18874 # Commands used to build an old-style archive.
18875 old_archive_cmds=$lt_old_archive_cmds
18876
18877 # A language specific compiler.
18878 CC=$lt_compiler
18879
18880 # Is the compiler the GNU compiler?
18881 with_gcc=$GCC
18882
18883 # Compiler flag to turn off builtin functions.
18884 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18885
18886 # How to pass a linker flag through the compiler.
18887 wl=$lt_lt_prog_compiler_wl
18888
18889 # Additional compiler flags for building library objects.
18890 pic_flag=$lt_lt_prog_compiler_pic
18891
18892 # Compiler flag to prevent dynamic linking.
18893 link_static_flag=$lt_lt_prog_compiler_static
18894
18895 # Does compiler simultaneously support -c and -o options?
18896 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18897
18898 # Whether or not to add -lc for building shared libraries.
18899 build_libtool_need_lc=$archive_cmds_need_lc
18900
18901 # Whether or not to disallow shared libs when runtime libs are static.
18902 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18903
18904 # Compiler flag to allow reflexive dlopens.
18905 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18906
18907 # Compiler flag to generate shared objects directly from archives.
18908 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18909
18910 # Whether the compiler copes with passing no objects directly.
18911 compiler_needs_object=$lt_compiler_needs_object
18912
18913 # Create an old-style archive from a shared archive.
18914 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18915
18916 # Create a temporary old-style archive to link instead of a shared archive.
18917 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18918
18919 # Commands used to build a shared archive.
18920 archive_cmds=$lt_archive_cmds
18921 archive_expsym_cmds=$lt_archive_expsym_cmds
18922
18923 # Commands used to build a loadable module if different from building
18924 # a shared archive.
18925 module_cmds=$lt_module_cmds
18926 module_expsym_cmds=$lt_module_expsym_cmds
18927
18928 # Whether we are building with GNU ld or not.
18929 with_gnu_ld=$lt_with_gnu_ld
18930
18931 # Flag that allows shared libraries with undefined symbols to be built.
18932 allow_undefined_flag=$lt_allow_undefined_flag
18933
18934 # Flag that enforces no undefined symbols.
18935 no_undefined_flag=$lt_no_undefined_flag
18936
18937 # Flag to hardcode \$libdir into a binary during linking.
18938 # This must work even if \$libdir does not exist
18939 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18940
18941 # If ld is used when linking, flag to hardcode \$libdir into a binary
18942 # during linking.  This must work even if \$libdir does not exist.
18943 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18944
18945 # Whether we need a single "-rpath" flag with a separated argument.
18946 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18947
18948 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18949 # DIR into the resulting binary.
18950 hardcode_direct=$hardcode_direct
18951
18952 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18953 # DIR into the resulting binary and the resulting library dependency is
18954 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18955 # library is relocated.
18956 hardcode_direct_absolute=$hardcode_direct_absolute
18957
18958 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18959 # into the resulting binary.
18960 hardcode_minus_L=$hardcode_minus_L
18961
18962 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18963 # into the resulting binary.
18964 hardcode_shlibpath_var=$hardcode_shlibpath_var
18965
18966 # Set to "yes" if building a shared library automatically hardcodes DIR
18967 # into the library and all subsequent libraries and executables linked
18968 # against it.
18969 hardcode_automatic=$hardcode_automatic
18970
18971 # Set to yes if linker adds runtime paths of dependent libraries
18972 # to runtime path list.
18973 inherit_rpath=$inherit_rpath
18974
18975 # Whether libtool must link a program against all its dependency libraries.
18976 link_all_deplibs=$link_all_deplibs
18977
18978 # Fix the shell variable \$srcfile for the compiler.
18979 fix_srcfile_path=$lt_fix_srcfile_path
18980
18981 # Set to "yes" if exported symbols are required.
18982 always_export_symbols=$always_export_symbols
18983
18984 # The commands to list exported symbols.
18985 export_symbols_cmds=$lt_export_symbols_cmds
18986
18987 # Symbols that should not be listed in the preloaded symbols.
18988 exclude_expsyms=$lt_exclude_expsyms
18989
18990 # Symbols that must always be exported.
18991 include_expsyms=$lt_include_expsyms
18992
18993 # Commands necessary for linking programs (against libraries) with templates.
18994 prelink_cmds=$lt_prelink_cmds
18995
18996 # Specify filename containing input files.
18997 file_list_spec=$lt_file_list_spec
18998
18999 # How to hardcode a shared library path into an executable.
19000 hardcode_action=$hardcode_action
19001
19002 # ### END LIBTOOL CONFIG
19003
19004 _LT_EOF
19005
19006   case $host_os in
19007   aix3*)
19008     cat <<\_LT_EOF >> "$cfgfile"
19009 # AIX sometimes has problems with the GCC collect2 program.  For some
19010 # reason, if we set the COLLECT_NAMES environment variable, the problems
19011 # vanish in a puff of smoke.
19012 if test "X${COLLECT_NAMES+set}" != Xset; then
19013   COLLECT_NAMES=
19014   export COLLECT_NAMES
19015 fi
19016 _LT_EOF
19017     ;;
19018   esac
19019
19020
19021 ltmain="$ac_aux_dir/ltmain.sh"
19022
19023
19024   # We use sed instead of cat because bash on DJGPP gets confused if
19025   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
19026   # text mode, it properly converts lines to CR/LF.  This bash problem
19027   # is reportedly fixed, but why not run on old versions too?
19028   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19029     || (rm -f "$cfgfile"; exit 1)
19030
19031   case $xsi_shell in
19032   yes)
19033     cat << \_LT_EOF >> "$cfgfile"
19034
19035 # func_dirname file append nondir_replacement
19036 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
19037 # otherwise set result to NONDIR_REPLACEMENT.
19038 func_dirname ()
19039 {
19040   case ${1} in
19041     */*) func_dirname_result="${1%/*}${2}" ;;
19042     *  ) func_dirname_result="${3}" ;;
19043   esac
19044 }
19045
19046 # func_basename file
19047 func_basename ()
19048 {
19049   func_basename_result="${1##*/}"
19050 }
19051
19052 # func_dirname_and_basename file append nondir_replacement
19053 # perform func_basename and func_dirname in a single function
19054 # call:
19055 #   dirname:  Compute the dirname of FILE.  If nonempty,
19056 #             add APPEND to the result, otherwise set result
19057 #             to NONDIR_REPLACEMENT.
19058 #             value returned in "$func_dirname_result"
19059 #   basename: Compute filename of FILE.
19060 #             value retuned in "$func_basename_result"
19061 # Implementation must be kept synchronized with func_dirname
19062 # and func_basename. For efficiency, we do not delegate to
19063 # those functions but instead duplicate the functionality here.
19064 func_dirname_and_basename ()
19065 {
19066   case ${1} in
19067     */*) func_dirname_result="${1%/*}${2}" ;;
19068     *  ) func_dirname_result="${3}" ;;
19069   esac
19070   func_basename_result="${1##*/}"
19071 }
19072
19073 # func_stripname prefix suffix name
19074 # strip PREFIX and SUFFIX off of NAME.
19075 # PREFIX and SUFFIX must not contain globbing or regex special
19076 # characters, hashes, percent signs, but SUFFIX may contain a leading
19077 # dot (in which case that matches only a dot).
19078 func_stripname ()
19079 {
19080   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19081   # positional parameters, so assign one to ordinary parameter first.
19082   func_stripname_result=${3}
19083   func_stripname_result=${func_stripname_result#"${1}"}
19084   func_stripname_result=${func_stripname_result%"${2}"}
19085 }
19086
19087 # func_opt_split
19088 func_opt_split ()
19089 {
19090   func_opt_split_opt=${1%%=*}
19091   func_opt_split_arg=${1#*=}
19092 }
19093
19094 # func_lo2o object
19095 func_lo2o ()
19096 {
19097   case ${1} in
19098     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
19099     *)    func_lo2o_result=${1} ;;
19100   esac
19101 }
19102
19103 # func_xform libobj-or-source
19104 func_xform ()
19105 {
19106   func_xform_result=${1%.*}.lo
19107 }
19108
19109 # func_arith arithmetic-term...
19110 func_arith ()
19111 {
19112   func_arith_result=$(( $* ))
19113 }
19114
19115 # func_len string
19116 # STRING may not start with a hyphen.
19117 func_len ()
19118 {
19119   func_len_result=${#1}
19120 }
19121
19122 _LT_EOF
19123     ;;
19124   *) # Bourne compatible functions.
19125     cat << \_LT_EOF >> "$cfgfile"
19126
19127 # func_dirname file append nondir_replacement
19128 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
19129 # otherwise set result to NONDIR_REPLACEMENT.
19130 func_dirname ()
19131 {
19132   # Extract subdirectory from the argument.
19133   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
19134   if test "X$func_dirname_result" = "X${1}"; then
19135     func_dirname_result="${3}"
19136   else
19137     func_dirname_result="$func_dirname_result${2}"
19138   fi
19139 }
19140
19141 # func_basename file
19142 func_basename ()
19143 {
19144   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
19145 }
19146
19147
19148 # func_stripname prefix suffix name
19149 # strip PREFIX and SUFFIX off of NAME.
19150 # PREFIX and SUFFIX must not contain globbing or regex special
19151 # characters, hashes, percent signs, but SUFFIX may contain a leading
19152 # dot (in which case that matches only a dot).
19153 # func_strip_suffix prefix name
19154 func_stripname ()
19155 {
19156   case ${2} in
19157     .*) func_stripname_result=`$ECHO "X${3}" \
19158            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
19159     *)  func_stripname_result=`$ECHO "X${3}" \
19160            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
19161   esac
19162 }
19163
19164 # sed scripts:
19165 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
19166 my_sed_long_arg='1s/^-[^=]*=//'
19167
19168 # func_opt_split
19169 func_opt_split ()
19170 {
19171   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
19172   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
19173 }
19174
19175 # func_lo2o object
19176 func_lo2o ()
19177 {
19178   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
19179 }
19180
19181 # func_xform libobj-or-source
19182 func_xform ()
19183 {
19184   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
19185 }
19186
19187 # func_arith arithmetic-term...
19188 func_arith ()
19189 {
19190   func_arith_result=`expr "$@"`
19191 }
19192
19193 # func_len string
19194 # STRING may not start with a hyphen.
19195 func_len ()
19196 {
19197   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19198 }
19199
19200 _LT_EOF
19201 esac
19202
19203 case $lt_shell_append in
19204   yes)
19205     cat << \_LT_EOF >> "$cfgfile"
19206
19207 # func_append var value
19208 # Append VALUE to the end of shell variable VAR.
19209 func_append ()
19210 {
19211   eval "$1+=\$2"
19212 }
19213 _LT_EOF
19214     ;;
19215   *)
19216     cat << \_LT_EOF >> "$cfgfile"
19217
19218 # func_append var value
19219 # Append VALUE to the end of shell variable VAR.
19220 func_append ()
19221 {
19222   eval "$1=\$$1\$2"
19223 }
19224
19225 _LT_EOF
19226     ;;
19227   esac
19228
19229
19230   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19231     || (rm -f "$cfgfile"; exit 1)
19232
19233   mv -f "$cfgfile" "$ofile" ||
19234     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19235   chmod +x "$ofile"
19236
19237  ;;
19238
19239   esac
19240 done # for ac_tag
19241
19242
19243 as_fn_exit 0
19244 _ACEOF
19245 ac_clean_files=$ac_clean_files_save
19246
19247 test $ac_write_fail = 0 ||
19248   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19249
19250
19251 # configure is writing to config.log, and then calls config.status.
19252 # config.status does its own redirection, appending to config.log.
19253 # Unfortunately, on DOS this fails, as config.log is still kept open
19254 # by configure, so config.status won't be able to write to it; its
19255 # output is simply discarded.  So we exec the FD to /dev/null,
19256 # effectively closing config.log, so it can be properly (re)opened and
19257 # appended to by config.status.  When coming back to configure, we
19258 # need to make the FD available again.
19259 if test "$no_create" != yes; then
19260   ac_cs_success=:
19261   ac_config_status_args=
19262   test "$silent" = yes &&
19263     ac_config_status_args="$ac_config_status_args --quiet"
19264   exec 5>/dev/null
19265   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19266   exec 5>>config.log
19267   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19268   # would make configure fail if this is the last instruction.
19269   $ac_cs_success || as_fn_exit 1
19270 fi
19271 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19272   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19273 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19274 fi
19275
19276
19277
19278 #####################################################################
19279 ## Info
19280
19281 echo
19282 echo
19283 echo
19284 echo "------------------------------------------------------------------------"
19285 echo "$PACKAGE $VERSION"
19286 echo "------------------------------------------------------------------------"
19287 echo
19288 echo "Configuration Options Summary:"
19289 echo
19290 echo "  Amalgamation.........: ${do_amalgamation}"
19291 echo "  Ecore IMF............: $have_ecore_imf"
19292
19293 if test "x${want_multisense}" = "xyes" ; then
19294 echo "  LibRemix.............: $have_libremix"
19295 echo "  Libsndfile...........: $have_sndfile"
19296 echo "  Ogg/Vorbis...........: $have_vorbis"
19297 echo "  LibFLAC..............: $have_flac_lib"
19298 echo "  LibALSA..............: $have_alsa_lib"
19299 fi
19300
19301 echo "  EDJE_PROGRAM_CACHE...: $want_edje_program_cache"
19302 echo "  EDJE_CALC_CACHE......: $want_edje_calc_cache"
19303 echo "  Fixed point..........: $want_fixed_point"
19304 echo "  Documentation........: ${build_doc}"
19305 echo "  Tests................: ${enable_tests}"
19306 echo "  Coverage.............: ${enable_coverage}"
19307 echo "  Examples.............: install:${install_examples} build:${build_examples}"
19308 echo
19309 echo "Programs:"
19310 echo
19311 echo "  Build edje_cc................: $have_edje_cc"
19312 echo "  Build edje_decc..............: $have_edje_decc"
19313 echo "  Build edje_recc..............: $have_edje_recc"
19314 echo "  Build edje_player............: $have_edje_player"
19315 echo "  Build edje_inspector.........: $have_edje_inspector"
19316 echo "  Build edje_external_inspector: $have_edje_external_inspector"
19317 echo "  Build edje_watch.............: $have_edje_watch"
19318 echo
19319 echo "Compilation............: make (or gmake)"
19320 echo "  CPPFLAGS.............: $CPPFLAGS"
19321 echo "  CFLAGS...............: $CFLAGS"
19322 echo "  LDFLAGS..............: $LDFLAGS"
19323 echo
19324 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
19325 echo "  prefix...............: $prefix"
19326 echo