Imported Upstream version 1.7.3
[platform/upstream/emotion.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for emotion 1.7.3.
4 #
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182     PATH=/empty FPATH=/empty; export PATH FPATH
183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186   if (eval "$as_required") 2>/dev/null; then :
187   as_have_required=yes
188 else
189   as_have_required=no
190 fi
191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193 else
194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198   IFS=$as_save_IFS
199   test -z "$as_dir" && as_dir=.
200   as_found=:
201   case $as_dir in #(
202          /*)
203            for as_base in sh bash ksh sh5; do
204              # Try only shells that exist, to save several forks.
205              as_shell=$as_dir/$as_base
206              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208   CONFIG_SHELL=$as_shell as_have_required=yes
209                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210   break 2
211 fi
212 fi
213            done;;
214        esac
215   as_found=false
216 done
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219   CONFIG_SHELL=$SHELL as_have_required=yes
220 fi; }
221 IFS=$as_save_IFS
222
223
224       if test "x$CONFIG_SHELL" != x; then :
225   # We cannot yet assume a decent shell, so we have to provide a
226         # neutralization value for shells without unset; and this also
227         # works around shells that cannot unset nonexistent variables.
228         # Preserve -v and -x to the replacement shell.
229         BASH_ENV=/dev/null
230         ENV=/dev/null
231         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232         export CONFIG_SHELL
233         case $- in # ((((
234           *v*x* | *x*v* ) as_opts=-vx ;;
235           *v* ) as_opts=-v ;;
236           *x* ) as_opts=-x ;;
237           * ) as_opts= ;;
238         esac
239         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 fi
241
242     if test x$as_have_required = xno; then :
243   $as_echo "$0: This script requires a shell more modern than all"
244   $as_echo "$0: the shells that I found on your system."
245   if test x${ZSH_VERSION+set} = xset ; then
246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248   else
249     $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: enlightenment-devel@lists.sourceforge.net about your
251 $0: system, including any error possibly output before this
252 $0: message. Then install a modern shell, or manually run
253 $0: the script under such a shell if you do have one."
254   fi
255   exit 1
256 fi
257 fi
258 fi
259 SHELL=${CONFIG_SHELL-/bin/sh}
260 export SHELL
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
264
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
268 # as_fn_unset VAR
269 # ---------------
270 # Portably unset VAR.
271 as_fn_unset ()
272 {
273   { eval $1=; unset $1;}
274 }
275 as_unset=as_fn_unset
276
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
280 as_fn_set_status ()
281 {
282   return $1
283 } # as_fn_set_status
284
285 # as_fn_exit STATUS
286 # -----------------
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
288 as_fn_exit ()
289 {
290   set +e
291   as_fn_set_status $1
292   exit $1
293 } # as_fn_exit
294
295 # as_fn_mkdir_p
296 # -------------
297 # Create "$as_dir" as a directory, including parents if necessary.
298 as_fn_mkdir_p ()
299 {
300
301   case $as_dir in #(
302   -*) as_dir=./$as_dir;;
303   esac
304   test -d "$as_dir" || eval $as_mkdir_p || {
305     as_dirs=
306     while :; do
307       case $as_dir in #(
308       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
309       *) as_qdir=$as_dir;;
310       esac
311       as_dirs="'$as_qdir' $as_dirs"
312       as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314          X"$as_dir" : 'X\(//\)[^/]' \| \
315          X"$as_dir" : 'X\(//\)$' \| \
316          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319             s//\1/
320             q
321           }
322           /^X\(\/\/\)[^/].*/{
323             s//\1/
324             q
325           }
326           /^X\(\/\/\)$/{
327             s//\1/
328             q
329           }
330           /^X\(\/\).*/{
331             s//\1/
332             q
333           }
334           s/.*/./; q'`
335       test -d "$as_dir" && break
336     done
337     test -z "$as_dirs" || eval "mkdir $as_dirs"
338   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339
340
341 } # as_fn_mkdir_p
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
347 # implementations.
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349   eval 'as_fn_append ()
350   {
351     eval $1+=\$2
352   }'
353 else
354   as_fn_append ()
355   {
356     eval $1=\$$1\$2
357   }
358 fi # as_fn_append
359
360 # as_fn_arith ARG...
361 # ------------------
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366   eval 'as_fn_arith ()
367   {
368     as_val=$(( $* ))
369   }'
370 else
371   as_fn_arith ()
372   {
373     as_val=`expr "$@" || test $? -eq 1`
374   }
375 fi # as_fn_arith
376
377
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
383 as_fn_error ()
384 {
385   as_status=$1; test $as_status -eq 0 && as_status=1
386   if test "$4"; then
387     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
389   fi
390   $as_echo "$as_me: error: $2" >&2
391   as_fn_exit $as_status
392 } # as_fn_error
393
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395    test "X`expr 00001 : '.*\(...\)'`" = X001; then
396   as_expr=expr
397 else
398   as_expr=false
399 fi
400
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
402   as_basename=basename
403 else
404   as_basename=false
405 fi
406
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
408   as_dirname=dirname
409 else
410   as_dirname=false
411 fi
412
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415          X"$0" : 'X\(//\)$' \| \
416          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
417 $as_echo X/"$0" |
418     sed '/^.*\/\([^/][^/]*\)\/*$/{
419             s//\1/
420             q
421           }
422           /^X\/\(\/\/\)$/{
423             s//\1/
424             q
425           }
426           /^X\/\(\/\).*/{
427             s//\1/
428             q
429           }
430           s/.*/./; q'`
431
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
438
439
440   as_lineno_1=$LINENO as_lineno_1a=$LINENO
441   as_lineno_2=$LINENO as_lineno_2a=$LINENO
442   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
445   sed -n '
446     p
447     /[$]LINENO/=
448   ' <$as_myself |
449     sed '
450       s/[$]LINENO.*/&-/
451       t lineno
452       b
453       :lineno
454       N
455       :loop
456       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457       t loop
458       s/-\n.*//
459     ' >$as_me.lineno &&
460   chmod +x "$as_me.lineno" ||
461     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
462
463   # Don't try to exec as it changes $[0], causing all sort of problems
464   # (the dirname of $[0] is not the place where we might find the
465   # original and so on.  Autoconf is especially sensitive to this).
466   . "./$as_me.lineno"
467   # Exit status is that of the last command.
468   exit
469 }
470
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
473 -n*)
474   case `echo 'xy\c'` in
475   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
476   xy)  ECHO_C='\c';;
477   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
478        ECHO_T=' ';;
479   esac;;
480 *)
481   ECHO_N='-n';;
482 esac
483
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486   rm -f conf$$.dir/conf$$.file
487 else
488   rm -f conf$$.dir
489   mkdir conf$$.dir 2>/dev/null
490 fi
491 if (echo >conf$$.file) 2>/dev/null; then
492   if ln -s conf$$.file conf$$ 2>/dev/null; then
493     as_ln_s='ln -s'
494     # ... but there are two gotchas:
495     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497     # In both cases, we have to default to `cp -p'.
498     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499       as_ln_s='cp -p'
500   elif ln conf$$.file conf$$ 2>/dev/null; then
501     as_ln_s=ln
502   else
503     as_ln_s='cp -p'
504   fi
505 else
506   as_ln_s='cp -p'
507 fi
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
510
511 if mkdir -p . 2>/dev/null; then
512   as_mkdir_p='mkdir -p "$as_dir"'
513 else
514   test -d ./-p && rmdir ./-p
515   as_mkdir_p=false
516 fi
517
518 if test -x / >/dev/null 2>&1; then
519   as_test_x='test -x'
520 else
521   if ls -dL / >/dev/null 2>&1; then
522     as_ls_L_option=L
523   else
524     as_ls_L_option=
525   fi
526   as_test_x='
527     eval sh -c '\''
528       if test -d "$1"; then
529         test -d "$1/.";
530       else
531         case $1 in #(
532         -*)set "./$1";;
533         esac;
534         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535         ???[sx]*):;;*)false;;esac;fi
536     '\'' sh
537   '
538 fi
539 as_executable_p=$as_test_x
540
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
543
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
546
547 SHELL=${CONFIG_SHELL-/bin/sh}
548
549
550 test -n "$DJDIR" || exec 7<&0 </dev/null
551 exec 6>&1
552
553 # Name of the host.
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
557
558 #
559 # Initializations.
560 #
561 ac_default_prefix=/usr/local
562 ac_clean_files=
563 ac_config_libobj_dir=.
564 LIBOBJS=
565 cross_compiling=no
566 subdirs=
567 MFLAGS=
568 MAKEFLAGS=
569
570 # Identity of this package.
571 PACKAGE_NAME='emotion'
572 PACKAGE_TARNAME='emotion'
573 PACKAGE_VERSION='1.7.3'
574 PACKAGE_STRING='emotion 1.7.3'
575 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
576 PACKAGE_URL=''
577
578 ac_unique_file="configure.ac"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
581 #include <stdio.h>
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
584 #endif
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
587 #endif
588 #ifdef STDC_HEADERS
589 # include <stdlib.h>
590 # include <stddef.h>
591 #else
592 # ifdef HAVE_STDLIB_H
593 #  include <stdlib.h>
594 # endif
595 #endif
596 #ifdef HAVE_STRING_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
598 #  include <memory.h>
599 # endif
600 # include <string.h>
601 #endif
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
604 #endif
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
607 #endif
608 #ifdef HAVE_STDINT_H
609 # include <stdint.h>
610 #endif
611 #ifdef HAVE_UNISTD_H
612 # include <unistd.h>
613 #endif"
614
615 ac_subst_vars='am__EXEEXT_FALSE
616 am__EXEEXT_TRUE
617 LTLIBOBJS
618 LIBOBJS
619 requirement_emotion
620 EFL_INSTALL_EXAMPLES_FALSE
621 EFL_INSTALL_EXAMPLES_TRUE
622 EFL_BUILD_EXAMPLES_FALSE
623 EFL_BUILD_EXAMPLES_TRUE
624 GSTREAMER_INTERFACE_LIBS
625 GSTREAMER_INTERFACE_CFLAGS
626 EMOTION_BUILD_GENERIC_VLC_FALSE
627 EMOTION_BUILD_GENERIC_VLC_TRUE
628 GENERIC_VLC_LIBS
629 GENERIC_VLC_CFLAGS
630 EFL_SHM_OPEN_LIBS
631 EMOTION_STATIC_BUILD_GENERIC_FALSE
632 EMOTION_STATIC_BUILD_GENERIC_TRUE
633 EMOTION_BUILD_GENERIC_FALSE
634 EMOTION_BUILD_GENERIC_TRUE
635 GENERIC_LIBS
636 GENERIC_CFLAGS
637 EMOTION_STATIC_BUILD_GSTREAMER_FALSE
638 EMOTION_STATIC_BUILD_GSTREAMER_TRUE
639 EMOTION_BUILD_GSTREAMER_FALSE
640 EMOTION_BUILD_GSTREAMER_TRUE
641 GSTREAMER_LIBS
642 GSTREAMER_CFLAGS
643 EMOTION_STATIC_BUILD_XINE_FALSE
644 EMOTION_STATIC_BUILD_XINE_TRUE
645 EMOTION_BUILD_XINE_FALSE
646 EMOTION_BUILD_XINE_TRUE
647 XINE_LIBS
648 XINE_CFLAGS
649 ALLOCA
650 lt_enable_auto_import
651 EMOTION_CPPFLAGS
652 EFL_EMOTION_BUILD
653 HAVE_EIO_FALSE
654 HAVE_EIO_TRUE
655 EIO_LIBS
656 EIO_CFLAGS
657 EEZE_LIBS
658 EEZE_CFLAGS
659 ENABLE_EDJE_EXTERNAL_FALSE
660 ENABLE_EDJE_EXTERNAL_TRUE
661 MODULE_EDJE
662 EDJE_EXTERNAL_LIBS
663 EDJE_EXTERNAL_CFLAGS
664 ECORE_FB_LIBS
665 ECORE_FB_CFLAGS
666 ECORE_X_LIBS
667 ECORE_X_CFLAGS
668 EMOTION_BIN_LIBS
669 EMOTION_BIN_CFLAGS
670 EMOTION_LIBS
671 EMOTION_CFLAGS
672 EFL_BUILD_DOC_FALSE
673 EFL_BUILD_DOC_TRUE
674 efl_doxygen
675 efl_have_doxygen
676 pkgconfig_requires_private
677 PKG_CONFIG_LIBDIR
678 PKG_CONFIG_PATH
679 PKG_CONFIG
680 edje_cc
681 BUILD_EMOTION_TEST_FALSE
682 BUILD_EMOTION_TEST_TRUE
683 EMOTION_TEST_PRG
684 VMAJ
685 release_info
686 version_info
687 CPP
688 OTOOL64
689 OTOOL
690 LIPO
691 NMEDIT
692 DSYMUTIL
693 MANIFEST_TOOL
694 RANLIB
695 ac_ct_AR
696 AR
697 LN_S
698 NM
699 ac_ct_DUMPBIN
700 DUMPBIN
701 LD
702 FGREP
703 EGREP
704 GREP
705 SED
706 LIBTOOL
707 OBJDUMP
708 DLLTOOL
709 AS
710 AM_BACKSLASH
711 AM_DEFAULT_VERBOSITY
712 AM_DEFAULT_V
713 AM_V
714 am__fastdepCC_FALSE
715 am__fastdepCC_TRUE
716 CCDEPMODE
717 am__nodep
718 AMDEPBACKSLASH
719 AMDEP_FALSE
720 AMDEP_TRUE
721 am__quote
722 am__include
723 DEPDIR
724 am__untar
725 am__tar
726 AMTAR
727 am__leading_dot
728 SET_MAKE
729 AWK
730 mkdir_p
731 MKDIR_P
732 INSTALL_STRIP_PROGRAM
733 STRIP
734 install_sh
735 MAKEINFO
736 AUTOHEADER
737 AUTOMAKE
738 AUTOCONF
739 ACLOCAL
740 VERSION
741 PACKAGE
742 CYGPATH_W
743 am__isrc
744 INSTALL_DATA
745 INSTALL_SCRIPT
746 INSTALL_PROGRAM
747 OBJEXT
748 EXEEXT
749 ac_ct_CC
750 CPPFLAGS
751 LDFLAGS
752 CFLAGS
753 CC
754 host_os
755 host_vendor
756 host_cpu
757 host
758 build_os
759 build_vendor
760 build_cpu
761 build
762 target_alias
763 host_alias
764 build_alias
765 LIBS
766 ECHO_T
767 ECHO_N
768 ECHO_C
769 DEFS
770 mandir
771 localedir
772 libdir
773 psdir
774 pdfdir
775 dvidir
776 htmldir
777 infodir
778 docdir
779 oldincludedir
780 includedir
781 localstatedir
782 sharedstatedir
783 sysconfdir
784 datadir
785 datarootdir
786 libexecdir
787 sbindir
788 bindir
789 program_transform_name
790 prefix
791 exec_prefix
792 PACKAGE_URL
793 PACKAGE_BUGREPORT
794 PACKAGE_STRING
795 PACKAGE_VERSION
796 PACKAGE_TARNAME
797 PACKAGE_NAME
798 PATH_SEPARATOR
799 SHELL'
800 ac_subst_files=''
801 ac_user_opts='
802 enable_option_checking
803 enable_dependency_tracking
804 enable_silent_rules
805 enable_shared
806 enable_static
807 with_pic
808 enable_fast_install
809 with_gnu_ld
810 with_sysroot
811 enable_libtool_lock
812 enable_emotion_test
813 with_edje_cc
814 enable_doc
815 with_doxygen
816 enable_edje_external
817 enable_ecore_x
818 enable_xine
819 enable_gstreamer
820 enable_generic
821 enable_generic_vlc
822 enable_build_examples
823 enable_install_examples
824 '
825       ac_precious_vars='build_alias
826 host_alias
827 target_alias
828 CC
829 CFLAGS
830 LDFLAGS
831 LIBS
832 CPPFLAGS
833 CPP
834 PKG_CONFIG
835 PKG_CONFIG_PATH
836 PKG_CONFIG_LIBDIR
837 EMOTION_CFLAGS
838 EMOTION_LIBS
839 EMOTION_BIN_CFLAGS
840 EMOTION_BIN_LIBS
841 ECORE_X_CFLAGS
842 ECORE_X_LIBS
843 ECORE_FB_CFLAGS
844 ECORE_FB_LIBS
845 EDJE_EXTERNAL_CFLAGS
846 EDJE_EXTERNAL_LIBS
847 EEZE_CFLAGS
848 EEZE_LIBS
849 EIO_CFLAGS
850 EIO_LIBS
851 XINE_CFLAGS
852 XINE_LIBS
853 GSTREAMER_CFLAGS
854 GSTREAMER_LIBS
855 GENERIC_CFLAGS
856 GENERIC_LIBS
857 GENERIC_VLC_CFLAGS
858 GENERIC_VLC_LIBS
859 GSTREAMER_INTERFACE_CFLAGS
860 GSTREAMER_INTERFACE_LIBS'
861
862
863 # Initialize some variables set by options.
864 ac_init_help=
865 ac_init_version=false
866 ac_unrecognized_opts=
867 ac_unrecognized_sep=
868 # The variables have the same names as the options, with
869 # dashes changed to underlines.
870 cache_file=/dev/null
871 exec_prefix=NONE
872 no_create=
873 no_recursion=
874 prefix=NONE
875 program_prefix=NONE
876 program_suffix=NONE
877 program_transform_name=s,x,x,
878 silent=
879 site=
880 srcdir=
881 verbose=
882 x_includes=NONE
883 x_libraries=NONE
884
885 # Installation directory options.
886 # These are left unexpanded so users can "make install exec_prefix=/foo"
887 # and all the variables that are supposed to be based on exec_prefix
888 # by default will actually change.
889 # Use braces instead of parens because sh, perl, etc. also accept them.
890 # (The list follows the same order as the GNU Coding Standards.)
891 bindir='${exec_prefix}/bin'
892 sbindir='${exec_prefix}/sbin'
893 libexecdir='${exec_prefix}/libexec'
894 datarootdir='${prefix}/share'
895 datadir='${datarootdir}'
896 sysconfdir='${prefix}/etc'
897 sharedstatedir='${prefix}/com'
898 localstatedir='${prefix}/var'
899 includedir='${prefix}/include'
900 oldincludedir='/usr/include'
901 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
902 infodir='${datarootdir}/info'
903 htmldir='${docdir}'
904 dvidir='${docdir}'
905 pdfdir='${docdir}'
906 psdir='${docdir}'
907 libdir='${exec_prefix}/lib'
908 localedir='${datarootdir}/locale'
909 mandir='${datarootdir}/man'
910
911 ac_prev=
912 ac_dashdash=
913 for ac_option
914 do
915   # If the previous option needs an argument, assign it.
916   if test -n "$ac_prev"; then
917     eval $ac_prev=\$ac_option
918     ac_prev=
919     continue
920   fi
921
922   case $ac_option in
923   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
924   *=)   ac_optarg= ;;
925   *)    ac_optarg=yes ;;
926   esac
927
928   # Accept the important Cygnus configure options, so we can diagnose typos.
929
930   case $ac_dashdash$ac_option in
931   --)
932     ac_dashdash=yes ;;
933
934   -bindir | --bindir | --bindi | --bind | --bin | --bi)
935     ac_prev=bindir ;;
936   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
937     bindir=$ac_optarg ;;
938
939   -build | --build | --buil | --bui | --bu)
940     ac_prev=build_alias ;;
941   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
942     build_alias=$ac_optarg ;;
943
944   -cache-file | --cache-file | --cache-fil | --cache-fi \
945   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
946     ac_prev=cache_file ;;
947   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
948   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
949     cache_file=$ac_optarg ;;
950
951   --config-cache | -C)
952     cache_file=config.cache ;;
953
954   -datadir | --datadir | --datadi | --datad)
955     ac_prev=datadir ;;
956   -datadir=* | --datadir=* | --datadi=* | --datad=*)
957     datadir=$ac_optarg ;;
958
959   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
960   | --dataroo | --dataro | --datar)
961     ac_prev=datarootdir ;;
962   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
963   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
964     datarootdir=$ac_optarg ;;
965
966   -disable-* | --disable-*)
967     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
968     # Reject names that are not valid shell variable names.
969     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
970       as_fn_error $? "invalid feature name: $ac_useropt"
971     ac_useropt_orig=$ac_useropt
972     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
973     case $ac_user_opts in
974       *"
975 "enable_$ac_useropt"
976 "*) ;;
977       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
978          ac_unrecognized_sep=', ';;
979     esac
980     eval enable_$ac_useropt=no ;;
981
982   -docdir | --docdir | --docdi | --doc | --do)
983     ac_prev=docdir ;;
984   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
985     docdir=$ac_optarg ;;
986
987   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
988     ac_prev=dvidir ;;
989   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
990     dvidir=$ac_optarg ;;
991
992   -enable-* | --enable-*)
993     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
994     # Reject names that are not valid shell variable names.
995     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
996       as_fn_error $? "invalid feature name: $ac_useropt"
997     ac_useropt_orig=$ac_useropt
998     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
999     case $ac_user_opts in
1000       *"
1001 "enable_$ac_useropt"
1002 "*) ;;
1003       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1004          ac_unrecognized_sep=', ';;
1005     esac
1006     eval enable_$ac_useropt=\$ac_optarg ;;
1007
1008   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1009   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1010   | --exec | --exe | --ex)
1011     ac_prev=exec_prefix ;;
1012   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1013   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1014   | --exec=* | --exe=* | --ex=*)
1015     exec_prefix=$ac_optarg ;;
1016
1017   -gas | --gas | --ga | --g)
1018     # Obsolete; use --with-gas.
1019     with_gas=yes ;;
1020
1021   -help | --help | --hel | --he | -h)
1022     ac_init_help=long ;;
1023   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1024     ac_init_help=recursive ;;
1025   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1026     ac_init_help=short ;;
1027
1028   -host | --host | --hos | --ho)
1029     ac_prev=host_alias ;;
1030   -host=* | --host=* | --hos=* | --ho=*)
1031     host_alias=$ac_optarg ;;
1032
1033   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1034     ac_prev=htmldir ;;
1035   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1036   | --ht=*)
1037     htmldir=$ac_optarg ;;
1038
1039   -includedir | --includedir | --includedi | --included | --include \
1040   | --includ | --inclu | --incl | --inc)
1041     ac_prev=includedir ;;
1042   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1043   | --includ=* | --inclu=* | --incl=* | --inc=*)
1044     includedir=$ac_optarg ;;
1045
1046   -infodir | --infodir | --infodi | --infod | --info | --inf)
1047     ac_prev=infodir ;;
1048   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1049     infodir=$ac_optarg ;;
1050
1051   -libdir | --libdir | --libdi | --libd)
1052     ac_prev=libdir ;;
1053   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1054     libdir=$ac_optarg ;;
1055
1056   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1057   | --libexe | --libex | --libe)
1058     ac_prev=libexecdir ;;
1059   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1060   | --libexe=* | --libex=* | --libe=*)
1061     libexecdir=$ac_optarg ;;
1062
1063   -localedir | --localedir | --localedi | --localed | --locale)
1064     ac_prev=localedir ;;
1065   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1066     localedir=$ac_optarg ;;
1067
1068   -localstatedir | --localstatedir | --localstatedi | --localstated \
1069   | --localstate | --localstat | --localsta | --localst | --locals)
1070     ac_prev=localstatedir ;;
1071   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1072   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1073     localstatedir=$ac_optarg ;;
1074
1075   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1076     ac_prev=mandir ;;
1077   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1078     mandir=$ac_optarg ;;
1079
1080   -nfp | --nfp | --nf)
1081     # Obsolete; use --without-fp.
1082     with_fp=no ;;
1083
1084   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1085   | --no-cr | --no-c | -n)
1086     no_create=yes ;;
1087
1088   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1089   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1090     no_recursion=yes ;;
1091
1092   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1093   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1094   | --oldin | --oldi | --old | --ol | --o)
1095     ac_prev=oldincludedir ;;
1096   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1097   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1098   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1099     oldincludedir=$ac_optarg ;;
1100
1101   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1102     ac_prev=prefix ;;
1103   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1104     prefix=$ac_optarg ;;
1105
1106   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1107   | --program-pre | --program-pr | --program-p)
1108     ac_prev=program_prefix ;;
1109   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1110   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1111     program_prefix=$ac_optarg ;;
1112
1113   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1114   | --program-suf | --program-su | --program-s)
1115     ac_prev=program_suffix ;;
1116   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1117   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1118     program_suffix=$ac_optarg ;;
1119
1120   -program-transform-name | --program-transform-name \
1121   | --program-transform-nam | --program-transform-na \
1122   | --program-transform-n | --program-transform- \
1123   | --program-transform | --program-transfor \
1124   | --program-transfo | --program-transf \
1125   | --program-trans | --program-tran \
1126   | --progr-tra | --program-tr | --program-t)
1127     ac_prev=program_transform_name ;;
1128   -program-transform-name=* | --program-transform-name=* \
1129   | --program-transform-nam=* | --program-transform-na=* \
1130   | --program-transform-n=* | --program-transform-=* \
1131   | --program-transform=* | --program-transfor=* \
1132   | --program-transfo=* | --program-transf=* \
1133   | --program-trans=* | --program-tran=* \
1134   | --progr-tra=* | --program-tr=* | --program-t=*)
1135     program_transform_name=$ac_optarg ;;
1136
1137   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1138     ac_prev=pdfdir ;;
1139   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1140     pdfdir=$ac_optarg ;;
1141
1142   -psdir | --psdir | --psdi | --psd | --ps)
1143     ac_prev=psdir ;;
1144   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1145     psdir=$ac_optarg ;;
1146
1147   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1148   | -silent | --silent | --silen | --sile | --sil)
1149     silent=yes ;;
1150
1151   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1152     ac_prev=sbindir ;;
1153   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1154   | --sbi=* | --sb=*)
1155     sbindir=$ac_optarg ;;
1156
1157   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1158   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1159   | --sharedst | --shareds | --shared | --share | --shar \
1160   | --sha | --sh)
1161     ac_prev=sharedstatedir ;;
1162   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1163   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1164   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1165   | --sha=* | --sh=*)
1166     sharedstatedir=$ac_optarg ;;
1167
1168   -site | --site | --sit)
1169     ac_prev=site ;;
1170   -site=* | --site=* | --sit=*)
1171     site=$ac_optarg ;;
1172
1173   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1174     ac_prev=srcdir ;;
1175   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1176     srcdir=$ac_optarg ;;
1177
1178   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1179   | --syscon | --sysco | --sysc | --sys | --sy)
1180     ac_prev=sysconfdir ;;
1181   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1182   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1183     sysconfdir=$ac_optarg ;;
1184
1185   -target | --target | --targe | --targ | --tar | --ta | --t)
1186     ac_prev=target_alias ;;
1187   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1188     target_alias=$ac_optarg ;;
1189
1190   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1191     verbose=yes ;;
1192
1193   -version | --version | --versio | --versi | --vers | -V)
1194     ac_init_version=: ;;
1195
1196   -with-* | --with-*)
1197     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1198     # Reject names that are not valid shell variable names.
1199     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1200       as_fn_error $? "invalid package name: $ac_useropt"
1201     ac_useropt_orig=$ac_useropt
1202     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1203     case $ac_user_opts in
1204       *"
1205 "with_$ac_useropt"
1206 "*) ;;
1207       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1208          ac_unrecognized_sep=', ';;
1209     esac
1210     eval with_$ac_useropt=\$ac_optarg ;;
1211
1212   -without-* | --without-*)
1213     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1214     # Reject names that are not valid shell variable names.
1215     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1216       as_fn_error $? "invalid package name: $ac_useropt"
1217     ac_useropt_orig=$ac_useropt
1218     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1219     case $ac_user_opts in
1220       *"
1221 "with_$ac_useropt"
1222 "*) ;;
1223       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1224          ac_unrecognized_sep=', ';;
1225     esac
1226     eval with_$ac_useropt=no ;;
1227
1228   --x)
1229     # Obsolete; use --with-x.
1230     with_x=yes ;;
1231
1232   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1233   | --x-incl | --x-inc | --x-in | --x-i)
1234     ac_prev=x_includes ;;
1235   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1236   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1237     x_includes=$ac_optarg ;;
1238
1239   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1240   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1241     ac_prev=x_libraries ;;
1242   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1243   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1244     x_libraries=$ac_optarg ;;
1245
1246   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1247 Try \`$0 --help' for more information"
1248     ;;
1249
1250   *=*)
1251     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1252     # Reject names that are not valid shell variable names.
1253     case $ac_envvar in #(
1254       '' | [0-9]* | *[!_$as_cr_alnum]* )
1255       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1256     esac
1257     eval $ac_envvar=\$ac_optarg
1258     export $ac_envvar ;;
1259
1260   *)
1261     # FIXME: should be removed in autoconf 3.0.
1262     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1263     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1264       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1265     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1266     ;;
1267
1268   esac
1269 done
1270
1271 if test -n "$ac_prev"; then
1272   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1273   as_fn_error $? "missing argument to $ac_option"
1274 fi
1275
1276 if test -n "$ac_unrecognized_opts"; then
1277   case $enable_option_checking in
1278     no) ;;
1279     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1280     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1281   esac
1282 fi
1283
1284 # Check all directory arguments for consistency.
1285 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1286                 datadir sysconfdir sharedstatedir localstatedir includedir \
1287                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1288                 libdir localedir mandir
1289 do
1290   eval ac_val=\$$ac_var
1291   # Remove trailing slashes.
1292   case $ac_val in
1293     */ )
1294       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1295       eval $ac_var=\$ac_val;;
1296   esac
1297   # Be sure to have absolute directory names.
1298   case $ac_val in
1299     [\\/$]* | ?:[\\/]* )  continue;;
1300     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1301   esac
1302   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1303 done
1304
1305 # There might be people who depend on the old broken behavior: `$host'
1306 # used to hold the argument of --host etc.
1307 # FIXME: To remove some day.
1308 build=$build_alias
1309 host=$host_alias
1310 target=$target_alias
1311
1312 # FIXME: To remove some day.
1313 if test "x$host_alias" != x; then
1314   if test "x$build_alias" = x; then
1315     cross_compiling=maybe
1316     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1317     If a cross compiler is detected then cross compile mode will be used" >&2
1318   elif test "x$build_alias" != "x$host_alias"; then
1319     cross_compiling=yes
1320   fi
1321 fi
1322
1323 ac_tool_prefix=
1324 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1325
1326 test "$silent" = yes && exec 6>/dev/null
1327
1328
1329 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1330 ac_ls_di=`ls -di .` &&
1331 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1332   as_fn_error $? "working directory cannot be determined"
1333 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1334   as_fn_error $? "pwd does not report name of working directory"
1335
1336
1337 # Find the source files, if location was not specified.
1338 if test -z "$srcdir"; then
1339   ac_srcdir_defaulted=yes
1340   # Try the directory containing this script, then the parent directory.
1341   ac_confdir=`$as_dirname -- "$as_myself" ||
1342 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1343          X"$as_myself" : 'X\(//\)[^/]' \| \
1344          X"$as_myself" : 'X\(//\)$' \| \
1345          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1346 $as_echo X"$as_myself" |
1347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1348             s//\1/
1349             q
1350           }
1351           /^X\(\/\/\)[^/].*/{
1352             s//\1/
1353             q
1354           }
1355           /^X\(\/\/\)$/{
1356             s//\1/
1357             q
1358           }
1359           /^X\(\/\).*/{
1360             s//\1/
1361             q
1362           }
1363           s/.*/./; q'`
1364   srcdir=$ac_confdir
1365   if test ! -r "$srcdir/$ac_unique_file"; then
1366     srcdir=..
1367   fi
1368 else
1369   ac_srcdir_defaulted=no
1370 fi
1371 if test ! -r "$srcdir/$ac_unique_file"; then
1372   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1373   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1374 fi
1375 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1376 ac_abs_confdir=`(
1377         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1378         pwd)`
1379 # When building in place, set srcdir=.
1380 if test "$ac_abs_confdir" = "$ac_pwd"; then
1381   srcdir=.
1382 fi
1383 # Remove unnecessary trailing slashes from srcdir.
1384 # Double slashes in file names in object file debugging info
1385 # mess up M-x gdb in Emacs.
1386 case $srcdir in
1387 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1388 esac
1389 for ac_var in $ac_precious_vars; do
1390   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1391   eval ac_env_${ac_var}_value=\$${ac_var}
1392   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1393   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1394 done
1395
1396 #
1397 # Report the --help message.
1398 #
1399 if test "$ac_init_help" = "long"; then
1400   # Omit some internal or obsolete options to make the list less imposing.
1401   # This message is too long to be a string in the A/UX 3.1 sh.
1402   cat <<_ACEOF
1403 \`configure' configures emotion 1.7.3 to adapt to many kinds of systems.
1404
1405 Usage: $0 [OPTION]... [VAR=VALUE]...
1406
1407 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1408 VAR=VALUE.  See below for descriptions of some of the useful variables.
1409
1410 Defaults for the options are specified in brackets.
1411
1412 Configuration:
1413   -h, --help              display this help and exit
1414       --help=short        display options specific to this package
1415       --help=recursive    display the short help of all the included packages
1416   -V, --version           display version information and exit
1417   -q, --quiet, --silent   do not print \`checking ...' messages
1418       --cache-file=FILE   cache test results in FILE [disabled]
1419   -C, --config-cache      alias for \`--cache-file=config.cache'
1420   -n, --no-create         do not create output files
1421       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1422
1423 Installation directories:
1424   --prefix=PREFIX         install architecture-independent files in PREFIX
1425                           [$ac_default_prefix]
1426   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1427                           [PREFIX]
1428
1429 By default, \`make install' will install all the files in
1430 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1431 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1432 for instance \`--prefix=\$HOME'.
1433
1434 For better control, use the options below.
1435
1436 Fine tuning of the installation directories:
1437   --bindir=DIR            user executables [EPREFIX/bin]
1438   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1439   --libexecdir=DIR        program executables [EPREFIX/libexec]
1440   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1441   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1442   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1443   --libdir=DIR            object code libraries [EPREFIX/lib]
1444   --includedir=DIR        C header files [PREFIX/include]
1445   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1446   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1447   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1448   --infodir=DIR           info documentation [DATAROOTDIR/info]
1449   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1450   --mandir=DIR            man documentation [DATAROOTDIR/man]
1451   --docdir=DIR            documentation root [DATAROOTDIR/doc/emotion]
1452   --htmldir=DIR           html documentation [DOCDIR]
1453   --dvidir=DIR            dvi documentation [DOCDIR]
1454   --pdfdir=DIR            pdf documentation [DOCDIR]
1455   --psdir=DIR             ps documentation [DOCDIR]
1456 _ACEOF
1457
1458   cat <<\_ACEOF
1459
1460 Program names:
1461   --program-prefix=PREFIX            prepend PREFIX to installed program names
1462   --program-suffix=SUFFIX            append SUFFIX to installed program names
1463   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1464
1465 System types:
1466   --build=BUILD     configure for building on BUILD [guessed]
1467   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1468 _ACEOF
1469 fi
1470
1471 if test -n "$ac_init_help"; then
1472   case $ac_init_help in
1473      short | recursive ) echo "Configuration of emotion 1.7.3:";;
1474    esac
1475   cat <<\_ACEOF
1476
1477 Optional Features:
1478   --disable-option-checking  ignore unrecognized --enable/--with options
1479   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1480   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1481   --disable-dependency-tracking  speeds up one-time build
1482   --enable-dependency-tracking   do not reject slow dependency extractors
1483   --enable-silent-rules          less verbose build output (undo: `make V=1')
1484   --disable-silent-rules         verbose build output (undo: `make V=0')
1485   --enable-shared[=PKGS]  build shared libraries [default=yes]
1486   --enable-static[=PKGS]  build static libraries [default=yes]
1487   --enable-fast-install[=PKGS]
1488                           optimize for fast installation [default=yes]
1489   --disable-libtool-lock  avoid locking (might break parallel builds)
1490   --disable-emotion-test  disable building of emotion_test
1491   --disable-doc           Disable documentation build [default=enabled]
1492   --disable-edje-external disable providing Edje EXTERNAL support.
1493                           [default=enabled]
1494   --disable-ecore-x       disable ecore-x support. [default=detect]
1495   --enable-xine           enable build of Xine module [default=yes]
1496   --enable-gstreamer      enable build of Gstreamer module [default=yes]
1497   --enable-generic        enable build of Generic module [default=yes]
1498   --enable-generic-vlc    enable build of Generic Player VLC [default=yes]
1499   --enable-build-examples enable building examples [default=disabled]
1500   --enable-install-examples
1501                           enable installing example source files
1502                           [default=disabled]
1503
1504 Optional Packages:
1505   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1506   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1507   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1508                           both]
1509   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1510   --with-sysroot=DIR Search for dependent libraries within DIR
1511                         (or the compiler's sysroot if not specified).
1512   --with-edje-cc=PATH     specify a specific path to edje_cc
1513   --with-doxygen=FILE     doxygen program to use [default=doxygen]
1514
1515 Some influential environment variables:
1516   CC          C compiler command
1517   CFLAGS      C compiler flags
1518   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1519               nonstandard directory <lib dir>
1520   LIBS        libraries to pass to the linker, e.g. -l<library>
1521   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1522               you have headers in a nonstandard directory <include dir>
1523   CPP         C preprocessor
1524   PKG_CONFIG  path to pkg-config utility
1525   PKG_CONFIG_PATH
1526               directories to add to pkg-config's search path
1527   PKG_CONFIG_LIBDIR
1528               path overriding pkg-config's built-in search path
1529   EMOTION_CFLAGS
1530               C compiler flags for EMOTION, overriding pkg-config
1531   EMOTION_LIBS
1532               linker flags for EMOTION, overriding pkg-config
1533   EMOTION_BIN_CFLAGS
1534               C compiler flags for EMOTION_BIN, overriding pkg-config
1535   EMOTION_BIN_LIBS
1536               linker flags for EMOTION_BIN, overriding pkg-config
1537   ECORE_X_CFLAGS
1538               C compiler flags for ECORE_X, overriding pkg-config
1539   ECORE_X_LIBS
1540               linker flags for ECORE_X, overriding pkg-config
1541   ECORE_FB_CFLAGS
1542               C compiler flags for ECORE_FB, overriding pkg-config
1543   ECORE_FB_LIBS
1544               linker flags for ECORE_FB, overriding pkg-config
1545   EDJE_EXTERNAL_CFLAGS
1546               C compiler flags for EDJE_EXTERNAL, overriding pkg-config
1547   EDJE_EXTERNAL_LIBS
1548               linker flags for EDJE_EXTERNAL, overriding pkg-config
1549   EEZE_CFLAGS C compiler flags for EEZE, overriding pkg-config
1550   EEZE_LIBS   linker flags for EEZE, overriding pkg-config
1551   EIO_CFLAGS  C compiler flags for EIO, overriding pkg-config
1552   EIO_LIBS    linker flags for EIO, overriding pkg-config
1553   XINE_CFLAGS C compiler flags for XINE, overriding pkg-config
1554   XINE_LIBS   linker flags for XINE, overriding pkg-config
1555   GSTREAMER_CFLAGS
1556               C compiler flags for GSTREAMER, overriding pkg-config
1557   GSTREAMER_LIBS
1558               linker flags for GSTREAMER, overriding pkg-config
1559   GENERIC_CFLAGS
1560               C compiler flags for GENERIC, overriding pkg-config
1561   GENERIC_LIBS
1562               linker flags for GENERIC, overriding pkg-config
1563   GENERIC_VLC_CFLAGS
1564               C compiler flags for GENERIC_VLC, overriding pkg-config
1565   GENERIC_VLC_LIBS
1566               linker flags for GENERIC_VLC, overriding pkg-config
1567   GSTREAMER_INTERFACE_CFLAGS
1568               C compiler flags for GSTREAMER_INTERFACE, overriding pkg-config
1569   GSTREAMER_INTERFACE_LIBS
1570               linker flags for GSTREAMER_INTERFACE, overriding pkg-config
1571
1572 Use these variables to override the choices made by `configure' or to help
1573 it to find libraries and programs with nonstandard names/locations.
1574
1575 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1576 _ACEOF
1577 ac_status=$?
1578 fi
1579
1580 if test "$ac_init_help" = "recursive"; then
1581   # If there are subdirs, report their specific --help.
1582   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1583     test -d "$ac_dir" ||
1584       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1585       continue
1586     ac_builddir=.
1587
1588 case "$ac_dir" in
1589 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1590 *)
1591   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1592   # A ".." for each directory in $ac_dir_suffix.
1593   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1594   case $ac_top_builddir_sub in
1595   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1596   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1597   esac ;;
1598 esac
1599 ac_abs_top_builddir=$ac_pwd
1600 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1601 # for backward compatibility:
1602 ac_top_builddir=$ac_top_build_prefix
1603
1604 case $srcdir in
1605   .)  # We are building in place.
1606     ac_srcdir=.
1607     ac_top_srcdir=$ac_top_builddir_sub
1608     ac_abs_top_srcdir=$ac_pwd ;;
1609   [\\/]* | ?:[\\/]* )  # Absolute name.
1610     ac_srcdir=$srcdir$ac_dir_suffix;
1611     ac_top_srcdir=$srcdir
1612     ac_abs_top_srcdir=$srcdir ;;
1613   *) # Relative name.
1614     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1615     ac_top_srcdir=$ac_top_build_prefix$srcdir
1616     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1617 esac
1618 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1619
1620     cd "$ac_dir" || { ac_status=$?; continue; }
1621     # Check for guested configure.
1622     if test -f "$ac_srcdir/configure.gnu"; then
1623       echo &&
1624       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1625     elif test -f "$ac_srcdir/configure"; then
1626       echo &&
1627       $SHELL "$ac_srcdir/configure" --help=recursive
1628     else
1629       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1630     fi || ac_status=$?
1631     cd "$ac_pwd" || { ac_status=$?; break; }
1632   done
1633 fi
1634
1635 test -n "$ac_init_help" && exit $ac_status
1636 if $ac_init_version; then
1637   cat <<\_ACEOF
1638 emotion configure 1.7.3
1639 generated by GNU Autoconf 2.68
1640
1641 Copyright (C) 2010 Free Software Foundation, Inc.
1642 This configure script is free software; the Free Software Foundation
1643 gives unlimited permission to copy, distribute and modify it.
1644 _ACEOF
1645   exit
1646 fi
1647
1648 ## ------------------------ ##
1649 ## Autoconf initialization. ##
1650 ## ------------------------ ##
1651
1652 # ac_fn_c_try_compile LINENO
1653 # --------------------------
1654 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1655 ac_fn_c_try_compile ()
1656 {
1657   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1658   rm -f conftest.$ac_objext
1659   if { { ac_try="$ac_compile"
1660 case "(($ac_try" in
1661   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1662   *) ac_try_echo=$ac_try;;
1663 esac
1664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1665 $as_echo "$ac_try_echo"; } >&5
1666   (eval "$ac_compile") 2>conftest.err
1667   ac_status=$?
1668   if test -s conftest.err; then
1669     grep -v '^ *+' conftest.err >conftest.er1
1670     cat conftest.er1 >&5
1671     mv -f conftest.er1 conftest.err
1672   fi
1673   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1674   test $ac_status = 0; } && {
1675          test -z "$ac_c_werror_flag" ||
1676          test ! -s conftest.err
1677        } && test -s conftest.$ac_objext; then :
1678   ac_retval=0
1679 else
1680   $as_echo "$as_me: failed program was:" >&5
1681 sed 's/^/| /' conftest.$ac_ext >&5
1682
1683         ac_retval=1
1684 fi
1685   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1686   as_fn_set_status $ac_retval
1687
1688 } # ac_fn_c_try_compile
1689
1690 # ac_fn_c_try_link LINENO
1691 # -----------------------
1692 # Try to link conftest.$ac_ext, and return whether this succeeded.
1693 ac_fn_c_try_link ()
1694 {
1695   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696   rm -f conftest.$ac_objext conftest$ac_exeext
1697   if { { ac_try="$ac_link"
1698 case "(($ac_try" in
1699   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1700   *) ac_try_echo=$ac_try;;
1701 esac
1702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703 $as_echo "$ac_try_echo"; } >&5
1704   (eval "$ac_link") 2>conftest.err
1705   ac_status=$?
1706   if test -s conftest.err; then
1707     grep -v '^ *+' conftest.err >conftest.er1
1708     cat conftest.er1 >&5
1709     mv -f conftest.er1 conftest.err
1710   fi
1711   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1712   test $ac_status = 0; } && {
1713          test -z "$ac_c_werror_flag" ||
1714          test ! -s conftest.err
1715        } && test -s conftest$ac_exeext && {
1716          test "$cross_compiling" = yes ||
1717          $as_test_x conftest$ac_exeext
1718        }; then :
1719   ac_retval=0
1720 else
1721   $as_echo "$as_me: failed program was:" >&5
1722 sed 's/^/| /' conftest.$ac_ext >&5
1723
1724         ac_retval=1
1725 fi
1726   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1727   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1728   # interfere with the next link command; also delete a directory that is
1729   # left behind by Apple's compiler.  We do this before executing the actions.
1730   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1731   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1732   as_fn_set_status $ac_retval
1733
1734 } # ac_fn_c_try_link
1735
1736 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1737 # -------------------------------------------------------
1738 # Tests whether HEADER exists and can be compiled using the include files in
1739 # INCLUDES, setting the cache variable VAR accordingly.
1740 ac_fn_c_check_header_compile ()
1741 {
1742   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1744 $as_echo_n "checking for $2... " >&6; }
1745 if eval \${$3+:} false; then :
1746   $as_echo_n "(cached) " >&6
1747 else
1748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1749 /* end confdefs.h.  */
1750 $4
1751 #include <$2>
1752 _ACEOF
1753 if ac_fn_c_try_compile "$LINENO"; then :
1754   eval "$3=yes"
1755 else
1756   eval "$3=no"
1757 fi
1758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1759 fi
1760 eval ac_res=\$$3
1761                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1762 $as_echo "$ac_res" >&6; }
1763   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1764
1765 } # ac_fn_c_check_header_compile
1766
1767 # ac_fn_c_try_cpp LINENO
1768 # ----------------------
1769 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1770 ac_fn_c_try_cpp ()
1771 {
1772   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773   if { { ac_try="$ac_cpp conftest.$ac_ext"
1774 case "(($ac_try" in
1775   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1776   *) ac_try_echo=$ac_try;;
1777 esac
1778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1779 $as_echo "$ac_try_echo"; } >&5
1780   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1781   ac_status=$?
1782   if test -s conftest.err; then
1783     grep -v '^ *+' conftest.err >conftest.er1
1784     cat conftest.er1 >&5
1785     mv -f conftest.er1 conftest.err
1786   fi
1787   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1788   test $ac_status = 0; } > conftest.i && {
1789          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1790          test ! -s conftest.err
1791        }; then :
1792   ac_retval=0
1793 else
1794   $as_echo "$as_me: failed program was:" >&5
1795 sed 's/^/| /' conftest.$ac_ext >&5
1796
1797     ac_retval=1
1798 fi
1799   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1800   as_fn_set_status $ac_retval
1801
1802 } # ac_fn_c_try_cpp
1803
1804 # ac_fn_c_try_run LINENO
1805 # ----------------------
1806 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1807 # that executables *can* be run.
1808 ac_fn_c_try_run ()
1809 {
1810   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1811   if { { ac_try="$ac_link"
1812 case "(($ac_try" in
1813   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1814   *) ac_try_echo=$ac_try;;
1815 esac
1816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1817 $as_echo "$ac_try_echo"; } >&5
1818   (eval "$ac_link") 2>&5
1819   ac_status=$?
1820   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1821   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1822   { { case "(($ac_try" in
1823   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1824   *) ac_try_echo=$ac_try;;
1825 esac
1826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1827 $as_echo "$ac_try_echo"; } >&5
1828   (eval "$ac_try") 2>&5
1829   ac_status=$?
1830   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1831   test $ac_status = 0; }; }; then :
1832   ac_retval=0
1833 else
1834   $as_echo "$as_me: program exited with status $ac_status" >&5
1835        $as_echo "$as_me: failed program was:" >&5
1836 sed 's/^/| /' conftest.$ac_ext >&5
1837
1838        ac_retval=$ac_status
1839 fi
1840   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1841   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1842   as_fn_set_status $ac_retval
1843
1844 } # ac_fn_c_try_run
1845
1846 # ac_fn_c_check_func LINENO FUNC VAR
1847 # ----------------------------------
1848 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1849 ac_fn_c_check_func ()
1850 {
1851   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1853 $as_echo_n "checking for $2... " >&6; }
1854 if eval \${$3+:} false; then :
1855   $as_echo_n "(cached) " >&6
1856 else
1857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1858 /* end confdefs.h.  */
1859 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1860    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1861 #define $2 innocuous_$2
1862
1863 /* System header to define __stub macros and hopefully few prototypes,
1864     which can conflict with char $2 (); below.
1865     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1866     <limits.h> exists even on freestanding compilers.  */
1867
1868 #ifdef __STDC__
1869 # include <limits.h>
1870 #else
1871 # include <assert.h>
1872 #endif
1873
1874 #undef $2
1875
1876 /* Override any GCC internal prototype to avoid an error.
1877    Use char because int might match the return type of a GCC
1878    builtin and then its argument prototype would still apply.  */
1879 #ifdef __cplusplus
1880 extern "C"
1881 #endif
1882 char $2 ();
1883 /* The GNU C library defines this for functions which it implements
1884     to always fail with ENOSYS.  Some functions are actually named
1885     something starting with __ and the normal name is an alias.  */
1886 #if defined __stub_$2 || defined __stub___$2
1887 choke me
1888 #endif
1889
1890 int
1891 main ()
1892 {
1893 return $2 ();
1894   ;
1895   return 0;
1896 }
1897 _ACEOF
1898 if ac_fn_c_try_link "$LINENO"; then :
1899   eval "$3=yes"
1900 else
1901   eval "$3=no"
1902 fi
1903 rm -f core conftest.err conftest.$ac_objext \
1904     conftest$ac_exeext conftest.$ac_ext
1905 fi
1906 eval ac_res=\$$3
1907                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1908 $as_echo "$ac_res" >&6; }
1909   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1910
1911 } # ac_fn_c_check_func
1912
1913 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1914 # -------------------------------------------------------
1915 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1916 # the include files in INCLUDES and setting the cache variable VAR
1917 # accordingly.
1918 ac_fn_c_check_header_mongrel ()
1919 {
1920   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1921   if eval \${$3+:} false; then :
1922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1923 $as_echo_n "checking for $2... " >&6; }
1924 if eval \${$3+:} false; then :
1925   $as_echo_n "(cached) " >&6
1926 fi
1927 eval ac_res=\$$3
1928                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1929 $as_echo "$ac_res" >&6; }
1930 else
1931   # Is the header compilable?
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1933 $as_echo_n "checking $2 usability... " >&6; }
1934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1935 /* end confdefs.h.  */
1936 $4
1937 #include <$2>
1938 _ACEOF
1939 if ac_fn_c_try_compile "$LINENO"; then :
1940   ac_header_compiler=yes
1941 else
1942   ac_header_compiler=no
1943 fi
1944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1946 $as_echo "$ac_header_compiler" >&6; }
1947
1948 # Is the header present?
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1950 $as_echo_n "checking $2 presence... " >&6; }
1951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1952 /* end confdefs.h.  */
1953 #include <$2>
1954 _ACEOF
1955 if ac_fn_c_try_cpp "$LINENO"; then :
1956   ac_header_preproc=yes
1957 else
1958   ac_header_preproc=no
1959 fi
1960 rm -f conftest.err conftest.i conftest.$ac_ext
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1962 $as_echo "$ac_header_preproc" >&6; }
1963
1964 # So?  What about this header?
1965 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1966   yes:no: )
1967     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1968 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1969     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1970 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1971     ;;
1972   no:yes:* )
1973     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1974 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1975     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1976 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1977     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1978 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1979     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1980 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1981     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1982 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1983 ( $as_echo "## -------------------------------------------------------- ##
1984 ## Report this to enlightenment-devel@lists.sourceforge.net ##
1985 ## -------------------------------------------------------- ##"
1986      ) | sed "s/^/$as_me: WARNING:     /" >&2
1987     ;;
1988 esac
1989   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1990 $as_echo_n "checking for $2... " >&6; }
1991 if eval \${$3+:} false; then :
1992   $as_echo_n "(cached) " >&6
1993 else
1994   eval "$3=\$ac_header_compiler"
1995 fi
1996 eval ac_res=\$$3
1997                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1998 $as_echo "$ac_res" >&6; }
1999 fi
2000   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2001
2002 } # ac_fn_c_check_header_mongrel
2003
2004 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2005 # -------------------------------------------
2006 # Tests whether TYPE exists after having included INCLUDES, setting cache
2007 # variable VAR accordingly.
2008 ac_fn_c_check_type ()
2009 {
2010   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2011   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2012 $as_echo_n "checking for $2... " >&6; }
2013 if eval \${$3+:} false; then :
2014   $as_echo_n "(cached) " >&6
2015 else
2016   eval "$3=no"
2017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2018 /* end confdefs.h.  */
2019 $4
2020 int
2021 main ()
2022 {
2023 if (sizeof ($2))
2024          return 0;
2025   ;
2026   return 0;
2027 }
2028 _ACEOF
2029 if ac_fn_c_try_compile "$LINENO"; then :
2030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2031 /* end confdefs.h.  */
2032 $4
2033 int
2034 main ()
2035 {
2036 if (sizeof (($2)))
2037             return 0;
2038   ;
2039   return 0;
2040 }
2041 _ACEOF
2042 if ac_fn_c_try_compile "$LINENO"; then :
2043
2044 else
2045   eval "$3=yes"
2046 fi
2047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2048 fi
2049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2050 fi
2051 eval ac_res=\$$3
2052                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2053 $as_echo "$ac_res" >&6; }
2054   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2055
2056 } # ac_fn_c_check_type
2057 cat >config.log <<_ACEOF
2058 This file contains any messages produced by compilers while
2059 running configure, to aid debugging if configure makes a mistake.
2060
2061 It was created by emotion $as_me 1.7.3, which was
2062 generated by GNU Autoconf 2.68.  Invocation command line was
2063
2064   $ $0 $@
2065
2066 _ACEOF
2067 exec 5>>config.log
2068 {
2069 cat <<_ASUNAME
2070 ## --------- ##
2071 ## Platform. ##
2072 ## --------- ##
2073
2074 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2075 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2076 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2077 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2078 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2079
2080 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2081 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2082
2083 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2084 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2085 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2086 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2087 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2088 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2089 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2090
2091 _ASUNAME
2092
2093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2094 for as_dir in $PATH
2095 do
2096   IFS=$as_save_IFS
2097   test -z "$as_dir" && as_dir=.
2098     $as_echo "PATH: $as_dir"
2099   done
2100 IFS=$as_save_IFS
2101
2102 } >&5
2103
2104 cat >&5 <<_ACEOF
2105
2106
2107 ## ----------- ##
2108 ## Core tests. ##
2109 ## ----------- ##
2110
2111 _ACEOF
2112
2113
2114 # Keep a trace of the command line.
2115 # Strip out --no-create and --no-recursion so they do not pile up.
2116 # Strip out --silent because we don't want to record it for future runs.
2117 # Also quote any args containing shell meta-characters.
2118 # Make two passes to allow for proper duplicate-argument suppression.
2119 ac_configure_args=
2120 ac_configure_args0=
2121 ac_configure_args1=
2122 ac_must_keep_next=false
2123 for ac_pass in 1 2
2124 do
2125   for ac_arg
2126   do
2127     case $ac_arg in
2128     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2129     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2130     | -silent | --silent | --silen | --sile | --sil)
2131       continue ;;
2132     *\'*)
2133       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2134     esac
2135     case $ac_pass in
2136     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2137     2)
2138       as_fn_append ac_configure_args1 " '$ac_arg'"
2139       if test $ac_must_keep_next = true; then
2140         ac_must_keep_next=false # Got value, back to normal.
2141       else
2142         case $ac_arg in
2143           *=* | --config-cache | -C | -disable-* | --disable-* \
2144           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2145           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2146           | -with-* | --with-* | -without-* | --without-* | --x)
2147             case "$ac_configure_args0 " in
2148               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2149             esac
2150             ;;
2151           -* ) ac_must_keep_next=true ;;
2152         esac
2153       fi
2154       as_fn_append ac_configure_args " '$ac_arg'"
2155       ;;
2156     esac
2157   done
2158 done
2159 { ac_configure_args0=; unset ac_configure_args0;}
2160 { ac_configure_args1=; unset ac_configure_args1;}
2161
2162 # When interrupted or exit'd, cleanup temporary files, and complete
2163 # config.log.  We remove comments because anyway the quotes in there
2164 # would cause problems or look ugly.
2165 # WARNING: Use '\'' to represent an apostrophe within the trap.
2166 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2167 trap 'exit_status=$?
2168   # Save into config.log some information that might help in debugging.
2169   {
2170     echo
2171
2172     $as_echo "## ---------------- ##
2173 ## Cache variables. ##
2174 ## ---------------- ##"
2175     echo
2176     # The following way of writing the cache mishandles newlines in values,
2177 (
2178   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2179     eval ac_val=\$$ac_var
2180     case $ac_val in #(
2181     *${as_nl}*)
2182       case $ac_var in #(
2183       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2184 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2185       esac
2186       case $ac_var in #(
2187       _ | IFS | as_nl) ;; #(
2188       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2189       *) { eval $ac_var=; unset $ac_var;} ;;
2190       esac ;;
2191     esac
2192   done
2193   (set) 2>&1 |
2194     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2195     *${as_nl}ac_space=\ *)
2196       sed -n \
2197         "s/'\''/'\''\\\\'\'''\''/g;
2198           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2199       ;; #(
2200     *)
2201       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2202       ;;
2203     esac |
2204     sort
2205 )
2206     echo
2207
2208     $as_echo "## ----------------- ##
2209 ## Output variables. ##
2210 ## ----------------- ##"
2211     echo
2212     for ac_var in $ac_subst_vars
2213     do
2214       eval ac_val=\$$ac_var
2215       case $ac_val in
2216       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2217       esac
2218       $as_echo "$ac_var='\''$ac_val'\''"
2219     done | sort
2220     echo
2221
2222     if test -n "$ac_subst_files"; then
2223       $as_echo "## ------------------- ##
2224 ## File substitutions. ##
2225 ## ------------------- ##"
2226       echo
2227       for ac_var in $ac_subst_files
2228       do
2229         eval ac_val=\$$ac_var
2230         case $ac_val in
2231         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2232         esac
2233         $as_echo "$ac_var='\''$ac_val'\''"
2234       done | sort
2235       echo
2236     fi
2237
2238     if test -s confdefs.h; then
2239       $as_echo "## ----------- ##
2240 ## confdefs.h. ##
2241 ## ----------- ##"
2242       echo
2243       cat confdefs.h
2244       echo
2245     fi
2246     test "$ac_signal" != 0 &&
2247       $as_echo "$as_me: caught signal $ac_signal"
2248     $as_echo "$as_me: exit $exit_status"
2249   } >&5
2250   rm -f core *.core core.conftest.* &&
2251     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2252     exit $exit_status
2253 ' 0
2254 for ac_signal in 1 2 13 15; do
2255   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2256 done
2257 ac_signal=0
2258
2259 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2260 rm -f -r conftest* confdefs.h
2261
2262 $as_echo "/* confdefs.h */" > confdefs.h
2263
2264 # Predefined preprocessor variables.
2265
2266 cat >>confdefs.h <<_ACEOF
2267 #define PACKAGE_NAME "$PACKAGE_NAME"
2268 _ACEOF
2269
2270 cat >>confdefs.h <<_ACEOF
2271 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2272 _ACEOF
2273
2274 cat >>confdefs.h <<_ACEOF
2275 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2276 _ACEOF
2277
2278 cat >>confdefs.h <<_ACEOF
2279 #define PACKAGE_STRING "$PACKAGE_STRING"
2280 _ACEOF
2281
2282 cat >>confdefs.h <<_ACEOF
2283 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2284 _ACEOF
2285
2286 cat >>confdefs.h <<_ACEOF
2287 #define PACKAGE_URL "$PACKAGE_URL"
2288 _ACEOF
2289
2290
2291 # Let the site file select an alternate cache file if it wants to.
2292 # Prefer an explicitly selected file to automatically selected ones.
2293 ac_site_file1=NONE
2294 ac_site_file2=NONE
2295 if test -n "$CONFIG_SITE"; then
2296   # We do not want a PATH search for config.site.
2297   case $CONFIG_SITE in #((
2298     -*)  ac_site_file1=./$CONFIG_SITE;;
2299     */*) ac_site_file1=$CONFIG_SITE;;
2300     *)   ac_site_file1=./$CONFIG_SITE;;
2301   esac
2302 elif test "x$prefix" != xNONE; then
2303   ac_site_file1=$prefix/share/config.site
2304   ac_site_file2=$prefix/etc/config.site
2305 else
2306   ac_site_file1=$ac_default_prefix/share/config.site
2307   ac_site_file2=$ac_default_prefix/etc/config.site
2308 fi
2309 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2310 do
2311   test "x$ac_site_file" = xNONE && continue
2312   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2313     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2314 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2315     sed 's/^/| /' "$ac_site_file" >&5
2316     . "$ac_site_file" \
2317       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2319 as_fn_error $? "failed to load site script $ac_site_file
2320 See \`config.log' for more details" "$LINENO" 5; }
2321   fi
2322 done
2323
2324 if test -r "$cache_file"; then
2325   # Some versions of bash will fail to source /dev/null (special files
2326   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2327   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2328     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2329 $as_echo "$as_me: loading cache $cache_file" >&6;}
2330     case $cache_file in
2331       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2332       *)                      . "./$cache_file";;
2333     esac
2334   fi
2335 else
2336   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2337 $as_echo "$as_me: creating cache $cache_file" >&6;}
2338   >$cache_file
2339 fi
2340
2341 # Check that the precious variables saved in the cache have kept the same
2342 # value.
2343 ac_cache_corrupted=false
2344 for ac_var in $ac_precious_vars; do
2345   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2346   eval ac_new_set=\$ac_env_${ac_var}_set
2347   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2348   eval ac_new_val=\$ac_env_${ac_var}_value
2349   case $ac_old_set,$ac_new_set in
2350     set,)
2351       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2352 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2353       ac_cache_corrupted=: ;;
2354     ,set)
2355       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2356 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2357       ac_cache_corrupted=: ;;
2358     ,);;
2359     *)
2360       if test "x$ac_old_val" != "x$ac_new_val"; then
2361         # differences in whitespace do not lead to failure.
2362         ac_old_val_w=`echo x $ac_old_val`
2363         ac_new_val_w=`echo x $ac_new_val`
2364         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2365           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2366 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2367           ac_cache_corrupted=:
2368         else
2369           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2370 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2371           eval $ac_var=\$ac_old_val
2372         fi
2373         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2374 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2375         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2376 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2377       fi;;
2378   esac
2379   # Pass precious variables to config.status.
2380   if test "$ac_new_set" = set; then
2381     case $ac_new_val in
2382     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2383     *) ac_arg=$ac_var=$ac_new_val ;;
2384     esac
2385     case " $ac_configure_args " in
2386       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2387       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2388     esac
2389   fi
2390 done
2391 if $ac_cache_corrupted; then
2392   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2394   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2395 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2396   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2397 fi
2398 ## -------------------- ##
2399 ## Main body of script. ##
2400 ## -------------------- ##
2401
2402 ac_ext=c
2403 ac_cpp='$CPP $CPPFLAGS'
2404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2407
2408
2409
2410
2411
2412 ac_aux_dir=
2413 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2414   if test -f "$ac_dir/install-sh"; then
2415     ac_aux_dir=$ac_dir
2416     ac_install_sh="$ac_aux_dir/install-sh -c"
2417     break
2418   elif test -f "$ac_dir/install.sh"; then
2419     ac_aux_dir=$ac_dir
2420     ac_install_sh="$ac_aux_dir/install.sh -c"
2421     break
2422   elif test -f "$ac_dir/shtool"; then
2423     ac_aux_dir=$ac_dir
2424     ac_install_sh="$ac_aux_dir/shtool install -c"
2425     break
2426   fi
2427 done
2428 if test -z "$ac_aux_dir"; then
2429   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2430 fi
2431
2432 # These three variables are undocumented and unsupported,
2433 # and are intended to be withdrawn in a future Autoconf release.
2434 # They can cause serious problems if a builder's source tree is in a directory
2435 # whose full name contains unusual characters.
2436 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2437 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2438 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2439
2440
2441 # Make sure we can run config.sub.
2442 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2443   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2444
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2446 $as_echo_n "checking build system type... " >&6; }
2447 if ${ac_cv_build+:} false; then :
2448   $as_echo_n "(cached) " >&6
2449 else
2450   ac_build_alias=$build_alias
2451 test "x$ac_build_alias" = x &&
2452   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2453 test "x$ac_build_alias" = x &&
2454   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2455 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2456   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2457
2458 fi
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2460 $as_echo "$ac_cv_build" >&6; }
2461 case $ac_cv_build in
2462 *-*-*) ;;
2463 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2464 esac
2465 build=$ac_cv_build
2466 ac_save_IFS=$IFS; IFS='-'
2467 set x $ac_cv_build
2468 shift
2469 build_cpu=$1
2470 build_vendor=$2
2471 shift; shift
2472 # Remember, the first character of IFS is used to create $*,
2473 # except with old shells:
2474 build_os=$*
2475 IFS=$ac_save_IFS
2476 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2477
2478
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2480 $as_echo_n "checking host system type... " >&6; }
2481 if ${ac_cv_host+:} false; then :
2482   $as_echo_n "(cached) " >&6
2483 else
2484   if test "x$host_alias" = x; then
2485   ac_cv_host=$ac_cv_build
2486 else
2487   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2488     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2489 fi
2490
2491 fi
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2493 $as_echo "$ac_cv_host" >&6; }
2494 case $ac_cv_host in
2495 *-*-*) ;;
2496 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2497 esac
2498 host=$ac_cv_host
2499 ac_save_IFS=$IFS; IFS='-'
2500 set x $ac_cv_host
2501 shift
2502 host_cpu=$1
2503 host_vendor=$2
2504 shift; shift
2505 # Remember, the first character of IFS is used to create $*,
2506 # except with old shells:
2507 host_os=$*
2508 IFS=$ac_save_IFS
2509 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2510
2511
2512 ac_ext=c
2513 ac_cpp='$CPP $CPPFLAGS'
2514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2517 if test -n "$ac_tool_prefix"; then
2518   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2519 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2521 $as_echo_n "checking for $ac_word... " >&6; }
2522 if ${ac_cv_prog_CC+:} false; then :
2523   $as_echo_n "(cached) " >&6
2524 else
2525   if test -n "$CC"; then
2526   ac_cv_prog_CC="$CC" # Let the user override the test.
2527 else
2528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2529 for as_dir in $PATH
2530 do
2531   IFS=$as_save_IFS
2532   test -z "$as_dir" && as_dir=.
2533     for ac_exec_ext in '' $ac_executable_extensions; do
2534   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2535     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2536     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2537     break 2
2538   fi
2539 done
2540   done
2541 IFS=$as_save_IFS
2542
2543 fi
2544 fi
2545 CC=$ac_cv_prog_CC
2546 if test -n "$CC"; then
2547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2548 $as_echo "$CC" >&6; }
2549 else
2550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2551 $as_echo "no" >&6; }
2552 fi
2553
2554
2555 fi
2556 if test -z "$ac_cv_prog_CC"; then
2557   ac_ct_CC=$CC
2558   # Extract the first word of "gcc", so it can be a program name with args.
2559 set dummy gcc; ac_word=$2
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2561 $as_echo_n "checking for $ac_word... " >&6; }
2562 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2563   $as_echo_n "(cached) " >&6
2564 else
2565   if test -n "$ac_ct_CC"; then
2566   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2567 else
2568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2569 for as_dir in $PATH
2570 do
2571   IFS=$as_save_IFS
2572   test -z "$as_dir" && as_dir=.
2573     for ac_exec_ext in '' $ac_executable_extensions; do
2574   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2575     ac_cv_prog_ac_ct_CC="gcc"
2576     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2577     break 2
2578   fi
2579 done
2580   done
2581 IFS=$as_save_IFS
2582
2583 fi
2584 fi
2585 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2586 if test -n "$ac_ct_CC"; then
2587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2588 $as_echo "$ac_ct_CC" >&6; }
2589 else
2590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2591 $as_echo "no" >&6; }
2592 fi
2593
2594   if test "x$ac_ct_CC" = x; then
2595     CC=""
2596   else
2597     case $cross_compiling:$ac_tool_warned in
2598 yes:)
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2600 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2601 ac_tool_warned=yes ;;
2602 esac
2603     CC=$ac_ct_CC
2604   fi
2605 else
2606   CC="$ac_cv_prog_CC"
2607 fi
2608
2609 if test -z "$CC"; then
2610           if test -n "$ac_tool_prefix"; then
2611     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2612 set dummy ${ac_tool_prefix}cc; ac_word=$2
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2614 $as_echo_n "checking for $ac_word... " >&6; }
2615 if ${ac_cv_prog_CC+:} false; then :
2616   $as_echo_n "(cached) " >&6
2617 else
2618   if test -n "$CC"; then
2619   ac_cv_prog_CC="$CC" # Let the user override the test.
2620 else
2621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2622 for as_dir in $PATH
2623 do
2624   IFS=$as_save_IFS
2625   test -z "$as_dir" && as_dir=.
2626     for ac_exec_ext in '' $ac_executable_extensions; do
2627   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2628     ac_cv_prog_CC="${ac_tool_prefix}cc"
2629     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2630     break 2
2631   fi
2632 done
2633   done
2634 IFS=$as_save_IFS
2635
2636 fi
2637 fi
2638 CC=$ac_cv_prog_CC
2639 if test -n "$CC"; then
2640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2641 $as_echo "$CC" >&6; }
2642 else
2643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2644 $as_echo "no" >&6; }
2645 fi
2646
2647
2648   fi
2649 fi
2650 if test -z "$CC"; then
2651   # Extract the first word of "cc", so it can be a program name with args.
2652 set dummy cc; ac_word=$2
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2654 $as_echo_n "checking for $ac_word... " >&6; }
2655 if ${ac_cv_prog_CC+:} false; then :
2656   $as_echo_n "(cached) " >&6
2657 else
2658   if test -n "$CC"; then
2659   ac_cv_prog_CC="$CC" # Let the user override the test.
2660 else
2661   ac_prog_rejected=no
2662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2663 for as_dir in $PATH
2664 do
2665   IFS=$as_save_IFS
2666   test -z "$as_dir" && as_dir=.
2667     for ac_exec_ext in '' $ac_executable_extensions; do
2668   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2669     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2670        ac_prog_rejected=yes
2671        continue
2672      fi
2673     ac_cv_prog_CC="cc"
2674     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2675     break 2
2676   fi
2677 done
2678   done
2679 IFS=$as_save_IFS
2680
2681 if test $ac_prog_rejected = yes; then
2682   # We found a bogon in the path, so make sure we never use it.
2683   set dummy $ac_cv_prog_CC
2684   shift
2685   if test $# != 0; then
2686     # We chose a different compiler from the bogus one.
2687     # However, it has the same basename, so the bogon will be chosen
2688     # first if we set CC to just the basename; use the full file name.
2689     shift
2690     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2691   fi
2692 fi
2693 fi
2694 fi
2695 CC=$ac_cv_prog_CC
2696 if test -n "$CC"; then
2697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2698 $as_echo "$CC" >&6; }
2699 else
2700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2701 $as_echo "no" >&6; }
2702 fi
2703
2704
2705 fi
2706 if test -z "$CC"; then
2707   if test -n "$ac_tool_prefix"; then
2708   for ac_prog in cl.exe
2709   do
2710     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2711 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2713 $as_echo_n "checking for $ac_word... " >&6; }
2714 if ${ac_cv_prog_CC+:} false; then :
2715   $as_echo_n "(cached) " >&6
2716 else
2717   if test -n "$CC"; then
2718   ac_cv_prog_CC="$CC" # Let the user override the test.
2719 else
2720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2721 for as_dir in $PATH
2722 do
2723   IFS=$as_save_IFS
2724   test -z "$as_dir" && as_dir=.
2725     for ac_exec_ext in '' $ac_executable_extensions; do
2726   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2727     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2728     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2729     break 2
2730   fi
2731 done
2732   done
2733 IFS=$as_save_IFS
2734
2735 fi
2736 fi
2737 CC=$ac_cv_prog_CC
2738 if test -n "$CC"; then
2739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2740 $as_echo "$CC" >&6; }
2741 else
2742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2743 $as_echo "no" >&6; }
2744 fi
2745
2746
2747     test -n "$CC" && break
2748   done
2749 fi
2750 if test -z "$CC"; then
2751   ac_ct_CC=$CC
2752   for ac_prog in cl.exe
2753 do
2754   # Extract the first word of "$ac_prog", so it can be a program name with args.
2755 set dummy $ac_prog; ac_word=$2
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2757 $as_echo_n "checking for $ac_word... " >&6; }
2758 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2759   $as_echo_n "(cached) " >&6
2760 else
2761   if test -n "$ac_ct_CC"; then
2762   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2763 else
2764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2765 for as_dir in $PATH
2766 do
2767   IFS=$as_save_IFS
2768   test -z "$as_dir" && as_dir=.
2769     for ac_exec_ext in '' $ac_executable_extensions; do
2770   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2771     ac_cv_prog_ac_ct_CC="$ac_prog"
2772     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2773     break 2
2774   fi
2775 done
2776   done
2777 IFS=$as_save_IFS
2778
2779 fi
2780 fi
2781 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2782 if test -n "$ac_ct_CC"; then
2783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2784 $as_echo "$ac_ct_CC" >&6; }
2785 else
2786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2787 $as_echo "no" >&6; }
2788 fi
2789
2790
2791   test -n "$ac_ct_CC" && break
2792 done
2793
2794   if test "x$ac_ct_CC" = x; then
2795     CC=""
2796   else
2797     case $cross_compiling:$ac_tool_warned in
2798 yes:)
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2800 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2801 ac_tool_warned=yes ;;
2802 esac
2803     CC=$ac_ct_CC
2804   fi
2805 fi
2806
2807 fi
2808
2809
2810 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2812 as_fn_error $? "no acceptable C compiler found in \$PATH
2813 See \`config.log' for more details" "$LINENO" 5; }
2814
2815 # Provide some information about the compiler.
2816 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2817 set X $ac_compile
2818 ac_compiler=$2
2819 for ac_option in --version -v -V -qversion; do
2820   { { ac_try="$ac_compiler $ac_option >&5"
2821 case "(($ac_try" in
2822   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2823   *) ac_try_echo=$ac_try;;
2824 esac
2825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2826 $as_echo "$ac_try_echo"; } >&5
2827   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2828   ac_status=$?
2829   if test -s conftest.err; then
2830     sed '10a\
2831 ... rest of stderr output deleted ...
2832          10q' conftest.err >conftest.er1
2833     cat conftest.er1 >&5
2834   fi
2835   rm -f conftest.er1 conftest.err
2836   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2837   test $ac_status = 0; }
2838 done
2839
2840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2841 /* end confdefs.h.  */
2842
2843 int
2844 main ()
2845 {
2846
2847   ;
2848   return 0;
2849 }
2850 _ACEOF
2851 ac_clean_files_save=$ac_clean_files
2852 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2853 # Try to create an executable without -o first, disregard a.out.
2854 # It will help us diagnose broken compilers, and finding out an intuition
2855 # of exeext.
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2857 $as_echo_n "checking whether the C compiler works... " >&6; }
2858 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2859
2860 # The possible output files:
2861 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2862
2863 ac_rmfiles=
2864 for ac_file in $ac_files
2865 do
2866   case $ac_file in
2867     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2868     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2869   esac
2870 done
2871 rm -f $ac_rmfiles
2872
2873 if { { ac_try="$ac_link_default"
2874 case "(($ac_try" in
2875   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2876   *) ac_try_echo=$ac_try;;
2877 esac
2878 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2879 $as_echo "$ac_try_echo"; } >&5
2880   (eval "$ac_link_default") 2>&5
2881   ac_status=$?
2882   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2883   test $ac_status = 0; }; then :
2884   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2885 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2886 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2887 # so that the user can short-circuit this test for compilers unknown to
2888 # Autoconf.
2889 for ac_file in $ac_files ''
2890 do
2891   test -f "$ac_file" || continue
2892   case $ac_file in
2893     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2894         ;;
2895     [ab].out )
2896         # We found the default executable, but exeext='' is most
2897         # certainly right.
2898         break;;
2899     *.* )
2900         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2901         then :; else
2902            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2903         fi
2904         # We set ac_cv_exeext here because the later test for it is not
2905         # safe: cross compilers may not add the suffix if given an `-o'
2906         # argument, so we may need to know it at that point already.
2907         # Even if this section looks crufty: it has the advantage of
2908         # actually working.
2909         break;;
2910     * )
2911         break;;
2912   esac
2913 done
2914 test "$ac_cv_exeext" = no && ac_cv_exeext=
2915
2916 else
2917   ac_file=''
2918 fi
2919 if test -z "$ac_file"; then :
2920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2921 $as_echo "no" >&6; }
2922 $as_echo "$as_me: failed program was:" >&5
2923 sed 's/^/| /' conftest.$ac_ext >&5
2924
2925 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2926 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2927 as_fn_error 77 "C compiler cannot create executables
2928 See \`config.log' for more details" "$LINENO" 5; }
2929 else
2930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2931 $as_echo "yes" >&6; }
2932 fi
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2934 $as_echo_n "checking for C compiler default output file name... " >&6; }
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2936 $as_echo "$ac_file" >&6; }
2937 ac_exeext=$ac_cv_exeext
2938
2939 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2940 ac_clean_files=$ac_clean_files_save
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2942 $as_echo_n "checking for suffix of executables... " >&6; }
2943 if { { ac_try="$ac_link"
2944 case "(($ac_try" in
2945   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2946   *) ac_try_echo=$ac_try;;
2947 esac
2948 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2949 $as_echo "$ac_try_echo"; } >&5
2950   (eval "$ac_link") 2>&5
2951   ac_status=$?
2952   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2953   test $ac_status = 0; }; then :
2954   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2955 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2956 # work properly (i.e., refer to `conftest.exe'), while it won't with
2957 # `rm'.
2958 for ac_file in conftest.exe conftest conftest.*; do
2959   test -f "$ac_file" || continue
2960   case $ac_file in
2961     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2962     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2963           break;;
2964     * ) break;;
2965   esac
2966 done
2967 else
2968   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2969 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2970 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2971 See \`config.log' for more details" "$LINENO" 5; }
2972 fi
2973 rm -f conftest conftest$ac_cv_exeext
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2975 $as_echo "$ac_cv_exeext" >&6; }
2976
2977 rm -f conftest.$ac_ext
2978 EXEEXT=$ac_cv_exeext
2979 ac_exeext=$EXEEXT
2980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2981 /* end confdefs.h.  */
2982 #include <stdio.h>
2983 int
2984 main ()
2985 {
2986 FILE *f = fopen ("conftest.out", "w");
2987  return ferror (f) || fclose (f) != 0;
2988
2989   ;
2990   return 0;
2991 }
2992 _ACEOF
2993 ac_clean_files="$ac_clean_files conftest.out"
2994 # Check that the compiler produces executables we can run.  If not, either
2995 # the compiler is broken, or we cross compile.
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2997 $as_echo_n "checking whether we are cross compiling... " >&6; }
2998 if test "$cross_compiling" != yes; then
2999   { { ac_try="$ac_link"
3000 case "(($ac_try" in
3001   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3002   *) ac_try_echo=$ac_try;;
3003 esac
3004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3005 $as_echo "$ac_try_echo"; } >&5
3006   (eval "$ac_link") 2>&5
3007   ac_status=$?
3008   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3009   test $ac_status = 0; }
3010   if { ac_try='./conftest$ac_cv_exeext'
3011   { { case "(($ac_try" in
3012   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3013   *) ac_try_echo=$ac_try;;
3014 esac
3015 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3016 $as_echo "$ac_try_echo"; } >&5
3017   (eval "$ac_try") 2>&5
3018   ac_status=$?
3019   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3020   test $ac_status = 0; }; }; then
3021     cross_compiling=no
3022   else
3023     if test "$cross_compiling" = maybe; then
3024         cross_compiling=yes
3025     else
3026         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3027 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3028 as_fn_error $? "cannot run C compiled programs.
3029 If you meant to cross compile, use \`--host'.
3030 See \`config.log' for more details" "$LINENO" 5; }
3031     fi
3032   fi
3033 fi
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3035 $as_echo "$cross_compiling" >&6; }
3036
3037 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3038 ac_clean_files=$ac_clean_files_save
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3040 $as_echo_n "checking for suffix of object files... " >&6; }
3041 if ${ac_cv_objext+:} false; then :
3042   $as_echo_n "(cached) " >&6
3043 else
3044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3045 /* end confdefs.h.  */
3046
3047 int
3048 main ()
3049 {
3050
3051   ;
3052   return 0;
3053 }
3054 _ACEOF
3055 rm -f conftest.o conftest.obj
3056 if { { ac_try="$ac_compile"
3057 case "(($ac_try" in
3058   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3059   *) ac_try_echo=$ac_try;;
3060 esac
3061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3062 $as_echo "$ac_try_echo"; } >&5
3063   (eval "$ac_compile") 2>&5
3064   ac_status=$?
3065   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3066   test $ac_status = 0; }; then :
3067   for ac_file in conftest.o conftest.obj conftest.*; do
3068   test -f "$ac_file" || continue;
3069   case $ac_file in
3070     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3071     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3072        break;;
3073   esac
3074 done
3075 else
3076   $as_echo "$as_me: failed program was:" >&5
3077 sed 's/^/| /' conftest.$ac_ext >&5
3078
3079 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3081 as_fn_error $? "cannot compute suffix of object files: cannot compile
3082 See \`config.log' for more details" "$LINENO" 5; }
3083 fi
3084 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3085 fi
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3087 $as_echo "$ac_cv_objext" >&6; }
3088 OBJEXT=$ac_cv_objext
3089 ac_objext=$OBJEXT
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3091 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3092 if ${ac_cv_c_compiler_gnu+:} false; then :
3093   $as_echo_n "(cached) " >&6
3094 else
3095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3096 /* end confdefs.h.  */
3097
3098 int
3099 main ()
3100 {
3101 #ifndef __GNUC__
3102        choke me
3103 #endif
3104
3105   ;
3106   return 0;
3107 }
3108 _ACEOF
3109 if ac_fn_c_try_compile "$LINENO"; then :
3110   ac_compiler_gnu=yes
3111 else
3112   ac_compiler_gnu=no
3113 fi
3114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3115 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3116
3117 fi
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3119 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3120 if test $ac_compiler_gnu = yes; then
3121   GCC=yes
3122 else
3123   GCC=
3124 fi
3125 ac_test_CFLAGS=${CFLAGS+set}
3126 ac_save_CFLAGS=$CFLAGS
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3128 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3129 if ${ac_cv_prog_cc_g+:} false; then :
3130   $as_echo_n "(cached) " >&6
3131 else
3132   ac_save_c_werror_flag=$ac_c_werror_flag
3133    ac_c_werror_flag=yes
3134    ac_cv_prog_cc_g=no
3135    CFLAGS="-g"
3136    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3137 /* end confdefs.h.  */
3138
3139 int
3140 main ()
3141 {
3142
3143   ;
3144   return 0;
3145 }
3146 _ACEOF
3147 if ac_fn_c_try_compile "$LINENO"; then :
3148   ac_cv_prog_cc_g=yes
3149 else
3150   CFLAGS=""
3151       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3152 /* end confdefs.h.  */
3153
3154 int
3155 main ()
3156 {
3157
3158   ;
3159   return 0;
3160 }
3161 _ACEOF
3162 if ac_fn_c_try_compile "$LINENO"; then :
3163
3164 else
3165   ac_c_werror_flag=$ac_save_c_werror_flag
3166          CFLAGS="-g"
3167          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3168 /* end confdefs.h.  */
3169
3170 int
3171 main ()
3172 {
3173
3174   ;
3175   return 0;
3176 }
3177 _ACEOF
3178 if ac_fn_c_try_compile "$LINENO"; then :
3179   ac_cv_prog_cc_g=yes
3180 fi
3181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3182 fi
3183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3184 fi
3185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3186    ac_c_werror_flag=$ac_save_c_werror_flag
3187 fi
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3189 $as_echo "$ac_cv_prog_cc_g" >&6; }
3190 if test "$ac_test_CFLAGS" = set; then
3191   CFLAGS=$ac_save_CFLAGS
3192 elif test $ac_cv_prog_cc_g = yes; then
3193   if test "$GCC" = yes; then
3194     CFLAGS="-g -O2"
3195   else
3196     CFLAGS="-g"
3197   fi
3198 else
3199   if test "$GCC" = yes; then
3200     CFLAGS="-O2"
3201   else
3202     CFLAGS=
3203   fi
3204 fi
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3206 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3207 if ${ac_cv_prog_cc_c89+:} false; then :
3208   $as_echo_n "(cached) " >&6
3209 else
3210   ac_cv_prog_cc_c89=no
3211 ac_save_CC=$CC
3212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3213 /* end confdefs.h.  */
3214 #include <stdarg.h>
3215 #include <stdio.h>
3216 #include <sys/types.h>
3217 #include <sys/stat.h>
3218 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3219 struct buf { int x; };
3220 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3221 static char *e (p, i)
3222      char **p;
3223      int i;
3224 {
3225   return p[i];
3226 }
3227 static char *f (char * (*g) (char **, int), char **p, ...)
3228 {
3229   char *s;
3230   va_list v;
3231   va_start (v,p);
3232   s = g (p, va_arg (v,int));
3233   va_end (v);
3234   return s;
3235 }
3236
3237 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3238    function prototypes and stuff, but not '\xHH' hex character constants.
3239    These don't provoke an error unfortunately, instead are silently treated
3240    as 'x'.  The following induces an error, until -std is added to get
3241    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3242    array size at least.  It's necessary to write '\x00'==0 to get something
3243    that's true only with -std.  */
3244 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3245
3246 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3247    inside strings and character constants.  */
3248 #define FOO(x) 'x'
3249 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3250
3251 int test (int i, double x);
3252 struct s1 {int (*f) (int a);};
3253 struct s2 {int (*f) (double a);};
3254 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3255 int argc;
3256 char **argv;
3257 int
3258 main ()
3259 {
3260 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3261   ;
3262   return 0;
3263 }
3264 _ACEOF
3265 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3266         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3267 do
3268   CC="$ac_save_CC $ac_arg"
3269   if ac_fn_c_try_compile "$LINENO"; then :
3270   ac_cv_prog_cc_c89=$ac_arg
3271 fi
3272 rm -f core conftest.err conftest.$ac_objext
3273   test "x$ac_cv_prog_cc_c89" != "xno" && break
3274 done
3275 rm -f conftest.$ac_ext
3276 CC=$ac_save_CC
3277
3278 fi
3279 # AC_CACHE_VAL
3280 case "x$ac_cv_prog_cc_c89" in
3281   x)
3282     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3283 $as_echo "none needed" >&6; } ;;
3284   xno)
3285     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3286 $as_echo "unsupported" >&6; } ;;
3287   *)
3288     CC="$CC $ac_cv_prog_cc_c89"
3289     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3290 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3291 esac
3292 if test "x$ac_cv_prog_cc_c89" != xno; then :
3293
3294 fi
3295
3296 ac_ext=c
3297 ac_cpp='$CPP $CPPFLAGS'
3298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3301
3302
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3304 $as_echo_n "checking for library containing strerror... " >&6; }
3305 if ${ac_cv_search_strerror+:} false; then :
3306   $as_echo_n "(cached) " >&6
3307 else
3308   ac_func_search_save_LIBS=$LIBS
3309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3310 /* end confdefs.h.  */
3311
3312 /* Override any GCC internal prototype to avoid an error.
3313    Use char because int might match the return type of a GCC
3314    builtin and then its argument prototype would still apply.  */
3315 #ifdef __cplusplus
3316 extern "C"
3317 #endif
3318 char strerror ();
3319 int
3320 main ()
3321 {
3322 return strerror ();
3323   ;
3324   return 0;
3325 }
3326 _ACEOF
3327 for ac_lib in '' cposix; do
3328   if test -z "$ac_lib"; then
3329     ac_res="none required"
3330   else
3331     ac_res=-l$ac_lib
3332     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3333   fi
3334   if ac_fn_c_try_link "$LINENO"; then :
3335   ac_cv_search_strerror=$ac_res
3336 fi
3337 rm -f core conftest.err conftest.$ac_objext \
3338     conftest$ac_exeext
3339   if ${ac_cv_search_strerror+:} false; then :
3340   break
3341 fi
3342 done
3343 if ${ac_cv_search_strerror+:} false; then :
3344
3345 else
3346   ac_cv_search_strerror=no
3347 fi
3348 rm conftest.$ac_ext
3349 LIBS=$ac_func_search_save_LIBS
3350 fi
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3352 $as_echo "$ac_cv_search_strerror" >&6; }
3353 ac_res=$ac_cv_search_strerror
3354 if test "$ac_res" != no; then :
3355   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3356
3357 fi
3358
3359
3360 am__api_version='1.11'
3361
3362 # Find a good install program.  We prefer a C program (faster),
3363 # so one script is as good as another.  But avoid the broken or
3364 # incompatible versions:
3365 # SysV /etc/install, /usr/sbin/install
3366 # SunOS /usr/etc/install
3367 # IRIX /sbin/install
3368 # AIX /bin/install
3369 # AmigaOS /C/install, which installs bootblocks on floppy discs
3370 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3371 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3372 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3373 # OS/2's system install, which has a completely different semantic
3374 # ./install, which can be erroneously created by make from ./install.sh.
3375 # Reject install programs that cannot install multiple files.
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3377 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3378 if test -z "$INSTALL"; then
3379 if ${ac_cv_path_install+:} false; then :
3380   $as_echo_n "(cached) " >&6
3381 else
3382   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3383 for as_dir in $PATH
3384 do
3385   IFS=$as_save_IFS
3386   test -z "$as_dir" && as_dir=.
3387     # Account for people who put trailing slashes in PATH elements.
3388 case $as_dir/ in #((
3389   ./ | .// | /[cC]/* | \
3390   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3391   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3392   /usr/ucb/* ) ;;
3393   *)
3394     # OSF1 and SCO ODT 3.0 have their own names for install.
3395     # Don't use installbsd from OSF since it installs stuff as root
3396     # by default.
3397     for ac_prog in ginstall scoinst install; do
3398       for ac_exec_ext in '' $ac_executable_extensions; do
3399         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3400           if test $ac_prog = install &&
3401             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3402             # AIX install.  It has an incompatible calling convention.
3403             :
3404           elif test $ac_prog = install &&
3405             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3406             # program-specific install script used by HP pwplus--don't use.
3407             :
3408           else
3409             rm -rf conftest.one conftest.two conftest.dir
3410             echo one > conftest.one
3411             echo two > conftest.two
3412             mkdir conftest.dir
3413             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3414               test -s conftest.one && test -s conftest.two &&
3415               test -s conftest.dir/conftest.one &&
3416               test -s conftest.dir/conftest.two
3417             then
3418               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3419               break 3
3420             fi
3421           fi
3422         fi
3423       done
3424     done
3425     ;;
3426 esac
3427
3428   done
3429 IFS=$as_save_IFS
3430
3431 rm -rf conftest.one conftest.two conftest.dir
3432
3433 fi
3434   if test "${ac_cv_path_install+set}" = set; then
3435     INSTALL=$ac_cv_path_install
3436   else
3437     # As a last resort, use the slow shell script.  Don't cache a
3438     # value for INSTALL within a source directory, because that will
3439     # break other packages using the cache if that directory is
3440     # removed, or if the value is a relative name.
3441     INSTALL=$ac_install_sh
3442   fi
3443 fi
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3445 $as_echo "$INSTALL" >&6; }
3446
3447 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3448 # It thinks the first close brace ends the variable substitution.
3449 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3450
3451 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3452
3453 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3454
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3456 $as_echo_n "checking whether build environment is sane... " >&6; }
3457 # Just in case
3458 sleep 1
3459 echo timestamp > conftest.file
3460 # Reject unsafe characters in $srcdir or the absolute working directory
3461 # name.  Accept space and tab only in the latter.
3462 am_lf='
3463 '
3464 case `pwd` in
3465   *[\\\"\#\$\&\'\`$am_lf]*)
3466     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3467 esac
3468 case $srcdir in
3469   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3470     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3471 esac
3472
3473 # Do `set' in a subshell so we don't clobber the current shell's
3474 # arguments.  Must try -L first in case configure is actually a
3475 # symlink; some systems play weird games with the mod time of symlinks
3476 # (eg FreeBSD returns the mod time of the symlink's containing
3477 # directory).
3478 if (
3479    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3480    if test "$*" = "X"; then
3481       # -L didn't work.
3482       set X `ls -t "$srcdir/configure" conftest.file`
3483    fi
3484    rm -f conftest.file
3485    if test "$*" != "X $srcdir/configure conftest.file" \
3486       && test "$*" != "X conftest.file $srcdir/configure"; then
3487
3488       # If neither matched, then we have a broken ls.  This can happen
3489       # if, for instance, CONFIG_SHELL is bash and it inherits a
3490       # broken ls alias from the environment.  This has actually
3491       # happened.  Such a system could not be considered "sane".
3492       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3493 alias in your environment" "$LINENO" 5
3494    fi
3495
3496    test "$2" = conftest.file
3497    )
3498 then
3499    # Ok.
3500    :
3501 else
3502    as_fn_error $? "newly created file is older than distributed files!
3503 Check your system clock" "$LINENO" 5
3504 fi
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3506 $as_echo "yes" >&6; }
3507 test "$program_prefix" != NONE &&
3508   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3509 # Use a double $ so make ignores it.
3510 test "$program_suffix" != NONE &&
3511   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3512 # Double any \ or $.
3513 # By default was `s,x,x', remove it if useless.
3514 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3515 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3516
3517 # expand $ac_aux_dir to an absolute path
3518 am_aux_dir=`cd $ac_aux_dir && pwd`
3519
3520 if test x"${MISSING+set}" != xset; then
3521   case $am_aux_dir in
3522   *\ * | *\     *)
3523     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3524   *)
3525     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3526   esac
3527 fi
3528 # Use eval to expand $SHELL
3529 if eval "$MISSING --run true"; then
3530   am_missing_run="$MISSING --run "
3531 else
3532   am_missing_run=
3533   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3534 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3535 fi
3536
3537 if test x"${install_sh}" != xset; then
3538   case $am_aux_dir in
3539   *\ * | *\     *)
3540     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3541   *)
3542     install_sh="\${SHELL} $am_aux_dir/install-sh"
3543   esac
3544 fi
3545
3546 # Installed binaries are usually stripped using `strip' when the user
3547 # run `make install-strip'.  However `strip' might not be the right
3548 # tool to use in cross-compilation environments, therefore Automake
3549 # will honor the `STRIP' environment variable to overrule this program.
3550 if test "$cross_compiling" != no; then
3551   if test -n "$ac_tool_prefix"; then
3552   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3553 set dummy ${ac_tool_prefix}strip; ac_word=$2
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3555 $as_echo_n "checking for $ac_word... " >&6; }
3556 if ${ac_cv_prog_STRIP+:} false; then :
3557   $as_echo_n "(cached) " >&6
3558 else
3559   if test -n "$STRIP"; then
3560   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3561 else
3562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3563 for as_dir in $PATH
3564 do
3565   IFS=$as_save_IFS
3566   test -z "$as_dir" && as_dir=.
3567     for ac_exec_ext in '' $ac_executable_extensions; do
3568   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3569     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3570     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3571     break 2
3572   fi
3573 done
3574   done
3575 IFS=$as_save_IFS
3576
3577 fi
3578 fi
3579 STRIP=$ac_cv_prog_STRIP
3580 if test -n "$STRIP"; then
3581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3582 $as_echo "$STRIP" >&6; }
3583 else
3584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3585 $as_echo "no" >&6; }
3586 fi
3587
3588
3589 fi
3590 if test -z "$ac_cv_prog_STRIP"; then
3591   ac_ct_STRIP=$STRIP
3592   # Extract the first word of "strip", so it can be a program name with args.
3593 set dummy strip; ac_word=$2
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3595 $as_echo_n "checking for $ac_word... " >&6; }
3596 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3597   $as_echo_n "(cached) " >&6
3598 else
3599   if test -n "$ac_ct_STRIP"; then
3600   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3601 else
3602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3603 for as_dir in $PATH
3604 do
3605   IFS=$as_save_IFS
3606   test -z "$as_dir" && as_dir=.
3607     for ac_exec_ext in '' $ac_executable_extensions; do
3608   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3609     ac_cv_prog_ac_ct_STRIP="strip"
3610     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3611     break 2
3612   fi
3613 done
3614   done
3615 IFS=$as_save_IFS
3616
3617 fi
3618 fi
3619 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3620 if test -n "$ac_ct_STRIP"; then
3621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3622 $as_echo "$ac_ct_STRIP" >&6; }
3623 else
3624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3625 $as_echo "no" >&6; }
3626 fi
3627
3628   if test "x$ac_ct_STRIP" = x; then
3629     STRIP=":"
3630   else
3631     case $cross_compiling:$ac_tool_warned in
3632 yes:)
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3635 ac_tool_warned=yes ;;
3636 esac
3637     STRIP=$ac_ct_STRIP
3638   fi
3639 else
3640   STRIP="$ac_cv_prog_STRIP"
3641 fi
3642
3643 fi
3644 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3645
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3647 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3648 if test -z "$MKDIR_P"; then
3649   if ${ac_cv_path_mkdir+:} false; then :
3650   $as_echo_n "(cached) " >&6
3651 else
3652   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3653 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3654 do
3655   IFS=$as_save_IFS
3656   test -z "$as_dir" && as_dir=.
3657     for ac_prog in mkdir gmkdir; do
3658          for ac_exec_ext in '' $ac_executable_extensions; do
3659            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3660            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3661              'mkdir (GNU coreutils) '* | \
3662              'mkdir (coreutils) '* | \
3663              'mkdir (fileutils) '4.1*)
3664                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3665                break 3;;
3666            esac
3667          done
3668        done
3669   done
3670 IFS=$as_save_IFS
3671
3672 fi
3673
3674   test -d ./--version && rmdir ./--version
3675   if test "${ac_cv_path_mkdir+set}" = set; then
3676     MKDIR_P="$ac_cv_path_mkdir -p"
3677   else
3678     # As a last resort, use the slow shell script.  Don't cache a
3679     # value for MKDIR_P within a source directory, because that will
3680     # break other packages using the cache if that directory is
3681     # removed, or if the value is a relative name.
3682     MKDIR_P="$ac_install_sh -d"
3683   fi
3684 fi
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3686 $as_echo "$MKDIR_P" >&6; }
3687
3688 mkdir_p="$MKDIR_P"
3689 case $mkdir_p in
3690   [\\/$]* | ?:[\\/]*) ;;
3691   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3692 esac
3693
3694 for ac_prog in gawk mawk nawk awk
3695 do
3696   # Extract the first word of "$ac_prog", so it can be a program name with args.
3697 set dummy $ac_prog; ac_word=$2
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3699 $as_echo_n "checking for $ac_word... " >&6; }
3700 if ${ac_cv_prog_AWK+:} false; then :
3701   $as_echo_n "(cached) " >&6
3702 else
3703   if test -n "$AWK"; then
3704   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3705 else
3706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3707 for as_dir in $PATH
3708 do
3709   IFS=$as_save_IFS
3710   test -z "$as_dir" && as_dir=.
3711     for ac_exec_ext in '' $ac_executable_extensions; do
3712   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3713     ac_cv_prog_AWK="$ac_prog"
3714     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3715     break 2
3716   fi
3717 done
3718   done
3719 IFS=$as_save_IFS
3720
3721 fi
3722 fi
3723 AWK=$ac_cv_prog_AWK
3724 if test -n "$AWK"; then
3725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3726 $as_echo "$AWK" >&6; }
3727 else
3728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3729 $as_echo "no" >&6; }
3730 fi
3731
3732
3733   test -n "$AWK" && break
3734 done
3735
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3737 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3738 set x ${MAKE-make}
3739 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3740 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3741   $as_echo_n "(cached) " >&6
3742 else
3743   cat >conftest.make <<\_ACEOF
3744 SHELL = /bin/sh
3745 all:
3746         @echo '@@@%%%=$(MAKE)=@@@%%%'
3747 _ACEOF
3748 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3749 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3750   *@@@%%%=?*=@@@%%%*)
3751     eval ac_cv_prog_make_${ac_make}_set=yes;;
3752   *)
3753     eval ac_cv_prog_make_${ac_make}_set=no;;
3754 esac
3755 rm -f conftest.make
3756 fi
3757 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3759 $as_echo "yes" >&6; }
3760   SET_MAKE=
3761 else
3762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3763 $as_echo "no" >&6; }
3764   SET_MAKE="MAKE=${MAKE-make}"
3765 fi
3766
3767 rm -rf .tst 2>/dev/null
3768 mkdir .tst 2>/dev/null
3769 if test -d .tst; then
3770   am__leading_dot=.
3771 else
3772   am__leading_dot=_
3773 fi
3774 rmdir .tst 2>/dev/null
3775
3776 DEPDIR="${am__leading_dot}deps"
3777
3778 ac_config_commands="$ac_config_commands depfiles"
3779
3780
3781 am_make=${MAKE-make}
3782 cat > confinc << 'END'
3783 am__doit:
3784         @echo this is the am__doit target
3785 .PHONY: am__doit
3786 END
3787 # If we don't find an include directive, just comment out the code.
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3789 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3790 am__include="#"
3791 am__quote=
3792 _am_result=none
3793 # First try GNU make style include.
3794 echo "include confinc" > confmf
3795 # Ignore all kinds of additional output from `make'.
3796 case `$am_make -s -f confmf 2> /dev/null` in #(
3797 *the\ am__doit\ target*)
3798   am__include=include
3799   am__quote=
3800   _am_result=GNU
3801   ;;
3802 esac
3803 # Now try BSD make style include.
3804 if test "$am__include" = "#"; then
3805    echo '.include "confinc"' > confmf
3806    case `$am_make -s -f confmf 2> /dev/null` in #(
3807    *the\ am__doit\ target*)
3808      am__include=.include
3809      am__quote="\""
3810      _am_result=BSD
3811      ;;
3812    esac
3813 fi
3814
3815
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3817 $as_echo "$_am_result" >&6; }
3818 rm -f confinc confmf
3819
3820 # Check whether --enable-dependency-tracking was given.
3821 if test "${enable_dependency_tracking+set}" = set; then :
3822   enableval=$enable_dependency_tracking;
3823 fi
3824
3825 if test "x$enable_dependency_tracking" != xno; then
3826   am_depcomp="$ac_aux_dir/depcomp"
3827   AMDEPBACKSLASH='\'
3828   am__nodep='_no'
3829 fi
3830  if test "x$enable_dependency_tracking" != xno; then
3831   AMDEP_TRUE=
3832   AMDEP_FALSE='#'
3833 else
3834   AMDEP_TRUE='#'
3835   AMDEP_FALSE=
3836 fi
3837
3838
3839 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3840   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3841   # is not polluted with repeated "-I."
3842   am__isrc=' -I$(srcdir)'
3843   # test to see if srcdir already configured
3844   if test -f $srcdir/config.status; then
3845     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3846   fi
3847 fi
3848
3849 # test whether we have cygpath
3850 if test -z "$CYGPATH_W"; then
3851   if (cygpath --version) >/dev/null 2>/dev/null; then
3852     CYGPATH_W='cygpath -w'
3853   else
3854     CYGPATH_W=echo
3855   fi
3856 fi
3857
3858
3859 # Define the identity of the package.
3860  PACKAGE='emotion'
3861  VERSION='1.7.3'
3862
3863
3864 cat >>confdefs.h <<_ACEOF
3865 #define PACKAGE "$PACKAGE"
3866 _ACEOF
3867
3868
3869 cat >>confdefs.h <<_ACEOF
3870 #define VERSION "$VERSION"
3871 _ACEOF
3872
3873 # Some tools Automake needs.
3874
3875 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3876
3877
3878 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3879
3880
3881 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3882
3883
3884 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3885
3886
3887 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3888
3889 # We need awk for the "check" target.  The system "awk" is bad on
3890 # some platforms.
3891 # Always define AMTAR for backward compatibility.  Yes, it's still used
3892 # in the wild :-(  We should find a proper way to deprecate it ...
3893 AMTAR='$${TAR-tar}'
3894
3895 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3896
3897
3898
3899
3900 depcc="$CC"   am_compiler_list=
3901
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3903 $as_echo_n "checking dependency style of $depcc... " >&6; }
3904 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3905   $as_echo_n "(cached) " >&6
3906 else
3907   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3908   # We make a subdir and do the tests there.  Otherwise we can end up
3909   # making bogus files that we don't know about and never remove.  For
3910   # instance it was reported that on HP-UX the gcc test will end up
3911   # making a dummy file named `D' -- because `-MD' means `put the output
3912   # in D'.
3913   rm -rf conftest.dir
3914   mkdir conftest.dir
3915   # Copy depcomp to subdir because otherwise we won't find it if we're
3916   # using a relative directory.
3917   cp "$am_depcomp" conftest.dir
3918   cd conftest.dir
3919   # We will build objects and dependencies in a subdirectory because
3920   # it helps to detect inapplicable dependency modes.  For instance
3921   # both Tru64's cc and ICC support -MD to output dependencies as a
3922   # side effect of compilation, but ICC will put the dependencies in
3923   # the current directory while Tru64 will put them in the object
3924   # directory.
3925   mkdir sub
3926
3927   am_cv_CC_dependencies_compiler_type=none
3928   if test "$am_compiler_list" = ""; then
3929      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3930   fi
3931   am__universal=false
3932   case " $depcc " in #(
3933      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3934      esac
3935
3936   for depmode in $am_compiler_list; do
3937     # Setup a source with many dependencies, because some compilers
3938     # like to wrap large dependency lists on column 80 (with \), and
3939     # we should not choose a depcomp mode which is confused by this.
3940     #
3941     # We need to recreate these files for each test, as the compiler may
3942     # overwrite some of them when testing with obscure command lines.
3943     # This happens at least with the AIX C compiler.
3944     : > sub/conftest.c
3945     for i in 1 2 3 4 5 6; do
3946       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3947       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3948       # Solaris 8's {/usr,}/bin/sh.
3949       touch sub/conftst$i.h
3950     done
3951     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3952
3953     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3954     # mode.  It turns out that the SunPro C++ compiler does not properly
3955     # handle `-M -o', and we need to detect this.  Also, some Intel
3956     # versions had trouble with output in subdirs
3957     am__obj=sub/conftest.${OBJEXT-o}
3958     am__minus_obj="-o $am__obj"
3959     case $depmode in
3960     gcc)
3961       # This depmode causes a compiler race in universal mode.
3962       test "$am__universal" = false || continue
3963       ;;
3964     nosideeffect)
3965       # after this tag, mechanisms are not by side-effect, so they'll
3966       # only be used when explicitly requested
3967       if test "x$enable_dependency_tracking" = xyes; then
3968         continue
3969       else
3970         break
3971       fi
3972       ;;
3973     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3974       # This compiler won't grok `-c -o', but also, the minuso test has
3975       # not run yet.  These depmodes are late enough in the game, and
3976       # so weak that their functioning should not be impacted.
3977       am__obj=conftest.${OBJEXT-o}
3978       am__minus_obj=
3979       ;;
3980     none) break ;;
3981     esac
3982     if depmode=$depmode \
3983        source=sub/conftest.c object=$am__obj \
3984        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3985        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3986          >/dev/null 2>conftest.err &&
3987        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3988        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3989        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3990        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3991       # icc doesn't choke on unknown options, it will just issue warnings
3992       # or remarks (even with -Werror).  So we grep stderr for any message
3993       # that says an option was ignored or not supported.
3994       # When given -MP, icc 7.0 and 7.1 complain thusly:
3995       #   icc: Command line warning: ignoring option '-M'; no argument required
3996       # The diagnosis changed in icc 8.0:
3997       #   icc: Command line remark: option '-MP' not supported
3998       if (grep 'ignoring option' conftest.err ||
3999           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4000         am_cv_CC_dependencies_compiler_type=$depmode
4001         break
4002       fi
4003     fi
4004   done
4005
4006   cd ..
4007   rm -rf conftest.dir
4008 else
4009   am_cv_CC_dependencies_compiler_type=none
4010 fi
4011
4012 fi
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4014 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4015 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4016
4017  if
4018   test "x$enable_dependency_tracking" != xno \
4019   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4020   am__fastdepCC_TRUE=
4021   am__fastdepCC_FALSE='#'
4022 else
4023   am__fastdepCC_TRUE='#'
4024   am__fastdepCC_FALSE=
4025 fi
4026
4027
4028
4029 ac_config_headers="$ac_config_headers config.h"
4030
4031 # Check whether --enable-silent-rules was given.
4032 if test "${enable_silent_rules+set}" = set; then :
4033   enableval=$enable_silent_rules;
4034 fi
4035
4036 case $enable_silent_rules in
4037 yes) AM_DEFAULT_VERBOSITY=0;;
4038 no)  AM_DEFAULT_VERBOSITY=1;;
4039 *)   AM_DEFAULT_VERBOSITY=0;;
4040 esac
4041 am_make=${MAKE-make}
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4043 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4044 if ${am_cv_make_support_nested_variables+:} false; then :
4045   $as_echo_n "(cached) " >&6
4046 else
4047   if $as_echo 'TRUE=$(BAR$(V))
4048 BAR0=false
4049 BAR1=true
4050 V=1
4051 am__doit:
4052         @$(TRUE)
4053 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4054   am_cv_make_support_nested_variables=yes
4055 else
4056   am_cv_make_support_nested_variables=no
4057 fi
4058 fi
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4060 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4061 if test $am_cv_make_support_nested_variables = yes; then
4062     AM_V='$(V)'
4063   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4064 else
4065   AM_V=$AM_DEFAULT_VERBOSITY
4066   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4067 fi
4068 AM_BACKSLASH='\'
4069
4070
4071 enable_win32_dll=yes
4072
4073 case $host in
4074 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
4075   if test -n "$ac_tool_prefix"; then
4076   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4077 set dummy ${ac_tool_prefix}as; ac_word=$2
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4079 $as_echo_n "checking for $ac_word... " >&6; }
4080 if ${ac_cv_prog_AS+:} false; then :
4081   $as_echo_n "(cached) " >&6
4082 else
4083   if test -n "$AS"; then
4084   ac_cv_prog_AS="$AS" # Let the user override the test.
4085 else
4086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4087 for as_dir in $PATH
4088 do
4089   IFS=$as_save_IFS
4090   test -z "$as_dir" && as_dir=.
4091     for ac_exec_ext in '' $ac_executable_extensions; do
4092   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4093     ac_cv_prog_AS="${ac_tool_prefix}as"
4094     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4095     break 2
4096   fi
4097 done
4098   done
4099 IFS=$as_save_IFS
4100
4101 fi
4102 fi
4103 AS=$ac_cv_prog_AS
4104 if test -n "$AS"; then
4105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4106 $as_echo "$AS" >&6; }
4107 else
4108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4109 $as_echo "no" >&6; }
4110 fi
4111
4112
4113 fi
4114 if test -z "$ac_cv_prog_AS"; then
4115   ac_ct_AS=$AS
4116   # Extract the first word of "as", so it can be a program name with args.
4117 set dummy as; ac_word=$2
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4119 $as_echo_n "checking for $ac_word... " >&6; }
4120 if ${ac_cv_prog_ac_ct_AS+:} false; then :
4121   $as_echo_n "(cached) " >&6
4122 else
4123   if test -n "$ac_ct_AS"; then
4124   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4125 else
4126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4127 for as_dir in $PATH
4128 do
4129   IFS=$as_save_IFS
4130   test -z "$as_dir" && as_dir=.
4131     for ac_exec_ext in '' $ac_executable_extensions; do
4132   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4133     ac_cv_prog_ac_ct_AS="as"
4134     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4135     break 2
4136   fi
4137 done
4138   done
4139 IFS=$as_save_IFS
4140
4141 fi
4142 fi
4143 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4144 if test -n "$ac_ct_AS"; then
4145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4146 $as_echo "$ac_ct_AS" >&6; }
4147 else
4148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4149 $as_echo "no" >&6; }
4150 fi
4151
4152   if test "x$ac_ct_AS" = x; then
4153     AS="false"
4154   else
4155     case $cross_compiling:$ac_tool_warned in
4156 yes:)
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4158 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4159 ac_tool_warned=yes ;;
4160 esac
4161     AS=$ac_ct_AS
4162   fi
4163 else
4164   AS="$ac_cv_prog_AS"
4165 fi
4166
4167   if test -n "$ac_tool_prefix"; then
4168   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4169 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4171 $as_echo_n "checking for $ac_word... " >&6; }
4172 if ${ac_cv_prog_DLLTOOL+:} false; then :
4173   $as_echo_n "(cached) " >&6
4174 else
4175   if test -n "$DLLTOOL"; then
4176   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4177 else
4178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4179 for as_dir in $PATH
4180 do
4181   IFS=$as_save_IFS
4182   test -z "$as_dir" && as_dir=.
4183     for ac_exec_ext in '' $ac_executable_extensions; do
4184   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4185     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4186     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4187     break 2
4188   fi
4189 done
4190   done
4191 IFS=$as_save_IFS
4192
4193 fi
4194 fi
4195 DLLTOOL=$ac_cv_prog_DLLTOOL
4196 if test -n "$DLLTOOL"; then
4197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4198 $as_echo "$DLLTOOL" >&6; }
4199 else
4200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4201 $as_echo "no" >&6; }
4202 fi
4203
4204
4205 fi
4206 if test -z "$ac_cv_prog_DLLTOOL"; then
4207   ac_ct_DLLTOOL=$DLLTOOL
4208   # Extract the first word of "dlltool", so it can be a program name with args.
4209 set dummy dlltool; ac_word=$2
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4211 $as_echo_n "checking for $ac_word... " >&6; }
4212 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4213   $as_echo_n "(cached) " >&6
4214 else
4215   if test -n "$ac_ct_DLLTOOL"; then
4216   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4217 else
4218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4219 for as_dir in $PATH
4220 do
4221   IFS=$as_save_IFS
4222   test -z "$as_dir" && as_dir=.
4223     for ac_exec_ext in '' $ac_executable_extensions; do
4224   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4225     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4226     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4227     break 2
4228   fi
4229 done
4230   done
4231 IFS=$as_save_IFS
4232
4233 fi
4234 fi
4235 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4236 if test -n "$ac_ct_DLLTOOL"; then
4237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4238 $as_echo "$ac_ct_DLLTOOL" >&6; }
4239 else
4240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4241 $as_echo "no" >&6; }
4242 fi
4243
4244   if test "x$ac_ct_DLLTOOL" = x; then
4245     DLLTOOL="false"
4246   else
4247     case $cross_compiling:$ac_tool_warned in
4248 yes:)
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4250 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4251 ac_tool_warned=yes ;;
4252 esac
4253     DLLTOOL=$ac_ct_DLLTOOL
4254   fi
4255 else
4256   DLLTOOL="$ac_cv_prog_DLLTOOL"
4257 fi
4258
4259   if test -n "$ac_tool_prefix"; then
4260   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4261 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4263 $as_echo_n "checking for $ac_word... " >&6; }
4264 if ${ac_cv_prog_OBJDUMP+:} false; then :
4265   $as_echo_n "(cached) " >&6
4266 else
4267   if test -n "$OBJDUMP"; then
4268   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4269 else
4270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4271 for as_dir in $PATH
4272 do
4273   IFS=$as_save_IFS
4274   test -z "$as_dir" && as_dir=.
4275     for ac_exec_ext in '' $ac_executable_extensions; do
4276   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4277     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4278     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4279     break 2
4280   fi
4281 done
4282   done
4283 IFS=$as_save_IFS
4284
4285 fi
4286 fi
4287 OBJDUMP=$ac_cv_prog_OBJDUMP
4288 if test -n "$OBJDUMP"; then
4289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4290 $as_echo "$OBJDUMP" >&6; }
4291 else
4292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4293 $as_echo "no" >&6; }
4294 fi
4295
4296
4297 fi
4298 if test -z "$ac_cv_prog_OBJDUMP"; then
4299   ac_ct_OBJDUMP=$OBJDUMP
4300   # Extract the first word of "objdump", so it can be a program name with args.
4301 set dummy objdump; ac_word=$2
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4303 $as_echo_n "checking for $ac_word... " >&6; }
4304 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4305   $as_echo_n "(cached) " >&6
4306 else
4307   if test -n "$ac_ct_OBJDUMP"; then
4308   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4309 else
4310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4311 for as_dir in $PATH
4312 do
4313   IFS=$as_save_IFS
4314   test -z "$as_dir" && as_dir=.
4315     for ac_exec_ext in '' $ac_executable_extensions; do
4316   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4317     ac_cv_prog_ac_ct_OBJDUMP="objdump"
4318     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4319     break 2
4320   fi
4321 done
4322   done
4323 IFS=$as_save_IFS
4324
4325 fi
4326 fi
4327 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4328 if test -n "$ac_ct_OBJDUMP"; then
4329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4330 $as_echo "$ac_ct_OBJDUMP" >&6; }
4331 else
4332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4333 $as_echo "no" >&6; }
4334 fi
4335
4336   if test "x$ac_ct_OBJDUMP" = x; then
4337     OBJDUMP="false"
4338   else
4339     case $cross_compiling:$ac_tool_warned in
4340 yes:)
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4342 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4343 ac_tool_warned=yes ;;
4344 esac
4345     OBJDUMP=$ac_ct_OBJDUMP
4346   fi
4347 else
4348   OBJDUMP="$ac_cv_prog_OBJDUMP"
4349 fi
4350
4351   ;;
4352 esac
4353
4354 test -z "$AS" && AS=as
4355
4356
4357
4358
4359
4360 test -z "$DLLTOOL" && DLLTOOL=dlltool
4361
4362
4363
4364
4365
4366 test -z "$OBJDUMP" && OBJDUMP=objdump
4367
4368
4369
4370
4371
4372
4373
4374 case `pwd` in
4375   *\ * | *\     *)
4376     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4377 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4378 esac
4379
4380
4381
4382 macro_version='2.4.2'
4383 macro_revision='1.3337'
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397 ltmain="$ac_aux_dir/ltmain.sh"
4398
4399 # Backslashify metacharacters that are still active within
4400 # double-quoted strings.
4401 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4402
4403 # Same as above, but do not quote variable references.
4404 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4405
4406 # Sed substitution to delay expansion of an escaped shell variable in a
4407 # double_quote_subst'ed string.
4408 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4409
4410 # Sed substitution to delay expansion of an escaped single quote.
4411 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4412
4413 # Sed substitution to avoid accidental globbing in evaled expressions
4414 no_glob_subst='s/\*/\\\*/g'
4415
4416 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4417 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4418 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4419
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4421 $as_echo_n "checking how to print strings... " >&6; }
4422 # Test print first, because it will be a builtin if present.
4423 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4424    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4425   ECHO='print -r --'
4426 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4427   ECHO='printf %s\n'
4428 else
4429   # Use this function as a fallback that always works.
4430   func_fallback_echo ()
4431   {
4432     eval 'cat <<_LTECHO_EOF
4433 $1
4434 _LTECHO_EOF'
4435   }
4436   ECHO='func_fallback_echo'
4437 fi
4438
4439 # func_echo_all arg...
4440 # Invoke $ECHO with all args, space-separated.
4441 func_echo_all ()
4442 {
4443     $ECHO ""
4444 }
4445
4446 case "$ECHO" in
4447   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4448 $as_echo "printf" >&6; } ;;
4449   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4450 $as_echo "print -r" >&6; } ;;
4451   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4452 $as_echo "cat" >&6; } ;;
4453 esac
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4469 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4470 if ${ac_cv_path_SED+:} false; then :
4471   $as_echo_n "(cached) " >&6
4472 else
4473             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4474      for ac_i in 1 2 3 4 5 6 7; do
4475        ac_script="$ac_script$as_nl$ac_script"
4476      done
4477      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4478      { ac_script=; unset ac_script;}
4479      if test -z "$SED"; then
4480   ac_path_SED_found=false
4481   # Loop through the user's path and test for each of PROGNAME-LIST
4482   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4483 for as_dir in $PATH
4484 do
4485   IFS=$as_save_IFS
4486   test -z "$as_dir" && as_dir=.
4487     for ac_prog in sed gsed; do
4488     for ac_exec_ext in '' $ac_executable_extensions; do
4489       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4490       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4491 # Check for GNU ac_path_SED and select it if it is found.
4492   # Check for GNU $ac_path_SED
4493 case `"$ac_path_SED" --version 2>&1` in
4494 *GNU*)
4495   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4496 *)
4497   ac_count=0
4498   $as_echo_n 0123456789 >"conftest.in"
4499   while :
4500   do
4501     cat "conftest.in" "conftest.in" >"conftest.tmp"
4502     mv "conftest.tmp" "conftest.in"
4503     cp "conftest.in" "conftest.nl"
4504     $as_echo '' >> "conftest.nl"
4505     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4506     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4507     as_fn_arith $ac_count + 1 && ac_count=$as_val
4508     if test $ac_count -gt ${ac_path_SED_max-0}; then
4509       # Best one so far, save it but keep looking for a better one
4510       ac_cv_path_SED="$ac_path_SED"
4511       ac_path_SED_max=$ac_count
4512     fi
4513     # 10*(2^10) chars as input seems more than enough
4514     test $ac_count -gt 10 && break
4515   done
4516   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4517 esac
4518
4519       $ac_path_SED_found && break 3
4520     done
4521   done
4522   done
4523 IFS=$as_save_IFS
4524   if test -z "$ac_cv_path_SED"; then
4525     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4526   fi
4527 else
4528   ac_cv_path_SED=$SED
4529 fi
4530
4531 fi
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4533 $as_echo "$ac_cv_path_SED" >&6; }
4534  SED="$ac_cv_path_SED"
4535   rm -f conftest.sed
4536
4537 test -z "$SED" && SED=sed
4538 Xsed="$SED -e 1s/^X//"
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4551 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4552 if ${ac_cv_path_GREP+:} false; then :
4553   $as_echo_n "(cached) " >&6
4554 else
4555   if test -z "$GREP"; then
4556   ac_path_GREP_found=false
4557   # Loop through the user's path and test for each of PROGNAME-LIST
4558   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4559 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4560 do
4561   IFS=$as_save_IFS
4562   test -z "$as_dir" && as_dir=.
4563     for ac_prog in grep ggrep; do
4564     for ac_exec_ext in '' $ac_executable_extensions; do
4565       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4566       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4567 # Check for GNU ac_path_GREP and select it if it is found.
4568   # Check for GNU $ac_path_GREP
4569 case `"$ac_path_GREP" --version 2>&1` in
4570 *GNU*)
4571   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4572 *)
4573   ac_count=0
4574   $as_echo_n 0123456789 >"conftest.in"
4575   while :
4576   do
4577     cat "conftest.in" "conftest.in" >"conftest.tmp"
4578     mv "conftest.tmp" "conftest.in"
4579     cp "conftest.in" "conftest.nl"
4580     $as_echo 'GREP' >> "conftest.nl"
4581     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4582     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4583     as_fn_arith $ac_count + 1 && ac_count=$as_val
4584     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4585       # Best one so far, save it but keep looking for a better one
4586       ac_cv_path_GREP="$ac_path_GREP"
4587       ac_path_GREP_max=$ac_count
4588     fi
4589     # 10*(2^10) chars as input seems more than enough
4590     test $ac_count -gt 10 && break
4591   done
4592   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4593 esac
4594
4595       $ac_path_GREP_found && break 3
4596     done
4597   done
4598   done
4599 IFS=$as_save_IFS
4600   if test -z "$ac_cv_path_GREP"; then
4601     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4602   fi
4603 else
4604   ac_cv_path_GREP=$GREP
4605 fi
4606
4607 fi
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4609 $as_echo "$ac_cv_path_GREP" >&6; }
4610  GREP="$ac_cv_path_GREP"
4611
4612
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4614 $as_echo_n "checking for egrep... " >&6; }
4615 if ${ac_cv_path_EGREP+:} false; then :
4616   $as_echo_n "(cached) " >&6
4617 else
4618   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4619    then ac_cv_path_EGREP="$GREP -E"
4620    else
4621      if test -z "$EGREP"; then
4622   ac_path_EGREP_found=false
4623   # Loop through the user's path and test for each of PROGNAME-LIST
4624   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4625 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4626 do
4627   IFS=$as_save_IFS
4628   test -z "$as_dir" && as_dir=.
4629     for ac_prog in egrep; do
4630     for ac_exec_ext in '' $ac_executable_extensions; do
4631       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4632       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4633 # Check for GNU ac_path_EGREP and select it if it is found.
4634   # Check for GNU $ac_path_EGREP
4635 case `"$ac_path_EGREP" --version 2>&1` in
4636 *GNU*)
4637   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4638 *)
4639   ac_count=0
4640   $as_echo_n 0123456789 >"conftest.in"
4641   while :
4642   do
4643     cat "conftest.in" "conftest.in" >"conftest.tmp"
4644     mv "conftest.tmp" "conftest.in"
4645     cp "conftest.in" "conftest.nl"
4646     $as_echo 'EGREP' >> "conftest.nl"
4647     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4648     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4649     as_fn_arith $ac_count + 1 && ac_count=$as_val
4650     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4651       # Best one so far, save it but keep looking for a better one
4652       ac_cv_path_EGREP="$ac_path_EGREP"
4653       ac_path_EGREP_max=$ac_count
4654     fi
4655     # 10*(2^10) chars as input seems more than enough
4656     test $ac_count -gt 10 && break
4657   done
4658   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4659 esac
4660
4661       $ac_path_EGREP_found && break 3
4662     done
4663   done
4664   done
4665 IFS=$as_save_IFS
4666   if test -z "$ac_cv_path_EGREP"; then
4667     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4668   fi
4669 else
4670   ac_cv_path_EGREP=$EGREP
4671 fi
4672
4673    fi
4674 fi
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4676 $as_echo "$ac_cv_path_EGREP" >&6; }
4677  EGREP="$ac_cv_path_EGREP"
4678
4679
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4681 $as_echo_n "checking for fgrep... " >&6; }
4682 if ${ac_cv_path_FGREP+:} false; then :
4683   $as_echo_n "(cached) " >&6
4684 else
4685   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4686    then ac_cv_path_FGREP="$GREP -F"
4687    else
4688      if test -z "$FGREP"; then
4689   ac_path_FGREP_found=false
4690   # Loop through the user's path and test for each of PROGNAME-LIST
4691   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4692 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4693 do
4694   IFS=$as_save_IFS
4695   test -z "$as_dir" && as_dir=.
4696     for ac_prog in fgrep; do
4697     for ac_exec_ext in '' $ac_executable_extensions; do
4698       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4699       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4700 # Check for GNU ac_path_FGREP and select it if it is found.
4701   # Check for GNU $ac_path_FGREP
4702 case `"$ac_path_FGREP" --version 2>&1` in
4703 *GNU*)
4704   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4705 *)
4706   ac_count=0
4707   $as_echo_n 0123456789 >"conftest.in"
4708   while :
4709   do
4710     cat "conftest.in" "conftest.in" >"conftest.tmp"
4711     mv "conftest.tmp" "conftest.in"
4712     cp "conftest.in" "conftest.nl"
4713     $as_echo 'FGREP' >> "conftest.nl"
4714     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4715     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4716     as_fn_arith $ac_count + 1 && ac_count=$as_val
4717     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4718       # Best one so far, save it but keep looking for a better one
4719       ac_cv_path_FGREP="$ac_path_FGREP"
4720       ac_path_FGREP_max=$ac_count
4721     fi
4722     # 10*(2^10) chars as input seems more than enough
4723     test $ac_count -gt 10 && break
4724   done
4725   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4726 esac
4727
4728       $ac_path_FGREP_found && break 3
4729     done
4730   done
4731   done
4732 IFS=$as_save_IFS
4733   if test -z "$ac_cv_path_FGREP"; then
4734     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4735   fi
4736 else
4737   ac_cv_path_FGREP=$FGREP
4738 fi
4739
4740    fi
4741 fi
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4743 $as_echo "$ac_cv_path_FGREP" >&6; }
4744  FGREP="$ac_cv_path_FGREP"
4745
4746
4747 test -z "$GREP" && GREP=grep
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767 # Check whether --with-gnu-ld was given.
4768 if test "${with_gnu_ld+set}" = set; then :
4769   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4770 else
4771   with_gnu_ld=no
4772 fi
4773
4774 ac_prog=ld
4775 if test "$GCC" = yes; then
4776   # Check if gcc -print-prog-name=ld gives a path.
4777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4778 $as_echo_n "checking for ld used by $CC... " >&6; }
4779   case $host in
4780   *-*-mingw*)
4781     # gcc leaves a trailing carriage return which upsets mingw
4782     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4783   *)
4784     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4785   esac
4786   case $ac_prog in
4787     # Accept absolute paths.
4788     [\\/]* | ?:[\\/]*)
4789       re_direlt='/[^/][^/]*/\.\./'
4790       # Canonicalize the pathname of ld
4791       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4792       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4793         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4794       done
4795       test -z "$LD" && LD="$ac_prog"
4796       ;;
4797   "")
4798     # If it fails, then pretend we aren't using GCC.
4799     ac_prog=ld
4800     ;;
4801   *)
4802     # If it is relative, then search for the first ld in PATH.
4803     with_gnu_ld=unknown
4804     ;;
4805   esac
4806 elif test "$with_gnu_ld" = yes; then
4807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4808 $as_echo_n "checking for GNU ld... " >&6; }
4809 else
4810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4811 $as_echo_n "checking for non-GNU ld... " >&6; }
4812 fi
4813 if ${lt_cv_path_LD+:} false; then :
4814   $as_echo_n "(cached) " >&6
4815 else
4816   if test -z "$LD"; then
4817   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4818   for ac_dir in $PATH; do
4819     IFS="$lt_save_ifs"
4820     test -z "$ac_dir" && ac_dir=.
4821     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4822       lt_cv_path_LD="$ac_dir/$ac_prog"
4823       # Check to see if the program is GNU ld.  I'd rather use --version,
4824       # but apparently some variants of GNU ld only accept -v.
4825       # Break only if it was the GNU/non-GNU ld that we prefer.
4826       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4827       *GNU* | *'with BFD'*)
4828         test "$with_gnu_ld" != no && break
4829         ;;
4830       *)
4831         test "$with_gnu_ld" != yes && break
4832         ;;
4833       esac
4834     fi
4835   done
4836   IFS="$lt_save_ifs"
4837 else
4838   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4839 fi
4840 fi
4841
4842 LD="$lt_cv_path_LD"
4843 if test -n "$LD"; then
4844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4845 $as_echo "$LD" >&6; }
4846 else
4847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4848 $as_echo "no" >&6; }
4849 fi
4850 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4852 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4853 if ${lt_cv_prog_gnu_ld+:} false; then :
4854   $as_echo_n "(cached) " >&6
4855 else
4856   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4857 case `$LD -v 2>&1 </dev/null` in
4858 *GNU* | *'with BFD'*)
4859   lt_cv_prog_gnu_ld=yes
4860   ;;
4861 *)
4862   lt_cv_prog_gnu_ld=no
4863   ;;
4864 esac
4865 fi
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4867 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4868 with_gnu_ld=$lt_cv_prog_gnu_ld
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4879 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4880 if ${lt_cv_path_NM+:} false; then :
4881   $as_echo_n "(cached) " >&6
4882 else
4883   if test -n "$NM"; then
4884   # Let the user override the test.
4885   lt_cv_path_NM="$NM"
4886 else
4887   lt_nm_to_check="${ac_tool_prefix}nm"
4888   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4889     lt_nm_to_check="$lt_nm_to_check nm"
4890   fi
4891   for lt_tmp_nm in $lt_nm_to_check; do
4892     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4893     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4894       IFS="$lt_save_ifs"
4895       test -z "$ac_dir" && ac_dir=.
4896       tmp_nm="$ac_dir/$lt_tmp_nm"
4897       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4898         # Check to see if the nm accepts a BSD-compat flag.
4899         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4900         #   nm: unknown option "B" ignored
4901         # Tru64's nm complains that /dev/null is an invalid object file
4902         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4903         */dev/null* | *'Invalid file or object type'*)
4904           lt_cv_path_NM="$tmp_nm -B"
4905           break
4906           ;;
4907         *)
4908           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4909           */dev/null*)
4910             lt_cv_path_NM="$tmp_nm -p"
4911             break
4912             ;;
4913           *)
4914             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4915             continue # so that we can try to find one that supports BSD flags
4916             ;;
4917           esac
4918           ;;
4919         esac
4920       fi
4921     done
4922     IFS="$lt_save_ifs"
4923   done
4924   : ${lt_cv_path_NM=no}
4925 fi
4926 fi
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4928 $as_echo "$lt_cv_path_NM" >&6; }
4929 if test "$lt_cv_path_NM" != "no"; then
4930   NM="$lt_cv_path_NM"
4931 else
4932   # Didn't find any BSD compatible name lister, look for dumpbin.
4933   if test -n "$DUMPBIN"; then :
4934     # Let the user override the test.
4935   else
4936     if test -n "$ac_tool_prefix"; then
4937   for ac_prog in dumpbin "link -dump"
4938   do
4939     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4940 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4942 $as_echo_n "checking for $ac_word... " >&6; }
4943 if ${ac_cv_prog_DUMPBIN+:} false; then :
4944   $as_echo_n "(cached) " >&6
4945 else
4946   if test -n "$DUMPBIN"; then
4947   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4948 else
4949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4950 for as_dir in $PATH
4951 do
4952   IFS=$as_save_IFS
4953   test -z "$as_dir" && as_dir=.
4954     for ac_exec_ext in '' $ac_executable_extensions; do
4955   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4956     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4957     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4958     break 2
4959   fi
4960 done
4961   done
4962 IFS=$as_save_IFS
4963
4964 fi
4965 fi
4966 DUMPBIN=$ac_cv_prog_DUMPBIN
4967 if test -n "$DUMPBIN"; then
4968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4969 $as_echo "$DUMPBIN" >&6; }
4970 else
4971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4972 $as_echo "no" >&6; }
4973 fi
4974
4975
4976     test -n "$DUMPBIN" && break
4977   done
4978 fi
4979 if test -z "$DUMPBIN"; then
4980   ac_ct_DUMPBIN=$DUMPBIN
4981   for ac_prog in dumpbin "link -dump"
4982 do
4983   # Extract the first word of "$ac_prog", so it can be a program name with args.
4984 set dummy $ac_prog; ac_word=$2
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4986 $as_echo_n "checking for $ac_word... " >&6; }
4987 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4988   $as_echo_n "(cached) " >&6
4989 else
4990   if test -n "$ac_ct_DUMPBIN"; then
4991   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4992 else
4993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4994 for as_dir in $PATH
4995 do
4996   IFS=$as_save_IFS
4997   test -z "$as_dir" && as_dir=.
4998     for ac_exec_ext in '' $ac_executable_extensions; do
4999   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5000     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5001     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5002     break 2
5003   fi
5004 done
5005   done
5006 IFS=$as_save_IFS
5007
5008 fi
5009 fi
5010 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5011 if test -n "$ac_ct_DUMPBIN"; then
5012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5013 $as_echo "$ac_ct_DUMPBIN" >&6; }
5014 else
5015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5017 fi
5018
5019
5020   test -n "$ac_ct_DUMPBIN" && break
5021 done
5022
5023   if test "x$ac_ct_DUMPBIN" = x; then
5024     DUMPBIN=":"
5025   else
5026     case $cross_compiling:$ac_tool_warned in
5027 yes:)
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5029 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5030 ac_tool_warned=yes ;;
5031 esac
5032     DUMPBIN=$ac_ct_DUMPBIN
5033   fi
5034 fi
5035
5036     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5037     *COFF*)
5038       DUMPBIN="$DUMPBIN -symbols"
5039       ;;
5040     *)
5041       DUMPBIN=:
5042       ;;
5043     esac
5044   fi
5045
5046   if test "$DUMPBIN" != ":"; then
5047     NM="$DUMPBIN"
5048   fi
5049 fi
5050 test -z "$NM" && NM=nm
5051
5052
5053
5054
5055
5056
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5058 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5059 if ${lt_cv_nm_interface+:} false; then :
5060   $as_echo_n "(cached) " >&6
5061 else
5062   lt_cv_nm_interface="BSD nm"
5063   echo "int some_variable = 0;" > conftest.$ac_ext
5064   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5065   (eval "$ac_compile" 2>conftest.err)
5066   cat conftest.err >&5
5067   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5068   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5069   cat conftest.err >&5
5070   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5071   cat conftest.out >&5
5072   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5073     lt_cv_nm_interface="MS dumpbin"
5074   fi
5075   rm -f conftest*
5076 fi
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5078 $as_echo "$lt_cv_nm_interface" >&6; }
5079
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5081 $as_echo_n "checking whether ln -s works... " >&6; }
5082 LN_S=$as_ln_s
5083 if test "$LN_S" = "ln -s"; then
5084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5085 $as_echo "yes" >&6; }
5086 else
5087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5088 $as_echo "no, using $LN_S" >&6; }
5089 fi
5090
5091 # find the maximum length of command line arguments
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5093 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5094 if ${lt_cv_sys_max_cmd_len+:} false; then :
5095   $as_echo_n "(cached) " >&6
5096 else
5097     i=0
5098   teststring="ABCD"
5099
5100   case $build_os in
5101   msdosdjgpp*)
5102     # On DJGPP, this test can blow up pretty badly due to problems in libc
5103     # (any single argument exceeding 2000 bytes causes a buffer overrun
5104     # during glob expansion).  Even if it were fixed, the result of this
5105     # check would be larger than it should be.
5106     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5107     ;;
5108
5109   gnu*)
5110     # Under GNU Hurd, this test is not required because there is
5111     # no limit to the length of command line arguments.
5112     # Libtool will interpret -1 as no limit whatsoever
5113     lt_cv_sys_max_cmd_len=-1;
5114     ;;
5115
5116   cygwin* | mingw* | cegcc*)
5117     # On Win9x/ME, this test blows up -- it succeeds, but takes
5118     # about 5 minutes as the teststring grows exponentially.
5119     # Worse, since 9x/ME are not pre-emptively multitasking,
5120     # you end up with a "frozen" computer, even though with patience
5121     # the test eventually succeeds (with a max line length of 256k).
5122     # Instead, let's just punt: use the minimum linelength reported by
5123     # all of the supported platforms: 8192 (on NT/2K/XP).
5124     lt_cv_sys_max_cmd_len=8192;
5125     ;;
5126
5127   mint*)
5128     # On MiNT this can take a long time and run out of memory.
5129     lt_cv_sys_max_cmd_len=8192;
5130     ;;
5131
5132   amigaos*)
5133     # On AmigaOS with pdksh, this test takes hours, literally.
5134     # So we just punt and use a minimum line length of 8192.
5135     lt_cv_sys_max_cmd_len=8192;
5136     ;;
5137
5138   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5139     # This has been around since 386BSD, at least.  Likely further.
5140     if test -x /sbin/sysctl; then
5141       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5142     elif test -x /usr/sbin/sysctl; then
5143       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5144     else
5145       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5146     fi
5147     # And add a safety zone
5148     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5149     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5150     ;;
5151
5152   interix*)
5153     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5154     lt_cv_sys_max_cmd_len=196608
5155     ;;
5156
5157   os2*)
5158     # The test takes a long time on OS/2.
5159     lt_cv_sys_max_cmd_len=8192
5160     ;;
5161
5162   osf*)
5163     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5164     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5165     # nice to cause kernel panics so lets avoid the loop below.
5166     # First set a reasonable default.
5167     lt_cv_sys_max_cmd_len=16384
5168     #
5169     if test -x /sbin/sysconfig; then
5170       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5171         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5172       esac
5173     fi
5174     ;;
5175   sco3.2v5*)
5176     lt_cv_sys_max_cmd_len=102400
5177     ;;
5178   sysv5* | sco5v6* | sysv4.2uw2*)
5179     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5180     if test -n "$kargmax"; then
5181       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5182     else
5183       lt_cv_sys_max_cmd_len=32768
5184     fi
5185     ;;
5186   *)
5187     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5188     if test -n "$lt_cv_sys_max_cmd_len"; then
5189       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5190       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5191     else
5192       # Make teststring a little bigger before we do anything with it.
5193       # a 1K string should be a reasonable start.
5194       for i in 1 2 3 4 5 6 7 8 ; do
5195         teststring=$teststring$teststring
5196       done
5197       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5198       # If test is not a shell built-in, we'll probably end up computing a
5199       # maximum length that is only half of the actual maximum length, but
5200       # we can't tell.
5201       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5202                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5203               test $i != 17 # 1/2 MB should be enough
5204       do
5205         i=`expr $i + 1`
5206         teststring=$teststring$teststring
5207       done
5208       # Only check the string length outside the loop.
5209       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5210       teststring=
5211       # Add a significant safety factor because C++ compilers can tack on
5212       # massive amounts of additional arguments before passing them to the
5213       # linker.  It appears as though 1/2 is a usable value.
5214       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5215     fi
5216     ;;
5217   esac
5218
5219 fi
5220
5221 if test -n $lt_cv_sys_max_cmd_len ; then
5222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5223 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5224 else
5225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5226 $as_echo "none" >&6; }
5227 fi
5228 max_cmd_len=$lt_cv_sys_max_cmd_len
5229
5230
5231
5232
5233
5234
5235 : ${CP="cp -f"}
5236 : ${MV="mv -f"}
5237 : ${RM="rm -f"}
5238
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5240 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5241 # Try some XSI features
5242 xsi_shell=no
5243 ( _lt_dummy="a/b/c"
5244   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5245       = c,a/b,b/c, \
5246     && eval 'test $(( 1 + 1 )) -eq 2 \
5247     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5248   && xsi_shell=yes
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5250 $as_echo "$xsi_shell" >&6; }
5251
5252
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5254 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5255 lt_shell_append=no
5256 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5257     >/dev/null 2>&1 \
5258   && lt_shell_append=yes
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5260 $as_echo "$lt_shell_append" >&6; }
5261
5262
5263 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5264   lt_unset=unset
5265 else
5266   lt_unset=false
5267 fi
5268
5269
5270
5271
5272
5273 # test EBCDIC or ASCII
5274 case `echo X|tr X '\101'` in
5275  A) # ASCII based system
5276     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5277   lt_SP2NL='tr \040 \012'
5278   lt_NL2SP='tr \015\012 \040\040'
5279   ;;
5280  *) # EBCDIC based system
5281   lt_SP2NL='tr \100 \n'
5282   lt_NL2SP='tr \r\n \100\100'
5283   ;;
5284 esac
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5295 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5296 if ${lt_cv_to_host_file_cmd+:} false; then :
5297   $as_echo_n "(cached) " >&6
5298 else
5299   case $host in
5300   *-*-mingw* )
5301     case $build in
5302       *-*-mingw* ) # actually msys
5303         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5304         ;;
5305       *-*-cygwin* )
5306         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5307         ;;
5308       * ) # otherwise, assume *nix
5309         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5310         ;;
5311     esac
5312     ;;
5313   *-*-cygwin* )
5314     case $build in
5315       *-*-mingw* ) # actually msys
5316         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5317         ;;
5318       *-*-cygwin* )
5319         lt_cv_to_host_file_cmd=func_convert_file_noop
5320         ;;
5321       * ) # otherwise, assume *nix
5322         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5323         ;;
5324     esac
5325     ;;
5326   * ) # unhandled hosts (and "normal" native builds)
5327     lt_cv_to_host_file_cmd=func_convert_file_noop
5328     ;;
5329 esac
5330
5331 fi
5332
5333 to_host_file_cmd=$lt_cv_to_host_file_cmd
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5335 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5336
5337
5338
5339
5340
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5342 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5343 if ${lt_cv_to_tool_file_cmd+:} false; then :
5344   $as_echo_n "(cached) " >&6
5345 else
5346   #assume ordinary cross tools, or native build.
5347 lt_cv_to_tool_file_cmd=func_convert_file_noop
5348 case $host in
5349   *-*-mingw* )
5350     case $build in
5351       *-*-mingw* ) # actually msys
5352         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5353         ;;
5354     esac
5355     ;;
5356 esac
5357
5358 fi
5359
5360 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5362 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5363
5364
5365
5366
5367
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5369 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5370 if ${lt_cv_ld_reload_flag+:} false; then :
5371   $as_echo_n "(cached) " >&6
5372 else
5373   lt_cv_ld_reload_flag='-r'
5374 fi
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5376 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5377 reload_flag=$lt_cv_ld_reload_flag
5378 case $reload_flag in
5379 "" | " "*) ;;
5380 *) reload_flag=" $reload_flag" ;;
5381 esac
5382 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5383 case $host_os in
5384   cygwin* | mingw* | pw32* | cegcc*)
5385     if test "$GCC" != yes; then
5386       reload_cmds=false
5387     fi
5388     ;;
5389   darwin*)
5390     if test "$GCC" = yes; then
5391       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5392     else
5393       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5394     fi
5395     ;;
5396 esac
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406 if test -n "$ac_tool_prefix"; then
5407   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5408 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5410 $as_echo_n "checking for $ac_word... " >&6; }
5411 if ${ac_cv_prog_OBJDUMP+:} false; then :
5412   $as_echo_n "(cached) " >&6
5413 else
5414   if test -n "$OBJDUMP"; then
5415   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5416 else
5417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5418 for as_dir in $PATH
5419 do
5420   IFS=$as_save_IFS
5421   test -z "$as_dir" && as_dir=.
5422     for ac_exec_ext in '' $ac_executable_extensions; do
5423   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5424     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5425     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5426     break 2
5427   fi
5428 done
5429   done
5430 IFS=$as_save_IFS
5431
5432 fi
5433 fi
5434 OBJDUMP=$ac_cv_prog_OBJDUMP
5435 if test -n "$OBJDUMP"; then
5436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5437 $as_echo "$OBJDUMP" >&6; }
5438 else
5439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5440 $as_echo "no" >&6; }
5441 fi
5442
5443
5444 fi
5445 if test -z "$ac_cv_prog_OBJDUMP"; then
5446   ac_ct_OBJDUMP=$OBJDUMP
5447   # Extract the first word of "objdump", so it can be a program name with args.
5448 set dummy objdump; ac_word=$2
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5450 $as_echo_n "checking for $ac_word... " >&6; }
5451 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5452   $as_echo_n "(cached) " >&6
5453 else
5454   if test -n "$ac_ct_OBJDUMP"; then
5455   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5456 else
5457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5458 for as_dir in $PATH
5459 do
5460   IFS=$as_save_IFS
5461   test -z "$as_dir" && as_dir=.
5462     for ac_exec_ext in '' $ac_executable_extensions; do
5463   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5464     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5465     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5466     break 2
5467   fi
5468 done
5469   done
5470 IFS=$as_save_IFS
5471
5472 fi
5473 fi
5474 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5475 if test -n "$ac_ct_OBJDUMP"; then
5476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5477 $as_echo "$ac_ct_OBJDUMP" >&6; }
5478 else
5479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5480 $as_echo "no" >&6; }
5481 fi
5482
5483   if test "x$ac_ct_OBJDUMP" = x; then
5484     OBJDUMP="false"
5485   else
5486     case $cross_compiling:$ac_tool_warned in
5487 yes:)
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5490 ac_tool_warned=yes ;;
5491 esac
5492     OBJDUMP=$ac_ct_OBJDUMP
5493   fi
5494 else
5495   OBJDUMP="$ac_cv_prog_OBJDUMP"
5496 fi
5497
5498 test -z "$OBJDUMP" && OBJDUMP=objdump
5499
5500
5501
5502
5503
5504
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5506 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5507 if ${lt_cv_deplibs_check_method+:} false; then :
5508   $as_echo_n "(cached) " >&6
5509 else
5510   lt_cv_file_magic_cmd='$MAGIC_CMD'
5511 lt_cv_file_magic_test_file=
5512 lt_cv_deplibs_check_method='unknown'
5513 # Need to set the preceding variable on all platforms that support
5514 # interlibrary dependencies.
5515 # 'none' -- dependencies not supported.
5516 # `unknown' -- same as none, but documents that we really don't know.
5517 # 'pass_all' -- all dependencies passed with no checks.
5518 # 'test_compile' -- check by making test program.
5519 # 'file_magic [[regex]]' -- check by looking for files in library path
5520 # which responds to the $file_magic_cmd with a given extended regex.
5521 # If you have `file' or equivalent on your system and you're not sure
5522 # whether `pass_all' will *always* work, you probably want this one.
5523
5524 case $host_os in
5525 aix[4-9]*)
5526   lt_cv_deplibs_check_method=pass_all
5527   ;;
5528
5529 beos*)
5530   lt_cv_deplibs_check_method=pass_all
5531   ;;
5532
5533 bsdi[45]*)
5534   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5535   lt_cv_file_magic_cmd='/usr/bin/file -L'
5536   lt_cv_file_magic_test_file=/shlib/libc.so
5537   ;;
5538
5539 cygwin*)
5540   # func_win32_libid is a shell function defined in ltmain.sh
5541   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5542   lt_cv_file_magic_cmd='func_win32_libid'
5543   ;;
5544
5545 mingw* | pw32*)
5546   # Base MSYS/MinGW do not provide the 'file' command needed by
5547   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5548   # unless we find 'file', for example because we are cross-compiling.
5549   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5550   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5551     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5552     lt_cv_file_magic_cmd='func_win32_libid'
5553   else
5554     # Keep this pattern in sync with the one in func_win32_libid.
5555     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5556     lt_cv_file_magic_cmd='$OBJDUMP -f'
5557   fi
5558   ;;
5559
5560 cegcc*)
5561   # use the weaker test based on 'objdump'. See mingw*.
5562   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5563   lt_cv_file_magic_cmd='$OBJDUMP -f'
5564   ;;
5565
5566 darwin* | rhapsody*)
5567   lt_cv_deplibs_check_method=pass_all
5568   ;;
5569
5570 freebsd* | dragonfly*)
5571   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5572     case $host_cpu in
5573     i*86 )
5574       # Not sure whether the presence of OpenBSD here was a mistake.
5575       # Let's accept both of them until this is cleared up.
5576       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5577       lt_cv_file_magic_cmd=/usr/bin/file
5578       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5579       ;;
5580     esac
5581   else
5582     lt_cv_deplibs_check_method=pass_all
5583   fi
5584   ;;
5585
5586 gnu*)
5587   lt_cv_deplibs_check_method=pass_all
5588   ;;
5589
5590 haiku*)
5591   lt_cv_deplibs_check_method=pass_all
5592   ;;
5593
5594 hpux10.20* | hpux11*)
5595   lt_cv_file_magic_cmd=/usr/bin/file
5596   case $host_cpu in
5597   ia64*)
5598     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5599     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5600     ;;
5601   hppa*64*)
5602     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5603     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5604     ;;
5605   *)
5606     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5607     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5608     ;;
5609   esac
5610   ;;
5611
5612 interix[3-9]*)
5613   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5614   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5615   ;;
5616
5617 irix5* | irix6* | nonstopux*)
5618   case $LD in
5619   *-32|*"-32 ") libmagic=32-bit;;
5620   *-n32|*"-n32 ") libmagic=N32;;
5621   *-64|*"-64 ") libmagic=64-bit;;
5622   *) libmagic=never-match;;
5623   esac
5624   lt_cv_deplibs_check_method=pass_all
5625   ;;
5626
5627 # This must be glibc/ELF.
5628 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5629   lt_cv_deplibs_check_method=pass_all
5630   ;;
5631
5632 netbsd* | netbsdelf*-gnu)
5633   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5634     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5635   else
5636     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5637   fi
5638   ;;
5639
5640 newos6*)
5641   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5642   lt_cv_file_magic_cmd=/usr/bin/file
5643   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5644   ;;
5645
5646 *nto* | *qnx*)
5647   lt_cv_deplibs_check_method=pass_all
5648   ;;
5649
5650 openbsd*)
5651   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5652     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5653   else
5654     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5655   fi
5656   ;;
5657
5658 osf3* | osf4* | osf5*)
5659   lt_cv_deplibs_check_method=pass_all
5660   ;;
5661
5662 rdos*)
5663   lt_cv_deplibs_check_method=pass_all
5664   ;;
5665
5666 solaris*)
5667   lt_cv_deplibs_check_method=pass_all
5668   ;;
5669
5670 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5671   lt_cv_deplibs_check_method=pass_all
5672   ;;
5673
5674 sysv4 | sysv4.3*)
5675   case $host_vendor in
5676   motorola)
5677     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]'
5678     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5679     ;;
5680   ncr)
5681     lt_cv_deplibs_check_method=pass_all
5682     ;;
5683   sequent)
5684     lt_cv_file_magic_cmd='/bin/file'
5685     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5686     ;;
5687   sni)
5688     lt_cv_file_magic_cmd='/bin/file'
5689     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5690     lt_cv_file_magic_test_file=/lib/libc.so
5691     ;;
5692   siemens)
5693     lt_cv_deplibs_check_method=pass_all
5694     ;;
5695   pc)
5696     lt_cv_deplibs_check_method=pass_all
5697     ;;
5698   esac
5699   ;;
5700
5701 tpf*)
5702   lt_cv_deplibs_check_method=pass_all
5703   ;;
5704 esac
5705
5706 fi
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5708 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5709
5710 file_magic_glob=
5711 want_nocaseglob=no
5712 if test "$build" = "$host"; then
5713   case $host_os in
5714   mingw* | pw32*)
5715     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5716       want_nocaseglob=yes
5717     else
5718       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5719     fi
5720     ;;
5721   esac
5722 fi
5723
5724 file_magic_cmd=$lt_cv_file_magic_cmd
5725 deplibs_check_method=$lt_cv_deplibs_check_method
5726 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749 if test -n "$ac_tool_prefix"; then
5750   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5751 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5753 $as_echo_n "checking for $ac_word... " >&6; }
5754 if ${ac_cv_prog_DLLTOOL+:} false; then :
5755   $as_echo_n "(cached) " >&6
5756 else
5757   if test -n "$DLLTOOL"; then
5758   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5759 else
5760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5761 for as_dir in $PATH
5762 do
5763   IFS=$as_save_IFS
5764   test -z "$as_dir" && as_dir=.
5765     for ac_exec_ext in '' $ac_executable_extensions; do
5766   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5767     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5768     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5769     break 2
5770   fi
5771 done
5772   done
5773 IFS=$as_save_IFS
5774
5775 fi
5776 fi
5777 DLLTOOL=$ac_cv_prog_DLLTOOL
5778 if test -n "$DLLTOOL"; then
5779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5780 $as_echo "$DLLTOOL" >&6; }
5781 else
5782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5783 $as_echo "no" >&6; }
5784 fi
5785
5786
5787 fi
5788 if test -z "$ac_cv_prog_DLLTOOL"; then
5789   ac_ct_DLLTOOL=$DLLTOOL
5790   # Extract the first word of "dlltool", so it can be a program name with args.
5791 set dummy dlltool; ac_word=$2
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5793 $as_echo_n "checking for $ac_word... " >&6; }
5794 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5795   $as_echo_n "(cached) " >&6
5796 else
5797   if test -n "$ac_ct_DLLTOOL"; then
5798   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5799 else
5800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5801 for as_dir in $PATH
5802 do
5803   IFS=$as_save_IFS
5804   test -z "$as_dir" && as_dir=.
5805     for ac_exec_ext in '' $ac_executable_extensions; do
5806   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5807     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5808     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5809     break 2
5810   fi
5811 done
5812   done
5813 IFS=$as_save_IFS
5814
5815 fi
5816 fi
5817 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5818 if test -n "$ac_ct_DLLTOOL"; then
5819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5820 $as_echo "$ac_ct_DLLTOOL" >&6; }
5821 else
5822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5823 $as_echo "no" >&6; }
5824 fi
5825
5826   if test "x$ac_ct_DLLTOOL" = x; then
5827     DLLTOOL="false"
5828   else
5829     case $cross_compiling:$ac_tool_warned in
5830 yes:)
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5833 ac_tool_warned=yes ;;
5834 esac
5835     DLLTOOL=$ac_ct_DLLTOOL
5836   fi
5837 else
5838   DLLTOOL="$ac_cv_prog_DLLTOOL"
5839 fi
5840
5841 test -z "$DLLTOOL" && DLLTOOL=dlltool
5842
5843
5844
5845
5846
5847
5848
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5850 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5851 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5852   $as_echo_n "(cached) " >&6
5853 else
5854   lt_cv_sharedlib_from_linklib_cmd='unknown'
5855
5856 case $host_os in
5857 cygwin* | mingw* | pw32* | cegcc*)
5858   # two different shell functions defined in ltmain.sh
5859   # decide which to use based on capabilities of $DLLTOOL
5860   case `$DLLTOOL --help 2>&1` in
5861   *--identify-strict*)
5862     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5863     ;;
5864   *)
5865     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5866     ;;
5867   esac
5868   ;;
5869 *)
5870   # fallback: assume linklib IS sharedlib
5871   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5872   ;;
5873 esac
5874
5875 fi
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5877 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5878 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5879 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5880
5881
5882
5883
5884
5885
5886
5887 if test -n "$ac_tool_prefix"; then
5888   for ac_prog in ar
5889   do
5890     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5891 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5893 $as_echo_n "checking for $ac_word... " >&6; }
5894 if ${ac_cv_prog_AR+:} false; then :
5895   $as_echo_n "(cached) " >&6
5896 else
5897   if test -n "$AR"; then
5898   ac_cv_prog_AR="$AR" # Let the user override the test.
5899 else
5900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5901 for as_dir in $PATH
5902 do
5903   IFS=$as_save_IFS
5904   test -z "$as_dir" && as_dir=.
5905     for ac_exec_ext in '' $ac_executable_extensions; do
5906   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5907     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5908     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5909     break 2
5910   fi
5911 done
5912   done
5913 IFS=$as_save_IFS
5914
5915 fi
5916 fi
5917 AR=$ac_cv_prog_AR
5918 if test -n "$AR"; then
5919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5920 $as_echo "$AR" >&6; }
5921 else
5922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5923 $as_echo "no" >&6; }
5924 fi
5925
5926
5927     test -n "$AR" && break
5928   done
5929 fi
5930 if test -z "$AR"; then
5931   ac_ct_AR=$AR
5932   for ac_prog in ar
5933 do
5934   # Extract the first word of "$ac_prog", so it can be a program name with args.
5935 set dummy $ac_prog; ac_word=$2
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5937 $as_echo_n "checking for $ac_word... " >&6; }
5938 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5939   $as_echo_n "(cached) " >&6
5940 else
5941   if test -n "$ac_ct_AR"; then
5942   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5943 else
5944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5945 for as_dir in $PATH
5946 do
5947   IFS=$as_save_IFS
5948   test -z "$as_dir" && as_dir=.
5949     for ac_exec_ext in '' $ac_executable_extensions; do
5950   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5951     ac_cv_prog_ac_ct_AR="$ac_prog"
5952     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5953     break 2
5954   fi
5955 done
5956   done
5957 IFS=$as_save_IFS
5958
5959 fi
5960 fi
5961 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5962 if test -n "$ac_ct_AR"; then
5963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5964 $as_echo "$ac_ct_AR" >&6; }
5965 else
5966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5967 $as_echo "no" >&6; }
5968 fi
5969
5970
5971   test -n "$ac_ct_AR" && break
5972 done
5973
5974   if test "x$ac_ct_AR" = x; then
5975     AR="false"
5976   else
5977     case $cross_compiling:$ac_tool_warned in
5978 yes:)
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5981 ac_tool_warned=yes ;;
5982 esac
5983     AR=$ac_ct_AR
5984   fi
5985 fi
5986
5987 : ${AR=ar}
5988 : ${AR_FLAGS=cru}
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6001 $as_echo_n "checking for archiver @FILE support... " >&6; }
6002 if ${lt_cv_ar_at_file+:} false; then :
6003   $as_echo_n "(cached) " >&6
6004 else
6005   lt_cv_ar_at_file=no
6006    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6007 /* end confdefs.h.  */
6008
6009 int
6010 main ()
6011 {
6012
6013   ;
6014   return 0;
6015 }
6016 _ACEOF
6017 if ac_fn_c_try_compile "$LINENO"; then :
6018   echo conftest.$ac_objext > conftest.lst
6019       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6020       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6021   (eval $lt_ar_try) 2>&5
6022   ac_status=$?
6023   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6024   test $ac_status = 0; }
6025       if test "$ac_status" -eq 0; then
6026         # Ensure the archiver fails upon bogus file names.
6027         rm -f conftest.$ac_objext libconftest.a
6028         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6029   (eval $lt_ar_try) 2>&5
6030   ac_status=$?
6031   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6032   test $ac_status = 0; }
6033         if test "$ac_status" -ne 0; then
6034           lt_cv_ar_at_file=@
6035         fi
6036       fi
6037       rm -f conftest.* libconftest.a
6038
6039 fi
6040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6041
6042 fi
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6044 $as_echo "$lt_cv_ar_at_file" >&6; }
6045
6046 if test "x$lt_cv_ar_at_file" = xno; then
6047   archiver_list_spec=
6048 else
6049   archiver_list_spec=$lt_cv_ar_at_file
6050 fi
6051
6052
6053
6054
6055
6056
6057
6058 if test -n "$ac_tool_prefix"; then
6059   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6060 set dummy ${ac_tool_prefix}strip; ac_word=$2
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6062 $as_echo_n "checking for $ac_word... " >&6; }
6063 if ${ac_cv_prog_STRIP+:} false; then :
6064   $as_echo_n "(cached) " >&6
6065 else
6066   if test -n "$STRIP"; then
6067   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6068 else
6069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6070 for as_dir in $PATH
6071 do
6072   IFS=$as_save_IFS
6073   test -z "$as_dir" && as_dir=.
6074     for ac_exec_ext in '' $ac_executable_extensions; do
6075   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6076     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6077     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6078     break 2
6079   fi
6080 done
6081   done
6082 IFS=$as_save_IFS
6083
6084 fi
6085 fi
6086 STRIP=$ac_cv_prog_STRIP
6087 if test -n "$STRIP"; then
6088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6089 $as_echo "$STRIP" >&6; }
6090 else
6091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6092 $as_echo "no" >&6; }
6093 fi
6094
6095
6096 fi
6097 if test -z "$ac_cv_prog_STRIP"; then
6098   ac_ct_STRIP=$STRIP
6099   # Extract the first word of "strip", so it can be a program name with args.
6100 set dummy strip; ac_word=$2
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6102 $as_echo_n "checking for $ac_word... " >&6; }
6103 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6104   $as_echo_n "(cached) " >&6
6105 else
6106   if test -n "$ac_ct_STRIP"; then
6107   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6108 else
6109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6110 for as_dir in $PATH
6111 do
6112   IFS=$as_save_IFS
6113   test -z "$as_dir" && as_dir=.
6114     for ac_exec_ext in '' $ac_executable_extensions; do
6115   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6116     ac_cv_prog_ac_ct_STRIP="strip"
6117     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6118     break 2
6119   fi
6120 done
6121   done
6122 IFS=$as_save_IFS
6123
6124 fi
6125 fi
6126 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6127 if test -n "$ac_ct_STRIP"; then
6128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6129 $as_echo "$ac_ct_STRIP" >&6; }
6130 else
6131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6132 $as_echo "no" >&6; }
6133 fi
6134
6135   if test "x$ac_ct_STRIP" = x; then
6136     STRIP=":"
6137   else
6138     case $cross_compiling:$ac_tool_warned in
6139 yes:)
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6142 ac_tool_warned=yes ;;
6143 esac
6144     STRIP=$ac_ct_STRIP
6145   fi
6146 else
6147   STRIP="$ac_cv_prog_STRIP"
6148 fi
6149
6150 test -z "$STRIP" && STRIP=:
6151
6152
6153
6154
6155
6156
6157 if test -n "$ac_tool_prefix"; then
6158   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6159 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6161 $as_echo_n "checking for $ac_word... " >&6; }
6162 if ${ac_cv_prog_RANLIB+:} false; then :
6163   $as_echo_n "(cached) " >&6
6164 else
6165   if test -n "$RANLIB"; then
6166   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6167 else
6168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6169 for as_dir in $PATH
6170 do
6171   IFS=$as_save_IFS
6172   test -z "$as_dir" && as_dir=.
6173     for ac_exec_ext in '' $ac_executable_extensions; do
6174   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6175     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6176     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6177     break 2
6178   fi
6179 done
6180   done
6181 IFS=$as_save_IFS
6182
6183 fi
6184 fi
6185 RANLIB=$ac_cv_prog_RANLIB
6186 if test -n "$RANLIB"; then
6187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6188 $as_echo "$RANLIB" >&6; }
6189 else
6190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6191 $as_echo "no" >&6; }
6192 fi
6193
6194
6195 fi
6196 if test -z "$ac_cv_prog_RANLIB"; then
6197   ac_ct_RANLIB=$RANLIB
6198   # Extract the first word of "ranlib", so it can be a program name with args.
6199 set dummy ranlib; ac_word=$2
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6201 $as_echo_n "checking for $ac_word... " >&6; }
6202 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6203   $as_echo_n "(cached) " >&6
6204 else
6205   if test -n "$ac_ct_RANLIB"; then
6206   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6207 else
6208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6209 for as_dir in $PATH
6210 do
6211   IFS=$as_save_IFS
6212   test -z "$as_dir" && as_dir=.
6213     for ac_exec_ext in '' $ac_executable_extensions; do
6214   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6215     ac_cv_prog_ac_ct_RANLIB="ranlib"
6216     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6217     break 2
6218   fi
6219 done
6220   done
6221 IFS=$as_save_IFS
6222
6223 fi
6224 fi
6225 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6226 if test -n "$ac_ct_RANLIB"; then
6227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6228 $as_echo "$ac_ct_RANLIB" >&6; }
6229 else
6230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6231 $as_echo "no" >&6; }
6232 fi
6233
6234   if test "x$ac_ct_RANLIB" = x; then
6235     RANLIB=":"
6236   else
6237     case $cross_compiling:$ac_tool_warned in
6238 yes:)
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6240 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6241 ac_tool_warned=yes ;;
6242 esac
6243     RANLIB=$ac_ct_RANLIB
6244   fi
6245 else
6246   RANLIB="$ac_cv_prog_RANLIB"
6247 fi
6248
6249 test -z "$RANLIB" && RANLIB=:
6250
6251
6252
6253
6254
6255
6256 # Determine commands to create old-style static archives.
6257 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6258 old_postinstall_cmds='chmod 644 $oldlib'
6259 old_postuninstall_cmds=
6260
6261 if test -n "$RANLIB"; then
6262   case $host_os in
6263   openbsd*)
6264     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6265     ;;
6266   *)
6267     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6268     ;;
6269   esac
6270   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6271 fi
6272
6273 case $host_os in
6274   darwin*)
6275     lock_old_archive_extraction=yes ;;
6276   *)
6277     lock_old_archive_extraction=no ;;
6278 esac
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318 # If no C compiler was specified, use CC.
6319 LTCC=${LTCC-"$CC"}
6320
6321 # If no C compiler flags were specified, use CFLAGS.
6322 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6323
6324 # Allow CC to be a program name with arguments.
6325 compiler=$CC
6326
6327
6328 # Check for command to grab the raw symbol name followed by C symbol from nm.
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6330 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6331 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6332   $as_echo_n "(cached) " >&6
6333 else
6334
6335 # These are sane defaults that work on at least a few old systems.
6336 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6337
6338 # Character class describing NM global symbol codes.
6339 symcode='[BCDEGRST]'
6340
6341 # Regexp to match symbols that can be accessed directly from C.
6342 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6343
6344 # Define system-specific variables.
6345 case $host_os in
6346 aix*)
6347   symcode='[BCDT]'
6348   ;;
6349 cygwin* | mingw* | pw32* | cegcc*)
6350   symcode='[ABCDGISTW]'
6351   ;;
6352 hpux*)
6353   if test "$host_cpu" = ia64; then
6354     symcode='[ABCDEGRST]'
6355   fi
6356   ;;
6357 irix* | nonstopux*)
6358   symcode='[BCDEGRST]'
6359   ;;
6360 osf*)
6361   symcode='[BCDEGQRST]'
6362   ;;
6363 solaris*)
6364   symcode='[BDRT]'
6365   ;;
6366 sco3.2v5*)
6367   symcode='[DT]'
6368   ;;
6369 sysv4.2uw2*)
6370   symcode='[DT]'
6371   ;;
6372 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6373   symcode='[ABDT]'
6374   ;;
6375 sysv4)
6376   symcode='[DFNSTU]'
6377   ;;
6378 esac
6379
6380 # If we're using GNU nm, then use its standard symbol codes.
6381 case `$NM -V 2>&1` in
6382 *GNU* | *'with BFD'*)
6383   symcode='[ABCDGIRSTW]' ;;
6384 esac
6385
6386 # Transform an extracted symbol line into a proper C declaration.
6387 # Some systems (esp. on ia64) link data and code symbols differently,
6388 # so use this general approach.
6389 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6390
6391 # Transform an extracted symbol line into symbol name and symbol address
6392 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6393 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'"
6394
6395 # Handle CRLF in mingw tool chain
6396 opt_cr=
6397 case $build_os in
6398 mingw*)
6399   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6400   ;;
6401 esac
6402
6403 # Try without a prefix underscore, then with it.
6404 for ac_symprfx in "" "_"; do
6405
6406   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6407   symxfrm="\\1 $ac_symprfx\\2 \\2"
6408
6409   # Write the raw and C identifiers.
6410   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6411     # Fake it for dumpbin and say T for any non-static function
6412     # and D for any global variable.
6413     # Also find C++ and __fastcall symbols from MSVC++,
6414     # which start with @ or ?.
6415     lt_cv_sys_global_symbol_pipe="$AWK '"\
6416 "     {last_section=section; section=\$ 3};"\
6417 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6418 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6419 "     \$ 0!~/External *\|/{next};"\
6420 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6421 "     {if(hide[section]) next};"\
6422 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6423 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6424 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6425 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6426 "     ' prfx=^$ac_symprfx"
6427   else
6428     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6429   fi
6430   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6431
6432   # Check to see that the pipe works correctly.
6433   pipe_works=no
6434
6435   rm -f conftest*
6436   cat > conftest.$ac_ext <<_LT_EOF
6437 #ifdef __cplusplus
6438 extern "C" {
6439 #endif
6440 char nm_test_var;
6441 void nm_test_func(void);
6442 void nm_test_func(void){}
6443 #ifdef __cplusplus
6444 }
6445 #endif
6446 int main(){nm_test_var='a';nm_test_func();return(0);}
6447 _LT_EOF
6448
6449   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6450   (eval $ac_compile) 2>&5
6451   ac_status=$?
6452   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6453   test $ac_status = 0; }; then
6454     # Now try to grab the symbols.
6455     nlist=conftest.nm
6456     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6457   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6458   ac_status=$?
6459   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6460   test $ac_status = 0; } && test -s "$nlist"; then
6461       # Try sorting and uniquifying the output.
6462       if sort "$nlist" | uniq > "$nlist"T; then
6463         mv -f "$nlist"T "$nlist"
6464       else
6465         rm -f "$nlist"T
6466       fi
6467
6468       # Make sure that we snagged all the symbols we need.
6469       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6470         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6471           cat <<_LT_EOF > conftest.$ac_ext
6472 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6473 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6474 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6475    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6476 # define LT_DLSYM_CONST
6477 #elif defined(__osf__)
6478 /* This system does not cope well with relocations in const data.  */
6479 # define LT_DLSYM_CONST
6480 #else
6481 # define LT_DLSYM_CONST const
6482 #endif
6483
6484 #ifdef __cplusplus
6485 extern "C" {
6486 #endif
6487
6488 _LT_EOF
6489           # Now generate the symbol file.
6490           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6491
6492           cat <<_LT_EOF >> conftest.$ac_ext
6493
6494 /* The mapping between symbol names and symbols.  */
6495 LT_DLSYM_CONST struct {
6496   const char *name;
6497   void       *address;
6498 }
6499 lt__PROGRAM__LTX_preloaded_symbols[] =
6500 {
6501   { "@PROGRAM@", (void *) 0 },
6502 _LT_EOF
6503           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6504           cat <<\_LT_EOF >> conftest.$ac_ext
6505   {0, (void *) 0}
6506 };
6507
6508 /* This works around a problem in FreeBSD linker */
6509 #ifdef FREEBSD_WORKAROUND
6510 static const void *lt_preloaded_setup() {
6511   return lt__PROGRAM__LTX_preloaded_symbols;
6512 }
6513 #endif
6514
6515 #ifdef __cplusplus
6516 }
6517 #endif
6518 _LT_EOF
6519           # Now try linking the two files.
6520           mv conftest.$ac_objext conftstm.$ac_objext
6521           lt_globsym_save_LIBS=$LIBS
6522           lt_globsym_save_CFLAGS=$CFLAGS
6523           LIBS="conftstm.$ac_objext"
6524           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6525           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6526   (eval $ac_link) 2>&5
6527   ac_status=$?
6528   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6529   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6530             pipe_works=yes
6531           fi
6532           LIBS=$lt_globsym_save_LIBS
6533           CFLAGS=$lt_globsym_save_CFLAGS
6534         else
6535           echo "cannot find nm_test_func in $nlist" >&5
6536         fi
6537       else
6538         echo "cannot find nm_test_var in $nlist" >&5
6539       fi
6540     else
6541       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6542     fi
6543   else
6544     echo "$progname: failed program was:" >&5
6545     cat conftest.$ac_ext >&5
6546   fi
6547   rm -rf conftest* conftst*
6548
6549   # Do not use the global_symbol_pipe unless it works.
6550   if test "$pipe_works" = yes; then
6551     break
6552   else
6553     lt_cv_sys_global_symbol_pipe=
6554   fi
6555 done
6556
6557 fi
6558
6559 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6560   lt_cv_sys_global_symbol_to_cdecl=
6561 fi
6562 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6564 $as_echo "failed" >&6; }
6565 else
6566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6567 $as_echo "ok" >&6; }
6568 fi
6569
6570 # Response file support.
6571 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6572   nm_file_list_spec='@'
6573 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6574   nm_file_list_spec='@'
6575 fi
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6604 $as_echo_n "checking for sysroot... " >&6; }
6605
6606 # Check whether --with-sysroot was given.
6607 if test "${with_sysroot+set}" = set; then :
6608   withval=$with_sysroot;
6609 else
6610   with_sysroot=no
6611 fi
6612
6613
6614 lt_sysroot=
6615 case ${with_sysroot} in #(
6616  yes)
6617    if test "$GCC" = yes; then
6618      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6619    fi
6620    ;; #(
6621  /*)
6622    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6623    ;; #(
6624  no|'')
6625    ;; #(
6626  *)
6627    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6628 $as_echo "${with_sysroot}" >&6; }
6629    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6630    ;;
6631 esac
6632
6633  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6634 $as_echo "${lt_sysroot:-no}" >&6; }
6635
6636
6637
6638
6639
6640 # Check whether --enable-libtool-lock was given.
6641 if test "${enable_libtool_lock+set}" = set; then :
6642   enableval=$enable_libtool_lock;
6643 fi
6644
6645 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6646
6647 # Some flags need to be propagated to the compiler or linker for good
6648 # libtool support.
6649 case $host in
6650 ia64-*-hpux*)
6651   # Find out which ABI we are using.
6652   echo 'int i;' > conftest.$ac_ext
6653   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6654   (eval $ac_compile) 2>&5
6655   ac_status=$?
6656   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6657   test $ac_status = 0; }; then
6658     case `/usr/bin/file conftest.$ac_objext` in
6659       *ELF-32*)
6660         HPUX_IA64_MODE="32"
6661         ;;
6662       *ELF-64*)
6663         HPUX_IA64_MODE="64"
6664         ;;
6665     esac
6666   fi
6667   rm -rf conftest*
6668   ;;
6669 *-*-irix6*)
6670   # Find out which ABI we are using.
6671   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6672   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6673   (eval $ac_compile) 2>&5
6674   ac_status=$?
6675   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6676   test $ac_status = 0; }; then
6677     if test "$lt_cv_prog_gnu_ld" = yes; then
6678       case `/usr/bin/file conftest.$ac_objext` in
6679         *32-bit*)
6680           LD="${LD-ld} -melf32bsmip"
6681           ;;
6682         *N32*)
6683           LD="${LD-ld} -melf32bmipn32"
6684           ;;
6685         *64-bit*)
6686           LD="${LD-ld} -melf64bmip"
6687         ;;
6688       esac
6689     else
6690       case `/usr/bin/file conftest.$ac_objext` in
6691         *32-bit*)
6692           LD="${LD-ld} -32"
6693           ;;
6694         *N32*)
6695           LD="${LD-ld} -n32"
6696           ;;
6697         *64-bit*)
6698           LD="${LD-ld} -64"
6699           ;;
6700       esac
6701     fi
6702   fi
6703   rm -rf conftest*
6704   ;;
6705
6706 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6707 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6708   # Find out which ABI we are using.
6709   echo 'int i;' > conftest.$ac_ext
6710   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6711   (eval $ac_compile) 2>&5
6712   ac_status=$?
6713   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6714   test $ac_status = 0; }; then
6715     case `/usr/bin/file conftest.o` in
6716       *32-bit*)
6717         case $host in
6718           x86_64-*kfreebsd*-gnu)
6719             LD="${LD-ld} -m elf_i386_fbsd"
6720             ;;
6721           x86_64-*linux*)
6722             LD="${LD-ld} -m elf_i386"
6723             ;;
6724           ppc64-*linux*|powerpc64-*linux*)
6725             LD="${LD-ld} -m elf32ppclinux"
6726             ;;
6727           s390x-*linux*)
6728             LD="${LD-ld} -m elf_s390"
6729             ;;
6730           sparc64-*linux*)
6731             LD="${LD-ld} -m elf32_sparc"
6732             ;;
6733         esac
6734         ;;
6735       *64-bit*)
6736         case $host in
6737           x86_64-*kfreebsd*-gnu)
6738             LD="${LD-ld} -m elf_x86_64_fbsd"
6739             ;;
6740           x86_64-*linux*)
6741             LD="${LD-ld} -m elf_x86_64"
6742             ;;
6743           ppc*-*linux*|powerpc*-*linux*)
6744             LD="${LD-ld} -m elf64ppc"
6745             ;;
6746           s390*-*linux*|s390*-*tpf*)
6747             LD="${LD-ld} -m elf64_s390"
6748             ;;
6749           sparc*-*linux*)
6750             LD="${LD-ld} -m elf64_sparc"
6751             ;;
6752         esac
6753         ;;
6754     esac
6755   fi
6756   rm -rf conftest*
6757   ;;
6758
6759 *-*-sco3.2v5*)
6760   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6761   SAVE_CFLAGS="$CFLAGS"
6762   CFLAGS="$CFLAGS -belf"
6763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6764 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6765 if ${lt_cv_cc_needs_belf+:} false; then :
6766   $as_echo_n "(cached) " >&6
6767 else
6768   ac_ext=c
6769 ac_cpp='$CPP $CPPFLAGS'
6770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6773
6774      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6775 /* end confdefs.h.  */
6776
6777 int
6778 main ()
6779 {
6780
6781   ;
6782   return 0;
6783 }
6784 _ACEOF
6785 if ac_fn_c_try_link "$LINENO"; then :
6786   lt_cv_cc_needs_belf=yes
6787 else
6788   lt_cv_cc_needs_belf=no
6789 fi
6790 rm -f core conftest.err conftest.$ac_objext \
6791     conftest$ac_exeext conftest.$ac_ext
6792      ac_ext=c
6793 ac_cpp='$CPP $CPPFLAGS'
6794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6797
6798 fi
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6800 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6801   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6802     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6803     CFLAGS="$SAVE_CFLAGS"
6804   fi
6805   ;;
6806 *-*solaris*)
6807   # Find out which ABI we are using.
6808   echo 'int i;' > conftest.$ac_ext
6809   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6810   (eval $ac_compile) 2>&5
6811   ac_status=$?
6812   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6813   test $ac_status = 0; }; then
6814     case `/usr/bin/file conftest.o` in
6815     *64-bit*)
6816       case $lt_cv_prog_gnu_ld in
6817       yes*)
6818         case $host in
6819         i?86-*-solaris*)
6820           LD="${LD-ld} -m elf_x86_64"
6821           ;;
6822         sparc*-*-solaris*)
6823           LD="${LD-ld} -m elf64_sparc"
6824           ;;
6825         esac
6826         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6827         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6828           LD="${LD-ld}_sol2"
6829         fi
6830         ;;
6831       *)
6832         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6833           LD="${LD-ld} -64"
6834         fi
6835         ;;
6836       esac
6837       ;;
6838     esac
6839   fi
6840   rm -rf conftest*
6841   ;;
6842 esac
6843
6844 need_locks="$enable_libtool_lock"
6845
6846 if test -n "$ac_tool_prefix"; then
6847   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6848 set dummy ${ac_tool_prefix}mt; ac_word=$2
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6850 $as_echo_n "checking for $ac_word... " >&6; }
6851 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6852   $as_echo_n "(cached) " >&6
6853 else
6854   if test -n "$MANIFEST_TOOL"; then
6855   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6856 else
6857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6858 for as_dir in $PATH
6859 do
6860   IFS=$as_save_IFS
6861   test -z "$as_dir" && as_dir=.
6862     for ac_exec_ext in '' $ac_executable_extensions; do
6863   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6864     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6865     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6866     break 2
6867   fi
6868 done
6869   done
6870 IFS=$as_save_IFS
6871
6872 fi
6873 fi
6874 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6875 if test -n "$MANIFEST_TOOL"; then
6876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6877 $as_echo "$MANIFEST_TOOL" >&6; }
6878 else
6879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6880 $as_echo "no" >&6; }
6881 fi
6882
6883
6884 fi
6885 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6886   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6887   # Extract the first word of "mt", so it can be a program name with args.
6888 set dummy mt; ac_word=$2
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6890 $as_echo_n "checking for $ac_word... " >&6; }
6891 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6892   $as_echo_n "(cached) " >&6
6893 else
6894   if test -n "$ac_ct_MANIFEST_TOOL"; then
6895   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6896 else
6897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6898 for as_dir in $PATH
6899 do
6900   IFS=$as_save_IFS
6901   test -z "$as_dir" && as_dir=.
6902     for ac_exec_ext in '' $ac_executable_extensions; do
6903   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6904     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6905     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6906     break 2
6907   fi
6908 done
6909   done
6910 IFS=$as_save_IFS
6911
6912 fi
6913 fi
6914 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6915 if test -n "$ac_ct_MANIFEST_TOOL"; then
6916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6917 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6918 else
6919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6920 $as_echo "no" >&6; }
6921 fi
6922
6923   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6924     MANIFEST_TOOL=":"
6925   else
6926     case $cross_compiling:$ac_tool_warned in
6927 yes:)
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6929 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6930 ac_tool_warned=yes ;;
6931 esac
6932     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6933   fi
6934 else
6935   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6936 fi
6937
6938 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6940 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6941 if ${lt_cv_path_mainfest_tool+:} false; then :
6942   $as_echo_n "(cached) " >&6
6943 else
6944   lt_cv_path_mainfest_tool=no
6945   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6946   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6947   cat conftest.err >&5
6948   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6949     lt_cv_path_mainfest_tool=yes
6950   fi
6951   rm -f conftest*
6952 fi
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6954 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6955 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6956   MANIFEST_TOOL=:
6957 fi
6958
6959
6960
6961
6962
6963
6964   case $host_os in
6965     rhapsody* | darwin*)
6966     if test -n "$ac_tool_prefix"; then
6967   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6968 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6970 $as_echo_n "checking for $ac_word... " >&6; }
6971 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6972   $as_echo_n "(cached) " >&6
6973 else
6974   if test -n "$DSYMUTIL"; then
6975   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6976 else
6977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6978 for as_dir in $PATH
6979 do
6980   IFS=$as_save_IFS
6981   test -z "$as_dir" && as_dir=.
6982     for ac_exec_ext in '' $ac_executable_extensions; do
6983   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6984     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6985     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6986     break 2
6987   fi
6988 done
6989   done
6990 IFS=$as_save_IFS
6991
6992 fi
6993 fi
6994 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6995 if test -n "$DSYMUTIL"; then
6996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6997 $as_echo "$DSYMUTIL" >&6; }
6998 else
6999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7000 $as_echo "no" >&6; }
7001 fi
7002
7003
7004 fi
7005 if test -z "$ac_cv_prog_DSYMUTIL"; then
7006   ac_ct_DSYMUTIL=$DSYMUTIL
7007   # Extract the first word of "dsymutil", so it can be a program name with args.
7008 set dummy dsymutil; ac_word=$2
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7010 $as_echo_n "checking for $ac_word... " >&6; }
7011 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7012   $as_echo_n "(cached) " >&6
7013 else
7014   if test -n "$ac_ct_DSYMUTIL"; then
7015   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7016 else
7017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7018 for as_dir in $PATH
7019 do
7020   IFS=$as_save_IFS
7021   test -z "$as_dir" && as_dir=.
7022     for ac_exec_ext in '' $ac_executable_extensions; do
7023   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7024     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7025     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7026     break 2
7027   fi
7028 done
7029   done
7030 IFS=$as_save_IFS
7031
7032 fi
7033 fi
7034 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7035 if test -n "$ac_ct_DSYMUTIL"; then
7036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7037 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7038 else
7039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7040 $as_echo "no" >&6; }
7041 fi
7042
7043   if test "x$ac_ct_DSYMUTIL" = x; then
7044     DSYMUTIL=":"
7045   else
7046     case $cross_compiling:$ac_tool_warned in
7047 yes:)
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7049 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7050 ac_tool_warned=yes ;;
7051 esac
7052     DSYMUTIL=$ac_ct_DSYMUTIL
7053   fi
7054 else
7055   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7056 fi
7057
7058     if test -n "$ac_tool_prefix"; then
7059   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7060 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7062 $as_echo_n "checking for $ac_word... " >&6; }
7063 if ${ac_cv_prog_NMEDIT+:} false; then :
7064   $as_echo_n "(cached) " >&6
7065 else
7066   if test -n "$NMEDIT"; then
7067   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7068 else
7069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7070 for as_dir in $PATH
7071 do
7072   IFS=$as_save_IFS
7073   test -z "$as_dir" && as_dir=.
7074     for ac_exec_ext in '' $ac_executable_extensions; do
7075   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7076     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7077     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7078     break 2
7079   fi
7080 done
7081   done
7082 IFS=$as_save_IFS
7083
7084 fi
7085 fi
7086 NMEDIT=$ac_cv_prog_NMEDIT
7087 if test -n "$NMEDIT"; then
7088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7089 $as_echo "$NMEDIT" >&6; }
7090 else
7091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7092 $as_echo "no" >&6; }
7093 fi
7094
7095
7096 fi
7097 if test -z "$ac_cv_prog_NMEDIT"; then
7098   ac_ct_NMEDIT=$NMEDIT
7099   # Extract the first word of "nmedit", so it can be a program name with args.
7100 set dummy nmedit; ac_word=$2
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7102 $as_echo_n "checking for $ac_word... " >&6; }
7103 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7104   $as_echo_n "(cached) " >&6
7105 else
7106   if test -n "$ac_ct_NMEDIT"; then
7107   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7108 else
7109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7110 for as_dir in $PATH
7111 do
7112   IFS=$as_save_IFS
7113   test -z "$as_dir" && as_dir=.
7114     for ac_exec_ext in '' $ac_executable_extensions; do
7115   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7116     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7117     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7118     break 2
7119   fi
7120 done
7121   done
7122 IFS=$as_save_IFS
7123
7124 fi
7125 fi
7126 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7127 if test -n "$ac_ct_NMEDIT"; then
7128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7129 $as_echo "$ac_ct_NMEDIT" >&6; }
7130 else
7131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7132 $as_echo "no" >&6; }
7133 fi
7134
7135   if test "x$ac_ct_NMEDIT" = x; then
7136     NMEDIT=":"
7137   else
7138     case $cross_compiling:$ac_tool_warned in
7139 yes:)
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7142 ac_tool_warned=yes ;;
7143 esac
7144     NMEDIT=$ac_ct_NMEDIT
7145   fi
7146 else
7147   NMEDIT="$ac_cv_prog_NMEDIT"
7148 fi
7149
7150     if test -n "$ac_tool_prefix"; then
7151   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7152 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7154 $as_echo_n "checking for $ac_word... " >&6; }
7155 if ${ac_cv_prog_LIPO+:} false; then :
7156   $as_echo_n "(cached) " >&6
7157 else
7158   if test -n "$LIPO"; then
7159   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7160 else
7161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7162 for as_dir in $PATH
7163 do
7164   IFS=$as_save_IFS
7165   test -z "$as_dir" && as_dir=.
7166     for ac_exec_ext in '' $ac_executable_extensions; do
7167   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7168     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7169     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7170     break 2
7171   fi
7172 done
7173   done
7174 IFS=$as_save_IFS
7175
7176 fi
7177 fi
7178 LIPO=$ac_cv_prog_LIPO
7179 if test -n "$LIPO"; then
7180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7181 $as_echo "$LIPO" >&6; }
7182 else
7183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7184 $as_echo "no" >&6; }
7185 fi
7186
7187
7188 fi
7189 if test -z "$ac_cv_prog_LIPO"; then
7190   ac_ct_LIPO=$LIPO
7191   # Extract the first word of "lipo", so it can be a program name with args.
7192 set dummy lipo; ac_word=$2
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7194 $as_echo_n "checking for $ac_word... " >&6; }
7195 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7196   $as_echo_n "(cached) " >&6
7197 else
7198   if test -n "$ac_ct_LIPO"; then
7199   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7200 else
7201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7202 for as_dir in $PATH
7203 do
7204   IFS=$as_save_IFS
7205   test -z "$as_dir" && as_dir=.
7206     for ac_exec_ext in '' $ac_executable_extensions; do
7207   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7208     ac_cv_prog_ac_ct_LIPO="lipo"
7209     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7210     break 2
7211   fi
7212 done
7213   done
7214 IFS=$as_save_IFS
7215
7216 fi
7217 fi
7218 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7219 if test -n "$ac_ct_LIPO"; then
7220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7221 $as_echo "$ac_ct_LIPO" >&6; }
7222 else
7223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7224 $as_echo "no" >&6; }
7225 fi
7226
7227   if test "x$ac_ct_LIPO" = x; then
7228     LIPO=":"
7229   else
7230     case $cross_compiling:$ac_tool_warned in
7231 yes:)
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7233 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7234 ac_tool_warned=yes ;;
7235 esac
7236     LIPO=$ac_ct_LIPO
7237   fi
7238 else
7239   LIPO="$ac_cv_prog_LIPO"
7240 fi
7241
7242     if test -n "$ac_tool_prefix"; then
7243   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7244 set dummy ${ac_tool_prefix}otool; ac_word=$2
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7246 $as_echo_n "checking for $ac_word... " >&6; }
7247 if ${ac_cv_prog_OTOOL+:} false; then :
7248   $as_echo_n "(cached) " >&6
7249 else
7250   if test -n "$OTOOL"; then
7251   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7252 else
7253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7254 for as_dir in $PATH
7255 do
7256   IFS=$as_save_IFS
7257   test -z "$as_dir" && as_dir=.
7258     for ac_exec_ext in '' $ac_executable_extensions; do
7259   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7260     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7261     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7262     break 2
7263   fi
7264 done
7265   done
7266 IFS=$as_save_IFS
7267
7268 fi
7269 fi
7270 OTOOL=$ac_cv_prog_OTOOL
7271 if test -n "$OTOOL"; then
7272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7273 $as_echo "$OTOOL" >&6; }
7274 else
7275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7276 $as_echo "no" >&6; }
7277 fi
7278
7279
7280 fi
7281 if test -z "$ac_cv_prog_OTOOL"; then
7282   ac_ct_OTOOL=$OTOOL
7283   # Extract the first word of "otool", so it can be a program name with args.
7284 set dummy otool; ac_word=$2
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7286 $as_echo_n "checking for $ac_word... " >&6; }
7287 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7288   $as_echo_n "(cached) " >&6
7289 else
7290   if test -n "$ac_ct_OTOOL"; then
7291   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7292 else
7293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7294 for as_dir in $PATH
7295 do
7296   IFS=$as_save_IFS
7297   test -z "$as_dir" && as_dir=.
7298     for ac_exec_ext in '' $ac_executable_extensions; do
7299   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7300     ac_cv_prog_ac_ct_OTOOL="otool"
7301     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7302     break 2
7303   fi
7304 done
7305   done
7306 IFS=$as_save_IFS
7307
7308 fi
7309 fi
7310 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7311 if test -n "$ac_ct_OTOOL"; then
7312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7313 $as_echo "$ac_ct_OTOOL" >&6; }
7314 else
7315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7316 $as_echo "no" >&6; }
7317 fi
7318
7319   if test "x$ac_ct_OTOOL" = x; then
7320     OTOOL=":"
7321   else
7322     case $cross_compiling:$ac_tool_warned in
7323 yes:)
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7325 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7326 ac_tool_warned=yes ;;
7327 esac
7328     OTOOL=$ac_ct_OTOOL
7329   fi
7330 else
7331   OTOOL="$ac_cv_prog_OTOOL"
7332 fi
7333
7334     if test -n "$ac_tool_prefix"; then
7335   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7336 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7338 $as_echo_n "checking for $ac_word... " >&6; }
7339 if ${ac_cv_prog_OTOOL64+:} false; then :
7340   $as_echo_n "(cached) " >&6
7341 else
7342   if test -n "$OTOOL64"; then
7343   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7344 else
7345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7346 for as_dir in $PATH
7347 do
7348   IFS=$as_save_IFS
7349   test -z "$as_dir" && as_dir=.
7350     for ac_exec_ext in '' $ac_executable_extensions; do
7351   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7352     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7353     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7354     break 2
7355   fi
7356 done
7357   done
7358 IFS=$as_save_IFS
7359
7360 fi
7361 fi
7362 OTOOL64=$ac_cv_prog_OTOOL64
7363 if test -n "$OTOOL64"; then
7364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7365 $as_echo "$OTOOL64" >&6; }
7366 else
7367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7368 $as_echo "no" >&6; }
7369 fi
7370
7371
7372 fi
7373 if test -z "$ac_cv_prog_OTOOL64"; then
7374   ac_ct_OTOOL64=$OTOOL64
7375   # Extract the first word of "otool64", so it can be a program name with args.
7376 set dummy otool64; ac_word=$2
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7378 $as_echo_n "checking for $ac_word... " >&6; }
7379 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7380   $as_echo_n "(cached) " >&6
7381 else
7382   if test -n "$ac_ct_OTOOL64"; then
7383   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7384 else
7385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7386 for as_dir in $PATH
7387 do
7388   IFS=$as_save_IFS
7389   test -z "$as_dir" && as_dir=.
7390     for ac_exec_ext in '' $ac_executable_extensions; do
7391   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7392     ac_cv_prog_ac_ct_OTOOL64="otool64"
7393     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7394     break 2
7395   fi
7396 done
7397   done
7398 IFS=$as_save_IFS
7399
7400 fi
7401 fi
7402 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7403 if test -n "$ac_ct_OTOOL64"; then
7404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7405 $as_echo "$ac_ct_OTOOL64" >&6; }
7406 else
7407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7408 $as_echo "no" >&6; }
7409 fi
7410
7411   if test "x$ac_ct_OTOOL64" = x; then
7412     OTOOL64=":"
7413   else
7414     case $cross_compiling:$ac_tool_warned in
7415 yes:)
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7418 ac_tool_warned=yes ;;
7419 esac
7420     OTOOL64=$ac_ct_OTOOL64
7421   fi
7422 else
7423   OTOOL64="$ac_cv_prog_OTOOL64"
7424 fi
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7453 $as_echo_n "checking for -single_module linker flag... " >&6; }
7454 if ${lt_cv_apple_cc_single_mod+:} false; then :
7455   $as_echo_n "(cached) " >&6
7456 else
7457   lt_cv_apple_cc_single_mod=no
7458       if test -z "${LT_MULTI_MODULE}"; then
7459         # By default we will add the -single_module flag. You can override
7460         # by either setting the environment variable LT_MULTI_MODULE
7461         # non-empty at configure time, or by adding -multi_module to the
7462         # link flags.
7463         rm -rf libconftest.dylib*
7464         echo "int foo(void){return 1;}" > conftest.c
7465         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7466 -dynamiclib -Wl,-single_module conftest.c" >&5
7467         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7468           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7469         _lt_result=$?
7470         # If there is a non-empty error log, and "single_module"
7471         # appears in it, assume the flag caused a linker warning
7472         if test -s conftest.err && $GREP single_module conftest.err; then
7473           cat conftest.err >&5
7474         # Otherwise, if the output was created with a 0 exit code from
7475         # the compiler, it worked.
7476         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7477           lt_cv_apple_cc_single_mod=yes
7478         else
7479           cat conftest.err >&5
7480         fi
7481         rm -rf libconftest.dylib*
7482         rm -f conftest.*
7483       fi
7484 fi
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7486 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7487
7488     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7489 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7490 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7491   $as_echo_n "(cached) " >&6
7492 else
7493   lt_cv_ld_exported_symbols_list=no
7494       save_LDFLAGS=$LDFLAGS
7495       echo "_main" > conftest.sym
7496       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7497       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7498 /* end confdefs.h.  */
7499
7500 int
7501 main ()
7502 {
7503
7504   ;
7505   return 0;
7506 }
7507 _ACEOF
7508 if ac_fn_c_try_link "$LINENO"; then :
7509   lt_cv_ld_exported_symbols_list=yes
7510 else
7511   lt_cv_ld_exported_symbols_list=no
7512 fi
7513 rm -f core conftest.err conftest.$ac_objext \
7514     conftest$ac_exeext conftest.$ac_ext
7515         LDFLAGS="$save_LDFLAGS"
7516
7517 fi
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7519 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7520
7521     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7522 $as_echo_n "checking for -force_load linker flag... " >&6; }
7523 if ${lt_cv_ld_force_load+:} false; then :
7524   $as_echo_n "(cached) " >&6
7525 else
7526   lt_cv_ld_force_load=no
7527       cat > conftest.c << _LT_EOF
7528 int forced_loaded() { return 2;}
7529 _LT_EOF
7530       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7531       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7532       echo "$AR cru libconftest.a conftest.o" >&5
7533       $AR cru libconftest.a conftest.o 2>&5
7534       echo "$RANLIB libconftest.a" >&5
7535       $RANLIB libconftest.a 2>&5
7536       cat > conftest.c << _LT_EOF
7537 int main() { return 0;}
7538 _LT_EOF
7539       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7540       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7541       _lt_result=$?
7542       if test -s conftest.err && $GREP force_load conftest.err; then
7543         cat conftest.err >&5
7544       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7545         lt_cv_ld_force_load=yes
7546       else
7547         cat conftest.err >&5
7548       fi
7549         rm -f conftest.err libconftest.a conftest conftest.c
7550         rm -rf conftest.dSYM
7551
7552 fi
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7554 $as_echo "$lt_cv_ld_force_load" >&6; }
7555     case $host_os in
7556     rhapsody* | darwin1.[012])
7557       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7558     darwin1.*)
7559       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7560     darwin*) # darwin 5.x on
7561       # if running on 10.5 or later, the deployment target defaults
7562       # to the OS version, if on x86, and 10.4, the deployment
7563       # target defaults to 10.4. Don't you love it?
7564       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7565         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7566           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7567         10.[012]*)
7568           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7569         10.*)
7570           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7571       esac
7572     ;;
7573   esac
7574     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7575       _lt_dar_single_mod='$single_module'
7576     fi
7577     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7578       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7579     else
7580       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7581     fi
7582     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7583       _lt_dsymutil='~$DSYMUTIL $lib || :'
7584     else
7585       _lt_dsymutil=
7586     fi
7587     ;;
7588   esac
7589
7590 ac_ext=c
7591 ac_cpp='$CPP $CPPFLAGS'
7592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7596 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7597 # On Suns, sometimes $CPP names a directory.
7598 if test -n "$CPP" && test -d "$CPP"; then
7599   CPP=
7600 fi
7601 if test -z "$CPP"; then
7602   if ${ac_cv_prog_CPP+:} false; then :
7603   $as_echo_n "(cached) " >&6
7604 else
7605       # Double quotes because CPP needs to be expanded
7606     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7607     do
7608       ac_preproc_ok=false
7609 for ac_c_preproc_warn_flag in '' yes
7610 do
7611   # Use a header file that comes with gcc, so configuring glibc
7612   # with a fresh cross-compiler works.
7613   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7614   # <limits.h> exists even on freestanding compilers.
7615   # On the NeXT, cc -E runs the code through the compiler's parser,
7616   # not just through cpp. "Syntax error" is here to catch this case.
7617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7618 /* end confdefs.h.  */
7619 #ifdef __STDC__
7620 # include <limits.h>
7621 #else
7622 # include <assert.h>
7623 #endif
7624                      Syntax error
7625 _ACEOF
7626 if ac_fn_c_try_cpp "$LINENO"; then :
7627
7628 else
7629   # Broken: fails on valid input.
7630 continue
7631 fi
7632 rm -f conftest.err conftest.i conftest.$ac_ext
7633
7634   # OK, works on sane cases.  Now check whether nonexistent headers
7635   # can be detected and how.
7636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7637 /* end confdefs.h.  */
7638 #include <ac_nonexistent.h>
7639 _ACEOF
7640 if ac_fn_c_try_cpp "$LINENO"; then :
7641   # Broken: success on invalid input.
7642 continue
7643 else
7644   # Passes both tests.
7645 ac_preproc_ok=:
7646 break
7647 fi
7648 rm -f conftest.err conftest.i conftest.$ac_ext
7649
7650 done
7651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7652 rm -f conftest.i conftest.err conftest.$ac_ext
7653 if $ac_preproc_ok; then :
7654   break
7655 fi
7656
7657     done
7658     ac_cv_prog_CPP=$CPP
7659
7660 fi
7661   CPP=$ac_cv_prog_CPP
7662 else
7663   ac_cv_prog_CPP=$CPP
7664 fi
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7666 $as_echo "$CPP" >&6; }
7667 ac_preproc_ok=false
7668 for ac_c_preproc_warn_flag in '' yes
7669 do
7670   # Use a header file that comes with gcc, so configuring glibc
7671   # with a fresh cross-compiler works.
7672   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7673   # <limits.h> exists even on freestanding compilers.
7674   # On the NeXT, cc -E runs the code through the compiler's parser,
7675   # not just through cpp. "Syntax error" is here to catch this case.
7676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7677 /* end confdefs.h.  */
7678 #ifdef __STDC__
7679 # include <limits.h>
7680 #else
7681 # include <assert.h>
7682 #endif
7683                      Syntax error
7684 _ACEOF
7685 if ac_fn_c_try_cpp "$LINENO"; then :
7686
7687 else
7688   # Broken: fails on valid input.
7689 continue
7690 fi
7691 rm -f conftest.err conftest.i conftest.$ac_ext
7692
7693   # OK, works on sane cases.  Now check whether nonexistent headers
7694   # can be detected and how.
7695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7696 /* end confdefs.h.  */
7697 #include <ac_nonexistent.h>
7698 _ACEOF
7699 if ac_fn_c_try_cpp "$LINENO"; then :
7700   # Broken: success on invalid input.
7701 continue
7702 else
7703   # Passes both tests.
7704 ac_preproc_ok=:
7705 break
7706 fi
7707 rm -f conftest.err conftest.i conftest.$ac_ext
7708
7709 done
7710 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7711 rm -f conftest.i conftest.err conftest.$ac_ext
7712 if $ac_preproc_ok; then :
7713
7714 else
7715   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7717 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7718 See \`config.log' for more details" "$LINENO" 5; }
7719 fi
7720
7721 ac_ext=c
7722 ac_cpp='$CPP $CPPFLAGS'
7723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7726
7727
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7729 $as_echo_n "checking for ANSI C header files... " >&6; }
7730 if ${ac_cv_header_stdc+:} false; then :
7731   $as_echo_n "(cached) " >&6
7732 else
7733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7734 /* end confdefs.h.  */
7735 #include <stdlib.h>
7736 #include <stdarg.h>
7737 #include <string.h>
7738 #include <float.h>
7739
7740 int
7741 main ()
7742 {
7743
7744   ;
7745   return 0;
7746 }
7747 _ACEOF
7748 if ac_fn_c_try_compile "$LINENO"; then :
7749   ac_cv_header_stdc=yes
7750 else
7751   ac_cv_header_stdc=no
7752 fi
7753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7754
7755 if test $ac_cv_header_stdc = yes; then
7756   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7758 /* end confdefs.h.  */
7759 #include <string.h>
7760
7761 _ACEOF
7762 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7763   $EGREP "memchr" >/dev/null 2>&1; then :
7764
7765 else
7766   ac_cv_header_stdc=no
7767 fi
7768 rm -f conftest*
7769
7770 fi
7771
7772 if test $ac_cv_header_stdc = yes; then
7773   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7775 /* end confdefs.h.  */
7776 #include <stdlib.h>
7777
7778 _ACEOF
7779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7780   $EGREP "free" >/dev/null 2>&1; then :
7781
7782 else
7783   ac_cv_header_stdc=no
7784 fi
7785 rm -f conftest*
7786
7787 fi
7788
7789 if test $ac_cv_header_stdc = yes; then
7790   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7791   if test "$cross_compiling" = yes; then :
7792   :
7793 else
7794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7795 /* end confdefs.h.  */
7796 #include <ctype.h>
7797 #include <stdlib.h>
7798 #if ((' ' & 0x0FF) == 0x020)
7799 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7800 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7801 #else
7802 # define ISLOWER(c) \
7803                    (('a' <= (c) && (c) <= 'i') \
7804                      || ('j' <= (c) && (c) <= 'r') \
7805                      || ('s' <= (c) && (c) <= 'z'))
7806 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7807 #endif
7808
7809 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7810 int
7811 main ()
7812 {
7813   int i;
7814   for (i = 0; i < 256; i++)
7815     if (XOR (islower (i), ISLOWER (i))
7816         || toupper (i) != TOUPPER (i))
7817       return 2;
7818   return 0;
7819 }
7820 _ACEOF
7821 if ac_fn_c_try_run "$LINENO"; then :
7822
7823 else
7824   ac_cv_header_stdc=no
7825 fi
7826 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7827   conftest.$ac_objext conftest.beam conftest.$ac_ext
7828 fi
7829
7830 fi
7831 fi
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7833 $as_echo "$ac_cv_header_stdc" >&6; }
7834 if test $ac_cv_header_stdc = yes; then
7835
7836 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7837
7838 fi
7839
7840 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7841 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7842                   inttypes.h stdint.h unistd.h
7843 do :
7844   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7845 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7846 "
7847 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7848   cat >>confdefs.h <<_ACEOF
7849 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7850 _ACEOF
7851
7852 fi
7853
7854 done
7855
7856
7857 for ac_header in dlfcn.h
7858 do :
7859   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7860 "
7861 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7862   cat >>confdefs.h <<_ACEOF
7863 #define HAVE_DLFCN_H 1
7864 _ACEOF
7865
7866 fi
7867
7868 done
7869
7870
7871
7872
7873
7874 # Set options
7875
7876
7877
7878         enable_dlopen=no
7879
7880
7881
7882             # Check whether --enable-shared was given.
7883 if test "${enable_shared+set}" = set; then :
7884   enableval=$enable_shared; p=${PACKAGE-default}
7885     case $enableval in
7886     yes) enable_shared=yes ;;
7887     no) enable_shared=no ;;
7888     *)
7889       enable_shared=no
7890       # Look at the argument we got.  We use all the common list separators.
7891       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7892       for pkg in $enableval; do
7893         IFS="$lt_save_ifs"
7894         if test "X$pkg" = "X$p"; then
7895           enable_shared=yes
7896         fi
7897       done
7898       IFS="$lt_save_ifs"
7899       ;;
7900     esac
7901 else
7902   enable_shared=yes
7903 fi
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913   # Check whether --enable-static was given.
7914 if test "${enable_static+set}" = set; then :
7915   enableval=$enable_static; p=${PACKAGE-default}
7916     case $enableval in
7917     yes) enable_static=yes ;;
7918     no) enable_static=no ;;
7919     *)
7920      enable_static=no
7921       # Look at the argument we got.  We use all the common list separators.
7922       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7923       for pkg in $enableval; do
7924         IFS="$lt_save_ifs"
7925         if test "X$pkg" = "X$p"; then
7926           enable_static=yes
7927         fi
7928       done
7929       IFS="$lt_save_ifs"
7930       ;;
7931     esac
7932 else
7933   enable_static=yes
7934 fi
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945 # Check whether --with-pic was given.
7946 if test "${with_pic+set}" = set; then :
7947   withval=$with_pic; lt_p=${PACKAGE-default}
7948     case $withval in
7949     yes|no) pic_mode=$withval ;;
7950     *)
7951       pic_mode=default
7952       # Look at the argument we got.  We use all the common list separators.
7953       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7954       for lt_pkg in $withval; do
7955         IFS="$lt_save_ifs"
7956         if test "X$lt_pkg" = "X$lt_p"; then
7957           pic_mode=yes
7958         fi
7959       done
7960       IFS="$lt_save_ifs"
7961       ;;
7962     esac
7963 else
7964   pic_mode=default
7965 fi
7966
7967
7968 test -z "$pic_mode" && pic_mode=default
7969
7970
7971
7972
7973
7974
7975
7976   # Check whether --enable-fast-install was given.
7977 if test "${enable_fast_install+set}" = set; then :
7978   enableval=$enable_fast_install; p=${PACKAGE-default}
7979     case $enableval in
7980     yes) enable_fast_install=yes ;;
7981     no) enable_fast_install=no ;;
7982     *)
7983       enable_fast_install=no
7984       # Look at the argument we got.  We use all the common list separators.
7985       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7986       for pkg in $enableval; do
7987         IFS="$lt_save_ifs"
7988         if test "X$pkg" = "X$p"; then
7989           enable_fast_install=yes
7990         fi
7991       done
7992       IFS="$lt_save_ifs"
7993       ;;
7994     esac
7995 else
7996   enable_fast_install=yes
7997 fi
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009 # This can be used to rebuild libtool when needed
8010 LIBTOOL_DEPS="$ltmain"
8011
8012 # Always use our own libtool.
8013 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044 test -z "$LN_S" && LN_S="ln -s"
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059 if test -n "${ZSH_VERSION+set}" ; then
8060    setopt NO_GLOB_SUBST
8061 fi
8062
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8064 $as_echo_n "checking for objdir... " >&6; }
8065 if ${lt_cv_objdir+:} false; then :
8066   $as_echo_n "(cached) " >&6
8067 else
8068   rm -f .libs 2>/dev/null
8069 mkdir .libs 2>/dev/null
8070 if test -d .libs; then
8071   lt_cv_objdir=.libs
8072 else
8073   # MS-DOS does not allow filenames that begin with a dot.
8074   lt_cv_objdir=_libs
8075 fi
8076 rmdir .libs 2>/dev/null
8077 fi
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8079 $as_echo "$lt_cv_objdir" >&6; }
8080 objdir=$lt_cv_objdir
8081
8082
8083
8084
8085
8086 cat >>confdefs.h <<_ACEOF
8087 #define LT_OBJDIR "$lt_cv_objdir/"
8088 _ACEOF
8089
8090
8091
8092
8093 case $host_os in
8094 aix3*)
8095   # AIX sometimes has problems with the GCC collect2 program.  For some
8096   # reason, if we set the COLLECT_NAMES environment variable, the problems
8097   # vanish in a puff of smoke.
8098   if test "X${COLLECT_NAMES+set}" != Xset; then
8099     COLLECT_NAMES=
8100     export COLLECT_NAMES
8101   fi
8102   ;;
8103 esac
8104
8105 # Global variables:
8106 ofile=libtool
8107 can_build_shared=yes
8108
8109 # All known linkers require a `.a' archive for static linking (except MSVC,
8110 # which needs '.lib').
8111 libext=a
8112
8113 with_gnu_ld="$lt_cv_prog_gnu_ld"
8114
8115 old_CC="$CC"
8116 old_CFLAGS="$CFLAGS"
8117
8118 # Set sane defaults for various variables
8119 test -z "$CC" && CC=cc
8120 test -z "$LTCC" && LTCC=$CC
8121 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8122 test -z "$LD" && LD=ld
8123 test -z "$ac_objext" && ac_objext=o
8124
8125 for cc_temp in $compiler""; do
8126   case $cc_temp in
8127     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8128     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8129     \-*) ;;
8130     *) break;;
8131   esac
8132 done
8133 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8134
8135
8136 # Only perform the check for file, if the check method requires it
8137 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8138 case $deplibs_check_method in
8139 file_magic*)
8140   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8141     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8142 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8143 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8144   $as_echo_n "(cached) " >&6
8145 else
8146   case $MAGIC_CMD in
8147 [\\/*] |  ?:[\\/]*)
8148   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8149   ;;
8150 *)
8151   lt_save_MAGIC_CMD="$MAGIC_CMD"
8152   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8153   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8154   for ac_dir in $ac_dummy; do
8155     IFS="$lt_save_ifs"
8156     test -z "$ac_dir" && ac_dir=.
8157     if test -f $ac_dir/${ac_tool_prefix}file; then
8158       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8159       if test -n "$file_magic_test_file"; then
8160         case $deplibs_check_method in
8161         "file_magic "*)
8162           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8163           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8164           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8165             $EGREP "$file_magic_regex" > /dev/null; then
8166             :
8167           else
8168             cat <<_LT_EOF 1>&2
8169
8170 *** Warning: the command libtool uses to detect shared libraries,
8171 *** $file_magic_cmd, produces output that libtool cannot recognize.
8172 *** The result is that libtool may fail to recognize shared libraries
8173 *** as such.  This will affect the creation of libtool libraries that
8174 *** depend on shared libraries, but programs linked with such libtool
8175 *** libraries will work regardless of this problem.  Nevertheless, you
8176 *** may want to report the problem to your system manager and/or to
8177 *** bug-libtool@gnu.org
8178
8179 _LT_EOF
8180           fi ;;
8181         esac
8182       fi
8183       break
8184     fi
8185   done
8186   IFS="$lt_save_ifs"
8187   MAGIC_CMD="$lt_save_MAGIC_CMD"
8188   ;;
8189 esac
8190 fi
8191
8192 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8193 if test -n "$MAGIC_CMD"; then
8194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8195 $as_echo "$MAGIC_CMD" >&6; }
8196 else
8197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8198 $as_echo "no" >&6; }
8199 fi
8200
8201
8202
8203
8204
8205 if test -z "$lt_cv_path_MAGIC_CMD"; then
8206   if test -n "$ac_tool_prefix"; then
8207     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8208 $as_echo_n "checking for file... " >&6; }
8209 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8210   $as_echo_n "(cached) " >&6
8211 else
8212   case $MAGIC_CMD in
8213 [\\/*] |  ?:[\\/]*)
8214   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8215   ;;
8216 *)
8217   lt_save_MAGIC_CMD="$MAGIC_CMD"
8218   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8219   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8220   for ac_dir in $ac_dummy; do
8221     IFS="$lt_save_ifs"
8222     test -z "$ac_dir" && ac_dir=.
8223     if test -f $ac_dir/file; then
8224       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8225       if test -n "$file_magic_test_file"; then
8226         case $deplibs_check_method in
8227         "file_magic "*)
8228           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8229           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8230           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8231             $EGREP "$file_magic_regex" > /dev/null; then
8232             :
8233           else
8234             cat <<_LT_EOF 1>&2
8235
8236 *** Warning: the command libtool uses to detect shared libraries,
8237 *** $file_magic_cmd, produces output that libtool cannot recognize.
8238 *** The result is that libtool may fail to recognize shared libraries
8239 *** as such.  This will affect the creation of libtool libraries that
8240 *** depend on shared libraries, but programs linked with such libtool
8241 *** libraries will work regardless of this problem.  Nevertheless, you
8242 *** may want to report the problem to your system manager and/or to
8243 *** bug-libtool@gnu.org
8244
8245 _LT_EOF
8246           fi ;;
8247         esac
8248       fi
8249       break
8250     fi
8251   done
8252   IFS="$lt_save_ifs"
8253   MAGIC_CMD="$lt_save_MAGIC_CMD"
8254   ;;
8255 esac
8256 fi
8257
8258 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8259 if test -n "$MAGIC_CMD"; then
8260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8261 $as_echo "$MAGIC_CMD" >&6; }
8262 else
8263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8264 $as_echo "no" >&6; }
8265 fi
8266
8267
8268   else
8269     MAGIC_CMD=:
8270   fi
8271 fi
8272
8273   fi
8274   ;;
8275 esac
8276
8277 # Use C for the default configuration in the libtool script
8278
8279 lt_save_CC="$CC"
8280 ac_ext=c
8281 ac_cpp='$CPP $CPPFLAGS'
8282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8285
8286
8287 # Source file extension for C test sources.
8288 ac_ext=c
8289
8290 # Object file extension for compiled C test sources.
8291 objext=o
8292 objext=$objext
8293
8294 # Code to be used in simple compile tests
8295 lt_simple_compile_test_code="int some_variable = 0;"
8296
8297 # Code to be used in simple link tests
8298 lt_simple_link_test_code='int main(){return(0);}'
8299
8300
8301
8302
8303
8304
8305
8306 # If no C compiler was specified, use CC.
8307 LTCC=${LTCC-"$CC"}
8308
8309 # If no C compiler flags were specified, use CFLAGS.
8310 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8311
8312 # Allow CC to be a program name with arguments.
8313 compiler=$CC
8314
8315 # Save the default compiler, since it gets overwritten when the other
8316 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8317 compiler_DEFAULT=$CC
8318
8319 # save warnings/boilerplate of simple test code
8320 ac_outfile=conftest.$ac_objext
8321 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8322 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8323 _lt_compiler_boilerplate=`cat conftest.err`
8324 $RM conftest*
8325
8326 ac_outfile=conftest.$ac_objext
8327 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8328 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8329 _lt_linker_boilerplate=`cat conftest.err`
8330 $RM -r conftest*
8331
8332
8333 ## CAVEAT EMPTOR:
8334 ## There is no encapsulation within the following macros, do not change
8335 ## the running order or otherwise move them around unless you know exactly
8336 ## what you are doing...
8337 if test -n "$compiler"; then
8338
8339 lt_prog_compiler_no_builtin_flag=
8340
8341 if test "$GCC" = yes; then
8342   case $cc_basename in
8343   nvcc*)
8344     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8345   *)
8346     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8347   esac
8348
8349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8350 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8351 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8352   $as_echo_n "(cached) " >&6
8353 else
8354   lt_cv_prog_compiler_rtti_exceptions=no
8355    ac_outfile=conftest.$ac_objext
8356    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8357    lt_compiler_flag="-fno-rtti -fno-exceptions"
8358    # Insert the option either (1) after the last *FLAGS variable, or
8359    # (2) before a word containing "conftest.", or (3) at the end.
8360    # Note that $ac_compile itself does not contain backslashes and begins
8361    # with a dollar sign (not a hyphen), so the echo should work correctly.
8362    # The option is referenced via a variable to avoid confusing sed.
8363    lt_compile=`echo "$ac_compile" | $SED \
8364    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8365    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8366    -e 's:$: $lt_compiler_flag:'`
8367    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8368    (eval "$lt_compile" 2>conftest.err)
8369    ac_status=$?
8370    cat conftest.err >&5
8371    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8372    if (exit $ac_status) && test -s "$ac_outfile"; then
8373      # The compiler can only warn and ignore the option if not recognized
8374      # So say no if there are warnings other than the usual output.
8375      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8376      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8377      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8378        lt_cv_prog_compiler_rtti_exceptions=yes
8379      fi
8380    fi
8381    $RM conftest*
8382
8383 fi
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8385 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8386
8387 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8388     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8389 else
8390     :
8391 fi
8392
8393 fi
8394
8395
8396
8397
8398
8399
8400   lt_prog_compiler_wl=
8401 lt_prog_compiler_pic=
8402 lt_prog_compiler_static=
8403
8404
8405   if test "$GCC" = yes; then
8406     lt_prog_compiler_wl='-Wl,'
8407     lt_prog_compiler_static='-static'
8408
8409     case $host_os in
8410       aix*)
8411       # All AIX code is PIC.
8412       if test "$host_cpu" = ia64; then
8413         # AIX 5 now supports IA64 processor
8414         lt_prog_compiler_static='-Bstatic'
8415       fi
8416       ;;
8417
8418     amigaos*)
8419       case $host_cpu in
8420       powerpc)
8421             # see comment about AmigaOS4 .so support
8422             lt_prog_compiler_pic='-fPIC'
8423         ;;
8424       m68k)
8425             # FIXME: we need at least 68020 code to build shared libraries, but
8426             # adding the `-m68020' flag to GCC prevents building anything better,
8427             # like `-m68040'.
8428             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8429         ;;
8430       esac
8431       ;;
8432
8433     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8434       # PIC is the default for these OSes.
8435       ;;
8436
8437     mingw* | cygwin* | pw32* | os2* | cegcc*)
8438       # This hack is so that the source file can tell whether it is being
8439       # built for inclusion in a dll (and should export symbols for example).
8440       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8441       # (--disable-auto-import) libraries
8442       lt_prog_compiler_pic='-DDLL_EXPORT'
8443       ;;
8444
8445     darwin* | rhapsody*)
8446       # PIC is the default on this platform
8447       # Common symbols not allowed in MH_DYLIB files
8448       lt_prog_compiler_pic='-fno-common'
8449       ;;
8450
8451     haiku*)
8452       # PIC is the default for Haiku.
8453       # The "-static" flag exists, but is broken.
8454       lt_prog_compiler_static=
8455       ;;
8456
8457     hpux*)
8458       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8459       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8460       # sets the default TLS model and affects inlining.
8461       case $host_cpu in
8462       hppa*64*)
8463         # +Z the default
8464         ;;
8465       *)
8466         lt_prog_compiler_pic='-fPIC'
8467         ;;
8468       esac
8469       ;;
8470
8471     interix[3-9]*)
8472       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8473       # Instead, we relocate shared libraries at runtime.
8474       ;;
8475
8476     msdosdjgpp*)
8477       # Just because we use GCC doesn't mean we suddenly get shared libraries
8478       # on systems that don't support them.
8479       lt_prog_compiler_can_build_shared=no
8480       enable_shared=no
8481       ;;
8482
8483     *nto* | *qnx*)
8484       # QNX uses GNU C++, but need to define -shared option too, otherwise
8485       # it will coredump.
8486       lt_prog_compiler_pic='-fPIC -shared'
8487       ;;
8488
8489     sysv4*MP*)
8490       if test -d /usr/nec; then
8491         lt_prog_compiler_pic=-Kconform_pic
8492       fi
8493       ;;
8494
8495     *)
8496       lt_prog_compiler_pic='-fPIC'
8497       ;;
8498     esac
8499
8500     case $cc_basename in
8501     nvcc*) # Cuda Compiler Driver 2.2
8502       lt_prog_compiler_wl='-Xlinker '
8503       if test -n "$lt_prog_compiler_pic"; then
8504         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8505       fi
8506       ;;
8507     esac
8508   else
8509     # PORTME Check for flag to pass linker flags through the system compiler.
8510     case $host_os in
8511     aix*)
8512       lt_prog_compiler_wl='-Wl,'
8513       if test "$host_cpu" = ia64; then
8514         # AIX 5 now supports IA64 processor
8515         lt_prog_compiler_static='-Bstatic'
8516       else
8517         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8518       fi
8519       ;;
8520
8521     mingw* | cygwin* | pw32* | os2* | cegcc*)
8522       # This hack is so that the source file can tell whether it is being
8523       # built for inclusion in a dll (and should export symbols for example).
8524       lt_prog_compiler_pic='-DDLL_EXPORT'
8525       ;;
8526
8527     hpux9* | hpux10* | hpux11*)
8528       lt_prog_compiler_wl='-Wl,'
8529       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8530       # not for PA HP-UX.
8531       case $host_cpu in
8532       hppa*64*|ia64*)
8533         # +Z the default
8534         ;;
8535       *)
8536         lt_prog_compiler_pic='+Z'
8537         ;;
8538       esac
8539       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8540       lt_prog_compiler_static='${wl}-a ${wl}archive'
8541       ;;
8542
8543     irix5* | irix6* | nonstopux*)
8544       lt_prog_compiler_wl='-Wl,'
8545       # PIC (with -KPIC) is the default.
8546       lt_prog_compiler_static='-non_shared'
8547       ;;
8548
8549     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8550       case $cc_basename in
8551       # old Intel for x86_64 which still supported -KPIC.
8552       ecc*)
8553         lt_prog_compiler_wl='-Wl,'
8554         lt_prog_compiler_pic='-KPIC'
8555         lt_prog_compiler_static='-static'
8556         ;;
8557       # icc used to be incompatible with GCC.
8558       # ICC 10 doesn't accept -KPIC any more.
8559       icc* | ifort*)
8560         lt_prog_compiler_wl='-Wl,'
8561         lt_prog_compiler_pic='-fPIC'
8562         lt_prog_compiler_static='-static'
8563         ;;
8564       # Lahey Fortran 8.1.
8565       lf95*)
8566         lt_prog_compiler_wl='-Wl,'
8567         lt_prog_compiler_pic='--shared'
8568         lt_prog_compiler_static='--static'
8569         ;;
8570       nagfor*)
8571         # NAG Fortran compiler
8572         lt_prog_compiler_wl='-Wl,-Wl,,'
8573         lt_prog_compiler_pic='-PIC'
8574         lt_prog_compiler_static='-Bstatic'
8575         ;;
8576       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8577         # Portland Group compilers (*not* the Pentium gcc compiler,
8578         # which looks to be a dead project)
8579         lt_prog_compiler_wl='-Wl,'
8580         lt_prog_compiler_pic='-fpic'
8581         lt_prog_compiler_static='-Bstatic'
8582         ;;
8583       ccc*)
8584         lt_prog_compiler_wl='-Wl,'
8585         # All Alpha code is PIC.
8586         lt_prog_compiler_static='-non_shared'
8587         ;;
8588       xl* | bgxl* | bgf* | mpixl*)
8589         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8590         lt_prog_compiler_wl='-Wl,'
8591         lt_prog_compiler_pic='-qpic'
8592         lt_prog_compiler_static='-qstaticlink'
8593         ;;
8594       *)
8595         case `$CC -V 2>&1 | sed 5q` in
8596         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8597           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8598           lt_prog_compiler_pic='-KPIC'
8599           lt_prog_compiler_static='-Bstatic'
8600           lt_prog_compiler_wl=''
8601           ;;
8602         *Sun\ F* | *Sun*Fortran*)
8603           lt_prog_compiler_pic='-KPIC'
8604           lt_prog_compiler_static='-Bstatic'
8605           lt_prog_compiler_wl='-Qoption ld '
8606           ;;
8607         *Sun\ C*)
8608           # Sun C 5.9
8609           lt_prog_compiler_pic='-KPIC'
8610           lt_prog_compiler_static='-Bstatic'
8611           lt_prog_compiler_wl='-Wl,'
8612           ;;
8613         *Intel*\ [CF]*Compiler*)
8614           lt_prog_compiler_wl='-Wl,'
8615           lt_prog_compiler_pic='-fPIC'
8616           lt_prog_compiler_static='-static'
8617           ;;
8618         *Portland\ Group*)
8619           lt_prog_compiler_wl='-Wl,'
8620           lt_prog_compiler_pic='-fpic'
8621           lt_prog_compiler_static='-Bstatic'
8622           ;;
8623         esac
8624         ;;
8625       esac
8626       ;;
8627
8628     newsos6)
8629       lt_prog_compiler_pic='-KPIC'
8630       lt_prog_compiler_static='-Bstatic'
8631       ;;
8632
8633     *nto* | *qnx*)
8634       # QNX uses GNU C++, but need to define -shared option too, otherwise
8635       # it will coredump.
8636       lt_prog_compiler_pic='-fPIC -shared'
8637       ;;
8638
8639     osf3* | osf4* | osf5*)
8640       lt_prog_compiler_wl='-Wl,'
8641       # All OSF/1 code is PIC.
8642       lt_prog_compiler_static='-non_shared'
8643       ;;
8644
8645     rdos*)
8646       lt_prog_compiler_static='-non_shared'
8647       ;;
8648
8649     solaris*)
8650       lt_prog_compiler_pic='-KPIC'
8651       lt_prog_compiler_static='-Bstatic'
8652       case $cc_basename in
8653       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8654         lt_prog_compiler_wl='-Qoption ld ';;
8655       *)
8656         lt_prog_compiler_wl='-Wl,';;
8657       esac
8658       ;;
8659
8660     sunos4*)
8661       lt_prog_compiler_wl='-Qoption ld '
8662       lt_prog_compiler_pic='-PIC'
8663       lt_prog_compiler_static='-Bstatic'
8664       ;;
8665
8666     sysv4 | sysv4.2uw2* | sysv4.3*)
8667       lt_prog_compiler_wl='-Wl,'
8668       lt_prog_compiler_pic='-KPIC'
8669       lt_prog_compiler_static='-Bstatic'
8670       ;;
8671
8672     sysv4*MP*)
8673       if test -d /usr/nec ;then
8674         lt_prog_compiler_pic='-Kconform_pic'
8675         lt_prog_compiler_static='-Bstatic'
8676       fi
8677       ;;
8678
8679     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8680       lt_prog_compiler_wl='-Wl,'
8681       lt_prog_compiler_pic='-KPIC'
8682       lt_prog_compiler_static='-Bstatic'
8683       ;;
8684
8685     unicos*)
8686       lt_prog_compiler_wl='-Wl,'
8687       lt_prog_compiler_can_build_shared=no
8688       ;;
8689
8690     uts4*)
8691       lt_prog_compiler_pic='-pic'
8692       lt_prog_compiler_static='-Bstatic'
8693       ;;
8694
8695     *)
8696       lt_prog_compiler_can_build_shared=no
8697       ;;
8698     esac
8699   fi
8700
8701 case $host_os in
8702   # For platforms which do not support PIC, -DPIC is meaningless:
8703   *djgpp*)
8704     lt_prog_compiler_pic=
8705     ;;
8706   *)
8707     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8708     ;;
8709 esac
8710
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8712 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8713 if ${lt_cv_prog_compiler_pic+:} false; then :
8714   $as_echo_n "(cached) " >&6
8715 else
8716   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8717 fi
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8719 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8720 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8721
8722 #
8723 # Check to make sure the PIC flag actually works.
8724 #
8725 if test -n "$lt_prog_compiler_pic"; then
8726   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8727 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8728 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8729   $as_echo_n "(cached) " >&6
8730 else
8731   lt_cv_prog_compiler_pic_works=no
8732    ac_outfile=conftest.$ac_objext
8733    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8734    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8735    # Insert the option either (1) after the last *FLAGS variable, or
8736    # (2) before a word containing "conftest.", or (3) at the end.
8737    # Note that $ac_compile itself does not contain backslashes and begins
8738    # with a dollar sign (not a hyphen), so the echo should work correctly.
8739    # The option is referenced via a variable to avoid confusing sed.
8740    lt_compile=`echo "$ac_compile" | $SED \
8741    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8742    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8743    -e 's:$: $lt_compiler_flag:'`
8744    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8745    (eval "$lt_compile" 2>conftest.err)
8746    ac_status=$?
8747    cat conftest.err >&5
8748    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8749    if (exit $ac_status) && test -s "$ac_outfile"; then
8750      # The compiler can only warn and ignore the option if not recognized
8751      # So say no if there are warnings other than the usual output.
8752      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8753      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8754      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8755        lt_cv_prog_compiler_pic_works=yes
8756      fi
8757    fi
8758    $RM conftest*
8759
8760 fi
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8762 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8763
8764 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8765     case $lt_prog_compiler_pic in
8766      "" | " "*) ;;
8767      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8768      esac
8769 else
8770     lt_prog_compiler_pic=
8771      lt_prog_compiler_can_build_shared=no
8772 fi
8773
8774 fi
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786 #
8787 # Check to make sure the static flag actually works.
8788 #
8789 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8791 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8792 if ${lt_cv_prog_compiler_static_works+:} false; then :
8793   $as_echo_n "(cached) " >&6
8794 else
8795   lt_cv_prog_compiler_static_works=no
8796    save_LDFLAGS="$LDFLAGS"
8797    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8798    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8799    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8800      # The linker can only warn and ignore the option if not recognized
8801      # So say no if there are warnings
8802      if test -s conftest.err; then
8803        # Append any errors to the config.log.
8804        cat conftest.err 1>&5
8805        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8806        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8807        if diff conftest.exp conftest.er2 >/dev/null; then
8808          lt_cv_prog_compiler_static_works=yes
8809        fi
8810      else
8811        lt_cv_prog_compiler_static_works=yes
8812      fi
8813    fi
8814    $RM -r conftest*
8815    LDFLAGS="$save_LDFLAGS"
8816
8817 fi
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8819 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8820
8821 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8822     :
8823 else
8824     lt_prog_compiler_static=
8825 fi
8826
8827
8828
8829
8830
8831
8832
8833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8834 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8835 if ${lt_cv_prog_compiler_c_o+:} false; then :
8836   $as_echo_n "(cached) " >&6
8837 else
8838   lt_cv_prog_compiler_c_o=no
8839    $RM -r conftest 2>/dev/null
8840    mkdir conftest
8841    cd conftest
8842    mkdir out
8843    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8844
8845    lt_compiler_flag="-o out/conftest2.$ac_objext"
8846    # Insert the option either (1) after the last *FLAGS variable, or
8847    # (2) before a word containing "conftest.", or (3) at the end.
8848    # Note that $ac_compile itself does not contain backslashes and begins
8849    # with a dollar sign (not a hyphen), so the echo should work correctly.
8850    lt_compile=`echo "$ac_compile" | $SED \
8851    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8852    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8853    -e 's:$: $lt_compiler_flag:'`
8854    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8855    (eval "$lt_compile" 2>out/conftest.err)
8856    ac_status=$?
8857    cat out/conftest.err >&5
8858    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8859    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8860    then
8861      # The compiler can only warn and ignore the option if not recognized
8862      # So say no if there are warnings
8863      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8864      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8865      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8866        lt_cv_prog_compiler_c_o=yes
8867      fi
8868    fi
8869    chmod u+w . 2>&5
8870    $RM conftest*
8871    # SGI C++ compiler will create directory out/ii_files/ for
8872    # template instantiation
8873    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8874    $RM out/* && rmdir out
8875    cd ..
8876    $RM -r conftest
8877    $RM conftest*
8878
8879 fi
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8881 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8882
8883
8884
8885
8886
8887
8888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8889 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8890 if ${lt_cv_prog_compiler_c_o+:} false; then :
8891   $as_echo_n "(cached) " >&6
8892 else
8893   lt_cv_prog_compiler_c_o=no
8894    $RM -r conftest 2>/dev/null
8895    mkdir conftest
8896    cd conftest
8897    mkdir out
8898    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8899
8900    lt_compiler_flag="-o out/conftest2.$ac_objext"
8901    # Insert the option either (1) after the last *FLAGS variable, or
8902    # (2) before a word containing "conftest.", or (3) at the end.
8903    # Note that $ac_compile itself does not contain backslashes and begins
8904    # with a dollar sign (not a hyphen), so the echo should work correctly.
8905    lt_compile=`echo "$ac_compile" | $SED \
8906    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8907    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8908    -e 's:$: $lt_compiler_flag:'`
8909    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8910    (eval "$lt_compile" 2>out/conftest.err)
8911    ac_status=$?
8912    cat out/conftest.err >&5
8913    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8914    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8915    then
8916      # The compiler can only warn and ignore the option if not recognized
8917      # So say no if there are warnings
8918      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8919      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8920      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8921        lt_cv_prog_compiler_c_o=yes
8922      fi
8923    fi
8924    chmod u+w . 2>&5
8925    $RM conftest*
8926    # SGI C++ compiler will create directory out/ii_files/ for
8927    # template instantiation
8928    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8929    $RM out/* && rmdir out
8930    cd ..
8931    $RM -r conftest
8932    $RM conftest*
8933
8934 fi
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8936 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8937
8938
8939
8940
8941 hard_links="nottested"
8942 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8943   # do not overwrite the value of need_locks provided by the user
8944   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8945 $as_echo_n "checking if we can lock with hard links... " >&6; }
8946   hard_links=yes
8947   $RM conftest*
8948   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8949   touch conftest.a
8950   ln conftest.a conftest.b 2>&5 || hard_links=no
8951   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8953 $as_echo "$hard_links" >&6; }
8954   if test "$hard_links" = no; then
8955     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8956 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8957     need_locks=warn
8958   fi
8959 else
8960   need_locks=no
8961 fi
8962
8963
8964
8965
8966
8967
8968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8969 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8970
8971   runpath_var=
8972   allow_undefined_flag=
8973   always_export_symbols=no
8974   archive_cmds=
8975   archive_expsym_cmds=
8976   compiler_needs_object=no
8977   enable_shared_with_static_runtimes=no
8978   export_dynamic_flag_spec=
8979   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8980   hardcode_automatic=no
8981   hardcode_direct=no
8982   hardcode_direct_absolute=no
8983   hardcode_libdir_flag_spec=
8984   hardcode_libdir_separator=
8985   hardcode_minus_L=no
8986   hardcode_shlibpath_var=unsupported
8987   inherit_rpath=no
8988   link_all_deplibs=unknown
8989   module_cmds=
8990   module_expsym_cmds=
8991   old_archive_from_new_cmds=
8992   old_archive_from_expsyms_cmds=
8993   thread_safe_flag_spec=
8994   whole_archive_flag_spec=
8995   # include_expsyms should be a list of space-separated symbols to be *always*
8996   # included in the symbol list
8997   include_expsyms=
8998   # exclude_expsyms can be an extended regexp of symbols to exclude
8999   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9000   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9001   # as well as any symbol that contains `d'.
9002   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9003   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9004   # platforms (ab)use it in PIC code, but their linkers get confused if
9005   # the symbol is explicitly referenced.  Since portable code cannot
9006   # rely on this symbol name, it's probably fine to never include it in
9007   # preloaded symbol tables.
9008   # Exclude shared library initialization/finalization symbols.
9009   extract_expsyms_cmds=
9010
9011   case $host_os in
9012   cygwin* | mingw* | pw32* | cegcc*)
9013     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9014     # When not using gcc, we currently assume that we are using
9015     # Microsoft Visual C++.
9016     if test "$GCC" != yes; then
9017       with_gnu_ld=no
9018     fi
9019     ;;
9020   interix*)
9021     # we just hope/assume this is gcc and not c89 (= MSVC++)
9022     with_gnu_ld=yes
9023     ;;
9024   openbsd*)
9025     with_gnu_ld=no
9026     ;;
9027   linux* | k*bsd*-gnu | gnu*)
9028     link_all_deplibs=no
9029     ;;
9030   esac
9031
9032   ld_shlibs=yes
9033
9034   # On some targets, GNU ld is compatible enough with the native linker
9035   # that we're better off using the native interface for both.
9036   lt_use_gnu_ld_interface=no
9037   if test "$with_gnu_ld" = yes; then
9038     case $host_os in
9039       aix*)
9040         # The AIX port of GNU ld has always aspired to compatibility
9041         # with the native linker.  However, as the warning in the GNU ld
9042         # block says, versions before 2.19.5* couldn't really create working
9043         # shared libraries, regardless of the interface used.
9044         case `$LD -v 2>&1` in
9045           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9046           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9047           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9048           *)
9049             lt_use_gnu_ld_interface=yes
9050             ;;
9051         esac
9052         ;;
9053       *)
9054         lt_use_gnu_ld_interface=yes
9055         ;;
9056     esac
9057   fi
9058
9059   if test "$lt_use_gnu_ld_interface" = yes; then
9060     # If archive_cmds runs LD, not CC, wlarc should be empty
9061     wlarc='${wl}'
9062
9063     # Set some defaults for GNU ld with shared library support. These
9064     # are reset later if shared libraries are not supported. Putting them
9065     # here allows them to be overridden if necessary.
9066     runpath_var=LD_RUN_PATH
9067     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9068     export_dynamic_flag_spec='${wl}--export-dynamic'
9069     # ancient GNU ld didn't support --whole-archive et. al.
9070     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9071       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9072     else
9073       whole_archive_flag_spec=
9074     fi
9075     supports_anon_versioning=no
9076     case `$LD -v 2>&1` in
9077       *GNU\ gold*) supports_anon_versioning=yes ;;
9078       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9079       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9080       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9081       *\ 2.11.*) ;; # other 2.11 versions
9082       *) supports_anon_versioning=yes ;;
9083     esac
9084
9085     # See if GNU ld supports shared libraries.
9086     case $host_os in
9087     aix[3-9]*)
9088       # On AIX/PPC, the GNU linker is very broken
9089       if test "$host_cpu" != ia64; then
9090         ld_shlibs=no
9091         cat <<_LT_EOF 1>&2
9092
9093 *** Warning: the GNU linker, at least up to release 2.19, is reported
9094 *** to be unable to reliably create shared libraries on AIX.
9095 *** Therefore, libtool is disabling shared libraries support.  If you
9096 *** really care for shared libraries, you may want to install binutils
9097 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9098 *** You will then need to restart the configuration process.
9099
9100 _LT_EOF
9101       fi
9102       ;;
9103
9104     amigaos*)
9105       case $host_cpu in
9106       powerpc)
9107             # see comment about AmigaOS4 .so support
9108             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9109             archive_expsym_cmds=''
9110         ;;
9111       m68k)
9112             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)'
9113             hardcode_libdir_flag_spec='-L$libdir'
9114             hardcode_minus_L=yes
9115         ;;
9116       esac
9117       ;;
9118
9119     beos*)
9120       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9121         allow_undefined_flag=unsupported
9122         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9123         # support --undefined.  This deserves some investigation.  FIXME
9124         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9125       else
9126         ld_shlibs=no
9127       fi
9128       ;;
9129
9130     cygwin* | mingw* | pw32* | cegcc*)
9131       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9132       # as there is no search path for DLLs.
9133       hardcode_libdir_flag_spec='-L$libdir'
9134       export_dynamic_flag_spec='${wl}--export-all-symbols'
9135       allow_undefined_flag=unsupported
9136       always_export_symbols=no
9137       enable_shared_with_static_runtimes=yes
9138       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9139       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9140
9141       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9142         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9143         # If the export-symbols file already is a .def file (1st line
9144         # is EXPORTS), use it as is; otherwise, prepend...
9145         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9146           cp $export_symbols $output_objdir/$soname.def;
9147         else
9148           echo EXPORTS > $output_objdir/$soname.def;
9149           cat $export_symbols >> $output_objdir/$soname.def;
9150         fi~
9151         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9152       else
9153         ld_shlibs=no
9154       fi
9155       ;;
9156
9157     haiku*)
9158       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9159       link_all_deplibs=yes
9160       ;;
9161
9162     interix[3-9]*)
9163       hardcode_direct=no
9164       hardcode_shlibpath_var=no
9165       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9166       export_dynamic_flag_spec='${wl}-E'
9167       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9168       # Instead, shared libraries are loaded at an image base (0x10000000 by
9169       # default) and relocated if they conflict, which is a slow very memory
9170       # consuming and fragmenting process.  To avoid this, we pick a random,
9171       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9172       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9173       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9174       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'
9175       ;;
9176
9177     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9178       tmp_diet=no
9179       if test "$host_os" = linux-dietlibc; then
9180         case $cc_basename in
9181           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9182         esac
9183       fi
9184       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9185          && test "$tmp_diet" = no
9186       then
9187         tmp_addflag=' $pic_flag'
9188         tmp_sharedflag='-shared'
9189         case $cc_basename,$host_cpu in
9190         pgcc*)                          # Portland Group C compiler
9191           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9192           tmp_addflag=' $pic_flag'
9193           ;;
9194         pgf77* | pgf90* | pgf95* | pgfortran*)
9195                                         # Portland Group f77 and f90 compilers
9196           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9197           tmp_addflag=' $pic_flag -Mnomain' ;;
9198         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9199           tmp_addflag=' -i_dynamic' ;;
9200         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9201           tmp_addflag=' -i_dynamic -nofor_main' ;;
9202         ifc* | ifort*)                  # Intel Fortran compiler
9203           tmp_addflag=' -nofor_main' ;;
9204         lf95*)                          # Lahey Fortran 8.1
9205           whole_archive_flag_spec=
9206           tmp_sharedflag='--shared' ;;
9207         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9208           tmp_sharedflag='-qmkshrobj'
9209           tmp_addflag= ;;
9210         nvcc*)  # Cuda Compiler Driver 2.2
9211           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9212           compiler_needs_object=yes
9213           ;;
9214         esac
9215         case `$CC -V 2>&1 | sed 5q` in
9216         *Sun\ C*)                       # Sun C 5.9
9217           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9218           compiler_needs_object=yes
9219           tmp_sharedflag='-G' ;;
9220         *Sun\ F*)                       # Sun Fortran 8.3
9221           tmp_sharedflag='-G' ;;
9222         esac
9223         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9224
9225         if test "x$supports_anon_versioning" = xyes; then
9226           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9227             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9228             echo "local: *; };" >> $output_objdir/$libname.ver~
9229             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9230         fi
9231
9232         case $cc_basename in
9233         xlf* | bgf* | bgxlf* | mpixlf*)
9234           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9235           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9236           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9237           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9238           if test "x$supports_anon_versioning" = xyes; then
9239             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9240               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9241               echo "local: *; };" >> $output_objdir/$libname.ver~
9242               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9243           fi
9244           ;;
9245         esac
9246       else
9247         ld_shlibs=no
9248       fi
9249       ;;
9250
9251     netbsd* | netbsdelf*-gnu)
9252       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9253         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9254         wlarc=
9255       else
9256         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9257         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9258       fi
9259       ;;
9260
9261     solaris*)
9262       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9263         ld_shlibs=no
9264         cat <<_LT_EOF 1>&2
9265
9266 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9267 *** create shared libraries on Solaris systems.  Therefore, libtool
9268 *** is disabling shared libraries support.  We urge you to upgrade GNU
9269 *** binutils to release 2.9.1 or newer.  Another option is to modify
9270 *** your PATH or compiler configuration so that the native linker is
9271 *** used, and then restart.
9272
9273 _LT_EOF
9274       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9275         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9276         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9277       else
9278         ld_shlibs=no
9279       fi
9280       ;;
9281
9282     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9283       case `$LD -v 2>&1` in
9284         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9285         ld_shlibs=no
9286         cat <<_LT_EOF 1>&2
9287
9288 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9289 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9290 *** is disabling shared libraries support.  We urge you to upgrade GNU
9291 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9292 *** your PATH or compiler configuration so that the native linker is
9293 *** used, and then restart.
9294
9295 _LT_EOF
9296         ;;
9297         *)
9298           # For security reasons, it is highly recommended that you always
9299           # use absolute paths for naming shared libraries, and exclude the
9300           # DT_RUNPATH tag from executables and libraries.  But doing so
9301           # requires that you compile everything twice, which is a pain.
9302           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9303             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9304             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9305             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9306           else
9307             ld_shlibs=no
9308           fi
9309         ;;
9310       esac
9311       ;;
9312
9313     sunos4*)
9314       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9315       wlarc=
9316       hardcode_direct=yes
9317       hardcode_shlibpath_var=no
9318       ;;
9319
9320     *)
9321       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9322         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9323         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9324       else
9325         ld_shlibs=no
9326       fi
9327       ;;
9328     esac
9329
9330     if test "$ld_shlibs" = no; then
9331       runpath_var=
9332       hardcode_libdir_flag_spec=
9333       export_dynamic_flag_spec=
9334       whole_archive_flag_spec=
9335     fi
9336   else
9337     # PORTME fill in a description of your system's linker (not GNU ld)
9338     case $host_os in
9339     aix3*)
9340       allow_undefined_flag=unsupported
9341       always_export_symbols=yes
9342       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'
9343       # Note: this linker hardcodes the directories in LIBPATH if there
9344       # are no directories specified by -L.
9345       hardcode_minus_L=yes
9346       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9347         # Neither direct hardcoding nor static linking is supported with a
9348         # broken collect2.
9349         hardcode_direct=unsupported
9350       fi
9351       ;;
9352
9353     aix[4-9]*)
9354       if test "$host_cpu" = ia64; then
9355         # On IA64, the linker does run time linking by default, so we don't
9356         # have to do anything special.
9357         aix_use_runtimelinking=no
9358         exp_sym_flag='-Bexport'
9359         no_entry_flag=""
9360       else
9361         # If we're using GNU nm, then we don't want the "-C" option.
9362         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9363         # Also, AIX nm treats weak defined symbols like other global
9364         # defined symbols, whereas GNU nm marks them as "W".
9365         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9366           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9367         else
9368           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'
9369         fi
9370         aix_use_runtimelinking=no
9371
9372         # Test if we are trying to use run time linking or normal
9373         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9374         # need to do runtime linking.
9375         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9376           for ld_flag in $LDFLAGS; do
9377           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9378             aix_use_runtimelinking=yes
9379             break
9380           fi
9381           done
9382           ;;
9383         esac
9384
9385         exp_sym_flag='-bexport'
9386         no_entry_flag='-bnoentry'
9387       fi
9388
9389       # When large executables or shared objects are built, AIX ld can
9390       # have problems creating the table of contents.  If linking a library
9391       # or program results in "error TOC overflow" add -mminimal-toc to
9392       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9393       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9394
9395       archive_cmds=''
9396       hardcode_direct=yes
9397       hardcode_direct_absolute=yes
9398       hardcode_libdir_separator=':'
9399       link_all_deplibs=yes
9400       file_list_spec='${wl}-f,'
9401
9402       if test "$GCC" = yes; then
9403         case $host_os in aix4.[012]|aix4.[012].*)
9404         # We only want to do this on AIX 4.2 and lower, the check
9405         # below for broken collect2 doesn't work under 4.3+
9406           collect2name=`${CC} -print-prog-name=collect2`
9407           if test -f "$collect2name" &&
9408            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9409           then
9410           # We have reworked collect2
9411           :
9412           else
9413           # We have old collect2
9414           hardcode_direct=unsupported
9415           # It fails to find uninstalled libraries when the uninstalled
9416           # path is not listed in the libpath.  Setting hardcode_minus_L
9417           # to unsupported forces relinking
9418           hardcode_minus_L=yes
9419           hardcode_libdir_flag_spec='-L$libdir'
9420           hardcode_libdir_separator=
9421           fi
9422           ;;
9423         esac
9424         shared_flag='-shared'
9425         if test "$aix_use_runtimelinking" = yes; then
9426           shared_flag="$shared_flag "'${wl}-G'
9427         fi
9428         link_all_deplibs=no
9429       else
9430         # not using gcc
9431         if test "$host_cpu" = ia64; then
9432         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9433         # chokes on -Wl,-G. The following line is correct:
9434           shared_flag='-G'
9435         else
9436           if test "$aix_use_runtimelinking" = yes; then
9437             shared_flag='${wl}-G'
9438           else
9439             shared_flag='${wl}-bM:SRE'
9440           fi
9441         fi
9442       fi
9443
9444       export_dynamic_flag_spec='${wl}-bexpall'
9445       # It seems that -bexpall does not export symbols beginning with
9446       # underscore (_), so it is better to generate a list of symbols to export.
9447       always_export_symbols=yes
9448       if test "$aix_use_runtimelinking" = yes; then
9449         # Warning - without using the other runtime loading flags (-brtl),
9450         # -berok will link without error, but may produce a broken library.
9451         allow_undefined_flag='-berok'
9452         # Determine the default libpath from the value encoded in an
9453         # empty executable.
9454         if test "${lt_cv_aix_libpath+set}" = set; then
9455   aix_libpath=$lt_cv_aix_libpath
9456 else
9457   if ${lt_cv_aix_libpath_+:} false; then :
9458   $as_echo_n "(cached) " >&6
9459 else
9460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9461 /* end confdefs.h.  */
9462
9463 int
9464 main ()
9465 {
9466
9467   ;
9468   return 0;
9469 }
9470 _ACEOF
9471 if ac_fn_c_try_link "$LINENO"; then :
9472
9473   lt_aix_libpath_sed='
9474       /Import File Strings/,/^$/ {
9475           /^0/ {
9476               s/^0  *\([^ ]*\) *$/\1/
9477               p
9478           }
9479       }'
9480   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9481   # Check for a 64-bit object if we didn't find anything.
9482   if test -z "$lt_cv_aix_libpath_"; then
9483     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9484   fi
9485 fi
9486 rm -f core conftest.err conftest.$ac_objext \
9487     conftest$ac_exeext conftest.$ac_ext
9488   if test -z "$lt_cv_aix_libpath_"; then
9489     lt_cv_aix_libpath_="/usr/lib:/lib"
9490   fi
9491
9492 fi
9493
9494   aix_libpath=$lt_cv_aix_libpath_
9495 fi
9496
9497         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9498         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9499       else
9500         if test "$host_cpu" = ia64; then
9501           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9502           allow_undefined_flag="-z nodefs"
9503           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"
9504         else
9505          # Determine the default libpath from the value encoded in an
9506          # empty executable.
9507          if test "${lt_cv_aix_libpath+set}" = set; then
9508   aix_libpath=$lt_cv_aix_libpath
9509 else
9510   if ${lt_cv_aix_libpath_+:} false; then :
9511   $as_echo_n "(cached) " >&6
9512 else
9513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9514 /* end confdefs.h.  */
9515
9516 int
9517 main ()
9518 {
9519
9520   ;
9521   return 0;
9522 }
9523 _ACEOF
9524 if ac_fn_c_try_link "$LINENO"; then :
9525
9526   lt_aix_libpath_sed='
9527       /Import File Strings/,/^$/ {
9528           /^0/ {
9529               s/^0  *\([^ ]*\) *$/\1/
9530               p
9531           }
9532       }'
9533   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9534   # Check for a 64-bit object if we didn't find anything.
9535   if test -z "$lt_cv_aix_libpath_"; then
9536     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9537   fi
9538 fi
9539 rm -f core conftest.err conftest.$ac_objext \
9540     conftest$ac_exeext conftest.$ac_ext
9541   if test -z "$lt_cv_aix_libpath_"; then
9542     lt_cv_aix_libpath_="/usr/lib:/lib"
9543   fi
9544
9545 fi
9546
9547   aix_libpath=$lt_cv_aix_libpath_
9548 fi
9549
9550          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9551           # Warning - without using the other run time loading flags,
9552           # -berok will link without error, but may produce a broken library.
9553           no_undefined_flag=' ${wl}-bernotok'
9554           allow_undefined_flag=' ${wl}-berok'
9555           if test "$with_gnu_ld" = yes; then
9556             # We only use this code for GNU lds that support --whole-archive.
9557             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9558           else
9559             # Exported symbols can be pulled into shared objects from archives
9560             whole_archive_flag_spec='$convenience'
9561           fi
9562           archive_cmds_need_lc=yes
9563           # This is similar to how AIX traditionally builds its shared libraries.
9564           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'
9565         fi
9566       fi
9567       ;;
9568
9569     amigaos*)
9570       case $host_cpu in
9571       powerpc)
9572             # see comment about AmigaOS4 .so support
9573             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9574             archive_expsym_cmds=''
9575         ;;
9576       m68k)
9577             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)'
9578             hardcode_libdir_flag_spec='-L$libdir'
9579             hardcode_minus_L=yes
9580         ;;
9581       esac
9582       ;;
9583
9584     bsdi[45]*)
9585       export_dynamic_flag_spec=-rdynamic
9586       ;;
9587
9588     cygwin* | mingw* | pw32* | cegcc*)
9589       # When not using gcc, we currently assume that we are using
9590       # Microsoft Visual C++.
9591       # hardcode_libdir_flag_spec is actually meaningless, as there is
9592       # no search path for DLLs.
9593       case $cc_basename in
9594       cl*)
9595         # Native MSVC
9596         hardcode_libdir_flag_spec=' '
9597         allow_undefined_flag=unsupported
9598         always_export_symbols=yes
9599         file_list_spec='@'
9600         # Tell ltmain to make .lib files, not .a files.
9601         libext=lib
9602         # Tell ltmain to make .dll files, not .so files.
9603         shrext_cmds=".dll"
9604         # FIXME: Setting linknames here is a bad hack.
9605         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9606         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9607             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9608           else
9609             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9610           fi~
9611           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9612           linknames='
9613         # The linker will not automatically build a static lib if we build a DLL.
9614         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9615         enable_shared_with_static_runtimes=yes
9616         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9617         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9618         # Don't use ranlib
9619         old_postinstall_cmds='chmod 644 $oldlib'
9620         postlink_cmds='lt_outputfile="@OUTPUT@"~
9621           lt_tool_outputfile="@TOOL_OUTPUT@"~
9622           case $lt_outputfile in
9623             *.exe|*.EXE) ;;
9624             *)
9625               lt_outputfile="$lt_outputfile.exe"
9626               lt_tool_outputfile="$lt_tool_outputfile.exe"
9627               ;;
9628           esac~
9629           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9630             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9631             $RM "$lt_outputfile.manifest";
9632           fi'
9633         ;;
9634       *)
9635         # Assume MSVC wrapper
9636         hardcode_libdir_flag_spec=' '
9637         allow_undefined_flag=unsupported
9638         # Tell ltmain to make .lib files, not .a files.
9639         libext=lib
9640         # Tell ltmain to make .dll files, not .so files.
9641         shrext_cmds=".dll"
9642         # FIXME: Setting linknames here is a bad hack.
9643         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9644         # The linker will automatically build a .lib file if we build a DLL.
9645         old_archive_from_new_cmds='true'
9646         # FIXME: Should let the user specify the lib program.
9647         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9648         enable_shared_with_static_runtimes=yes
9649         ;;
9650       esac
9651       ;;
9652
9653     darwin* | rhapsody*)
9654
9655
9656   archive_cmds_need_lc=no
9657   hardcode_direct=no
9658   hardcode_automatic=yes
9659   hardcode_shlibpath_var=unsupported
9660   if test "$lt_cv_ld_force_load" = "yes"; then
9661     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9662
9663   else
9664     whole_archive_flag_spec=''
9665   fi
9666   link_all_deplibs=yes
9667   allow_undefined_flag="$_lt_dar_allow_undefined"
9668   case $cc_basename in
9669      ifort*) _lt_dar_can_shared=yes ;;
9670      *) _lt_dar_can_shared=$GCC ;;
9671   esac
9672   if test "$_lt_dar_can_shared" = "yes"; then
9673     output_verbose_link_cmd=func_echo_all
9674     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9675     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9676     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}"
9677     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}"
9678
9679   else
9680   ld_shlibs=no
9681   fi
9682
9683       ;;
9684
9685     dgux*)
9686       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9687       hardcode_libdir_flag_spec='-L$libdir'
9688       hardcode_shlibpath_var=no
9689       ;;
9690
9691     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9692     # support.  Future versions do this automatically, but an explicit c++rt0.o
9693     # does not break anything, and helps significantly (at the cost of a little
9694     # extra space).
9695     freebsd2.2*)
9696       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9697       hardcode_libdir_flag_spec='-R$libdir'
9698       hardcode_direct=yes
9699       hardcode_shlibpath_var=no
9700       ;;
9701
9702     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9703     freebsd2.*)
9704       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9705       hardcode_direct=yes
9706       hardcode_minus_L=yes
9707       hardcode_shlibpath_var=no
9708       ;;
9709
9710     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9711     freebsd* | dragonfly*)
9712       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9713       hardcode_libdir_flag_spec='-R$libdir'
9714       hardcode_direct=yes
9715       hardcode_shlibpath_var=no
9716       ;;
9717
9718     hpux9*)
9719       if test "$GCC" = yes; then
9720         archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9721       else
9722         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'
9723       fi
9724       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9725       hardcode_libdir_separator=:
9726       hardcode_direct=yes
9727
9728       # hardcode_minus_L: Not really in the search PATH,
9729       # but as the default location of the library.
9730       hardcode_minus_L=yes
9731       export_dynamic_flag_spec='${wl}-E'
9732       ;;
9733
9734     hpux10*)
9735       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9736         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9737       else
9738         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9739       fi
9740       if test "$with_gnu_ld" = no; then
9741         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9742         hardcode_libdir_separator=:
9743         hardcode_direct=yes
9744         hardcode_direct_absolute=yes
9745         export_dynamic_flag_spec='${wl}-E'
9746         # hardcode_minus_L: Not really in the search PATH,
9747         # but as the default location of the library.
9748         hardcode_minus_L=yes
9749       fi
9750       ;;
9751
9752     hpux11*)
9753       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9754         case $host_cpu in
9755         hppa*64*)
9756           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9757           ;;
9758         ia64*)
9759           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9760           ;;
9761         *)
9762           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9763           ;;
9764         esac
9765       else
9766         case $host_cpu in
9767         hppa*64*)
9768           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9769           ;;
9770         ia64*)
9771           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9772           ;;
9773         *)
9774
9775           # Older versions of the 11.00 compiler do not understand -b yet
9776           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9777           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9778 $as_echo_n "checking if $CC understands -b... " >&6; }
9779 if ${lt_cv_prog_compiler__b+:} false; then :
9780   $as_echo_n "(cached) " >&6
9781 else
9782   lt_cv_prog_compiler__b=no
9783    save_LDFLAGS="$LDFLAGS"
9784    LDFLAGS="$LDFLAGS -b"
9785    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9786    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9787      # The linker can only warn and ignore the option if not recognized
9788      # So say no if there are warnings
9789      if test -s conftest.err; then
9790        # Append any errors to the config.log.
9791        cat conftest.err 1>&5
9792        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9793        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9794        if diff conftest.exp conftest.er2 >/dev/null; then
9795          lt_cv_prog_compiler__b=yes
9796        fi
9797      else
9798        lt_cv_prog_compiler__b=yes
9799      fi
9800    fi
9801    $RM -r conftest*
9802    LDFLAGS="$save_LDFLAGS"
9803
9804 fi
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9806 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9807
9808 if test x"$lt_cv_prog_compiler__b" = xyes; then
9809     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9810 else
9811     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9812 fi
9813
9814           ;;
9815         esac
9816       fi
9817       if test "$with_gnu_ld" = no; then
9818         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9819         hardcode_libdir_separator=:
9820
9821         case $host_cpu in
9822         hppa*64*|ia64*)
9823           hardcode_direct=no
9824           hardcode_shlibpath_var=no
9825           ;;
9826         *)
9827           hardcode_direct=yes
9828           hardcode_direct_absolute=yes
9829           export_dynamic_flag_spec='${wl}-E'
9830
9831           # hardcode_minus_L: Not really in the search PATH,
9832           # but as the default location of the library.
9833           hardcode_minus_L=yes
9834           ;;
9835         esac
9836       fi
9837       ;;
9838
9839     irix5* | irix6* | nonstopux*)
9840       if test "$GCC" = yes; then
9841         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9842         # Try to use the -exported_symbol ld option, if it does not
9843         # work, assume that -exports_file does not work either and
9844         # implicitly export all symbols.
9845         # This should be the same for all languages, so no per-tag cache variable.
9846         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9847 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9848 if ${lt_cv_irix_exported_symbol+:} false; then :
9849   $as_echo_n "(cached) " >&6
9850 else
9851   save_LDFLAGS="$LDFLAGS"
9852            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9853            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9854 /* end confdefs.h.  */
9855 int foo (void) { return 0; }
9856 _ACEOF
9857 if ac_fn_c_try_link "$LINENO"; then :
9858   lt_cv_irix_exported_symbol=yes
9859 else
9860   lt_cv_irix_exported_symbol=no
9861 fi
9862 rm -f core conftest.err conftest.$ac_objext \
9863     conftest$ac_exeext conftest.$ac_ext
9864            LDFLAGS="$save_LDFLAGS"
9865 fi
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9867 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9868         if test "$lt_cv_irix_exported_symbol" = yes; then
9869           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9870         fi
9871       else
9872         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9873         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9874       fi
9875       archive_cmds_need_lc='no'
9876       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9877       hardcode_libdir_separator=:
9878       inherit_rpath=yes
9879       link_all_deplibs=yes
9880       ;;
9881
9882     netbsd* | netbsdelf*-gnu)
9883       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9884         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9885       else
9886         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9887       fi
9888       hardcode_libdir_flag_spec='-R$libdir'
9889       hardcode_direct=yes
9890       hardcode_shlibpath_var=no
9891       ;;
9892
9893     newsos6)
9894       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9895       hardcode_direct=yes
9896       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9897       hardcode_libdir_separator=:
9898       hardcode_shlibpath_var=no
9899       ;;
9900
9901     *nto* | *qnx*)
9902       ;;
9903
9904     openbsd*)
9905       if test -f /usr/libexec/ld.so; then
9906         hardcode_direct=yes
9907         hardcode_shlibpath_var=no
9908         hardcode_direct_absolute=yes
9909         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9910           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9911           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9912           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9913           export_dynamic_flag_spec='${wl}-E'
9914         else
9915           case $host_os in
9916            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9917              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9918              hardcode_libdir_flag_spec='-R$libdir'
9919              ;;
9920            *)
9921              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9922              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9923              ;;
9924           esac
9925         fi
9926       else
9927         ld_shlibs=no
9928       fi
9929       ;;
9930
9931     os2*)
9932       hardcode_libdir_flag_spec='-L$libdir'
9933       hardcode_minus_L=yes
9934       allow_undefined_flag=unsupported
9935       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'
9936       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9937       ;;
9938
9939     osf3*)
9940       if test "$GCC" = yes; then
9941         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9942         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9943       else
9944         allow_undefined_flag=' -expect_unresolved \*'
9945         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9946       fi
9947       archive_cmds_need_lc='no'
9948       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9949       hardcode_libdir_separator=:
9950       ;;
9951
9952     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9953       if test "$GCC" = yes; then
9954         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9955         archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9956         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9957       else
9958         allow_undefined_flag=' -expect_unresolved \*'
9959         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9960         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~
9961         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9962
9963         # Both c and cxx compiler support -rpath directly
9964         hardcode_libdir_flag_spec='-rpath $libdir'
9965       fi
9966       archive_cmds_need_lc='no'
9967       hardcode_libdir_separator=:
9968       ;;
9969
9970     solaris*)
9971       no_undefined_flag=' -z defs'
9972       if test "$GCC" = yes; then
9973         wlarc='${wl}'
9974         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9975         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9976           $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9977       else
9978         case `$CC -V 2>&1` in
9979         *"Compilers 5.0"*)
9980           wlarc=''
9981           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9982           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9983           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9984           ;;
9985         *)
9986           wlarc='${wl}'
9987           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9988           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9989           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9990           ;;
9991         esac
9992       fi
9993       hardcode_libdir_flag_spec='-R$libdir'
9994       hardcode_shlibpath_var=no
9995       case $host_os in
9996       solaris2.[0-5] | solaris2.[0-5].*) ;;
9997       *)
9998         # The compiler driver will combine and reorder linker options,
9999         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10000         # but is careful enough not to reorder.
10001         # Supported since Solaris 2.6 (maybe 2.5.1?)
10002         if test "$GCC" = yes; then
10003           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10004         else
10005           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10006         fi
10007         ;;
10008       esac
10009       link_all_deplibs=yes
10010       ;;
10011
10012     sunos4*)
10013       if test "x$host_vendor" = xsequent; then
10014         # Use $CC to link under sequent, because it throws in some extra .o
10015         # files that make .init and .fini sections work.
10016         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10017       else
10018         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10019       fi
10020       hardcode_libdir_flag_spec='-L$libdir'
10021       hardcode_direct=yes
10022       hardcode_minus_L=yes
10023       hardcode_shlibpath_var=no
10024       ;;
10025
10026     sysv4)
10027       case $host_vendor in
10028         sni)
10029           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10030           hardcode_direct=yes # is this really true???
10031         ;;
10032         siemens)
10033           ## LD is ld it makes a PLAMLIB
10034           ## CC just makes a GrossModule.
10035           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10036           reload_cmds='$CC -r -o $output$reload_objs'
10037           hardcode_direct=no
10038         ;;
10039         motorola)
10040           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10041           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10042         ;;
10043       esac
10044       runpath_var='LD_RUN_PATH'
10045       hardcode_shlibpath_var=no
10046       ;;
10047
10048     sysv4.3*)
10049       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10050       hardcode_shlibpath_var=no
10051       export_dynamic_flag_spec='-Bexport'
10052       ;;
10053
10054     sysv4*MP*)
10055       if test -d /usr/nec; then
10056         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10057         hardcode_shlibpath_var=no
10058         runpath_var=LD_RUN_PATH
10059         hardcode_runpath_var=yes
10060         ld_shlibs=yes
10061       fi
10062       ;;
10063
10064     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10065       no_undefined_flag='${wl}-z,text'
10066       archive_cmds_need_lc=no
10067       hardcode_shlibpath_var=no
10068       runpath_var='LD_RUN_PATH'
10069
10070       if test "$GCC" = yes; then
10071         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10072         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10073       else
10074         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10075         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10076       fi
10077       ;;
10078
10079     sysv5* | sco3.2v5* | sco5v6*)
10080       # Note: We can NOT use -z defs as we might desire, because we do not
10081       # link with -lc, and that would cause any symbols used from libc to
10082       # always be unresolved, which means just about no library would
10083       # ever link correctly.  If we're not using GNU ld we use -z text
10084       # though, which does catch some bad symbols but isn't as heavy-handed
10085       # as -z defs.
10086       no_undefined_flag='${wl}-z,text'
10087       allow_undefined_flag='${wl}-z,nodefs'
10088       archive_cmds_need_lc=no
10089       hardcode_shlibpath_var=no
10090       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10091       hardcode_libdir_separator=':'
10092       link_all_deplibs=yes
10093       export_dynamic_flag_spec='${wl}-Bexport'
10094       runpath_var='LD_RUN_PATH'
10095
10096       if test "$GCC" = yes; then
10097         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10098         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10099       else
10100         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10101         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10102       fi
10103       ;;
10104
10105     uts4*)
10106       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10107       hardcode_libdir_flag_spec='-L$libdir'
10108       hardcode_shlibpath_var=no
10109       ;;
10110
10111     *)
10112       ld_shlibs=no
10113       ;;
10114     esac
10115
10116     if test x$host_vendor = xsni; then
10117       case $host in
10118       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10119         export_dynamic_flag_spec='${wl}-Blargedynsym'
10120         ;;
10121       esac
10122     fi
10123   fi
10124
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10126 $as_echo "$ld_shlibs" >&6; }
10127 test "$ld_shlibs" = no && can_build_shared=no
10128
10129 with_gnu_ld=$with_gnu_ld
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145 #
10146 # Do we need to explicitly link libc?
10147 #
10148 case "x$archive_cmds_need_lc" in
10149 x|xyes)
10150   # Assume -lc should be added
10151   archive_cmds_need_lc=yes
10152
10153   if test "$enable_shared" = yes && test "$GCC" = yes; then
10154     case $archive_cmds in
10155     *'~'*)
10156       # FIXME: we may have to deal with multi-command sequences.
10157       ;;
10158     '$CC '*)
10159       # Test whether the compiler implicitly links with -lc since on some
10160       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10161       # to ld, don't add -lc before -lgcc.
10162       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10163 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10164 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10165   $as_echo_n "(cached) " >&6
10166 else
10167   $RM conftest*
10168         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10169
10170         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10171   (eval $ac_compile) 2>&5
10172   ac_status=$?
10173   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10174   test $ac_status = 0; } 2>conftest.err; then
10175           soname=conftest
10176           lib=conftest
10177           libobjs=conftest.$ac_objext
10178           deplibs=
10179           wl=$lt_prog_compiler_wl
10180           pic_flag=$lt_prog_compiler_pic
10181           compiler_flags=-v
10182           linker_flags=-v
10183           verstring=
10184           output_objdir=.
10185           libname=conftest
10186           lt_save_allow_undefined_flag=$allow_undefined_flag
10187           allow_undefined_flag=
10188           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10189   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10190   ac_status=$?
10191   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10192   test $ac_status = 0; }
10193           then
10194             lt_cv_archive_cmds_need_lc=no
10195           else
10196             lt_cv_archive_cmds_need_lc=yes
10197           fi
10198           allow_undefined_flag=$lt_save_allow_undefined_flag
10199         else
10200           cat conftest.err 1>&5
10201         fi
10202         $RM conftest*
10203
10204 fi
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10206 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10207       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10208       ;;
10209     esac
10210   fi
10211   ;;
10212 esac
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10366 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10367
10368 if test "$GCC" = yes; then
10369   case $host_os in
10370     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10371     *) lt_awk_arg="/^libraries:/" ;;
10372   esac
10373   case $host_os in
10374     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10375     *) lt_sed_strip_eq="s,=/,/,g" ;;
10376   esac
10377   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10378   case $lt_search_path_spec in
10379   *\;*)
10380     # if the path contains ";" then we assume it to be the separator
10381     # otherwise default to the standard path separator (i.e. ":") - it is
10382     # assumed that no part of a normal pathname contains ";" but that should
10383     # okay in the real world where ";" in dirpaths is itself problematic.
10384     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10385     ;;
10386   *)
10387     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10388     ;;
10389   esac
10390   # Ok, now we have the path, separated by spaces, we can step through it
10391   # and add multilib dir if necessary.
10392   lt_tmp_lt_search_path_spec=
10393   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10394   for lt_sys_path in $lt_search_path_spec; do
10395     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10396       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10397     else
10398       test -d "$lt_sys_path" && \
10399         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10400     fi
10401   done
10402   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10403 BEGIN {RS=" "; FS="/|\n";} {
10404   lt_foo="";
10405   lt_count=0;
10406   for (lt_i = NF; lt_i > 0; lt_i--) {
10407     if ($lt_i != "" && $lt_i != ".") {
10408       if ($lt_i == "..") {
10409         lt_count++;
10410       } else {
10411         if (lt_count == 0) {
10412           lt_foo="/" $lt_i lt_foo;
10413         } else {
10414           lt_count--;
10415         }
10416       }
10417     }
10418   }
10419   if (lt_foo != "") { lt_freq[lt_foo]++; }
10420   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10421 }'`
10422   # AWK program above erroneously prepends '/' to C:/dos/paths
10423   # for these hosts.
10424   case $host_os in
10425     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10426       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10427   esac
10428   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10429 else
10430   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10431 fi
10432 library_names_spec=
10433 libname_spec='lib$name'
10434 soname_spec=
10435 shrext_cmds=".so"
10436 postinstall_cmds=
10437 postuninstall_cmds=
10438 finish_cmds=
10439 finish_eval=
10440 shlibpath_var=
10441 shlibpath_overrides_runpath=unknown
10442 version_type=none
10443 dynamic_linker="$host_os ld.so"
10444 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10445 need_lib_prefix=unknown
10446 hardcode_into_libs=no
10447
10448 # when you set need_version to no, make sure it does not cause -set_version
10449 # flags to be left without arguments
10450 need_version=unknown
10451
10452 case $host_os in
10453 aix3*)
10454   version_type=linux # correct to gnu/linux during the next big refactor
10455   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10456   shlibpath_var=LIBPATH
10457
10458   # AIX 3 has no versioning support, so we append a major version to the name.
10459   soname_spec='${libname}${release}${shared_ext}$major'
10460   ;;
10461
10462 aix[4-9]*)
10463   version_type=linux # correct to gnu/linux during the next big refactor
10464   need_lib_prefix=no
10465   need_version=no
10466   hardcode_into_libs=yes
10467   if test "$host_cpu" = ia64; then
10468     # AIX 5 supports IA64
10469     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10470     shlibpath_var=LD_LIBRARY_PATH
10471   else
10472     # With GCC up to 2.95.x, collect2 would create an import file
10473     # for dependence libraries.  The import file would start with
10474     # the line `#! .'.  This would cause the generated library to
10475     # depend on `.', always an invalid library.  This was fixed in
10476     # development snapshots of GCC prior to 3.0.
10477     case $host_os in
10478       aix4 | aix4.[01] | aix4.[01].*)
10479       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10480            echo ' yes '
10481            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10482         :
10483       else
10484         can_build_shared=no
10485       fi
10486       ;;
10487     esac
10488     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10489     # soname into executable. Probably we can add versioning support to
10490     # collect2, so additional links can be useful in future.
10491     if test "$aix_use_runtimelinking" = yes; then
10492       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10493       # instead of lib<name>.a to let people know that these are not
10494       # typical AIX shared libraries.
10495       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10496     else
10497       # We preserve .a as extension for shared libraries through AIX4.2
10498       # and later when we are not doing run time linking.
10499       library_names_spec='${libname}${release}.a $libname.a'
10500       soname_spec='${libname}${release}${shared_ext}$major'
10501     fi
10502     shlibpath_var=LIBPATH
10503   fi
10504   ;;
10505
10506 amigaos*)
10507   case $host_cpu in
10508   powerpc)
10509     # Since July 2007 AmigaOS4 officially supports .so libraries.
10510     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10511     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10512     ;;
10513   m68k)
10514     library_names_spec='$libname.ixlibrary $libname.a'
10515     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10516     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10517     ;;
10518   esac
10519   ;;
10520
10521 beos*)
10522   library_names_spec='${libname}${shared_ext}'
10523   dynamic_linker="$host_os ld.so"
10524   shlibpath_var=LIBRARY_PATH
10525   ;;
10526
10527 bsdi[45]*)
10528   version_type=linux # correct to gnu/linux during the next big refactor
10529   need_version=no
10530   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10531   soname_spec='${libname}${release}${shared_ext}$major'
10532   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10533   shlibpath_var=LD_LIBRARY_PATH
10534   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10535   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10536   # the default ld.so.conf also contains /usr/contrib/lib and
10537   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10538   # libtool to hard-code these into programs
10539   ;;
10540
10541 cygwin* | mingw* | pw32* | cegcc*)
10542   version_type=windows
10543   shrext_cmds=".dll"
10544   need_version=no
10545   need_lib_prefix=no
10546
10547   case $GCC,$cc_basename in
10548   yes,*)
10549     # gcc
10550     library_names_spec='$libname.dll.a'
10551     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10552     postinstall_cmds='base_file=`basename \${file}`~
10553       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10554       dldir=$destdir/`dirname \$dlpath`~
10555       test -d \$dldir || mkdir -p \$dldir~
10556       $install_prog $dir/$dlname \$dldir/$dlname~
10557       chmod a+x \$dldir/$dlname~
10558       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10559         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10560       fi'
10561     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10562       dlpath=$dir/\$dldll~
10563        $RM \$dlpath'
10564     shlibpath_overrides_runpath=yes
10565
10566     case $host_os in
10567     cygwin*)
10568       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10569       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10570
10571       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10572       ;;
10573     mingw* | cegcc*)
10574       # MinGW DLLs use traditional 'lib' prefix
10575       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10576       ;;
10577     pw32*)
10578       # pw32 DLLs use 'pw' prefix rather than 'lib'
10579       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10580       ;;
10581     esac
10582     dynamic_linker='Win32 ld.exe'
10583     ;;
10584
10585   *,cl*)
10586     # Native MSVC
10587     libname_spec='$name'
10588     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10589     library_names_spec='${libname}.dll.lib'
10590
10591     case $build_os in
10592     mingw*)
10593       sys_lib_search_path_spec=
10594       lt_save_ifs=$IFS
10595       IFS=';'
10596       for lt_path in $LIB
10597       do
10598         IFS=$lt_save_ifs
10599         # Let DOS variable expansion print the short 8.3 style file name.
10600         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10601         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10602       done
10603       IFS=$lt_save_ifs
10604       # Convert to MSYS style.
10605       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10606       ;;
10607     cygwin*)
10608       # Convert to unix form, then to dos form, then back to unix form
10609       # but this time dos style (no spaces!) so that the unix form looks
10610       # like /cygdrive/c/PROGRA~1:/cygdr...
10611       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10612       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10613       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10614       ;;
10615     *)
10616       sys_lib_search_path_spec="$LIB"
10617       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10618         # It is most probably a Windows format PATH.
10619         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10620       else
10621         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10622       fi
10623       # FIXME: find the short name or the path components, as spaces are
10624       # common. (e.g. "Program Files" -> "PROGRA~1")
10625       ;;
10626     esac
10627
10628     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10629     postinstall_cmds='base_file=`basename \${file}`~
10630       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10631       dldir=$destdir/`dirname \$dlpath`~
10632       test -d \$dldir || mkdir -p \$dldir~
10633       $install_prog $dir/$dlname \$dldir/$dlname'
10634     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10635       dlpath=$dir/\$dldll~
10636        $RM \$dlpath'
10637     shlibpath_overrides_runpath=yes
10638     dynamic_linker='Win32 link.exe'
10639     ;;
10640
10641   *)
10642     # Assume MSVC wrapper
10643     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10644     dynamic_linker='Win32 ld.exe'
10645     ;;
10646   esac
10647   # FIXME: first we should search . and the directory the executable is in
10648   shlibpath_var=PATH
10649   ;;
10650
10651 darwin* | rhapsody*)
10652   dynamic_linker="$host_os dyld"
10653   version_type=darwin
10654   need_lib_prefix=no
10655   need_version=no
10656   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10657   soname_spec='${libname}${release}${major}$shared_ext'
10658   shlibpath_overrides_runpath=yes
10659   shlibpath_var=DYLD_LIBRARY_PATH
10660   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10661
10662   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10663   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10664   ;;
10665
10666 dgux*)
10667   version_type=linux # correct to gnu/linux during the next big refactor
10668   need_lib_prefix=no
10669   need_version=no
10670   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10671   soname_spec='${libname}${release}${shared_ext}$major'
10672   shlibpath_var=LD_LIBRARY_PATH
10673   ;;
10674
10675 freebsd* | dragonfly*)
10676   # DragonFly does not have aout.  When/if they implement a new
10677   # versioning mechanism, adjust this.
10678   if test -x /usr/bin/objformat; then
10679     objformat=`/usr/bin/objformat`
10680   else
10681     case $host_os in
10682     freebsd[23].*) objformat=aout ;;
10683     *) objformat=elf ;;
10684     esac
10685   fi
10686   version_type=freebsd-$objformat
10687   case $version_type in
10688     freebsd-elf*)
10689       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10690       need_version=no
10691       need_lib_prefix=no
10692       ;;
10693     freebsd-*)
10694       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10695       need_version=yes
10696       ;;
10697   esac
10698   shlibpath_var=LD_LIBRARY_PATH
10699   case $host_os in
10700   freebsd2.*)
10701     shlibpath_overrides_runpath=yes
10702     ;;
10703   freebsd3.[01]* | freebsdelf3.[01]*)
10704     shlibpath_overrides_runpath=yes
10705     hardcode_into_libs=yes
10706     ;;
10707   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10708   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10709     shlibpath_overrides_runpath=no
10710     hardcode_into_libs=yes
10711     ;;
10712   *) # from 4.6 on, and DragonFly
10713     shlibpath_overrides_runpath=yes
10714     hardcode_into_libs=yes
10715     ;;
10716   esac
10717   ;;
10718
10719 gnu*)
10720   version_type=linux # correct to gnu/linux during the next big refactor
10721   need_lib_prefix=no
10722   need_version=no
10723   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10724   soname_spec='${libname}${release}${shared_ext}$major'
10725   shlibpath_var=LD_LIBRARY_PATH
10726   shlibpath_overrides_runpath=no
10727   hardcode_into_libs=yes
10728   ;;
10729
10730 haiku*)
10731   version_type=linux # correct to gnu/linux during the next big refactor
10732   need_lib_prefix=no
10733   need_version=no
10734   dynamic_linker="$host_os runtime_loader"
10735   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10736   soname_spec='${libname}${release}${shared_ext}$major'
10737   shlibpath_var=LIBRARY_PATH
10738   shlibpath_overrides_runpath=yes
10739   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10740   hardcode_into_libs=yes
10741   ;;
10742
10743 hpux9* | hpux10* | hpux11*)
10744   # Give a soname corresponding to the major version so that dld.sl refuses to
10745   # link against other versions.
10746   version_type=sunos
10747   need_lib_prefix=no
10748   need_version=no
10749   case $host_cpu in
10750   ia64*)
10751     shrext_cmds='.so'
10752     hardcode_into_libs=yes
10753     dynamic_linker="$host_os dld.so"
10754     shlibpath_var=LD_LIBRARY_PATH
10755     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10756     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10757     soname_spec='${libname}${release}${shared_ext}$major'
10758     if test "X$HPUX_IA64_MODE" = X32; then
10759       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10760     else
10761       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10762     fi
10763     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10764     ;;
10765   hppa*64*)
10766     shrext_cmds='.sl'
10767     hardcode_into_libs=yes
10768     dynamic_linker="$host_os dld.sl"
10769     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10770     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10771     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10772     soname_spec='${libname}${release}${shared_ext}$major'
10773     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10774     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10775     ;;
10776   *)
10777     shrext_cmds='.sl'
10778     dynamic_linker="$host_os dld.sl"
10779     shlibpath_var=SHLIB_PATH
10780     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10781     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10782     soname_spec='${libname}${release}${shared_ext}$major'
10783     ;;
10784   esac
10785   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10786   postinstall_cmds='chmod 555 $lib'
10787   # or fails outright, so override atomically:
10788   install_override_mode=555
10789   ;;
10790
10791 interix[3-9]*)
10792   version_type=linux # correct to gnu/linux during the next big refactor
10793   need_lib_prefix=no
10794   need_version=no
10795   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10796   soname_spec='${libname}${release}${shared_ext}$major'
10797   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10798   shlibpath_var=LD_LIBRARY_PATH
10799   shlibpath_overrides_runpath=no
10800   hardcode_into_libs=yes
10801   ;;
10802
10803 irix5* | irix6* | nonstopux*)
10804   case $host_os in
10805     nonstopux*) version_type=nonstopux ;;
10806     *)
10807         if test "$lt_cv_prog_gnu_ld" = yes; then
10808                 version_type=linux # correct to gnu/linux during the next big refactor
10809         else
10810                 version_type=irix
10811         fi ;;
10812   esac
10813   need_lib_prefix=no
10814   need_version=no
10815   soname_spec='${libname}${release}${shared_ext}$major'
10816   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10817   case $host_os in
10818   irix5* | nonstopux*)
10819     libsuff= shlibsuff=
10820     ;;
10821   *)
10822     case $LD in # libtool.m4 will add one of these switches to LD
10823     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10824       libsuff= shlibsuff= libmagic=32-bit;;
10825     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10826       libsuff=32 shlibsuff=N32 libmagic=N32;;
10827     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10828       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10829     *) libsuff= shlibsuff= libmagic=never-match;;
10830     esac
10831     ;;
10832   esac
10833   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10834   shlibpath_overrides_runpath=no
10835   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10836   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10837   hardcode_into_libs=yes
10838   ;;
10839
10840 # No shared lib support for Linux oldld, aout, or coff.
10841 linux*oldld* | linux*aout* | linux*coff*)
10842   dynamic_linker=no
10843   ;;
10844
10845 # This must be glibc/ELF.
10846 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10847   version_type=linux # correct to gnu/linux during the next big refactor
10848   need_lib_prefix=no
10849   need_version=no
10850   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10851   soname_spec='${libname}${release}${shared_ext}$major'
10852   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10853   shlibpath_var=LD_LIBRARY_PATH
10854   shlibpath_overrides_runpath=no
10855
10856   # Some binutils ld are patched to set DT_RUNPATH
10857   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10858   $as_echo_n "(cached) " >&6
10859 else
10860   lt_cv_shlibpath_overrides_runpath=no
10861     save_LDFLAGS=$LDFLAGS
10862     save_libdir=$libdir
10863     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10864          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10865     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10866 /* end confdefs.h.  */
10867
10868 int
10869 main ()
10870 {
10871
10872   ;
10873   return 0;
10874 }
10875 _ACEOF
10876 if ac_fn_c_try_link "$LINENO"; then :
10877   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10878   lt_cv_shlibpath_overrides_runpath=yes
10879 fi
10880 fi
10881 rm -f core conftest.err conftest.$ac_objext \
10882     conftest$ac_exeext conftest.$ac_ext
10883     LDFLAGS=$save_LDFLAGS
10884     libdir=$save_libdir
10885
10886 fi
10887
10888   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10889
10890   # This implies no fast_install, which is unacceptable.
10891   # Some rework will be needed to allow for fast_install
10892   # before this can be enabled.
10893   hardcode_into_libs=yes
10894
10895   # Append ld.so.conf contents to the search path
10896   if test -f /etc/ld.so.conf; then
10897     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10898     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10899   fi
10900
10901   # We used to test for /lib/ld.so.1 and disable shared libraries on
10902   # powerpc, because MkLinux only supported shared libraries with the
10903   # GNU dynamic linker.  Since this was broken with cross compilers,
10904   # most powerpc-linux boxes support dynamic linking these days and
10905   # people can always --disable-shared, the test was removed, and we
10906   # assume the GNU/Linux dynamic linker is in use.
10907   dynamic_linker='GNU/Linux ld.so'
10908   ;;
10909
10910 netbsdelf*-gnu)
10911   version_type=linux
10912   need_lib_prefix=no
10913   need_version=no
10914   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10915   soname_spec='${libname}${release}${shared_ext}$major'
10916   shlibpath_var=LD_LIBRARY_PATH
10917   shlibpath_overrides_runpath=no
10918   hardcode_into_libs=yes
10919   dynamic_linker='NetBSD ld.elf_so'
10920   ;;
10921
10922 netbsd*)
10923   version_type=sunos
10924   need_lib_prefix=no
10925   need_version=no
10926   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10927     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10928     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10929     dynamic_linker='NetBSD (a.out) ld.so'
10930   else
10931     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10932     soname_spec='${libname}${release}${shared_ext}$major'
10933     dynamic_linker='NetBSD ld.elf_so'
10934   fi
10935   shlibpath_var=LD_LIBRARY_PATH
10936   shlibpath_overrides_runpath=yes
10937   hardcode_into_libs=yes
10938   ;;
10939
10940 newsos6)
10941   version_type=linux # correct to gnu/linux during the next big refactor
10942   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10943   shlibpath_var=LD_LIBRARY_PATH
10944   shlibpath_overrides_runpath=yes
10945   ;;
10946
10947 *nto* | *qnx*)
10948   version_type=qnx
10949   need_lib_prefix=no
10950   need_version=no
10951   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10952   soname_spec='${libname}${release}${shared_ext}$major'
10953   shlibpath_var=LD_LIBRARY_PATH
10954   shlibpath_overrides_runpath=no
10955   hardcode_into_libs=yes
10956   dynamic_linker='ldqnx.so'
10957   ;;
10958
10959 openbsd*)
10960   version_type=sunos
10961   sys_lib_dlsearch_path_spec="/usr/lib"
10962   need_lib_prefix=no
10963   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10964   case $host_os in
10965     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10966     *)                          need_version=no  ;;
10967   esac
10968   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10969   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10970   shlibpath_var=LD_LIBRARY_PATH
10971   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10972     case $host_os in
10973       openbsd2.[89] | openbsd2.[89].*)
10974         shlibpath_overrides_runpath=no
10975         ;;
10976       *)
10977         shlibpath_overrides_runpath=yes
10978         ;;
10979       esac
10980   else
10981     shlibpath_overrides_runpath=yes
10982   fi
10983   ;;
10984
10985 os2*)
10986   libname_spec='$name'
10987   shrext_cmds=".dll"
10988   need_lib_prefix=no
10989   library_names_spec='$libname${shared_ext} $libname.a'
10990   dynamic_linker='OS/2 ld.exe'
10991   shlibpath_var=LIBPATH
10992   ;;
10993
10994 osf3* | osf4* | osf5*)
10995   version_type=osf
10996   need_lib_prefix=no
10997   need_version=no
10998   soname_spec='${libname}${release}${shared_ext}$major'
10999   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11000   shlibpath_var=LD_LIBRARY_PATH
11001   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11002   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11003   ;;
11004
11005 rdos*)
11006   dynamic_linker=no
11007   ;;
11008
11009 solaris*)
11010   version_type=linux # correct to gnu/linux during the next big refactor
11011   need_lib_prefix=no
11012   need_version=no
11013   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11014   soname_spec='${libname}${release}${shared_ext}$major'
11015   shlibpath_var=LD_LIBRARY_PATH
11016   shlibpath_overrides_runpath=yes
11017   hardcode_into_libs=yes
11018   # ldd complains unless libraries are executable
11019   postinstall_cmds='chmod +x $lib'
11020   ;;
11021
11022 sunos4*)
11023   version_type=sunos
11024   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11025   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11026   shlibpath_var=LD_LIBRARY_PATH
11027   shlibpath_overrides_runpath=yes
11028   if test "$with_gnu_ld" = yes; then
11029     need_lib_prefix=no
11030   fi
11031   need_version=yes
11032   ;;
11033
11034 sysv4 | sysv4.3*)
11035   version_type=linux # correct to gnu/linux during the next big refactor
11036   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11037   soname_spec='${libname}${release}${shared_ext}$major'
11038   shlibpath_var=LD_LIBRARY_PATH
11039   case $host_vendor in
11040     sni)
11041       shlibpath_overrides_runpath=no
11042       need_lib_prefix=no
11043       runpath_var=LD_RUN_PATH
11044       ;;
11045     siemens)
11046       need_lib_prefix=no
11047       ;;
11048     motorola)
11049       need_lib_prefix=no
11050       need_version=no
11051       shlibpath_overrides_runpath=no
11052       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11053       ;;
11054   esac
11055   ;;
11056
11057 sysv4*MP*)
11058   if test -d /usr/nec ;then
11059     version_type=linux # correct to gnu/linux during the next big refactor
11060     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11061     soname_spec='$libname${shared_ext}.$major'
11062     shlibpath_var=LD_LIBRARY_PATH
11063   fi
11064   ;;
11065
11066 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11067   version_type=freebsd-elf
11068   need_lib_prefix=no
11069   need_version=no
11070   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11071   soname_spec='${libname}${release}${shared_ext}$major'
11072   shlibpath_var=LD_LIBRARY_PATH
11073   shlibpath_overrides_runpath=yes
11074   hardcode_into_libs=yes
11075   if test "$with_gnu_ld" = yes; then
11076     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11077   else
11078     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11079     case $host_os in
11080       sco3.2v5*)
11081         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11082         ;;
11083     esac
11084   fi
11085   sys_lib_dlsearch_path_spec='/usr/lib'
11086   ;;
11087
11088 tpf*)
11089   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11090   version_type=linux # correct to gnu/linux during the next big refactor
11091   need_lib_prefix=no
11092   need_version=no
11093   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11094   shlibpath_var=LD_LIBRARY_PATH
11095   shlibpath_overrides_runpath=no
11096   hardcode_into_libs=yes
11097   ;;
11098
11099 uts4*)
11100   version_type=linux # correct to gnu/linux during the next big refactor
11101   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11102   soname_spec='${libname}${release}${shared_ext}$major'
11103   shlibpath_var=LD_LIBRARY_PATH
11104   ;;
11105
11106 *)
11107   dynamic_linker=no
11108   ;;
11109 esac
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11111 $as_echo "$dynamic_linker" >&6; }
11112 test "$dynamic_linker" = no && can_build_shared=no
11113
11114 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11115 if test "$GCC" = yes; then
11116   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11117 fi
11118
11119 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11120   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11121 fi
11122 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11123   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11124 fi
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11218 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11219 hardcode_action=
11220 if test -n "$hardcode_libdir_flag_spec" ||
11221    test -n "$runpath_var" ||
11222    test "X$hardcode_automatic" = "Xyes" ; then
11223
11224   # We can hardcode non-existent directories.
11225   if test "$hardcode_direct" != no &&
11226      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11227      # have to relink, otherwise we might link with an installed library
11228      # when we should be linking with a yet-to-be-installed one
11229      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11230      test "$hardcode_minus_L" != no; then
11231     # Linking always hardcodes the temporary library directory.
11232     hardcode_action=relink
11233   else
11234     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11235     hardcode_action=immediate
11236   fi
11237 else
11238   # We cannot hardcode anything, or else we can only hardcode existing
11239   # directories.
11240   hardcode_action=unsupported
11241 fi
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11243 $as_echo "$hardcode_action" >&6; }
11244
11245 if test "$hardcode_action" = relink ||
11246    test "$inherit_rpath" = yes; then
11247   # Fast installation is not supported
11248   enable_fast_install=no
11249 elif test "$shlibpath_overrides_runpath" = yes ||
11250      test "$enable_shared" = no; then
11251   # Fast installation is not necessary
11252   enable_fast_install=needless
11253 fi
11254
11255
11256
11257
11258
11259
11260   if test "x$enable_dlopen" != xyes; then
11261   enable_dlopen=unknown
11262   enable_dlopen_self=unknown
11263   enable_dlopen_self_static=unknown
11264 else
11265   lt_cv_dlopen=no
11266   lt_cv_dlopen_libs=
11267
11268   case $host_os in
11269   beos*)
11270     lt_cv_dlopen="load_add_on"
11271     lt_cv_dlopen_libs=
11272     lt_cv_dlopen_self=yes
11273     ;;
11274
11275   mingw* | pw32* | cegcc*)
11276     lt_cv_dlopen="LoadLibrary"
11277     lt_cv_dlopen_libs=
11278     ;;
11279
11280   cygwin*)
11281     lt_cv_dlopen="dlopen"
11282     lt_cv_dlopen_libs=
11283     ;;
11284
11285   darwin*)
11286   # if libdl is installed we need to link against it
11287     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11288 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11289 if ${ac_cv_lib_dl_dlopen+:} false; then :
11290   $as_echo_n "(cached) " >&6
11291 else
11292   ac_check_lib_save_LIBS=$LIBS
11293 LIBS="-ldl  $LIBS"
11294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11295 /* end confdefs.h.  */
11296
11297 /* Override any GCC internal prototype to avoid an error.
11298    Use char because int might match the return type of a GCC
11299    builtin and then its argument prototype would still apply.  */
11300 #ifdef __cplusplus
11301 extern "C"
11302 #endif
11303 char dlopen ();
11304 int
11305 main ()
11306 {
11307 return dlopen ();
11308   ;
11309   return 0;
11310 }
11311 _ACEOF
11312 if ac_fn_c_try_link "$LINENO"; then :
11313   ac_cv_lib_dl_dlopen=yes
11314 else
11315   ac_cv_lib_dl_dlopen=no
11316 fi
11317 rm -f core conftest.err conftest.$ac_objext \
11318     conftest$ac_exeext conftest.$ac_ext
11319 LIBS=$ac_check_lib_save_LIBS
11320 fi
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11322 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11323 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11324   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11325 else
11326
11327     lt_cv_dlopen="dyld"
11328     lt_cv_dlopen_libs=
11329     lt_cv_dlopen_self=yes
11330
11331 fi
11332
11333     ;;
11334
11335   *)
11336     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11337 if test "x$ac_cv_func_shl_load" = xyes; then :
11338   lt_cv_dlopen="shl_load"
11339 else
11340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11341 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11342 if ${ac_cv_lib_dld_shl_load+:} false; then :
11343   $as_echo_n "(cached) " >&6
11344 else
11345   ac_check_lib_save_LIBS=$LIBS
11346 LIBS="-ldld  $LIBS"
11347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11348 /* end confdefs.h.  */
11349
11350 /* Override any GCC internal prototype to avoid an error.
11351    Use char because int might match the return type of a GCC
11352    builtin and then its argument prototype would still apply.  */
11353 #ifdef __cplusplus
11354 extern "C"
11355 #endif
11356 char shl_load ();
11357 int
11358 main ()
11359 {
11360 return shl_load ();
11361   ;
11362   return 0;
11363 }
11364 _ACEOF
11365 if ac_fn_c_try_link "$LINENO"; then :
11366   ac_cv_lib_dld_shl_load=yes
11367 else
11368   ac_cv_lib_dld_shl_load=no
11369 fi
11370 rm -f core conftest.err conftest.$ac_objext \
11371     conftest$ac_exeext conftest.$ac_ext
11372 LIBS=$ac_check_lib_save_LIBS
11373 fi
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11375 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11376 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11377   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11378 else
11379   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11380 if test "x$ac_cv_func_dlopen" = xyes; then :
11381   lt_cv_dlopen="dlopen"
11382 else
11383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11384 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11385 if ${ac_cv_lib_dl_dlopen+:} false; then :
11386   $as_echo_n "(cached) " >&6
11387 else
11388   ac_check_lib_save_LIBS=$LIBS
11389 LIBS="-ldl  $LIBS"
11390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11391 /* end confdefs.h.  */
11392
11393 /* Override any GCC internal prototype to avoid an error.
11394    Use char because int might match the return type of a GCC
11395    builtin and then its argument prototype would still apply.  */
11396 #ifdef __cplusplus
11397 extern "C"
11398 #endif
11399 char dlopen ();
11400 int
11401 main ()
11402 {
11403 return dlopen ();
11404   ;
11405   return 0;
11406 }
11407 _ACEOF
11408 if ac_fn_c_try_link "$LINENO"; then :
11409   ac_cv_lib_dl_dlopen=yes
11410 else
11411   ac_cv_lib_dl_dlopen=no
11412 fi
11413 rm -f core conftest.err conftest.$ac_objext \
11414     conftest$ac_exeext conftest.$ac_ext
11415 LIBS=$ac_check_lib_save_LIBS
11416 fi
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11418 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11419 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11420   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11421 else
11422   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11423 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11424 if ${ac_cv_lib_svld_dlopen+:} false; then :
11425   $as_echo_n "(cached) " >&6
11426 else
11427   ac_check_lib_save_LIBS=$LIBS
11428 LIBS="-lsvld  $LIBS"
11429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11430 /* end confdefs.h.  */
11431
11432 /* Override any GCC internal prototype to avoid an error.
11433    Use char because int might match the return type of a GCC
11434    builtin and then its argument prototype would still apply.  */
11435 #ifdef __cplusplus
11436 extern "C"
11437 #endif
11438 char dlopen ();
11439 int
11440 main ()
11441 {
11442 return dlopen ();
11443   ;
11444   return 0;
11445 }
11446 _ACEOF
11447 if ac_fn_c_try_link "$LINENO"; then :
11448   ac_cv_lib_svld_dlopen=yes
11449 else
11450   ac_cv_lib_svld_dlopen=no
11451 fi
11452 rm -f core conftest.err conftest.$ac_objext \
11453     conftest$ac_exeext conftest.$ac_ext
11454 LIBS=$ac_check_lib_save_LIBS
11455 fi
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11457 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11458 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11459   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11460 else
11461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11462 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11463 if ${ac_cv_lib_dld_dld_link+:} false; then :
11464   $as_echo_n "(cached) " >&6
11465 else
11466   ac_check_lib_save_LIBS=$LIBS
11467 LIBS="-ldld  $LIBS"
11468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11469 /* end confdefs.h.  */
11470
11471 /* Override any GCC internal prototype to avoid an error.
11472    Use char because int might match the return type of a GCC
11473    builtin and then its argument prototype would still apply.  */
11474 #ifdef __cplusplus
11475 extern "C"
11476 #endif
11477 char dld_link ();
11478 int
11479 main ()
11480 {
11481 return dld_link ();
11482   ;
11483   return 0;
11484 }
11485 _ACEOF
11486 if ac_fn_c_try_link "$LINENO"; then :
11487   ac_cv_lib_dld_dld_link=yes
11488 else
11489   ac_cv_lib_dld_dld_link=no
11490 fi
11491 rm -f core conftest.err conftest.$ac_objext \
11492     conftest$ac_exeext conftest.$ac_ext
11493 LIBS=$ac_check_lib_save_LIBS
11494 fi
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11496 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11497 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11498   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11499 fi
11500
11501
11502 fi
11503
11504
11505 fi
11506
11507
11508 fi
11509
11510
11511 fi
11512
11513
11514 fi
11515
11516     ;;
11517   esac
11518
11519   if test "x$lt_cv_dlopen" != xno; then
11520     enable_dlopen=yes
11521   else
11522     enable_dlopen=no
11523   fi
11524
11525   case $lt_cv_dlopen in
11526   dlopen)
11527     save_CPPFLAGS="$CPPFLAGS"
11528     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11529
11530     save_LDFLAGS="$LDFLAGS"
11531     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11532
11533     save_LIBS="$LIBS"
11534     LIBS="$lt_cv_dlopen_libs $LIBS"
11535
11536     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11537 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11538 if ${lt_cv_dlopen_self+:} false; then :
11539   $as_echo_n "(cached) " >&6
11540 else
11541           if test "$cross_compiling" = yes; then :
11542   lt_cv_dlopen_self=cross
11543 else
11544   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11545   lt_status=$lt_dlunknown
11546   cat > conftest.$ac_ext <<_LT_EOF
11547 #line $LINENO "configure"
11548 #include "confdefs.h"
11549
11550 #if HAVE_DLFCN_H
11551 #include <dlfcn.h>
11552 #endif
11553
11554 #include <stdio.h>
11555
11556 #ifdef RTLD_GLOBAL
11557 #  define LT_DLGLOBAL           RTLD_GLOBAL
11558 #else
11559 #  ifdef DL_GLOBAL
11560 #    define LT_DLGLOBAL         DL_GLOBAL
11561 #  else
11562 #    define LT_DLGLOBAL         0
11563 #  endif
11564 #endif
11565
11566 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11567    find out it does not work in some platform. */
11568 #ifndef LT_DLLAZY_OR_NOW
11569 #  ifdef RTLD_LAZY
11570 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11571 #  else
11572 #    ifdef DL_LAZY
11573 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11574 #    else
11575 #      ifdef RTLD_NOW
11576 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11577 #      else
11578 #        ifdef DL_NOW
11579 #          define LT_DLLAZY_OR_NOW      DL_NOW
11580 #        else
11581 #          define LT_DLLAZY_OR_NOW      0
11582 #        endif
11583 #      endif
11584 #    endif
11585 #  endif
11586 #endif
11587
11588 /* When -fvisbility=hidden is used, assume the code has been annotated
11589    correspondingly for the symbols needed.  */
11590 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11591 int fnord () __attribute__((visibility("default")));
11592 #endif
11593
11594 int fnord () { return 42; }
11595 int main ()
11596 {
11597   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11598   int status = $lt_dlunknown;
11599
11600   if (self)
11601     {
11602       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11603       else
11604         {
11605           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11606           else puts (dlerror ());
11607         }
11608       /* dlclose (self); */
11609     }
11610   else
11611     puts (dlerror ());
11612
11613   return status;
11614 }
11615 _LT_EOF
11616   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11617   (eval $ac_link) 2>&5
11618   ac_status=$?
11619   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11620   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11621     (./conftest; exit; ) >&5 2>/dev/null
11622     lt_status=$?
11623     case x$lt_status in
11624       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11625       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11626       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11627     esac
11628   else :
11629     # compilation failed
11630     lt_cv_dlopen_self=no
11631   fi
11632 fi
11633 rm -fr conftest*
11634
11635
11636 fi
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11638 $as_echo "$lt_cv_dlopen_self" >&6; }
11639
11640     if test "x$lt_cv_dlopen_self" = xyes; then
11641       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11642       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11643 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11644 if ${lt_cv_dlopen_self_static+:} false; then :
11645   $as_echo_n "(cached) " >&6
11646 else
11647           if test "$cross_compiling" = yes; then :
11648   lt_cv_dlopen_self_static=cross
11649 else
11650   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11651   lt_status=$lt_dlunknown
11652   cat > conftest.$ac_ext <<_LT_EOF
11653 #line $LINENO "configure"
11654 #include "confdefs.h"
11655
11656 #if HAVE_DLFCN_H
11657 #include <dlfcn.h>
11658 #endif
11659
11660 #include <stdio.h>
11661
11662 #ifdef RTLD_GLOBAL
11663 #  define LT_DLGLOBAL           RTLD_GLOBAL
11664 #else
11665 #  ifdef DL_GLOBAL
11666 #    define LT_DLGLOBAL         DL_GLOBAL
11667 #  else
11668 #    define LT_DLGLOBAL         0
11669 #  endif
11670 #endif
11671
11672 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11673    find out it does not work in some platform. */
11674 #ifndef LT_DLLAZY_OR_NOW
11675 #  ifdef RTLD_LAZY
11676 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11677 #  else
11678 #    ifdef DL_LAZY
11679 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11680 #    else
11681 #      ifdef RTLD_NOW
11682 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11683 #      else
11684 #        ifdef DL_NOW
11685 #          define LT_DLLAZY_OR_NOW      DL_NOW
11686 #        else
11687 #          define LT_DLLAZY_OR_NOW      0
11688 #        endif
11689 #      endif
11690 #    endif
11691 #  endif
11692 #endif
11693
11694 /* When -fvisbility=hidden is used, assume the code has been annotated
11695    correspondingly for the symbols needed.  */
11696 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11697 int fnord () __attribute__((visibility("default")));
11698 #endif
11699
11700 int fnord () { return 42; }
11701 int main ()
11702 {
11703   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11704   int status = $lt_dlunknown;
11705
11706   if (self)
11707     {
11708       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11709       else
11710         {
11711           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11712           else puts (dlerror ());
11713         }
11714       /* dlclose (self); */
11715     }
11716   else
11717     puts (dlerror ());
11718
11719   return status;
11720 }
11721 _LT_EOF
11722   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11723   (eval $ac_link) 2>&5
11724   ac_status=$?
11725   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11726   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11727     (./conftest; exit; ) >&5 2>/dev/null
11728     lt_status=$?
11729     case x$lt_status in
11730       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11731       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11732       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11733     esac
11734   else :
11735     # compilation failed
11736     lt_cv_dlopen_self_static=no
11737   fi
11738 fi
11739 rm -fr conftest*
11740
11741
11742 fi
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11744 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11745     fi
11746
11747     CPPFLAGS="$save_CPPFLAGS"
11748     LDFLAGS="$save_LDFLAGS"
11749     LIBS="$save_LIBS"
11750     ;;
11751   esac
11752
11753   case $lt_cv_dlopen_self in
11754   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11755   *) enable_dlopen_self=unknown ;;
11756   esac
11757
11758   case $lt_cv_dlopen_self_static in
11759   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11760   *) enable_dlopen_self_static=unknown ;;
11761   esac
11762 fi
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780 striplib=
11781 old_striplib=
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11783 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11784 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11785   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11786   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11788 $as_echo "yes" >&6; }
11789 else
11790 # FIXME - insert some real tests, host_os isn't really good enough
11791   case $host_os in
11792   darwin*)
11793     if test -n "$STRIP" ; then
11794       striplib="$STRIP -x"
11795       old_striplib="$STRIP -S"
11796       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11797 $as_echo "yes" >&6; }
11798     else
11799       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11800 $as_echo "no" >&6; }
11801     fi
11802     ;;
11803   *)
11804     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11805 $as_echo "no" >&6; }
11806     ;;
11807   esac
11808 fi
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821   # Report which library types will actually be built
11822   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11823 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11825 $as_echo "$can_build_shared" >&6; }
11826
11827   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11828 $as_echo_n "checking whether to build shared libraries... " >&6; }
11829   test "$can_build_shared" = "no" && enable_shared=no
11830
11831   # On AIX, shared libraries and static libraries use the same namespace, and
11832   # are all built from PIC.
11833   case $host_os in
11834   aix3*)
11835     test "$enable_shared" = yes && enable_static=no
11836     if test -n "$RANLIB"; then
11837       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11838       postinstall_cmds='$RANLIB $lib'
11839     fi
11840     ;;
11841
11842   aix[4-9]*)
11843     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11844       test "$enable_shared" = yes && enable_static=no
11845     fi
11846     ;;
11847   esac
11848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11849 $as_echo "$enable_shared" >&6; }
11850
11851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11852 $as_echo_n "checking whether to build static libraries... " >&6; }
11853   # Make sure either enable_shared or enable_static is yes.
11854   test "$enable_shared" = yes || enable_static=yes
11855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11856 $as_echo "$enable_static" >&6; }
11857
11858
11859
11860
11861 fi
11862 ac_ext=c
11863 ac_cpp='$CPP $CPPFLAGS'
11864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11867
11868 CC="$lt_save_CC"
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884         ac_config_commands="$ac_config_commands libtool"
11885
11886
11887
11888
11889 # Only expand once:
11890
11891
11892
11893 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11894 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11895
11896
11897
11898 cat >>confdefs.h <<_ACEOF
11899 #define VMAJ 1
11900 _ACEOF
11901
11902
11903 cat >>confdefs.h <<_ACEOF
11904 #define VMIN 7
11905 _ACEOF
11906
11907
11908 cat >>confdefs.h <<_ACEOF
11909 #define VMIC 3
11910 _ACEOF
11911
11912
11913 cat >>confdefs.h <<_ACEOF
11914 #define VREV 0
11915 _ACEOF
11916
11917 version_info="8:3:7"
11918 release_info="-release ver-pre-svn-07"
11919
11920
11921 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11922 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11923 VMAJ=1
11924
11925
11926 want_generic="yes"
11927 case "$host_os" in
11928    mingw*)
11929       want_xine="no"
11930       want_gstreamer="yes"
11931       want_generic="no"
11932       want_generic_vlc="no"
11933       ;;
11934    *)
11935       want_xine="yes"
11936       want_gstreamer="yes"
11937       want_generic_vlc="yes"
11938       ;;
11939 esac
11940
11941 requirement_emotion=""
11942
11943 ### Additional options to configure
11944
11945
11946
11947
11948 have_emotion_test="yes"
11949
11950
11951 # Check whether --enable-emotion-test was given.
11952 if test "${enable_emotion_test+set}" = set; then :
11953   enableval=$enable_emotion_test;
11954     if test "x${enableval}" = "xyes" ; then
11955        have_emotion_test="yes"
11956     else
11957        have_emotion_test="no"
11958     fi
11959
11960 fi
11961
11962
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build emotion_test binary" >&5
11964 $as_echo_n "checking whether to build emotion_test binary... " >&6; }
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_emotion_test" >&5
11966 $as_echo "$have_emotion_test" >&6; }
11967
11968 if test "x$have_emotion_test" = "xyes"; then
11969    EMOTION_TEST_PRG=emotion_test${EXEEXT}
11970 fi
11971
11972
11973
11974  if test "x$have_emotion_test" = "xyes"; then
11975   BUILD_EMOTION_TEST_TRUE=
11976   BUILD_EMOTION_TEST_FALSE='#'
11977 else
11978   BUILD_EMOTION_TEST_TRUE='#'
11979   BUILD_EMOTION_TEST_FALSE=
11980 fi
11981
11982
11983 if test "x$have_emotion_test" = "xyes"; then :
11984
11985 fi
11986
11987
11988
11989 # edje_cc
11990
11991
11992 # Check whether --with-edje-cc was given.
11993 if test "${with_edje_cc+set}" = set; then :
11994   withval=$with_edje_cc;
11995     v=$withval;
11996     edje_cc=$v
11997     echo "  Enlightenment edje_cc explicitly set to "$edje_cc;
11998
11999 else
12000   edje_cc=$(pkg-config --variable=prefix edje)/bin/edje_cc
12001 fi
12002
12003
12004
12005
12006 ### Checks for programs
12007 ac_ext=c
12008 ac_cpp='$CPP $CPPFLAGS'
12009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12012 if test -n "$ac_tool_prefix"; then
12013   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12014 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12016 $as_echo_n "checking for $ac_word... " >&6; }
12017 if ${ac_cv_prog_CC+:} false; then :
12018   $as_echo_n "(cached) " >&6
12019 else
12020   if test -n "$CC"; then
12021   ac_cv_prog_CC="$CC" # Let the user override the test.
12022 else
12023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12024 for as_dir in $PATH
12025 do
12026   IFS=$as_save_IFS
12027   test -z "$as_dir" && as_dir=.
12028     for ac_exec_ext in '' $ac_executable_extensions; do
12029   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12030     ac_cv_prog_CC="${ac_tool_prefix}gcc"
12031     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12032     break 2
12033   fi
12034 done
12035   done
12036 IFS=$as_save_IFS
12037
12038 fi
12039 fi
12040 CC=$ac_cv_prog_CC
12041 if test -n "$CC"; then
12042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12043 $as_echo "$CC" >&6; }
12044 else
12045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12046 $as_echo "no" >&6; }
12047 fi
12048
12049
12050 fi
12051 if test -z "$ac_cv_prog_CC"; then
12052   ac_ct_CC=$CC
12053   # Extract the first word of "gcc", so it can be a program name with args.
12054 set dummy gcc; ac_word=$2
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12056 $as_echo_n "checking for $ac_word... " >&6; }
12057 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12058   $as_echo_n "(cached) " >&6
12059 else
12060   if test -n "$ac_ct_CC"; then
12061   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12062 else
12063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12064 for as_dir in $PATH
12065 do
12066   IFS=$as_save_IFS
12067   test -z "$as_dir" && as_dir=.
12068     for ac_exec_ext in '' $ac_executable_extensions; do
12069   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12070     ac_cv_prog_ac_ct_CC="gcc"
12071     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12072     break 2
12073   fi
12074 done
12075   done
12076 IFS=$as_save_IFS
12077
12078 fi
12079 fi
12080 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12081 if test -n "$ac_ct_CC"; then
12082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12083 $as_echo "$ac_ct_CC" >&6; }
12084 else
12085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12086 $as_echo "no" >&6; }
12087 fi
12088
12089   if test "x$ac_ct_CC" = x; then
12090     CC=""
12091   else
12092     case $cross_compiling:$ac_tool_warned in
12093 yes:)
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12096 ac_tool_warned=yes ;;
12097 esac
12098     CC=$ac_ct_CC
12099   fi
12100 else
12101   CC="$ac_cv_prog_CC"
12102 fi
12103
12104 if test -z "$CC"; then
12105           if test -n "$ac_tool_prefix"; then
12106     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12107 set dummy ${ac_tool_prefix}cc; ac_word=$2
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12109 $as_echo_n "checking for $ac_word... " >&6; }
12110 if ${ac_cv_prog_CC+:} false; then :
12111   $as_echo_n "(cached) " >&6
12112 else
12113   if test -n "$CC"; then
12114   ac_cv_prog_CC="$CC" # Let the user override the test.
12115 else
12116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12117 for as_dir in $PATH
12118 do
12119   IFS=$as_save_IFS
12120   test -z "$as_dir" && as_dir=.
12121     for ac_exec_ext in '' $ac_executable_extensions; do
12122   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12123     ac_cv_prog_CC="${ac_tool_prefix}cc"
12124     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12125     break 2
12126   fi
12127 done
12128   done
12129 IFS=$as_save_IFS
12130
12131 fi
12132 fi
12133 CC=$ac_cv_prog_CC
12134 if test -n "$CC"; then
12135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12136 $as_echo "$CC" >&6; }
12137 else
12138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12139 $as_echo "no" >&6; }
12140 fi
12141
12142
12143   fi
12144 fi
12145 if test -z "$CC"; then
12146   # Extract the first word of "cc", so it can be a program name with args.
12147 set dummy cc; ac_word=$2
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12149 $as_echo_n "checking for $ac_word... " >&6; }
12150 if ${ac_cv_prog_CC+:} false; then :
12151   $as_echo_n "(cached) " >&6
12152 else
12153   if test -n "$CC"; then
12154   ac_cv_prog_CC="$CC" # Let the user override the test.
12155 else
12156   ac_prog_rejected=no
12157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12158 for as_dir in $PATH
12159 do
12160   IFS=$as_save_IFS
12161   test -z "$as_dir" && as_dir=.
12162     for ac_exec_ext in '' $ac_executable_extensions; do
12163   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12164     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12165        ac_prog_rejected=yes
12166        continue
12167      fi
12168     ac_cv_prog_CC="cc"
12169     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12170     break 2
12171   fi
12172 done
12173   done
12174 IFS=$as_save_IFS
12175
12176 if test $ac_prog_rejected = yes; then
12177   # We found a bogon in the path, so make sure we never use it.
12178   set dummy $ac_cv_prog_CC
12179   shift
12180   if test $# != 0; then
12181     # We chose a different compiler from the bogus one.
12182     # However, it has the same basename, so the bogon will be chosen
12183     # first if we set CC to just the basename; use the full file name.
12184     shift
12185     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12186   fi
12187 fi
12188 fi
12189 fi
12190 CC=$ac_cv_prog_CC
12191 if test -n "$CC"; then
12192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12193 $as_echo "$CC" >&6; }
12194 else
12195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12196 $as_echo "no" >&6; }
12197 fi
12198
12199
12200 fi
12201 if test -z "$CC"; then
12202   if test -n "$ac_tool_prefix"; then
12203   for ac_prog in cl.exe
12204   do
12205     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12206 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12208 $as_echo_n "checking for $ac_word... " >&6; }
12209 if ${ac_cv_prog_CC+:} false; then :
12210   $as_echo_n "(cached) " >&6
12211 else
12212   if test -n "$CC"; then
12213   ac_cv_prog_CC="$CC" # Let the user override the test.
12214 else
12215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12216 for as_dir in $PATH
12217 do
12218   IFS=$as_save_IFS
12219   test -z "$as_dir" && as_dir=.
12220     for ac_exec_ext in '' $ac_executable_extensions; do
12221   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12222     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12223     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12224     break 2
12225   fi
12226 done
12227   done
12228 IFS=$as_save_IFS
12229
12230 fi
12231 fi
12232 CC=$ac_cv_prog_CC
12233 if test -n "$CC"; then
12234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12235 $as_echo "$CC" >&6; }
12236 else
12237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12238 $as_echo "no" >&6; }
12239 fi
12240
12241
12242     test -n "$CC" && break
12243   done
12244 fi
12245 if test -z "$CC"; then
12246   ac_ct_CC=$CC
12247   for ac_prog in cl.exe
12248 do
12249   # Extract the first word of "$ac_prog", so it can be a program name with args.
12250 set dummy $ac_prog; ac_word=$2
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12252 $as_echo_n "checking for $ac_word... " >&6; }
12253 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12254   $as_echo_n "(cached) " >&6
12255 else
12256   if test -n "$ac_ct_CC"; then
12257   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12258 else
12259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12260 for as_dir in $PATH
12261 do
12262   IFS=$as_save_IFS
12263   test -z "$as_dir" && as_dir=.
12264     for ac_exec_ext in '' $ac_executable_extensions; do
12265   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12266     ac_cv_prog_ac_ct_CC="$ac_prog"
12267     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12268     break 2
12269   fi
12270 done
12271   done
12272 IFS=$as_save_IFS
12273
12274 fi
12275 fi
12276 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12277 if test -n "$ac_ct_CC"; then
12278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12279 $as_echo "$ac_ct_CC" >&6; }
12280 else
12281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12282 $as_echo "no" >&6; }
12283 fi
12284
12285
12286   test -n "$ac_ct_CC" && break
12287 done
12288
12289   if test "x$ac_ct_CC" = x; then
12290     CC=""
12291   else
12292     case $cross_compiling:$ac_tool_warned in
12293 yes:)
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12296 ac_tool_warned=yes ;;
12297 esac
12298     CC=$ac_ct_CC
12299   fi
12300 fi
12301
12302 fi
12303
12304
12305 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12307 as_fn_error $? "no acceptable C compiler found in \$PATH
12308 See \`config.log' for more details" "$LINENO" 5; }
12309
12310 # Provide some information about the compiler.
12311 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12312 set X $ac_compile
12313 ac_compiler=$2
12314 for ac_option in --version -v -V -qversion; do
12315   { { ac_try="$ac_compiler $ac_option >&5"
12316 case "(($ac_try" in
12317   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12318   *) ac_try_echo=$ac_try;;
12319 esac
12320 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12321 $as_echo "$ac_try_echo"; } >&5
12322   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12323   ac_status=$?
12324   if test -s conftest.err; then
12325     sed '10a\
12326 ... rest of stderr output deleted ...
12327          10q' conftest.err >conftest.er1
12328     cat conftest.er1 >&5
12329   fi
12330   rm -f conftest.er1 conftest.err
12331   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12332   test $ac_status = 0; }
12333 done
12334
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12336 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12337 if ${ac_cv_c_compiler_gnu+:} false; then :
12338   $as_echo_n "(cached) " >&6
12339 else
12340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12341 /* end confdefs.h.  */
12342
12343 int
12344 main ()
12345 {
12346 #ifndef __GNUC__
12347        choke me
12348 #endif
12349
12350   ;
12351   return 0;
12352 }
12353 _ACEOF
12354 if ac_fn_c_try_compile "$LINENO"; then :
12355   ac_compiler_gnu=yes
12356 else
12357   ac_compiler_gnu=no
12358 fi
12359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12360 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12361
12362 fi
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12364 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12365 if test $ac_compiler_gnu = yes; then
12366   GCC=yes
12367 else
12368   GCC=
12369 fi
12370 ac_test_CFLAGS=${CFLAGS+set}
12371 ac_save_CFLAGS=$CFLAGS
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12373 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12374 if ${ac_cv_prog_cc_g+:} false; then :
12375   $as_echo_n "(cached) " >&6
12376 else
12377   ac_save_c_werror_flag=$ac_c_werror_flag
12378    ac_c_werror_flag=yes
12379    ac_cv_prog_cc_g=no
12380    CFLAGS="-g"
12381    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12382 /* end confdefs.h.  */
12383
12384 int
12385 main ()
12386 {
12387
12388   ;
12389   return 0;
12390 }
12391 _ACEOF
12392 if ac_fn_c_try_compile "$LINENO"; then :
12393   ac_cv_prog_cc_g=yes
12394 else
12395   CFLAGS=""
12396       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12397 /* end confdefs.h.  */
12398
12399 int
12400 main ()
12401 {
12402
12403   ;
12404   return 0;
12405 }
12406 _ACEOF
12407 if ac_fn_c_try_compile "$LINENO"; then :
12408
12409 else
12410   ac_c_werror_flag=$ac_save_c_werror_flag
12411          CFLAGS="-g"
12412          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12413 /* end confdefs.h.  */
12414
12415 int
12416 main ()
12417 {
12418
12419   ;
12420   return 0;
12421 }
12422 _ACEOF
12423 if ac_fn_c_try_compile "$LINENO"; then :
12424   ac_cv_prog_cc_g=yes
12425 fi
12426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12427 fi
12428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12429 fi
12430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12431    ac_c_werror_flag=$ac_save_c_werror_flag
12432 fi
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12434 $as_echo "$ac_cv_prog_cc_g" >&6; }
12435 if test "$ac_test_CFLAGS" = set; then
12436   CFLAGS=$ac_save_CFLAGS
12437 elif test $ac_cv_prog_cc_g = yes; then
12438   if test "$GCC" = yes; then
12439     CFLAGS="-g -O2"
12440   else
12441     CFLAGS="-g"
12442   fi
12443 else
12444   if test "$GCC" = yes; then
12445     CFLAGS="-O2"
12446   else
12447     CFLAGS=
12448   fi
12449 fi
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12451 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12452 if ${ac_cv_prog_cc_c89+:} false; then :
12453   $as_echo_n "(cached) " >&6
12454 else
12455   ac_cv_prog_cc_c89=no
12456 ac_save_CC=$CC
12457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12458 /* end confdefs.h.  */
12459 #include <stdarg.h>
12460 #include <stdio.h>
12461 #include <sys/types.h>
12462 #include <sys/stat.h>
12463 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12464 struct buf { int x; };
12465 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12466 static char *e (p, i)
12467      char **p;
12468      int i;
12469 {
12470   return p[i];
12471 }
12472 static char *f (char * (*g) (char **, int), char **p, ...)
12473 {
12474   char *s;
12475   va_list v;
12476   va_start (v,p);
12477   s = g (p, va_arg (v,int));
12478   va_end (v);
12479   return s;
12480 }
12481
12482 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12483    function prototypes and stuff, but not '\xHH' hex character constants.
12484    These don't provoke an error unfortunately, instead are silently treated
12485    as 'x'.  The following induces an error, until -std is added to get
12486    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12487    array size at least.  It's necessary to write '\x00'==0 to get something
12488    that's true only with -std.  */
12489 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12490
12491 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12492    inside strings and character constants.  */
12493 #define FOO(x) 'x'
12494 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12495
12496 int test (int i, double x);
12497 struct s1 {int (*f) (int a);};
12498 struct s2 {int (*f) (double a);};
12499 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12500 int argc;
12501 char **argv;
12502 int
12503 main ()
12504 {
12505 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12506   ;
12507   return 0;
12508 }
12509 _ACEOF
12510 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12511         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12512 do
12513   CC="$ac_save_CC $ac_arg"
12514   if ac_fn_c_try_compile "$LINENO"; then :
12515   ac_cv_prog_cc_c89=$ac_arg
12516 fi
12517 rm -f core conftest.err conftest.$ac_objext
12518   test "x$ac_cv_prog_cc_c89" != "xno" && break
12519 done
12520 rm -f conftest.$ac_ext
12521 CC=$ac_save_CC
12522
12523 fi
12524 # AC_CACHE_VAL
12525 case "x$ac_cv_prog_cc_c89" in
12526   x)
12527     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12528 $as_echo "none needed" >&6; } ;;
12529   xno)
12530     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12531 $as_echo "unsupported" >&6; } ;;
12532   *)
12533     CC="$CC $ac_cv_prog_cc_c89"
12534     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12535 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12536 esac
12537 if test "x$ac_cv_prog_cc_c89" != xno; then :
12538
12539 fi
12540
12541 ac_ext=c
12542 ac_cpp='$CPP $CPPFLAGS'
12543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12546
12547
12548 # pkg-config
12549
12550
12551
12552
12553
12554
12555
12556 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12557         if test -n "$ac_tool_prefix"; then
12558   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12559 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12561 $as_echo_n "checking for $ac_word... " >&6; }
12562 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12563   $as_echo_n "(cached) " >&6
12564 else
12565   case $PKG_CONFIG in
12566   [\\/]* | ?:[\\/]*)
12567   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12568   ;;
12569   *)
12570   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12571 for as_dir in $PATH
12572 do
12573   IFS=$as_save_IFS
12574   test -z "$as_dir" && as_dir=.
12575     for ac_exec_ext in '' $ac_executable_extensions; do
12576   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12577     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12578     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12579     break 2
12580   fi
12581 done
12582   done
12583 IFS=$as_save_IFS
12584
12585   ;;
12586 esac
12587 fi
12588 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12589 if test -n "$PKG_CONFIG"; then
12590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12591 $as_echo "$PKG_CONFIG" >&6; }
12592 else
12593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12594 $as_echo "no" >&6; }
12595 fi
12596
12597
12598 fi
12599 if test -z "$ac_cv_path_PKG_CONFIG"; then
12600   ac_pt_PKG_CONFIG=$PKG_CONFIG
12601   # Extract the first word of "pkg-config", so it can be a program name with args.
12602 set dummy pkg-config; ac_word=$2
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12604 $as_echo_n "checking for $ac_word... " >&6; }
12605 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12606   $as_echo_n "(cached) " >&6
12607 else
12608   case $ac_pt_PKG_CONFIG in
12609   [\\/]* | ?:[\\/]*)
12610   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12611   ;;
12612   *)
12613   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12614 for as_dir in $PATH
12615 do
12616   IFS=$as_save_IFS
12617   test -z "$as_dir" && as_dir=.
12618     for ac_exec_ext in '' $ac_executable_extensions; do
12619   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12620     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12621     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12622     break 2
12623   fi
12624 done
12625   done
12626 IFS=$as_save_IFS
12627
12628   ;;
12629 esac
12630 fi
12631 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12632 if test -n "$ac_pt_PKG_CONFIG"; then
12633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12634 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12635 else
12636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12637 $as_echo "no" >&6; }
12638 fi
12639
12640   if test "x$ac_pt_PKG_CONFIG" = x; then
12641     PKG_CONFIG=""
12642   else
12643     case $cross_compiling:$ac_tool_warned in
12644 yes:)
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12646 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12647 ac_tool_warned=yes ;;
12648 esac
12649     PKG_CONFIG=$ac_pt_PKG_CONFIG
12650   fi
12651 else
12652   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12653 fi
12654
12655 fi
12656 if test -n "$PKG_CONFIG"; then
12657         _pkg_min_version=0.9.0
12658         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12659 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12660         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12661                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12662 $as_echo "yes" >&6; }
12663         else
12664                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12665 $as_echo "no" >&6; }
12666                 PKG_CONFIG=""
12667         fi
12668 fi
12669
12670 # Check whether pkg-config supports Requires.private
12671 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
12672    pkgconfig_requires_private="Requires.private"
12673 else
12674    pkgconfig_requires_private="Requires"
12675 fi
12676
12677
12678 # doxygen program for documentation building
12679
12680
12681
12682 # Check whether --enable-doc was given.
12683 if test "${enable_doc+set}" = set; then :
12684   enableval=$enable_doc;
12685     if test "x${enableval}" = "xyes" ; then
12686        efl_enable_doc="yes"
12687     else
12688        efl_enable_doc="no"
12689     fi
12690
12691 else
12692   efl_enable_doc="yes"
12693 fi
12694
12695
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
12697 $as_echo_n "checking whether to build documentation... " >&6; }
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
12699 $as_echo "${efl_enable_doc}" >&6; }
12700
12701 if test "x${efl_enable_doc}" = "xyes" ; then
12702
12703
12704    efl_doxygen="doxygen"
12705
12706
12707 # Check whether --with-doxygen was given.
12708 if test "${with_doxygen+set}" = set; then :
12709   withval=$with_doxygen;
12710       efl_doxygen=${withval}
12711        # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12712 set dummy ${efl_doxygen}; ac_word=$2
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12714 $as_echo_n "checking for $ac_word... " >&6; }
12715 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12716   $as_echo_n "(cached) " >&6
12717 else
12718   if test -n "$efl_have_doxygen"; then
12719   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12720 else
12721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12722 for as_dir in $PATH
12723 do
12724   IFS=$as_save_IFS
12725   test -z "$as_dir" && as_dir=.
12726     for ac_exec_ext in '' $ac_executable_extensions; do
12727   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12728     ac_cv_prog_efl_have_doxygen="yes"
12729     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12730     break 2
12731   fi
12732 done
12733   done
12734 IFS=$as_save_IFS
12735
12736   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12737 fi
12738 fi
12739 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12740 if test -n "$efl_have_doxygen"; then
12741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12742 $as_echo "$efl_have_doxygen" >&6; }
12743 else
12744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12745 $as_echo "no" >&6; }
12746 fi
12747
12748
12749        if test "x${efl_have_doxygen}" = "xno" ; then
12750           echo "WARNING:"
12751           echo "The doxygen program you specified:"
12752           echo "${efl_doxygen}"
12753           echo "was not found.  Please check the path and make sure "
12754           echo "the program exists and is executable."
12755           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12756 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12757        fi
12758
12759 else
12760   # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12761 set dummy ${efl_doxygen}; ac_word=$2
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12763 $as_echo_n "checking for $ac_word... " >&6; }
12764 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12765   $as_echo_n "(cached) " >&6
12766 else
12767   if test -n "$efl_have_doxygen"; then
12768   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12769 else
12770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12771 for as_dir in $PATH
12772 do
12773   IFS=$as_save_IFS
12774   test -z "$as_dir" && as_dir=.
12775     for ac_exec_ext in '' $ac_executable_extensions; do
12776   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12777     ac_cv_prog_efl_have_doxygen="yes"
12778     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12779     break 2
12780   fi
12781 done
12782   done
12783 IFS=$as_save_IFS
12784
12785   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12786 fi
12787 fi
12788 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12789 if test -n "$efl_have_doxygen"; then
12790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12791 $as_echo "$efl_have_doxygen" >&6; }
12792 else
12793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12794 $as_echo "no" >&6; }
12795 fi
12796
12797
12798        if test "x${efl_have_doxygen}" = "xno" ; then
12799           echo "WARNING:"
12800           echo "The doxygen program was not found in your execute path."
12801           echo "You may have doxygen installed somewhere not covered by your path."
12802           echo ""
12803           echo "If this is the case make sure you have the packages installed, AND"
12804           echo "that the doxygen program is in your execute path (see your"
12805           echo "shell manual page on setting the \$PATH environment variable), OR"
12806           echo "alternatively, specify the program to use with --with-doxygen."
12807           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12808 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12809        fi
12810
12811 fi
12812
12813 else
12814    efl_have_doxygen="no"
12815 fi
12816
12817
12818
12819 if ! test "x${efl_have_doxygen}" = "xyes" ; then
12820    efl_enable_doc="no"
12821 fi
12822
12823  if test "x${efl_have_doxygen}" = "xyes"; then
12824   EFL_BUILD_DOC_TRUE=
12825   EFL_BUILD_DOC_FALSE='#'
12826 else
12827   EFL_BUILD_DOC_TRUE='#'
12828   EFL_BUILD_DOC_FALSE=
12829 fi
12830
12831
12832 if test "x$efl_have_doxygen" = "xyes"; then :
12833   build_doc="yes"
12834 else
12835   build_doc="no"
12836 fi
12837
12838
12839
12840 ### Checks for libraries
12841
12842 requirement_emotion="ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99"
12843
12844 pkg_failed=no
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMOTION" >&5
12846 $as_echo_n "checking for EMOTION... " >&6; }
12847
12848 if test -n "$EMOTION_CFLAGS"; then
12849     pkg_cv_EMOTION_CFLAGS="$EMOTION_CFLAGS"
12850  elif test -n "$PKG_CONFIG"; then
12851     if test -n "$PKG_CONFIG" && \
12852     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_emotion}\""; } >&5
12853   ($PKG_CONFIG --exists --print-errors "${requirement_emotion}") 2>&5
12854   ac_status=$?
12855   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12856   test $ac_status = 0; }; then
12857   pkg_cv_EMOTION_CFLAGS=`$PKG_CONFIG --cflags "${requirement_emotion}" 2>/dev/null`
12858                       test "x$?" != "x0" && pkg_failed=yes
12859 else
12860   pkg_failed=yes
12861 fi
12862  else
12863     pkg_failed=untried
12864 fi
12865 if test -n "$EMOTION_LIBS"; then
12866     pkg_cv_EMOTION_LIBS="$EMOTION_LIBS"
12867  elif test -n "$PKG_CONFIG"; then
12868     if test -n "$PKG_CONFIG" && \
12869     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_emotion}\""; } >&5
12870   ($PKG_CONFIG --exists --print-errors "${requirement_emotion}") 2>&5
12871   ac_status=$?
12872   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12873   test $ac_status = 0; }; then
12874   pkg_cv_EMOTION_LIBS=`$PKG_CONFIG --libs "${requirement_emotion}" 2>/dev/null`
12875                       test "x$?" != "x0" && pkg_failed=yes
12876 else
12877   pkg_failed=yes
12878 fi
12879  else
12880     pkg_failed=untried
12881 fi
12882
12883
12884
12885 if test $pkg_failed = yes; then
12886         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12887 $as_echo "no" >&6; }
12888
12889 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12890         _pkg_short_errors_supported=yes
12891 else
12892         _pkg_short_errors_supported=no
12893 fi
12894         if test $_pkg_short_errors_supported = yes; then
12895                 EMOTION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "${requirement_emotion}" 2>&1`
12896         else
12897                 EMOTION_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "${requirement_emotion}" 2>&1`
12898         fi
12899         # Put the nasty error message in config.log where it belongs
12900         echo "$EMOTION_PKG_ERRORS" >&5
12901
12902         as_fn_error $? "Package requirements (${requirement_emotion}) were not met:
12903
12904 $EMOTION_PKG_ERRORS
12905
12906 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12907 installed software in a non-standard prefix.
12908
12909 Alternatively, you may set the environment variables EMOTION_CFLAGS
12910 and EMOTION_LIBS to avoid the need to call pkg-config.
12911 See the pkg-config man page for more details." "$LINENO" 5
12912 elif test $pkg_failed = untried; then
12913         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12914 $as_echo "no" >&6; }
12915         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12917 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12918 is in your PATH or set the PKG_CONFIG environment variable to the full
12919 path to pkg-config.
12920
12921 Alternatively, you may set the environment variables EMOTION_CFLAGS
12922 and EMOTION_LIBS to avoid the need to call pkg-config.
12923 See the pkg-config man page for more details.
12924
12925 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12926 See \`config.log' for more details" "$LINENO" 5; }
12927 else
12928         EMOTION_CFLAGS=$pkg_cv_EMOTION_CFLAGS
12929         EMOTION_LIBS=$pkg_cv_EMOTION_LIBS
12930         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12931 $as_echo "yes" >&6; }
12932
12933 fi
12934
12935
12936 if test "x${have_emotion_test}" = "xyes" ; then
12937
12938 pkg_failed=no
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMOTION_BIN" >&5
12940 $as_echo_n "checking for EMOTION_BIN... " >&6; }
12941
12942 if test -n "$EMOTION_BIN_CFLAGS"; then
12943     pkg_cv_EMOTION_BIN_CFLAGS="$EMOTION_BIN_CFLAGS"
12944  elif test -n "$PKG_CONFIG"; then
12945     if test -n "$PKG_CONFIG" && \
12946     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.6.99 evas >= 1.6.99 ecore >= 1.6.99 ecore-evas >= 1.6.99 edje >= 1.6.99\""; } >&5
12947   ($PKG_CONFIG --exists --print-errors "eina >= 1.6.99 evas >= 1.6.99 ecore >= 1.6.99 ecore-evas >= 1.6.99 edje >= 1.6.99") 2>&5
12948   ac_status=$?
12949   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12950   test $ac_status = 0; }; then
12951   pkg_cv_EMOTION_BIN_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.6.99 evas >= 1.6.99 ecore >= 1.6.99 ecore-evas >= 1.6.99 edje >= 1.6.99" 2>/dev/null`
12952                       test "x$?" != "x0" && pkg_failed=yes
12953 else
12954   pkg_failed=yes
12955 fi
12956  else
12957     pkg_failed=untried
12958 fi
12959 if test -n "$EMOTION_BIN_LIBS"; then
12960     pkg_cv_EMOTION_BIN_LIBS="$EMOTION_BIN_LIBS"
12961  elif test -n "$PKG_CONFIG"; then
12962     if test -n "$PKG_CONFIG" && \
12963     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.6.99 evas >= 1.6.99 ecore >= 1.6.99 ecore-evas >= 1.6.99 edje >= 1.6.99\""; } >&5
12964   ($PKG_CONFIG --exists --print-errors "eina >= 1.6.99 evas >= 1.6.99 ecore >= 1.6.99 ecore-evas >= 1.6.99 edje >= 1.6.99") 2>&5
12965   ac_status=$?
12966   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12967   test $ac_status = 0; }; then
12968   pkg_cv_EMOTION_BIN_LIBS=`$PKG_CONFIG --libs "eina >= 1.6.99 evas >= 1.6.99 ecore >= 1.6.99 ecore-evas >= 1.6.99 edje >= 1.6.99" 2>/dev/null`
12969                       test "x$?" != "x0" && pkg_failed=yes
12970 else
12971   pkg_failed=yes
12972 fi
12973  else
12974     pkg_failed=untried
12975 fi
12976
12977
12978
12979 if test $pkg_failed = yes; then
12980         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12981 $as_echo "no" >&6; }
12982
12983 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12984         _pkg_short_errors_supported=yes
12985 else
12986         _pkg_short_errors_supported=no
12987 fi
12988         if test $_pkg_short_errors_supported = yes; then
12989                 EMOTION_BIN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eina >= 1.6.99 evas >= 1.6.99 ecore >= 1.6.99 ecore-evas >= 1.6.99 edje >= 1.6.99" 2>&1`
12990         else
12991                 EMOTION_BIN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eina >= 1.6.99 evas >= 1.6.99 ecore >= 1.6.99 ecore-evas >= 1.6.99 edje >= 1.6.99" 2>&1`
12992         fi
12993         # Put the nasty error message in config.log where it belongs
12994         echo "$EMOTION_BIN_PKG_ERRORS" >&5
12995
12996         as_fn_error $? "Package requirements (eina >= 1.6.99 evas >= 1.6.99 ecore >= 1.6.99 ecore-evas >= 1.6.99 edje >= 1.6.99) were not met:
12997
12998 $EMOTION_BIN_PKG_ERRORS
12999
13000 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13001 installed software in a non-standard prefix.
13002
13003 Alternatively, you may set the environment variables EMOTION_BIN_CFLAGS
13004 and EMOTION_BIN_LIBS to avoid the need to call pkg-config.
13005 See the pkg-config man page for more details." "$LINENO" 5
13006 elif test $pkg_failed = untried; then
13007         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13008 $as_echo "no" >&6; }
13009         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13011 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13012 is in your PATH or set the PKG_CONFIG environment variable to the full
13013 path to pkg-config.
13014
13015 Alternatively, you may set the environment variables EMOTION_BIN_CFLAGS
13016 and EMOTION_BIN_LIBS to avoid the need to call pkg-config.
13017 See the pkg-config man page for more details.
13018
13019 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13020 See \`config.log' for more details" "$LINENO" 5; }
13021 else
13022         EMOTION_BIN_CFLAGS=$pkg_cv_EMOTION_BIN_CFLAGS
13023         EMOTION_BIN_LIBS=$pkg_cv_EMOTION_BIN_LIBS
13024         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13025 $as_echo "yes" >&6; }
13026
13027 fi
13028 fi
13029
13030
13031 pkg_failed=no
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_X" >&5
13033 $as_echo_n "checking for ECORE_X... " >&6; }
13034
13035 if test -n "$ECORE_X_CFLAGS"; then
13036     pkg_cv_ECORE_X_CFLAGS="$ECORE_X_CFLAGS"
13037  elif test -n "$PKG_CONFIG"; then
13038     if test -n "$PKG_CONFIG" && \
13039     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.6.99 ecore-evas >= 1.6.99\""; } >&5
13040   ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.6.99 ecore-evas >= 1.6.99") 2>&5
13041   ac_status=$?
13042   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13043   test $ac_status = 0; }; then
13044   pkg_cv_ECORE_X_CFLAGS=`$PKG_CONFIG --cflags "ecore-x >= 1.6.99 ecore-evas >= 1.6.99" 2>/dev/null`
13045                       test "x$?" != "x0" && pkg_failed=yes
13046 else
13047   pkg_failed=yes
13048 fi
13049  else
13050     pkg_failed=untried
13051 fi
13052 if test -n "$ECORE_X_LIBS"; then
13053     pkg_cv_ECORE_X_LIBS="$ECORE_X_LIBS"
13054  elif test -n "$PKG_CONFIG"; then
13055     if test -n "$PKG_CONFIG" && \
13056     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.6.99 ecore-evas >= 1.6.99\""; } >&5
13057   ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.6.99 ecore-evas >= 1.6.99") 2>&5
13058   ac_status=$?
13059   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13060   test $ac_status = 0; }; then
13061   pkg_cv_ECORE_X_LIBS=`$PKG_CONFIG --libs "ecore-x >= 1.6.99 ecore-evas >= 1.6.99" 2>/dev/null`
13062                       test "x$?" != "x0" && pkg_failed=yes
13063 else
13064   pkg_failed=yes
13065 fi
13066  else
13067     pkg_failed=untried
13068 fi
13069
13070
13071
13072 if test $pkg_failed = yes; then
13073         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13074 $as_echo "no" >&6; }
13075
13076 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13077         _pkg_short_errors_supported=yes
13078 else
13079         _pkg_short_errors_supported=no
13080 fi
13081         if test $_pkg_short_errors_supported = yes; then
13082                 ECORE_X_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-x >= 1.6.99 ecore-evas >= 1.6.99" 2>&1`
13083         else
13084                 ECORE_X_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-x >= 1.6.99 ecore-evas >= 1.6.99" 2>&1`
13085         fi
13086         # Put the nasty error message in config.log where it belongs
13087         echo "$ECORE_X_PKG_ERRORS" >&5
13088
13089         have_ecore_x="no"
13090 elif test $pkg_failed = untried; then
13091         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13092 $as_echo "no" >&6; }
13093         have_ecore_x="no"
13094 else
13095         ECORE_X_CFLAGS=$pkg_cv_ECORE_X_CFLAGS
13096         ECORE_X_LIBS=$pkg_cv_ECORE_X_LIBS
13097         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13098 $as_echo "yes" >&6; }
13099         have_ecore_x="yes"
13100 fi
13101
13102
13103 pkg_failed=no
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_FB" >&5
13105 $as_echo_n "checking for ECORE_FB... " >&6; }
13106
13107 if test -n "$ECORE_FB_CFLAGS"; then
13108     pkg_cv_ECORE_FB_CFLAGS="$ECORE_FB_CFLAGS"
13109  elif test -n "$PKG_CONFIG"; then
13110     if test -n "$PKG_CONFIG" && \
13111     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-fb >= 1.6.99\""; } >&5
13112   ($PKG_CONFIG --exists --print-errors "ecore-fb >= 1.6.99") 2>&5
13113   ac_status=$?
13114   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13115   test $ac_status = 0; }; then
13116   pkg_cv_ECORE_FB_CFLAGS=`$PKG_CONFIG --cflags "ecore-fb >= 1.6.99" 2>/dev/null`
13117                       test "x$?" != "x0" && pkg_failed=yes
13118 else
13119   pkg_failed=yes
13120 fi
13121  else
13122     pkg_failed=untried
13123 fi
13124 if test -n "$ECORE_FB_LIBS"; then
13125     pkg_cv_ECORE_FB_LIBS="$ECORE_FB_LIBS"
13126  elif test -n "$PKG_CONFIG"; then
13127     if test -n "$PKG_CONFIG" && \
13128     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-fb >= 1.6.99\""; } >&5
13129   ($PKG_CONFIG --exists --print-errors "ecore-fb >= 1.6.99") 2>&5
13130   ac_status=$?
13131   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13132   test $ac_status = 0; }; then
13133   pkg_cv_ECORE_FB_LIBS=`$PKG_CONFIG --libs "ecore-fb >= 1.6.99" 2>/dev/null`
13134                       test "x$?" != "x0" && pkg_failed=yes
13135 else
13136   pkg_failed=yes
13137 fi
13138  else
13139     pkg_failed=untried
13140 fi
13141
13142
13143
13144 if test $pkg_failed = yes; then
13145         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13146 $as_echo "no" >&6; }
13147
13148 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13149         _pkg_short_errors_supported=yes
13150 else
13151         _pkg_short_errors_supported=no
13152 fi
13153         if test $_pkg_short_errors_supported = yes; then
13154                 ECORE_FB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-fb >= 1.6.99" 2>&1`
13155         else
13156                 ECORE_FB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-fb >= 1.6.99" 2>&1`
13157         fi
13158         # Put the nasty error message in config.log where it belongs
13159         echo "$ECORE_FB_PKG_ERRORS" >&5
13160
13161         have_ecore_fb="no"
13162 elif test $pkg_failed = untried; then
13163         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13164 $as_echo "no" >&6; }
13165         have_ecore_fb="no"
13166 else
13167         ECORE_FB_CFLAGS=$pkg_cv_ECORE_FB_CFLAGS
13168         ECORE_FB_LIBS=$pkg_cv_ECORE_FB_LIBS
13169         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13170 $as_echo "yes" >&6; }
13171         have_ecore_fb="yes"
13172 fi
13173
13174 if test "x${have_ecore_x}" = "xyes" ; then
13175
13176 $as_echo "#define EMOTION_HAVE_ECORE_X 1" >>confdefs.h
13177
13178 fi
13179
13180 if test "x${have_ecore_fb}" = "xyes" ; then
13181
13182 $as_echo "#define EMOTION_HAVE_ECORE_FB 1" >>confdefs.h
13183
13184 fi
13185
13186 if test -n "$PKG_CONFIG" && \
13187     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-x11 >= 1.6.99\""; } >&5
13188   ($PKG_CONFIG --exists --print-errors "evas-software-x11 >= 1.6.99") 2>&5
13189   ac_status=$?
13190   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13191   test $ac_status = 0; }; then
13192
13193 $as_echo "#define HAVE_EVAS_SOFWARE_X11 1" >>confdefs.h
13194
13195 fi
13196
13197 if test -n "$PKG_CONFIG" && \
13198     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-xrender-x11 >= 1.6.99\""; } >&5
13199   ($PKG_CONFIG --exists --print-errors "evas-xrender-x11 >= 1.6.99") 2>&5
13200   ac_status=$?
13201   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13202   test $ac_status = 0; }; then
13203
13204 $as_echo "#define HAVE_EVAS_XRENDER_X11 1" >>confdefs.h
13205
13206 fi
13207
13208 if test -n "$PKG_CONFIG" && \
13209     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-opengl-x11 >= 1.6.99\""; } >&5
13210   ($PKG_CONFIG --exists --print-errors "evas-opengl-x11 >= 1.6.99") 2>&5
13211   ac_status=$?
13212   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13213   test $ac_status = 0; }; then
13214
13215 $as_echo "#define HAVE_EVAS_OPENGL_X11 1" >>confdefs.h
13216
13217 fi
13218
13219 if test -n "$PKG_CONFIG" && \
13220     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-fb >= 1.6.99\""; } >&5
13221   ($PKG_CONFIG --exists --print-errors "evas-fb >= 1.6.99") 2>&5
13222   ac_status=$?
13223   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13224   test $ac_status = 0; }; then
13225
13226 $as_echo "#define HAVE_EVAS_FB 1" >>confdefs.h
13227
13228 fi
13229
13230
13231
13232 # Check whether --enable-edje-external was given.
13233 if test "${enable_edje_external+set}" = set; then :
13234   enableval=$enable_edje_external;
13235     if test "x${enableval}" = "xyes" ; then
13236        _efl_want_edje_external="yes"
13237     else
13238        _efl_want_edje_external="no"
13239     fi
13240
13241 else
13242   _efl_want_edje_external="auto"
13243 fi
13244
13245
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if should provide Edje EXTERNAL support..." >&5
13247 $as_echo_n "checking if should provide Edje EXTERNAL support...... " >&6; }
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_want_edje_external}" >&5
13249 $as_echo "${_efl_want_edje_external}" >&6; }
13250
13251 _efl_enable_edje_external="no"
13252 if ! test "x${_efl_want_edje_external}" = "xno" ; then
13253
13254 pkg_failed=no
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_EXTERNAL" >&5
13256 $as_echo_n "checking for EDJE_EXTERNAL... " >&6; }
13257
13258 if test -n "$EDJE_EXTERNAL_CFLAGS"; then
13259     pkg_cv_EDJE_EXTERNAL_CFLAGS="$EDJE_EXTERNAL_CFLAGS"
13260  elif test -n "$PKG_CONFIG"; then
13261     if test -n "$PKG_CONFIG" && \
13262     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje >= 1.0.0\""; } >&5
13263   ($PKG_CONFIG --exists --print-errors "edje >= 1.0.0") 2>&5
13264   ac_status=$?
13265   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13266   test $ac_status = 0; }; then
13267   pkg_cv_EDJE_EXTERNAL_CFLAGS=`$PKG_CONFIG --cflags "edje >= 1.0.0" 2>/dev/null`
13268                       test "x$?" != "x0" && pkg_failed=yes
13269 else
13270   pkg_failed=yes
13271 fi
13272  else
13273     pkg_failed=untried
13274 fi
13275 if test -n "$EDJE_EXTERNAL_LIBS"; then
13276     pkg_cv_EDJE_EXTERNAL_LIBS="$EDJE_EXTERNAL_LIBS"
13277  elif test -n "$PKG_CONFIG"; then
13278     if test -n "$PKG_CONFIG" && \
13279     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje >= 1.0.0\""; } >&5
13280   ($PKG_CONFIG --exists --print-errors "edje >= 1.0.0") 2>&5
13281   ac_status=$?
13282   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13283   test $ac_status = 0; }; then
13284   pkg_cv_EDJE_EXTERNAL_LIBS=`$PKG_CONFIG --libs "edje >= 1.0.0" 2>/dev/null`
13285                       test "x$?" != "x0" && pkg_failed=yes
13286 else
13287   pkg_failed=yes
13288 fi
13289  else
13290     pkg_failed=untried
13291 fi
13292
13293
13294
13295 if test $pkg_failed = yes; then
13296         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13297 $as_echo "no" >&6; }
13298
13299 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13300         _pkg_short_errors_supported=yes
13301 else
13302         _pkg_short_errors_supported=no
13303 fi
13304         if test $_pkg_short_errors_supported = yes; then
13305                 EDJE_EXTERNAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "edje >= 1.0.0" 2>&1`
13306         else
13307                 EDJE_EXTERNAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "edje >= 1.0.0" 2>&1`
13308         fi
13309         # Put the nasty error message in config.log where it belongs
13310         echo "$EDJE_EXTERNAL_PKG_ERRORS" >&5
13311
13312         _efl_enable_edje_external="no"
13313 elif test $pkg_failed = untried; then
13314         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13315 $as_echo "no" >&6; }
13316         _efl_enable_edje_external="no"
13317 else
13318         EDJE_EXTERNAL_CFLAGS=$pkg_cv_EDJE_EXTERNAL_CFLAGS
13319         EDJE_EXTERNAL_LIBS=$pkg_cv_EDJE_EXTERNAL_LIBS
13320         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13321 $as_echo "yes" >&6; }
13322         _efl_enable_edje_external="yes"
13323 fi
13324 fi
13325
13326
13327
13328
13329 if test "x${_efl_want_edje_external}" = "xyes" && test "x${_efl_enable_edje_external}" = "xno" ; then
13330    as_fn_error $? "Edje EXTERNAL support requested, but Edje not found by pkg-config." "$LINENO" 5
13331 fi
13332
13333 if test "x${_efl_enable_edje_external}" = "xyes" ; then
13334    EDJE_VERSION=`${PKG_CONFIG} edje --modversion | awk -F . '{printf("%s.0.0", $1);}'`
13335    MODULE_EDJE="$host_os-$host_cpu-${EDJE_VERSION}"
13336
13337 cat >>confdefs.h <<_ACEOF
13338 #define MODULE_EDJE "$MODULE_EDJE"
13339 _ACEOF
13340
13341 fi
13342
13343
13344
13345  if test "x${_efl_enable_edje_external}" = "xyes"; then
13346   ENABLE_EDJE_EXTERNAL_TRUE=
13347   ENABLE_EDJE_EXTERNAL_FALSE='#'
13348 else
13349   ENABLE_EDJE_EXTERNAL_TRUE='#'
13350   ENABLE_EDJE_EXTERNAL_FALSE=
13351 fi
13352
13353
13354 if test "x${_efl_enable_edje_external}" = "xyes"; then :
13355   have_edje_external="yes"
13356 else
13357   have_edje_external="no"
13358 fi
13359
13360
13361
13362
13363 pkg_failed=no
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EEZE" >&5
13365 $as_echo_n "checking for EEZE... " >&6; }
13366
13367 if test -n "$EEZE_CFLAGS"; then
13368     pkg_cv_EEZE_CFLAGS="$EEZE_CFLAGS"
13369  elif test -n "$PKG_CONFIG"; then
13370     if test -n "$PKG_CONFIG" && \
13371     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eeze >= 1.6.99\""; } >&5
13372   ($PKG_CONFIG --exists --print-errors "eeze >= 1.6.99") 2>&5
13373   ac_status=$?
13374   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13375   test $ac_status = 0; }; then
13376   pkg_cv_EEZE_CFLAGS=`$PKG_CONFIG --cflags "eeze >= 1.6.99" 2>/dev/null`
13377                       test "x$?" != "x0" && pkg_failed=yes
13378 else
13379   pkg_failed=yes
13380 fi
13381  else
13382     pkg_failed=untried
13383 fi
13384 if test -n "$EEZE_LIBS"; then
13385     pkg_cv_EEZE_LIBS="$EEZE_LIBS"
13386  elif test -n "$PKG_CONFIG"; then
13387     if test -n "$PKG_CONFIG" && \
13388     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eeze >= 1.6.99\""; } >&5
13389   ($PKG_CONFIG --exists --print-errors "eeze >= 1.6.99") 2>&5
13390   ac_status=$?
13391   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13392   test $ac_status = 0; }; then
13393   pkg_cv_EEZE_LIBS=`$PKG_CONFIG --libs "eeze >= 1.6.99" 2>/dev/null`
13394                       test "x$?" != "x0" && pkg_failed=yes
13395 else
13396   pkg_failed=yes
13397 fi
13398  else
13399     pkg_failed=untried
13400 fi
13401
13402
13403
13404 if test $pkg_failed = yes; then
13405         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13406 $as_echo "no" >&6; }
13407
13408 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13409         _pkg_short_errors_supported=yes
13410 else
13411         _pkg_short_errors_supported=no
13412 fi
13413         if test $_pkg_short_errors_supported = yes; then
13414                 EEZE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eeze >= 1.6.99" 2>&1`
13415         else
13416                 EEZE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eeze >= 1.6.99" 2>&1`
13417         fi
13418         # Put the nasty error message in config.log where it belongs
13419         echo "$EEZE_PKG_ERRORS" >&5
13420
13421         have_eeze="no"
13422 elif test $pkg_failed = untried; then
13423         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13424 $as_echo "no" >&6; }
13425         have_eeze="no"
13426 else
13427         EEZE_CFLAGS=$pkg_cv_EEZE_CFLAGS
13428         EEZE_LIBS=$pkg_cv_EEZE_LIBS
13429         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13430 $as_echo "yes" >&6; }
13431         have_eeze="yes"
13432 fi
13433
13434 if test "x${have_eeze}" = "xyes"; then
13435
13436 $as_echo "#define EMOTION_HAVE_EEZE 1" >>confdefs.h
13437
13438    requirement_emotion="${requirement_emotion} eeze >= 1.6.99"
13439 fi
13440
13441
13442 pkg_failed=no
13443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIO" >&5
13444 $as_echo_n "checking for EIO... " >&6; }
13445
13446 if test -n "$EIO_CFLAGS"; then
13447     pkg_cv_EIO_CFLAGS="$EIO_CFLAGS"
13448  elif test -n "$PKG_CONFIG"; then
13449     if test -n "$PKG_CONFIG" && \
13450     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio >= 1.6.99\""; } >&5
13451   ($PKG_CONFIG --exists --print-errors "eio >= 1.6.99") 2>&5
13452   ac_status=$?
13453   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13454   test $ac_status = 0; }; then
13455   pkg_cv_EIO_CFLAGS=`$PKG_CONFIG --cflags "eio >= 1.6.99" 2>/dev/null`
13456                       test "x$?" != "x0" && pkg_failed=yes
13457 else
13458   pkg_failed=yes
13459 fi
13460  else
13461     pkg_failed=untried
13462 fi
13463 if test -n "$EIO_LIBS"; then
13464     pkg_cv_EIO_LIBS="$EIO_LIBS"
13465  elif test -n "$PKG_CONFIG"; then
13466     if test -n "$PKG_CONFIG" && \
13467     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio >= 1.6.99\""; } >&5
13468   ($PKG_CONFIG --exists --print-errors "eio >= 1.6.99") 2>&5
13469   ac_status=$?
13470   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13471   test $ac_status = 0; }; then
13472   pkg_cv_EIO_LIBS=`$PKG_CONFIG --libs "eio >= 1.6.99" 2>/dev/null`
13473                       test "x$?" != "x0" && pkg_failed=yes
13474 else
13475   pkg_failed=yes
13476 fi
13477  else
13478     pkg_failed=untried
13479 fi
13480
13481
13482
13483 if test $pkg_failed = yes; then
13484         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13485 $as_echo "no" >&6; }
13486
13487 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13488         _pkg_short_errors_supported=yes
13489 else
13490         _pkg_short_errors_supported=no
13491 fi
13492         if test $_pkg_short_errors_supported = yes; then
13493                 EIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eio >= 1.6.99" 2>&1`
13494         else
13495                 EIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eio >= 1.6.99" 2>&1`
13496         fi
13497         # Put the nasty error message in config.log where it belongs
13498         echo "$EIO_PKG_ERRORS" >&5
13499
13500         have_eio="no"
13501 elif test $pkg_failed = untried; then
13502         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13503 $as_echo "no" >&6; }
13504         have_eio="no"
13505 else
13506         EIO_CFLAGS=$pkg_cv_EIO_CFLAGS
13507         EIO_LIBS=$pkg_cv_EIO_LIBS
13508         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13509 $as_echo "yes" >&6; }
13510         have_eio="yes"
13511 fi
13512 if test "x${have_eio}" = "xyes"; then
13513
13514 $as_echo "#define HAVE_EIO 1" >>confdefs.h
13515
13516    requirement_emotion="eio >= 1.6.99 ${requirement_emotion}"
13517 fi
13518
13519  if test "x${have_eio}" = "xyes"; then
13520   HAVE_EIO_TRUE=
13521   HAVE_EIO_FALSE='#'
13522 else
13523   HAVE_EIO_TRUE='#'
13524   HAVE_EIO_FALSE=
13525 fi
13526
13527
13528 # ecore-x availability, used for XV, VAAPI, VDPAU output.
13529
13530 have_ecore_x="no"
13531 # Check whether --enable-ecore-x was given.
13532 if test "${enable_ecore_x+set}" = set; then :
13533   enableval=$enable_ecore_x;
13534     if test "x${enableval}" = "xyes" || test "x${enableval}" = "xauto" ; then
13535        want_ecore_x=${enableval}
13536     else
13537        want_ecore_x="no"
13538     fi
13539
13540 else
13541   want_ecore_x="auto"
13542 fi
13543
13544
13545 if ! test "x$want_ecore_x" = "xno" ; then
13546
13547 pkg_failed=no
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_X" >&5
13549 $as_echo_n "checking for ECORE_X... " >&6; }
13550
13551 if test -n "$ECORE_X_CFLAGS"; then
13552     pkg_cv_ECORE_X_CFLAGS="$ECORE_X_CFLAGS"
13553  elif test -n "$PKG_CONFIG"; then
13554     if test -n "$PKG_CONFIG" && \
13555     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.6.99\""; } >&5
13556   ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.6.99") 2>&5
13557   ac_status=$?
13558   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13559   test $ac_status = 0; }; then
13560   pkg_cv_ECORE_X_CFLAGS=`$PKG_CONFIG --cflags "ecore-x >= 1.6.99" 2>/dev/null`
13561                       test "x$?" != "x0" && pkg_failed=yes
13562 else
13563   pkg_failed=yes
13564 fi
13565  else
13566     pkg_failed=untried
13567 fi
13568 if test -n "$ECORE_X_LIBS"; then
13569     pkg_cv_ECORE_X_LIBS="$ECORE_X_LIBS"
13570  elif test -n "$PKG_CONFIG"; then
13571     if test -n "$PKG_CONFIG" && \
13572     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.6.99\""; } >&5
13573   ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.6.99") 2>&5
13574   ac_status=$?
13575   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13576   test $ac_status = 0; }; then
13577   pkg_cv_ECORE_X_LIBS=`$PKG_CONFIG --libs "ecore-x >= 1.6.99" 2>/dev/null`
13578                       test "x$?" != "x0" && pkg_failed=yes
13579 else
13580   pkg_failed=yes
13581 fi
13582  else
13583     pkg_failed=untried
13584 fi
13585
13586
13587
13588 if test $pkg_failed = yes; then
13589         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13590 $as_echo "no" >&6; }
13591
13592 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13593         _pkg_short_errors_supported=yes
13594 else
13595         _pkg_short_errors_supported=no
13596 fi
13597         if test $_pkg_short_errors_supported = yes; then
13598                 ECORE_X_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-x >= 1.6.99" 2>&1`
13599         else
13600                 ECORE_X_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-x >= 1.6.99" 2>&1`
13601         fi
13602         # Put the nasty error message in config.log where it belongs
13603         echo "$ECORE_X_PKG_ERRORS" >&5
13604
13605         have_ecore_x="no"
13606
13607 elif test $pkg_failed = untried; then
13608         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13609 $as_echo "no" >&6; }
13610         have_ecore_x="no"
13611
13612 else
13613         ECORE_X_CFLAGS=$pkg_cv_ECORE_X_CFLAGS
13614         ECORE_X_LIBS=$pkg_cv_ECORE_X_LIBS
13615         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13616 $as_echo "yes" >&6; }
13617
13618
13619 $as_echo "#define HAVE_ECORE_X 1" >>confdefs.h
13620
13621        have_ecore_x="yes"
13622        requirement_elm="ecore-x >= 1.6.99 ${requirement_elm}"
13623
13624 fi
13625 else
13626     have_ecore_x="no"
13627 fi
13628
13629 if test "x$want_ecore_x" = "xyes" && test "x$have_ecore_x" = "xno" ; then
13630     as_fn_error $? "ecore-x support requested, but not found by pkg-config." "$LINENO" 5
13631 fi
13632
13633 ### Checks for header files
13634
13635 for ac_header in unistd.h
13636 do :
13637   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
13638 if test "x$ac_cv_header_unistd_h" = xyes; then :
13639   cat >>confdefs.h <<_ACEOF
13640 #define HAVE_UNISTD_H 1
13641 _ACEOF
13642
13643 fi
13644
13645 done
13646
13647
13648 # Check for video4linux
13649
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for V4L2" >&5
13651 $as_echo_n "checking for V4L2... " >&6; }
13652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13653 /* end confdefs.h.  */
13654
13655 #include <stdio.h>
13656 #include <linux/videodev2.h>
13657
13658 int
13659 main ()
13660 {
13661
13662 fprintf(stdout, "%i\n", V4L2_CAP_VIDEO_CAPTURE);
13663
13664   ;
13665   return 0;
13666 }
13667 _ACEOF
13668 if ac_fn_c_try_compile "$LINENO"; then :
13669
13670
13671 $as_echo "#define HAVE_V4L2 1" >>confdefs.h
13672
13673     have_v4l2="yes"
13674
13675 else
13676   have_v4l2="no"
13677 fi
13678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_v4l2}" >&5
13680 $as_echo "${have_v4l2}" >&6; }
13681
13682 ### Checks for types
13683
13684
13685 ### Checks for structures
13686
13687
13688 ### Checks for compiler characteristics
13689  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13690 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13691 if ${ac_cv_c_bigendian+:} false; then :
13692   $as_echo_n "(cached) " >&6
13693 else
13694   ac_cv_c_bigendian=unknown
13695     # See if we're dealing with a universal compiler.
13696     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13697 /* end confdefs.h.  */
13698 #ifndef __APPLE_CC__
13699                not a universal capable compiler
13700              #endif
13701              typedef int dummy;
13702
13703 _ACEOF
13704 if ac_fn_c_try_compile "$LINENO"; then :
13705
13706         # Check for potential -arch flags.  It is not universal unless
13707         # there are at least two -arch flags with different values.
13708         ac_arch=
13709         ac_prev=
13710         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13711          if test -n "$ac_prev"; then
13712            case $ac_word in
13713              i?86 | x86_64 | ppc | ppc64)
13714                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
13715                  ac_arch=$ac_word
13716                else
13717                  ac_cv_c_bigendian=universal
13718                  break
13719                fi
13720                ;;
13721            esac
13722            ac_prev=
13723          elif test "x$ac_word" = "x-arch"; then
13724            ac_prev=arch
13725          fi
13726        done
13727 fi
13728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13729     if test $ac_cv_c_bigendian = unknown; then
13730       # See if sys/param.h defines the BYTE_ORDER macro.
13731       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13732 /* end confdefs.h.  */
13733 #include <sys/types.h>
13734              #include <sys/param.h>
13735
13736 int
13737 main ()
13738 {
13739 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13740                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13741                      && LITTLE_ENDIAN)
13742               bogus endian macros
13743              #endif
13744
13745   ;
13746   return 0;
13747 }
13748 _ACEOF
13749 if ac_fn_c_try_compile "$LINENO"; then :
13750   # It does; now see whether it defined to BIG_ENDIAN or not.
13751          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13752 /* end confdefs.h.  */
13753 #include <sys/types.h>
13754                 #include <sys/param.h>
13755
13756 int
13757 main ()
13758 {
13759 #if BYTE_ORDER != BIG_ENDIAN
13760                  not big endian
13761                 #endif
13762
13763   ;
13764   return 0;
13765 }
13766 _ACEOF
13767 if ac_fn_c_try_compile "$LINENO"; then :
13768   ac_cv_c_bigendian=yes
13769 else
13770   ac_cv_c_bigendian=no
13771 fi
13772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13773 fi
13774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13775     fi
13776     if test $ac_cv_c_bigendian = unknown; then
13777       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13778       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13779 /* end confdefs.h.  */
13780 #include <limits.h>
13781
13782 int
13783 main ()
13784 {
13785 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13786               bogus endian macros
13787              #endif
13788
13789   ;
13790   return 0;
13791 }
13792 _ACEOF
13793 if ac_fn_c_try_compile "$LINENO"; then :
13794   # It does; now see whether it defined to _BIG_ENDIAN or not.
13795          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13796 /* end confdefs.h.  */
13797 #include <limits.h>
13798
13799 int
13800 main ()
13801 {
13802 #ifndef _BIG_ENDIAN
13803                  not big endian
13804                 #endif
13805
13806   ;
13807   return 0;
13808 }
13809 _ACEOF
13810 if ac_fn_c_try_compile "$LINENO"; then :
13811   ac_cv_c_bigendian=yes
13812 else
13813   ac_cv_c_bigendian=no
13814 fi
13815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13816 fi
13817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13818     fi
13819     if test $ac_cv_c_bigendian = unknown; then
13820       # Compile a test program.
13821       if test "$cross_compiling" = yes; then :
13822   # Try to guess by grepping values from an object file.
13823          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13824 /* end confdefs.h.  */
13825 short int ascii_mm[] =
13826                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13827                 short int ascii_ii[] =
13828                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13829                 int use_ascii (int i) {
13830                   return ascii_mm[i] + ascii_ii[i];
13831                 }
13832                 short int ebcdic_ii[] =
13833                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13834                 short int ebcdic_mm[] =
13835                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13836                 int use_ebcdic (int i) {
13837                   return ebcdic_mm[i] + ebcdic_ii[i];
13838                 }
13839                 extern int foo;
13840
13841 int
13842 main ()
13843 {
13844 return use_ascii (foo) == use_ebcdic (foo);
13845   ;
13846   return 0;
13847 }
13848 _ACEOF
13849 if ac_fn_c_try_compile "$LINENO"; then :
13850   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
13851               ac_cv_c_bigendian=yes
13852             fi
13853             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
13854               if test "$ac_cv_c_bigendian" = unknown; then
13855                 ac_cv_c_bigendian=no
13856               else
13857                 # finding both strings is unlikely to happen, but who knows?
13858                 ac_cv_c_bigendian=unknown
13859               fi
13860             fi
13861 fi
13862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13863 else
13864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13865 /* end confdefs.h.  */
13866 $ac_includes_default
13867 int
13868 main ()
13869 {
13870
13871              /* Are we little or big endian?  From Harbison&Steele.  */
13872              union
13873              {
13874                long int l;
13875                char c[sizeof (long int)];
13876              } u;
13877              u.l = 1;
13878              return u.c[sizeof (long int) - 1] == 1;
13879
13880   ;
13881   return 0;
13882 }
13883 _ACEOF
13884 if ac_fn_c_try_run "$LINENO"; then :
13885   ac_cv_c_bigendian=no
13886 else
13887   ac_cv_c_bigendian=yes
13888 fi
13889 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13890   conftest.$ac_objext conftest.beam conftest.$ac_ext
13891 fi
13892
13893     fi
13894 fi
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13896 $as_echo "$ac_cv_c_bigendian" >&6; }
13897  case $ac_cv_c_bigendian in #(
13898    yes)
13899      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
13900 ;; #(
13901    no)
13902       ;; #(
13903    universal)
13904
13905 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13906
13907      ;; #(
13908    *)
13909      as_fn_error $? "unknown endianness
13910  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13911  esac
13912
13913
13914
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
13916 $as_echo_n "checking for __attribute__... " >&6; }
13917
13918 if ${ac_cv___attribute__+:} false; then :
13919   $as_echo_n "(cached) " >&6
13920 else
13921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13922 /* end confdefs.h.  */
13923
13924 #include <stdlib.h>
13925
13926 int func(int x);
13927 int foo(int x __attribute__ ((unused)))
13928 {
13929    exit(1);
13930 }
13931
13932 int
13933 main ()
13934 {
13935
13936   ;
13937   return 0;
13938 }
13939 _ACEOF
13940 if ac_fn_c_try_compile "$LINENO"; then :
13941   ac_cv___attribute__="yes"
13942 else
13943   ac_cv___attribute__="no"
13944
13945 fi
13946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13947
13948 fi
13949
13950
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
13952 $as_echo "$ac_cv___attribute__" >&6; }
13953
13954 if test "x${ac_cv___attribute__}" = "xyes" ; then
13955
13956 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
13957
13958
13959 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
13960
13961   else
13962
13963 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
13964
13965 fi
13966
13967
13968
13969 EFL_EMOTION_BUILD=""
13970 case "$host_os" in
13971    mingw32ce*)
13972       EMOTION_CPPFLAGS="-D_WIN32_WCE=0x0420"
13973       EFL_EMOTION_BUILD="-DEFL_EMOTION_BUILD"
13974       ;;
13975    mingw*)
13976       EMOTION_CPPFLAGS="-D_WIN32_WINNT=0x0501"
13977       EFL_EMOTION_BUILD="-DEFL_EMOTION_BUILD"
13978       ;;
13979 esac
13980
13981
13982
13983
13984 ### Checks for linker characteristics
13985
13986 # use --enable-auto-import on Windows
13987
13988 lt_enable_auto_import=""
13989 case "$host_os" in
13990    mingw*)
13991       lt_enable_auto_import="-Wl,--enable-auto-import"
13992       ;;
13993 esac
13994
13995
13996
13997 ### Checks for library functions
13998 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13999 if test "x$ac_cv_type_size_t" = xyes; then :
14000
14001 else
14002
14003 cat >>confdefs.h <<_ACEOF
14004 #define size_t unsigned int
14005 _ACEOF
14006
14007 fi
14008
14009 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
14010 # for constant arguments.  Useless!
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
14012 $as_echo_n "checking for working alloca.h... " >&6; }
14013 if ${ac_cv_working_alloca_h+:} false; then :
14014   $as_echo_n "(cached) " >&6
14015 else
14016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14017 /* end confdefs.h.  */
14018 #include <alloca.h>
14019 int
14020 main ()
14021 {
14022 char *p = (char *) alloca (2 * sizeof (int));
14023                           if (p) return 0;
14024   ;
14025   return 0;
14026 }
14027 _ACEOF
14028 if ac_fn_c_try_link "$LINENO"; then :
14029   ac_cv_working_alloca_h=yes
14030 else
14031   ac_cv_working_alloca_h=no
14032 fi
14033 rm -f core conftest.err conftest.$ac_objext \
14034     conftest$ac_exeext conftest.$ac_ext
14035 fi
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
14037 $as_echo "$ac_cv_working_alloca_h" >&6; }
14038 if test $ac_cv_working_alloca_h = yes; then
14039
14040 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
14041
14042 fi
14043
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
14045 $as_echo_n "checking for alloca... " >&6; }
14046 if ${ac_cv_func_alloca_works+:} false; then :
14047   $as_echo_n "(cached) " >&6
14048 else
14049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14050 /* end confdefs.h.  */
14051 #ifdef __GNUC__
14052 # define alloca __builtin_alloca
14053 #else
14054 # ifdef _MSC_VER
14055 #  include <malloc.h>
14056 #  define alloca _alloca
14057 # else
14058 #  ifdef HAVE_ALLOCA_H
14059 #   include <alloca.h>
14060 #  else
14061 #   ifdef _AIX
14062  #pragma alloca
14063 #   else
14064 #    ifndef alloca /* predefined by HP cc +Olibcalls */
14065 void *alloca (size_t);
14066 #    endif
14067 #   endif
14068 #  endif
14069 # endif
14070 #endif
14071
14072 int
14073 main ()
14074 {
14075 char *p = (char *) alloca (1);
14076                                     if (p) return 0;
14077   ;
14078   return 0;
14079 }
14080 _ACEOF
14081 if ac_fn_c_try_link "$LINENO"; then :
14082   ac_cv_func_alloca_works=yes
14083 else
14084   ac_cv_func_alloca_works=no
14085 fi
14086 rm -f core conftest.err conftest.$ac_objext \
14087     conftest$ac_exeext conftest.$ac_ext
14088 fi
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
14090 $as_echo "$ac_cv_func_alloca_works" >&6; }
14091
14092 if test $ac_cv_func_alloca_works = yes; then
14093
14094 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
14095
14096 else
14097   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
14098 # that cause trouble.  Some versions do not even contain alloca or
14099 # contain a buggy version.  If you still want to use their alloca,
14100 # use ar to extract alloca.o from them instead of compiling alloca.c.
14101
14102 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
14103
14104 $as_echo "#define C_ALLOCA 1" >>confdefs.h
14105
14106
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
14108 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
14109 if ${ac_cv_os_cray+:} false; then :
14110   $as_echo_n "(cached) " >&6
14111 else
14112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14113 /* end confdefs.h.  */
14114 #if defined CRAY && ! defined CRAY2
14115 webecray
14116 #else
14117 wenotbecray
14118 #endif
14119
14120 _ACEOF
14121 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14122   $EGREP "webecray" >/dev/null 2>&1; then :
14123   ac_cv_os_cray=yes
14124 else
14125   ac_cv_os_cray=no
14126 fi
14127 rm -f conftest*
14128
14129 fi
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
14131 $as_echo "$ac_cv_os_cray" >&6; }
14132 if test $ac_cv_os_cray = yes; then
14133   for ac_func in _getb67 GETB67 getb67; do
14134     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14135 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14136 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14137
14138 cat >>confdefs.h <<_ACEOF
14139 #define CRAY_STACKSEG_END $ac_func
14140 _ACEOF
14141
14142     break
14143 fi
14144
14145   done
14146 fi
14147
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
14149 $as_echo_n "checking stack direction for C alloca... " >&6; }
14150 if ${ac_cv_c_stack_direction+:} false; then :
14151   $as_echo_n "(cached) " >&6
14152 else
14153   if test "$cross_compiling" = yes; then :
14154   ac_cv_c_stack_direction=0
14155 else
14156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14157 /* end confdefs.h.  */
14158 $ac_includes_default
14159 int
14160 find_stack_direction ()
14161 {
14162   static char *addr = 0;
14163   auto char dummy;
14164   if (addr == 0)
14165     {
14166       addr = &dummy;
14167       return find_stack_direction ();
14168     }
14169   else
14170     return (&dummy > addr) ? 1 : -1;
14171 }
14172
14173 int
14174 main ()
14175 {
14176   return find_stack_direction () < 0;
14177 }
14178 _ACEOF
14179 if ac_fn_c_try_run "$LINENO"; then :
14180   ac_cv_c_stack_direction=1
14181 else
14182   ac_cv_c_stack_direction=-1
14183 fi
14184 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14185   conftest.$ac_objext conftest.beam conftest.$ac_ext
14186 fi
14187
14188 fi
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
14190 $as_echo "$ac_cv_c_stack_direction" >&6; }
14191 cat >>confdefs.h <<_ACEOF
14192 #define STACK_DIRECTION $ac_cv_c_stack_direction
14193 _ACEOF
14194
14195
14196 fi
14197
14198
14199
14200 ### Modules
14201
14202
14203
14204 want_module="${want_xine}"
14205
14206 # Check whether --enable-xine was given.
14207 if test "${enable_xine+set}" = set; then :
14208   enableval=$enable_xine;
14209     if test "x${enableval}" = "xyes" ; then
14210        enable_module="yes"
14211     else
14212        if test "x${enableval}" = "xstatic" ; then
14213           enable_module="static"
14214        else
14215           enable_module="no"
14216        fi
14217     fi
14218
14219 else
14220   enable_module="yes"
14221 fi
14222
14223
14224 if test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic" ; then
14225    want_module="yes"
14226 fi
14227
14228 have_module="no"
14229 if test "x${want_module}" = "xyes" && (test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic") ; then
14230
14231
14232 requirement=""
14233
14234
14235 pkg_failed=no
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XINE" >&5
14237 $as_echo_n "checking for XINE... " >&6; }
14238
14239 if test -n "$XINE_CFLAGS"; then
14240     pkg_cv_XINE_CFLAGS="$XINE_CFLAGS"
14241  elif test -n "$PKG_CONFIG"; then
14242     if test -n "$PKG_CONFIG" && \
14243     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxine >= 1.1.1 evas >= 1.0.0\""; } >&5
14244   ($PKG_CONFIG --exists --print-errors "libxine >= 1.1.1 evas >= 1.0.0") 2>&5
14245   ac_status=$?
14246   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14247   test $ac_status = 0; }; then
14248   pkg_cv_XINE_CFLAGS=`$PKG_CONFIG --cflags "libxine >= 1.1.1 evas >= 1.0.0" 2>/dev/null`
14249                       test "x$?" != "x0" && pkg_failed=yes
14250 else
14251   pkg_failed=yes
14252 fi
14253  else
14254     pkg_failed=untried
14255 fi
14256 if test -n "$XINE_LIBS"; then
14257     pkg_cv_XINE_LIBS="$XINE_LIBS"
14258  elif test -n "$PKG_CONFIG"; then
14259     if test -n "$PKG_CONFIG" && \
14260     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxine >= 1.1.1 evas >= 1.0.0\""; } >&5
14261   ($PKG_CONFIG --exists --print-errors "libxine >= 1.1.1 evas >= 1.0.0") 2>&5
14262   ac_status=$?
14263   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14264   test $ac_status = 0; }; then
14265   pkg_cv_XINE_LIBS=`$PKG_CONFIG --libs "libxine >= 1.1.1 evas >= 1.0.0" 2>/dev/null`
14266                       test "x$?" != "x0" && pkg_failed=yes
14267 else
14268   pkg_failed=yes
14269 fi
14270  else
14271     pkg_failed=untried
14272 fi
14273
14274
14275
14276 if test $pkg_failed = yes; then
14277         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14278 $as_echo "no" >&6; }
14279
14280 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14281         _pkg_short_errors_supported=yes
14282 else
14283         _pkg_short_errors_supported=no
14284 fi
14285         if test $_pkg_short_errors_supported = yes; then
14286                 XINE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxine >= 1.1.1 evas >= 1.0.0" 2>&1`
14287         else
14288                 XINE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxine >= 1.1.1 evas >= 1.0.0" 2>&1`
14289         fi
14290         # Put the nasty error message in config.log where it belongs
14291         echo "$XINE_PKG_ERRORS" >&5
14292
14293         have_dep="no"
14294 elif test $pkg_failed = untried; then
14295         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14296 $as_echo "no" >&6; }
14297         have_dep="no"
14298 else
14299         XINE_CFLAGS=$pkg_cv_XINE_CFLAGS
14300         XINE_LIBS=$pkg_cv_XINE_LIBS
14301         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14302 $as_echo "yes" >&6; }
14303
14304     have_dep="yes"
14305     requirement="libxine"
14306
14307 fi
14308
14309 if test "x${enable_module}" = "xstatic" ; then
14310    requirement_emotion="${requirement} ${requirement_emotion}"
14311 fi
14312
14313 if test "x$have_dep" = "xyes"; then :
14314   have_module="yes"
14315 else
14316   have_module="no"
14317 fi
14318
14319
14320 fi
14321
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Xine module built" >&5
14323 $as_echo_n "checking whether to enable Xine module built... " >&6; }
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_module}" >&5
14325 $as_echo "${have_module}" >&6; }
14326
14327 static_module="no"
14328 if test "x${have_module}" = "xyes" && test "x${enable_module}" = "xstatic" ; then
14329    static_module="yes"
14330 fi
14331
14332  if test "x${have_module}" = "xyes"; then
14333   EMOTION_BUILD_XINE_TRUE=
14334   EMOTION_BUILD_XINE_FALSE='#'
14335 else
14336   EMOTION_BUILD_XINE_TRUE='#'
14337   EMOTION_BUILD_XINE_FALSE=
14338 fi
14339
14340  if test "x${static_module}" = "xyes"; then
14341   EMOTION_STATIC_BUILD_XINE_TRUE=
14342   EMOTION_STATIC_BUILD_XINE_FALSE='#'
14343 else
14344   EMOTION_STATIC_BUILD_XINE_TRUE='#'
14345   EMOTION_STATIC_BUILD_XINE_FALSE=
14346 fi
14347
14348
14349 if test "x${static_module}" = "xyes" ; then
14350
14351 $as_echo "#define EMOTION_STATIC_BUILD_XINE 1" >>confdefs.h
14352
14353    have_static_module="yes"
14354 fi
14355
14356 enable_xine="no"
14357 if test "x${have_module}" = "xyes" ; then
14358    enable_xine=${enable_module}
14359
14360 $as_echo "#define EMOTION_BUILD_XINE 1" >>confdefs.h
14361
14362 fi
14363
14364 if test "x$have_module" = "xyes"; then :
14365
14366 fi
14367
14368
14369
14370
14371
14372
14373 want_module="${want_gstreamer}"
14374
14375 # Check whether --enable-gstreamer was given.
14376 if test "${enable_gstreamer+set}" = set; then :
14377   enableval=$enable_gstreamer;
14378     if test "x${enableval}" = "xyes" ; then
14379        enable_module="yes"
14380     else
14381        if test "x${enableval}" = "xstatic" ; then
14382           enable_module="static"
14383        else
14384           enable_module="no"
14385        fi
14386     fi
14387
14388 else
14389   enable_module="yes"
14390 fi
14391
14392
14393 if test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic" ; then
14394    want_module="yes"
14395 fi
14396
14397 have_module="no"
14398 if test "x${want_module}" = "xyes" && (test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic") ; then
14399
14400
14401 GST_REQS=0.10.2
14402 GSTPLUG_REQS=0.10.1
14403 GST_MAJORMINOR=0.10
14404
14405 requirement=""
14406
14407 pkg_failed=no
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER" >&5
14409 $as_echo_n "checking for GSTREAMER... " >&6; }
14410
14411 if test -n "$GSTREAMER_CFLAGS"; then
14412     pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS"
14413  elif test -n "$PKG_CONFIG"; then
14414     if test -n "$PKG_CONFIG" && \
14415     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_MAJORMINOR >= \$GST_REQS gstreamer-plugins-base-\$GST_MAJORMINOR >= \$GSTPLUG_REQS gstreamer-video-\$GST_MAJORMINOR >= \$GSTPLUG_REQS evas >= 1.0.0 eina >= 1.1.99\""; } >&5
14416   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQS gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPLUG_REQS gstreamer-video-$GST_MAJORMINOR >= $GSTPLUG_REQS evas >= 1.0.0 eina >= 1.1.99") 2>&5
14417   ac_status=$?
14418   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14419   test $ac_status = 0; }; then
14420   pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR >= $GST_REQS gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPLUG_REQS gstreamer-video-$GST_MAJORMINOR >= $GSTPLUG_REQS evas >= 1.0.0 eina >= 1.1.99" 2>/dev/null`
14421                       test "x$?" != "x0" && pkg_failed=yes
14422 else
14423   pkg_failed=yes
14424 fi
14425  else
14426     pkg_failed=untried
14427 fi
14428 if test -n "$GSTREAMER_LIBS"; then
14429     pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS"
14430  elif test -n "$PKG_CONFIG"; then
14431     if test -n "$PKG_CONFIG" && \
14432     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_MAJORMINOR >= \$GST_REQS gstreamer-plugins-base-\$GST_MAJORMINOR >= \$GSTPLUG_REQS gstreamer-video-\$GST_MAJORMINOR >= \$GSTPLUG_REQS evas >= 1.0.0 eina >= 1.1.99\""; } >&5
14433   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQS gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPLUG_REQS gstreamer-video-$GST_MAJORMINOR >= $GSTPLUG_REQS evas >= 1.0.0 eina >= 1.1.99") 2>&5
14434   ac_status=$?
14435   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14436   test $ac_status = 0; }; then
14437   pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQS gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPLUG_REQS gstreamer-video-$GST_MAJORMINOR >= $GSTPLUG_REQS evas >= 1.0.0 eina >= 1.1.99" 2>/dev/null`
14438                       test "x$?" != "x0" && pkg_failed=yes
14439 else
14440   pkg_failed=yes
14441 fi
14442  else
14443     pkg_failed=untried
14444 fi
14445
14446
14447
14448 if test $pkg_failed = yes; then
14449         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14450 $as_echo "no" >&6; }
14451
14452 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14453         _pkg_short_errors_supported=yes
14454 else
14455         _pkg_short_errors_supported=no
14456 fi
14457         if test $_pkg_short_errors_supported = yes; then
14458                 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQS gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPLUG_REQS gstreamer-video-$GST_MAJORMINOR >= $GSTPLUG_REQS evas >= 1.0.0 eina >= 1.1.99" 2>&1`
14459         else
14460                 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQS gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPLUG_REQS gstreamer-video-$GST_MAJORMINOR >= $GSTPLUG_REQS evas >= 1.0.0 eina >= 1.1.99" 2>&1`
14461         fi
14462         # Put the nasty error message in config.log where it belongs
14463         echo "$GSTREAMER_PKG_ERRORS" >&5
14464
14465         have_dep="no"
14466 elif test $pkg_failed = untried; then
14467         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14468 $as_echo "no" >&6; }
14469         have_dep="no"
14470 else
14471         GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS
14472         GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS
14473         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14474 $as_echo "yes" >&6; }
14475
14476     have_dep="yes"
14477     requirement="gstreamer-$GST_MAJORMINOR gstreamer-plugins-base-$GST_MAJORMINOR"
14478
14479 fi
14480
14481 if test "x${enable_module}" = "xstatic" ; then
14482    requirement_emotion="${requirement} ${requirement_emotion}"
14483 fi
14484
14485 if test "x$have_dep" = "xyes"; then :
14486   have_module="yes"
14487 else
14488   have_module="no"
14489 fi
14490
14491
14492 fi
14493
14494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Gstreamer module built" >&5
14495 $as_echo_n "checking whether to enable Gstreamer module built... " >&6; }
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_module}" >&5
14497 $as_echo "${have_module}" >&6; }
14498
14499 static_module="no"
14500 if test "x${have_module}" = "xyes" && test "x${enable_module}" = "xstatic" ; then
14501    static_module="yes"
14502 fi
14503
14504  if test "x${have_module}" = "xyes"; then
14505   EMOTION_BUILD_GSTREAMER_TRUE=
14506   EMOTION_BUILD_GSTREAMER_FALSE='#'
14507 else
14508   EMOTION_BUILD_GSTREAMER_TRUE='#'
14509   EMOTION_BUILD_GSTREAMER_FALSE=
14510 fi
14511
14512  if test "x${static_module}" = "xyes"; then
14513   EMOTION_STATIC_BUILD_GSTREAMER_TRUE=
14514   EMOTION_STATIC_BUILD_GSTREAMER_FALSE='#'
14515 else
14516   EMOTION_STATIC_BUILD_GSTREAMER_TRUE='#'
14517   EMOTION_STATIC_BUILD_GSTREAMER_FALSE=
14518 fi
14519
14520
14521 if test "x${static_module}" = "xyes" ; then
14522
14523 $as_echo "#define EMOTION_STATIC_BUILD_GSTREAMER 1" >>confdefs.h
14524
14525    have_static_module="yes"
14526 fi
14527
14528 enable_gstreamer="no"
14529 if test "x${have_module}" = "xyes" ; then
14530    enable_gstreamer=${enable_module}
14531
14532 $as_echo "#define EMOTION_BUILD_GSTREAMER 1" >>confdefs.h
14533
14534 fi
14535
14536 if test "x$have_module" = "xyes"; then :
14537
14538 fi
14539
14540
14541
14542
14543
14544
14545 want_module="${want_generic}"
14546
14547 # Check whether --enable-generic was given.
14548 if test "${enable_generic+set}" = set; then :
14549   enableval=$enable_generic;
14550     if test "x${enableval}" = "xyes" ; then
14551        enable_module="yes"
14552     else
14553        if test "x${enableval}" = "xstatic" ; then
14554           enable_module="static"
14555        else
14556           enable_module="no"
14557        fi
14558     fi
14559
14560 else
14561   enable_module="yes"
14562 fi
14563
14564
14565 if test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic" ; then
14566    want_module="yes"
14567 fi
14568
14569 have_module="no"
14570 if test "x${want_module}" = "xyes" && (test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic") ; then
14571
14572
14573 requirement=""
14574
14575
14576 pkg_failed=no
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GENERIC" >&5
14578 $as_echo_n "checking for GENERIC... " >&6; }
14579
14580 if test -n "$GENERIC_CFLAGS"; then
14581     pkg_cv_GENERIC_CFLAGS="$GENERIC_CFLAGS"
14582  elif test -n "$PKG_CONFIG"; then
14583     if test -n "$PKG_CONFIG" && \
14584     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.0.0\""; } >&5
14585   ($PKG_CONFIG --exists --print-errors "evas >= 1.0.0") 2>&5
14586   ac_status=$?
14587   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14588   test $ac_status = 0; }; then
14589   pkg_cv_GENERIC_CFLAGS=`$PKG_CONFIG --cflags "evas >= 1.0.0" 2>/dev/null`
14590                       test "x$?" != "x0" && pkg_failed=yes
14591 else
14592   pkg_failed=yes
14593 fi
14594  else
14595     pkg_failed=untried
14596 fi
14597 if test -n "$GENERIC_LIBS"; then
14598     pkg_cv_GENERIC_LIBS="$GENERIC_LIBS"
14599  elif test -n "$PKG_CONFIG"; then
14600     if test -n "$PKG_CONFIG" && \
14601     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.0.0\""; } >&5
14602   ($PKG_CONFIG --exists --print-errors "evas >= 1.0.0") 2>&5
14603   ac_status=$?
14604   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14605   test $ac_status = 0; }; then
14606   pkg_cv_GENERIC_LIBS=`$PKG_CONFIG --libs "evas >= 1.0.0" 2>/dev/null`
14607                       test "x$?" != "x0" && pkg_failed=yes
14608 else
14609   pkg_failed=yes
14610 fi
14611  else
14612     pkg_failed=untried
14613 fi
14614
14615
14616
14617 if test $pkg_failed = yes; then
14618         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14619 $as_echo "no" >&6; }
14620
14621 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14622         _pkg_short_errors_supported=yes
14623 else
14624         _pkg_short_errors_supported=no
14625 fi
14626         if test $_pkg_short_errors_supported = yes; then
14627                 GENERIC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evas >= 1.0.0" 2>&1`
14628         else
14629                 GENERIC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evas >= 1.0.0" 2>&1`
14630         fi
14631         # Put the nasty error message in config.log where it belongs
14632         echo "$GENERIC_PKG_ERRORS" >&5
14633
14634         have_dep="no"
14635 elif test $pkg_failed = untried; then
14636         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14637 $as_echo "no" >&6; }
14638         have_dep="no"
14639 else
14640         GENERIC_CFLAGS=$pkg_cv_GENERIC_CFLAGS
14641         GENERIC_LIBS=$pkg_cv_GENERIC_LIBS
14642         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14643 $as_echo "yes" >&6; }
14644
14645     have_dep="yes"
14646
14647 fi
14648
14649 if test "x${enable_module}" = "xstatic" ; then
14650    requirement_emotion="${requirement} ${requirement_emotion}"
14651 fi
14652
14653 if test "x$have_dep" = "xyes"; then :
14654   have_module="yes"
14655 else
14656   have_module="no"
14657 fi
14658
14659
14660 fi
14661
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Generic module built" >&5
14663 $as_echo_n "checking whether to enable Generic module built... " >&6; }
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_module}" >&5
14665 $as_echo "${have_module}" >&6; }
14666
14667 static_module="no"
14668 if test "x${have_module}" = "xyes" && test "x${enable_module}" = "xstatic" ; then
14669    static_module="yes"
14670 fi
14671
14672  if test "x${have_module}" = "xyes"; then
14673   EMOTION_BUILD_GENERIC_TRUE=
14674   EMOTION_BUILD_GENERIC_FALSE='#'
14675 else
14676   EMOTION_BUILD_GENERIC_TRUE='#'
14677   EMOTION_BUILD_GENERIC_FALSE=
14678 fi
14679
14680  if test "x${static_module}" = "xyes"; then
14681   EMOTION_STATIC_BUILD_GENERIC_TRUE=
14682   EMOTION_STATIC_BUILD_GENERIC_FALSE='#'
14683 else
14684   EMOTION_STATIC_BUILD_GENERIC_TRUE='#'
14685   EMOTION_STATIC_BUILD_GENERIC_FALSE=
14686 fi
14687
14688
14689 if test "x${static_module}" = "xyes" ; then
14690
14691 $as_echo "#define EMOTION_STATIC_BUILD_GENERIC 1" >>confdefs.h
14692
14693    have_static_module="yes"
14694 fi
14695
14696 enable_generic="no"
14697 if test "x${have_module}" = "xyes" ; then
14698    enable_generic=${enable_module}
14699
14700 $as_echo "#define EMOTION_BUILD_GENERIC 1" >>confdefs.h
14701
14702 fi
14703
14704 if test "x$have_module" = "xyes"; then :
14705
14706 fi
14707
14708
14709
14710
14711
14712
14713
14714 want_module="${want_generic_vlc}"
14715
14716 # Check whether --enable-generic-vlc was given.
14717 if test "${enable_generic_vlc+set}" = set; then :
14718   enableval=$enable_generic_vlc;
14719     if test "x${enableval}" = "xyes" ; then
14720        enable_module="yes"
14721     else
14722        enable_module="no"
14723     fi
14724
14725 else
14726   enable_module="auto"
14727 fi
14728
14729
14730 # shm_open
14731
14732 _efl_have_shm_open="no"
14733
14734
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in libc" >&5
14736 $as_echo_n "checking for shm_open in libc... " >&6; }
14737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14738 /* end confdefs.h.  */
14739
14740 #include <sys/mman.h>
14741 #include <sys/stat.h>        /* For mode constants */
14742 #include <fcntl.h>           /* For O_* constants */
14743
14744 int
14745 main ()
14746 {
14747
14748 int fd;
14749
14750 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
14751
14752   ;
14753   return 0;
14754 }
14755 _ACEOF
14756 if ac_fn_c_try_link "$LINENO"; then :
14757   _efl_have_shm_open="yes"
14758 else
14759   _efl_have_shm_open="no"
14760 fi
14761 rm -f core conftest.err conftest.$ac_objext \
14762     conftest$ac_exeext conftest.$ac_ext
14763
14764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
14765 $as_echo "${_efl_have_shm_open}" >&6; }
14766
14767 if test "x$_efl_have_shm_open" = "xno" ; then
14768    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in librt" >&5
14769 $as_echo_n "checking for shm_open in librt... " >&6; }
14770
14771    LIBS_save="${LIBS}"
14772    LIBS="${LIBS} -lrt"
14773    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14774 /* end confdefs.h.  */
14775
14776 #include <sys/mman.h>
14777 #include <sys/stat.h>        /* For mode constants */
14778 #include <fcntl.h>           /* For O_* constants */
14779
14780 int
14781 main ()
14782 {
14783
14784 int fd;
14785
14786 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
14787
14788   ;
14789   return 0;
14790 }
14791 _ACEOF
14792 if ac_fn_c_try_link "$LINENO"; then :
14793
14794        EFL_SHM_OPEN_LIBS="-lrt"
14795        _efl_have_shm_open="yes"
14796 else
14797   _efl_have_shm_open="no"
14798 fi
14799 rm -f core conftest.err conftest.$ac_objext \
14800     conftest$ac_exeext conftest.$ac_ext
14801
14802    LIBS="${LIBS_save}"
14803
14804    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
14805 $as_echo "${_efl_have_shm_open}" >&6; }
14806 fi
14807
14808
14809
14810 if test "x$_efl_have_shm_open" = "xyes" ; then
14811
14812 $as_echo "#define HAVE_SHM_OPEN 1" >>confdefs.h
14813
14814 fi
14815
14816 if test "x$_efl_have_shm_open" = "xyes"; then :
14817   have_shm_open="yes"
14818 else
14819   have_shm_open="no"
14820 fi
14821
14822
14823
14824 if test "x${have_shm_open}" != "xyes"; then
14825   enable_generic="no"
14826 fi
14827
14828 if test "x${enable_generic}" != "xyes" && test "x${enable_generic}" != "xstatic"; then
14829    if test "x${enable_module}" = "xyes"; then
14830       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Generic module is disabled, force disable of Generic Player VLC" >&5
14831 $as_echo "$as_me: WARNING: Generic module is disabled, force disable of Generic Player VLC" >&2;}
14832    fi
14833    enable_module="no"
14834    want_module="no"
14835 fi
14836
14837 if test "x${enable_module}" = "xauto"; then
14838    enable_module="${want_module}"
14839 elif test "x${enable_module}" = "xyes"; then
14840    want_module="yes"
14841 fi
14842
14843 have_module="no"
14844 if test "x${want_module}" = "xyes" && test "x${enable_module}" = "xyes"; then
14845
14846
14847 requirement=""
14848
14849
14850 pkg_failed=no
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GENERIC_VLC" >&5
14852 $as_echo_n "checking for GENERIC_VLC... " >&6; }
14853
14854 if test -n "$GENERIC_VLC_CFLAGS"; then
14855     pkg_cv_GENERIC_VLC_CFLAGS="$GENERIC_VLC_CFLAGS"
14856  elif test -n "$PKG_CONFIG"; then
14857     if test -n "$PKG_CONFIG" && \
14858     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvlc >= 0.9 eina >= 1.1.99\""; } >&5
14859   ($PKG_CONFIG --exists --print-errors "libvlc >= 0.9 eina >= 1.1.99") 2>&5
14860   ac_status=$?
14861   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14862   test $ac_status = 0; }; then
14863   pkg_cv_GENERIC_VLC_CFLAGS=`$PKG_CONFIG --cflags "libvlc >= 0.9 eina >= 1.1.99" 2>/dev/null`
14864                       test "x$?" != "x0" && pkg_failed=yes
14865 else
14866   pkg_failed=yes
14867 fi
14868  else
14869     pkg_failed=untried
14870 fi
14871 if test -n "$GENERIC_VLC_LIBS"; then
14872     pkg_cv_GENERIC_VLC_LIBS="$GENERIC_VLC_LIBS"
14873  elif test -n "$PKG_CONFIG"; then
14874     if test -n "$PKG_CONFIG" && \
14875     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvlc >= 0.9 eina >= 1.1.99\""; } >&5
14876   ($PKG_CONFIG --exists --print-errors "libvlc >= 0.9 eina >= 1.1.99") 2>&5
14877   ac_status=$?
14878   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14879   test $ac_status = 0; }; then
14880   pkg_cv_GENERIC_VLC_LIBS=`$PKG_CONFIG --libs "libvlc >= 0.9 eina >= 1.1.99" 2>/dev/null`
14881                       test "x$?" != "x0" && pkg_failed=yes
14882 else
14883   pkg_failed=yes
14884 fi
14885  else
14886     pkg_failed=untried
14887 fi
14888
14889
14890
14891 if test $pkg_failed = yes; then
14892         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14893 $as_echo "no" >&6; }
14894
14895 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14896         _pkg_short_errors_supported=yes
14897 else
14898         _pkg_short_errors_supported=no
14899 fi
14900         if test $_pkg_short_errors_supported = yes; then
14901                 GENERIC_VLC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libvlc >= 0.9 eina >= 1.1.99" 2>&1`
14902         else
14903                 GENERIC_VLC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libvlc >= 0.9 eina >= 1.1.99" 2>&1`
14904         fi
14905         # Put the nasty error message in config.log where it belongs
14906         echo "$GENERIC_VLC_PKG_ERRORS" >&5
14907
14908         have_dep="no"
14909 elif test $pkg_failed = untried; then
14910         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14911 $as_echo "no" >&6; }
14912         have_dep="no"
14913 else
14914         GENERIC_VLC_CFLAGS=$pkg_cv_GENERIC_VLC_CFLAGS
14915         GENERIC_VLC_LIBS=$pkg_cv_GENERIC_VLC_LIBS
14916         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14917 $as_echo "yes" >&6; }
14918
14919     have_dep="yes"
14920     requirement="libvlc"
14921
14922 fi
14923
14924 if test "x${enable_module}" = "xstatic" ; then
14925    requirement_emotion="${requirement} ${requirement_emotion}"
14926 fi
14927
14928 if test "x$have_dep" = "xyes"; then :
14929   have_module="yes"
14930 else
14931   have_module="no"
14932 fi
14933
14934
14935 fi
14936
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to enable Generic Player VLC" >&5
14938 $as_echo_n "checking Whether to enable Generic Player VLC... " >&6; }
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_module}" >&5
14940 $as_echo "${have_module}" >&6; }
14941
14942  if test "x${have_module}" = "xyes"; then
14943   EMOTION_BUILD_GENERIC_VLC_TRUE=
14944   EMOTION_BUILD_GENERIC_VLC_FALSE='#'
14945 else
14946   EMOTION_BUILD_GENERIC_VLC_TRUE='#'
14947   EMOTION_BUILD_GENERIC_VLC_FALSE=
14948 fi
14949
14950
14951 enable_generic_vlc="no"
14952 if test "x${have_module}" = "xyes" ; then
14953    enable_generic_vlc=${enable_module}
14954
14955 $as_echo "#define EMOTION_BUILD_GENERIC_VLC 1" >>confdefs.h
14956
14957 fi
14958
14959 if test "x$have_module" = "xyes"; then :
14960
14961 fi
14962
14963
14964
14965
14966
14967 if test "x${enable_xine}" = "xno" && test "x${enable_gstreamer}" = "xno" && test "x${enable_generic}" = "xno" ; then
14968    as_fn_error $? "Xine, Gstreamer or Generic backends must be selected to build Emotion" "$LINENO" 5
14969 fi
14970
14971 # Check if gstreamer X Overlay is available
14972 build_xoverlay="no"
14973 if test "x${enable_gstreamer}" = "xyes" ; then
14974
14975 pkg_failed=no
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER_INTERFACE" >&5
14977 $as_echo_n "checking for GSTREAMER_INTERFACE... " >&6; }
14978
14979 if test -n "$GSTREAMER_INTERFACE_CFLAGS"; then
14980     pkg_cv_GSTREAMER_INTERFACE_CFLAGS="$GSTREAMER_INTERFACE_CFLAGS"
14981  elif test -n "$PKG_CONFIG"; then
14982     if test -n "$PKG_CONFIG" && \
14983     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-interfaces-0.10 >= 0.10.34\""; } >&5
14984   ($PKG_CONFIG --exists --print-errors "gstreamer-interfaces-0.10 >= 0.10.34") 2>&5
14985   ac_status=$?
14986   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14987   test $ac_status = 0; }; then
14988   pkg_cv_GSTREAMER_INTERFACE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-interfaces-0.10 >= 0.10.34" 2>/dev/null`
14989                       test "x$?" != "x0" && pkg_failed=yes
14990 else
14991   pkg_failed=yes
14992 fi
14993  else
14994     pkg_failed=untried
14995 fi
14996 if test -n "$GSTREAMER_INTERFACE_LIBS"; then
14997     pkg_cv_GSTREAMER_INTERFACE_LIBS="$GSTREAMER_INTERFACE_LIBS"
14998  elif test -n "$PKG_CONFIG"; then
14999     if test -n "$PKG_CONFIG" && \
15000     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-interfaces-0.10 >= 0.10.34\""; } >&5
15001   ($PKG_CONFIG --exists --print-errors "gstreamer-interfaces-0.10 >= 0.10.34") 2>&5
15002   ac_status=$?
15003   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15004   test $ac_status = 0; }; then
15005   pkg_cv_GSTREAMER_INTERFACE_LIBS=`$PKG_CONFIG --libs "gstreamer-interfaces-0.10 >= 0.10.34" 2>/dev/null`
15006                       test "x$?" != "x0" && pkg_failed=yes
15007 else
15008   pkg_failed=yes
15009 fi
15010  else
15011     pkg_failed=untried
15012 fi
15013
15014
15015
15016 if test $pkg_failed = yes; then
15017         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15018 $as_echo "no" >&6; }
15019
15020 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15021         _pkg_short_errors_supported=yes
15022 else
15023         _pkg_short_errors_supported=no
15024 fi
15025         if test $_pkg_short_errors_supported = yes; then
15026                 GSTREAMER_INTERFACE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-interfaces-0.10 >= 0.10.34" 2>&1`
15027         else
15028                 GSTREAMER_INTERFACE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-interfaces-0.10 >= 0.10.34" 2>&1`
15029         fi
15030         # Put the nasty error message in config.log where it belongs
15031         echo "$GSTREAMER_INTERFACE_PKG_ERRORS" >&5
15032
15033         build_xoverlay="no"
15034 elif test $pkg_failed = untried; then
15035         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15036 $as_echo "no" >&6; }
15037         build_xoverlay="no"
15038 else
15039         GSTREAMER_INTERFACE_CFLAGS=$pkg_cv_GSTREAMER_INTERFACE_CFLAGS
15040         GSTREAMER_INTERFACE_LIBS=$pkg_cv_GSTREAMER_INTERFACE_LIBS
15041         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15042 $as_echo "yes" >&6; }
15043         build_xoverlay="yes"
15044 fi
15045    if test "x${build_xoverlay}" = "xyes" ; then
15046       save_CPPFLAGS=$CPPFLAGS
15047       CPPFLAGS="$CPPFLAGS ${GSTREAMER_CFLAGS} ${GSTREAMER_INTERFACE_CFLAGS}"
15048       ac_fn_c_check_header_mongrel "$LINENO" "gst/interfaces/xoverlay.h" "ac_cv_header_gst_interfaces_xoverlay_h" "$ac_includes_default"
15049 if test "x$ac_cv_header_gst_interfaces_xoverlay_h" = xyes; then :
15050
15051
15052 $as_echo "#define HAVE_XOVERLAY_H 1" >>confdefs.h
15053
15054           build_xoverlay="yes"
15055
15056 else
15057   build_xoverlay="no"
15058 fi
15059
15060
15061       CPPFLAGS=$save_CPPFLAGS
15062
15063       save_LDFLAGS=${LDFLAGS}
15064       LDFLAGS="${LDFLAGS} ${GSTREAMER_INTERFACES}"
15065       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_x_overlay_set_window_handle in -lgstinterfaces-0.10" >&5
15066 $as_echo_n "checking for gst_x_overlay_set_window_handle in -lgstinterfaces-0.10... " >&6; }
15067 if ${ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle+:} false; then :
15068   $as_echo_n "(cached) " >&6
15069 else
15070   ac_check_lib_save_LIBS=$LIBS
15071 LIBS="-lgstinterfaces-0.10  $LIBS"
15072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15073 /* end confdefs.h.  */
15074
15075 /* Override any GCC internal prototype to avoid an error.
15076    Use char because int might match the return type of a GCC
15077    builtin and then its argument prototype would still apply.  */
15078 #ifdef __cplusplus
15079 extern "C"
15080 #endif
15081 char gst_x_overlay_set_window_handle ();
15082 int
15083 main ()
15084 {
15085 return gst_x_overlay_set_window_handle ();
15086   ;
15087   return 0;
15088 }
15089 _ACEOF
15090 if ac_fn_c_try_link "$LINENO"; then :
15091   ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle=yes
15092 else
15093   ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle=no
15094 fi
15095 rm -f core conftest.err conftest.$ac_objext \
15096     conftest$ac_exeext conftest.$ac_ext
15097 LIBS=$ac_check_lib_save_LIBS
15098 fi
15099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle" >&5
15100 $as_echo "$ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle" >&6; }
15101 if test "x$ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle" = xyes; then :
15102
15103 $as_echo "#define HAVE_X_OVERLAY_SET 1" >>confdefs.h
15104
15105 fi
15106
15107       LDFLAGS=$sava_LDFLAGS
15108    fi
15109 fi
15110
15111 ### install and build examples
15112
15113
15114
15115
15116 # Check whether --enable-build-examples was given.
15117 if test "${enable_build_examples+set}" = set; then :
15118   enableval=$enable_build_examples;
15119     if test "x${enableval}" = "xyes" ; then
15120        _efl_enable_build_examples="yes"
15121     else
15122        _efl_enable_build_examples="no"
15123     fi
15124
15125 else
15126   _efl_enable_build_examples="no"
15127 fi
15128
15129
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are built" >&5
15131 $as_echo_n "checking whether examples are built... " >&6; }
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_build_examples}" >&5
15133 $as_echo "${_efl_enable_build_examples}" >&6; }
15134
15135  if test "x${_efl_enable_build_examples}" = "xyes"; then
15136   EFL_BUILD_EXAMPLES_TRUE=
15137   EFL_BUILD_EXAMPLES_FALSE='#'
15138 else
15139   EFL_BUILD_EXAMPLES_TRUE='#'
15140   EFL_BUILD_EXAMPLES_FALSE=
15141 fi
15142
15143
15144 if test "x$_efl_enable_build_examples" = "xyes"; then :
15145   enable_build_examples="yes"
15146 else
15147   enable_build_examples="no"
15148 fi
15149
15150
15151
15152
15153 # Check whether --enable-install-examples was given.
15154 if test "${enable_install_examples+set}" = set; then :
15155   enableval=$enable_install_examples;
15156     if test "x${enableval}" = "xyes" ; then
15157        _efl_enable_install_examples="yes"
15158     else
15159        _efl_enable_install_examples="no"
15160     fi
15161
15162 else
15163   _efl_enable_install_examples="no"
15164 fi
15165
15166
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are installed" >&5
15168 $as_echo_n "checking whether examples are installed... " >&6; }
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_install_examples}" >&5
15170 $as_echo "${_efl_enable_install_examples}" >&6; }
15171
15172  if test "x${_efl_enable_install_examples}" = "xyes"; then
15173   EFL_INSTALL_EXAMPLES_TRUE=
15174   EFL_INSTALL_EXAMPLES_FALSE='#'
15175 else
15176   EFL_INSTALL_EXAMPLES_TRUE='#'
15177   EFL_INSTALL_EXAMPLES_FALSE=
15178 fi
15179
15180
15181 if test "x$_efl_enable_install_examples" = "xyes"; then :
15182   enable_install_examples="yes"
15183 else
15184   enable_install_examples="no"
15185 fi
15186
15187
15188
15189
15190 ac_config_files="$ac_config_files Makefile emotion.pc emotion.spec src/Makefile src/lib/Makefile src/modules/Makefile src/modules/xine/Makefile src/modules/gstreamer/Makefile src/modules/generic/Makefile src/edje_external/Makefile src/generic_players/Makefile src/generic_players/vlc/Makefile src/bin/Makefile src/examples/Makefile doc/Makefile doc/Doxyfile data/Makefile"
15191
15192 cat >confcache <<\_ACEOF
15193 # This file is a shell script that caches the results of configure
15194 # tests run on this system so they can be shared between configure
15195 # scripts and configure runs, see configure's option --config-cache.
15196 # It is not useful on other systems.  If it contains results you don't
15197 # want to keep, you may remove or edit it.
15198 #
15199 # config.status only pays attention to the cache file if you give it
15200 # the --recheck option to rerun configure.
15201 #
15202 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15203 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15204 # following values.
15205
15206 _ACEOF
15207
15208 # The following way of writing the cache mishandles newlines in values,
15209 # but we know of no workaround that is simple, portable, and efficient.
15210 # So, we kill variables containing newlines.
15211 # Ultrix sh set writes to stderr and can't be redirected directly,
15212 # and sets the high bit in the cache file unless we assign to the vars.
15213 (
15214   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15215     eval ac_val=\$$ac_var
15216     case $ac_val in #(
15217     *${as_nl}*)
15218       case $ac_var in #(
15219       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15220 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15221       esac
15222       case $ac_var in #(
15223       _ | IFS | as_nl) ;; #(
15224       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15225       *) { eval $ac_var=; unset $ac_var;} ;;
15226       esac ;;
15227     esac
15228   done
15229
15230   (set) 2>&1 |
15231     case $as_nl`(ac_space=' '; set) 2>&1` in #(
15232     *${as_nl}ac_space=\ *)
15233       # `set' does not quote correctly, so add quotes: double-quote
15234       # substitution turns \\\\ into \\, and sed turns \\ into \.
15235       sed -n \
15236         "s/'/'\\\\''/g;
15237           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15238       ;; #(
15239     *)
15240       # `set' quotes correctly as required by POSIX, so do not add quotes.
15241       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15242       ;;
15243     esac |
15244     sort
15245 ) |
15246   sed '
15247      /^ac_cv_env_/b end
15248      t clear
15249      :clear
15250      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15251      t end
15252      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15253      :end' >>confcache
15254 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15255   if test -w "$cache_file"; then
15256     if test "x$cache_file" != "x/dev/null"; then
15257       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15258 $as_echo "$as_me: updating cache $cache_file" >&6;}
15259       if test ! -f "$cache_file" || test -h "$cache_file"; then
15260         cat confcache >"$cache_file"
15261       else
15262         case $cache_file in #(
15263         */* | ?:*)
15264           mv -f confcache "$cache_file"$$ &&
15265           mv -f "$cache_file"$$ "$cache_file" ;; #(
15266         *)
15267           mv -f confcache "$cache_file" ;;
15268         esac
15269       fi
15270     fi
15271   else
15272     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15273 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15274   fi
15275 fi
15276 rm -f confcache
15277
15278 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15279 # Let make expand exec_prefix.
15280 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15281
15282 DEFS=-DHAVE_CONFIG_H
15283
15284 ac_libobjs=
15285 ac_ltlibobjs=
15286 U=
15287 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15288   # 1. Remove the extension, and $U if already installed.
15289   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15290   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15291   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15292   #    will be set to the directory where LIBOBJS objects are built.
15293   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15294   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15295 done
15296 LIBOBJS=$ac_libobjs
15297
15298 LTLIBOBJS=$ac_ltlibobjs
15299
15300
15301 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15302   as_fn_error $? "conditional \"AMDEP\" was never defined.
15303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15304 fi
15305 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15306   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15308 fi
15309  if test -n "$EXEEXT"; then
15310   am__EXEEXT_TRUE=
15311   am__EXEEXT_FALSE='#'
15312 else
15313   am__EXEEXT_TRUE='#'
15314   am__EXEEXT_FALSE=
15315 fi
15316
15317 if test -z "${BUILD_EMOTION_TEST_TRUE}" && test -z "${BUILD_EMOTION_TEST_FALSE}"; then
15318   as_fn_error $? "conditional \"BUILD_EMOTION_TEST\" was never defined.
15319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15320 fi
15321 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
15322   as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
15323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15324 fi
15325 if test -z "${ENABLE_EDJE_EXTERNAL_TRUE}" && test -z "${ENABLE_EDJE_EXTERNAL_FALSE}"; then
15326   as_fn_error $? "conditional \"ENABLE_EDJE_EXTERNAL\" was never defined.
15327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15328 fi
15329 if test -z "${HAVE_EIO_TRUE}" && test -z "${HAVE_EIO_FALSE}"; then
15330   as_fn_error $? "conditional \"HAVE_EIO\" was never defined.
15331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15332 fi
15333
15334 if test -z "${EMOTION_BUILD_XINE_TRUE}" && test -z "${EMOTION_BUILD_XINE_FALSE}"; then
15335   as_fn_error $? "conditional \"EMOTION_BUILD_XINE\" was never defined.
15336 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15337 fi
15338 if test -z "${EMOTION_STATIC_BUILD_XINE_TRUE}" && test -z "${EMOTION_STATIC_BUILD_XINE_FALSE}"; then
15339   as_fn_error $? "conditional \"EMOTION_STATIC_BUILD_XINE\" was never defined.
15340 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15341 fi
15342 if test -z "${EMOTION_BUILD_GSTREAMER_TRUE}" && test -z "${EMOTION_BUILD_GSTREAMER_FALSE}"; then
15343   as_fn_error $? "conditional \"EMOTION_BUILD_GSTREAMER\" was never defined.
15344 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15345 fi
15346 if test -z "${EMOTION_STATIC_BUILD_GSTREAMER_TRUE}" && test -z "${EMOTION_STATIC_BUILD_GSTREAMER_FALSE}"; then
15347   as_fn_error $? "conditional \"EMOTION_STATIC_BUILD_GSTREAMER\" was never defined.
15348 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15349 fi
15350 if test -z "${EMOTION_BUILD_GENERIC_TRUE}" && test -z "${EMOTION_BUILD_GENERIC_FALSE}"; then
15351   as_fn_error $? "conditional \"EMOTION_BUILD_GENERIC\" was never defined.
15352 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15353 fi
15354 if test -z "${EMOTION_STATIC_BUILD_GENERIC_TRUE}" && test -z "${EMOTION_STATIC_BUILD_GENERIC_FALSE}"; then
15355   as_fn_error $? "conditional \"EMOTION_STATIC_BUILD_GENERIC\" was never defined.
15356 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15357 fi
15358 if test -z "${EMOTION_BUILD_GENERIC_VLC_TRUE}" && test -z "${EMOTION_BUILD_GENERIC_VLC_FALSE}"; then
15359   as_fn_error $? "conditional \"EMOTION_BUILD_GENERIC_VLC\" was never defined.
15360 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15361 fi
15362 if test -z "${EFL_BUILD_EXAMPLES_TRUE}" && test -z "${EFL_BUILD_EXAMPLES_FALSE}"; then
15363   as_fn_error $? "conditional \"EFL_BUILD_EXAMPLES\" was never defined.
15364 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15365 fi
15366 if test -z "${EFL_INSTALL_EXAMPLES_TRUE}" && test -z "${EFL_INSTALL_EXAMPLES_FALSE}"; then
15367   as_fn_error $? "conditional \"EFL_INSTALL_EXAMPLES\" was never defined.
15368 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15369 fi
15370
15371 : "${CONFIG_STATUS=./config.status}"
15372 ac_write_fail=0
15373 ac_clean_files_save=$ac_clean_files
15374 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15376 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15377 as_write_fail=0
15378 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15379 #! $SHELL
15380 # Generated by $as_me.
15381 # Run this file to recreate the current configuration.
15382 # Compiler output produced by configure, useful for debugging
15383 # configure, is in config.log if it exists.
15384
15385 debug=false
15386 ac_cs_recheck=false
15387 ac_cs_silent=false
15388
15389 SHELL=\${CONFIG_SHELL-$SHELL}
15390 export SHELL
15391 _ASEOF
15392 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15393 ## -------------------- ##
15394 ## M4sh Initialization. ##
15395 ## -------------------- ##
15396
15397 # Be more Bourne compatible
15398 DUALCASE=1; export DUALCASE # for MKS sh
15399 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15400   emulate sh
15401   NULLCMD=:
15402   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15403   # is contrary to our usage.  Disable this feature.
15404   alias -g '${1+"$@"}'='"$@"'
15405   setopt NO_GLOB_SUBST
15406 else
15407   case `(set -o) 2>/dev/null` in #(
15408   *posix*) :
15409     set -o posix ;; #(
15410   *) :
15411      ;;
15412 esac
15413 fi
15414
15415
15416 as_nl='
15417 '
15418 export as_nl
15419 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15420 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15421 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15422 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15423 # Prefer a ksh shell builtin over an external printf program on Solaris,
15424 # but without wasting forks for bash or zsh.
15425 if test -z "$BASH_VERSION$ZSH_VERSION" \
15426     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15427   as_echo='print -r --'
15428   as_echo_n='print -rn --'
15429 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15430   as_echo='printf %s\n'
15431   as_echo_n='printf %s'
15432 else
15433   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15434     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15435     as_echo_n='/usr/ucb/echo -n'
15436   else
15437     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15438     as_echo_n_body='eval
15439       arg=$1;
15440       case $arg in #(
15441       *"$as_nl"*)
15442         expr "X$arg" : "X\\(.*\\)$as_nl";
15443         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15444       esac;
15445       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15446     '
15447     export as_echo_n_body
15448     as_echo_n='sh -c $as_echo_n_body as_echo'
15449   fi
15450   export as_echo_body
15451   as_echo='sh -c $as_echo_body as_echo'
15452 fi
15453
15454 # The user is always right.
15455 if test "${PATH_SEPARATOR+set}" != set; then
15456   PATH_SEPARATOR=:
15457   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15458     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15459       PATH_SEPARATOR=';'
15460   }
15461 fi
15462
15463
15464 # IFS
15465 # We need space, tab and new line, in precisely that order.  Quoting is
15466 # there to prevent editors from complaining about space-tab.
15467 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15468 # splitting by setting IFS to empty value.)
15469 IFS=" ""        $as_nl"
15470
15471 # Find who we are.  Look in the path if we contain no directory separator.
15472 as_myself=
15473 case $0 in #((
15474   *[\\/]* ) as_myself=$0 ;;
15475   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15476 for as_dir in $PATH
15477 do
15478   IFS=$as_save_IFS
15479   test -z "$as_dir" && as_dir=.
15480     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15481   done
15482 IFS=$as_save_IFS
15483
15484      ;;
15485 esac
15486 # We did not find ourselves, most probably we were run as `sh COMMAND'
15487 # in which case we are not to be found in the path.
15488 if test "x$as_myself" = x; then
15489   as_myself=$0
15490 fi
15491 if test ! -f "$as_myself"; then
15492   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15493   exit 1
15494 fi
15495
15496 # Unset variables that we do not need and which cause bugs (e.g. in
15497 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15498 # suppresses any "Segmentation fault" message there.  '((' could
15499 # trigger a bug in pdksh 5.2.14.
15500 for as_var in BASH_ENV ENV MAIL MAILPATH
15501 do eval test x\${$as_var+set} = xset \
15502   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15503 done
15504 PS1='$ '
15505 PS2='> '
15506 PS4='+ '
15507
15508 # NLS nuisances.
15509 LC_ALL=C
15510 export LC_ALL
15511 LANGUAGE=C
15512 export LANGUAGE
15513
15514 # CDPATH.
15515 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15516
15517
15518 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15519 # ----------------------------------------
15520 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15521 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15522 # script with STATUS, using 1 if that was 0.
15523 as_fn_error ()
15524 {
15525   as_status=$1; test $as_status -eq 0 && as_status=1
15526   if test "$4"; then
15527     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15528     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15529   fi
15530   $as_echo "$as_me: error: $2" >&2
15531   as_fn_exit $as_status
15532 } # as_fn_error
15533
15534
15535 # as_fn_set_status STATUS
15536 # -----------------------
15537 # Set $? to STATUS, without forking.
15538 as_fn_set_status ()
15539 {
15540   return $1
15541 } # as_fn_set_status
15542
15543 # as_fn_exit STATUS
15544 # -----------------
15545 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15546 as_fn_exit ()
15547 {
15548   set +e
15549   as_fn_set_status $1
15550   exit $1
15551 } # as_fn_exit
15552
15553 # as_fn_unset VAR
15554 # ---------------
15555 # Portably unset VAR.
15556 as_fn_unset ()
15557 {
15558   { eval $1=; unset $1;}
15559 }
15560 as_unset=as_fn_unset
15561 # as_fn_append VAR VALUE
15562 # ----------------------
15563 # Append the text in VALUE to the end of the definition contained in VAR. Take
15564 # advantage of any shell optimizations that allow amortized linear growth over
15565 # repeated appends, instead of the typical quadratic growth present in naive
15566 # implementations.
15567 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15568   eval 'as_fn_append ()
15569   {
15570     eval $1+=\$2
15571   }'
15572 else
15573   as_fn_append ()
15574   {
15575     eval $1=\$$1\$2
15576   }
15577 fi # as_fn_append
15578
15579 # as_fn_arith ARG...
15580 # ------------------
15581 # Perform arithmetic evaluation on the ARGs, and store the result in the
15582 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15583 # must be portable across $(()) and expr.
15584 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15585   eval 'as_fn_arith ()
15586   {
15587     as_val=$(( $* ))
15588   }'
15589 else
15590   as_fn_arith ()
15591   {
15592     as_val=`expr "$@" || test $? -eq 1`
15593   }
15594 fi # as_fn_arith
15595
15596
15597 if expr a : '\(a\)' >/dev/null 2>&1 &&
15598    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15599   as_expr=expr
15600 else
15601   as_expr=false
15602 fi
15603
15604 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15605   as_basename=basename
15606 else
15607   as_basename=false
15608 fi
15609
15610 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15611   as_dirname=dirname
15612 else
15613   as_dirname=false
15614 fi
15615
15616 as_me=`$as_basename -- "$0" ||
15617 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15618          X"$0" : 'X\(//\)$' \| \
15619          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15620 $as_echo X/"$0" |
15621     sed '/^.*\/\([^/][^/]*\)\/*$/{
15622             s//\1/
15623             q
15624           }
15625           /^X\/\(\/\/\)$/{
15626             s//\1/
15627             q
15628           }
15629           /^X\/\(\/\).*/{
15630             s//\1/
15631             q
15632           }
15633           s/.*/./; q'`
15634
15635 # Avoid depending upon Character Ranges.
15636 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15637 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15638 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15639 as_cr_digits='0123456789'
15640 as_cr_alnum=$as_cr_Letters$as_cr_digits
15641
15642 ECHO_C= ECHO_N= ECHO_T=
15643 case `echo -n x` in #(((((
15644 -n*)
15645   case `echo 'xy\c'` in
15646   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15647   xy)  ECHO_C='\c';;
15648   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15649        ECHO_T=' ';;
15650   esac;;
15651 *)
15652   ECHO_N='-n';;
15653 esac
15654
15655 rm -f conf$$ conf$$.exe conf$$.file
15656 if test -d conf$$.dir; then
15657   rm -f conf$$.dir/conf$$.file
15658 else
15659   rm -f conf$$.dir
15660   mkdir conf$$.dir 2>/dev/null
15661 fi
15662 if (echo >conf$$.file) 2>/dev/null; then
15663   if ln -s conf$$.file conf$$ 2>/dev/null; then
15664     as_ln_s='ln -s'
15665     # ... but there are two gotchas:
15666     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15667     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15668     # In both cases, we have to default to `cp -p'.
15669     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15670       as_ln_s='cp -p'
15671   elif ln conf$$.file conf$$ 2>/dev/null; then
15672     as_ln_s=ln
15673   else
15674     as_ln_s='cp -p'
15675   fi
15676 else
15677   as_ln_s='cp -p'
15678 fi
15679 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15680 rmdir conf$$.dir 2>/dev/null
15681
15682
15683 # as_fn_mkdir_p
15684 # -------------
15685 # Create "$as_dir" as a directory, including parents if necessary.
15686 as_fn_mkdir_p ()
15687 {
15688
15689   case $as_dir in #(
15690   -*) as_dir=./$as_dir;;
15691   esac
15692   test -d "$as_dir" || eval $as_mkdir_p || {
15693     as_dirs=
15694     while :; do
15695       case $as_dir in #(
15696       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15697       *) as_qdir=$as_dir;;
15698       esac
15699       as_dirs="'$as_qdir' $as_dirs"
15700       as_dir=`$as_dirname -- "$as_dir" ||
15701 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15702          X"$as_dir" : 'X\(//\)[^/]' \| \
15703          X"$as_dir" : 'X\(//\)$' \| \
15704          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15705 $as_echo X"$as_dir" |
15706     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15707             s//\1/
15708             q
15709           }
15710           /^X\(\/\/\)[^/].*/{
15711             s//\1/
15712             q
15713           }
15714           /^X\(\/\/\)$/{
15715             s//\1/
15716             q
15717           }
15718           /^X\(\/\).*/{
15719             s//\1/
15720             q
15721           }
15722           s/.*/./; q'`
15723       test -d "$as_dir" && break
15724     done
15725     test -z "$as_dirs" || eval "mkdir $as_dirs"
15726   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15727
15728
15729 } # as_fn_mkdir_p
15730 if mkdir -p . 2>/dev/null; then
15731   as_mkdir_p='mkdir -p "$as_dir"'
15732 else
15733   test -d ./-p && rmdir ./-p
15734   as_mkdir_p=false
15735 fi
15736
15737 if test -x / >/dev/null 2>&1; then
15738   as_test_x='test -x'
15739 else
15740   if ls -dL / >/dev/null 2>&1; then
15741     as_ls_L_option=L
15742   else
15743     as_ls_L_option=
15744   fi
15745   as_test_x='
15746     eval sh -c '\''
15747       if test -d "$1"; then
15748         test -d "$1/.";
15749       else
15750         case $1 in #(
15751         -*)set "./$1";;
15752         esac;
15753         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15754         ???[sx]*):;;*)false;;esac;fi
15755     '\'' sh
15756   '
15757 fi
15758 as_executable_p=$as_test_x
15759
15760 # Sed expression to map a string onto a valid CPP name.
15761 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15762
15763 # Sed expression to map a string onto a valid variable name.
15764 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15765
15766
15767 exec 6>&1
15768 ## ----------------------------------- ##
15769 ## Main body of $CONFIG_STATUS script. ##
15770 ## ----------------------------------- ##
15771 _ASEOF
15772 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15773
15774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15775 # Save the log message, to keep $0 and so on meaningful, and to
15776 # report actual input values of CONFIG_FILES etc. instead of their
15777 # values after options handling.
15778 ac_log="
15779 This file was extended by emotion $as_me 1.7.3, which was
15780 generated by GNU Autoconf 2.68.  Invocation command line was
15781
15782   CONFIG_FILES    = $CONFIG_FILES
15783   CONFIG_HEADERS  = $CONFIG_HEADERS
15784   CONFIG_LINKS    = $CONFIG_LINKS
15785   CONFIG_COMMANDS = $CONFIG_COMMANDS
15786   $ $0 $@
15787
15788 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15789 "
15790
15791 _ACEOF
15792
15793 case $ac_config_files in *"
15794 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15795 esac
15796
15797 case $ac_config_headers in *"
15798 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15799 esac
15800
15801
15802 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15803 # Files that config.status was made for.
15804 config_files="$ac_config_files"
15805 config_headers="$ac_config_headers"
15806 config_commands="$ac_config_commands"
15807
15808 _ACEOF
15809
15810 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15811 ac_cs_usage="\
15812 \`$as_me' instantiates files and other configuration actions
15813 from templates according to the current configuration.  Unless the files
15814 and actions are specified as TAGs, all are instantiated by default.
15815
15816 Usage: $0 [OPTION]... [TAG]...
15817
15818   -h, --help       print this help, then exit
15819   -V, --version    print version number and configuration settings, then exit
15820       --config     print configuration, then exit
15821   -q, --quiet, --silent
15822                    do not print progress messages
15823   -d, --debug      don't remove temporary files
15824       --recheck    update $as_me by reconfiguring in the same conditions
15825       --file=FILE[:TEMPLATE]
15826                    instantiate the configuration file FILE
15827       --header=FILE[:TEMPLATE]
15828                    instantiate the configuration header FILE
15829
15830 Configuration files:
15831 $config_files
15832
15833 Configuration headers:
15834 $config_headers
15835
15836 Configuration commands:
15837 $config_commands
15838
15839 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
15840
15841 _ACEOF
15842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15843 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15844 ac_cs_version="\\
15845 emotion config.status 1.7.3
15846 configured by $0, generated by GNU Autoconf 2.68,
15847   with options \\"\$ac_cs_config\\"
15848
15849 Copyright (C) 2010 Free Software Foundation, Inc.
15850 This config.status script is free software; the Free Software Foundation
15851 gives unlimited permission to copy, distribute and modify it."
15852
15853 ac_pwd='$ac_pwd'
15854 srcdir='$srcdir'
15855 INSTALL='$INSTALL'
15856 MKDIR_P='$MKDIR_P'
15857 AWK='$AWK'
15858 test -n "\$AWK" || AWK=awk
15859 _ACEOF
15860
15861 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15862 # The default lists apply if the user does not specify any file.
15863 ac_need_defaults=:
15864 while test $# != 0
15865 do
15866   case $1 in
15867   --*=?*)
15868     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15869     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15870     ac_shift=:
15871     ;;
15872   --*=)
15873     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15874     ac_optarg=
15875     ac_shift=:
15876     ;;
15877   *)
15878     ac_option=$1
15879     ac_optarg=$2
15880     ac_shift=shift
15881     ;;
15882   esac
15883
15884   case $ac_option in
15885   # Handling of the options.
15886   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15887     ac_cs_recheck=: ;;
15888   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15889     $as_echo "$ac_cs_version"; exit ;;
15890   --config | --confi | --conf | --con | --co | --c )
15891     $as_echo "$ac_cs_config"; exit ;;
15892   --debug | --debu | --deb | --de | --d | -d )
15893     debug=: ;;
15894   --file | --fil | --fi | --f )
15895     $ac_shift
15896     case $ac_optarg in
15897     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15898     '') as_fn_error $? "missing file argument" ;;
15899     esac
15900     as_fn_append CONFIG_FILES " '$ac_optarg'"
15901     ac_need_defaults=false;;
15902   --header | --heade | --head | --hea )
15903     $ac_shift
15904     case $ac_optarg in
15905     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15906     esac
15907     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15908     ac_need_defaults=false;;
15909   --he | --h)
15910     # Conflict between --help and --header
15911     as_fn_error $? "ambiguous option: \`$1'
15912 Try \`$0 --help' for more information.";;
15913   --help | --hel | -h )
15914     $as_echo "$ac_cs_usage"; exit ;;
15915   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15916   | -silent | --silent | --silen | --sile | --sil | --si | --s)
15917     ac_cs_silent=: ;;
15918
15919   # This is an error.
15920   -*) as_fn_error $? "unrecognized option: \`$1'
15921 Try \`$0 --help' for more information." ;;
15922
15923   *) as_fn_append ac_config_targets " $1"
15924      ac_need_defaults=false ;;
15925
15926   esac
15927   shift
15928 done
15929
15930 ac_configure_extra_args=
15931
15932 if $ac_cs_silent; then
15933   exec 6>/dev/null
15934   ac_configure_extra_args="$ac_configure_extra_args --silent"
15935 fi
15936
15937 _ACEOF
15938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15939 if \$ac_cs_recheck; then
15940   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15941   shift
15942   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15943   CONFIG_SHELL='$SHELL'
15944   export CONFIG_SHELL
15945   exec "\$@"
15946 fi
15947
15948 _ACEOF
15949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15950 exec 5>>config.log
15951 {
15952   echo
15953   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15954 ## Running $as_me. ##
15955 _ASBOX
15956   $as_echo "$ac_log"
15957 } >&5
15958
15959 _ACEOF
15960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15961 #
15962 # INIT-COMMANDS
15963 #
15964 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15965
15966
15967 # The HP-UX ksh and POSIX shell print the target directory to stdout
15968 # if CDPATH is set.
15969 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15970
15971 sed_quote_subst='$sed_quote_subst'
15972 double_quote_subst='$double_quote_subst'
15973 delay_variable_subst='$delay_variable_subst'
15974 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
15975 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15976 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15977 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15978 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15979 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15980 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15981 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15982 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15983 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15984 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15985 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15986 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15987 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15988 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15989 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15990 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15991 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15992 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15993 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15994 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15995 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15996 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15997 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15998 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15999 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16000 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16001 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16002 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16003 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16004 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16005 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16006 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16007 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16008 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16009 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16010 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16011 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16012 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16013 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16014 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16015 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16016 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16017 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16018 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16019 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16020 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16021 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16022 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16023 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16024 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16025 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16026 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16027 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16028 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16029 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16030 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16031 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
16032 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16033 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16034 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16035 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16036 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16037 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16038 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16039 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16040 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16041 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16042 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16043 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16044 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16045 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16046 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16047 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16048 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16049 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16050 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16051 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16052 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16053 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16054 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16055 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16056 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16057 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16058 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16059 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16060 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16061 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16062 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16063 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16064 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16065 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16066 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16067 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16068 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16069 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16070 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16071 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16072 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16073 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16074 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16075 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16076 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16077 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16078 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16079 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16080 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16081 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16082 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16083 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16084 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16085 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16086 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16087 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16088 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16089 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16090 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16091 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16092 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16093 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16094 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16095 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16096 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16097 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16098 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16099 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16100 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16101 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16102 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16103 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16104 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16105
16106 LTCC='$LTCC'
16107 LTCFLAGS='$LTCFLAGS'
16108 compiler='$compiler_DEFAULT'
16109
16110 # A function that is used when there is no print builtin or printf.
16111 func_fallback_echo ()
16112 {
16113   eval 'cat <<_LTECHO_EOF
16114 \$1
16115 _LTECHO_EOF'
16116 }
16117
16118 # Quote evaled strings.
16119 for var in AS \
16120 DLLTOOL \
16121 OBJDUMP \
16122 SHELL \
16123 ECHO \
16124 PATH_SEPARATOR \
16125 SED \
16126 GREP \
16127 EGREP \
16128 FGREP \
16129 LD \
16130 NM \
16131 LN_S \
16132 lt_SP2NL \
16133 lt_NL2SP \
16134 reload_flag \
16135 deplibs_check_method \
16136 file_magic_cmd \
16137 file_magic_glob \
16138 want_nocaseglob \
16139 sharedlib_from_linklib_cmd \
16140 AR \
16141 AR_FLAGS \
16142 archiver_list_spec \
16143 STRIP \
16144 RANLIB \
16145 CC \
16146 CFLAGS \
16147 compiler \
16148 lt_cv_sys_global_symbol_pipe \
16149 lt_cv_sys_global_symbol_to_cdecl \
16150 lt_cv_sys_global_symbol_to_c_name_address \
16151 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16152 nm_file_list_spec \
16153 lt_prog_compiler_no_builtin_flag \
16154 lt_prog_compiler_pic \
16155 lt_prog_compiler_wl \
16156 lt_prog_compiler_static \
16157 lt_cv_prog_compiler_c_o \
16158 need_locks \
16159 MANIFEST_TOOL \
16160 DSYMUTIL \
16161 NMEDIT \
16162 LIPO \
16163 OTOOL \
16164 OTOOL64 \
16165 shrext_cmds \
16166 export_dynamic_flag_spec \
16167 whole_archive_flag_spec \
16168 compiler_needs_object \
16169 with_gnu_ld \
16170 allow_undefined_flag \
16171 no_undefined_flag \
16172 hardcode_libdir_flag_spec \
16173 hardcode_libdir_separator \
16174 exclude_expsyms \
16175 include_expsyms \
16176 file_list_spec \
16177 variables_saved_for_relink \
16178 libname_spec \
16179 library_names_spec \
16180 soname_spec \
16181 install_override_mode \
16182 finish_eval \
16183 old_striplib \
16184 striplib; do
16185     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16186     *[\\\\\\\`\\"\\\$]*)
16187       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16188       ;;
16189     *)
16190       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16191       ;;
16192     esac
16193 done
16194
16195 # Double-quote double-evaled strings.
16196 for var in reload_cmds \
16197 old_postinstall_cmds \
16198 old_postuninstall_cmds \
16199 old_archive_cmds \
16200 extract_expsyms_cmds \
16201 old_archive_from_new_cmds \
16202 old_archive_from_expsyms_cmds \
16203 archive_cmds \
16204 archive_expsym_cmds \
16205 module_cmds \
16206 module_expsym_cmds \
16207 export_symbols_cmds \
16208 prelink_cmds \
16209 postlink_cmds \
16210 postinstall_cmds \
16211 postuninstall_cmds \
16212 finish_cmds \
16213 sys_lib_search_path_spec \
16214 sys_lib_dlsearch_path_spec; do
16215     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16216     *[\\\\\\\`\\"\\\$]*)
16217       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16218       ;;
16219     *)
16220       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16221       ;;
16222     esac
16223 done
16224
16225 ac_aux_dir='$ac_aux_dir'
16226 xsi_shell='$xsi_shell'
16227 lt_shell_append='$lt_shell_append'
16228
16229 # See if we are running on zsh, and set the options which allow our
16230 # commands through without removal of \ escapes INIT.
16231 if test -n "\${ZSH_VERSION+set}" ; then
16232    setopt NO_GLOB_SUBST
16233 fi
16234
16235
16236     PACKAGE='$PACKAGE'
16237     VERSION='$VERSION'
16238     TIMESTAMP='$TIMESTAMP'
16239     RM='$RM'
16240     ofile='$ofile'
16241
16242
16243
16244
16245 _ACEOF
16246
16247 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16248
16249 # Handling of arguments.
16250 for ac_config_target in $ac_config_targets
16251 do
16252   case $ac_config_target in
16253     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16254     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16255     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16256     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16257     "emotion.pc") CONFIG_FILES="$CONFIG_FILES emotion.pc" ;;
16258     "emotion.spec") CONFIG_FILES="$CONFIG_FILES emotion.spec" ;;
16259     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16260     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
16261     "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
16262     "src/modules/xine/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/xine/Makefile" ;;
16263     "src/modules/gstreamer/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/gstreamer/Makefile" ;;
16264     "src/modules/generic/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/generic/Makefile" ;;
16265     "src/edje_external/Makefile") CONFIG_FILES="$CONFIG_FILES src/edje_external/Makefile" ;;
16266     "src/generic_players/Makefile") CONFIG_FILES="$CONFIG_FILES src/generic_players/Makefile" ;;
16267     "src/generic_players/vlc/Makefile") CONFIG_FILES="$CONFIG_FILES src/generic_players/vlc/Makefile" ;;
16268     "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
16269     "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
16270     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16271     "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
16272     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
16273
16274   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16275   esac
16276 done
16277
16278
16279 # If the user did not use the arguments to specify the items to instantiate,
16280 # then the envvar interface is used.  Set only those that are not.
16281 # We use the long form for the default assignment because of an extremely
16282 # bizarre bug on SunOS 4.1.3.
16283 if $ac_need_defaults; then
16284   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16285   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16286   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16287 fi
16288
16289 # Have a temporary directory for convenience.  Make it in the build tree
16290 # simply because there is no reason against having it here, and in addition,
16291 # creating and moving files from /tmp can sometimes cause problems.
16292 # Hook for its removal unless debugging.
16293 # Note that there is a small window in which the directory will not be cleaned:
16294 # after its creation but before its name has been assigned to `$tmp'.
16295 $debug ||
16296 {
16297   tmp= ac_tmp=
16298   trap 'exit_status=$?
16299   : "${ac_tmp:=$tmp}"
16300   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16301 ' 0
16302   trap 'as_fn_exit 1' 1 2 13 15
16303 }
16304 # Create a (secure) tmp directory for tmp files.
16305
16306 {
16307   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16308   test -d "$tmp"
16309 }  ||
16310 {
16311   tmp=./conf$$-$RANDOM
16312   (umask 077 && mkdir "$tmp")
16313 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16314 ac_tmp=$tmp
16315
16316 # Set up the scripts for CONFIG_FILES section.
16317 # No need to generate them if there are no CONFIG_FILES.
16318 # This happens for instance with `./config.status config.h'.
16319 if test -n "$CONFIG_FILES"; then
16320
16321
16322 ac_cr=`echo X | tr X '\015'`
16323 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16324 # But we know of no other shell where ac_cr would be empty at this
16325 # point, so we can use a bashism as a fallback.
16326 if test "x$ac_cr" = x; then
16327   eval ac_cr=\$\'\\r\'
16328 fi
16329 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16330 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16331   ac_cs_awk_cr='\\r'
16332 else
16333   ac_cs_awk_cr=$ac_cr
16334 fi
16335
16336 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16337 _ACEOF
16338
16339
16340 {
16341   echo "cat >conf$$subs.awk <<_ACEOF" &&
16342   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16343   echo "_ACEOF"
16344 } >conf$$subs.sh ||
16345   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16346 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16347 ac_delim='%!_!# '
16348 for ac_last_try in false false false false false :; do
16349   . ./conf$$subs.sh ||
16350     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16351
16352   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16353   if test $ac_delim_n = $ac_delim_num; then
16354     break
16355   elif $ac_last_try; then
16356     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16357   else
16358     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16359   fi
16360 done
16361 rm -f conf$$subs.sh
16362
16363 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16364 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16365 _ACEOF
16366 sed -n '
16367 h
16368 s/^/S["/; s/!.*/"]=/
16369 p
16370 g
16371 s/^[^!]*!//
16372 :repl
16373 t repl
16374 s/'"$ac_delim"'$//
16375 t delim
16376 :nl
16377 h
16378 s/\(.\{148\}\)..*/\1/
16379 t more1
16380 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16381 p
16382 n
16383 b repl
16384 :more1
16385 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16386 p
16387 g
16388 s/.\{148\}//
16389 t nl
16390 :delim
16391 h
16392 s/\(.\{148\}\)..*/\1/
16393 t more2
16394 s/["\\]/\\&/g; s/^/"/; s/$/"/
16395 p
16396 b
16397 :more2
16398 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16399 p
16400 g
16401 s/.\{148\}//
16402 t delim
16403 ' <conf$$subs.awk | sed '
16404 /^[^""]/{
16405   N
16406   s/\n//
16407 }
16408 ' >>$CONFIG_STATUS || ac_write_fail=1
16409 rm -f conf$$subs.awk
16410 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16411 _ACAWK
16412 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16413   for (key in S) S_is_set[key] = 1
16414   FS = "\a"
16415
16416 }
16417 {
16418   line = $ 0
16419   nfields = split(line, field, "@")
16420   substed = 0
16421   len = length(field[1])
16422   for (i = 2; i < nfields; i++) {
16423     key = field[i]
16424     keylen = length(key)
16425     if (S_is_set[key]) {
16426       value = S[key]
16427       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16428       len += length(value) + length(field[++i])
16429       substed = 1
16430     } else
16431       len += 1 + keylen
16432   }
16433
16434   print line
16435 }
16436
16437 _ACAWK
16438 _ACEOF
16439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16440 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16441   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16442 else
16443   cat
16444 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16445   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16446 _ACEOF
16447
16448 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16449 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16450 # trailing colons and then remove the whole line if VPATH becomes empty
16451 # (actually we leave an empty line to preserve line numbers).
16452 if test "x$srcdir" = x.; then
16453   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16454 h
16455 s///
16456 s/^/:/
16457 s/[      ]*$/:/
16458 s/:\$(srcdir):/:/g
16459 s/:\${srcdir}:/:/g
16460 s/:@srcdir@:/:/g
16461 s/^:*//
16462 s/:*$//
16463 x
16464 s/\(=[   ]*\).*/\1/
16465 G
16466 s/\n//
16467 s/^[^=]*=[       ]*$//
16468 }'
16469 fi
16470
16471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16472 fi # test -n "$CONFIG_FILES"
16473
16474 # Set up the scripts for CONFIG_HEADERS section.
16475 # No need to generate them if there are no CONFIG_HEADERS.
16476 # This happens for instance with `./config.status Makefile'.
16477 if test -n "$CONFIG_HEADERS"; then
16478 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16479 BEGIN {
16480 _ACEOF
16481
16482 # Transform confdefs.h into an awk script `defines.awk', embedded as
16483 # here-document in config.status, that substitutes the proper values into
16484 # config.h.in to produce config.h.
16485
16486 # Create a delimiter string that does not exist in confdefs.h, to ease
16487 # handling of long lines.
16488 ac_delim='%!_!# '
16489 for ac_last_try in false false :; do
16490   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16491   if test -z "$ac_tt"; then
16492     break
16493   elif $ac_last_try; then
16494     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16495   else
16496     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16497   fi
16498 done
16499
16500 # For the awk script, D is an array of macro values keyed by name,
16501 # likewise P contains macro parameters if any.  Preserve backslash
16502 # newline sequences.
16503
16504 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16505 sed -n '
16506 s/.\{148\}/&'"$ac_delim"'/g
16507 t rset
16508 :rset
16509 s/^[     ]*#[    ]*define[       ][      ]*/ /
16510 t def
16511 d
16512 :def
16513 s/\\$//
16514 t bsnl
16515 s/["\\]/\\&/g
16516 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16517 D["\1"]=" \3"/p
16518 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16519 d
16520 :bsnl
16521 s/["\\]/\\&/g
16522 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16523 D["\1"]=" \3\\\\\\n"\\/p
16524 t cont
16525 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16526 t cont
16527 d
16528 :cont
16529 n
16530 s/.\{148\}/&'"$ac_delim"'/g
16531 t clear
16532 :clear
16533 s/\\$//
16534 t bsnlc
16535 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16536 d
16537 :bsnlc
16538 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16539 b cont
16540 ' <confdefs.h | sed '
16541 s/'"$ac_delim"'/"\\\
16542 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16543
16544 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16545   for (key in D) D_is_set[key] = 1
16546   FS = "\a"
16547 }
16548 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16549   line = \$ 0
16550   split(line, arg, " ")
16551   if (arg[1] == "#") {
16552     defundef = arg[2]
16553     mac1 = arg[3]
16554   } else {
16555     defundef = substr(arg[1], 2)
16556     mac1 = arg[2]
16557   }
16558   split(mac1, mac2, "(") #)
16559   macro = mac2[1]
16560   prefix = substr(line, 1, index(line, defundef) - 1)
16561   if (D_is_set[macro]) {
16562     # Preserve the white space surrounding the "#".
16563     print prefix "define", macro P[macro] D[macro]
16564     next
16565   } else {
16566     # Replace #undef with comments.  This is necessary, for example,
16567     # in the case of _POSIX_SOURCE, which is predefined and required
16568     # on some systems where configure will not decide to define it.
16569     if (defundef == "undef") {
16570       print "/*", prefix defundef, macro, "*/"
16571       next
16572     }
16573   }
16574 }
16575 { print }
16576 _ACAWK
16577 _ACEOF
16578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16579   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16580 fi # test -n "$CONFIG_HEADERS"
16581
16582
16583 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16584 shift
16585 for ac_tag
16586 do
16587   case $ac_tag in
16588   :[FHLC]) ac_mode=$ac_tag; continue;;
16589   esac
16590   case $ac_mode$ac_tag in
16591   :[FHL]*:*);;
16592   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16593   :[FH]-) ac_tag=-:-;;
16594   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16595   esac
16596   ac_save_IFS=$IFS
16597   IFS=:
16598   set x $ac_tag
16599   IFS=$ac_save_IFS
16600   shift
16601   ac_file=$1
16602   shift
16603
16604   case $ac_mode in
16605   :L) ac_source=$1;;
16606   :[FH])
16607     ac_file_inputs=
16608     for ac_f
16609     do
16610       case $ac_f in
16611       -) ac_f="$ac_tmp/stdin";;
16612       *) # Look for the file first in the build tree, then in the source tree
16613          # (if the path is not absolute).  The absolute path cannot be DOS-style,
16614          # because $ac_f cannot contain `:'.
16615          test -f "$ac_f" ||
16616            case $ac_f in
16617            [\\/$]*) false;;
16618            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16619            esac ||
16620            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16621       esac
16622       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16623       as_fn_append ac_file_inputs " '$ac_f'"
16624     done
16625
16626     # Let's still pretend it is `configure' which instantiates (i.e., don't
16627     # use $as_me), people would be surprised to read:
16628     #    /* config.h.  Generated by config.status.  */
16629     configure_input='Generated from '`
16630           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16631         `' by configure.'
16632     if test x"$ac_file" != x-; then
16633       configure_input="$ac_file.  $configure_input"
16634       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16635 $as_echo "$as_me: creating $ac_file" >&6;}
16636     fi
16637     # Neutralize special characters interpreted by sed in replacement strings.
16638     case $configure_input in #(
16639     *\&* | *\|* | *\\* )
16640        ac_sed_conf_input=`$as_echo "$configure_input" |
16641        sed 's/[\\\\&|]/\\\\&/g'`;; #(
16642     *) ac_sed_conf_input=$configure_input;;
16643     esac
16644
16645     case $ac_tag in
16646     *:-:* | *:-) cat >"$ac_tmp/stdin" \
16647       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16648     esac
16649     ;;
16650   esac
16651
16652   ac_dir=`$as_dirname -- "$ac_file" ||
16653 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16654          X"$ac_file" : 'X\(//\)[^/]' \| \
16655          X"$ac_file" : 'X\(//\)$' \| \
16656          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16657 $as_echo X"$ac_file" |
16658     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16659             s//\1/
16660             q
16661           }
16662           /^X\(\/\/\)[^/].*/{
16663             s//\1/
16664             q
16665           }
16666           /^X\(\/\/\)$/{
16667             s//\1/
16668             q
16669           }
16670           /^X\(\/\).*/{
16671             s//\1/
16672             q
16673           }
16674           s/.*/./; q'`
16675   as_dir="$ac_dir"; as_fn_mkdir_p
16676   ac_builddir=.
16677
16678 case "$ac_dir" in
16679 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16680 *)
16681   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16682   # A ".." for each directory in $ac_dir_suffix.
16683   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16684   case $ac_top_builddir_sub in
16685   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16686   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16687   esac ;;
16688 esac
16689 ac_abs_top_builddir=$ac_pwd
16690 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16691 # for backward compatibility:
16692 ac_top_builddir=$ac_top_build_prefix
16693
16694 case $srcdir in
16695   .)  # We are building in place.
16696     ac_srcdir=.
16697     ac_top_srcdir=$ac_top_builddir_sub
16698     ac_abs_top_srcdir=$ac_pwd ;;
16699   [\\/]* | ?:[\\/]* )  # Absolute name.
16700     ac_srcdir=$srcdir$ac_dir_suffix;
16701     ac_top_srcdir=$srcdir
16702     ac_abs_top_srcdir=$srcdir ;;
16703   *) # Relative name.
16704     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16705     ac_top_srcdir=$ac_top_build_prefix$srcdir
16706     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16707 esac
16708 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16709
16710
16711   case $ac_mode in
16712   :F)
16713   #
16714   # CONFIG_FILE
16715   #
16716
16717   case $INSTALL in
16718   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16719   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16720   esac
16721   ac_MKDIR_P=$MKDIR_P
16722   case $MKDIR_P in
16723   [\\/$]* | ?:[\\/]* ) ;;
16724   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16725   esac
16726 _ACEOF
16727
16728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16729 # If the template does not know about datarootdir, expand it.
16730 # FIXME: This hack should be removed a few years after 2.60.
16731 ac_datarootdir_hack=; ac_datarootdir_seen=
16732 ac_sed_dataroot='
16733 /datarootdir/ {
16734   p
16735   q
16736 }
16737 /@datadir@/p
16738 /@docdir@/p
16739 /@infodir@/p
16740 /@localedir@/p
16741 /@mandir@/p'
16742 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16743 *datarootdir*) ac_datarootdir_seen=yes;;
16744 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16745   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16746 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16747 _ACEOF
16748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16749   ac_datarootdir_hack='
16750   s&@datadir@&$datadir&g
16751   s&@docdir@&$docdir&g
16752   s&@infodir@&$infodir&g
16753   s&@localedir@&$localedir&g
16754   s&@mandir@&$mandir&g
16755   s&\\\${datarootdir}&$datarootdir&g' ;;
16756 esac
16757 _ACEOF
16758
16759 # Neutralize VPATH when `$srcdir' = `.'.
16760 # Shell code in configure.ac might set extrasub.
16761 # FIXME: do we really want to maintain this feature?
16762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16763 ac_sed_extra="$ac_vpsub
16764 $extrasub
16765 _ACEOF
16766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16767 :t
16768 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16769 s|@configure_input@|$ac_sed_conf_input|;t t
16770 s&@top_builddir@&$ac_top_builddir_sub&;t t
16771 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16772 s&@srcdir@&$ac_srcdir&;t t
16773 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16774 s&@top_srcdir@&$ac_top_srcdir&;t t
16775 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16776 s&@builddir@&$ac_builddir&;t t
16777 s&@abs_builddir@&$ac_abs_builddir&;t t
16778 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16779 s&@INSTALL@&$ac_INSTALL&;t t
16780 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16781 $ac_datarootdir_hack
16782 "
16783 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16784   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16785
16786 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16787   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16788   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16789       "$ac_tmp/out"`; test -z "$ac_out"; } &&
16790   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16791 which seems to be undefined.  Please make sure it is defined" >&5
16792 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16793 which seems to be undefined.  Please make sure it is defined" >&2;}
16794
16795   rm -f "$ac_tmp/stdin"
16796   case $ac_file in
16797   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16798   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16799   esac \
16800   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16801  ;;
16802   :H)
16803   #
16804   # CONFIG_HEADER
16805   #
16806   if test x"$ac_file" != x-; then
16807     {
16808       $as_echo "/* $configure_input  */" \
16809       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16810     } >"$ac_tmp/config.h" \
16811       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16812     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16813       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16814 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16815     else
16816       rm -f "$ac_file"
16817       mv "$ac_tmp/config.h" "$ac_file" \
16818         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16819     fi
16820   else
16821     $as_echo "/* $configure_input  */" \
16822       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16823       || as_fn_error $? "could not create -" "$LINENO" 5
16824   fi
16825 # Compute "$ac_file"'s index in $config_headers.
16826 _am_arg="$ac_file"
16827 _am_stamp_count=1
16828 for _am_header in $config_headers :; do
16829   case $_am_header in
16830     $_am_arg | $_am_arg:* )
16831       break ;;
16832     * )
16833       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16834   esac
16835 done
16836 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16837 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16838          X"$_am_arg" : 'X\(//\)[^/]' \| \
16839          X"$_am_arg" : 'X\(//\)$' \| \
16840          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16841 $as_echo X"$_am_arg" |
16842     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16843             s//\1/
16844             q
16845           }
16846           /^X\(\/\/\)[^/].*/{
16847             s//\1/
16848             q
16849           }
16850           /^X\(\/\/\)$/{
16851             s//\1/
16852             q
16853           }
16854           /^X\(\/\).*/{
16855             s//\1/
16856             q
16857           }
16858           s/.*/./; q'`/stamp-h$_am_stamp_count
16859  ;;
16860
16861   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16862 $as_echo "$as_me: executing $ac_file commands" >&6;}
16863  ;;
16864   esac
16865
16866
16867   case $ac_file$ac_mode in
16868     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16869   # Autoconf 2.62 quotes --file arguments for eval, but not when files
16870   # are listed without --file.  Let's play safe and only enable the eval
16871   # if we detect the quoting.
16872   case $CONFIG_FILES in
16873   *\'*) eval set x "$CONFIG_FILES" ;;
16874   *)   set x $CONFIG_FILES ;;
16875   esac
16876   shift
16877   for mf
16878   do
16879     # Strip MF so we end up with the name of the file.
16880     mf=`echo "$mf" | sed -e 's/:.*$//'`
16881     # Check whether this is an Automake generated Makefile or not.
16882     # We used to match only the files named `Makefile.in', but
16883     # some people rename them; so instead we look at the file content.
16884     # Grep'ing the first line is not enough: some people post-process
16885     # each Makefile.in and add a new line on top of each file to say so.
16886     # Grep'ing the whole file is not good either: AIX grep has a line
16887     # limit of 2048, but all sed's we know have understand at least 4000.
16888     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16889       dirpart=`$as_dirname -- "$mf" ||
16890 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16891          X"$mf" : 'X\(//\)[^/]' \| \
16892          X"$mf" : 'X\(//\)$' \| \
16893          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16894 $as_echo X"$mf" |
16895     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16896             s//\1/
16897             q
16898           }
16899           /^X\(\/\/\)[^/].*/{
16900             s//\1/
16901             q
16902           }
16903           /^X\(\/\/\)$/{
16904             s//\1/
16905             q
16906           }
16907           /^X\(\/\).*/{
16908             s//\1/
16909             q
16910           }
16911           s/.*/./; q'`
16912     else
16913       continue
16914     fi
16915     # Extract the definition of DEPDIR, am__include, and am__quote
16916     # from the Makefile without running `make'.
16917     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16918     test -z "$DEPDIR" && continue
16919     am__include=`sed -n 's/^am__include = //p' < "$mf"`
16920     test -z "am__include" && continue
16921     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16922     # When using ansi2knr, U may be empty or an underscore; expand it
16923     U=`sed -n 's/^U = //p' < "$mf"`
16924     # Find all dependency output files, they are included files with
16925     # $(DEPDIR) in their names.  We invoke sed twice because it is the
16926     # simplest approach to changing $(DEPDIR) to its actual value in the
16927     # expansion.
16928     for file in `sed -n "
16929       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16930          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16931       # Make sure the directory exists.
16932       test -f "$dirpart/$file" && continue
16933       fdir=`$as_dirname -- "$file" ||
16934 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16935          X"$file" : 'X\(//\)[^/]' \| \
16936          X"$file" : 'X\(//\)$' \| \
16937          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16938 $as_echo X"$file" |
16939     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16940             s//\1/
16941             q
16942           }
16943           /^X\(\/\/\)[^/].*/{
16944             s//\1/
16945             q
16946           }
16947           /^X\(\/\/\)$/{
16948             s//\1/
16949             q
16950           }
16951           /^X\(\/\).*/{
16952             s//\1/
16953             q
16954           }
16955           s/.*/./; q'`
16956       as_dir=$dirpart/$fdir; as_fn_mkdir_p
16957       # echo "creating $dirpart/$file"
16958       echo '# dummy' > "$dirpart/$file"
16959     done
16960   done
16961 }
16962  ;;
16963     "libtool":C)
16964
16965     # See if we are running on zsh, and set the options which allow our
16966     # commands through without removal of \ escapes.
16967     if test -n "${ZSH_VERSION+set}" ; then
16968       setopt NO_GLOB_SUBST
16969     fi
16970
16971     cfgfile="${ofile}T"
16972     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16973     $RM "$cfgfile"
16974
16975     cat <<_LT_EOF >> "$cfgfile"
16976 #! $SHELL
16977
16978 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16979 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16980 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16981 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16982 #
16983 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16984 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16985 #                 Foundation, Inc.
16986 #   Written by Gordon Matzigkeit, 1996
16987 #
16988 #   This file is part of GNU Libtool.
16989 #
16990 # GNU Libtool is free software; you can redistribute it and/or
16991 # modify it under the terms of the GNU General Public License as
16992 # published by the Free Software Foundation; either version 2 of
16993 # the License, or (at your option) any later version.
16994 #
16995 # As a special exception to the GNU General Public License,
16996 # if you distribute this file as part of a program or library that
16997 # is built using GNU Libtool, you may include this file under the
16998 # same distribution terms that you use for the rest of that program.
16999 #
17000 # GNU Libtool is distributed in the hope that it will be useful,
17001 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17002 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17003 # GNU General Public License for more details.
17004 #
17005 # You should have received a copy of the GNU General Public License
17006 # along with GNU Libtool; see the file COPYING.  If not, a copy
17007 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17008 # obtained by writing to the Free Software Foundation, Inc.,
17009 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17010
17011
17012 # The names of the tagged configurations supported by this script.
17013 available_tags=""
17014
17015 # ### BEGIN LIBTOOL CONFIG
17016
17017 # Assembler program.
17018 AS=$lt_AS
17019
17020 # DLL creation program.
17021 DLLTOOL=$lt_DLLTOOL
17022
17023 # Object dumper program.
17024 OBJDUMP=$lt_OBJDUMP
17025
17026 # Which release of libtool.m4 was used?
17027 macro_version=$macro_version
17028 macro_revision=$macro_revision
17029
17030 # Whether or not to build shared libraries.
17031 build_libtool_libs=$enable_shared
17032
17033 # Whether or not to build static libraries.
17034 build_old_libs=$enable_static
17035
17036 # What type of objects to build.
17037 pic_mode=$pic_mode
17038
17039 # Whether or not to optimize for fast installation.
17040 fast_install=$enable_fast_install
17041
17042 # Shell to use when invoking shell scripts.
17043 SHELL=$lt_SHELL
17044
17045 # An echo program that protects backslashes.
17046 ECHO=$lt_ECHO
17047
17048 # The PATH separator for the build system.
17049 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17050
17051 # The host system.
17052 host_alias=$host_alias
17053 host=$host
17054 host_os=$host_os
17055
17056 # The build system.
17057 build_alias=$build_alias
17058 build=$build
17059 build_os=$build_os
17060
17061 # A sed program that does not truncate output.
17062 SED=$lt_SED
17063
17064 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17065 Xsed="\$SED -e 1s/^X//"
17066
17067 # A grep program that handles long lines.
17068 GREP=$lt_GREP
17069
17070 # An ERE matcher.
17071 EGREP=$lt_EGREP
17072
17073 # A literal string matcher.
17074 FGREP=$lt_FGREP
17075
17076 # A BSD- or MS-compatible name lister.
17077 NM=$lt_NM
17078
17079 # Whether we need soft or hard links.
17080 LN_S=$lt_LN_S
17081
17082 # What is the maximum length of a command?
17083 max_cmd_len=$max_cmd_len
17084
17085 # Object file suffix (normally "o").
17086 objext=$ac_objext
17087
17088 # Executable file suffix (normally "").
17089 exeext=$exeext
17090
17091 # whether the shell understands "unset".
17092 lt_unset=$lt_unset
17093
17094 # turn spaces into newlines.
17095 SP2NL=$lt_lt_SP2NL
17096
17097 # turn newlines into spaces.
17098 NL2SP=$lt_lt_NL2SP
17099
17100 # convert \$build file names to \$host format.
17101 to_host_file_cmd=$lt_cv_to_host_file_cmd
17102
17103 # convert \$build files to toolchain format.
17104 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17105
17106 # Method to check whether dependent libraries are shared objects.
17107 deplibs_check_method=$lt_deplibs_check_method
17108
17109 # Command to use when deplibs_check_method = "file_magic".
17110 file_magic_cmd=$lt_file_magic_cmd
17111
17112 # How to find potential files when deplibs_check_method = "file_magic".
17113 file_magic_glob=$lt_file_magic_glob
17114
17115 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17116 want_nocaseglob=$lt_want_nocaseglob
17117
17118 # Command to associate shared and link libraries.
17119 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17120
17121 # The archiver.
17122 AR=$lt_AR
17123
17124 # Flags to create an archive.
17125 AR_FLAGS=$lt_AR_FLAGS
17126
17127 # How to feed a file listing to the archiver.
17128 archiver_list_spec=$lt_archiver_list_spec
17129
17130 # A symbol stripping program.
17131 STRIP=$lt_STRIP
17132
17133 # Commands used to install an old-style archive.
17134 RANLIB=$lt_RANLIB
17135 old_postinstall_cmds=$lt_old_postinstall_cmds
17136 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17137
17138 # Whether to use a lock for old archive extraction.
17139 lock_old_archive_extraction=$lock_old_archive_extraction
17140
17141 # A C compiler.
17142 LTCC=$lt_CC
17143
17144 # LTCC compiler flags.
17145 LTCFLAGS=$lt_CFLAGS
17146
17147 # Take the output of nm and produce a listing of raw symbols and C names.
17148 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17149
17150 # Transform the output of nm in a proper C declaration.
17151 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17152
17153 # Transform the output of nm in a C name address pair.
17154 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17155
17156 # Transform the output of nm in a C name address pair when lib prefix is needed.
17157 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17158
17159 # Specify filename containing input files for \$NM.
17160 nm_file_list_spec=$lt_nm_file_list_spec
17161
17162 # The root where to search for dependent libraries,and in which our libraries should be installed.
17163 lt_sysroot=$lt_sysroot
17164
17165 # The name of the directory that contains temporary libtool files.
17166 objdir=$objdir
17167
17168 # Used to examine libraries when file_magic_cmd begins with "file".
17169 MAGIC_CMD=$MAGIC_CMD
17170
17171 # Must we lock files when doing compilation?
17172 need_locks=$lt_need_locks
17173
17174 # Manifest tool.
17175 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17176
17177 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17178 DSYMUTIL=$lt_DSYMUTIL
17179
17180 # Tool to change global to local symbols on Mac OS X.
17181 NMEDIT=$lt_NMEDIT
17182
17183 # Tool to manipulate fat objects and archives on Mac OS X.
17184 LIPO=$lt_LIPO
17185
17186 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17187 OTOOL=$lt_OTOOL
17188
17189 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17190 OTOOL64=$lt_OTOOL64
17191
17192 # Old archive suffix (normally "a").
17193 libext=$libext
17194
17195 # Shared library suffix (normally ".so").
17196 shrext_cmds=$lt_shrext_cmds
17197
17198 # The commands to extract the exported symbol list from a shared archive.
17199 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17200
17201 # Variables whose values should be saved in libtool wrapper scripts and
17202 # restored at link time.
17203 variables_saved_for_relink=$lt_variables_saved_for_relink
17204
17205 # Do we need the "lib" prefix for modules?
17206 need_lib_prefix=$need_lib_prefix
17207
17208 # Do we need a version for libraries?
17209 need_version=$need_version
17210
17211 # Library versioning type.
17212 version_type=$version_type
17213
17214 # Shared library runtime path variable.
17215 runpath_var=$runpath_var
17216
17217 # Shared library path variable.
17218 shlibpath_var=$shlibpath_var
17219
17220 # Is shlibpath searched before the hard-coded library search path?
17221 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17222
17223 # Format of library name prefix.
17224 libname_spec=$lt_libname_spec
17225
17226 # List of archive names.  First name is the real one, the rest are links.
17227 # The last name is the one that the linker finds with -lNAME
17228 library_names_spec=$lt_library_names_spec
17229
17230 # The coded name of the library, if different from the real name.
17231 soname_spec=$lt_soname_spec
17232
17233 # Permission mode override for installation of shared libraries.
17234 install_override_mode=$lt_install_override_mode
17235
17236 # Command to use after installation of a shared archive.
17237 postinstall_cmds=$lt_postinstall_cmds
17238
17239 # Command to use after uninstallation of a shared archive.
17240 postuninstall_cmds=$lt_postuninstall_cmds
17241
17242 # Commands used to finish a libtool library installation in a directory.
17243 finish_cmds=$lt_finish_cmds
17244
17245 # As "finish_cmds", except a single script fragment to be evaled but
17246 # not shown.
17247 finish_eval=$lt_finish_eval
17248
17249 # Whether we should hardcode library paths into libraries.
17250 hardcode_into_libs=$hardcode_into_libs
17251
17252 # Compile-time system search path for libraries.
17253 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17254
17255 # Run-time system search path for libraries.
17256 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17257
17258 # Whether dlopen is supported.
17259 dlopen_support=$enable_dlopen
17260
17261 # Whether dlopen of programs is supported.
17262 dlopen_self=$enable_dlopen_self
17263
17264 # Whether dlopen of statically linked programs is supported.
17265 dlopen_self_static=$enable_dlopen_self_static
17266
17267 # Commands to strip libraries.
17268 old_striplib=$lt_old_striplib
17269 striplib=$lt_striplib
17270
17271
17272 # The linker used to build libraries.
17273 LD=$lt_LD
17274
17275 # How to create reloadable object files.
17276 reload_flag=$lt_reload_flag
17277 reload_cmds=$lt_reload_cmds
17278
17279 # Commands used to build an old-style archive.
17280 old_archive_cmds=$lt_old_archive_cmds
17281
17282 # A language specific compiler.
17283 CC=$lt_compiler
17284
17285 # Is the compiler the GNU compiler?
17286 with_gcc=$GCC
17287
17288 # Compiler flag to turn off builtin functions.
17289 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17290
17291 # Additional compiler flags for building library objects.
17292 pic_flag=$lt_lt_prog_compiler_pic
17293
17294 # How to pass a linker flag through the compiler.
17295 wl=$lt_lt_prog_compiler_wl
17296
17297 # Compiler flag to prevent dynamic linking.
17298 link_static_flag=$lt_lt_prog_compiler_static
17299
17300 # Does compiler simultaneously support -c and -o options?
17301 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17302
17303 # Whether or not to add -lc for building shared libraries.
17304 build_libtool_need_lc=$archive_cmds_need_lc
17305
17306 # Whether or not to disallow shared libs when runtime libs are static.
17307 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17308
17309 # Compiler flag to allow reflexive dlopens.
17310 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17311
17312 # Compiler flag to generate shared objects directly from archives.
17313 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17314
17315 # Whether the compiler copes with passing no objects directly.
17316 compiler_needs_object=$lt_compiler_needs_object
17317
17318 # Create an old-style archive from a shared archive.
17319 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17320
17321 # Create a temporary old-style archive to link instead of a shared archive.
17322 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17323
17324 # Commands used to build a shared archive.
17325 archive_cmds=$lt_archive_cmds
17326 archive_expsym_cmds=$lt_archive_expsym_cmds
17327
17328 # Commands used to build a loadable module if different from building
17329 # a shared archive.
17330 module_cmds=$lt_module_cmds
17331 module_expsym_cmds=$lt_module_expsym_cmds
17332
17333 # Whether we are building with GNU ld or not.
17334 with_gnu_ld=$lt_with_gnu_ld
17335
17336 # Flag that allows shared libraries with undefined symbols to be built.
17337 allow_undefined_flag=$lt_allow_undefined_flag
17338
17339 # Flag that enforces no undefined symbols.
17340 no_undefined_flag=$lt_no_undefined_flag
17341
17342 # Flag to hardcode \$libdir into a binary during linking.
17343 # This must work even if \$libdir does not exist
17344 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17345
17346 # Whether we need a single "-rpath" flag with a separated argument.
17347 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17348
17349 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17350 # DIR into the resulting binary.
17351 hardcode_direct=$hardcode_direct
17352
17353 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17354 # DIR into the resulting binary and the resulting library dependency is
17355 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17356 # library is relocated.
17357 hardcode_direct_absolute=$hardcode_direct_absolute
17358
17359 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17360 # into the resulting binary.
17361 hardcode_minus_L=$hardcode_minus_L
17362
17363 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17364 # into the resulting binary.
17365 hardcode_shlibpath_var=$hardcode_shlibpath_var
17366
17367 # Set to "yes" if building a shared library automatically hardcodes DIR
17368 # into the library and all subsequent libraries and executables linked
17369 # against it.
17370 hardcode_automatic=$hardcode_automatic
17371
17372 # Set to yes if linker adds runtime paths of dependent libraries
17373 # to runtime path list.
17374 inherit_rpath=$inherit_rpath
17375
17376 # Whether libtool must link a program against all its dependency libraries.
17377 link_all_deplibs=$link_all_deplibs
17378
17379 # Set to "yes" if exported symbols are required.
17380 always_export_symbols=$always_export_symbols
17381
17382 # The commands to list exported symbols.
17383 export_symbols_cmds=$lt_export_symbols_cmds
17384
17385 # Symbols that should not be listed in the preloaded symbols.
17386 exclude_expsyms=$lt_exclude_expsyms
17387
17388 # Symbols that must always be exported.
17389 include_expsyms=$lt_include_expsyms
17390
17391 # Commands necessary for linking programs (against libraries) with templates.
17392 prelink_cmds=$lt_prelink_cmds
17393
17394 # Commands necessary for finishing linking programs.
17395 postlink_cmds=$lt_postlink_cmds
17396
17397 # Specify filename containing input files.
17398 file_list_spec=$lt_file_list_spec
17399
17400 # How to hardcode a shared library path into an executable.
17401 hardcode_action=$hardcode_action
17402
17403 # ### END LIBTOOL CONFIG
17404
17405 _LT_EOF
17406
17407   case $host_os in
17408   aix3*)
17409     cat <<\_LT_EOF >> "$cfgfile"
17410 # AIX sometimes has problems with the GCC collect2 program.  For some
17411 # reason, if we set the COLLECT_NAMES environment variable, the problems
17412 # vanish in a puff of smoke.
17413 if test "X${COLLECT_NAMES+set}" != Xset; then
17414   COLLECT_NAMES=
17415   export COLLECT_NAMES
17416 fi
17417 _LT_EOF
17418     ;;
17419   esac
17420
17421
17422 ltmain="$ac_aux_dir/ltmain.sh"
17423
17424
17425   # We use sed instead of cat because bash on DJGPP gets confused if
17426   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17427   # text mode, it properly converts lines to CR/LF.  This bash problem
17428   # is reportedly fixed, but why not run on old versions too?
17429   sed '$q' "$ltmain" >> "$cfgfile" \
17430      || (rm -f "$cfgfile"; exit 1)
17431
17432   if test x"$xsi_shell" = xyes; then
17433   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17434 func_dirname ()\
17435 {\
17436 \    case ${1} in\
17437 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17438 \      *  ) func_dirname_result="${3}" ;;\
17439 \    esac\
17440 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17441   && mv -f "$cfgfile.tmp" "$cfgfile" \
17442     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17443 test 0 -eq $? || _lt_function_replace_fail=:
17444
17445
17446   sed -e '/^func_basename ()$/,/^} # func_basename /c\
17447 func_basename ()\
17448 {\
17449 \    func_basename_result="${1##*/}"\
17450 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17451   && mv -f "$cfgfile.tmp" "$cfgfile" \
17452     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17453 test 0 -eq $? || _lt_function_replace_fail=:
17454
17455
17456   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17457 func_dirname_and_basename ()\
17458 {\
17459 \    case ${1} in\
17460 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17461 \      *  ) func_dirname_result="${3}" ;;\
17462 \    esac\
17463 \    func_basename_result="${1##*/}"\
17464 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17465   && mv -f "$cfgfile.tmp" "$cfgfile" \
17466     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17467 test 0 -eq $? || _lt_function_replace_fail=:
17468
17469
17470   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17471 func_stripname ()\
17472 {\
17473 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17474 \    # positional parameters, so assign one to ordinary parameter first.\
17475 \    func_stripname_result=${3}\
17476 \    func_stripname_result=${func_stripname_result#"${1}"}\
17477 \    func_stripname_result=${func_stripname_result%"${2}"}\
17478 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17479   && mv -f "$cfgfile.tmp" "$cfgfile" \
17480     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17481 test 0 -eq $? || _lt_function_replace_fail=:
17482
17483
17484   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17485 func_split_long_opt ()\
17486 {\
17487 \    func_split_long_opt_name=${1%%=*}\
17488 \    func_split_long_opt_arg=${1#*=}\
17489 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17490   && mv -f "$cfgfile.tmp" "$cfgfile" \
17491     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17492 test 0 -eq $? || _lt_function_replace_fail=:
17493
17494
17495   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17496 func_split_short_opt ()\
17497 {\
17498 \    func_split_short_opt_arg=${1#??}\
17499 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17500 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17501   && mv -f "$cfgfile.tmp" "$cfgfile" \
17502     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17503 test 0 -eq $? || _lt_function_replace_fail=:
17504
17505
17506   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17507 func_lo2o ()\
17508 {\
17509 \    case ${1} in\
17510 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17511 \      *)    func_lo2o_result=${1} ;;\
17512 \    esac\
17513 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17514   && mv -f "$cfgfile.tmp" "$cfgfile" \
17515     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17516 test 0 -eq $? || _lt_function_replace_fail=:
17517
17518
17519   sed -e '/^func_xform ()$/,/^} # func_xform /c\
17520 func_xform ()\
17521 {\
17522     func_xform_result=${1%.*}.lo\
17523 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17524   && mv -f "$cfgfile.tmp" "$cfgfile" \
17525     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17526 test 0 -eq $? || _lt_function_replace_fail=:
17527
17528
17529   sed -e '/^func_arith ()$/,/^} # func_arith /c\
17530 func_arith ()\
17531 {\
17532     func_arith_result=$(( $* ))\
17533 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17534   && mv -f "$cfgfile.tmp" "$cfgfile" \
17535     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17536 test 0 -eq $? || _lt_function_replace_fail=:
17537
17538
17539   sed -e '/^func_len ()$/,/^} # func_len /c\
17540 func_len ()\
17541 {\
17542     func_len_result=${#1}\
17543 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17544   && mv -f "$cfgfile.tmp" "$cfgfile" \
17545     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17546 test 0 -eq $? || _lt_function_replace_fail=:
17547
17548 fi
17549
17550 if test x"$lt_shell_append" = xyes; then
17551   sed -e '/^func_append ()$/,/^} # func_append /c\
17552 func_append ()\
17553 {\
17554     eval "${1}+=\\${2}"\
17555 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17556   && mv -f "$cfgfile.tmp" "$cfgfile" \
17557     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17558 test 0 -eq $? || _lt_function_replace_fail=:
17559
17560
17561   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17562 func_append_quoted ()\
17563 {\
17564 \    func_quote_for_eval "${2}"\
17565 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17566 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17567   && mv -f "$cfgfile.tmp" "$cfgfile" \
17568     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17569 test 0 -eq $? || _lt_function_replace_fail=:
17570
17571
17572   # Save a `func_append' function call where possible by direct use of '+='
17573   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17574     && mv -f "$cfgfile.tmp" "$cfgfile" \
17575       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17576   test 0 -eq $? || _lt_function_replace_fail=:
17577 else
17578   # Save a `func_append' function call even when '+=' is not available
17579   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17580     && mv -f "$cfgfile.tmp" "$cfgfile" \
17581       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17582   test 0 -eq $? || _lt_function_replace_fail=:
17583 fi
17584
17585 if test x"$_lt_function_replace_fail" = x":"; then
17586   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17587 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17588 fi
17589
17590
17591    mv -f "$cfgfile" "$ofile" ||
17592     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17593   chmod +x "$ofile"
17594
17595  ;;
17596
17597   esac
17598 done # for ac_tag
17599
17600
17601 as_fn_exit 0
17602 _ACEOF
17603 ac_clean_files=$ac_clean_files_save
17604
17605 test $ac_write_fail = 0 ||
17606   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17607
17608
17609 # configure is writing to config.log, and then calls config.status.
17610 # config.status does its own redirection, appending to config.log.
17611 # Unfortunately, on DOS this fails, as config.log is still kept open
17612 # by configure, so config.status won't be able to write to it; its
17613 # output is simply discarded.  So we exec the FD to /dev/null,
17614 # effectively closing config.log, so it can be properly (re)opened and
17615 # appended to by config.status.  When coming back to configure, we
17616 # need to make the FD available again.
17617 if test "$no_create" != yes; then
17618   ac_cs_success=:
17619   ac_config_status_args=
17620   test "$silent" = yes &&
17621     ac_config_status_args="$ac_config_status_args --quiet"
17622   exec 5>/dev/null
17623   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17624   exec 5>>config.log
17625   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17626   # would make configure fail if this is the last instruction.
17627   $ac_cs_success || as_fn_exit 1
17628 fi
17629 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17630   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17631 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17632 fi
17633
17634
17635
17636 #####################################################################
17637 ## Info
17638
17639 echo
17640 echo
17641 echo
17642 echo "------------------------------------------------------------------------"
17643 echo "$PACKAGE $VERSION"
17644 echo "------------------------------------------------------------------------"
17645 echo
17646 echo "Configuration Options Summary:"
17647 echo
17648 echo "  Modules:"
17649 echo "    Xine...............: ${enable_xine}"
17650 echo "    Gstreamer..........: ${enable_gstreamer} (X: ${have_ecore_x}/${build_xoverlay})"
17651 echo "    Generic............: ${enable_generic}"
17652
17653 if test "x${enable_generic}" = "xyes" || test "x${enable_generic}" = "xstatic"; then
17654 echo
17655 echo "  Generic Players:"
17656 echo "    VLC................: ${enable_generic_vlc}"
17657 fi
17658
17659 echo
17660 echo "  Build emotion_test...: $have_emotion_test"
17661 echo "  edje_cc..............: ${edje_cc}"
17662 echo
17663 echo "  Edje EXTERNAL support: ${have_edje_external}"
17664 echo
17665 echo "  Eio..................: ${have_eio}"
17666 echo "  V4L2.................: ${have_v4l2}"
17667 echo
17668 echo "Documentation..........: ${build_doc}"
17669 echo "Examples.............: ${enable_build_examples}"
17670 echo "Examples installed...: ${enable_install_examples}"
17671 echo
17672 echo "Compilation............: make (or gmake)"
17673 echo "  CPPFLAGS.............: $CPPFLAGS"
17674 echo "  CFLAGS...............: $CFLAGS"
17675 echo "  LDFLAGS..............: $LDFLAGS"
17676 echo
17677 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
17678 echo "  prefix...............: $prefix"
17679 echo
17680 if test "x${have_static_module}" = "xyes" ; then
17681 echo -e "\0033\01331;31mWarning\0033\01331;0m: You are trying to link statically one or more modules to Emotion."
17682 echo "         You must know what you are doing, or else you will have a lot of problems."
17683 echo "         And asparagus will disappear from the earth."
17684 echo "         Think about that."
17685 echo
17686 fi