Allow emotion to build into pure Wayland profile.
[platform/upstream/emotion.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for emotion 1.7.8.
4 #
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138   # into an infinite loop, continuously re-executing ourselves.
139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140     _as_can_reexec=no; export _as_can_reexec;
141     # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159   fi
160   # We don't want this to propagate to other subprocesses.
161           { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164   emulate sh
165   NULLCMD=:
166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167   # is contrary to our usage.  Disable this feature.
168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
178 "
179   as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206     PATH=/empty FPATH=/empty; export PATH FPATH
207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210   if (eval "$as_required") 2>/dev/null; then :
211   as_have_required=yes
212 else
213   as_have_required=no
214 fi
215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222   IFS=$as_save_IFS
223   test -z "$as_dir" && as_dir=.
224   as_found=:
225   case $as_dir in #(
226          /*)
227            for as_base in sh bash ksh sh5; do
228              # Try only shells that exist, to save several forks.
229              as_shell=$as_dir/$as_base
230              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   CONFIG_SHELL=$as_shell as_have_required=yes
233                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234   break 2
235 fi
236 fi
237            done;;
238        esac
239   as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243   CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248       if test "x$CONFIG_SHELL" != x; then :
249   export CONFIG_SHELL
250              # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258   *v*x* | *x*v* ) as_opts=-vx ;;
259   *v* ) as_opts=-v ;;
260   *x* ) as_opts=-x ;;
261   * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270     if test x$as_have_required = xno; then :
271   $as_echo "$0: This script requires a shell more modern than all"
272   $as_echo "$0: the shells that I found on your system."
273   if test x${ZSH_VERSION+set} = xset ; then
274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276   else
277     $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: enlightenment-devel@lists.sourceforge.net about your
279 $0: system, including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
282   fi
283   exit 1
284 fi
285 fi
286 fi
287 SHELL=${CONFIG_SHELL-/bin/sh}
288 export SHELL
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
292
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
296 # as_fn_unset VAR
297 # ---------------
298 # Portably unset VAR.
299 as_fn_unset ()
300 {
301   { eval $1=; unset $1;}
302 }
303 as_unset=as_fn_unset
304
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
308 as_fn_set_status ()
309 {
310   return $1
311 } # as_fn_set_status
312
313 # as_fn_exit STATUS
314 # -----------------
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 as_fn_exit ()
317 {
318   set +e
319   as_fn_set_status $1
320   exit $1
321 } # as_fn_exit
322
323 # as_fn_mkdir_p
324 # -------------
325 # Create "$as_dir" as a directory, including parents if necessary.
326 as_fn_mkdir_p ()
327 {
328
329   case $as_dir in #(
330   -*) as_dir=./$as_dir;;
331   esac
332   test -d "$as_dir" || eval $as_mkdir_p || {
333     as_dirs=
334     while :; do
335       case $as_dir in #(
336       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337       *) as_qdir=$as_dir;;
338       esac
339       as_dirs="'$as_qdir' $as_dirs"
340       as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342          X"$as_dir" : 'X\(//\)[^/]' \| \
343          X"$as_dir" : 'X\(//\)$' \| \
344          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347             s//\1/
348             q
349           }
350           /^X\(\/\/\)[^/].*/{
351             s//\1/
352             q
353           }
354           /^X\(\/\/\)$/{
355             s//\1/
356             q
357           }
358           /^X\(\/\).*/{
359             s//\1/
360             q
361           }
362           s/.*/./; q'`
363       test -d "$as_dir" && break
364     done
365     test -z "$as_dirs" || eval "mkdir $as_dirs"
366   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369 } # as_fn_mkdir_p
370
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
375 {
376   test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
383 # implementations.
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385   eval 'as_fn_append ()
386   {
387     eval $1+=\$2
388   }'
389 else
390   as_fn_append ()
391   {
392     eval $1=\$$1\$2
393   }
394 fi # as_fn_append
395
396 # as_fn_arith ARG...
397 # ------------------
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402   eval 'as_fn_arith ()
403   {
404     as_val=$(( $* ))
405   }'
406 else
407   as_fn_arith ()
408   {
409     as_val=`expr "$@" || test $? -eq 1`
410   }
411 fi # as_fn_arith
412
413
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
419 as_fn_error ()
420 {
421   as_status=$1; test $as_status -eq 0 && as_status=1
422   if test "$4"; then
423     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425   fi
426   $as_echo "$as_me: error: $2" >&2
427   as_fn_exit $as_status
428 } # as_fn_error
429
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431    test "X`expr 00001 : '.*\(...\)'`" = X001; then
432   as_expr=expr
433 else
434   as_expr=false
435 fi
436
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438   as_basename=basename
439 else
440   as_basename=false
441 fi
442
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444   as_dirname=dirname
445 else
446   as_dirname=false
447 fi
448
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451          X"$0" : 'X\(//\)$' \| \
452          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453 $as_echo X/"$0" |
454     sed '/^.*\/\([^/][^/]*\)\/*$/{
455             s//\1/
456             q
457           }
458           /^X\/\(\/\/\)$/{
459             s//\1/
460             q
461           }
462           /^X\/\(\/\).*/{
463             s//\1/
464             q
465           }
466           s/.*/./; q'`
467
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476   as_lineno_1=$LINENO as_lineno_1a=$LINENO
477   as_lineno_2=$LINENO as_lineno_2a=$LINENO
478   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481   sed -n '
482     p
483     /[$]LINENO/=
484   ' <$as_myself |
485     sed '
486       s/[$]LINENO.*/&-/
487       t lineno
488       b
489       :lineno
490       N
491       :loop
492       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493       t loop
494       s/-\n.*//
495     ' >$as_me.lineno &&
496   chmod +x "$as_me.lineno" ||
497     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500   # already done that, so ensure we don't try to do so again and fall
501   # in an infinite loop.  This has already happened in practice.
502   _as_can_reexec=no; export _as_can_reexec
503   # Don't try to exec as it changes $[0], causing all sort of problems
504   # (the dirname of $[0] is not the place where we might find the
505   # original and so on.  Autoconf is especially sensitive to this).
506   . "./$as_me.lineno"
507   # Exit status is that of the last command.
508   exit
509 }
510
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
513 -n*)
514   case `echo 'xy\c'` in
515   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
516   xy)  ECHO_C='\c';;
517   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518        ECHO_T=' ';;
519   esac;;
520 *)
521   ECHO_N='-n';;
522 esac
523
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526   rm -f conf$$.dir/conf$$.file
527 else
528   rm -f conf$$.dir
529   mkdir conf$$.dir 2>/dev/null
530 fi
531 if (echo >conf$$.file) 2>/dev/null; then
532   if ln -s conf$$.file conf$$ 2>/dev/null; then
533     as_ln_s='ln -s'
534     # ... but there are two gotchas:
535     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537     # In both cases, we have to default to `cp -pR'.
538     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539       as_ln_s='cp -pR'
540   elif ln conf$$.file conf$$ 2>/dev/null; then
541     as_ln_s=ln
542   else
543     as_ln_s='cp -pR'
544   fi
545 else
546   as_ln_s='cp -pR'
547 fi
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
550
551 if mkdir -p . 2>/dev/null; then
552   as_mkdir_p='mkdir -p "$as_dir"'
553 else
554   test -d ./-p && rmdir ./-p
555   as_mkdir_p=false
556 fi
557
558 as_test_x='test -x'
559 as_executable_p=as_fn_executable_p
560
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567 SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570 test -n "$DJDIR" || exec 7<&0 </dev/null
571 exec 6>&1
572
573 # Name of the host.
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578 #
579 # Initializations.
580 #
581 ac_default_prefix=/usr/local
582 ac_clean_files=
583 ac_config_libobj_dir=.
584 LIBOBJS=
585 cross_compiling=no
586 subdirs=
587 MFLAGS=
588 MAKEFLAGS=
589
590 # Identity of this package.
591 PACKAGE_NAME='emotion'
592 PACKAGE_TARNAME='emotion'
593 PACKAGE_VERSION='1.7.8'
594 PACKAGE_STRING='emotion 1.7.8'
595 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
596 PACKAGE_URL=''
597
598 ac_unique_file="configure.ac"
599 # Factoring default headers for most tests.
600 ac_includes_default="\
601 #include <stdio.h>
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
604 #endif
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
607 #endif
608 #ifdef STDC_HEADERS
609 # include <stdlib.h>
610 # include <stddef.h>
611 #else
612 # ifdef HAVE_STDLIB_H
613 #  include <stdlib.h>
614 # endif
615 #endif
616 #ifdef HAVE_STRING_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 #  include <memory.h>
619 # endif
620 # include <string.h>
621 #endif
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
624 #endif
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
627 #endif
628 #ifdef HAVE_STDINT_H
629 # include <stdint.h>
630 #endif
631 #ifdef HAVE_UNISTD_H
632 # include <unistd.h>
633 #endif"
634
635 ac_subst_vars='am__EXEEXT_FALSE
636 am__EXEEXT_TRUE
637 LTLIBOBJS
638 LIBOBJS
639 requirement_emotion
640 EFL_INSTALL_EXAMPLES_FALSE
641 EFL_INSTALL_EXAMPLES_TRUE
642 EFL_BUILD_EXAMPLES_FALSE
643 EFL_BUILD_EXAMPLES_TRUE
644 GSTREAMER_INTERFACE_LIBS
645 GSTREAMER_INTERFACE_CFLAGS
646 EMOTION_BUILD_GENERIC_VLC_FALSE
647 EMOTION_BUILD_GENERIC_VLC_TRUE
648 GENERIC_VLC_LIBS
649 GENERIC_VLC_CFLAGS
650 EFL_SHM_OPEN_LIBS
651 EMOTION_STATIC_BUILD_GENERIC_FALSE
652 EMOTION_STATIC_BUILD_GENERIC_TRUE
653 EMOTION_BUILD_GENERIC_FALSE
654 EMOTION_BUILD_GENERIC_TRUE
655 GENERIC_LIBS
656 GENERIC_CFLAGS
657 EMOTION_STATIC_BUILD_GSTREAMER_FALSE
658 EMOTION_STATIC_BUILD_GSTREAMER_TRUE
659 EMOTION_BUILD_GSTREAMER_FALSE
660 EMOTION_BUILD_GSTREAMER_TRUE
661 GSTREAMER_LIBS
662 GSTREAMER_CFLAGS
663 EMOTION_STATIC_BUILD_XINE_FALSE
664 EMOTION_STATIC_BUILD_XINE_TRUE
665 EMOTION_BUILD_XINE_FALSE
666 EMOTION_BUILD_XINE_TRUE
667 XINE_LIBS
668 XINE_CFLAGS
669 ALLOCA
670 lt_enable_auto_import
671 EMOTION_CPPFLAGS
672 EFL_EMOTION_BUILD
673 HAVE_EIO_FALSE
674 HAVE_EIO_TRUE
675 EIO_LIBS
676 EIO_CFLAGS
677 EEZE_LIBS
678 EEZE_CFLAGS
679 ENABLE_EDJE_EXTERNAL_FALSE
680 ENABLE_EDJE_EXTERNAL_TRUE
681 MODULE_EDJE
682 EDJE_EXTERNAL_LIBS
683 EDJE_EXTERNAL_CFLAGS
684 ECORE_FB_LIBS
685 ECORE_FB_CFLAGS
686 ECORE_X_LIBS
687 ECORE_X_CFLAGS
688 EMOTION_BIN_LIBS
689 EMOTION_BIN_CFLAGS
690 EMOTION_LIBS
691 EMOTION_CFLAGS
692 EFL_BUILD_DOC_FALSE
693 EFL_BUILD_DOC_TRUE
694 efl_doxygen
695 efl_have_doxygen
696 pkgconfig_requires_private
697 PKG_CONFIG_LIBDIR
698 PKG_CONFIG_PATH
699 PKG_CONFIG
700 edje_cc
701 BUILD_EMOTION_TEST_FALSE
702 BUILD_EMOTION_TEST_TRUE
703 EMOTION_TEST_PRG
704 VMAJ
705 release_info
706 version_info
707 CPP
708 OTOOL64
709 OTOOL
710 LIPO
711 NMEDIT
712 DSYMUTIL
713 MANIFEST_TOOL
714 RANLIB
715 ac_ct_AR
716 AR
717 LN_S
718 NM
719 ac_ct_DUMPBIN
720 DUMPBIN
721 LD
722 FGREP
723 EGREP
724 GREP
725 SED
726 LIBTOOL
727 OBJDUMP
728 DLLTOOL
729 AS
730 AM_BACKSLASH
731 AM_DEFAULT_VERBOSITY
732 AM_DEFAULT_V
733 AM_V
734 am__fastdepCC_FALSE
735 am__fastdepCC_TRUE
736 CCDEPMODE
737 am__nodep
738 AMDEPBACKSLASH
739 AMDEP_FALSE
740 AMDEP_TRUE
741 am__quote
742 am__include
743 DEPDIR
744 am__untar
745 am__tar
746 AMTAR
747 am__leading_dot
748 SET_MAKE
749 AWK
750 mkdir_p
751 MKDIR_P
752 INSTALL_STRIP_PROGRAM
753 STRIP
754 install_sh
755 MAKEINFO
756 AUTOHEADER
757 AUTOMAKE
758 AUTOCONF
759 ACLOCAL
760 VERSION
761 PACKAGE
762 CYGPATH_W
763 am__isrc
764 INSTALL_DATA
765 INSTALL_SCRIPT
766 INSTALL_PROGRAM
767 OBJEXT
768 EXEEXT
769 ac_ct_CC
770 CPPFLAGS
771 LDFLAGS
772 CFLAGS
773 CC
774 host_os
775 host_vendor
776 host_cpu
777 host
778 build_os
779 build_vendor
780 build_cpu
781 build
782 target_alias
783 host_alias
784 build_alias
785 LIBS
786 ECHO_T
787 ECHO_N
788 ECHO_C
789 DEFS
790 mandir
791 localedir
792 libdir
793 psdir
794 pdfdir
795 dvidir
796 htmldir
797 infodir
798 docdir
799 oldincludedir
800 includedir
801 localstatedir
802 sharedstatedir
803 sysconfdir
804 datadir
805 datarootdir
806 libexecdir
807 sbindir
808 bindir
809 program_transform_name
810 prefix
811 exec_prefix
812 PACKAGE_URL
813 PACKAGE_BUGREPORT
814 PACKAGE_STRING
815 PACKAGE_VERSION
816 PACKAGE_TARNAME
817 PACKAGE_NAME
818 PATH_SEPARATOR
819 SHELL'
820 ac_subst_files=''
821 ac_user_opts='
822 enable_option_checking
823 enable_dependency_tracking
824 enable_silent_rules
825 enable_shared
826 enable_static
827 with_pic
828 enable_fast_install
829 with_gnu_ld
830 with_sysroot
831 enable_libtool_lock
832 enable_emotion_test
833 with_edje_cc
834 enable_doc
835 with_doxygen
836 enable_edje_external
837 enable_ecore_x
838 enable_xine
839 enable_gstreamer
840 enable_generic
841 enable_generic_vlc
842 enable_build_examples
843 enable_install_examples
844 '
845       ac_precious_vars='build_alias
846 host_alias
847 target_alias
848 CC
849 CFLAGS
850 LDFLAGS
851 LIBS
852 CPPFLAGS
853 CPP
854 PKG_CONFIG
855 PKG_CONFIG_PATH
856 PKG_CONFIG_LIBDIR
857 EMOTION_CFLAGS
858 EMOTION_LIBS
859 EMOTION_BIN_CFLAGS
860 EMOTION_BIN_LIBS
861 ECORE_X_CFLAGS
862 ECORE_X_LIBS
863 ECORE_FB_CFLAGS
864 ECORE_FB_LIBS
865 EDJE_EXTERNAL_CFLAGS
866 EDJE_EXTERNAL_LIBS
867 EEZE_CFLAGS
868 EEZE_LIBS
869 EIO_CFLAGS
870 EIO_LIBS
871 XINE_CFLAGS
872 XINE_LIBS
873 GSTREAMER_CFLAGS
874 GSTREAMER_LIBS
875 GENERIC_CFLAGS
876 GENERIC_LIBS
877 GENERIC_VLC_CFLAGS
878 GENERIC_VLC_LIBS
879 GSTREAMER_INTERFACE_CFLAGS
880 GSTREAMER_INTERFACE_LIBS'
881
882
883 # Initialize some variables set by options.
884 ac_init_help=
885 ac_init_version=false
886 ac_unrecognized_opts=
887 ac_unrecognized_sep=
888 # The variables have the same names as the options, with
889 # dashes changed to underlines.
890 cache_file=/dev/null
891 exec_prefix=NONE
892 no_create=
893 no_recursion=
894 prefix=NONE
895 program_prefix=NONE
896 program_suffix=NONE
897 program_transform_name=s,x,x,
898 silent=
899 site=
900 srcdir=
901 verbose=
902 x_includes=NONE
903 x_libraries=NONE
904
905 # Installation directory options.
906 # These are left unexpanded so users can "make install exec_prefix=/foo"
907 # and all the variables that are supposed to be based on exec_prefix
908 # by default will actually change.
909 # Use braces instead of parens because sh, perl, etc. also accept them.
910 # (The list follows the same order as the GNU Coding Standards.)
911 bindir='${exec_prefix}/bin'
912 sbindir='${exec_prefix}/sbin'
913 libexecdir='${exec_prefix}/libexec'
914 datarootdir='${prefix}/share'
915 datadir='${datarootdir}'
916 sysconfdir='${prefix}/etc'
917 sharedstatedir='${prefix}/com'
918 localstatedir='${prefix}/var'
919 includedir='${prefix}/include'
920 oldincludedir='/usr/include'
921 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
922 infodir='${datarootdir}/info'
923 htmldir='${docdir}'
924 dvidir='${docdir}'
925 pdfdir='${docdir}'
926 psdir='${docdir}'
927 libdir='${exec_prefix}/lib'
928 localedir='${datarootdir}/locale'
929 mandir='${datarootdir}/man'
930
931 ac_prev=
932 ac_dashdash=
933 for ac_option
934 do
935   # If the previous option needs an argument, assign it.
936   if test -n "$ac_prev"; then
937     eval $ac_prev=\$ac_option
938     ac_prev=
939     continue
940   fi
941
942   case $ac_option in
943   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
944   *=)   ac_optarg= ;;
945   *)    ac_optarg=yes ;;
946   esac
947
948   # Accept the important Cygnus configure options, so we can diagnose typos.
949
950   case $ac_dashdash$ac_option in
951   --)
952     ac_dashdash=yes ;;
953
954   -bindir | --bindir | --bindi | --bind | --bin | --bi)
955     ac_prev=bindir ;;
956   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
957     bindir=$ac_optarg ;;
958
959   -build | --build | --buil | --bui | --bu)
960     ac_prev=build_alias ;;
961   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
962     build_alias=$ac_optarg ;;
963
964   -cache-file | --cache-file | --cache-fil | --cache-fi \
965   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
966     ac_prev=cache_file ;;
967   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
968   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
969     cache_file=$ac_optarg ;;
970
971   --config-cache | -C)
972     cache_file=config.cache ;;
973
974   -datadir | --datadir | --datadi | --datad)
975     ac_prev=datadir ;;
976   -datadir=* | --datadir=* | --datadi=* | --datad=*)
977     datadir=$ac_optarg ;;
978
979   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
980   | --dataroo | --dataro | --datar)
981     ac_prev=datarootdir ;;
982   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
983   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
984     datarootdir=$ac_optarg ;;
985
986   -disable-* | --disable-*)
987     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
988     # Reject names that are not valid shell variable names.
989     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
990       as_fn_error $? "invalid feature name: $ac_useropt"
991     ac_useropt_orig=$ac_useropt
992     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
993     case $ac_user_opts in
994       *"
995 "enable_$ac_useropt"
996 "*) ;;
997       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
998          ac_unrecognized_sep=', ';;
999     esac
1000     eval enable_$ac_useropt=no ;;
1001
1002   -docdir | --docdir | --docdi | --doc | --do)
1003     ac_prev=docdir ;;
1004   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1005     docdir=$ac_optarg ;;
1006
1007   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1008     ac_prev=dvidir ;;
1009   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1010     dvidir=$ac_optarg ;;
1011
1012   -enable-* | --enable-*)
1013     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1014     # Reject names that are not valid shell variable names.
1015     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1016       as_fn_error $? "invalid feature name: $ac_useropt"
1017     ac_useropt_orig=$ac_useropt
1018     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1019     case $ac_user_opts in
1020       *"
1021 "enable_$ac_useropt"
1022 "*) ;;
1023       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1024          ac_unrecognized_sep=', ';;
1025     esac
1026     eval enable_$ac_useropt=\$ac_optarg ;;
1027
1028   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1029   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1030   | --exec | --exe | --ex)
1031     ac_prev=exec_prefix ;;
1032   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1033   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1034   | --exec=* | --exe=* | --ex=*)
1035     exec_prefix=$ac_optarg ;;
1036
1037   -gas | --gas | --ga | --g)
1038     # Obsolete; use --with-gas.
1039     with_gas=yes ;;
1040
1041   -help | --help | --hel | --he | -h)
1042     ac_init_help=long ;;
1043   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1044     ac_init_help=recursive ;;
1045   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1046     ac_init_help=short ;;
1047
1048   -host | --host | --hos | --ho)
1049     ac_prev=host_alias ;;
1050   -host=* | --host=* | --hos=* | --ho=*)
1051     host_alias=$ac_optarg ;;
1052
1053   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1054     ac_prev=htmldir ;;
1055   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1056   | --ht=*)
1057     htmldir=$ac_optarg ;;
1058
1059   -includedir | --includedir | --includedi | --included | --include \
1060   | --includ | --inclu | --incl | --inc)
1061     ac_prev=includedir ;;
1062   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1063   | --includ=* | --inclu=* | --incl=* | --inc=*)
1064     includedir=$ac_optarg ;;
1065
1066   -infodir | --infodir | --infodi | --infod | --info | --inf)
1067     ac_prev=infodir ;;
1068   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1069     infodir=$ac_optarg ;;
1070
1071   -libdir | --libdir | --libdi | --libd)
1072     ac_prev=libdir ;;
1073   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1074     libdir=$ac_optarg ;;
1075
1076   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1077   | --libexe | --libex | --libe)
1078     ac_prev=libexecdir ;;
1079   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1080   | --libexe=* | --libex=* | --libe=*)
1081     libexecdir=$ac_optarg ;;
1082
1083   -localedir | --localedir | --localedi | --localed | --locale)
1084     ac_prev=localedir ;;
1085   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1086     localedir=$ac_optarg ;;
1087
1088   -localstatedir | --localstatedir | --localstatedi | --localstated \
1089   | --localstate | --localstat | --localsta | --localst | --locals)
1090     ac_prev=localstatedir ;;
1091   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1092   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1093     localstatedir=$ac_optarg ;;
1094
1095   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1096     ac_prev=mandir ;;
1097   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1098     mandir=$ac_optarg ;;
1099
1100   -nfp | --nfp | --nf)
1101     # Obsolete; use --without-fp.
1102     with_fp=no ;;
1103
1104   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1105   | --no-cr | --no-c | -n)
1106     no_create=yes ;;
1107
1108   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1109   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1110     no_recursion=yes ;;
1111
1112   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1113   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1114   | --oldin | --oldi | --old | --ol | --o)
1115     ac_prev=oldincludedir ;;
1116   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1117   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1118   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1119     oldincludedir=$ac_optarg ;;
1120
1121   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1122     ac_prev=prefix ;;
1123   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1124     prefix=$ac_optarg ;;
1125
1126   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1127   | --program-pre | --program-pr | --program-p)
1128     ac_prev=program_prefix ;;
1129   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1130   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1131     program_prefix=$ac_optarg ;;
1132
1133   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1134   | --program-suf | --program-su | --program-s)
1135     ac_prev=program_suffix ;;
1136   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1137   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1138     program_suffix=$ac_optarg ;;
1139
1140   -program-transform-name | --program-transform-name \
1141   | --program-transform-nam | --program-transform-na \
1142   | --program-transform-n | --program-transform- \
1143   | --program-transform | --program-transfor \
1144   | --program-transfo | --program-transf \
1145   | --program-trans | --program-tran \
1146   | --progr-tra | --program-tr | --program-t)
1147     ac_prev=program_transform_name ;;
1148   -program-transform-name=* | --program-transform-name=* \
1149   | --program-transform-nam=* | --program-transform-na=* \
1150   | --program-transform-n=* | --program-transform-=* \
1151   | --program-transform=* | --program-transfor=* \
1152   | --program-transfo=* | --program-transf=* \
1153   | --program-trans=* | --program-tran=* \
1154   | --progr-tra=* | --program-tr=* | --program-t=*)
1155     program_transform_name=$ac_optarg ;;
1156
1157   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1158     ac_prev=pdfdir ;;
1159   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1160     pdfdir=$ac_optarg ;;
1161
1162   -psdir | --psdir | --psdi | --psd | --ps)
1163     ac_prev=psdir ;;
1164   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1165     psdir=$ac_optarg ;;
1166
1167   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1168   | -silent | --silent | --silen | --sile | --sil)
1169     silent=yes ;;
1170
1171   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1172     ac_prev=sbindir ;;
1173   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1174   | --sbi=* | --sb=*)
1175     sbindir=$ac_optarg ;;
1176
1177   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1178   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1179   | --sharedst | --shareds | --shared | --share | --shar \
1180   | --sha | --sh)
1181     ac_prev=sharedstatedir ;;
1182   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1183   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1184   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1185   | --sha=* | --sh=*)
1186     sharedstatedir=$ac_optarg ;;
1187
1188   -site | --site | --sit)
1189     ac_prev=site ;;
1190   -site=* | --site=* | --sit=*)
1191     site=$ac_optarg ;;
1192
1193   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1194     ac_prev=srcdir ;;
1195   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1196     srcdir=$ac_optarg ;;
1197
1198   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1199   | --syscon | --sysco | --sysc | --sys | --sy)
1200     ac_prev=sysconfdir ;;
1201   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1202   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1203     sysconfdir=$ac_optarg ;;
1204
1205   -target | --target | --targe | --targ | --tar | --ta | --t)
1206     ac_prev=target_alias ;;
1207   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1208     target_alias=$ac_optarg ;;
1209
1210   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1211     verbose=yes ;;
1212
1213   -version | --version | --versio | --versi | --vers | -V)
1214     ac_init_version=: ;;
1215
1216   -with-* | --with-*)
1217     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1218     # Reject names that are not valid shell variable names.
1219     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1220       as_fn_error $? "invalid package name: $ac_useropt"
1221     ac_useropt_orig=$ac_useropt
1222     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1223     case $ac_user_opts in
1224       *"
1225 "with_$ac_useropt"
1226 "*) ;;
1227       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1228          ac_unrecognized_sep=', ';;
1229     esac
1230     eval with_$ac_useropt=\$ac_optarg ;;
1231
1232   -without-* | --without-*)
1233     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1234     # Reject names that are not valid shell variable names.
1235     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1236       as_fn_error $? "invalid package name: $ac_useropt"
1237     ac_useropt_orig=$ac_useropt
1238     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1239     case $ac_user_opts in
1240       *"
1241 "with_$ac_useropt"
1242 "*) ;;
1243       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1244          ac_unrecognized_sep=', ';;
1245     esac
1246     eval with_$ac_useropt=no ;;
1247
1248   --x)
1249     # Obsolete; use --with-x.
1250     with_x=yes ;;
1251
1252   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1253   | --x-incl | --x-inc | --x-in | --x-i)
1254     ac_prev=x_includes ;;
1255   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1256   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1257     x_includes=$ac_optarg ;;
1258
1259   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1260   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1261     ac_prev=x_libraries ;;
1262   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1263   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1264     x_libraries=$ac_optarg ;;
1265
1266   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1267 Try \`$0 --help' for more information"
1268     ;;
1269
1270   *=*)
1271     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1272     # Reject names that are not valid shell variable names.
1273     case $ac_envvar in #(
1274       '' | [0-9]* | *[!_$as_cr_alnum]* )
1275       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1276     esac
1277     eval $ac_envvar=\$ac_optarg
1278     export $ac_envvar ;;
1279
1280   *)
1281     # FIXME: should be removed in autoconf 3.0.
1282     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1283     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1284       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1285     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1286     ;;
1287
1288   esac
1289 done
1290
1291 if test -n "$ac_prev"; then
1292   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1293   as_fn_error $? "missing argument to $ac_option"
1294 fi
1295
1296 if test -n "$ac_unrecognized_opts"; then
1297   case $enable_option_checking in
1298     no) ;;
1299     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1300     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1301   esac
1302 fi
1303
1304 # Check all directory arguments for consistency.
1305 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1306                 datadir sysconfdir sharedstatedir localstatedir includedir \
1307                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1308                 libdir localedir mandir
1309 do
1310   eval ac_val=\$$ac_var
1311   # Remove trailing slashes.
1312   case $ac_val in
1313     */ )
1314       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1315       eval $ac_var=\$ac_val;;
1316   esac
1317   # Be sure to have absolute directory names.
1318   case $ac_val in
1319     [\\/$]* | ?:[\\/]* )  continue;;
1320     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1321   esac
1322   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1323 done
1324
1325 # There might be people who depend on the old broken behavior: `$host'
1326 # used to hold the argument of --host etc.
1327 # FIXME: To remove some day.
1328 build=$build_alias
1329 host=$host_alias
1330 target=$target_alias
1331
1332 # FIXME: To remove some day.
1333 if test "x$host_alias" != x; then
1334   if test "x$build_alias" = x; then
1335     cross_compiling=maybe
1336   elif test "x$build_alias" != "x$host_alias"; then
1337     cross_compiling=yes
1338   fi
1339 fi
1340
1341 ac_tool_prefix=
1342 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1343
1344 test "$silent" = yes && exec 6>/dev/null
1345
1346
1347 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1348 ac_ls_di=`ls -di .` &&
1349 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1350   as_fn_error $? "working directory cannot be determined"
1351 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1352   as_fn_error $? "pwd does not report name of working directory"
1353
1354
1355 # Find the source files, if location was not specified.
1356 if test -z "$srcdir"; then
1357   ac_srcdir_defaulted=yes
1358   # Try the directory containing this script, then the parent directory.
1359   ac_confdir=`$as_dirname -- "$as_myself" ||
1360 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1361          X"$as_myself" : 'X\(//\)[^/]' \| \
1362          X"$as_myself" : 'X\(//\)$' \| \
1363          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1364 $as_echo X"$as_myself" |
1365     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1366             s//\1/
1367             q
1368           }
1369           /^X\(\/\/\)[^/].*/{
1370             s//\1/
1371             q
1372           }
1373           /^X\(\/\/\)$/{
1374             s//\1/
1375             q
1376           }
1377           /^X\(\/\).*/{
1378             s//\1/
1379             q
1380           }
1381           s/.*/./; q'`
1382   srcdir=$ac_confdir
1383   if test ! -r "$srcdir/$ac_unique_file"; then
1384     srcdir=..
1385   fi
1386 else
1387   ac_srcdir_defaulted=no
1388 fi
1389 if test ! -r "$srcdir/$ac_unique_file"; then
1390   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1391   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1392 fi
1393 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1394 ac_abs_confdir=`(
1395         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1396         pwd)`
1397 # When building in place, set srcdir=.
1398 if test "$ac_abs_confdir" = "$ac_pwd"; then
1399   srcdir=.
1400 fi
1401 # Remove unnecessary trailing slashes from srcdir.
1402 # Double slashes in file names in object file debugging info
1403 # mess up M-x gdb in Emacs.
1404 case $srcdir in
1405 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1406 esac
1407 for ac_var in $ac_precious_vars; do
1408   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1409   eval ac_env_${ac_var}_value=\$${ac_var}
1410   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1411   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1412 done
1413
1414 #
1415 # Report the --help message.
1416 #
1417 if test "$ac_init_help" = "long"; then
1418   # Omit some internal or obsolete options to make the list less imposing.
1419   # This message is too long to be a string in the A/UX 3.1 sh.
1420   cat <<_ACEOF
1421 \`configure' configures emotion 1.7.8 to adapt to many kinds of systems.
1422
1423 Usage: $0 [OPTION]... [VAR=VALUE]...
1424
1425 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1426 VAR=VALUE.  See below for descriptions of some of the useful variables.
1427
1428 Defaults for the options are specified in brackets.
1429
1430 Configuration:
1431   -h, --help              display this help and exit
1432       --help=short        display options specific to this package
1433       --help=recursive    display the short help of all the included packages
1434   -V, --version           display version information and exit
1435   -q, --quiet, --silent   do not print \`checking ...' messages
1436       --cache-file=FILE   cache test results in FILE [disabled]
1437   -C, --config-cache      alias for \`--cache-file=config.cache'
1438   -n, --no-create         do not create output files
1439       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1440
1441 Installation directories:
1442   --prefix=PREFIX         install architecture-independent files in PREFIX
1443                           [$ac_default_prefix]
1444   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1445                           [PREFIX]
1446
1447 By default, \`make install' will install all the files in
1448 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1449 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1450 for instance \`--prefix=\$HOME'.
1451
1452 For better control, use the options below.
1453
1454 Fine tuning of the installation directories:
1455   --bindir=DIR            user executables [EPREFIX/bin]
1456   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1457   --libexecdir=DIR        program executables [EPREFIX/libexec]
1458   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1459   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1460   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1461   --libdir=DIR            object code libraries [EPREFIX/lib]
1462   --includedir=DIR        C header files [PREFIX/include]
1463   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1464   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1465   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1466   --infodir=DIR           info documentation [DATAROOTDIR/info]
1467   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1468   --mandir=DIR            man documentation [DATAROOTDIR/man]
1469   --docdir=DIR            documentation root [DATAROOTDIR/doc/emotion]
1470   --htmldir=DIR           html documentation [DOCDIR]
1471   --dvidir=DIR            dvi documentation [DOCDIR]
1472   --pdfdir=DIR            pdf documentation [DOCDIR]
1473   --psdir=DIR             ps documentation [DOCDIR]
1474 _ACEOF
1475
1476   cat <<\_ACEOF
1477
1478 Program names:
1479   --program-prefix=PREFIX            prepend PREFIX to installed program names
1480   --program-suffix=SUFFIX            append SUFFIX to installed program names
1481   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1482
1483 System types:
1484   --build=BUILD     configure for building on BUILD [guessed]
1485   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1486 _ACEOF
1487 fi
1488
1489 if test -n "$ac_init_help"; then
1490   case $ac_init_help in
1491      short | recursive ) echo "Configuration of emotion 1.7.8:";;
1492    esac
1493   cat <<\_ACEOF
1494
1495 Optional Features:
1496   --disable-option-checking  ignore unrecognized --enable/--with options
1497   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1498   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1499   --enable-dependency-tracking
1500                           do not reject slow dependency extractors
1501   --disable-dependency-tracking
1502                           speeds up one-time build
1503   --enable-silent-rules   less verbose build output (undo: "make V=1")
1504   --disable-silent-rules  verbose build output (undo: "make V=0")
1505   --enable-shared[=PKGS]  build shared libraries [default=yes]
1506   --enable-static[=PKGS]  build static libraries [default=yes]
1507   --enable-fast-install[=PKGS]
1508                           optimize for fast installation [default=yes]
1509   --disable-libtool-lock  avoid locking (might break parallel builds)
1510   --disable-emotion-test  disable building of emotion_test
1511   --disable-doc           Disable documentation build [default=enabled]
1512   --disable-edje-external disable providing Edje EXTERNAL support.
1513                           [default=enabled]
1514   --disable-ecore-x       disable ecore-x support. [default=detect]
1515   --enable-xine           enable build of Xine module [default=yes]
1516   --enable-gstreamer      enable build of Gstreamer module [default=yes]
1517   --enable-generic        enable build of Generic module [default=yes]
1518   --enable-generic-vlc    enable build of Generic Player VLC [default=yes]
1519   --enable-build-examples enable building examples [default=disabled]
1520   --enable-install-examples
1521                           enable installing example source files
1522                           [default=disabled]
1523
1524 Optional Packages:
1525   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1526   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1527   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1528                           both]
1529   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1530   --with-sysroot=DIR Search for dependent libraries within DIR
1531                         (or the compiler's sysroot if not specified).
1532   --with-edje-cc=PATH     specify a specific path to edje_cc
1533   --with-doxygen=FILE     doxygen program to use [default=doxygen]
1534
1535 Some influential environment variables:
1536   CC          C compiler command
1537   CFLAGS      C compiler flags
1538   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1539               nonstandard directory <lib dir>
1540   LIBS        libraries to pass to the linker, e.g. -l<library>
1541   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1542               you have headers in a nonstandard directory <include dir>
1543   CPP         C preprocessor
1544   PKG_CONFIG  path to pkg-config utility
1545   PKG_CONFIG_PATH
1546               directories to add to pkg-config's search path
1547   PKG_CONFIG_LIBDIR
1548               path overriding pkg-config's built-in search path
1549   EMOTION_CFLAGS
1550               C compiler flags for EMOTION, overriding pkg-config
1551   EMOTION_LIBS
1552               linker flags for EMOTION, overriding pkg-config
1553   EMOTION_BIN_CFLAGS
1554               C compiler flags for EMOTION_BIN, overriding pkg-config
1555   EMOTION_BIN_LIBS
1556               linker flags for EMOTION_BIN, overriding pkg-config
1557   ECORE_X_CFLAGS
1558               C compiler flags for ECORE_X, overriding pkg-config
1559   ECORE_X_LIBS
1560               linker flags for ECORE_X, overriding pkg-config
1561   ECORE_FB_CFLAGS
1562               C compiler flags for ECORE_FB, overriding pkg-config
1563   ECORE_FB_LIBS
1564               linker flags for ECORE_FB, overriding pkg-config
1565   EDJE_EXTERNAL_CFLAGS
1566               C compiler flags for EDJE_EXTERNAL, overriding pkg-config
1567   EDJE_EXTERNAL_LIBS
1568               linker flags for EDJE_EXTERNAL, overriding pkg-config
1569   EEZE_CFLAGS C compiler flags for EEZE, overriding pkg-config
1570   EEZE_LIBS   linker flags for EEZE, overriding pkg-config
1571   EIO_CFLAGS  C compiler flags for EIO, overriding pkg-config
1572   EIO_LIBS    linker flags for EIO, overriding pkg-config
1573   XINE_CFLAGS C compiler flags for XINE, overriding pkg-config
1574   XINE_LIBS   linker flags for XINE, overriding pkg-config
1575   GSTREAMER_CFLAGS
1576               C compiler flags for GSTREAMER, overriding pkg-config
1577   GSTREAMER_LIBS
1578               linker flags for GSTREAMER, overriding pkg-config
1579   GENERIC_CFLAGS
1580               C compiler flags for GENERIC, overriding pkg-config
1581   GENERIC_LIBS
1582               linker flags for GENERIC, overriding pkg-config
1583   GENERIC_VLC_CFLAGS
1584               C compiler flags for GENERIC_VLC, overriding pkg-config
1585   GENERIC_VLC_LIBS
1586               linker flags for GENERIC_VLC, overriding pkg-config
1587   GSTREAMER_INTERFACE_CFLAGS
1588               C compiler flags for GSTREAMER_INTERFACE, overriding pkg-config
1589   GSTREAMER_INTERFACE_LIBS
1590               linker flags for GSTREAMER_INTERFACE, overriding pkg-config
1591
1592 Use these variables to override the choices made by `configure' or to help
1593 it to find libraries and programs with nonstandard names/locations.
1594
1595 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1596 _ACEOF
1597 ac_status=$?
1598 fi
1599
1600 if test "$ac_init_help" = "recursive"; then
1601   # If there are subdirs, report their specific --help.
1602   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1603     test -d "$ac_dir" ||
1604       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1605       continue
1606     ac_builddir=.
1607
1608 case "$ac_dir" in
1609 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1610 *)
1611   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1612   # A ".." for each directory in $ac_dir_suffix.
1613   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1614   case $ac_top_builddir_sub in
1615   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1616   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1617   esac ;;
1618 esac
1619 ac_abs_top_builddir=$ac_pwd
1620 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1621 # for backward compatibility:
1622 ac_top_builddir=$ac_top_build_prefix
1623
1624 case $srcdir in
1625   .)  # We are building in place.
1626     ac_srcdir=.
1627     ac_top_srcdir=$ac_top_builddir_sub
1628     ac_abs_top_srcdir=$ac_pwd ;;
1629   [\\/]* | ?:[\\/]* )  # Absolute name.
1630     ac_srcdir=$srcdir$ac_dir_suffix;
1631     ac_top_srcdir=$srcdir
1632     ac_abs_top_srcdir=$srcdir ;;
1633   *) # Relative name.
1634     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1635     ac_top_srcdir=$ac_top_build_prefix$srcdir
1636     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1637 esac
1638 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1639
1640     cd "$ac_dir" || { ac_status=$?; continue; }
1641     # Check for guested configure.
1642     if test -f "$ac_srcdir/configure.gnu"; then
1643       echo &&
1644       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1645     elif test -f "$ac_srcdir/configure"; then
1646       echo &&
1647       $SHELL "$ac_srcdir/configure" --help=recursive
1648     else
1649       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1650     fi || ac_status=$?
1651     cd "$ac_pwd" || { ac_status=$?; break; }
1652   done
1653 fi
1654
1655 test -n "$ac_init_help" && exit $ac_status
1656 if $ac_init_version; then
1657   cat <<\_ACEOF
1658 emotion configure 1.7.8
1659 generated by GNU Autoconf 2.69
1660
1661 Copyright (C) 2012 Free Software Foundation, Inc.
1662 This configure script is free software; the Free Software Foundation
1663 gives unlimited permission to copy, distribute and modify it.
1664 _ACEOF
1665   exit
1666 fi
1667
1668 ## ------------------------ ##
1669 ## Autoconf initialization. ##
1670 ## ------------------------ ##
1671
1672 # ac_fn_c_try_compile LINENO
1673 # --------------------------
1674 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1675 ac_fn_c_try_compile ()
1676 {
1677   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1678   rm -f conftest.$ac_objext
1679   if { { ac_try="$ac_compile"
1680 case "(($ac_try" in
1681   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1682   *) ac_try_echo=$ac_try;;
1683 esac
1684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1685 $as_echo "$ac_try_echo"; } >&5
1686   (eval "$ac_compile") 2>conftest.err
1687   ac_status=$?
1688   if test -s conftest.err; then
1689     grep -v '^ *+' conftest.err >conftest.er1
1690     cat conftest.er1 >&5
1691     mv -f conftest.er1 conftest.err
1692   fi
1693   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1694   test $ac_status = 0; } && {
1695          test -z "$ac_c_werror_flag" ||
1696          test ! -s conftest.err
1697        } && test -s conftest.$ac_objext; then :
1698   ac_retval=0
1699 else
1700   $as_echo "$as_me: failed program was:" >&5
1701 sed 's/^/| /' conftest.$ac_ext >&5
1702
1703         ac_retval=1
1704 fi
1705   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1706   as_fn_set_status $ac_retval
1707
1708 } # ac_fn_c_try_compile
1709
1710 # ac_fn_c_try_link LINENO
1711 # -----------------------
1712 # Try to link conftest.$ac_ext, and return whether this succeeded.
1713 ac_fn_c_try_link ()
1714 {
1715   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1716   rm -f conftest.$ac_objext conftest$ac_exeext
1717   if { { ac_try="$ac_link"
1718 case "(($ac_try" in
1719   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1720   *) ac_try_echo=$ac_try;;
1721 esac
1722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723 $as_echo "$ac_try_echo"; } >&5
1724   (eval "$ac_link") 2>conftest.err
1725   ac_status=$?
1726   if test -s conftest.err; then
1727     grep -v '^ *+' conftest.err >conftest.er1
1728     cat conftest.er1 >&5
1729     mv -f conftest.er1 conftest.err
1730   fi
1731   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1732   test $ac_status = 0; } && {
1733          test -z "$ac_c_werror_flag" ||
1734          test ! -s conftest.err
1735        } && test -s conftest$ac_exeext && {
1736          test "$cross_compiling" = yes ||
1737          test -x conftest$ac_exeext
1738        }; then :
1739   ac_retval=0
1740 else
1741   $as_echo "$as_me: failed program was:" >&5
1742 sed 's/^/| /' conftest.$ac_ext >&5
1743
1744         ac_retval=1
1745 fi
1746   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1747   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1748   # interfere with the next link command; also delete a directory that is
1749   # left behind by Apple's compiler.  We do this before executing the actions.
1750   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1751   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1752   as_fn_set_status $ac_retval
1753
1754 } # ac_fn_c_try_link
1755
1756 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1757 # -------------------------------------------------------
1758 # Tests whether HEADER exists and can be compiled using the include files in
1759 # INCLUDES, setting the cache variable VAR accordingly.
1760 ac_fn_c_check_header_compile ()
1761 {
1762   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1764 $as_echo_n "checking for $2... " >&6; }
1765 if eval \${$3+:} false; then :
1766   $as_echo_n "(cached) " >&6
1767 else
1768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1769 /* end confdefs.h.  */
1770 $4
1771 #include <$2>
1772 _ACEOF
1773 if ac_fn_c_try_compile "$LINENO"; then :
1774   eval "$3=yes"
1775 else
1776   eval "$3=no"
1777 fi
1778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1779 fi
1780 eval ac_res=\$$3
1781                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1782 $as_echo "$ac_res" >&6; }
1783   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1784
1785 } # ac_fn_c_check_header_compile
1786
1787 # ac_fn_c_try_cpp LINENO
1788 # ----------------------
1789 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1790 ac_fn_c_try_cpp ()
1791 {
1792   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793   if { { ac_try="$ac_cpp conftest.$ac_ext"
1794 case "(($ac_try" in
1795   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1796   *) ac_try_echo=$ac_try;;
1797 esac
1798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1799 $as_echo "$ac_try_echo"; } >&5
1800   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1801   ac_status=$?
1802   if test -s conftest.err; then
1803     grep -v '^ *+' conftest.err >conftest.er1
1804     cat conftest.er1 >&5
1805     mv -f conftest.er1 conftest.err
1806   fi
1807   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1808   test $ac_status = 0; } > conftest.i && {
1809          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1810          test ! -s conftest.err
1811        }; then :
1812   ac_retval=0
1813 else
1814   $as_echo "$as_me: failed program was:" >&5
1815 sed 's/^/| /' conftest.$ac_ext >&5
1816
1817     ac_retval=1
1818 fi
1819   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1820   as_fn_set_status $ac_retval
1821
1822 } # ac_fn_c_try_cpp
1823
1824 # ac_fn_c_try_run LINENO
1825 # ----------------------
1826 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1827 # that executables *can* be run.
1828 ac_fn_c_try_run ()
1829 {
1830   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831   if { { ac_try="$ac_link"
1832 case "(($ac_try" in
1833   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1834   *) ac_try_echo=$ac_try;;
1835 esac
1836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1837 $as_echo "$ac_try_echo"; } >&5
1838   (eval "$ac_link") 2>&5
1839   ac_status=$?
1840   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1841   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1842   { { case "(($ac_try" in
1843   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1844   *) ac_try_echo=$ac_try;;
1845 esac
1846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1847 $as_echo "$ac_try_echo"; } >&5
1848   (eval "$ac_try") 2>&5
1849   ac_status=$?
1850   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1851   test $ac_status = 0; }; }; then :
1852   ac_retval=0
1853 else
1854   $as_echo "$as_me: program exited with status $ac_status" >&5
1855        $as_echo "$as_me: failed program was:" >&5
1856 sed 's/^/| /' conftest.$ac_ext >&5
1857
1858        ac_retval=$ac_status
1859 fi
1860   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1861   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1862   as_fn_set_status $ac_retval
1863
1864 } # ac_fn_c_try_run
1865
1866 # ac_fn_c_check_func LINENO FUNC VAR
1867 # ----------------------------------
1868 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1869 ac_fn_c_check_func ()
1870 {
1871   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1873 $as_echo_n "checking for $2... " >&6; }
1874 if eval \${$3+:} false; then :
1875   $as_echo_n "(cached) " >&6
1876 else
1877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1878 /* end confdefs.h.  */
1879 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1880    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1881 #define $2 innocuous_$2
1882
1883 /* System header to define __stub macros and hopefully few prototypes,
1884     which can conflict with char $2 (); below.
1885     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1886     <limits.h> exists even on freestanding compilers.  */
1887
1888 #ifdef __STDC__
1889 # include <limits.h>
1890 #else
1891 # include <assert.h>
1892 #endif
1893
1894 #undef $2
1895
1896 /* Override any GCC internal prototype to avoid an error.
1897    Use char because int might match the return type of a GCC
1898    builtin and then its argument prototype would still apply.  */
1899 #ifdef __cplusplus
1900 extern "C"
1901 #endif
1902 char $2 ();
1903 /* The GNU C library defines this for functions which it implements
1904     to always fail with ENOSYS.  Some functions are actually named
1905     something starting with __ and the normal name is an alias.  */
1906 #if defined __stub_$2 || defined __stub___$2
1907 choke me
1908 #endif
1909
1910 int
1911 main ()
1912 {
1913 return $2 ();
1914   ;
1915   return 0;
1916 }
1917 _ACEOF
1918 if ac_fn_c_try_link "$LINENO"; then :
1919   eval "$3=yes"
1920 else
1921   eval "$3=no"
1922 fi
1923 rm -f core conftest.err conftest.$ac_objext \
1924     conftest$ac_exeext conftest.$ac_ext
1925 fi
1926 eval ac_res=\$$3
1927                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1928 $as_echo "$ac_res" >&6; }
1929   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1930
1931 } # ac_fn_c_check_func
1932
1933 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1934 # -------------------------------------------------------
1935 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1936 # the include files in INCLUDES and setting the cache variable VAR
1937 # accordingly.
1938 ac_fn_c_check_header_mongrel ()
1939 {
1940   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1941   if eval \${$3+:} false; then :
1942   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1943 $as_echo_n "checking for $2... " >&6; }
1944 if eval \${$3+:} false; then :
1945   $as_echo_n "(cached) " >&6
1946 fi
1947 eval ac_res=\$$3
1948                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1949 $as_echo "$ac_res" >&6; }
1950 else
1951   # Is the header compilable?
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1953 $as_echo_n "checking $2 usability... " >&6; }
1954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1955 /* end confdefs.h.  */
1956 $4
1957 #include <$2>
1958 _ACEOF
1959 if ac_fn_c_try_compile "$LINENO"; then :
1960   ac_header_compiler=yes
1961 else
1962   ac_header_compiler=no
1963 fi
1964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1966 $as_echo "$ac_header_compiler" >&6; }
1967
1968 # Is the header present?
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1970 $as_echo_n "checking $2 presence... " >&6; }
1971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1972 /* end confdefs.h.  */
1973 #include <$2>
1974 _ACEOF
1975 if ac_fn_c_try_cpp "$LINENO"; then :
1976   ac_header_preproc=yes
1977 else
1978   ac_header_preproc=no
1979 fi
1980 rm -f conftest.err conftest.i conftest.$ac_ext
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1982 $as_echo "$ac_header_preproc" >&6; }
1983
1984 # So?  What about this header?
1985 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1986   yes:no: )
1987     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1988 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1989     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1990 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1991     ;;
1992   no:yes:* )
1993     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1994 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1995     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1996 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1997     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1998 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1999     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2000 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2001     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2002 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2003 ( $as_echo "## -------------------------------------------------------- ##
2004 ## Report this to enlightenment-devel@lists.sourceforge.net ##
2005 ## -------------------------------------------------------- ##"
2006      ) | sed "s/^/$as_me: WARNING:     /" >&2
2007     ;;
2008 esac
2009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2010 $as_echo_n "checking for $2... " >&6; }
2011 if eval \${$3+:} false; then :
2012   $as_echo_n "(cached) " >&6
2013 else
2014   eval "$3=\$ac_header_compiler"
2015 fi
2016 eval ac_res=\$$3
2017                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2018 $as_echo "$ac_res" >&6; }
2019 fi
2020   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2021
2022 } # ac_fn_c_check_header_mongrel
2023
2024 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2025 # -------------------------------------------
2026 # Tests whether TYPE exists after having included INCLUDES, setting cache
2027 # variable VAR accordingly.
2028 ac_fn_c_check_type ()
2029 {
2030   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2032 $as_echo_n "checking for $2... " >&6; }
2033 if eval \${$3+:} false; then :
2034   $as_echo_n "(cached) " >&6
2035 else
2036   eval "$3=no"
2037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2038 /* end confdefs.h.  */
2039 $4
2040 int
2041 main ()
2042 {
2043 if (sizeof ($2))
2044          return 0;
2045   ;
2046   return 0;
2047 }
2048 _ACEOF
2049 if ac_fn_c_try_compile "$LINENO"; then :
2050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2051 /* end confdefs.h.  */
2052 $4
2053 int
2054 main ()
2055 {
2056 if (sizeof (($2)))
2057             return 0;
2058   ;
2059   return 0;
2060 }
2061 _ACEOF
2062 if ac_fn_c_try_compile "$LINENO"; then :
2063
2064 else
2065   eval "$3=yes"
2066 fi
2067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2068 fi
2069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2070 fi
2071 eval ac_res=\$$3
2072                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2073 $as_echo "$ac_res" >&6; }
2074   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2075
2076 } # ac_fn_c_check_type
2077 cat >config.log <<_ACEOF
2078 This file contains any messages produced by compilers while
2079 running configure, to aid debugging if configure makes a mistake.
2080
2081 It was created by emotion $as_me 1.7.8, which was
2082 generated by GNU Autoconf 2.69.  Invocation command line was
2083
2084   $ $0 $@
2085
2086 _ACEOF
2087 exec 5>>config.log
2088 {
2089 cat <<_ASUNAME
2090 ## --------- ##
2091 ## Platform. ##
2092 ## --------- ##
2093
2094 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2095 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2096 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2097 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2098 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2099
2100 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2101 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2102
2103 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2104 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2105 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2106 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2107 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2108 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2109 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2110
2111 _ASUNAME
2112
2113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2114 for as_dir in $PATH
2115 do
2116   IFS=$as_save_IFS
2117   test -z "$as_dir" && as_dir=.
2118     $as_echo "PATH: $as_dir"
2119   done
2120 IFS=$as_save_IFS
2121
2122 } >&5
2123
2124 cat >&5 <<_ACEOF
2125
2126
2127 ## ----------- ##
2128 ## Core tests. ##
2129 ## ----------- ##
2130
2131 _ACEOF
2132
2133
2134 # Keep a trace of the command line.
2135 # Strip out --no-create and --no-recursion so they do not pile up.
2136 # Strip out --silent because we don't want to record it for future runs.
2137 # Also quote any args containing shell meta-characters.
2138 # Make two passes to allow for proper duplicate-argument suppression.
2139 ac_configure_args=
2140 ac_configure_args0=
2141 ac_configure_args1=
2142 ac_must_keep_next=false
2143 for ac_pass in 1 2
2144 do
2145   for ac_arg
2146   do
2147     case $ac_arg in
2148     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2149     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2150     | -silent | --silent | --silen | --sile | --sil)
2151       continue ;;
2152     *\'*)
2153       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2154     esac
2155     case $ac_pass in
2156     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2157     2)
2158       as_fn_append ac_configure_args1 " '$ac_arg'"
2159       if test $ac_must_keep_next = true; then
2160         ac_must_keep_next=false # Got value, back to normal.
2161       else
2162         case $ac_arg in
2163           *=* | --config-cache | -C | -disable-* | --disable-* \
2164           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2165           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2166           | -with-* | --with-* | -without-* | --without-* | --x)
2167             case "$ac_configure_args0 " in
2168               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2169             esac
2170             ;;
2171           -* ) ac_must_keep_next=true ;;
2172         esac
2173       fi
2174       as_fn_append ac_configure_args " '$ac_arg'"
2175       ;;
2176     esac
2177   done
2178 done
2179 { ac_configure_args0=; unset ac_configure_args0;}
2180 { ac_configure_args1=; unset ac_configure_args1;}
2181
2182 # When interrupted or exit'd, cleanup temporary files, and complete
2183 # config.log.  We remove comments because anyway the quotes in there
2184 # would cause problems or look ugly.
2185 # WARNING: Use '\'' to represent an apostrophe within the trap.
2186 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2187 trap 'exit_status=$?
2188   # Save into config.log some information that might help in debugging.
2189   {
2190     echo
2191
2192     $as_echo "## ---------------- ##
2193 ## Cache variables. ##
2194 ## ---------------- ##"
2195     echo
2196     # The following way of writing the cache mishandles newlines in values,
2197 (
2198   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2199     eval ac_val=\$$ac_var
2200     case $ac_val in #(
2201     *${as_nl}*)
2202       case $ac_var in #(
2203       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2204 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2205       esac
2206       case $ac_var in #(
2207       _ | IFS | as_nl) ;; #(
2208       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2209       *) { eval $ac_var=; unset $ac_var;} ;;
2210       esac ;;
2211     esac
2212   done
2213   (set) 2>&1 |
2214     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2215     *${as_nl}ac_space=\ *)
2216       sed -n \
2217         "s/'\''/'\''\\\\'\'''\''/g;
2218           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2219       ;; #(
2220     *)
2221       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2222       ;;
2223     esac |
2224     sort
2225 )
2226     echo
2227
2228     $as_echo "## ----------------- ##
2229 ## Output variables. ##
2230 ## ----------------- ##"
2231     echo
2232     for ac_var in $ac_subst_vars
2233     do
2234       eval ac_val=\$$ac_var
2235       case $ac_val in
2236       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2237       esac
2238       $as_echo "$ac_var='\''$ac_val'\''"
2239     done | sort
2240     echo
2241
2242     if test -n "$ac_subst_files"; then
2243       $as_echo "## ------------------- ##
2244 ## File substitutions. ##
2245 ## ------------------- ##"
2246       echo
2247       for ac_var in $ac_subst_files
2248       do
2249         eval ac_val=\$$ac_var
2250         case $ac_val in
2251         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2252         esac
2253         $as_echo "$ac_var='\''$ac_val'\''"
2254       done | sort
2255       echo
2256     fi
2257
2258     if test -s confdefs.h; then
2259       $as_echo "## ----------- ##
2260 ## confdefs.h. ##
2261 ## ----------- ##"
2262       echo
2263       cat confdefs.h
2264       echo
2265     fi
2266     test "$ac_signal" != 0 &&
2267       $as_echo "$as_me: caught signal $ac_signal"
2268     $as_echo "$as_me: exit $exit_status"
2269   } >&5
2270   rm -f core *.core core.conftest.* &&
2271     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2272     exit $exit_status
2273 ' 0
2274 for ac_signal in 1 2 13 15; do
2275   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2276 done
2277 ac_signal=0
2278
2279 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2280 rm -f -r conftest* confdefs.h
2281
2282 $as_echo "/* confdefs.h */" > confdefs.h
2283
2284 # Predefined preprocessor variables.
2285
2286 cat >>confdefs.h <<_ACEOF
2287 #define PACKAGE_NAME "$PACKAGE_NAME"
2288 _ACEOF
2289
2290 cat >>confdefs.h <<_ACEOF
2291 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2292 _ACEOF
2293
2294 cat >>confdefs.h <<_ACEOF
2295 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2296 _ACEOF
2297
2298 cat >>confdefs.h <<_ACEOF
2299 #define PACKAGE_STRING "$PACKAGE_STRING"
2300 _ACEOF
2301
2302 cat >>confdefs.h <<_ACEOF
2303 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2304 _ACEOF
2305
2306 cat >>confdefs.h <<_ACEOF
2307 #define PACKAGE_URL "$PACKAGE_URL"
2308 _ACEOF
2309
2310
2311 # Let the site file select an alternate cache file if it wants to.
2312 # Prefer an explicitly selected file to automatically selected ones.
2313 ac_site_file1=NONE
2314 ac_site_file2=NONE
2315 if test -n "$CONFIG_SITE"; then
2316   # We do not want a PATH search for config.site.
2317   case $CONFIG_SITE in #((
2318     -*)  ac_site_file1=./$CONFIG_SITE;;
2319     */*) ac_site_file1=$CONFIG_SITE;;
2320     *)   ac_site_file1=./$CONFIG_SITE;;
2321   esac
2322 elif test "x$prefix" != xNONE; then
2323   ac_site_file1=$prefix/share/config.site
2324   ac_site_file2=$prefix/etc/config.site
2325 else
2326   ac_site_file1=$ac_default_prefix/share/config.site
2327   ac_site_file2=$ac_default_prefix/etc/config.site
2328 fi
2329 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2330 do
2331   test "x$ac_site_file" = xNONE && continue
2332   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2333     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2334 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2335     sed 's/^/| /' "$ac_site_file" >&5
2336     . "$ac_site_file" \
2337       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2339 as_fn_error $? "failed to load site script $ac_site_file
2340 See \`config.log' for more details" "$LINENO" 5; }
2341   fi
2342 done
2343
2344 if test -r "$cache_file"; then
2345   # Some versions of bash will fail to source /dev/null (special files
2346   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2347   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2348     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2349 $as_echo "$as_me: loading cache $cache_file" >&6;}
2350     case $cache_file in
2351       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2352       *)                      . "./$cache_file";;
2353     esac
2354   fi
2355 else
2356   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2357 $as_echo "$as_me: creating cache $cache_file" >&6;}
2358   >$cache_file
2359 fi
2360
2361 # Check that the precious variables saved in the cache have kept the same
2362 # value.
2363 ac_cache_corrupted=false
2364 for ac_var in $ac_precious_vars; do
2365   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2366   eval ac_new_set=\$ac_env_${ac_var}_set
2367   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2368   eval ac_new_val=\$ac_env_${ac_var}_value
2369   case $ac_old_set,$ac_new_set in
2370     set,)
2371       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2372 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2373       ac_cache_corrupted=: ;;
2374     ,set)
2375       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2376 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2377       ac_cache_corrupted=: ;;
2378     ,);;
2379     *)
2380       if test "x$ac_old_val" != "x$ac_new_val"; then
2381         # differences in whitespace do not lead to failure.
2382         ac_old_val_w=`echo x $ac_old_val`
2383         ac_new_val_w=`echo x $ac_new_val`
2384         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2385           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2386 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2387           ac_cache_corrupted=:
2388         else
2389           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2390 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2391           eval $ac_var=\$ac_old_val
2392         fi
2393         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2394 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2395         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2396 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2397       fi;;
2398   esac
2399   # Pass precious variables to config.status.
2400   if test "$ac_new_set" = set; then
2401     case $ac_new_val in
2402     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2403     *) ac_arg=$ac_var=$ac_new_val ;;
2404     esac
2405     case " $ac_configure_args " in
2406       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2407       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2408     esac
2409   fi
2410 done
2411 if $ac_cache_corrupted; then
2412   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2414   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2415 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2416   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2417 fi
2418 ## -------------------- ##
2419 ## Main body of script. ##
2420 ## -------------------- ##
2421
2422 ac_ext=c
2423 ac_cpp='$CPP $CPPFLAGS'
2424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2427
2428
2429
2430
2431
2432 ac_aux_dir=
2433 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2434   if test -f "$ac_dir/install-sh"; then
2435     ac_aux_dir=$ac_dir
2436     ac_install_sh="$ac_aux_dir/install-sh -c"
2437     break
2438   elif test -f "$ac_dir/install.sh"; then
2439     ac_aux_dir=$ac_dir
2440     ac_install_sh="$ac_aux_dir/install.sh -c"
2441     break
2442   elif test -f "$ac_dir/shtool"; then
2443     ac_aux_dir=$ac_dir
2444     ac_install_sh="$ac_aux_dir/shtool install -c"
2445     break
2446   fi
2447 done
2448 if test -z "$ac_aux_dir"; then
2449   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2450 fi
2451
2452 # These three variables are undocumented and unsupported,
2453 # and are intended to be withdrawn in a future Autoconf release.
2454 # They can cause serious problems if a builder's source tree is in a directory
2455 # whose full name contains unusual characters.
2456 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2457 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2458 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2459
2460
2461 # Make sure we can run config.sub.
2462 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2463   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2464
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2466 $as_echo_n "checking build system type... " >&6; }
2467 if ${ac_cv_build+:} false; then :
2468   $as_echo_n "(cached) " >&6
2469 else
2470   ac_build_alias=$build_alias
2471 test "x$ac_build_alias" = x &&
2472   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2473 test "x$ac_build_alias" = x &&
2474   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2475 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2476   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2477
2478 fi
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2480 $as_echo "$ac_cv_build" >&6; }
2481 case $ac_cv_build in
2482 *-*-*) ;;
2483 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2484 esac
2485 build=$ac_cv_build
2486 ac_save_IFS=$IFS; IFS='-'
2487 set x $ac_cv_build
2488 shift
2489 build_cpu=$1
2490 build_vendor=$2
2491 shift; shift
2492 # Remember, the first character of IFS is used to create $*,
2493 # except with old shells:
2494 build_os=$*
2495 IFS=$ac_save_IFS
2496 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2497
2498
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2500 $as_echo_n "checking host system type... " >&6; }
2501 if ${ac_cv_host+:} false; then :
2502   $as_echo_n "(cached) " >&6
2503 else
2504   if test "x$host_alias" = x; then
2505   ac_cv_host=$ac_cv_build
2506 else
2507   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2508     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2509 fi
2510
2511 fi
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2513 $as_echo "$ac_cv_host" >&6; }
2514 case $ac_cv_host in
2515 *-*-*) ;;
2516 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2517 esac
2518 host=$ac_cv_host
2519 ac_save_IFS=$IFS; IFS='-'
2520 set x $ac_cv_host
2521 shift
2522 host_cpu=$1
2523 host_vendor=$2
2524 shift; shift
2525 # Remember, the first character of IFS is used to create $*,
2526 # except with old shells:
2527 host_os=$*
2528 IFS=$ac_save_IFS
2529 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2530
2531
2532 ac_ext=c
2533 ac_cpp='$CPP $CPPFLAGS'
2534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2537 if test -n "$ac_tool_prefix"; then
2538   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2539 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2541 $as_echo_n "checking for $ac_word... " >&6; }
2542 if ${ac_cv_prog_CC+:} false; then :
2543   $as_echo_n "(cached) " >&6
2544 else
2545   if test -n "$CC"; then
2546   ac_cv_prog_CC="$CC" # Let the user override the test.
2547 else
2548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2549 for as_dir in $PATH
2550 do
2551   IFS=$as_save_IFS
2552   test -z "$as_dir" && as_dir=.
2553     for ac_exec_ext in '' $ac_executable_extensions; do
2554   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2555     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2556     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2557     break 2
2558   fi
2559 done
2560   done
2561 IFS=$as_save_IFS
2562
2563 fi
2564 fi
2565 CC=$ac_cv_prog_CC
2566 if test -n "$CC"; then
2567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2568 $as_echo "$CC" >&6; }
2569 else
2570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2571 $as_echo "no" >&6; }
2572 fi
2573
2574
2575 fi
2576 if test -z "$ac_cv_prog_CC"; then
2577   ac_ct_CC=$CC
2578   # Extract the first word of "gcc", so it can be a program name with args.
2579 set dummy gcc; ac_word=$2
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2581 $as_echo_n "checking for $ac_word... " >&6; }
2582 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2583   $as_echo_n "(cached) " >&6
2584 else
2585   if test -n "$ac_ct_CC"; then
2586   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2587 else
2588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2589 for as_dir in $PATH
2590 do
2591   IFS=$as_save_IFS
2592   test -z "$as_dir" && as_dir=.
2593     for ac_exec_ext in '' $ac_executable_extensions; do
2594   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2595     ac_cv_prog_ac_ct_CC="gcc"
2596     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2597     break 2
2598   fi
2599 done
2600   done
2601 IFS=$as_save_IFS
2602
2603 fi
2604 fi
2605 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2606 if test -n "$ac_ct_CC"; then
2607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2608 $as_echo "$ac_ct_CC" >&6; }
2609 else
2610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2611 $as_echo "no" >&6; }
2612 fi
2613
2614   if test "x$ac_ct_CC" = x; then
2615     CC=""
2616   else
2617     case $cross_compiling:$ac_tool_warned in
2618 yes:)
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2620 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2621 ac_tool_warned=yes ;;
2622 esac
2623     CC=$ac_ct_CC
2624   fi
2625 else
2626   CC="$ac_cv_prog_CC"
2627 fi
2628
2629 if test -z "$CC"; then
2630           if test -n "$ac_tool_prefix"; then
2631     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2632 set dummy ${ac_tool_prefix}cc; ac_word=$2
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2634 $as_echo_n "checking for $ac_word... " >&6; }
2635 if ${ac_cv_prog_CC+:} false; then :
2636   $as_echo_n "(cached) " >&6
2637 else
2638   if test -n "$CC"; then
2639   ac_cv_prog_CC="$CC" # Let the user override the test.
2640 else
2641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2642 for as_dir in $PATH
2643 do
2644   IFS=$as_save_IFS
2645   test -z "$as_dir" && as_dir=.
2646     for ac_exec_ext in '' $ac_executable_extensions; do
2647   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2648     ac_cv_prog_CC="${ac_tool_prefix}cc"
2649     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2650     break 2
2651   fi
2652 done
2653   done
2654 IFS=$as_save_IFS
2655
2656 fi
2657 fi
2658 CC=$ac_cv_prog_CC
2659 if test -n "$CC"; then
2660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2661 $as_echo "$CC" >&6; }
2662 else
2663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2664 $as_echo "no" >&6; }
2665 fi
2666
2667
2668   fi
2669 fi
2670 if test -z "$CC"; then
2671   # Extract the first word of "cc", so it can be a program name with args.
2672 set dummy cc; ac_word=$2
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2674 $as_echo_n "checking for $ac_word... " >&6; }
2675 if ${ac_cv_prog_CC+:} false; then :
2676   $as_echo_n "(cached) " >&6
2677 else
2678   if test -n "$CC"; then
2679   ac_cv_prog_CC="$CC" # Let the user override the test.
2680 else
2681   ac_prog_rejected=no
2682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2683 for as_dir in $PATH
2684 do
2685   IFS=$as_save_IFS
2686   test -z "$as_dir" && as_dir=.
2687     for ac_exec_ext in '' $ac_executable_extensions; do
2688   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2689     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2690        ac_prog_rejected=yes
2691        continue
2692      fi
2693     ac_cv_prog_CC="cc"
2694     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2695     break 2
2696   fi
2697 done
2698   done
2699 IFS=$as_save_IFS
2700
2701 if test $ac_prog_rejected = yes; then
2702   # We found a bogon in the path, so make sure we never use it.
2703   set dummy $ac_cv_prog_CC
2704   shift
2705   if test $# != 0; then
2706     # We chose a different compiler from the bogus one.
2707     # However, it has the same basename, so the bogon will be chosen
2708     # first if we set CC to just the basename; use the full file name.
2709     shift
2710     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2711   fi
2712 fi
2713 fi
2714 fi
2715 CC=$ac_cv_prog_CC
2716 if test -n "$CC"; then
2717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2718 $as_echo "$CC" >&6; }
2719 else
2720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2721 $as_echo "no" >&6; }
2722 fi
2723
2724
2725 fi
2726 if test -z "$CC"; then
2727   if test -n "$ac_tool_prefix"; then
2728   for ac_prog in cl.exe
2729   do
2730     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2731 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2733 $as_echo_n "checking for $ac_word... " >&6; }
2734 if ${ac_cv_prog_CC+:} false; then :
2735   $as_echo_n "(cached) " >&6
2736 else
2737   if test -n "$CC"; then
2738   ac_cv_prog_CC="$CC" # Let the user override the test.
2739 else
2740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2741 for as_dir in $PATH
2742 do
2743   IFS=$as_save_IFS
2744   test -z "$as_dir" && as_dir=.
2745     for ac_exec_ext in '' $ac_executable_extensions; do
2746   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2747     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2748     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2749     break 2
2750   fi
2751 done
2752   done
2753 IFS=$as_save_IFS
2754
2755 fi
2756 fi
2757 CC=$ac_cv_prog_CC
2758 if test -n "$CC"; then
2759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2760 $as_echo "$CC" >&6; }
2761 else
2762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2763 $as_echo "no" >&6; }
2764 fi
2765
2766
2767     test -n "$CC" && break
2768   done
2769 fi
2770 if test -z "$CC"; then
2771   ac_ct_CC=$CC
2772   for ac_prog in cl.exe
2773 do
2774   # Extract the first word of "$ac_prog", so it can be a program name with args.
2775 set dummy $ac_prog; ac_word=$2
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2777 $as_echo_n "checking for $ac_word... " >&6; }
2778 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2779   $as_echo_n "(cached) " >&6
2780 else
2781   if test -n "$ac_ct_CC"; then
2782   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2783 else
2784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2785 for as_dir in $PATH
2786 do
2787   IFS=$as_save_IFS
2788   test -z "$as_dir" && as_dir=.
2789     for ac_exec_ext in '' $ac_executable_extensions; do
2790   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2791     ac_cv_prog_ac_ct_CC="$ac_prog"
2792     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2793     break 2
2794   fi
2795 done
2796   done
2797 IFS=$as_save_IFS
2798
2799 fi
2800 fi
2801 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2802 if test -n "$ac_ct_CC"; then
2803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2804 $as_echo "$ac_ct_CC" >&6; }
2805 else
2806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2807 $as_echo "no" >&6; }
2808 fi
2809
2810
2811   test -n "$ac_ct_CC" && break
2812 done
2813
2814   if test "x$ac_ct_CC" = x; then
2815     CC=""
2816   else
2817     case $cross_compiling:$ac_tool_warned in
2818 yes:)
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2820 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2821 ac_tool_warned=yes ;;
2822 esac
2823     CC=$ac_ct_CC
2824   fi
2825 fi
2826
2827 fi
2828
2829
2830 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2831 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2832 as_fn_error $? "no acceptable C compiler found in \$PATH
2833 See \`config.log' for more details" "$LINENO" 5; }
2834
2835 # Provide some information about the compiler.
2836 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2837 set X $ac_compile
2838 ac_compiler=$2
2839 for ac_option in --version -v -V -qversion; do
2840   { { ac_try="$ac_compiler $ac_option >&5"
2841 case "(($ac_try" in
2842   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2843   *) ac_try_echo=$ac_try;;
2844 esac
2845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2846 $as_echo "$ac_try_echo"; } >&5
2847   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2848   ac_status=$?
2849   if test -s conftest.err; then
2850     sed '10a\
2851 ... rest of stderr output deleted ...
2852          10q' conftest.err >conftest.er1
2853     cat conftest.er1 >&5
2854   fi
2855   rm -f conftest.er1 conftest.err
2856   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2857   test $ac_status = 0; }
2858 done
2859
2860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2861 /* end confdefs.h.  */
2862
2863 int
2864 main ()
2865 {
2866
2867   ;
2868   return 0;
2869 }
2870 _ACEOF
2871 ac_clean_files_save=$ac_clean_files
2872 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2873 # Try to create an executable without -o first, disregard a.out.
2874 # It will help us diagnose broken compilers, and finding out an intuition
2875 # of exeext.
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2877 $as_echo_n "checking whether the C compiler works... " >&6; }
2878 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2879
2880 # The possible output files:
2881 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2882
2883 ac_rmfiles=
2884 for ac_file in $ac_files
2885 do
2886   case $ac_file in
2887     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2888     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2889   esac
2890 done
2891 rm -f $ac_rmfiles
2892
2893 if { { ac_try="$ac_link_default"
2894 case "(($ac_try" in
2895   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2896   *) ac_try_echo=$ac_try;;
2897 esac
2898 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2899 $as_echo "$ac_try_echo"; } >&5
2900   (eval "$ac_link_default") 2>&5
2901   ac_status=$?
2902   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2903   test $ac_status = 0; }; then :
2904   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2905 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2906 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2907 # so that the user can short-circuit this test for compilers unknown to
2908 # Autoconf.
2909 for ac_file in $ac_files ''
2910 do
2911   test -f "$ac_file" || continue
2912   case $ac_file in
2913     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2914         ;;
2915     [ab].out )
2916         # We found the default executable, but exeext='' is most
2917         # certainly right.
2918         break;;
2919     *.* )
2920         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2921         then :; else
2922            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2923         fi
2924         # We set ac_cv_exeext here because the later test for it is not
2925         # safe: cross compilers may not add the suffix if given an `-o'
2926         # argument, so we may need to know it at that point already.
2927         # Even if this section looks crufty: it has the advantage of
2928         # actually working.
2929         break;;
2930     * )
2931         break;;
2932   esac
2933 done
2934 test "$ac_cv_exeext" = no && ac_cv_exeext=
2935
2936 else
2937   ac_file=''
2938 fi
2939 if test -z "$ac_file"; then :
2940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2941 $as_echo "no" >&6; }
2942 $as_echo "$as_me: failed program was:" >&5
2943 sed 's/^/| /' conftest.$ac_ext >&5
2944
2945 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2946 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2947 as_fn_error 77 "C compiler cannot create executables
2948 See \`config.log' for more details" "$LINENO" 5; }
2949 else
2950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2951 $as_echo "yes" >&6; }
2952 fi
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2954 $as_echo_n "checking for C compiler default output file name... " >&6; }
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2956 $as_echo "$ac_file" >&6; }
2957 ac_exeext=$ac_cv_exeext
2958
2959 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2960 ac_clean_files=$ac_clean_files_save
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2962 $as_echo_n "checking for suffix of executables... " >&6; }
2963 if { { ac_try="$ac_link"
2964 case "(($ac_try" in
2965   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2966   *) ac_try_echo=$ac_try;;
2967 esac
2968 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2969 $as_echo "$ac_try_echo"; } >&5
2970   (eval "$ac_link") 2>&5
2971   ac_status=$?
2972   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2973   test $ac_status = 0; }; then :
2974   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2975 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2976 # work properly (i.e., refer to `conftest.exe'), while it won't with
2977 # `rm'.
2978 for ac_file in conftest.exe conftest conftest.*; do
2979   test -f "$ac_file" || continue
2980   case $ac_file in
2981     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2982     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2983           break;;
2984     * ) break;;
2985   esac
2986 done
2987 else
2988   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2989 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2990 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2991 See \`config.log' for more details" "$LINENO" 5; }
2992 fi
2993 rm -f conftest conftest$ac_cv_exeext
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2995 $as_echo "$ac_cv_exeext" >&6; }
2996
2997 rm -f conftest.$ac_ext
2998 EXEEXT=$ac_cv_exeext
2999 ac_exeext=$EXEEXT
3000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3001 /* end confdefs.h.  */
3002 #include <stdio.h>
3003 int
3004 main ()
3005 {
3006 FILE *f = fopen ("conftest.out", "w");
3007  return ferror (f) || fclose (f) != 0;
3008
3009   ;
3010   return 0;
3011 }
3012 _ACEOF
3013 ac_clean_files="$ac_clean_files conftest.out"
3014 # Check that the compiler produces executables we can run.  If not, either
3015 # the compiler is broken, or we cross compile.
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3017 $as_echo_n "checking whether we are cross compiling... " >&6; }
3018 if test "$cross_compiling" != yes; then
3019   { { ac_try="$ac_link"
3020 case "(($ac_try" in
3021   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3022   *) ac_try_echo=$ac_try;;
3023 esac
3024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3025 $as_echo "$ac_try_echo"; } >&5
3026   (eval "$ac_link") 2>&5
3027   ac_status=$?
3028   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3029   test $ac_status = 0; }
3030   if { ac_try='./conftest$ac_cv_exeext'
3031   { { case "(($ac_try" in
3032   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3033   *) ac_try_echo=$ac_try;;
3034 esac
3035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3036 $as_echo "$ac_try_echo"; } >&5
3037   (eval "$ac_try") 2>&5
3038   ac_status=$?
3039   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3040   test $ac_status = 0; }; }; then
3041     cross_compiling=no
3042   else
3043     if test "$cross_compiling" = maybe; then
3044         cross_compiling=yes
3045     else
3046         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3048 as_fn_error $? "cannot run C compiled programs.
3049 If you meant to cross compile, use \`--host'.
3050 See \`config.log' for more details" "$LINENO" 5; }
3051     fi
3052   fi
3053 fi
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3055 $as_echo "$cross_compiling" >&6; }
3056
3057 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3058 ac_clean_files=$ac_clean_files_save
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3060 $as_echo_n "checking for suffix of object files... " >&6; }
3061 if ${ac_cv_objext+:} false; then :
3062   $as_echo_n "(cached) " >&6
3063 else
3064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3065 /* end confdefs.h.  */
3066
3067 int
3068 main ()
3069 {
3070
3071   ;
3072   return 0;
3073 }
3074 _ACEOF
3075 rm -f conftest.o conftest.obj
3076 if { { ac_try="$ac_compile"
3077 case "(($ac_try" in
3078   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3079   *) ac_try_echo=$ac_try;;
3080 esac
3081 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3082 $as_echo "$ac_try_echo"; } >&5
3083   (eval "$ac_compile") 2>&5
3084   ac_status=$?
3085   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3086   test $ac_status = 0; }; then :
3087   for ac_file in conftest.o conftest.obj conftest.*; do
3088   test -f "$ac_file" || continue;
3089   case $ac_file in
3090     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3091     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3092        break;;
3093   esac
3094 done
3095 else
3096   $as_echo "$as_me: failed program was:" >&5
3097 sed 's/^/| /' conftest.$ac_ext >&5
3098
3099 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3101 as_fn_error $? "cannot compute suffix of object files: cannot compile
3102 See \`config.log' for more details" "$LINENO" 5; }
3103 fi
3104 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3105 fi
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3107 $as_echo "$ac_cv_objext" >&6; }
3108 OBJEXT=$ac_cv_objext
3109 ac_objext=$OBJEXT
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3111 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3112 if ${ac_cv_c_compiler_gnu+:} false; then :
3113   $as_echo_n "(cached) " >&6
3114 else
3115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3116 /* end confdefs.h.  */
3117
3118 int
3119 main ()
3120 {
3121 #ifndef __GNUC__
3122        choke me
3123 #endif
3124
3125   ;
3126   return 0;
3127 }
3128 _ACEOF
3129 if ac_fn_c_try_compile "$LINENO"; then :
3130   ac_compiler_gnu=yes
3131 else
3132   ac_compiler_gnu=no
3133 fi
3134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3135 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3136
3137 fi
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3139 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3140 if test $ac_compiler_gnu = yes; then
3141   GCC=yes
3142 else
3143   GCC=
3144 fi
3145 ac_test_CFLAGS=${CFLAGS+set}
3146 ac_save_CFLAGS=$CFLAGS
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3148 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3149 if ${ac_cv_prog_cc_g+:} false; then :
3150   $as_echo_n "(cached) " >&6
3151 else
3152   ac_save_c_werror_flag=$ac_c_werror_flag
3153    ac_c_werror_flag=yes
3154    ac_cv_prog_cc_g=no
3155    CFLAGS="-g"
3156    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3157 /* end confdefs.h.  */
3158
3159 int
3160 main ()
3161 {
3162
3163   ;
3164   return 0;
3165 }
3166 _ACEOF
3167 if ac_fn_c_try_compile "$LINENO"; then :
3168   ac_cv_prog_cc_g=yes
3169 else
3170   CFLAGS=""
3171       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3172 /* end confdefs.h.  */
3173
3174 int
3175 main ()
3176 {
3177
3178   ;
3179   return 0;
3180 }
3181 _ACEOF
3182 if ac_fn_c_try_compile "$LINENO"; then :
3183
3184 else
3185   ac_c_werror_flag=$ac_save_c_werror_flag
3186          CFLAGS="-g"
3187          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3188 /* end confdefs.h.  */
3189
3190 int
3191 main ()
3192 {
3193
3194   ;
3195   return 0;
3196 }
3197 _ACEOF
3198 if ac_fn_c_try_compile "$LINENO"; then :
3199   ac_cv_prog_cc_g=yes
3200 fi
3201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3202 fi
3203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3204 fi
3205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3206    ac_c_werror_flag=$ac_save_c_werror_flag
3207 fi
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3209 $as_echo "$ac_cv_prog_cc_g" >&6; }
3210 if test "$ac_test_CFLAGS" = set; then
3211   CFLAGS=$ac_save_CFLAGS
3212 elif test $ac_cv_prog_cc_g = yes; then
3213   if test "$GCC" = yes; then
3214     CFLAGS="-g -O2"
3215   else
3216     CFLAGS="-g"
3217   fi
3218 else
3219   if test "$GCC" = yes; then
3220     CFLAGS="-O2"
3221   else
3222     CFLAGS=
3223   fi
3224 fi
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3226 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3227 if ${ac_cv_prog_cc_c89+:} false; then :
3228   $as_echo_n "(cached) " >&6
3229 else
3230   ac_cv_prog_cc_c89=no
3231 ac_save_CC=$CC
3232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3233 /* end confdefs.h.  */
3234 #include <stdarg.h>
3235 #include <stdio.h>
3236 struct stat;
3237 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3238 struct buf { int x; };
3239 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3240 static char *e (p, i)
3241      char **p;
3242      int i;
3243 {
3244   return p[i];
3245 }
3246 static char *f (char * (*g) (char **, int), char **p, ...)
3247 {
3248   char *s;
3249   va_list v;
3250   va_start (v,p);
3251   s = g (p, va_arg (v,int));
3252   va_end (v);
3253   return s;
3254 }
3255
3256 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3257    function prototypes and stuff, but not '\xHH' hex character constants.
3258    These don't provoke an error unfortunately, instead are silently treated
3259    as 'x'.  The following induces an error, until -std is added to get
3260    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3261    array size at least.  It's necessary to write '\x00'==0 to get something
3262    that's true only with -std.  */
3263 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3264
3265 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3266    inside strings and character constants.  */
3267 #define FOO(x) 'x'
3268 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3269
3270 int test (int i, double x);
3271 struct s1 {int (*f) (int a);};
3272 struct s2 {int (*f) (double a);};
3273 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3274 int argc;
3275 char **argv;
3276 int
3277 main ()
3278 {
3279 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3280   ;
3281   return 0;
3282 }
3283 _ACEOF
3284 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3285         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3286 do
3287   CC="$ac_save_CC $ac_arg"
3288   if ac_fn_c_try_compile "$LINENO"; then :
3289   ac_cv_prog_cc_c89=$ac_arg
3290 fi
3291 rm -f core conftest.err conftest.$ac_objext
3292   test "x$ac_cv_prog_cc_c89" != "xno" && break
3293 done
3294 rm -f conftest.$ac_ext
3295 CC=$ac_save_CC
3296
3297 fi
3298 # AC_CACHE_VAL
3299 case "x$ac_cv_prog_cc_c89" in
3300   x)
3301     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3302 $as_echo "none needed" >&6; } ;;
3303   xno)
3304     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3305 $as_echo "unsupported" >&6; } ;;
3306   *)
3307     CC="$CC $ac_cv_prog_cc_c89"
3308     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3309 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3310 esac
3311 if test "x$ac_cv_prog_cc_c89" != xno; then :
3312
3313 fi
3314
3315 ac_ext=c
3316 ac_cpp='$CPP $CPPFLAGS'
3317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3320
3321
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3323 $as_echo_n "checking for library containing strerror... " >&6; }
3324 if ${ac_cv_search_strerror+:} false; then :
3325   $as_echo_n "(cached) " >&6
3326 else
3327   ac_func_search_save_LIBS=$LIBS
3328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3329 /* end confdefs.h.  */
3330
3331 /* Override any GCC internal prototype to avoid an error.
3332    Use char because int might match the return type of a GCC
3333    builtin and then its argument prototype would still apply.  */
3334 #ifdef __cplusplus
3335 extern "C"
3336 #endif
3337 char strerror ();
3338 int
3339 main ()
3340 {
3341 return strerror ();
3342   ;
3343   return 0;
3344 }
3345 _ACEOF
3346 for ac_lib in '' cposix; do
3347   if test -z "$ac_lib"; then
3348     ac_res="none required"
3349   else
3350     ac_res=-l$ac_lib
3351     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3352   fi
3353   if ac_fn_c_try_link "$LINENO"; then :
3354   ac_cv_search_strerror=$ac_res
3355 fi
3356 rm -f core conftest.err conftest.$ac_objext \
3357     conftest$ac_exeext
3358   if ${ac_cv_search_strerror+:} false; then :
3359   break
3360 fi
3361 done
3362 if ${ac_cv_search_strerror+:} false; then :
3363
3364 else
3365   ac_cv_search_strerror=no
3366 fi
3367 rm conftest.$ac_ext
3368 LIBS=$ac_func_search_save_LIBS
3369 fi
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3371 $as_echo "$ac_cv_search_strerror" >&6; }
3372 ac_res=$ac_cv_search_strerror
3373 if test "$ac_res" != no; then :
3374   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3375
3376 fi
3377
3378
3379 am__api_version='1.13'
3380
3381 # Find a good install program.  We prefer a C program (faster),
3382 # so one script is as good as another.  But avoid the broken or
3383 # incompatible versions:
3384 # SysV /etc/install, /usr/sbin/install
3385 # SunOS /usr/etc/install
3386 # IRIX /sbin/install
3387 # AIX /bin/install
3388 # AmigaOS /C/install, which installs bootblocks on floppy discs
3389 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3390 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3391 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3392 # OS/2's system install, which has a completely different semantic
3393 # ./install, which can be erroneously created by make from ./install.sh.
3394 # Reject install programs that cannot install multiple files.
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3396 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3397 if test -z "$INSTALL"; then
3398 if ${ac_cv_path_install+:} false; then :
3399   $as_echo_n "(cached) " >&6
3400 else
3401   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3402 for as_dir in $PATH
3403 do
3404   IFS=$as_save_IFS
3405   test -z "$as_dir" && as_dir=.
3406     # Account for people who put trailing slashes in PATH elements.
3407 case $as_dir/ in #((
3408   ./ | .// | /[cC]/* | \
3409   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3410   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3411   /usr/ucb/* ) ;;
3412   *)
3413     # OSF1 and SCO ODT 3.0 have their own names for install.
3414     # Don't use installbsd from OSF since it installs stuff as root
3415     # by default.
3416     for ac_prog in ginstall scoinst install; do
3417       for ac_exec_ext in '' $ac_executable_extensions; do
3418         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3419           if test $ac_prog = install &&
3420             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3421             # AIX install.  It has an incompatible calling convention.
3422             :
3423           elif test $ac_prog = install &&
3424             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3425             # program-specific install script used by HP pwplus--don't use.
3426             :
3427           else
3428             rm -rf conftest.one conftest.two conftest.dir
3429             echo one > conftest.one
3430             echo two > conftest.two
3431             mkdir conftest.dir
3432             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3433               test -s conftest.one && test -s conftest.two &&
3434               test -s conftest.dir/conftest.one &&
3435               test -s conftest.dir/conftest.two
3436             then
3437               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3438               break 3
3439             fi
3440           fi
3441         fi
3442       done
3443     done
3444     ;;
3445 esac
3446
3447   done
3448 IFS=$as_save_IFS
3449
3450 rm -rf conftest.one conftest.two conftest.dir
3451
3452 fi
3453   if test "${ac_cv_path_install+set}" = set; then
3454     INSTALL=$ac_cv_path_install
3455   else
3456     # As a last resort, use the slow shell script.  Don't cache a
3457     # value for INSTALL within a source directory, because that will
3458     # break other packages using the cache if that directory is
3459     # removed, or if the value is a relative name.
3460     INSTALL=$ac_install_sh
3461   fi
3462 fi
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3464 $as_echo "$INSTALL" >&6; }
3465
3466 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3467 # It thinks the first close brace ends the variable substitution.
3468 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3469
3470 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3471
3472 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3473
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3475 $as_echo_n "checking whether build environment is sane... " >&6; }
3476 # Reject unsafe characters in $srcdir or the absolute working directory
3477 # name.  Accept space and tab only in the latter.
3478 am_lf='
3479 '
3480 case `pwd` in
3481   *[\\\"\#\$\&\'\`$am_lf]*)
3482     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3483 esac
3484 case $srcdir in
3485   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3486     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3487 esac
3488
3489 # Do 'set' in a subshell so we don't clobber the current shell's
3490 # arguments.  Must try -L first in case configure is actually a
3491 # symlink; some systems play weird games with the mod time of symlinks
3492 # (eg FreeBSD returns the mod time of the symlink's containing
3493 # directory).
3494 if (
3495    am_has_slept=no
3496    for am_try in 1 2; do
3497      echo "timestamp, slept: $am_has_slept" > conftest.file
3498      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3499      if test "$*" = "X"; then
3500         # -L didn't work.
3501         set X `ls -t "$srcdir/configure" conftest.file`
3502      fi
3503      if test "$*" != "X $srcdir/configure conftest.file" \
3504         && test "$*" != "X conftest.file $srcdir/configure"; then
3505
3506         # If neither matched, then we have a broken ls.  This can happen
3507         # if, for instance, CONFIG_SHELL is bash and it inherits a
3508         # broken ls alias from the environment.  This has actually
3509         # happened.  Such a system could not be considered "sane".
3510         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3511   alias in your environment" "$LINENO" 5
3512      fi
3513      if test "$2" = conftest.file || test $am_try -eq 2; then
3514        break
3515      fi
3516      # Just in case.
3517      sleep 1
3518      am_has_slept=yes
3519    done
3520    test "$2" = conftest.file
3521    )
3522 then
3523    # Ok.
3524    :
3525 else
3526    as_fn_error $? "newly created file is older than distributed files!
3527 Check your system clock" "$LINENO" 5
3528 fi
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3530 $as_echo "yes" >&6; }
3531 # If we didn't sleep, we still need to ensure time stamps of config.status and
3532 # generated files are strictly newer.
3533 am_sleep_pid=
3534 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3535   ( sleep 1 ) &
3536   am_sleep_pid=$!
3537 fi
3538
3539 rm -f conftest.file
3540
3541 test "$program_prefix" != NONE &&
3542   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3543 # Use a double $ so make ignores it.
3544 test "$program_suffix" != NONE &&
3545   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3546 # Double any \ or $.
3547 # By default was `s,x,x', remove it if useless.
3548 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3549 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3550
3551 # expand $ac_aux_dir to an absolute path
3552 am_aux_dir=`cd $ac_aux_dir && pwd`
3553
3554 if test x"${MISSING+set}" != xset; then
3555   case $am_aux_dir in
3556   *\ * | *\     *)
3557     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3558   *)
3559     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3560   esac
3561 fi
3562 # Use eval to expand $SHELL
3563 if eval "$MISSING --is-lightweight"; then
3564   am_missing_run="$MISSING "
3565 else
3566   am_missing_run=
3567   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3568 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3569 fi
3570
3571 if test x"${install_sh}" != xset; then
3572   case $am_aux_dir in
3573   *\ * | *\     *)
3574     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3575   *)
3576     install_sh="\${SHELL} $am_aux_dir/install-sh"
3577   esac
3578 fi
3579
3580 # Installed binaries are usually stripped using 'strip' when the user
3581 # run "make install-strip".  However 'strip' might not be the right
3582 # tool to use in cross-compilation environments, therefore Automake
3583 # will honor the 'STRIP' environment variable to overrule this program.
3584 if test "$cross_compiling" != no; then
3585   if test -n "$ac_tool_prefix"; then
3586   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3587 set dummy ${ac_tool_prefix}strip; ac_word=$2
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3589 $as_echo_n "checking for $ac_word... " >&6; }
3590 if ${ac_cv_prog_STRIP+:} false; then :
3591   $as_echo_n "(cached) " >&6
3592 else
3593   if test -n "$STRIP"; then
3594   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3595 else
3596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3597 for as_dir in $PATH
3598 do
3599   IFS=$as_save_IFS
3600   test -z "$as_dir" && as_dir=.
3601     for ac_exec_ext in '' $ac_executable_extensions; do
3602   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3603     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3604     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3605     break 2
3606   fi
3607 done
3608   done
3609 IFS=$as_save_IFS
3610
3611 fi
3612 fi
3613 STRIP=$ac_cv_prog_STRIP
3614 if test -n "$STRIP"; then
3615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3616 $as_echo "$STRIP" >&6; }
3617 else
3618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3619 $as_echo "no" >&6; }
3620 fi
3621
3622
3623 fi
3624 if test -z "$ac_cv_prog_STRIP"; then
3625   ac_ct_STRIP=$STRIP
3626   # Extract the first word of "strip", so it can be a program name with args.
3627 set dummy strip; ac_word=$2
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3629 $as_echo_n "checking for $ac_word... " >&6; }
3630 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3631   $as_echo_n "(cached) " >&6
3632 else
3633   if test -n "$ac_ct_STRIP"; then
3634   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3635 else
3636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3637 for as_dir in $PATH
3638 do
3639   IFS=$as_save_IFS
3640   test -z "$as_dir" && as_dir=.
3641     for ac_exec_ext in '' $ac_executable_extensions; do
3642   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3643     ac_cv_prog_ac_ct_STRIP="strip"
3644     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3645     break 2
3646   fi
3647 done
3648   done
3649 IFS=$as_save_IFS
3650
3651 fi
3652 fi
3653 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3654 if test -n "$ac_ct_STRIP"; then
3655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3656 $as_echo "$ac_ct_STRIP" >&6; }
3657 else
3658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3659 $as_echo "no" >&6; }
3660 fi
3661
3662   if test "x$ac_ct_STRIP" = x; then
3663     STRIP=":"
3664   else
3665     case $cross_compiling:$ac_tool_warned in
3666 yes:)
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3668 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3669 ac_tool_warned=yes ;;
3670 esac
3671     STRIP=$ac_ct_STRIP
3672   fi
3673 else
3674   STRIP="$ac_cv_prog_STRIP"
3675 fi
3676
3677 fi
3678 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3679
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3681 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3682 if test -z "$MKDIR_P"; then
3683   if ${ac_cv_path_mkdir+:} false; then :
3684   $as_echo_n "(cached) " >&6
3685 else
3686   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3687 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3688 do
3689   IFS=$as_save_IFS
3690   test -z "$as_dir" && as_dir=.
3691     for ac_prog in mkdir gmkdir; do
3692          for ac_exec_ext in '' $ac_executable_extensions; do
3693            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3694            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3695              'mkdir (GNU coreutils) '* | \
3696              'mkdir (coreutils) '* | \
3697              'mkdir (fileutils) '4.1*)
3698                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3699                break 3;;
3700            esac
3701          done
3702        done
3703   done
3704 IFS=$as_save_IFS
3705
3706 fi
3707
3708   test -d ./--version && rmdir ./--version
3709   if test "${ac_cv_path_mkdir+set}" = set; then
3710     MKDIR_P="$ac_cv_path_mkdir -p"
3711   else
3712     # As a last resort, use the slow shell script.  Don't cache a
3713     # value for MKDIR_P within a source directory, because that will
3714     # break other packages using the cache if that directory is
3715     # removed, or if the value is a relative name.
3716     MKDIR_P="$ac_install_sh -d"
3717   fi
3718 fi
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3720 $as_echo "$MKDIR_P" >&6; }
3721
3722 for ac_prog in gawk mawk nawk awk
3723 do
3724   # Extract the first word of "$ac_prog", so it can be a program name with args.
3725 set dummy $ac_prog; ac_word=$2
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3727 $as_echo_n "checking for $ac_word... " >&6; }
3728 if ${ac_cv_prog_AWK+:} false; then :
3729   $as_echo_n "(cached) " >&6
3730 else
3731   if test -n "$AWK"; then
3732   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3733 else
3734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3735 for as_dir in $PATH
3736 do
3737   IFS=$as_save_IFS
3738   test -z "$as_dir" && as_dir=.
3739     for ac_exec_ext in '' $ac_executable_extensions; do
3740   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3741     ac_cv_prog_AWK="$ac_prog"
3742     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3743     break 2
3744   fi
3745 done
3746   done
3747 IFS=$as_save_IFS
3748
3749 fi
3750 fi
3751 AWK=$ac_cv_prog_AWK
3752 if test -n "$AWK"; then
3753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3754 $as_echo "$AWK" >&6; }
3755 else
3756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3757 $as_echo "no" >&6; }
3758 fi
3759
3760
3761   test -n "$AWK" && break
3762 done
3763
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3765 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3766 set x ${MAKE-make}
3767 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3768 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3769   $as_echo_n "(cached) " >&6
3770 else
3771   cat >conftest.make <<\_ACEOF
3772 SHELL = /bin/sh
3773 all:
3774         @echo '@@@%%%=$(MAKE)=@@@%%%'
3775 _ACEOF
3776 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3777 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3778   *@@@%%%=?*=@@@%%%*)
3779     eval ac_cv_prog_make_${ac_make}_set=yes;;
3780   *)
3781     eval ac_cv_prog_make_${ac_make}_set=no;;
3782 esac
3783 rm -f conftest.make
3784 fi
3785 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3787 $as_echo "yes" >&6; }
3788   SET_MAKE=
3789 else
3790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3791 $as_echo "no" >&6; }
3792   SET_MAKE="MAKE=${MAKE-make}"
3793 fi
3794
3795 rm -rf .tst 2>/dev/null
3796 mkdir .tst 2>/dev/null
3797 if test -d .tst; then
3798   am__leading_dot=.
3799 else
3800   am__leading_dot=_
3801 fi
3802 rmdir .tst 2>/dev/null
3803
3804 DEPDIR="${am__leading_dot}deps"
3805
3806 ac_config_commands="$ac_config_commands depfiles"
3807
3808
3809 am_make=${MAKE-make}
3810 cat > confinc << 'END'
3811 am__doit:
3812         @echo this is the am__doit target
3813 .PHONY: am__doit
3814 END
3815 # If we don't find an include directive, just comment out the code.
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3817 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3818 am__include="#"
3819 am__quote=
3820 _am_result=none
3821 # First try GNU make style include.
3822 echo "include confinc" > confmf
3823 # Ignore all kinds of additional output from 'make'.
3824 case `$am_make -s -f confmf 2> /dev/null` in #(
3825 *the\ am__doit\ target*)
3826   am__include=include
3827   am__quote=
3828   _am_result=GNU
3829   ;;
3830 esac
3831 # Now try BSD make style include.
3832 if test "$am__include" = "#"; then
3833    echo '.include "confinc"' > confmf
3834    case `$am_make -s -f confmf 2> /dev/null` in #(
3835    *the\ am__doit\ target*)
3836      am__include=.include
3837      am__quote="\""
3838      _am_result=BSD
3839      ;;
3840    esac
3841 fi
3842
3843
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3845 $as_echo "$_am_result" >&6; }
3846 rm -f confinc confmf
3847
3848 # Check whether --enable-dependency-tracking was given.
3849 if test "${enable_dependency_tracking+set}" = set; then :
3850   enableval=$enable_dependency_tracking;
3851 fi
3852
3853 if test "x$enable_dependency_tracking" != xno; then
3854   am_depcomp="$ac_aux_dir/depcomp"
3855   AMDEPBACKSLASH='\'
3856   am__nodep='_no'
3857 fi
3858  if test "x$enable_dependency_tracking" != xno; then
3859   AMDEP_TRUE=
3860   AMDEP_FALSE='#'
3861 else
3862   AMDEP_TRUE='#'
3863   AMDEP_FALSE=
3864 fi
3865
3866
3867 # Check whether --enable-silent-rules was given.
3868 if test "${enable_silent_rules+set}" = set; then :
3869   enableval=$enable_silent_rules;
3870 fi
3871
3872 case $enable_silent_rules in # (((
3873   yes) AM_DEFAULT_VERBOSITY=0;;
3874    no) AM_DEFAULT_VERBOSITY=1;;
3875     *) AM_DEFAULT_VERBOSITY=1;;
3876 esac
3877 am_make=${MAKE-make}
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3879 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3880 if ${am_cv_make_support_nested_variables+:} false; then :
3881   $as_echo_n "(cached) " >&6
3882 else
3883   if $as_echo 'TRUE=$(BAR$(V))
3884 BAR0=false
3885 BAR1=true
3886 V=1
3887 am__doit:
3888         @$(TRUE)
3889 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3890   am_cv_make_support_nested_variables=yes
3891 else
3892   am_cv_make_support_nested_variables=no
3893 fi
3894 fi
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3896 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3897 if test $am_cv_make_support_nested_variables = yes; then
3898     AM_V='$(V)'
3899   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3900 else
3901   AM_V=$AM_DEFAULT_VERBOSITY
3902   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3903 fi
3904 AM_BACKSLASH='\'
3905
3906 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3907   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3908   # is not polluted with repeated "-I."
3909   am__isrc=' -I$(srcdir)'
3910   # test to see if srcdir already configured
3911   if test -f $srcdir/config.status; then
3912     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3913   fi
3914 fi
3915
3916 # test whether we have cygpath
3917 if test -z "$CYGPATH_W"; then
3918   if (cygpath --version) >/dev/null 2>/dev/null; then
3919     CYGPATH_W='cygpath -w'
3920   else
3921     CYGPATH_W=echo
3922   fi
3923 fi
3924
3925
3926 # Define the identity of the package.
3927  PACKAGE='emotion'
3928  VERSION='1.7.8'
3929
3930
3931 cat >>confdefs.h <<_ACEOF
3932 #define PACKAGE "$PACKAGE"
3933 _ACEOF
3934
3935
3936 cat >>confdefs.h <<_ACEOF
3937 #define VERSION "$VERSION"
3938 _ACEOF
3939
3940 # Some tools Automake needs.
3941
3942 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3943
3944
3945 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3946
3947
3948 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3949
3950
3951 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3952
3953
3954 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3955
3956 # For better backward compatibility.  To be removed once Automake 1.9.x
3957 # dies out for good.  For more background, see:
3958 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3959 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3960 mkdir_p='$(MKDIR_P)'
3961
3962 # We need awk for the "check" target.  The system "awk" is bad on
3963 # some platforms.
3964 # Always define AMTAR for backward compatibility.  Yes, it's still used
3965 # in the wild :-(  We should find a proper way to deprecate it ...
3966 AMTAR='$${TAR-tar}'
3967
3968
3969 # We'll loop over all known methods to create a tar archive until one works.
3970 _am_tools='gnutar  pax cpio none'
3971
3972 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3973
3974
3975
3976
3977
3978 depcc="$CC"   am_compiler_list=
3979
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3981 $as_echo_n "checking dependency style of $depcc... " >&6; }
3982 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3983   $as_echo_n "(cached) " >&6
3984 else
3985   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3986   # We make a subdir and do the tests there.  Otherwise we can end up
3987   # making bogus files that we don't know about and never remove.  For
3988   # instance it was reported that on HP-UX the gcc test will end up
3989   # making a dummy file named 'D' -- because '-MD' means "put the output
3990   # in D".
3991   rm -rf conftest.dir
3992   mkdir conftest.dir
3993   # Copy depcomp to subdir because otherwise we won't find it if we're
3994   # using a relative directory.
3995   cp "$am_depcomp" conftest.dir
3996   cd conftest.dir
3997   # We will build objects and dependencies in a subdirectory because
3998   # it helps to detect inapplicable dependency modes.  For instance
3999   # both Tru64's cc and ICC support -MD to output dependencies as a
4000   # side effect of compilation, but ICC will put the dependencies in
4001   # the current directory while Tru64 will put them in the object
4002   # directory.
4003   mkdir sub
4004
4005   am_cv_CC_dependencies_compiler_type=none
4006   if test "$am_compiler_list" = ""; then
4007      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4008   fi
4009   am__universal=false
4010   case " $depcc " in #(
4011      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4012      esac
4013
4014   for depmode in $am_compiler_list; do
4015     # Setup a source with many dependencies, because some compilers
4016     # like to wrap large dependency lists on column 80 (with \), and
4017     # we should not choose a depcomp mode which is confused by this.
4018     #
4019     # We need to recreate these files for each test, as the compiler may
4020     # overwrite some of them when testing with obscure command lines.
4021     # This happens at least with the AIX C compiler.
4022     : > sub/conftest.c
4023     for i in 1 2 3 4 5 6; do
4024       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4025       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4026       # Solaris 10 /bin/sh.
4027       echo '/* dummy */' > sub/conftst$i.h
4028     done
4029     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4030
4031     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4032     # mode.  It turns out that the SunPro C++ compiler does not properly
4033     # handle '-M -o', and we need to detect this.  Also, some Intel
4034     # versions had trouble with output in subdirs.
4035     am__obj=sub/conftest.${OBJEXT-o}
4036     am__minus_obj="-o $am__obj"
4037     case $depmode in
4038     gcc)
4039       # This depmode causes a compiler race in universal mode.
4040       test "$am__universal" = false || continue
4041       ;;
4042     nosideeffect)
4043       # After this tag, mechanisms are not by side-effect, so they'll
4044       # only be used when explicitly requested.
4045       if test "x$enable_dependency_tracking" = xyes; then
4046         continue
4047       else
4048         break
4049       fi
4050       ;;
4051     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4052       # This compiler won't grok '-c -o', but also, the minuso test has
4053       # not run yet.  These depmodes are late enough in the game, and
4054       # so weak that their functioning should not be impacted.
4055       am__obj=conftest.${OBJEXT-o}
4056       am__minus_obj=
4057       ;;
4058     none) break ;;
4059     esac
4060     if depmode=$depmode \
4061        source=sub/conftest.c object=$am__obj \
4062        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4063        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4064          >/dev/null 2>conftest.err &&
4065        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4066        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4067        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4068        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4069       # icc doesn't choke on unknown options, it will just issue warnings
4070       # or remarks (even with -Werror).  So we grep stderr for any message
4071       # that says an option was ignored or not supported.
4072       # When given -MP, icc 7.0 and 7.1 complain thusly:
4073       #   icc: Command line warning: ignoring option '-M'; no argument required
4074       # The diagnosis changed in icc 8.0:
4075       #   icc: Command line remark: option '-MP' not supported
4076       if (grep 'ignoring option' conftest.err ||
4077           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4078         am_cv_CC_dependencies_compiler_type=$depmode
4079         break
4080       fi
4081     fi
4082   done
4083
4084   cd ..
4085   rm -rf conftest.dir
4086 else
4087   am_cv_CC_dependencies_compiler_type=none
4088 fi
4089
4090 fi
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4092 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4093 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4094
4095  if
4096   test "x$enable_dependency_tracking" != xno \
4097   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4098   am__fastdepCC_TRUE=
4099   am__fastdepCC_FALSE='#'
4100 else
4101   am__fastdepCC_TRUE='#'
4102   am__fastdepCC_FALSE=
4103 fi
4104
4105
4106
4107 ac_config_headers="$ac_config_headers config.h"
4108
4109 # Check whether --enable-silent-rules was given.
4110 if test "${enable_silent_rules+set}" = set; then :
4111   enableval=$enable_silent_rules;
4112 fi
4113
4114 case $enable_silent_rules in # (((
4115   yes) AM_DEFAULT_VERBOSITY=0;;
4116    no) AM_DEFAULT_VERBOSITY=1;;
4117     *) AM_DEFAULT_VERBOSITY=0;;
4118 esac
4119 am_make=${MAKE-make}
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4121 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4122 if ${am_cv_make_support_nested_variables+:} false; then :
4123   $as_echo_n "(cached) " >&6
4124 else
4125   if $as_echo 'TRUE=$(BAR$(V))
4126 BAR0=false
4127 BAR1=true
4128 V=1
4129 am__doit:
4130         @$(TRUE)
4131 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4132   am_cv_make_support_nested_variables=yes
4133 else
4134   am_cv_make_support_nested_variables=no
4135 fi
4136 fi
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4138 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4139 if test $am_cv_make_support_nested_variables = yes; then
4140     AM_V='$(V)'
4141   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4142 else
4143   AM_V=$AM_DEFAULT_VERBOSITY
4144   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4145 fi
4146 AM_BACKSLASH='\'
4147
4148
4149 enable_win32_dll=yes
4150
4151 case $host in
4152 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
4153   if test -n "$ac_tool_prefix"; then
4154   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4155 set dummy ${ac_tool_prefix}as; ac_word=$2
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4157 $as_echo_n "checking for $ac_word... " >&6; }
4158 if ${ac_cv_prog_AS+:} false; then :
4159   $as_echo_n "(cached) " >&6
4160 else
4161   if test -n "$AS"; then
4162   ac_cv_prog_AS="$AS" # Let the user override the test.
4163 else
4164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4165 for as_dir in $PATH
4166 do
4167   IFS=$as_save_IFS
4168   test -z "$as_dir" && as_dir=.
4169     for ac_exec_ext in '' $ac_executable_extensions; do
4170   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4171     ac_cv_prog_AS="${ac_tool_prefix}as"
4172     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4173     break 2
4174   fi
4175 done
4176   done
4177 IFS=$as_save_IFS
4178
4179 fi
4180 fi
4181 AS=$ac_cv_prog_AS
4182 if test -n "$AS"; then
4183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4184 $as_echo "$AS" >&6; }
4185 else
4186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4187 $as_echo "no" >&6; }
4188 fi
4189
4190
4191 fi
4192 if test -z "$ac_cv_prog_AS"; then
4193   ac_ct_AS=$AS
4194   # Extract the first word of "as", so it can be a program name with args.
4195 set dummy as; ac_word=$2
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4197 $as_echo_n "checking for $ac_word... " >&6; }
4198 if ${ac_cv_prog_ac_ct_AS+:} false; then :
4199   $as_echo_n "(cached) " >&6
4200 else
4201   if test -n "$ac_ct_AS"; then
4202   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4203 else
4204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4205 for as_dir in $PATH
4206 do
4207   IFS=$as_save_IFS
4208   test -z "$as_dir" && as_dir=.
4209     for ac_exec_ext in '' $ac_executable_extensions; do
4210   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4211     ac_cv_prog_ac_ct_AS="as"
4212     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4213     break 2
4214   fi
4215 done
4216   done
4217 IFS=$as_save_IFS
4218
4219 fi
4220 fi
4221 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4222 if test -n "$ac_ct_AS"; then
4223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4224 $as_echo "$ac_ct_AS" >&6; }
4225 else
4226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4227 $as_echo "no" >&6; }
4228 fi
4229
4230   if test "x$ac_ct_AS" = x; then
4231     AS="false"
4232   else
4233     case $cross_compiling:$ac_tool_warned in
4234 yes:)
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4236 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4237 ac_tool_warned=yes ;;
4238 esac
4239     AS=$ac_ct_AS
4240   fi
4241 else
4242   AS="$ac_cv_prog_AS"
4243 fi
4244
4245   if test -n "$ac_tool_prefix"; then
4246   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4247 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4249 $as_echo_n "checking for $ac_word... " >&6; }
4250 if ${ac_cv_prog_DLLTOOL+:} false; then :
4251   $as_echo_n "(cached) " >&6
4252 else
4253   if test -n "$DLLTOOL"; then
4254   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4255 else
4256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4257 for as_dir in $PATH
4258 do
4259   IFS=$as_save_IFS
4260   test -z "$as_dir" && as_dir=.
4261     for ac_exec_ext in '' $ac_executable_extensions; do
4262   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4263     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4264     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4265     break 2
4266   fi
4267 done
4268   done
4269 IFS=$as_save_IFS
4270
4271 fi
4272 fi
4273 DLLTOOL=$ac_cv_prog_DLLTOOL
4274 if test -n "$DLLTOOL"; then
4275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4276 $as_echo "$DLLTOOL" >&6; }
4277 else
4278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4279 $as_echo "no" >&6; }
4280 fi
4281
4282
4283 fi
4284 if test -z "$ac_cv_prog_DLLTOOL"; then
4285   ac_ct_DLLTOOL=$DLLTOOL
4286   # Extract the first word of "dlltool", so it can be a program name with args.
4287 set dummy dlltool; ac_word=$2
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4289 $as_echo_n "checking for $ac_word... " >&6; }
4290 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4291   $as_echo_n "(cached) " >&6
4292 else
4293   if test -n "$ac_ct_DLLTOOL"; then
4294   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4295 else
4296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4297 for as_dir in $PATH
4298 do
4299   IFS=$as_save_IFS
4300   test -z "$as_dir" && as_dir=.
4301     for ac_exec_ext in '' $ac_executable_extensions; do
4302   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4303     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4304     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4305     break 2
4306   fi
4307 done
4308   done
4309 IFS=$as_save_IFS
4310
4311 fi
4312 fi
4313 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4314 if test -n "$ac_ct_DLLTOOL"; then
4315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4316 $as_echo "$ac_ct_DLLTOOL" >&6; }
4317 else
4318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4319 $as_echo "no" >&6; }
4320 fi
4321
4322   if test "x$ac_ct_DLLTOOL" = x; then
4323     DLLTOOL="false"
4324   else
4325     case $cross_compiling:$ac_tool_warned in
4326 yes:)
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4328 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4329 ac_tool_warned=yes ;;
4330 esac
4331     DLLTOOL=$ac_ct_DLLTOOL
4332   fi
4333 else
4334   DLLTOOL="$ac_cv_prog_DLLTOOL"
4335 fi
4336
4337   if test -n "$ac_tool_prefix"; then
4338   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4339 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4341 $as_echo_n "checking for $ac_word... " >&6; }
4342 if ${ac_cv_prog_OBJDUMP+:} false; then :
4343   $as_echo_n "(cached) " >&6
4344 else
4345   if test -n "$OBJDUMP"; then
4346   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4347 else
4348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4349 for as_dir in $PATH
4350 do
4351   IFS=$as_save_IFS
4352   test -z "$as_dir" && as_dir=.
4353     for ac_exec_ext in '' $ac_executable_extensions; do
4354   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4355     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4356     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4357     break 2
4358   fi
4359 done
4360   done
4361 IFS=$as_save_IFS
4362
4363 fi
4364 fi
4365 OBJDUMP=$ac_cv_prog_OBJDUMP
4366 if test -n "$OBJDUMP"; then
4367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4368 $as_echo "$OBJDUMP" >&6; }
4369 else
4370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4371 $as_echo "no" >&6; }
4372 fi
4373
4374
4375 fi
4376 if test -z "$ac_cv_prog_OBJDUMP"; then
4377   ac_ct_OBJDUMP=$OBJDUMP
4378   # Extract the first word of "objdump", so it can be a program name with args.
4379 set dummy objdump; ac_word=$2
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4381 $as_echo_n "checking for $ac_word... " >&6; }
4382 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4383   $as_echo_n "(cached) " >&6
4384 else
4385   if test -n "$ac_ct_OBJDUMP"; then
4386   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4387 else
4388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4389 for as_dir in $PATH
4390 do
4391   IFS=$as_save_IFS
4392   test -z "$as_dir" && as_dir=.
4393     for ac_exec_ext in '' $ac_executable_extensions; do
4394   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4395     ac_cv_prog_ac_ct_OBJDUMP="objdump"
4396     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4397     break 2
4398   fi
4399 done
4400   done
4401 IFS=$as_save_IFS
4402
4403 fi
4404 fi
4405 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4406 if test -n "$ac_ct_OBJDUMP"; then
4407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4408 $as_echo "$ac_ct_OBJDUMP" >&6; }
4409 else
4410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4411 $as_echo "no" >&6; }
4412 fi
4413
4414   if test "x$ac_ct_OBJDUMP" = x; then
4415     OBJDUMP="false"
4416   else
4417     case $cross_compiling:$ac_tool_warned in
4418 yes:)
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4421 ac_tool_warned=yes ;;
4422 esac
4423     OBJDUMP=$ac_ct_OBJDUMP
4424   fi
4425 else
4426   OBJDUMP="$ac_cv_prog_OBJDUMP"
4427 fi
4428
4429   ;;
4430 esac
4431
4432 test -z "$AS" && AS=as
4433
4434
4435
4436
4437
4438 test -z "$DLLTOOL" && DLLTOOL=dlltool
4439
4440
4441
4442
4443
4444 test -z "$OBJDUMP" && OBJDUMP=objdump
4445
4446
4447
4448
4449
4450
4451
4452 case `pwd` in
4453   *\ * | *\     *)
4454     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4455 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4456 esac
4457
4458
4459
4460 macro_version='2.4.2'
4461 macro_revision='1.3337'
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475 ltmain="$ac_aux_dir/ltmain.sh"
4476
4477 # Backslashify metacharacters that are still active within
4478 # double-quoted strings.
4479 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4480
4481 # Same as above, but do not quote variable references.
4482 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4483
4484 # Sed substitution to delay expansion of an escaped shell variable in a
4485 # double_quote_subst'ed string.
4486 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4487
4488 # Sed substitution to delay expansion of an escaped single quote.
4489 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4490
4491 # Sed substitution to avoid accidental globbing in evaled expressions
4492 no_glob_subst='s/\*/\\\*/g'
4493
4494 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4495 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4496 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4497
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4499 $as_echo_n "checking how to print strings... " >&6; }
4500 # Test print first, because it will be a builtin if present.
4501 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4502    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4503   ECHO='print -r --'
4504 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4505   ECHO='printf %s\n'
4506 else
4507   # Use this function as a fallback that always works.
4508   func_fallback_echo ()
4509   {
4510     eval 'cat <<_LTECHO_EOF
4511 $1
4512 _LTECHO_EOF'
4513   }
4514   ECHO='func_fallback_echo'
4515 fi
4516
4517 # func_echo_all arg...
4518 # Invoke $ECHO with all args, space-separated.
4519 func_echo_all ()
4520 {
4521     $ECHO ""
4522 }
4523
4524 case "$ECHO" in
4525   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4526 $as_echo "printf" >&6; } ;;
4527   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4528 $as_echo "print -r" >&6; } ;;
4529   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4530 $as_echo "cat" >&6; } ;;
4531 esac
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4547 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4548 if ${ac_cv_path_SED+:} false; then :
4549   $as_echo_n "(cached) " >&6
4550 else
4551             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4552      for ac_i in 1 2 3 4 5 6 7; do
4553        ac_script="$ac_script$as_nl$ac_script"
4554      done
4555      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4556      { ac_script=; unset ac_script;}
4557      if test -z "$SED"; then
4558   ac_path_SED_found=false
4559   # Loop through the user's path and test for each of PROGNAME-LIST
4560   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4561 for as_dir in $PATH
4562 do
4563   IFS=$as_save_IFS
4564   test -z "$as_dir" && as_dir=.
4565     for ac_prog in sed gsed; do
4566     for ac_exec_ext in '' $ac_executable_extensions; do
4567       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4568       as_fn_executable_p "$ac_path_SED" || continue
4569 # Check for GNU ac_path_SED and select it if it is found.
4570   # Check for GNU $ac_path_SED
4571 case `"$ac_path_SED" --version 2>&1` in
4572 *GNU*)
4573   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4574 *)
4575   ac_count=0
4576   $as_echo_n 0123456789 >"conftest.in"
4577   while :
4578   do
4579     cat "conftest.in" "conftest.in" >"conftest.tmp"
4580     mv "conftest.tmp" "conftest.in"
4581     cp "conftest.in" "conftest.nl"
4582     $as_echo '' >> "conftest.nl"
4583     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4584     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4585     as_fn_arith $ac_count + 1 && ac_count=$as_val
4586     if test $ac_count -gt ${ac_path_SED_max-0}; then
4587       # Best one so far, save it but keep looking for a better one
4588       ac_cv_path_SED="$ac_path_SED"
4589       ac_path_SED_max=$ac_count
4590     fi
4591     # 10*(2^10) chars as input seems more than enough
4592     test $ac_count -gt 10 && break
4593   done
4594   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4595 esac
4596
4597       $ac_path_SED_found && break 3
4598     done
4599   done
4600   done
4601 IFS=$as_save_IFS
4602   if test -z "$ac_cv_path_SED"; then
4603     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4604   fi
4605 else
4606   ac_cv_path_SED=$SED
4607 fi
4608
4609 fi
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4611 $as_echo "$ac_cv_path_SED" >&6; }
4612  SED="$ac_cv_path_SED"
4613   rm -f conftest.sed
4614
4615 test -z "$SED" && SED=sed
4616 Xsed="$SED -e 1s/^X//"
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4629 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4630 if ${ac_cv_path_GREP+:} false; then :
4631   $as_echo_n "(cached) " >&6
4632 else
4633   if test -z "$GREP"; then
4634   ac_path_GREP_found=false
4635   # Loop through the user's path and test for each of PROGNAME-LIST
4636   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4637 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4638 do
4639   IFS=$as_save_IFS
4640   test -z "$as_dir" && as_dir=.
4641     for ac_prog in grep ggrep; do
4642     for ac_exec_ext in '' $ac_executable_extensions; do
4643       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4644       as_fn_executable_p "$ac_path_GREP" || continue
4645 # Check for GNU ac_path_GREP and select it if it is found.
4646   # Check for GNU $ac_path_GREP
4647 case `"$ac_path_GREP" --version 2>&1` in
4648 *GNU*)
4649   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4650 *)
4651   ac_count=0
4652   $as_echo_n 0123456789 >"conftest.in"
4653   while :
4654   do
4655     cat "conftest.in" "conftest.in" >"conftest.tmp"
4656     mv "conftest.tmp" "conftest.in"
4657     cp "conftest.in" "conftest.nl"
4658     $as_echo 'GREP' >> "conftest.nl"
4659     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4660     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4661     as_fn_arith $ac_count + 1 && ac_count=$as_val
4662     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4663       # Best one so far, save it but keep looking for a better one
4664       ac_cv_path_GREP="$ac_path_GREP"
4665       ac_path_GREP_max=$ac_count
4666     fi
4667     # 10*(2^10) chars as input seems more than enough
4668     test $ac_count -gt 10 && break
4669   done
4670   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4671 esac
4672
4673       $ac_path_GREP_found && break 3
4674     done
4675   done
4676   done
4677 IFS=$as_save_IFS
4678   if test -z "$ac_cv_path_GREP"; then
4679     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4680   fi
4681 else
4682   ac_cv_path_GREP=$GREP
4683 fi
4684
4685 fi
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4687 $as_echo "$ac_cv_path_GREP" >&6; }
4688  GREP="$ac_cv_path_GREP"
4689
4690
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4692 $as_echo_n "checking for egrep... " >&6; }
4693 if ${ac_cv_path_EGREP+:} false; then :
4694   $as_echo_n "(cached) " >&6
4695 else
4696   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4697    then ac_cv_path_EGREP="$GREP -E"
4698    else
4699      if test -z "$EGREP"; then
4700   ac_path_EGREP_found=false
4701   # Loop through the user's path and test for each of PROGNAME-LIST
4702   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4703 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4704 do
4705   IFS=$as_save_IFS
4706   test -z "$as_dir" && as_dir=.
4707     for ac_prog in egrep; do
4708     for ac_exec_ext in '' $ac_executable_extensions; do
4709       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4710       as_fn_executable_p "$ac_path_EGREP" || continue
4711 # Check for GNU ac_path_EGREP and select it if it is found.
4712   # Check for GNU $ac_path_EGREP
4713 case `"$ac_path_EGREP" --version 2>&1` in
4714 *GNU*)
4715   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4716 *)
4717   ac_count=0
4718   $as_echo_n 0123456789 >"conftest.in"
4719   while :
4720   do
4721     cat "conftest.in" "conftest.in" >"conftest.tmp"
4722     mv "conftest.tmp" "conftest.in"
4723     cp "conftest.in" "conftest.nl"
4724     $as_echo 'EGREP' >> "conftest.nl"
4725     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4726     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4727     as_fn_arith $ac_count + 1 && ac_count=$as_val
4728     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4729       # Best one so far, save it but keep looking for a better one
4730       ac_cv_path_EGREP="$ac_path_EGREP"
4731       ac_path_EGREP_max=$ac_count
4732     fi
4733     # 10*(2^10) chars as input seems more than enough
4734     test $ac_count -gt 10 && break
4735   done
4736   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4737 esac
4738
4739       $ac_path_EGREP_found && break 3
4740     done
4741   done
4742   done
4743 IFS=$as_save_IFS
4744   if test -z "$ac_cv_path_EGREP"; then
4745     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4746   fi
4747 else
4748   ac_cv_path_EGREP=$EGREP
4749 fi
4750
4751    fi
4752 fi
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4754 $as_echo "$ac_cv_path_EGREP" >&6; }
4755  EGREP="$ac_cv_path_EGREP"
4756
4757
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4759 $as_echo_n "checking for fgrep... " >&6; }
4760 if ${ac_cv_path_FGREP+:} false; then :
4761   $as_echo_n "(cached) " >&6
4762 else
4763   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4764    then ac_cv_path_FGREP="$GREP -F"
4765    else
4766      if test -z "$FGREP"; then
4767   ac_path_FGREP_found=false
4768   # Loop through the user's path and test for each of PROGNAME-LIST
4769   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4770 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4771 do
4772   IFS=$as_save_IFS
4773   test -z "$as_dir" && as_dir=.
4774     for ac_prog in fgrep; do
4775     for ac_exec_ext in '' $ac_executable_extensions; do
4776       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4777       as_fn_executable_p "$ac_path_FGREP" || continue
4778 # Check for GNU ac_path_FGREP and select it if it is found.
4779   # Check for GNU $ac_path_FGREP
4780 case `"$ac_path_FGREP" --version 2>&1` in
4781 *GNU*)
4782   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4783 *)
4784   ac_count=0
4785   $as_echo_n 0123456789 >"conftest.in"
4786   while :
4787   do
4788     cat "conftest.in" "conftest.in" >"conftest.tmp"
4789     mv "conftest.tmp" "conftest.in"
4790     cp "conftest.in" "conftest.nl"
4791     $as_echo 'FGREP' >> "conftest.nl"
4792     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4793     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4794     as_fn_arith $ac_count + 1 && ac_count=$as_val
4795     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4796       # Best one so far, save it but keep looking for a better one
4797       ac_cv_path_FGREP="$ac_path_FGREP"
4798       ac_path_FGREP_max=$ac_count
4799     fi
4800     # 10*(2^10) chars as input seems more than enough
4801     test $ac_count -gt 10 && break
4802   done
4803   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4804 esac
4805
4806       $ac_path_FGREP_found && break 3
4807     done
4808   done
4809   done
4810 IFS=$as_save_IFS
4811   if test -z "$ac_cv_path_FGREP"; then
4812     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4813   fi
4814 else
4815   ac_cv_path_FGREP=$FGREP
4816 fi
4817
4818    fi
4819 fi
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4821 $as_echo "$ac_cv_path_FGREP" >&6; }
4822  FGREP="$ac_cv_path_FGREP"
4823
4824
4825 test -z "$GREP" && GREP=grep
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845 # Check whether --with-gnu-ld was given.
4846 if test "${with_gnu_ld+set}" = set; then :
4847   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4848 else
4849   with_gnu_ld=no
4850 fi
4851
4852 ac_prog=ld
4853 if test "$GCC" = yes; then
4854   # Check if gcc -print-prog-name=ld gives a path.
4855   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4856 $as_echo_n "checking for ld used by $CC... " >&6; }
4857   case $host in
4858   *-*-mingw*)
4859     # gcc leaves a trailing carriage return which upsets mingw
4860     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4861   *)
4862     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4863   esac
4864   case $ac_prog in
4865     # Accept absolute paths.
4866     [\\/]* | ?:[\\/]*)
4867       re_direlt='/[^/][^/]*/\.\./'
4868       # Canonicalize the pathname of ld
4869       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4870       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4871         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4872       done
4873       test -z "$LD" && LD="$ac_prog"
4874       ;;
4875   "")
4876     # If it fails, then pretend we aren't using GCC.
4877     ac_prog=ld
4878     ;;
4879   *)
4880     # If it is relative, then search for the first ld in PATH.
4881     with_gnu_ld=unknown
4882     ;;
4883   esac
4884 elif test "$with_gnu_ld" = yes; then
4885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4886 $as_echo_n "checking for GNU ld... " >&6; }
4887 else
4888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4889 $as_echo_n "checking for non-GNU ld... " >&6; }
4890 fi
4891 if ${lt_cv_path_LD+:} false; then :
4892   $as_echo_n "(cached) " >&6
4893 else
4894   if test -z "$LD"; then
4895   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4896   for ac_dir in $PATH; do
4897     IFS="$lt_save_ifs"
4898     test -z "$ac_dir" && ac_dir=.
4899     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4900       lt_cv_path_LD="$ac_dir/$ac_prog"
4901       # Check to see if the program is GNU ld.  I'd rather use --version,
4902       # but apparently some variants of GNU ld only accept -v.
4903       # Break only if it was the GNU/non-GNU ld that we prefer.
4904       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4905       *GNU* | *'with BFD'*)
4906         test "$with_gnu_ld" != no && break
4907         ;;
4908       *)
4909         test "$with_gnu_ld" != yes && break
4910         ;;
4911       esac
4912     fi
4913   done
4914   IFS="$lt_save_ifs"
4915 else
4916   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4917 fi
4918 fi
4919
4920 LD="$lt_cv_path_LD"
4921 if test -n "$LD"; then
4922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4923 $as_echo "$LD" >&6; }
4924 else
4925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4926 $as_echo "no" >&6; }
4927 fi
4928 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4930 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4931 if ${lt_cv_prog_gnu_ld+:} false; then :
4932   $as_echo_n "(cached) " >&6
4933 else
4934   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4935 case `$LD -v 2>&1 </dev/null` in
4936 *GNU* | *'with BFD'*)
4937   lt_cv_prog_gnu_ld=yes
4938   ;;
4939 *)
4940   lt_cv_prog_gnu_ld=no
4941   ;;
4942 esac
4943 fi
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4945 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4946 with_gnu_ld=$lt_cv_prog_gnu_ld
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4957 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4958 if ${lt_cv_path_NM+:} false; then :
4959   $as_echo_n "(cached) " >&6
4960 else
4961   if test -n "$NM"; then
4962   # Let the user override the test.
4963   lt_cv_path_NM="$NM"
4964 else
4965   lt_nm_to_check="${ac_tool_prefix}nm"
4966   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4967     lt_nm_to_check="$lt_nm_to_check nm"
4968   fi
4969   for lt_tmp_nm in $lt_nm_to_check; do
4970     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4971     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4972       IFS="$lt_save_ifs"
4973       test -z "$ac_dir" && ac_dir=.
4974       tmp_nm="$ac_dir/$lt_tmp_nm"
4975       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4976         # Check to see if the nm accepts a BSD-compat flag.
4977         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4978         #   nm: unknown option "B" ignored
4979         # Tru64's nm complains that /dev/null is an invalid object file
4980         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4981         */dev/null* | *'Invalid file or object type'*)
4982           lt_cv_path_NM="$tmp_nm -B"
4983           break
4984           ;;
4985         *)
4986           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4987           */dev/null*)
4988             lt_cv_path_NM="$tmp_nm -p"
4989             break
4990             ;;
4991           *)
4992             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4993             continue # so that we can try to find one that supports BSD flags
4994             ;;
4995           esac
4996           ;;
4997         esac
4998       fi
4999     done
5000     IFS="$lt_save_ifs"
5001   done
5002   : ${lt_cv_path_NM=no}
5003 fi
5004 fi
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5006 $as_echo "$lt_cv_path_NM" >&6; }
5007 if test "$lt_cv_path_NM" != "no"; then
5008   NM="$lt_cv_path_NM"
5009 else
5010   # Didn't find any BSD compatible name lister, look for dumpbin.
5011   if test -n "$DUMPBIN"; then :
5012     # Let the user override the test.
5013   else
5014     if test -n "$ac_tool_prefix"; then
5015   for ac_prog in dumpbin "link -dump"
5016   do
5017     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5018 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5020 $as_echo_n "checking for $ac_word... " >&6; }
5021 if ${ac_cv_prog_DUMPBIN+:} false; then :
5022   $as_echo_n "(cached) " >&6
5023 else
5024   if test -n "$DUMPBIN"; then
5025   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5026 else
5027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5028 for as_dir in $PATH
5029 do
5030   IFS=$as_save_IFS
5031   test -z "$as_dir" && as_dir=.
5032     for ac_exec_ext in '' $ac_executable_extensions; do
5033   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5034     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5035     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5036     break 2
5037   fi
5038 done
5039   done
5040 IFS=$as_save_IFS
5041
5042 fi
5043 fi
5044 DUMPBIN=$ac_cv_prog_DUMPBIN
5045 if test -n "$DUMPBIN"; then
5046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5047 $as_echo "$DUMPBIN" >&6; }
5048 else
5049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5050 $as_echo "no" >&6; }
5051 fi
5052
5053
5054     test -n "$DUMPBIN" && break
5055   done
5056 fi
5057 if test -z "$DUMPBIN"; then
5058   ac_ct_DUMPBIN=$DUMPBIN
5059   for ac_prog in dumpbin "link -dump"
5060 do
5061   # Extract the first word of "$ac_prog", so it can be a program name with args.
5062 set dummy $ac_prog; ac_word=$2
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5064 $as_echo_n "checking for $ac_word... " >&6; }
5065 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5066   $as_echo_n "(cached) " >&6
5067 else
5068   if test -n "$ac_ct_DUMPBIN"; then
5069   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5070 else
5071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5072 for as_dir in $PATH
5073 do
5074   IFS=$as_save_IFS
5075   test -z "$as_dir" && as_dir=.
5076     for ac_exec_ext in '' $ac_executable_extensions; do
5077   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5078     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5079     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5080     break 2
5081   fi
5082 done
5083   done
5084 IFS=$as_save_IFS
5085
5086 fi
5087 fi
5088 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5089 if test -n "$ac_ct_DUMPBIN"; then
5090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5091 $as_echo "$ac_ct_DUMPBIN" >&6; }
5092 else
5093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5094 $as_echo "no" >&6; }
5095 fi
5096
5097
5098   test -n "$ac_ct_DUMPBIN" && break
5099 done
5100
5101   if test "x$ac_ct_DUMPBIN" = x; then
5102     DUMPBIN=":"
5103   else
5104     case $cross_compiling:$ac_tool_warned in
5105 yes:)
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5108 ac_tool_warned=yes ;;
5109 esac
5110     DUMPBIN=$ac_ct_DUMPBIN
5111   fi
5112 fi
5113
5114     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5115     *COFF*)
5116       DUMPBIN="$DUMPBIN -symbols"
5117       ;;
5118     *)
5119       DUMPBIN=:
5120       ;;
5121     esac
5122   fi
5123
5124   if test "$DUMPBIN" != ":"; then
5125     NM="$DUMPBIN"
5126   fi
5127 fi
5128 test -z "$NM" && NM=nm
5129
5130
5131
5132
5133
5134
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5136 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5137 if ${lt_cv_nm_interface+:} false; then :
5138   $as_echo_n "(cached) " >&6
5139 else
5140   lt_cv_nm_interface="BSD nm"
5141   echo "int some_variable = 0;" > conftest.$ac_ext
5142   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5143   (eval "$ac_compile" 2>conftest.err)
5144   cat conftest.err >&5
5145   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5146   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5147   cat conftest.err >&5
5148   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5149   cat conftest.out >&5
5150   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5151     lt_cv_nm_interface="MS dumpbin"
5152   fi
5153   rm -f conftest*
5154 fi
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5156 $as_echo "$lt_cv_nm_interface" >&6; }
5157
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5159 $as_echo_n "checking whether ln -s works... " >&6; }
5160 LN_S=$as_ln_s
5161 if test "$LN_S" = "ln -s"; then
5162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5163 $as_echo "yes" >&6; }
5164 else
5165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5166 $as_echo "no, using $LN_S" >&6; }
5167 fi
5168
5169 # find the maximum length of command line arguments
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5171 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5172 if ${lt_cv_sys_max_cmd_len+:} false; then :
5173   $as_echo_n "(cached) " >&6
5174 else
5175     i=0
5176   teststring="ABCD"
5177
5178   case $build_os in
5179   msdosdjgpp*)
5180     # On DJGPP, this test can blow up pretty badly due to problems in libc
5181     # (any single argument exceeding 2000 bytes causes a buffer overrun
5182     # during glob expansion).  Even if it were fixed, the result of this
5183     # check would be larger than it should be.
5184     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5185     ;;
5186
5187   gnu*)
5188     # Under GNU Hurd, this test is not required because there is
5189     # no limit to the length of command line arguments.
5190     # Libtool will interpret -1 as no limit whatsoever
5191     lt_cv_sys_max_cmd_len=-1;
5192     ;;
5193
5194   cygwin* | mingw* | cegcc*)
5195     # On Win9x/ME, this test blows up -- it succeeds, but takes
5196     # about 5 minutes as the teststring grows exponentially.
5197     # Worse, since 9x/ME are not pre-emptively multitasking,
5198     # you end up with a "frozen" computer, even though with patience
5199     # the test eventually succeeds (with a max line length of 256k).
5200     # Instead, let's just punt: use the minimum linelength reported by
5201     # all of the supported platforms: 8192 (on NT/2K/XP).
5202     lt_cv_sys_max_cmd_len=8192;
5203     ;;
5204
5205   mint*)
5206     # On MiNT this can take a long time and run out of memory.
5207     lt_cv_sys_max_cmd_len=8192;
5208     ;;
5209
5210   amigaos*)
5211     # On AmigaOS with pdksh, this test takes hours, literally.
5212     # So we just punt and use a minimum line length of 8192.
5213     lt_cv_sys_max_cmd_len=8192;
5214     ;;
5215
5216   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5217     # This has been around since 386BSD, at least.  Likely further.
5218     if test -x /sbin/sysctl; then
5219       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5220     elif test -x /usr/sbin/sysctl; then
5221       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5222     else
5223       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5224     fi
5225     # And add a safety zone
5226     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5227     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5228     ;;
5229
5230   interix*)
5231     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5232     lt_cv_sys_max_cmd_len=196608
5233     ;;
5234
5235   os2*)
5236     # The test takes a long time on OS/2.
5237     lt_cv_sys_max_cmd_len=8192
5238     ;;
5239
5240   osf*)
5241     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5242     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5243     # nice to cause kernel panics so lets avoid the loop below.
5244     # First set a reasonable default.
5245     lt_cv_sys_max_cmd_len=16384
5246     #
5247     if test -x /sbin/sysconfig; then
5248       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5249         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5250       esac
5251     fi
5252     ;;
5253   sco3.2v5*)
5254     lt_cv_sys_max_cmd_len=102400
5255     ;;
5256   sysv5* | sco5v6* | sysv4.2uw2*)
5257     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5258     if test -n "$kargmax"; then
5259       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5260     else
5261       lt_cv_sys_max_cmd_len=32768
5262     fi
5263     ;;
5264   *)
5265     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5266     if test -n "$lt_cv_sys_max_cmd_len"; then
5267       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5268       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5269     else
5270       # Make teststring a little bigger before we do anything with it.
5271       # a 1K string should be a reasonable start.
5272       for i in 1 2 3 4 5 6 7 8 ; do
5273         teststring=$teststring$teststring
5274       done
5275       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5276       # If test is not a shell built-in, we'll probably end up computing a
5277       # maximum length that is only half of the actual maximum length, but
5278       # we can't tell.
5279       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5280                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5281               test $i != 17 # 1/2 MB should be enough
5282       do
5283         i=`expr $i + 1`
5284         teststring=$teststring$teststring
5285       done
5286       # Only check the string length outside the loop.
5287       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5288       teststring=
5289       # Add a significant safety factor because C++ compilers can tack on
5290       # massive amounts of additional arguments before passing them to the
5291       # linker.  It appears as though 1/2 is a usable value.
5292       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5293     fi
5294     ;;
5295   esac
5296
5297 fi
5298
5299 if test -n $lt_cv_sys_max_cmd_len ; then
5300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5301 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5302 else
5303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5304 $as_echo "none" >&6; }
5305 fi
5306 max_cmd_len=$lt_cv_sys_max_cmd_len
5307
5308
5309
5310
5311
5312
5313 : ${CP="cp -f"}
5314 : ${MV="mv -f"}
5315 : ${RM="rm -f"}
5316
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5318 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5319 # Try some XSI features
5320 xsi_shell=no
5321 ( _lt_dummy="a/b/c"
5322   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5323       = c,a/b,b/c, \
5324     && eval 'test $(( 1 + 1 )) -eq 2 \
5325     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5326   && xsi_shell=yes
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5328 $as_echo "$xsi_shell" >&6; }
5329
5330
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5332 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5333 lt_shell_append=no
5334 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5335     >/dev/null 2>&1 \
5336   && lt_shell_append=yes
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5338 $as_echo "$lt_shell_append" >&6; }
5339
5340
5341 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5342   lt_unset=unset
5343 else
5344   lt_unset=false
5345 fi
5346
5347
5348
5349
5350
5351 # test EBCDIC or ASCII
5352 case `echo X|tr X '\101'` in
5353  A) # ASCII based system
5354     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5355   lt_SP2NL='tr \040 \012'
5356   lt_NL2SP='tr \015\012 \040\040'
5357   ;;
5358  *) # EBCDIC based system
5359   lt_SP2NL='tr \100 \n'
5360   lt_NL2SP='tr \r\n \100\100'
5361   ;;
5362 esac
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5373 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5374 if ${lt_cv_to_host_file_cmd+:} false; then :
5375   $as_echo_n "(cached) " >&6
5376 else
5377   case $host in
5378   *-*-mingw* )
5379     case $build in
5380       *-*-mingw* ) # actually msys
5381         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5382         ;;
5383       *-*-cygwin* )
5384         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5385         ;;
5386       * ) # otherwise, assume *nix
5387         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5388         ;;
5389     esac
5390     ;;
5391   *-*-cygwin* )
5392     case $build in
5393       *-*-mingw* ) # actually msys
5394         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5395         ;;
5396       *-*-cygwin* )
5397         lt_cv_to_host_file_cmd=func_convert_file_noop
5398         ;;
5399       * ) # otherwise, assume *nix
5400         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5401         ;;
5402     esac
5403     ;;
5404   * ) # unhandled hosts (and "normal" native builds)
5405     lt_cv_to_host_file_cmd=func_convert_file_noop
5406     ;;
5407 esac
5408
5409 fi
5410
5411 to_host_file_cmd=$lt_cv_to_host_file_cmd
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5413 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5414
5415
5416
5417
5418
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5420 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5421 if ${lt_cv_to_tool_file_cmd+:} false; then :
5422   $as_echo_n "(cached) " >&6
5423 else
5424   #assume ordinary cross tools, or native build.
5425 lt_cv_to_tool_file_cmd=func_convert_file_noop
5426 case $host in
5427   *-*-mingw* )
5428     case $build in
5429       *-*-mingw* ) # actually msys
5430         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5431         ;;
5432     esac
5433     ;;
5434 esac
5435
5436 fi
5437
5438 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5440 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5441
5442
5443
5444
5445
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5447 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5448 if ${lt_cv_ld_reload_flag+:} false; then :
5449   $as_echo_n "(cached) " >&6
5450 else
5451   lt_cv_ld_reload_flag='-r'
5452 fi
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5454 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5455 reload_flag=$lt_cv_ld_reload_flag
5456 case $reload_flag in
5457 "" | " "*) ;;
5458 *) reload_flag=" $reload_flag" ;;
5459 esac
5460 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5461 case $host_os in
5462   cygwin* | mingw* | pw32* | cegcc*)
5463     if test "$GCC" != yes; then
5464       reload_cmds=false
5465     fi
5466     ;;
5467   darwin*)
5468     if test "$GCC" = yes; then
5469       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5470     else
5471       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5472     fi
5473     ;;
5474 esac
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484 if test -n "$ac_tool_prefix"; then
5485   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5486 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5488 $as_echo_n "checking for $ac_word... " >&6; }
5489 if ${ac_cv_prog_OBJDUMP+:} false; then :
5490   $as_echo_n "(cached) " >&6
5491 else
5492   if test -n "$OBJDUMP"; then
5493   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5494 else
5495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5496 for as_dir in $PATH
5497 do
5498   IFS=$as_save_IFS
5499   test -z "$as_dir" && as_dir=.
5500     for ac_exec_ext in '' $ac_executable_extensions; do
5501   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5502     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5503     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5504     break 2
5505   fi
5506 done
5507   done
5508 IFS=$as_save_IFS
5509
5510 fi
5511 fi
5512 OBJDUMP=$ac_cv_prog_OBJDUMP
5513 if test -n "$OBJDUMP"; then
5514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5515 $as_echo "$OBJDUMP" >&6; }
5516 else
5517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5518 $as_echo "no" >&6; }
5519 fi
5520
5521
5522 fi
5523 if test -z "$ac_cv_prog_OBJDUMP"; then
5524   ac_ct_OBJDUMP=$OBJDUMP
5525   # Extract the first word of "objdump", so it can be a program name with args.
5526 set dummy objdump; ac_word=$2
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5528 $as_echo_n "checking for $ac_word... " >&6; }
5529 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5530   $as_echo_n "(cached) " >&6
5531 else
5532   if test -n "$ac_ct_OBJDUMP"; then
5533   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5534 else
5535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5536 for as_dir in $PATH
5537 do
5538   IFS=$as_save_IFS
5539   test -z "$as_dir" && as_dir=.
5540     for ac_exec_ext in '' $ac_executable_extensions; do
5541   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5542     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5543     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5544     break 2
5545   fi
5546 done
5547   done
5548 IFS=$as_save_IFS
5549
5550 fi
5551 fi
5552 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5553 if test -n "$ac_ct_OBJDUMP"; then
5554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5555 $as_echo "$ac_ct_OBJDUMP" >&6; }
5556 else
5557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5558 $as_echo "no" >&6; }
5559 fi
5560
5561   if test "x$ac_ct_OBJDUMP" = x; then
5562     OBJDUMP="false"
5563   else
5564     case $cross_compiling:$ac_tool_warned in
5565 yes:)
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5567 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5568 ac_tool_warned=yes ;;
5569 esac
5570     OBJDUMP=$ac_ct_OBJDUMP
5571   fi
5572 else
5573   OBJDUMP="$ac_cv_prog_OBJDUMP"
5574 fi
5575
5576 test -z "$OBJDUMP" && OBJDUMP=objdump
5577
5578
5579
5580
5581
5582
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5584 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5585 if ${lt_cv_deplibs_check_method+:} false; then :
5586   $as_echo_n "(cached) " >&6
5587 else
5588   lt_cv_file_magic_cmd='$MAGIC_CMD'
5589 lt_cv_file_magic_test_file=
5590 lt_cv_deplibs_check_method='unknown'
5591 # Need to set the preceding variable on all platforms that support
5592 # interlibrary dependencies.
5593 # 'none' -- dependencies not supported.
5594 # `unknown' -- same as none, but documents that we really don't know.
5595 # 'pass_all' -- all dependencies passed with no checks.
5596 # 'test_compile' -- check by making test program.
5597 # 'file_magic [[regex]]' -- check by looking for files in library path
5598 # which responds to the $file_magic_cmd with a given extended regex.
5599 # If you have `file' or equivalent on your system and you're not sure
5600 # whether `pass_all' will *always* work, you probably want this one.
5601
5602 case $host_os in
5603 aix[4-9]*)
5604   lt_cv_deplibs_check_method=pass_all
5605   ;;
5606
5607 beos*)
5608   lt_cv_deplibs_check_method=pass_all
5609   ;;
5610
5611 bsdi[45]*)
5612   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5613   lt_cv_file_magic_cmd='/usr/bin/file -L'
5614   lt_cv_file_magic_test_file=/shlib/libc.so
5615   ;;
5616
5617 cygwin*)
5618   # func_win32_libid is a shell function defined in ltmain.sh
5619   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5620   lt_cv_file_magic_cmd='func_win32_libid'
5621   ;;
5622
5623 mingw* | pw32*)
5624   # Base MSYS/MinGW do not provide the 'file' command needed by
5625   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5626   # unless we find 'file', for example because we are cross-compiling.
5627   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5628   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5629     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5630     lt_cv_file_magic_cmd='func_win32_libid'
5631   else
5632     # Keep this pattern in sync with the one in func_win32_libid.
5633     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5634     lt_cv_file_magic_cmd='$OBJDUMP -f'
5635   fi
5636   ;;
5637
5638 cegcc*)
5639   # use the weaker test based on 'objdump'. See mingw*.
5640   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5641   lt_cv_file_magic_cmd='$OBJDUMP -f'
5642   ;;
5643
5644 darwin* | rhapsody*)
5645   lt_cv_deplibs_check_method=pass_all
5646   ;;
5647
5648 freebsd* | dragonfly*)
5649   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5650     case $host_cpu in
5651     i*86 )
5652       # Not sure whether the presence of OpenBSD here was a mistake.
5653       # Let's accept both of them until this is cleared up.
5654       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5655       lt_cv_file_magic_cmd=/usr/bin/file
5656       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5657       ;;
5658     esac
5659   else
5660     lt_cv_deplibs_check_method=pass_all
5661   fi
5662   ;;
5663
5664 gnu*)
5665   lt_cv_deplibs_check_method=pass_all
5666   ;;
5667
5668 haiku*)
5669   lt_cv_deplibs_check_method=pass_all
5670   ;;
5671
5672 hpux10.20* | hpux11*)
5673   lt_cv_file_magic_cmd=/usr/bin/file
5674   case $host_cpu in
5675   ia64*)
5676     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5677     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5678     ;;
5679   hppa*64*)
5680     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]'
5681     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5682     ;;
5683   *)
5684     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5685     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5686     ;;
5687   esac
5688   ;;
5689
5690 interix[3-9]*)
5691   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5692   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5693   ;;
5694
5695 irix5* | irix6* | nonstopux*)
5696   case $LD in
5697   *-32|*"-32 ") libmagic=32-bit;;
5698   *-n32|*"-n32 ") libmagic=N32;;
5699   *-64|*"-64 ") libmagic=64-bit;;
5700   *) libmagic=never-match;;
5701   esac
5702   lt_cv_deplibs_check_method=pass_all
5703   ;;
5704
5705 # This must be glibc/ELF.
5706 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5707   lt_cv_deplibs_check_method=pass_all
5708   ;;
5709
5710 netbsd*)
5711   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5712     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5713   else
5714     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5715   fi
5716   ;;
5717
5718 newos6*)
5719   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5720   lt_cv_file_magic_cmd=/usr/bin/file
5721   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5722   ;;
5723
5724 *nto* | *qnx*)
5725   lt_cv_deplibs_check_method=pass_all
5726   ;;
5727
5728 openbsd*)
5729   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5730     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5731   else
5732     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5733   fi
5734   ;;
5735
5736 osf3* | osf4* | osf5*)
5737   lt_cv_deplibs_check_method=pass_all
5738   ;;
5739
5740 rdos*)
5741   lt_cv_deplibs_check_method=pass_all
5742   ;;
5743
5744 solaris*)
5745   lt_cv_deplibs_check_method=pass_all
5746   ;;
5747
5748 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5749   lt_cv_deplibs_check_method=pass_all
5750   ;;
5751
5752 sysv4 | sysv4.3*)
5753   case $host_vendor in
5754   motorola)
5755     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]'
5756     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5757     ;;
5758   ncr)
5759     lt_cv_deplibs_check_method=pass_all
5760     ;;
5761   sequent)
5762     lt_cv_file_magic_cmd='/bin/file'
5763     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5764     ;;
5765   sni)
5766     lt_cv_file_magic_cmd='/bin/file'
5767     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5768     lt_cv_file_magic_test_file=/lib/libc.so
5769     ;;
5770   siemens)
5771     lt_cv_deplibs_check_method=pass_all
5772     ;;
5773   pc)
5774     lt_cv_deplibs_check_method=pass_all
5775     ;;
5776   esac
5777   ;;
5778
5779 tpf*)
5780   lt_cv_deplibs_check_method=pass_all
5781   ;;
5782 esac
5783
5784 fi
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5786 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5787
5788 file_magic_glob=
5789 want_nocaseglob=no
5790 if test "$build" = "$host"; then
5791   case $host_os in
5792   mingw* | pw32*)
5793     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5794       want_nocaseglob=yes
5795     else
5796       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5797     fi
5798     ;;
5799   esac
5800 fi
5801
5802 file_magic_cmd=$lt_cv_file_magic_cmd
5803 deplibs_check_method=$lt_cv_deplibs_check_method
5804 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827 if test -n "$ac_tool_prefix"; then
5828   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5829 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5831 $as_echo_n "checking for $ac_word... " >&6; }
5832 if ${ac_cv_prog_DLLTOOL+:} false; then :
5833   $as_echo_n "(cached) " >&6
5834 else
5835   if test -n "$DLLTOOL"; then
5836   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5837 else
5838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5839 for as_dir in $PATH
5840 do
5841   IFS=$as_save_IFS
5842   test -z "$as_dir" && as_dir=.
5843     for ac_exec_ext in '' $ac_executable_extensions; do
5844   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5845     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5846     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5847     break 2
5848   fi
5849 done
5850   done
5851 IFS=$as_save_IFS
5852
5853 fi
5854 fi
5855 DLLTOOL=$ac_cv_prog_DLLTOOL
5856 if test -n "$DLLTOOL"; then
5857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5858 $as_echo "$DLLTOOL" >&6; }
5859 else
5860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5861 $as_echo "no" >&6; }
5862 fi
5863
5864
5865 fi
5866 if test -z "$ac_cv_prog_DLLTOOL"; then
5867   ac_ct_DLLTOOL=$DLLTOOL
5868   # Extract the first word of "dlltool", so it can be a program name with args.
5869 set dummy dlltool; ac_word=$2
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5871 $as_echo_n "checking for $ac_word... " >&6; }
5872 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5873   $as_echo_n "(cached) " >&6
5874 else
5875   if test -n "$ac_ct_DLLTOOL"; then
5876   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5877 else
5878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5879 for as_dir in $PATH
5880 do
5881   IFS=$as_save_IFS
5882   test -z "$as_dir" && as_dir=.
5883     for ac_exec_ext in '' $ac_executable_extensions; do
5884   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5885     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5886     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5887     break 2
5888   fi
5889 done
5890   done
5891 IFS=$as_save_IFS
5892
5893 fi
5894 fi
5895 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5896 if test -n "$ac_ct_DLLTOOL"; then
5897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5898 $as_echo "$ac_ct_DLLTOOL" >&6; }
5899 else
5900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5901 $as_echo "no" >&6; }
5902 fi
5903
5904   if test "x$ac_ct_DLLTOOL" = x; then
5905     DLLTOOL="false"
5906   else
5907     case $cross_compiling:$ac_tool_warned in
5908 yes:)
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5911 ac_tool_warned=yes ;;
5912 esac
5913     DLLTOOL=$ac_ct_DLLTOOL
5914   fi
5915 else
5916   DLLTOOL="$ac_cv_prog_DLLTOOL"
5917 fi
5918
5919 test -z "$DLLTOOL" && DLLTOOL=dlltool
5920
5921
5922
5923
5924
5925
5926
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5928 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5929 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5930   $as_echo_n "(cached) " >&6
5931 else
5932   lt_cv_sharedlib_from_linklib_cmd='unknown'
5933
5934 case $host_os in
5935 cygwin* | mingw* | pw32* | cegcc*)
5936   # two different shell functions defined in ltmain.sh
5937   # decide which to use based on capabilities of $DLLTOOL
5938   case `$DLLTOOL --help 2>&1` in
5939   *--identify-strict*)
5940     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5941     ;;
5942   *)
5943     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5944     ;;
5945   esac
5946   ;;
5947 *)
5948   # fallback: assume linklib IS sharedlib
5949   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5950   ;;
5951 esac
5952
5953 fi
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5955 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5956 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5957 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5958
5959
5960
5961
5962
5963
5964
5965 if test -n "$ac_tool_prefix"; then
5966   for ac_prog in ar
5967   do
5968     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5969 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5971 $as_echo_n "checking for $ac_word... " >&6; }
5972 if ${ac_cv_prog_AR+:} false; then :
5973   $as_echo_n "(cached) " >&6
5974 else
5975   if test -n "$AR"; then
5976   ac_cv_prog_AR="$AR" # Let the user override the test.
5977 else
5978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5979 for as_dir in $PATH
5980 do
5981   IFS=$as_save_IFS
5982   test -z "$as_dir" && as_dir=.
5983     for ac_exec_ext in '' $ac_executable_extensions; do
5984   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5985     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5986     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5987     break 2
5988   fi
5989 done
5990   done
5991 IFS=$as_save_IFS
5992
5993 fi
5994 fi
5995 AR=$ac_cv_prog_AR
5996 if test -n "$AR"; then
5997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5998 $as_echo "$AR" >&6; }
5999 else
6000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6001 $as_echo "no" >&6; }
6002 fi
6003
6004
6005     test -n "$AR" && break
6006   done
6007 fi
6008 if test -z "$AR"; then
6009   ac_ct_AR=$AR
6010   for ac_prog in ar
6011 do
6012   # Extract the first word of "$ac_prog", so it can be a program name with args.
6013 set dummy $ac_prog; ac_word=$2
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6015 $as_echo_n "checking for $ac_word... " >&6; }
6016 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6017   $as_echo_n "(cached) " >&6
6018 else
6019   if test -n "$ac_ct_AR"; then
6020   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6021 else
6022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6023 for as_dir in $PATH
6024 do
6025   IFS=$as_save_IFS
6026   test -z "$as_dir" && as_dir=.
6027     for ac_exec_ext in '' $ac_executable_extensions; do
6028   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6029     ac_cv_prog_ac_ct_AR="$ac_prog"
6030     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6031     break 2
6032   fi
6033 done
6034   done
6035 IFS=$as_save_IFS
6036
6037 fi
6038 fi
6039 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6040 if test -n "$ac_ct_AR"; then
6041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6042 $as_echo "$ac_ct_AR" >&6; }
6043 else
6044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6045 $as_echo "no" >&6; }
6046 fi
6047
6048
6049   test -n "$ac_ct_AR" && break
6050 done
6051
6052   if test "x$ac_ct_AR" = x; then
6053     AR="false"
6054   else
6055     case $cross_compiling:$ac_tool_warned in
6056 yes:)
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6059 ac_tool_warned=yes ;;
6060 esac
6061     AR=$ac_ct_AR
6062   fi
6063 fi
6064
6065 : ${AR=ar}
6066 : ${AR_FLAGS=cru}
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6079 $as_echo_n "checking for archiver @FILE support... " >&6; }
6080 if ${lt_cv_ar_at_file+:} false; then :
6081   $as_echo_n "(cached) " >&6
6082 else
6083   lt_cv_ar_at_file=no
6084    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6085 /* end confdefs.h.  */
6086
6087 int
6088 main ()
6089 {
6090
6091   ;
6092   return 0;
6093 }
6094 _ACEOF
6095 if ac_fn_c_try_compile "$LINENO"; then :
6096   echo conftest.$ac_objext > conftest.lst
6097       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6098       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6099   (eval $lt_ar_try) 2>&5
6100   ac_status=$?
6101   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6102   test $ac_status = 0; }
6103       if test "$ac_status" -eq 0; then
6104         # Ensure the archiver fails upon bogus file names.
6105         rm -f conftest.$ac_objext libconftest.a
6106         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6107   (eval $lt_ar_try) 2>&5
6108   ac_status=$?
6109   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6110   test $ac_status = 0; }
6111         if test "$ac_status" -ne 0; then
6112           lt_cv_ar_at_file=@
6113         fi
6114       fi
6115       rm -f conftest.* libconftest.a
6116
6117 fi
6118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6119
6120 fi
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6122 $as_echo "$lt_cv_ar_at_file" >&6; }
6123
6124 if test "x$lt_cv_ar_at_file" = xno; then
6125   archiver_list_spec=
6126 else
6127   archiver_list_spec=$lt_cv_ar_at_file
6128 fi
6129
6130
6131
6132
6133
6134
6135
6136 if test -n "$ac_tool_prefix"; then
6137   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6138 set dummy ${ac_tool_prefix}strip; ac_word=$2
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6140 $as_echo_n "checking for $ac_word... " >&6; }
6141 if ${ac_cv_prog_STRIP+:} false; then :
6142   $as_echo_n "(cached) " >&6
6143 else
6144   if test -n "$STRIP"; then
6145   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6146 else
6147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6148 for as_dir in $PATH
6149 do
6150   IFS=$as_save_IFS
6151   test -z "$as_dir" && as_dir=.
6152     for ac_exec_ext in '' $ac_executable_extensions; do
6153   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6154     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6155     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6156     break 2
6157   fi
6158 done
6159   done
6160 IFS=$as_save_IFS
6161
6162 fi
6163 fi
6164 STRIP=$ac_cv_prog_STRIP
6165 if test -n "$STRIP"; then
6166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6167 $as_echo "$STRIP" >&6; }
6168 else
6169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6170 $as_echo "no" >&6; }
6171 fi
6172
6173
6174 fi
6175 if test -z "$ac_cv_prog_STRIP"; then
6176   ac_ct_STRIP=$STRIP
6177   # Extract the first word of "strip", so it can be a program name with args.
6178 set dummy strip; ac_word=$2
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6180 $as_echo_n "checking for $ac_word... " >&6; }
6181 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6182   $as_echo_n "(cached) " >&6
6183 else
6184   if test -n "$ac_ct_STRIP"; then
6185   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6186 else
6187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6188 for as_dir in $PATH
6189 do
6190   IFS=$as_save_IFS
6191   test -z "$as_dir" && as_dir=.
6192     for ac_exec_ext in '' $ac_executable_extensions; do
6193   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6194     ac_cv_prog_ac_ct_STRIP="strip"
6195     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6196     break 2
6197   fi
6198 done
6199   done
6200 IFS=$as_save_IFS
6201
6202 fi
6203 fi
6204 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6205 if test -n "$ac_ct_STRIP"; then
6206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6207 $as_echo "$ac_ct_STRIP" >&6; }
6208 else
6209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6210 $as_echo "no" >&6; }
6211 fi
6212
6213   if test "x$ac_ct_STRIP" = x; then
6214     STRIP=":"
6215   else
6216     case $cross_compiling:$ac_tool_warned in
6217 yes:)
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6220 ac_tool_warned=yes ;;
6221 esac
6222     STRIP=$ac_ct_STRIP
6223   fi
6224 else
6225   STRIP="$ac_cv_prog_STRIP"
6226 fi
6227
6228 test -z "$STRIP" && STRIP=:
6229
6230
6231
6232
6233
6234
6235 if test -n "$ac_tool_prefix"; then
6236   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6237 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6239 $as_echo_n "checking for $ac_word... " >&6; }
6240 if ${ac_cv_prog_RANLIB+:} false; then :
6241   $as_echo_n "(cached) " >&6
6242 else
6243   if test -n "$RANLIB"; then
6244   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6245 else
6246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6247 for as_dir in $PATH
6248 do
6249   IFS=$as_save_IFS
6250   test -z "$as_dir" && as_dir=.
6251     for ac_exec_ext in '' $ac_executable_extensions; do
6252   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6253     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6254     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6255     break 2
6256   fi
6257 done
6258   done
6259 IFS=$as_save_IFS
6260
6261 fi
6262 fi
6263 RANLIB=$ac_cv_prog_RANLIB
6264 if test -n "$RANLIB"; then
6265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6266 $as_echo "$RANLIB" >&6; }
6267 else
6268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6269 $as_echo "no" >&6; }
6270 fi
6271
6272
6273 fi
6274 if test -z "$ac_cv_prog_RANLIB"; then
6275   ac_ct_RANLIB=$RANLIB
6276   # Extract the first word of "ranlib", so it can be a program name with args.
6277 set dummy ranlib; ac_word=$2
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6279 $as_echo_n "checking for $ac_word... " >&6; }
6280 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6281   $as_echo_n "(cached) " >&6
6282 else
6283   if test -n "$ac_ct_RANLIB"; then
6284   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6285 else
6286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6287 for as_dir in $PATH
6288 do
6289   IFS=$as_save_IFS
6290   test -z "$as_dir" && as_dir=.
6291     for ac_exec_ext in '' $ac_executable_extensions; do
6292   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6293     ac_cv_prog_ac_ct_RANLIB="ranlib"
6294     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6295     break 2
6296   fi
6297 done
6298   done
6299 IFS=$as_save_IFS
6300
6301 fi
6302 fi
6303 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6304 if test -n "$ac_ct_RANLIB"; then
6305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6306 $as_echo "$ac_ct_RANLIB" >&6; }
6307 else
6308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6309 $as_echo "no" >&6; }
6310 fi
6311
6312   if test "x$ac_ct_RANLIB" = x; then
6313     RANLIB=":"
6314   else
6315     case $cross_compiling:$ac_tool_warned in
6316 yes:)
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6319 ac_tool_warned=yes ;;
6320 esac
6321     RANLIB=$ac_ct_RANLIB
6322   fi
6323 else
6324   RANLIB="$ac_cv_prog_RANLIB"
6325 fi
6326
6327 test -z "$RANLIB" && RANLIB=:
6328
6329
6330
6331
6332
6333
6334 # Determine commands to create old-style static archives.
6335 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6336 old_postinstall_cmds='chmod 644 $oldlib'
6337 old_postuninstall_cmds=
6338
6339 if test -n "$RANLIB"; then
6340   case $host_os in
6341   openbsd*)
6342     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6343     ;;
6344   *)
6345     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6346     ;;
6347   esac
6348   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6349 fi
6350
6351 case $host_os in
6352   darwin*)
6353     lock_old_archive_extraction=yes ;;
6354   *)
6355     lock_old_archive_extraction=no ;;
6356 esac
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396 # If no C compiler was specified, use CC.
6397 LTCC=${LTCC-"$CC"}
6398
6399 # If no C compiler flags were specified, use CFLAGS.
6400 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6401
6402 # Allow CC to be a program name with arguments.
6403 compiler=$CC
6404
6405
6406 # Check for command to grab the raw symbol name followed by C symbol from nm.
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6408 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6409 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6410   $as_echo_n "(cached) " >&6
6411 else
6412
6413 # These are sane defaults that work on at least a few old systems.
6414 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6415
6416 # Character class describing NM global symbol codes.
6417 symcode='[BCDEGRST]'
6418
6419 # Regexp to match symbols that can be accessed directly from C.
6420 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6421
6422 # Define system-specific variables.
6423 case $host_os in
6424 aix*)
6425   symcode='[BCDT]'
6426   ;;
6427 cygwin* | mingw* | pw32* | cegcc*)
6428   symcode='[ABCDGISTW]'
6429   ;;
6430 hpux*)
6431   if test "$host_cpu" = ia64; then
6432     symcode='[ABCDEGRST]'
6433   fi
6434   ;;
6435 irix* | nonstopux*)
6436   symcode='[BCDEGRST]'
6437   ;;
6438 osf*)
6439   symcode='[BCDEGQRST]'
6440   ;;
6441 solaris*)
6442   symcode='[BDRT]'
6443   ;;
6444 sco3.2v5*)
6445   symcode='[DT]'
6446   ;;
6447 sysv4.2uw2*)
6448   symcode='[DT]'
6449   ;;
6450 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6451   symcode='[ABDT]'
6452   ;;
6453 sysv4)
6454   symcode='[DFNSTU]'
6455   ;;
6456 esac
6457
6458 # If we're using GNU nm, then use its standard symbol codes.
6459 case `$NM -V 2>&1` in
6460 *GNU* | *'with BFD'*)
6461   symcode='[ABCDGIRSTW]' ;;
6462 esac
6463
6464 # Transform an extracted symbol line into a proper C declaration.
6465 # Some systems (esp. on ia64) link data and code symbols differently,
6466 # so use this general approach.
6467 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6468
6469 # Transform an extracted symbol line into symbol name and symbol address
6470 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6471 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'"
6472
6473 # Handle CRLF in mingw tool chain
6474 opt_cr=
6475 case $build_os in
6476 mingw*)
6477   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6478   ;;
6479 esac
6480
6481 # Try without a prefix underscore, then with it.
6482 for ac_symprfx in "" "_"; do
6483
6484   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6485   symxfrm="\\1 $ac_symprfx\\2 \\2"
6486
6487   # Write the raw and C identifiers.
6488   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6489     # Fake it for dumpbin and say T for any non-static function
6490     # and D for any global variable.
6491     # Also find C++ and __fastcall symbols from MSVC++,
6492     # which start with @ or ?.
6493     lt_cv_sys_global_symbol_pipe="$AWK '"\
6494 "     {last_section=section; section=\$ 3};"\
6495 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6496 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6497 "     \$ 0!~/External *\|/{next};"\
6498 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6499 "     {if(hide[section]) next};"\
6500 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6501 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6502 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6503 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6504 "     ' prfx=^$ac_symprfx"
6505   else
6506     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6507   fi
6508   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6509
6510   # Check to see that the pipe works correctly.
6511   pipe_works=no
6512
6513   rm -f conftest*
6514   cat > conftest.$ac_ext <<_LT_EOF
6515 #ifdef __cplusplus
6516 extern "C" {
6517 #endif
6518 char nm_test_var;
6519 void nm_test_func(void);
6520 void nm_test_func(void){}
6521 #ifdef __cplusplus
6522 }
6523 #endif
6524 int main(){nm_test_var='a';nm_test_func();return(0);}
6525 _LT_EOF
6526
6527   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6528   (eval $ac_compile) 2>&5
6529   ac_status=$?
6530   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6531   test $ac_status = 0; }; then
6532     # Now try to grab the symbols.
6533     nlist=conftest.nm
6534     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6535   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6536   ac_status=$?
6537   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6538   test $ac_status = 0; } && test -s "$nlist"; then
6539       # Try sorting and uniquifying the output.
6540       if sort "$nlist" | uniq > "$nlist"T; then
6541         mv -f "$nlist"T "$nlist"
6542       else
6543         rm -f "$nlist"T
6544       fi
6545
6546       # Make sure that we snagged all the symbols we need.
6547       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6548         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6549           cat <<_LT_EOF > conftest.$ac_ext
6550 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6551 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6552 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6553    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6554 # define LT_DLSYM_CONST
6555 #elif defined(__osf__)
6556 /* This system does not cope well with relocations in const data.  */
6557 # define LT_DLSYM_CONST
6558 #else
6559 # define LT_DLSYM_CONST const
6560 #endif
6561
6562 #ifdef __cplusplus
6563 extern "C" {
6564 #endif
6565
6566 _LT_EOF
6567           # Now generate the symbol file.
6568           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6569
6570           cat <<_LT_EOF >> conftest.$ac_ext
6571
6572 /* The mapping between symbol names and symbols.  */
6573 LT_DLSYM_CONST struct {
6574   const char *name;
6575   void       *address;
6576 }
6577 lt__PROGRAM__LTX_preloaded_symbols[] =
6578 {
6579   { "@PROGRAM@", (void *) 0 },
6580 _LT_EOF
6581           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6582           cat <<\_LT_EOF >> conftest.$ac_ext
6583   {0, (void *) 0}
6584 };
6585
6586 /* This works around a problem in FreeBSD linker */
6587 #ifdef FREEBSD_WORKAROUND
6588 static const void *lt_preloaded_setup() {
6589   return lt__PROGRAM__LTX_preloaded_symbols;
6590 }
6591 #endif
6592
6593 #ifdef __cplusplus
6594 }
6595 #endif
6596 _LT_EOF
6597           # Now try linking the two files.
6598           mv conftest.$ac_objext conftstm.$ac_objext
6599           lt_globsym_save_LIBS=$LIBS
6600           lt_globsym_save_CFLAGS=$CFLAGS
6601           LIBS="conftstm.$ac_objext"
6602           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6603           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6604   (eval $ac_link) 2>&5
6605   ac_status=$?
6606   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6607   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6608             pipe_works=yes
6609           fi
6610           LIBS=$lt_globsym_save_LIBS
6611           CFLAGS=$lt_globsym_save_CFLAGS
6612         else
6613           echo "cannot find nm_test_func in $nlist" >&5
6614         fi
6615       else
6616         echo "cannot find nm_test_var in $nlist" >&5
6617       fi
6618     else
6619       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6620     fi
6621   else
6622     echo "$progname: failed program was:" >&5
6623     cat conftest.$ac_ext >&5
6624   fi
6625   rm -rf conftest* conftst*
6626
6627   # Do not use the global_symbol_pipe unless it works.
6628   if test "$pipe_works" = yes; then
6629     break
6630   else
6631     lt_cv_sys_global_symbol_pipe=
6632   fi
6633 done
6634
6635 fi
6636
6637 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6638   lt_cv_sys_global_symbol_to_cdecl=
6639 fi
6640 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6642 $as_echo "failed" >&6; }
6643 else
6644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6645 $as_echo "ok" >&6; }
6646 fi
6647
6648 # Response file support.
6649 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6650   nm_file_list_spec='@'
6651 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6652   nm_file_list_spec='@'
6653 fi
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6682 $as_echo_n "checking for sysroot... " >&6; }
6683
6684 # Check whether --with-sysroot was given.
6685 if test "${with_sysroot+set}" = set; then :
6686   withval=$with_sysroot;
6687 else
6688   with_sysroot=no
6689 fi
6690
6691
6692 lt_sysroot=
6693 case ${with_sysroot} in #(
6694  yes)
6695    if test "$GCC" = yes; then
6696      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6697    fi
6698    ;; #(
6699  /*)
6700    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6701    ;; #(
6702  no|'')
6703    ;; #(
6704  *)
6705    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6706 $as_echo "${with_sysroot}" >&6; }
6707    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6708    ;;
6709 esac
6710
6711  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6712 $as_echo "${lt_sysroot:-no}" >&6; }
6713
6714
6715
6716
6717
6718 # Check whether --enable-libtool-lock was given.
6719 if test "${enable_libtool_lock+set}" = set; then :
6720   enableval=$enable_libtool_lock;
6721 fi
6722
6723 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6724
6725 # Some flags need to be propagated to the compiler or linker for good
6726 # libtool support.
6727 case $host in
6728 ia64-*-hpux*)
6729   # Find out which ABI we are using.
6730   echo 'int i;' > conftest.$ac_ext
6731   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6732   (eval $ac_compile) 2>&5
6733   ac_status=$?
6734   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6735   test $ac_status = 0; }; then
6736     case `/usr/bin/file conftest.$ac_objext` in
6737       *ELF-32*)
6738         HPUX_IA64_MODE="32"
6739         ;;
6740       *ELF-64*)
6741         HPUX_IA64_MODE="64"
6742         ;;
6743     esac
6744   fi
6745   rm -rf conftest*
6746   ;;
6747 *-*-irix6*)
6748   # Find out which ABI we are using.
6749   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6750   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6751   (eval $ac_compile) 2>&5
6752   ac_status=$?
6753   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6754   test $ac_status = 0; }; then
6755     if test "$lt_cv_prog_gnu_ld" = yes; then
6756       case `/usr/bin/file conftest.$ac_objext` in
6757         *32-bit*)
6758           LD="${LD-ld} -melf32bsmip"
6759           ;;
6760         *N32*)
6761           LD="${LD-ld} -melf32bmipn32"
6762           ;;
6763         *64-bit*)
6764           LD="${LD-ld} -melf64bmip"
6765         ;;
6766       esac
6767     else
6768       case `/usr/bin/file conftest.$ac_objext` in
6769         *32-bit*)
6770           LD="${LD-ld} -32"
6771           ;;
6772         *N32*)
6773           LD="${LD-ld} -n32"
6774           ;;
6775         *64-bit*)
6776           LD="${LD-ld} -64"
6777           ;;
6778       esac
6779     fi
6780   fi
6781   rm -rf conftest*
6782   ;;
6783
6784 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6785 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6786   # Find out which ABI we are using.
6787   echo 'int i;' > conftest.$ac_ext
6788   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6789   (eval $ac_compile) 2>&5
6790   ac_status=$?
6791   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6792   test $ac_status = 0; }; then
6793     case `/usr/bin/file conftest.o` in
6794       *32-bit*)
6795         case $host in
6796           x86_64-*kfreebsd*-gnu)
6797             LD="${LD-ld} -m elf_i386_fbsd"
6798             ;;
6799           x86_64-*linux*)
6800             LD="${LD-ld} -m elf_i386"
6801             ;;
6802           ppc64-*linux*|powerpc64-*linux*)
6803             LD="${LD-ld} -m elf32ppclinux"
6804             ;;
6805           s390x-*linux*)
6806             LD="${LD-ld} -m elf_s390"
6807             ;;
6808           sparc64-*linux*)
6809             LD="${LD-ld} -m elf32_sparc"
6810             ;;
6811         esac
6812         ;;
6813       *64-bit*)
6814         case $host in
6815           x86_64-*kfreebsd*-gnu)
6816             LD="${LD-ld} -m elf_x86_64_fbsd"
6817             ;;
6818           x86_64-*linux*)
6819             LD="${LD-ld} -m elf_x86_64"
6820             ;;
6821           ppc*-*linux*|powerpc*-*linux*)
6822             LD="${LD-ld} -m elf64ppc"
6823             ;;
6824           s390*-*linux*|s390*-*tpf*)
6825             LD="${LD-ld} -m elf64_s390"
6826             ;;
6827           sparc*-*linux*)
6828             LD="${LD-ld} -m elf64_sparc"
6829             ;;
6830         esac
6831         ;;
6832     esac
6833   fi
6834   rm -rf conftest*
6835   ;;
6836
6837 *-*-sco3.2v5*)
6838   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6839   SAVE_CFLAGS="$CFLAGS"
6840   CFLAGS="$CFLAGS -belf"
6841   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6842 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6843 if ${lt_cv_cc_needs_belf+:} false; then :
6844   $as_echo_n "(cached) " >&6
6845 else
6846   ac_ext=c
6847 ac_cpp='$CPP $CPPFLAGS'
6848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6851
6852      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6853 /* end confdefs.h.  */
6854
6855 int
6856 main ()
6857 {
6858
6859   ;
6860   return 0;
6861 }
6862 _ACEOF
6863 if ac_fn_c_try_link "$LINENO"; then :
6864   lt_cv_cc_needs_belf=yes
6865 else
6866   lt_cv_cc_needs_belf=no
6867 fi
6868 rm -f core conftest.err conftest.$ac_objext \
6869     conftest$ac_exeext conftest.$ac_ext
6870      ac_ext=c
6871 ac_cpp='$CPP $CPPFLAGS'
6872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6875
6876 fi
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6878 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6879   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6880     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6881     CFLAGS="$SAVE_CFLAGS"
6882   fi
6883   ;;
6884 *-*solaris*)
6885   # Find out which ABI we are using.
6886   echo 'int i;' > conftest.$ac_ext
6887   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6888   (eval $ac_compile) 2>&5
6889   ac_status=$?
6890   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6891   test $ac_status = 0; }; then
6892     case `/usr/bin/file conftest.o` in
6893     *64-bit*)
6894       case $lt_cv_prog_gnu_ld in
6895       yes*)
6896         case $host in
6897         i?86-*-solaris*)
6898           LD="${LD-ld} -m elf_x86_64"
6899           ;;
6900         sparc*-*-solaris*)
6901           LD="${LD-ld} -m elf64_sparc"
6902           ;;
6903         esac
6904         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6905         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6906           LD="${LD-ld}_sol2"
6907         fi
6908         ;;
6909       *)
6910         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6911           LD="${LD-ld} -64"
6912         fi
6913         ;;
6914       esac
6915       ;;
6916     esac
6917   fi
6918   rm -rf conftest*
6919   ;;
6920 esac
6921
6922 need_locks="$enable_libtool_lock"
6923
6924 if test -n "$ac_tool_prefix"; then
6925   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6926 set dummy ${ac_tool_prefix}mt; ac_word=$2
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6928 $as_echo_n "checking for $ac_word... " >&6; }
6929 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6930   $as_echo_n "(cached) " >&6
6931 else
6932   if test -n "$MANIFEST_TOOL"; then
6933   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6934 else
6935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6936 for as_dir in $PATH
6937 do
6938   IFS=$as_save_IFS
6939   test -z "$as_dir" && as_dir=.
6940     for ac_exec_ext in '' $ac_executable_extensions; do
6941   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6942     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6943     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6944     break 2
6945   fi
6946 done
6947   done
6948 IFS=$as_save_IFS
6949
6950 fi
6951 fi
6952 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6953 if test -n "$MANIFEST_TOOL"; then
6954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6955 $as_echo "$MANIFEST_TOOL" >&6; }
6956 else
6957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6958 $as_echo "no" >&6; }
6959 fi
6960
6961
6962 fi
6963 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6964   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6965   # Extract the first word of "mt", so it can be a program name with args.
6966 set dummy mt; ac_word=$2
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6968 $as_echo_n "checking for $ac_word... " >&6; }
6969 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6970   $as_echo_n "(cached) " >&6
6971 else
6972   if test -n "$ac_ct_MANIFEST_TOOL"; then
6973   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6974 else
6975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6976 for as_dir in $PATH
6977 do
6978   IFS=$as_save_IFS
6979   test -z "$as_dir" && as_dir=.
6980     for ac_exec_ext in '' $ac_executable_extensions; do
6981   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6982     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6983     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6984     break 2
6985   fi
6986 done
6987   done
6988 IFS=$as_save_IFS
6989
6990 fi
6991 fi
6992 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6993 if test -n "$ac_ct_MANIFEST_TOOL"; then
6994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6995 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6996 else
6997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6998 $as_echo "no" >&6; }
6999 fi
7000
7001   if test "x$ac_ct_MANIFEST_TOOL" = x; then
7002     MANIFEST_TOOL=":"
7003   else
7004     case $cross_compiling:$ac_tool_warned in
7005 yes:)
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7008 ac_tool_warned=yes ;;
7009 esac
7010     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7011   fi
7012 else
7013   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7014 fi
7015
7016 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7018 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7019 if ${lt_cv_path_mainfest_tool+:} false; then :
7020   $as_echo_n "(cached) " >&6
7021 else
7022   lt_cv_path_mainfest_tool=no
7023   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7024   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7025   cat conftest.err >&5
7026   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7027     lt_cv_path_mainfest_tool=yes
7028   fi
7029   rm -f conftest*
7030 fi
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7032 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7033 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7034   MANIFEST_TOOL=:
7035 fi
7036
7037
7038
7039
7040
7041
7042   case $host_os in
7043     rhapsody* | darwin*)
7044     if test -n "$ac_tool_prefix"; then
7045   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7046 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7048 $as_echo_n "checking for $ac_word... " >&6; }
7049 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7050   $as_echo_n "(cached) " >&6
7051 else
7052   if test -n "$DSYMUTIL"; then
7053   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7054 else
7055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7056 for as_dir in $PATH
7057 do
7058   IFS=$as_save_IFS
7059   test -z "$as_dir" && as_dir=.
7060     for ac_exec_ext in '' $ac_executable_extensions; do
7061   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7062     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7063     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7064     break 2
7065   fi
7066 done
7067   done
7068 IFS=$as_save_IFS
7069
7070 fi
7071 fi
7072 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7073 if test -n "$DSYMUTIL"; then
7074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7075 $as_echo "$DSYMUTIL" >&6; }
7076 else
7077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7078 $as_echo "no" >&6; }
7079 fi
7080
7081
7082 fi
7083 if test -z "$ac_cv_prog_DSYMUTIL"; then
7084   ac_ct_DSYMUTIL=$DSYMUTIL
7085   # Extract the first word of "dsymutil", so it can be a program name with args.
7086 set dummy dsymutil; ac_word=$2
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7088 $as_echo_n "checking for $ac_word... " >&6; }
7089 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7090   $as_echo_n "(cached) " >&6
7091 else
7092   if test -n "$ac_ct_DSYMUTIL"; then
7093   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7094 else
7095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7096 for as_dir in $PATH
7097 do
7098   IFS=$as_save_IFS
7099   test -z "$as_dir" && as_dir=.
7100     for ac_exec_ext in '' $ac_executable_extensions; do
7101   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7102     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7103     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7104     break 2
7105   fi
7106 done
7107   done
7108 IFS=$as_save_IFS
7109
7110 fi
7111 fi
7112 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7113 if test -n "$ac_ct_DSYMUTIL"; then
7114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7115 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7116 else
7117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7118 $as_echo "no" >&6; }
7119 fi
7120
7121   if test "x$ac_ct_DSYMUTIL" = x; then
7122     DSYMUTIL=":"
7123   else
7124     case $cross_compiling:$ac_tool_warned in
7125 yes:)
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7127 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7128 ac_tool_warned=yes ;;
7129 esac
7130     DSYMUTIL=$ac_ct_DSYMUTIL
7131   fi
7132 else
7133   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7134 fi
7135
7136     if test -n "$ac_tool_prefix"; then
7137   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7138 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7140 $as_echo_n "checking for $ac_word... " >&6; }
7141 if ${ac_cv_prog_NMEDIT+:} false; then :
7142   $as_echo_n "(cached) " >&6
7143 else
7144   if test -n "$NMEDIT"; then
7145   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7146 else
7147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7148 for as_dir in $PATH
7149 do
7150   IFS=$as_save_IFS
7151   test -z "$as_dir" && as_dir=.
7152     for ac_exec_ext in '' $ac_executable_extensions; do
7153   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7154     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7155     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7156     break 2
7157   fi
7158 done
7159   done
7160 IFS=$as_save_IFS
7161
7162 fi
7163 fi
7164 NMEDIT=$ac_cv_prog_NMEDIT
7165 if test -n "$NMEDIT"; then
7166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7167 $as_echo "$NMEDIT" >&6; }
7168 else
7169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7170 $as_echo "no" >&6; }
7171 fi
7172
7173
7174 fi
7175 if test -z "$ac_cv_prog_NMEDIT"; then
7176   ac_ct_NMEDIT=$NMEDIT
7177   # Extract the first word of "nmedit", so it can be a program name with args.
7178 set dummy nmedit; ac_word=$2
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7180 $as_echo_n "checking for $ac_word... " >&6; }
7181 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7182   $as_echo_n "(cached) " >&6
7183 else
7184   if test -n "$ac_ct_NMEDIT"; then
7185   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7186 else
7187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7188 for as_dir in $PATH
7189 do
7190   IFS=$as_save_IFS
7191   test -z "$as_dir" && as_dir=.
7192     for ac_exec_ext in '' $ac_executable_extensions; do
7193   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7194     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7195     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7196     break 2
7197   fi
7198 done
7199   done
7200 IFS=$as_save_IFS
7201
7202 fi
7203 fi
7204 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7205 if test -n "$ac_ct_NMEDIT"; then
7206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7207 $as_echo "$ac_ct_NMEDIT" >&6; }
7208 else
7209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7210 $as_echo "no" >&6; }
7211 fi
7212
7213   if test "x$ac_ct_NMEDIT" = x; then
7214     NMEDIT=":"
7215   else
7216     case $cross_compiling:$ac_tool_warned in
7217 yes:)
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7220 ac_tool_warned=yes ;;
7221 esac
7222     NMEDIT=$ac_ct_NMEDIT
7223   fi
7224 else
7225   NMEDIT="$ac_cv_prog_NMEDIT"
7226 fi
7227
7228     if test -n "$ac_tool_prefix"; then
7229   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7230 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7232 $as_echo_n "checking for $ac_word... " >&6; }
7233 if ${ac_cv_prog_LIPO+:} false; then :
7234   $as_echo_n "(cached) " >&6
7235 else
7236   if test -n "$LIPO"; then
7237   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7238 else
7239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7240 for as_dir in $PATH
7241 do
7242   IFS=$as_save_IFS
7243   test -z "$as_dir" && as_dir=.
7244     for ac_exec_ext in '' $ac_executable_extensions; do
7245   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7246     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7247     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7248     break 2
7249   fi
7250 done
7251   done
7252 IFS=$as_save_IFS
7253
7254 fi
7255 fi
7256 LIPO=$ac_cv_prog_LIPO
7257 if test -n "$LIPO"; then
7258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7259 $as_echo "$LIPO" >&6; }
7260 else
7261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7262 $as_echo "no" >&6; }
7263 fi
7264
7265
7266 fi
7267 if test -z "$ac_cv_prog_LIPO"; then
7268   ac_ct_LIPO=$LIPO
7269   # Extract the first word of "lipo", so it can be a program name with args.
7270 set dummy lipo; ac_word=$2
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7272 $as_echo_n "checking for $ac_word... " >&6; }
7273 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7274   $as_echo_n "(cached) " >&6
7275 else
7276   if test -n "$ac_ct_LIPO"; then
7277   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7278 else
7279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7280 for as_dir in $PATH
7281 do
7282   IFS=$as_save_IFS
7283   test -z "$as_dir" && as_dir=.
7284     for ac_exec_ext in '' $ac_executable_extensions; do
7285   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7286     ac_cv_prog_ac_ct_LIPO="lipo"
7287     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7288     break 2
7289   fi
7290 done
7291   done
7292 IFS=$as_save_IFS
7293
7294 fi
7295 fi
7296 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7297 if test -n "$ac_ct_LIPO"; then
7298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7299 $as_echo "$ac_ct_LIPO" >&6; }
7300 else
7301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7302 $as_echo "no" >&6; }
7303 fi
7304
7305   if test "x$ac_ct_LIPO" = x; then
7306     LIPO=":"
7307   else
7308     case $cross_compiling:$ac_tool_warned in
7309 yes:)
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7311 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7312 ac_tool_warned=yes ;;
7313 esac
7314     LIPO=$ac_ct_LIPO
7315   fi
7316 else
7317   LIPO="$ac_cv_prog_LIPO"
7318 fi
7319
7320     if test -n "$ac_tool_prefix"; then
7321   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7322 set dummy ${ac_tool_prefix}otool; ac_word=$2
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7324 $as_echo_n "checking for $ac_word... " >&6; }
7325 if ${ac_cv_prog_OTOOL+:} false; then :
7326   $as_echo_n "(cached) " >&6
7327 else
7328   if test -n "$OTOOL"; then
7329   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7330 else
7331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7332 for as_dir in $PATH
7333 do
7334   IFS=$as_save_IFS
7335   test -z "$as_dir" && as_dir=.
7336     for ac_exec_ext in '' $ac_executable_extensions; do
7337   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7338     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7339     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7340     break 2
7341   fi
7342 done
7343   done
7344 IFS=$as_save_IFS
7345
7346 fi
7347 fi
7348 OTOOL=$ac_cv_prog_OTOOL
7349 if test -n "$OTOOL"; then
7350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7351 $as_echo "$OTOOL" >&6; }
7352 else
7353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7354 $as_echo "no" >&6; }
7355 fi
7356
7357
7358 fi
7359 if test -z "$ac_cv_prog_OTOOL"; then
7360   ac_ct_OTOOL=$OTOOL
7361   # Extract the first word of "otool", so it can be a program name with args.
7362 set dummy otool; ac_word=$2
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7364 $as_echo_n "checking for $ac_word... " >&6; }
7365 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7366   $as_echo_n "(cached) " >&6
7367 else
7368   if test -n "$ac_ct_OTOOL"; then
7369   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7370 else
7371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7372 for as_dir in $PATH
7373 do
7374   IFS=$as_save_IFS
7375   test -z "$as_dir" && as_dir=.
7376     for ac_exec_ext in '' $ac_executable_extensions; do
7377   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7378     ac_cv_prog_ac_ct_OTOOL="otool"
7379     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7380     break 2
7381   fi
7382 done
7383   done
7384 IFS=$as_save_IFS
7385
7386 fi
7387 fi
7388 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7389 if test -n "$ac_ct_OTOOL"; then
7390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7391 $as_echo "$ac_ct_OTOOL" >&6; }
7392 else
7393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7394 $as_echo "no" >&6; }
7395 fi
7396
7397   if test "x$ac_ct_OTOOL" = x; then
7398     OTOOL=":"
7399   else
7400     case $cross_compiling:$ac_tool_warned in
7401 yes:)
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7403 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7404 ac_tool_warned=yes ;;
7405 esac
7406     OTOOL=$ac_ct_OTOOL
7407   fi
7408 else
7409   OTOOL="$ac_cv_prog_OTOOL"
7410 fi
7411
7412     if test -n "$ac_tool_prefix"; then
7413   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7414 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7416 $as_echo_n "checking for $ac_word... " >&6; }
7417 if ${ac_cv_prog_OTOOL64+:} false; then :
7418   $as_echo_n "(cached) " >&6
7419 else
7420   if test -n "$OTOOL64"; then
7421   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7422 else
7423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7424 for as_dir in $PATH
7425 do
7426   IFS=$as_save_IFS
7427   test -z "$as_dir" && as_dir=.
7428     for ac_exec_ext in '' $ac_executable_extensions; do
7429   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7430     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7431     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7432     break 2
7433   fi
7434 done
7435   done
7436 IFS=$as_save_IFS
7437
7438 fi
7439 fi
7440 OTOOL64=$ac_cv_prog_OTOOL64
7441 if test -n "$OTOOL64"; then
7442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7443 $as_echo "$OTOOL64" >&6; }
7444 else
7445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7446 $as_echo "no" >&6; }
7447 fi
7448
7449
7450 fi
7451 if test -z "$ac_cv_prog_OTOOL64"; then
7452   ac_ct_OTOOL64=$OTOOL64
7453   # Extract the first word of "otool64", so it can be a program name with args.
7454 set dummy otool64; ac_word=$2
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7456 $as_echo_n "checking for $ac_word... " >&6; }
7457 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7458   $as_echo_n "(cached) " >&6
7459 else
7460   if test -n "$ac_ct_OTOOL64"; then
7461   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7462 else
7463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7464 for as_dir in $PATH
7465 do
7466   IFS=$as_save_IFS
7467   test -z "$as_dir" && as_dir=.
7468     for ac_exec_ext in '' $ac_executable_extensions; do
7469   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7470     ac_cv_prog_ac_ct_OTOOL64="otool64"
7471     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7472     break 2
7473   fi
7474 done
7475   done
7476 IFS=$as_save_IFS
7477
7478 fi
7479 fi
7480 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7481 if test -n "$ac_ct_OTOOL64"; then
7482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7483 $as_echo "$ac_ct_OTOOL64" >&6; }
7484 else
7485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7486 $as_echo "no" >&6; }
7487 fi
7488
7489   if test "x$ac_ct_OTOOL64" = x; then
7490     OTOOL64=":"
7491   else
7492     case $cross_compiling:$ac_tool_warned in
7493 yes:)
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7495 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7496 ac_tool_warned=yes ;;
7497 esac
7498     OTOOL64=$ac_ct_OTOOL64
7499   fi
7500 else
7501   OTOOL64="$ac_cv_prog_OTOOL64"
7502 fi
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7531 $as_echo_n "checking for -single_module linker flag... " >&6; }
7532 if ${lt_cv_apple_cc_single_mod+:} false; then :
7533   $as_echo_n "(cached) " >&6
7534 else
7535   lt_cv_apple_cc_single_mod=no
7536       if test -z "${LT_MULTI_MODULE}"; then
7537         # By default we will add the -single_module flag. You can override
7538         # by either setting the environment variable LT_MULTI_MODULE
7539         # non-empty at configure time, or by adding -multi_module to the
7540         # link flags.
7541         rm -rf libconftest.dylib*
7542         echo "int foo(void){return 1;}" > conftest.c
7543         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7544 -dynamiclib -Wl,-single_module conftest.c" >&5
7545         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7546           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7547         _lt_result=$?
7548         # If there is a non-empty error log, and "single_module"
7549         # appears in it, assume the flag caused a linker warning
7550         if test -s conftest.err && $GREP single_module conftest.err; then
7551           cat conftest.err >&5
7552         # Otherwise, if the output was created with a 0 exit code from
7553         # the compiler, it worked.
7554         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7555           lt_cv_apple_cc_single_mod=yes
7556         else
7557           cat conftest.err >&5
7558         fi
7559         rm -rf libconftest.dylib*
7560         rm -f conftest.*
7561       fi
7562 fi
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7564 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7565
7566     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7567 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7568 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7569   $as_echo_n "(cached) " >&6
7570 else
7571   lt_cv_ld_exported_symbols_list=no
7572       save_LDFLAGS=$LDFLAGS
7573       echo "_main" > conftest.sym
7574       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7575       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7576 /* end confdefs.h.  */
7577
7578 int
7579 main ()
7580 {
7581
7582   ;
7583   return 0;
7584 }
7585 _ACEOF
7586 if ac_fn_c_try_link "$LINENO"; then :
7587   lt_cv_ld_exported_symbols_list=yes
7588 else
7589   lt_cv_ld_exported_symbols_list=no
7590 fi
7591 rm -f core conftest.err conftest.$ac_objext \
7592     conftest$ac_exeext conftest.$ac_ext
7593         LDFLAGS="$save_LDFLAGS"
7594
7595 fi
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7597 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7598
7599     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7600 $as_echo_n "checking for -force_load linker flag... " >&6; }
7601 if ${lt_cv_ld_force_load+:} false; then :
7602   $as_echo_n "(cached) " >&6
7603 else
7604   lt_cv_ld_force_load=no
7605       cat > conftest.c << _LT_EOF
7606 int forced_loaded() { return 2;}
7607 _LT_EOF
7608       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7609       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7610       echo "$AR cru libconftest.a conftest.o" >&5
7611       $AR cru libconftest.a conftest.o 2>&5
7612       echo "$RANLIB libconftest.a" >&5
7613       $RANLIB libconftest.a 2>&5
7614       cat > conftest.c << _LT_EOF
7615 int main() { return 0;}
7616 _LT_EOF
7617       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7618       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7619       _lt_result=$?
7620       if test -s conftest.err && $GREP force_load conftest.err; then
7621         cat conftest.err >&5
7622       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7623         lt_cv_ld_force_load=yes
7624       else
7625         cat conftest.err >&5
7626       fi
7627         rm -f conftest.err libconftest.a conftest conftest.c
7628         rm -rf conftest.dSYM
7629
7630 fi
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7632 $as_echo "$lt_cv_ld_force_load" >&6; }
7633     case $host_os in
7634     rhapsody* | darwin1.[012])
7635       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7636     darwin1.*)
7637       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7638     darwin*) # darwin 5.x on
7639       # if running on 10.5 or later, the deployment target defaults
7640       # to the OS version, if on x86, and 10.4, the deployment
7641       # target defaults to 10.4. Don't you love it?
7642       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7643         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7644           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7645         10.[012]*)
7646           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7647         10.*)
7648           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7649       esac
7650     ;;
7651   esac
7652     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7653       _lt_dar_single_mod='$single_module'
7654     fi
7655     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7656       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7657     else
7658       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7659     fi
7660     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7661       _lt_dsymutil='~$DSYMUTIL $lib || :'
7662     else
7663       _lt_dsymutil=
7664     fi
7665     ;;
7666   esac
7667
7668 ac_ext=c
7669 ac_cpp='$CPP $CPPFLAGS'
7670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7674 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7675 # On Suns, sometimes $CPP names a directory.
7676 if test -n "$CPP" && test -d "$CPP"; then
7677   CPP=
7678 fi
7679 if test -z "$CPP"; then
7680   if ${ac_cv_prog_CPP+:} false; then :
7681   $as_echo_n "(cached) " >&6
7682 else
7683       # Double quotes because CPP needs to be expanded
7684     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7685     do
7686       ac_preproc_ok=false
7687 for ac_c_preproc_warn_flag in '' yes
7688 do
7689   # Use a header file that comes with gcc, so configuring glibc
7690   # with a fresh cross-compiler works.
7691   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7692   # <limits.h> exists even on freestanding compilers.
7693   # On the NeXT, cc -E runs the code through the compiler's parser,
7694   # not just through cpp. "Syntax error" is here to catch this case.
7695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7696 /* end confdefs.h.  */
7697 #ifdef __STDC__
7698 # include <limits.h>
7699 #else
7700 # include <assert.h>
7701 #endif
7702                      Syntax error
7703 _ACEOF
7704 if ac_fn_c_try_cpp "$LINENO"; then :
7705
7706 else
7707   # Broken: fails on valid input.
7708 continue
7709 fi
7710 rm -f conftest.err conftest.i conftest.$ac_ext
7711
7712   # OK, works on sane cases.  Now check whether nonexistent headers
7713   # can be detected and how.
7714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7715 /* end confdefs.h.  */
7716 #include <ac_nonexistent.h>
7717 _ACEOF
7718 if ac_fn_c_try_cpp "$LINENO"; then :
7719   # Broken: success on invalid input.
7720 continue
7721 else
7722   # Passes both tests.
7723 ac_preproc_ok=:
7724 break
7725 fi
7726 rm -f conftest.err conftest.i conftest.$ac_ext
7727
7728 done
7729 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7730 rm -f conftest.i conftest.err conftest.$ac_ext
7731 if $ac_preproc_ok; then :
7732   break
7733 fi
7734
7735     done
7736     ac_cv_prog_CPP=$CPP
7737
7738 fi
7739   CPP=$ac_cv_prog_CPP
7740 else
7741   ac_cv_prog_CPP=$CPP
7742 fi
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7744 $as_echo "$CPP" >&6; }
7745 ac_preproc_ok=false
7746 for ac_c_preproc_warn_flag in '' yes
7747 do
7748   # Use a header file that comes with gcc, so configuring glibc
7749   # with a fresh cross-compiler works.
7750   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7751   # <limits.h> exists even on freestanding compilers.
7752   # On the NeXT, cc -E runs the code through the compiler's parser,
7753   # not just through cpp. "Syntax error" is here to catch this case.
7754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7755 /* end confdefs.h.  */
7756 #ifdef __STDC__
7757 # include <limits.h>
7758 #else
7759 # include <assert.h>
7760 #endif
7761                      Syntax error
7762 _ACEOF
7763 if ac_fn_c_try_cpp "$LINENO"; then :
7764
7765 else
7766   # Broken: fails on valid input.
7767 continue
7768 fi
7769 rm -f conftest.err conftest.i conftest.$ac_ext
7770
7771   # OK, works on sane cases.  Now check whether nonexistent headers
7772   # can be detected and how.
7773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7774 /* end confdefs.h.  */
7775 #include <ac_nonexistent.h>
7776 _ACEOF
7777 if ac_fn_c_try_cpp "$LINENO"; then :
7778   # Broken: success on invalid input.
7779 continue
7780 else
7781   # Passes both tests.
7782 ac_preproc_ok=:
7783 break
7784 fi
7785 rm -f conftest.err conftest.i conftest.$ac_ext
7786
7787 done
7788 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7789 rm -f conftest.i conftest.err conftest.$ac_ext
7790 if $ac_preproc_ok; then :
7791
7792 else
7793   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7794 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7795 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7796 See \`config.log' for more details" "$LINENO" 5; }
7797 fi
7798
7799 ac_ext=c
7800 ac_cpp='$CPP $CPPFLAGS'
7801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7804
7805
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7807 $as_echo_n "checking for ANSI C header files... " >&6; }
7808 if ${ac_cv_header_stdc+:} false; then :
7809   $as_echo_n "(cached) " >&6
7810 else
7811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7812 /* end confdefs.h.  */
7813 #include <stdlib.h>
7814 #include <stdarg.h>
7815 #include <string.h>
7816 #include <float.h>
7817
7818 int
7819 main ()
7820 {
7821
7822   ;
7823   return 0;
7824 }
7825 _ACEOF
7826 if ac_fn_c_try_compile "$LINENO"; then :
7827   ac_cv_header_stdc=yes
7828 else
7829   ac_cv_header_stdc=no
7830 fi
7831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7832
7833 if test $ac_cv_header_stdc = yes; then
7834   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7836 /* end confdefs.h.  */
7837 #include <string.h>
7838
7839 _ACEOF
7840 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7841   $EGREP "memchr" >/dev/null 2>&1; then :
7842
7843 else
7844   ac_cv_header_stdc=no
7845 fi
7846 rm -f conftest*
7847
7848 fi
7849
7850 if test $ac_cv_header_stdc = yes; then
7851   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7853 /* end confdefs.h.  */
7854 #include <stdlib.h>
7855
7856 _ACEOF
7857 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7858   $EGREP "free" >/dev/null 2>&1; then :
7859
7860 else
7861   ac_cv_header_stdc=no
7862 fi
7863 rm -f conftest*
7864
7865 fi
7866
7867 if test $ac_cv_header_stdc = yes; then
7868   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7869   if test "$cross_compiling" = yes; then :
7870   :
7871 else
7872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7873 /* end confdefs.h.  */
7874 #include <ctype.h>
7875 #include <stdlib.h>
7876 #if ((' ' & 0x0FF) == 0x020)
7877 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7878 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7879 #else
7880 # define ISLOWER(c) \
7881                    (('a' <= (c) && (c) <= 'i') \
7882                      || ('j' <= (c) && (c) <= 'r') \
7883                      || ('s' <= (c) && (c) <= 'z'))
7884 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7885 #endif
7886
7887 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7888 int
7889 main ()
7890 {
7891   int i;
7892   for (i = 0; i < 256; i++)
7893     if (XOR (islower (i), ISLOWER (i))
7894         || toupper (i) != TOUPPER (i))
7895       return 2;
7896   return 0;
7897 }
7898 _ACEOF
7899 if ac_fn_c_try_run "$LINENO"; then :
7900
7901 else
7902   ac_cv_header_stdc=no
7903 fi
7904 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7905   conftest.$ac_objext conftest.beam conftest.$ac_ext
7906 fi
7907
7908 fi
7909 fi
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7911 $as_echo "$ac_cv_header_stdc" >&6; }
7912 if test $ac_cv_header_stdc = yes; then
7913
7914 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7915
7916 fi
7917
7918 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7919 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7920                   inttypes.h stdint.h unistd.h
7921 do :
7922   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7923 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7924 "
7925 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7926   cat >>confdefs.h <<_ACEOF
7927 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7928 _ACEOF
7929
7930 fi
7931
7932 done
7933
7934
7935 for ac_header in dlfcn.h
7936 do :
7937   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7938 "
7939 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7940   cat >>confdefs.h <<_ACEOF
7941 #define HAVE_DLFCN_H 1
7942 _ACEOF
7943
7944 fi
7945
7946 done
7947
7948
7949
7950
7951
7952 # Set options
7953
7954
7955
7956         enable_dlopen=no
7957
7958
7959
7960             # Check whether --enable-shared was given.
7961 if test "${enable_shared+set}" = set; then :
7962   enableval=$enable_shared; p=${PACKAGE-default}
7963     case $enableval in
7964     yes) enable_shared=yes ;;
7965     no) enable_shared=no ;;
7966     *)
7967       enable_shared=no
7968       # Look at the argument we got.  We use all the common list separators.
7969       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7970       for pkg in $enableval; do
7971         IFS="$lt_save_ifs"
7972         if test "X$pkg" = "X$p"; then
7973           enable_shared=yes
7974         fi
7975       done
7976       IFS="$lt_save_ifs"
7977       ;;
7978     esac
7979 else
7980   enable_shared=yes
7981 fi
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991   # Check whether --enable-static was given.
7992 if test "${enable_static+set}" = set; then :
7993   enableval=$enable_static; p=${PACKAGE-default}
7994     case $enableval in
7995     yes) enable_static=yes ;;
7996     no) enable_static=no ;;
7997     *)
7998      enable_static=no
7999       # Look at the argument we got.  We use all the common list separators.
8000       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8001       for pkg in $enableval; do
8002         IFS="$lt_save_ifs"
8003         if test "X$pkg" = "X$p"; then
8004           enable_static=yes
8005         fi
8006       done
8007       IFS="$lt_save_ifs"
8008       ;;
8009     esac
8010 else
8011   enable_static=yes
8012 fi
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023 # Check whether --with-pic was given.
8024 if test "${with_pic+set}" = set; then :
8025   withval=$with_pic; lt_p=${PACKAGE-default}
8026     case $withval in
8027     yes|no) pic_mode=$withval ;;
8028     *)
8029       pic_mode=default
8030       # Look at the argument we got.  We use all the common list separators.
8031       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8032       for lt_pkg in $withval; do
8033         IFS="$lt_save_ifs"
8034         if test "X$lt_pkg" = "X$lt_p"; then
8035           pic_mode=yes
8036         fi
8037       done
8038       IFS="$lt_save_ifs"
8039       ;;
8040     esac
8041 else
8042   pic_mode=default
8043 fi
8044
8045
8046 test -z "$pic_mode" && pic_mode=default
8047
8048
8049
8050
8051
8052
8053
8054   # Check whether --enable-fast-install was given.
8055 if test "${enable_fast_install+set}" = set; then :
8056   enableval=$enable_fast_install; p=${PACKAGE-default}
8057     case $enableval in
8058     yes) enable_fast_install=yes ;;
8059     no) enable_fast_install=no ;;
8060     *)
8061       enable_fast_install=no
8062       # Look at the argument we got.  We use all the common list separators.
8063       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8064       for pkg in $enableval; do
8065         IFS="$lt_save_ifs"
8066         if test "X$pkg" = "X$p"; then
8067           enable_fast_install=yes
8068         fi
8069       done
8070       IFS="$lt_save_ifs"
8071       ;;
8072     esac
8073 else
8074   enable_fast_install=yes
8075 fi
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087 # This can be used to rebuild libtool when needed
8088 LIBTOOL_DEPS="$ltmain"
8089
8090 # Always use our own libtool.
8091 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122 test -z "$LN_S" && LN_S="ln -s"
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137 if test -n "${ZSH_VERSION+set}" ; then
8138    setopt NO_GLOB_SUBST
8139 fi
8140
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8142 $as_echo_n "checking for objdir... " >&6; }
8143 if ${lt_cv_objdir+:} false; then :
8144   $as_echo_n "(cached) " >&6
8145 else
8146   rm -f .libs 2>/dev/null
8147 mkdir .libs 2>/dev/null
8148 if test -d .libs; then
8149   lt_cv_objdir=.libs
8150 else
8151   # MS-DOS does not allow filenames that begin with a dot.
8152   lt_cv_objdir=_libs
8153 fi
8154 rmdir .libs 2>/dev/null
8155 fi
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8157 $as_echo "$lt_cv_objdir" >&6; }
8158 objdir=$lt_cv_objdir
8159
8160
8161
8162
8163
8164 cat >>confdefs.h <<_ACEOF
8165 #define LT_OBJDIR "$lt_cv_objdir/"
8166 _ACEOF
8167
8168
8169
8170
8171 case $host_os in
8172 aix3*)
8173   # AIX sometimes has problems with the GCC collect2 program.  For some
8174   # reason, if we set the COLLECT_NAMES environment variable, the problems
8175   # vanish in a puff of smoke.
8176   if test "X${COLLECT_NAMES+set}" != Xset; then
8177     COLLECT_NAMES=
8178     export COLLECT_NAMES
8179   fi
8180   ;;
8181 esac
8182
8183 # Global variables:
8184 ofile=libtool
8185 can_build_shared=yes
8186
8187 # All known linkers require a `.a' archive for static linking (except MSVC,
8188 # which needs '.lib').
8189 libext=a
8190
8191 with_gnu_ld="$lt_cv_prog_gnu_ld"
8192
8193 old_CC="$CC"
8194 old_CFLAGS="$CFLAGS"
8195
8196 # Set sane defaults for various variables
8197 test -z "$CC" && CC=cc
8198 test -z "$LTCC" && LTCC=$CC
8199 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8200 test -z "$LD" && LD=ld
8201 test -z "$ac_objext" && ac_objext=o
8202
8203 for cc_temp in $compiler""; do
8204   case $cc_temp in
8205     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8206     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8207     \-*) ;;
8208     *) break;;
8209   esac
8210 done
8211 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8212
8213
8214 # Only perform the check for file, if the check method requires it
8215 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8216 case $deplibs_check_method in
8217 file_magic*)
8218   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8219     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8220 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8221 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8222   $as_echo_n "(cached) " >&6
8223 else
8224   case $MAGIC_CMD in
8225 [\\/*] |  ?:[\\/]*)
8226   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8227   ;;
8228 *)
8229   lt_save_MAGIC_CMD="$MAGIC_CMD"
8230   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8231   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8232   for ac_dir in $ac_dummy; do
8233     IFS="$lt_save_ifs"
8234     test -z "$ac_dir" && ac_dir=.
8235     if test -f $ac_dir/${ac_tool_prefix}file; then
8236       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8237       if test -n "$file_magic_test_file"; then
8238         case $deplibs_check_method in
8239         "file_magic "*)
8240           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8241           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8242           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8243             $EGREP "$file_magic_regex" > /dev/null; then
8244             :
8245           else
8246             cat <<_LT_EOF 1>&2
8247
8248 *** Warning: the command libtool uses to detect shared libraries,
8249 *** $file_magic_cmd, produces output that libtool cannot recognize.
8250 *** The result is that libtool may fail to recognize shared libraries
8251 *** as such.  This will affect the creation of libtool libraries that
8252 *** depend on shared libraries, but programs linked with such libtool
8253 *** libraries will work regardless of this problem.  Nevertheless, you
8254 *** may want to report the problem to your system manager and/or to
8255 *** bug-libtool@gnu.org
8256
8257 _LT_EOF
8258           fi ;;
8259         esac
8260       fi
8261       break
8262     fi
8263   done
8264   IFS="$lt_save_ifs"
8265   MAGIC_CMD="$lt_save_MAGIC_CMD"
8266   ;;
8267 esac
8268 fi
8269
8270 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8271 if test -n "$MAGIC_CMD"; then
8272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8273 $as_echo "$MAGIC_CMD" >&6; }
8274 else
8275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8276 $as_echo "no" >&6; }
8277 fi
8278
8279
8280
8281
8282
8283 if test -z "$lt_cv_path_MAGIC_CMD"; then
8284   if test -n "$ac_tool_prefix"; then
8285     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8286 $as_echo_n "checking for file... " >&6; }
8287 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8288   $as_echo_n "(cached) " >&6
8289 else
8290   case $MAGIC_CMD in
8291 [\\/*] |  ?:[\\/]*)
8292   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8293   ;;
8294 *)
8295   lt_save_MAGIC_CMD="$MAGIC_CMD"
8296   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8297   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8298   for ac_dir in $ac_dummy; do
8299     IFS="$lt_save_ifs"
8300     test -z "$ac_dir" && ac_dir=.
8301     if test -f $ac_dir/file; then
8302       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8303       if test -n "$file_magic_test_file"; then
8304         case $deplibs_check_method in
8305         "file_magic "*)
8306           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8307           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8308           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8309             $EGREP "$file_magic_regex" > /dev/null; then
8310             :
8311           else
8312             cat <<_LT_EOF 1>&2
8313
8314 *** Warning: the command libtool uses to detect shared libraries,
8315 *** $file_magic_cmd, produces output that libtool cannot recognize.
8316 *** The result is that libtool may fail to recognize shared libraries
8317 *** as such.  This will affect the creation of libtool libraries that
8318 *** depend on shared libraries, but programs linked with such libtool
8319 *** libraries will work regardless of this problem.  Nevertheless, you
8320 *** may want to report the problem to your system manager and/or to
8321 *** bug-libtool@gnu.org
8322
8323 _LT_EOF
8324           fi ;;
8325         esac
8326       fi
8327       break
8328     fi
8329   done
8330   IFS="$lt_save_ifs"
8331   MAGIC_CMD="$lt_save_MAGIC_CMD"
8332   ;;
8333 esac
8334 fi
8335
8336 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8337 if test -n "$MAGIC_CMD"; then
8338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8339 $as_echo "$MAGIC_CMD" >&6; }
8340 else
8341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8342 $as_echo "no" >&6; }
8343 fi
8344
8345
8346   else
8347     MAGIC_CMD=:
8348   fi
8349 fi
8350
8351   fi
8352   ;;
8353 esac
8354
8355 # Use C for the default configuration in the libtool script
8356
8357 lt_save_CC="$CC"
8358 ac_ext=c
8359 ac_cpp='$CPP $CPPFLAGS'
8360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8363
8364
8365 # Source file extension for C test sources.
8366 ac_ext=c
8367
8368 # Object file extension for compiled C test sources.
8369 objext=o
8370 objext=$objext
8371
8372 # Code to be used in simple compile tests
8373 lt_simple_compile_test_code="int some_variable = 0;"
8374
8375 # Code to be used in simple link tests
8376 lt_simple_link_test_code='int main(){return(0);}'
8377
8378
8379
8380
8381
8382
8383
8384 # If no C compiler was specified, use CC.
8385 LTCC=${LTCC-"$CC"}
8386
8387 # If no C compiler flags were specified, use CFLAGS.
8388 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8389
8390 # Allow CC to be a program name with arguments.
8391 compiler=$CC
8392
8393 # Save the default compiler, since it gets overwritten when the other
8394 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8395 compiler_DEFAULT=$CC
8396
8397 # save warnings/boilerplate of simple test code
8398 ac_outfile=conftest.$ac_objext
8399 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8400 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8401 _lt_compiler_boilerplate=`cat conftest.err`
8402 $RM conftest*
8403
8404 ac_outfile=conftest.$ac_objext
8405 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8406 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8407 _lt_linker_boilerplate=`cat conftest.err`
8408 $RM -r conftest*
8409
8410
8411 if test -n "$compiler"; then
8412
8413 lt_prog_compiler_no_builtin_flag=
8414
8415 if test "$GCC" = yes; then
8416   case $cc_basename in
8417   nvcc*)
8418     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8419   *)
8420     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8421   esac
8422
8423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8424 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8425 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8426   $as_echo_n "(cached) " >&6
8427 else
8428   lt_cv_prog_compiler_rtti_exceptions=no
8429    ac_outfile=conftest.$ac_objext
8430    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8431    lt_compiler_flag="-fno-rtti -fno-exceptions"
8432    # Insert the option either (1) after the last *FLAGS variable, or
8433    # (2) before a word containing "conftest.", or (3) at the end.
8434    # Note that $ac_compile itself does not contain backslashes and begins
8435    # with a dollar sign (not a hyphen), so the echo should work correctly.
8436    # The option is referenced via a variable to avoid confusing sed.
8437    lt_compile=`echo "$ac_compile" | $SED \
8438    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8439    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8440    -e 's:$: $lt_compiler_flag:'`
8441    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8442    (eval "$lt_compile" 2>conftest.err)
8443    ac_status=$?
8444    cat conftest.err >&5
8445    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8446    if (exit $ac_status) && test -s "$ac_outfile"; then
8447      # The compiler can only warn and ignore the option if not recognized
8448      # So say no if there are warnings other than the usual output.
8449      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8450      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8451      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8452        lt_cv_prog_compiler_rtti_exceptions=yes
8453      fi
8454    fi
8455    $RM conftest*
8456
8457 fi
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8459 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8460
8461 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8462     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8463 else
8464     :
8465 fi
8466
8467 fi
8468
8469
8470
8471
8472
8473
8474   lt_prog_compiler_wl=
8475 lt_prog_compiler_pic=
8476 lt_prog_compiler_static=
8477
8478
8479   if test "$GCC" = yes; then
8480     lt_prog_compiler_wl='-Wl,'
8481     lt_prog_compiler_static='-static'
8482
8483     case $host_os in
8484       aix*)
8485       # All AIX code is PIC.
8486       if test "$host_cpu" = ia64; then
8487         # AIX 5 now supports IA64 processor
8488         lt_prog_compiler_static='-Bstatic'
8489       fi
8490       ;;
8491
8492     amigaos*)
8493       case $host_cpu in
8494       powerpc)
8495             # see comment about AmigaOS4 .so support
8496             lt_prog_compiler_pic='-fPIC'
8497         ;;
8498       m68k)
8499             # FIXME: we need at least 68020 code to build shared libraries, but
8500             # adding the `-m68020' flag to GCC prevents building anything better,
8501             # like `-m68040'.
8502             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8503         ;;
8504       esac
8505       ;;
8506
8507     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8508       # PIC is the default for these OSes.
8509       ;;
8510
8511     mingw* | cygwin* | pw32* | os2* | cegcc*)
8512       # This hack is so that the source file can tell whether it is being
8513       # built for inclusion in a dll (and should export symbols for example).
8514       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8515       # (--disable-auto-import) libraries
8516       lt_prog_compiler_pic='-DDLL_EXPORT'
8517       ;;
8518
8519     darwin* | rhapsody*)
8520       # PIC is the default on this platform
8521       # Common symbols not allowed in MH_DYLIB files
8522       lt_prog_compiler_pic='-fno-common'
8523       ;;
8524
8525     haiku*)
8526       # PIC is the default for Haiku.
8527       # The "-static" flag exists, but is broken.
8528       lt_prog_compiler_static=
8529       ;;
8530
8531     hpux*)
8532       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8533       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8534       # sets the default TLS model and affects inlining.
8535       case $host_cpu in
8536       hppa*64*)
8537         # +Z the default
8538         ;;
8539       *)
8540         lt_prog_compiler_pic='-fPIC'
8541         ;;
8542       esac
8543       ;;
8544
8545     interix[3-9]*)
8546       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8547       # Instead, we relocate shared libraries at runtime.
8548       ;;
8549
8550     msdosdjgpp*)
8551       # Just because we use GCC doesn't mean we suddenly get shared libraries
8552       # on systems that don't support them.
8553       lt_prog_compiler_can_build_shared=no
8554       enable_shared=no
8555       ;;
8556
8557     *nto* | *qnx*)
8558       # QNX uses GNU C++, but need to define -shared option too, otherwise
8559       # it will coredump.
8560       lt_prog_compiler_pic='-fPIC -shared'
8561       ;;
8562
8563     sysv4*MP*)
8564       if test -d /usr/nec; then
8565         lt_prog_compiler_pic=-Kconform_pic
8566       fi
8567       ;;
8568
8569     *)
8570       lt_prog_compiler_pic='-fPIC'
8571       ;;
8572     esac
8573
8574     case $cc_basename in
8575     nvcc*) # Cuda Compiler Driver 2.2
8576       lt_prog_compiler_wl='-Xlinker '
8577       if test -n "$lt_prog_compiler_pic"; then
8578         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8579       fi
8580       ;;
8581     esac
8582   else
8583     # PORTME Check for flag to pass linker flags through the system compiler.
8584     case $host_os in
8585     aix*)
8586       lt_prog_compiler_wl='-Wl,'
8587       if test "$host_cpu" = ia64; then
8588         # AIX 5 now supports IA64 processor
8589         lt_prog_compiler_static='-Bstatic'
8590       else
8591         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8592       fi
8593       ;;
8594
8595     mingw* | cygwin* | pw32* | os2* | cegcc*)
8596       # This hack is so that the source file can tell whether it is being
8597       # built for inclusion in a dll (and should export symbols for example).
8598       lt_prog_compiler_pic='-DDLL_EXPORT'
8599       ;;
8600
8601     hpux9* | hpux10* | hpux11*)
8602       lt_prog_compiler_wl='-Wl,'
8603       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8604       # not for PA HP-UX.
8605       case $host_cpu in
8606       hppa*64*|ia64*)
8607         # +Z the default
8608         ;;
8609       *)
8610         lt_prog_compiler_pic='+Z'
8611         ;;
8612       esac
8613       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8614       lt_prog_compiler_static='${wl}-a ${wl}archive'
8615       ;;
8616
8617     irix5* | irix6* | nonstopux*)
8618       lt_prog_compiler_wl='-Wl,'
8619       # PIC (with -KPIC) is the default.
8620       lt_prog_compiler_static='-non_shared'
8621       ;;
8622
8623     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8624       case $cc_basename in
8625       # old Intel for x86_64 which still supported -KPIC.
8626       ecc*)
8627         lt_prog_compiler_wl='-Wl,'
8628         lt_prog_compiler_pic='-KPIC'
8629         lt_prog_compiler_static='-static'
8630         ;;
8631       # icc used to be incompatible with GCC.
8632       # ICC 10 doesn't accept -KPIC any more.
8633       icc* | ifort*)
8634         lt_prog_compiler_wl='-Wl,'
8635         lt_prog_compiler_pic='-fPIC'
8636         lt_prog_compiler_static='-static'
8637         ;;
8638       # Lahey Fortran 8.1.
8639       lf95*)
8640         lt_prog_compiler_wl='-Wl,'
8641         lt_prog_compiler_pic='--shared'
8642         lt_prog_compiler_static='--static'
8643         ;;
8644       nagfor*)
8645         # NAG Fortran compiler
8646         lt_prog_compiler_wl='-Wl,-Wl,,'
8647         lt_prog_compiler_pic='-PIC'
8648         lt_prog_compiler_static='-Bstatic'
8649         ;;
8650       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8651         # Portland Group compilers (*not* the Pentium gcc compiler,
8652         # which looks to be a dead project)
8653         lt_prog_compiler_wl='-Wl,'
8654         lt_prog_compiler_pic='-fpic'
8655         lt_prog_compiler_static='-Bstatic'
8656         ;;
8657       ccc*)
8658         lt_prog_compiler_wl='-Wl,'
8659         # All Alpha code is PIC.
8660         lt_prog_compiler_static='-non_shared'
8661         ;;
8662       xl* | bgxl* | bgf* | mpixl*)
8663         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8664         lt_prog_compiler_wl='-Wl,'
8665         lt_prog_compiler_pic='-qpic'
8666         lt_prog_compiler_static='-qstaticlink'
8667         ;;
8668       *)
8669         case `$CC -V 2>&1 | sed 5q` in
8670         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8671           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8672           lt_prog_compiler_pic='-KPIC'
8673           lt_prog_compiler_static='-Bstatic'
8674           lt_prog_compiler_wl=''
8675           ;;
8676         *Sun\ F* | *Sun*Fortran*)
8677           lt_prog_compiler_pic='-KPIC'
8678           lt_prog_compiler_static='-Bstatic'
8679           lt_prog_compiler_wl='-Qoption ld '
8680           ;;
8681         *Sun\ C*)
8682           # Sun C 5.9
8683           lt_prog_compiler_pic='-KPIC'
8684           lt_prog_compiler_static='-Bstatic'
8685           lt_prog_compiler_wl='-Wl,'
8686           ;;
8687         *Intel*\ [CF]*Compiler*)
8688           lt_prog_compiler_wl='-Wl,'
8689           lt_prog_compiler_pic='-fPIC'
8690           lt_prog_compiler_static='-static'
8691           ;;
8692         *Portland\ Group*)
8693           lt_prog_compiler_wl='-Wl,'
8694           lt_prog_compiler_pic='-fpic'
8695           lt_prog_compiler_static='-Bstatic'
8696           ;;
8697         esac
8698         ;;
8699       esac
8700       ;;
8701
8702     newsos6)
8703       lt_prog_compiler_pic='-KPIC'
8704       lt_prog_compiler_static='-Bstatic'
8705       ;;
8706
8707     *nto* | *qnx*)
8708       # QNX uses GNU C++, but need to define -shared option too, otherwise
8709       # it will coredump.
8710       lt_prog_compiler_pic='-fPIC -shared'
8711       ;;
8712
8713     osf3* | osf4* | osf5*)
8714       lt_prog_compiler_wl='-Wl,'
8715       # All OSF/1 code is PIC.
8716       lt_prog_compiler_static='-non_shared'
8717       ;;
8718
8719     rdos*)
8720       lt_prog_compiler_static='-non_shared'
8721       ;;
8722
8723     solaris*)
8724       lt_prog_compiler_pic='-KPIC'
8725       lt_prog_compiler_static='-Bstatic'
8726       case $cc_basename in
8727       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8728         lt_prog_compiler_wl='-Qoption ld ';;
8729       *)
8730         lt_prog_compiler_wl='-Wl,';;
8731       esac
8732       ;;
8733
8734     sunos4*)
8735       lt_prog_compiler_wl='-Qoption ld '
8736       lt_prog_compiler_pic='-PIC'
8737       lt_prog_compiler_static='-Bstatic'
8738       ;;
8739
8740     sysv4 | sysv4.2uw2* | sysv4.3*)
8741       lt_prog_compiler_wl='-Wl,'
8742       lt_prog_compiler_pic='-KPIC'
8743       lt_prog_compiler_static='-Bstatic'
8744       ;;
8745
8746     sysv4*MP*)
8747       if test -d /usr/nec ;then
8748         lt_prog_compiler_pic='-Kconform_pic'
8749         lt_prog_compiler_static='-Bstatic'
8750       fi
8751       ;;
8752
8753     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8754       lt_prog_compiler_wl='-Wl,'
8755       lt_prog_compiler_pic='-KPIC'
8756       lt_prog_compiler_static='-Bstatic'
8757       ;;
8758
8759     unicos*)
8760       lt_prog_compiler_wl='-Wl,'
8761       lt_prog_compiler_can_build_shared=no
8762       ;;
8763
8764     uts4*)
8765       lt_prog_compiler_pic='-pic'
8766       lt_prog_compiler_static='-Bstatic'
8767       ;;
8768
8769     *)
8770       lt_prog_compiler_can_build_shared=no
8771       ;;
8772     esac
8773   fi
8774
8775 case $host_os in
8776   # For platforms which do not support PIC, -DPIC is meaningless:
8777   *djgpp*)
8778     lt_prog_compiler_pic=
8779     ;;
8780   *)
8781     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8782     ;;
8783 esac
8784
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8786 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8787 if ${lt_cv_prog_compiler_pic+:} false; then :
8788   $as_echo_n "(cached) " >&6
8789 else
8790   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8791 fi
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8793 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8794 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8795
8796 #
8797 # Check to make sure the PIC flag actually works.
8798 #
8799 if test -n "$lt_prog_compiler_pic"; then
8800   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8801 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8802 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8803   $as_echo_n "(cached) " >&6
8804 else
8805   lt_cv_prog_compiler_pic_works=no
8806    ac_outfile=conftest.$ac_objext
8807    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8808    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8809    # Insert the option either (1) after the last *FLAGS variable, or
8810    # (2) before a word containing "conftest.", or (3) at the end.
8811    # Note that $ac_compile itself does not contain backslashes and begins
8812    # with a dollar sign (not a hyphen), so the echo should work correctly.
8813    # The option is referenced via a variable to avoid confusing sed.
8814    lt_compile=`echo "$ac_compile" | $SED \
8815    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8816    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8817    -e 's:$: $lt_compiler_flag:'`
8818    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8819    (eval "$lt_compile" 2>conftest.err)
8820    ac_status=$?
8821    cat conftest.err >&5
8822    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8823    if (exit $ac_status) && test -s "$ac_outfile"; then
8824      # The compiler can only warn and ignore the option if not recognized
8825      # So say no if there are warnings other than the usual output.
8826      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8827      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8828      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8829        lt_cv_prog_compiler_pic_works=yes
8830      fi
8831    fi
8832    $RM conftest*
8833
8834 fi
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8836 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8837
8838 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8839     case $lt_prog_compiler_pic in
8840      "" | " "*) ;;
8841      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8842      esac
8843 else
8844     lt_prog_compiler_pic=
8845      lt_prog_compiler_can_build_shared=no
8846 fi
8847
8848 fi
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860 #
8861 # Check to make sure the static flag actually works.
8862 #
8863 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8865 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8866 if ${lt_cv_prog_compiler_static_works+:} false; then :
8867   $as_echo_n "(cached) " >&6
8868 else
8869   lt_cv_prog_compiler_static_works=no
8870    save_LDFLAGS="$LDFLAGS"
8871    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8872    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8873    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8874      # The linker can only warn and ignore the option if not recognized
8875      # So say no if there are warnings
8876      if test -s conftest.err; then
8877        # Append any errors to the config.log.
8878        cat conftest.err 1>&5
8879        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8880        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8881        if diff conftest.exp conftest.er2 >/dev/null; then
8882          lt_cv_prog_compiler_static_works=yes
8883        fi
8884      else
8885        lt_cv_prog_compiler_static_works=yes
8886      fi
8887    fi
8888    $RM -r conftest*
8889    LDFLAGS="$save_LDFLAGS"
8890
8891 fi
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8893 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8894
8895 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8896     :
8897 else
8898     lt_prog_compiler_static=
8899 fi
8900
8901
8902
8903
8904
8905
8906
8907   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8908 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8909 if ${lt_cv_prog_compiler_c_o+:} false; then :
8910   $as_echo_n "(cached) " >&6
8911 else
8912   lt_cv_prog_compiler_c_o=no
8913    $RM -r conftest 2>/dev/null
8914    mkdir conftest
8915    cd conftest
8916    mkdir out
8917    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8918
8919    lt_compiler_flag="-o out/conftest2.$ac_objext"
8920    # Insert the option either (1) after the last *FLAGS variable, or
8921    # (2) before a word containing "conftest.", or (3) at the end.
8922    # Note that $ac_compile itself does not contain backslashes and begins
8923    # with a dollar sign (not a hyphen), so the echo should work correctly.
8924    lt_compile=`echo "$ac_compile" | $SED \
8925    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8926    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8927    -e 's:$: $lt_compiler_flag:'`
8928    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8929    (eval "$lt_compile" 2>out/conftest.err)
8930    ac_status=$?
8931    cat out/conftest.err >&5
8932    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8933    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8934    then
8935      # The compiler can only warn and ignore the option if not recognized
8936      # So say no if there are warnings
8937      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8938      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8939      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8940        lt_cv_prog_compiler_c_o=yes
8941      fi
8942    fi
8943    chmod u+w . 2>&5
8944    $RM conftest*
8945    # SGI C++ compiler will create directory out/ii_files/ for
8946    # template instantiation
8947    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8948    $RM out/* && rmdir out
8949    cd ..
8950    $RM -r conftest
8951    $RM conftest*
8952
8953 fi
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8955 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8956
8957
8958
8959
8960
8961
8962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8963 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8964 if ${lt_cv_prog_compiler_c_o+:} false; then :
8965   $as_echo_n "(cached) " >&6
8966 else
8967   lt_cv_prog_compiler_c_o=no
8968    $RM -r conftest 2>/dev/null
8969    mkdir conftest
8970    cd conftest
8971    mkdir out
8972    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8973
8974    lt_compiler_flag="-o out/conftest2.$ac_objext"
8975    # Insert the option either (1) after the last *FLAGS variable, or
8976    # (2) before a word containing "conftest.", or (3) at the end.
8977    # Note that $ac_compile itself does not contain backslashes and begins
8978    # with a dollar sign (not a hyphen), so the echo should work correctly.
8979    lt_compile=`echo "$ac_compile" | $SED \
8980    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8981    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8982    -e 's:$: $lt_compiler_flag:'`
8983    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8984    (eval "$lt_compile" 2>out/conftest.err)
8985    ac_status=$?
8986    cat out/conftest.err >&5
8987    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8988    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8989    then
8990      # The compiler can only warn and ignore the option if not recognized
8991      # So say no if there are warnings
8992      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8993      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8994      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8995        lt_cv_prog_compiler_c_o=yes
8996      fi
8997    fi
8998    chmod u+w . 2>&5
8999    $RM conftest*
9000    # SGI C++ compiler will create directory out/ii_files/ for
9001    # template instantiation
9002    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9003    $RM out/* && rmdir out
9004    cd ..
9005    $RM -r conftest
9006    $RM conftest*
9007
9008 fi
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9010 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9011
9012
9013
9014
9015 hard_links="nottested"
9016 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9017   # do not overwrite the value of need_locks provided by the user
9018   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9019 $as_echo_n "checking if we can lock with hard links... " >&6; }
9020   hard_links=yes
9021   $RM conftest*
9022   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9023   touch conftest.a
9024   ln conftest.a conftest.b 2>&5 || hard_links=no
9025   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9027 $as_echo "$hard_links" >&6; }
9028   if test "$hard_links" = no; then
9029     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9030 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9031     need_locks=warn
9032   fi
9033 else
9034   need_locks=no
9035 fi
9036
9037
9038
9039
9040
9041
9042   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9043 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9044
9045   runpath_var=
9046   allow_undefined_flag=
9047   always_export_symbols=no
9048   archive_cmds=
9049   archive_expsym_cmds=
9050   compiler_needs_object=no
9051   enable_shared_with_static_runtimes=no
9052   export_dynamic_flag_spec=
9053   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9054   hardcode_automatic=no
9055   hardcode_direct=no
9056   hardcode_direct_absolute=no
9057   hardcode_libdir_flag_spec=
9058   hardcode_libdir_separator=
9059   hardcode_minus_L=no
9060   hardcode_shlibpath_var=unsupported
9061   inherit_rpath=no
9062   link_all_deplibs=unknown
9063   module_cmds=
9064   module_expsym_cmds=
9065   old_archive_from_new_cmds=
9066   old_archive_from_expsyms_cmds=
9067   thread_safe_flag_spec=
9068   whole_archive_flag_spec=
9069   # include_expsyms should be a list of space-separated symbols to be *always*
9070   # included in the symbol list
9071   include_expsyms=
9072   # exclude_expsyms can be an extended regexp of symbols to exclude
9073   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9074   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9075   # as well as any symbol that contains `d'.
9076   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9077   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9078   # platforms (ab)use it in PIC code, but their linkers get confused if
9079   # the symbol is explicitly referenced.  Since portable code cannot
9080   # rely on this symbol name, it's probably fine to never include it in
9081   # preloaded symbol tables.
9082   # Exclude shared library initialization/finalization symbols.
9083   extract_expsyms_cmds=
9084
9085   case $host_os in
9086   cygwin* | mingw* | pw32* | cegcc*)
9087     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9088     # When not using gcc, we currently assume that we are using
9089     # Microsoft Visual C++.
9090     if test "$GCC" != yes; then
9091       with_gnu_ld=no
9092     fi
9093     ;;
9094   interix*)
9095     # we just hope/assume this is gcc and not c89 (= MSVC++)
9096     with_gnu_ld=yes
9097     ;;
9098   openbsd*)
9099     with_gnu_ld=no
9100     ;;
9101   esac
9102
9103   ld_shlibs=yes
9104
9105   # On some targets, GNU ld is compatible enough with the native linker
9106   # that we're better off using the native interface for both.
9107   lt_use_gnu_ld_interface=no
9108   if test "$with_gnu_ld" = yes; then
9109     case $host_os in
9110       aix*)
9111         # The AIX port of GNU ld has always aspired to compatibility
9112         # with the native linker.  However, as the warning in the GNU ld
9113         # block says, versions before 2.19.5* couldn't really create working
9114         # shared libraries, regardless of the interface used.
9115         case `$LD -v 2>&1` in
9116           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9117           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9118           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9119           *)
9120             lt_use_gnu_ld_interface=yes
9121             ;;
9122         esac
9123         ;;
9124       *)
9125         lt_use_gnu_ld_interface=yes
9126         ;;
9127     esac
9128   fi
9129
9130   if test "$lt_use_gnu_ld_interface" = yes; then
9131     # If archive_cmds runs LD, not CC, wlarc should be empty
9132     wlarc='${wl}'
9133
9134     # Set some defaults for GNU ld with shared library support. These
9135     # are reset later if shared libraries are not supported. Putting them
9136     # here allows them to be overridden if necessary.
9137     runpath_var=LD_RUN_PATH
9138     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9139     export_dynamic_flag_spec='${wl}--export-dynamic'
9140     # ancient GNU ld didn't support --whole-archive et. al.
9141     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9142       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9143     else
9144       whole_archive_flag_spec=
9145     fi
9146     supports_anon_versioning=no
9147     case `$LD -v 2>&1` in
9148       *GNU\ gold*) supports_anon_versioning=yes ;;
9149       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9150       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9151       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9152       *\ 2.11.*) ;; # other 2.11 versions
9153       *) supports_anon_versioning=yes ;;
9154     esac
9155
9156     # See if GNU ld supports shared libraries.
9157     case $host_os in
9158     aix[3-9]*)
9159       # On AIX/PPC, the GNU linker is very broken
9160       if test "$host_cpu" != ia64; then
9161         ld_shlibs=no
9162         cat <<_LT_EOF 1>&2
9163
9164 *** Warning: the GNU linker, at least up to release 2.19, is reported
9165 *** to be unable to reliably create shared libraries on AIX.
9166 *** Therefore, libtool is disabling shared libraries support.  If you
9167 *** really care for shared libraries, you may want to install binutils
9168 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9169 *** You will then need to restart the configuration process.
9170
9171 _LT_EOF
9172       fi
9173       ;;
9174
9175     amigaos*)
9176       case $host_cpu in
9177       powerpc)
9178             # see comment about AmigaOS4 .so support
9179             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9180             archive_expsym_cmds=''
9181         ;;
9182       m68k)
9183             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)'
9184             hardcode_libdir_flag_spec='-L$libdir'
9185             hardcode_minus_L=yes
9186         ;;
9187       esac
9188       ;;
9189
9190     beos*)
9191       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9192         allow_undefined_flag=unsupported
9193         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9194         # support --undefined.  This deserves some investigation.  FIXME
9195         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9196       else
9197         ld_shlibs=no
9198       fi
9199       ;;
9200
9201     cygwin* | mingw* | pw32* | cegcc*)
9202       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9203       # as there is no search path for DLLs.
9204       hardcode_libdir_flag_spec='-L$libdir'
9205       export_dynamic_flag_spec='${wl}--export-all-symbols'
9206       allow_undefined_flag=unsupported
9207       always_export_symbols=no
9208       enable_shared_with_static_runtimes=yes
9209       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'
9210       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9211
9212       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9213         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9214         # If the export-symbols file already is a .def file (1st line
9215         # is EXPORTS), use it as is; otherwise, prepend...
9216         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9217           cp $export_symbols $output_objdir/$soname.def;
9218         else
9219           echo EXPORTS > $output_objdir/$soname.def;
9220           cat $export_symbols >> $output_objdir/$soname.def;
9221         fi~
9222         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9223       else
9224         ld_shlibs=no
9225       fi
9226       ;;
9227
9228     haiku*)
9229       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9230       link_all_deplibs=yes
9231       ;;
9232
9233     interix[3-9]*)
9234       hardcode_direct=no
9235       hardcode_shlibpath_var=no
9236       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9237       export_dynamic_flag_spec='${wl}-E'
9238       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9239       # Instead, shared libraries are loaded at an image base (0x10000000 by
9240       # default) and relocated if they conflict, which is a slow very memory
9241       # consuming and fragmenting process.  To avoid this, we pick a random,
9242       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9243       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9244       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9245       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'
9246       ;;
9247
9248     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9249       tmp_diet=no
9250       if test "$host_os" = linux-dietlibc; then
9251         case $cc_basename in
9252           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9253         esac
9254       fi
9255       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9256          && test "$tmp_diet" = no
9257       then
9258         tmp_addflag=' $pic_flag'
9259         tmp_sharedflag='-shared'
9260         case $cc_basename,$host_cpu in
9261         pgcc*)                          # Portland Group C compiler
9262           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'
9263           tmp_addflag=' $pic_flag'
9264           ;;
9265         pgf77* | pgf90* | pgf95* | pgfortran*)
9266                                         # Portland Group f77 and f90 compilers
9267           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'
9268           tmp_addflag=' $pic_flag -Mnomain' ;;
9269         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9270           tmp_addflag=' -i_dynamic' ;;
9271         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9272           tmp_addflag=' -i_dynamic -nofor_main' ;;
9273         ifc* | ifort*)                  # Intel Fortran compiler
9274           tmp_addflag=' -nofor_main' ;;
9275         lf95*)                          # Lahey Fortran 8.1
9276           whole_archive_flag_spec=
9277           tmp_sharedflag='--shared' ;;
9278         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9279           tmp_sharedflag='-qmkshrobj'
9280           tmp_addflag= ;;
9281         nvcc*)  # Cuda Compiler Driver 2.2
9282           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'
9283           compiler_needs_object=yes
9284           ;;
9285         esac
9286         case `$CC -V 2>&1 | sed 5q` in
9287         *Sun\ C*)                       # Sun C 5.9
9288           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'
9289           compiler_needs_object=yes
9290           tmp_sharedflag='-G' ;;
9291         *Sun\ F*)                       # Sun Fortran 8.3
9292           tmp_sharedflag='-G' ;;
9293         esac
9294         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9295
9296         if test "x$supports_anon_versioning" = xyes; then
9297           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9298             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9299             echo "local: *; };" >> $output_objdir/$libname.ver~
9300             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9301         fi
9302
9303         case $cc_basename in
9304         xlf* | bgf* | bgxlf* | mpixlf*)
9305           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9306           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9307           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9308           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9309           if test "x$supports_anon_versioning" = xyes; then
9310             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9311               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9312               echo "local: *; };" >> $output_objdir/$libname.ver~
9313               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9314           fi
9315           ;;
9316         esac
9317       else
9318         ld_shlibs=no
9319       fi
9320       ;;
9321
9322     netbsd*)
9323       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9324         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9325         wlarc=
9326       else
9327         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9328         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9329       fi
9330       ;;
9331
9332     solaris*)
9333       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9334         ld_shlibs=no
9335         cat <<_LT_EOF 1>&2
9336
9337 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9338 *** create shared libraries on Solaris systems.  Therefore, libtool
9339 *** is disabling shared libraries support.  We urge you to upgrade GNU
9340 *** binutils to release 2.9.1 or newer.  Another option is to modify
9341 *** your PATH or compiler configuration so that the native linker is
9342 *** used, and then restart.
9343
9344 _LT_EOF
9345       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9346         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9347         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9348       else
9349         ld_shlibs=no
9350       fi
9351       ;;
9352
9353     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9354       case `$LD -v 2>&1` in
9355         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9356         ld_shlibs=no
9357         cat <<_LT_EOF 1>&2
9358
9359 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9360 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9361 *** is disabling shared libraries support.  We urge you to upgrade GNU
9362 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9363 *** your PATH or compiler configuration so that the native linker is
9364 *** used, and then restart.
9365
9366 _LT_EOF
9367         ;;
9368         *)
9369           # For security reasons, it is highly recommended that you always
9370           # use absolute paths for naming shared libraries, and exclude the
9371           # DT_RUNPATH tag from executables and libraries.  But doing so
9372           # requires that you compile everything twice, which is a pain.
9373           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9374             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9375             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9376             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9377           else
9378             ld_shlibs=no
9379           fi
9380         ;;
9381       esac
9382       ;;
9383
9384     sunos4*)
9385       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9386       wlarc=
9387       hardcode_direct=yes
9388       hardcode_shlibpath_var=no
9389       ;;
9390
9391     *)
9392       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9393         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9394         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9395       else
9396         ld_shlibs=no
9397       fi
9398       ;;
9399     esac
9400
9401     if test "$ld_shlibs" = no; then
9402       runpath_var=
9403       hardcode_libdir_flag_spec=
9404       export_dynamic_flag_spec=
9405       whole_archive_flag_spec=
9406     fi
9407   else
9408     # PORTME fill in a description of your system's linker (not GNU ld)
9409     case $host_os in
9410     aix3*)
9411       allow_undefined_flag=unsupported
9412       always_export_symbols=yes
9413       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'
9414       # Note: this linker hardcodes the directories in LIBPATH if there
9415       # are no directories specified by -L.
9416       hardcode_minus_L=yes
9417       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9418         # Neither direct hardcoding nor static linking is supported with a
9419         # broken collect2.
9420         hardcode_direct=unsupported
9421       fi
9422       ;;
9423
9424     aix[4-9]*)
9425       if test "$host_cpu" = ia64; then
9426         # On IA64, the linker does run time linking by default, so we don't
9427         # have to do anything special.
9428         aix_use_runtimelinking=no
9429         exp_sym_flag='-Bexport'
9430         no_entry_flag=""
9431       else
9432         # If we're using GNU nm, then we don't want the "-C" option.
9433         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9434         # Also, AIX nm treats weak defined symbols like other global
9435         # defined symbols, whereas GNU nm marks them as "W".
9436         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9437           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'
9438         else
9439           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'
9440         fi
9441         aix_use_runtimelinking=no
9442
9443         # Test if we are trying to use run time linking or normal
9444         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9445         # need to do runtime linking.
9446         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9447           for ld_flag in $LDFLAGS; do
9448           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9449             aix_use_runtimelinking=yes
9450             break
9451           fi
9452           done
9453           ;;
9454         esac
9455
9456         exp_sym_flag='-bexport'
9457         no_entry_flag='-bnoentry'
9458       fi
9459
9460       # When large executables or shared objects are built, AIX ld can
9461       # have problems creating the table of contents.  If linking a library
9462       # or program results in "error TOC overflow" add -mminimal-toc to
9463       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9464       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9465
9466       archive_cmds=''
9467       hardcode_direct=yes
9468       hardcode_direct_absolute=yes
9469       hardcode_libdir_separator=':'
9470       link_all_deplibs=yes
9471       file_list_spec='${wl}-f,'
9472
9473       if test "$GCC" = yes; then
9474         case $host_os in aix4.[012]|aix4.[012].*)
9475         # We only want to do this on AIX 4.2 and lower, the check
9476         # below for broken collect2 doesn't work under 4.3+
9477           collect2name=`${CC} -print-prog-name=collect2`
9478           if test -f "$collect2name" &&
9479            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9480           then
9481           # We have reworked collect2
9482           :
9483           else
9484           # We have old collect2
9485           hardcode_direct=unsupported
9486           # It fails to find uninstalled libraries when the uninstalled
9487           # path is not listed in the libpath.  Setting hardcode_minus_L
9488           # to unsupported forces relinking
9489           hardcode_minus_L=yes
9490           hardcode_libdir_flag_spec='-L$libdir'
9491           hardcode_libdir_separator=
9492           fi
9493           ;;
9494         esac
9495         shared_flag='-shared'
9496         if test "$aix_use_runtimelinking" = yes; then
9497           shared_flag="$shared_flag "'${wl}-G'
9498         fi
9499       else
9500         # not using gcc
9501         if test "$host_cpu" = ia64; then
9502         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9503         # chokes on -Wl,-G. The following line is correct:
9504           shared_flag='-G'
9505         else
9506           if test "$aix_use_runtimelinking" = yes; then
9507             shared_flag='${wl}-G'
9508           else
9509             shared_flag='${wl}-bM:SRE'
9510           fi
9511         fi
9512       fi
9513
9514       export_dynamic_flag_spec='${wl}-bexpall'
9515       # It seems that -bexpall does not export symbols beginning with
9516       # underscore (_), so it is better to generate a list of symbols to export.
9517       always_export_symbols=yes
9518       if test "$aix_use_runtimelinking" = yes; then
9519         # Warning - without using the other runtime loading flags (-brtl),
9520         # -berok will link without error, but may produce a broken library.
9521         allow_undefined_flag='-berok'
9522         # Determine the default libpath from the value encoded in an
9523         # empty executable.
9524         if test "${lt_cv_aix_libpath+set}" = set; then
9525   aix_libpath=$lt_cv_aix_libpath
9526 else
9527   if ${lt_cv_aix_libpath_+:} false; then :
9528   $as_echo_n "(cached) " >&6
9529 else
9530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9531 /* end confdefs.h.  */
9532
9533 int
9534 main ()
9535 {
9536
9537   ;
9538   return 0;
9539 }
9540 _ACEOF
9541 if ac_fn_c_try_link "$LINENO"; then :
9542
9543   lt_aix_libpath_sed='
9544       /Import File Strings/,/^$/ {
9545           /^0/ {
9546               s/^0  *\([^ ]*\) *$/\1/
9547               p
9548           }
9549       }'
9550   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9551   # Check for a 64-bit object if we didn't find anything.
9552   if test -z "$lt_cv_aix_libpath_"; then
9553     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9554   fi
9555 fi
9556 rm -f core conftest.err conftest.$ac_objext \
9557     conftest$ac_exeext conftest.$ac_ext
9558   if test -z "$lt_cv_aix_libpath_"; then
9559     lt_cv_aix_libpath_="/usr/lib:/lib"
9560   fi
9561
9562 fi
9563
9564   aix_libpath=$lt_cv_aix_libpath_
9565 fi
9566
9567         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9568         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"
9569       else
9570         if test "$host_cpu" = ia64; then
9571           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9572           allow_undefined_flag="-z nodefs"
9573           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"
9574         else
9575          # Determine the default libpath from the value encoded in an
9576          # empty executable.
9577          if test "${lt_cv_aix_libpath+set}" = set; then
9578   aix_libpath=$lt_cv_aix_libpath
9579 else
9580   if ${lt_cv_aix_libpath_+:} false; then :
9581   $as_echo_n "(cached) " >&6
9582 else
9583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9584 /* end confdefs.h.  */
9585
9586 int
9587 main ()
9588 {
9589
9590   ;
9591   return 0;
9592 }
9593 _ACEOF
9594 if ac_fn_c_try_link "$LINENO"; then :
9595
9596   lt_aix_libpath_sed='
9597       /Import File Strings/,/^$/ {
9598           /^0/ {
9599               s/^0  *\([^ ]*\) *$/\1/
9600               p
9601           }
9602       }'
9603   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9604   # Check for a 64-bit object if we didn't find anything.
9605   if test -z "$lt_cv_aix_libpath_"; then
9606     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9607   fi
9608 fi
9609 rm -f core conftest.err conftest.$ac_objext \
9610     conftest$ac_exeext conftest.$ac_ext
9611   if test -z "$lt_cv_aix_libpath_"; then
9612     lt_cv_aix_libpath_="/usr/lib:/lib"
9613   fi
9614
9615 fi
9616
9617   aix_libpath=$lt_cv_aix_libpath_
9618 fi
9619
9620          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9621           # Warning - without using the other run time loading flags,
9622           # -berok will link without error, but may produce a broken library.
9623           no_undefined_flag=' ${wl}-bernotok'
9624           allow_undefined_flag=' ${wl}-berok'
9625           if test "$with_gnu_ld" = yes; then
9626             # We only use this code for GNU lds that support --whole-archive.
9627             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9628           else
9629             # Exported symbols can be pulled into shared objects from archives
9630             whole_archive_flag_spec='$convenience'
9631           fi
9632           archive_cmds_need_lc=yes
9633           # This is similar to how AIX traditionally builds its shared libraries.
9634           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'
9635         fi
9636       fi
9637       ;;
9638
9639     amigaos*)
9640       case $host_cpu in
9641       powerpc)
9642             # see comment about AmigaOS4 .so support
9643             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9644             archive_expsym_cmds=''
9645         ;;
9646       m68k)
9647             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)'
9648             hardcode_libdir_flag_spec='-L$libdir'
9649             hardcode_minus_L=yes
9650         ;;
9651       esac
9652       ;;
9653
9654     bsdi[45]*)
9655       export_dynamic_flag_spec=-rdynamic
9656       ;;
9657
9658     cygwin* | mingw* | pw32* | cegcc*)
9659       # When not using gcc, we currently assume that we are using
9660       # Microsoft Visual C++.
9661       # hardcode_libdir_flag_spec is actually meaningless, as there is
9662       # no search path for DLLs.
9663       case $cc_basename in
9664       cl*)
9665         # Native MSVC
9666         hardcode_libdir_flag_spec=' '
9667         allow_undefined_flag=unsupported
9668         always_export_symbols=yes
9669         file_list_spec='@'
9670         # Tell ltmain to make .lib files, not .a files.
9671         libext=lib
9672         # Tell ltmain to make .dll files, not .so files.
9673         shrext_cmds=".dll"
9674         # FIXME: Setting linknames here is a bad hack.
9675         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9676         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9677             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9678           else
9679             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9680           fi~
9681           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9682           linknames='
9683         # The linker will not automatically build a static lib if we build a DLL.
9684         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9685         enable_shared_with_static_runtimes=yes
9686         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9687         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9688         # Don't use ranlib
9689         old_postinstall_cmds='chmod 644 $oldlib'
9690         postlink_cmds='lt_outputfile="@OUTPUT@"~
9691           lt_tool_outputfile="@TOOL_OUTPUT@"~
9692           case $lt_outputfile in
9693             *.exe|*.EXE) ;;
9694             *)
9695               lt_outputfile="$lt_outputfile.exe"
9696               lt_tool_outputfile="$lt_tool_outputfile.exe"
9697               ;;
9698           esac~
9699           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9700             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9701             $RM "$lt_outputfile.manifest";
9702           fi'
9703         ;;
9704       *)
9705         # Assume MSVC wrapper
9706         hardcode_libdir_flag_spec=' '
9707         allow_undefined_flag=unsupported
9708         # Tell ltmain to make .lib files, not .a files.
9709         libext=lib
9710         # Tell ltmain to make .dll files, not .so files.
9711         shrext_cmds=".dll"
9712         # FIXME: Setting linknames here is a bad hack.
9713         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9714         # The linker will automatically build a .lib file if we build a DLL.
9715         old_archive_from_new_cmds='true'
9716         # FIXME: Should let the user specify the lib program.
9717         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9718         enable_shared_with_static_runtimes=yes
9719         ;;
9720       esac
9721       ;;
9722
9723     darwin* | rhapsody*)
9724
9725
9726   archive_cmds_need_lc=no
9727   hardcode_direct=no
9728   hardcode_automatic=yes
9729   hardcode_shlibpath_var=unsupported
9730   if test "$lt_cv_ld_force_load" = "yes"; then
9731     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\"`'
9732
9733   else
9734     whole_archive_flag_spec=''
9735   fi
9736   link_all_deplibs=yes
9737   allow_undefined_flag="$_lt_dar_allow_undefined"
9738   case $cc_basename in
9739      ifort*) _lt_dar_can_shared=yes ;;
9740      *) _lt_dar_can_shared=$GCC ;;
9741   esac
9742   if test "$_lt_dar_can_shared" = "yes"; then
9743     output_verbose_link_cmd=func_echo_all
9744     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9745     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9746     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}"
9747     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}"
9748
9749   else
9750   ld_shlibs=no
9751   fi
9752
9753       ;;
9754
9755     dgux*)
9756       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9757       hardcode_libdir_flag_spec='-L$libdir'
9758       hardcode_shlibpath_var=no
9759       ;;
9760
9761     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9762     # support.  Future versions do this automatically, but an explicit c++rt0.o
9763     # does not break anything, and helps significantly (at the cost of a little
9764     # extra space).
9765     freebsd2.2*)
9766       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9767       hardcode_libdir_flag_spec='-R$libdir'
9768       hardcode_direct=yes
9769       hardcode_shlibpath_var=no
9770       ;;
9771
9772     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9773     freebsd2.*)
9774       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9775       hardcode_direct=yes
9776       hardcode_minus_L=yes
9777       hardcode_shlibpath_var=no
9778       ;;
9779
9780     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9781     freebsd* | dragonfly*)
9782       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9783       hardcode_libdir_flag_spec='-R$libdir'
9784       hardcode_direct=yes
9785       hardcode_shlibpath_var=no
9786       ;;
9787
9788     hpux9*)
9789       if test "$GCC" = yes; then
9790         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'
9791       else
9792         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'
9793       fi
9794       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9795       hardcode_libdir_separator=:
9796       hardcode_direct=yes
9797
9798       # hardcode_minus_L: Not really in the search PATH,
9799       # but as the default location of the library.
9800       hardcode_minus_L=yes
9801       export_dynamic_flag_spec='${wl}-E'
9802       ;;
9803
9804     hpux10*)
9805       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9806         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9807       else
9808         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9809       fi
9810       if test "$with_gnu_ld" = no; then
9811         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9812         hardcode_libdir_separator=:
9813         hardcode_direct=yes
9814         hardcode_direct_absolute=yes
9815         export_dynamic_flag_spec='${wl}-E'
9816         # hardcode_minus_L: Not really in the search PATH,
9817         # but as the default location of the library.
9818         hardcode_minus_L=yes
9819       fi
9820       ;;
9821
9822     hpux11*)
9823       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9824         case $host_cpu in
9825         hppa*64*)
9826           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9827           ;;
9828         ia64*)
9829           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9830           ;;
9831         *)
9832           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9833           ;;
9834         esac
9835       else
9836         case $host_cpu in
9837         hppa*64*)
9838           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9839           ;;
9840         ia64*)
9841           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9842           ;;
9843         *)
9844
9845           # Older versions of the 11.00 compiler do not understand -b yet
9846           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9847           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9848 $as_echo_n "checking if $CC understands -b... " >&6; }
9849 if ${lt_cv_prog_compiler__b+:} false; then :
9850   $as_echo_n "(cached) " >&6
9851 else
9852   lt_cv_prog_compiler__b=no
9853    save_LDFLAGS="$LDFLAGS"
9854    LDFLAGS="$LDFLAGS -b"
9855    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9856    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9857      # The linker can only warn and ignore the option if not recognized
9858      # So say no if there are warnings
9859      if test -s conftest.err; then
9860        # Append any errors to the config.log.
9861        cat conftest.err 1>&5
9862        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9863        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9864        if diff conftest.exp conftest.er2 >/dev/null; then
9865          lt_cv_prog_compiler__b=yes
9866        fi
9867      else
9868        lt_cv_prog_compiler__b=yes
9869      fi
9870    fi
9871    $RM -r conftest*
9872    LDFLAGS="$save_LDFLAGS"
9873
9874 fi
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9876 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9877
9878 if test x"$lt_cv_prog_compiler__b" = xyes; then
9879     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9880 else
9881     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9882 fi
9883
9884           ;;
9885         esac
9886       fi
9887       if test "$with_gnu_ld" = no; then
9888         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9889         hardcode_libdir_separator=:
9890
9891         case $host_cpu in
9892         hppa*64*|ia64*)
9893           hardcode_direct=no
9894           hardcode_shlibpath_var=no
9895           ;;
9896         *)
9897           hardcode_direct=yes
9898           hardcode_direct_absolute=yes
9899           export_dynamic_flag_spec='${wl}-E'
9900
9901           # hardcode_minus_L: Not really in the search PATH,
9902           # but as the default location of the library.
9903           hardcode_minus_L=yes
9904           ;;
9905         esac
9906       fi
9907       ;;
9908
9909     irix5* | irix6* | nonstopux*)
9910       if test "$GCC" = yes; then
9911         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'
9912         # Try to use the -exported_symbol ld option, if it does not
9913         # work, assume that -exports_file does not work either and
9914         # implicitly export all symbols.
9915         # This should be the same for all languages, so no per-tag cache variable.
9916         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9917 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9918 if ${lt_cv_irix_exported_symbol+:} false; then :
9919   $as_echo_n "(cached) " >&6
9920 else
9921   save_LDFLAGS="$LDFLAGS"
9922            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9923            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9924 /* end confdefs.h.  */
9925 int foo (void) { return 0; }
9926 _ACEOF
9927 if ac_fn_c_try_link "$LINENO"; then :
9928   lt_cv_irix_exported_symbol=yes
9929 else
9930   lt_cv_irix_exported_symbol=no
9931 fi
9932 rm -f core conftest.err conftest.$ac_objext \
9933     conftest$ac_exeext conftest.$ac_ext
9934            LDFLAGS="$save_LDFLAGS"
9935 fi
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9937 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9938         if test "$lt_cv_irix_exported_symbol" = yes; then
9939           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'
9940         fi
9941       else
9942         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'
9943         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'
9944       fi
9945       archive_cmds_need_lc='no'
9946       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9947       hardcode_libdir_separator=:
9948       inherit_rpath=yes
9949       link_all_deplibs=yes
9950       ;;
9951
9952     netbsd*)
9953       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9954         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9955       else
9956         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9957       fi
9958       hardcode_libdir_flag_spec='-R$libdir'
9959       hardcode_direct=yes
9960       hardcode_shlibpath_var=no
9961       ;;
9962
9963     newsos6)
9964       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9965       hardcode_direct=yes
9966       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9967       hardcode_libdir_separator=:
9968       hardcode_shlibpath_var=no
9969       ;;
9970
9971     *nto* | *qnx*)
9972       ;;
9973
9974     openbsd*)
9975       if test -f /usr/libexec/ld.so; then
9976         hardcode_direct=yes
9977         hardcode_shlibpath_var=no
9978         hardcode_direct_absolute=yes
9979         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9980           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9981           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9982           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9983           export_dynamic_flag_spec='${wl}-E'
9984         else
9985           case $host_os in
9986            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9987              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9988              hardcode_libdir_flag_spec='-R$libdir'
9989              ;;
9990            *)
9991              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9992              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9993              ;;
9994           esac
9995         fi
9996       else
9997         ld_shlibs=no
9998       fi
9999       ;;
10000
10001     os2*)
10002       hardcode_libdir_flag_spec='-L$libdir'
10003       hardcode_minus_L=yes
10004       allow_undefined_flag=unsupported
10005       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'
10006       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10007       ;;
10008
10009     osf3*)
10010       if test "$GCC" = yes; then
10011         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10012         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'
10013       else
10014         allow_undefined_flag=' -expect_unresolved \*'
10015         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'
10016       fi
10017       archive_cmds_need_lc='no'
10018       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10019       hardcode_libdir_separator=:
10020       ;;
10021
10022     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10023       if test "$GCC" = yes; then
10024         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10025         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'
10026         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10027       else
10028         allow_undefined_flag=' -expect_unresolved \*'
10029         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'
10030         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~
10031         $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'
10032
10033         # Both c and cxx compiler support -rpath directly
10034         hardcode_libdir_flag_spec='-rpath $libdir'
10035       fi
10036       archive_cmds_need_lc='no'
10037       hardcode_libdir_separator=:
10038       ;;
10039
10040     solaris*)
10041       no_undefined_flag=' -z defs'
10042       if test "$GCC" = yes; then
10043         wlarc='${wl}'
10044         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10045         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10046           $CC -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'
10047       else
10048         case `$CC -V 2>&1` in
10049         *"Compilers 5.0"*)
10050           wlarc=''
10051           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10052           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10053           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10054           ;;
10055         *)
10056           wlarc='${wl}'
10057           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10058           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10059           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10060           ;;
10061         esac
10062       fi
10063       hardcode_libdir_flag_spec='-R$libdir'
10064       hardcode_shlibpath_var=no
10065       case $host_os in
10066       solaris2.[0-5] | solaris2.[0-5].*) ;;
10067       *)
10068         # The compiler driver will combine and reorder linker options,
10069         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10070         # but is careful enough not to reorder.
10071         # Supported since Solaris 2.6 (maybe 2.5.1?)
10072         if test "$GCC" = yes; then
10073           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10074         else
10075           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10076         fi
10077         ;;
10078       esac
10079       link_all_deplibs=yes
10080       ;;
10081
10082     sunos4*)
10083       if test "x$host_vendor" = xsequent; then
10084         # Use $CC to link under sequent, because it throws in some extra .o
10085         # files that make .init and .fini sections work.
10086         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10087       else
10088         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10089       fi
10090       hardcode_libdir_flag_spec='-L$libdir'
10091       hardcode_direct=yes
10092       hardcode_minus_L=yes
10093       hardcode_shlibpath_var=no
10094       ;;
10095
10096     sysv4)
10097       case $host_vendor in
10098         sni)
10099           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10100           hardcode_direct=yes # is this really true???
10101         ;;
10102         siemens)
10103           ## LD is ld it makes a PLAMLIB
10104           ## CC just makes a GrossModule.
10105           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10106           reload_cmds='$CC -r -o $output$reload_objs'
10107           hardcode_direct=no
10108         ;;
10109         motorola)
10110           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10111           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10112         ;;
10113       esac
10114       runpath_var='LD_RUN_PATH'
10115       hardcode_shlibpath_var=no
10116       ;;
10117
10118     sysv4.3*)
10119       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10120       hardcode_shlibpath_var=no
10121       export_dynamic_flag_spec='-Bexport'
10122       ;;
10123
10124     sysv4*MP*)
10125       if test -d /usr/nec; then
10126         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10127         hardcode_shlibpath_var=no
10128         runpath_var=LD_RUN_PATH
10129         hardcode_runpath_var=yes
10130         ld_shlibs=yes
10131       fi
10132       ;;
10133
10134     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10135       no_undefined_flag='${wl}-z,text'
10136       archive_cmds_need_lc=no
10137       hardcode_shlibpath_var=no
10138       runpath_var='LD_RUN_PATH'
10139
10140       if test "$GCC" = yes; then
10141         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10142         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10143       else
10144         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10145         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10146       fi
10147       ;;
10148
10149     sysv5* | sco3.2v5* | sco5v6*)
10150       # Note: We can NOT use -z defs as we might desire, because we do not
10151       # link with -lc, and that would cause any symbols used from libc to
10152       # always be unresolved, which means just about no library would
10153       # ever link correctly.  If we're not using GNU ld we use -z text
10154       # though, which does catch some bad symbols but isn't as heavy-handed
10155       # as -z defs.
10156       no_undefined_flag='${wl}-z,text'
10157       allow_undefined_flag='${wl}-z,nodefs'
10158       archive_cmds_need_lc=no
10159       hardcode_shlibpath_var=no
10160       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10161       hardcode_libdir_separator=':'
10162       link_all_deplibs=yes
10163       export_dynamic_flag_spec='${wl}-Bexport'
10164       runpath_var='LD_RUN_PATH'
10165
10166       if test "$GCC" = yes; then
10167         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10168         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10169       else
10170         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10171         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10172       fi
10173       ;;
10174
10175     uts4*)
10176       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10177       hardcode_libdir_flag_spec='-L$libdir'
10178       hardcode_shlibpath_var=no
10179       ;;
10180
10181     *)
10182       ld_shlibs=no
10183       ;;
10184     esac
10185
10186     if test x$host_vendor = xsni; then
10187       case $host in
10188       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10189         export_dynamic_flag_spec='${wl}-Blargedynsym'
10190         ;;
10191       esac
10192     fi
10193   fi
10194
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10196 $as_echo "$ld_shlibs" >&6; }
10197 test "$ld_shlibs" = no && can_build_shared=no
10198
10199 with_gnu_ld=$with_gnu_ld
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215 #
10216 # Do we need to explicitly link libc?
10217 #
10218 case "x$archive_cmds_need_lc" in
10219 x|xyes)
10220   # Assume -lc should be added
10221   archive_cmds_need_lc=yes
10222
10223   if test "$enable_shared" = yes && test "$GCC" = yes; then
10224     case $archive_cmds in
10225     *'~'*)
10226       # FIXME: we may have to deal with multi-command sequences.
10227       ;;
10228     '$CC '*)
10229       # Test whether the compiler implicitly links with -lc since on some
10230       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10231       # to ld, don't add -lc before -lgcc.
10232       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10233 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10234 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10235   $as_echo_n "(cached) " >&6
10236 else
10237   $RM conftest*
10238         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10239
10240         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10241   (eval $ac_compile) 2>&5
10242   ac_status=$?
10243   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10244   test $ac_status = 0; } 2>conftest.err; then
10245           soname=conftest
10246           lib=conftest
10247           libobjs=conftest.$ac_objext
10248           deplibs=
10249           wl=$lt_prog_compiler_wl
10250           pic_flag=$lt_prog_compiler_pic
10251           compiler_flags=-v
10252           linker_flags=-v
10253           verstring=
10254           output_objdir=.
10255           libname=conftest
10256           lt_save_allow_undefined_flag=$allow_undefined_flag
10257           allow_undefined_flag=
10258           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10259   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10260   ac_status=$?
10261   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10262   test $ac_status = 0; }
10263           then
10264             lt_cv_archive_cmds_need_lc=no
10265           else
10266             lt_cv_archive_cmds_need_lc=yes
10267           fi
10268           allow_undefined_flag=$lt_save_allow_undefined_flag
10269         else
10270           cat conftest.err 1>&5
10271         fi
10272         $RM conftest*
10273
10274 fi
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10276 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10277       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10278       ;;
10279     esac
10280   fi
10281   ;;
10282 esac
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10436 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10437
10438 if test "$GCC" = yes; then
10439   case $host_os in
10440     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10441     *) lt_awk_arg="/^libraries:/" ;;
10442   esac
10443   case $host_os in
10444     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10445     *) lt_sed_strip_eq="s,=/,/,g" ;;
10446   esac
10447   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10448   case $lt_search_path_spec in
10449   *\;*)
10450     # if the path contains ";" then we assume it to be the separator
10451     # otherwise default to the standard path separator (i.e. ":") - it is
10452     # assumed that no part of a normal pathname contains ";" but that should
10453     # okay in the real world where ";" in dirpaths is itself problematic.
10454     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10455     ;;
10456   *)
10457     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10458     ;;
10459   esac
10460   # Ok, now we have the path, separated by spaces, we can step through it
10461   # and add multilib dir if necessary.
10462   lt_tmp_lt_search_path_spec=
10463   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10464   for lt_sys_path in $lt_search_path_spec; do
10465     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10466       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10467     else
10468       test -d "$lt_sys_path" && \
10469         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10470     fi
10471   done
10472   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10473 BEGIN {RS=" "; FS="/|\n";} {
10474   lt_foo="";
10475   lt_count=0;
10476   for (lt_i = NF; lt_i > 0; lt_i--) {
10477     if ($lt_i != "" && $lt_i != ".") {
10478       if ($lt_i == "..") {
10479         lt_count++;
10480       } else {
10481         if (lt_count == 0) {
10482           lt_foo="/" $lt_i lt_foo;
10483         } else {
10484           lt_count--;
10485         }
10486       }
10487     }
10488   }
10489   if (lt_foo != "") { lt_freq[lt_foo]++; }
10490   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10491 }'`
10492   # AWK program above erroneously prepends '/' to C:/dos/paths
10493   # for these hosts.
10494   case $host_os in
10495     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10496       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10497   esac
10498   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10499 else
10500   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10501 fi
10502 library_names_spec=
10503 libname_spec='lib$name'
10504 soname_spec=
10505 shrext_cmds=".so"
10506 postinstall_cmds=
10507 postuninstall_cmds=
10508 finish_cmds=
10509 finish_eval=
10510 shlibpath_var=
10511 shlibpath_overrides_runpath=unknown
10512 version_type=none
10513 dynamic_linker="$host_os ld.so"
10514 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10515 need_lib_prefix=unknown
10516 hardcode_into_libs=no
10517
10518 # when you set need_version to no, make sure it does not cause -set_version
10519 # flags to be left without arguments
10520 need_version=unknown
10521
10522 case $host_os in
10523 aix3*)
10524   version_type=linux # correct to gnu/linux during the next big refactor
10525   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10526   shlibpath_var=LIBPATH
10527
10528   # AIX 3 has no versioning support, so we append a major version to the name.
10529   soname_spec='${libname}${release}${shared_ext}$major'
10530   ;;
10531
10532 aix[4-9]*)
10533   version_type=linux # correct to gnu/linux during the next big refactor
10534   need_lib_prefix=no
10535   need_version=no
10536   hardcode_into_libs=yes
10537   if test "$host_cpu" = ia64; then
10538     # AIX 5 supports IA64
10539     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10540     shlibpath_var=LD_LIBRARY_PATH
10541   else
10542     # With GCC up to 2.95.x, collect2 would create an import file
10543     # for dependence libraries.  The import file would start with
10544     # the line `#! .'.  This would cause the generated library to
10545     # depend on `.', always an invalid library.  This was fixed in
10546     # development snapshots of GCC prior to 3.0.
10547     case $host_os in
10548       aix4 | aix4.[01] | aix4.[01].*)
10549       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10550            echo ' yes '
10551            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10552         :
10553       else
10554         can_build_shared=no
10555       fi
10556       ;;
10557     esac
10558     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10559     # soname into executable. Probably we can add versioning support to
10560     # collect2, so additional links can be useful in future.
10561     if test "$aix_use_runtimelinking" = yes; then
10562       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10563       # instead of lib<name>.a to let people know that these are not
10564       # typical AIX shared libraries.
10565       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10566     else
10567       # We preserve .a as extension for shared libraries through AIX4.2
10568       # and later when we are not doing run time linking.
10569       library_names_spec='${libname}${release}.a $libname.a'
10570       soname_spec='${libname}${release}${shared_ext}$major'
10571     fi
10572     shlibpath_var=LIBPATH
10573   fi
10574   ;;
10575
10576 amigaos*)
10577   case $host_cpu in
10578   powerpc)
10579     # Since July 2007 AmigaOS4 officially supports .so libraries.
10580     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10581     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10582     ;;
10583   m68k)
10584     library_names_spec='$libname.ixlibrary $libname.a'
10585     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10586     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'
10587     ;;
10588   esac
10589   ;;
10590
10591 beos*)
10592   library_names_spec='${libname}${shared_ext}'
10593   dynamic_linker="$host_os ld.so"
10594   shlibpath_var=LIBRARY_PATH
10595   ;;
10596
10597 bsdi[45]*)
10598   version_type=linux # correct to gnu/linux during the next big refactor
10599   need_version=no
10600   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10601   soname_spec='${libname}${release}${shared_ext}$major'
10602   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10603   shlibpath_var=LD_LIBRARY_PATH
10604   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10605   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10606   # the default ld.so.conf also contains /usr/contrib/lib and
10607   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10608   # libtool to hard-code these into programs
10609   ;;
10610
10611 cygwin* | mingw* | pw32* | cegcc*)
10612   version_type=windows
10613   shrext_cmds=".dll"
10614   need_version=no
10615   need_lib_prefix=no
10616
10617   case $GCC,$cc_basename in
10618   yes,*)
10619     # gcc
10620     library_names_spec='$libname.dll.a'
10621     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10622     postinstall_cmds='base_file=`basename \${file}`~
10623       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10624       dldir=$destdir/`dirname \$dlpath`~
10625       test -d \$dldir || mkdir -p \$dldir~
10626       $install_prog $dir/$dlname \$dldir/$dlname~
10627       chmod a+x \$dldir/$dlname~
10628       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10629         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10630       fi'
10631     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10632       dlpath=$dir/\$dldll~
10633        $RM \$dlpath'
10634     shlibpath_overrides_runpath=yes
10635
10636     case $host_os in
10637     cygwin*)
10638       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10639       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10640
10641       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10642       ;;
10643     mingw* | cegcc*)
10644       # MinGW DLLs use traditional 'lib' prefix
10645       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10646       ;;
10647     pw32*)
10648       # pw32 DLLs use 'pw' prefix rather than 'lib'
10649       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10650       ;;
10651     esac
10652     dynamic_linker='Win32 ld.exe'
10653     ;;
10654
10655   *,cl*)
10656     # Native MSVC
10657     libname_spec='$name'
10658     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10659     library_names_spec='${libname}.dll.lib'
10660
10661     case $build_os in
10662     mingw*)
10663       sys_lib_search_path_spec=
10664       lt_save_ifs=$IFS
10665       IFS=';'
10666       for lt_path in $LIB
10667       do
10668         IFS=$lt_save_ifs
10669         # Let DOS variable expansion print the short 8.3 style file name.
10670         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10671         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10672       done
10673       IFS=$lt_save_ifs
10674       # Convert to MSYS style.
10675       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10676       ;;
10677     cygwin*)
10678       # Convert to unix form, then to dos form, then back to unix form
10679       # but this time dos style (no spaces!) so that the unix form looks
10680       # like /cygdrive/c/PROGRA~1:/cygdr...
10681       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10682       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10683       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10684       ;;
10685     *)
10686       sys_lib_search_path_spec="$LIB"
10687       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10688         # It is most probably a Windows format PATH.
10689         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10690       else
10691         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10692       fi
10693       # FIXME: find the short name or the path components, as spaces are
10694       # common. (e.g. "Program Files" -> "PROGRA~1")
10695       ;;
10696     esac
10697
10698     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10699     postinstall_cmds='base_file=`basename \${file}`~
10700       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10701       dldir=$destdir/`dirname \$dlpath`~
10702       test -d \$dldir || mkdir -p \$dldir~
10703       $install_prog $dir/$dlname \$dldir/$dlname'
10704     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10705       dlpath=$dir/\$dldll~
10706        $RM \$dlpath'
10707     shlibpath_overrides_runpath=yes
10708     dynamic_linker='Win32 link.exe'
10709     ;;
10710
10711   *)
10712     # Assume MSVC wrapper
10713     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10714     dynamic_linker='Win32 ld.exe'
10715     ;;
10716   esac
10717   # FIXME: first we should search . and the directory the executable is in
10718   shlibpath_var=PATH
10719   ;;
10720
10721 darwin* | rhapsody*)
10722   dynamic_linker="$host_os dyld"
10723   version_type=darwin
10724   need_lib_prefix=no
10725   need_version=no
10726   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10727   soname_spec='${libname}${release}${major}$shared_ext'
10728   shlibpath_overrides_runpath=yes
10729   shlibpath_var=DYLD_LIBRARY_PATH
10730   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10731
10732   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10733   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10734   ;;
10735
10736 dgux*)
10737   version_type=linux # correct to gnu/linux during the next big refactor
10738   need_lib_prefix=no
10739   need_version=no
10740   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10741   soname_spec='${libname}${release}${shared_ext}$major'
10742   shlibpath_var=LD_LIBRARY_PATH
10743   ;;
10744
10745 freebsd* | dragonfly*)
10746   # DragonFly does not have aout.  When/if they implement a new
10747   # versioning mechanism, adjust this.
10748   if test -x /usr/bin/objformat; then
10749     objformat=`/usr/bin/objformat`
10750   else
10751     case $host_os in
10752     freebsd[23].*) objformat=aout ;;
10753     *) objformat=elf ;;
10754     esac
10755   fi
10756   version_type=freebsd-$objformat
10757   case $version_type in
10758     freebsd-elf*)
10759       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10760       need_version=no
10761       need_lib_prefix=no
10762       ;;
10763     freebsd-*)
10764       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10765       need_version=yes
10766       ;;
10767   esac
10768   shlibpath_var=LD_LIBRARY_PATH
10769   case $host_os in
10770   freebsd2.*)
10771     shlibpath_overrides_runpath=yes
10772     ;;
10773   freebsd3.[01]* | freebsdelf3.[01]*)
10774     shlibpath_overrides_runpath=yes
10775     hardcode_into_libs=yes
10776     ;;
10777   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10778   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10779     shlibpath_overrides_runpath=no
10780     hardcode_into_libs=yes
10781     ;;
10782   *) # from 4.6 on, and DragonFly
10783     shlibpath_overrides_runpath=yes
10784     hardcode_into_libs=yes
10785     ;;
10786   esac
10787   ;;
10788
10789 gnu*)
10790   version_type=linux # correct to gnu/linux during the next big refactor
10791   need_lib_prefix=no
10792   need_version=no
10793   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10794   soname_spec='${libname}${release}${shared_ext}$major'
10795   shlibpath_var=LD_LIBRARY_PATH
10796   shlibpath_overrides_runpath=no
10797   hardcode_into_libs=yes
10798   ;;
10799
10800 haiku*)
10801   version_type=linux # correct to gnu/linux during the next big refactor
10802   need_lib_prefix=no
10803   need_version=no
10804   dynamic_linker="$host_os runtime_loader"
10805   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10806   soname_spec='${libname}${release}${shared_ext}$major'
10807   shlibpath_var=LIBRARY_PATH
10808   shlibpath_overrides_runpath=yes
10809   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10810   hardcode_into_libs=yes
10811   ;;
10812
10813 hpux9* | hpux10* | hpux11*)
10814   # Give a soname corresponding to the major version so that dld.sl refuses to
10815   # link against other versions.
10816   version_type=sunos
10817   need_lib_prefix=no
10818   need_version=no
10819   case $host_cpu in
10820   ia64*)
10821     shrext_cmds='.so'
10822     hardcode_into_libs=yes
10823     dynamic_linker="$host_os dld.so"
10824     shlibpath_var=LD_LIBRARY_PATH
10825     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10826     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10827     soname_spec='${libname}${release}${shared_ext}$major'
10828     if test "X$HPUX_IA64_MODE" = X32; then
10829       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10830     else
10831       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10832     fi
10833     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10834     ;;
10835   hppa*64*)
10836     shrext_cmds='.sl'
10837     hardcode_into_libs=yes
10838     dynamic_linker="$host_os dld.sl"
10839     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10840     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10841     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10842     soname_spec='${libname}${release}${shared_ext}$major'
10843     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10844     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10845     ;;
10846   *)
10847     shrext_cmds='.sl'
10848     dynamic_linker="$host_os dld.sl"
10849     shlibpath_var=SHLIB_PATH
10850     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10851     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10852     soname_spec='${libname}${release}${shared_ext}$major'
10853     ;;
10854   esac
10855   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10856   postinstall_cmds='chmod 555 $lib'
10857   # or fails outright, so override atomically:
10858   install_override_mode=555
10859   ;;
10860
10861 interix[3-9]*)
10862   version_type=linux # correct to gnu/linux during the next big refactor
10863   need_lib_prefix=no
10864   need_version=no
10865   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10866   soname_spec='${libname}${release}${shared_ext}$major'
10867   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10868   shlibpath_var=LD_LIBRARY_PATH
10869   shlibpath_overrides_runpath=no
10870   hardcode_into_libs=yes
10871   ;;
10872
10873 irix5* | irix6* | nonstopux*)
10874   case $host_os in
10875     nonstopux*) version_type=nonstopux ;;
10876     *)
10877         if test "$lt_cv_prog_gnu_ld" = yes; then
10878                 version_type=linux # correct to gnu/linux during the next big refactor
10879         else
10880                 version_type=irix
10881         fi ;;
10882   esac
10883   need_lib_prefix=no
10884   need_version=no
10885   soname_spec='${libname}${release}${shared_ext}$major'
10886   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10887   case $host_os in
10888   irix5* | nonstopux*)
10889     libsuff= shlibsuff=
10890     ;;
10891   *)
10892     case $LD in # libtool.m4 will add one of these switches to LD
10893     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10894       libsuff= shlibsuff= libmagic=32-bit;;
10895     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10896       libsuff=32 shlibsuff=N32 libmagic=N32;;
10897     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10898       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10899     *) libsuff= shlibsuff= libmagic=never-match;;
10900     esac
10901     ;;
10902   esac
10903   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10904   shlibpath_overrides_runpath=no
10905   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10906   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10907   hardcode_into_libs=yes
10908   ;;
10909
10910 # No shared lib support for Linux oldld, aout, or coff.
10911 linux*oldld* | linux*aout* | linux*coff*)
10912   dynamic_linker=no
10913   ;;
10914
10915 # This must be glibc/ELF.
10916 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10917   version_type=linux # correct to gnu/linux during the next big refactor
10918   need_lib_prefix=no
10919   need_version=no
10920   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10921   soname_spec='${libname}${release}${shared_ext}$major'
10922   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10923   shlibpath_var=LD_LIBRARY_PATH
10924   shlibpath_overrides_runpath=no
10925
10926   # Some binutils ld are patched to set DT_RUNPATH
10927   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10928   $as_echo_n "(cached) " >&6
10929 else
10930   lt_cv_shlibpath_overrides_runpath=no
10931     save_LDFLAGS=$LDFLAGS
10932     save_libdir=$libdir
10933     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10934          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10935     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10936 /* end confdefs.h.  */
10937
10938 int
10939 main ()
10940 {
10941
10942   ;
10943   return 0;
10944 }
10945 _ACEOF
10946 if ac_fn_c_try_link "$LINENO"; then :
10947   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10948   lt_cv_shlibpath_overrides_runpath=yes
10949 fi
10950 fi
10951 rm -f core conftest.err conftest.$ac_objext \
10952     conftest$ac_exeext conftest.$ac_ext
10953     LDFLAGS=$save_LDFLAGS
10954     libdir=$save_libdir
10955
10956 fi
10957
10958   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10959
10960   # This implies no fast_install, which is unacceptable.
10961   # Some rework will be needed to allow for fast_install
10962   # before this can be enabled.
10963   hardcode_into_libs=yes
10964
10965   # Add ABI-specific directories to the system library path.
10966   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10967
10968   # Append ld.so.conf contents to the search path
10969   if test -f /etc/ld.so.conf; then
10970     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' ' '`
10971     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10972
10973   fi
10974
10975   # We used to test for /lib/ld.so.1 and disable shared libraries on
10976   # powerpc, because MkLinux only supported shared libraries with the
10977   # GNU dynamic linker.  Since this was broken with cross compilers,
10978   # most powerpc-linux boxes support dynamic linking these days and
10979   # people can always --disable-shared, the test was removed, and we
10980   # assume the GNU/Linux dynamic linker is in use.
10981   dynamic_linker='GNU/Linux ld.so'
10982   ;;
10983
10984 netbsd*)
10985   version_type=sunos
10986   need_lib_prefix=no
10987   need_version=no
10988   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10989     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10990     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10991     dynamic_linker='NetBSD (a.out) ld.so'
10992   else
10993     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10994     soname_spec='${libname}${release}${shared_ext}$major'
10995     dynamic_linker='NetBSD ld.elf_so'
10996   fi
10997   shlibpath_var=LD_LIBRARY_PATH
10998   shlibpath_overrides_runpath=yes
10999   hardcode_into_libs=yes
11000   ;;
11001
11002 newsos6)
11003   version_type=linux # correct to gnu/linux during the next big refactor
11004   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11005   shlibpath_var=LD_LIBRARY_PATH
11006   shlibpath_overrides_runpath=yes
11007   ;;
11008
11009 *nto* | *qnx*)
11010   version_type=qnx
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=no
11017   hardcode_into_libs=yes
11018   dynamic_linker='ldqnx.so'
11019   ;;
11020
11021 openbsd*)
11022   version_type=sunos
11023   sys_lib_dlsearch_path_spec="/usr/lib"
11024   need_lib_prefix=no
11025   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11026   case $host_os in
11027     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11028     *)                          need_version=no  ;;
11029   esac
11030   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11031   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11032   shlibpath_var=LD_LIBRARY_PATH
11033   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11034     case $host_os in
11035       openbsd2.[89] | openbsd2.[89].*)
11036         shlibpath_overrides_runpath=no
11037         ;;
11038       *)
11039         shlibpath_overrides_runpath=yes
11040         ;;
11041       esac
11042   else
11043     shlibpath_overrides_runpath=yes
11044   fi
11045   ;;
11046
11047 os2*)
11048   libname_spec='$name'
11049   shrext_cmds=".dll"
11050   need_lib_prefix=no
11051   library_names_spec='$libname${shared_ext} $libname.a'
11052   dynamic_linker='OS/2 ld.exe'
11053   shlibpath_var=LIBPATH
11054   ;;
11055
11056 osf3* | osf4* | osf5*)
11057   version_type=osf
11058   need_lib_prefix=no
11059   need_version=no
11060   soname_spec='${libname}${release}${shared_ext}$major'
11061   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11062   shlibpath_var=LD_LIBRARY_PATH
11063   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11064   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11065   ;;
11066
11067 rdos*)
11068   dynamic_linker=no
11069   ;;
11070
11071 solaris*)
11072   version_type=linux # correct to gnu/linux during the next big refactor
11073   need_lib_prefix=no
11074   need_version=no
11075   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11076   soname_spec='${libname}${release}${shared_ext}$major'
11077   shlibpath_var=LD_LIBRARY_PATH
11078   shlibpath_overrides_runpath=yes
11079   hardcode_into_libs=yes
11080   # ldd complains unless libraries are executable
11081   postinstall_cmds='chmod +x $lib'
11082   ;;
11083
11084 sunos4*)
11085   version_type=sunos
11086   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11087   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11088   shlibpath_var=LD_LIBRARY_PATH
11089   shlibpath_overrides_runpath=yes
11090   if test "$with_gnu_ld" = yes; then
11091     need_lib_prefix=no
11092   fi
11093   need_version=yes
11094   ;;
11095
11096 sysv4 | sysv4.3*)
11097   version_type=linux # correct to gnu/linux during the next big refactor
11098   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11099   soname_spec='${libname}${release}${shared_ext}$major'
11100   shlibpath_var=LD_LIBRARY_PATH
11101   case $host_vendor in
11102     sni)
11103       shlibpath_overrides_runpath=no
11104       need_lib_prefix=no
11105       runpath_var=LD_RUN_PATH
11106       ;;
11107     siemens)
11108       need_lib_prefix=no
11109       ;;
11110     motorola)
11111       need_lib_prefix=no
11112       need_version=no
11113       shlibpath_overrides_runpath=no
11114       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11115       ;;
11116   esac
11117   ;;
11118
11119 sysv4*MP*)
11120   if test -d /usr/nec ;then
11121     version_type=linux # correct to gnu/linux during the next big refactor
11122     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11123     soname_spec='$libname${shared_ext}.$major'
11124     shlibpath_var=LD_LIBRARY_PATH
11125   fi
11126   ;;
11127
11128 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11129   version_type=freebsd-elf
11130   need_lib_prefix=no
11131   need_version=no
11132   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11133   soname_spec='${libname}${release}${shared_ext}$major'
11134   shlibpath_var=LD_LIBRARY_PATH
11135   shlibpath_overrides_runpath=yes
11136   hardcode_into_libs=yes
11137   if test "$with_gnu_ld" = yes; then
11138     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11139   else
11140     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11141     case $host_os in
11142       sco3.2v5*)
11143         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11144         ;;
11145     esac
11146   fi
11147   sys_lib_dlsearch_path_spec='/usr/lib'
11148   ;;
11149
11150 tpf*)
11151   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11152   version_type=linux # correct to gnu/linux during the next big refactor
11153   need_lib_prefix=no
11154   need_version=no
11155   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11156   shlibpath_var=LD_LIBRARY_PATH
11157   shlibpath_overrides_runpath=no
11158   hardcode_into_libs=yes
11159   ;;
11160
11161 uts4*)
11162   version_type=linux # correct to gnu/linux during the next big refactor
11163   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11164   soname_spec='${libname}${release}${shared_ext}$major'
11165   shlibpath_var=LD_LIBRARY_PATH
11166   ;;
11167
11168 *)
11169   dynamic_linker=no
11170   ;;
11171 esac
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11173 $as_echo "$dynamic_linker" >&6; }
11174 test "$dynamic_linker" = no && can_build_shared=no
11175
11176 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11177 if test "$GCC" = yes; then
11178   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11179 fi
11180
11181 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11182   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11183 fi
11184 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11185   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11186 fi
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11280 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11281 hardcode_action=
11282 if test -n "$hardcode_libdir_flag_spec" ||
11283    test -n "$runpath_var" ||
11284    test "X$hardcode_automatic" = "Xyes" ; then
11285
11286   # We can hardcode non-existent directories.
11287   if test "$hardcode_direct" != no &&
11288      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11289      # have to relink, otherwise we might link with an installed library
11290      # when we should be linking with a yet-to-be-installed one
11291      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11292      test "$hardcode_minus_L" != no; then
11293     # Linking always hardcodes the temporary library directory.
11294     hardcode_action=relink
11295   else
11296     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11297     hardcode_action=immediate
11298   fi
11299 else
11300   # We cannot hardcode anything, or else we can only hardcode existing
11301   # directories.
11302   hardcode_action=unsupported
11303 fi
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11305 $as_echo "$hardcode_action" >&6; }
11306
11307 if test "$hardcode_action" = relink ||
11308    test "$inherit_rpath" = yes; then
11309   # Fast installation is not supported
11310   enable_fast_install=no
11311 elif test "$shlibpath_overrides_runpath" = yes ||
11312      test "$enable_shared" = no; then
11313   # Fast installation is not necessary
11314   enable_fast_install=needless
11315 fi
11316
11317
11318
11319
11320
11321
11322   if test "x$enable_dlopen" != xyes; then
11323   enable_dlopen=unknown
11324   enable_dlopen_self=unknown
11325   enable_dlopen_self_static=unknown
11326 else
11327   lt_cv_dlopen=no
11328   lt_cv_dlopen_libs=
11329
11330   case $host_os in
11331   beos*)
11332     lt_cv_dlopen="load_add_on"
11333     lt_cv_dlopen_libs=
11334     lt_cv_dlopen_self=yes
11335     ;;
11336
11337   mingw* | pw32* | cegcc*)
11338     lt_cv_dlopen="LoadLibrary"
11339     lt_cv_dlopen_libs=
11340     ;;
11341
11342   cygwin*)
11343     lt_cv_dlopen="dlopen"
11344     lt_cv_dlopen_libs=
11345     ;;
11346
11347   darwin*)
11348   # if libdl is installed we need to link against it
11349     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11350 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11351 if ${ac_cv_lib_dl_dlopen+:} false; then :
11352   $as_echo_n "(cached) " >&6
11353 else
11354   ac_check_lib_save_LIBS=$LIBS
11355 LIBS="-ldl  $LIBS"
11356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11357 /* end confdefs.h.  */
11358
11359 /* Override any GCC internal prototype to avoid an error.
11360    Use char because int might match the return type of a GCC
11361    builtin and then its argument prototype would still apply.  */
11362 #ifdef __cplusplus
11363 extern "C"
11364 #endif
11365 char dlopen ();
11366 int
11367 main ()
11368 {
11369 return dlopen ();
11370   ;
11371   return 0;
11372 }
11373 _ACEOF
11374 if ac_fn_c_try_link "$LINENO"; then :
11375   ac_cv_lib_dl_dlopen=yes
11376 else
11377   ac_cv_lib_dl_dlopen=no
11378 fi
11379 rm -f core conftest.err conftest.$ac_objext \
11380     conftest$ac_exeext conftest.$ac_ext
11381 LIBS=$ac_check_lib_save_LIBS
11382 fi
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11384 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11385 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11386   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11387 else
11388
11389     lt_cv_dlopen="dyld"
11390     lt_cv_dlopen_libs=
11391     lt_cv_dlopen_self=yes
11392
11393 fi
11394
11395     ;;
11396
11397   *)
11398     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11399 if test "x$ac_cv_func_shl_load" = xyes; then :
11400   lt_cv_dlopen="shl_load"
11401 else
11402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11403 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11404 if ${ac_cv_lib_dld_shl_load+:} false; then :
11405   $as_echo_n "(cached) " >&6
11406 else
11407   ac_check_lib_save_LIBS=$LIBS
11408 LIBS="-ldld  $LIBS"
11409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11410 /* end confdefs.h.  */
11411
11412 /* Override any GCC internal prototype to avoid an error.
11413    Use char because int might match the return type of a GCC
11414    builtin and then its argument prototype would still apply.  */
11415 #ifdef __cplusplus
11416 extern "C"
11417 #endif
11418 char shl_load ();
11419 int
11420 main ()
11421 {
11422 return shl_load ();
11423   ;
11424   return 0;
11425 }
11426 _ACEOF
11427 if ac_fn_c_try_link "$LINENO"; then :
11428   ac_cv_lib_dld_shl_load=yes
11429 else
11430   ac_cv_lib_dld_shl_load=no
11431 fi
11432 rm -f core conftest.err conftest.$ac_objext \
11433     conftest$ac_exeext conftest.$ac_ext
11434 LIBS=$ac_check_lib_save_LIBS
11435 fi
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11437 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11438 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11439   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11440 else
11441   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11442 if test "x$ac_cv_func_dlopen" = xyes; then :
11443   lt_cv_dlopen="dlopen"
11444 else
11445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11446 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11447 if ${ac_cv_lib_dl_dlopen+:} false; then :
11448   $as_echo_n "(cached) " >&6
11449 else
11450   ac_check_lib_save_LIBS=$LIBS
11451 LIBS="-ldl  $LIBS"
11452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11453 /* end confdefs.h.  */
11454
11455 /* Override any GCC internal prototype to avoid an error.
11456    Use char because int might match the return type of a GCC
11457    builtin and then its argument prototype would still apply.  */
11458 #ifdef __cplusplus
11459 extern "C"
11460 #endif
11461 char dlopen ();
11462 int
11463 main ()
11464 {
11465 return dlopen ();
11466   ;
11467   return 0;
11468 }
11469 _ACEOF
11470 if ac_fn_c_try_link "$LINENO"; then :
11471   ac_cv_lib_dl_dlopen=yes
11472 else
11473   ac_cv_lib_dl_dlopen=no
11474 fi
11475 rm -f core conftest.err conftest.$ac_objext \
11476     conftest$ac_exeext conftest.$ac_ext
11477 LIBS=$ac_check_lib_save_LIBS
11478 fi
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11480 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11481 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11482   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11483 else
11484   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11485 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11486 if ${ac_cv_lib_svld_dlopen+:} false; then :
11487   $as_echo_n "(cached) " >&6
11488 else
11489   ac_check_lib_save_LIBS=$LIBS
11490 LIBS="-lsvld  $LIBS"
11491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11492 /* end confdefs.h.  */
11493
11494 /* Override any GCC internal prototype to avoid an error.
11495    Use char because int might match the return type of a GCC
11496    builtin and then its argument prototype would still apply.  */
11497 #ifdef __cplusplus
11498 extern "C"
11499 #endif
11500 char dlopen ();
11501 int
11502 main ()
11503 {
11504 return dlopen ();
11505   ;
11506   return 0;
11507 }
11508 _ACEOF
11509 if ac_fn_c_try_link "$LINENO"; then :
11510   ac_cv_lib_svld_dlopen=yes
11511 else
11512   ac_cv_lib_svld_dlopen=no
11513 fi
11514 rm -f core conftest.err conftest.$ac_objext \
11515     conftest$ac_exeext conftest.$ac_ext
11516 LIBS=$ac_check_lib_save_LIBS
11517 fi
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11519 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11520 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11521   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11522 else
11523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11524 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11525 if ${ac_cv_lib_dld_dld_link+:} false; then :
11526   $as_echo_n "(cached) " >&6
11527 else
11528   ac_check_lib_save_LIBS=$LIBS
11529 LIBS="-ldld  $LIBS"
11530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11531 /* end confdefs.h.  */
11532
11533 /* Override any GCC internal prototype to avoid an error.
11534    Use char because int might match the return type of a GCC
11535    builtin and then its argument prototype would still apply.  */
11536 #ifdef __cplusplus
11537 extern "C"
11538 #endif
11539 char dld_link ();
11540 int
11541 main ()
11542 {
11543 return dld_link ();
11544   ;
11545   return 0;
11546 }
11547 _ACEOF
11548 if ac_fn_c_try_link "$LINENO"; then :
11549   ac_cv_lib_dld_dld_link=yes
11550 else
11551   ac_cv_lib_dld_dld_link=no
11552 fi
11553 rm -f core conftest.err conftest.$ac_objext \
11554     conftest$ac_exeext conftest.$ac_ext
11555 LIBS=$ac_check_lib_save_LIBS
11556 fi
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11558 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11559 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11560   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11561 fi
11562
11563
11564 fi
11565
11566
11567 fi
11568
11569
11570 fi
11571
11572
11573 fi
11574
11575
11576 fi
11577
11578     ;;
11579   esac
11580
11581   if test "x$lt_cv_dlopen" != xno; then
11582     enable_dlopen=yes
11583   else
11584     enable_dlopen=no
11585   fi
11586
11587   case $lt_cv_dlopen in
11588   dlopen)
11589     save_CPPFLAGS="$CPPFLAGS"
11590     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11591
11592     save_LDFLAGS="$LDFLAGS"
11593     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11594
11595     save_LIBS="$LIBS"
11596     LIBS="$lt_cv_dlopen_libs $LIBS"
11597
11598     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11599 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11600 if ${lt_cv_dlopen_self+:} false; then :
11601   $as_echo_n "(cached) " >&6
11602 else
11603           if test "$cross_compiling" = yes; then :
11604   lt_cv_dlopen_self=cross
11605 else
11606   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11607   lt_status=$lt_dlunknown
11608   cat > conftest.$ac_ext <<_LT_EOF
11609 #line $LINENO "configure"
11610 #include "confdefs.h"
11611
11612 #if HAVE_DLFCN_H
11613 #include <dlfcn.h>
11614 #endif
11615
11616 #include <stdio.h>
11617
11618 #ifdef RTLD_GLOBAL
11619 #  define LT_DLGLOBAL           RTLD_GLOBAL
11620 #else
11621 #  ifdef DL_GLOBAL
11622 #    define LT_DLGLOBAL         DL_GLOBAL
11623 #  else
11624 #    define LT_DLGLOBAL         0
11625 #  endif
11626 #endif
11627
11628 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11629    find out it does not work in some platform. */
11630 #ifndef LT_DLLAZY_OR_NOW
11631 #  ifdef RTLD_LAZY
11632 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11633 #  else
11634 #    ifdef DL_LAZY
11635 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11636 #    else
11637 #      ifdef RTLD_NOW
11638 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11639 #      else
11640 #        ifdef DL_NOW
11641 #          define LT_DLLAZY_OR_NOW      DL_NOW
11642 #        else
11643 #          define LT_DLLAZY_OR_NOW      0
11644 #        endif
11645 #      endif
11646 #    endif
11647 #  endif
11648 #endif
11649
11650 /* When -fvisbility=hidden is used, assume the code has been annotated
11651    correspondingly for the symbols needed.  */
11652 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11653 int fnord () __attribute__((visibility("default")));
11654 #endif
11655
11656 int fnord () { return 42; }
11657 int main ()
11658 {
11659   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11660   int status = $lt_dlunknown;
11661
11662   if (self)
11663     {
11664       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11665       else
11666         {
11667           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11668           else puts (dlerror ());
11669         }
11670       /* dlclose (self); */
11671     }
11672   else
11673     puts (dlerror ());
11674
11675   return status;
11676 }
11677 _LT_EOF
11678   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11679   (eval $ac_link) 2>&5
11680   ac_status=$?
11681   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11682   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11683     (./conftest; exit; ) >&5 2>/dev/null
11684     lt_status=$?
11685     case x$lt_status in
11686       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11687       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11688       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11689     esac
11690   else :
11691     # compilation failed
11692     lt_cv_dlopen_self=no
11693   fi
11694 fi
11695 rm -fr conftest*
11696
11697
11698 fi
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11700 $as_echo "$lt_cv_dlopen_self" >&6; }
11701
11702     if test "x$lt_cv_dlopen_self" = xyes; then
11703       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11704       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11705 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11706 if ${lt_cv_dlopen_self_static+:} false; then :
11707   $as_echo_n "(cached) " >&6
11708 else
11709           if test "$cross_compiling" = yes; then :
11710   lt_cv_dlopen_self_static=cross
11711 else
11712   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11713   lt_status=$lt_dlunknown
11714   cat > conftest.$ac_ext <<_LT_EOF
11715 #line $LINENO "configure"
11716 #include "confdefs.h"
11717
11718 #if HAVE_DLFCN_H
11719 #include <dlfcn.h>
11720 #endif
11721
11722 #include <stdio.h>
11723
11724 #ifdef RTLD_GLOBAL
11725 #  define LT_DLGLOBAL           RTLD_GLOBAL
11726 #else
11727 #  ifdef DL_GLOBAL
11728 #    define LT_DLGLOBAL         DL_GLOBAL
11729 #  else
11730 #    define LT_DLGLOBAL         0
11731 #  endif
11732 #endif
11733
11734 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11735    find out it does not work in some platform. */
11736 #ifndef LT_DLLAZY_OR_NOW
11737 #  ifdef RTLD_LAZY
11738 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11739 #  else
11740 #    ifdef DL_LAZY
11741 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11742 #    else
11743 #      ifdef RTLD_NOW
11744 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11745 #      else
11746 #        ifdef DL_NOW
11747 #          define LT_DLLAZY_OR_NOW      DL_NOW
11748 #        else
11749 #          define LT_DLLAZY_OR_NOW      0
11750 #        endif
11751 #      endif
11752 #    endif
11753 #  endif
11754 #endif
11755
11756 /* When -fvisbility=hidden is used, assume the code has been annotated
11757    correspondingly for the symbols needed.  */
11758 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11759 int fnord () __attribute__((visibility("default")));
11760 #endif
11761
11762 int fnord () { return 42; }
11763 int main ()
11764 {
11765   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11766   int status = $lt_dlunknown;
11767
11768   if (self)
11769     {
11770       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11771       else
11772         {
11773           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11774           else puts (dlerror ());
11775         }
11776       /* dlclose (self); */
11777     }
11778   else
11779     puts (dlerror ());
11780
11781   return status;
11782 }
11783 _LT_EOF
11784   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11785   (eval $ac_link) 2>&5
11786   ac_status=$?
11787   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11788   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11789     (./conftest; exit; ) >&5 2>/dev/null
11790     lt_status=$?
11791     case x$lt_status in
11792       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11793       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11794       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11795     esac
11796   else :
11797     # compilation failed
11798     lt_cv_dlopen_self_static=no
11799   fi
11800 fi
11801 rm -fr conftest*
11802
11803
11804 fi
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11806 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11807     fi
11808
11809     CPPFLAGS="$save_CPPFLAGS"
11810     LDFLAGS="$save_LDFLAGS"
11811     LIBS="$save_LIBS"
11812     ;;
11813   esac
11814
11815   case $lt_cv_dlopen_self in
11816   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11817   *) enable_dlopen_self=unknown ;;
11818   esac
11819
11820   case $lt_cv_dlopen_self_static in
11821   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11822   *) enable_dlopen_self_static=unknown ;;
11823   esac
11824 fi
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842 striplib=
11843 old_striplib=
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11845 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11846 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11847   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11848   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11850 $as_echo "yes" >&6; }
11851 else
11852 # FIXME - insert some real tests, host_os isn't really good enough
11853   case $host_os in
11854   darwin*)
11855     if test -n "$STRIP" ; then
11856       striplib="$STRIP -x"
11857       old_striplib="$STRIP -S"
11858       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11859 $as_echo "yes" >&6; }
11860     else
11861       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11862 $as_echo "no" >&6; }
11863     fi
11864     ;;
11865   *)
11866     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11867 $as_echo "no" >&6; }
11868     ;;
11869   esac
11870 fi
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883   # Report which library types will actually be built
11884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11885 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11887 $as_echo "$can_build_shared" >&6; }
11888
11889   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11890 $as_echo_n "checking whether to build shared libraries... " >&6; }
11891   test "$can_build_shared" = "no" && enable_shared=no
11892
11893   # On AIX, shared libraries and static libraries use the same namespace, and
11894   # are all built from PIC.
11895   case $host_os in
11896   aix3*)
11897     test "$enable_shared" = yes && enable_static=no
11898     if test -n "$RANLIB"; then
11899       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11900       postinstall_cmds='$RANLIB $lib'
11901     fi
11902     ;;
11903
11904   aix[4-9]*)
11905     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11906       test "$enable_shared" = yes && enable_static=no
11907     fi
11908     ;;
11909   esac
11910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11911 $as_echo "$enable_shared" >&6; }
11912
11913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11914 $as_echo_n "checking whether to build static libraries... " >&6; }
11915   # Make sure either enable_shared or enable_static is yes.
11916   test "$enable_shared" = yes || enable_static=yes
11917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11918 $as_echo "$enable_static" >&6; }
11919
11920
11921
11922
11923 fi
11924 ac_ext=c
11925 ac_cpp='$CPP $CPPFLAGS'
11926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11929
11930 CC="$lt_save_CC"
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946         ac_config_commands="$ac_config_commands libtool"
11947
11948
11949
11950
11951 # Only expand once:
11952
11953
11954
11955 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11956 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11957
11958
11959
11960 cat >>confdefs.h <<_ACEOF
11961 #define VMAJ 1
11962 _ACEOF
11963
11964
11965 cat >>confdefs.h <<_ACEOF
11966 #define VMIN 7
11967 _ACEOF
11968
11969
11970 cat >>confdefs.h <<_ACEOF
11971 #define VMIC 8
11972 _ACEOF
11973
11974
11975 cat >>confdefs.h <<_ACEOF
11976 #define VREV 0
11977 _ACEOF
11978
11979 version_info="8:8:7"
11980 release_info="-release ver-pre-svn-07"
11981
11982
11983 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11984 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11985 VMAJ=1
11986
11987
11988 want_generic="yes"
11989 case "$host_os" in
11990    mingw*)
11991       want_xine="no"
11992       want_gstreamer="yes"
11993       want_generic="no"
11994       want_generic_vlc="no"
11995       ;;
11996    *)
11997       want_xine="yes"
11998       want_gstreamer="yes"
11999       want_generic_vlc="yes"
12000       ;;
12001 esac
12002
12003 requirement_emotion=""
12004
12005 ### Additional options to configure
12006
12007
12008
12009
12010 have_emotion_test="yes"
12011
12012
12013 # Check whether --enable-emotion-test was given.
12014 if test "${enable_emotion_test+set}" = set; then :
12015   enableval=$enable_emotion_test;
12016     if test "x${enableval}" = "xyes" ; then
12017        have_emotion_test="yes"
12018     else
12019        have_emotion_test="no"
12020     fi
12021
12022 fi
12023
12024
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build emotion_test binary" >&5
12026 $as_echo_n "checking whether to build emotion_test binary... " >&6; }
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_emotion_test" >&5
12028 $as_echo "$have_emotion_test" >&6; }
12029
12030 if test "x$have_emotion_test" = "xyes"; then
12031    EMOTION_TEST_PRG=emotion_test${EXEEXT}
12032 fi
12033
12034
12035
12036  if test "x$have_emotion_test" = "xyes"; then
12037   BUILD_EMOTION_TEST_TRUE=
12038   BUILD_EMOTION_TEST_FALSE='#'
12039 else
12040   BUILD_EMOTION_TEST_TRUE='#'
12041   BUILD_EMOTION_TEST_FALSE=
12042 fi
12043
12044
12045 if test "x$have_emotion_test" = "xyes"; then :
12046
12047 fi
12048
12049
12050
12051 # edje_cc
12052
12053
12054 # Check whether --with-edje-cc was given.
12055 if test "${with_edje_cc+set}" = set; then :
12056   withval=$with_edje_cc;
12057     v=$withval;
12058     edje_cc=$v
12059     echo "  Enlightenment edje_cc explicitly set to "$edje_cc;
12060
12061 else
12062   edje_cc=$(pkg-config --variable=prefix edje)/bin/edje_cc
12063 fi
12064
12065
12066
12067
12068 ### Checks for programs
12069 ac_ext=c
12070 ac_cpp='$CPP $CPPFLAGS'
12071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12074 if test -n "$ac_tool_prefix"; then
12075   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12076 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12078 $as_echo_n "checking for $ac_word... " >&6; }
12079 if ${ac_cv_prog_CC+:} false; then :
12080   $as_echo_n "(cached) " >&6
12081 else
12082   if test -n "$CC"; then
12083   ac_cv_prog_CC="$CC" # Let the user override the test.
12084 else
12085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12086 for as_dir in $PATH
12087 do
12088   IFS=$as_save_IFS
12089   test -z "$as_dir" && as_dir=.
12090     for ac_exec_ext in '' $ac_executable_extensions; do
12091   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12092     ac_cv_prog_CC="${ac_tool_prefix}gcc"
12093     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12094     break 2
12095   fi
12096 done
12097   done
12098 IFS=$as_save_IFS
12099
12100 fi
12101 fi
12102 CC=$ac_cv_prog_CC
12103 if test -n "$CC"; then
12104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12105 $as_echo "$CC" >&6; }
12106 else
12107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12108 $as_echo "no" >&6; }
12109 fi
12110
12111
12112 fi
12113 if test -z "$ac_cv_prog_CC"; then
12114   ac_ct_CC=$CC
12115   # Extract the first word of "gcc", so it can be a program name with args.
12116 set dummy gcc; ac_word=$2
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12118 $as_echo_n "checking for $ac_word... " >&6; }
12119 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12120   $as_echo_n "(cached) " >&6
12121 else
12122   if test -n "$ac_ct_CC"; then
12123   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12124 else
12125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12126 for as_dir in $PATH
12127 do
12128   IFS=$as_save_IFS
12129   test -z "$as_dir" && as_dir=.
12130     for ac_exec_ext in '' $ac_executable_extensions; do
12131   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12132     ac_cv_prog_ac_ct_CC="gcc"
12133     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12134     break 2
12135   fi
12136 done
12137   done
12138 IFS=$as_save_IFS
12139
12140 fi
12141 fi
12142 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12143 if test -n "$ac_ct_CC"; then
12144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12145 $as_echo "$ac_ct_CC" >&6; }
12146 else
12147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12148 $as_echo "no" >&6; }
12149 fi
12150
12151   if test "x$ac_ct_CC" = x; then
12152     CC=""
12153   else
12154     case $cross_compiling:$ac_tool_warned in
12155 yes:)
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12158 ac_tool_warned=yes ;;
12159 esac
12160     CC=$ac_ct_CC
12161   fi
12162 else
12163   CC="$ac_cv_prog_CC"
12164 fi
12165
12166 if test -z "$CC"; then
12167           if test -n "$ac_tool_prefix"; then
12168     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12169 set dummy ${ac_tool_prefix}cc; ac_word=$2
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12171 $as_echo_n "checking for $ac_word... " >&6; }
12172 if ${ac_cv_prog_CC+:} false; then :
12173   $as_echo_n "(cached) " >&6
12174 else
12175   if test -n "$CC"; then
12176   ac_cv_prog_CC="$CC" # Let the user override the test.
12177 else
12178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12179 for as_dir in $PATH
12180 do
12181   IFS=$as_save_IFS
12182   test -z "$as_dir" && as_dir=.
12183     for ac_exec_ext in '' $ac_executable_extensions; do
12184   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12185     ac_cv_prog_CC="${ac_tool_prefix}cc"
12186     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12187     break 2
12188   fi
12189 done
12190   done
12191 IFS=$as_save_IFS
12192
12193 fi
12194 fi
12195 CC=$ac_cv_prog_CC
12196 if test -n "$CC"; then
12197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12198 $as_echo "$CC" >&6; }
12199 else
12200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12201 $as_echo "no" >&6; }
12202 fi
12203
12204
12205   fi
12206 fi
12207 if test -z "$CC"; then
12208   # Extract the first word of "cc", so it can be a program name with args.
12209 set dummy cc; ac_word=$2
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12211 $as_echo_n "checking for $ac_word... " >&6; }
12212 if ${ac_cv_prog_CC+:} false; then :
12213   $as_echo_n "(cached) " >&6
12214 else
12215   if test -n "$CC"; then
12216   ac_cv_prog_CC="$CC" # Let the user override the test.
12217 else
12218   ac_prog_rejected=no
12219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12220 for as_dir in $PATH
12221 do
12222   IFS=$as_save_IFS
12223   test -z "$as_dir" && as_dir=.
12224     for ac_exec_ext in '' $ac_executable_extensions; do
12225   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12226     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12227        ac_prog_rejected=yes
12228        continue
12229      fi
12230     ac_cv_prog_CC="cc"
12231     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12232     break 2
12233   fi
12234 done
12235   done
12236 IFS=$as_save_IFS
12237
12238 if test $ac_prog_rejected = yes; then
12239   # We found a bogon in the path, so make sure we never use it.
12240   set dummy $ac_cv_prog_CC
12241   shift
12242   if test $# != 0; then
12243     # We chose a different compiler from the bogus one.
12244     # However, it has the same basename, so the bogon will be chosen
12245     # first if we set CC to just the basename; use the full file name.
12246     shift
12247     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12248   fi
12249 fi
12250 fi
12251 fi
12252 CC=$ac_cv_prog_CC
12253 if test -n "$CC"; then
12254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12255 $as_echo "$CC" >&6; }
12256 else
12257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12258 $as_echo "no" >&6; }
12259 fi
12260
12261
12262 fi
12263 if test -z "$CC"; then
12264   if test -n "$ac_tool_prefix"; then
12265   for ac_prog in cl.exe
12266   do
12267     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12268 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12270 $as_echo_n "checking for $ac_word... " >&6; }
12271 if ${ac_cv_prog_CC+:} false; then :
12272   $as_echo_n "(cached) " >&6
12273 else
12274   if test -n "$CC"; then
12275   ac_cv_prog_CC="$CC" # Let the user override the test.
12276 else
12277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12278 for as_dir in $PATH
12279 do
12280   IFS=$as_save_IFS
12281   test -z "$as_dir" && as_dir=.
12282     for ac_exec_ext in '' $ac_executable_extensions; do
12283   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12284     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12285     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12286     break 2
12287   fi
12288 done
12289   done
12290 IFS=$as_save_IFS
12291
12292 fi
12293 fi
12294 CC=$ac_cv_prog_CC
12295 if test -n "$CC"; then
12296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12297 $as_echo "$CC" >&6; }
12298 else
12299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12300 $as_echo "no" >&6; }
12301 fi
12302
12303
12304     test -n "$CC" && break
12305   done
12306 fi
12307 if test -z "$CC"; then
12308   ac_ct_CC=$CC
12309   for ac_prog in cl.exe
12310 do
12311   # Extract the first word of "$ac_prog", so it can be a program name with args.
12312 set dummy $ac_prog; ac_word=$2
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12314 $as_echo_n "checking for $ac_word... " >&6; }
12315 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12316   $as_echo_n "(cached) " >&6
12317 else
12318   if test -n "$ac_ct_CC"; then
12319   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12320 else
12321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12322 for as_dir in $PATH
12323 do
12324   IFS=$as_save_IFS
12325   test -z "$as_dir" && as_dir=.
12326     for ac_exec_ext in '' $ac_executable_extensions; do
12327   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12328     ac_cv_prog_ac_ct_CC="$ac_prog"
12329     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12330     break 2
12331   fi
12332 done
12333   done
12334 IFS=$as_save_IFS
12335
12336 fi
12337 fi
12338 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12339 if test -n "$ac_ct_CC"; then
12340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12341 $as_echo "$ac_ct_CC" >&6; }
12342 else
12343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12344 $as_echo "no" >&6; }
12345 fi
12346
12347
12348   test -n "$ac_ct_CC" && break
12349 done
12350
12351   if test "x$ac_ct_CC" = x; then
12352     CC=""
12353   else
12354     case $cross_compiling:$ac_tool_warned in
12355 yes:)
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12357 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12358 ac_tool_warned=yes ;;
12359 esac
12360     CC=$ac_ct_CC
12361   fi
12362 fi
12363
12364 fi
12365
12366
12367 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12369 as_fn_error $? "no acceptable C compiler found in \$PATH
12370 See \`config.log' for more details" "$LINENO" 5; }
12371
12372 # Provide some information about the compiler.
12373 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12374 set X $ac_compile
12375 ac_compiler=$2
12376 for ac_option in --version -v -V -qversion; do
12377   { { ac_try="$ac_compiler $ac_option >&5"
12378 case "(($ac_try" in
12379   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12380   *) ac_try_echo=$ac_try;;
12381 esac
12382 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12383 $as_echo "$ac_try_echo"; } >&5
12384   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12385   ac_status=$?
12386   if test -s conftest.err; then
12387     sed '10a\
12388 ... rest of stderr output deleted ...
12389          10q' conftest.err >conftest.er1
12390     cat conftest.er1 >&5
12391   fi
12392   rm -f conftest.er1 conftest.err
12393   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12394   test $ac_status = 0; }
12395 done
12396
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12398 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12399 if ${ac_cv_c_compiler_gnu+:} false; then :
12400   $as_echo_n "(cached) " >&6
12401 else
12402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12403 /* end confdefs.h.  */
12404
12405 int
12406 main ()
12407 {
12408 #ifndef __GNUC__
12409        choke me
12410 #endif
12411
12412   ;
12413   return 0;
12414 }
12415 _ACEOF
12416 if ac_fn_c_try_compile "$LINENO"; then :
12417   ac_compiler_gnu=yes
12418 else
12419   ac_compiler_gnu=no
12420 fi
12421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12422 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12423
12424 fi
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12426 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12427 if test $ac_compiler_gnu = yes; then
12428   GCC=yes
12429 else
12430   GCC=
12431 fi
12432 ac_test_CFLAGS=${CFLAGS+set}
12433 ac_save_CFLAGS=$CFLAGS
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12435 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12436 if ${ac_cv_prog_cc_g+:} false; then :
12437   $as_echo_n "(cached) " >&6
12438 else
12439   ac_save_c_werror_flag=$ac_c_werror_flag
12440    ac_c_werror_flag=yes
12441    ac_cv_prog_cc_g=no
12442    CFLAGS="-g"
12443    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12444 /* end confdefs.h.  */
12445
12446 int
12447 main ()
12448 {
12449
12450   ;
12451   return 0;
12452 }
12453 _ACEOF
12454 if ac_fn_c_try_compile "$LINENO"; then :
12455   ac_cv_prog_cc_g=yes
12456 else
12457   CFLAGS=""
12458       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12459 /* end confdefs.h.  */
12460
12461 int
12462 main ()
12463 {
12464
12465   ;
12466   return 0;
12467 }
12468 _ACEOF
12469 if ac_fn_c_try_compile "$LINENO"; then :
12470
12471 else
12472   ac_c_werror_flag=$ac_save_c_werror_flag
12473          CFLAGS="-g"
12474          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12475 /* end confdefs.h.  */
12476
12477 int
12478 main ()
12479 {
12480
12481   ;
12482   return 0;
12483 }
12484 _ACEOF
12485 if ac_fn_c_try_compile "$LINENO"; then :
12486   ac_cv_prog_cc_g=yes
12487 fi
12488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12489 fi
12490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12491 fi
12492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12493    ac_c_werror_flag=$ac_save_c_werror_flag
12494 fi
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12496 $as_echo "$ac_cv_prog_cc_g" >&6; }
12497 if test "$ac_test_CFLAGS" = set; then
12498   CFLAGS=$ac_save_CFLAGS
12499 elif test $ac_cv_prog_cc_g = yes; then
12500   if test "$GCC" = yes; then
12501     CFLAGS="-g -O2"
12502   else
12503     CFLAGS="-g"
12504   fi
12505 else
12506   if test "$GCC" = yes; then
12507     CFLAGS="-O2"
12508   else
12509     CFLAGS=
12510   fi
12511 fi
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12513 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12514 if ${ac_cv_prog_cc_c89+:} false; then :
12515   $as_echo_n "(cached) " >&6
12516 else
12517   ac_cv_prog_cc_c89=no
12518 ac_save_CC=$CC
12519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12520 /* end confdefs.h.  */
12521 #include <stdarg.h>
12522 #include <stdio.h>
12523 struct stat;
12524 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12525 struct buf { int x; };
12526 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12527 static char *e (p, i)
12528      char **p;
12529      int i;
12530 {
12531   return p[i];
12532 }
12533 static char *f (char * (*g) (char **, int), char **p, ...)
12534 {
12535   char *s;
12536   va_list v;
12537   va_start (v,p);
12538   s = g (p, va_arg (v,int));
12539   va_end (v);
12540   return s;
12541 }
12542
12543 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12544    function prototypes and stuff, but not '\xHH' hex character constants.
12545    These don't provoke an error unfortunately, instead are silently treated
12546    as 'x'.  The following induces an error, until -std is added to get
12547    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12548    array size at least.  It's necessary to write '\x00'==0 to get something
12549    that's true only with -std.  */
12550 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12551
12552 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12553    inside strings and character constants.  */
12554 #define FOO(x) 'x'
12555 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12556
12557 int test (int i, double x);
12558 struct s1 {int (*f) (int a);};
12559 struct s2 {int (*f) (double a);};
12560 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12561 int argc;
12562 char **argv;
12563 int
12564 main ()
12565 {
12566 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12567   ;
12568   return 0;
12569 }
12570 _ACEOF
12571 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12572         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12573 do
12574   CC="$ac_save_CC $ac_arg"
12575   if ac_fn_c_try_compile "$LINENO"; then :
12576   ac_cv_prog_cc_c89=$ac_arg
12577 fi
12578 rm -f core conftest.err conftest.$ac_objext
12579   test "x$ac_cv_prog_cc_c89" != "xno" && break
12580 done
12581 rm -f conftest.$ac_ext
12582 CC=$ac_save_CC
12583
12584 fi
12585 # AC_CACHE_VAL
12586 case "x$ac_cv_prog_cc_c89" in
12587   x)
12588     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12589 $as_echo "none needed" >&6; } ;;
12590   xno)
12591     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12592 $as_echo "unsupported" >&6; } ;;
12593   *)
12594     CC="$CC $ac_cv_prog_cc_c89"
12595     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12596 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12597 esac
12598 if test "x$ac_cv_prog_cc_c89" != xno; then :
12599
12600 fi
12601
12602 ac_ext=c
12603 ac_cpp='$CPP $CPPFLAGS'
12604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12607
12608
12609 # pkg-config
12610
12611
12612
12613
12614
12615
12616
12617 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12618         if test -n "$ac_tool_prefix"; then
12619   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12620 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12622 $as_echo_n "checking for $ac_word... " >&6; }
12623 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12624   $as_echo_n "(cached) " >&6
12625 else
12626   case $PKG_CONFIG in
12627   [\\/]* | ?:[\\/]*)
12628   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12629   ;;
12630   *)
12631   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12632 for as_dir in $PATH
12633 do
12634   IFS=$as_save_IFS
12635   test -z "$as_dir" && as_dir=.
12636     for ac_exec_ext in '' $ac_executable_extensions; do
12637   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12638     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12639     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12640     break 2
12641   fi
12642 done
12643   done
12644 IFS=$as_save_IFS
12645
12646   ;;
12647 esac
12648 fi
12649 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12650 if test -n "$PKG_CONFIG"; then
12651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12652 $as_echo "$PKG_CONFIG" >&6; }
12653 else
12654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12655 $as_echo "no" >&6; }
12656 fi
12657
12658
12659 fi
12660 if test -z "$ac_cv_path_PKG_CONFIG"; then
12661   ac_pt_PKG_CONFIG=$PKG_CONFIG
12662   # Extract the first word of "pkg-config", so it can be a program name with args.
12663 set dummy pkg-config; ac_word=$2
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12665 $as_echo_n "checking for $ac_word... " >&6; }
12666 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12667   $as_echo_n "(cached) " >&6
12668 else
12669   case $ac_pt_PKG_CONFIG in
12670   [\\/]* | ?:[\\/]*)
12671   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12672   ;;
12673   *)
12674   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12675 for as_dir in $PATH
12676 do
12677   IFS=$as_save_IFS
12678   test -z "$as_dir" && as_dir=.
12679     for ac_exec_ext in '' $ac_executable_extensions; do
12680   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12681     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12682     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12683     break 2
12684   fi
12685 done
12686   done
12687 IFS=$as_save_IFS
12688
12689   ;;
12690 esac
12691 fi
12692 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12693 if test -n "$ac_pt_PKG_CONFIG"; then
12694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12695 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12696 else
12697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12698 $as_echo "no" >&6; }
12699 fi
12700
12701   if test "x$ac_pt_PKG_CONFIG" = x; then
12702     PKG_CONFIG=""
12703   else
12704     case $cross_compiling:$ac_tool_warned in
12705 yes:)
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12708 ac_tool_warned=yes ;;
12709 esac
12710     PKG_CONFIG=$ac_pt_PKG_CONFIG
12711   fi
12712 else
12713   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12714 fi
12715
12716 fi
12717 if test -n "$PKG_CONFIG"; then
12718         _pkg_min_version=0.9.0
12719         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12720 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12721         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12722                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12723 $as_echo "yes" >&6; }
12724         else
12725                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12726 $as_echo "no" >&6; }
12727                 PKG_CONFIG=""
12728         fi
12729 fi
12730
12731 # Check whether pkg-config supports Requires.private
12732 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
12733    pkgconfig_requires_private="Requires.private"
12734 else
12735    pkgconfig_requires_private="Requires"
12736 fi
12737
12738
12739 # doxygen program for documentation building
12740
12741
12742
12743 # Check whether --enable-doc was given.
12744 if test "${enable_doc+set}" = set; then :
12745   enableval=$enable_doc;
12746     if test "x${enableval}" = "xyes" ; then
12747        efl_enable_doc="yes"
12748     else
12749        efl_enable_doc="no"
12750     fi
12751
12752 else
12753   efl_enable_doc="yes"
12754 fi
12755
12756
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
12758 $as_echo_n "checking whether to build documentation... " >&6; }
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
12760 $as_echo "${efl_enable_doc}" >&6; }
12761
12762 if test "x${efl_enable_doc}" = "xyes" ; then
12763
12764
12765    efl_doxygen="doxygen"
12766
12767
12768 # Check whether --with-doxygen was given.
12769 if test "${with_doxygen+set}" = set; then :
12770   withval=$with_doxygen;
12771       efl_doxygen=${withval}
12772        # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12773 set dummy ${efl_doxygen}; ac_word=$2
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12775 $as_echo_n "checking for $ac_word... " >&6; }
12776 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12777   $as_echo_n "(cached) " >&6
12778 else
12779   if test -n "$efl_have_doxygen"; then
12780   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12781 else
12782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12783 for as_dir in $PATH
12784 do
12785   IFS=$as_save_IFS
12786   test -z "$as_dir" && as_dir=.
12787     for ac_exec_ext in '' $ac_executable_extensions; do
12788   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12789     ac_cv_prog_efl_have_doxygen="yes"
12790     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12791     break 2
12792   fi
12793 done
12794   done
12795 IFS=$as_save_IFS
12796
12797   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12798 fi
12799 fi
12800 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12801 if test -n "$efl_have_doxygen"; then
12802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12803 $as_echo "$efl_have_doxygen" >&6; }
12804 else
12805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12806 $as_echo "no" >&6; }
12807 fi
12808
12809
12810        if test "x${efl_have_doxygen}" = "xno" ; then
12811           echo "WARNING:"
12812           echo "The doxygen program you specified:"
12813           echo "${efl_doxygen}"
12814           echo "was not found.  Please check the path and make sure "
12815           echo "the program exists and is executable."
12816           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12817 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12818        fi
12819
12820 else
12821   # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12822 set dummy ${efl_doxygen}; ac_word=$2
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12824 $as_echo_n "checking for $ac_word... " >&6; }
12825 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12826   $as_echo_n "(cached) " >&6
12827 else
12828   if test -n "$efl_have_doxygen"; then
12829   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12830 else
12831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12832 for as_dir in $PATH
12833 do
12834   IFS=$as_save_IFS
12835   test -z "$as_dir" && as_dir=.
12836     for ac_exec_ext in '' $ac_executable_extensions; do
12837   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12838     ac_cv_prog_efl_have_doxygen="yes"
12839     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12840     break 2
12841   fi
12842 done
12843   done
12844 IFS=$as_save_IFS
12845
12846   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12847 fi
12848 fi
12849 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12850 if test -n "$efl_have_doxygen"; then
12851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12852 $as_echo "$efl_have_doxygen" >&6; }
12853 else
12854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12855 $as_echo "no" >&6; }
12856 fi
12857
12858
12859        if test "x${efl_have_doxygen}" = "xno" ; then
12860           echo "WARNING:"
12861           echo "The doxygen program was not found in your execute path."
12862           echo "You may have doxygen installed somewhere not covered by your path."
12863           echo ""
12864           echo "If this is the case make sure you have the packages installed, AND"
12865           echo "that the doxygen program is in your execute path (see your"
12866           echo "shell manual page on setting the \$PATH environment variable), OR"
12867           echo "alternatively, specify the program to use with --with-doxygen."
12868           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12869 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12870        fi
12871
12872 fi
12873
12874 else
12875    efl_have_doxygen="no"
12876 fi
12877
12878
12879
12880 if ! test "x${efl_have_doxygen}" = "xyes" ; then
12881    efl_enable_doc="no"
12882 fi
12883
12884  if test "x${efl_have_doxygen}" = "xyes"; then
12885   EFL_BUILD_DOC_TRUE=
12886   EFL_BUILD_DOC_FALSE='#'
12887 else
12888   EFL_BUILD_DOC_TRUE='#'
12889   EFL_BUILD_DOC_FALSE=
12890 fi
12891
12892
12893 if test "x$efl_have_doxygen" = "xyes"; then :
12894   build_doc="yes"
12895 else
12896   build_doc="no"
12897 fi
12898
12899
12900
12901 ### Checks for libraries
12902
12903 requirement_emotion="ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8"
12904
12905 pkg_failed=no
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMOTION" >&5
12907 $as_echo_n "checking for EMOTION... " >&6; }
12908
12909 if test -n "$EMOTION_CFLAGS"; then
12910     pkg_cv_EMOTION_CFLAGS="$EMOTION_CFLAGS"
12911  elif test -n "$PKG_CONFIG"; then
12912     if test -n "$PKG_CONFIG" && \
12913     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_emotion}\""; } >&5
12914   ($PKG_CONFIG --exists --print-errors "${requirement_emotion}") 2>&5
12915   ac_status=$?
12916   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12917   test $ac_status = 0; }; then
12918   pkg_cv_EMOTION_CFLAGS=`$PKG_CONFIG --cflags "${requirement_emotion}" 2>/dev/null`
12919                       test "x$?" != "x0" && pkg_failed=yes
12920 else
12921   pkg_failed=yes
12922 fi
12923  else
12924     pkg_failed=untried
12925 fi
12926 if test -n "$EMOTION_LIBS"; then
12927     pkg_cv_EMOTION_LIBS="$EMOTION_LIBS"
12928  elif test -n "$PKG_CONFIG"; then
12929     if test -n "$PKG_CONFIG" && \
12930     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_emotion}\""; } >&5
12931   ($PKG_CONFIG --exists --print-errors "${requirement_emotion}") 2>&5
12932   ac_status=$?
12933   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12934   test $ac_status = 0; }; then
12935   pkg_cv_EMOTION_LIBS=`$PKG_CONFIG --libs "${requirement_emotion}" 2>/dev/null`
12936                       test "x$?" != "x0" && pkg_failed=yes
12937 else
12938   pkg_failed=yes
12939 fi
12940  else
12941     pkg_failed=untried
12942 fi
12943
12944
12945
12946 if test $pkg_failed = yes; then
12947         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12948 $as_echo "no" >&6; }
12949
12950 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12951         _pkg_short_errors_supported=yes
12952 else
12953         _pkg_short_errors_supported=no
12954 fi
12955         if test $_pkg_short_errors_supported = yes; then
12956                 EMOTION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "${requirement_emotion}" 2>&1`
12957         else
12958                 EMOTION_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "${requirement_emotion}" 2>&1`
12959         fi
12960         # Put the nasty error message in config.log where it belongs
12961         echo "$EMOTION_PKG_ERRORS" >&5
12962
12963         as_fn_error $? "Package requirements (${requirement_emotion}) were not met:
12964
12965 $EMOTION_PKG_ERRORS
12966
12967 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12968 installed software in a non-standard prefix.
12969
12970 Alternatively, you may set the environment variables EMOTION_CFLAGS
12971 and EMOTION_LIBS to avoid the need to call pkg-config.
12972 See the pkg-config man page for more details." "$LINENO" 5
12973 elif test $pkg_failed = untried; then
12974         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12975 $as_echo "no" >&6; }
12976         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12978 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12979 is in your PATH or set the PKG_CONFIG environment variable to the full
12980 path to pkg-config.
12981
12982 Alternatively, you may set the environment variables EMOTION_CFLAGS
12983 and EMOTION_LIBS to avoid the need to call pkg-config.
12984 See the pkg-config man page for more details.
12985
12986 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12987 See \`config.log' for more details" "$LINENO" 5; }
12988 else
12989         EMOTION_CFLAGS=$pkg_cv_EMOTION_CFLAGS
12990         EMOTION_LIBS=$pkg_cv_EMOTION_LIBS
12991         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12992 $as_echo "yes" >&6; }
12993
12994 fi
12995
12996
12997 if test "x${have_emotion_test}" = "xyes" ; then
12998
12999 pkg_failed=no
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMOTION_BIN" >&5
13001 $as_echo_n "checking for EMOTION_BIN... " >&6; }
13002
13003 if test -n "$EMOTION_BIN_CFLAGS"; then
13004     pkg_cv_EMOTION_BIN_CFLAGS="$EMOTION_BIN_CFLAGS"
13005  elif test -n "$PKG_CONFIG"; then
13006     if test -n "$PKG_CONFIG" && \
13007     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.7.8 evas >= 1.7.8 ecore >= 1.7.8 ecore-evas >= 1.7.8 edje >= 1.7.8\""; } >&5
13008   ($PKG_CONFIG --exists --print-errors "eina >= 1.7.8 evas >= 1.7.8 ecore >= 1.7.8 ecore-evas >= 1.7.8 edje >= 1.7.8") 2>&5
13009   ac_status=$?
13010   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13011   test $ac_status = 0; }; then
13012   pkg_cv_EMOTION_BIN_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.7.8 evas >= 1.7.8 ecore >= 1.7.8 ecore-evas >= 1.7.8 edje >= 1.7.8" 2>/dev/null`
13013                       test "x$?" != "x0" && pkg_failed=yes
13014 else
13015   pkg_failed=yes
13016 fi
13017  else
13018     pkg_failed=untried
13019 fi
13020 if test -n "$EMOTION_BIN_LIBS"; then
13021     pkg_cv_EMOTION_BIN_LIBS="$EMOTION_BIN_LIBS"
13022  elif test -n "$PKG_CONFIG"; then
13023     if test -n "$PKG_CONFIG" && \
13024     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.7.8 evas >= 1.7.8 ecore >= 1.7.8 ecore-evas >= 1.7.8 edje >= 1.7.8\""; } >&5
13025   ($PKG_CONFIG --exists --print-errors "eina >= 1.7.8 evas >= 1.7.8 ecore >= 1.7.8 ecore-evas >= 1.7.8 edje >= 1.7.8") 2>&5
13026   ac_status=$?
13027   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13028   test $ac_status = 0; }; then
13029   pkg_cv_EMOTION_BIN_LIBS=`$PKG_CONFIG --libs "eina >= 1.7.8 evas >= 1.7.8 ecore >= 1.7.8 ecore-evas >= 1.7.8 edje >= 1.7.8" 2>/dev/null`
13030                       test "x$?" != "x0" && pkg_failed=yes
13031 else
13032   pkg_failed=yes
13033 fi
13034  else
13035     pkg_failed=untried
13036 fi
13037
13038
13039
13040 if test $pkg_failed = yes; then
13041         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13042 $as_echo "no" >&6; }
13043
13044 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13045         _pkg_short_errors_supported=yes
13046 else
13047         _pkg_short_errors_supported=no
13048 fi
13049         if test $_pkg_short_errors_supported = yes; then
13050                 EMOTION_BIN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eina >= 1.7.8 evas >= 1.7.8 ecore >= 1.7.8 ecore-evas >= 1.7.8 edje >= 1.7.8" 2>&1`
13051         else
13052                 EMOTION_BIN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eina >= 1.7.8 evas >= 1.7.8 ecore >= 1.7.8 ecore-evas >= 1.7.8 edje >= 1.7.8" 2>&1`
13053         fi
13054         # Put the nasty error message in config.log where it belongs
13055         echo "$EMOTION_BIN_PKG_ERRORS" >&5
13056
13057         as_fn_error $? "Package requirements (eina >= 1.7.8 evas >= 1.7.8 ecore >= 1.7.8 ecore-evas >= 1.7.8 edje >= 1.7.8) were not met:
13058
13059 $EMOTION_BIN_PKG_ERRORS
13060
13061 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13062 installed software in a non-standard prefix.
13063
13064 Alternatively, you may set the environment variables EMOTION_BIN_CFLAGS
13065 and EMOTION_BIN_LIBS to avoid the need to call pkg-config.
13066 See the pkg-config man page for more details." "$LINENO" 5
13067 elif test $pkg_failed = untried; then
13068         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13069 $as_echo "no" >&6; }
13070         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13072 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13073 is in your PATH or set the PKG_CONFIG environment variable to the full
13074 path to pkg-config.
13075
13076 Alternatively, you may set the environment variables EMOTION_BIN_CFLAGS
13077 and EMOTION_BIN_LIBS to avoid the need to call pkg-config.
13078 See the pkg-config man page for more details.
13079
13080 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13081 See \`config.log' for more details" "$LINENO" 5; }
13082 else
13083         EMOTION_BIN_CFLAGS=$pkg_cv_EMOTION_BIN_CFLAGS
13084         EMOTION_BIN_LIBS=$pkg_cv_EMOTION_BIN_LIBS
13085         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13086 $as_echo "yes" >&6; }
13087
13088 fi
13089 fi
13090
13091
13092 pkg_failed=no
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_X" >&5
13094 $as_echo_n "checking for ECORE_X... " >&6; }
13095
13096 if test -n "$ECORE_X_CFLAGS"; then
13097     pkg_cv_ECORE_X_CFLAGS="$ECORE_X_CFLAGS"
13098  elif test -n "$PKG_CONFIG"; then
13099     if test -n "$PKG_CONFIG" && \
13100     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.7.8 ecore-evas >= 1.7.8\""; } >&5
13101   ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.7.8 ecore-evas >= 1.7.8") 2>&5
13102   ac_status=$?
13103   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13104   test $ac_status = 0; }; then
13105   pkg_cv_ECORE_X_CFLAGS=`$PKG_CONFIG --cflags "ecore-x >= 1.7.8 ecore-evas >= 1.7.8" 2>/dev/null`
13106                       test "x$?" != "x0" && pkg_failed=yes
13107 else
13108   pkg_failed=yes
13109 fi
13110  else
13111     pkg_failed=untried
13112 fi
13113 if test -n "$ECORE_X_LIBS"; then
13114     pkg_cv_ECORE_X_LIBS="$ECORE_X_LIBS"
13115  elif test -n "$PKG_CONFIG"; then
13116     if test -n "$PKG_CONFIG" && \
13117     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.7.8 ecore-evas >= 1.7.8\""; } >&5
13118   ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.7.8 ecore-evas >= 1.7.8") 2>&5
13119   ac_status=$?
13120   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13121   test $ac_status = 0; }; then
13122   pkg_cv_ECORE_X_LIBS=`$PKG_CONFIG --libs "ecore-x >= 1.7.8 ecore-evas >= 1.7.8" 2>/dev/null`
13123                       test "x$?" != "x0" && pkg_failed=yes
13124 else
13125   pkg_failed=yes
13126 fi
13127  else
13128     pkg_failed=untried
13129 fi
13130
13131
13132
13133 if test $pkg_failed = yes; then
13134         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13135 $as_echo "no" >&6; }
13136
13137 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13138         _pkg_short_errors_supported=yes
13139 else
13140         _pkg_short_errors_supported=no
13141 fi
13142         if test $_pkg_short_errors_supported = yes; then
13143                 ECORE_X_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-x >= 1.7.8 ecore-evas >= 1.7.8" 2>&1`
13144         else
13145                 ECORE_X_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-x >= 1.7.8 ecore-evas >= 1.7.8" 2>&1`
13146         fi
13147         # Put the nasty error message in config.log where it belongs
13148         echo "$ECORE_X_PKG_ERRORS" >&5
13149
13150         have_ecore_x="no"
13151 elif test $pkg_failed = untried; then
13152         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13153 $as_echo "no" >&6; }
13154         have_ecore_x="no"
13155 else
13156         ECORE_X_CFLAGS=$pkg_cv_ECORE_X_CFLAGS
13157         ECORE_X_LIBS=$pkg_cv_ECORE_X_LIBS
13158         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13159 $as_echo "yes" >&6; }
13160         have_ecore_x="yes"
13161 fi
13162
13163
13164 pkg_failed=no
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_FB" >&5
13166 $as_echo_n "checking for ECORE_FB... " >&6; }
13167
13168 if test -n "$ECORE_FB_CFLAGS"; then
13169     pkg_cv_ECORE_FB_CFLAGS="$ECORE_FB_CFLAGS"
13170  elif test -n "$PKG_CONFIG"; then
13171     if test -n "$PKG_CONFIG" && \
13172     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-fb >= 1.7.8\""; } >&5
13173   ($PKG_CONFIG --exists --print-errors "ecore-fb >= 1.7.8") 2>&5
13174   ac_status=$?
13175   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13176   test $ac_status = 0; }; then
13177   pkg_cv_ECORE_FB_CFLAGS=`$PKG_CONFIG --cflags "ecore-fb >= 1.7.8" 2>/dev/null`
13178                       test "x$?" != "x0" && pkg_failed=yes
13179 else
13180   pkg_failed=yes
13181 fi
13182  else
13183     pkg_failed=untried
13184 fi
13185 if test -n "$ECORE_FB_LIBS"; then
13186     pkg_cv_ECORE_FB_LIBS="$ECORE_FB_LIBS"
13187  elif test -n "$PKG_CONFIG"; then
13188     if test -n "$PKG_CONFIG" && \
13189     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-fb >= 1.7.8\""; } >&5
13190   ($PKG_CONFIG --exists --print-errors "ecore-fb >= 1.7.8") 2>&5
13191   ac_status=$?
13192   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13193   test $ac_status = 0; }; then
13194   pkg_cv_ECORE_FB_LIBS=`$PKG_CONFIG --libs "ecore-fb >= 1.7.8" 2>/dev/null`
13195                       test "x$?" != "x0" && pkg_failed=yes
13196 else
13197   pkg_failed=yes
13198 fi
13199  else
13200     pkg_failed=untried
13201 fi
13202
13203
13204
13205 if test $pkg_failed = yes; then
13206         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13207 $as_echo "no" >&6; }
13208
13209 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13210         _pkg_short_errors_supported=yes
13211 else
13212         _pkg_short_errors_supported=no
13213 fi
13214         if test $_pkg_short_errors_supported = yes; then
13215                 ECORE_FB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-fb >= 1.7.8" 2>&1`
13216         else
13217                 ECORE_FB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-fb >= 1.7.8" 2>&1`
13218         fi
13219         # Put the nasty error message in config.log where it belongs
13220         echo "$ECORE_FB_PKG_ERRORS" >&5
13221
13222         have_ecore_fb="no"
13223 elif test $pkg_failed = untried; then
13224         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13225 $as_echo "no" >&6; }
13226         have_ecore_fb="no"
13227 else
13228         ECORE_FB_CFLAGS=$pkg_cv_ECORE_FB_CFLAGS
13229         ECORE_FB_LIBS=$pkg_cv_ECORE_FB_LIBS
13230         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13231 $as_echo "yes" >&6; }
13232         have_ecore_fb="yes"
13233 fi
13234
13235 if test "x${have_ecore_x}" = "xyes" ; then
13236
13237 $as_echo "#define EMOTION_HAVE_ECORE_X 1" >>confdefs.h
13238
13239 fi
13240
13241 if test "x${have_ecore_fb}" = "xyes" ; then
13242
13243 $as_echo "#define EMOTION_HAVE_ECORE_FB 1" >>confdefs.h
13244
13245 fi
13246
13247 if test -n "$PKG_CONFIG" && \
13248     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-x11 >= 1.7.8\""; } >&5
13249   ($PKG_CONFIG --exists --print-errors "evas-software-x11 >= 1.7.8") 2>&5
13250   ac_status=$?
13251   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13252   test $ac_status = 0; }; then
13253
13254 $as_echo "#define HAVE_EVAS_SOFWARE_X11 1" >>confdefs.h
13255
13256 fi
13257
13258 if test -n "$PKG_CONFIG" && \
13259     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-xrender-x11 >= 1.7.8\""; } >&5
13260   ($PKG_CONFIG --exists --print-errors "evas-xrender-x11 >= 1.7.8") 2>&5
13261   ac_status=$?
13262   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13263   test $ac_status = 0; }; then
13264
13265 $as_echo "#define HAVE_EVAS_XRENDER_X11 1" >>confdefs.h
13266
13267 fi
13268
13269 if test -n "$PKG_CONFIG" && \
13270     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-opengl-x11 >= 1.7.8\""; } >&5
13271   ($PKG_CONFIG --exists --print-errors "evas-opengl-x11 >= 1.7.8") 2>&5
13272   ac_status=$?
13273   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13274   test $ac_status = 0; }; then
13275
13276 $as_echo "#define HAVE_EVAS_OPENGL_X11 1" >>confdefs.h
13277
13278 fi
13279
13280 if test -n "$PKG_CONFIG" && \
13281     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-fb >= 1.7.8\""; } >&5
13282   ($PKG_CONFIG --exists --print-errors "evas-fb >= 1.7.8") 2>&5
13283   ac_status=$?
13284   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13285   test $ac_status = 0; }; then
13286
13287 $as_echo "#define HAVE_EVAS_FB 1" >>confdefs.h
13288
13289 fi
13290
13291
13292
13293 # Check whether --enable-edje-external was given.
13294 if test "${enable_edje_external+set}" = set; then :
13295   enableval=$enable_edje_external;
13296     if test "x${enableval}" = "xyes" ; then
13297        _efl_want_edje_external="yes"
13298     else
13299        _efl_want_edje_external="no"
13300     fi
13301
13302 else
13303   _efl_want_edje_external="auto"
13304 fi
13305
13306
13307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if should provide Edje EXTERNAL support..." >&5
13308 $as_echo_n "checking if should provide Edje EXTERNAL support...... " >&6; }
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_want_edje_external}" >&5
13310 $as_echo "${_efl_want_edje_external}" >&6; }
13311
13312 _efl_enable_edje_external="no"
13313 if ! test "x${_efl_want_edje_external}" = "xno" ; then
13314
13315 pkg_failed=no
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_EXTERNAL" >&5
13317 $as_echo_n "checking for EDJE_EXTERNAL... " >&6; }
13318
13319 if test -n "$EDJE_EXTERNAL_CFLAGS"; then
13320     pkg_cv_EDJE_EXTERNAL_CFLAGS="$EDJE_EXTERNAL_CFLAGS"
13321  elif test -n "$PKG_CONFIG"; then
13322     if test -n "$PKG_CONFIG" && \
13323     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje >= 1.0.0\""; } >&5
13324   ($PKG_CONFIG --exists --print-errors "edje >= 1.0.0") 2>&5
13325   ac_status=$?
13326   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13327   test $ac_status = 0; }; then
13328   pkg_cv_EDJE_EXTERNAL_CFLAGS=`$PKG_CONFIG --cflags "edje >= 1.0.0" 2>/dev/null`
13329                       test "x$?" != "x0" && pkg_failed=yes
13330 else
13331   pkg_failed=yes
13332 fi
13333  else
13334     pkg_failed=untried
13335 fi
13336 if test -n "$EDJE_EXTERNAL_LIBS"; then
13337     pkg_cv_EDJE_EXTERNAL_LIBS="$EDJE_EXTERNAL_LIBS"
13338  elif test -n "$PKG_CONFIG"; then
13339     if test -n "$PKG_CONFIG" && \
13340     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje >= 1.0.0\""; } >&5
13341   ($PKG_CONFIG --exists --print-errors "edje >= 1.0.0") 2>&5
13342   ac_status=$?
13343   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13344   test $ac_status = 0; }; then
13345   pkg_cv_EDJE_EXTERNAL_LIBS=`$PKG_CONFIG --libs "edje >= 1.0.0" 2>/dev/null`
13346                       test "x$?" != "x0" && pkg_failed=yes
13347 else
13348   pkg_failed=yes
13349 fi
13350  else
13351     pkg_failed=untried
13352 fi
13353
13354
13355
13356 if test $pkg_failed = yes; then
13357         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13358 $as_echo "no" >&6; }
13359
13360 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13361         _pkg_short_errors_supported=yes
13362 else
13363         _pkg_short_errors_supported=no
13364 fi
13365         if test $_pkg_short_errors_supported = yes; then
13366                 EDJE_EXTERNAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "edje >= 1.0.0" 2>&1`
13367         else
13368                 EDJE_EXTERNAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "edje >= 1.0.0" 2>&1`
13369         fi
13370         # Put the nasty error message in config.log where it belongs
13371         echo "$EDJE_EXTERNAL_PKG_ERRORS" >&5
13372
13373         _efl_enable_edje_external="no"
13374 elif test $pkg_failed = untried; then
13375         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13376 $as_echo "no" >&6; }
13377         _efl_enable_edje_external="no"
13378 else
13379         EDJE_EXTERNAL_CFLAGS=$pkg_cv_EDJE_EXTERNAL_CFLAGS
13380         EDJE_EXTERNAL_LIBS=$pkg_cv_EDJE_EXTERNAL_LIBS
13381         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13382 $as_echo "yes" >&6; }
13383         _efl_enable_edje_external="yes"
13384 fi
13385 fi
13386
13387
13388
13389
13390 if test "x${_efl_want_edje_external}" = "xyes" && test "x${_efl_enable_edje_external}" = "xno" ; then
13391    as_fn_error $? "Edje EXTERNAL support requested, but Edje not found by pkg-config." "$LINENO" 5
13392 fi
13393
13394 if test "x${_efl_enable_edje_external}" = "xyes" ; then
13395    EDJE_VERSION=`${PKG_CONFIG} edje --modversion | awk -F . '{printf("%s.0.0", $1);}'`
13396    MODULE_EDJE="$host_os-$host_cpu-${EDJE_VERSION}"
13397
13398 cat >>confdefs.h <<_ACEOF
13399 #define MODULE_EDJE "$MODULE_EDJE"
13400 _ACEOF
13401
13402 fi
13403
13404
13405
13406  if test "x${_efl_enable_edje_external}" = "xyes"; then
13407   ENABLE_EDJE_EXTERNAL_TRUE=
13408   ENABLE_EDJE_EXTERNAL_FALSE='#'
13409 else
13410   ENABLE_EDJE_EXTERNAL_TRUE='#'
13411   ENABLE_EDJE_EXTERNAL_FALSE=
13412 fi
13413
13414
13415 if test "x${_efl_enable_edje_external}" = "xyes"; then :
13416   have_edje_external="yes"
13417 else
13418   have_edje_external="no"
13419 fi
13420
13421
13422
13423
13424 pkg_failed=no
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EEZE" >&5
13426 $as_echo_n "checking for EEZE... " >&6; }
13427
13428 if test -n "$EEZE_CFLAGS"; then
13429     pkg_cv_EEZE_CFLAGS="$EEZE_CFLAGS"
13430  elif test -n "$PKG_CONFIG"; then
13431     if test -n "$PKG_CONFIG" && \
13432     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eeze >= 1.7.8\""; } >&5
13433   ($PKG_CONFIG --exists --print-errors "eeze >= 1.7.8") 2>&5
13434   ac_status=$?
13435   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13436   test $ac_status = 0; }; then
13437   pkg_cv_EEZE_CFLAGS=`$PKG_CONFIG --cflags "eeze >= 1.7.8" 2>/dev/null`
13438                       test "x$?" != "x0" && pkg_failed=yes
13439 else
13440   pkg_failed=yes
13441 fi
13442  else
13443     pkg_failed=untried
13444 fi
13445 if test -n "$EEZE_LIBS"; then
13446     pkg_cv_EEZE_LIBS="$EEZE_LIBS"
13447  elif test -n "$PKG_CONFIG"; then
13448     if test -n "$PKG_CONFIG" && \
13449     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eeze >= 1.7.8\""; } >&5
13450   ($PKG_CONFIG --exists --print-errors "eeze >= 1.7.8") 2>&5
13451   ac_status=$?
13452   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13453   test $ac_status = 0; }; then
13454   pkg_cv_EEZE_LIBS=`$PKG_CONFIG --libs "eeze >= 1.7.8" 2>/dev/null`
13455                       test "x$?" != "x0" && pkg_failed=yes
13456 else
13457   pkg_failed=yes
13458 fi
13459  else
13460     pkg_failed=untried
13461 fi
13462
13463
13464
13465 if test $pkg_failed = yes; then
13466         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13467 $as_echo "no" >&6; }
13468
13469 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13470         _pkg_short_errors_supported=yes
13471 else
13472         _pkg_short_errors_supported=no
13473 fi
13474         if test $_pkg_short_errors_supported = yes; then
13475                 EEZE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eeze >= 1.7.8" 2>&1`
13476         else
13477                 EEZE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eeze >= 1.7.8" 2>&1`
13478         fi
13479         # Put the nasty error message in config.log where it belongs
13480         echo "$EEZE_PKG_ERRORS" >&5
13481
13482         have_eeze="no"
13483 elif test $pkg_failed = untried; then
13484         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13485 $as_echo "no" >&6; }
13486         have_eeze="no"
13487 else
13488         EEZE_CFLAGS=$pkg_cv_EEZE_CFLAGS
13489         EEZE_LIBS=$pkg_cv_EEZE_LIBS
13490         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13491 $as_echo "yes" >&6; }
13492         have_eeze="yes"
13493 fi
13494
13495 if test "x${have_eeze}" = "xyes"; then
13496
13497 $as_echo "#define EMOTION_HAVE_EEZE 1" >>confdefs.h
13498
13499    requirement_emotion="${requirement_emotion} eeze >= 1.7.8"
13500 fi
13501
13502
13503 pkg_failed=no
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIO" >&5
13505 $as_echo_n "checking for EIO... " >&6; }
13506
13507 if test -n "$EIO_CFLAGS"; then
13508     pkg_cv_EIO_CFLAGS="$EIO_CFLAGS"
13509  elif test -n "$PKG_CONFIG"; then
13510     if test -n "$PKG_CONFIG" && \
13511     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio >= 1.7.8\""; } >&5
13512   ($PKG_CONFIG --exists --print-errors "eio >= 1.7.8") 2>&5
13513   ac_status=$?
13514   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13515   test $ac_status = 0; }; then
13516   pkg_cv_EIO_CFLAGS=`$PKG_CONFIG --cflags "eio >= 1.7.8" 2>/dev/null`
13517                       test "x$?" != "x0" && pkg_failed=yes
13518 else
13519   pkg_failed=yes
13520 fi
13521  else
13522     pkg_failed=untried
13523 fi
13524 if test -n "$EIO_LIBS"; then
13525     pkg_cv_EIO_LIBS="$EIO_LIBS"
13526  elif test -n "$PKG_CONFIG"; then
13527     if test -n "$PKG_CONFIG" && \
13528     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio >= 1.7.8\""; } >&5
13529   ($PKG_CONFIG --exists --print-errors "eio >= 1.7.8") 2>&5
13530   ac_status=$?
13531   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13532   test $ac_status = 0; }; then
13533   pkg_cv_EIO_LIBS=`$PKG_CONFIG --libs "eio >= 1.7.8" 2>/dev/null`
13534                       test "x$?" != "x0" && pkg_failed=yes
13535 else
13536   pkg_failed=yes
13537 fi
13538  else
13539     pkg_failed=untried
13540 fi
13541
13542
13543
13544 if test $pkg_failed = yes; then
13545         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13546 $as_echo "no" >&6; }
13547
13548 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13549         _pkg_short_errors_supported=yes
13550 else
13551         _pkg_short_errors_supported=no
13552 fi
13553         if test $_pkg_short_errors_supported = yes; then
13554                 EIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eio >= 1.7.8" 2>&1`
13555         else
13556                 EIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eio >= 1.7.8" 2>&1`
13557         fi
13558         # Put the nasty error message in config.log where it belongs
13559         echo "$EIO_PKG_ERRORS" >&5
13560
13561         have_eio="no"
13562 elif test $pkg_failed = untried; then
13563         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13564 $as_echo "no" >&6; }
13565         have_eio="no"
13566 else
13567         EIO_CFLAGS=$pkg_cv_EIO_CFLAGS
13568         EIO_LIBS=$pkg_cv_EIO_LIBS
13569         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13570 $as_echo "yes" >&6; }
13571         have_eio="yes"
13572 fi
13573 if test "x${have_eio}" = "xyes"; then
13574
13575 $as_echo "#define HAVE_EIO 1" >>confdefs.h
13576
13577    requirement_emotion="eio >= 1.7.8 ${requirement_emotion}"
13578 fi
13579
13580  if test "x${have_eio}" = "xyes"; then
13581   HAVE_EIO_TRUE=
13582   HAVE_EIO_FALSE='#'
13583 else
13584   HAVE_EIO_TRUE='#'
13585   HAVE_EIO_FALSE=
13586 fi
13587
13588
13589 # ecore-x availability, used for XV, VAAPI, VDPAU output.
13590
13591 have_ecore_x="no"
13592 # Check whether --enable-ecore-x was given.
13593 if test "${enable_ecore_x+set}" = set; then :
13594   enableval=$enable_ecore_x;
13595     if test "x${enableval}" = "xyes" || test "x${enableval}" = "xauto" ; then
13596        want_ecore_x=${enableval}
13597     else
13598        want_ecore_x="no"
13599     fi
13600
13601 else
13602   want_ecore_x="auto"
13603 fi
13604
13605
13606 if ! test "x$want_ecore_x" = "xno" ; then
13607
13608 pkg_failed=no
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_X" >&5
13610 $as_echo_n "checking for ECORE_X... " >&6; }
13611
13612 if test -n "$ECORE_X_CFLAGS"; then
13613     pkg_cv_ECORE_X_CFLAGS="$ECORE_X_CFLAGS"
13614  elif test -n "$PKG_CONFIG"; then
13615     if test -n "$PKG_CONFIG" && \
13616     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.7.8\""; } >&5
13617   ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.7.8") 2>&5
13618   ac_status=$?
13619   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13620   test $ac_status = 0; }; then
13621   pkg_cv_ECORE_X_CFLAGS=`$PKG_CONFIG --cflags "ecore-x >= 1.7.8" 2>/dev/null`
13622                       test "x$?" != "x0" && pkg_failed=yes
13623 else
13624   pkg_failed=yes
13625 fi
13626  else
13627     pkg_failed=untried
13628 fi
13629 if test -n "$ECORE_X_LIBS"; then
13630     pkg_cv_ECORE_X_LIBS="$ECORE_X_LIBS"
13631  elif test -n "$PKG_CONFIG"; then
13632     if test -n "$PKG_CONFIG" && \
13633     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.7.8\""; } >&5
13634   ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.7.8") 2>&5
13635   ac_status=$?
13636   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13637   test $ac_status = 0; }; then
13638   pkg_cv_ECORE_X_LIBS=`$PKG_CONFIG --libs "ecore-x >= 1.7.8" 2>/dev/null`
13639                       test "x$?" != "x0" && pkg_failed=yes
13640 else
13641   pkg_failed=yes
13642 fi
13643  else
13644     pkg_failed=untried
13645 fi
13646
13647
13648
13649 if test $pkg_failed = yes; then
13650         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13651 $as_echo "no" >&6; }
13652
13653 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13654         _pkg_short_errors_supported=yes
13655 else
13656         _pkg_short_errors_supported=no
13657 fi
13658         if test $_pkg_short_errors_supported = yes; then
13659                 ECORE_X_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-x >= 1.7.8" 2>&1`
13660         else
13661                 ECORE_X_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-x >= 1.7.8" 2>&1`
13662         fi
13663         # Put the nasty error message in config.log where it belongs
13664         echo "$ECORE_X_PKG_ERRORS" >&5
13665
13666         have_ecore_x="no"
13667
13668 elif test $pkg_failed = untried; then
13669         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13670 $as_echo "no" >&6; }
13671         have_ecore_x="no"
13672
13673 else
13674         ECORE_X_CFLAGS=$pkg_cv_ECORE_X_CFLAGS
13675         ECORE_X_LIBS=$pkg_cv_ECORE_X_LIBS
13676         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13677 $as_echo "yes" >&6; }
13678
13679
13680 $as_echo "#define HAVE_ECORE_X 1" >>confdefs.h
13681
13682        have_ecore_x="yes"
13683        requirement_elm="ecore-x >= 1.7.8 ${requirement_elm}"
13684
13685 fi
13686 else
13687     have_ecore_x="no"
13688 fi
13689
13690 if test "x$want_ecore_x" = "xyes" && test "x$have_ecore_x" = "xno" ; then
13691     as_fn_error $? "ecore-x support requested, but not found by pkg-config." "$LINENO" 5
13692 fi
13693
13694 ### Checks for header files
13695
13696 for ac_header in unistd.h
13697 do :
13698   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
13699 if test "x$ac_cv_header_unistd_h" = xyes; then :
13700   cat >>confdefs.h <<_ACEOF
13701 #define HAVE_UNISTD_H 1
13702 _ACEOF
13703
13704 fi
13705
13706 done
13707
13708
13709 # Check for video4linux
13710
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for V4L2" >&5
13712 $as_echo_n "checking for V4L2... " >&6; }
13713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13714 /* end confdefs.h.  */
13715
13716 #include <stdio.h>
13717 #include <linux/videodev2.h>
13718
13719 int
13720 main ()
13721 {
13722
13723 fprintf(stdout, "%i\n", V4L2_CAP_VIDEO_CAPTURE);
13724
13725   ;
13726   return 0;
13727 }
13728 _ACEOF
13729 if ac_fn_c_try_compile "$LINENO"; then :
13730
13731
13732 $as_echo "#define HAVE_V4L2 1" >>confdefs.h
13733
13734     have_v4l2="yes"
13735
13736 else
13737   have_v4l2="no"
13738 fi
13739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_v4l2}" >&5
13741 $as_echo "${have_v4l2}" >&6; }
13742
13743 ### Checks for types
13744
13745
13746 ### Checks for structures
13747
13748
13749 ### Checks for compiler characteristics
13750  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13751 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13752 if ${ac_cv_c_bigendian+:} false; then :
13753   $as_echo_n "(cached) " >&6
13754 else
13755   ac_cv_c_bigendian=unknown
13756     # See if we're dealing with a universal compiler.
13757     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13758 /* end confdefs.h.  */
13759 #ifndef __APPLE_CC__
13760                not a universal capable compiler
13761              #endif
13762              typedef int dummy;
13763
13764 _ACEOF
13765 if ac_fn_c_try_compile "$LINENO"; then :
13766
13767         # Check for potential -arch flags.  It is not universal unless
13768         # there are at least two -arch flags with different values.
13769         ac_arch=
13770         ac_prev=
13771         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13772          if test -n "$ac_prev"; then
13773            case $ac_word in
13774              i?86 | x86_64 | ppc | ppc64)
13775                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
13776                  ac_arch=$ac_word
13777                else
13778                  ac_cv_c_bigendian=universal
13779                  break
13780                fi
13781                ;;
13782            esac
13783            ac_prev=
13784          elif test "x$ac_word" = "x-arch"; then
13785            ac_prev=arch
13786          fi
13787        done
13788 fi
13789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13790     if test $ac_cv_c_bigendian = unknown; then
13791       # See if sys/param.h defines the BYTE_ORDER macro.
13792       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13793 /* end confdefs.h.  */
13794 #include <sys/types.h>
13795              #include <sys/param.h>
13796
13797 int
13798 main ()
13799 {
13800 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13801                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13802                      && LITTLE_ENDIAN)
13803               bogus endian macros
13804              #endif
13805
13806   ;
13807   return 0;
13808 }
13809 _ACEOF
13810 if ac_fn_c_try_compile "$LINENO"; then :
13811   # It does; now see whether it defined to BIG_ENDIAN or not.
13812          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13813 /* end confdefs.h.  */
13814 #include <sys/types.h>
13815                 #include <sys/param.h>
13816
13817 int
13818 main ()
13819 {
13820 #if BYTE_ORDER != BIG_ENDIAN
13821                  not big endian
13822                 #endif
13823
13824   ;
13825   return 0;
13826 }
13827 _ACEOF
13828 if ac_fn_c_try_compile "$LINENO"; then :
13829   ac_cv_c_bigendian=yes
13830 else
13831   ac_cv_c_bigendian=no
13832 fi
13833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13834 fi
13835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13836     fi
13837     if test $ac_cv_c_bigendian = unknown; then
13838       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13839       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13840 /* end confdefs.h.  */
13841 #include <limits.h>
13842
13843 int
13844 main ()
13845 {
13846 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13847               bogus endian macros
13848              #endif
13849
13850   ;
13851   return 0;
13852 }
13853 _ACEOF
13854 if ac_fn_c_try_compile "$LINENO"; then :
13855   # It does; now see whether it defined to _BIG_ENDIAN or not.
13856          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13857 /* end confdefs.h.  */
13858 #include <limits.h>
13859
13860 int
13861 main ()
13862 {
13863 #ifndef _BIG_ENDIAN
13864                  not big endian
13865                 #endif
13866
13867   ;
13868   return 0;
13869 }
13870 _ACEOF
13871 if ac_fn_c_try_compile "$LINENO"; then :
13872   ac_cv_c_bigendian=yes
13873 else
13874   ac_cv_c_bigendian=no
13875 fi
13876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13877 fi
13878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13879     fi
13880     if test $ac_cv_c_bigendian = unknown; then
13881       # Compile a test program.
13882       if test "$cross_compiling" = yes; then :
13883   # Try to guess by grepping values from an object file.
13884          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13885 /* end confdefs.h.  */
13886 short int ascii_mm[] =
13887                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13888                 short int ascii_ii[] =
13889                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13890                 int use_ascii (int i) {
13891                   return ascii_mm[i] + ascii_ii[i];
13892                 }
13893                 short int ebcdic_ii[] =
13894                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13895                 short int ebcdic_mm[] =
13896                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13897                 int use_ebcdic (int i) {
13898                   return ebcdic_mm[i] + ebcdic_ii[i];
13899                 }
13900                 extern int foo;
13901
13902 int
13903 main ()
13904 {
13905 return use_ascii (foo) == use_ebcdic (foo);
13906   ;
13907   return 0;
13908 }
13909 _ACEOF
13910 if ac_fn_c_try_compile "$LINENO"; then :
13911   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
13912               ac_cv_c_bigendian=yes
13913             fi
13914             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
13915               if test "$ac_cv_c_bigendian" = unknown; then
13916                 ac_cv_c_bigendian=no
13917               else
13918                 # finding both strings is unlikely to happen, but who knows?
13919                 ac_cv_c_bigendian=unknown
13920               fi
13921             fi
13922 fi
13923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13924 else
13925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13926 /* end confdefs.h.  */
13927 $ac_includes_default
13928 int
13929 main ()
13930 {
13931
13932              /* Are we little or big endian?  From Harbison&Steele.  */
13933              union
13934              {
13935                long int l;
13936                char c[sizeof (long int)];
13937              } u;
13938              u.l = 1;
13939              return u.c[sizeof (long int) - 1] == 1;
13940
13941   ;
13942   return 0;
13943 }
13944 _ACEOF
13945 if ac_fn_c_try_run "$LINENO"; then :
13946   ac_cv_c_bigendian=no
13947 else
13948   ac_cv_c_bigendian=yes
13949 fi
13950 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13951   conftest.$ac_objext conftest.beam conftest.$ac_ext
13952 fi
13953
13954     fi
13955 fi
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13957 $as_echo "$ac_cv_c_bigendian" >&6; }
13958  case $ac_cv_c_bigendian in #(
13959    yes)
13960      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
13961 ;; #(
13962    no)
13963       ;; #(
13964    universal)
13965
13966 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13967
13968      ;; #(
13969    *)
13970      as_fn_error $? "unknown endianness
13971  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13972  esac
13973
13974
13975
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
13977 $as_echo_n "checking for __attribute__... " >&6; }
13978
13979 if ${ac_cv___attribute__+:} false; then :
13980   $as_echo_n "(cached) " >&6
13981 else
13982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13983 /* end confdefs.h.  */
13984
13985 #include <stdlib.h>
13986
13987 int func(int x);
13988 int foo(int x __attribute__ ((unused)))
13989 {
13990    exit(1);
13991 }
13992
13993 int
13994 main ()
13995 {
13996
13997   ;
13998   return 0;
13999 }
14000 _ACEOF
14001 if ac_fn_c_try_compile "$LINENO"; then :
14002   ac_cv___attribute__="yes"
14003 else
14004   ac_cv___attribute__="no"
14005
14006 fi
14007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14008
14009 fi
14010
14011
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
14013 $as_echo "$ac_cv___attribute__" >&6; }
14014
14015 if test "x${ac_cv___attribute__}" = "xyes" ; then
14016
14017 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
14018
14019
14020 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
14021
14022   else
14023
14024 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
14025
14026 fi
14027
14028
14029
14030 EFL_EMOTION_BUILD=""
14031 case "$host_os" in
14032    mingw32ce*)
14033       EMOTION_CPPFLAGS="-D_WIN32_WCE=0x0420"
14034       EFL_EMOTION_BUILD="-DEFL_EMOTION_BUILD"
14035       ;;
14036    mingw*)
14037       EMOTION_CPPFLAGS="-D_WIN32_WINNT=0x0501"
14038       EFL_EMOTION_BUILD="-DEFL_EMOTION_BUILD"
14039       ;;
14040 esac
14041
14042
14043
14044
14045 ### Checks for linker characteristics
14046
14047 # use --enable-auto-import on Windows
14048
14049 lt_enable_auto_import=""
14050 case "$host_os" in
14051    mingw*)
14052       lt_enable_auto_import="-Wl,--enable-auto-import"
14053       ;;
14054 esac
14055
14056
14057
14058 ### Checks for library functions
14059 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14060 if test "x$ac_cv_type_size_t" = xyes; then :
14061
14062 else
14063
14064 cat >>confdefs.h <<_ACEOF
14065 #define size_t unsigned int
14066 _ACEOF
14067
14068 fi
14069
14070 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
14071 # for constant arguments.  Useless!
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
14073 $as_echo_n "checking for working alloca.h... " >&6; }
14074 if ${ac_cv_working_alloca_h+:} false; then :
14075   $as_echo_n "(cached) " >&6
14076 else
14077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14078 /* end confdefs.h.  */
14079 #include <alloca.h>
14080 int
14081 main ()
14082 {
14083 char *p = (char *) alloca (2 * sizeof (int));
14084                           if (p) return 0;
14085   ;
14086   return 0;
14087 }
14088 _ACEOF
14089 if ac_fn_c_try_link "$LINENO"; then :
14090   ac_cv_working_alloca_h=yes
14091 else
14092   ac_cv_working_alloca_h=no
14093 fi
14094 rm -f core conftest.err conftest.$ac_objext \
14095     conftest$ac_exeext conftest.$ac_ext
14096 fi
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
14098 $as_echo "$ac_cv_working_alloca_h" >&6; }
14099 if test $ac_cv_working_alloca_h = yes; then
14100
14101 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
14102
14103 fi
14104
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
14106 $as_echo_n "checking for alloca... " >&6; }
14107 if ${ac_cv_func_alloca_works+:} false; then :
14108   $as_echo_n "(cached) " >&6
14109 else
14110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14111 /* end confdefs.h.  */
14112 #ifdef __GNUC__
14113 # define alloca __builtin_alloca
14114 #else
14115 # ifdef _MSC_VER
14116 #  include <malloc.h>
14117 #  define alloca _alloca
14118 # else
14119 #  ifdef HAVE_ALLOCA_H
14120 #   include <alloca.h>
14121 #  else
14122 #   ifdef _AIX
14123  #pragma alloca
14124 #   else
14125 #    ifndef alloca /* predefined by HP cc +Olibcalls */
14126 void *alloca (size_t);
14127 #    endif
14128 #   endif
14129 #  endif
14130 # endif
14131 #endif
14132
14133 int
14134 main ()
14135 {
14136 char *p = (char *) alloca (1);
14137                                     if (p) return 0;
14138   ;
14139   return 0;
14140 }
14141 _ACEOF
14142 if ac_fn_c_try_link "$LINENO"; then :
14143   ac_cv_func_alloca_works=yes
14144 else
14145   ac_cv_func_alloca_works=no
14146 fi
14147 rm -f core conftest.err conftest.$ac_objext \
14148     conftest$ac_exeext conftest.$ac_ext
14149 fi
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
14151 $as_echo "$ac_cv_func_alloca_works" >&6; }
14152
14153 if test $ac_cv_func_alloca_works = yes; then
14154
14155 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
14156
14157 else
14158   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
14159 # that cause trouble.  Some versions do not even contain alloca or
14160 # contain a buggy version.  If you still want to use their alloca,
14161 # use ar to extract alloca.o from them instead of compiling alloca.c.
14162
14163 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
14164
14165 $as_echo "#define C_ALLOCA 1" >>confdefs.h
14166
14167
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
14169 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
14170 if ${ac_cv_os_cray+:} false; then :
14171   $as_echo_n "(cached) " >&6
14172 else
14173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14174 /* end confdefs.h.  */
14175 #if defined CRAY && ! defined CRAY2
14176 webecray
14177 #else
14178 wenotbecray
14179 #endif
14180
14181 _ACEOF
14182 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14183   $EGREP "webecray" >/dev/null 2>&1; then :
14184   ac_cv_os_cray=yes
14185 else
14186   ac_cv_os_cray=no
14187 fi
14188 rm -f conftest*
14189
14190 fi
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
14192 $as_echo "$ac_cv_os_cray" >&6; }
14193 if test $ac_cv_os_cray = yes; then
14194   for ac_func in _getb67 GETB67 getb67; do
14195     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14196 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14197 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14198
14199 cat >>confdefs.h <<_ACEOF
14200 #define CRAY_STACKSEG_END $ac_func
14201 _ACEOF
14202
14203     break
14204 fi
14205
14206   done
14207 fi
14208
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
14210 $as_echo_n "checking stack direction for C alloca... " >&6; }
14211 if ${ac_cv_c_stack_direction+:} false; then :
14212   $as_echo_n "(cached) " >&6
14213 else
14214   if test "$cross_compiling" = yes; then :
14215   ac_cv_c_stack_direction=0
14216 else
14217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14218 /* end confdefs.h.  */
14219 $ac_includes_default
14220 int
14221 find_stack_direction (int *addr, int depth)
14222 {
14223   int dir, dummy = 0;
14224   if (! addr)
14225     addr = &dummy;
14226   *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
14227   dir = depth ? find_stack_direction (addr, depth - 1) : 0;
14228   return dir + dummy;
14229 }
14230
14231 int
14232 main (int argc, char **argv)
14233 {
14234   return find_stack_direction (0, argc + !argv + 20) < 0;
14235 }
14236 _ACEOF
14237 if ac_fn_c_try_run "$LINENO"; then :
14238   ac_cv_c_stack_direction=1
14239 else
14240   ac_cv_c_stack_direction=-1
14241 fi
14242 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14243   conftest.$ac_objext conftest.beam conftest.$ac_ext
14244 fi
14245
14246 fi
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
14248 $as_echo "$ac_cv_c_stack_direction" >&6; }
14249 cat >>confdefs.h <<_ACEOF
14250 #define STACK_DIRECTION $ac_cv_c_stack_direction
14251 _ACEOF
14252
14253
14254 fi
14255
14256
14257
14258 ### Modules
14259
14260
14261
14262 want_module="${want_xine}"
14263
14264 # Check whether --enable-xine was given.
14265 if test "${enable_xine+set}" = set; then :
14266   enableval=$enable_xine;
14267     if test "x${enableval}" = "xyes" ; then
14268        enable_module="yes"
14269     else
14270        if test "x${enableval}" = "xstatic" ; then
14271           enable_module="static"
14272        else
14273           enable_module="no"
14274        fi
14275     fi
14276
14277 else
14278   enable_module="yes"
14279 fi
14280
14281
14282 if test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic" ; then
14283    want_module="yes"
14284 fi
14285
14286 have_module="no"
14287 if test "x${want_module}" = "xyes" && (test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic") ; then
14288
14289
14290 requirement=""
14291
14292
14293 pkg_failed=no
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XINE" >&5
14295 $as_echo_n "checking for XINE... " >&6; }
14296
14297 if test -n "$XINE_CFLAGS"; then
14298     pkg_cv_XINE_CFLAGS="$XINE_CFLAGS"
14299  elif test -n "$PKG_CONFIG"; then
14300     if test -n "$PKG_CONFIG" && \
14301     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxine >= 1.1.1 evas >= 1.0.0\""; } >&5
14302   ($PKG_CONFIG --exists --print-errors "libxine >= 1.1.1 evas >= 1.0.0") 2>&5
14303   ac_status=$?
14304   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14305   test $ac_status = 0; }; then
14306   pkg_cv_XINE_CFLAGS=`$PKG_CONFIG --cflags "libxine >= 1.1.1 evas >= 1.0.0" 2>/dev/null`
14307                       test "x$?" != "x0" && pkg_failed=yes
14308 else
14309   pkg_failed=yes
14310 fi
14311  else
14312     pkg_failed=untried
14313 fi
14314 if test -n "$XINE_LIBS"; then
14315     pkg_cv_XINE_LIBS="$XINE_LIBS"
14316  elif test -n "$PKG_CONFIG"; then
14317     if test -n "$PKG_CONFIG" && \
14318     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxine >= 1.1.1 evas >= 1.0.0\""; } >&5
14319   ($PKG_CONFIG --exists --print-errors "libxine >= 1.1.1 evas >= 1.0.0") 2>&5
14320   ac_status=$?
14321   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14322   test $ac_status = 0; }; then
14323   pkg_cv_XINE_LIBS=`$PKG_CONFIG --libs "libxine >= 1.1.1 evas >= 1.0.0" 2>/dev/null`
14324                       test "x$?" != "x0" && pkg_failed=yes
14325 else
14326   pkg_failed=yes
14327 fi
14328  else
14329     pkg_failed=untried
14330 fi
14331
14332
14333
14334 if test $pkg_failed = yes; then
14335         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14336 $as_echo "no" >&6; }
14337
14338 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14339         _pkg_short_errors_supported=yes
14340 else
14341         _pkg_short_errors_supported=no
14342 fi
14343         if test $_pkg_short_errors_supported = yes; then
14344                 XINE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxine >= 1.1.1 evas >= 1.0.0" 2>&1`
14345         else
14346                 XINE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxine >= 1.1.1 evas >= 1.0.0" 2>&1`
14347         fi
14348         # Put the nasty error message in config.log where it belongs
14349         echo "$XINE_PKG_ERRORS" >&5
14350
14351         have_dep="no"
14352 elif test $pkg_failed = untried; then
14353         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14354 $as_echo "no" >&6; }
14355         have_dep="no"
14356 else
14357         XINE_CFLAGS=$pkg_cv_XINE_CFLAGS
14358         XINE_LIBS=$pkg_cv_XINE_LIBS
14359         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14360 $as_echo "yes" >&6; }
14361
14362     have_dep="yes"
14363     requirement="libxine"
14364
14365 fi
14366
14367 if test "x${enable_module}" = "xstatic" ; then
14368    requirement_emotion="${requirement} ${requirement_emotion}"
14369 fi
14370
14371 if test "x$have_dep" = "xyes"; then :
14372   have_module="yes"
14373 else
14374   have_module="no"
14375 fi
14376
14377
14378 fi
14379
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Xine module built" >&5
14381 $as_echo_n "checking whether to enable Xine module built... " >&6; }
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_module}" >&5
14383 $as_echo "${have_module}" >&6; }
14384
14385 static_module="no"
14386 if test "x${have_module}" = "xyes" && test "x${enable_module}" = "xstatic" ; then
14387    static_module="yes"
14388 fi
14389
14390  if test "x${have_module}" = "xyes"; then
14391   EMOTION_BUILD_XINE_TRUE=
14392   EMOTION_BUILD_XINE_FALSE='#'
14393 else
14394   EMOTION_BUILD_XINE_TRUE='#'
14395   EMOTION_BUILD_XINE_FALSE=
14396 fi
14397
14398  if test "x${static_module}" = "xyes"; then
14399   EMOTION_STATIC_BUILD_XINE_TRUE=
14400   EMOTION_STATIC_BUILD_XINE_FALSE='#'
14401 else
14402   EMOTION_STATIC_BUILD_XINE_TRUE='#'
14403   EMOTION_STATIC_BUILD_XINE_FALSE=
14404 fi
14405
14406
14407 if test "x${static_module}" = "xyes" ; then
14408
14409 $as_echo "#define EMOTION_STATIC_BUILD_XINE 1" >>confdefs.h
14410
14411    have_static_module="yes"
14412 fi
14413
14414 enable_xine="no"
14415 if test "x${have_module}" = "xyes" ; then
14416    enable_xine=${enable_module}
14417
14418 $as_echo "#define EMOTION_BUILD_XINE 1" >>confdefs.h
14419
14420 fi
14421
14422 if test "x$have_module" = "xyes"; then :
14423
14424 fi
14425
14426
14427
14428
14429
14430
14431 want_module="${want_gstreamer}"
14432
14433 # Check whether --enable-gstreamer was given.
14434 if test "${enable_gstreamer+set}" = set; then :
14435   enableval=$enable_gstreamer;
14436     if test "x${enableval}" = "xyes" ; then
14437        enable_module="yes"
14438     else
14439        if test "x${enableval}" = "xstatic" ; then
14440           enable_module="static"
14441        else
14442           enable_module="no"
14443        fi
14444     fi
14445
14446 else
14447   enable_module="yes"
14448 fi
14449
14450
14451 if test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic" ; then
14452    want_module="yes"
14453 fi
14454
14455 have_module="no"
14456 if test "x${want_module}" = "xyes" && (test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic") ; then
14457
14458
14459 GST_REQS=0.10.2
14460 GSTPLUG_REQS=0.10.1
14461 GST_MAJORMINOR=0.10
14462
14463 requirement=""
14464
14465 pkg_failed=no
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER" >&5
14467 $as_echo_n "checking for GSTREAMER... " >&6; }
14468
14469 if test -n "$GSTREAMER_CFLAGS"; then
14470     pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS"
14471  elif test -n "$PKG_CONFIG"; then
14472     if test -n "$PKG_CONFIG" && \
14473     { { $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
14474   ($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
14475   ac_status=$?
14476   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14477   test $ac_status = 0; }; then
14478   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`
14479                       test "x$?" != "x0" && pkg_failed=yes
14480 else
14481   pkg_failed=yes
14482 fi
14483  else
14484     pkg_failed=untried
14485 fi
14486 if test -n "$GSTREAMER_LIBS"; then
14487     pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS"
14488  elif test -n "$PKG_CONFIG"; then
14489     if test -n "$PKG_CONFIG" && \
14490     { { $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
14491   ($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
14492   ac_status=$?
14493   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14494   test $ac_status = 0; }; then
14495   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`
14496                       test "x$?" != "x0" && pkg_failed=yes
14497 else
14498   pkg_failed=yes
14499 fi
14500  else
14501     pkg_failed=untried
14502 fi
14503
14504
14505
14506 if test $pkg_failed = yes; then
14507         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14508 $as_echo "no" >&6; }
14509
14510 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14511         _pkg_short_errors_supported=yes
14512 else
14513         _pkg_short_errors_supported=no
14514 fi
14515         if test $_pkg_short_errors_supported = yes; then
14516                 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`
14517         else
14518                 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`
14519         fi
14520         # Put the nasty error message in config.log where it belongs
14521         echo "$GSTREAMER_PKG_ERRORS" >&5
14522
14523         have_dep="no"
14524 elif test $pkg_failed = untried; then
14525         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14526 $as_echo "no" >&6; }
14527         have_dep="no"
14528 else
14529         GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS
14530         GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS
14531         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14532 $as_echo "yes" >&6; }
14533
14534     have_dep="yes"
14535     requirement="gstreamer-$GST_MAJORMINOR gstreamer-plugins-base-$GST_MAJORMINOR"
14536
14537 fi
14538
14539 if test "x${enable_module}" = "xstatic" ; then
14540    requirement_emotion="${requirement} ${requirement_emotion}"
14541 fi
14542
14543 if test "x$have_dep" = "xyes"; then :
14544   have_module="yes"
14545 else
14546   have_module="no"
14547 fi
14548
14549
14550 fi
14551
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Gstreamer module built" >&5
14553 $as_echo_n "checking whether to enable Gstreamer module built... " >&6; }
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_module}" >&5
14555 $as_echo "${have_module}" >&6; }
14556
14557 static_module="no"
14558 if test "x${have_module}" = "xyes" && test "x${enable_module}" = "xstatic" ; then
14559    static_module="yes"
14560 fi
14561
14562  if test "x${have_module}" = "xyes"; then
14563   EMOTION_BUILD_GSTREAMER_TRUE=
14564   EMOTION_BUILD_GSTREAMER_FALSE='#'
14565 else
14566   EMOTION_BUILD_GSTREAMER_TRUE='#'
14567   EMOTION_BUILD_GSTREAMER_FALSE=
14568 fi
14569
14570  if test "x${static_module}" = "xyes"; then
14571   EMOTION_STATIC_BUILD_GSTREAMER_TRUE=
14572   EMOTION_STATIC_BUILD_GSTREAMER_FALSE='#'
14573 else
14574   EMOTION_STATIC_BUILD_GSTREAMER_TRUE='#'
14575   EMOTION_STATIC_BUILD_GSTREAMER_FALSE=
14576 fi
14577
14578
14579 if test "x${static_module}" = "xyes" ; then
14580
14581 $as_echo "#define EMOTION_STATIC_BUILD_GSTREAMER 1" >>confdefs.h
14582
14583    have_static_module="yes"
14584 fi
14585
14586 enable_gstreamer="no"
14587 if test "x${have_module}" = "xyes" ; then
14588    enable_gstreamer=${enable_module}
14589
14590 $as_echo "#define EMOTION_BUILD_GSTREAMER 1" >>confdefs.h
14591
14592 fi
14593
14594 if test "x$have_module" = "xyes"; then :
14595
14596 fi
14597
14598
14599
14600
14601
14602
14603 want_module="${want_generic}"
14604
14605 # Check whether --enable-generic was given.
14606 if test "${enable_generic+set}" = set; then :
14607   enableval=$enable_generic;
14608     if test "x${enableval}" = "xyes" ; then
14609        enable_module="yes"
14610     else
14611        if test "x${enableval}" = "xstatic" ; then
14612           enable_module="static"
14613        else
14614           enable_module="no"
14615        fi
14616     fi
14617
14618 else
14619   enable_module="yes"
14620 fi
14621
14622
14623 if test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic" ; then
14624    want_module="yes"
14625 fi
14626
14627 have_module="no"
14628 if test "x${want_module}" = "xyes" && (test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic") ; then
14629
14630
14631 requirement=""
14632
14633
14634 pkg_failed=no
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GENERIC" >&5
14636 $as_echo_n "checking for GENERIC... " >&6; }
14637
14638 if test -n "$GENERIC_CFLAGS"; then
14639     pkg_cv_GENERIC_CFLAGS="$GENERIC_CFLAGS"
14640  elif test -n "$PKG_CONFIG"; then
14641     if test -n "$PKG_CONFIG" && \
14642     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.0.0\""; } >&5
14643   ($PKG_CONFIG --exists --print-errors "evas >= 1.0.0") 2>&5
14644   ac_status=$?
14645   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14646   test $ac_status = 0; }; then
14647   pkg_cv_GENERIC_CFLAGS=`$PKG_CONFIG --cflags "evas >= 1.0.0" 2>/dev/null`
14648                       test "x$?" != "x0" && pkg_failed=yes
14649 else
14650   pkg_failed=yes
14651 fi
14652  else
14653     pkg_failed=untried
14654 fi
14655 if test -n "$GENERIC_LIBS"; then
14656     pkg_cv_GENERIC_LIBS="$GENERIC_LIBS"
14657  elif test -n "$PKG_CONFIG"; then
14658     if test -n "$PKG_CONFIG" && \
14659     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.0.0\""; } >&5
14660   ($PKG_CONFIG --exists --print-errors "evas >= 1.0.0") 2>&5
14661   ac_status=$?
14662   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14663   test $ac_status = 0; }; then
14664   pkg_cv_GENERIC_LIBS=`$PKG_CONFIG --libs "evas >= 1.0.0" 2>/dev/null`
14665                       test "x$?" != "x0" && pkg_failed=yes
14666 else
14667   pkg_failed=yes
14668 fi
14669  else
14670     pkg_failed=untried
14671 fi
14672
14673
14674
14675 if test $pkg_failed = yes; then
14676         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14677 $as_echo "no" >&6; }
14678
14679 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14680         _pkg_short_errors_supported=yes
14681 else
14682         _pkg_short_errors_supported=no
14683 fi
14684         if test $_pkg_short_errors_supported = yes; then
14685                 GENERIC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evas >= 1.0.0" 2>&1`
14686         else
14687                 GENERIC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evas >= 1.0.0" 2>&1`
14688         fi
14689         # Put the nasty error message in config.log where it belongs
14690         echo "$GENERIC_PKG_ERRORS" >&5
14691
14692         have_dep="no"
14693 elif test $pkg_failed = untried; then
14694         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14695 $as_echo "no" >&6; }
14696         have_dep="no"
14697 else
14698         GENERIC_CFLAGS=$pkg_cv_GENERIC_CFLAGS
14699         GENERIC_LIBS=$pkg_cv_GENERIC_LIBS
14700         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14701 $as_echo "yes" >&6; }
14702
14703     have_dep="yes"
14704
14705 fi
14706
14707 if test "x${enable_module}" = "xstatic" ; then
14708    requirement_emotion="${requirement} ${requirement_emotion}"
14709 fi
14710
14711 if test "x$have_dep" = "xyes"; then :
14712   have_module="yes"
14713 else
14714   have_module="no"
14715 fi
14716
14717
14718 fi
14719
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Generic module built" >&5
14721 $as_echo_n "checking whether to enable Generic module built... " >&6; }
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_module}" >&5
14723 $as_echo "${have_module}" >&6; }
14724
14725 static_module="no"
14726 if test "x${have_module}" = "xyes" && test "x${enable_module}" = "xstatic" ; then
14727    static_module="yes"
14728 fi
14729
14730  if test "x${have_module}" = "xyes"; then
14731   EMOTION_BUILD_GENERIC_TRUE=
14732   EMOTION_BUILD_GENERIC_FALSE='#'
14733 else
14734   EMOTION_BUILD_GENERIC_TRUE='#'
14735   EMOTION_BUILD_GENERIC_FALSE=
14736 fi
14737
14738  if test "x${static_module}" = "xyes"; then
14739   EMOTION_STATIC_BUILD_GENERIC_TRUE=
14740   EMOTION_STATIC_BUILD_GENERIC_FALSE='#'
14741 else
14742   EMOTION_STATIC_BUILD_GENERIC_TRUE='#'
14743   EMOTION_STATIC_BUILD_GENERIC_FALSE=
14744 fi
14745
14746
14747 if test "x${static_module}" = "xyes" ; then
14748
14749 $as_echo "#define EMOTION_STATIC_BUILD_GENERIC 1" >>confdefs.h
14750
14751    have_static_module="yes"
14752 fi
14753
14754 enable_generic="no"
14755 if test "x${have_module}" = "xyes" ; then
14756    enable_generic=${enable_module}
14757
14758 $as_echo "#define EMOTION_BUILD_GENERIC 1" >>confdefs.h
14759
14760 fi
14761
14762 if test "x$have_module" = "xyes"; then :
14763
14764 fi
14765
14766
14767
14768
14769
14770
14771
14772 want_module="${want_generic_vlc}"
14773
14774 # Check whether --enable-generic-vlc was given.
14775 if test "${enable_generic_vlc+set}" = set; then :
14776   enableval=$enable_generic_vlc;
14777     if test "x${enableval}" = "xyes" ; then
14778        enable_module="yes"
14779     else
14780        enable_module="no"
14781     fi
14782
14783 else
14784   enable_module="auto"
14785 fi
14786
14787
14788 # shm_open
14789
14790 _efl_have_shm_open="no"
14791
14792
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in libc" >&5
14794 $as_echo_n "checking for shm_open in libc... " >&6; }
14795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14796 /* end confdefs.h.  */
14797
14798 #include <sys/mman.h>
14799 #include <sys/stat.h>        /* For mode constants */
14800 #include <fcntl.h>           /* For O_* constants */
14801
14802 int
14803 main ()
14804 {
14805
14806 int fd;
14807
14808 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
14809
14810   ;
14811   return 0;
14812 }
14813 _ACEOF
14814 if ac_fn_c_try_link "$LINENO"; then :
14815   _efl_have_shm_open="yes"
14816 else
14817   _efl_have_shm_open="no"
14818 fi
14819 rm -f core conftest.err conftest.$ac_objext \
14820     conftest$ac_exeext conftest.$ac_ext
14821
14822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
14823 $as_echo "${_efl_have_shm_open}" >&6; }
14824
14825 if test "x$_efl_have_shm_open" = "xno" ; then
14826    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in librt" >&5
14827 $as_echo_n "checking for shm_open in librt... " >&6; }
14828
14829    LIBS_save="${LIBS}"
14830    LIBS="${LIBS} -lrt"
14831    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14832 /* end confdefs.h.  */
14833
14834 #include <sys/mman.h>
14835 #include <sys/stat.h>        /* For mode constants */
14836 #include <fcntl.h>           /* For O_* constants */
14837
14838 int
14839 main ()
14840 {
14841
14842 int fd;
14843
14844 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
14845
14846   ;
14847   return 0;
14848 }
14849 _ACEOF
14850 if ac_fn_c_try_link "$LINENO"; then :
14851
14852        EFL_SHM_OPEN_LIBS="-lrt"
14853        _efl_have_shm_open="yes"
14854 else
14855   _efl_have_shm_open="no"
14856 fi
14857 rm -f core conftest.err conftest.$ac_objext \
14858     conftest$ac_exeext conftest.$ac_ext
14859
14860    LIBS="${LIBS_save}"
14861
14862    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
14863 $as_echo "${_efl_have_shm_open}" >&6; }
14864 fi
14865
14866
14867
14868 if test "x$_efl_have_shm_open" = "xyes" ; then
14869
14870 $as_echo "#define HAVE_SHM_OPEN 1" >>confdefs.h
14871
14872 fi
14873
14874 if test "x$_efl_have_shm_open" = "xyes"; then :
14875   have_shm_open="yes"
14876 else
14877   have_shm_open="no"
14878 fi
14879
14880
14881
14882 if test "x${have_shm_open}" != "xyes"; then
14883   enable_generic="no"
14884 fi
14885
14886 if test "x${enable_generic}" != "xyes" && test "x${enable_generic}" != "xstatic"; then
14887    if test "x${enable_module}" = "xyes"; then
14888       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Generic module is disabled, force disable of Generic Player VLC" >&5
14889 $as_echo "$as_me: WARNING: Generic module is disabled, force disable of Generic Player VLC" >&2;}
14890    fi
14891    enable_module="no"
14892    want_module="no"
14893 fi
14894
14895 if test "x${enable_module}" = "xauto"; then
14896    enable_module="${want_module}"
14897 elif test "x${enable_module}" = "xyes"; then
14898    want_module="yes"
14899 fi
14900
14901 have_module="no"
14902 if test "x${want_module}" = "xyes" && test "x${enable_module}" = "xyes"; then
14903
14904
14905 requirement=""
14906
14907
14908 pkg_failed=no
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GENERIC_VLC" >&5
14910 $as_echo_n "checking for GENERIC_VLC... " >&6; }
14911
14912 if test -n "$GENERIC_VLC_CFLAGS"; then
14913     pkg_cv_GENERIC_VLC_CFLAGS="$GENERIC_VLC_CFLAGS"
14914  elif test -n "$PKG_CONFIG"; then
14915     if test -n "$PKG_CONFIG" && \
14916     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvlc >= 0.9 eina >= 1.1.99\""; } >&5
14917   ($PKG_CONFIG --exists --print-errors "libvlc >= 0.9 eina >= 1.1.99") 2>&5
14918   ac_status=$?
14919   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14920   test $ac_status = 0; }; then
14921   pkg_cv_GENERIC_VLC_CFLAGS=`$PKG_CONFIG --cflags "libvlc >= 0.9 eina >= 1.1.99" 2>/dev/null`
14922                       test "x$?" != "x0" && pkg_failed=yes
14923 else
14924   pkg_failed=yes
14925 fi
14926  else
14927     pkg_failed=untried
14928 fi
14929 if test -n "$GENERIC_VLC_LIBS"; then
14930     pkg_cv_GENERIC_VLC_LIBS="$GENERIC_VLC_LIBS"
14931  elif test -n "$PKG_CONFIG"; then
14932     if test -n "$PKG_CONFIG" && \
14933     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvlc >= 0.9 eina >= 1.1.99\""; } >&5
14934   ($PKG_CONFIG --exists --print-errors "libvlc >= 0.9 eina >= 1.1.99") 2>&5
14935   ac_status=$?
14936   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14937   test $ac_status = 0; }; then
14938   pkg_cv_GENERIC_VLC_LIBS=`$PKG_CONFIG --libs "libvlc >= 0.9 eina >= 1.1.99" 2>/dev/null`
14939                       test "x$?" != "x0" && pkg_failed=yes
14940 else
14941   pkg_failed=yes
14942 fi
14943  else
14944     pkg_failed=untried
14945 fi
14946
14947
14948
14949 if test $pkg_failed = yes; then
14950         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14951 $as_echo "no" >&6; }
14952
14953 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14954         _pkg_short_errors_supported=yes
14955 else
14956         _pkg_short_errors_supported=no
14957 fi
14958         if test $_pkg_short_errors_supported = yes; then
14959                 GENERIC_VLC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libvlc >= 0.9 eina >= 1.1.99" 2>&1`
14960         else
14961                 GENERIC_VLC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libvlc >= 0.9 eina >= 1.1.99" 2>&1`
14962         fi
14963         # Put the nasty error message in config.log where it belongs
14964         echo "$GENERIC_VLC_PKG_ERRORS" >&5
14965
14966         have_dep="no"
14967 elif test $pkg_failed = untried; then
14968         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14969 $as_echo "no" >&6; }
14970         have_dep="no"
14971 else
14972         GENERIC_VLC_CFLAGS=$pkg_cv_GENERIC_VLC_CFLAGS
14973         GENERIC_VLC_LIBS=$pkg_cv_GENERIC_VLC_LIBS
14974         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14975 $as_echo "yes" >&6; }
14976
14977     have_dep="yes"
14978     requirement="libvlc"
14979
14980 fi
14981
14982 if test "x${enable_module}" = "xstatic" ; then
14983    requirement_emotion="${requirement} ${requirement_emotion}"
14984 fi
14985
14986 if test "x$have_dep" = "xyes"; then :
14987   have_module="yes"
14988 else
14989   have_module="no"
14990 fi
14991
14992
14993 fi
14994
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to enable Generic Player VLC" >&5
14996 $as_echo_n "checking Whether to enable Generic Player VLC... " >&6; }
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_module}" >&5
14998 $as_echo "${have_module}" >&6; }
14999
15000  if test "x${have_module}" = "xyes"; then
15001   EMOTION_BUILD_GENERIC_VLC_TRUE=
15002   EMOTION_BUILD_GENERIC_VLC_FALSE='#'
15003 else
15004   EMOTION_BUILD_GENERIC_VLC_TRUE='#'
15005   EMOTION_BUILD_GENERIC_VLC_FALSE=
15006 fi
15007
15008
15009 enable_generic_vlc="no"
15010 if test "x${have_module}" = "xyes" ; then
15011    enable_generic_vlc=${enable_module}
15012
15013 $as_echo "#define EMOTION_BUILD_GENERIC_VLC 1" >>confdefs.h
15014
15015 fi
15016
15017 if test "x$have_module" = "xyes"; then :
15018
15019 fi
15020
15021
15022
15023
15024
15025 if test "x${enable_xine}" = "xno" && test "x${enable_gstreamer}" = "xno" && test "x${enable_generic}" = "xno" ; then
15026    as_fn_error $? "Xine, Gstreamer or Generic backends must be selected to build Emotion" "$LINENO" 5
15027 fi
15028
15029 # Check if gstreamer X Overlay is available
15030 build_xoverlay="no"
15031 if test "x${enable_gstreamer}" = "xyes" ; then
15032
15033 pkg_failed=no
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER_INTERFACE" >&5
15035 $as_echo_n "checking for GSTREAMER_INTERFACE... " >&6; }
15036
15037 if test -n "$GSTREAMER_INTERFACE_CFLAGS"; then
15038     pkg_cv_GSTREAMER_INTERFACE_CFLAGS="$GSTREAMER_INTERFACE_CFLAGS"
15039  elif test -n "$PKG_CONFIG"; then
15040     if test -n "$PKG_CONFIG" && \
15041     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-interfaces-0.10 >= 0.10.34\""; } >&5
15042   ($PKG_CONFIG --exists --print-errors "gstreamer-interfaces-0.10 >= 0.10.34") 2>&5
15043   ac_status=$?
15044   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15045   test $ac_status = 0; }; then
15046   pkg_cv_GSTREAMER_INTERFACE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-interfaces-0.10 >= 0.10.34" 2>/dev/null`
15047                       test "x$?" != "x0" && pkg_failed=yes
15048 else
15049   pkg_failed=yes
15050 fi
15051  else
15052     pkg_failed=untried
15053 fi
15054 if test -n "$GSTREAMER_INTERFACE_LIBS"; then
15055     pkg_cv_GSTREAMER_INTERFACE_LIBS="$GSTREAMER_INTERFACE_LIBS"
15056  elif test -n "$PKG_CONFIG"; then
15057     if test -n "$PKG_CONFIG" && \
15058     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-interfaces-0.10 >= 0.10.34\""; } >&5
15059   ($PKG_CONFIG --exists --print-errors "gstreamer-interfaces-0.10 >= 0.10.34") 2>&5
15060   ac_status=$?
15061   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15062   test $ac_status = 0; }; then
15063   pkg_cv_GSTREAMER_INTERFACE_LIBS=`$PKG_CONFIG --libs "gstreamer-interfaces-0.10 >= 0.10.34" 2>/dev/null`
15064                       test "x$?" != "x0" && pkg_failed=yes
15065 else
15066   pkg_failed=yes
15067 fi
15068  else
15069     pkg_failed=untried
15070 fi
15071
15072
15073
15074 if test $pkg_failed = yes; then
15075         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15076 $as_echo "no" >&6; }
15077
15078 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15079         _pkg_short_errors_supported=yes
15080 else
15081         _pkg_short_errors_supported=no
15082 fi
15083         if test $_pkg_short_errors_supported = yes; then
15084                 GSTREAMER_INTERFACE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-interfaces-0.10 >= 0.10.34" 2>&1`
15085         else
15086                 GSTREAMER_INTERFACE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-interfaces-0.10 >= 0.10.34" 2>&1`
15087         fi
15088         # Put the nasty error message in config.log where it belongs
15089         echo "$GSTREAMER_INTERFACE_PKG_ERRORS" >&5
15090
15091         build_xoverlay="no"
15092 elif test $pkg_failed = untried; then
15093         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15094 $as_echo "no" >&6; }
15095         build_xoverlay="no"
15096 else
15097         GSTREAMER_INTERFACE_CFLAGS=$pkg_cv_GSTREAMER_INTERFACE_CFLAGS
15098         GSTREAMER_INTERFACE_LIBS=$pkg_cv_GSTREAMER_INTERFACE_LIBS
15099         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15100 $as_echo "yes" >&6; }
15101         build_xoverlay="yes"
15102 fi
15103    if test "x${build_xoverlay}" = "xyes" ; then
15104       save_CPPFLAGS=$CPPFLAGS
15105       CPPFLAGS="$CPPFLAGS ${GSTREAMER_CFLAGS} ${GSTREAMER_INTERFACE_CFLAGS}"
15106       ac_fn_c_check_header_mongrel "$LINENO" "gst/interfaces/xoverlay.h" "ac_cv_header_gst_interfaces_xoverlay_h" "$ac_includes_default"
15107 if test "x$ac_cv_header_gst_interfaces_xoverlay_h" = xyes; then :
15108
15109
15110 $as_echo "#define HAVE_XOVERLAY_H 1" >>confdefs.h
15111
15112           build_xoverlay="yes"
15113
15114 else
15115   build_xoverlay="no"
15116 fi
15117
15118
15119       CPPFLAGS=$save_CPPFLAGS
15120
15121       save_LDFLAGS=${LDFLAGS}
15122       LDFLAGS="${LDFLAGS} ${GSTREAMER_INTERFACES}"
15123       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_x_overlay_set_window_handle in -lgstinterfaces-0.10" >&5
15124 $as_echo_n "checking for gst_x_overlay_set_window_handle in -lgstinterfaces-0.10... " >&6; }
15125 if ${ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle+:} false; then :
15126   $as_echo_n "(cached) " >&6
15127 else
15128   ac_check_lib_save_LIBS=$LIBS
15129 LIBS="-lgstinterfaces-0.10  $LIBS"
15130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15131 /* end confdefs.h.  */
15132
15133 /* Override any GCC internal prototype to avoid an error.
15134    Use char because int might match the return type of a GCC
15135    builtin and then its argument prototype would still apply.  */
15136 #ifdef __cplusplus
15137 extern "C"
15138 #endif
15139 char gst_x_overlay_set_window_handle ();
15140 int
15141 main ()
15142 {
15143 return gst_x_overlay_set_window_handle ();
15144   ;
15145   return 0;
15146 }
15147 _ACEOF
15148 if ac_fn_c_try_link "$LINENO"; then :
15149   ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle=yes
15150 else
15151   ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle=no
15152 fi
15153 rm -f core conftest.err conftest.$ac_objext \
15154     conftest$ac_exeext conftest.$ac_ext
15155 LIBS=$ac_check_lib_save_LIBS
15156 fi
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle" >&5
15158 $as_echo "$ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle" >&6; }
15159 if test "x$ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle" = xyes; then :
15160
15161 $as_echo "#define HAVE_X_OVERLAY_SET 1" >>confdefs.h
15162
15163 fi
15164
15165       LDFLAGS=$save_LDFLAGS
15166    fi
15167 fi
15168
15169 ### install and build examples
15170
15171
15172
15173
15174 # Check whether --enable-build-examples was given.
15175 if test "${enable_build_examples+set}" = set; then :
15176   enableval=$enable_build_examples;
15177     if test "x${enableval}" = "xyes" ; then
15178        _efl_enable_build_examples="yes"
15179     else
15180        _efl_enable_build_examples="no"
15181     fi
15182
15183 else
15184   _efl_enable_build_examples="no"
15185 fi
15186
15187
15188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are built" >&5
15189 $as_echo_n "checking whether examples are built... " >&6; }
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_build_examples}" >&5
15191 $as_echo "${_efl_enable_build_examples}" >&6; }
15192
15193  if test "x${_efl_enable_build_examples}" = "xyes"; then
15194   EFL_BUILD_EXAMPLES_TRUE=
15195   EFL_BUILD_EXAMPLES_FALSE='#'
15196 else
15197   EFL_BUILD_EXAMPLES_TRUE='#'
15198   EFL_BUILD_EXAMPLES_FALSE=
15199 fi
15200
15201
15202 if test "x$_efl_enable_build_examples" = "xyes"; then :
15203   enable_build_examples="yes"
15204 else
15205   enable_build_examples="no"
15206 fi
15207
15208
15209
15210
15211 # Check whether --enable-install-examples was given.
15212 if test "${enable_install_examples+set}" = set; then :
15213   enableval=$enable_install_examples;
15214     if test "x${enableval}" = "xyes" ; then
15215        _efl_enable_install_examples="yes"
15216     else
15217        _efl_enable_install_examples="no"
15218     fi
15219
15220 else
15221   _efl_enable_install_examples="no"
15222 fi
15223
15224
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are installed" >&5
15226 $as_echo_n "checking whether examples are installed... " >&6; }
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_install_examples}" >&5
15228 $as_echo "${_efl_enable_install_examples}" >&6; }
15229
15230  if test "x${_efl_enable_install_examples}" = "xyes"; then
15231   EFL_INSTALL_EXAMPLES_TRUE=
15232   EFL_INSTALL_EXAMPLES_FALSE='#'
15233 else
15234   EFL_INSTALL_EXAMPLES_TRUE='#'
15235   EFL_INSTALL_EXAMPLES_FALSE=
15236 fi
15237
15238
15239 if test "x$_efl_enable_install_examples" = "xyes"; then :
15240   enable_install_examples="yes"
15241 else
15242   enable_install_examples="no"
15243 fi
15244
15245
15246
15247
15248 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"
15249
15250 cat >confcache <<\_ACEOF
15251 # This file is a shell script that caches the results of configure
15252 # tests run on this system so they can be shared between configure
15253 # scripts and configure runs, see configure's option --config-cache.
15254 # It is not useful on other systems.  If it contains results you don't
15255 # want to keep, you may remove or edit it.
15256 #
15257 # config.status only pays attention to the cache file if you give it
15258 # the --recheck option to rerun configure.
15259 #
15260 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15261 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15262 # following values.
15263
15264 _ACEOF
15265
15266 # The following way of writing the cache mishandles newlines in values,
15267 # but we know of no workaround that is simple, portable, and efficient.
15268 # So, we kill variables containing newlines.
15269 # Ultrix sh set writes to stderr and can't be redirected directly,
15270 # and sets the high bit in the cache file unless we assign to the vars.
15271 (
15272   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15273     eval ac_val=\$$ac_var
15274     case $ac_val in #(
15275     *${as_nl}*)
15276       case $ac_var in #(
15277       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15278 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15279       esac
15280       case $ac_var in #(
15281       _ | IFS | as_nl) ;; #(
15282       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15283       *) { eval $ac_var=; unset $ac_var;} ;;
15284       esac ;;
15285     esac
15286   done
15287
15288   (set) 2>&1 |
15289     case $as_nl`(ac_space=' '; set) 2>&1` in #(
15290     *${as_nl}ac_space=\ *)
15291       # `set' does not quote correctly, so add quotes: double-quote
15292       # substitution turns \\\\ into \\, and sed turns \\ into \.
15293       sed -n \
15294         "s/'/'\\\\''/g;
15295           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15296       ;; #(
15297     *)
15298       # `set' quotes correctly as required by POSIX, so do not add quotes.
15299       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15300       ;;
15301     esac |
15302     sort
15303 ) |
15304   sed '
15305      /^ac_cv_env_/b end
15306      t clear
15307      :clear
15308      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15309      t end
15310      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15311      :end' >>confcache
15312 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15313   if test -w "$cache_file"; then
15314     if test "x$cache_file" != "x/dev/null"; then
15315       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15316 $as_echo "$as_me: updating cache $cache_file" >&6;}
15317       if test ! -f "$cache_file" || test -h "$cache_file"; then
15318         cat confcache >"$cache_file"
15319       else
15320         case $cache_file in #(
15321         */* | ?:*)
15322           mv -f confcache "$cache_file"$$ &&
15323           mv -f "$cache_file"$$ "$cache_file" ;; #(
15324         *)
15325           mv -f confcache "$cache_file" ;;
15326         esac
15327       fi
15328     fi
15329   else
15330     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15331 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15332   fi
15333 fi
15334 rm -f confcache
15335
15336 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15337 # Let make expand exec_prefix.
15338 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15339
15340 DEFS=-DHAVE_CONFIG_H
15341
15342 ac_libobjs=
15343 ac_ltlibobjs=
15344 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15345   # 1. Remove the extension, and $U if already installed.
15346   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15347   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15348   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15349   #    will be set to the directory where LIBOBJS objects are built.
15350   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15351   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15352 done
15353 LIBOBJS=$ac_libobjs
15354
15355 LTLIBOBJS=$ac_ltlibobjs
15356
15357
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15359 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15360    if test -n "$am_sleep_pid"; then
15361      # Hide warnings about reused PIDs.
15362      wait $am_sleep_pid 2>/dev/null
15363    fi
15364    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15365 $as_echo "done" >&6; }
15366 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15367   as_fn_error $? "conditional \"AMDEP\" was never defined.
15368 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15369 fi
15370 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15371   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15372 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15373 fi
15374  if test -n "$EXEEXT"; then
15375   am__EXEEXT_TRUE=
15376   am__EXEEXT_FALSE='#'
15377 else
15378   am__EXEEXT_TRUE='#'
15379   am__EXEEXT_FALSE=
15380 fi
15381
15382 if test -z "${BUILD_EMOTION_TEST_TRUE}" && test -z "${BUILD_EMOTION_TEST_FALSE}"; then
15383   as_fn_error $? "conditional \"BUILD_EMOTION_TEST\" was never defined.
15384 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15385 fi
15386 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
15387   as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
15388 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15389 fi
15390 if test -z "${ENABLE_EDJE_EXTERNAL_TRUE}" && test -z "${ENABLE_EDJE_EXTERNAL_FALSE}"; then
15391   as_fn_error $? "conditional \"ENABLE_EDJE_EXTERNAL\" was never defined.
15392 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15393 fi
15394 if test -z "${HAVE_EIO_TRUE}" && test -z "${HAVE_EIO_FALSE}"; then
15395   as_fn_error $? "conditional \"HAVE_EIO\" was never defined.
15396 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15397 fi
15398
15399 if test -z "${EMOTION_BUILD_XINE_TRUE}" && test -z "${EMOTION_BUILD_XINE_FALSE}"; then
15400   as_fn_error $? "conditional \"EMOTION_BUILD_XINE\" was never defined.
15401 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15402 fi
15403 if test -z "${EMOTION_STATIC_BUILD_XINE_TRUE}" && test -z "${EMOTION_STATIC_BUILD_XINE_FALSE}"; then
15404   as_fn_error $? "conditional \"EMOTION_STATIC_BUILD_XINE\" was never defined.
15405 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15406 fi
15407 if test -z "${EMOTION_BUILD_GSTREAMER_TRUE}" && test -z "${EMOTION_BUILD_GSTREAMER_FALSE}"; then
15408   as_fn_error $? "conditional \"EMOTION_BUILD_GSTREAMER\" was never defined.
15409 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15410 fi
15411 if test -z "${EMOTION_STATIC_BUILD_GSTREAMER_TRUE}" && test -z "${EMOTION_STATIC_BUILD_GSTREAMER_FALSE}"; then
15412   as_fn_error $? "conditional \"EMOTION_STATIC_BUILD_GSTREAMER\" was never defined.
15413 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15414 fi
15415 if test -z "${EMOTION_BUILD_GENERIC_TRUE}" && test -z "${EMOTION_BUILD_GENERIC_FALSE}"; then
15416   as_fn_error $? "conditional \"EMOTION_BUILD_GENERIC\" was never defined.
15417 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15418 fi
15419 if test -z "${EMOTION_STATIC_BUILD_GENERIC_TRUE}" && test -z "${EMOTION_STATIC_BUILD_GENERIC_FALSE}"; then
15420   as_fn_error $? "conditional \"EMOTION_STATIC_BUILD_GENERIC\" was never defined.
15421 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15422 fi
15423 if test -z "${EMOTION_BUILD_GENERIC_VLC_TRUE}" && test -z "${EMOTION_BUILD_GENERIC_VLC_FALSE}"; then
15424   as_fn_error $? "conditional \"EMOTION_BUILD_GENERIC_VLC\" was never defined.
15425 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15426 fi
15427 if test -z "${EFL_BUILD_EXAMPLES_TRUE}" && test -z "${EFL_BUILD_EXAMPLES_FALSE}"; then
15428   as_fn_error $? "conditional \"EFL_BUILD_EXAMPLES\" was never defined.
15429 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15430 fi
15431 if test -z "${EFL_INSTALL_EXAMPLES_TRUE}" && test -z "${EFL_INSTALL_EXAMPLES_FALSE}"; then
15432   as_fn_error $? "conditional \"EFL_INSTALL_EXAMPLES\" was never defined.
15433 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15434 fi
15435
15436 : "${CONFIG_STATUS=./config.status}"
15437 ac_write_fail=0
15438 ac_clean_files_save=$ac_clean_files
15439 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15441 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15442 as_write_fail=0
15443 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15444 #! $SHELL
15445 # Generated by $as_me.
15446 # Run this file to recreate the current configuration.
15447 # Compiler output produced by configure, useful for debugging
15448 # configure, is in config.log if it exists.
15449
15450 debug=false
15451 ac_cs_recheck=false
15452 ac_cs_silent=false
15453
15454 SHELL=\${CONFIG_SHELL-$SHELL}
15455 export SHELL
15456 _ASEOF
15457 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15458 ## -------------------- ##
15459 ## M4sh Initialization. ##
15460 ## -------------------- ##
15461
15462 # Be more Bourne compatible
15463 DUALCASE=1; export DUALCASE # for MKS sh
15464 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15465   emulate sh
15466   NULLCMD=:
15467   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15468   # is contrary to our usage.  Disable this feature.
15469   alias -g '${1+"$@"}'='"$@"'
15470   setopt NO_GLOB_SUBST
15471 else
15472   case `(set -o) 2>/dev/null` in #(
15473   *posix*) :
15474     set -o posix ;; #(
15475   *) :
15476      ;;
15477 esac
15478 fi
15479
15480
15481 as_nl='
15482 '
15483 export as_nl
15484 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15485 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15486 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15487 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15488 # Prefer a ksh shell builtin over an external printf program on Solaris,
15489 # but without wasting forks for bash or zsh.
15490 if test -z "$BASH_VERSION$ZSH_VERSION" \
15491     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15492   as_echo='print -r --'
15493   as_echo_n='print -rn --'
15494 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15495   as_echo='printf %s\n'
15496   as_echo_n='printf %s'
15497 else
15498   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15499     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15500     as_echo_n='/usr/ucb/echo -n'
15501   else
15502     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15503     as_echo_n_body='eval
15504       arg=$1;
15505       case $arg in #(
15506       *"$as_nl"*)
15507         expr "X$arg" : "X\\(.*\\)$as_nl";
15508         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15509       esac;
15510       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15511     '
15512     export as_echo_n_body
15513     as_echo_n='sh -c $as_echo_n_body as_echo'
15514   fi
15515   export as_echo_body
15516   as_echo='sh -c $as_echo_body as_echo'
15517 fi
15518
15519 # The user is always right.
15520 if test "${PATH_SEPARATOR+set}" != set; then
15521   PATH_SEPARATOR=:
15522   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15523     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15524       PATH_SEPARATOR=';'
15525   }
15526 fi
15527
15528
15529 # IFS
15530 # We need space, tab and new line, in precisely that order.  Quoting is
15531 # there to prevent editors from complaining about space-tab.
15532 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15533 # splitting by setting IFS to empty value.)
15534 IFS=" ""        $as_nl"
15535
15536 # Find who we are.  Look in the path if we contain no directory separator.
15537 as_myself=
15538 case $0 in #((
15539   *[\\/]* ) as_myself=$0 ;;
15540   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15541 for as_dir in $PATH
15542 do
15543   IFS=$as_save_IFS
15544   test -z "$as_dir" && as_dir=.
15545     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15546   done
15547 IFS=$as_save_IFS
15548
15549      ;;
15550 esac
15551 # We did not find ourselves, most probably we were run as `sh COMMAND'
15552 # in which case we are not to be found in the path.
15553 if test "x$as_myself" = x; then
15554   as_myself=$0
15555 fi
15556 if test ! -f "$as_myself"; then
15557   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15558   exit 1
15559 fi
15560
15561 # Unset variables that we do not need and which cause bugs (e.g. in
15562 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15563 # suppresses any "Segmentation fault" message there.  '((' could
15564 # trigger a bug in pdksh 5.2.14.
15565 for as_var in BASH_ENV ENV MAIL MAILPATH
15566 do eval test x\${$as_var+set} = xset \
15567   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15568 done
15569 PS1='$ '
15570 PS2='> '
15571 PS4='+ '
15572
15573 # NLS nuisances.
15574 LC_ALL=C
15575 export LC_ALL
15576 LANGUAGE=C
15577 export LANGUAGE
15578
15579 # CDPATH.
15580 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15581
15582
15583 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15584 # ----------------------------------------
15585 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15586 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15587 # script with STATUS, using 1 if that was 0.
15588 as_fn_error ()
15589 {
15590   as_status=$1; test $as_status -eq 0 && as_status=1
15591   if test "$4"; then
15592     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15593     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15594   fi
15595   $as_echo "$as_me: error: $2" >&2
15596   as_fn_exit $as_status
15597 } # as_fn_error
15598
15599
15600 # as_fn_set_status STATUS
15601 # -----------------------
15602 # Set $? to STATUS, without forking.
15603 as_fn_set_status ()
15604 {
15605   return $1
15606 } # as_fn_set_status
15607
15608 # as_fn_exit STATUS
15609 # -----------------
15610 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15611 as_fn_exit ()
15612 {
15613   set +e
15614   as_fn_set_status $1
15615   exit $1
15616 } # as_fn_exit
15617
15618 # as_fn_unset VAR
15619 # ---------------
15620 # Portably unset VAR.
15621 as_fn_unset ()
15622 {
15623   { eval $1=; unset $1;}
15624 }
15625 as_unset=as_fn_unset
15626 # as_fn_append VAR VALUE
15627 # ----------------------
15628 # Append the text in VALUE to the end of the definition contained in VAR. Take
15629 # advantage of any shell optimizations that allow amortized linear growth over
15630 # repeated appends, instead of the typical quadratic growth present in naive
15631 # implementations.
15632 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15633   eval 'as_fn_append ()
15634   {
15635     eval $1+=\$2
15636   }'
15637 else
15638   as_fn_append ()
15639   {
15640     eval $1=\$$1\$2
15641   }
15642 fi # as_fn_append
15643
15644 # as_fn_arith ARG...
15645 # ------------------
15646 # Perform arithmetic evaluation on the ARGs, and store the result in the
15647 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15648 # must be portable across $(()) and expr.
15649 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15650   eval 'as_fn_arith ()
15651   {
15652     as_val=$(( $* ))
15653   }'
15654 else
15655   as_fn_arith ()
15656   {
15657     as_val=`expr "$@" || test $? -eq 1`
15658   }
15659 fi # as_fn_arith
15660
15661
15662 if expr a : '\(a\)' >/dev/null 2>&1 &&
15663    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15664   as_expr=expr
15665 else
15666   as_expr=false
15667 fi
15668
15669 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15670   as_basename=basename
15671 else
15672   as_basename=false
15673 fi
15674
15675 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15676   as_dirname=dirname
15677 else
15678   as_dirname=false
15679 fi
15680
15681 as_me=`$as_basename -- "$0" ||
15682 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15683          X"$0" : 'X\(//\)$' \| \
15684          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15685 $as_echo X/"$0" |
15686     sed '/^.*\/\([^/][^/]*\)\/*$/{
15687             s//\1/
15688             q
15689           }
15690           /^X\/\(\/\/\)$/{
15691             s//\1/
15692             q
15693           }
15694           /^X\/\(\/\).*/{
15695             s//\1/
15696             q
15697           }
15698           s/.*/./; q'`
15699
15700 # Avoid depending upon Character Ranges.
15701 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15702 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15703 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15704 as_cr_digits='0123456789'
15705 as_cr_alnum=$as_cr_Letters$as_cr_digits
15706
15707 ECHO_C= ECHO_N= ECHO_T=
15708 case `echo -n x` in #(((((
15709 -n*)
15710   case `echo 'xy\c'` in
15711   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15712   xy)  ECHO_C='\c';;
15713   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15714        ECHO_T=' ';;
15715   esac;;
15716 *)
15717   ECHO_N='-n';;
15718 esac
15719
15720 rm -f conf$$ conf$$.exe conf$$.file
15721 if test -d conf$$.dir; then
15722   rm -f conf$$.dir/conf$$.file
15723 else
15724   rm -f conf$$.dir
15725   mkdir conf$$.dir 2>/dev/null
15726 fi
15727 if (echo >conf$$.file) 2>/dev/null; then
15728   if ln -s conf$$.file conf$$ 2>/dev/null; then
15729     as_ln_s='ln -s'
15730     # ... but there are two gotchas:
15731     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15732     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15733     # In both cases, we have to default to `cp -pR'.
15734     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15735       as_ln_s='cp -pR'
15736   elif ln conf$$.file conf$$ 2>/dev/null; then
15737     as_ln_s=ln
15738   else
15739     as_ln_s='cp -pR'
15740   fi
15741 else
15742   as_ln_s='cp -pR'
15743 fi
15744 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15745 rmdir conf$$.dir 2>/dev/null
15746
15747
15748 # as_fn_mkdir_p
15749 # -------------
15750 # Create "$as_dir" as a directory, including parents if necessary.
15751 as_fn_mkdir_p ()
15752 {
15753
15754   case $as_dir in #(
15755   -*) as_dir=./$as_dir;;
15756   esac
15757   test -d "$as_dir" || eval $as_mkdir_p || {
15758     as_dirs=
15759     while :; do
15760       case $as_dir in #(
15761       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15762       *) as_qdir=$as_dir;;
15763       esac
15764       as_dirs="'$as_qdir' $as_dirs"
15765       as_dir=`$as_dirname -- "$as_dir" ||
15766 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15767          X"$as_dir" : 'X\(//\)[^/]' \| \
15768          X"$as_dir" : 'X\(//\)$' \| \
15769          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15770 $as_echo X"$as_dir" |
15771     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15772             s//\1/
15773             q
15774           }
15775           /^X\(\/\/\)[^/].*/{
15776             s//\1/
15777             q
15778           }
15779           /^X\(\/\/\)$/{
15780             s//\1/
15781             q
15782           }
15783           /^X\(\/\).*/{
15784             s//\1/
15785             q
15786           }
15787           s/.*/./; q'`
15788       test -d "$as_dir" && break
15789     done
15790     test -z "$as_dirs" || eval "mkdir $as_dirs"
15791   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15792
15793
15794 } # as_fn_mkdir_p
15795 if mkdir -p . 2>/dev/null; then
15796   as_mkdir_p='mkdir -p "$as_dir"'
15797 else
15798   test -d ./-p && rmdir ./-p
15799   as_mkdir_p=false
15800 fi
15801
15802
15803 # as_fn_executable_p FILE
15804 # -----------------------
15805 # Test if FILE is an executable regular file.
15806 as_fn_executable_p ()
15807 {
15808   test -f "$1" && test -x "$1"
15809 } # as_fn_executable_p
15810 as_test_x='test -x'
15811 as_executable_p=as_fn_executable_p
15812
15813 # Sed expression to map a string onto a valid CPP name.
15814 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15815
15816 # Sed expression to map a string onto a valid variable name.
15817 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15818
15819
15820 exec 6>&1
15821 ## ----------------------------------- ##
15822 ## Main body of $CONFIG_STATUS script. ##
15823 ## ----------------------------------- ##
15824 _ASEOF
15825 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15826
15827 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15828 # Save the log message, to keep $0 and so on meaningful, and to
15829 # report actual input values of CONFIG_FILES etc. instead of their
15830 # values after options handling.
15831 ac_log="
15832 This file was extended by emotion $as_me 1.7.8, which was
15833 generated by GNU Autoconf 2.69.  Invocation command line was
15834
15835   CONFIG_FILES    = $CONFIG_FILES
15836   CONFIG_HEADERS  = $CONFIG_HEADERS
15837   CONFIG_LINKS    = $CONFIG_LINKS
15838   CONFIG_COMMANDS = $CONFIG_COMMANDS
15839   $ $0 $@
15840
15841 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15842 "
15843
15844 _ACEOF
15845
15846 case $ac_config_files in *"
15847 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15848 esac
15849
15850 case $ac_config_headers in *"
15851 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15852 esac
15853
15854
15855 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15856 # Files that config.status was made for.
15857 config_files="$ac_config_files"
15858 config_headers="$ac_config_headers"
15859 config_commands="$ac_config_commands"
15860
15861 _ACEOF
15862
15863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15864 ac_cs_usage="\
15865 \`$as_me' instantiates files and other configuration actions
15866 from templates according to the current configuration.  Unless the files
15867 and actions are specified as TAGs, all are instantiated by default.
15868
15869 Usage: $0 [OPTION]... [TAG]...
15870
15871   -h, --help       print this help, then exit
15872   -V, --version    print version number and configuration settings, then exit
15873       --config     print configuration, then exit
15874   -q, --quiet, --silent
15875                    do not print progress messages
15876   -d, --debug      don't remove temporary files
15877       --recheck    update $as_me by reconfiguring in the same conditions
15878       --file=FILE[:TEMPLATE]
15879                    instantiate the configuration file FILE
15880       --header=FILE[:TEMPLATE]
15881                    instantiate the configuration header FILE
15882
15883 Configuration files:
15884 $config_files
15885
15886 Configuration headers:
15887 $config_headers
15888
15889 Configuration commands:
15890 $config_commands
15891
15892 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
15893
15894 _ACEOF
15895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15896 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15897 ac_cs_version="\\
15898 emotion config.status 1.7.8
15899 configured by $0, generated by GNU Autoconf 2.69,
15900   with options \\"\$ac_cs_config\\"
15901
15902 Copyright (C) 2012 Free Software Foundation, Inc.
15903 This config.status script is free software; the Free Software Foundation
15904 gives unlimited permission to copy, distribute and modify it."
15905
15906 ac_pwd='$ac_pwd'
15907 srcdir='$srcdir'
15908 INSTALL='$INSTALL'
15909 MKDIR_P='$MKDIR_P'
15910 AWK='$AWK'
15911 test -n "\$AWK" || AWK=awk
15912 _ACEOF
15913
15914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15915 # The default lists apply if the user does not specify any file.
15916 ac_need_defaults=:
15917 while test $# != 0
15918 do
15919   case $1 in
15920   --*=?*)
15921     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15922     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15923     ac_shift=:
15924     ;;
15925   --*=)
15926     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15927     ac_optarg=
15928     ac_shift=:
15929     ;;
15930   *)
15931     ac_option=$1
15932     ac_optarg=$2
15933     ac_shift=shift
15934     ;;
15935   esac
15936
15937   case $ac_option in
15938   # Handling of the options.
15939   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15940     ac_cs_recheck=: ;;
15941   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15942     $as_echo "$ac_cs_version"; exit ;;
15943   --config | --confi | --conf | --con | --co | --c )
15944     $as_echo "$ac_cs_config"; exit ;;
15945   --debug | --debu | --deb | --de | --d | -d )
15946     debug=: ;;
15947   --file | --fil | --fi | --f )
15948     $ac_shift
15949     case $ac_optarg in
15950     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15951     '') as_fn_error $? "missing file argument" ;;
15952     esac
15953     as_fn_append CONFIG_FILES " '$ac_optarg'"
15954     ac_need_defaults=false;;
15955   --header | --heade | --head | --hea )
15956     $ac_shift
15957     case $ac_optarg in
15958     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15959     esac
15960     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15961     ac_need_defaults=false;;
15962   --he | --h)
15963     # Conflict between --help and --header
15964     as_fn_error $? "ambiguous option: \`$1'
15965 Try \`$0 --help' for more information.";;
15966   --help | --hel | -h )
15967     $as_echo "$ac_cs_usage"; exit ;;
15968   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15969   | -silent | --silent | --silen | --sile | --sil | --si | --s)
15970     ac_cs_silent=: ;;
15971
15972   # This is an error.
15973   -*) as_fn_error $? "unrecognized option: \`$1'
15974 Try \`$0 --help' for more information." ;;
15975
15976   *) as_fn_append ac_config_targets " $1"
15977      ac_need_defaults=false ;;
15978
15979   esac
15980   shift
15981 done
15982
15983 ac_configure_extra_args=
15984
15985 if $ac_cs_silent; then
15986   exec 6>/dev/null
15987   ac_configure_extra_args="$ac_configure_extra_args --silent"
15988 fi
15989
15990 _ACEOF
15991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15992 if \$ac_cs_recheck; then
15993   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15994   shift
15995   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15996   CONFIG_SHELL='$SHELL'
15997   export CONFIG_SHELL
15998   exec "\$@"
15999 fi
16000
16001 _ACEOF
16002 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16003 exec 5>>config.log
16004 {
16005   echo
16006   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16007 ## Running $as_me. ##
16008 _ASBOX
16009   $as_echo "$ac_log"
16010 } >&5
16011
16012 _ACEOF
16013 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16014 #
16015 # INIT-COMMANDS
16016 #
16017 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16018
16019
16020 # The HP-UX ksh and POSIX shell print the target directory to stdout
16021 # if CDPATH is set.
16022 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16023
16024 sed_quote_subst='$sed_quote_subst'
16025 double_quote_subst='$double_quote_subst'
16026 delay_variable_subst='$delay_variable_subst'
16027 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16028 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16029 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16030 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16031 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16032 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16033 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16034 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16035 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16036 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16037 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16038 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16039 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16040 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16041 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16042 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16043 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16044 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16045 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16046 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16047 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16048 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16049 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16050 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16051 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16052 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16053 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16054 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16055 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16056 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16057 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16058 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16059 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16060 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16061 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16062 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16063 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16064 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16065 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16066 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16067 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16068 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16069 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16070 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16071 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16072 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16073 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16074 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16075 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16076 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16077 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16078 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16079 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16080 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16081 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16082 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16083 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16084 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"`'
16085 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16086 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16087 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16088 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16089 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16090 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16091 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16092 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16093 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16094 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16095 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16096 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16097 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16098 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16099 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16100 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16101 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16102 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16103 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16104 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16105 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16106 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16107 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16108 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16109 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16110 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16111 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16112 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16113 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16114 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16115 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16116 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16117 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16118 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16119 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16120 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16121 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16122 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16123 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16124 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16125 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16126 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16127 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16128 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16129 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16130 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16131 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16132 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16133 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16134 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16135 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16136 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16137 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16138 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16139 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16140 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16141 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16142 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16143 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16144 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16145 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16146 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16147 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16148 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16149 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16150 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16151 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16152 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16153 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16154 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16155 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16156 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16157 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16158
16159 LTCC='$LTCC'
16160 LTCFLAGS='$LTCFLAGS'
16161 compiler='$compiler_DEFAULT'
16162
16163 # A function that is used when there is no print builtin or printf.
16164 func_fallback_echo ()
16165 {
16166   eval 'cat <<_LTECHO_EOF
16167 \$1
16168 _LTECHO_EOF'
16169 }
16170
16171 # Quote evaled strings.
16172 for var in AS \
16173 DLLTOOL \
16174 OBJDUMP \
16175 SHELL \
16176 ECHO \
16177 PATH_SEPARATOR \
16178 SED \
16179 GREP \
16180 EGREP \
16181 FGREP \
16182 LD \
16183 NM \
16184 LN_S \
16185 lt_SP2NL \
16186 lt_NL2SP \
16187 reload_flag \
16188 deplibs_check_method \
16189 file_magic_cmd \
16190 file_magic_glob \
16191 want_nocaseglob \
16192 sharedlib_from_linklib_cmd \
16193 AR \
16194 AR_FLAGS \
16195 archiver_list_spec \
16196 STRIP \
16197 RANLIB \
16198 CC \
16199 CFLAGS \
16200 compiler \
16201 lt_cv_sys_global_symbol_pipe \
16202 lt_cv_sys_global_symbol_to_cdecl \
16203 lt_cv_sys_global_symbol_to_c_name_address \
16204 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16205 nm_file_list_spec \
16206 lt_prog_compiler_no_builtin_flag \
16207 lt_prog_compiler_pic \
16208 lt_prog_compiler_wl \
16209 lt_prog_compiler_static \
16210 lt_cv_prog_compiler_c_o \
16211 need_locks \
16212 MANIFEST_TOOL \
16213 DSYMUTIL \
16214 NMEDIT \
16215 LIPO \
16216 OTOOL \
16217 OTOOL64 \
16218 shrext_cmds \
16219 export_dynamic_flag_spec \
16220 whole_archive_flag_spec \
16221 compiler_needs_object \
16222 with_gnu_ld \
16223 allow_undefined_flag \
16224 no_undefined_flag \
16225 hardcode_libdir_flag_spec \
16226 hardcode_libdir_separator \
16227 exclude_expsyms \
16228 include_expsyms \
16229 file_list_spec \
16230 variables_saved_for_relink \
16231 libname_spec \
16232 library_names_spec \
16233 soname_spec \
16234 install_override_mode \
16235 finish_eval \
16236 old_striplib \
16237 striplib; do
16238     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16239     *[\\\\\\\`\\"\\\$]*)
16240       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16241       ;;
16242     *)
16243       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16244       ;;
16245     esac
16246 done
16247
16248 # Double-quote double-evaled strings.
16249 for var in reload_cmds \
16250 old_postinstall_cmds \
16251 old_postuninstall_cmds \
16252 old_archive_cmds \
16253 extract_expsyms_cmds \
16254 old_archive_from_new_cmds \
16255 old_archive_from_expsyms_cmds \
16256 archive_cmds \
16257 archive_expsym_cmds \
16258 module_cmds \
16259 module_expsym_cmds \
16260 export_symbols_cmds \
16261 prelink_cmds \
16262 postlink_cmds \
16263 postinstall_cmds \
16264 postuninstall_cmds \
16265 finish_cmds \
16266 sys_lib_search_path_spec \
16267 sys_lib_dlsearch_path_spec; do
16268     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16269     *[\\\\\\\`\\"\\\$]*)
16270       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16271       ;;
16272     *)
16273       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16274       ;;
16275     esac
16276 done
16277
16278 ac_aux_dir='$ac_aux_dir'
16279 xsi_shell='$xsi_shell'
16280 lt_shell_append='$lt_shell_append'
16281
16282 # See if we are running on zsh, and set the options which allow our
16283 # commands through without removal of \ escapes INIT.
16284 if test -n "\${ZSH_VERSION+set}" ; then
16285    setopt NO_GLOB_SUBST
16286 fi
16287
16288
16289     PACKAGE='$PACKAGE'
16290     VERSION='$VERSION'
16291     TIMESTAMP='$TIMESTAMP'
16292     RM='$RM'
16293     ofile='$ofile'
16294
16295
16296
16297
16298 _ACEOF
16299
16300 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16301
16302 # Handling of arguments.
16303 for ac_config_target in $ac_config_targets
16304 do
16305   case $ac_config_target in
16306     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16307     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16308     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16309     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16310     "emotion.pc") CONFIG_FILES="$CONFIG_FILES emotion.pc" ;;
16311     "emotion.spec") CONFIG_FILES="$CONFIG_FILES emotion.spec" ;;
16312     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16313     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
16314     "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
16315     "src/modules/xine/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/xine/Makefile" ;;
16316     "src/modules/gstreamer/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/gstreamer/Makefile" ;;
16317     "src/modules/generic/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/generic/Makefile" ;;
16318     "src/edje_external/Makefile") CONFIG_FILES="$CONFIG_FILES src/edje_external/Makefile" ;;
16319     "src/generic_players/Makefile") CONFIG_FILES="$CONFIG_FILES src/generic_players/Makefile" ;;
16320     "src/generic_players/vlc/Makefile") CONFIG_FILES="$CONFIG_FILES src/generic_players/vlc/Makefile" ;;
16321     "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
16322     "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
16323     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16324     "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
16325     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
16326
16327   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16328   esac
16329 done
16330
16331
16332 # If the user did not use the arguments to specify the items to instantiate,
16333 # then the envvar interface is used.  Set only those that are not.
16334 # We use the long form for the default assignment because of an extremely
16335 # bizarre bug on SunOS 4.1.3.
16336 if $ac_need_defaults; then
16337   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16338   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16339   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16340 fi
16341
16342 # Have a temporary directory for convenience.  Make it in the build tree
16343 # simply because there is no reason against having it here, and in addition,
16344 # creating and moving files from /tmp can sometimes cause problems.
16345 # Hook for its removal unless debugging.
16346 # Note that there is a small window in which the directory will not be cleaned:
16347 # after its creation but before its name has been assigned to `$tmp'.
16348 $debug ||
16349 {
16350   tmp= ac_tmp=
16351   trap 'exit_status=$?
16352   : "${ac_tmp:=$tmp}"
16353   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16354 ' 0
16355   trap 'as_fn_exit 1' 1 2 13 15
16356 }
16357 # Create a (secure) tmp directory for tmp files.
16358
16359 {
16360   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16361   test -d "$tmp"
16362 }  ||
16363 {
16364   tmp=./conf$$-$RANDOM
16365   (umask 077 && mkdir "$tmp")
16366 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16367 ac_tmp=$tmp
16368
16369 # Set up the scripts for CONFIG_FILES section.
16370 # No need to generate them if there are no CONFIG_FILES.
16371 # This happens for instance with `./config.status config.h'.
16372 if test -n "$CONFIG_FILES"; then
16373
16374
16375 ac_cr=`echo X | tr X '\015'`
16376 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16377 # But we know of no other shell where ac_cr would be empty at this
16378 # point, so we can use a bashism as a fallback.
16379 if test "x$ac_cr" = x; then
16380   eval ac_cr=\$\'\\r\'
16381 fi
16382 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16383 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16384   ac_cs_awk_cr='\\r'
16385 else
16386   ac_cs_awk_cr=$ac_cr
16387 fi
16388
16389 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16390 _ACEOF
16391
16392
16393 {
16394   echo "cat >conf$$subs.awk <<_ACEOF" &&
16395   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16396   echo "_ACEOF"
16397 } >conf$$subs.sh ||
16398   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16399 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16400 ac_delim='%!_!# '
16401 for ac_last_try in false false false false false :; do
16402   . ./conf$$subs.sh ||
16403     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16404
16405   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16406   if test $ac_delim_n = $ac_delim_num; then
16407     break
16408   elif $ac_last_try; then
16409     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16410   else
16411     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16412   fi
16413 done
16414 rm -f conf$$subs.sh
16415
16416 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16417 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16418 _ACEOF
16419 sed -n '
16420 h
16421 s/^/S["/; s/!.*/"]=/
16422 p
16423 g
16424 s/^[^!]*!//
16425 :repl
16426 t repl
16427 s/'"$ac_delim"'$//
16428 t delim
16429 :nl
16430 h
16431 s/\(.\{148\}\)..*/\1/
16432 t more1
16433 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16434 p
16435 n
16436 b repl
16437 :more1
16438 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16439 p
16440 g
16441 s/.\{148\}//
16442 t nl
16443 :delim
16444 h
16445 s/\(.\{148\}\)..*/\1/
16446 t more2
16447 s/["\\]/\\&/g; s/^/"/; s/$/"/
16448 p
16449 b
16450 :more2
16451 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16452 p
16453 g
16454 s/.\{148\}//
16455 t delim
16456 ' <conf$$subs.awk | sed '
16457 /^[^""]/{
16458   N
16459   s/\n//
16460 }
16461 ' >>$CONFIG_STATUS || ac_write_fail=1
16462 rm -f conf$$subs.awk
16463 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16464 _ACAWK
16465 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16466   for (key in S) S_is_set[key] = 1
16467   FS = "\a"
16468
16469 }
16470 {
16471   line = $ 0
16472   nfields = split(line, field, "@")
16473   substed = 0
16474   len = length(field[1])
16475   for (i = 2; i < nfields; i++) {
16476     key = field[i]
16477     keylen = length(key)
16478     if (S_is_set[key]) {
16479       value = S[key]
16480       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16481       len += length(value) + length(field[++i])
16482       substed = 1
16483     } else
16484       len += 1 + keylen
16485   }
16486
16487   print line
16488 }
16489
16490 _ACAWK
16491 _ACEOF
16492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16493 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16494   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16495 else
16496   cat
16497 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16498   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16499 _ACEOF
16500
16501 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16502 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16503 # trailing colons and then remove the whole line if VPATH becomes empty
16504 # (actually we leave an empty line to preserve line numbers).
16505 if test "x$srcdir" = x.; then
16506   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16507 h
16508 s///
16509 s/^/:/
16510 s/[      ]*$/:/
16511 s/:\$(srcdir):/:/g
16512 s/:\${srcdir}:/:/g
16513 s/:@srcdir@:/:/g
16514 s/^:*//
16515 s/:*$//
16516 x
16517 s/\(=[   ]*\).*/\1/
16518 G
16519 s/\n//
16520 s/^[^=]*=[       ]*$//
16521 }'
16522 fi
16523
16524 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16525 fi # test -n "$CONFIG_FILES"
16526
16527 # Set up the scripts for CONFIG_HEADERS section.
16528 # No need to generate them if there are no CONFIG_HEADERS.
16529 # This happens for instance with `./config.status Makefile'.
16530 if test -n "$CONFIG_HEADERS"; then
16531 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16532 BEGIN {
16533 _ACEOF
16534
16535 # Transform confdefs.h into an awk script `defines.awk', embedded as
16536 # here-document in config.status, that substitutes the proper values into
16537 # config.h.in to produce config.h.
16538
16539 # Create a delimiter string that does not exist in confdefs.h, to ease
16540 # handling of long lines.
16541 ac_delim='%!_!# '
16542 for ac_last_try in false false :; do
16543   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16544   if test -z "$ac_tt"; then
16545     break
16546   elif $ac_last_try; then
16547     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16548   else
16549     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16550   fi
16551 done
16552
16553 # For the awk script, D is an array of macro values keyed by name,
16554 # likewise P contains macro parameters if any.  Preserve backslash
16555 # newline sequences.
16556
16557 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16558 sed -n '
16559 s/.\{148\}/&'"$ac_delim"'/g
16560 t rset
16561 :rset
16562 s/^[     ]*#[    ]*define[       ][      ]*/ /
16563 t def
16564 d
16565 :def
16566 s/\\$//
16567 t bsnl
16568 s/["\\]/\\&/g
16569 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16570 D["\1"]=" \3"/p
16571 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16572 d
16573 :bsnl
16574 s/["\\]/\\&/g
16575 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16576 D["\1"]=" \3\\\\\\n"\\/p
16577 t cont
16578 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16579 t cont
16580 d
16581 :cont
16582 n
16583 s/.\{148\}/&'"$ac_delim"'/g
16584 t clear
16585 :clear
16586 s/\\$//
16587 t bsnlc
16588 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16589 d
16590 :bsnlc
16591 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16592 b cont
16593 ' <confdefs.h | sed '
16594 s/'"$ac_delim"'/"\\\
16595 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16596
16597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16598   for (key in D) D_is_set[key] = 1
16599   FS = "\a"
16600 }
16601 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16602   line = \$ 0
16603   split(line, arg, " ")
16604   if (arg[1] == "#") {
16605     defundef = arg[2]
16606     mac1 = arg[3]
16607   } else {
16608     defundef = substr(arg[1], 2)
16609     mac1 = arg[2]
16610   }
16611   split(mac1, mac2, "(") #)
16612   macro = mac2[1]
16613   prefix = substr(line, 1, index(line, defundef) - 1)
16614   if (D_is_set[macro]) {
16615     # Preserve the white space surrounding the "#".
16616     print prefix "define", macro P[macro] D[macro]
16617     next
16618   } else {
16619     # Replace #undef with comments.  This is necessary, for example,
16620     # in the case of _POSIX_SOURCE, which is predefined and required
16621     # on some systems where configure will not decide to define it.
16622     if (defundef == "undef") {
16623       print "/*", prefix defundef, macro, "*/"
16624       next
16625     }
16626   }
16627 }
16628 { print }
16629 _ACAWK
16630 _ACEOF
16631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16632   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16633 fi # test -n "$CONFIG_HEADERS"
16634
16635
16636 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16637 shift
16638 for ac_tag
16639 do
16640   case $ac_tag in
16641   :[FHLC]) ac_mode=$ac_tag; continue;;
16642   esac
16643   case $ac_mode$ac_tag in
16644   :[FHL]*:*);;
16645   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16646   :[FH]-) ac_tag=-:-;;
16647   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16648   esac
16649   ac_save_IFS=$IFS
16650   IFS=:
16651   set x $ac_tag
16652   IFS=$ac_save_IFS
16653   shift
16654   ac_file=$1
16655   shift
16656
16657   case $ac_mode in
16658   :L) ac_source=$1;;
16659   :[FH])
16660     ac_file_inputs=
16661     for ac_f
16662     do
16663       case $ac_f in
16664       -) ac_f="$ac_tmp/stdin";;
16665       *) # Look for the file first in the build tree, then in the source tree
16666          # (if the path is not absolute).  The absolute path cannot be DOS-style,
16667          # because $ac_f cannot contain `:'.
16668          test -f "$ac_f" ||
16669            case $ac_f in
16670            [\\/$]*) false;;
16671            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16672            esac ||
16673            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16674       esac
16675       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16676       as_fn_append ac_file_inputs " '$ac_f'"
16677     done
16678
16679     # Let's still pretend it is `configure' which instantiates (i.e., don't
16680     # use $as_me), people would be surprised to read:
16681     #    /* config.h.  Generated by config.status.  */
16682     configure_input='Generated from '`
16683           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16684         `' by configure.'
16685     if test x"$ac_file" != x-; then
16686       configure_input="$ac_file.  $configure_input"
16687       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16688 $as_echo "$as_me: creating $ac_file" >&6;}
16689     fi
16690     # Neutralize special characters interpreted by sed in replacement strings.
16691     case $configure_input in #(
16692     *\&* | *\|* | *\\* )
16693        ac_sed_conf_input=`$as_echo "$configure_input" |
16694        sed 's/[\\\\&|]/\\\\&/g'`;; #(
16695     *) ac_sed_conf_input=$configure_input;;
16696     esac
16697
16698     case $ac_tag in
16699     *:-:* | *:-) cat >"$ac_tmp/stdin" \
16700       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16701     esac
16702     ;;
16703   esac
16704
16705   ac_dir=`$as_dirname -- "$ac_file" ||
16706 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16707          X"$ac_file" : 'X\(//\)[^/]' \| \
16708          X"$ac_file" : 'X\(//\)$' \| \
16709          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16710 $as_echo X"$ac_file" |
16711     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16712             s//\1/
16713             q
16714           }
16715           /^X\(\/\/\)[^/].*/{
16716             s//\1/
16717             q
16718           }
16719           /^X\(\/\/\)$/{
16720             s//\1/
16721             q
16722           }
16723           /^X\(\/\).*/{
16724             s//\1/
16725             q
16726           }
16727           s/.*/./; q'`
16728   as_dir="$ac_dir"; as_fn_mkdir_p
16729   ac_builddir=.
16730
16731 case "$ac_dir" in
16732 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16733 *)
16734   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16735   # A ".." for each directory in $ac_dir_suffix.
16736   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16737   case $ac_top_builddir_sub in
16738   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16739   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16740   esac ;;
16741 esac
16742 ac_abs_top_builddir=$ac_pwd
16743 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16744 # for backward compatibility:
16745 ac_top_builddir=$ac_top_build_prefix
16746
16747 case $srcdir in
16748   .)  # We are building in place.
16749     ac_srcdir=.
16750     ac_top_srcdir=$ac_top_builddir_sub
16751     ac_abs_top_srcdir=$ac_pwd ;;
16752   [\\/]* | ?:[\\/]* )  # Absolute name.
16753     ac_srcdir=$srcdir$ac_dir_suffix;
16754     ac_top_srcdir=$srcdir
16755     ac_abs_top_srcdir=$srcdir ;;
16756   *) # Relative name.
16757     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16758     ac_top_srcdir=$ac_top_build_prefix$srcdir
16759     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16760 esac
16761 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16762
16763
16764   case $ac_mode in
16765   :F)
16766   #
16767   # CONFIG_FILE
16768   #
16769
16770   case $INSTALL in
16771   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16772   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16773   esac
16774   ac_MKDIR_P=$MKDIR_P
16775   case $MKDIR_P in
16776   [\\/$]* | ?:[\\/]* ) ;;
16777   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16778   esac
16779 _ACEOF
16780
16781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16782 # If the template does not know about datarootdir, expand it.
16783 # FIXME: This hack should be removed a few years after 2.60.
16784 ac_datarootdir_hack=; ac_datarootdir_seen=
16785 ac_sed_dataroot='
16786 /datarootdir/ {
16787   p
16788   q
16789 }
16790 /@datadir@/p
16791 /@docdir@/p
16792 /@infodir@/p
16793 /@localedir@/p
16794 /@mandir@/p'
16795 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16796 *datarootdir*) ac_datarootdir_seen=yes;;
16797 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16798   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16799 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16800 _ACEOF
16801 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16802   ac_datarootdir_hack='
16803   s&@datadir@&$datadir&g
16804   s&@docdir@&$docdir&g
16805   s&@infodir@&$infodir&g
16806   s&@localedir@&$localedir&g
16807   s&@mandir@&$mandir&g
16808   s&\\\${datarootdir}&$datarootdir&g' ;;
16809 esac
16810 _ACEOF
16811
16812 # Neutralize VPATH when `$srcdir' = `.'.
16813 # Shell code in configure.ac might set extrasub.
16814 # FIXME: do we really want to maintain this feature?
16815 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16816 ac_sed_extra="$ac_vpsub
16817 $extrasub
16818 _ACEOF
16819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16820 :t
16821 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16822 s|@configure_input@|$ac_sed_conf_input|;t t
16823 s&@top_builddir@&$ac_top_builddir_sub&;t t
16824 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16825 s&@srcdir@&$ac_srcdir&;t t
16826 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16827 s&@top_srcdir@&$ac_top_srcdir&;t t
16828 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16829 s&@builddir@&$ac_builddir&;t t
16830 s&@abs_builddir@&$ac_abs_builddir&;t t
16831 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16832 s&@INSTALL@&$ac_INSTALL&;t t
16833 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16834 $ac_datarootdir_hack
16835 "
16836 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16837   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16838
16839 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16840   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16841   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16842       "$ac_tmp/out"`; test -z "$ac_out"; } &&
16843   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16844 which seems to be undefined.  Please make sure it is defined" >&5
16845 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16846 which seems to be undefined.  Please make sure it is defined" >&2;}
16847
16848   rm -f "$ac_tmp/stdin"
16849   case $ac_file in
16850   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16851   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16852   esac \
16853   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16854  ;;
16855   :H)
16856   #
16857   # CONFIG_HEADER
16858   #
16859   if test x"$ac_file" != x-; then
16860     {
16861       $as_echo "/* $configure_input  */" \
16862       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16863     } >"$ac_tmp/config.h" \
16864       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16865     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16866       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16867 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16868     else
16869       rm -f "$ac_file"
16870       mv "$ac_tmp/config.h" "$ac_file" \
16871         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16872     fi
16873   else
16874     $as_echo "/* $configure_input  */" \
16875       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16876       || as_fn_error $? "could not create -" "$LINENO" 5
16877   fi
16878 # Compute "$ac_file"'s index in $config_headers.
16879 _am_arg="$ac_file"
16880 _am_stamp_count=1
16881 for _am_header in $config_headers :; do
16882   case $_am_header in
16883     $_am_arg | $_am_arg:* )
16884       break ;;
16885     * )
16886       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16887   esac
16888 done
16889 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16890 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16891          X"$_am_arg" : 'X\(//\)[^/]' \| \
16892          X"$_am_arg" : 'X\(//\)$' \| \
16893          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16894 $as_echo X"$_am_arg" |
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'`/stamp-h$_am_stamp_count
16912  ;;
16913
16914   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16915 $as_echo "$as_me: executing $ac_file commands" >&6;}
16916  ;;
16917   esac
16918
16919
16920   case $ac_file$ac_mode in
16921     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16922   # Older Autoconf quotes --file arguments for eval, but not when files
16923   # are listed without --file.  Let's play safe and only enable the eval
16924   # if we detect the quoting.
16925   case $CONFIG_FILES in
16926   *\'*) eval set x "$CONFIG_FILES" ;;
16927   *)   set x $CONFIG_FILES ;;
16928   esac
16929   shift
16930   for mf
16931   do
16932     # Strip MF so we end up with the name of the file.
16933     mf=`echo "$mf" | sed -e 's/:.*$//'`
16934     # Check whether this is an Automake generated Makefile or not.
16935     # We used to match only the files named 'Makefile.in', but
16936     # some people rename them; so instead we look at the file content.
16937     # Grep'ing the first line is not enough: some people post-process
16938     # each Makefile.in and add a new line on top of each file to say so.
16939     # Grep'ing the whole file is not good either: AIX grep has a line
16940     # limit of 2048, but all sed's we know have understand at least 4000.
16941     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16942       dirpart=`$as_dirname -- "$mf" ||
16943 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16944          X"$mf" : 'X\(//\)[^/]' \| \
16945          X"$mf" : 'X\(//\)$' \| \
16946          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16947 $as_echo X"$mf" |
16948     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16949             s//\1/
16950             q
16951           }
16952           /^X\(\/\/\)[^/].*/{
16953             s//\1/
16954             q
16955           }
16956           /^X\(\/\/\)$/{
16957             s//\1/
16958             q
16959           }
16960           /^X\(\/\).*/{
16961             s//\1/
16962             q
16963           }
16964           s/.*/./; q'`
16965     else
16966       continue
16967     fi
16968     # Extract the definition of DEPDIR, am__include, and am__quote
16969     # from the Makefile without running 'make'.
16970     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16971     test -z "$DEPDIR" && continue
16972     am__include=`sed -n 's/^am__include = //p' < "$mf"`
16973     test -z "$am__include" && continue
16974     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16975     # Find all dependency output files, they are included files with
16976     # $(DEPDIR) in their names.  We invoke sed twice because it is the
16977     # simplest approach to changing $(DEPDIR) to its actual value in the
16978     # expansion.
16979     for file in `sed -n "
16980       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16981          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16982       # Make sure the directory exists.
16983       test -f "$dirpart/$file" && continue
16984       fdir=`$as_dirname -- "$file" ||
16985 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16986          X"$file" : 'X\(//\)[^/]' \| \
16987          X"$file" : 'X\(//\)$' \| \
16988          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16989 $as_echo X"$file" |
16990     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16991             s//\1/
16992             q
16993           }
16994           /^X\(\/\/\)[^/].*/{
16995             s//\1/
16996             q
16997           }
16998           /^X\(\/\/\)$/{
16999             s//\1/
17000             q
17001           }
17002           /^X\(\/\).*/{
17003             s//\1/
17004             q
17005           }
17006           s/.*/./; q'`
17007       as_dir=$dirpart/$fdir; as_fn_mkdir_p
17008       # echo "creating $dirpart/$file"
17009       echo '# dummy' > "$dirpart/$file"
17010     done
17011   done
17012 }
17013  ;;
17014     "libtool":C)
17015
17016     # See if we are running on zsh, and set the options which allow our
17017     # commands through without removal of \ escapes.
17018     if test -n "${ZSH_VERSION+set}" ; then
17019       setopt NO_GLOB_SUBST
17020     fi
17021
17022     cfgfile="${ofile}T"
17023     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17024     $RM "$cfgfile"
17025
17026     cat <<_LT_EOF >> "$cfgfile"
17027 #! $SHELL
17028
17029 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17030 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17031 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17032 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17033 #
17034 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17035 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17036 #                 Foundation, Inc.
17037 #   Written by Gordon Matzigkeit, 1996
17038 #
17039 #   This file is part of GNU Libtool.
17040 #
17041 # GNU Libtool is free software; you can redistribute it and/or
17042 # modify it under the terms of the GNU General Public License as
17043 # published by the Free Software Foundation; either version 2 of
17044 # the License, or (at your option) any later version.
17045 #
17046 # As a special exception to the GNU General Public License,
17047 # if you distribute this file as part of a program or library that
17048 # is built using GNU Libtool, you may include this file under the
17049 # same distribution terms that you use for the rest of that program.
17050 #
17051 # GNU Libtool is distributed in the hope that it will be useful,
17052 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17053 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17054 # GNU General Public License for more details.
17055 #
17056 # You should have received a copy of the GNU General Public License
17057 # along with GNU Libtool; see the file COPYING.  If not, a copy
17058 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17059 # obtained by writing to the Free Software Foundation, Inc.,
17060 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17061
17062
17063 # The names of the tagged configurations supported by this script.
17064 available_tags=""
17065
17066 # ### BEGIN LIBTOOL CONFIG
17067
17068 # Assembler program.
17069 AS=$lt_AS
17070
17071 # DLL creation program.
17072 DLLTOOL=$lt_DLLTOOL
17073
17074 # Object dumper program.
17075 OBJDUMP=$lt_OBJDUMP
17076
17077 # Which release of libtool.m4 was used?
17078 macro_version=$macro_version
17079 macro_revision=$macro_revision
17080
17081 # Whether or not to build shared libraries.
17082 build_libtool_libs=$enable_shared
17083
17084 # Whether or not to build static libraries.
17085 build_old_libs=$enable_static
17086
17087 # What type of objects to build.
17088 pic_mode=$pic_mode
17089
17090 # Whether or not to optimize for fast installation.
17091 fast_install=$enable_fast_install
17092
17093 # Shell to use when invoking shell scripts.
17094 SHELL=$lt_SHELL
17095
17096 # An echo program that protects backslashes.
17097 ECHO=$lt_ECHO
17098
17099 # The PATH separator for the build system.
17100 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17101
17102 # The host system.
17103 host_alias=$host_alias
17104 host=$host
17105 host_os=$host_os
17106
17107 # The build system.
17108 build_alias=$build_alias
17109 build=$build
17110 build_os=$build_os
17111
17112 # A sed program that does not truncate output.
17113 SED=$lt_SED
17114
17115 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17116 Xsed="\$SED -e 1s/^X//"
17117
17118 # A grep program that handles long lines.
17119 GREP=$lt_GREP
17120
17121 # An ERE matcher.
17122 EGREP=$lt_EGREP
17123
17124 # A literal string matcher.
17125 FGREP=$lt_FGREP
17126
17127 # A BSD- or MS-compatible name lister.
17128 NM=$lt_NM
17129
17130 # Whether we need soft or hard links.
17131 LN_S=$lt_LN_S
17132
17133 # What is the maximum length of a command?
17134 max_cmd_len=$max_cmd_len
17135
17136 # Object file suffix (normally "o").
17137 objext=$ac_objext
17138
17139 # Executable file suffix (normally "").
17140 exeext=$exeext
17141
17142 # whether the shell understands "unset".
17143 lt_unset=$lt_unset
17144
17145 # turn spaces into newlines.
17146 SP2NL=$lt_lt_SP2NL
17147
17148 # turn newlines into spaces.
17149 NL2SP=$lt_lt_NL2SP
17150
17151 # convert \$build file names to \$host format.
17152 to_host_file_cmd=$lt_cv_to_host_file_cmd
17153
17154 # convert \$build files to toolchain format.
17155 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17156
17157 # Method to check whether dependent libraries are shared objects.
17158 deplibs_check_method=$lt_deplibs_check_method
17159
17160 # Command to use when deplibs_check_method = "file_magic".
17161 file_magic_cmd=$lt_file_magic_cmd
17162
17163 # How to find potential files when deplibs_check_method = "file_magic".
17164 file_magic_glob=$lt_file_magic_glob
17165
17166 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17167 want_nocaseglob=$lt_want_nocaseglob
17168
17169 # Command to associate shared and link libraries.
17170 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17171
17172 # The archiver.
17173 AR=$lt_AR
17174
17175 # Flags to create an archive.
17176 AR_FLAGS=$lt_AR_FLAGS
17177
17178 # How to feed a file listing to the archiver.
17179 archiver_list_spec=$lt_archiver_list_spec
17180
17181 # A symbol stripping program.
17182 STRIP=$lt_STRIP
17183
17184 # Commands used to install an old-style archive.
17185 RANLIB=$lt_RANLIB
17186 old_postinstall_cmds=$lt_old_postinstall_cmds
17187 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17188
17189 # Whether to use a lock for old archive extraction.
17190 lock_old_archive_extraction=$lock_old_archive_extraction
17191
17192 # A C compiler.
17193 LTCC=$lt_CC
17194
17195 # LTCC compiler flags.
17196 LTCFLAGS=$lt_CFLAGS
17197
17198 # Take the output of nm and produce a listing of raw symbols and C names.
17199 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17200
17201 # Transform the output of nm in a proper C declaration.
17202 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17203
17204 # Transform the output of nm in a C name address pair.
17205 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17206
17207 # Transform the output of nm in a C name address pair when lib prefix is needed.
17208 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17209
17210 # Specify filename containing input files for \$NM.
17211 nm_file_list_spec=$lt_nm_file_list_spec
17212
17213 # The root where to search for dependent libraries,and in which our libraries should be installed.
17214 lt_sysroot=$lt_sysroot
17215
17216 # The name of the directory that contains temporary libtool files.
17217 objdir=$objdir
17218
17219 # Used to examine libraries when file_magic_cmd begins with "file".
17220 MAGIC_CMD=$MAGIC_CMD
17221
17222 # Must we lock files when doing compilation?
17223 need_locks=$lt_need_locks
17224
17225 # Manifest tool.
17226 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17227
17228 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17229 DSYMUTIL=$lt_DSYMUTIL
17230
17231 # Tool to change global to local symbols on Mac OS X.
17232 NMEDIT=$lt_NMEDIT
17233
17234 # Tool to manipulate fat objects and archives on Mac OS X.
17235 LIPO=$lt_LIPO
17236
17237 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17238 OTOOL=$lt_OTOOL
17239
17240 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17241 OTOOL64=$lt_OTOOL64
17242
17243 # Old archive suffix (normally "a").
17244 libext=$libext
17245
17246 # Shared library suffix (normally ".so").
17247 shrext_cmds=$lt_shrext_cmds
17248
17249 # The commands to extract the exported symbol list from a shared archive.
17250 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17251
17252 # Variables whose values should be saved in libtool wrapper scripts and
17253 # restored at link time.
17254 variables_saved_for_relink=$lt_variables_saved_for_relink
17255
17256 # Do we need the "lib" prefix for modules?
17257 need_lib_prefix=$need_lib_prefix
17258
17259 # Do we need a version for libraries?
17260 need_version=$need_version
17261
17262 # Library versioning type.
17263 version_type=$version_type
17264
17265 # Shared library runtime path variable.
17266 runpath_var=$runpath_var
17267
17268 # Shared library path variable.
17269 shlibpath_var=$shlibpath_var
17270
17271 # Is shlibpath searched before the hard-coded library search path?
17272 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17273
17274 # Format of library name prefix.
17275 libname_spec=$lt_libname_spec
17276
17277 # List of archive names.  First name is the real one, the rest are links.
17278 # The last name is the one that the linker finds with -lNAME
17279 library_names_spec=$lt_library_names_spec
17280
17281 # The coded name of the library, if different from the real name.
17282 soname_spec=$lt_soname_spec
17283
17284 # Permission mode override for installation of shared libraries.
17285 install_override_mode=$lt_install_override_mode
17286
17287 # Command to use after installation of a shared archive.
17288 postinstall_cmds=$lt_postinstall_cmds
17289
17290 # Command to use after uninstallation of a shared archive.
17291 postuninstall_cmds=$lt_postuninstall_cmds
17292
17293 # Commands used to finish a libtool library installation in a directory.
17294 finish_cmds=$lt_finish_cmds
17295
17296 # As "finish_cmds", except a single script fragment to be evaled but
17297 # not shown.
17298 finish_eval=$lt_finish_eval
17299
17300 # Whether we should hardcode library paths into libraries.
17301 hardcode_into_libs=$hardcode_into_libs
17302
17303 # Compile-time system search path for libraries.
17304 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17305
17306 # Run-time system search path for libraries.
17307 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17308
17309 # Whether dlopen is supported.
17310 dlopen_support=$enable_dlopen
17311
17312 # Whether dlopen of programs is supported.
17313 dlopen_self=$enable_dlopen_self
17314
17315 # Whether dlopen of statically linked programs is supported.
17316 dlopen_self_static=$enable_dlopen_self_static
17317
17318 # Commands to strip libraries.
17319 old_striplib=$lt_old_striplib
17320 striplib=$lt_striplib
17321
17322
17323 # The linker used to build libraries.
17324 LD=$lt_LD
17325
17326 # How to create reloadable object files.
17327 reload_flag=$lt_reload_flag
17328 reload_cmds=$lt_reload_cmds
17329
17330 # Commands used to build an old-style archive.
17331 old_archive_cmds=$lt_old_archive_cmds
17332
17333 # A language specific compiler.
17334 CC=$lt_compiler
17335
17336 # Is the compiler the GNU compiler?
17337 with_gcc=$GCC
17338
17339 # Compiler flag to turn off builtin functions.
17340 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17341
17342 # Additional compiler flags for building library objects.
17343 pic_flag=$lt_lt_prog_compiler_pic
17344
17345 # How to pass a linker flag through the compiler.
17346 wl=$lt_lt_prog_compiler_wl
17347
17348 # Compiler flag to prevent dynamic linking.
17349 link_static_flag=$lt_lt_prog_compiler_static
17350
17351 # Does compiler simultaneously support -c and -o options?
17352 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17353
17354 # Whether or not to add -lc for building shared libraries.
17355 build_libtool_need_lc=$archive_cmds_need_lc
17356
17357 # Whether or not to disallow shared libs when runtime libs are static.
17358 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17359
17360 # Compiler flag to allow reflexive dlopens.
17361 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17362
17363 # Compiler flag to generate shared objects directly from archives.
17364 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17365
17366 # Whether the compiler copes with passing no objects directly.
17367 compiler_needs_object=$lt_compiler_needs_object
17368
17369 # Create an old-style archive from a shared archive.
17370 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17371
17372 # Create a temporary old-style archive to link instead of a shared archive.
17373 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17374
17375 # Commands used to build a shared archive.
17376 archive_cmds=$lt_archive_cmds
17377 archive_expsym_cmds=$lt_archive_expsym_cmds
17378
17379 # Commands used to build a loadable module if different from building
17380 # a shared archive.
17381 module_cmds=$lt_module_cmds
17382 module_expsym_cmds=$lt_module_expsym_cmds
17383
17384 # Whether we are building with GNU ld or not.
17385 with_gnu_ld=$lt_with_gnu_ld
17386
17387 # Flag that allows shared libraries with undefined symbols to be built.
17388 allow_undefined_flag=$lt_allow_undefined_flag
17389
17390 # Flag that enforces no undefined symbols.
17391 no_undefined_flag=$lt_no_undefined_flag
17392
17393 # Flag to hardcode \$libdir into a binary during linking.
17394 # This must work even if \$libdir does not exist
17395 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17396
17397 # Whether we need a single "-rpath" flag with a separated argument.
17398 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17399
17400 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17401 # DIR into the resulting binary.
17402 hardcode_direct=$hardcode_direct
17403
17404 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17405 # DIR into the resulting binary and the resulting library dependency is
17406 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17407 # library is relocated.
17408 hardcode_direct_absolute=$hardcode_direct_absolute
17409
17410 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17411 # into the resulting binary.
17412 hardcode_minus_L=$hardcode_minus_L
17413
17414 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17415 # into the resulting binary.
17416 hardcode_shlibpath_var=$hardcode_shlibpath_var
17417
17418 # Set to "yes" if building a shared library automatically hardcodes DIR
17419 # into the library and all subsequent libraries and executables linked
17420 # against it.
17421 hardcode_automatic=$hardcode_automatic
17422
17423 # Set to yes if linker adds runtime paths of dependent libraries
17424 # to runtime path list.
17425 inherit_rpath=$inherit_rpath
17426
17427 # Whether libtool must link a program against all its dependency libraries.
17428 link_all_deplibs=$link_all_deplibs
17429
17430 # Set to "yes" if exported symbols are required.
17431 always_export_symbols=$always_export_symbols
17432
17433 # The commands to list exported symbols.
17434 export_symbols_cmds=$lt_export_symbols_cmds
17435
17436 # Symbols that should not be listed in the preloaded symbols.
17437 exclude_expsyms=$lt_exclude_expsyms
17438
17439 # Symbols that must always be exported.
17440 include_expsyms=$lt_include_expsyms
17441
17442 # Commands necessary for linking programs (against libraries) with templates.
17443 prelink_cmds=$lt_prelink_cmds
17444
17445 # Commands necessary for finishing linking programs.
17446 postlink_cmds=$lt_postlink_cmds
17447
17448 # Specify filename containing input files.
17449 file_list_spec=$lt_file_list_spec
17450
17451 # How to hardcode a shared library path into an executable.
17452 hardcode_action=$hardcode_action
17453
17454 # ### END LIBTOOL CONFIG
17455
17456 _LT_EOF
17457
17458   case $host_os in
17459   aix3*)
17460     cat <<\_LT_EOF >> "$cfgfile"
17461 # AIX sometimes has problems with the GCC collect2 program.  For some
17462 # reason, if we set the COLLECT_NAMES environment variable, the problems
17463 # vanish in a puff of smoke.
17464 if test "X${COLLECT_NAMES+set}" != Xset; then
17465   COLLECT_NAMES=
17466   export COLLECT_NAMES
17467 fi
17468 _LT_EOF
17469     ;;
17470   esac
17471
17472
17473 ltmain="$ac_aux_dir/ltmain.sh"
17474
17475
17476   # We use sed instead of cat because bash on DJGPP gets confused if
17477   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17478   # text mode, it properly converts lines to CR/LF.  This bash problem
17479   # is reportedly fixed, but why not run on old versions too?
17480   sed '$q' "$ltmain" >> "$cfgfile" \
17481      || (rm -f "$cfgfile"; exit 1)
17482
17483   if test x"$xsi_shell" = xyes; then
17484   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17485 func_dirname ()\
17486 {\
17487 \    case ${1} in\
17488 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17489 \      *  ) func_dirname_result="${3}" ;;\
17490 \    esac\
17491 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17492   && mv -f "$cfgfile.tmp" "$cfgfile" \
17493     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17494 test 0 -eq $? || _lt_function_replace_fail=:
17495
17496
17497   sed -e '/^func_basename ()$/,/^} # func_basename /c\
17498 func_basename ()\
17499 {\
17500 \    func_basename_result="${1##*/}"\
17501 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17502   && mv -f "$cfgfile.tmp" "$cfgfile" \
17503     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17504 test 0 -eq $? || _lt_function_replace_fail=:
17505
17506
17507   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17508 func_dirname_and_basename ()\
17509 {\
17510 \    case ${1} in\
17511 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17512 \      *  ) func_dirname_result="${3}" ;;\
17513 \    esac\
17514 \    func_basename_result="${1##*/}"\
17515 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17516   && mv -f "$cfgfile.tmp" "$cfgfile" \
17517     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17518 test 0 -eq $? || _lt_function_replace_fail=:
17519
17520
17521   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17522 func_stripname ()\
17523 {\
17524 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17525 \    # positional parameters, so assign one to ordinary parameter first.\
17526 \    func_stripname_result=${3}\
17527 \    func_stripname_result=${func_stripname_result#"${1}"}\
17528 \    func_stripname_result=${func_stripname_result%"${2}"}\
17529 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17530   && mv -f "$cfgfile.tmp" "$cfgfile" \
17531     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17532 test 0 -eq $? || _lt_function_replace_fail=:
17533
17534
17535   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17536 func_split_long_opt ()\
17537 {\
17538 \    func_split_long_opt_name=${1%%=*}\
17539 \    func_split_long_opt_arg=${1#*=}\
17540 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17541   && mv -f "$cfgfile.tmp" "$cfgfile" \
17542     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17543 test 0 -eq $? || _lt_function_replace_fail=:
17544
17545
17546   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17547 func_split_short_opt ()\
17548 {\
17549 \    func_split_short_opt_arg=${1#??}\
17550 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17551 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17552   && mv -f "$cfgfile.tmp" "$cfgfile" \
17553     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17554 test 0 -eq $? || _lt_function_replace_fail=:
17555
17556
17557   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17558 func_lo2o ()\
17559 {\
17560 \    case ${1} in\
17561 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17562 \      *)    func_lo2o_result=${1} ;;\
17563 \    esac\
17564 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17565   && mv -f "$cfgfile.tmp" "$cfgfile" \
17566     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17567 test 0 -eq $? || _lt_function_replace_fail=:
17568
17569
17570   sed -e '/^func_xform ()$/,/^} # func_xform /c\
17571 func_xform ()\
17572 {\
17573     func_xform_result=${1%.*}.lo\
17574 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17575   && mv -f "$cfgfile.tmp" "$cfgfile" \
17576     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17577 test 0 -eq $? || _lt_function_replace_fail=:
17578
17579
17580   sed -e '/^func_arith ()$/,/^} # func_arith /c\
17581 func_arith ()\
17582 {\
17583     func_arith_result=$(( $* ))\
17584 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17585   && mv -f "$cfgfile.tmp" "$cfgfile" \
17586     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17587 test 0 -eq $? || _lt_function_replace_fail=:
17588
17589
17590   sed -e '/^func_len ()$/,/^} # func_len /c\
17591 func_len ()\
17592 {\
17593     func_len_result=${#1}\
17594 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17595   && mv -f "$cfgfile.tmp" "$cfgfile" \
17596     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17597 test 0 -eq $? || _lt_function_replace_fail=:
17598
17599 fi
17600
17601 if test x"$lt_shell_append" = xyes; then
17602   sed -e '/^func_append ()$/,/^} # func_append /c\
17603 func_append ()\
17604 {\
17605     eval "${1}+=\\${2}"\
17606 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17607   && mv -f "$cfgfile.tmp" "$cfgfile" \
17608     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17609 test 0 -eq $? || _lt_function_replace_fail=:
17610
17611
17612   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17613 func_append_quoted ()\
17614 {\
17615 \    func_quote_for_eval "${2}"\
17616 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17617 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17618   && mv -f "$cfgfile.tmp" "$cfgfile" \
17619     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17620 test 0 -eq $? || _lt_function_replace_fail=:
17621
17622
17623   # Save a `func_append' function call where possible by direct use of '+='
17624   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17625     && mv -f "$cfgfile.tmp" "$cfgfile" \
17626       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17627   test 0 -eq $? || _lt_function_replace_fail=:
17628 else
17629   # Save a `func_append' function call even when '+=' is not available
17630   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17631     && mv -f "$cfgfile.tmp" "$cfgfile" \
17632       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17633   test 0 -eq $? || _lt_function_replace_fail=:
17634 fi
17635
17636 if test x"$_lt_function_replace_fail" = x":"; then
17637   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17638 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17639 fi
17640
17641
17642    mv -f "$cfgfile" "$ofile" ||
17643     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17644   chmod +x "$ofile"
17645
17646  ;;
17647
17648   esac
17649 done # for ac_tag
17650
17651
17652 as_fn_exit 0
17653 _ACEOF
17654 ac_clean_files=$ac_clean_files_save
17655
17656 test $ac_write_fail = 0 ||
17657   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17658
17659
17660 # configure is writing to config.log, and then calls config.status.
17661 # config.status does its own redirection, appending to config.log.
17662 # Unfortunately, on DOS this fails, as config.log is still kept open
17663 # by configure, so config.status won't be able to write to it; its
17664 # output is simply discarded.  So we exec the FD to /dev/null,
17665 # effectively closing config.log, so it can be properly (re)opened and
17666 # appended to by config.status.  When coming back to configure, we
17667 # need to make the FD available again.
17668 if test "$no_create" != yes; then
17669   ac_cs_success=:
17670   ac_config_status_args=
17671   test "$silent" = yes &&
17672     ac_config_status_args="$ac_config_status_args --quiet"
17673   exec 5>/dev/null
17674   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17675   exec 5>>config.log
17676   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17677   # would make configure fail if this is the last instruction.
17678   $ac_cs_success || as_fn_exit 1
17679 fi
17680 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17681   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17682 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17683 fi
17684
17685
17686
17687 #####################################################################
17688 ## Info
17689
17690 echo
17691 echo
17692 echo
17693 echo "------------------------------------------------------------------------"
17694 echo "$PACKAGE $VERSION"
17695 echo "------------------------------------------------------------------------"
17696 echo
17697 echo "Configuration Options Summary:"
17698 echo
17699 echo "  Modules:"
17700 echo "    Xine...............: ${enable_xine}"
17701 echo "    Gstreamer..........: ${enable_gstreamer} (X: ${have_ecore_x}/${build_xoverlay})"
17702 echo "    Generic............: ${enable_generic}"
17703
17704 if test "x${enable_generic}" = "xyes" || test "x${enable_generic}" = "xstatic"; then
17705 echo
17706 echo "  Generic Players:"
17707 echo "    VLC................: ${enable_generic_vlc}"
17708 fi
17709
17710 echo
17711 echo "  Build emotion_test...: $have_emotion_test"
17712 echo "  edje_cc..............: ${edje_cc}"
17713 echo
17714 echo "  Edje EXTERNAL support: ${have_edje_external}"
17715 echo
17716 echo "  Eio..................: ${have_eio}"
17717 echo "  V4L2.................: ${have_v4l2}"
17718 echo
17719 echo "Documentation..........: ${build_doc}"
17720 if test "x${build_doc}" = "xyes" ; then
17721 echo "    Installation.......: make install-doc"
17722 fi
17723 echo "Examples.............: ${enable_build_examples}"
17724 echo "Examples installed...: ${enable_install_examples}"
17725 echo
17726 echo "Compilation............: make (or gmake)"
17727 echo "  CPPFLAGS.............: $CPPFLAGS"
17728 echo "  CFLAGS...............: $CFLAGS"
17729 echo "  LDFLAGS..............: $LDFLAGS"
17730 echo
17731 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
17732 echo "  prefix...............: $prefix"
17733 echo
17734 if test "x${have_static_module}" = "xyes" ; then
17735 echo -e "\0033\01331;31mWarning\0033\01331;0m: You are trying to link statically one or more modules to Emotion."
17736 echo "         You must know what you are doing, or else you will have a lot of problems."
17737 echo "         And asparagus will disappear from the earth."
17738 echo "         Think about that."
17739 echo
17740 fi